@iris.interactive/handcook 2.9.35 → 2.9.37

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.
@@ -1,1884 +1 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ "use strict";
3
- /******/ var __webpack_modules__ = ({
4
-
5
- /***/ "./resources/assets/scripts/enumerators/element.enum.js":
6
- /*!**************************************************************!*\
7
- !*** ./resources/assets/scripts/enumerators/element.enum.js ***!
8
- \**************************************************************/
9
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
10
-
11
- __webpack_require__.r(__webpack_exports__);
12
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13
- /* harmony export */ "default": () => (/* binding */ ElementEnum)
14
- /* harmony export */ });
15
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
16
-
17
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
-
19
- /*
20
- * IRIS Interactive
21
- *
22
- * NOTICE OF LICENSE
23
- *
24
- * This source file is no subject to a specific license
25
- * but it belongs to the company IRIS Interactive.
26
- * You can contact IRIS Interactive at the following
27
- * address: contact@iris-interactive.fr
28
- *
29
- * @author Lucas ROCHE
30
- * @date 01/02/2022 10:36
31
- * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)
32
- */
33
- var ElementEnum = function ElementEnum() {
34
- _classCallCheck(this, ElementEnum);
35
- };
36
-
37
- _defineProperty(ElementEnum, "tooltip", '[data-hc-tooltip], [data-hc-popover]');
38
-
39
- _defineProperty(ElementEnum, "popover", '[data-hc-popover]');
40
-
41
- _defineProperty(ElementEnum, "scrollSmooth", '[data-hc-smooth-scroll]');
42
-
43
- _defineProperty(ElementEnum, "modal", '[data-hc-modal]');
44
-
45
- _defineProperty(ElementEnum, "modalClose", '[data-hc-modal-close]');
46
-
47
- _defineProperty(ElementEnum, "lightboxAttr", 'data-hc-lightbox');
48
-
49
- _defineProperty(ElementEnum, "lightbox", "[".concat(ElementEnum.lightboxAttr, "]"));
50
-
51
- _defineProperty(ElementEnum, "dropdown", '[data-hc-dropdown]');
52
-
53
- _defineProperty(ElementEnum, "collapse", '[data-hc-collapse]');
54
-
55
- _defineProperty(ElementEnum, "collapseItem", '[data-hc-collapse-item]');
56
-
57
- _defineProperty(ElementEnum, "popin", '[data-hc-popin]');
58
-
59
- _defineProperty(ElementEnum, "tab", '[data-hc-tab]');
60
-
61
- _defineProperty(ElementEnum, "toggle", '[data-hc-toggle]');
62
-
63
- _defineProperty(ElementEnum, "slider", '[data-hc-slider]');
64
-
65
- _defineProperty(ElementEnum, "scrollspy", '[data-hc-scrollspy]');
66
-
67
- _defineProperty(ElementEnum, "scrollspyNav", '[data-hc-scrollspy-nav]');
68
-
69
- _defineProperty(ElementEnum, "scrollspyNavItem", '[data-hc-scrollspy-nav-item]');
70
-
71
- _defineProperty(ElementEnum, "scrollRevealParent", '[data-hc-scroll-reveal-parent]');
72
-
73
- _defineProperty(ElementEnum, "scrollReveal", '[data-hc-scroll-reveal]');
74
-
75
-
76
-
77
- /***/ }),
78
-
79
- /***/ "./node_modules/bootstrap/js/src/base-component.js":
80
- /*!*********************************************************!*\
81
- !*** ./node_modules/bootstrap/js/src/base-component.js ***!
82
- \*********************************************************/
83
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
84
-
85
- __webpack_require__.r(__webpack_exports__);
86
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
87
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
88
- /* harmony export */ });
89
- /* harmony import */ var _dom_data__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./dom/data */ "./node_modules/bootstrap/js/src/dom/data.js");
90
- /* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/index */ "./node_modules/bootstrap/js/src/util/index.js");
91
- /* harmony import */ var _dom_event_handler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dom/event-handler */ "./node_modules/bootstrap/js/src/dom/event-handler.js");
92
- /**
93
- * --------------------------------------------------------------------------
94
- * Bootstrap (v5.1.3): base-component.js
95
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
96
- * --------------------------------------------------------------------------
97
- */
98
-
99
-
100
-
101
-
102
-
103
- /**
104
- * ------------------------------------------------------------------------
105
- * Constants
106
- * ------------------------------------------------------------------------
107
- */
108
-
109
- const VERSION = '5.1.3'
110
-
111
- class BaseComponent {
112
- constructor(element) {
113
- element = (0,_util_index__WEBPACK_IMPORTED_MODULE_1__.getElement)(element)
114
-
115
- if (!element) {
116
- return
117
- }
118
-
119
- this._element = element
120
- _dom_data__WEBPACK_IMPORTED_MODULE_0__["default"].set(this._element, this.constructor.DATA_KEY, this)
121
- }
122
-
123
- dispose() {
124
- _dom_data__WEBPACK_IMPORTED_MODULE_0__["default"].remove(this._element, this.constructor.DATA_KEY)
125
- _dom_event_handler__WEBPACK_IMPORTED_MODULE_2__["default"].off(this._element, this.constructor.EVENT_KEY)
126
-
127
- Object.getOwnPropertyNames(this).forEach(propertyName => {
128
- this[propertyName] = null
129
- })
130
- }
131
-
132
- _queueCallback(callback, element, isAnimated = true) {
133
- (0,_util_index__WEBPACK_IMPORTED_MODULE_1__.executeAfterTransition)(callback, element, isAnimated)
134
- }
135
-
136
- /** Static */
137
-
138
- static getInstance(element) {
139
- return _dom_data__WEBPACK_IMPORTED_MODULE_0__["default"].get((0,_util_index__WEBPACK_IMPORTED_MODULE_1__.getElement)(element), this.DATA_KEY)
140
- }
141
-
142
- static getOrCreateInstance(element, config = {}) {
143
- return this.getInstance(element) || new this(element, typeof config === 'object' ? config : null)
144
- }
145
-
146
- static get VERSION() {
147
- return VERSION
148
- }
149
-
150
- static get NAME() {
151
- throw new Error('You have to implement the static method "NAME", for each component!')
152
- }
153
-
154
- static get DATA_KEY() {
155
- return `bs.${this.NAME}`
156
- }
157
-
158
- static get EVENT_KEY() {
159
- return `.${this.DATA_KEY}`
160
- }
161
- }
162
-
163
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BaseComponent);
164
-
165
-
166
- /***/ }),
167
-
168
- /***/ "./node_modules/bootstrap/js/src/dom/data.js":
169
- /*!***************************************************!*\
170
- !*** ./node_modules/bootstrap/js/src/dom/data.js ***!
171
- \***************************************************/
172
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
173
-
174
- __webpack_require__.r(__webpack_exports__);
175
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
176
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
177
- /* harmony export */ });
178
- /**
179
- * --------------------------------------------------------------------------
180
- * Bootstrap (v5.1.3): dom/data.js
181
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
182
- * --------------------------------------------------------------------------
183
- */
184
-
185
- /**
186
- * ------------------------------------------------------------------------
187
- * Constants
188
- * ------------------------------------------------------------------------
189
- */
190
-
191
- const elementMap = new Map()
192
-
193
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({
194
- set(element, key, instance) {
195
- if (!elementMap.has(element)) {
196
- elementMap.set(element, new Map())
197
- }
198
-
199
- const instanceMap = elementMap.get(element)
200
-
201
- // make it clear we only want one instance per element
202
- // can be removed later when multiple key/instances are fine to be used
203
- if (!instanceMap.has(key) && instanceMap.size !== 0) {
204
- // eslint-disable-next-line no-console
205
- console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(instanceMap.keys())[0]}.`)
206
- return
207
- }
208
-
209
- instanceMap.set(key, instance)
210
- },
211
-
212
- get(element, key) {
213
- if (elementMap.has(element)) {
214
- return elementMap.get(element).get(key) || null
215
- }
216
-
217
- return null
218
- },
219
-
220
- remove(element, key) {
221
- if (!elementMap.has(element)) {
222
- return
223
- }
224
-
225
- const instanceMap = elementMap.get(element)
226
-
227
- instanceMap.delete(key)
228
-
229
- // free up element references if there are no instances left for an element
230
- if (instanceMap.size === 0) {
231
- elementMap.delete(element)
232
- }
233
- }
234
- });
235
-
236
-
237
- /***/ }),
238
-
239
- /***/ "./node_modules/bootstrap/js/src/dom/event-handler.js":
240
- /*!************************************************************!*\
241
- !*** ./node_modules/bootstrap/js/src/dom/event-handler.js ***!
242
- \************************************************************/
243
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
244
-
245
- __webpack_require__.r(__webpack_exports__);
246
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
247
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
248
- /* harmony export */ });
249
- /* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/index */ "./node_modules/bootstrap/js/src/util/index.js");
250
- /**
251
- * --------------------------------------------------------------------------
252
- * Bootstrap (v5.1.3): dom/event-handler.js
253
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
254
- * --------------------------------------------------------------------------
255
- */
256
-
257
-
258
-
259
- /**
260
- * ------------------------------------------------------------------------
261
- * Constants
262
- * ------------------------------------------------------------------------
263
- */
264
-
265
- const namespaceRegex = /[^.]*(?=\..*)\.|.*/
266
- const stripNameRegex = /\..*/
267
- const stripUidRegex = /::\d+$/
268
- const eventRegistry = {} // Events storage
269
- let uidEvent = 1
270
- const customEvents = {
271
- mouseenter: 'mouseover',
272
- mouseleave: 'mouseout'
273
- }
274
- const customEventsRegex = /^(mouseenter|mouseleave)/i
275
- const nativeEvents = new Set([
276
- 'click',
277
- 'dblclick',
278
- 'mouseup',
279
- 'mousedown',
280
- 'contextmenu',
281
- 'mousewheel',
282
- 'DOMMouseScroll',
283
- 'mouseover',
284
- 'mouseout',
285
- 'mousemove',
286
- 'selectstart',
287
- 'selectend',
288
- 'keydown',
289
- 'keypress',
290
- 'keyup',
291
- 'orientationchange',
292
- 'touchstart',
293
- 'touchmove',
294
- 'touchend',
295
- 'touchcancel',
296
- 'pointerdown',
297
- 'pointermove',
298
- 'pointerup',
299
- 'pointerleave',
300
- 'pointercancel',
301
- 'gesturestart',
302
- 'gesturechange',
303
- 'gestureend',
304
- 'focus',
305
- 'blur',
306
- 'change',
307
- 'reset',
308
- 'select',
309
- 'submit',
310
- 'focusin',
311
- 'focusout',
312
- 'load',
313
- 'unload',
314
- 'beforeunload',
315
- 'resize',
316
- 'move',
317
- 'DOMContentLoaded',
318
- 'readystatechange',
319
- 'error',
320
- 'abort',
321
- 'scroll'
322
- ])
323
-
324
- /**
325
- * ------------------------------------------------------------------------
326
- * Private methods
327
- * ------------------------------------------------------------------------
328
- */
329
-
330
- function getUidEvent(element, uid) {
331
- return (uid && `${uid}::${uidEvent++}`) || element.uidEvent || uidEvent++
332
- }
333
-
334
- function getEvent(element) {
335
- const uid = getUidEvent(element)
336
-
337
- element.uidEvent = uid
338
- eventRegistry[uid] = eventRegistry[uid] || {}
339
-
340
- return eventRegistry[uid]
341
- }
342
-
343
- function bootstrapHandler(element, fn) {
344
- return function handler(event) {
345
- event.delegateTarget = element
346
-
347
- if (handler.oneOff) {
348
- EventHandler.off(element, event.type, fn)
349
- }
350
-
351
- return fn.apply(element, [event])
352
- }
353
- }
354
-
355
- function bootstrapDelegationHandler(element, selector, fn) {
356
- return function handler(event) {
357
- const domElements = element.querySelectorAll(selector)
358
-
359
- for (let { target } = event; target && target !== this; target = target.parentNode) {
360
- for (let i = domElements.length; i--;) {
361
- if (domElements[i] === target) {
362
- event.delegateTarget = target
363
-
364
- if (handler.oneOff) {
365
- EventHandler.off(element, event.type, selector, fn)
366
- }
367
-
368
- return fn.apply(target, [event])
369
- }
370
- }
371
- }
372
-
373
- // To please ESLint
374
- return null
375
- }
376
- }
377
-
378
- function findHandler(events, handler, delegationSelector = null) {
379
- const uidEventList = Object.keys(events)
380
-
381
- for (let i = 0, len = uidEventList.length; i < len; i++) {
382
- const event = events[uidEventList[i]]
383
-
384
- if (event.originalHandler === handler && event.delegationSelector === delegationSelector) {
385
- return event
386
- }
387
- }
388
-
389
- return null
390
- }
391
-
392
- function normalizeParams(originalTypeEvent, handler, delegationFn) {
393
- const delegation = typeof handler === 'string'
394
- const originalHandler = delegation ? delegationFn : handler
395
-
396
- let typeEvent = getTypeEvent(originalTypeEvent)
397
- const isNative = nativeEvents.has(typeEvent)
398
-
399
- if (!isNative) {
400
- typeEvent = originalTypeEvent
401
- }
402
-
403
- return [delegation, originalHandler, typeEvent]
404
- }
405
-
406
- function addHandler(element, originalTypeEvent, handler, delegationFn, oneOff) {
407
- if (typeof originalTypeEvent !== 'string' || !element) {
408
- return
409
- }
410
-
411
- if (!handler) {
412
- handler = delegationFn
413
- delegationFn = null
414
- }
415
-
416
- // in case of mouseenter or mouseleave wrap the handler within a function that checks for its DOM position
417
- // this prevents the handler from being dispatched the same way as mouseover or mouseout does
418
- if (customEventsRegex.test(originalTypeEvent)) {
419
- const wrapFn = fn => {
420
- return function (event) {
421
- if (!event.relatedTarget || (event.relatedTarget !== event.delegateTarget && !event.delegateTarget.contains(event.relatedTarget))) {
422
- return fn.call(this, event)
423
- }
424
- }
425
- }
426
-
427
- if (delegationFn) {
428
- delegationFn = wrapFn(delegationFn)
429
- } else {
430
- handler = wrapFn(handler)
431
- }
432
- }
433
-
434
- const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn)
435
- const events = getEvent(element)
436
- const handlers = events[typeEvent] || (events[typeEvent] = {})
437
- const previousFn = findHandler(handlers, originalHandler, delegation ? handler : null)
438
-
439
- if (previousFn) {
440
- previousFn.oneOff = previousFn.oneOff && oneOff
441
-
442
- return
443
- }
444
-
445
- const uid = getUidEvent(originalHandler, originalTypeEvent.replace(namespaceRegex, ''))
446
- const fn = delegation ?
447
- bootstrapDelegationHandler(element, handler, delegationFn) :
448
- bootstrapHandler(element, handler)
449
-
450
- fn.delegationSelector = delegation ? handler : null
451
- fn.originalHandler = originalHandler
452
- fn.oneOff = oneOff
453
- fn.uidEvent = uid
454
- handlers[uid] = fn
455
-
456
- element.addEventListener(typeEvent, fn, delegation)
457
- }
458
-
459
- function removeHandler(element, events, typeEvent, handler, delegationSelector) {
460
- const fn = findHandler(events[typeEvent], handler, delegationSelector)
461
-
462
- if (!fn) {
463
- return
464
- }
465
-
466
- element.removeEventListener(typeEvent, fn, Boolean(delegationSelector))
467
- delete events[typeEvent][fn.uidEvent]
468
- }
469
-
470
- function removeNamespacedHandlers(element, events, typeEvent, namespace) {
471
- const storeElementEvent = events[typeEvent] || {}
472
-
473
- Object.keys(storeElementEvent).forEach(handlerKey => {
474
- if (handlerKey.includes(namespace)) {
475
- const event = storeElementEvent[handlerKey]
476
-
477
- removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector)
478
- }
479
- })
480
- }
481
-
482
- function getTypeEvent(event) {
483
- // allow to get the native events from namespaced events ('click.bs.button' --> 'click')
484
- event = event.replace(stripNameRegex, '')
485
- return customEvents[event] || event
486
- }
487
-
488
- const EventHandler = {
489
- on(element, event, handler, delegationFn) {
490
- addHandler(element, event, handler, delegationFn, false)
491
- },
492
-
493
- one(element, event, handler, delegationFn) {
494
- addHandler(element, event, handler, delegationFn, true)
495
- },
496
-
497
- off(element, originalTypeEvent, handler, delegationFn) {
498
- if (typeof originalTypeEvent !== 'string' || !element) {
499
- return
500
- }
501
-
502
- const [delegation, originalHandler, typeEvent] = normalizeParams(originalTypeEvent, handler, delegationFn)
503
- const inNamespace = typeEvent !== originalTypeEvent
504
- const events = getEvent(element)
505
- const isNamespace = originalTypeEvent.startsWith('.')
506
-
507
- if (typeof originalHandler !== 'undefined') {
508
- // Simplest case: handler is passed, remove that listener ONLY.
509
- if (!events || !events[typeEvent]) {
510
- return
511
- }
512
-
513
- removeHandler(element, events, typeEvent, originalHandler, delegation ? handler : null)
514
- return
515
- }
516
-
517
- if (isNamespace) {
518
- Object.keys(events).forEach(elementEvent => {
519
- removeNamespacedHandlers(element, events, elementEvent, originalTypeEvent.slice(1))
520
- })
521
- }
522
-
523
- const storeElementEvent = events[typeEvent] || {}
524
- Object.keys(storeElementEvent).forEach(keyHandlers => {
525
- const handlerKey = keyHandlers.replace(stripUidRegex, '')
526
-
527
- if (!inNamespace || originalTypeEvent.includes(handlerKey)) {
528
- const event = storeElementEvent[keyHandlers]
529
-
530
- removeHandler(element, events, typeEvent, event.originalHandler, event.delegationSelector)
531
- }
532
- })
533
- },
534
-
535
- trigger(element, event, args) {
536
- if (typeof event !== 'string' || !element) {
537
- return null
538
- }
539
-
540
- const $ = (0,_util_index__WEBPACK_IMPORTED_MODULE_0__.getjQuery)()
541
- const typeEvent = getTypeEvent(event)
542
- const inNamespace = event !== typeEvent
543
- const isNative = nativeEvents.has(typeEvent)
544
-
545
- let jQueryEvent
546
- let bubbles = true
547
- let nativeDispatch = true
548
- let defaultPrevented = false
549
- let evt = null
550
-
551
- if (inNamespace && $) {
552
- jQueryEvent = $.Event(event, args)
553
-
554
- $(element).trigger(jQueryEvent)
555
- bubbles = !jQueryEvent.isPropagationStopped()
556
- nativeDispatch = !jQueryEvent.isImmediatePropagationStopped()
557
- defaultPrevented = jQueryEvent.isDefaultPrevented()
558
- }
559
-
560
- if (isNative) {
561
- evt = document.createEvent('HTMLEvents')
562
- evt.initEvent(typeEvent, bubbles, true)
563
- } else {
564
- evt = new CustomEvent(event, {
565
- bubbles,
566
- cancelable: true
567
- })
568
- }
569
-
570
- // merge custom information in our event
571
- if (typeof args !== 'undefined') {
572
- Object.keys(args).forEach(key => {
573
- Object.defineProperty(evt, key, {
574
- get() {
575
- return args[key]
576
- }
577
- })
578
- })
579
- }
580
-
581
- if (defaultPrevented) {
582
- evt.preventDefault()
583
- }
584
-
585
- if (nativeDispatch) {
586
- element.dispatchEvent(evt)
587
- }
588
-
589
- if (evt.defaultPrevented && typeof jQueryEvent !== 'undefined') {
590
- jQueryEvent.preventDefault()
591
- }
592
-
593
- return evt
594
- }
595
- }
596
-
597
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (EventHandler);
598
-
599
-
600
- /***/ }),
601
-
602
- /***/ "./node_modules/bootstrap/js/src/dom/selector-engine.js":
603
- /*!**************************************************************!*\
604
- !*** ./node_modules/bootstrap/js/src/dom/selector-engine.js ***!
605
- \**************************************************************/
606
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
607
-
608
- __webpack_require__.r(__webpack_exports__);
609
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
610
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
611
- /* harmony export */ });
612
- /* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../util/index */ "./node_modules/bootstrap/js/src/util/index.js");
613
- /**
614
- * --------------------------------------------------------------------------
615
- * Bootstrap (v5.1.3): dom/selector-engine.js
616
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
617
- * --------------------------------------------------------------------------
618
- */
619
-
620
- /**
621
- * ------------------------------------------------------------------------
622
- * Constants
623
- * ------------------------------------------------------------------------
624
- */
625
-
626
-
627
-
628
- const NODE_TEXT = 3
629
-
630
- const SelectorEngine = {
631
- find(selector, element = document.documentElement) {
632
- return [].concat(...Element.prototype.querySelectorAll.call(element, selector))
633
- },
634
-
635
- findOne(selector, element = document.documentElement) {
636
- return Element.prototype.querySelector.call(element, selector)
637
- },
638
-
639
- children(element, selector) {
640
- return [].concat(...element.children)
641
- .filter(child => child.matches(selector))
642
- },
643
-
644
- parents(element, selector) {
645
- const parents = []
646
-
647
- let ancestor = element.parentNode
648
-
649
- while (ancestor && ancestor.nodeType === Node.ELEMENT_NODE && ancestor.nodeType !== NODE_TEXT) {
650
- if (ancestor.matches(selector)) {
651
- parents.push(ancestor)
652
- }
653
-
654
- ancestor = ancestor.parentNode
655
- }
656
-
657
- return parents
658
- },
659
-
660
- prev(element, selector) {
661
- let previous = element.previousElementSibling
662
-
663
- while (previous) {
664
- if (previous.matches(selector)) {
665
- return [previous]
666
- }
667
-
668
- previous = previous.previousElementSibling
669
- }
670
-
671
- return []
672
- },
673
-
674
- next(element, selector) {
675
- let next = element.nextElementSibling
676
-
677
- while (next) {
678
- if (next.matches(selector)) {
679
- return [next]
680
- }
681
-
682
- next = next.nextElementSibling
683
- }
684
-
685
- return []
686
- },
687
-
688
- focusableChildren(element) {
689
- const focusables = [
690
- 'a',
691
- 'button',
692
- 'input',
693
- 'textarea',
694
- 'select',
695
- 'details',
696
- '[tabindex]',
697
- '[contenteditable="true"]'
698
- ].map(selector => `${selector}:not([tabindex^="-"])`).join(', ')
699
-
700
- return this.find(focusables, element).filter(el => !(0,_util_index__WEBPACK_IMPORTED_MODULE_0__.isDisabled)(el) && (0,_util_index__WEBPACK_IMPORTED_MODULE_0__.isVisible)(el))
701
- }
702
- }
703
-
704
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (SelectorEngine);
705
-
706
-
707
- /***/ }),
708
-
709
- /***/ "./node_modules/bootstrap/js/src/tab.js":
710
- /*!**********************************************!*\
711
- !*** ./node_modules/bootstrap/js/src/tab.js ***!
712
- \**********************************************/
713
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
714
-
715
- __webpack_require__.r(__webpack_exports__);
716
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
717
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
718
- /* harmony export */ });
719
- /* harmony import */ var _util_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/index */ "./node_modules/bootstrap/js/src/util/index.js");
720
- /* harmony import */ var _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./dom/event-handler */ "./node_modules/bootstrap/js/src/dom/event-handler.js");
721
- /* harmony import */ var _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./dom/selector-engine */ "./node_modules/bootstrap/js/src/dom/selector-engine.js");
722
- /* harmony import */ var _base_component__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./base-component */ "./node_modules/bootstrap/js/src/base-component.js");
723
- /**
724
- * --------------------------------------------------------------------------
725
- * Bootstrap (v5.1.3): tab.js
726
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
727
- * --------------------------------------------------------------------------
728
- */
729
-
730
-
731
-
732
-
733
-
734
-
735
- /**
736
- * ------------------------------------------------------------------------
737
- * Constants
738
- * ------------------------------------------------------------------------
739
- */
740
-
741
- const NAME = 'tab'
742
- const DATA_KEY = 'bs.tab'
743
- const EVENT_KEY = `.${DATA_KEY}`
744
- const DATA_API_KEY = '.data-api'
745
-
746
- const EVENT_HIDE = `hide${EVENT_KEY}`
747
- const EVENT_HIDDEN = `hidden${EVENT_KEY}`
748
- const EVENT_SHOW = `show${EVENT_KEY}`
749
- const EVENT_SHOWN = `shown${EVENT_KEY}`
750
- const EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`
751
-
752
- const CLASS_NAME_DROPDOWN_MENU = 'dropdown-menu'
753
- const CLASS_NAME_ACTIVE = 'active'
754
- const CLASS_NAME_FADE = 'fade'
755
- const CLASS_NAME_SHOW = 'show'
756
-
757
- const SELECTOR_DROPDOWN = '.dropdown'
758
- const SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'
759
- const SELECTOR_ACTIVE = '.active'
760
- const SELECTOR_ACTIVE_UL = ':scope > li > .active'
761
- const SELECTOR_DATA_TOGGLE = '[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]'
762
- const SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'
763
- const SELECTOR_DROPDOWN_ACTIVE_CHILD = ':scope > .dropdown-menu .active'
764
-
765
- /**
766
- * ------------------------------------------------------------------------
767
- * Class Definition
768
- * ------------------------------------------------------------------------
769
- */
770
-
771
- class Tab extends _base_component__WEBPACK_IMPORTED_MODULE_3__["default"] {
772
- // Getters
773
-
774
- static get NAME() {
775
- return NAME
776
- }
777
-
778
- // Public
779
-
780
- show() {
781
- if ((this._element.parentNode &&
782
- this._element.parentNode.nodeType === Node.ELEMENT_NODE &&
783
- this._element.classList.contains(CLASS_NAME_ACTIVE))) {
784
- return
785
- }
786
-
787
- let previous
788
- const target = (0,_util_index__WEBPACK_IMPORTED_MODULE_0__.getElementFromSelector)(this._element)
789
- const listElement = this._element.closest(SELECTOR_NAV_LIST_GROUP)
790
-
791
- if (listElement) {
792
- const itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE
793
- previous = _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__["default"].find(itemSelector, listElement)
794
- previous = previous[previous.length - 1]
795
- }
796
-
797
- const hideEvent = previous ?
798
- _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__["default"].trigger(previous, EVENT_HIDE, {
799
- relatedTarget: this._element
800
- }) :
801
- null
802
-
803
- const showEvent = _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__["default"].trigger(this._element, EVENT_SHOW, {
804
- relatedTarget: previous
805
- })
806
-
807
- if (showEvent.defaultPrevented || (hideEvent !== null && hideEvent.defaultPrevented)) {
808
- return
809
- }
810
-
811
- this._activate(this._element, listElement)
812
-
813
- const complete = () => {
814
- _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__["default"].trigger(previous, EVENT_HIDDEN, {
815
- relatedTarget: this._element
816
- })
817
- _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__["default"].trigger(this._element, EVENT_SHOWN, {
818
- relatedTarget: previous
819
- })
820
- }
821
-
822
- if (target) {
823
- this._activate(target, target.parentNode, complete)
824
- } else {
825
- complete()
826
- }
827
- }
828
-
829
- // Private
830
-
831
- _activate(element, container, callback) {
832
- const activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ?
833
- _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__["default"].find(SELECTOR_ACTIVE_UL, container) :
834
- _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__["default"].children(container, SELECTOR_ACTIVE)
835
-
836
- const active = activeElements[0]
837
- const isTransitioning = callback && (active && active.classList.contains(CLASS_NAME_FADE))
838
-
839
- const complete = () => this._transitionComplete(element, active, callback)
840
-
841
- if (active && isTransitioning) {
842
- active.classList.remove(CLASS_NAME_SHOW)
843
- this._queueCallback(complete, element, true)
844
- } else {
845
- complete()
846
- }
847
- }
848
-
849
- _transitionComplete(element, active, callback) {
850
- if (active) {
851
- active.classList.remove(CLASS_NAME_ACTIVE)
852
-
853
- const dropdownChild = _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__["default"].findOne(SELECTOR_DROPDOWN_ACTIVE_CHILD, active.parentNode)
854
-
855
- if (dropdownChild) {
856
- dropdownChild.classList.remove(CLASS_NAME_ACTIVE)
857
- }
858
-
859
- if (active.getAttribute('role') === 'tab') {
860
- active.setAttribute('aria-selected', false)
861
- }
862
- }
863
-
864
- element.classList.add(CLASS_NAME_ACTIVE)
865
- if (element.getAttribute('role') === 'tab') {
866
- element.setAttribute('aria-selected', true)
867
- }
868
-
869
- (0,_util_index__WEBPACK_IMPORTED_MODULE_0__.reflow)(element)
870
-
871
- if (element.classList.contains(CLASS_NAME_FADE)) {
872
- element.classList.add(CLASS_NAME_SHOW)
873
- }
874
-
875
- let parent = element.parentNode
876
- if (parent && parent.nodeName === 'LI') {
877
- parent = parent.parentNode
878
- }
879
-
880
- if (parent && parent.classList.contains(CLASS_NAME_DROPDOWN_MENU)) {
881
- const dropdownElement = element.closest(SELECTOR_DROPDOWN)
882
-
883
- if (dropdownElement) {
884
- _dom_selector_engine__WEBPACK_IMPORTED_MODULE_2__["default"].find(SELECTOR_DROPDOWN_TOGGLE, dropdownElement)
885
- .forEach(dropdown => dropdown.classList.add(CLASS_NAME_ACTIVE))
886
- }
887
-
888
- element.setAttribute('aria-expanded', true)
889
- }
890
-
891
- if (callback) {
892
- callback()
893
- }
894
- }
895
-
896
- // Static
897
-
898
- static jQueryInterface(config) {
899
- return this.each(function () {
900
- const data = Tab.getOrCreateInstance(this)
901
-
902
- if (typeof config === 'string') {
903
- if (typeof data[config] === 'undefined') {
904
- throw new TypeError(`No method named "${config}"`)
905
- }
906
-
907
- data[config]()
908
- }
909
- })
910
- }
911
- }
912
-
913
- /**
914
- * ------------------------------------------------------------------------
915
- * Data Api implementation
916
- * ------------------------------------------------------------------------
917
- */
918
-
919
- _dom_event_handler__WEBPACK_IMPORTED_MODULE_1__["default"].on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {
920
- if (['A', 'AREA'].includes(this.tagName)) {
921
- event.preventDefault()
922
- }
923
-
924
- if ((0,_util_index__WEBPACK_IMPORTED_MODULE_0__.isDisabled)(this)) {
925
- return
926
- }
927
-
928
- const data = Tab.getOrCreateInstance(this)
929
- data.show()
930
- })
931
-
932
- /**
933
- * ------------------------------------------------------------------------
934
- * jQuery
935
- * ------------------------------------------------------------------------
936
- * add .Tab to jQuery only if jQuery is present
937
- */
938
-
939
- ;(0,_util_index__WEBPACK_IMPORTED_MODULE_0__.defineJQueryPlugin)(Tab)
940
-
941
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tab);
942
-
943
-
944
- /***/ }),
945
-
946
- /***/ "./node_modules/bootstrap/js/src/util/index.js":
947
- /*!*****************************************************!*\
948
- !*** ./node_modules/bootstrap/js/src/util/index.js ***!
949
- \*****************************************************/
950
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
951
-
952
- __webpack_require__.r(__webpack_exports__);
953
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
954
- /* harmony export */ "getElement": () => (/* binding */ getElement),
955
- /* harmony export */ "getUID": () => (/* binding */ getUID),
956
- /* harmony export */ "getSelectorFromElement": () => (/* binding */ getSelectorFromElement),
957
- /* harmony export */ "getElementFromSelector": () => (/* binding */ getElementFromSelector),
958
- /* harmony export */ "getTransitionDurationFromElement": () => (/* binding */ getTransitionDurationFromElement),
959
- /* harmony export */ "triggerTransitionEnd": () => (/* binding */ triggerTransitionEnd),
960
- /* harmony export */ "isElement": () => (/* binding */ isElement),
961
- /* harmony export */ "typeCheckConfig": () => (/* binding */ typeCheckConfig),
962
- /* harmony export */ "isVisible": () => (/* binding */ isVisible),
963
- /* harmony export */ "isDisabled": () => (/* binding */ isDisabled),
964
- /* harmony export */ "findShadowRoot": () => (/* binding */ findShadowRoot),
965
- /* harmony export */ "noop": () => (/* binding */ noop),
966
- /* harmony export */ "getNextActiveElement": () => (/* binding */ getNextActiveElement),
967
- /* harmony export */ "reflow": () => (/* binding */ reflow),
968
- /* harmony export */ "getjQuery": () => (/* binding */ getjQuery),
969
- /* harmony export */ "onDOMContentLoaded": () => (/* binding */ onDOMContentLoaded),
970
- /* harmony export */ "isRTL": () => (/* binding */ isRTL),
971
- /* harmony export */ "defineJQueryPlugin": () => (/* binding */ defineJQueryPlugin),
972
- /* harmony export */ "execute": () => (/* binding */ execute),
973
- /* harmony export */ "executeAfterTransition": () => (/* binding */ executeAfterTransition)
974
- /* harmony export */ });
975
- /**
976
- * --------------------------------------------------------------------------
977
- * Bootstrap (v5.1.3): util/index.js
978
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
979
- * --------------------------------------------------------------------------
980
- */
981
-
982
- const MAX_UID = 1000000
983
- const MILLISECONDS_MULTIPLIER = 1000
984
- const TRANSITION_END = 'transitionend'
985
-
986
- // Shoutout AngusCroll (https://goo.gl/pxwQGp)
987
- const toType = obj => {
988
- if (obj === null || obj === undefined) {
989
- return `${obj}`
990
- }
991
-
992
- return {}.toString.call(obj).match(/\s([a-z]+)/i)[1].toLowerCase()
993
- }
994
-
995
- /**
996
- * --------------------------------------------------------------------------
997
- * Public Util Api
998
- * --------------------------------------------------------------------------
999
- */
1000
-
1001
- const getUID = prefix => {
1002
- do {
1003
- prefix += Math.floor(Math.random() * MAX_UID)
1004
- } while (document.getElementById(prefix))
1005
-
1006
- return prefix
1007
- }
1008
-
1009
- const getSelector = element => {
1010
- let selector = element.getAttribute('data-bs-target')
1011
-
1012
- if (!selector || selector === '#') {
1013
- let hrefAttr = element.getAttribute('href')
1014
-
1015
- // The only valid content that could double as a selector are IDs or classes,
1016
- // so everything starting with `#` or `.`. If a "real" URL is used as the selector,
1017
- // `document.querySelector` will rightfully complain it is invalid.
1018
- // See https://github.com/twbs/bootstrap/issues/32273
1019
- if (!hrefAttr || (!hrefAttr.includes('#') && !hrefAttr.startsWith('.'))) {
1020
- return null
1021
- }
1022
-
1023
- // Just in case some CMS puts out a full URL with the anchor appended
1024
- if (hrefAttr.includes('#') && !hrefAttr.startsWith('#')) {
1025
- hrefAttr = `#${hrefAttr.split('#')[1]}`
1026
- }
1027
-
1028
- selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : null
1029
- }
1030
-
1031
- return selector
1032
- }
1033
-
1034
- const getSelectorFromElement = element => {
1035
- const selector = getSelector(element)
1036
-
1037
- if (selector) {
1038
- return document.querySelector(selector) ? selector : null
1039
- }
1040
-
1041
- return null
1042
- }
1043
-
1044
- const getElementFromSelector = element => {
1045
- const selector = getSelector(element)
1046
-
1047
- return selector ? document.querySelector(selector) : null
1048
- }
1049
-
1050
- const getTransitionDurationFromElement = element => {
1051
- if (!element) {
1052
- return 0
1053
- }
1054
-
1055
- // Get transition-duration of the element
1056
- let { transitionDuration, transitionDelay } = window.getComputedStyle(element)
1057
-
1058
- const floatTransitionDuration = Number.parseFloat(transitionDuration)
1059
- const floatTransitionDelay = Number.parseFloat(transitionDelay)
1060
-
1061
- // Return 0 if element or transition duration is not found
1062
- if (!floatTransitionDuration && !floatTransitionDelay) {
1063
- return 0
1064
- }
1065
-
1066
- // If multiple durations are defined, take the first
1067
- transitionDuration = transitionDuration.split(',')[0]
1068
- transitionDelay = transitionDelay.split(',')[0]
1069
-
1070
- return (Number.parseFloat(transitionDuration) + Number.parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER
1071
- }
1072
-
1073
- const triggerTransitionEnd = element => {
1074
- element.dispatchEvent(new Event(TRANSITION_END))
1075
- }
1076
-
1077
- const isElement = obj => {
1078
- if (!obj || typeof obj !== 'object') {
1079
- return false
1080
- }
1081
-
1082
- if (typeof obj.jquery !== 'undefined') {
1083
- obj = obj[0]
1084
- }
1085
-
1086
- return typeof obj.nodeType !== 'undefined'
1087
- }
1088
-
1089
- const getElement = obj => {
1090
- if (isElement(obj)) { // it's a jQuery object or a node element
1091
- return obj.jquery ? obj[0] : obj
1092
- }
1093
-
1094
- if (typeof obj === 'string' && obj.length > 0) {
1095
- return document.querySelector(obj)
1096
- }
1097
-
1098
- return null
1099
- }
1100
-
1101
- const typeCheckConfig = (componentName, config, configTypes) => {
1102
- Object.keys(configTypes).forEach(property => {
1103
- const expectedTypes = configTypes[property]
1104
- const value = config[property]
1105
- const valueType = value && isElement(value) ? 'element' : toType(value)
1106
-
1107
- if (!new RegExp(expectedTypes).test(valueType)) {
1108
- throw new TypeError(
1109
- `${componentName.toUpperCase()}: Option "${property}" provided type "${valueType}" but expected type "${expectedTypes}".`
1110
- )
1111
- }
1112
- })
1113
- }
1114
-
1115
- const isVisible = element => {
1116
- if (!isElement(element) || element.getClientRects().length === 0) {
1117
- return false
1118
- }
1119
-
1120
- return getComputedStyle(element).getPropertyValue('visibility') === 'visible'
1121
- }
1122
-
1123
- const isDisabled = element => {
1124
- if (!element || element.nodeType !== Node.ELEMENT_NODE) {
1125
- return true
1126
- }
1127
-
1128
- if (element.classList.contains('disabled')) {
1129
- return true
1130
- }
1131
-
1132
- if (typeof element.disabled !== 'undefined') {
1133
- return element.disabled
1134
- }
1135
-
1136
- return element.hasAttribute('disabled') && element.getAttribute('disabled') !== 'false'
1137
- }
1138
-
1139
- const findShadowRoot = element => {
1140
- if (!document.documentElement.attachShadow) {
1141
- return null
1142
- }
1143
-
1144
- // Can find the shadow root otherwise it'll return the document
1145
- if (typeof element.getRootNode === 'function') {
1146
- const root = element.getRootNode()
1147
- return root instanceof ShadowRoot ? root : null
1148
- }
1149
-
1150
- if (element instanceof ShadowRoot) {
1151
- return element
1152
- }
1153
-
1154
- // when we don't find a shadow root
1155
- if (!element.parentNode) {
1156
- return null
1157
- }
1158
-
1159
- return findShadowRoot(element.parentNode)
1160
- }
1161
-
1162
- const noop = () => {}
1163
-
1164
- /**
1165
- * Trick to restart an element's animation
1166
- *
1167
- * @param {HTMLElement} element
1168
- * @return void
1169
- *
1170
- * @see https://www.charistheo.io/blog/2021/02/restart-a-css-animation-with-javascript/#restarting-a-css-animation
1171
- */
1172
- const reflow = element => {
1173
- // eslint-disable-next-line no-unused-expressions
1174
- element.offsetHeight
1175
- }
1176
-
1177
- const getjQuery = () => {
1178
- const { jQuery } = window
1179
-
1180
- if (jQuery && !document.body.hasAttribute('data-bs-no-jquery')) {
1181
- return jQuery
1182
- }
1183
-
1184
- return null
1185
- }
1186
-
1187
- const DOMContentLoadedCallbacks = []
1188
-
1189
- const onDOMContentLoaded = callback => {
1190
- if (document.readyState === 'loading') {
1191
- // add listener on the first call when the document is in loading state
1192
- if (!DOMContentLoadedCallbacks.length) {
1193
- document.addEventListener('DOMContentLoaded', () => {
1194
- DOMContentLoadedCallbacks.forEach(callback => callback())
1195
- })
1196
- }
1197
-
1198
- DOMContentLoadedCallbacks.push(callback)
1199
- } else {
1200
- callback()
1201
- }
1202
- }
1203
-
1204
- const isRTL = () => document.documentElement.dir === 'rtl'
1205
-
1206
- const defineJQueryPlugin = plugin => {
1207
- onDOMContentLoaded(() => {
1208
- const $ = getjQuery()
1209
- /* istanbul ignore if */
1210
- if ($) {
1211
- const name = plugin.NAME
1212
- const JQUERY_NO_CONFLICT = $.fn[name]
1213
- $.fn[name] = plugin.jQueryInterface
1214
- $.fn[name].Constructor = plugin
1215
- $.fn[name].noConflict = () => {
1216
- $.fn[name] = JQUERY_NO_CONFLICT
1217
- return plugin.jQueryInterface
1218
- }
1219
- }
1220
- })
1221
- }
1222
-
1223
- const execute = callback => {
1224
- if (typeof callback === 'function') {
1225
- callback()
1226
- }
1227
- }
1228
-
1229
- const executeAfterTransition = (callback, transitionElement, waitForTransition = true) => {
1230
- if (!waitForTransition) {
1231
- execute(callback)
1232
- return
1233
- }
1234
-
1235
- const durationPadding = 5
1236
- const emulatedDuration = getTransitionDurationFromElement(transitionElement) + durationPadding
1237
-
1238
- let called = false
1239
-
1240
- const handler = ({ target }) => {
1241
- if (target !== transitionElement) {
1242
- return
1243
- }
1244
-
1245
- called = true
1246
- transitionElement.removeEventListener(TRANSITION_END, handler)
1247
- execute(callback)
1248
- }
1249
-
1250
- transitionElement.addEventListener(TRANSITION_END, handler)
1251
- setTimeout(() => {
1252
- if (!called) {
1253
- triggerTransitionEnd(transitionElement)
1254
- }
1255
- }, emulatedDuration)
1256
- }
1257
-
1258
- /**
1259
- * Return the previous/next element of a list.
1260
- *
1261
- * @param {array} list The list of elements
1262
- * @param activeElement The active element
1263
- * @param shouldGetNext Choose to get next or previous element
1264
- * @param isCycleAllowed
1265
- * @return {Element|elem} The proper element
1266
- */
1267
- const getNextActiveElement = (list, activeElement, shouldGetNext, isCycleAllowed) => {
1268
- let index = list.indexOf(activeElement)
1269
-
1270
- // if the element does not exist in the list return an element depending on the direction and if cycle is allowed
1271
- if (index === -1) {
1272
- return list[!shouldGetNext && isCycleAllowed ? list.length - 1 : 0]
1273
- }
1274
-
1275
- const listLength = list.length
1276
-
1277
- index += shouldGetNext ? 1 : -1
1278
-
1279
- if (isCycleAllowed) {
1280
- index = (index + listLength) % listLength
1281
- }
1282
-
1283
- return list[Math.max(0, Math.min(index, listLength - 1))]
1284
- }
1285
-
1286
-
1287
-
1288
-
1289
- /***/ }),
1290
-
1291
- /***/ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[3]!./resources/assets/scripts/components/tab/tab.component.scss":
1292
- /*!**********************************************************************************************************************************************************************************************************************************************************************************************************!*\
1293
- !*** ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[3]!./resources/assets/scripts/components/tab/tab.component.scss ***!
1294
- \**********************************************************************************************************************************************************************************************************************************************************************************************************/
1295
- /***/ ((module, __webpack_exports__, __webpack_require__) => {
1296
-
1297
- __webpack_require__.r(__webpack_exports__);
1298
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1299
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1300
- /* harmony export */ });
1301
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
1302
- /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
1303
- // Imports
1304
-
1305
- var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
1306
- // Module
1307
- ___CSS_LOADER_EXPORT___.push([module.id, "/*!\n * IRIS Interactive\n *\n * NOTICE OF LICENSE\n *\n * This source file is no subject to a specific license\n * but it belongs to the company IRIS Interactive.\n * You can contact IRIS Interactive at the following\n * address: contact@iris-interactive.fr\n *\n * @author Lucas ROCHE\n * @date 22/02/2022 14:57\n * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)\n */\n[data-hc-tab-content] > [data-hc-tab-pane] {\n display: none;\n}\n[data-hc-tab-content] > .active {\n display: block;\n}", ""]);
1308
- // Exports
1309
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
1310
-
1311
-
1312
- /***/ }),
1313
-
1314
- /***/ "./node_modules/css-loader/dist/runtime/api.js":
1315
- /*!*****************************************************!*\
1316
- !*** ./node_modules/css-loader/dist/runtime/api.js ***!
1317
- \*****************************************************/
1318
- /***/ ((module) => {
1319
-
1320
-
1321
-
1322
- /*
1323
- MIT License http://www.opensource.org/licenses/mit-license.php
1324
- Author Tobias Koppers @sokra
1325
- */
1326
- // css base code, injected by the css-loader
1327
- // eslint-disable-next-line func-names
1328
- module.exports = function (cssWithMappingToString) {
1329
- var list = []; // return the list of modules as css string
1330
-
1331
- list.toString = function toString() {
1332
- return this.map(function (item) {
1333
- var content = cssWithMappingToString(item);
1334
-
1335
- if (item[2]) {
1336
- return "@media ".concat(item[2], " {").concat(content, "}");
1337
- }
1338
-
1339
- return content;
1340
- }).join("");
1341
- }; // import a list of modules into the list
1342
- // eslint-disable-next-line func-names
1343
-
1344
-
1345
- list.i = function (modules, mediaQuery, dedupe) {
1346
- if (typeof modules === "string") {
1347
- // eslint-disable-next-line no-param-reassign
1348
- modules = [[null, modules, ""]];
1349
- }
1350
-
1351
- var alreadyImportedModules = {};
1352
-
1353
- if (dedupe) {
1354
- for (var i = 0; i < this.length; i++) {
1355
- // eslint-disable-next-line prefer-destructuring
1356
- var id = this[i][0];
1357
-
1358
- if (id != null) {
1359
- alreadyImportedModules[id] = true;
1360
- }
1361
- }
1362
- }
1363
-
1364
- for (var _i = 0; _i < modules.length; _i++) {
1365
- var item = [].concat(modules[_i]);
1366
-
1367
- if (dedupe && alreadyImportedModules[item[0]]) {
1368
- // eslint-disable-next-line no-continue
1369
- continue;
1370
- }
1371
-
1372
- if (mediaQuery) {
1373
- if (!item[2]) {
1374
- item[2] = mediaQuery;
1375
- } else {
1376
- item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
1377
- }
1378
- }
1379
-
1380
- list.push(item);
1381
- }
1382
- };
1383
-
1384
- return list;
1385
- };
1386
-
1387
- /***/ }),
1388
-
1389
- /***/ "./resources/assets/scripts/components/tab/tab.component.scss":
1390
- /*!********************************************************************!*\
1391
- !*** ./resources/assets/scripts/components/tab/tab.component.scss ***!
1392
- \********************************************************************/
1393
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1394
-
1395
- __webpack_require__.r(__webpack_exports__);
1396
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1397
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1398
- /* harmony export */ });
1399
- /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
1400
- /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
1401
- /* harmony import */ var _node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_3_tab_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[1]!../../../../../node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[2]!../../../../../node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[3]!./tab.component.scss */ "./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[7].oneOf[1].use[3]!./resources/assets/scripts/components/tab/tab.component.scss");
1402
-
1403
-
1404
-
1405
- var options = {};
1406
-
1407
- options.insert = "head";
1408
- options.singleton = false;
1409
-
1410
- var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_3_tab_component_scss__WEBPACK_IMPORTED_MODULE_1__["default"], options);
1411
-
1412
-
1413
-
1414
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_1_node_modules_postcss_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_2_node_modules_sass_loader_dist_cjs_js_ruleSet_1_rules_7_oneOf_1_use_3_tab_component_scss__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
1415
-
1416
- /***/ }),
1417
-
1418
- /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
1419
- /*!****************************************************************************!*\
1420
- !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
1421
- \****************************************************************************/
1422
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
1423
-
1424
-
1425
-
1426
- var isOldIE = function isOldIE() {
1427
- var memo;
1428
- return function memorize() {
1429
- if (typeof memo === 'undefined') {
1430
- // Test for IE <= 9 as proposed by Browserhacks
1431
- // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
1432
- // Tests for existence of standard globals is to allow style-loader
1433
- // to operate correctly into non-standard environments
1434
- // @see https://github.com/webpack-contrib/style-loader/issues/177
1435
- memo = Boolean(window && document && document.all && !window.atob);
1436
- }
1437
-
1438
- return memo;
1439
- };
1440
- }();
1441
-
1442
- var getTarget = function getTarget() {
1443
- var memo = {};
1444
- return function memorize(target) {
1445
- if (typeof memo[target] === 'undefined') {
1446
- var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
1447
-
1448
- if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
1449
- try {
1450
- // This will throw an exception if access to iframe is blocked
1451
- // due to cross-origin restrictions
1452
- styleTarget = styleTarget.contentDocument.head;
1453
- } catch (e) {
1454
- // istanbul ignore next
1455
- styleTarget = null;
1456
- }
1457
- }
1458
-
1459
- memo[target] = styleTarget;
1460
- }
1461
-
1462
- return memo[target];
1463
- };
1464
- }();
1465
-
1466
- var stylesInDom = [];
1467
-
1468
- function getIndexByIdentifier(identifier) {
1469
- var result = -1;
1470
-
1471
- for (var i = 0; i < stylesInDom.length; i++) {
1472
- if (stylesInDom[i].identifier === identifier) {
1473
- result = i;
1474
- break;
1475
- }
1476
- }
1477
-
1478
- return result;
1479
- }
1480
-
1481
- function modulesToDom(list, options) {
1482
- var idCountMap = {};
1483
- var identifiers = [];
1484
-
1485
- for (var i = 0; i < list.length; i++) {
1486
- var item = list[i];
1487
- var id = options.base ? item[0] + options.base : item[0];
1488
- var count = idCountMap[id] || 0;
1489
- var identifier = "".concat(id, " ").concat(count);
1490
- idCountMap[id] = count + 1;
1491
- var index = getIndexByIdentifier(identifier);
1492
- var obj = {
1493
- css: item[1],
1494
- media: item[2],
1495
- sourceMap: item[3]
1496
- };
1497
-
1498
- if (index !== -1) {
1499
- stylesInDom[index].references++;
1500
- stylesInDom[index].updater(obj);
1501
- } else {
1502
- stylesInDom.push({
1503
- identifier: identifier,
1504
- updater: addStyle(obj, options),
1505
- references: 1
1506
- });
1507
- }
1508
-
1509
- identifiers.push(identifier);
1510
- }
1511
-
1512
- return identifiers;
1513
- }
1514
-
1515
- function insertStyleElement(options) {
1516
- var style = document.createElement('style');
1517
- var attributes = options.attributes || {};
1518
-
1519
- if (typeof attributes.nonce === 'undefined') {
1520
- var nonce = true ? __webpack_require__.nc : 0;
1521
-
1522
- if (nonce) {
1523
- attributes.nonce = nonce;
1524
- }
1525
- }
1526
-
1527
- Object.keys(attributes).forEach(function (key) {
1528
- style.setAttribute(key, attributes[key]);
1529
- });
1530
-
1531
- if (typeof options.insert === 'function') {
1532
- options.insert(style);
1533
- } else {
1534
- var target = getTarget(options.insert || 'head');
1535
-
1536
- if (!target) {
1537
- throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
1538
- }
1539
-
1540
- target.appendChild(style);
1541
- }
1542
-
1543
- return style;
1544
- }
1545
-
1546
- function removeStyleElement(style) {
1547
- // istanbul ignore if
1548
- if (style.parentNode === null) {
1549
- return false;
1550
- }
1551
-
1552
- style.parentNode.removeChild(style);
1553
- }
1554
- /* istanbul ignore next */
1555
-
1556
-
1557
- var replaceText = function replaceText() {
1558
- var textStore = [];
1559
- return function replace(index, replacement) {
1560
- textStore[index] = replacement;
1561
- return textStore.filter(Boolean).join('\n');
1562
- };
1563
- }();
1564
-
1565
- function applyToSingletonTag(style, index, remove, obj) {
1566
- var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
1567
-
1568
- /* istanbul ignore if */
1569
-
1570
- if (style.styleSheet) {
1571
- style.styleSheet.cssText = replaceText(index, css);
1572
- } else {
1573
- var cssNode = document.createTextNode(css);
1574
- var childNodes = style.childNodes;
1575
-
1576
- if (childNodes[index]) {
1577
- style.removeChild(childNodes[index]);
1578
- }
1579
-
1580
- if (childNodes.length) {
1581
- style.insertBefore(cssNode, childNodes[index]);
1582
- } else {
1583
- style.appendChild(cssNode);
1584
- }
1585
- }
1586
- }
1587
-
1588
- function applyToTag(style, options, obj) {
1589
- var css = obj.css;
1590
- var media = obj.media;
1591
- var sourceMap = obj.sourceMap;
1592
-
1593
- if (media) {
1594
- style.setAttribute('media', media);
1595
- } else {
1596
- style.removeAttribute('media');
1597
- }
1598
-
1599
- if (sourceMap && typeof btoa !== 'undefined') {
1600
- css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
1601
- } // For old IE
1602
-
1603
- /* istanbul ignore if */
1604
-
1605
-
1606
- if (style.styleSheet) {
1607
- style.styleSheet.cssText = css;
1608
- } else {
1609
- while (style.firstChild) {
1610
- style.removeChild(style.firstChild);
1611
- }
1612
-
1613
- style.appendChild(document.createTextNode(css));
1614
- }
1615
- }
1616
-
1617
- var singleton = null;
1618
- var singletonCounter = 0;
1619
-
1620
- function addStyle(obj, options) {
1621
- var style;
1622
- var update;
1623
- var remove;
1624
-
1625
- if (options.singleton) {
1626
- var styleIndex = singletonCounter++;
1627
- style = singleton || (singleton = insertStyleElement(options));
1628
- update = applyToSingletonTag.bind(null, style, styleIndex, false);
1629
- remove = applyToSingletonTag.bind(null, style, styleIndex, true);
1630
- } else {
1631
- style = insertStyleElement(options);
1632
- update = applyToTag.bind(null, style, options);
1633
-
1634
- remove = function remove() {
1635
- removeStyleElement(style);
1636
- };
1637
- }
1638
-
1639
- update(obj);
1640
- return function updateStyle(newObj) {
1641
- if (newObj) {
1642
- if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
1643
- return;
1644
- }
1645
-
1646
- update(obj = newObj);
1647
- } else {
1648
- remove();
1649
- }
1650
- };
1651
- }
1652
-
1653
- module.exports = function (list, options) {
1654
- options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
1655
- // tags it will allow on a page
1656
-
1657
- if (!options.singleton && typeof options.singleton !== 'boolean') {
1658
- options.singleton = isOldIE();
1659
- }
1660
-
1661
- list = list || [];
1662
- var lastIdentifiers = modulesToDom(list, options);
1663
- return function update(newList) {
1664
- newList = newList || [];
1665
-
1666
- if (Object.prototype.toString.call(newList) !== '[object Array]') {
1667
- return;
1668
- }
1669
-
1670
- for (var i = 0; i < lastIdentifiers.length; i++) {
1671
- var identifier = lastIdentifiers[i];
1672
- var index = getIndexByIdentifier(identifier);
1673
- stylesInDom[index].references--;
1674
- }
1675
-
1676
- var newLastIdentifiers = modulesToDom(newList, options);
1677
-
1678
- for (var _i = 0; _i < lastIdentifiers.length; _i++) {
1679
- var _identifier = lastIdentifiers[_i];
1680
-
1681
- var _index = getIndexByIdentifier(_identifier);
1682
-
1683
- if (stylesInDom[_index].references === 0) {
1684
- stylesInDom[_index].updater();
1685
-
1686
- stylesInDom.splice(_index, 1);
1687
- }
1688
- }
1689
-
1690
- lastIdentifiers = newLastIdentifiers;
1691
- };
1692
- };
1693
-
1694
- /***/ })
1695
-
1696
- /******/ });
1697
- /************************************************************************/
1698
- /******/ // The module cache
1699
- /******/ var __webpack_module_cache__ = {};
1700
- /******/
1701
- /******/ // The require function
1702
- /******/ function __webpack_require__(moduleId) {
1703
- /******/ // Check if module is in cache
1704
- /******/ var cachedModule = __webpack_module_cache__[moduleId];
1705
- /******/ if (cachedModule !== undefined) {
1706
- /******/ return cachedModule.exports;
1707
- /******/ }
1708
- /******/ // Create a new module (and put it into the cache)
1709
- /******/ var module = __webpack_module_cache__[moduleId] = {
1710
- /******/ id: moduleId,
1711
- /******/ // no module.loaded needed
1712
- /******/ exports: {}
1713
- /******/ };
1714
- /******/
1715
- /******/ // Execute the module function
1716
- /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
1717
- /******/
1718
- /******/ // Return the exports of the module
1719
- /******/ return module.exports;
1720
- /******/ }
1721
- /******/
1722
- /************************************************************************/
1723
- /******/ /* webpack/runtime/compat get default export */
1724
- /******/ (() => {
1725
- /******/ // getDefaultExport function for compatibility with non-harmony modules
1726
- /******/ __webpack_require__.n = (module) => {
1727
- /******/ var getter = module && module.__esModule ?
1728
- /******/ () => (module['default']) :
1729
- /******/ () => (module);
1730
- /******/ __webpack_require__.d(getter, { a: getter });
1731
- /******/ return getter;
1732
- /******/ };
1733
- /******/ })();
1734
- /******/
1735
- /******/ /* webpack/runtime/define property getters */
1736
- /******/ (() => {
1737
- /******/ // define getter functions for harmony exports
1738
- /******/ __webpack_require__.d = (exports, definition) => {
1739
- /******/ for(var key in definition) {
1740
- /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
1741
- /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
1742
- /******/ }
1743
- /******/ }
1744
- /******/ };
1745
- /******/ })();
1746
- /******/
1747
- /******/ /* webpack/runtime/hasOwnProperty shorthand */
1748
- /******/ (() => {
1749
- /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
1750
- /******/ })();
1751
- /******/
1752
- /******/ /* webpack/runtime/make namespace object */
1753
- /******/ (() => {
1754
- /******/ // define __esModule on exports
1755
- /******/ __webpack_require__.r = (exports) => {
1756
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
1757
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
1758
- /******/ }
1759
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
1760
- /******/ };
1761
- /******/ })();
1762
- /******/
1763
- /************************************************************************/
1764
- var __webpack_exports__ = {};
1765
- // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
1766
- (() => {
1767
- /*!******************************************************************!*\
1768
- !*** ./resources/assets/scripts/components/tab/tab.component.js ***!
1769
- \******************************************************************/
1770
- __webpack_require__.r(__webpack_exports__);
1771
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1772
- /* harmony export */ "HcTab": () => (/* binding */ HcTab),
1773
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1774
- /* harmony export */ });
1775
- /* harmony import */ var _enumerators_element_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../enumerators/element.enum */ "./resources/assets/scripts/enumerators/element.enum.js");
1776
- /* harmony import */ var _tab_component_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./tab.component.scss */ "./resources/assets/scripts/components/tab/tab.component.scss");
1777
- /* harmony import */ var bootstrap_js_src_tab__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! bootstrap/js/src/tab */ "./node_modules/bootstrap/js/src/tab.js");
1778
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
1779
-
1780
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
1781
-
1782
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
1783
-
1784
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
1785
-
1786
- /*
1787
- * IRIS Interactive
1788
- *
1789
- * NOTICE OF LICENSE
1790
- *
1791
- * This source file is no subject to a specific license
1792
- * but it belongs to the company IRIS Interactive.
1793
- * You can contact IRIS Interactive at the following
1794
- * address: contact@iris-interactive.fr
1795
- *
1796
- * @author Lucas ROCHE
1797
- * @date 22/02/2022 14:34
1798
- * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)
1799
- */
1800
-
1801
-
1802
-
1803
- var HcTab = /*#__PURE__*/function () {
1804
- function HcTab() {
1805
- var _this = this;
1806
-
1807
- var elements = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _enumerators_element_enum__WEBPACK_IMPORTED_MODULE_0__["default"].tab;
1808
-
1809
- _classCallCheck(this, HcTab);
1810
-
1811
- _defineProperty(this, "showEvent", void 0);
1812
-
1813
- _defineProperty(this, "shownEvent", void 0);
1814
-
1815
- _defineProperty(this, "hideEvent", void 0);
1816
-
1817
- _defineProperty(this, "hiddenEvent", void 0);
1818
-
1819
- this.createEvent();
1820
- this.buildDOM();
1821
- var triggerTabList = [].slice.call(document.querySelectorAll(elements));
1822
- triggerTabList.forEach(function (triggerEl) {
1823
- var tabTrigger = new bootstrap_js_src_tab__WEBPACK_IMPORTED_MODULE_2__["default"](triggerEl);
1824
- triggerEl.addEventListener('click', function (event) {
1825
- event.preventDefault();
1826
- tabTrigger.show();
1827
- });
1828
- });
1829
- document.querySelectorAll(elements).forEach(function (trigger) {
1830
- trigger.addEventListener('hide.bs.tab', function (e) {
1831
- trigger.dispatchEvent(_this.hideEvent);
1832
- });
1833
- trigger.addEventListener('show.bs.tab', function (e) {
1834
- trigger.dispatchEvent(_this.showEvent);
1835
- });
1836
- trigger.addEventListener('shown.bs.tab', function (e) {
1837
- trigger.dispatchEvent(_this.shownEvent);
1838
- });
1839
- trigger.addEventListener('hidden.bs.tab', function (e) {
1840
- trigger.dispatchEvent(_this.hiddenEvent);
1841
- });
1842
- });
1843
- }
1844
-
1845
- _createClass(HcTab, [{
1846
- key: "buildDOM",
1847
- value: function buildDOM() {
1848
- document.querySelectorAll("[data-hc-tab-wrapper]").forEach(function (wrapper) {
1849
- if (!wrapper.classList.contains("nav")) {
1850
- wrapper.classList.add("nav");
1851
- }
1852
- });
1853
- }
1854
- }, {
1855
- key: "createEvent",
1856
- value: function createEvent() {
1857
- this.showEvent = new Event("show.hc.tab");
1858
- this.shownEvent = new Event("shown.hc.tab");
1859
- this.hideEvent = new Event("hide.hc.tab");
1860
- this.hiddenEvent = new Event("hidden.hc.tab");
1861
- }
1862
- }], [{
1863
- key: "show",
1864
- value: function show(trigger) {
1865
- var triggerTabList = [].slice.call(document.querySelectorAll(trigger));
1866
- triggerTabList.forEach(function (triggerEl) {
1867
- var tabTrigger = new bootstrap_js_src_tab__WEBPACK_IMPORTED_MODULE_2__["default"](triggerEl);
1868
- tabTrigger.show();
1869
- });
1870
- }
1871
- }]);
1872
-
1873
- return HcTab;
1874
- }();
1875
-
1876
- var hc_tab = function hc_tab(trigger) {
1877
- return new HcTab(trigger);
1878
- };
1879
-
1880
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hc_tab);
1881
- })();
1882
-
1883
- /******/ })()
1884
- ;
1
+ (()=>{"use strict";var e={812:(e,t,n)=>{function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};r(o,"tooltip","[data-hc-tooltip], [data-hc-popover]"),r(o,"popover","[data-hc-popover]"),r(o,"scrollSmooth","[data-hc-smooth-scroll]"),r(o,"modal","[data-hc-modal]"),r(o,"modalClose","[data-hc-modal-close]"),r(o,"lightboxAttr","data-hc-lightbox"),r(o,"lightbox","[".concat(o.lightboxAttr,"]")),r(o,"dropdown","[data-hc-dropdown]"),r(o,"collapse","[data-hc-collapse]"),r(o,"collapseItem","[data-hc-collapse-item]"),r(o,"popin","[data-hc-popin]"),r(o,"tab","[data-hc-tab]"),r(o,"toggle","[data-hc-toggle]"),r(o,"slider","[data-hc-slider]"),r(o,"scrollspy","[data-hc-scrollspy]"),r(o,"scrollspyNav","[data-hc-scrollspy-nav]"),r(o,"scrollspyNavItem","[data-hc-scrollspy-nav-item]"),r(o,"scrollRevealParent","[data-hc-scroll-reveal-parent]"),r(o,"scrollReveal","[data-hc-scroll-reveal]")},49:(e,t,n)=>{n.d(t,{Z:()=>i});var r=n(385),o=n(147),a=n(930);const i=class{constructor(e){(e=(0,o.sb)(e))&&(this._element=e,r.Z.set(this._element,this.constructor.DATA_KEY,this))}dispose(){r.Z.remove(this._element,this.constructor.DATA_KEY),a.Z.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){(0,o.e0)(e,t,n)}static getInstance(e){return r.Z.get((0,o.sb)(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.1.3"}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}},385:(e,t,n)=>{n.d(t,{Z:()=>o});const r=new Map,o={set(e,t,n){r.has(e)||r.set(e,new Map);const o=r.get(e);o.has(t)||0===o.size?o.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(e,t)=>r.has(e)&&r.get(e).get(t)||null,remove(e,t){if(!r.has(e))return;const n=r.get(e);n.delete(t),0===n.size&&r.delete(e)}}},930:(e,t,n)=>{n.d(t,{Z:()=>E});var r=n(147);const o=/[^.]*(?=\..*)\.|.*/,a=/\..*/,i=/::\d+$/,s={};let c=1;const l={mouseenter:"mouseover",mouseleave:"mouseout"},d=/^(mouseenter|mouseleave)/i,u=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function f(e,t){return t&&`${t}::${c++}`||e.uidEvent||c++}function p(e){const t=f(e);return e.uidEvent=t,s[t]=s[t]||{},s[t]}function h(e,t,n=null){const r=Object.keys(e);for(let o=0,a=r.length;o<a;o++){const a=e[r[o]];if(a.originalHandler===t&&a.delegationSelector===n)return a}return null}function m(e,t,n){const r="string"==typeof t,o=r?n:t;let a=b(e);return u.has(a)||(a=e),[r,o,a]}function v(e,t,n,r,a){if("string"!=typeof t||!e)return;if(n||(n=r,r=null),d.test(t)){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};r?r=e(r):n=e(n)}const[i,s,c]=m(t,n,r),l=p(e),u=l[c]||(l[c]={}),v=h(u,s,i?n:null);if(v)return void(v.oneOff=v.oneOff&&a);const g=f(s,t.replace(o,"")),b=i?function(e,t,n){return function r(o){const a=e.querySelectorAll(t);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(let s=a.length;s--;)if(a[s]===i)return o.delegateTarget=i,r.oneOff&&y.off(e,o.type,t,n),n.apply(i,[o]);return null}}(e,n,r):function(e,t){return function n(r){return r.delegateTarget=e,n.oneOff&&y.off(e,r.type,t),t.apply(e,[r])}}(e,n);b.delegationSelector=i?n:null,b.originalHandler=s,b.oneOff=a,b.uidEvent=g,u[g]=b,e.addEventListener(c,b,i)}function g(e,t,n,r,o){const a=h(t[n],r,o);a&&(e.removeEventListener(n,a,Boolean(o)),delete t[n][a.uidEvent])}function b(e){return e=e.replace(a,""),l[e]||e}const y={on(e,t,n,r){v(e,t,n,r,!1)},one(e,t,n,r){v(e,t,n,r,!0)},off(e,t,n,r){if("string"!=typeof t||!e)return;const[o,a,s]=m(t,n,r),c=s!==t,l=p(e),d=t.startsWith(".");if(void 0!==a){if(!l||!l[s])return;return void g(e,l,s,a,o?n:null)}d&&Object.keys(l).forEach((n=>{!function(e,t,n,r){const o=t[n]||{};Object.keys(o).forEach((a=>{if(a.includes(r)){const r=o[a];g(e,t,n,r.originalHandler,r.delegationSelector)}}))}(e,l,n,t.slice(1))}));const u=l[s]||{};Object.keys(u).forEach((n=>{const r=n.replace(i,"");if(!c||t.includes(r)){const t=u[n];g(e,l,s,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if("string"!=typeof t||!e)return null;const o=(0,r.KF)(),a=b(t),i=t!==a,s=u.has(a);let c,l=!0,d=!0,f=!1,p=null;return i&&o&&(c=o.Event(t,n),o(e).trigger(c),l=!c.isPropagationStopped(),d=!c.isImmediatePropagationStopped(),f=c.isDefaultPrevented()),s?(p=document.createEvent("HTMLEvents"),p.initEvent(a,l,!0)):p=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(p,e,{get:()=>n[e]})})),f&&p.preventDefault(),d&&e.dispatchEvent(p),p.defaultPrevented&&void 0!==c&&c.preventDefault(),p}},E=y},357:(e,t,n)=>{n.d(t,{Z:()=>o});var r=n(147);const o={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let r=e.parentNode;for(;r&&r.nodeType===Node.ELEMENT_NODE&&3!==r.nodeType;)r.matches(t)&&n.push(r),r=r.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(", ");return this.find(t,e).filter((e=>!(0,r.pK)(e)&&(0,r.pn)(e)))}}},147:(e,t,n)=>{n.d(t,{sb:()=>s,dG:()=>a,pn:()=>c,pK:()=>l,nq:()=>d,KF:()=>u,pF:()=>p,e0:()=>m});const r="transitionend",o=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},a=e=>{const t=o(e);return t?document.querySelector(t):null},i=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>i(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,c=e=>!(!i(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility"),l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),d=e=>{e.offsetHeight},u=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute("data-bs-no-jquery")?e:null},f=[],p=e=>{var t;t=()=>{const t=u();if(t){const n=e.NAME,r=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=r,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{f.forEach((e=>e()))})),f.push(t)):t()},h=e=>{"function"==typeof e&&e()},m=(e,t,n=!0)=>{if(!n)return void h(e);const o=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const r=Number.parseFloat(t),o=Number.parseFloat(n);return r||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let a=!1;const i=({target:n})=>{n===t&&(a=!0,t.removeEventListener(r,i),h(e))};t.addEventListener(r,i),setTimeout((()=>{a||t.dispatchEvent(new Event(r))}),o)}},668:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(645),o=n.n(r)()((function(e){return e[1]}));o.push([e.id,"/*!\n * IRIS Interactive\n *\n * NOTICE OF LICENSE\n *\n * This source file is no subject to a specific license\n * but it belongs to the company IRIS Interactive.\n * You can contact IRIS Interactive at the following\n * address: contact@iris-interactive.fr\n *\n * @author Lucas ROCHE\n * @date 22/02/2022 14:57\n * @copyright Copyright (c) 2002-2022 IRIS Interactive, Inc. (http://www.iris-interactive.fr)\n */[data-hc-tab-content]>[data-hc-tab-pane]{display:none}[data-hc-tab-content]>.active{display:block}",""]);const a=o},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(o[i]=!0)}for(var s=0;s<e.length;s++){var c=[].concat(e[s]);r&&o[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),t.push(c))}},t}},379:(e,t,n)=>{var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},a=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),i=[];function s(e){for(var t=-1,n=0;n<i.length;n++)if(i[n].identifier===e){t=n;break}return t}function c(e,t){for(var n={},r=[],o=0;o<e.length;o++){var a=e[o],c=t.base?a[0]+t.base:a[0],l=n[c]||0,d="".concat(c," ").concat(l);n[c]=l+1;var u=s(d),f={css:a[1],media:a[2],sourceMap:a[3]};-1!==u?(i[u].references++,i[u].updater(f)):i.push({identifier:d,updater:v(f,t),references:1}),r.push(d)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=u(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function p(e,t,n){var r=n.css,o=n.media,a=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function v(e,t){var n,r,o;if(t.singleton){var a=m++;n=h||(h=l(t)),r=f.bind(null,n,a,!1),o=f.bind(null,n,a,!0)}else n=l(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=c(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);i[o].references--}for(var a=c(e,t),l=0;l<n.length;l++){var d=s(n[l]);0===i[d].references&&(i[d].updater(),i.splice(d,1))}n=a}}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={id:r,exports:{}};return e[r](a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{n(812);var e=n(379),t=n.n(e),r=n(668),o={insert:"head",singleton:!1};t()(r.Z,o);r.Z.locals;var a=n(147),i=n(930),s=n(357),c=n(49);const l="active",d="fade",u="show",f=".active",p=":scope > li > .active";class h extends c.Z{static get NAME(){return"tab"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(l))return;let e;const t=(0,a.dG)(this._element),n=this._element.closest(".nav, .list-group");if(n){const t="UL"===n.nodeName||"OL"===n.nodeName?p:f;e=s.Z.find(t,n),e=e[e.length-1]}const r=e?i.Z.trigger(e,"hide.bs.tab",{relatedTarget:this._element}):null;if(i.Z.trigger(this._element,"show.bs.tab",{relatedTarget:e}).defaultPrevented||null!==r&&r.defaultPrevented)return;this._activate(this._element,n);const o=()=>{i.Z.trigger(e,"hidden.bs.tab",{relatedTarget:this._element}),i.Z.trigger(this._element,"shown.bs.tab",{relatedTarget:e})};t?this._activate(t,t.parentNode,o):o()}_activate(e,t,n){const r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?s.Z.children(t,f):s.Z.find(p,t))[0],o=n&&r&&r.classList.contains(d),a=()=>this._transitionComplete(e,r,n);r&&o?(r.classList.remove(u),this._queueCallback(a,e,!0)):a()}_transitionComplete(e,t,n){if(t){t.classList.remove(l);const e=s.Z.findOne(":scope > .dropdown-menu .active",t.parentNode);e&&e.classList.remove(l),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add(l),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),(0,a.nq)(e),e.classList.contains(d)&&e.classList.add(u);let r=e.parentNode;if(r&&"LI"===r.nodeName&&(r=r.parentNode),r&&r.classList.contains("dropdown-menu")){const t=e.closest(".dropdown");t&&s.Z.find(".dropdown-toggle",t).forEach((e=>e.classList.add(l))),e.setAttribute("aria-expanded",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=h.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}i.Z.on(document,"click.bs.tab.data-api",'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),(0,a.pK)(this))return;h.getOrCreateInstance(this).show()})),(0,a.pF)(h)})()})();