adata-ui 0.1.16 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -478,13 +478,6 @@ module.exports = function (argument) {
478
478
  };
479
479
 
480
480
 
481
- /***/ }),
482
-
483
- /***/ "16af":
484
- /***/ (function(module, exports, __webpack_require__) {
485
-
486
- // extracted by mini-css-extract-plugin
487
-
488
481
  /***/ }),
489
482
 
490
483
  /***/ "17c2":
@@ -1176,17 +1169,6 @@ exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties :
1176
1169
  };
1177
1170
 
1178
1171
 
1179
- /***/ }),
1180
-
1181
- /***/ "39e0":
1182
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1183
-
1184
- "use strict";
1185
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextField_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("16af");
1186
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextField_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_TextField_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
1187
- /* unused harmony reexport * */
1188
-
1189
-
1190
1172
  /***/ }),
1191
1173
 
1192
1174
  /***/ "3a60":
@@ -2285,6 +2267,13 @@ module.exports = function ($this, dummy, Wrapper) {
2285
2267
  };
2286
2268
 
2287
2269
 
2270
+ /***/ }),
2271
+
2272
+ /***/ "73ec":
2273
+ /***/ (function(module, exports, __webpack_require__) {
2274
+
2275
+ // extracted by mini-css-extract-plugin
2276
+
2288
2277
  /***/ }),
2289
2278
 
2290
2279
  /***/ "7418":
@@ -3934,6 +3923,1490 @@ module.exports = function (argument) {
3934
3923
  };
3935
3924
 
3936
3925
 
3926
+ /***/ }),
3927
+
3928
+ /***/ "a4a1":
3929
+ /***/ (function(module, exports, __webpack_require__) {
3930
+
3931
+ (function (global, factory) {
3932
+ true ? factory(exports) :
3933
+ undefined;
3934
+ }(this, (function (exports) { 'use strict';
3935
+
3936
+ /*!
3937
+ * perfect-scrollbar v1.5.2
3938
+ * Copyright 2021 Hyunje Jun, MDBootstrap and Contributors
3939
+ * Licensed under MIT
3940
+ */
3941
+
3942
+ function get(element) {
3943
+ return getComputedStyle(element);
3944
+ }
3945
+
3946
+ function set(element, obj) {
3947
+ for (var key in obj) {
3948
+ var val = obj[key];
3949
+ if (typeof val === 'number') {
3950
+ val = val + "px";
3951
+ }
3952
+ element.style[key] = val;
3953
+ }
3954
+ return element;
3955
+ }
3956
+
3957
+ function div(className) {
3958
+ var div = document.createElement('div');
3959
+ div.className = className;
3960
+ return div;
3961
+ }
3962
+
3963
+ var elMatches =
3964
+ typeof Element !== 'undefined' &&
3965
+ (Element.prototype.matches ||
3966
+ Element.prototype.webkitMatchesSelector ||
3967
+ Element.prototype.mozMatchesSelector ||
3968
+ Element.prototype.msMatchesSelector);
3969
+
3970
+ function matches(element, query) {
3971
+ if (!elMatches) {
3972
+ throw new Error('No element matching method supported');
3973
+ }
3974
+
3975
+ return elMatches.call(element, query);
3976
+ }
3977
+
3978
+ function remove(element) {
3979
+ if (element.remove) {
3980
+ element.remove();
3981
+ } else {
3982
+ if (element.parentNode) {
3983
+ element.parentNode.removeChild(element);
3984
+ }
3985
+ }
3986
+ }
3987
+
3988
+ function queryChildren(element, selector) {
3989
+ return Array.prototype.filter.call(element.children, function (child) { return matches(child, selector); }
3990
+ );
3991
+ }
3992
+
3993
+ var cls = {
3994
+ main: 'ps',
3995
+ rtl: 'ps__rtl',
3996
+ element: {
3997
+ thumb: function (x) { return ("ps__thumb-" + x); },
3998
+ rail: function (x) { return ("ps__rail-" + x); },
3999
+ consuming: 'ps__child--consume',
4000
+ },
4001
+ state: {
4002
+ focus: 'ps--focus',
4003
+ clicking: 'ps--clicking',
4004
+ active: function (x) { return ("ps--active-" + x); },
4005
+ scrolling: function (x) { return ("ps--scrolling-" + x); },
4006
+ },
4007
+ };
4008
+
4009
+ /*
4010
+ * Helper methods
4011
+ */
4012
+ var scrollingClassTimeout = { x: null, y: null };
4013
+
4014
+ function addScrollingClass(i, x) {
4015
+ var classList = i.element.classList;
4016
+ var className = cls.state.scrolling(x);
4017
+
4018
+ if (classList.contains(className)) {
4019
+ clearTimeout(scrollingClassTimeout[x]);
4020
+ } else {
4021
+ classList.add(className);
4022
+ }
4023
+ }
4024
+
4025
+ function removeScrollingClass(i, x) {
4026
+ scrollingClassTimeout[x] = setTimeout(
4027
+ function () { return i.isAlive && i.element.classList.remove(cls.state.scrolling(x)); },
4028
+ i.settings.scrollingThreshold
4029
+ );
4030
+ }
4031
+
4032
+ function setScrollingClassInstantly(i, x) {
4033
+ addScrollingClass(i, x);
4034
+ removeScrollingClass(i, x);
4035
+ }
4036
+
4037
+ var EventElement = function EventElement(element) {
4038
+ this.element = element;
4039
+ this.handlers = {};
4040
+ };
4041
+
4042
+ var prototypeAccessors = { isEmpty: { configurable: true } };
4043
+
4044
+ EventElement.prototype.bind = function bind (eventName, handler) {
4045
+ if (typeof this.handlers[eventName] === 'undefined') {
4046
+ this.handlers[eventName] = [];
4047
+ }
4048
+ this.handlers[eventName].push(handler);
4049
+ this.element.addEventListener(eventName, handler, false);
4050
+ };
4051
+
4052
+ EventElement.prototype.unbind = function unbind (eventName, target) {
4053
+ var this$1 = this;
4054
+
4055
+ this.handlers[eventName] = this.handlers[eventName].filter(function (handler) {
4056
+ if (target && handler !== target) {
4057
+ return true;
4058
+ }
4059
+ this$1.element.removeEventListener(eventName, handler, false);
4060
+ return false;
4061
+ });
4062
+ };
4063
+
4064
+ EventElement.prototype.unbindAll = function unbindAll () {
4065
+ var this$1 = this;
4066
+
4067
+ for (var name in this$1.handlers) {
4068
+ this$1.unbind(name);
4069
+ }
4070
+ };
4071
+
4072
+ prototypeAccessors.isEmpty.get = function () {
4073
+ var this$1 = this;
4074
+
4075
+ return Object.keys(this.handlers).every(
4076
+ function (key) { return this$1.handlers[key].length === 0; }
4077
+ );
4078
+ };
4079
+
4080
+ Object.defineProperties( EventElement.prototype, prototypeAccessors );
4081
+
4082
+ var EventManager = function EventManager() {
4083
+ this.eventElements = [];
4084
+ };
4085
+
4086
+ EventManager.prototype.eventElement = function eventElement (element) {
4087
+ var ee = this.eventElements.filter(function (ee) { return ee.element === element; })[0];
4088
+ if (!ee) {
4089
+ ee = new EventElement(element);
4090
+ this.eventElements.push(ee);
4091
+ }
4092
+ return ee;
4093
+ };
4094
+
4095
+ EventManager.prototype.bind = function bind (element, eventName, handler) {
4096
+ this.eventElement(element).bind(eventName, handler);
4097
+ };
4098
+
4099
+ EventManager.prototype.unbind = function unbind (element, eventName, handler) {
4100
+ var ee = this.eventElement(element);
4101
+ ee.unbind(eventName, handler);
4102
+
4103
+ if (ee.isEmpty) {
4104
+ // remove
4105
+ this.eventElements.splice(this.eventElements.indexOf(ee), 1);
4106
+ }
4107
+ };
4108
+
4109
+ EventManager.prototype.unbindAll = function unbindAll () {
4110
+ this.eventElements.forEach(function (e) { return e.unbindAll(); });
4111
+ this.eventElements = [];
4112
+ };
4113
+
4114
+ EventManager.prototype.once = function once (element, eventName, handler) {
4115
+ var ee = this.eventElement(element);
4116
+ var onceHandler = function (evt) {
4117
+ ee.unbind(eventName, onceHandler);
4118
+ handler(evt);
4119
+ };
4120
+ ee.bind(eventName, onceHandler);
4121
+ };
4122
+
4123
+ function createEvent(name) {
4124
+ if (typeof window.CustomEvent === 'function') {
4125
+ return new CustomEvent(name);
4126
+ } else {
4127
+ var evt = document.createEvent('CustomEvent');
4128
+ evt.initCustomEvent(name, false, false, undefined);
4129
+ return evt;
4130
+ }
4131
+ }
4132
+
4133
+ function processScrollDiff(
4134
+ i,
4135
+ axis,
4136
+ diff,
4137
+ useScrollingClass,
4138
+ forceFireReachEvent
4139
+ ) {
4140
+ if ( useScrollingClass === void 0 ) { useScrollingClass = true; }
4141
+ if ( forceFireReachEvent === void 0 ) { forceFireReachEvent = false; }
4142
+
4143
+ var fields;
4144
+ if (axis === 'top') {
4145
+ fields = [
4146
+ 'contentHeight',
4147
+ 'containerHeight',
4148
+ 'scrollTop',
4149
+ 'y',
4150
+ 'up',
4151
+ 'down' ];
4152
+ } else if (axis === 'left') {
4153
+ fields = [
4154
+ 'contentWidth',
4155
+ 'containerWidth',
4156
+ 'scrollLeft',
4157
+ 'x',
4158
+ 'left',
4159
+ 'right' ];
4160
+ } else {
4161
+ throw new Error('A proper axis should be provided');
4162
+ }
4163
+
4164
+ processScrollDiff$1(i, diff, fields, useScrollingClass, forceFireReachEvent);
4165
+ }
4166
+
4167
+ function processScrollDiff$1(
4168
+ i,
4169
+ diff,
4170
+ ref,
4171
+ useScrollingClass,
4172
+ forceFireReachEvent
4173
+ ) {
4174
+ var contentHeight = ref[0];
4175
+ var containerHeight = ref[1];
4176
+ var scrollTop = ref[2];
4177
+ var y = ref[3];
4178
+ var up = ref[4];
4179
+ var down = ref[5];
4180
+ if ( useScrollingClass === void 0 ) { useScrollingClass = true; }
4181
+ if ( forceFireReachEvent === void 0 ) { forceFireReachEvent = false; }
4182
+
4183
+ var element = i.element;
4184
+
4185
+ // reset reach
4186
+ i.reach[y] = null;
4187
+
4188
+ // 1 for subpixel rounding
4189
+ if (element[scrollTop] < 1) {
4190
+ i.reach[y] = 'start';
4191
+ }
4192
+
4193
+ // 1 for subpixel rounding
4194
+ if (element[scrollTop] > i[contentHeight] - i[containerHeight] - 1) {
4195
+ i.reach[y] = 'end';
4196
+ }
4197
+
4198
+ if (diff) {
4199
+ element.dispatchEvent(createEvent(("ps-scroll-" + y)));
4200
+
4201
+ if (diff < 0) {
4202
+ element.dispatchEvent(createEvent(("ps-scroll-" + up)));
4203
+ } else if (diff > 0) {
4204
+ element.dispatchEvent(createEvent(("ps-scroll-" + down)));
4205
+ }
4206
+
4207
+ if (useScrollingClass) {
4208
+ setScrollingClassInstantly(i, y);
4209
+ }
4210
+ }
4211
+
4212
+ if (i.reach[y] && (diff || forceFireReachEvent)) {
4213
+ element.dispatchEvent(createEvent(("ps-" + y + "-reach-" + (i.reach[y]))));
4214
+ }
4215
+ }
4216
+
4217
+ function toInt(x) {
4218
+ return parseInt(x, 10) || 0;
4219
+ }
4220
+
4221
+ function isEditable(el) {
4222
+ return (
4223
+ matches(el, 'input,[contenteditable]') ||
4224
+ matches(el, 'select,[contenteditable]') ||
4225
+ matches(el, 'textarea,[contenteditable]') ||
4226
+ matches(el, 'button,[contenteditable]')
4227
+ );
4228
+ }
4229
+
4230
+ function outerWidth(element) {
4231
+ var styles = get(element);
4232
+ return (
4233
+ toInt(styles.width) +
4234
+ toInt(styles.paddingLeft) +
4235
+ toInt(styles.paddingRight) +
4236
+ toInt(styles.borderLeftWidth) +
4237
+ toInt(styles.borderRightWidth)
4238
+ );
4239
+ }
4240
+
4241
+ var env = {
4242
+ isWebKit:
4243
+ typeof document !== 'undefined' &&
4244
+ 'WebkitAppearance' in document.documentElement.style,
4245
+ supportsTouch:
4246
+ typeof window !== 'undefined' &&
4247
+ ('ontouchstart' in window ||
4248
+ ('maxTouchPoints' in window.navigator &&
4249
+ window.navigator.maxTouchPoints > 0) ||
4250
+ (window.DocumentTouch && document instanceof window.DocumentTouch)),
4251
+ supportsIePointer:
4252
+ typeof navigator !== 'undefined' && navigator.msMaxTouchPoints,
4253
+ isChrome:
4254
+ typeof navigator !== 'undefined' &&
4255
+ /Chrome/i.test(navigator && navigator.userAgent),
4256
+ };
4257
+
4258
+ function updateGeometry(i) {
4259
+ var element = i.element;
4260
+ var roundedScrollTop = Math.floor(element.scrollTop);
4261
+ var rect = element.getBoundingClientRect();
4262
+
4263
+ i.containerWidth = Math.round(rect.width);
4264
+ i.containerHeight = Math.round(rect.height);
4265
+
4266
+ i.contentWidth = element.scrollWidth;
4267
+ i.contentHeight = element.scrollHeight;
4268
+
4269
+ if (!element.contains(i.scrollbarXRail)) {
4270
+ // clean up and append
4271
+ queryChildren(element, cls.element.rail('x')).forEach(function (el) { return remove(el); }
4272
+ );
4273
+ element.appendChild(i.scrollbarXRail);
4274
+ }
4275
+ if (!element.contains(i.scrollbarYRail)) {
4276
+ // clean up and append
4277
+ queryChildren(element, cls.element.rail('y')).forEach(function (el) { return remove(el); }
4278
+ );
4279
+ element.appendChild(i.scrollbarYRail);
4280
+ }
4281
+
4282
+ if (
4283
+ !i.settings.suppressScrollX &&
4284
+ i.containerWidth + i.settings.scrollXMarginOffset < i.contentWidth
4285
+ ) {
4286
+ i.scrollbarXActive = true;
4287
+ i.railXWidth = i.containerWidth - i.railXMarginWidth;
4288
+ i.railXRatio = i.containerWidth / i.railXWidth;
4289
+ i.scrollbarXWidth = getThumbSize(
4290
+ i,
4291
+ toInt((i.railXWidth * i.containerWidth) / i.contentWidth)
4292
+ );
4293
+ i.scrollbarXLeft = toInt(
4294
+ ((i.negativeScrollAdjustment + element.scrollLeft) *
4295
+ (i.railXWidth - i.scrollbarXWidth)) /
4296
+ (i.contentWidth - i.containerWidth)
4297
+ );
4298
+ } else {
4299
+ i.scrollbarXActive = false;
4300
+ }
4301
+
4302
+ if (
4303
+ !i.settings.suppressScrollY &&
4304
+ i.containerHeight + i.settings.scrollYMarginOffset < i.contentHeight
4305
+ ) {
4306
+ i.scrollbarYActive = true;
4307
+ i.railYHeight = i.containerHeight - i.railYMarginHeight;
4308
+ i.railYRatio = i.containerHeight / i.railYHeight;
4309
+ i.scrollbarYHeight = getThumbSize(
4310
+ i,
4311
+ toInt((i.railYHeight * i.containerHeight) / i.contentHeight)
4312
+ );
4313
+ i.scrollbarYTop = toInt(
4314
+ (roundedScrollTop * (i.railYHeight - i.scrollbarYHeight)) /
4315
+ (i.contentHeight - i.containerHeight)
4316
+ );
4317
+ } else {
4318
+ i.scrollbarYActive = false;
4319
+ }
4320
+
4321
+ if (i.scrollbarXLeft >= i.railXWidth - i.scrollbarXWidth) {
4322
+ i.scrollbarXLeft = i.railXWidth - i.scrollbarXWidth;
4323
+ }
4324
+ if (i.scrollbarYTop >= i.railYHeight - i.scrollbarYHeight) {
4325
+ i.scrollbarYTop = i.railYHeight - i.scrollbarYHeight;
4326
+ }
4327
+
4328
+ updateCss(element, i);
4329
+
4330
+ if (i.scrollbarXActive) {
4331
+ element.classList.add(cls.state.active('x'));
4332
+ } else {
4333
+ element.classList.remove(cls.state.active('x'));
4334
+ i.scrollbarXWidth = 0;
4335
+ i.scrollbarXLeft = 0;
4336
+ element.scrollLeft = i.isRtl === true ? i.contentWidth : 0;
4337
+ }
4338
+ if (i.scrollbarYActive) {
4339
+ element.classList.add(cls.state.active('y'));
4340
+ } else {
4341
+ element.classList.remove(cls.state.active('y'));
4342
+ i.scrollbarYHeight = 0;
4343
+ i.scrollbarYTop = 0;
4344
+ element.scrollTop = 0;
4345
+ }
4346
+ }
4347
+
4348
+ function getThumbSize(i, thumbSize) {
4349
+ if (i.settings.minScrollbarLength) {
4350
+ thumbSize = Math.max(thumbSize, i.settings.minScrollbarLength);
4351
+ }
4352
+ if (i.settings.maxScrollbarLength) {
4353
+ thumbSize = Math.min(thumbSize, i.settings.maxScrollbarLength);
4354
+ }
4355
+ return thumbSize;
4356
+ }
4357
+
4358
+ function updateCss(element, i) {
4359
+ var xRailOffset = { width: i.railXWidth };
4360
+ var roundedScrollTop = Math.floor(element.scrollTop);
4361
+
4362
+ if (i.isRtl) {
4363
+ xRailOffset.left =
4364
+ i.negativeScrollAdjustment +
4365
+ element.scrollLeft +
4366
+ i.containerWidth -
4367
+ i.contentWidth;
4368
+ } else {
4369
+ xRailOffset.left = element.scrollLeft;
4370
+ }
4371
+ if (i.isScrollbarXUsingBottom) {
4372
+ xRailOffset.bottom = i.scrollbarXBottom - roundedScrollTop;
4373
+ } else {
4374
+ xRailOffset.top = i.scrollbarXTop + roundedScrollTop;
4375
+ }
4376
+ set(i.scrollbarXRail, xRailOffset);
4377
+
4378
+ var yRailOffset = { top: roundedScrollTop, height: i.railYHeight };
4379
+ if (i.isScrollbarYUsingRight) {
4380
+ if (i.isRtl) {
4381
+ yRailOffset.right =
4382
+ i.contentWidth -
4383
+ (i.negativeScrollAdjustment + element.scrollLeft) -
4384
+ i.scrollbarYRight -
4385
+ i.scrollbarYOuterWidth -
4386
+ 9;
4387
+ } else {
4388
+ yRailOffset.right = i.scrollbarYRight - element.scrollLeft;
4389
+ }
4390
+ } else {
4391
+ if (i.isRtl) {
4392
+ yRailOffset.left =
4393
+ i.negativeScrollAdjustment +
4394
+ element.scrollLeft +
4395
+ i.containerWidth * 2 -
4396
+ i.contentWidth -
4397
+ i.scrollbarYLeft -
4398
+ i.scrollbarYOuterWidth;
4399
+ } else {
4400
+ yRailOffset.left = i.scrollbarYLeft + element.scrollLeft;
4401
+ }
4402
+ }
4403
+ set(i.scrollbarYRail, yRailOffset);
4404
+
4405
+ set(i.scrollbarX, {
4406
+ left: i.scrollbarXLeft,
4407
+ width: i.scrollbarXWidth - i.railBorderXWidth,
4408
+ });
4409
+ set(i.scrollbarY, {
4410
+ top: i.scrollbarYTop,
4411
+ height: i.scrollbarYHeight - i.railBorderYWidth,
4412
+ });
4413
+ }
4414
+
4415
+ function clickRail(i) {
4416
+ var element = i.element;
4417
+
4418
+ i.event.bind(i.scrollbarY, 'mousedown', function (e) { return e.stopPropagation(); });
4419
+ i.event.bind(i.scrollbarYRail, 'mousedown', function (e) {
4420
+ var positionTop =
4421
+ e.pageY -
4422
+ window.pageYOffset -
4423
+ i.scrollbarYRail.getBoundingClientRect().top;
4424
+ var direction = positionTop > i.scrollbarYTop ? 1 : -1;
4425
+
4426
+ i.element.scrollTop += direction * i.containerHeight;
4427
+ updateGeometry(i);
4428
+
4429
+ e.stopPropagation();
4430
+ });
4431
+
4432
+ i.event.bind(i.scrollbarX, 'mousedown', function (e) { return e.stopPropagation(); });
4433
+ i.event.bind(i.scrollbarXRail, 'mousedown', function (e) {
4434
+ var positionLeft =
4435
+ e.pageX -
4436
+ window.pageXOffset -
4437
+ i.scrollbarXRail.getBoundingClientRect().left;
4438
+ var direction = positionLeft > i.scrollbarXLeft ? 1 : -1;
4439
+
4440
+ i.element.scrollLeft += direction * i.containerWidth;
4441
+ updateGeometry(i);
4442
+
4443
+ e.stopPropagation();
4444
+ });
4445
+ }
4446
+
4447
+ function dragThumb(i) {
4448
+ bindMouseScrollHandler(i, [
4449
+ 'containerWidth',
4450
+ 'contentWidth',
4451
+ 'pageX',
4452
+ 'railXWidth',
4453
+ 'scrollbarX',
4454
+ 'scrollbarXWidth',
4455
+ 'scrollLeft',
4456
+ 'x',
4457
+ 'scrollbarXRail' ]);
4458
+ bindMouseScrollHandler(i, [
4459
+ 'containerHeight',
4460
+ 'contentHeight',
4461
+ 'pageY',
4462
+ 'railYHeight',
4463
+ 'scrollbarY',
4464
+ 'scrollbarYHeight',
4465
+ 'scrollTop',
4466
+ 'y',
4467
+ 'scrollbarYRail' ]);
4468
+ }
4469
+
4470
+ function bindMouseScrollHandler(
4471
+ i,
4472
+ ref
4473
+ ) {
4474
+ var containerHeight = ref[0];
4475
+ var contentHeight = ref[1];
4476
+ var pageY = ref[2];
4477
+ var railYHeight = ref[3];
4478
+ var scrollbarY = ref[4];
4479
+ var scrollbarYHeight = ref[5];
4480
+ var scrollTop = ref[6];
4481
+ var y = ref[7];
4482
+ var scrollbarYRail = ref[8];
4483
+
4484
+ var element = i.element;
4485
+
4486
+ var startingScrollTop = null;
4487
+ var startingMousePageY = null;
4488
+ var scrollBy = null;
4489
+
4490
+ function mouseMoveHandler(e) {
4491
+ if (e.touches && e.touches[0]) {
4492
+ e[pageY] = e.touches[0].pageY;
4493
+ }
4494
+ element[scrollTop] =
4495
+ startingScrollTop + scrollBy * (e[pageY] - startingMousePageY);
4496
+ addScrollingClass(i, y);
4497
+ updateGeometry(i);
4498
+
4499
+ e.stopPropagation();
4500
+ e.preventDefault();
4501
+ }
4502
+
4503
+ function mouseUpHandler() {
4504
+ removeScrollingClass(i, y);
4505
+ i[scrollbarYRail].classList.remove(cls.state.clicking);
4506
+ i.event.unbind(i.ownerDocument, 'mousemove', mouseMoveHandler);
4507
+ }
4508
+
4509
+ function bindMoves(e, touchMode) {
4510
+ startingScrollTop = element[scrollTop];
4511
+ if (touchMode && e.touches) {
4512
+ e[pageY] = e.touches[0].pageY;
4513
+ }
4514
+ startingMousePageY = e[pageY];
4515
+ scrollBy =
4516
+ (i[contentHeight] - i[containerHeight]) /
4517
+ (i[railYHeight] - i[scrollbarYHeight]);
4518
+ if (!touchMode) {
4519
+ i.event.bind(i.ownerDocument, 'mousemove', mouseMoveHandler);
4520
+ i.event.once(i.ownerDocument, 'mouseup', mouseUpHandler);
4521
+ e.preventDefault();
4522
+ } else {
4523
+ i.event.bind(i.ownerDocument, 'touchmove', mouseMoveHandler);
4524
+ }
4525
+
4526
+ i[scrollbarYRail].classList.add(cls.state.clicking);
4527
+
4528
+ e.stopPropagation();
4529
+ }
4530
+
4531
+ i.event.bind(i[scrollbarY], 'mousedown', function (e) {
4532
+ bindMoves(e);
4533
+ });
4534
+ i.event.bind(i[scrollbarY], 'touchstart', function (e) {
4535
+ bindMoves(e, true);
4536
+ });
4537
+ }
4538
+
4539
+ function keyboard(i) {
4540
+ var element = i.element;
4541
+
4542
+ var elementHovered = function () { return matches(element, ':hover'); };
4543
+ var scrollbarFocused = function () { return matches(i.scrollbarX, ':focus') || matches(i.scrollbarY, ':focus'); };
4544
+
4545
+ function shouldPreventDefault(deltaX, deltaY) {
4546
+ var scrollTop = Math.floor(element.scrollTop);
4547
+ if (deltaX === 0) {
4548
+ if (!i.scrollbarYActive) {
4549
+ return false;
4550
+ }
4551
+ if (
4552
+ (scrollTop === 0 && deltaY > 0) ||
4553
+ (scrollTop >= i.contentHeight - i.containerHeight && deltaY < 0)
4554
+ ) {
4555
+ return !i.settings.wheelPropagation;
4556
+ }
4557
+ }
4558
+
4559
+ var scrollLeft = element.scrollLeft;
4560
+ if (deltaY === 0) {
4561
+ if (!i.scrollbarXActive) {
4562
+ return false;
4563
+ }
4564
+ if (
4565
+ (scrollLeft === 0 && deltaX < 0) ||
4566
+ (scrollLeft >= i.contentWidth - i.containerWidth && deltaX > 0)
4567
+ ) {
4568
+ return !i.settings.wheelPropagation;
4569
+ }
4570
+ }
4571
+ return true;
4572
+ }
4573
+
4574
+ i.event.bind(i.ownerDocument, 'keydown', function (e) {
4575
+ if (
4576
+ (e.isDefaultPrevented && e.isDefaultPrevented()) ||
4577
+ e.defaultPrevented
4578
+ ) {
4579
+ return;
4580
+ }
4581
+
4582
+ if (!elementHovered() && !scrollbarFocused()) {
4583
+ return;
4584
+ }
4585
+
4586
+ var activeElement = document.activeElement
4587
+ ? document.activeElement
4588
+ : i.ownerDocument.activeElement;
4589
+ if (activeElement) {
4590
+ if (activeElement.tagName === 'IFRAME') {
4591
+ activeElement = activeElement.contentDocument.activeElement;
4592
+ } else {
4593
+ // go deeper if element is a webcomponent
4594
+ while (activeElement.shadowRoot) {
4595
+ activeElement = activeElement.shadowRoot.activeElement;
4596
+ }
4597
+ }
4598
+ if (isEditable(activeElement)) {
4599
+ return;
4600
+ }
4601
+ }
4602
+
4603
+ var deltaX = 0;
4604
+ var deltaY = 0;
4605
+
4606
+ switch (e.which) {
4607
+ case 37: // left
4608
+ if (e.metaKey) {
4609
+ deltaX = -i.contentWidth;
4610
+ } else if (e.altKey) {
4611
+ deltaX = -i.containerWidth;
4612
+ } else {
4613
+ deltaX = -30;
4614
+ }
4615
+ break;
4616
+ case 38: // up
4617
+ if (e.metaKey) {
4618
+ deltaY = i.contentHeight;
4619
+ } else if (e.altKey) {
4620
+ deltaY = i.containerHeight;
4621
+ } else {
4622
+ deltaY = 30;
4623
+ }
4624
+ break;
4625
+ case 39: // right
4626
+ if (e.metaKey) {
4627
+ deltaX = i.contentWidth;
4628
+ } else if (e.altKey) {
4629
+ deltaX = i.containerWidth;
4630
+ } else {
4631
+ deltaX = 30;
4632
+ }
4633
+ break;
4634
+ case 40: // down
4635
+ if (e.metaKey) {
4636
+ deltaY = -i.contentHeight;
4637
+ } else if (e.altKey) {
4638
+ deltaY = -i.containerHeight;
4639
+ } else {
4640
+ deltaY = -30;
4641
+ }
4642
+ break;
4643
+ case 32: // space bar
4644
+ if (e.shiftKey) {
4645
+ deltaY = i.containerHeight;
4646
+ } else {
4647
+ deltaY = -i.containerHeight;
4648
+ }
4649
+ break;
4650
+ case 33: // page up
4651
+ deltaY = i.containerHeight;
4652
+ break;
4653
+ case 34: // page down
4654
+ deltaY = -i.containerHeight;
4655
+ break;
4656
+ case 36: // home
4657
+ deltaY = i.contentHeight;
4658
+ break;
4659
+ case 35: // end
4660
+ deltaY = -i.contentHeight;
4661
+ break;
4662
+ default:
4663
+ return;
4664
+ }
4665
+
4666
+ if (i.settings.suppressScrollX && deltaX !== 0) {
4667
+ return;
4668
+ }
4669
+ if (i.settings.suppressScrollY && deltaY !== 0) {
4670
+ return;
4671
+ }
4672
+
4673
+ element.scrollTop -= deltaY;
4674
+ element.scrollLeft += deltaX;
4675
+ updateGeometry(i);
4676
+
4677
+ if (shouldPreventDefault(deltaX, deltaY)) {
4678
+ e.preventDefault();
4679
+ }
4680
+ });
4681
+ }
4682
+
4683
+ function wheel(i) {
4684
+ var element = i.element;
4685
+
4686
+ function shouldPreventDefault(deltaX, deltaY) {
4687
+ var roundedScrollTop = Math.floor(element.scrollTop);
4688
+ var isTop = element.scrollTop === 0;
4689
+ var isBottom =
4690
+ roundedScrollTop + element.offsetHeight === element.scrollHeight;
4691
+ var isLeft = element.scrollLeft === 0;
4692
+ var isRight =
4693
+ element.scrollLeft + element.offsetWidth === element.scrollWidth;
4694
+
4695
+ var hitsBound;
4696
+
4697
+ // pick axis with primary direction
4698
+ if (Math.abs(deltaY) > Math.abs(deltaX)) {
4699
+ hitsBound = isTop || isBottom;
4700
+ } else {
4701
+ hitsBound = isLeft || isRight;
4702
+ }
4703
+
4704
+ return hitsBound ? !i.settings.wheelPropagation : true;
4705
+ }
4706
+
4707
+ function getDeltaFromEvent(e) {
4708
+ var deltaX = e.deltaX;
4709
+ var deltaY = -1 * e.deltaY;
4710
+
4711
+ if (typeof deltaX === 'undefined' || typeof deltaY === 'undefined') {
4712
+ // OS X Safari
4713
+ deltaX = (-1 * e.wheelDeltaX) / 6;
4714
+ deltaY = e.wheelDeltaY / 6;
4715
+ }
4716
+
4717
+ if (e.deltaMode && e.deltaMode === 1) {
4718
+ // Firefox in deltaMode 1: Line scrolling
4719
+ deltaX *= 10;
4720
+ deltaY *= 10;
4721
+ }
4722
+
4723
+ if (deltaX !== deltaX && deltaY !== deltaY /* NaN checks */) {
4724
+ // IE in some mouse drivers
4725
+ deltaX = 0;
4726
+ deltaY = e.wheelDelta;
4727
+ }
4728
+
4729
+ if (e.shiftKey) {
4730
+ // reverse axis with shift key
4731
+ return [-deltaY, -deltaX];
4732
+ }
4733
+ return [deltaX, deltaY];
4734
+ }
4735
+
4736
+ function shouldBeConsumedByChild(target, deltaX, deltaY) {
4737
+ // FIXME: this is a workaround for <select> issue in FF and IE #571
4738
+ if (!env.isWebKit && element.querySelector('select:focus')) {
4739
+ return true;
4740
+ }
4741
+
4742
+ if (!element.contains(target)) {
4743
+ return false;
4744
+ }
4745
+
4746
+ var cursor = target;
4747
+
4748
+ while (cursor && cursor !== element) {
4749
+ if (cursor.classList.contains(cls.element.consuming)) {
4750
+ return true;
4751
+ }
4752
+
4753
+ var style = get(cursor);
4754
+
4755
+ // if deltaY && vertical scrollable
4756
+ if (deltaY && style.overflowY.match(/(scroll|auto)/)) {
4757
+ var maxScrollTop = cursor.scrollHeight - cursor.clientHeight;
4758
+ if (maxScrollTop > 0) {
4759
+ if (
4760
+ (cursor.scrollTop > 0 && deltaY < 0) ||
4761
+ (cursor.scrollTop < maxScrollTop && deltaY > 0)
4762
+ ) {
4763
+ return true;
4764
+ }
4765
+ }
4766
+ }
4767
+ // if deltaX && horizontal scrollable
4768
+ if (deltaX && style.overflowX.match(/(scroll|auto)/)) {
4769
+ var maxScrollLeft = cursor.scrollWidth - cursor.clientWidth;
4770
+ if (maxScrollLeft > 0) {
4771
+ if (
4772
+ (cursor.scrollLeft > 0 && deltaX < 0) ||
4773
+ (cursor.scrollLeft < maxScrollLeft && deltaX > 0)
4774
+ ) {
4775
+ return true;
4776
+ }
4777
+ }
4778
+ }
4779
+
4780
+ cursor = cursor.parentNode;
4781
+ }
4782
+
4783
+ return false;
4784
+ }
4785
+
4786
+ function mousewheelHandler(e) {
4787
+ var ref = getDeltaFromEvent(e);
4788
+ var deltaX = ref[0];
4789
+ var deltaY = ref[1];
4790
+
4791
+ if (shouldBeConsumedByChild(e.target, deltaX, deltaY)) {
4792
+ return;
4793
+ }
4794
+
4795
+ var shouldPrevent = false;
4796
+ if (!i.settings.useBothWheelAxes) {
4797
+ // deltaX will only be used for horizontal scrolling and deltaY will
4798
+ // only be used for vertical scrolling - this is the default
4799
+ element.scrollTop -= deltaY * i.settings.wheelSpeed;
4800
+ element.scrollLeft += deltaX * i.settings.wheelSpeed;
4801
+ } else if (i.scrollbarYActive && !i.scrollbarXActive) {
4802
+ // only vertical scrollbar is active and useBothWheelAxes option is
4803
+ // active, so let's scroll vertical bar using both mouse wheel axes
4804
+ if (deltaY) {
4805
+ element.scrollTop -= deltaY * i.settings.wheelSpeed;
4806
+ } else {
4807
+ element.scrollTop += deltaX * i.settings.wheelSpeed;
4808
+ }
4809
+ shouldPrevent = true;
4810
+ } else if (i.scrollbarXActive && !i.scrollbarYActive) {
4811
+ // useBothWheelAxes and only horizontal bar is active, so use both
4812
+ // wheel axes for horizontal bar
4813
+ if (deltaX) {
4814
+ element.scrollLeft += deltaX * i.settings.wheelSpeed;
4815
+ } else {
4816
+ element.scrollLeft -= deltaY * i.settings.wheelSpeed;
4817
+ }
4818
+ shouldPrevent = true;
4819
+ }
4820
+
4821
+ updateGeometry(i);
4822
+
4823
+ shouldPrevent = shouldPrevent || shouldPreventDefault(deltaX, deltaY);
4824
+ if (shouldPrevent && !e.ctrlKey) {
4825
+ e.stopPropagation();
4826
+ e.preventDefault();
4827
+ }
4828
+ }
4829
+
4830
+ if (typeof window.onwheel !== 'undefined') {
4831
+ i.event.bind(element, 'wheel', mousewheelHandler);
4832
+ } else if (typeof window.onmousewheel !== 'undefined') {
4833
+ i.event.bind(element, 'mousewheel', mousewheelHandler);
4834
+ }
4835
+ }
4836
+
4837
+ function touch(i) {
4838
+ if (!env.supportsTouch && !env.supportsIePointer) {
4839
+ return;
4840
+ }
4841
+
4842
+ var element = i.element;
4843
+
4844
+ function shouldPrevent(deltaX, deltaY) {
4845
+ var scrollTop = Math.floor(element.scrollTop);
4846
+ var scrollLeft = element.scrollLeft;
4847
+ var magnitudeX = Math.abs(deltaX);
4848
+ var magnitudeY = Math.abs(deltaY);
4849
+
4850
+ if (magnitudeY > magnitudeX) {
4851
+ // user is perhaps trying to swipe up/down the page
4852
+
4853
+ if (
4854
+ (deltaY < 0 && scrollTop === i.contentHeight - i.containerHeight) ||
4855
+ (deltaY > 0 && scrollTop === 0)
4856
+ ) {
4857
+ // set prevent for mobile Chrome refresh
4858
+ return window.scrollY === 0 && deltaY > 0 && env.isChrome;
4859
+ }
4860
+ } else if (magnitudeX > magnitudeY) {
4861
+ // user is perhaps trying to swipe left/right across the page
4862
+
4863
+ if (
4864
+ (deltaX < 0 && scrollLeft === i.contentWidth - i.containerWidth) ||
4865
+ (deltaX > 0 && scrollLeft === 0)
4866
+ ) {
4867
+ return true;
4868
+ }
4869
+ }
4870
+
4871
+ return true;
4872
+ }
4873
+
4874
+ function applyTouchMove(differenceX, differenceY) {
4875
+ element.scrollTop -= differenceY;
4876
+ element.scrollLeft -= differenceX;
4877
+
4878
+ updateGeometry(i);
4879
+ }
4880
+
4881
+ var startOffset = {};
4882
+ var startTime = 0;
4883
+ var speed = {};
4884
+ var easingLoop = null;
4885
+
4886
+ function getTouch(e) {
4887
+ if (e.targetTouches) {
4888
+ return e.targetTouches[0];
4889
+ } else {
4890
+ // Maybe IE pointer
4891
+ return e;
4892
+ }
4893
+ }
4894
+
4895
+ function shouldHandle(e) {
4896
+ if (e.pointerType && e.pointerType === 'pen' && e.buttons === 0) {
4897
+ return false;
4898
+ }
4899
+ if (e.targetTouches && e.targetTouches.length === 1) {
4900
+ return true;
4901
+ }
4902
+ if (
4903
+ e.pointerType &&
4904
+ e.pointerType !== 'mouse' &&
4905
+ e.pointerType !== e.MSPOINTER_TYPE_MOUSE
4906
+ ) {
4907
+ return true;
4908
+ }
4909
+ return false;
4910
+ }
4911
+
4912
+ function touchStart(e) {
4913
+ if (!shouldHandle(e)) {
4914
+ return;
4915
+ }
4916
+
4917
+ var touch = getTouch(e);
4918
+
4919
+ startOffset.pageX = touch.pageX;
4920
+ startOffset.pageY = touch.pageY;
4921
+
4922
+ startTime = new Date().getTime();
4923
+
4924
+ if (easingLoop !== null) {
4925
+ clearInterval(easingLoop);
4926
+ }
4927
+ }
4928
+
4929
+ function shouldBeConsumedByChild(target, deltaX, deltaY) {
4930
+ if (!element.contains(target)) {
4931
+ return false;
4932
+ }
4933
+
4934
+ var cursor = target;
4935
+
4936
+ while (cursor && cursor !== element) {
4937
+ if (cursor.classList.contains(cls.element.consuming)) {
4938
+ return true;
4939
+ }
4940
+
4941
+ var style = get(cursor);
4942
+
4943
+ // if deltaY && vertical scrollable
4944
+ if (deltaY && style.overflowY.match(/(scroll|auto)/)) {
4945
+ var maxScrollTop = cursor.scrollHeight - cursor.clientHeight;
4946
+ if (maxScrollTop > 0) {
4947
+ if (
4948
+ (cursor.scrollTop > 0 && deltaY < 0) ||
4949
+ (cursor.scrollTop < maxScrollTop && deltaY > 0)
4950
+ ) {
4951
+ return true;
4952
+ }
4953
+ }
4954
+ }
4955
+ // if deltaX && horizontal scrollable
4956
+ if (deltaX && style.overflowX.match(/(scroll|auto)/)) {
4957
+ var maxScrollLeft = cursor.scrollWidth - cursor.clientWidth;
4958
+ if (maxScrollLeft > 0) {
4959
+ if (
4960
+ (cursor.scrollLeft > 0 && deltaX < 0) ||
4961
+ (cursor.scrollLeft < maxScrollLeft && deltaX > 0)
4962
+ ) {
4963
+ return true;
4964
+ }
4965
+ }
4966
+ }
4967
+
4968
+ cursor = cursor.parentNode;
4969
+ }
4970
+
4971
+ return false;
4972
+ }
4973
+
4974
+ function touchMove(e) {
4975
+ if (shouldHandle(e)) {
4976
+ var touch = getTouch(e);
4977
+
4978
+ var currentOffset = { pageX: touch.pageX, pageY: touch.pageY };
4979
+
4980
+ var differenceX = currentOffset.pageX - startOffset.pageX;
4981
+ var differenceY = currentOffset.pageY - startOffset.pageY;
4982
+
4983
+ if (shouldBeConsumedByChild(e.target, differenceX, differenceY)) {
4984
+ return;
4985
+ }
4986
+
4987
+ applyTouchMove(differenceX, differenceY);
4988
+ startOffset = currentOffset;
4989
+
4990
+ var currentTime = new Date().getTime();
4991
+
4992
+ var timeGap = currentTime - startTime;
4993
+ if (timeGap > 0) {
4994
+ speed.x = differenceX / timeGap;
4995
+ speed.y = differenceY / timeGap;
4996
+ startTime = currentTime;
4997
+ }
4998
+
4999
+ if (shouldPrevent(differenceX, differenceY)) {
5000
+ e.preventDefault();
5001
+ }
5002
+ }
5003
+ }
5004
+ function touchEnd() {
5005
+ if (i.settings.swipeEasing) {
5006
+ clearInterval(easingLoop);
5007
+ easingLoop = setInterval(function() {
5008
+ if (i.isInitialized) {
5009
+ clearInterval(easingLoop);
5010
+ return;
5011
+ }
5012
+
5013
+ if (!speed.x && !speed.y) {
5014
+ clearInterval(easingLoop);
5015
+ return;
5016
+ }
5017
+
5018
+ if (Math.abs(speed.x) < 0.01 && Math.abs(speed.y) < 0.01) {
5019
+ clearInterval(easingLoop);
5020
+ return;
5021
+ }
5022
+
5023
+ if (!i.element) {
5024
+ clearInterval(easingLoop);
5025
+ return;
5026
+ }
5027
+
5028
+ applyTouchMove(speed.x * 30, speed.y * 30);
5029
+
5030
+ speed.x *= 0.8;
5031
+ speed.y *= 0.8;
5032
+ }, 10);
5033
+ }
5034
+ }
5035
+
5036
+ if (env.supportsTouch) {
5037
+ i.event.bind(element, 'touchstart', touchStart);
5038
+ i.event.bind(element, 'touchmove', touchMove);
5039
+ i.event.bind(element, 'touchend', touchEnd);
5040
+ } else if (env.supportsIePointer) {
5041
+ if (window.PointerEvent) {
5042
+ i.event.bind(element, 'pointerdown', touchStart);
5043
+ i.event.bind(element, 'pointermove', touchMove);
5044
+ i.event.bind(element, 'pointerup', touchEnd);
5045
+ } else if (window.MSPointerEvent) {
5046
+ i.event.bind(element, 'MSPointerDown', touchStart);
5047
+ i.event.bind(element, 'MSPointerMove', touchMove);
5048
+ i.event.bind(element, 'MSPointerUp', touchEnd);
5049
+ }
5050
+ }
5051
+ }
5052
+
5053
+ var defaultSettings = function () { return ({
5054
+ handlers: ['click-rail', 'drag-thumb', 'keyboard', 'wheel', 'touch'],
5055
+ maxScrollbarLength: null,
5056
+ minScrollbarLength: null,
5057
+ scrollingThreshold: 1000,
5058
+ scrollXMarginOffset: 0,
5059
+ scrollYMarginOffset: 0,
5060
+ suppressScrollX: false,
5061
+ suppressScrollY: false,
5062
+ swipeEasing: true,
5063
+ useBothWheelAxes: false,
5064
+ wheelPropagation: true,
5065
+ wheelSpeed: 1,
5066
+ }); };
5067
+
5068
+ var handlers = {
5069
+ 'click-rail': clickRail,
5070
+ 'drag-thumb': dragThumb,
5071
+ keyboard: keyboard,
5072
+ wheel: wheel,
5073
+ touch: touch,
5074
+ };
5075
+
5076
+ var PerfectScrollbar = function PerfectScrollbar(element, userSettings) {
5077
+ var this$2 = this;
5078
+
5079
+ var this$1 = this;
5080
+ if ( userSettings === void 0 ) { userSettings = {}; }
5081
+
5082
+ if (typeof element === 'string') {
5083
+ element = document.querySelector(element);
5084
+ }
5085
+
5086
+ if (!element || !element.nodeName) {
5087
+ throw new Error('no element is specified to initialize PerfectScrollbar');
5088
+ }
5089
+
5090
+ this.element = element;
5091
+
5092
+ element.classList.add(cls.main);
5093
+
5094
+ this.settings = defaultSettings();
5095
+ for (var key in userSettings) {
5096
+ this$2.settings[key] = userSettings[key];
5097
+ }
5098
+
5099
+ this.containerWidth = null;
5100
+ this.containerHeight = null;
5101
+ this.contentWidth = null;
5102
+ this.contentHeight = null;
5103
+
5104
+ var focus = function () { return element.classList.add(cls.state.focus); };
5105
+ var blur = function () { return element.classList.remove(cls.state.focus); };
5106
+
5107
+ this.isRtl = get(element).direction === 'rtl';
5108
+ if (this.isRtl === true) {
5109
+ element.classList.add(cls.rtl);
5110
+ }
5111
+ this.isNegativeScroll = (function () {
5112
+ var originalScrollLeft = element.scrollLeft;
5113
+ var result = null;
5114
+ element.scrollLeft = -1;
5115
+ result = element.scrollLeft < 0;
5116
+ element.scrollLeft = originalScrollLeft;
5117
+ return result;
5118
+ })();
5119
+ this.negativeScrollAdjustment = this.isNegativeScroll
5120
+ ? element.scrollWidth - element.clientWidth
5121
+ : 0;
5122
+ this.event = new EventManager();
5123
+ this.ownerDocument = element.ownerDocument || document;
5124
+
5125
+ this.scrollbarXRail = div(cls.element.rail('x'));
5126
+ element.appendChild(this.scrollbarXRail);
5127
+ this.scrollbarX = div(cls.element.thumb('x'));
5128
+ this.scrollbarXRail.appendChild(this.scrollbarX);
5129
+ this.scrollbarX.setAttribute('tabindex', 0);
5130
+ this.event.bind(this.scrollbarX, 'focus', focus);
5131
+ this.event.bind(this.scrollbarX, 'blur', blur);
5132
+ this.scrollbarXActive = null;
5133
+ this.scrollbarXWidth = null;
5134
+ this.scrollbarXLeft = null;
5135
+ var railXStyle = get(this.scrollbarXRail);
5136
+ this.scrollbarXBottom = parseInt(railXStyle.bottom, 10);
5137
+ if (isNaN(this.scrollbarXBottom)) {
5138
+ this.isScrollbarXUsingBottom = false;
5139
+ this.scrollbarXTop = toInt(railXStyle.top);
5140
+ } else {
5141
+ this.isScrollbarXUsingBottom = true;
5142
+ }
5143
+ this.railBorderXWidth =
5144
+ toInt(railXStyle.borderLeftWidth) + toInt(railXStyle.borderRightWidth);
5145
+ // Set rail to display:block to calculate margins
5146
+ set(this.scrollbarXRail, { display: 'block' });
5147
+ this.railXMarginWidth =
5148
+ toInt(railXStyle.marginLeft) + toInt(railXStyle.marginRight);
5149
+ set(this.scrollbarXRail, { display: '' });
5150
+ this.railXWidth = null;
5151
+ this.railXRatio = null;
5152
+
5153
+ this.scrollbarYRail = div(cls.element.rail('y'));
5154
+ element.appendChild(this.scrollbarYRail);
5155
+ this.scrollbarY = div(cls.element.thumb('y'));
5156
+ this.scrollbarYRail.appendChild(this.scrollbarY);
5157
+ this.scrollbarY.setAttribute('tabindex', 0);
5158
+ this.event.bind(this.scrollbarY, 'focus', focus);
5159
+ this.event.bind(this.scrollbarY, 'blur', blur);
5160
+ this.scrollbarYActive = null;
5161
+ this.scrollbarYHeight = null;
5162
+ this.scrollbarYTop = null;
5163
+ var railYStyle = get(this.scrollbarYRail);
5164
+ this.scrollbarYRight = parseInt(railYStyle.right, 10);
5165
+ if (isNaN(this.scrollbarYRight)) {
5166
+ this.isScrollbarYUsingRight = false;
5167
+ this.scrollbarYLeft = toInt(railYStyle.left);
5168
+ } else {
5169
+ this.isScrollbarYUsingRight = true;
5170
+ }
5171
+ this.scrollbarYOuterWidth = this.isRtl ? outerWidth(this.scrollbarY) : null;
5172
+ this.railBorderYWidth =
5173
+ toInt(railYStyle.borderTopWidth) + toInt(railYStyle.borderBottomWidth);
5174
+ set(this.scrollbarYRail, { display: 'block' });
5175
+ this.railYMarginHeight =
5176
+ toInt(railYStyle.marginTop) + toInt(railYStyle.marginBottom);
5177
+ set(this.scrollbarYRail, { display: '' });
5178
+ this.railYHeight = null;
5179
+ this.railYRatio = null;
5180
+
5181
+ this.reach = {
5182
+ x:
5183
+ element.scrollLeft <= 0
5184
+ ? 'start'
5185
+ : element.scrollLeft >= this.contentWidth - this.containerWidth
5186
+ ? 'end'
5187
+ : null,
5188
+ y:
5189
+ element.scrollTop <= 0
5190
+ ? 'start'
5191
+ : element.scrollTop >= this.contentHeight - this.containerHeight
5192
+ ? 'end'
5193
+ : null,
5194
+ };
5195
+
5196
+ this.isAlive = true;
5197
+
5198
+ this.settings.handlers.forEach(function (handlerName) { return handlers[handlerName](this$1); });
5199
+
5200
+ this.lastScrollTop = Math.floor(element.scrollTop); // for onScroll only
5201
+ this.lastScrollLeft = element.scrollLeft; // for onScroll only
5202
+ this.event.bind(this.element, 'scroll', function (e) { return this$1.onScroll(e); });
5203
+ updateGeometry(this);
5204
+ };
5205
+
5206
+ PerfectScrollbar.prototype.update = function update () {
5207
+ if (!this.isAlive) {
5208
+ return;
5209
+ }
5210
+
5211
+ // Recalcuate negative scrollLeft adjustment
5212
+ this.negativeScrollAdjustment = this.isNegativeScroll
5213
+ ? this.element.scrollWidth - this.element.clientWidth
5214
+ : 0;
5215
+
5216
+ // Recalculate rail margins
5217
+ set(this.scrollbarXRail, { display: 'block' });
5218
+ set(this.scrollbarYRail, { display: 'block' });
5219
+ this.railXMarginWidth =
5220
+ toInt(get(this.scrollbarXRail).marginLeft) +
5221
+ toInt(get(this.scrollbarXRail).marginRight);
5222
+ this.railYMarginHeight =
5223
+ toInt(get(this.scrollbarYRail).marginTop) +
5224
+ toInt(get(this.scrollbarYRail).marginBottom);
5225
+
5226
+ // Hide scrollbars not to affect scrollWidth and scrollHeight
5227
+ set(this.scrollbarXRail, { display: 'none' });
5228
+ set(this.scrollbarYRail, { display: 'none' });
5229
+
5230
+ updateGeometry(this);
5231
+
5232
+ processScrollDiff(this, 'top', 0, false, true);
5233
+ processScrollDiff(this, 'left', 0, false, true);
5234
+
5235
+ set(this.scrollbarXRail, { display: '' });
5236
+ set(this.scrollbarYRail, { display: '' });
5237
+ };
5238
+
5239
+ PerfectScrollbar.prototype.onScroll = function onScroll (e) {
5240
+ if (!this.isAlive) {
5241
+ return;
5242
+ }
5243
+
5244
+ updateGeometry(this);
5245
+ processScrollDiff(this, 'top', this.element.scrollTop - this.lastScrollTop);
5246
+ processScrollDiff(
5247
+ this,
5248
+ 'left',
5249
+ this.element.scrollLeft - this.lastScrollLeft
5250
+ );
5251
+
5252
+ this.lastScrollTop = Math.floor(this.element.scrollTop);
5253
+ this.lastScrollLeft = this.element.scrollLeft;
5254
+ };
5255
+
5256
+ PerfectScrollbar.prototype.destroy = function destroy () {
5257
+ if (!this.isAlive) {
5258
+ return;
5259
+ }
5260
+
5261
+ this.event.unbindAll();
5262
+ remove(this.scrollbarX);
5263
+ remove(this.scrollbarY);
5264
+ remove(this.scrollbarXRail);
5265
+ remove(this.scrollbarYRail);
5266
+ this.removePsClasses();
5267
+
5268
+ // unset elements
5269
+ this.element = null;
5270
+ this.scrollbarX = null;
5271
+ this.scrollbarY = null;
5272
+ this.scrollbarXRail = null;
5273
+ this.scrollbarYRail = null;
5274
+
5275
+ this.isAlive = false;
5276
+ };
5277
+
5278
+ PerfectScrollbar.prototype.removePsClasses = function removePsClasses () {
5279
+ this.element.className = this.element.className
5280
+ .split(' ')
5281
+ .filter(function (name) { return !name.match(/^ps([-_].+|)$/); })
5282
+ .join(' ');
5283
+ };
5284
+
5285
+ var PerfectScrollbar$1 = {
5286
+ name: 'PerfectScrollbar',
5287
+ props: {
5288
+ options: {
5289
+ type: Object,
5290
+ required: false,
5291
+ default: function () {}
5292
+ },
5293
+ tag: {
5294
+ type: String,
5295
+ required: false,
5296
+ default: 'div'
5297
+ },
5298
+ watchOptions: {
5299
+ type: Boolean,
5300
+ required: false,
5301
+ default: false
5302
+ }
5303
+ },
5304
+ data: function data () {
5305
+ return {
5306
+ ps: null
5307
+ }
5308
+ },
5309
+ watch: {
5310
+ watchOptions: function watchOptions (shouldWatch) {
5311
+ if (!shouldWatch && this.watcher) {
5312
+ this.watcher();
5313
+ } else {
5314
+ this.createWatcher();
5315
+ }
5316
+ }
5317
+ },
5318
+ mounted: function mounted () {
5319
+ this.create();
5320
+
5321
+ if (this.watchOptions) {
5322
+ this.createWatcher();
5323
+ }
5324
+ },
5325
+ updated: function updated () {
5326
+ var this$1 = this;
5327
+
5328
+ this.$nextTick(function () {
5329
+ this$1.update();
5330
+ });
5331
+ },
5332
+ beforeDestroy: function beforeDestroy () {
5333
+ this.destroy();
5334
+ },
5335
+ methods: {
5336
+ create: function create () {
5337
+ if (!(this.ps && this.$isServer)) {
5338
+ this.ps = new PerfectScrollbar(this.$refs.container, this.options);
5339
+ }
5340
+ },
5341
+ createWatcher: function createWatcher () {
5342
+ var this$1 = this;
5343
+
5344
+ this.watcher = this.$watch('options', function () {
5345
+ this$1.destroy();
5346
+ this$1.create();
5347
+ }, {
5348
+ deep: true
5349
+ });
5350
+ },
5351
+ update: function update () {
5352
+ if (this.ps) {
5353
+ this.ps.update();
5354
+ }
5355
+ },
5356
+ destroy: function destroy () {
5357
+ if (this.ps) {
5358
+ this.ps.destroy();
5359
+ this.ps = null;
5360
+ }
5361
+ }
5362
+ },
5363
+ render: function render (h) {
5364
+ return h(this.tag,
5365
+ {
5366
+ ref: 'container',
5367
+ class: 'ps',
5368
+ on: this.$listeners
5369
+ },
5370
+ this.$slots.default)
5371
+ }
5372
+ };
5373
+
5374
+ function install (Vue, settings) {
5375
+ if (settings) {
5376
+ if (settings.name && typeof settings.name === 'string') {
5377
+ PerfectScrollbar$1.name = settings.name;
5378
+ }
5379
+
5380
+ if (settings.options && typeof settings.options === 'object') {
5381
+ PerfectScrollbar$1.props.options.default = function () {
5382
+ return settings.options
5383
+ };
5384
+ }
5385
+
5386
+ if (settings.tag && typeof settings.tag === 'string') {
5387
+ PerfectScrollbar$1.props.tag.default = settings.tag;
5388
+ }
5389
+
5390
+ if (settings.watchOptions && typeof settings.watchOptions === 'boolean') {
5391
+ PerfectScrollbar$1.props.watchOptions = settings.watchOptions;
5392
+ }
5393
+ }
5394
+
5395
+ Vue.component(
5396
+ PerfectScrollbar$1.name,
5397
+ PerfectScrollbar$1
5398
+ );
5399
+ }
5400
+
5401
+ exports.install = install;
5402
+ exports.PerfectScrollbar = PerfectScrollbar$1;
5403
+ exports.default = install;
5404
+
5405
+ Object.defineProperty(exports, '__esModule', { value: true });
5406
+
5407
+ })));
5408
+
5409
+
3937
5410
  /***/ }),
3938
5411
 
3939
5412
  /***/ "a4b4":
@@ -6487,7 +7960,7 @@ var es_object_keys = __webpack_require__("b64b");
6487
7960
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
6488
7961
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
6489
7962
 
6490
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Button/BaseButton.vue?vue&type=template&id=666255ba&
7963
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Button/BaseButton.vue?vue&type=template&id=666255ba&
6491
7964
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(_vm.url ? 'nuxt-link' : 'button',_vm._g(_vm._b({tag:"component",class:[
6492
7965
  'btn',
6493
7966
  {'full-width': _vm.fullwidth},
@@ -6695,12 +8168,15 @@ var component = normalizeComponent(
6695
8168
  )
6696
8169
 
6697
8170
  /* harmony default export */ var BaseButton = (component.exports);
6698
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField/TextField.vue?vue&type=template&id=0b0b00cd&
6699
- var TextFieldvue_type_template_id_0b0b00cd_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[(!_vm.mask)?_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}):_c('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label)),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()],1),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
6700
- var TextFieldvue_type_template_id_0b0b00cd_staticRenderFns = []
8171
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TextField/TextField.vue?vue&type=template&id=0ec5c912&
8172
+ var TextFieldvue_type_template_id_0ec5c912_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[(!_vm.mask)?_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"placeholder":_vm.placeholder,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}):_c('TheMask',{ref:"maskInput",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"value":_vm.value,"mask":_vm.mask,"type":_vm.type,"masked":false,"placeholder":_vm.inputPlaceholder,"required":""},nativeOn:{"input":function($event){return _vm.$emit('input', $event.target.value)},"focus":function($event){_vm.showPlaceholder = true},"blur":function($event){_vm.showPlaceholder = false}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label)),(_vm.required)?_c('span',{staticClass:"adt-text-block__required"},[_vm._v("*")]):_vm._e()]),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()],1),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
8173
+ var TextFieldvue_type_template_id_0ec5c912_staticRenderFns = []
8174
+
6701
8175
 
8176
+ // CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=0ec5c912&
6702
8177
 
6703
- // CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=template&id=0b0b00cd&
8178
+ // EXTERNAL MODULE: ./src/assets/style.scss
8179
+ var style = __webpack_require__("73ec");
6704
8180
 
6705
8181
  // EXTERNAL MODULE: ./node_modules/vue-the-mask/dist/vue-the-mask.js
6706
8182
  var vue_the_mask = __webpack_require__("3a60");
@@ -6748,6 +8224,8 @@ var vue_the_mask = __webpack_require__("3a60");
6748
8224
  //
6749
8225
  //
6750
8226
  //
8227
+ //
8228
+
6751
8229
 
6752
8230
  /* harmony default export */ var TextFieldvue_type_script_lang_js_ = ({
6753
8231
  name: "TextField",
@@ -6801,22 +8279,18 @@ var vue_the_mask = __webpack_require__("3a60");
6801
8279
  });
6802
8280
  // CONCATENATED MODULE: ./src/components/TextField/TextField.vue?vue&type=script&lang=js&
6803
8281
  /* harmony default export */ var TextField_TextFieldvue_type_script_lang_js_ = (TextFieldvue_type_script_lang_js_);
6804
- // EXTERNAL MODULE: ./src/components/TextField/TextField.vue?vue&type=style&index=0&lang=scss&
6805
- var TextFieldvue_type_style_index_0_lang_scss_ = __webpack_require__("39e0");
6806
-
6807
8282
  // CONCATENATED MODULE: ./src/components/TextField/TextField.vue
6808
8283
 
6809
8284
 
6810
8285
 
6811
8286
 
6812
8287
 
6813
-
6814
8288
  /* normalize component */
6815
8289
 
6816
8290
  var TextField_component = normalizeComponent(
6817
8291
  TextField_TextFieldvue_type_script_lang_js_,
6818
- TextFieldvue_type_template_id_0b0b00cd_render,
6819
- TextFieldvue_type_template_id_0b0b00cd_staticRenderFns,
8292
+ TextFieldvue_type_template_id_0ec5c912_render,
8293
+ TextFieldvue_type_template_id_0ec5c912_staticRenderFns,
6820
8294
  false,
6821
8295
  null,
6822
8296
  null,
@@ -6825,12 +8299,12 @@ var TextField_component = normalizeComponent(
6825
8299
  )
6826
8300
 
6827
8301
  /* harmony default export */ var TextField = (TextField_component.exports);
6828
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField/PasswordField.vue?vue&type=template&id=5de3e742&
6829
- var PasswordFieldvue_type_template_id_5de3e742_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label))]),(_vm.showPassword)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = false}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 511.992 511.992","id":"openedEye"}},[_c('path',{attrs:{"d":"M510.096 249.937c-4.032-5.867-100.928-143.275-254.101-143.275-131.435 0-248.555 136.619-253.483 142.443-3.349 3.968-3.349 9.792 0 13.781C7.44 268.71 124.56 405.329 255.995 405.329S504.549 268.71 509.477 262.886c3.094-3.669 3.371-8.981.619-12.949zM255.995 383.996c-105.365 0-205.547-100.48-230.997-128 25.408-27.541 125.483-128 230.997-128 123.285 0 210.304 100.331 231.552 127.424-24.534 26.645-125.291 128.576-231.552 128.576z"}}),_c('path',{attrs:{"d":"M255.995 170.662c-47.061 0-85.333 38.272-85.333 85.333s38.272 85.333 85.333 85.333 85.333-38.272 85.333-85.333-38.272-85.333-85.333-85.333zm0 149.334c-35.285 0-64-28.715-64-64s28.715-64 64-64 64 28.715 64 64-28.715 64-64 64z"}})])]):_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = true}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512.001 512.001","id":"closedEye"}},[_c('path',{attrs:{"d":"M316.332 195.662c-4.16-4.16-10.923-4.16-15.083 0s-4.16 10.944 0 15.083c12.075 12.075 18.752 28.139 18.752 45.248 0 35.285-28.715 64-64 64-17.109 0-33.173-6.656-45.248-18.752-4.16-4.16-10.923-4.16-15.083 0-4.16 4.139-4.16 10.923 0 15.083 16.085 16.128 37.525 25.003 60.331 25.003 47.061 0 85.333-38.272 85.333-85.333 0-22.807-8.874-44.247-25.002-60.332zm-45.462-23.531c-4.843-.853-9.792-1.472-14.869-1.472-47.061 0-85.333 38.272-85.333 85.333 0 5.077.619 10.027 1.493 14.869.917 5.163 5.419 8.811 10.475 8.811.619 0 1.237-.043 1.877-.171 5.781-1.024 9.664-6.571 8.64-12.352-.661-3.627-1.152-7.317-1.152-11.157 0-35.285 28.715-64 64-64 3.84 0 7.531.491 11.157 1.131 5.675 1.152 11.328-2.859 12.352-8.64 1.024-5.781-2.858-11.328-8.64-12.352z"}}),_c('path',{attrs:{"d":"M509.462 249.102c-2.411-2.859-60.117-70.208-139.712-111.445-5.163-2.709-11.669-.661-14.379 4.587-2.709 5.227-.661 11.669 4.587 14.379 61.312 31.744 110.293 81.28 127.04 99.371-25.429 27.541-125.504 128-230.997 128-35.797 0-71.872-8.64-107.264-25.707-5.248-2.581-11.669-.341-14.229 4.971-2.581 5.291-.341 11.669 4.971 14.229 38.293 18.496 77.504 27.84 116.523 27.84 131.435 0 248.555-136.619 253.483-142.443 3.369-3.969 3.348-9.793-.023-13.782zM325.996 118.947c-24.277-8.171-47.829-12.288-69.995-12.288-131.435 0-248.555 136.619-253.483 142.443-3.115 3.669-3.371 9.003-.597 12.992 1.472 2.112 36.736 52.181 97.856 92.779a10.48 10.48 0 005.888 1.792c3.435 0 6.827-1.664 8.875-4.8 3.264-4.885 1.92-11.52-2.987-14.763-44.885-29.845-75.605-65.877-87.104-80.533 24.555-26.667 125.291-128.576 231.552-128.576 19.861 0 41.131 3.755 63.189 11.157 5.589 2.005 11.648-1.088 13.504-6.699 1.878-5.589-1.109-11.626-6.698-13.504z"}}),_c('path',{attrs:{"d":"M444.865 67.128c-4.16-4.16-10.923-4.16-15.083 0L67.116 429.795c-4.16 4.16-4.16 10.923 0 15.083a10.716 10.716 0 007.552 3.115c2.731 0 5.461-1.045 7.531-3.115L444.865 82.211c4.16-4.16 4.16-10.923 0-15.083z"}})])])]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
6830
- var PasswordFieldvue_type_template_id_5de3e742_staticRenderFns = []
8302
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField/PasswordField.vue?vue&type=template&id=bac050aa&
8303
+ var PasswordFieldvue_type_template_id_bac050aa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"adt-text-block"},[_c('div',{staticClass:"adt-text-block__field"},[_c('input',{ref:"input",staticClass:"adt-text-block__input",class:{ error: !!_vm.errorText },attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.$emit('input', $event.target.value)}}}),_c('label',{staticClass:"adt-text-block__label"},[_vm._v(_vm._s(_vm.label))]),(_vm.showPassword)?_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = false}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 511.992 511.992","id":"openedEye"}},[_c('path',{attrs:{"d":"M510.096 249.937c-4.032-5.867-100.928-143.275-254.101-143.275-131.435 0-248.555 136.619-253.483 142.443-3.349 3.968-3.349 9.792 0 13.781C7.44 268.71 124.56 405.329 255.995 405.329S504.549 268.71 509.477 262.886c3.094-3.669 3.371-8.981.619-12.949zM255.995 383.996c-105.365 0-205.547-100.48-230.997-128 25.408-27.541 125.483-128 230.997-128 123.285 0 210.304 100.331 231.552 127.424-24.534 26.645-125.291 128.576-231.552 128.576z"}}),_c('path',{attrs:{"d":"M255.995 170.662c-47.061 0-85.333 38.272-85.333 85.333s38.272 85.333 85.333 85.333 85.333-38.272 85.333-85.333-38.272-85.333-85.333-85.333zm0 149.334c-35.285 0-64-28.715-64-64s28.715-64 64-64 64 28.715 64 64-28.715 64-64 64z"}})])]):_c('div',{staticClass:"adt-text-block__icon desktop",on:{"click":function($event){_vm.showPassword = true}}},[_c('svg',{attrs:{"width":"12","height":"12","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 512.001 512.001","id":"closedEye"}},[_c('path',{attrs:{"d":"M316.332 195.662c-4.16-4.16-10.923-4.16-15.083 0s-4.16 10.944 0 15.083c12.075 12.075 18.752 28.139 18.752 45.248 0 35.285-28.715 64-64 64-17.109 0-33.173-6.656-45.248-18.752-4.16-4.16-10.923-4.16-15.083 0-4.16 4.139-4.16 10.923 0 15.083 16.085 16.128 37.525 25.003 60.331 25.003 47.061 0 85.333-38.272 85.333-85.333 0-22.807-8.874-44.247-25.002-60.332zm-45.462-23.531c-4.843-.853-9.792-1.472-14.869-1.472-47.061 0-85.333 38.272-85.333 85.333 0 5.077.619 10.027 1.493 14.869.917 5.163 5.419 8.811 10.475 8.811.619 0 1.237-.043 1.877-.171 5.781-1.024 9.664-6.571 8.64-12.352-.661-3.627-1.152-7.317-1.152-11.157 0-35.285 28.715-64 64-64 3.84 0 7.531.491 11.157 1.131 5.675 1.152 11.328-2.859 12.352-8.64 1.024-5.781-2.858-11.328-8.64-12.352z"}}),_c('path',{attrs:{"d":"M509.462 249.102c-2.411-2.859-60.117-70.208-139.712-111.445-5.163-2.709-11.669-.661-14.379 4.587-2.709 5.227-.661 11.669 4.587 14.379 61.312 31.744 110.293 81.28 127.04 99.371-25.429 27.541-125.504 128-230.997 128-35.797 0-71.872-8.64-107.264-25.707-5.248-2.581-11.669-.341-14.229 4.971-2.581 5.291-.341 11.669 4.971 14.229 38.293 18.496 77.504 27.84 116.523 27.84 131.435 0 248.555-136.619 253.483-142.443 3.369-3.969 3.348-9.793-.023-13.782zM325.996 118.947c-24.277-8.171-47.829-12.288-69.995-12.288-131.435 0-248.555 136.619-253.483 142.443-3.115 3.669-3.371 9.003-.597 12.992 1.472 2.112 36.736 52.181 97.856 92.779a10.48 10.48 0 005.888 1.792c3.435 0 6.827-1.664 8.875-4.8 3.264-4.885 1.92-11.52-2.987-14.763-44.885-29.845-75.605-65.877-87.104-80.533 24.555-26.667 125.291-128.576 231.552-128.576 19.861 0 41.131 3.755 63.189 11.157 5.589 2.005 11.648-1.088 13.504-6.699 1.878-5.589-1.109-11.626-6.698-13.504z"}}),_c('path',{attrs:{"d":"M444.865 67.128c-4.16-4.16-10.923-4.16-15.083 0L67.116 429.795c-4.16 4.16-4.16 10.923 0 15.083a10.716 10.716 0 007.552 3.115c2.731 0 5.461-1.045 7.531-3.115L444.865 82.211c4.16-4.16 4.16-10.923 0-15.083z"}})])])]),(!!_vm.errorText)?_c('div',{staticClass:"adt-text-block__error"},[_vm._v(" "+_vm._s(_vm.errorText)+" ")]):_vm._e()])}
8304
+ var PasswordFieldvue_type_template_id_bac050aa_staticRenderFns = []
6831
8305
 
6832
8306
 
6833
- // CONCATENATED MODULE: ./src/components/PasswordField/PasswordField.vue?vue&type=template&id=5de3e742&
8307
+ // CONCATENATED MODULE: ./src/components/PasswordField/PasswordField.vue?vue&type=template&id=bac050aa&
6834
8308
 
6835
8309
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/PasswordField/PasswordField.vue?vue&type=script&lang=js&
6836
8310
  //
@@ -6871,6 +8345,7 @@ var PasswordFieldvue_type_template_id_5de3e742_staticRenderFns = []
6871
8345
  //
6872
8346
  //
6873
8347
  //
8348
+
6874
8349
  /* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
6875
8350
  name: "PasswordField",
6876
8351
  props: {
@@ -6910,8 +8385,8 @@ var PasswordFieldvue_type_template_id_5de3e742_staticRenderFns = []
6910
8385
 
6911
8386
  var PasswordField_component = normalizeComponent(
6912
8387
  PasswordField_PasswordFieldvue_type_script_lang_js_,
6913
- PasswordFieldvue_type_template_id_5de3e742_render,
6914
- PasswordFieldvue_type_template_id_5de3e742_staticRenderFns,
8388
+ PasswordFieldvue_type_template_id_bac050aa_render,
8389
+ PasswordFieldvue_type_template_id_bac050aa_staticRenderFns,
6915
8390
  false,
6916
8391
  null,
6917
8392
  null,
@@ -6920,7 +8395,7 @@ var PasswordField_component = normalizeComponent(
6920
8395
  )
6921
8396
 
6922
8397
  /* harmony default export */ var PasswordField = (PasswordField_component.exports);
6923
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Alert/Alert.vue?vue&type=template&id=49ee10ec&
8398
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Alert/Alert.vue?vue&type=template&id=49ee10ec&
6924
8399
  var Alertvue_type_template_id_49ee10ec_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:['note', {'note--error': _vm.error}]},[_c('div',{staticClass:"note-svg"},[(!_vm.error)?_c('svg',{attrs:{"fill":"none","width":"14","height":"14","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#007AFF"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#007AFF"}})]):_c('svg',{attrs:{"width":"14","height":"14","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"note-error-svg"}},[_c('circle',{attrs:{"cx":"8","cy":"8","r":"6.5","stroke":"#e60000"}}),_c('path',{attrs:{"d":"M9.661 11.137l-.111.457c-.336.132-.604.233-.803.302-.2.07-.432.104-.696.104-.406 0-.722-.1-.947-.297a.961.961 0 01-.338-.755c0-.117.008-.239.025-.363.017-.123.045-.263.082-.419l.419-1.483c.037-.142.069-.277.094-.404.026-.126.038-.243.038-.348 0-.189-.039-.321-.117-.396-.078-.074-.227-.112-.448-.112-.108 0-.22.017-.333.051a4.649 4.649 0 00-.294.096l.112-.457c.275-.112.537-.207.788-.287.251-.08.489-.12.713-.12.403 0 .714.098.933.293a.97.97 0 01.327.76c0 .064-.007.177-.022.34a2.277 2.277 0 01-.084.447l-.417 1.478a3.921 3.921 0 00-.133.752c0 .196.044.33.132.401.088.071.24.107.456.107.102 0 .217-.018.345-.054.128-.035.221-.066.28-.093zm.106-6.203a.865.865 0 01-.292.658.994.994 0 01-.703.272 1 1 0 01-.706-.272.863.863 0 01-.295-.658c0-.257.098-.477.295-.66A1 1 0 018.772 4a.99.99 0 01.703.274.873.873 0 01.292.66z","fill":"#e60000"}})])]),_vm._t("default")],2)}
6925
8400
  var Alertvue_type_template_id_49ee10ec_staticRenderFns = []
6926
8401
 
@@ -6983,14 +8458,14 @@ var Alert_component = normalizeComponent(
6983
8458
  )
6984
8459
 
6985
8460
  /* harmony default export */ var Alert = (Alert_component.exports);
6986
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=template&id=0267d418&
6987
- var Headervue_type_template_id_0267d418_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"a-header",class:[{'bordered': _vm.isBordered}, {'fixed': _vm.isFixed}]},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"a-header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.toAdtdev('https://adata.kz')}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":item.url}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"isDev":_vm.isDev,"isAuthenticated":_vm.isAuthenticated,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) { _vm.$emit('showBalanceModal', val) },"setShowModal":function (val) { _vm.$emit('setShowModal', val) },"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) { _vm.$emit('setIsReplenishModal', val) }}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
8461
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Header.vue?vue&type=template&id=1c942cc3&
8462
+ var Headervue_type_template_id_1c942cc3_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:"a-header",class:[{'bordered': _vm.isBordered}, {'fixed': _vm.isFixed}]},[_c('div',{staticClass:"container"},[_c('div',{staticClass:"a-header__left"},[_c('a',{staticClass:"logo",attrs:{"href":_vm.toAdtdev('https://adata.kz')}},[_c('svg',{staticClass:"adata-logo",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),(_vm.subheaderItems.length > 0)?_c('div',{staticClass:"menu"},_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu__wrapper menu__items",class:{active: _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])}),0):_vm._e()]),_c('div',{staticClass:"a-header__right"},[_vm._t("chooseCountry"),_c('Profile',{attrs:{"profileDropDown":_vm.profileDropDown,"isDev":_vm.isDev,"isAuthenticated":_vm.isAuthenticated,"requestCount":_vm.requestCount,"daysRemaining":_vm.daysRemaining,"email":_vm.email,"loginUrl":_vm.loginUrl,"activeTabKey":_vm.activeTabKey},on:{"showBalanceModal":function (val) { _vm.$emit('showBalanceModal', val) },"setShowModal":function (val) { _vm.$emit('setShowModal', val) },"logout":function($event){return _vm.$emit('logout')},"setIsReplenishModal":function (val) { _vm.$emit('setIsReplenishModal', val) }}}),_c('div',{staticClass:"menu_mobile--switcher",on:{"click":_vm.changeValue}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 4h20v2H2V4zm0 14h20v2H2v-2zm0-7h20v2H2v-2z","fill":"#2C3E50"}})])])],2)]),_c('MobileToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
6988
8463
  var animationClass = ref.animationClass;
6989
- return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('div',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': _vm.locationUrl.includes(_vm.toAdtdev(item.url))},on:{"click":function($event){return _vm.handleClick(item.url)}}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
6990
- var Headervue_type_template_id_0267d418_staticRenderFns = []
8464
+ return [_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.subheaderItems.length > 0 && _vm.isOpen),expression:"subheaderItems.length > 0 && isOpen"}],staticClass:"menu_mobile",class:animationClass},[_c('div',{staticClass:"mobile-table-head",on:{"click":function($event){$event.stopPropagation();return _vm.changeValue.apply(null, arguments)}}},[_c('svg',{attrs:{"width":"18","height":"18","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M4.414 18.142L18.556 4l1.415 1.414L5.828 19.556l-1.414-1.414z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M5.414 4l14.142 14.142-1.414 1.414L4 5.414 5.414 4z","fill":"#2C3E50"}})])]),_vm._l((_vm.subheaderItems),function(item,index){return _c('a',{key:index,staticClass:"menu_mobile-wrapper",class:{'active-burger-tab': _vm.locationUrl.includes(_vm.toAdtdev(item.url))},attrs:{"href":_vm.toAdtdev(item.url)}},[_vm._v(" "+_vm._s(item.name)+" ")])})],2)]}}])})],1)}
8465
+ var Headervue_type_template_id_1c942cc3_staticRenderFns = []
6991
8466
 
6992
8467
 
6993
- // CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=0267d418&
8468
+ // CONCATENATED MODULE: ./src/components/Header/Header.vue?vue&type=template&id=1c942cc3&
6994
8469
 
6995
8470
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.number.constructor.js
6996
8471
  var es_number_constructor = __webpack_require__("a9e3");
@@ -7007,7 +8482,7 @@ var es_function_name = __webpack_require__("b0c0");
7007
8482
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
7008
8483
  var es_regexp_to_string = __webpack_require__("25f0");
7009
8484
 
7010
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Profile.vue?vue&type=template&id=4ff2c258&
8485
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Header/Profile.vue?vue&type=template&id=4ff2c258&
7011
8486
  var Profilevue_type_template_id_4ff2c258_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"profile",class:{ active: _vm.active }},[_c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(function () {_vm.active = false}),expression:"() => {active = false}"}]},[_c('div',{staticClass:"profile__inner"},[(_vm.requestCount !== null && _vm.isAuthenticated)?_c('div',{staticClass:"requests__link"},[_vm._v(" Суточный лимит запросов: "),_c('span',[_vm._v(" "+_vm._s(_vm.requestCount)+" "+_vm._s((_vm.daysRemaining === null || _vm.daysRemaining === '-') ? '' : ("(" + _vm.daysRemaining + ")"))+" ")])]):_vm._e(),_c('div',{staticClass:"profile__item",on:{"click":function($event){_vm.active = !_vm.active}}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('span',{staticClass:"desktop"},[_vm._v(_vm._s(_vm.email))]),_c('svg',{staticClass:"desktop arrow-svg",class:{ rotate: _vm.active },attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"none","d":"M0 0h16v16H0z"}}),_c('path',{attrs:{"fill":"none","d":"M3 6.5L8 10l5-3.5","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isAuthenticated),expression:"isAuthenticated"}],staticClass:"profile__item-link"},[_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M15.5 8a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-1.023 4.344a5 5 0 10-4.954 0C5.757 13.417 3 16.874 3 20.974V21h1.543v-.026c0-4.106 3.339-7.435 7.457-7.435 4.119 0 7.457 3.329 7.457 7.435V21H21v-.026c0-4.1-2.757-7.557-6.523-8.63z","fill":"#2C3E50"}})])]),_c('a',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isAuthenticated),expression:"!isAuthenticated"}],staticClass:"sign",attrs:{"href":_vm.loginUrl}},[_c('svg',{staticClass:"desktop",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill":"#fff","d":"M0 0h16v16H0z","stroke":"none"}}),_c('path',{attrs:{"d":"M8 10l2-2.054L8.077 6","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('path',{attrs:{"d":"M6 4.1V2h8v12H6v-1.65M9 8H2","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('svg',{staticClass:"user",attrs:{"width":"18","height":"18","fill":"#25476AFF","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 24 24"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M13 7.94L17.06 12 13 16.06 11.94 15l3-3-3-3L13 7.94z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M8.25 2.25h13.5v19.5H8.25v-4.5h1.5v3h10.5V3.75H9.75v3h-1.5v-4.5z","fill":"#2C3E50"}}),_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2.25 11.25h13.5v1.5H2.25v-1.5z","fill":"#2C3E50"}})]),_c('span',{staticClass:"sign_text"},[_vm._v("Вход")])])])]),_c('SlideToggle',{scopedSlots:_vm._u([{key:"default",fn:function(ref){
7012
8487
  var animationClass = ref.animationClass;
7013
8488
  return [(_vm.isAuthenticated)?_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.active),expression:"active"}],staticClass:"profile-menu",class:animationClass},[_c('div',{staticClass:"profile-menu__inner"},[(_vm.listDropDown.length)?_c('div',{staticClass:"profile-menu__items"},_vm._l((_vm.listDropDown),function(elem,index){return _c('div',{key:index},[(elem.url)?_c('div',{staticClass:"gray-text",class:elem.link ? 'profile-menu__balance-link': 'profile-menu__links',on:{"click":function($event){return _vm.handleClick(elem.url, elem.name)}}},[_c('div',[_vm._v(" "+_vm._s(elem.name)+" ")]),(elem.link)?_c('span',{staticClass:"profile-menu__balance",on:{"click":function($event){return _vm.showModal(elem.url, elem.name)}}},[_vm._v(" "+_vm._s(elem.link)+" ")]):_vm._e()]):_vm._e(),(elem.children)?_c('div',{staticClass:"gray-text profile-menu__item",on:{"click":function($event){return _vm.rotateItem(index)}}},[_c('div',{staticClass:"profile-menu__item__children"},[_vm._v(_vm._s(elem.name)+" "),(elem.children.length > 0)?_c('span',[_c('svg',{class:{'rotated': elem.opened},attrs:{"width":"12","height":"8","viewBox":"0 0 12 8","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M1 1.5L6 6.5L11 1.5","stroke":"#69797D","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('SlideToggle',{class:animationClass,scopedSlots:_vm._u([{key:"default",fn:function(ref){
@@ -7163,7 +8638,7 @@ var es_array_filter = __webpack_require__("4de4");
7163
8638
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
7164
8639
  var es_string_includes = __webpack_require__("2532");
7165
8640
 
7166
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/SlideToggle.vue?vue&type=template&id=6ddd4cf0&
8641
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/SlideToggle.vue?vue&type=template&id=6ddd4cf0&
7167
8642
  var SlideTogglevue_type_template_id_6ddd4cf0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"enter":_vm.enter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification',"fastAnimation":'fastAnimation'})],2)}
7168
8643
  var SlideTogglevue_type_template_id_6ddd4cf0_staticRenderFns = []
7169
8644
 
@@ -7241,7 +8716,7 @@ var SlideToggle_component = normalizeComponent(
7241
8716
  var v_click_outside_umd = __webpack_require__("c28b");
7242
8717
  var v_click_outside_umd_default = /*#__PURE__*/__webpack_require__.n(v_click_outside_umd);
7243
8718
 
7244
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/VerticalMobileToggle.vue?vue&type=template&id=0eccf0ba&
8719
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/transitions/VerticalMobileToggle.vue?vue&type=template&id=0eccf0ba&
7245
8720
  var VerticalMobileTogglevue_type_template_id_0eccf0ba_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{on:{"before-enter":_vm.beforeEnter,"after-enter":_vm.afterEnter,"before-leave":_vm.beforeLeave,"leave":_vm.leave,"after-leave":_vm.afterLeave}},[_vm._t("default",null,{"animationClass":'slideToggleAnimation',"compareNotificationClass":'compareNotification'})],2)}
7246
8721
  var VerticalMobileTogglevue_type_template_id_0eccf0ba_staticRenderFns = []
7247
8722
 
@@ -7758,24 +9233,6 @@ var Profile_component = normalizeComponent(
7758
9233
  )
7759
9234
 
7760
9235
  /* harmony default export */ var Profile = (Profile_component.exports);
7761
- // CONCATENATED MODULE: ./src/configs/navigationBarConfig.js
7762
- var menuList = [{
7763
- id: 1,
7764
- name: "Контрагенты",
7765
- url: 'https://pk.adata.kz'
7766
- }, {
7767
- id: 2,
7768
- name: "Тендеры",
7769
- url: 'https://tender.adata.kz'
7770
- }, {
7771
- id: 3,
7772
- name: "Работа",
7773
- url: 'https://work.adata.kz'
7774
- }, {
7775
- id: 4,
7776
- name: "Штрафы",
7777
- url: 'https://fines.adata.kz'
7778
- }];
7779
9236
  // CONCATENATED MODULE: ./src/configs/profileDropDown.js
7780
9237
  var profileDropDown = [{
7781
9238
  id: 1,
@@ -7942,7 +9399,6 @@ var profileDropDown = [{
7942
9399
 
7943
9400
 
7944
9401
 
7945
-
7946
9402
  /* harmony default export */ var Headervue_type_script_lang_js_ = ({
7947
9403
  components: {
7948
9404
  Profile: Profile,
@@ -7995,13 +9451,28 @@ var profileDropDown = [{
7995
9451
  data: function data() {
7996
9452
  return {
7997
9453
  profileDropDown: profileDropDown,
7998
- subheaderItems: [],
9454
+ subheaderItems: [{
9455
+ id: 1,
9456
+ name: "Контрагенты",
9457
+ url: 'https://pk.adata.kz'
9458
+ }, {
9459
+ id: 2,
9460
+ name: "Тендеры",
9461
+ url: 'https://tender.adata.kz'
9462
+ }, {
9463
+ id: 3,
9464
+ name: "Работа",
9465
+ url: 'https://work.adata.kz'
9466
+ }, {
9467
+ id: 4,
9468
+ name: "Штрафы",
9469
+ url: 'https://avto.adata.kz'
9470
+ }],
7999
9471
  isOpen: false
8000
9472
  };
8001
9473
  },
8002
9474
  mounted: function mounted() {
8003
9475
  this.setBalance(this.balance);
8004
- this.subheaderItems = menuList;
8005
9476
  },
8006
9477
  computed: {
8007
9478
  locationUrl: function locationUrl() {
@@ -8023,9 +9494,6 @@ var profileDropDown = [{
8023
9494
  },
8024
9495
  thousandSeparator: function thousandSeparator(val) {
8025
9496
  return val ? val.toString().replace(/\B(?=(\d{3})+(?!\d))/g, " ") : '';
8026
- },
8027
- handleClick: function handleClick(url) {
8028
- window.open(this.toAdtdev(url), "_self");
8029
9497
  }
8030
9498
  },
8031
9499
  watch: {
@@ -8050,8 +9518,8 @@ var Headervue_type_style_index_0_lang_scss_ = __webpack_require__("52f3");
8050
9518
 
8051
9519
  var Header_component = normalizeComponent(
8052
9520
  Header_Headervue_type_script_lang_js_,
8053
- Headervue_type_template_id_0267d418_render,
8054
- Headervue_type_template_id_0267d418_staticRenderFns,
9521
+ Headervue_type_template_id_1c942cc3_render,
9522
+ Headervue_type_template_id_1c942cc3_staticRenderFns,
8055
9523
  false,
8056
9524
  null,
8057
9525
  null,
@@ -8060,7 +9528,7 @@ var Header_component = normalizeComponent(
8060
9528
  )
8061
9529
 
8062
9530
  /* harmony default export */ var Header = (Header_component.exports);
8063
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"526e57d7-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Footer/Footer.vue?vue&type=template&id=2578c2ff&
9531
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Footer/Footer.vue?vue&type=template&id=2578c2ff&
8064
9532
  var Footervue_type_template_id_2578c2ff_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:"a-footer",class:[{'paddinged': _vm.hasBottomMenu}]},[_c('div',{staticClass:"a-footer__top"},[_c('ul',{staticClass:"nav"},[_c('a',{staticClass:"logo adata-logo",attrs:{"href":"https://adata.kz"}},[_c('svg',{attrs:{"fill":"#2C3E50","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 166 48"}},[_c('path',{attrs:{"d":"M62.926 38.22v-28h10.316c10.342 0 15.511 4.55 15.508 13.652 0 4.36-1.41 7.843-4.232 10.448-2.822 2.605-6.58 3.907-11.276 3.904l-10.316-.004zm6.56-22.868v17.752h3.248c2.839 0 5.069-.82 6.69-2.46 1.622-1.64 2.43-3.873 2.424-6.7 0-2.667-.8-4.767-2.403-6.3-1.602-1.533-3.853-2.297-6.752-2.292h-3.206zM118.5 38.22h-7.131l-2.079-6.228H98.958l-2.079 6.228h-7.093l10.598-28h7.775l10.341 28zm-10.723-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.162c-.07.83-.24 1.649-.508 2.44l-3.168 9.492h7.451zm31.833-11.796h-8.316V38.22h-6.557V15.352h-8.274v-5.136h23.147v5.136zM166 38.22h-7.143l-2.079-6.228h-10.349l-2.05 6.228h-7.106l10.598-28h7.776l10.353 28zm-10.719-11.072l-3.127-9.416a11.94 11.94 0 01-.486-2.516h-.163c-.069.83-.239 1.649-.507 2.44l-3.168 9.492h7.451zM24.553 15.252h-.163c-.069.83-.24 1.649-.507 2.44L20.715 27.2h7.45l-3.126-9.412a12.02 12.02 0 01-.486-2.536z"}}),_c('path',{attrs:{"d":"M44.905 0H4.99a5.091 5.091 0 00-3.528 1.406A4.71 4.71 0 000 4.8v38.4a4.71 4.71 0 001.461 3.394A5.091 5.091 0 004.99 48h39.916a5.091 5.091 0 003.528-1.406 4.71 4.71 0 001.462-3.394V4.8a4.71 4.71 0 00-1.462-3.394A5.091 5.091 0 0044.905 0zM31.737 38.26l-2.079-6.232H19.305l-2.05 6.232h-7.097l10.598-28h7.776l10.353 28h-7.148z"}})])]),_c('div',{staticClass:"social"},[_c('a',{attrs:{"target":"_blank","href":"https://www.facebook.com/adata.kz"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"d":"M13.6562 0H2.34375C1.05151 0 0 1.05151 0 2.34375V13.6562C0 14.9485 1.05151 16 2.34375 16H7.0625V10.3438H5.1875V7.53125H7.0625V5.625C7.0625 4.0741 8.3241 2.8125 9.875 2.8125H12.7188V5.625H9.875V7.53125H12.7188L12.25 10.3438H9.875V16H13.6562C14.9485 16 16 14.9485 16 13.6562V2.34375C16 1.05151 14.9485 0 13.6562 0Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.instagram.com/adata.kz/?igshid=253i4qxg3els"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M3.01562 0.0166016C1.35877 0.0166016 0.015625 1.35975 0.015625 3.0166V13.001C0.015625 14.6578 1.35877 16.001 3.01562 16.001H13C14.6569 16.001 16 14.6578 16 13.001V3.0166C16 1.35975 14.6569 0.0166016 13 0.0166016H3.01562ZM14.3891 3.20021C14.3891 3.6416 14.0313 3.99943 13.5899 3.99943C13.1485 3.99943 12.7906 3.6416 12.7906 3.20021C12.7906 2.75881 13.1485 2.40099 13.5899 2.40099C14.0313 2.40099 14.3891 2.75881 14.3891 3.20021ZM8.01132 11.5982C9.99761 11.5982 11.6078 9.98805 11.6078 8.00176C11.6078 6.01548 9.99761 4.40528 8.01132 4.40528C6.02504 4.40528 4.41484 6.01548 4.41484 8.00176C4.41484 9.98805 6.02504 11.5982 8.01132 11.5982ZM8.01132 12.7971C10.6597 12.7971 12.8066 10.6501 12.8066 8.00176C12.8066 5.35339 10.6597 3.20645 8.01132 3.20645C5.36295 3.20645 3.21601 5.35339 3.21601 8.00176C3.21601 10.6501 5.36295 12.7971 8.01132 12.7971Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.youtube.com/channel/UCPkbtgwgTZbMJXjmTi3R8Uw/about"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM13.7528 4.98132C13.6144 4.46732 13.2092 4.06205 12.6952 3.92367C11.7561 3.66667 7.99997 3.66667 7.99997 3.66667C7.99997 3.66667 4.24381 3.66667 3.30477 3.91378C2.80066 4.05217 2.3855 4.46732 2.24712 4.98132C2 5.92036 2 7.86764 2 7.86764C2 7.86764 2 9.82479 2.24712 10.7539C2.3855 11.268 2.79077 11.6732 3.30477 11.8116C4.2537 12.0686 7.99997 12.0686 7.99997 12.0686C7.99997 12.0686 11.7561 12.0686 12.6952 11.8215C13.2092 11.6831 13.6144 11.2778 13.7528 10.7638C13.9999 9.82479 13.9999 7.87752 13.9999 7.87752C13.9999 7.87752 14.0098 5.92036 13.7528 4.98132ZM6.80392 9.59801L9.92747 7.799L6.80392 6V9.59801Z","fill":"#2C3E50"}})])]),_c('a',{attrs:{"target":"_blank","href":"https://www.tiktok.com/@adata.kz?lang=ru-RU"}},[_c('svg',{staticClass:"social__icon",attrs:{"fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16"}},[_c('path',{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd","d":"M2 0C0.895431 0 0 0.895431 0 2V14C0 15.1046 0.895431 16 2 16H14C15.1046 16 16 15.1046 16 14V2C16 0.895431 15.1046 0 14 0H2ZM8.27136 9.89447C8.27136 10.8688 7.54987 11.506 6.65988 11.506C5.76988 11.506 5.04839 10.7845 5.04839 9.89447C5.04839 9.0988 5.7895 8.37096 6.68689 8.40404C6.86305 8.40404 7.06987 8.44599 7.15006 8.47436V6.62331C5.55588 6.30091 3.14893 7.62001 3.14893 9.89447C3.14893 11.506 4.38899 13.3333 6.65988 13.3333C8.93076 13.3333 10.1985 11.506 10.1985 9.89447V6.23373C10.5643 6.52374 11.6152 7.04631 12.8511 7.04631V5.229C11.406 5.25812 10.0956 3.98482 10.204 2.66667H8.27136V9.89447Z","fill":"#2C3E50"}})])])]),_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_vm._m(5)])]),_vm._m(6)])}
8065
9533
  var Footervue_type_template_id_2578c2ff_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/tariffs"}},[_vm._v("Тарифы")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/about"}},[_vm._v("О сервисе")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/apiInfo"}},[_vm._v("Описание API")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/user-agreements"}},[_vm._v("Пользовательское соглашение")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/vacancy"}},[_vm._v("Вакансии")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:"nav__item"},[_c('a',{staticClass:"nav__link",attrs:{"href":"https://adata.kz/contacts"}},[_vm._v("Контакты")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"a-footer__bottom"},[_c('span',[_vm._v("2022 © ТОО \"Alldata\"")])])}]
8066
9534
 
@@ -8158,6 +9626,260 @@ var Footer_component = normalizeComponent(
8158
9626
  )
8159
9627
 
8160
9628
  /* harmony default export */ var Footer = (Footer_component.exports);
9629
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"af5d69b8-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=7aabc09e&
9630
+ var SearchTextFieldvue_type_template_id_7aabc09e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"click-outside",rawName:"v-click-outside",value:(_vm.onOutsideClick),expression:"onOutsideClick"}],staticClass:"adt-text-block",class:[{magnifier: _vm.isWithIcon},{'magnifier-mobile': _vm.magnifierMob}],on:{"keydown":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }$event.preventDefault();return _vm.onUpOrDownClicked.apply(null, arguments)}}},[_c('div',{staticClass:"adt-text-block__field"},[_c('input',{ref:"input",class:[
9631
+ {'adt-text-block__input-mob-search' : _vm.magnifierMob},
9632
+ {'adt-text-block__input-mob-filter' : _vm.forMobileFilter},
9633
+ {'adt-text-block__input': !_vm.forMobileFilter}
9634
+ ],attrs:{"type":_vm.type,"required":""},domProps:{"value":_vm.value},on:{"input":function($event){return _vm.inputHandler($event)},"keydown":_vm.handleKeyDown,"keypress":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }return _vm.$emit('enterPressed')},"focus":function($event){_vm.showAutocomplete = true},"click":function($event){return _vm.$emit('showVTour')}}}),_c('label',{class:{
9635
+ 'adt-text-block__label-red' : !_vm.forMobileFilter && _vm.getIsError,
9636
+ 'adt-text-block__label' : !_vm.forMobileFilter && !_vm.getIsError,
9637
+ 'adt-text-block__label-mob-filter' : _vm.forMobileFilter,
9638
+ }},[_vm._v(" "+_vm._s(_vm.label)+" ")]),(_vm.magnifierMob)?_c('div',{staticClass:"mobile-magnifier",on:{"click":function($event){return _vm.$emit('onMagnifierClick')}}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"magnifier"}},[_c('path',{attrs:{"d":"M13.95 13.95L10 10","stroke":"#2C3E50","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('circle',{attrs:{"cx":"6.5","cy":"6.5","r":"4.5","stroke":"#2C3E50"}})])]):_vm._e(),(_vm.isWithIcon)?_c('div',{staticClass:"adt-text-block__icon adt-text-block__magnifier",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"24","height":"24","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"magnifier"}},[_c('path',{attrs:{"d":"M13.95 13.95L10 10","stroke":"#2C3E50","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}}),_c('circle',{attrs:{"cx":"6.5","cy":"6.5","r":"4.5","stroke":"#2C3E50"}})])]):_vm._e(),(_vm.clearable && _vm.value && _vm.value.length > 0)?_c('div',{staticClass:"adt-text-block__icon",on:{"click":function($event){return _vm.$emit('input', '')}}},[_c('svg',{attrs:{"width":"12","height":"12","fill":"none","xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 16 16","id":"clearIcon"}},[_c('path',{attrs:{"d":"M2 2l12 12m0-12L2 14","stroke":"#2C3E50","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.options && _vm.options.length > 0 && _vm.showAutocomplete),expression:"options && options.length > 0 && showAutocomplete"}],staticClass:"adt-text-block__options search-options"},[_c('PerfectScrollbar',[_c('div',{staticClass:"search-options__wrapper"},_vm._l((_vm.options),function(option,index){return _c('div',{key:index,ref:"searchOptions",refInFor:true,staticClass:"search-options__item",on:{"click":function($event){return _vm.onAutocompleteOptionClick(option)}}},[_vm._v(" "+_vm._s(!!_vm.optionFields.length ? _vm.textByOption(option) : option)+" "),(option.type && _vm.isTypeRequired)?_c('div',{staticClass:"hiddenOne"},[_vm._v(" $"+_vm._s(option.type)+"$")]):_vm._e()])}),0)])],1)])}
9639
+ var SearchTextFieldvue_type_template_id_7aabc09e_staticRenderFns = []
9640
+
9641
+
9642
+ // CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=template&id=7aabc09e&
9643
+
9644
+ // EXTERNAL MODULE: ./node_modules/vue2-perfect-scrollbar/dist/vue2-perfect-scrollbar.umd.js
9645
+ var vue2_perfect_scrollbar_umd = __webpack_require__("a4a1");
9646
+
9647
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchTextField/SearchTextField.vue?vue&type=script&lang=js&
9648
+
9649
+
9650
+ //
9651
+ //
9652
+ //
9653
+ //
9654
+ //
9655
+ //
9656
+ //
9657
+ //
9658
+ //
9659
+ //
9660
+ //
9661
+ //
9662
+ //
9663
+ //
9664
+ //
9665
+ //
9666
+ //
9667
+ //
9668
+ //
9669
+ //
9670
+ //
9671
+ //
9672
+ //
9673
+ //
9674
+ //
9675
+ //
9676
+ //
9677
+ //
9678
+ //
9679
+ //
9680
+ //
9681
+ //
9682
+ //
9683
+ //
9684
+ //
9685
+ //
9686
+ //
9687
+ //
9688
+ //
9689
+ //
9690
+ //
9691
+ //
9692
+ //
9693
+ //
9694
+ //
9695
+ //
9696
+ //
9697
+ //
9698
+ //
9699
+ //
9700
+ //
9701
+ //
9702
+ //
9703
+ //
9704
+ //
9705
+ //
9706
+ //
9707
+ //
9708
+ //
9709
+ //
9710
+ //
9711
+ //
9712
+ //
9713
+ //
9714
+ //
9715
+ //
9716
+ //
9717
+ //
9718
+ //
9719
+ //
9720
+ //
9721
+
9722
+
9723
+
9724
+ /* harmony default export */ var SearchTextFieldvue_type_script_lang_js_ = ({
9725
+ name: "SearchTextField",
9726
+ directives: {
9727
+ clickOutside: v_click_outside_umd_default.a.directive
9728
+ },
9729
+ props: {
9730
+ label: {
9731
+ type: String,
9732
+ required: true
9733
+ },
9734
+ type: {
9735
+ type: String,
9736
+ default: "text"
9737
+ },
9738
+ value: {
9739
+ type: String,
9740
+ required: true
9741
+ },
9742
+ clearable: {
9743
+ type: Boolean,
9744
+ default: false
9745
+ },
9746
+ isWithIcon: {
9747
+ type: Boolean,
9748
+ default: false
9749
+ },
9750
+ magnifierMob: {
9751
+ type: Boolean,
9752
+ default: false
9753
+ },
9754
+ forMobileFilter: {
9755
+ type: Boolean,
9756
+ default: false
9757
+ },
9758
+ isTypeRequired: {
9759
+ type: Boolean,
9760
+ default: false
9761
+ },
9762
+ options: {
9763
+ type: Array,
9764
+ default: function _default() {
9765
+ return [];
9766
+ }
9767
+ },
9768
+ optionFields: {
9769
+ type: Array,
9770
+ default: null
9771
+ },
9772
+ isMobile: {
9773
+ type: Boolean,
9774
+ default: false
9775
+ },
9776
+ getIsError: {
9777
+ type: Boolean,
9778
+ default: false
9779
+ }
9780
+ },
9781
+ components: {
9782
+ PerfectScrollbar: vue2_perfect_scrollbar_umd["PerfectScrollbar"]
9783
+ },
9784
+ data: function data() {
9785
+ return {
9786
+ showAutocomplete: false
9787
+ };
9788
+ },
9789
+ methods: {
9790
+ onOutsideClick: function onOutsideClick() {
9791
+ if (!this.isMobile) this.showAutocomplete = false;
9792
+ },
9793
+ onUpOrDownClicked: function onUpOrDownClicked(e) {
9794
+ var autoCompleteOptions = this.$refs.searchOptions;
9795
+ var length = autoCompleteOptions ? autoCompleteOptions.length : 0;
9796
+
9797
+ if (length > 0) {
9798
+ switch (e.which) {
9799
+ case 40:
9800
+ this.moveOption(autoCompleteOptions, 'nextElementSibling');
9801
+ break;
9802
+
9803
+ case 38:
9804
+ this.moveOption(autoCompleteOptions, 'previousElementSibling');
9805
+ break;
9806
+ }
9807
+ }
9808
+ },
9809
+ moveOption: function moveOption(autoCompleteOptions, elementType) {
9810
+ var selectedOption = autoCompleteOptions.find(function (option) {
9811
+ return option.hasAttribute('id');
9812
+ });
9813
+
9814
+ if (selectedOption) {
9815
+ var siblingElement = selectedOption[elementType];
9816
+ this.$emit('castOption', (siblingElement === null || siblingElement === void 0 ? void 0 : siblingElement.innerText) || "");
9817
+
9818
+ if (siblingElement !== null && siblingElement !== void 0 && siblingElement.classList.contains('search-options__item')) {
9819
+ selectedOption.removeAttribute("id");
9820
+ siblingElement.setAttribute("id", 'searchVariant');
9821
+ return;
9822
+ }
9823
+
9824
+ selectedOption.removeAttribute("id");
9825
+ return;
9826
+ }
9827
+
9828
+ var innerText = "";
9829
+ if (elementType === 'nextElementSibling') innerText = this.getAutocompleteOptionText(autoCompleteOptions === null || autoCompleteOptions === void 0 ? void 0 : autoCompleteOptions[0]);
9830
+ if (elementType === 'previousElementSibling') innerText = this.getAutocompleteOptionText(autoCompleteOptions === null || autoCompleteOptions === void 0 ? void 0 : autoCompleteOptions[autoCompleteOptions.length - 1]);
9831
+ this.$emit('castOption', innerText);
9832
+ },
9833
+ getAutocompleteOptionText: function getAutocompleteOptionText(autocompleteOption) {
9834
+ autocompleteOption.setAttribute("id", 'searchVariant');
9835
+ return autocompleteOption.innerText;
9836
+ },
9837
+ handleKeyDown: function handleKeyDown(e) {
9838
+ if (+e.keyCode === 9) this.showAutocomplete = false;
9839
+ var specialKeys = [8, 188, 190, 110]; // 8 - Backspace, 188 - ",", 190 and 110 - "."
9840
+
9841
+ var charCode = e.keyCode;
9842
+ if (charCode >= 48 && charCode <= 57 || charCode >= 96 && charCode <= 105 || specialKeys.indexOf(charCode) !== -1) return;else e.preventDefault();
9843
+ },
9844
+ inputHandler: function inputHandler(e) {
9845
+ this.$emit('input', e.target.value);
9846
+ this.showAutocomplete = true;
9847
+ },
9848
+ onAutocompleteOptionClick: function onAutocompleteOptionClick(option) {
9849
+ this.$emit('click', option);
9850
+ this.showAutocomplete = false;
9851
+ },
9852
+ textByOption: function textByOption(obj) {
9853
+ return this.optionFields.reduce(function (acc, curr, index) {
9854
+ if (index !== 0) acc += " - ";
9855
+ acc += obj[curr];
9856
+ return acc;
9857
+ }, "");
9858
+ }
9859
+ }
9860
+ });
9861
+ // CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue?vue&type=script&lang=js&
9862
+ /* harmony default export */ var SearchTextField_SearchTextFieldvue_type_script_lang_js_ = (SearchTextFieldvue_type_script_lang_js_);
9863
+ // CONCATENATED MODULE: ./src/components/SearchTextField/SearchTextField.vue
9864
+
9865
+
9866
+
9867
+
9868
+
9869
+ /* normalize component */
9870
+
9871
+ var SearchTextField_component = normalizeComponent(
9872
+ SearchTextField_SearchTextFieldvue_type_script_lang_js_,
9873
+ SearchTextFieldvue_type_template_id_7aabc09e_render,
9874
+ SearchTextFieldvue_type_template_id_7aabc09e_staticRenderFns,
9875
+ false,
9876
+ null,
9877
+ null,
9878
+ null
9879
+
9880
+ )
9881
+
9882
+ /* harmony default export */ var SearchTextField = (SearchTextField_component.exports);
8161
9883
  // CONCATENATED MODULE: ./src/components/index.js
8162
9884
 
8163
9885
 
@@ -8169,13 +9891,15 @@ var Footer_component = normalizeComponent(
8169
9891
 
8170
9892
 
8171
9893
 
9894
+
8172
9895
  var Components = {
8173
9896
  AButton: BaseButton,
8174
9897
  ATextField: TextField,
8175
9898
  APasswordField: PasswordField,
8176
9899
  AAlert: Alert,
8177
9900
  AHeader: Header,
8178
- AFooter: Footer
9901
+ AFooter: Footer,
9902
+ ASearchTextField: SearchTextField
8179
9903
  };
8180
9904
  Object.keys(Components).forEach(function (name) {
8181
9905
  external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component(name, Components[name]);