PageSourceSearch

https://phone2s.co.kr/ind-script/optimizer_user.php?filename=jVRbb…f3543397a05f54b92d3361f&t=1789390311&user=T

js phone2s.co.kr collected 2026-09-30 12:09:55 UTC 327,708 bytes, 2,150 lines download raw bytes

1/*
2  cafe24 base
3  /layout/basic/js/basic.js
4*/
5
6
7/**
8 * hasClass
9 */
10function hasClass(element, className){
11    return (' ' + element.className + ' ').indexOf(' ' + className+ ' ') > -1;
12};
13
14/**
15 *  toggle
16 */
17function toggleClassAll(element, handler, className){
18    var _handler = document.querySelector(handler);
19    document.querySelectorAll(handler).forEach(function(item){
20        item.addEventListener('click', function(){
21            var _element = item.parentNode;
22            if ( hasClass( _element, className ) ) {
23                _element.classList.remove( className );
24            } else {
25                _element.classList.add( className );
26            }
27        })
28    })
29};
30
31/**
32 *  findElements
33 */
34function findElements(element, findElement){
35    var resultElements = [];
36    document.querySelectorAll(element).forEach(function(item){
37        var findElementList = item.querySelectorAll(findElement);
38        findElementList = Array.prototype.slice.call(findElementList);
39        resultElements = resultElements.concat(findElementList);
40    })
41    return resultElements;
42};
43
44/**
45 *  setAttributeAl
46 */
47function setAttributeAll(elements, name, value){
48    elements.forEach(function(item){
49        item.setAttribute(name, value);
50    })
51};
52
53/**
54 *  tooltip
55 */
56function setTooltipEvent(){
57    var input = findElements('.eTooltip', 'input');
58    input.forEach(function(item){
59        item.addEventListener('focusin', function(event){
60            var targetName = returnTargetName(event.target);
61            targetName.nextElementSibling.style.display = 'block'
62        });
63        item.addEventListener('focusout', function(event){
64            var targetName = returnTargetName(event.target);
65            targetName.nextElementSibling.style.display = 'none'
66        });
67    });
68}
69
70/**
71 *  tooltip input focus
72 */
73function returnTargetName(_this){
74    var ePlacename = _this.parentElement.getAttribute("class");
75    var targetName;
76    if(ePlacename == "ePlaceholder"){ //ePlaceholder supported
77        targetName = _this.parentElement;
78    }else{
79        targetName = _this;
80    }
81    return targetName;
82}
83
84/**
85 * window load
86 */
87window.addEventListener('load', function(){
88    if (document.querySelector('.eTooltip')){
89        setAttributeAll(findElements('.eTooltip', '.btnClose'),'tabIndex','-1');
90        setTooltipEvent();
91    }
92    if (document.querySelector('div.eToggle')){
93        toggleClassAll(false, 'div.eToggle .title', 'selected');
94    }
95});
96/*
97  cafe24 base
98  /js/common.js
99*/
100
101
102//window popup script
103function winPop(url) {
104    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
105}
106/**
107 * document.location.href split
108 * return array Param
109 */
110function getQueryString(sKey)
111{
112    var sQueryString = document.location.search.substring(1);
113    var aParam       = {};
114
115    if (sQueryString) {
116        var aFields = sQueryString.split("&");
117        var aField  = [];
118        for(var i=0; i<aFields.length; i++){
119            aField = aFields[i].split('=');
120            aParam[aField[0]] = aField[1];            
121        }
122    }
123
124    aParam.page = aParam.page ? aParam.page : 1;
125    return sKey ? aParam[sKey] : aParam;
126};
127
128/**
129  *  구매버튼
130*/
131/*
132var globalBuyBtnScrollFunc = function() {
133    // 구매버튼 관련변수
134    var sFixId = $('#orderFixItem').length > 0  ? 'orderFixItem' : 'fixedActionButton',
135        $area = $('#orderFixArea'),
136        $item = $('#' + sFixId + '').not($area);
137
138    $(window).scroll(function(){
139        try {
140             // 구매버튼 관련변수
141            var iCurrentHeightPos = $(this).scrollTop() + $(this).height(),
142                iButtonHeightPos = $item.offset().top;
143
144            if (iCurrentHeightPos > iButtonHeightPos || iButtonHeightPos < $(this).scrollTop() + $item.height()) {
145                if (iButtonHeightPos < $(this).scrollTop() - $item.height()) {
146                    $area.fadeIn('fast');
147                } else {
148                    $area.hide();
149                }
150            } else {
151                $area.fadeIn('fast');
152            }
153        } catch(e) { }
154    });
155}; */
156
157/*
158$(function(){
159    // tab
160    $.eTab = function(ul) {
161        $(ul).find('a').on('click', function() {
162            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
163                _target = $(this).attr('href'),
164                _siblings = '.' + $(_target).attr('class');
165            $(_target).show().siblings(_siblings).hide();
166            return false
167        });
168    }
169    if ( window.call_eTab ) {
170        call_eTab();
171    };
172    globalBuyBtnScrollFunc();
173}); */
174
175/*
176  디자인플로어 설정변수
177*/
178var DF = {};
179
180DF['set-prlmain-type'] = {};
181DF['set-prlmain-view'] = {};
182DF['set-prlmain-grid'] = {};
183DF['set-prlmain-btn'] = {};
184
185DF['set-prlrcmd-type'] = {};
186DF['set-prlrcmd-view'] = {};
187DF['set-prlrcmd-grid'] = {};
188DF['set-prlrcmd-btn'] = {};
189
190DF['set-prlnorm-type'] = {};
191DF['set-prlnorm-view'] = {};
192DF['set-prlnorm-grid'] = {};
193DF['set-prlnorm-btn'] = {};
194
195DF['set-prlproj-type'] = {};
196DF['set-prlproj-view'] = {};
197DF['set-prlproj-grid'] = {};
198DF['set-prlproj-btn'] = {};
199
200DF['set-prlsrch-type'] = {};
201DF['set-prlsrch-view'] = {};
202DF['set-prlsrch-grid'] = {};
203DF['set-prlsrch-btn'] = {};
204
205
206// DF 유틸리티 함수 2024-06-08
207function DFready(callback) {
208    document.addEventListener('DOMContentLoaded', callback);
209}
210
211
212/**
213	df-lib
214	
215	업데이트: 2024-06-08
216	//Attr change Check 제거 2024-06-08
217**/
218
219
220// 문자열 파라미터 배열로 가져오기 2016-11-22
221function df_getParam(str){
222	if(!str || typeof str!=='string') return false;
223	var param = new Array();
224	var params;
225	params = str.substring(str.indexOf('?')+1, str.length );
226	params = params.split("&");
227	var size = params.length;
228	var key, value;
229	for(var i=0; i<size; i++){
230		key = params[i].split("=")[0];
231		value = params[i].split("=")[1];
232		param[key] = value;
233	}
234	return param;
235};
236
237
238// 현재 페이지 카테고리 넘버 가져오기 2020-11-16
239// 상품 관련 확인 메모 2024-11-21
240function df_getCateNo(str){
241	var cateno = df_getParam(str)['cate_no'];
242	if(cateno==undefined){
243		var url = window.location.pathname.split('/');
244		if(url[1]=='category')
245			cateno = url[3];
246	}
247	return cateno;
248};
249
250
251// 배열, 문자열 파라미터 지정 값만 가져오기 2016-11-22
252// 연계: df-review
253function df_getValue(data, name){
254	var type = typeof data;
255	if(type!=='string' && type!=='object' || !name) return false;
256	if(type==='string')	data = df_getParam(data);
257	return data[name];
258};
259
260
261
262// 배열 파라미터 문자열로 가져오기 2024-11-21
263// 연계: df-review
264function df_getString(obj){
265	if(!obj || typeof obj!=='object') return false;
266	return $.param(obj);
267}
268
269
270
271// 카페24 미리보기 url 대응 2025-03-17
272// shop번호 + skin-skin번호 반환 처리용
273function df_getPreviewPath() {
274	const path = window.location.pathname;
275	const segments = path.split('/').filter(Boolean);
276
277	if (segments.length > 0 && segments[segments.length - 1].includes('.')) {
278		segments.pop();
279	}
280
281	const shopIndex = segments.findIndex(seg => /^shop\d+$/i.test(seg));
282	const skinIndex = segments.findIndex(seg => /^skin-skin\d+$/i.test(seg));
283
284	if (skinIndex === -1) {
285		return '';
286	}
287
288	let startIndex;
289	if (shopIndex >= 0 && shopIndex < skinIndex) {
290		startIndex = shopIndex;
291	} else {
292		startIndex = skinIndex;
293	}
294	return '/' + segments.slice(startIndex, skinIndex + 1).join('/');
295}
296
297// 전역 상수로 저장
298const DF_PREVIEW_PATH = df_getPreviewPath();
299
300
301
302/* 임시 주석처리 (필요여부 확인필요 
303function df_getString(obj) {
304	if (!obj || typeof obj !== 'object') return false;
305	return Object.keys(obj)
306		.map(key => `${encodeURIComponent(key)}=${encodeURIComponent(obj[key])}`)
307		.join('&');
308}; */
309/*==========================================================================================================
310
311	🎨 디자인플로어 설정 화면
312	본 화면에서 다양한 기능을 설정할 수 있습니다. 수정후 [저장]을 클릭하면 적용됩니다.
313
314	⚠ 수정 참고사항
315	- 아래의 각 설정 항목 중 쌍따옴표("") 안의 내용만 수정하세요.
316    - 쌍따옴표("") 안에 다시 쌍따옴표를 입력하면 오류가 발생합니다.
317	- 내용 입력 시 엔터키를 입력하지 마세요.
318
319	⚠ 문제 발생 시 해결 방법
320	- 방법 ①: /dfloor/setup_backup.js 내용을 덮어쓰기 하면 초기화됩니다.
321	- 방법 ②: 관리자 > 디자인 > 예약/백업/복구에서 복구할 수 있습니다.
322
323==========================================================================================================*/
324
325
326
327
328/**********************************************************************************************************
329
330	1.말풍선 문구
331
332	- 회원가입 버튼에 보이는 말풍선 아이콘입니다.
333	- 가입 시 증정할 적립금 및 문구를 입력하면 표시됩니다.
334	- 지급할 적립금은 '관리자 > 쇼핑몰 설정 > 고객 설정 > 적립금 설정' 에서 합니다.
335
336**********************************************************************************************************/
337
338//말풍선 아이콘 표시 여부
339DF['use-msgbox'] = "off";
340
341//말풍선 아이콘 내 표시 문구
342DF['rep-msgbox-txt'] = "+2,000 P";
343
344
345
346
347/**********************************************************************************************************
348
349	2.고객센터 운영시간
350
351	- 카페24 관리자 '쇼핑몰 설정 > 기본 설정 > 내 쇼핑몰 정보 > CS운영시간'의 입력 내용이 표시됩니다.
352	- 입력 시 엔터를 입력하면 줄바꿈 처리됩니다.
353
354**********************************************************************************************************/
355
356
357
358
359/**********************************************************************************************************
360
361	3.반품지 및 여분 주소
362
363	- 쇼핑몰 하단에 표시되는 추가 주소를 입력하실 수 있습니다.
364	- 주소가 여러 개인 경우 작성 예와 같이 줄바꿈 태그 <br> 을 이용하세요.
365
366	[작성예시]
367	DF['rep-return-txt'] = "반품 주소: 서울 을지로 1층 <br> 매장 주소: 서울 역삼동 1층";
368
369**********************************************************************************************************/
370
371//표시 여부
372DF['use-return'] = "on";
373
374//표시 내용
375DF['rep-return-txt'] = "반품/교환 주소: 50653 경남 양산시 물금읍 증산역로135 퍼스트조양1층 106호";
376
377
378
379
380/**********************************************************************************************************
381
382	4.입금계좌 정보
383
384	- 쇼핑몰 하단에 표시되는 계좌번호 혹은 결제수단을 입력하세요.
385	- 계좌번호가 여러 개인 경우 작성 예와 같이 줄바꿈 태그 <br> 을 이용하세요.
386
387	[작성예시]
388	DF['rep-payment-txt'] = "국민 000-000-0000 <br> 예금주: 디자인플로어";
389
390**********************************************************************************************************/
391
392//표시 여부
393DF['use-payment'] = "on";
394
395//표시 내용
396DF['rep-payment-txt'] = "우리 1005-894-550000 <br> 국민 126337-04-002403 <br> 농협 302-3700-2750-11 <br> 예금주: 권영지(모바일센터)";
397
398
399
400
401/**********************************************************************************************************
402
403	5.메인 슬라이드 배너 설정
404
405	- 동영상을 등록할 경우 배너 매니저의 디자인 매뉴얼을 확인해 주세요.
406
407**********************************************************************************************************/
408
409//[PC] 슬라이드 전환효과
410//입력값: fade	(다음사진으로 페이드 되며 전환됩니다.)
411//입력값: slide	(다음사진으로 슬라이드 되며 전환됩니다.)
412DF['set-mainslide-pc-fx'] = "fade";
413
414//[모바일] 슬라이드 전환효과
415//입력값: fade  (다음사진으로 페이드 되며 전환됩니다.)
416//입력값: slide (다음사진으로 슬라이드 되며 전환됩니다.)
417DF['set-mainslide-mo-fx'] = "slide";
418
419//페이징 디자인 설정
420//입력값: circle	(페이징이 동그라미 모양으로 표시됩니다.)
421//입력값: capsule	(페이징이 알약 모양으로 표시됩니다.)
422//입력값: square	(페이징이 정사각형 모양으로 표시됩니다.)
423//입력값: stick		(페이징이 막대 직사각형 모양으로 표시됩니다.)
424//입력값: bar		(페이징이 바 형태로 표시됩니다.)
425//입력값: text      (페이징에 배너 이름이 텍스트로 표시됩니다.)
426//입력값: fraction	(페이징 버튼 없이 숫자 분수 1/5 형태로 표시됩니다.)
427DF['set-mainslide-pager'] = "circle";
428
429//페이징 타이머 효과 설정
430//입력값: on	(페이징에 로딩 바 애니메이션이 작동됩니다.)
431//입력값: off	(단순 페이징 버튼으로 표시됩니다.)
432DF['set-mainslide-timer'] = "on";
433
434//배너 대기 시간
435//입력 예: 100 = 0.1초, 1000 = 1초
436DF['set-mainslide-pause'] = "4500";
437
438//배너 전환 시간
439//입력 예: 100 = 0.1초, 1000 = 1초
440DF['set-mainslide-speed'] = "500";
441
442
443
444
445/**********************************************************************************************************
446
447	6.상품분류(카테고리) 관련 기능
448
449**********************************************************************************************************/
450
451//[PC] 상품분류 펼쳐 보기 버튼
452//햄버거 버튼의 표시 여부를 설정합니다.
453DF['use-allmenu'] = "on";
454
455
456//[PC] 중분류 팝업 분리 기능
457//마우스 오버시 표시되는 중분류가 입력 값 보다 많으면 분리되어 표시됩니다.
458DF['set-cate-split'] = "15";
459
460
461//[모바일] 상단영역 상품분류 표시 설정
462//입력값: on  (모바일 상단의 카테고리메뉴를 표시합니다.)
463//입력값: off (모바일 상단의 카테고리메뉴를 표시하지 않습니다.)
464DF['use-cate-mo'] = "on";
465
466
467//[모바일] 상단영역 상품분류 표시 타입
468//입력값: scroll  (상품분류가 가로 스크롤로 표시됩니다.)
469//입력값: grid3   (상품분류가 가로3단 박스형태로 표시됩니다.)
470//입력값: grid4   (상품분류가 가로4단 박스형태로 표시됩니다.)
471//입력값: grid5   (상품분류가 가로5단 박스형태로 표시됩니다.)
472DF['set-cate-type'] = "scroll";
473
474
475//[모바일] 상품분류 펼쳐 보기 버튼 */
476//상품분류 표시타입이 스크롤 타입일때만 표시됩니다.
477DF['set-cate-fold'] = "off";
478
479
480
481
482/**********************************************************************************************************
483
484	7.상품목록 화면 설정
485
486	- 상품목록에 관련된 다양한 기능을 설정하실 수 있습니다.
487	- 아래 각 항목의 설명을 참고하여 설정해 주세요.
488
489**********************************************************************************************************/
490
491//상품 목록 썸네일 라운드 처리 기능
492//입력값: off  (효과를 사용하지 않습니다.)
493//입력값: on   (상품목록의 썸네일이 라운드 처리됩니다.)
494DF['set-prl-round'] = "on";
495
496
497//상품 목록 썸네일 테두리 표시 여부
498//입력값: off  (효과를 사용하지 않습니다.)
499//입력값: on   (상품목록에 회색 테두리가 표시됩니다.)
500DF['set-prl-imgbox'] = "off";
501
502
503//상품 목록 롤오버 기능 설정
504//입력값: off	(효과를 사용하지 않습니다.)
505//입력값: swap	(썸네일에 마우스 오버시 작은 목록 이미지가 보여집니다.)
506//입력값: zoom	(썸네일에 마우스 오버시 이미지가 확대됩니다.)
507DF['set-prl-hover'] = "zoom";
508
509
510//상품정보 좌우 정렬
511//입력값: left		(상품정보가 좌측으로 정렬됩니다.)
512//입력값: center	(상품정보가 중앙으로 정렬됩니다.)
513//입력값: right		(상품정보가 우측으로 정렬됩니다.)
514DF['set-prl-array'] = "left";
515
516
517//컬러칩 모양 설정하기
518//입력값: box    (정사각형으로 표시됩니다.)
519//입력값: stick  (직사각형으로 표시됩니다.)
520//입력값: circle (원형으로 표시됩니다.)
521DF['set-prl-color'] = "circle";
522
523
524//상품정보 영역 자르기
525//입력값: off  (효과를 사용하지 않습니다.)
526//입력값: on   (상품정보가 영역을 초과하면 잘라서 한 줄로 표시합니다.)
527DF['set-prl-cut'] = "off";
528
529
530//상품명 라인 표시 여부
531//상품목록의 상품명 아래의 라인 표시 여부를 설정합니다.
532//상품목록에 페이드 효과를 설정한 경우 적용되지 않습니다.
533DF['set-prl-border'] = "off";
534
535
536//가격 한 줄 표시 여부
537//입력값: off  (기능을 사용하지 않습니다.)
538//입력값: on   (소바자가,판매가,할인가가 한줄로 나란히 표시됩니다.)
539DF['set-prl-line'] = "off";
540
541
542//메인분류 더보기 버튼 표시여부
543//상품목록에 슬라이드 효과를 적용한 분류는 더보기가 표시되지 않습니다.
544DF['use-prl-more'] = "on";
545
546
547//상품목록 표시개수 설정 [매뉴얼 참조]
548//상품목록에 한번에 보여질 상품의 표시개수를 설정합니다.
549
550
551
552
553/**********************************************************************************************************
554
555	8.상품 상세 화면 설정
556
557	- 상품상세에 관련된 다양한 기능을 설정하실 수 있습니다.
558	- 아래 각 항목의 설명을 참고하여 설정해 주세요.
559
560**********************************************************************************************************/
561
562//상세페이지 영역별 표시순서
563//상세페이지의 영역별 표시순서를 변경할 수 있습니다. 
564//아래 각 항목에 1~5 사이의 숫자를 입력하세요. (1=최상단, 5=최하단, 중복 불가)
565DF['set-prd-ord-rel'] = "1";  //관련상품
566DF['set-prd-ord-det'] = "2";  //상세설명
567DF['set-prd-ord-gde'] = "3";  //구매안내
568DF['set-prd-ord-rev'] = "4";  //상품후기
569DF['set-prd-ord-qna'] = "5";  //상품문의
570
571
572//상품 아이콘 표시 여부
573//상품명 바로 위의 상품 아이콘의 표시 여부를 설정합니다.
574DF['use-prd-icon'] = "off";
575
576
577//상세 컬러칩 표시 여부
578//상품명 바로 아래의 컬러칩 표시여부를 설정합니다.
579//카페24 관리자 > 쇼핑몰설정 > 상품설정 > 상품정보표시설정 > [상품상세] > 상품색상 표시 에서 설정합니다.
580
581
582//상품 조회수 말풍선 표시 기능
583//상품명 바로위 상품의 조회수가 말풍선으로 표시됩니다.
584DF['use-prs-hits'] = "on";
585
586
587//상품 조회수 말풍선 시작 값
588//상품의 조회수가 입력한 값 이상이 되면 말풍선이 표시됩니다.
589DF['set-prs-hits'] = "10";
590
591
592//상품 공유하기 버튼 표시 여부
593//상품 공유하기 버튼의 표시 여부를 설정합니다.
594DF['use-prd-share'] = "on";
595
596
597//상세 설명 좌우 정렬
598//상세 설명의 정렬을 변경합니다. 상품 등록 시 에디터로 정렬한 경우에는 미반영 됩니다.
599//입력값: left    (상세 설명이 왼쪽 정렬됩니다.)
600//입력값: center  (상세 설명이 가운데 정렬됩니다.)
601DF['set-prd-align'] = "center";
602
603
604//상세페이지 하단 구매 가이드 표시 여부
605//상세페이지 하단에 공통으로 표시되는 결제·배송·반품 가이드입니다.
606DF['use-prd-guide'] = "on";
607
608
609//상세페이지 하단 구매 가이드 표시 타입
610//입력값: fold	(구매가이드를 펼치고 접을 수 있습니다.)
611//입력값: open	(구매가이드가 한번에 전체 표시됩니다.)
612DF['set-prd-guide-type'] = "fold";
613
614
615//상세페이지 하단 후기게시판 표시 여부
616DF['use-prd-review'] = "on";
617
618
619//상세페이지 하단 문의게시판 표시 여부
620DF['use-prd-qna'] = "on";
621
622
623//상세페이지 스크롤 구매 버튼 사용 여부
624//입력값: off  (기능을 사용하지 않습니다.)
625//입력값: on   (스크롤시 하단에 구매버튼이 고정됩니다.)
626DF['set-prd-optfix'] = "on";
627
628
629//금액별 무료배송 체크 기능
630//금액에 따른 무료배송 설정 시 무료배송 조건을 표시합니다.
631DF['set-freeshipping-use'] = "on";
632
633
634//오늘 배송 사용여부
635//배송출발 시간을 표시합니다. on 또는 off를 입력하세요.
636DF['set-todayship-use'] = "off";
637
638
639//오늘 배송이 아닌 경우 표시 여부
640//당일 출고 상품이 아닌 경우, 표시할지를 설정합니다.
641DF['set-todayship-reserve'] = "off";
642
643
644//오늘 배송 시간 설정 
645//24시간제로 1~24 사이 시간을 입력하세요.
646DF['set-todayship-h'] = "16";
647
648
649//오늘 배송 시간(분) 설정 
650//분형식 00~60 사이의 두자리 값을 입력하세요.
651DF['set-todayship-m'] = "30";
652
653
654//오늘 배송 토요일 배송 여부
655//토요일 배송 가능 여부를 on 또는 off 로 입력하세요.
656DF['set-todayship-sat'] = "on";
657
658
659//오늘 배송 일요일 배송 여부
660//일요일 배송 가능 여부를 on 또는 off 로 입력하세요.
661DF['set-todayship-sun'] = "off";
662
663
664//오늘 배송 휴일 정보 입력
665//토요일·일요일은 자동 인식됩니다.
666//휴일 날짜를 "2027-02-03", 과 같은 양식으로 입력하세요.
667//여러 개의 날짜를 추가하려면 엔터 처리 후 다음줄에 입력하세요.
668DF['set-todayship-holidays'] = [
669	"2026-05-05",	// 어린이날
670	"2026-05-25",	// 대체휴일
671	"2026-06-03",	// 지방선거
672	"2026-08-17",	// 대체휴일
673	"2026-09-24",	// 추석
674	"2026-09-25",	// 추석
675];
676
677
678
679
680/**********************************************************************************************************
681
682	9.기타 기능 설정
683
684	- 디자인에 포함된 다양한 기능을 설정하실 수 있습니다.
685	- 아래 각 항목의 설명을 참고하여 설정해 주세요.
686
687**********************************************************************************************************/
688
689//[PC] 멀티팝업 상단 표시위치
690//입력값: 0~500 까지의 값을 입력하세요
691DF['set-multipopup-top'] = "200";
692
693
694//[PC] 멀티팝업 왼쪽 표시위치
695//입력값: 0~500 까지의 값을 입력하세요
696DF['set-multipopup-left'] = "150";
697
698
699//[모바일] 멀티팝업 표시위치
700//입력값: top		(멀티팝업이 상단에 표시됩니다.)
701//입력값: middle	(멀티팝업이 중앙에 표시됩니다.)
702//입력값: bottom	(멀티팝업이 하단에 표시됩니다.)
703DF['set-multipopup-position'] = "bottom";
704
705
706//갤러리 게시판 썸네일 이미지 본문 표시여부
707//갤러리 게시판에서 썸네일(파일첨부 방식)의 본문에서 표시여부를 ì
707„¤ì •합니다.
708//on 으로 설정하면 본문에 첨부파일 이미지가 중복으로 표시될 수 있기 때문에 off 를 권장합니다.
709DF['use-gallery-file'] = "off";
710
711
712
713
714/**********************************************************************************************************
715
716	10.타임세일 효과설정 or 할인관련 설정
717
718	기간할인 상품에 남은시간을 카운트 다운효과로 표시하는 기능입니다.
719
720	1) 상품에 할인 설정하기
721	- 카페24 관리자 '프로모션 > 고객 혜택 관리 > 혜택 등록'으로 이동합니다.
722	- 기간할인을 설정해주세요.
723
724	2) 타임세일 효과 표시위치 정하기
725	- 카페24 관리자 '쇼핑몰 설정 > 상품 설정 > 상품 정보 표시 설정'으로 이동합니다.
726	- 상단의 메인화면, 상품목록, 상품상세 중 카운트다운이 표시되길 원하는 페이지를 클릭합니다.
727	- 메인화면 과 상품목록의 경우 상세분류 선택 후 개별 설정하실 수 있습니다.
728	- 할인기간 항목의 표시설정을 '표시함'으로 설정합니다.
729
730	3) 최종 표시하기
731	- 아래 타임세일 기능 사용여부의 설정에 따라 카운트다운 효과가 표시됩니다.
732
733**********************************************************************************************************/
734
735//타임세일 기능 사용여부
736//타임세일 기능의 사용여부를 설정합니다.
737DF['set-timesale'] = "on";
738
739//타임세일 종료메세지 표시여부
740//할인기간이 설정되지 않았거나, 할인이 종료되면 종료메세지를 표시합니다.
741//단 표시되는 화면내에 대기 또는 진행중인 할인이 존재해야만 작동됩니다.
742DF['set-timesale-end'] = "off";
743
744//상품 할인율 표시 여부
745//소비자가격이 존재하면 소비자가-판매가의 할인율을 표시합니다.
746//할인이 진행중인 경우 할인가-판매가의 할인율을 표시합니다.
747//소비자,판매가,할인가가 모두 존재하면 소비자가를 숨김처리합니다.
748DF['set-discountrate'] = "off";
749
750
751
752
753/**********************************************************************************************************
754
755	11.포토리뷰 설정하기
756
757	- 아래에 표시된 항목의 설정에 따라 포토리뷰의 다양한 기능을 설정할 수 있습니다.
758	- 아래 각 항목의 입력값을 참고하여 설정해주시기 바랍니다.
759
760**********************************************************************************************************/
761
762//메인 리뷰 표시여부
763DF['set-review-mainuse'] = "on";
764
765
766//상세 리뷰 타입보기 버튼 표시여부
767DF['set-review-detailtypebtn'] = "on";
768
769
770//상세 리뷰 표시 타입
771//입력값: list (게시물이 리스트 형태로 표시됩니다.)
772//입력값: gallery (게시물이 갤러리 형태로 표시됩니다.)
773DF['set-review-detailtype'] = "list";
774
775
776//리뷰 게시판 타입보기 버튼 표시여부
777DF['set-review-listtypebtn'] = "on";
778
779
780//레뷰 게시판 표시 타입
781//입력값: list    (게시물이 리스트 형태로 표시됩니다.)
782//입력값: gallery (게시물이 갤러리 형태로 표시됩니다.)
783DF['set-review-listtype'] = "list";
784
785
786
787
788/**********************************************************************************************************
789
790	12.상품목록 가로 개수·노트 타입 설정하기
791
792	- 상품목록의 가로개수 또는 노트타입을 설정합니다.
793	- 안내를 참고하여 쌍따옴표 안의 값을 원하는 값으로 수정해 주세요.
794
795	[입력값 설명]
796	grid1	: 상품 목록이 가로 1개로 표시됩니다.
797	grid2	: 상품 목록이 가로 2개로 표시됩니다.
798	grid3	: 상품 목록이 가로 3개로 표시됩니다. (모바일은 2단으로 표시)
799	grid4	: 상품 목록이 가로 4개로 표시됩니다. (모바일은 2단으로 표시)
800	grid5	: 상품 목록이 가로 5개로 표시됩니다. (모바일은 2단으로 표시)
801	note	: 노트 타입은 가로 2개로 표시됩니다. (모바일은 1단으로 표시)
802
803**********************************************************************************************************/
804
805//메인 1번째 분류 가로개수
806DF['set-prlmain-grid'][1] = "grid4";
807
808//메인 2번째 분류 가로개수
809DF['set-prlmain-grid'][2] = "grid4";
810
811//메인 3번째 분류 가로개수
812DF['set-prlmain-grid'][3] = "grid4";
813
814//메인 4번째 분류 가로개수
815DF['set-prlmain-grid'][4] = "grid4";
816
817//메인 5번째 분류 가로개수
818DF['set-prlmain-grid'][5] = "grid4";
819
820//메인 6번째 분류 가로개수
821DF['set-prlmain-grid'][6] = "grid4";
822
823//메인 7번째 분류 가로개수
824DF['set-prlmain-grid'][7] = "grid4";
825
826//추천 상품목록 가로개수
827DF['set-prlrcmd-grid'][1] = "grid4";
828
829//일반 상품목록 가로개수
830DF['set-prlnorm-grid'][1] = "grid4";
831
832//검색 상품목록 가로개수
833DF['set-prlsrch-grid'][1] = "grid4";
834
835//기획전 목록 가로개수
836DF['set-prlproj-grid'][1] = "grid4";
837
838
839
840
841/**********************************************************************************************************
842
843	13.상품목록 기본·슬라이드·스크롤 설정하기
844
845	- 상품목록 형태를 설정할 수 있습니다.
846	- 안내를 참고하여 쌍따옴표 안의 값을 원하는 값으로 수정해 주세요.
847	- 슬라이드·스크롤 타입은 더보기 버튼이 표시되지 않습니다.
848
849	[입력값 설명]
850	list			:상품이 일반 형태로 표시됩니다.
851	slide			:상품이 슬라이드 되며 마지막 슬라이드에서 재생이 중단됩니다.
852	slide-rewind	:상품이 슬라이드 되며 마지막 슬라이드에서 처음으로 돌아갑니다.
853	slide-loop		:상품을 복제하여 마지막 슬라이드에서 연속 재생됩니다.
854	scroll			:상품목록이 가로 스크롤 타입으로 표시됩니다.
855
856**********************************************************************************************************/
857
858//메인 1번째 분류 리스트타입
859DF['set-prlmain-type'][1] = "list";
860
861//메인 2번째 분류 리스트타입
862DF['set-prlmain-type'][2] = "list";
863
864//메인 3번째 분류 리스트타입
865DF['set-prlmain-type'][3] = "list";
866
867//메인 4번째 분류 리스트타입
868DF['set-prlmain-type'][4] = "list";
869
870//메인 5번째 분류 리스트타입
871DF['set-prlmain-type'][5] = "list";
872
873//메인 6번째 분류 리스트타입
874DF['set-prlmain-type'][6] = "list";
875
876//메인 7번째 분류 리스트타입
877DF['set-prlmain-type'][7] = "list";
878
879//추천 상품목록 리스트타입
880DF['set-prlrcmd-type'][1] = "slide";
881
882//일반 상품목록 리스트타입
883DF['set-prlnorm-type'][1] = "list";
884
885//검색 상품목록 리스트타입
886DF['set-prlsrch-type'][1] = "list";
887
888//기획전 상품목록 리스트타입
889DF['set-prlproj-type'][1] = "list";
890
891
892
893
894/**********************************************************************************************************
895
896	14.상품목록 기본·페이드 효과 설정하기
897
898	- 상품목록 썸네일을 기본 또는 페이드 타입으로 표시할 수 있습니다.
899	- 아래 설명을 참고하여 쌍따옴표 안의 값을 원하는 값으로 수정해주세요.
900
901	[입력값 설명]
902	normal  :상품정보가 기본 형태로 표시됩니다.
903	fade    :상품정보가 숨겨지고 썸네일에 마우스를 올리면 표시되며 모바일은 표시되지 않습니다.
904
905**********************************************************************************************************/
906
907//메인 1번째 분류 뷰타입
908DF['set-prlmain-view'][1] = "normal";
909
910//메인 2번째 분류 뷰타입
911DF['set-prlmain-view'][2] = "normal";
912
913//메인 3번째 분류 뷰타입
914DF['set-prlmain-view'][3] = "normal";
915
916//메인 4번째 분류 뷰타입
917DF['set-prlmain-view'][4] = "normal";
918
919//메인 5번째 분류 뷰타입
920DF['set-prlmain-view'][5] = "normal";
921
922//메인 6번째 분류 뷰타입
923DF['set-prlmain-view'][6] = "normal";
924
925//메인 7번째 분류 뷰타입
926DF['set-prlmain-view'][7] = "normal";
927
928//추천 상품목록 뷰타입
929DF['set-prlrcmd-view'][1] = "normal";
930
931//일반 상품목록 뷰타입
932DF['set-prlnorm-view'][1] = "normal";
933
934//검색 상품목록 뷰타입
935DF['set-prlsrch-view'][1] = "normal";
936
937//기획전 상품목록 뷰타입
938DF['set-prlproj-view'][1] = "normal";
939
940
941
942
943/**********************************************************************************************************
944
945	15.메인 디자인 관련 기능 설정
946
947	- 쇼핑몰 메인화면의 디자인을 설정합니다.
948
949**********************************************************************************************************/
950
951//디자인 풀스크린 모드 설정
952//스마트 편집창 → 전체화면보기 → dfloor → setup_layout.html 파일에서 설정하세요.
953
954
955//로고 정렬 설정
956//스마트 편집창 → 전체화면보기 → dfloor → setup_layout.html 파일에서 설정하세요.
957
958
959//메인 분류 네비게이션 표시 여부
960//메인화면에서 현재 보이는 화면의 분류를 네비게이션바에 표시합니다.
961DF['set-movelist'] = "on";
962
963
964//메인 분류 네비게이션 표시 방향
965//입력값: y  (화면의 왼쪽에 세로로 표시합니다.)
966//입력값: x  (화면의 아래에 가로로 표시합니다.)
967DF['set-movelist-axis'] = "y";
968
969
970//메인 상품 분류별 배너 시작점 설정
971//입력값: before (배너가 각 메인 분류 위에 순차적으로 표시됩니다.)
972//입력값: after  (배너가 각 메인 분류 아래에 순차적으로 표시됩니다.)
973//입력값: middle (배너가 각 메인 분류 타이틀 아래에 순차적으로 표시됩니다.)
974DF['set-divbanner-position'] = "after";
975
976
977
978
979/**********************************************************************************************************
980
981	🎨 디자인 최신 버전 업데이트 안내
982	- 디자인플로어(https://dfloor.co.kr)에서 최신 업데이트 소식을 확인할 수 있습니다.
983	- 사용 중인 디자인을 최신 버전으로 업데이트하려면 디자인플로어 사이트 공지사항을 참조해 주세요.
984
985**********************************************************************************************************/
986
987
988
989
990(function() {
991	// 호스트 체크
992	if (window.location.host.indexOf('ecudemo119600.cafe24.com') >= 0) {
993
994		// 커스텀 CSS 로드
995		document.head.querySelector('link[rel="stylesheet"][href="/css/filename.css"]') || document.head.insertAdjacentHTML('beforeend','<link rel="stylesheet" href="/dfloor/html/sample/intropopup.css">');
996
997		// 글로벌몰 인트로팝업 숨김
998		var style = document.createElement('style')
999		style.textContent = 'html:not([lang^="ko"]) .df-intropopup{display:none !important;}'
1000		document.head.appendChild(style)
1001
1002		// 돔로드 이벤트 
1003		document.addEventListener('DOMContentLoaded', function() {
1004
1005			var cateLinkMap = {
1006				'832': '/shopinfo/company.html',
1007				'838': '/brandlist/list.html'
1008			};
1009
1010			Object.keys(cateLinkMap).forEach(function(cateNo) {
1011				document.querySelectorAll('a[href$="' + cateNo + '"]').forEach(function(anchor) {
1012					anchor.href = cateLinkMap[cateNo];
1013				});
1014			});
1015		  
1016		  
1017			// 카카오·네이버페이
1018			var vendorPayment = document.querySelector('.df-vendor-payment');
1019			if (vendorPayment) {
1020				vendorPayment.style.setProperty('display', 'flex', 'important');	// CSS 우선순위를 무시하고 표시
1021				var imgEl = document.createElement('img');
1022				imgEl.src = '/web/upload/dfloor/sample_detail_pay.png';
1023				vendorPayment.appendChild(imgEl);
1024			}
1025
1026			// 분류별 배너의 레이지로딩을 해제(카페24 샘플보기 이슈 대응)
1027			document.querySelectorAll('.df-divbanner__item img').forEach(function(img) {
1028				img.setAttribute('loading', 'eager');
1029			});
1030
1031			// 상품목록 리뷰 카운트 삽입
1032			document.querySelectorAll('.df-prl__desc-item.review_cnt').forEach(li => {
1033				const el = li.querySelector('strong + span, :scope > span:last-of-type');
1034				if (!el) return;
1035				el.textContent = String(7 + Math.floor(Math.random() * 6)); // 7~12
1036			});
1037
1038		});
1039
1040		window.DF = window.DF || {};
1041
1042		// 말풍선 아이콘 표시 여부
1043		window.DF['use-msgbox'] = "on";
1044
1045		// 반품주소 표시 여부
1046		window.DF['use-return'] = "on";
1047
1048		// 반품주소 표시 내용
1049		window.DF['rep-return-txt'] = "매장 주소: 서울특별시 강남구 삼성동 1F 디자인플로어";
1050
1051		// 입금계좌 정보 표시여부
1052		window.DF['use-payment'] = "on";
1053
1054		//[모바일] 상품분류 펼쳐 보기 버튼
1055		window.DF['set-cate-fold'] = "on";
1056
1057		// 상품목록 라운드 처리
1058		window.DF['set-prl-round'] = "on";
1059
1060		// 상품목록 롤오버 기능
1061		window.DF['set-prl-hover'] = "swap";
1062
1063
1064		// 타임세일 기능 사용여부
1065		window.DF['set-timesale'] = "on";
1066
1067		// 타임세일 종료메세지 표시여부
1068		window.DF['set-timesale-end'] = "on";
1069
1070
1071		// 메인 1번째 분류 리스트타입
1072		window.DF['set-prlmain-type'] = window.DF['set-prlmain-type'] || {};
1073		window.DF['set-prlmain-type'][1] = "slide";
1074
1075		// 메인 3번째 분류 리스트타입
1076		window.DF['set-prlmain-type'][3] = "slide-loop";
1077
1078		// 메인 4번째 분류 리스트타입
1079		window.DF['set-prlmain-type'][4] = "scroll";
1080	}
1081})();
1082/**
1083 * Swiper 11.2.10
1084 * Most modern mobile touch slider and framework with hardware accelerated transitions
1085 * https://swiperjs.com
1086 *
1087 * Copyright 2014-2025 Vladimir Kharlampidi
1088 *
1089 * Released under the MIT License
1090 *
1091 * Released on: June 28, 2025
1092 */
1093
1094var Swiper=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={});const i=["__proto__","constructor","prototype"];Object.keys(a).filter((e=>
vendor: 4,922 bytes, line 1094
1094i.indexOf(e)<0)).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}function n(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}function l(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function d(e,t){void 0===t&&(t="x");const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let a=1;a<arguments.length;a+=1){const i=a<0||arguments.length<=a?void 0:arguments[a];if(null!=i&&(s=i,!("undefined"!=typeof window&&void 0!==window.HTMLElement?s instanceof HTMLElement:s&&(1===s.nodeType||11===s.nodeType)))){const s=Object.keys(Object(i)).filter((e=>t.indexOf(e)<0));for(let t=0,a=s.length;t<a;t+=1){const a=s[t],r=Object.getOwnPropertyDescriptor(i,a);void 0!==r&&r.enumerable&&(c(e[a])&&c(i[a])?i[a].__swiper__?e[a]=i[a]:p(e[a],i[a]):!c(e[a])&&c(i[a])?(e[a]={},i[a].__swiper__?e[a]=i[a]:p(e[a],i[a])):e[a]=i[a])}}}var s;return e}function u(e,t,s){e.style.setProperty(t,s)}function m(e){let{swiper:t,targetPosition:s,side:a}=e;const i=r(),n=-t.translate;let l,o=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new Date).getTime(),null===o&&(o=l);const e=Math.max(Math.min((l-o)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[a]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}function h(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function f(e,t){void 0===t&&(t="");const s=r(),a=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&a.push(...e.assignedElements()),t?a.filter((e=>e.matches(t))):a}function g(e){try{return void console.warn(e)}catch(e){}}function v(e,t){void 0===t&&(t=[]);const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:n(t)),s}function w(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,l=e.clientTop||n.clientTop||0,o=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}function b(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function y(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function E(e,t){const s=[];let a=e.parentElement;for(;a;)t?a.matches(t)&&s.push(a):s.push(a),a=a.parentElement;return s}function x(e,t){t&&e.addEventListener("transitionend",(function s(a){a.target===e&&(t.call(e,a),e.removeEventListener("transitionend",s))}))}function S(e,t,s){const a=r();
vendor: 4,280 bytes, line 1094
1094return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}function M(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function C(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let P,L,I;function z(){return P||(P=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),P}function A(e){return void 0===e&&(e={}),L||(L=function(e){let{userAgent:t}=void 0===e?{}:e;const s=z(),a=r(),i=a.navigator.platform,n=t||a.navigator.userAgent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),m=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let f="MacIntel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!h&&(l.os="android",l.android=!0),(p||m||u)&&(l.os="ios",l.ios=!0),l}(e)),L}function $(){return I||(I=function(){const e=r(),t=A();let s=!1;function a(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(a()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,a]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));s=e<16||16===e&&a<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=a();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||i&&t.ios,isWebView:i}}()),I}var k={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];t.apply(a,r)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];"string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),a=e):(t=r[0].events,s=r[0].data,a=r[0].context||e),s.unshift(a);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(a,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(a,s)}))})),e}};const O=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const D=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const G=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);
vendor: 3,160 bytes, line 1094
1094if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},X=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},Y=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const a="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,r=[s-t];return r.push(...Array.from({length:t}).map(((e,t)=>s+a+t))),void e.slides.forEach(((t,s)=>{r.includes(t.column)&&X(e,s)}))}const r=i+a-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=r+t;a+=1){const t=(a%s+s)%s;(t<i||t>r)&&X(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(r+t,s-1);a+=1)a!==i&&(a>r||a<i)&&X(e,a)};var B={updateSize:function(){const e=this;let t,s;const a=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(b(a,"padding-left")||0,10)-parseInt(b(a,"padding-right")||0,10),s=s-parseInt(b(a,"padding-top")||0,10)-parseInt(b(a,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:a,slidesEl:i,size:r,rtlTranslate:n,wrongRTL:l}=e,o=e.virtual&&s.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,c=f(i,`.${e.params.slideClass}, swiper-slide`),p=o?e.virtual.slides.length:c.length;let m=[];const h=[],g=[];let v=s.slidesOffsetBefore;"function"==typeof v&&(v=s.slidesOffsetBefore.call(e));let w=s.slidesOffsetAfter;"function"==typeof w&&(w=s.slidesOffsetAfter.call(e));const y=e.snapGrid.length,E=e.slidesGrid.length;let x=s.spaceBetween,T=-v,M=0,C=0;if(void 0===r)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*r:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x,c.forEach((e=>{n?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),s.centeredSlides&&s.cssMode&&(u(a,"--swiper-centered-offset-before",""),u(a,"--swiper-centered-offset-after",""));const P=s.grid&&s.grid.rows>1&&e.grid;let L;P?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const I="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter((e=>void 0!==s.breakpoints[e].slidesPerView)).length>0;for(let a=0;a<p;a+=1){let i;if(L=0,c[a]&&(i=c[a]),P&&e.grid.updateSlide(a,i,c),!c[a]||"none"!==b(i,"display")){if("auto"===s.slidesPerView){I&&(c[a].style[e.getDirectionLabel("width")]="");const r=getComputedStyle(i),n=i.style.transform,l=i.style.webkitTransform;if(n&&(i.style.transform="none"),l&&(i.style.webkitTransform="none"),s.roun
vendor: 8,754 bytes, line 1094
1094dLengths)L=e.isHorizontal()?S(i,"width",!0):S(i,"height",!0);else{const e=t(r,"width"),s=t(r,"padding-left"),a=t(r,"padding-right"),n=t(r,"margin-left"),l=t(r,"margin-right"),o=r.getPropertyValue("box-sizing");if(o&&"border-box"===o)L=e+n+l;else{const{clientWidth:t,offsetWidth:r}=i;L=e+s+a+n+l+(r-t)}}n&&(i.style.transform=n),l&&(i.style.webkitTransform=l),s.roundLengths&&(L=Math.floor(L))}else L=(r-(s.slidesPerView-1)*x)/s.slidesPerView,s.roundLengths&&(L=Math.floor(L)),c[a]&&(c[a].style[e.getDirectionLabel("width")]=`${L}px`);c[a]&&(c[a].swiperSlideSize=L),g.push(L),s.centeredSlides?(T=T+L/2+M/2+x,0===M&&0!==a&&(T=T-r/2-x),0===a&&(T=T-r/2-x),Math.abs(T)<.001&&(T=0),s.roundLengths&&(T=Math.floor(T)),C%s.slidesPerGroup==0&&m.push(T),h.push(T)):(s.roundLengths&&(T=Math.floor(T)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&m.push(T),h.push(T),T=T+L+x),e.virtualSize+=L+x,M=L,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+w,n&&l&&("slide"===s.effect||"coverflow"===s.effect)&&(a.style.width=`${e.virtualSize+x}px`),s.setWrapperSize&&(a.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),P&&e.grid.updateWrapperSize(L,m),!s.centeredSlides){const t=[];for(let a=0;a<m.length;a+=1){let i=m[a];s.roundLengths&&(i=Math.floor(i)),m[a]<=e.virtualSize-r&&t.push(i)}m=t,Math.floor(e.virtualSize-r)-Math.floor(m[m.length-1])>1&&m.push(e.virtualSize-r)}if(o&&s.loop){const t=g[0]+x;if(s.slidesPerGroup>1){const a=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),i=t*s.slidesPerGroup;for(let e=0;e<a;e+=1)m.push(m[m.length-1]+i)}for(let a=0;a<e.virtual.slidesBefore+e.virtual.slidesAfter;a+=1)1===s.slidesPerGroup&&m.push(m[m.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===m.length&&(m=[0]),0!==x){const t=e.isHorizontal()&&n?"marginLeft":e.getDirectionLabel("marginRight");c.filter(((e,t)=>!(s.cssMode&&!s.loop)||t!==c.length-1)).forEach((e=>{e.style[t]=`${x}px`}))}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=e>r?e-r:0;m=m.map((e=>e<=0?-v:e>t?t+w:e))}if(s.centerInsufficientSlides){let e=0;g.forEach((t=>{e+=t+(x||0)})),e-=x;const t=(s.slidesOffsetBefore||0)+(s.slidesOffsetAfter||0);if(e+t<r){const s=(r-e-t)/2;m.forEach(((e,t)=>{m[t]=e-s})),h.forEach(((e,t)=>{h[t]=e+s}))}}if(Object.assign(e,{slides:c,snapGrid:m,slidesGrid:h,slidesSizesGrid:g}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){u(a,"--swiper-centered-offset-before",-m[0]+"px"),u(a,"--swiper-centered-offset-after",e.size/2-g[g.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),m.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==E&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(o||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,a=e.el.classList.contains(t);p<=s.maxBackfaceHiddenSlides?a||e.el.classList.add(t):a&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{s.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a<t.length;a+=1)t[a].swiperSlideOffset=(e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:a,rtlTranslate:i,snapGrid:r}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=s.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<a.length;e+=1){const o=a[e];let d=o.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=a[0].swiperSlideOffset);const c=(n+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),p=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),u=-(n-d),m=u+t.slidesSizesGrid[e],h=u>=0&&u<=t.size-t.slidesSizesGrid[e],f=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;f&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e)),O(o,f,s.slideVisibleClass),O(o,h,s.slideFullyVisibleClass),o.progress=i?-c:c,o.originalProgress=i?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===a)i=0,r=!0,n=!0;else{i=(e-t.minTranslate())/a;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||i<=0,n=l||i>=1,s&&(i=0),l&&(i=1)}if(s.loop){const s=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[s],r=t.slidesGrid[a],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=i?(o-i)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:a,activeIndex:i}=e,r=e.virtual&&s.virtual.enabled,n=e.grid&&s.grid&&s.grid.rows>1,l=e=>f(a,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o,d,c;if(r)if(s.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${i}"]`);else n?(o=t.find((e=>e.column===i)),c=t.find((e=>e.column===i+1)),d=t.find((e=>e.column===i-1))):o=t[i];o&&(n||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach((e=>{D(e,e===o,s.slideActiveClass),D(e,e===c,s.slideNextClass),D(e,e===d,s.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:a,params:i,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?a>=t[e]&&a<t[e+1]-(t[e+1]-t[e])/2?i=e:a>=t[e]&&a<t[e+1]&&(i=e+1):a>=t[e]&&(i=e);return s.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),a.indexOf(s)>=0)o=a.indexOf(s);else{const e=Math.min(i.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/i.slidesPerGroup)}if(o>=a.length&&(o=a.length-1),d===r&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const p=t.grid&&i.grid&&i.grid.rows>1;let u;if(t.virtual&&i.virtual.enabled&&i.loop)u=c(d);else if(p){const e=t.slides.find((e=>e.column===d));let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/i.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&Y(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(n!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,a=s.params;let i=e.closest(`.${a.slideClass}, swiper-slide`);!i&&s.isElement&&t&&t.length>
vendor: 4,410 bytes, line 1094
10941&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(i=e)}));let r,n=!1;if(i)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===i){n=!0,r=e;break}if(!i||!n)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=i,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=r,a.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}};var H={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:a,wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=d(i,e);return r+=this.cssOverflowAdjustment(),s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:a,params:i,wrapperEl:r,progress:n}=s;let l,o=0,d=0;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d,i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||(s.isHorizontal()?o-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();l=0===c?0:(e-s.minTranslate())/c,l!==n&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===a&&(a=!0);const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=a&&e>o?o:a&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function N(e){let{swiper:t,runCallbacks:s,direction:a,step:i}=e;const{activeIndex:r,previousIndex:n}=t;let l=a;l||(l=r>n?"next":r<n?"prev":"reset"),t.emit(`transition${i}`),s&&"reset"===l?t.emit(`slideResetTransition${i}`):s&&r!==n&&(t.emit(`slideChangeTransition${i}`),"next"===l?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`))}var R={slideTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e&&(e=parseInt(e,10));const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:f}=r;if(!f&&!a&&!i||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,n);let v=g+Math.floor((n-g)/r.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const w=-o[v];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),a=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<a-(a-s)/2?n=e:t>=s&&t<a&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&(u?w>r.translate&&w>r.minTranslate():w<r.translate&&w<r.minTranslate()))return!1;if(!r.allowSlidePrev&&w>r.translate&&w>r.maxTranslate()&&(p||0)!==n)return!1}let b;n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(w),b=n>p?"next":n<p?"prev":"reset";const y=r.virtual&&r.params.virtual.enabled;if(!(y&&i)&&(u&&-w===r.translate||!u&&w===r.translate))return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(w),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;
vendor: 6,463 bytes, line 1094
1094if(l.cssMode){const e=r.isHorizontal(),s=u?w:-w;if(0===t)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=s}))):h[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1}));else{if(!r.support.smoothScroll)return m({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=$().isSafari;return y&&!i&&E&&r.isElement&&r.virtual.update(!1,!1,n),r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===s&&(s=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const r=i.grid&&i.params.grid&&i.params.grid.rows>1;let n=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)n+=i.virtual.slidesBefore;else{let e;if(r){const t=n*i.params.grid.rows;e=i.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=i.getSlideIndexByData(n);const t=r?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:s}=i.params;let l=i.params.slidesPerView;"auto"===l?l=i.slidesPerViewDynamic():(l=Math.ceil(parseFloat(i.params.slidesPerView,10)),s&&l%2==0&&(l+=1));let o=t-e<l;if(s&&(o=o||e<Math.ceil(l/2)),a&&s&&"auto"!==i.params.slidesPerView&&!r&&(o=!1),o){const a=s?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:a,slideTo:!0,activeSlideIndex:"next"===a?e+1:e-t+1,slideRealIndex:"next"===a?i.realIndex:void 0})}if(r){const e=n*i.params.grid.rows;n=i.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)).column}else n=i.getSlideIndexByData(n)}return requestAnimationFrame((()=>{i.slideTo(n,t,s,a)})),i},slideNext:function(e,t,s){void 0===t&&(t=!0);const a=this,{enabled:i,params:r,animating:n}=a;if(!i||a.destroyed)return a;void 0===e&&(e=a.params.speed);let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<r.slidesPerGroupSkip?1:l,d=a.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&r.cssMode)return requestAnimationFrame((()=>{a.slideTo(a.activeIndex+o,e,t,s)})),!0}return r.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===t&&(t=!0);const a=this,{params:i,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=a;if(!o||a.destroyed)return a;void 0===e&&(e=a.params.speed);const c=a.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(l?a.translate:-a.translate),m=r.map((e=>p(e))),h=i.freeMode&&i.freeMode.enabled;let f=r[m.indexOf(u)-1];if(void 0===f&&(i.cssMode||h)){let e;r.forEach(((t,s)=>{u>=t&&(e=s)})),void 0!==e&&(f=h?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&(g=n.indexOf(f),g<0&&(g=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=g-a.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return i.loop&&0===a.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{a.slideTo(g,e,t,s)})),!0):a.slideTo(g,e,t,s)},slideReset:function(e,t,s){void 0===t&&(t=!0);const a=this;if(!a.destroyed)return void 0===e&&(e=a.params.speed),a.slideTo(a.activeIndex,e,t,s)},slideToClosest:function(e,t,s,a){void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.getSlideIndexWhenGrid(e.clickedIndex);const n=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):r>(o?(e.slides.length-a)/2-(e.params.grid.rows-1):e.slides.length-a)?(e.loopFix(),r=e.getSlideIndex(f(s,`${n}[data-swiper-slide-index="${i}"]`)[0]),l((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var _={loopCreate:function(e,t){const s=this,{params:a,slidesEl:i}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{f(i,`.${a.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},n=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||n)&&(()=>{const e=f(i,`.${a.slideBlankClass}`);e.forEach((e=>{e.remove()})),e.length>0&&(s.recalcSlides(),s.updateSlides())})();const l=a.slidesPerGroup*(n?a.grid.rows:1),o=s.slides.length%l!=0,d=n&&s.slides.length%a.grid.rows!=0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?v("swiper-slide",[a.slideBlankClass]):v("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(e)}};if(o){if(a.loopAddBlankSlides){c(l-s.slides.length%l),s.recalcSlides(),s.updateSlides()}else g("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
1094not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else if(d){if(a.loopAddBlankSlides){c(a.grid.rows-s.slides.length%a.grid.rows),s.recalcSlides(),s.updateSlides()}else g("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");r()}else r();s.loopFix({slideRealIndex:e,direction:a.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:s=!0,direction:a,setTranslate:i,activeSlideIndex:r,initial:n,byController:l,byMousewheel:o}=void 0===e?{}:e;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:c,allowSlidePrev:p,allowSlideNext:u,slidesEl:m,params:h}=d,{centeredSlides:f,initialSlide:v}=h;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&h.virtual.enabled)return s&&(h.centeredSlides||0!==d.snapIndex?h.centeredSlides&&d.snapIndex<h.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0):d.slideTo(d.virtual.slides.length,0,!1,!0)),d.allowSlidePrev=p,d.allowSlideNext=u,void d.emit("loopFix");let w=h.slidesPerView;"auto"===w?w=d.slidesPerViewDynamic():(w=Math.ceil(parseFloat(h.slidesPerView,10)),f&&w%2==0&&(w+=1));const b=h.slidesPerGroupAuto?w:h.slidesPerGroup;let y=f?Math.max(b,Math.ceil(w/2)):b;y%b!=0&&(y+=b-y%b),y+=h.loopAdditionalSlides,d.loopedSlides=y;const E=d.grid&&h.grid&&h.grid.rows>1;c.length<w+y||"cards"===d.params.effect&&c.length<w+2*y?g("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===h.grid.fill&&g("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],S=[],T=E?Math.ceil(c.length/h.grid.rows):c.length,M=n&&T-v<w&&!f;let C=M?v:d.activeIndex;void 0===r?r=d.getSlideIndex(c.find((e=>e.classList.contains(h.slideActiveClass)))):C=r;const P="next"===a||!a,L="prev"===a||!a;let I=0,z=0;const A=(E?c[r].column:r)+(f&&void 0===i?-w/2+.5:0);if(A<y){I=Math.max(y-A,b);for(let e=0;e<y-A;e+=1){const t=e-Math.floor(e/T)*T;if(E){const e=T-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&x.push(t)}else x.push(T-t-1)}}else if(A+w>T-y){z=Math.max(A-(T-2*y),b),M&&(z=Math.max(z,w-T+v+1));for(let e=0;e<z;e+=1){const t=e-Math.floor(e/T)*T;E?c.forEach(((e,s)=>{e.column===t&&S.push(s)})):S.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),"cards"===d.params.effect&&c.length<w+2*y&&(S.includes(r)&&S.splice(S.indexOf(r),1),x.includes(r)&&x.splice(x.indexOf(r),1)),L&&x.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),P&&S.forEach((e=>{c[e].swiperLoopMoveDOM=!0,m.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===h.slidesPerView?d.updateSlides():E&&(x.length>0&&L||S.length>0&&P)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),h.watchSlidesProgress&&d.updateSlidesOffset(),s)if(x.length>0&&L){if(void 0===t){const e=d.slidesGrid[C],t=d.slidesGrid[C+I]-e;o?d.setTranslate(d.translate-t):(d.slideTo(C+Math.ceil(I),0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(i){const e=E?x.length/h.grid.rows:x.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(S.length>0&&P)if(void 0===t){const e=d.slidesGrid[C],t=d.slidesGrid[C-z]-e;o?d.setTranslate(d.translate-t):(d.slideTo(C-z,0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=E?S.length/h.grid.rows:S.length;d.slideTo(d.activeIndex-e,0,!1,!0)}if(d.allowSlidePrev=p,d.allowSlideNext=u,d.controller&&d.controller.control&&!l){const e={slideRealIndex:t,direction:a,setTranslate:i,activeSlideIndex:r,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&s})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===h.slidesPerView&&s})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];
vendor: 3,381 bytes, line 1094
1094e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),a.forEach((e=>{s.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function q(e,t,s){const a=r(),{params:i}=e,n=i.edgeSwipeDetection,l=i.edgeSwipeThreshold;return!n||!(s<=l||s>=a.innerWidth-l)||"prevent"===n&&(t.preventDefault(),!0)}function V(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void q(t,i,i.targetTouches[0].pageX);const{params:l,touches:d,enabled:c}=t;if(!c)return;if(!l.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=i.target;if("wrapper"===l.touchEventsTarget&&!function(e,t){const s=r();let a=t.contains(e);!a&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(a=[...t.assignedElements()].includes(e),a||(a=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return a}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!l.noSwipingClass&&""!==l.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!(!i.target||!i.target.shadowRoot);if(l.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(h,p):p.closest(h)))return void(t.allowClick=!0);if(l.swipeHandler&&!p.closest(l.swipeHandler))return;d.currentX=i.pageX,d.currentY=i.pageY;const g=d.currentX,v=d.currentY;if(!q(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=g,d.startY=v,n.touchStartTime=o(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),l.freeMode&&l.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function F(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:d}=s;if(!d)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find((e=>e.identifier===i.touchId)
vendor: 5,269 bytes, line 1094
1094),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return n.startX=u,void(n.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=o()));if(r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(m<n.startY&&s.translate<=s.maxTranslate()||m>n.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(l&&(u>n.startX&&-s.translate<=s.maxTranslate()||u<n.startX&&-s.translate>=s.minTranslate()))return;if(!l&&(u<n.startX&&s.translate<=s.maxTranslate()||u>n.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=m;const h=n.currentX-n.startX,f=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(h**2+f**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&n.currentY===n.startY||s.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&p.cancelable&&p.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&p.stopPropagation();let g=s.isHorizontal()?h:f,v=s.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),n.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!r.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**x))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===r.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,r.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**x))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function 
vendor: 4,379 bytes, line 1094
1094W(e){const t=this,s=t.touchEventsData;let a,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(a=[...i.changedTouches].find((e=>e.identifier===s.touchId)),!a||a.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(i.pointerId!==s.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}s.pointerId=null,s.touchId=null;const{params:r,touches:n,rtlTranslate:d,slidesGrid:c,enabled:p}=t;if(!p)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",i),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&r.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);r.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=o(),m=u-s.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(s.lastClickTime=o(),l((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===n.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=r.followFinger?d?t.translate:-t.translate:-s.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const f=h>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==c[e+t]?(f||h>=c[e]&&h<c[e+t])&&(g=e,v=c[e+t]-c[e]):(f||h>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;r.rewind&&(t.isBeginning?b=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(h-c[g])/v,E=g<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-r.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>r.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g):("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g))}}function j(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function U(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function K(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Z(e){const t=this;G(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
vendor: 5,575 bytes, line 1094
1094)}function Q(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const J=(e,t)=>{const s=a(),{params:i,el:r,wrapperEl:n,device:l}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[d]("touchstart",e.onTouchStart,{passive:!1}),r[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&n[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",j,!0):e[c]("observerUpdate",j,!0),r[d]("load",e.onLoad,{capture:!0}))};const ee=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var te={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function se(e,t){return function(s){void 0===s&&(s={});const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(!0===e[a]&&(e[a]={enabled:!0}),"navigation"===a&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),a in e&&"enabled"in i?("object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),p(t,s)):p(t,s)):p(t,s)}}const ae={eventsEmitter:k,update:B,translate:H,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),N({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),N({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:R,loop:_,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=V.bind(e),e.onTouchMove=F.bind(e),e.onTouchEnd=W.bind(e),e.onDocumentTouchStart=Q.bind(e),t.cssMode&&(e.onScroll=K.bind(e)),e.onClick=U.bind(e),e.onLoad=Z.bind(e),J(e,"on")},detachEvents:function(){J(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=a(),o="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:l.querySelector(i.breakpointsBase),c=e.getBreakp
vendor: 3,981 bytes, line 1094
1094oint(n,o,d);if(!c||e.currentBreakpoint===c)return;const u=(c in n?n[c]:void 0)||e.originalParams,m=ee(e,i),h=ee(e,u),f=e.params.grabCursor,g=u.grabCursor,v=i.enabled;m&&!h?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&h&&(r.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!g?e.unsetGrabCursor():!f&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const s=i[t]&&i[t].enabled,a=u[t]&&u[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const w=u.direction&&u.direction!==i.direction,b=i.loop&&(u.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),p(e.params,u);const E=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&x?(e.loopCreate(t),e.updateSlides()):y&&!x&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<l.length;e+=1){const{point:r,value:n}=l[e];"window"===t?i.matchMedia(`(min-width: ${n}px)`).matches&&(a=r):n<=s.clientWidth&&(a=r)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,el:i,device:r}=e,n=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},ie={};class re{constructor(){let e,t;for(var s=arguments.length,i=new Array(s),r=0;r<s;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=p({},t),e&&!t.el&&(t.el=e);const n=a();if(t.el&&"string"==typeof t.el&&n.querySelectorAll(t.el).length>1){const e=[];return n.querySelectorAll(t.el).forEach((s=>{const a=p({},t,{el:s});e.push(new re(a))})),e}const l=this;l.__swiper__=!0,l.support=z(),l.device=A({userAgent:t.userAgent}),l.browser=$(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const o={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:se(t,o),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const d=p({},te,o);return l.params=p({},d,ie,t),l.originalParams=p({},l.params),l.passedParams=p({}
vendor: 4,848 bytes, line 1094
1094,t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,a=y(f(t,`.${s.slideClass}, swiper-slide`)[0]);return y(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=f(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=a[l]?Math.ceil(a[l].swiperSlideSize):0;for(let s=l+1;s<a.length;s+=1)a[s]&&!e&&(t+=Math.ceil(a[s].swiperSlideSize),o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<a.length;e+=1){(t?i[e]+r[e]-i[l]<n:i[e]-i[l]<n)&&(o+=1)}else for(let e=l-1;e>=0;e-=1){i[l]-i[e]<n&&(o+=1)}return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&G(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)a(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||a()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${a}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEac
vendor: 4,493 bytes, line 1094
1094h((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){return s.shadowRoot.querySelector(a())}return f(s,a())[0]})();return!i&&t.params.createElements&&(i=v("div",t.params.wrapperClass),s.append(i),f(s,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:s,wrapperEl:i,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:i,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===b(s,"direction")),wrongRTL:"-webkit-box"===b(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach((e=>{e.complete?G(t,e):e.addEventListener("load",(e=>{G(t,e.target)}))})),Y(t),t.initialized=!0,Y(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,el:i,wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach((e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){p(ie,e)}static get extendedDefaults(){return ie}static get defaults(){return te}static installModule(e){re.prototype.__modules__||(re.prototype.__modules__=[]);const t=re.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>re.installModule(e))),re):(re.installModule(e),re)}}function ne(e,t,s,a){return e.params.createElements&&Object.keys(a).forEach((i=>{if(!s[i]&&!0===s.auto){let r=f(e.el,`.${a[i]}`)[0];r||(r=v("div",a[i]),r.className=a[i],e.el.append(r)),s[i]=r,t[i]=r}})),s}function le(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function oe(e){const t=this,{params:s,slidesEl:a}=t;s.loop&&t.loopDestroy();const i=e=>{if("string"==typeof e){const t=document.createElement("div");C(t,e),a.append(t.children[0]),C(t,"")}else a.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i(e[t]);else i(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update()}function de(e){const t=this,{params:s,activeIndex:a,slidesEl:i}=t;s.loop&&t.loopDestroy();let r=a+1;const n=e=>{if("string"==typeof e){const t=document.createElement("div");C(t,e),i.prepend(t.children[0]),C(t,"")}else i.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);r=a+e.length}else n(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(
vendor: 7,243 bytes, line 1094
1094),t.slideTo(r,0,!1)}function ce(e,t){const s=this,{params:a,activeIndex:i,slidesEl:r}=s;let n=i;a.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.recalcSlides());const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides[t];e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);o=n>e?n+t.length:n}else r.append(t);for(let e=0;e<d.length;e+=1)r.append(d[e]);s.recalcSlides(),a.loop&&s.loopCreate(),a.observer&&!s.isElement||s.update(),a.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function pe(e){const t=this,{params:s,activeIndex:a}=t;let i=a;s.loop&&(i-=t.loopedSlides,t.loopDestroy());let r,n=i;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)r=e[s],t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1),n=Math.max(n,0);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),s.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function ue(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function me(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate _virtualUpdated",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function he(e,t){const s=h(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function fe(e){let{swiper:t,duration:s,transformElements:a,allSlides:i}=e;const{activeIndex:r}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=i?a:a.filter((e=>{const s=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.find((t=>t.shadowRoot&&t.shadowRoot===e.parentNode));return e.parentElement})(e):e;return t.getSlideIndex(s)===r})),e.forEach((e=>{x(e,(()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(e)}))}))}}function ge(e,t,s){const a=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=h(t);let r=i.querySelector(`.${a.split(" ").join(".")}`);return r||(r=v("div",a.split(" ")),i.append(r)),r}Object.keys(ae).forEach((e=>{Object.keys(ae[e]).forEach((t=>{re.prototype[t]=ae[e][t]}))})),re.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{l=i.requestAnimationFrame((()=>{const{width:s,height:a}=t;let i=s,r=a;e.forEach((e=>{let{contentBoxSize:s,contentRect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlineSize,r=a?a.height:(s[0]||s).blockSize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelAnimationFrame(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,s){void 0===s&&(s={});const a=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const s=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(s):l.setTimeout(s,0)}));a.observe(e,{attributes:void 0===s.attributes||s.attributes,childList:t.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),n.push(a)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=E(t.hostEl);for(let t=0;t<e.length;t+=1)o(e[t])}o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}})),a("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const ve=[function(e){let t,{swiper:s,extendParams:i,on:r,emit:n}=e;i({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const l=a();s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=l.createElement("div");function d(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];let i;return a.renderSlide?(i=a.renderSlide.call(s,e,t),"string"==typeof i&&(C(o,i),i=o.children[0])):i=s.isElement?v("swiper-slide"):v("div",s.params.slideClass),i.setAttribute("data-swiper-slide-index",t),a.renderSlide||C(i,e),a.cache&&(s.virtual.cache[t]=i),i}function c(e,t,a){const{slidesPerView:i,slidesPerGroup:r,centeredSlides:l,loop:o,initialSlide:c}=s.params;if(t&&!o&&c>0)return;const{addSlidesBefore:p,addSlidesAfter:u}=s.params.virtual,{from:m,to:h,slides:g,slidesGrid:v,offset:w}=s.virtual;s.params.cssMode||s.updateActiveIndex();const b=void 0===a?s.activeIndex||0:a;let y,E,x;y=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",l?(E=Math.floor(i/2)+r+u,x=Math.floor(i/2)+r+p):(E=i+(r-1)+u,x=(o?i:r)+p);let S=b-x,T=b+E;o||(S=Math.max(S,0),T=Math.min(T,g.length-1));let M=(s.slidesGrid[S]||0)-(s.slidesGrid[0]||0);function C(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),n("virtualUpdate")}if(o&&b>=x?(S-=x,l||(M+=s.slidesGrid[0])):o&&b<x&&(S=-x,l&&(M+=s.slidesGrid[0])),Object.assign(s.virtual,{from:S,to:T,offset:M,slidesGrid:s.slidesGrid,slidesBefore:x,slidesAfter:E}),m===S&&h===T&&!e)return s.slidesGrid!==v&&M!==w&&s.slides.forEach((e=>{e.style[y]=M-Math.abs(s.cssOverflowAdjustment())+"px"})),s.updateProgress(),void n("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:M,from:S,to:T,slides:function(){const e=[];for(let t=S;t<=T;t+=1)e.push(g[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?C():n("virtualUpdate"));const P=[],L=[],I=e=>{let t=e;return e<0?t=g.length+e:t>=g.length&&(t-=g.length),t};if(e)s.slides.filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`))).forEach((e=>{e.remove()}));else for(let e=m;e<=h;e+=1)if(e<S||e>T){const t=I(e);s.slides.filter((e=>e.matches(`.${s.params.slideClass}[data-swiper-slide-index="${t}"], swiper-slide[data-swiper-slide-index="${t}
1094"]`))).forEach((e=>{e.remove()}))}const z=o?-g.length:0,A=o?2*g.length:g.length;for(let t=z;t<A;t+=1)if(t>=S&&t<=T){const s=I(t);void 0===h||e?L.push(s):(t>h&&L.push(s),t<m&&P.push(s))}if(L.forEach((e=>{s.slidesEl.append(d(g[e],e))})),o)for(let e=P.length-1;e>=0;e-=1){const t=P[e];s.slidesEl.prepend(d(g[t],t))}else P.sort(((e,t)=>t-e)),P.forEach((e=>{s.slidesEl.prepend(d(g[e],e))}));f(s.slidesEl,".swiper-slide, swiper-slide").forEach((e=>{e.style[y]=M-Math.abs(s.cssOverflowAdjustment())+"px"})),C()}r("beforeInit",(()=>{if(!s.params.virtual.enabled)return;let e;if(void 0===s.passedParams.virtual.slides){const t=[...s.slidesEl.children].filter((e=>e.matches(`.${s.params.slideClass}, swiper-slide`)));t&&t.length&&(s.virtual.slides=[...t],e=!0,t.forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t),s.virtual.cache[t]=e,e.remove()})))}e||(s.virtual.slides=s.params.virtual.slides),s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,c(!1,!0)})),r("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{c()}),100)):c())})),r("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&u(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);c(!0)},prependSlide:function(e){const t=s.activeIndex;let a=t+1,i=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);a=t+e.length,i=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach((s=>{const a=e[s],r=a.getAttribute("data-swiper-slide-index");r&&a.setAttribute("data-swiper-slide-index",parseInt(r,10)+i),t[parseInt(s,10)+i]=a})),s.virtual.cache=t}c(!0),s.slideTo(a,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)s.params.virtual.cache&&(delete s.virtual.cache[e[a]],Object.keys(s.virtual.cache).forEach((t=>{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])}))),s.virtual.slides.splice(e[a],1),e[a]<t&&(t-=1),t=Math.max(t,0);else s.params.virtual.cache&&(delete s.virtual.cache[e],Object.keys(s.virtual.cache).forEach((t=>{t>e&&(s.virtual.cache[t-1]=s.virtual.cache[t],s.virtual.cache[t-1].setAttribute("data-swiper-slide-index",t-1),delete s.virtual.cache[t])}))),s.virtual.slides.splice(e,1),e<t&&(t-=1),t=Math.max(t,0);c(!0),s.slideTo(t,0)},removeAllSlides:function(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),c(!0),s.slideTo(0,0)},update:c})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const l=a(),o=r();function d(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let a=e;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===i,c=r&&34===i,p=37===i,u=39===i,m=38===i,h=40===i;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&h||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&m||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||l.activeElement&&(l.activeElement.isContentEditable||l.activeElement.nodeName&&("input"===l.activeElement.nodeName.toLowerCase()||"textarea"===l.activeElement.nodeName.toLowerCase())))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||m||h)){let e=!1;if(E(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===E(t.el,`.${t.params.slideActiveClass}`).length)return;const a=t.el,i=a.clientWidth,r=a.clientHeight,n=o.innerWidth,l=o.innerHeight,d=w(a);s&&(d.left-=a.scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||m||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||h)&&t.slideNext(),(d||m)&&t.slidePrev()),n("keyPress",i)}}function c(){t.keyboard.enabled||(l.addEventListener("keydown",d),t.keyboard.enabled=!0)}function p(){t.keyboard.enabled&&(l.removeEventListener("keydown",d),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&c()})),i("destroy",(()=>{t.keyboard.enabled&&p()})),Object.assign(t.keyboard,{enable:c,disable:p})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();let d;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),t.mousewheel={enabled:!1};let c,p=o();const u=[];function m(){t.enabled&&(t.mouseEntered=!0)}function h(){t.enabled&&(t.mouseEntered=!1)}function f(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&o()-p<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&o()-p<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),p=(new n.Date).getTime(),!1)))}function g(e){let s=e,a=!0;if(!t.enabled)return;if(e.target.closest(`.${t.params.mousewheel.noMousewheelClass}`))return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let n=t.el;"container"!==t.params.mousewheel.eventsTarget&&(n=document.querySelector(t.params.mousewheel.eventsTarget));const p=n&&n.contains(s.target);if(!t.mouseEntered&&!p&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const h=t.rtlTranslate?-1:1,g=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120
vendor: 4,794 bytes, line 1094
1094),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*h}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*h:-g.pixelY;if(0===m)return!0;r.invert&&(m=-m);let v=t.getTranslate()+m*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),a=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),a&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:o(),delta:Math.abs(m),direction:Math.sign(m)},a=c&&e.time<c.time+500&&e.delta<=c.delta&&e.direction===c.direction;if(!a){c=void 0;let n=t.getTranslate()+m*r.sensitivity;const o=t.isBeginning,p=t.isEnd;if(n>=t.minTranslate()&&(n=t.minTranslate()),n<=t.maxTranslate()&&(n=t.maxTranslate()),t.setTransition(0),t.setTranslate(n),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!o&&t.isBeginning||!p&&t.isEnd)&&t.updateSlidesClasses(),t.params.loop&&t.loopFix({direction:e.direction<0?"next":"prev",byMousewheel:!0}),t.params.freeMode.sticky){clearTimeout(d),d=void 0,u.length>=15&&u.shift();const s=u.length?u[u.length-1]:void 0,a=u[0];if(u.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))u.splice(0);else if(u.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=m>0?.8:.2;c=e,u.splice(0),d=l((()=>{!t.destroyed&&t.params&&t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}d||(d=l((()=>{if(t.destroyed||!t.params)return;c=e,u.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplay.disableOnInteraction&&t.autoplay.stop(),r.releaseOnEdges&&(n===t.minTranslate()||n===t.maxTranslate()))return!0}}else{const s={time:o(),delta:Math.abs(m),direction:Math.sign(m),raw:e};u.length>=2&&u.shift();const a=u.length?u[u.length-1]:void 0;if(u.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&f(s):f(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(e){let s=t.el;"container"!==t.params.mousewheel.eventsTarget&&(s=document.querySelector(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",h),s[e]("wheel",g)}function w(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",g),!0):!t.mousewheel.enabled&&(v("addEventListener"),t.mousewheel.enabled=!0,!0)}function b(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,g),!0):!!t.mousewheel.enabled&&(v("removeEventListener"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&b(),t.params.mousewheel.enabled&&w()})),a("destroy",(()=>{t.params.cssMode&&w(),t.mousewheel.enabled&&b()})),Object.assign(t.mousewheel,{enable:w,disable:b})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;function r(e){let s;return e&&"string"==typeof e&&t.isElement&&(s=t.el.querySelector(e)||t.hostEl.querySelector(e),s)?s:(e&&("string"==typeof e&&(s=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&s&&s.length>1&&1===t.el.querySelectorAll(e).length?s=t.el.querySelector(e):s&&1===s.length&&(s=s[0])),e&&!s?e:s)}function n(e,s){const a=t.params.navigation;(e=T(e)).forEach((e=>{e&&(e.classList[s?"add":"remove"](...a.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=s),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](a.lockClass))}))}function l(){const{nextEl:e,prevEl:s}=t.navigation;if(t.params.loop)return n(s,!1),void n(e,!1);n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function c(){const e=t.params.navigation;if(t.params.navigation=ne(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let s=r(e.nextEl),a=r(e.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:a}),s=T(s),a=T(a);const i=(s,a)=>{s&&s.addEventListener("click","next"===a?d:o),!t.enabled&&s&&s.classList.add(...e.lockClass.split(" "))};
vendor: 4,373 bytes, line 1094
1094s.forEach((e=>i(e,"next"))),a.forEach((e=>i(e,"prev")))}function p(){let{nextEl:e,prevEl:s}=t.navigation;e=T(e),s=T(s);const a=(e,s)=>{e.removeEventListener("click","next"===s?d:o),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach((e=>a(e,"next"))),s.forEach((e=>a(e,"prev")))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},a("init",(()=>{!1===t.params.navigation.enabled?u():(c(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{p()})),a("enable disable",(()=>{let{nextEl:e,prevEl:s}=t.navigation;e=T(e),s=T(s),t.enabled?l():[...e,...s].filter((e=>!!e)).forEach((e=>e.classList.add(t.params.navigation.lockClass)))})),a("click",((e,s)=>{let{nextEl:a,prevEl:r}=t.navigation;a=T(a),r=T(r);const n=s.target;let l=r.includes(n)||a.includes(n);if(t.isElement&&!l){const e=s.path||s.composedPath&&s.composedPath();e&&(l=e.find((e=>a.includes(e)||r.includes(e))))}if(t.params.navigation.hideOnClick&&!l){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;a.length?e=a[0].classList.contains(t.params.navigation.hiddenClass):r.length&&(e=r[0].classList.contains(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),[...a,...r].filter((e=>!!e)).forEach((e=>e.classList.toggle(t.params.navigation.hiddenClass)))}}));const u=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),c(),l()},disable:u,update:l,init:c,destroy:p})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function d(e,s){const{bulletActiveClass:a}=t.params.pagination;e&&(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${a}-${s}`),(e=e[("prev"===s?"previous":"next")+"ElementSibling"])&&e.classList.add(`${a}-${s}-${s}`))}function c(e){const s=e.target.closest(le(t.params.pagination.bulletClass));if(!s)return;e.preventDefault();const a=y(s)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===a)return;const e=(i=t.realIndex,r=a,n=t.slides.length,(r%=n)==1+(i%=n)?"next":r===i-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(a)}else t.slideTo(a);var i,r,n}function p(){const e=t.rtl,s=t.params.pagination;if(o())return;let a,r,c=t.pagination.el;c=T(c);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,u=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(r=t.previousRealIndex||0,a=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(a=t.snapIndex,r=t.previousSnapIndex):(r=t.previousIndex||0,a=t.activeIndex||0),"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let o,p,u;if(s.dynamicBullets&&(n=S(i[0],t.isHorizontal()?"width":"height",!0),c.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=n*(s.dynamicMainBullets+4)+"px"})),s.dynamicMainBullets>1&&void 0!==r&&(l+=a-(r||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),o=Math.max(a-l,0),p=o+(Math.min(i.length,s.dynamicMainBullets)-1),u=(p+o)/2),i.forEac
vendor: 9,756 bytes, line 1094
1094h((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),c.length>1)i.forEach((e=>{const i=y(e);i===a?e.classList.add(...s.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),s.dynamicBullets&&(i>=o&&i<=p&&e.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),i===o&&d(e,"prev"),i===p&&d(e,"next"))}));else{const e=i[a];if(e&&e.classList.add(...s.bulletActiveClass.split(" ")),t.isElement&&i.forEach(((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")})),s.dynamicBullets){const e=i[o],t=i[p];for(let e=o;e<=p;e+=1)i[e]&&i[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(t,"next")}}if(s.dynamicBullets){const a=Math.min(i.length,s.dynamicMainBullets+4),r=(n*a-n)/2-u*n,l=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?l:"top"]=`${r}px`}))}}c.forEach(((e,r)=>{if("fraction"===s.type&&(e.querySelectorAll(le(s.currentClass)).forEach((e=>{e.textContent=s.formatFractionCurrent(a+1)})),e.querySelectorAll(le(s.totalClass)).forEach((e=>{e.textContent=s.formatFractionTotal(u)}))),"progressbar"===s.type){let i;i=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const r=(a+1)/u;let n=1,l=1;"horizontal"===i?n=r:l=r,e.querySelectorAll(le(s.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===s.type&&s.renderCustom?(C(e,s.renderCustom(t,a+1,u)),0===r&&i("paginationRender",e)):(0===r&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](s.lockClass)}))}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let a=t.pagination.el;a=T(a);let r="";if("bullets"===e.type){let a=t.params.loop?Math.ceil(s/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&a>s&&(a=s);for(let s=0;s<a;s+=1)e.renderBullet?r+=e.renderBullet.call(t,s,e.bulletClass):r+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],a.forEach((s=>{"custom"!==e.type&&C(s,r||""),"bullets"===e.type&&t.pagination.bullets.push(...s.querySelectorAll(le(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",a[0])}function m(){t.params.pagination=ne(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s;"string"==typeof e.el&&t.isElement&&(s=t.el.querySelector(e.el)),s||"string"!=typeof e.el||(s=[...document.querySelectorAll(e.el)]),s||(s=e.el),s&&0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(s)&&s.length>1&&(s=[...t.el.querySelectorAll(e.el)],s.length>1&&(s=s.find((e=>E(e,".swiper")[0]===t.el)))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(t.pagination,{el:s}),s=T(s),s.forEach((s=>{"bullets"===e.type&&e.clickable&&s.classList.add(...(e.clickableClass||"").split(" ")),s.classList.add(e.modifierClass+e.type),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.classList.add(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.classList.add(e.progressbarOppositeClass),e.clickable&&s.addEventListener("click",c),t.enabled||s.classList.add(e.lockClass)})))}function h(){const e=t.params.pagination;if(o())return;let s=t.pagination.el;s&&(s=T(s),s.forEach((s=>{s.classList.remove(e.hiddenClass),s.classList.remove(e.modifierClass+e.type),s.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(s.classList.remove(...(e.clickableClass||"").split(" ")),s.removeEventListener("click",c))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}a("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:s}=t.pagination;s=T(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),a("init",(()=>{!1===t.params.pagination.enabled?f():(m(),u(),p())})),a("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),a("snapIndexChange",(()=>{p()})),a("snapGridLengthChange",(()=>{u(),p()})),a("destroy",(()=>{h()})),a("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),a("lock unlock",(()=>{p()})),a("click",((e,s)=>{const a=s.target,r=T(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=r[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),r.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const f=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=T(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),m(),u(),p()},disable:f,render:u,update:p,init:m,destroy:h})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e;const o=a();let d,c,p,u,m=!1,h=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s}=t,{dragEl:a,el:i}=e,r=t.params.scrollbar,n=t.params.loop?t.progressLoop:t.progress;let l=c,o=(p-c)*n;s?(o=-o,o>0?(l=c-o,o=0):-o+c>p&&(l=p+o)):o<0?(l=c+o,o=0):o+c>p&&(l=p-o),t.isHorizontal()?(a.style.transform=`translate3d(${o}px, 0, 0)`,a.style.width=`${l}px`):(a.style.transform=`translate3d(0px, ${o}px, 0)`,a.style.height=`${l}px`),r.hide&&(clearTimeout(h),i.style.opacity=1,h=setTimeout((()=>{i.style.opacity=0,i.style.transitionDuration="400ms"}),1e3))}function b(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:s,el:a}=e;s.style.width="",s.style.height="",p=t.isHorizontal()?a.offsetWidth:a.offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),c="auto"===t.params.scrollbar.dragSize?p*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s.style.width=`${c}px`:s.style.height=`${c}px`,a.style.display=u>=1?"none":"",t.params.scrollbar.hide&&(a.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function y(e){return t.isHorizontal()?e.clientX:e.clientY}function E(e){const{scrollbar:s,rtlTranslate:a}=t,{el:i}=s;let r;r=(y(e)-w(i)[t.isHorizontal()?"left":"top"]-(null!==d?d:c/2))/(p-c),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:n,dragEl:l}=a;m=!0,d=e.target===l?y(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.style.transitionDuration="100ms",l.style.transitionDuration="100ms",E(e),clearTimeout(f),n.style.transitionDuration="0ms",s.hide&&(n.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function S(e){const{scrollbar:s,wrapperEl:a}=t,{el:i,dragEl:n}=s;m&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,E(e),a.style.transitionDuration="0ms",i.style.transitionDuration="0ms",n.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function M(e){const s=t.params.scrollbar,{scrollbar:a,wrapperEl:i}=t,{el:n}=a;m&&(m=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",i.style.transitionDuration=""),s.hide&&(clearTimeout(f),f=l((()=>{n.style.opacity=0,n.style.transitionDuration="400ms"}),1e3)),r("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:s,params:a}=t,i=s.el;if(!i)return;const r=i,n=!!a.passiveListeners&&{passive:!1,capture:!1},l=!!a.passiveListeners&&{passive:!0,capture:!1};if(!r)return;const d="on"===e?"addEventListener":"removeEventListener";r[d]("pointerdown",x,n),o[d]("pointermove",S,n),o[d]("pointerup",M,l)}function P(){const{scrollbar:e,el:s}=t;t.params.scrollbar=ne(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i,r;if("string"==typeof a.el&&t.isElement&&(i=t.el.querySelector(a.el)),i||"string"!=typeof a.el)i||(i=a.el);else if(i=o.querySelectorAll(a.el),!i.length)return;t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.querySelectorAll(a.el).length&&(i=s.querySelector(a.el)),i.length>0&&(i=i[0]),i.classList.add(t.isHorizontal()?a.horizontalClass:a.verticalClass),i&&(r=i.querySelector(l
vendor: 3,921 bytes, line 1094
1094e(t.params.scrollbar.dragClass)),r||(r=v("div",t.params.scrollbar.dragClass),i.append(r))),Object.assign(e,{el:i,dragEl:r}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&C("on"),i&&i.classList[t.enabled?"remove":"add"](...n(t.params.scrollbar.lockClass))}function L(){const e=t.params.scrollbar,s=t.scrollbar.el;s&&s.classList.remove(...n(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&C("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",(()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:s}=t.scrollbar;s=T(s),s.forEach((s=>{s.classList.remove(e.horizontalClass,e.verticalClass),s.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),i("init",(()=>{!1===t.params.scrollbar.enabled?I():(P(),b(),g())})),i("update resize observerUpdate lock unlock changeDirection",(()=>{b()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(s)})),i("enable disable",(()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...n(t.params.scrollbar.lockClass))})),i("destroy",(()=>{L()}));const I=()=>{t.el.classList.add(...n(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...n(t.params.scrollbar.scrollbarDisabledClass)),L()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...n(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...n(t.params.scrollbar.scrollbarDisabledClass)),P(),b(),g()},disable:I,updateSize:b,setTranslate:g,init:P,destroy:L})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",r=(e,s)=>{const{rtl:a}=t,i=a?-1:1,r=e.getAttribute("data-swiper-parallax")||"0";let n=e.getAttribute("data-swiper-parallax-x"),l=e.getAttribute("data-swiper-parallax-y");const o=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(n||l?(n=n||"0",l=l||"0"):t.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*s*i+"%":n*s*i+"px",l=l.indexOf("%")>=0?parseInt(l,10)*s+"%":l*s+"px",null!=d){const t=d-(d-1)*(1-Math.abs(s));e.style.opacity=t}let p=`translate3d(${n}, ${l}, 0px)`;if(null!=o){p+=` scale(${o-(o-1)*(1-Math.abs(s))})`}if(c&&null!=c){p+=` rotate(${c*s*-1}deg)`}e.style.transform=p},n=()=>{const{el:e,slides:s,progress:a,snapGrid:n,isElement:l}=t,o=f(e,i);t.isElement&&o.push(...f(t.hostEl,i)),o.forEach((e=>{r(e,a)})),s.forEach(((e,s)=>{let l=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(l+=Math.ceil(s/2)-a*(n.length-1)),l=Math.min(Math.max(l,-1),1),e.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach((e=>{r(e,l)}))}))};a("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{t.params.parallax.enabled&&n()})),a("setTranslate",(()=>{t.params.parallax.enabled&&n()})),a("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:s,hostEl:a}=t,r=[...s.querySelectorAll(i)];t.isElement&&r.push(...a.querySelectorAll(i)),r.forEach((t=>{let s=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(s=0),t.style.transitionDuration=`${s}ms`}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,
1094limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l=1,o=!1,c=!1,p={x:0,y:0};const u=-3;let m,h;const g=[],v={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},b={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},y={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let x,S=1;function T(){if(g.length<2)return 1;const e=g[0].pageX,t=g[0].pageY,s=g[1].pageX,a=g[1].pageY;return Math.sqrt((s-e)**2+(a-t)**2)}function M(){const e=t.params.zoom,s=v.imageWrapEl.getAttribute("data-swiper-zoom")||e.maxRatio;if(e.limitToOriginalSize&&v.imageEl&&v.imageEl.naturalWidth){const e=v.imageEl.naturalWidth/v.imageEl.offsetWidth;return Math.min(e,s)}return s}function C(e){const s=t.isElement?"swiper-slide":`.${t.params.slideClass}`;return!!e.target.matches(s)||t.slides.filter((t=>t.contains(e.target))).length>0}function P(e){const s=`.${t.params.zoom.containerClass}`;return!!e.target.matches(s)||[...t.hostEl.querySelectorAll(s)].filter((t=>t.contains(e.target))).length>0}function L(e){if("mouse"===e.pointerType&&g.splice(0,g.length),!C(e))return;const s=t.params.zoom;if(m=!1,h=!1,g.push(e),!(g.length<2)){if(m=!0,v.scaleStart=T(),!v.slideEl){v.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`),v.slideEl||(v.slideEl=t.slides[t.activeIndex]);let a=v.slideEl.querySelector(`.${s.containerClass}`);if(a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=a,v.imageWrapEl=a?E(v.imageEl,`.${s.containerClass}`)[0]:void 0,!v.imageWrapEl)return void(v.imageEl=void 0);v.maxRatio=M()}if(v.imageEl){const[e,t]=function(){if(g.length<2)return{x:null,y:null};const e=v.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-e.x-n.scrollX)/l,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-e.y-n.scrollY)/l]}();v.originX=e,v.originY=t,v.imageEl.style.transitionDuration="0ms"}o=!0}}function I(e){if(!C(e))return;const s=t.params.zoom,a=t.zoom,i=g.findIndex((t=>t.pointerId===e.pointerId));i>=0&&(g[i]=e),g.length<2||(h=!0,v.scaleMove=T(),v.imageEl&&(a.scale=v.scaleMove/v.scaleStart*l,a.scale>v.maxRatio&&(a.scale=v.maxRatio-1+(a.scale-v.maxRatio+1)**.5),a.scale<s.minRatio&&(a.scale=s.minRatio+1-(s.minRatio-a.scale+1)**.5),v.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`))}function z(e){if(!C(e))return;if("mouse"===e.pointerType&&"pointerout"===e.type)return;const s=t.params.zoom,a=t.zoom,i=g.findIndex((t=>t.pointerId===e.pointerId));i>=0&&g.splice(i,1),m&&h&&(m=!1,h=!1,v.imageEl&&(a.scale=Math.max(Math.min(a.scale,v.maxRatio),s.minRatio),v.imageEl.style.transitionDuration=`${t.params.speed}ms`,v.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`,l=a.scale,o=!1,a.scale>1&&v.slideEl?v.slideEl.classList.add(`${s.zoomedSlideClass}`):a.scale<=1&&v.slideEl&&v.slideEl.classList.remove(`${s.zoomedSlideClass}`),1===a.scale&&(v.originX=0,v.originY=0,v.slideEl=void 0)))}function A(){t.touchEventsData.preventTouchMoveFromPointerMove=!1}function $(e){const s="mouse"===e.pointerType&&t.params.zoom.panOnMouseMove;if(!C(e)||!P(e))return;const a=t.zoom;if(!v.imageEl)return;if(!b.isTouched||!v.slideEl)return void(s&&O(e));if(s)return void O(e);b.isMoved||(b.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,b.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,b.startX=d(v.imageWrapEl,"x")||0,b.startY=d(v.imageWrapEl,"y")||0,v.slideWidth=v.slideEl.offsetWidth,v.slideHeight=v.slideEl.offsetHeight,v.imageWrapEl.style.transitionDuration="0ms");const i=b.width*a.scale,r=b.height*a.scale;b.minX=Math.min(v.slideWidth/2-i/2,0),b.maxX=-b.minX,b.minY=Math.min(v.slideHeight/2-r/2,0),b.maxY=-b.minY,b.touchesCurrent.x=g.length>0?g[0].pageX:e.pageX,b.touchesCurrent.y=g.length>0?g[0].pageY:e.pageY;if(Math.max(Math.abs(b.touchesCurrent.x-b.touchesStart.x),Math.abs(b.touchesCurrent.y-b.touchesStart.y))>5&&(t.allowClick=!1),!b.isMoved&&!o){if(t.isHorizontal()&&(Math.floor(b.minX)===Math.floor(b.startX)&&b.touchesCurrent.x<b.touchesStart.x||Math.floor(b.maxX)===Math.floor(b.startX)&&b.touchesCurrent.x>b.touchesStart.x))return b.isTouched=!1,void A();if(!t.isHorizontal()&&(Math.floor(b.minY)===Math.floor(b.startY)&&b.touchesCurrent.y<b.touchesStart.y||Math.floor(b.maxY)===Math.floor(b.startY)&&b.touchesCurrent.y>b.touchesStart.y))return b.isTouched=!1,void A()}e.cancelable&&e.preventDefault(),e.stopPropagation(),clearTimeout(x),t.touchEventsData.preventTouchMoveFromPointerMove=!0,x=setTimeout((()=>{t.destroyed||A()})),b.isMoved=!0;const n=(a.scale-l)/(v.maxRatio-t.params.zoom.minRatio),{originX:c,originY:p}=v;b.currentX=b.touchesCurrent.x-b.touchesStart.x+b.startX+n*(b.width-2*c),b.currentY=b.touchesCurrent.y-b.touchesStart.y+b.startY+n*(b.height-2*p),b.currentX<b.minX&&(b.currentX=b.minX+1-(b.minX-b.currentX+1)**.8),b.currentX>b.maxX&&(b.currentX=b.maxX-1+(b.currentX-b.maxX+1)**.8),b.currentY<b.minY&&(b.currentY=b.minY+1-(b.minY-b.currentY+1)**.8),b.currentY>b.maxY&&(b.currentY=b.maxY-1+(b.currentY-b.maxY+1)**.8),y.prevPositionX||(y.prevPositionX=b.touchesCurrent.x),y.prevPositionY||(y.prevPositionY=b.touchesCurrent.y),y.prevTime||(y.prevTime=Date.now()),y.x=(b.touchesCurrent.x-y.prevPositionX)/(Date.now()-y.prevTime)/2,y.y=(b.touchesCurrent.y-y.prevPositionY)/(Date.now()-y.prevTime)/2,Math.abs(b.touchesCurrent.x-y.prevPositionX)<2&&(y.x=0),Math.abs(b.touchesCurrent.y-y.prevPositionY)<2&&(y.y=0),y.prevPositionX=b.touchesCurrent.x,y.prevPositionY=b.touchesCurrent.y,y.prevTime=Date.now(),v.imageWrapEl.style.transform=`translate3d(${b.currentX}px, ${b.currentY}px,0)`}function k(){const e=t.zoom;v.slideEl&&t.activeIndex!==t.slides.indexOf(v.slideEl)&&(v.imageEl&&(v.imageEl.style.transform="translate3d(0,
10940,0) scale(1)"),v.imageWrapEl&&(v.imageWrapEl.style.transform="translate3d(0,0,0)"),v.slideEl.classList.remove(`${t.params.zoom.zoomedSlideClass}`),e.scale=1,l=1,v.slideEl=void 0,v.imageEl=void 0,v.imageWrapEl=void 0,v.originX=0,v.originY=0)}function O(e){if(l<=1||!v.imageWrapEl)return;if(!C(e)||!P(e))return;const t=n.getComputedStyle(v.imageWrapEl).transform,s=new n.DOMMatrix(t);if(!c)return c=!0,p.x=e.clientX,p.y=e.clientY,b.startX=s.e,b.startY=s.f,b.width=v.imageEl.offsetWidth||v.imageEl.clientWidth,b.height=v.imageEl.offsetHeight||v.imageEl.clientHeight,v.slideWidth=v.slideEl.offsetWidth,void(v.slideHeight=v.slideEl.offsetHeight);const a=(e.clientX-p.x)*u,i=(e.clientY-p.y)*u,r=b.width*l,o=b.height*l,d=v.slideWidth,m=v.slideHeight,h=Math.min(d/2-r/2,0),f=-h,g=Math.min(m/2-o/2,0),w=-g,y=Math.max(Math.min(b.startX+a,f),h),E=Math.max(Math.min(b.startY+i,w),g);v.imageWrapEl.style.transitionDuration="0ms",v.imageWrapEl.style.transform=`translate3d(${y}px, ${E}px, 0)`,p.x=e.clientX,p.y=e.clientY,b.startX=y,b.startY=E,b.currentX=y,b.currentY=E}function D(e){const s=t.zoom,a=t.params.zoom;if(!v.slideEl){e&&e.target&&(v.slideEl=e.target.closest(`.${t.params.slideClass}, swiper-slide`)),v.slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?v.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:v.slideEl=t.slides[t.activeIndex]);let s=v.slideEl.querySelector(`.${a.containerClass}`);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=s,v.imageWrapEl=s?E(v.imageEl,`.${a.containerClass}`)[0]:void 0}if(!v.imageEl||!v.imageWrapEl)return;let i,r,o,d,c,p,u,m,h,g,y,x,S,T,C,P,L,I;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),v.slideEl.classList.add(`${a.zoomedSlideClass}`),void 0===b.touchesStart.x&&e?(i=e.pageX,r=e.pageY):(i=b.touchesStart.x,r=b.touchesStart.y);const z=l,A="number"==typeof e?e:null;1===l&&A&&(i=void 0,r=void 0,b.touchesStart.x=void 0,b.touchesStart.y=void 0);const $=M();s.scale=A||$,l=A||$,!e||1===l&&A?(u=0,m=0):(L=v.slideEl.offsetWidth,I=v.slideEl.offsetHeight,o=w(v.slideEl).left+n.scrollX,d=w(v.slideEl).top+n.scrollY,c=o+L/2-i,p=d+I/2-r,h=v.imageEl.offsetWidth||v.imageEl.clientWidth,g=v.imageEl.offsetHeight||v.imageEl.clientHeight,y=h*s.scale,x=g*s.scale,S=Math.min(L/2-y/2,0),T=Math.min(I/2-x/2,0),C=-S,P=-T,z>0&&A&&"number"==typeof b.currentX&&"number"==typeof b.currentY?(u=b.currentX*s.scale/z,m=b.currentY*s.scale/z):(u=c*s.scale,m=p*s.scale),u<S&&(u=S),u>C&&(u=C),m<T&&(m=T),m>P&&(m=P)),A&&1===s.scale&&(v.originX=0,v.originY=0),b.currentX=u,b.currentY=m,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform=`translate3d(${u}px, ${m}px,0)`,v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function G(){const e=t.zoom,s=t.params.zoom;if(!v.slideEl){t.params.virtual&&t.params.virtual.enabled&&t.virtual?v.slideEl=f(t.slidesEl,`.${t.params.slideActiveClass}`)[0]:v.slideEl=t.slides[t.activeIndex];let e=v.slideEl.querySelector(`.${s.containerClass}`);e&&(e=e.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),v.imageEl=e,v.imageWrapEl=e?E(v.imageEl,`.${s.containerClass}`)[0]:void 0}v.imageEl&&v.imageWrapEl&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,l=1,b.currentX=void 0,b.currentY=void 0,b.touchesStart.x=void 0,b.touchesStart.y=void 0,v.imageWrapEl.style.transitionDuration="300ms",v.imageWrapEl.style.transform="translate3d(0,0,0)",v.imageEl.style.transitionDuration="300ms",v.imageEl.style.transform="translate3d(0,0,0) scale(1)",v.slideEl.classList.remove(`${s.zoomedSlideClass}`),v.slideEl=void 0,v.originX=0,v.originY=0,t.params.zoom.panOnMouseMove&&(p={x:0,y:0},c&&(c=!1,b.startX=0,b.startY=0)))}function X(e){const s=t.zoom;s.scale&&1!==s.scale?G():D(e)}function Y(){return{passiveListener:!!t.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!t.params.passiveListeners||{passive:!1,capture:!0}}}function B(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const{passiveListener:s,activeListenerWithCapture:a}=Y();t.wrapperEl.addEventListener("pointerdown",L,s),t.wrapperEl.addEventListener("pointermove",I,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.addEventListener(e,z,s)})),t.wrapperEl.addEventListener("pointermove",$,a)}function H(){const e=t.zoom;if(!e.enabled)return;e.enabled=!1;const{passiveListener:s,activeListenerWithCapture:a}=Y();t.wrapperEl.removeEventListener("pointerdown",L,s),t.wrapperEl.removeEventListener("pointermove",I,a),["pointerup","pointercancel","pointerout"].forEach((e=>{t.wrapperEl.removeEventListener(e,z,s)})),t.wrapperEl.removeEventListener("pointermove",$,a)}Object.defineProperty(t.zoom,"scale",{get:()=>S,set(e){if(S!==e){const t=v.imageEl,s=v.slideEl;i("zoomChange",e,t,s)}S=e}}),a("init",(()=>{t.params.zoom.enabled&&B()})),a("destroy",(()=>{H()})),a("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;if(!v.imageEl)return;if(b.isTouched)return;s.android&&e.cancelable&&e.preventDefault(),b.isTouched=!0;const a=g.length>0?g[0]:e;b.touchesStart.x=a.pageX,b.touchesStart.y=a.pageY}(s)})),a("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(g.length=0,!v.imageEl)return;if(!b.isTouched||!b.isMoved)return b.isTouched=!1,void(b.isMoved=!1);b.isTouched=!1,b.isMoved=!1;let s=300,a=300;const i=y.x*s,r=b.currentX+i,n=y.y*a,l=b.currentY+n;0!==y.x&&(s=Math.abs((r-b.currentX)/y.x)),0!==y.y&&(a=Math.abs((l-b.currentY)/y.y));const o=Math.max(s,a);b.currentX=r,b.currentY=l;const d=b.width*e.scale,c=b.height*e.scale;b.minX=Math.min(v.slideWidth/2-d/2,0),b.maxX=-b.minX,b.minY=Math.min(v.slideHeight/2-c/2,0),b.maxY=-b.minY,b.currentX=Math.max(Math.min(b.currentX,b.maxX),b.minX),b.currentY=Math.max(Math.min(b.currentY,b.maxY),b.minY),v.imageWrapEl.style.transitionDuration=`${o}ms`,v.imageWrapEl.style.transform=`translate3d(${b.currentX}px, ${b.currentY}px,0)`}()})),a("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&X(s)})),a("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&k()})),a("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&k()})),Object.assign(t.zoom,{enable:B,disable:H,in:D,out:G,toggle:X})},function(e){let{swiper:t,extendParams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",(()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEac
1094h((e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){const s=`${t.params.eventsPrefix}init`,a=i=>{t.controller.control.push(i.detail[0]),t.update(),e.removeEventListener(s,a)};e.addEventListener(s,a)}}))}else t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(s,a)})),a("setTransition",((e,s,a)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(s,a)})),Object.assign(t.controller,{setTranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){if(e.destroyed)return;const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline=t.params.loop?new i(t.slidesGrid,e.slidesGrid):new i(t.snapGrid,e.snapGrid)}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),n=(s-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e<a.length;e+=1)a[e]!==s&&a[e]instanceof l&&o(a[e]);else a instanceof l&&s!==a&&o(a)},setTransition:function(e,s){const a=t.constructor,i=t.controller.control;let r;function n(s){s.destroyed||(s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&l((()=>{s.updateAutoHeight()})),x(s.wrapperEl,(()=>{i&&s.transitionEnd()}))))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==s&&i[r]instanceof a&&n(i[r]);else i instanceof a&&s!==i&&n(i)}})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let r,n,l=null,o=(new Date).getTime();function d(e){const t=l;0!==t.length&&C(t,e)}function c(e){(e=T(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function p(e){(e=T(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function u(e,t){(e=T(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function h(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function f(e){(e=T(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function g(e){(e=T(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,a=e.target;if(!t.pagination||!t.pagination.el||a!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(le(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=T(t.navigation.prevEl);T(t.navigation.nextEl).includes(a)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?d(s.lastSlideMessage):d(s.nextSlideMessage)),e.includes(a)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?d(s.firstSlideMessage):d(s.prevSlideMessage))}t.pagination&&a.matches(le(t.params.pagination.bulletClass))&&a.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function E(){return b()&&t.params.pagination.clickable}const x=(e,t,s)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",w)),h(e,s),function(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},S=e=>{n&&n!==e.target&&!n.contains(e.target)&&(r=!0),t.a11y.clicked=!0},M=()=>{r=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},P=e=>{o=(new Date).getTime()},L=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-o<100)return;const s=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!s||!t.slides.includes(s))return;n=s;const a=t.slides.indexOf(s)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);a||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>
1094{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(s.getAttribute("data-swiper-slide-index"))),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(s)),0),r=!1)})))},I=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const s=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((a,i)=>{const r=t.params.loop?parseInt(a.getAttribute("data-swiper-slide-index"),10):i;h(a,e.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s))}))},z=()=>{const e=t.params.a11y;t.el.append(l);const s=t.el;e.containerRoleDescriptionMessage&&m(s,e.containerRoleDescriptionMessage),e.containerMessage&&h(s,e.containerMessage),e.containerRole&&u(s,e.containerRole);const i=t.wrapperEl,r=e.id||i.getAttribute("id")||`swiper-wrapper-${n=16,void 0===n&&(n=16),"x".repeat(n).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var n;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var d;d=r,T(i).forEach((e=>{e.setAttribute("id",d)})),function(e,t){(e=T(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(i,o),I();let{nextEl:c,prevEl:p}=t.navigation?t.navigation:{};if(c=T(c),p=T(p),c&&c.forEach((t=>x(t,r,e.nextSlideMessage))),p&&p.forEach((t=>x(t,r,e.prevSlideMessage))),E()){T(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)}
vendor: 27,247 bytes, line 1094
1094))}a().addEventListener("visibilitychange",P),t.el.addEventListener("focus",L,!0),t.el.addEventListener("focus",L,!0),t.el.addEventListener("pointerdown",S,!0),t.el.addEventListener("pointerup",M,!0)};i("beforeInit",(()=>{l=v("span",t.params.a11y.notificationClass),l.setAttribute("aria-live","assertive"),l.setAttribute("aria-atomic","true")})),i("afterInit",(()=>{t.params.a11y.enabled&&z()})),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&I()})),i("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:s}=t.navigation;s&&(t.isBeginning?(f(s),p(s)):(g(s),c(s))),e&&(t.isEnd?(f(e),p(e)):(g(e),c(e)))}()})),i("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((s=>{t.params.pagination.clickable&&(c(s),t.params.pagination.renderBullet||(u(s,"button"),h(s,e.paginationBulletMessage.replace(/\{\{index\}\}/,y(s)+1)))),s.matches(le(t.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")}))}()})),i("destroy",(()=>{t.params.a11y.enabled&&function(){l&&l.remove();let{nextEl:e,prevEl:s}=t.navigation?t.navigation:{};e=T(e),s=T(s),e&&e.forEach((e=>e.removeEventListener("keydown",w))),s&&s.forEach((e=>e.removeEventListener("keydown",w))),E()&&T(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)}));a().removeEventListener("visibilitychange",P),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",L,!0),t.el.removeEventListener("pointerdown",S,!0),t.el.removeEventListener("pointerup",M,!0))}()}))},function(e){let{swiper:t,extendParams:s,on:a}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const l=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new URL(t.params.url):a.location;const o=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${s}"]`):t.slides[s];let d=l(o.getAttribute("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e?`${e}/`:""}${d}`}else n.pathname.includes(e)||(d=`${e?`${e}/`:""}${d}`);t.params.history.keepQuery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replaceState?a.history.replaceState({value:d},null,d):a.history.pushState({value:d},null,d))},c=(e,s,a)=>{if(s)for(let i=0,r=t.slides.length;i<r;i+=1){const r=t.slides[i];if(l(r.getAttribute("data-history"))===s){const s=t.getSlideIndex(r);t.slideTo(s,e,a)}}else t.slideTo(0,e,a)},p=()=>{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,n=o(t.params.url),n.key||n.value?(c(0,n.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",p)):t.params.history.replaceState||e.addEventListener("popstate",p)}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replaceState||e.removeEventListener("popstate",p)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d(t.params.history.key,t.activeIndex)})),a("slideChange",(()=>{i&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:i,on:n}=e,l=!1;const o=a(),d=r();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(e,s){if(t.virtual&&t.params.virtual.enabled){const e=t.slides.find((e=>e.getAttribute("data-hash")===s));if(!e)return 0;return parseInt(e.getAttribute("data-swiper-slide-index"),10)}return t.getSlideIndex(f(t.slidesEl,`.${t.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const c=()=>{i("hashChange");const e=o.location.hash.replace("#",""),s=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex];if(e!==(s?s.getAttribute("data-hash"):"")){const s=t.params.hashNavigation.getSlideIndex(t,e);if(void 0===s||Number.isNaN(s))return;t.slideTo(s)}},p=()=>{if(!l||!t.params.hashNavigation.enabled)return;const e=t.virtual&&t.params.virtual.enabled?t.slidesEl.querySelector(`[data-swiper-slide-index="${t.activeIndex}"]`):t.slides[t.activeIndex],s=e?e.getAttribute("data-hash")||e.getAttribute("data-history"):"";t.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${s}`||""),i("hashSet")):(o.location.hash=s||"",i("hashSet"))};n("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0,a=t.params.hashNavigation.getSlideIndex(t,e);t.slideTo(a||0,s,t.params.runCallbacksOnInit,!0)}t.params.hashNavigation.watchState&&d.addEventListener("hashchange",c)})()})),n("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d.removeEventListener("hashchange",c)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{l&&p()})),n("slideChange",(()=>{l&&t.params.cssMode&&p()}))},function(e){let t,s,{swiper:i,extendParams:r,on:n,emit:l,params:o}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,p,u,m,h,f,g,v=o&&o.autoplay?o.autoplay.delay:3e3,w=o&&o.autoplay?o.autoplay.delay:3e3,b=(new Date).getTime();function y(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",y),g||e.detail&&e.detail.bySwiperTouchMove||C())}const E=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(w=d,c=!1);const e=i.autoplay.paused?d:b+w-(new Date).getTime();i.autoplay.timeLeft=e,l("autoplayTimeLeft",e,e/v),s=requestAnimationFrame((()=>{E()}))},x=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(s),E();let a=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,w=i.params.autoplay.delay;const r=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find((e=>e.classList.contains("swiper-slide-active"))):i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(r)&&r>0&&void 0===e&&(a=r,v=r,w=r),d=a;const n=i.params.speed,o=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,n,!0,!0),l("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(n,!0,!0),l("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,n,!0,!0),l("autoplay")),i.params.cssMode&&(b=(new Date).getTime(),requestAnimationFrame((()=>{x()}))))};return a>0?(clearTimeout(t),t=setTimeout((()=>{o()}),a)):requestAnimationFrame((()=>{o()})),a},S=()=>{b=(new Date).getTime(),i.autoplay.running=!0,x(),l("autoplayStart")},T=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(s),l("autoplayStop")},M=(e,s)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(f=!0);const a=()=>{l("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",y):C()};if(i.autoplay.paused=!0,s)return h&&(d=i.params.autoplay.delay),h=!1,void a();const r=d||i.params.autoplay.delay;d=r-((new Date).getTime()-b),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),a())},C=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(b=(new Date).getTime(),f?(f=!1,x(d)):x(),i.autoplay.paused=!1,l("autoplayResume"))},P=()=>{if(i.destroyed||!i.autoplay.running)return;const e=a();"hidden"===e.visibilityState&&(f=!0,M(!0)),"visible"===e.visibilityState&&C()},L=e=>{"mouse"===e.pointerType&&(f=!0,g=!0,i.animating||i.autoplay.paused||M(!0))},I=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&C())};n("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",L),i.el.addEventListener("pointerleave",I)),a().addEventListener("visibilitychange",P),S())})),n("destroy",(()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",L),i.el.removeEventListener("pointerleave",I)),a().removeEventListener("visibilitychange",P),i.autoplay.running&&T()})),n("_freeModeStaticRelease",(()=>{(u||f)&&C()})),n("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?T():M(!0,!0)})),n("beforeTransitionStart",((e,t,s)=>{!i.destroyed&&i.autoplay.running&&(s||!i.params.autoplay.disableOnInteraction?M(!0,!0):T())})),n("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?T():(p=!0,u=!1,f=!1,m=setTimeout((()=>{f=!0,u=!0,M(!0)}),200)))})),n("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&p){if(clearTimeout(m),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(p=!1);u&&i.params.cssMode&&C(),u=!1,p=!1}})),n("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(h=!0)})),Object.assign(i.autoplay,{start:S,stop:T,pause:M,resume:C})},function(e){let{swiper:t,extendParams:s,on:i}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!1;function l(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,a=e.clickedSlide;if(a&&a.classList.contains(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;i=e.params.loop?parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,t.params.loop?t.slideToLoop(i):t.slideTo(i)}function o(){const{thumbs:e}=t.params;if(r)return!1;r=!0;const s=t.constructor;if(e.swiper instanceof s){if(e.swiper.destroyed)return r=!1,!1;t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper.update()}else if(c(e.swiper)){const a=Object.assign({},e.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(a),n=!0}return t.thumbs.swiper.el.classList.add(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",l),!0}function d(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.forEach((e=>e.classList.remove(r))),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<i;e+=1)f(s.slidesEl,`[data-swiper-slide-index="${t.realIndex+e}"]`).forEach((e=>{e.classList.add(r)}));else for(let e=0;e<i;e+=1)s.slides[t.realIndex+e]&&s.slides[t.realIndex+e].classList.add(r);const n=t.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(t.realIndex!==s.realIndex||l){const i=s.activeIndex;let r,o;if(s.params.loop){const e=s.slides.find((e=>e.getAttribute("data-swiper-slide-index")===`${t.realIndex}`));r=s.slides.indexOf(e),o=t.activeIndex>t.previousIndex?"next":"prev"}else r=t.realIndex,o=r>t.previousIndex?"next":"prev";l&&(r+="next"===o?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(r)<0&&(s.params.centeredSlides?r=r>i?r-Math.floor(a/2)+1:r+Math.floor(a/2)-1:r>i&&s.params.slidesPerGroup,s.slideTo(r,e?0:void 0))}}t.thumbs={swiper:null},i("beforeInit",(()=>{const{thumbs:e}=t.params;if(e&&e.swiper)if("string"==typeof e.swiper||e.swiper instanceof HTMLElement){const s=a(),i=()=>{const a="string"==typeof e.swiper?s.querySelector(e.swiper):e.swiper;if(a&&a.swiper)e.swiper=a.swiper,o(),d(!0);else if(a){const s=`${t.params.eventsPrefix}init`,i=r=>{e.swiper=r.detail[0],a.removeEventListener(s,i),o(),d(!0),e.swiper.update(),t.update()};a.addEventListener(s,i)}return a},r=()=>{if(t.destroyed)return;i()||requestAnimationFrame(r)};requestAnimationFrame(r)}else o(),d(!0)})),i("slideChange update resize observerUpdate",(()=>{d()})),i("setTransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),i("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&n&&e.destroy()})),Object.assign(t.thumbs,{init:o,update:d})},function(e){let{swiper:t,extendParams:s,emit:a,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){if(t.params.cssMode)return;const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){if(t.params.cssMode)return;const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:o()})},onTouchEnd:function(e){let{currentPos:s}=e;if(t.params.cssMode)return;const{params:r,wrapperEl:n,rtlTranslate:l,snapGrid:d,touchEventsData:c}=t,p=o()-c.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<d.length?t.slideTo(d.length-1):t.slideTo(t.slides.length-1);else{if(r.freeMode.momentum){if(c.velocities.length>1){const e=c.velocities.pop(),s=c.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)<r.freeMode.minimumVelocity&&(t.velocity=0),(i>150||o()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,c.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let p=t.translate+s;l&&(p=-p);let u,m=!1;const h=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(p<t.maxTranslate())r.freeMode.momentumBounce?(p+t.maxTranslate()<-h&&(p=t.maxTranslate()-h),u=t.maxTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(p>t.minTranslate())r.freeMode.momentumBounce?(p-t.minTranslate()>h&&(p=t.minTranslate()+h),u=t.minTranslate(),m=!0,c.allowMomentumBounce=!0):p=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t<d.length;t+=1)if(d[t]>-p){e=t;break}p=Math.abs(d[e]-p)<Math.abs(d[e-1]-p)||"next"===t.swipeDirection?d[e]:d[e-1],p=-p}if(f&&i("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-p-t.translate)/t.velocity):Math.abs((p-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((l?-p:p)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=s<a?r.speed:s<2*a?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating=!0,x(n,(()=>{t&&!t.destroyed&&c.allowMomentumBounce&&(a("momentumBounce"),t.setTransition(r.speed),setTimeout((()=>{t.setTranslate(u),x(n,(()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(a("_freeModeNoMomentumRelease"),t.updateProgress(p),t.setTransition(e),t.setTranslate(p),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,x(n,(()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(p),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||p>=r.longSwipesMs)&&(a("_freeModeStaticRelease"),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,a,i,{swiper:r,extendParams:n,on:l}=e;n({grid:{rows:1,fill:"column"}});const o=()=>{let e=r.params.spaceBetween;return"string"==typeof e&&e.indexOf("%")>=0?e=parseFloat(e.replace("%",""))/100*r.size:"string"==typeof e&&(e=parseFloat(e)),e};l("init",(()=>{i=r.params.grid&&r.params.grid.rows>1})),l("update",(()=>{const{params:e,el:t}=r,s=e.grid&&e.grid.rows>1;i&&!s?(t.classList.remove(`${e.containerModifierClass}grid`,`${e.containerModifierClass}grid-column`),a=1,r.emitContainerClasses()):!i&&s&&(t.classList.add(`${e.containerModifierClass}grid`),"column"===e.grid.fill&&t.classList.add(`${e.containerModifierClass}grid-column`),r.emitContainerClasses()),i=s})),r.grid={initSlides:e=>{const{slidesPerView:i}=r.params,{rows:n,fill:l}=r.params.grid,o=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:e.length;a=Math.floor(o/n),t=Math.floor(o/n)===o/n?o:Math.ceil(o/n)*n,"auto"!==i&&"row"===l&&(t=Math.max(t,i*n)),s=t/n},unsetSlides:()=>{r.slides&&r.slides.forEach((e=>{e.swiperSlideGridSet&&(e.style.height="",e.style[r.getDirectionLabel("margin-top")]="")}))},updateSlide:(e,i,n)=>{const{slidesPerGroup:l}=r.params,d=o(),{rows:c,fill:p}=r.params.grid,u=r.virtual&&r.params.virtual.enabled?r.virtual.slides.length:n.length;let m,h,f;if("row"===p&&l>1){const s=Math.floor(e/(l*c)),a=e-c*l*s,r=0===s?l:Math.min(Math.ceil((u-s*c*l)/c),l);f=Math.floor(a/r),h=a-f*r+s*l,m=h+f*t/c,i.style.order=m}else"column"===p?(h=Math.floor(e/c),f=e-h*c,(h>a||h===a&&f===c-1)&&(f+=1,f>=c&&(f=0,h+=1))):(f=Math.floor(e/s),h=e-f*s);i.row=f,i.column=h,i.style.height=`calc((100% - ${(c-1)*d}px) / ${c})`,i.style[r.getDirectionLabel("margin-top")]=0!==f?d&&`${d}px`:"",i.swiperSlideGridSet=!0},updateWrapperSize:(e,s)=>{const{centeredSlides:a,roundLengths:i}=r.params,n=o(),{rows:l}=r.params.grid;if(r.virtualSize=(e+n)*t,r.virtualSize=Math.ceil(r.virtualSize/l)-n,r.params.cssMode||(r.wrapperEl.style[r.getDirectionLabel("width")]=`${r.virtualSize+n}px`),a){const e=[];for(let t=0;t<s.length;t+=1){let a=s[t];i&&(a=Math.floor(a)),s[t]<r.virtualSize+s[0]&&e.push(a)}s.splice(0,s.length),s.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:oe.bind(t),prependSlide:de.bind(t),addSlide:ce.bind(t),removeSlide:pe.bind(t),removeAllSlides:ue.bind(t)})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({fadeEffect:{crossFade:!1}}),me({effect:"fade",swiper:t,on:a,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let s=0;s<e.length;s+=1){const e=t.slides[s];let a=-e.swiperSlideOffset;t.params.virtualTranslate||(a-=t.translate);let i=0;t.isHorizontal()||(i=a,a=0);const r=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),n=he(0,e);n.style.opacity=r,n.style.transform=`translate3d(${a}px, ${i}px, 0px)`}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`})),fe({swiper:t,duration:e,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let a=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(a)),i||(i=v("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(i)),a&&(a.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};me({effect:"cube",swiper:t,on:a,setTranslate:()=>{const{el:e,wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:d}=t,c=M(t),p=t.params.cubeEffect,u=t.isHorizontal(),m=t.virtual&&t.params.virtual.enabled;let h,f=0;p.shadow&&(u?(h=t.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),t.wrapperEl.append(h)),h.style.height=`${r}px`):(h=e.querySelector(".swiper-cube-shadow"),h||(h=v("div","swiper-cube-shadow"),e.append(h))));for(let e=0;e<a.length;e+=1){const t=a[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t.progress,1),-1);let h=0,g=0,v=0;s%4==0?(h=4*-n*o,v=0):(s-1)%4==0?(h=0,v=4*-n*o):(s-2)%4==0?(h=o+4*n*o,v=o):(s-3)%4==0&&(h=-o,v=3*o+4*o*n),l&&(h=-h),u||(g=h,h=0);const w=`rotateX(${c(u?0:-r)}deg) rotateY(${c(u?r:0)}deg) translate3d(${h}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.style.transform=w,p.slideShadows&&i(t,d,u)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,p.shadow)if(u)h.style.transform=`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;h.style.transform=`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(t.isHorizontal()?0:f)}deg) rotateY(${c(t.isHorizontal()?-f:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{el:s,slides:a}=t;if(a.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),t.params.cubeEffect.shadow&&!t.isHorizontal()){const t=s.querySelector(".swiper-cube-shadow");t&&(t.style.transitionDuration=`${e}ms`)}},recreateShadows:()=>{const e=t.isHorizontal();t.slides.forEach((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(t,s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(e,s)=>{let a=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=t.isHorizontal()?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=ge("flip",e,t.isHorizontal()?"left":"top")),i||(i=ge("flip",e,t.isHorizontal()?"right":"bottom")),a&&(a.style.opacity=Math.max(-s,0)),i&&(i.style.opacity=Math.max(s,0))};me({effect:"flip",swiper:t,on:a,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,a=t.params.flipEffect,r=M(t);for(let n=0;n<e.length;n+=1){const l=e[n];let o=l.progress;t.params.flipEffect.limitRotation&&(o=Math.max(Math.min(l.progress,1),-1));const d=l.swiperSlideOffset;let c=-180*o,p=0,u=t.params.cssMode?-d-t.translate:-d,m=0;t.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),l.style.zIndex=-Math.abs(Math.round(o))+e.length,a.slideShadows&&i(l,o);const h=`translate3d(${u}px, ${m}px, 0px) rotateX(${r(p)}deg) rotateY(${r(c)}deg)`;he(0,l).style.transform=h}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s})},recreateShadows:()=>{t.params.flipEffect,t.slides.forEach((e=>{let s=e.progress;t.params.flipEffect.limitRotation&&(s=Math.max(Math.min(e.progress,1),-1)),i(e,s)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),me({effect:"coverflow",swiper:t,on:a,setTranslate:()=>{const{width:e,height:s,slides:a,slidesSizesGrid:i}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth,p=M(t);for(let e=0,t=a.length;e<t;e+=1){const t=a[e],s=i[e],l=(o-t.swiperSlideOffset-s/2)/s,u="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let m=n?d*u:0,h=n?0:d*u,f=-c*Math.abs(u),g=r.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(r.stretch)/100*s);let v=n?0:g*u,w=n?g*u:0,b=1-(1-r.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(f)<.001&&(f=0),Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${f}px)  rotateX(${p(h)}deg) rotateY(${p(m)}deg) scale(${b})`;if(he(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),r.slideShadows){let e=n?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=n?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=ge("coverflow",t,n?"left":"top")),s||(s=ge("coverflow",t,n?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:e=>{t.slides.map((e=>h(e))).forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((t=>{t.style.transitionDuration=`${e}ms`}))}))},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;me({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides,o=M(t);if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${e}px))`}for(let s=0;s<e.length;s+=1){const a=e[s],d=a.progress,c=Math.min(Math.max(a.progress,-r.limitProgress),r.limitProgress);let p=c;l||(p=Math.min(Math.max(a.originalProgress,-r.limitProgress),r.limitProgress));const u=a.swiperSlideOffset,m=[t.params.cssMode?-u-t.translate:-u,0,0],h=[0,0,0];let f=!1;t.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=r.next,f=!0):c>0&&(g=r.prev,f=!0),m.forEach(((e,t)=>{m[t]=`calc(${e}px + (${i(g.translate[t])} * ${Math.abs(c*n)}))`})),h.forEach(((e,t)=>{let s=g.rotate[t]*Math.abs(c*n);h[t]=s})),a.style.zIndex=-Math.abs(Math.round(d))+e.length;const v=m.join(", "),w=`rotateX(${o(h[0])}deg) rotateY(${o(h[1])}deg) rotateZ(${o(h[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*n})`:`scale(${1-(1-g.scale)*p*n}
1094)`,y=p<0?1+(1-g.opacity)*p*n:1-(1-g.opacity)*p*n,E=`translate3d(${v}) ${w} ${b}`;if(f&&g.shadow||!f){let e=a.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=ge("creative",a)),e){const t=r.shadowPerProgress?c*(1/r.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const x=he(0,a);x.style.transform=E,x.style.opacity=y,g.origin&&(x.style.transformOrigin=g.origin)}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),me({effect:"cards",swiper:t,on:a,setTranslate:()=>{const{slides:e,activeIndex:s,rtlTranslate:a}=t,i=t.params.cardsEffect,{startTranslate:r,isTouched:n}=t.touchEventsData,l=a?-t.translate:t.translate;for(let o=0;o<e.length;o+=1){const d=e[o],c=d.progress,p=Math.min(Math.max(c,-4),4);let u=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(u-=e[0].swiperSlideOffset);let m=t.params.cssMode?-u-t.translate:-u,h=0;const f=-100*Math.abs(p);let g=1,v=-i.perSlideRotate*p,w=i.perSlideOffset-.75*Math.abs(p);const b=t.virtual&&t.params.virtual.enabled?t.virtual.from+o:o,y=(b===s||b===s-1)&&p>0&&p<1&&(n||t.params.cssMode)&&l<r,E=(b===s||b===s+1)&&p<0&&p>-1&&(n||t.params.cssMode)&&l>r;if(y||E){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*e,g+=-.5*e,w+=96*e,h=-25*e*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${a?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${a?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!t.isHorizontal()){const e=h;h=m,m=e}const x=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),S=`\n        translate3d(${m}, ${h}, ${f}px)\n        rotateZ(${i.rotate?a?-v:v:0}deg)\n        scale(${x})\n      `;if(i.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=ge("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+e.length;he(0,d).style.transform=S}},setTransition:e=>{const s=t.slides.map((e=>h(e)));s.forEach((t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach((t=>{t.style.transitionDuration=`${e}ms`}))})),fe({swiper:t,duration:e,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:t.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!t.params.cssMode})})}];return re.use(ve),re}();
1095//# sourceMappingURL=swiper-bundle.min.js.map
1096/*
1097  DFSlider 2.0.9d
1098  업데이트: 2025-04-11
1099*/
1100
1101const _0x3ab63a=_0x1e0d;function _0x4428(){const _0xc6124b=['<span\x20class=\x22','allowSlidePrev','loadYoutubeIframe','instances','.swiper-slide','change','toString','</span>','destroy','slidesPerView','add','type','PlayerState','src','resize','position','youtubePlayers','setAttribute','join','setupPaginationTimer','.swiper-pagination-bullet.swiper-pagination-bullet-active','df-slider','autoplayTimeLeft','trim','PLAYING','enablejsapi','hasAttribute','df-slider--stop','data-df-item-title','timer','indexOf','swiper-navigation','Player','ENDED','onerror','destroyed','playVideo','onload','forEach','set','.swiper-pagination-fraction','unMute','youtubePlaybackEls','appendChild','enable','addEventListener','lazy','data-video-type','isUserAutoplay','youtubeTimerIntervals','addStopClass','length','prevEl','PAUSED','none','/sddefault.jpg','\x0a\x09\x09\x09<svg\x20class=\x22df-slider__player-icon-sound\x22\x20viewBox=\x220\x20-960\x20960\x20960\x22>\x0a\x09\x09\x09\x09<path\x20d=\x22M792-56\x20671-177q-25\x2016-53\x2027.5T560-131v-82q14-5\x2027.5-10t25.5-12L480-368v208L280-360H120v-240h128L56-792l56-56\x20736\x20736-56\x2056Zm-8-232-58-58q17-31\x2025.5-65t8.5-70q0-94-55-168T560-749v-82q124\x2028\x20202\x20125.5T840-481q0\x2053-14.5\x20102T784-288ZM650-422l-90-90v-130q47\x2022\x2073.5\x2066t26.5\x2096q0\x2015-2.5\x2029.5T650-422ZM480-592\x20376-696l104-104v208Z\x22/>\x0a\x09\x09\x09</svg>\x0a\x09\x09\x09<svg\x20class=\x22df-slider__player-icon-mute\x22\x20viewBox=\x220\x20-960\x20960\x20960\x22>\x0a\x09\x09\x09\x09<path\x20d=\x22M560-131v-82q90-26\x20145-100t55-168q0-94-55-168T560-749v-82q124\x2028\x20202\x20125.5T840-481q0\x20127-78\x20224.5T560-131ZM120-360v-240h160l200-200v640L280-360
1101H120Zm440\x2040v-322q47\x2022\x2073.5\x2066t26.5\x2096q0\x2051-26.5\x2094.5T560-320Z\x22/>\x0a\x09\x09\x09</svg>\x0a\x09\x09','getPlayerState','controls','80081wxpxKo','splice','allowTouchMove','pauseVideo','.swiper-pagination-progressbar-fill','loadYoutubeApi','setProperty','slideClass','63BcBuUu','has','df-slider__player','createStructure','data','navigation','df-slider__player-controls','params','children','searchParams','2306808ylLqRo','activeIndex','onStateChange','paginationEl','https://img.youtube.com/vi/','pagination','data-lazy-src','naturalHeight','checkStopCondition','text','initSwiper','<span\x20class=\x22df-slider__text\x22>','swiper-slide-duplicate','df-slider__player-playback','delay','getDuration','target','df-slider__player-thumbnail','script','autoplay','31657406XSrxNe','showPaginationTimer','1150YvcUNf','youtubeTimerEls','df-slider__player-thumbnail-play','df-slider--timer','insertBefore','function','slides','3rOZtGA','isMuted','swiper-button-prev','removeOldTimerElement','mute','insertTimerElement','getComputedStyle','df-slider__timer','df-slider__player-volume','width','createYoutubeTimerElement','userAutoplayDelay','iframe[src*=\x22youtube.com\x22],\x20iframe[src*=\x22youtu.be\x22],\x20iframe[data-lazy-src]','youtube','rel','seekTo','removeStopClass','.df-slider__timer','/maxresdefault.jpg','initYoutubeSlides','swiper-wrapper','from','display','start','click','querySelector','alt','text-hidden','split','createElement','loop','swiper-slide','originalEl','text-point','swiper-slide--played','init','breakpoint','\x22\x20data-slide-index=\x22','marginTop','slidesPerGroup','339955GsTXYF','df-slider__player-volume--active','1784040tonxyU','swiper-pagination--','nextEl','initialSlide','createYoutubeController','scrollbarEl','removeAttribute','div','\x0a\x09\x09\x09<svg\x20class=\x22df-slider__player-icon-play\x22\x20viewBox=\x220\x20-960\x20960\x20960\x22>\x0a\x09\x09\x09\x09<path\x20d=\x22M320-200v-560l440\x20280-440\x20280Z\x22/>\x0a\x09\x09\x09</svg>\x0a\x09\x09\x09<svg\x20class=\x22df-slider__player-icon-pause\x22\x20viewBox=\x220\x20-960\x20960\x20960\x22>\x0a\x09\x09\x09\x09<path\x20d=\x22M560-200v-560h160v560H560Zm-320\x200v-560h160v560H240Z\x22/>\x0a\x09\x09\x09</svg>\x0a\x09\x09','setOutsideSize','hidePaginationTimer','df-slider--scrollbar-','1140fOpcGk','dfSliderEl','slideTo','allowSlideNext','addClass','remove','match','matchMedia','querySelectorAll','includes','replaceChild','stop','string','df-slider--ready','dfOptions','.swiper-pagination-bullet[data-slide-index=\x22','progressbar','df-slider__player-playback--active','swiper-scrollbar--','cc_load_policy','handleYoutubeStateChange','loading','span','push','playsinline','fraction','contains','120MrbrtI','origin','/default.jpg','getAttribute','scrollbar','swiper','rewind','style','naturalWidth','isArray','.swiper','delete','disable','stopYoutubeTimer','swiper-button-next','isDisabled','classList','swiper-pagination','onYouTubeIframeAPIReady','slideNext','innerHTML','swiperOptions','use','iframe[src*=\x22youtube.com\x22],\x20iframe[src*=\x22youtu.be\x22]','4766308BlQATx','parentNode','bullets'];_0x4428=function(){return _0xc6124b;};return _0x4428();}(function(_0xce7e19,_0x87a087){const _0x2e765e=_0x1e0d,_0x155407=_0xce7e19();while(!![]){try{const _0x8f0e06=-parseInt(_0x2e765e(0x25b))/0x1+parseInt(_0x2e765e(0x26d))/0x2+parseInt(_0x2e765e(0x28a))/0x3*(-parseInt(_0x2e765e(0x21d))/0x4)+parseInt(_0x2e765e(0x283))/0x5*(-parseInt(_0x2e765e(0x1ea))/0x6)+-parseInt(_0x2e765e(0x1dc))/0x7*(parseInt(_0x2e765e(0x205))/0x8)+parseInt(_0x2e765e(0x263))/0x9*(-parseInt(_0x2e765e(0x1de))/0xa)+parseInt(_0x2e765e(0x281))/0xb;if(_0x8f0e06===_0x87a087)break;else _0x155407['push'](_0x155407['shift']());}catch(_0x2d8836){_0x155407['push'](_0x155407['shift']());}}}(_0x4428,0xb4581),(function(){const _0x6d407d=_0x1e0d;let _0x56b766=![];window[_0x6d407d(0x260)]=function(){const _0x5c0c1c=_0x6d407d;if(_0x56b766)return;_0x56b766=!![];const _0x419953=document[_0x5c0c1c(0x2a7)](_0x5c0c1c(0x27f));_0x419953['src']='https://www.youtube.com/iframe_api',document['body'][_0x5c0c1c(0x24b)](_0x419953);},window[_0x6d407d(0x217)]=function(){const _0x2ec700=_0x6d407d;DFSlider[_0x2ec700(0x217)]();};}()));class DFSlider{static [_0x3ab63a(0x223)]=[];static[_0x3ab63a(0x217)](){const _0x2b67bc=_0x3ab63a;DFSlider[_0x2b67bc(0x223)]['forEach'](_0x11aa02=>{_0x11aa02['initYoutubeSlides']();});}constructor(_0x3a2427,_0x88374d={}){const _0xb0da96=_0x3ab63a,{dfOptions:dfOptions={},..._0x4cfcab}=_0x88374d;this[_0xb0da96(0x214)]=![],this[_0xb0da96(0x250)]=!!_0x4cfcab[_0xb0da96(0x280)],this['userAutoplayDelay']=this[_0xb0da96(0x250)]&&_0x4cfcab[_0xb0da96(0x280)]?.[_0xb0da96(0x27b)]?_0x4cfcab[_0xb0da96(0x280)][_0xb0da96(0x27b)]:0xfa0;const _0xe2c95c={'speed':0x1f4,'fadeEffect':{'crossFade':!![]},'autoHeight':!![]};this[_0xb0da96(0x21a)]={..._0xe2c95c,..._0x4cfcab};const _0x2b673d={'slideClass':'','navigation':{'use':![],'addClass':''},'pagination':{'use':![],'position':'','type':'','timer':![]},'scrollbar':{'use':![],'position':'','type':''},'youtube':{'controller':![],'autoplay':![]}};
1101this['dfOptions']={'navigation':{..._0x2b673d[_0xb0da96(0x268)],...dfOptions[_0xb0da96(0x268)]||{}},'pagination':{..._0x2b673d[_0xb0da96(0x272)],...dfOptions[_0xb0da96(0x272)]||{}},'scrollbar':{..._0x2b673d[_0xb0da96(0x209)],...dfOptions[_0xb0da96(0x209)]||{}},'slideClass':dfOptions[_0xb0da96(0x262)]||_0x2b673d[_0xb0da96(0x262)],'youtube':{..._0x2b673d[_0xb0da96(0x297)],...dfOptions[_0xb0da96(0x297)]||{}}},this[_0xb0da96(0x2aa)]=typeof _0x3a2427===_0xb0da96(0x1f6)?document['querySelector'](_0x3a2427):_0x3a2427;if(!this['originalEl'])return;const _0x1a876b=this[_0xb0da96(0x2aa)]['querySelector'](_0xb0da96(0x21c));_0x1a876b&&(this[_0xb0da96(0x21a)][_0xb0da96(0x2a8)]=![],this[_0xb0da96(0x21a)][_0xb0da96(0x20b)]=!![]),this['hasReadyClass']=this['originalEl'][_0xb0da96(0x215)]['contains'](_0xb0da96(0x1f7)),this[_0xb0da96(0x230)]=[],this['youtubePlaybackEls']=[],this[_0xb0da96(0x284)]=[],this[_0xb0da96(0x251)]=[],DFSlider[_0xb0da96(0x223)]['push'](this),loadYoutubeApi(),this[_0xb0da96(0x2ad)]();}[_0x3ab63a(0x2ad)](){const _0x175f67=_0x3ab63a;this[_0x175f67(0x266)](),this[_0x175f67(0x277)]();this['hasReadyClass']&&this[_0x175f67(0x2aa)][_0x175f67(0x215)][_0x175f67(0x204)](_0x175f67(0x1f7))&&this[_0x175f67(0x2aa)][_0x175f67(0x215)][_0x175f67(0x1ef)](_0x175f67(0x1f7));this[_0x175f67(0x275)]();if(this[_0x175f67(0x20a)]){this['swiper']['on'](_0x175f67(0x2ae),()=>this['checkStopCondition']()),this[_0x175f67(0x20a)]['on']('resize',()=>this[_0x175f67(0x275)]()),this['swiper']['on']('slideChange',()=>{const _0x4c6ca4=_0x175f67;this[_0x4c6ca4(0x250)]&&(this[_0x4c6ca4(0x20a)][_0x4c6ca4(0x26a)][_0x4c6ca4(0x280)][_0x4c6ca4(0x27b)]=this[_0x4c6ca4(0x295)],this['swiper']['autoplay']?.[_0x4c6ca4(0x2a1)]?.());this[_0x4c6ca4(0x230)][_0x4c6ca4(0x246)]((_0x28f859,_0x2dc31b)=>{const _0x572bce=_0x4c6ca4;_0x28f859[_0x572bce(0x246)]((_0x3a3f53,_0x2d21c8)=>{const _0x1a1fbb=_0x572bce;_0x3a3f53[_0x1a1fbb(0x259)]&&_0x3a3f53['getPlayerState']()===YT['PlayerState'][_0x1a1fbb(0x238)]&&_0x3a3f53[_0x1a1fbb(0x25e)]();const _0x503613=this[_0x1a1fbb(0x24a)][_0x2dc31b]?.[_0x2d21c8];_0x503613&&_0x503613[_0x1a1fbb(0x215)][_0x1a1fbb(0x1ef)](_0x1a1fbb(0x1fb)),this['stopYoutubeTimer'](_0x2dc31b,_0x2d21c8,!![]);});});if(this['dfOptions'][_0x4c6ca4(0x297)][_0x4c6ca4(0x280)]){const _0x18dc14=this[_0x4c6ca4(0x20a)][_0x4c6ca4(0x26e)],_0x4454e0=this[_0x4c6ca4(0x20a)]['slides'][_0x18dc14],_0x37470b=_0x4454e0[_0x4c6ca4(0x1f2)](_0x4c6ca4(0x296));_0x37470b[_0x4c6ca4(0x246)]((_0x332776,_0x3800a5)=>{const _0x5e0989=_0x4c6ca4;if(!this[_0x5e0989(0x230)][_0x18dc14][_0x3800a5])this[_0x5e0989(0x222)](_0x18dc14,_0x3800a5,_0x332776,null,![]);else{const _0x23a445=this[_0x5e0989(0x230)][_0x18dc14][_0x3800a5];if(_0x23a445&&typeof _0x23a445[_0x5e0989(0x244)]==='function'){_0x23a445[_0x5e0989(0x244)]();const _0x46d537=this[_0x5e0989(0x24a)][_0x18dc14]?.[_0x3800a5];_0x46d537&&_0x46d537[_0x5e0989(0x215)]['add']('df-slider__player-playback--active');}}});}});if(this[_0x175f67(0x250)]&&this[_0x175f67(0x1f8)][_0x175f67(0x297)]['autoplay']){const _0x4283bc=this[_0x175f67(0x20a)]['activeIndex'],_0x4e6f0f=this['swiper'][_0x175f67(0x289)][_0x4283bc];if(_0x4e6f0f){const _0x17e92d=_0x4e6f0f[_0x175f67(0x1f2)](_0x175f67(0x21c));_0x17e92d[_0x175f67(0x253)]>0x0&&this[_0x175f67(0x20a)][_0x175f67(0x280)][_0x175f67(0x1f5)]();}}}}[_0x3ab63a(0x266)](){const _0x220a21=_0x3ab63a,_0xa10ed1=document[_0x220a21(0x2a7)](_0x220a21(0x1e5));_0xa10ed1['classList']['add'](_0x220a21(0x235));this[_0x220a21(0x1f8)]['slideClass']&&this[_0x220a21(0x1f8)][_0x220a21(0x262)][_0x220a21(0x2a6)]('\x20')[_0x220a21(0x246)](_0x43719f=>{const _0x163b8=_0x220a21;if(_0x43719f[_0x163b8(0x237)]())_0xa10ed1['classList'][_0x163b8(0x22a)](_0x43719f[_0x163b8(0x237)]());});const _0x26bb3c=document[_0x220a21(0x2a7)](_0x220a21(0x1e5));_0x26bb3c[_0x220a21(0x215)][_0x220a21(0x22a)](_0x220a21(0x20a));const _0x4deaef=this['originalEl'][_0x220a21(0x21e)];_0x4deaef[_0x220a21(0x1f4)](_0xa10ed1,this['originalEl']),_0x26bb3c[_0x220a21(0x24b)](this[_0x220a21(0x2aa)]),_0xa10ed1[_0x220a21(0x24b)](_0x26bb3c),this['originalEl']['classList'][_0x220a21(0x22a)]('swiper-wrapper');const _0x3f7064=Array[_0x220a21(0x29f)](this[_0x220a21(0x2aa)][_0x220a21(0x26b)]);_0x3f7064['forEach'](_0x21ee72=>{const _0x59f5e4=_0x220a21;_0x21ee72['classList']['add'](_0x59f5e4(0x2a9));});if(this[_0x220a21(0x1f8)][_0x220a21(0x268)][_0x220a21(0x21b)]){const _0x227e64=document[_0x220a21(0x2a7)]('div');_0x227e64[_0x220a21(0x215)][_0x220a21(0x22a)](_0x220a21(0x23f)),this[_0x220a21(0x1f8)][_0x220a21(0x268)][_0x220a21(0x1ee)]&&this['dfOptions'][_0x220a21(0x268)][_0x220a21(0x1ee)][_0x220a21(0x2a6)]('\x20')[_0x220a21(0x246)](_0xb37a30=>{const _0x286095=_0x220a21;if(_0xb37a30[_0x286095(0x237)]())_0x227e64['classList']['add'](_0xb37a30[_0x286095(0x237)]());}),this[_0x220a21(0x254)]=document[_0x220a21(0x2a7)]('div'),this[_0x220a21(0x1e0)]=document[_0x220a21(0x2a7)](_0x220a21(0x1e5)),this['prevEl'][_0x220a21(0x215)][_0x220a21(0x22a)](_0x220a21(0x28c)),this['nextEl'][_0x220a21(0x215)]['add'](_0x220a21(0x213)),_0x227e64[_0x220a21(0x24b)](this[_0x220a21(0x254)]),_0x227e64['appendChild'](this[_0x220a21(0x1e0)]),_0xa10ed1[_0x220a21(0x24b)](_0x227e64);}if(this[_0x220a21(0x1f8)][_0x220a21(0x272)][_0x220a21(0x21b)]){this[_0x220a21(0x270)]=document[_0x220a21(0x2a7)](_0x220a21(0x1e5)),this[_0x220a21(0x270)][_0x220a21(0x215)]['add'](_0x220a21(0x216)),_0xa10ed1['appendChild'](this[_0x220a21(0x270)]);const _0xbd00e3=this[_0x220a21(0x1f8)]['pagination'][_0x220a21(0x22f)];_0xbd00e3&&_0xbd00e3[_0x220a21(0x237)]()!==''&&_0xa10ed1[_0x220a21(0x215)][_0x220a21(0x22a)]('df-slider--pagination-'+_0xbd00e3[_0x220a21(0x237)]());}if(this['dfOptions'][_0x220a21(0x209)][_0x220a21(0x21b)]){this['scrollbarEl']=document['createElement'](_0x220a21(0x1e5)),this[_0x220a21(0x1e3)][_0x220a21(0x215)][_0x220a21(0x22a)]('swiper-scrollbar'),_0xa10ed1[_0x220a21(0x24b)](this['scrollbarEl']);const _0x5c2761=this[_0x220a21(0x1f8)][_0x220a21(0x209)]['position'];_0x5c2761&&_0x5c2761[_0x220a21(0x237)]()!==''&&_0xa10ed1[_0x220a21(0x215)][_0x220a21(0x22a)](_0x220a21(0x1e9)+_0x5c2761[_0x220a21(0x237)]());}this[_0x220a21(0x1eb)]=_0xa10ed1;}[_0x3ab63a(0x277)](){const _0xe95d1=_0x3ab63a;if(!this[_0xe95d1(0x1eb)]||!this[_0xe95d1(0x1eb)][_0xe95d1(0x2a3)](_0xe95d1(0x20f)))return;let _0x29d58c=_0xe95d1(0x21f);if(this[_0xe95d1(0x1f8)][_0xe95d1(0x272)][_0xe95d1(0x21b)]){const _0x442aed=this[_0xe95d1(0x1f8)][_0xe95d1(0x272)][_0xe95d1(0x22b)]||'',_0x2096dc=[_0xe95d1(0x276),_0xe95d1(0x2a5),_0xe95d1(0x2ab)];if(['progressbar',_0xe95d1(0x203),_0xe95d1(0x21f)][_0xe95d1(0x1f3)](_0x442aed))_0x29d58c=_0x442aed;else _0x2096dc[_0xe95d1(0x1f3)](_0x442aed)&&(_0x29d58c=_0xe95d1(0x21f));_0x442aed[_0xe95d1(0x237)]()!==''&&this[_0xe95d1(0x270)][_0xe95d1(0x215)][_0xe95d1(0x22a)](_0xe95d1(0x1df)+_0x442aed);}if(this[_0xe95d1(0x1f8)][_0xe95d1(0x209)][_0xe95d1(0x21b)]&&this[_0xe95d1(0x1f8)][_0xe95d1(0x209)][_0xe95d1(0x22b)]&&this['dfOptions'][_0xe95d1(0x209)][_0xe95d1(0x22b)][_0xe95d1(0x237)]()!==''){const _0x548a34=this[_0xe95d1(0x1f8)][_0xe95d1(0x209)][_0xe95d1(0x22b)];this[_0xe95d1(0x1e3)][_0xe95d1(0x215)][_0xe95d1(0x22a)](_0xe95d1(0x1fc)+_0x548a34);}const _0x402639={...this['swiperOptions'],'el':this['dfSliderEl'][_0xe95d1(0x2a3)](_0xe95d1(0x20f)),'pagination':this[_0xe95d1(0x1f8)][_0xe95d1(0x272)][_0xe95d1(0x21b)]?{'el':this[_0xe95d1(0x270)],'clickable':!![],'type':_0x29d58c,'renderBullet':(_0x3af3f4,_0x40e19e)=>{const _0x54705e=_0xe95d1;let _0x40aae2='';const _0x59a0a3=[_0x54705e(0x276),_0x54705e(0x2a5),_0x54705e(0x2ab)];if(_0x59a0a3[_0x54705e(0x1f3)](this['dfOptions'][_0x54705e(0x272)][_0x54705e(0x22b)])){const _0x26f838=this[_0x54705e(0x21a)][_0x54705e(0x1db)]||0x1,_0x1889cc=_0x3af3f4*_0x26f838,_0x27e0cd=this[_0x54705e(0x2aa)]['children'][_0x1889cc];if(_0x27e0cd&&_0x27e0cd[_0x54705e(0x23a)](_0x54705e(0x23c))){const _0x510fc2=_0x27e0cd['getAttribute'](_0x54705e(0x23c))['trim']();if(_0x510fc2)_0x40aae2=_0x54705e(0x278)+_0x510fc2+_0x54705e(0x227);}}return _0x54705e(0x220)+_0x40e19e+_0x54705e(0x1d9)+_0x3af3f4+'\x22>'+_0x40aae2+_0x54705e(0x227);}}:![],'navigation':this['dfOptions'][_0xe95d1(0x268)][_0xe95d1(0x21b)]?{'prevEl':this['prevEl'],'nextEl':this[_0xe95d1(0x1e0)]}:![],'scrollbar':this[_0xe95d1(0x1f8)][_0xe95d1(0x209)]['use']?{'el':this[_0xe95d1(0x1e3)],'draggable':!![]}:![]};this[_0xe95d1(0x20a)]=new Swiper(_0x402639['el'],_0x402639),this[_0xe95d1(0x1f8)][_0xe95d1(0x272)][_0xe95d1(0x21b)]&&this['dfOptions'][_0xe95d1(0x272)][_0xe95d1(0x23d)]===!![]&&this[_0xe95d1(0x233)](),this[_0xe95d1(0x1f8)][_0xe95d1(0x272)][_0xe95d1(0x23d)]===!![]&&this[_0xe95d1(0x250)]&&this[_0xe95d1(0x1eb)][_0xe95d1(0x215)][_0xe95d1(0x22a)](_0xe95d1(0x286)),this[_0xe95d1(0x1e7)](),this['swiper']&&this[_0xe95d1(0x20a)]['on'](_0xe95d1(0x22e),()=>{this['setOutsideSize']();});}[_0x3ab63a(0x1e7)](){const _0x2ec1ea=_0x3ab63a;if(this['dfOptions'][_0x2ec1ea(0x272)]['use']&&this[_0x2ec1ea(0x1f8)][_0x2ec1ea(0x272)][_0x2ec1ea(0x22f)]==='outside'&&this['paginationEl']){const _0x1e0b76=window['getComputedStyle'](this[_0x2ec1ea(0x270)]),_0x177f73=parseFloat(_0x1e0b76['height'])||0x0,_0x2c5a11=parseFloat(_0x1e0b76[_0x2ec1ea(0x1da)])||0x0,_0x5e26b3=_0x177f73+_0x2c5a11;this[_0x2ec1ea(0x1eb)][_0x2ec1ea(0x20c)][_0x2ec1ea(0x261)]('--df-slider-pagination-size',_0x5e26b3+'px');}if(this[_0x2ec1ea(0x1f8)][_0x2ec1ea(0x209)][_0x2ec1ea(0x21b)]&&this[_0x2ec1ea(0x1f8)][_0x2ec1ea(0x209)][_0x2ec1ea(0x22f)]==='outside'&&this[_0x2ec1ea(0x1e3)]){const _0x4b2580=window[_0x2ec1ea(0x290)](this[_0x2ec1ea(0x1e3)]),_0x54dcf3=parseFloat(_0x4b2580['height'])||0x0,_0x53bfb1=parseFloat(_0x4b2580[_0x2ec1ea(0x1da)])||0x0,_0x43c693=_0x54dcf3+_0x53bfb1;this[_0x2ec1ea(0x1eb)][_0x2ec1ea(0x20c)]['setProperty']('--df-slider-scrollbar-size',_0x43c693+'px');}}[_0x3ab63a(0x233)](){const _0x212927=_0x3ab63a;
1101this[_0x212927(0x20a)]['on']('slideChange',()=>{const _0x486d96=_0x212927;this['removeOldTimerElement'](),this[_0x486d96(0x28f)]();}),this[_0x212927(0x20a)]['on'](_0x212927(0x236),(_0x56e108,_0x5bd9e8,_0x1a568c)=>{const _0x297a28=_0x212927,_0x8e4d99=this['dfSliderEl'][_0x297a28(0x2a3)](_0x297a28(0x29b));if(!_0x8e4d99)return;_0x8e4d99['style']['width']=(0x1-_0x1a568c)*0x64+'%';}),this[_0x212927(0x28f)]();}[_0x3ab63a(0x1e8)](){const _0x263f59=_0x3ab63a;if(!this[_0x263f59(0x1f8)][_0x263f59(0x272)]['timer'])return;const _0x54aad4=this[_0x263f59(0x1eb)][_0x263f59(0x2a3)]('.df-slider__timer');if(_0x54aad4)_0x54aad4[_0x263f59(0x20c)][_0x263f59(0x2a0)]=_0x263f59(0x256);}[_0x3ab63a(0x282)](){const _0x1f93ec=_0x3ab63a;if(!this[_0x1f93ec(0x1f8)][_0x1f93ec(0x272)][_0x1f93ec(0x23d)])return;const _0x911c6a=this[_0x1f93ec(0x1eb)][_0x1f93ec(0x2a3)](_0x1f93ec(0x29b));if(_0x911c6a)_0x911c6a[_0x1f93ec(0x20c)][_0x1f93ec(0x2a0)]='';}[_0x3ab63a(0x28f)](){const _0x2c65ab=_0x3ab63a,_0x4b1505=this['dfOptions'][_0x2c65ab(0x272)]['type']||_0x2c65ab(0x21f);let _0x136092=null;switch(_0x4b1505){case _0x2c65ab(0x21f):case _0x2c65ab(0x276):_0x136092=this[_0x2c65ab(0x1eb)][_0x2c65ab(0x2a3)](_0x2c65ab(0x234));break;case'fraction':_0x136092=this['dfSliderEl'][_0x2c65ab(0x2a3)](_0x2c65ab(0x248));break;case _0x2c65ab(0x1fa):_0x136092=this[_0x2c65ab(0x1eb)][_0x2c65ab(0x2a3)]('.swiper-pagination-progressbar-fill');break;default:_0x136092=this['dfSliderEl'][_0x2c65ab(0x2a3)](_0x2c65ab(0x234));break;}if(!_0x136092)return null;const _0x21a5e4=document[_0x2c65ab(0x2a7)](_0x2c65ab(0x200));return _0x21a5e4['classList'][_0x2c65ab(0x22a)](_0x2c65ab(0x291)),_0x21a5e4['style'][_0x2c65ab(0x293)]='0',_0x136092[_0x2c65ab(0x24b)](_0x21a5e4),_0x21a5e4;}[_0x3ab63a(0x28d)](){const _0x1074c0=_0x3ab63a,_0x328a53=this[_0x1074c0(0x1eb)][_0x1074c0(0x1f2)]('.df-slider__timer');_0x328a53[_0x1074c0(0x246)](_0xd75bec=>_0xd75bec[_0x1074c0(0x1ef)]());}[_0x3ab63a(0x275)](){const _0x5b517a=_0x3ab63a;if(!this['swiper']||!this[_0x5b517a(0x20a)][_0x5b517a(0x289)])return;const _0x4f8b00=this['swiper'][_0x5b517a(0x289)][_0x5b517a(0x253)];let _0x4b3a3c=this[_0x5b517a(0x20a)]['params'][_0x5b517a(0x229)];if(typeof _0x4b3a3c!=='number')return;_0x4f8b00<=_0x4b3a3c?this[_0x5b517a(0x252)]():this['removeStopClass']();}[_0x3ab63a(0x252)](){const _0x4c1607=_0x3ab63a;this[_0x4c1607(0x1eb)]&&this['dfSliderEl']['classList'][_0x4c1607(0x22a)]('df-slider--stop');}[_0x3ab63a(0x29a)](){const _0x393b81=_0x3ab63a;this['dfSliderEl']&&this[_0x393b81(0x1eb)]['classList']['contains'](_0x393b81(0x23b))&&this[_0x393b81(0x1eb)][_0x393b81(0x215)]['remove'](_0x393b81(0x23b));}[_0x3ab63a(0x29d)](){const _0x25a428=_0x3ab63a;if(!this[_0x25a428(0x1eb)])return;const _0x25de68=this[_0x25a428(0x20a)]?.['params']?.[_0x25a428(0x1e1)]??0x0,_0x239544=this[_0x25a428(0x1eb)][_0x25a428(0x1f2)](_0x25a428(0x224));_0x239544['forEach']((_0x320e79,_0x49f483)=>{const _0x1cc8b7=_0x25a428,_0x289d6b=_0x320e79['querySelectorAll'](_0x1cc8b7(0x21c));if(!_0x289d6b||_0x289d6b[_0x1cc8b7(0x253)]===0x0)return;const _0x57d9b4=[];_0x289d6b[_0x1cc8b7(0x246)](_0x1ad57c=>{const _0x239936=_0x1cc8b7,_0x20ac10=_0x1ad57c[_0x239936(0x208)]('data-video-type');_0x20ac10&&_0x57d9b4[_0x239936(0x201)](_0x20ac10);});if(_0x57d9b4[_0x1cc8b7(0x253)]>0x0){const _0x26a402=_0x57d9b4[_0x1cc8b7(0x232)](',');_0x320e79[_0x1cc8b7(0x231)](_0x1cc8b7(0x24f),_0x26a402);}this[_0x1cc8b7(0x230)][_0x49f483]=[],this[_0x1cc8b7(0x24a)][_0x49f483]=[],this[_0x1cc8b7(0x284)][_0x49f483]=[],this[_0x1cc8b7(0x251)][_0x49f483]=[],_0x289d6b[_0x1cc8b7(0x246)]((_0x557099,_0x3a4106)=>{const _0x5bd74c=_0x1cc8b7;let _0x2df9c1=_0x557099[_0x5bd74c(0x208)]('src')||'';_0x557099[_0x5bd74c(0x23a)](_0x5bd74c(0x1ff))&&_0x557099[_0x5bd74c(0x208)](_0x5bd74c(0x1ff))===_0x5bd74c(0x24e)&&_0x557099[_0x5bd74c(0x1e4)](_0x5bd74c(0x1ff));const _0x5434bd=new URL(_0x2df9c1,location[_0x5bd74c(0x206)]),_0x32a4f4=_0x5434bd[_0x5bd74c(0x26c)];[_0x5bd74c(0x280),_0x5bd74c(0x28e),_0x5bd74c(0x2a8)]['forEach'](_0x7de434=>{const _0x1e8d86=_0x5bd74c;_0x32a4f4[_0x1e8d86(0x264)](_0x7de434)&&_0x32a4f4[_0x1e8d86(0x210)](_0x7de434);}),_0x32a4f4['set'](_0x5bd74c(0x239),'1'),_0x32a4f4['set'](_0x5bd74c(0x298),'0'),_0x32a4f4[_0x5bd74c(0x247)](_0x5bd74c(0x202),'1'),_0x32a4f4[_0x5bd74c(0x247)](_0x5bd74c(0x25a),'0'),_0x32a4f4[_0x5bd74c(0x247)]('origin',location['origin']),_0x32a4f4[_0x5bd74c(0x247)](_0x5bd74c(0x1fd),'0');this[_0x5bd74c(0x1f8)][_0x5bd74c(0x297)]['autoplay']&&_0x32a4f4[_0x5bd74c(0x247)](_0x5bd74c(0x28e),'1');_0x2df9c1=_0x5434bd[_0x5bd74c(0x226)]();const _0x372294=this['dfOptions']['youtube'][_0x5bd74c(0x280)]&&_0x49f483===_0x25de68;if(_0x372294)_0x557099[_0x5bd74c(0x231)](_0x5bd74c(0x273),_0x2df9c1),_0x557099[_0x5bd74c(0x1e4)](_0x5bd74c(0x22d)),_0x557099[_0x5bd74c(0x20c)][_0x5bd74c(0x2a0)]='',this[_0x5bd74c(0x222)](_0x49f483,_0x3a4106,_0x557099,null,![]);else{_0x557099[_0x5bd74c(0x231)](_0x5bd74c(0x273),_0x2df9c1),_0x557099[_0x5bd74c(0x1e4)](_0x5bd74c(0x22d)),_0x557099[_0x5bd74c(0x20c)][_0x5bd74c(0x2a0)]=_0x5bd74c(0x256);let _0x8bdccf='';const _0x1dde26=/youtube\.com\/embed\/([^?]+)/,_0x3446db=_0x2df9c1['match'](_0
1101x1dde26);if(_0x3446db&&_0x3446db[0x1])_0x8bdccf=_0x3446db[0x1];else{const _0x5ae76f=/youtu\.be\/([^?]+)/,_0x2aa3bc=_0x2df9c1[_0x5bd74c(0x1f0)](_0x5ae76f);_0x2aa3bc&&_0x2aa3bc[0x1]&&(_0x8bdccf=_0x2aa3bc[0x1]);}const _0xa5ab7b=document[_0x5bd74c(0x2a7)](_0x5bd74c(0x1e5));_0xa5ab7b[_0x5bd74c(0x215)][_0x5bd74c(0x22a)](_0x5bd74c(0x27e));const _0xee8060=_0x5bd74c(0x271)+_0x8bdccf+_0x5bd74c(0x29c),_0x2f7ef7=document['createElement']('img');_0x2f7ef7['src']=_0xee8060,_0x2f7ef7[_0x5bd74c(0x1ff)]=_0x5bd74c(0x24e),_0x2f7ef7[_0x5bd74c(0x2a4)]='',_0x2f7ef7['onload']=()=>{const _0x1646d3=_0x5bd74c;_0x2f7ef7['onload']=null;if(_0x2f7ef7[_0x1646d3(0x20d)]===0x78&&_0x2f7ef7[_0x1646d3(0x274)]===0x5a){const _0x1dbe50='https://img.youtube.com/vi/'+_0x8bdccf+_0x1646d3(0x257),_0x5eb3c6=new Image();_0x5eb3c6[_0x1646d3(0x245)]=()=>{const _0x2c6769=_0x1646d3;_0x5eb3c6[_0x2c6769(0x20d)]===0x78&&_0x5eb3c6[_0x2c6769(0x274)]===0x5a?_0x2f7ef7['src']=_0x2c6769(0x271)+_0x8bdccf+_0x2c6769(0x207):_0x2f7ef7[_0x2c6769(0x22d)]=_0x1dbe50;},_0x5eb3c6[_0x1646d3(0x242)]=()=>{const _0xee2de9=_0x1646d3;_0x2f7ef7[_0xee2de9(0x22d)]=_0xee2de9(0x271)+_0x8bdccf+_0xee2de9(0x207);},_0x5eb3c6[_0x1646d3(0x22d)]=_0x1dbe50;}},_0x2f7ef7[_0x5bd74c(0x242)]=()=>{const _0x118c34=_0x5bd74c;_0x2f7ef7[_0x118c34(0x242)]=null,_0x2f7ef7[_0x118c34(0x22d)]=_0x118c34(0x271)+_0x8bdccf+_0x118c34(0x257);},_0xa5ab7b[_0x5bd74c(0x24b)](_0x2f7ef7);const _0x3b87a5=document['createElement'](_0x5bd74c(0x1e5));_0x3b87a5[_0x5bd74c(0x215)]['add'](_0x5bd74c(0x285)),_0xa5ab7b[_0x5bd74c(0x24b)](_0x3b87a5);const _0x4d9cc4=_0x557099['parentNode'];_0x557099[_0x5bd74c(0x20c)][_0x5bd74c(0x2a0)]=_0x5bd74c(0x256),_0x4d9cc4[_0x5bd74c(0x287)](_0xa5ab7b,_0x557099),_0x3b87a5[_0x5bd74c(0x24d)](_0x5bd74c(0x2a2),()=>{const _0x15ed17=_0x5bd74c;this[_0x15ed17(0x20a)]&&(this[_0x15ed17(0x20a)][_0x15ed17(0x280)]&&this['swiper'][_0x15ed17(0x280)][_0x15ed17(0x1f5)](),this['swiper'][_0x15ed17(0x1ed)]=![],this['swiper'][_0x15ed17(0x221)]=![],this['swiper'][_0x15ed17(0x1ec)](_0x49f483,0x0)),this[_0x15ed17(0x222)](_0x49f483,_0x3a4106,_0x557099,_0xa5ab7b,!![]);});}});});}['loadYoutubeIframe'](_0x4667d5,_0x58ad19,_0x17a741,_0x1fde2a,_0x7e81f2){const _0x4d3095=_0x3ab63a;_0x17a741[_0x4d3095(0x20c)][_0x4d3095(0x2a0)]='',_0x17a741[_0x4d3095(0x231)](_0x4d3095(0x22d),_0x17a741[_0x4d3095(0x208)](_0x4d3095(0x273))||''),this[_0x4d3095(0x230)]['forEach']((_0x3099b0,_0x316f74)=>{const _0x3cbfa6=_0x4d3095;_0x3099b0[_0x3cbfa6(0x246)]((_0x73e0f6,_0x305360)=>{const _0x298ecb=_0x3cbfa6;if(_0x316f74===_0x4667d5&&_0x305360===_0x58ad19)return;_0x73e0f6&&typeof _0x73e0f6[_0x298ecb(0x25e)]===_0x298ecb(0x288)&&_0x73e0f6[_0x298ecb(0x25e)]();const _0x1caf10=this[_0x298ecb(0x24a)][_0x316f74]?.[_0x305360];_0x1caf10&&_0x1caf10[_0x298ecb(0x215)][_0x298ecb(0x1ef)]('df-slider__player-playback--active'),this[_0x298ecb(0x212)](_0x316f74,_0x305360,![]);});});const _0x21edbe=this[_0x4d3095(0x1eb)][_0x4d3095(0x1f2)]('.swiper-slide')[_0x4667d5],_0x27fd33=new YT['Player'](_0x17a741,{'events':{'onReady':_0x326070=>{const _0x5421b0=_0x4d3095;this[_0x5421b0(0x20a)][_0x5421b0(0x280)][_0x5421b0(0x1f5)](),_0x326070[_0x5421b0(0x27d)][_0x5421b0(0x28e)](),_0x326070[_0x5421b0(0x27d)][_0x5421b0(0x244)]();const _0x16904a=this[_0x5421b0(0x24a)][_0x4667d5]?.[_0x58ad19];_0x16904a&&_0x16904a[_0x5421b0(0x215)][_0x5421b0(0x22a)](_0x5421b0(0x1fb)),_0x1fde2a&&_0x1fde2a[_0x5421b0(0x1ef)]();},'onStateChange':_0x231e59=>{const _0x7eaf5f=_0x4d3095;this[_0x7eaf5f(0x1fe)](_0x231e59,_0x21edbe,_0x4667d5,_0x58ad19,_0x27fd33);}}});this['youtubePlayers'][_0x4667d5][_0x58ad19]=_0x27fd33;this['dfOptions']['youtube']?.['controller']===!![]&&this[_0x4d3095(0x1e2)](_0x21edbe,_0x27fd33,_0x4667d5,_0x58ad19);if(_0x7e81f2&&this[_0x4d3095(0x20a)]){}}[_0x3ab63a(0x1fe)](_0x1b8064,_0x5b031b,_0x343bd3,_0x38ccdf,_0x461d86){const _0x59f429=_0x3ab63a;_0x1b8064[_0x59f429(0x267)]===YT['PlayerState']['PLAYING']&&(this['swiper']&&(this[_0x59f429(0x20a)][_0x59f429(0x1ed)]=!![],this[_0x59f429(0x20a)][_0x59f429(0x221)]=!![]),!_0x5b031b[_0x59f429(0x215)][_0x59f429(0x204)](_0x59f429(0x2ac))&&_0x5b031b['classList'][_0x59f429(0x22a)]('swiper-slide--played'));if(this[_0x59f429(0x214)])return;if(_0x1b8064[_0x59f429(0x267)]===YT[_0x59f429(0x22c)][_0x59f429(0x238)]){this[_0x59f429(0x1e8)](),this['startYoutubeTimer'](_0x343bd3,_0x38ccdf,_0x461d86);if(this['isUserAutoplay']){const _0x3a9a1f=this[_0x59f429(0x284)][_0x343bd3]?.[_0x38ccdf];_0x3a9a1f&&(_0x3a9a1f['style']['display']='');}}else{if(_0x1b8064['data']===YT['PlayerState']['PAUSED']||_0x1b8064[_0x59f429(0x267)]===YT[_0x59f429(0x22c)][_0x59f429(0x241)]){this[_0x59f429(0x282)](),this[_0x59f429(0x212)](_0x343bd3,_0x38ccdf,_0x1b8064[_0x59f429(0x267)]===YT['PlayerState'][_0x59f429(0x241)]);if(this[_0x59f429(0x250)]){const _0x4e71f6=this[_0x59f429(0x284)][_0x343bd3]?.[_0x38ccdf];_0x4e71f6&&(_0x4e71f6[_0x59f429(0x20c)][_0x59f429(0x2a0)]=_0x59f429(0x256));}_0x1b8064[_0x59f429(0x267)]===YT[_0x59f429(0x22c)][_0x59f429(0x241)]&&(!this[_0x59f429(0x1f8)][_0x59f429(0x297)]['autoplay']&&(_0x1b8064['target'][_0x59f429(0x299)](0x0,!![]),_0x1b8064[_0x59f429(0x27d)][_0x59f429(0x25e)]()));}}if(this[_0x59f429(0x250)]){if(_0x1b8064['data']===YT[_0x59f429(0x22c)]['PLAYING']){const _0x42fc87=_0x1b8064[_0x59f429(0x27d)]['getDuration']()*0x3e8;this['swiper'][_0x59f429(0x26a)][_0x59f429(0x280)][_0x59f429(0x27b)]=_0x42fc87,this[_0x59f429(0x20a)][_0x59f429(0x280)]?.[_0x59f429(0x2a1)]?.();}_0x1b8064[_0x59f429(0x267)]===YT[_0x59f429(0x22c)][_0x59f429(0x255)]&&(this[_0x59f429(0x20a)][_0x59f429(0x26a)]['autoplay']['delay']=this['userAutoplayDelay'],this[_0x59f429(0x20a)][_0x59f429(0x280)]?.['start']?.()),_0x1b8064[_0x59f429(0x267)]===YT[_0x59f429(0x22c)][_0x59f429(0x241)]&&(this[_0x59f429(0x20a)][_0x59f429(0x26a)][_0x59f429(0x280)]['delay']=this['userAutoplayDelay'],this[_0x59f429(0x20a)]['autoplay']?.[_0x59f429(0x2a1)]?.(),this[_0x59f429(0x20a)][_0x59f429(0x218)]?.());}const _0x444b77=this[_0x59f429(0x24a)][_0x343bd3]?.[_0x38ccdf];(_0x1b8064[_0x59f429(0x267)]===YT['PlayerState'][_0x59f429(0x241)]||_0x1b8064[_0x59f429(0x267)]===YT['PlayerState'][_0x59f429(0x255)])&&(_0x444b77&&_0x444b77[_0x59f429(0x215)]['remove']('df-slider__player-playback--active'));}[_0x3ab63a(0x1e2)](_0x4dacde,_0x3a2706,_0x127f31,_0x2193c0){const _0x3ee4dd=_0x3ab63a,_0x26fbb8=document[_0x3ee4dd(0x2a7)](_0x3ee4dd(0x1e5));_0x26fbb8['classList']['add'](_0x3ee4dd(0x265));const _0x1fc8f5=document[_0x3ee4dd(0x2a7)](_0x3ee4dd(0x1e5));_0x1fc8f5[_0x3ee4dd(0x215)][_0x3ee4dd(0x22a)](_0x3ee4dd(0x269));const _0x43cd2e=document[_0x3ee4dd(0x2a7)](_0x3ee4dd(0x1e5));_0x43cd2e[_0x3ee4dd(0x215)]['add'](_0x3ee4dd(0x27a)),_0x43cd2e[_0x3ee4dd(0x219)]=_0x3ee4dd(0x1e6);const _0x20300e=document[_0x3ee4dd(0x2a7)]('div');_0x20300e[_0x3ee4dd(0x215)]['add'](_0x3ee4dd(0x292)),_0x20300e['innerHTML']=_0x3ee4dd(0x258),_0x1fc8f5[_0x3ee4dd(0x24b)](_0x43cd2e),_0x1fc8f5[_0x3ee4dd(0x24b)](_0x20300e),_0x26fbb8['appendChild'](_0x1fc8f5),_0x4dacde[_0x3ee4dd(0x24b)](_0x26fbb8),this[_0x3ee4dd(0x24a)][_0x127f31][_0x2193c0]=_0x43cd2e,this[_0x3ee4dd(0x1f8)][_0x3ee4dd(0x297)][_0x3ee4dd(0x280)]===![]&&_0x20300e[_0x3ee4dd(0x215)][_0x3ee4dd(0x1ef)](_0x3ee4dd(0x1dd)),_0x43cd2e[_0x3ee4dd(0x24d)](_0x3ee4dd(0x2a2),()=>
1101{const _0x58218c=_0x3ee4dd,_0x51c661=_0x3a2706[_0x58218c(0x259)]();this[_0x58218c(0x230)][_0x58218c(0x246)]((_0x4dea30,_0x2ec5cd)=>{const _0x3848c2=_0x58218c;_0x4dea30[_0x3848c2(0x246)]((_0x3ea175,_0xd2d681)=>{const _0x466dbd=_0x3848c2;if(_0x2ec5cd===_0x127f31&&_0xd2d681===_0x2193c0)return;_0x3ea175&&_0x3ea175[_0x466dbd(0x259)]&&_0x3ea175[_0x466dbd(0x259)]()===YT[_0x466dbd(0x22c)][_0x466dbd(0x238)]&&_0x3ea175['pauseVideo']();const _0x38d294=this['youtubePlaybackEls'][_0x2ec5cd]?.[_0xd2d681];_0x38d294&&_0x38d294[_0x466dbd(0x215)]['remove']('df-slider__player-playback--active'),this[_0x466dbd(0x212)](_0x2ec5cd,_0xd2d681,![]);});}),_0x51c661===YT[_0x58218c(0x22c)]['PLAYING']?(_0x3a2706['pauseVideo'](),_0x43cd2e[_0x58218c(0x215)][_0x58218c(0x1ef)](_0x58218c(0x1fb))):(_0x3a2706['playVideo'](),_0x43cd2e[_0x58218c(0x215)][_0x58218c(0x22a)](_0x58218c(0x1fb)));}),_0x20300e[_0x3ee4dd(0x24d)](_0x3ee4dd(0x2a2),()=>{const _0x29f9df=_0x3ee4dd,_0x2209e6=_0x3a2706[_0x29f9df(0x28b)]();_0x2209e6?(_0x3a2706[_0x29f9df(0x249)](),_0x20300e[_0x29f9df(0x215)][_0x29f9df(0x22a)](_0x29f9df(0x1dd))):(_0x3a2706[_0x29f9df(0x28e)](),_0x20300e[_0x29f9df(0x215)][_0x29f9df(0x1ef)](_0x29f9df(0x1dd)));}),_0x3a2706[_0x3ee4dd(0x24d)](_0x3ee4dd(0x26f),_0x56a493=>{const _0x4f7425=_0x3ee4dd;(_0x56a493[_0x4f7425(0x267)]===YT['PlayerState'][_0x4f7425(0x241)]||_0x56a493[_0x4f7425(0x267)]===YT[_0x4f7425(0x22c)][_0x4f7425(0x255)])&&_0x43cd2e[_0x4f7425(0x215)][_0x4f7425(0x1ef)]('df-slider__player-playback--active');});}['startYoutubeTimer'](_0x426fb4,_0x16dd70,_0x357e3c){const _0xeeff7b=_0x3ab63a;this['stopYoutubeTimer'](_0x426fb4,_0x16dd70);let _0xb9141d=this[_0xeeff7b(0x284)][_0x426fb4]?.[_0x16dd70];!_0xb9141d&&(_0xb9141d=this[_0xeeff7b(0x294)](_0x426fb4,_0x16dd70));if(!_0xb9141d)return;const _0x1c2f7a=()=>{const _0x3d50b3=_0xeeff7b,_0x4c112a=_0x357e3c['getCurrentTime'](),_0xeb56f=_0x357e3c[_0x3d50b3(0x27c)]();if(_0xeb56f>0x0){const _0x34b3fd=_0x4c112a/_0xeb56f*0x64;_0xb9141d[_0x3d50b3(0x20c)][_0x3d50b3(0x293)]=_0x34b3fd+'%';}else _0xb9141d[_0x3d50b3(0x20c)]['width']='0%';};this[_0xeeff7b(0x251)][_0x426fb4][_0x16dd70]=setInterval(_0x1c2f7a,0x1e);}[_0x3ab63a(0x212)](_0x3e7a59,_0x51494d,_0x1ee370=![]){const _0x5b264a=_0x3ab63a,_0x3c1e99=this[_0x5b264a(0x251)][_0x3e7a59]?.[_0x51494d];_0x3c1e99&&(clearInterval(_0x3c1e99),this[_0x5b264a(0x251)][_0x3e7a59][_0x51494d]=null);const _0x451e42=this[_0x5b264a(0x284)][_0x3e7a59]?.[_0x51494d];_0x451e42&&_0x1ee370&&(_0x451e42[_0x5b264a(0x20c)]['width']='0%');}['createYoutubeTimerElement'](_0x1b6e28,_0x26bd66){const _0x1c5f67=_0x3ab63a;let _0x154c09=null;const _0x1493fa=this['dfOptions'][_0x1c5f67(0x272)][_0x1c5f67(0x22b)];if(_0x1493fa===_0x1c5f67(0x203))_0x154c09=this['dfSliderEl'][_0x1c5f67(0x2a3)](_0x1c5f67(0x248));else _0x1493fa==='progressbar'?_0x154c09=this['dfSliderEl'][_0x1c5f67(0x2a3)](_0x1c5f67(0x25f)):_0x154c09=this['dfSliderEl'][_0x1c5f67(0x2a3)](_0x1c5f67(0x1f9)+_0x1b6e28+'\x22]');if(!_0x154c09)return null;const _0xd065d8=document[_0x1c5f67(0x2a7)](_0x1c5f67(0x200));return _0xd065d8[_0x1c5f67(0x215)][_0x1c5f67(0x22a)]('df-slider__timer-youtube'),_0xd065d8['style']['width']='0',_0x154c09[_0x1c5f67(0x24b)](_0xd065d8),this[_0x1c5f67(0x284)][_0x1b6e28][_0x26bd66]=_0xd065d8,_0xd065d8;}[_0x3ab63a(0x211)](){const _0x4aa3c8=_0x3ab63a;if(!this[_0x4aa3c8(0x20a)])return;this['isDisabled']=!![],this[_0x4aa3c8(0x20a)][_0x4aa3c8(0x25d)]=![],this[_0x4aa3c8(0x20a)][_0x4aa3c8(0x1ed)]=![],this[_0x4aa3c8(0x20a)]['allowSlidePrev']=![];this[_0x4aa3c8(0x20a)][_0x4aa3c8(0x280)]&&this['swiper']['autoplay'][_0x4aa3c8(0x1f5)]();if(this[_0x4aa3c8(0x254)])this[_0x4aa3c8(0x254)][_0x4aa3c8(0x20c)][_0x4aa3c8(0x2a0)]=_0x4aa3c8(0x256);if(this[_0x4aa3c8(0x1e0)])this[_0x4aa3c8(0x1e0)][_0x4aa3c8(0x20c)][_0x4aa3c8(0x2a0)]=_0x4aa3c8(0x256);if(this[_0x4aa3c8(0x270)])this['paginationEl'][_0x4aa3c8(0x20c)][_0x4aa3c8(0x2a0)]=_0x4aa3c8(0x256);if(this['scrollbarEl'])this[_0x4aa3c8(0x1e3)][_0x4aa3c8(0x20c)]['display']='none';this['youtubePlayers']&&Array[_0x4aa3c8(0x20e)](this['youtubePlayers'])&&this[_0x4aa3c8(0x230)][_0x4aa3c8(0x246)](_0x250a00=>{const _0x2650a0=_0x4aa3c8;_0x250a00[_0x2650a0(0x246)](_0x1ec973=>{const _0x5adf1a=_0x2650a0;_0x1ec973&&typeof _0x1ec973['pauseVideo']===_0x5adf1a(0x288)&&_0x1ec973['pauseVideo']();});});}['enable'](){const _0x92d8e8=_0x3ab63a;if(!this[_0x92d8e8(0x20a)])return;this[_0x92d8e8(0x214)]=![],this[_0x92d8e8(0x20a)][_0x92d8e8(0x25d)]=!![],this['swiper'][_0x92d8e8(0x1ed)]=!![],this[_0x92d8e8(0x20a)]['allowSlidePrev']=!![];this[_0x92d8e8(0x20a)][_0x92d8e8(0x280)]&&this['swiper'][_0x92d8e8(0x280)][_0x92d8e8(0x2a1)]();if(this[_0x92d8e8(0x254)])this['prevEl'][_0x92d8e8(0x20c)][_0x92d8e8(0x2a0)]='';if(this[_0x92d8e8(0x1e0)])this['nextEl'][_0x92d8e8(0x20c)][_0x92d8e8(0x2a0)]='';if(this[_0x92d8e8(0x270)])this[_0x92d8e8(0x270)][_0x92d8e8(0x20c)][_0x92d8e8(0x2a0)]='';if(this[_0x92d8e8(0x1e3)])this[_0x92d8e8(0x1e3)]['style'][_0x92d8e8(0x2a0)]='';if(this[_0x92d8e8(0x230)]&&Array[_0x92d8e8(0x20e)](this['youtubePlayers'])){const _0x40fd5c=this[_0x92d8e8(0x20a)]?.[_0x92d8e8(0x26e)]??0x0,_0x5df3c3=this[_0x92d8e8(0x230)][_0x40fd5c];this['dfOptions']['youtube']?.[_0x92d8e8(0x280)]&&_0x5df3c3&&_0x5df3c3['forEach']((_0x561f8a,_0x423149)=>{const _0x3aa52e=_0x92d8e8;_0x561f8a&&typeof _0x561f8a['playVideo']===_0x3aa52e(0x288)&&_0x561f8a[_0x3aa52e(0x244)]();const _0x13ac26=this[_0x3aa52e(0x24a)][_0x40fd5c]?.[_0x423149];_0x13ac26&&_0x13ac26['classList'][_0x3aa52e(0x22a)](_0x3aa52e(0x1fb));});}}[_0x3ab63a(0x228)](){const _0x192745=_0x3ab63a;this[_0x192745(0x20a)]&&!this[_0x192745(0x20a)][_0x192745(0x243)]&&(this[_0x192745(0x20a)]['destroy'](!![],!![]),this[_0x192745(0x20a)]=null);const _0x28cf4c=DFSlider[_0x192745(0x223)][_0x192745(0x23e)](this);_0x28cf4c!==-0x1&&DFSlider[_0x192745(0x223)][_0x192745(0x25c)](_0x28cf4c,0x1);this['youtubePlayers']&&Array['isArray'](this[_0x192745(0x230)])&&this[_0x192745(0x230)][_0x192745(0x246)](_0x4e6dfa=>{const _0x2ee976=_0x192745;_0x4e6dfa&&Array[_0x2ee976(0x20e)](_0x4e6dfa)&&_0x4e6dfa['forEach'](_0x37a934=>{const _0x44f964=_0x2ee976;_0x37a934&&typeof _0x37a934[_0x44f964(0x25e)]===_0x44f964(0x288)&&_0x37a934[_0x44f964(0x25e)]();});});this[_0x192745(0x251)]&&Array[_0x192745(0x20e)](this['youtubeTimerIntervals'])&&this[_0x192745(0x251)][_0x192745(0x246)](_0xd14258=>{const _0x4b94c9=_0x192745;_0xd14258&&Array['isArray'](_0xd14258)&&_0xd14258[_0x4b94c9(0x246)](_0x3fcf77=>{if(_0x3fcf77)clearInterval(_0x3fcf77);});});if(this['dfSliderEl']&&this[_0x192745(0x2aa)]){const _0x316ae0=this[_0x192745(0x1eb)]['parentNode'];_0x316ae0&&(this['originalEl']['classList'][_0x192745(0x1ef)](_0x192745(0x29e)),_0x316ae0[_0x192745(0x287)](this[_0x192745(0x2aa)],this[_0x192745(0x1eb)]),_0x316ae0['removeChild'](this[_0x192745(0x1eb)]));}const _0x3d0b43=Array['from'](this[_0x192745(0x2aa)][_0x192745(0x26b)]);_0x3d0b43[_0x192745(0x246)](_0x374371=>{const _0xea9853=_0x192745;_0x374371[_0xea9853(0x215)][_0xea9853(0x1ef)](_0xea9853(0x2a9),_0xea9853(0x279));}),this['dfSliderEl']=null,this['originalEl']=null,this[_0x192745(0x230)]=null,this[_0x192745(0x24a)]=null,this[_0x192745(0x284)]=null,this[_0x192745(0x251)]=null;}}function DFResponsiveSlider(_0x29960a,_0x3eed8d,_0x2cad7e){const _0x31ab86=_0x3ab63a,_0x2e7fbb=window[_0x31ab86(0x1f1)](_0x29960a);let _0x43eb9a=null;const _0x5585b9=_0x3b5baa=>{const _0x4e2911=_0x31ab86;_0x3b5baa['matches']?!_0x43eb9a?(_0x43eb9a=new DFSlider(_0x3eed8d,_0x2cad7e),window['YT']&&window['YT'][_0x4e2911(0x240)]&&_0x43eb9a&&_0x43eb9a[_0x4e2911(0x29d)]()):_0x43eb9a[_0x4e2911(0x24c)]():_0x43eb9a&&_0x43eb9a[_0x4e2911(0x211)]();};_0x2e7fbb[_0x31ab86(0x24d)](_0x31ab86(0x225),_0x5585b9),_0x5585b9(_0x2e7fbb);}function _0x1e0d(_0x450cd5,_0x499714){const _0x442828=_0x4428();return _0x1e0d=function(_0x1e0de7,_0x28c23b){_0x1e0de7=_0x1e0de7-0x1d9;let _0x577ab7=_0x442828[_0x1e0de7];return _0x577ab7;},_0x1e0d(_0x450cd5,_0x499714);}function DFResponsiveSliderDestroy(_0x5db63b,_0x236fa8,_0x5e02bd){const _0x2c168c=_0x3ab63a;let _0x1c449a=null;const _0x3501c9=window[_0x2c168c(0x1f1)](_0x5db63b),_0xe336d0=_0x2c0e57=>{const _0x1dfc94=_0x2c168c;_0x2c0e57['matches']?(!_0x1c449a||_0x1c449a[_0x1dfc94(0x20a)]&&_0x1c449a[_0x1dfc94(0x20a)][_0x1dfc94(0x243)])&&(_0x1c449a=new DFSlider(_0x236fa8,_0x5e02bd),window['YT']&&window['YT'][_0x1dfc94(0x240)]&&_0x1c449a&&_0x1c449a['initYoutubeSlides']()):_0x1c449a&&_0x1c449a['swiper']&&!_0x1c449a[_0x1dfc94(0x20a)][_0x1dfc94(0x243)]&&(_0x1c449a[_0x1dfc94(0x228)](),_0x1c449a=null);};_0x3501c9[_0x2c168c(0x24d)]('change',_0xe336d0),_0xe336d0(_0x3501c9);}
1102
1103
1104/**
1105	df-category
1106	업데이트: 2025-10-13	
1107**/
1108
1109
1110!function(){let e=[],t=[],a=[],i=[],n=!1,o=$(".df-popupbanner-storage-item"),r=parseInt(DF&&DF["set-cate-split"],10),c=!isNaN(r)&&r>0?r:6;$.dfcategory=function(e,r){let l={depth:{},initBefore:function(){return!0}},s,d={},f=$(e);function g(e,t,a){let i=[],n=!1;for(let o=0;o<e.length;o++)(t&&o%c==0||!t&&0===o)&&(n&&i.push("</ul>"),i.push('<ul class="df-category__sub">'),n=!0),i.push(`<li class="df-category__sub-item" data-cate-no="${e[o].cate_no}">
1111						<a class="df-category__sub-link" href="${DF_PREVIEW_PATH}/${e[o].design_page_url}${e[o].param}">
1112							${e[o].name}
1113						</a>
1114					</li>`);return n&&i.push("</ul>"),i.join("")}d.init=function(){if((s=d.settings=$.extend({},l,r)).initBefore.call(d,f),s.depth[0]={},f.hasClass("df-category--call-submenu")){let e=1;for(;;){void 0===s.depth[e]&&(s.depth[e]={});let c=!1,u=1===e?".df-category":".df-category__depth"+e,h=1===e?".df-category__item":".df-category__sub-item",p=f.is(u)?f.add(f.find(u)):f.find(u);if(p.find(h).each(function(){let t=$(this),r=t.attr("data-cate-no"),l=t.find("> a").text().trim(),s=t.hasClass("df-category__item"),d=t.closest(".df-category--main").length>0;if(void 0!==a[r]){c=!0;let f=a[r],u=`<div>${g(f,d,e+1)}</div>`;t.append(u),t.children("div").addClass("df-category__depth"+(e+1)),t.find("> a").after('<i class="df-category__toggle"></i>')}if(n&&s&&d){let h=i.indexOf(encodeURI(l));if(h>=0){let p=o.eq(h).find("img")[0];if(p){let y=p.outerHTML;t.children("div").length>0?t.children("div").append(`<a class="df-category__popupbanner">${y}</a>`).addClass("df-category__depth"+(e+1)):t.append(`<a class="df-category__popupbanner--only df-category__popupbanner">${y}</a>`)}}}}),!c)break;e++}}let y=parseInt(function e(t,a){let i=RegExp("[?&]"+a+"=([^&#]*)","i"),n=i.exec(t);
1114return n?n[1]:null}(window.location.href,"cate_no"));if(!y){let m=window.location.pathname.split("/"),b=m.indexOf("category");-1!==b&&(y=parseInt(m[b+1])||parseInt(m[b+2]))}if(y&&void 0!==t[y]){let v=f.find(`[data-cate-no="${y}"]`);v.hasClass("df-category__item")?v.addClass("df-category__item--active"):v.hasClass("df-category__sub-item")&&v.addClass("df-category__sub-item--active");let C=t[y].parent_cate_no;for(;;)if(void 0!==t[C])(v=f.find(`[data-cate-no="${C}"]`)).hasClass("df-category__item")?v.addClass("df-category__item--active"):v.hasClass("df-category__sub-item")&&v.addClass("df-category__sub-item--active"),C=t[C].parent_cate_no;else break}if(!y){let _=window.location.origin,A=window.location.href;function j(e){let t=new URL(e,_);if(t.searchParams.has("cate_no")||/\/category\//.test(t.pathname))return"";let a=t.searchParams.get("board_no");if(a)return a;let i=t.pathname.split("/").find(e=>/^\d+$/.test(e));return i||""}let k=j(A),w=new URL(A,_),x=w.pathname.replace(/\/+$/,""),q=f[0];if(q){let S=q.querySelectorAll(".df-category__item:not([data-cate-no])");for(let L=0;L<S.length;L++){let P=S[L],B=null,E=P.children;for(let O=0;O<E.length;O++){let D=E[O];if("A"===D.tagName&&D.hasAttribute("href")){B=D;break}}if(!B)continue;let H=B.getAttribute("href")||"";if(!H||"#"===H||/^javascript:/i.test(H))continue;let J;try{J=new URL(H,_)}catch(M){continue}let N=j(J.href);(k&&N&&k===N||!k&&!N&&J.origin===w.origin&&J.pathname.replace(/\/+$/,"")===x)&&P.classList.add("df-category__item--active")}}}f.on("click",".df-category__toggle",function(e){e.preventDefault();let t=$(this).closest(".df-category__item, .df-category__sub-item"),a=t.hasClass("df-category__item");a?(t.siblings(".df-category__item--open").removeClass("df-category__item--open"),t.toggleClass("df-category__item--open")):(t.siblings(".df-category__sub-item--open").removeClass("df-category__sub-item--open"),t.toggleClass("df-category__sub-item--open"))})},d.init()},$.fn.dfcategory=function(e){return this.each(function(){let t=$(this),a=t.data("dfcategory");return a?a.methods&&a.methods[e]?a.methods[e].apply(this,Array.prototype.slice.call(arguments,1)):void 0:(a=new $.dfcategory(this,e),t.data("dfcategory",a),a)})};let l=async function(){try{let r=await fetch("/exec/front/Product/SubCategory"),c=await r.json();for(let l in c&&c.forEach(a=>{t[a.cate_no]=a,e[a.parent_cate_no]||(e[a.parent_cate_no]=[]),e[a.parent_cate_no].push(a)}),e)s(l)&&(a[l]=e[l]);o.each(function(e){let t=$(this).attr("df-data-id").trim();i[e]=encodeURI(t)}),i.join("").length&&(n=!0),$(".df-category").dfcategory()}catch(d){console.error("AJAX 요청 중 에러 발생:",d)}};function s(e){return!isNaN(parseFloat(e))&&isFinite(e)}l()}(),function(){let e=document.querySelectorAll(".df-category--vertical .df-category__link");e.forEach(function(e){if(null!==e.querySelector("j")){let t=e.closest(".df-category__item");t&&t.classList.add("df-category__item--jump")}})}();
1115
1116
1117/*
1118	df productlist
1119
1120	업데이트: 2025-10-15
1121*/
1122
1123
1124!function(){function e(e,s,t,i){let r=document.querySelectorAll(e);if(!r.length)return;let l=DF[s]||{},n=DF[t]||{},a=DF[i]||{};function d(e){let s=Object.keys(e);if(!s.length)return null;let t=s.map(e=>parseInt(e,10));return Math.max(...t)}let o=d(l),p=d(n),c=d(a);r.forEach((e,s)=>{let t=s+1,i=l[t];!i&&o&&(i=l[o]);let r=n[t];!r&&p&&(r=n[p]);let d=a[t];!d&&c&&(d=a[c]);let u=e.querySelector(".df-prl__items");if(u){if(i){let f="";f=i.startsWith("grid")?i.replace("grid","grid-"):"note"===i?"grid-note":i,u.classList.add(`df-prl__items--${f}`)}if("fade"===d&&"note"!==i&&u.classList.add("df-prl__items--fade"),"slide"===r||"slide-rewind"===r||"slide-loop"===r||"scroll"===r){let $=function e(s){if(!s)return 1;if("note"===s)return"note";if(s.startsWith("grid")){let t=s.replace("grid",""),i=parseInt(t,10);return isNaN(i)?1:i}return 1}(i),m=function e(s){if("note"===s)return{slides:1,space:0};let t=Number(s);return t<=2?{slides:1,space:0}:{slides:2,space:10}}($),g={slidesPerView:m.slides,slidesPerGroup:1,spaceBetween:m.space,autoHeight:!1,effect:"slide",on:{init:function(){this.slides.forEach(e=>{if(e.classList.remove("no-index-item"),e.hasAttribute("data-swiper-slide-index")){let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);e.setAttribute("data-df-prl-index",s+1)}else e.classList.add("no-index-item")})}
1124,slideChange:function(){this.slides.forEach(e=>{if(e.classList.remove("no-index-item"),e.hasAttribute("data-swiper-slide-index")){let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);e.setAttribute("data-df-prl-index",s+1)}else e.classList.add("no-index-item")})}},dfOptions:{navigation:{use:!0,addClass:"df-navigation-hover--off df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--white"}}};"slide"===r?(g.loop=!1,g.autoplay={delay:2500,pauseOnMouseEnter:!0,stopOnLastSlide:!0},g.dfOptions.pagination={use:!0,type:"circle",position:"outside"}):"slide-rewind"===r?(g.loop=!1,g.rewind=!0,g.autoplay={delay:2500,pauseOnMouseEnter:!0},g.dfOptions.pagination={use:!0,type:"circle",position:"outside"}):"slide-loop"===r?(g.loop=!0,g.autoplay={delay:2500,pauseOnMouseEnter:!0},g.dfOptions.pagination={use:!0,type:"circle",position:"outside"}):"scroll"===r&&(g.loop=!1,g.dfOptions.scrollbar={use:!0,type:"thin",position:"outside"});let _=function e(s){if("note"===s)return{slides:2,space:20};let t=Number(s);switch(t){case 1:return{slides:1,space:0};case 2:return{slides:2,space:20};case 3:case 4:case 5:return{slides:3,space:20};case 6:return{slides:4,space:14};default:return{slides:t,space:20}}}($),h=function e(s){if("note"===s)return{slides:2,space:30};let t=Number(s);switch(t){case 1:return{slides:1,space:0};case 2:return{slides:2,space:30};case 3:return{slides:3,space:30};
1124case 4:return{slides:4,space:20};case 5:return{slides:5,space:20};case 6:return{slides:6,space:20};default:return{slides:t,space:20}}}($);g.breakpoints={768:{slidesPerView:_.slides,slidesPerGroup:1,spaceBetween:_.space},1025:{slidesPerView:h.slides,slidesPerGroup:1,spaceBetween:h.space}},new DFSlider(u,g)}}})}e(".xans-product-listmain.df-prl","set-prlmain-grid","set-prlmain-type","set-prlmain-view"),e(".xans-product-listrecommend","set-prlrcmd-grid","set-prlrcmd-type","set-prlrcmd-view"),e(".xans-product-listnormal","set-prlnorm-grid","set-prlnorm-type","set-prlnorm-view"),e(".xans-search-result","set-prlsrch-grid","set-prlsrch-type","set-prlsrch-view"),e(".xans-project-list","set-prlproj-grid","set-prlproj-type","set-prlproj-view"),document.querySelectorAll(".df-prl__items.df-prl__items--ready").forEach(e=>{e.classList.remove("df-prl__items--ready")})}();
1125
1126
1127// 롤오버 기능 2025-02-06
1128!function(){var t=window.matchMedia("(min-width: 1025px)");function e(){"swap"===DF["set-prl-hover"]&&document.querySelectorAll(".df-prl").forEach(function(t){function e(t){t.querySelectorAll(".df-prl__thumb-link").forEach(function(t){if(!t.querySelector(".df-prl__thumb-image--hover")){var e=t.getAttribute("data-df-thumb-hover");if(e){var r=t.querySelector(".df-prl__thumb-image");if(r){var i=r.getAttribute("alt")||"",l=r.getAttribute("loading")||"lazy",a=document.createElement("img");a.setAttribute("src",e),a.setAttribute("alt",i),a.setAttribute("loading",l),a.classList.add("df-prl__thumb-image","df-prl__thumb-image--hover"),r.insertAdjacentElement("afterend",a)}}}})}t.querySelectorAll(".df-prl__items").forEach(function(t){t.classList.add("df-prl__items--hover")}),t.querySelectorAll(".df-prl__item").forEach(e),new MutationObserver(function(t){t.forEach(function(t){t.addedNodes.forEach(function(t){1===t.nodeType&&(t.classList?.contains("df-prl__items")&&t.classList.add("df-prl__items--hover"),t.querySelectorAll?.(".df-prl__items").forEach(function(t){t.classList.add("df-prl__items--hover")}),t.classList?.contains("df-prl__item")&&e(t),t.querySelectorAll?.(".df-prl__item").forEach(e))})})}).observe(t,{childList:!0,subtree:!0})})}t.matches&&e(),t.addEventListener("change",function(t){t.matches&&e()})}();
1129
1130
1131//상품목록 옵션 연동 2024-12-06
1132!function(){let o=document.querySelectorAll(".df-prl__items");if(!o.length)return;let e=[{condition:()=>void 0!==DF["set-prl-array"],className:()=>`df-prl__items--${DF["set-prl-array"]}`},{condition:()=>void 0!==DF["set-prl-color"],className:()=>`df-prl__items--color${DF["set-prl-color"]}`},{condition:()=>"on"===DF["set-prl-border"],className:()=>"df-prl__items--border"},{condition:()=>"on"===DF["set-prl-line"],className:()=>"df-prl__items--oneline"},{condition:()=>"on"===DF["set-prl-imgbox"],className:()=>"df-prl__items--imgbox"},{condition:()=>"on"===DF["set-prl-round"],className:()=>"df-prl__items--round"},{condition:()=>"zoom"===DF["set-prl-hover"],className:()=>"df-prl__items--zoom"},{condition:()=>"on"===DF["set-prl-cut"],className:()=>"df-prl__items--cut"}];o.forEach(o=>{e.forEach(e=>{e.condition()&&o.classList.add(e.className())})})}();
1133
1134/*
1135	df discountrate
1136	업데이트: 2025-11-03
1137*/
1138
1139!function(){if("undefined"==typeof DF||"on"!==DF["set-discountrate"])return;let e=document.querySelector(".df-prl"),t=document.querySelector(".df-prs");if(!e&&!t)return;document.querySelectorAll(".df-prl").forEach(function(e){e.querySelectorAll(".df-prl__item").forEach(n),new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.classList?.contains("df-prl__item")&&n(e),e.querySelectorAll?.(".df-prl__item").forEach(n))})})}).observe(e,{childList:!0,subtree:!0})});let r=document.querySelector(".df-prs");if(r){l(r);let s=r.querySelector(".df-prs-sum");s&&new MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"class"===e.attributeName&&s.classList.contains("df-prs-sum--loaded")&&l(r)})}).observe(s,{attributes:!0})}let c=document.querySelector(".df-prd-related");function n(e){if(e.classList.contains("df-discount-processed"))return;e.classList.add("df-discount-processed");let t=e.querySelector(".product_custom > span"),r=e.querySelector(".product_price > span"),s=e.querySelector(".prd_price_sale >
1139 span"),c=o(d(t)),n=o(d(r)),l=o(d(s)),i=l&&l>0&&l!==n,u,p;if(i?(u=n,p=l):(u=n,p=c),!u||!p)return;let a=Math.max(u,p),f=Math.min(u,p),y=Math.round((a-f)/a*100);if(y<=0)return;let m=document.createElement("span");m.className="df-discountrate",m.textContent=y;let q=e.querySelector(".prd_price_sale > span");if(q)"function"==typeof q.prepend?q.prepend(m):q.insertBefore(m,q.firstChild);else{let S=e.querySelector(".product_price > span");S&&("function"==typeof S.prepend?S.prepend(m):S.insertBefore(m,S.firstChild))}i&&e.classList.add("df-prl__item--sale");let h=e.querySelector(".product_custom"),$=e.querySelector(".product_price"),E=e.querySelector(".prd_price_sale");h&&$&&E&&h.classList.add("displaynone")}function l(e){let t=o(e.getAttribute("data-price-custom")),r=o(e.getAttribute("data-price-regular")),s=o(e.getAttribute("data-price-sale"));if(!s){let c=o(e.getAttribute("data-price-sale-mobile"));c&&(s=c)}let n=s&&s>0&&s!==r,l,d;if(n?(l=r,d=s):(l=r,d=t),!l||!d)return;let i=Math.max(l,d),u=Math.min(l,d),p=Math.round((i-u)/i*100);if(p<=0)return;let a=document.createElement("span");if(a.className="df-discountrate",a.textContent=p,n){let f=e.querySelector(".df-prs-sum .prd_price_sale_css, .df-prs-sum .product_price_sale_login_css");if(f)f.prepend(a);else{let y=e.querySelector(".df-prs-sum .product_price_css");y&&y.prepend(a)}}else{let m=e.querySelector(".df-prs-sum .product_price_css");m&&m.prepend(a)}let q=e.querySelector(".product_custom_css"),S=e.querySelector(".product_price_css"),h=e.querySelector(".prd_price_sale_css, .product_price_sale_login_css");q&&S&&h&&q.classList.add("displaynone")}function o(e){if(!e)return null;let t=e.replace(/[^\d.]/g,"");if(!t)return null;let r=parseFloat(t);return r>0?r:null}function d(e){if(!e)return null;let t="";return e.childNodes.forEach(e=>{e.nodeType===Node.TEXT_NODE&&(t+=e.textContent)}),t.trim()||null}function i(e){if(e.classList.contains("df-discount-processed"))return;e.classList.add("df-discount-processed");let t=e.querySelector(".df-prd-related-sum-price"),r=e.querySelector(".df-prd-related-sum-saleprice"),s=o(t&&t.textContent),c=o(r&&r.textContent);if(!s||!c||c>=s)return;let n=Math.round((s-c)/s*100);if(n<=0)return;let l=document.createElement("span");l.className="df-discountrate",l.textContent=n,r?"function"==typeof r.prepend?r.prepend(l):r.insertBefore(l,r.firstChild):t&&("function"==typeof t.prepend?t.prepend(l):t.insertBefore(l,t.firstChild))}c&&(c.querySelectorAll(".df-prd-related-item").forEach(i),new MutationObserver(function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.classList?.contains("df-prd-related-item")&&i(e),e.querySelectorAll?.(".df-prd-related-item").forEach(i))})})}).observe(c,{childList:!0,subtree:!0}))}();
1140
1141
1142/*
1143	df timesale
1144	업데이트: 2026-01-17
1145*/
1146
1147
1148!function(){if("undefined"==typeof DF||"on"!==DF["set-timesale"])return;let e="__dfTimesaleCountdown__",t=new Set,n=null;function l(l,a){if(!l||!a)return;let r=l[e];r||(r={daysEl:l.querySelector('[data-countdown="days"]'),hoursEl:l.querySelector('[data-countdown="hours"]'),minutesEl:l.querySelector('[data-countdown="minutes"]'),secondsEl:l.querySelector('[data-countdown="seconds"]'),targetDate:null},l[e]=r),r.targetDate=a,t.add(l),n||(n=setInterval(function(){t.forEach(function(e){if(!e||!e.isConnected){s(e),t.delete(e);return}m(e)||t.delete(e)}),0===t.size&&(clearInterval(n),n=null)},1e3)),m(l)}function s(t){t&&t[e]&&delete t[e]}function a(e){if(!e||!e.includes("~"))return null;let t=e.split("~");if(t.length<2)return null;let n=t[0].trim(),l=t[1].trim();if(!n||!l)return null;let s=new Date(n.replace(/-/g,"/")),a=new Date(l.replace(/-/g,"/"));return isNaN(s.getTime())||isNaN(a.getTime())?null:{start:s,end:a}}let r=document.querySelectorAll(".df-prl");r.forEach(function(e){(function e(t){let n=t.querySelectorAll(".df-prl__item");n.forEach(function(e){d(e)}),u(t)})(e),function e(t){let n=function(e){e.forEach(function(e){"childList"===e.type&&e.addedNodes.length>0&&e.addedNodes.forEach(function(e){if(e.nodeType===Node.ELEMENT_NODE){e.classList&&e.classList.contains("df-prl__item")&&d(e);let t=e.querySelectorAll?.(".df-prl__item")||[];t.forEach(function(e){d(e)})}})}),u(t)},l=new MutationObserver(n);l.observe(t,{childList:!0,subtree:!0})}(e)});let o=document.querySelector(".df-prs");function d(e){let t=e.querySelector(".layerDiscountPeriod .content p:last-of-type");if(!t)return;let n=a(t.textContent.trim());if(!n)return;let l=new Date;l<n.start?i(e,"upcoming",n.start):l>=n.start&&l<n.end&&i(e,"ongoing",n.end)}function i(e,t,n){if(e.querySelector(".df-timesale"))return;let s=document.createElement("div");s.classList.add("df-timesale","df-timesale--prl"),"upcoming"===t?s.classList.add("df-timesale--upcoming"):"ongoing"===t&&s.classList.add("df-timesale--ongoing"),s.innerHTML=`
1149			<span class="df-timesale__icon"></span>
1150			<span class="df-timesale__number" data-countdown="days"></span>
1151			<span class="df-timesale__text-days"></span>
1152			<span class="df-timesale__number" data-countdown="hours"></span>
1153			:
1154			<span class="df-timesale__number" data-countdown="minutes"></span>
1155			:
1156			<span class="df-timesale__number" data-countdown="seconds"></span>
1157		`;let a=e.querySelector(".df-prl__thumb");a&&(a.appendChild(s),e.classList.add("df-prl__item--timesale"),l(s,n))}function u(e){if("on"!==DF["set-timesale-end"])return;let t=e.querySelectorAll(".df-prl__item"),n=!1;t.forEach(function(e){c(e)&&(n=!0)}),n&&t.forEach(function(e){c(e)||function e(t){if(t.querySelector(".df-timesale.df-timesale--ended"))return;let n=document.createElement("div");n.classList.add("df-timesale","df-timesale--prl","df-timesale--ended");let l=t.querySelector(".df-prl__thumb");l&&(l.appendChild(n),t.classList.add("df-prl__item--timesale"))}(e)})}function c(e){let t=e.querySelector(".layerDiscountPeriod .content p:last-of-type");return!!t&&t.textContent.trim().includes("~")}function f(e,t,n){let s=e.querySelector(".prd_promotion_date_css td");if(!s||s.querySelector(".df-timesale"))return;let a=document.createElement("div");a.classList.add("df-timesale","df-timesale--prs"),"upcoming"===t?a.classList.add("df-timesale--upcoming"):"ongoing"===t&&a.classList.add("df-timesale--ongoing"),a.innerHTML=`
1158			<span class="df-timesale__number" data-countdown="days"></span>
1159			<span class="df-timesale__text-days"></span>
1160			<span class="df-timesale__number" data-countdown="hours"></span>
1161			:
1162			<span class="df-timesale__number" data-countdown="minutes"></span>
1163			:
1164			<span class="df-timesale__number" data-countdown="seconds"></span>
1165		`,s.prepend(a),l(a,n)}function m(t){let n=t&&t[e],l=n&&n.targetDate;if(!l)return t&&t.remove&&t.remove(),s(t),!1;let a=new Date,r=l-a;if(r<=0)return t.remove(),s(t),!1;let o=Math.floor(r/864e5);r-=864e5*o;let d=Math.floor(r/36e5);r-=36e5*d;let i=Math.floor(r/6e4);r-=6e4*i;let u=Math.floor(r/1e3);return n.daysEl&&(n.daysEl.textContent=o),n.hoursEl&&(n.hoursEl.textContent=String(d).padStart(2,"0")),n.minutesEl&&(n.minutesEl.textContent=String(i).padStart(2,"0")),n.secondsEl&&(n.secondsEl.textContent=String(u).padStart(2,"0")),!0}o&&function e(t){let n=t.querySelector(".prd_promotion_date_css td .period");if(!n)return;let l=a(n.textContent.trim());if(!l)return;let s=new Date;s<l.start?f(t,"upcoming",l.start):s>=l.start&&s<l.end&&f(t,"ongoing",l.end)}(o)}();
1166/*
1167	df-countdown
1168	업데이트: 2025-03-24
1169*/
1170
1171document.addEventListener("DOMContentLoaded",function(){var n=document.querySelectorAll("count-down");
1171n.length&&n.forEach(function(n){n.classList.add("df-countdown");var e,d,a,t,o,r=n.getAttribute("data-target");r||(r=n.textContent.trim(),n.setAttribute("data-target",r));var i=-1!==r.indexOf("~");if(i){var l=r.split("~");if(2!==l.length||(e=new Date(l[0].trim().replace(" ","T")+":00"),d=new Date(l[1].trim().replace(" ","T")+":00"),isNaN(e.getTime())||isNaN(d.getTime())||e>=d)){n.classList.add("df-countdown--error"),n.textContent="";return}}else if(isNaN((a=new Date(r.replace(" ","T")+":00")).getTime())){n.classList.add("df-countdown--error"),n.textContent="";return}var p={};function u(n){return n<10?"0"+n:n}var c=new Date;i?c<e?(t="upcoming",o=e):c<d?(t="ongoing",o=d):t="ended":c<a?(t="ongoing",o=a):t="ended";var s=o-c;function m(){var r=new Date;if(i?r<e?(t="upcoming",o=e):r<d?(t="ongoing",o=d):t="ended":r<a?(t="ongoing",o=a):t="ended","ended"===t){n.classList.remove("df-countdown--ongoing","df-countdown--upcoming"),n.classList.add("df-countdown--ended"),p.dayNumberSpan&&(n.removeChild(p.dayNumberSpan),p.dayNumberSpan=null),p.dayUnitSpan&&(n.removeChild(p.dayUnitSpan),p.dayUnitSpan=null),p.hourSpan&&p.hourSpan.parentNode&&n.removeChild(p.hourSpan),p.minuteSpan&&p.minuteSpan.parentNode&&n.removeChild(p.minuteSpan),p.secondSpan&&p.secondSpan.parentNode&&n.removeChild(p.secondSp
1171an),p.colon1&&p.colon1.parentNode&&n.removeChild(p.colon1),p.colon2&&p.colon2.parentNode&&n.removeChild(p.colon2),clearInterval(S);return}"upcoming"===t?(n.classList.add("df-countdown--upcoming"),n.classList.remove("df-countdown--ongoing","df-countdown--ended")):"ongoing"===t&&(n.classList.add("df-countdown--ongoing"),n.classList.remove("df-countdown--upcoming","df-countdown--ended"));var l=o-r,c=Math.floor(l/864e5);0===c&&null!==p.dayNumberSpan?(n.removeChild(p.dayNumberSpan),n.removeChild(p.dayUnitSpan),p.dayNumberSpan=null,p.dayUnitSpan=null):c>0&&null===p.dayNumberSpan&&(p.dayNumberSpan=document.createElement("span"),p.dayNumberSpan.classList.add("df-countdown__number"),p.dayUnitSpan=document.createElement("span"),p.dayUnitSpan.classList.add("df-countdown__days"),n.insertBefore(p.dayNumberSpan,n.firstChild),n.insertBefore(p.dayUnitSpan,n.childNodes[1])),p.dayNumberSpan&&(p.dayNumberSpan.textContent=c.toString()),p.hourSpan.textContent=u(Math.floor(l%864e5/36e5)),p.minuteSpan.textContent=u(Math.floor(l%36e5/6e4)),p.secondSpan.textContent=u(Math.floor(l%6e4/1e3))}!function e(d){for(;n.firstChild;)n.removeChild(n.firstChild);d>0?(p.dayNumberSpan=document.createElement("span"),p.dayNumberSpan.classList.add("df-countdown__number"),p.dayUnitSpan=document.createElement("span"),p.dayUnitSpan.classList.add("df-countdown__days"),n.appendChild(p.dayNumberSpan),n.appendChild(p.dayUnitSpan)):(p.dayNumberSpan=null,p.dayUnitSpan=null),p.hourSpan=document.createElement("span"),p.hourSpan.classList.add("df-countdown__number"),p.minuteSpan=document.createElement("span"),p.minuteSpan.classList.add("df-countdown__number"),p.secondSpan=document.createElement("span"),p.secondSpan.classList.add("df-countdown__number"),n.appendChild(p.hourSpan),p.colon1=document.createTextNode(":"),n.appendChild(p.colon1),n.appendChild(p.minuteSpan),p.colon2=d
1171ocument.createTextNode(":"),n.appendChild(p.colon2),n.appendChild(p.secondSpan)}(Math.floor(s/864e5)),m();var S=setInterval(m,1e3)})});
1172
1173
1174/**
1175	df fixed
1176	업데이트: 2025-09-03
1177
1178	- 2025-09-03 플스크린 시(fixed 요소가 absolute; top:0) 항상 스크롤 해제조건에서 .df-fixed-active 클래스가 제거 안되는 문제 해결
1179**/
1180
1181const fixedElements=document.querySelectorAll(".df-fixed");fixedElements.forEach(e=>{let t=document.createElement("div");t.className="df-fixed-trigger",e.parentNode.insertBefore(t,e);let i={root:null,rootMargin:"0px",threshold:0},s=t=>{t.forEach(t=>{t.isIntersecting?e.classList.remove("df-fixed--active"):e.classList.add("df-fixed--active")})},l=new IntersectionObserver(s,i);l.observe(t)}),function(){let e=!1;function t(){let e=window.pageYOffset||document.documentElement.scrollTop,t=window.visualViewport&&visualViewport.height||innerHeight;fixedElements.forEach(i=>{let s=i.previousElementSibling;if(s&&s.classList&&s.classList.contains("df-fixed-trigger")){let l=s.getBoundingClientRect();i.classList.toggle("df-fixed--active",!(l.bottom>=0&&l.top<=t))}let o=i.getBoundingClientRect().top,n=i.offsetHeight||0;if(0===n)for(let c of i.children){let f=c.getBoundingClientRect();n=Math.max(n,Math.max(0,f.bottom-o))}i.classList.contains("df-fixed--active")?i.classList.toggle("df-fixed--active-complete",e>=n):i.classList.remove("df-fixed--active-complete")})}addEventListener("scroll",function i(){e||(e=!0,requestAnimationFrame(()=>{e=!1,t()}))},{passive:!0}),addEventListener("load",()=>requestAnimationFrame(t)),addEventListener("pageshow",t),window.visualViewport&&visualViewport.addEventListener("resize",()=>requestAnimationFrame(t)),requestAnimationFrame(t)}();
1182
1183
1184/**
1185	df-layer
1186	업데이트: 2025-06-12
1187**/
1188
1189!function(){let e=new Map,t={};function a(a,d,f,c,s,i=!0,o=!1){if(t[a])return;t[a]=!0,d&&e.forEach((e,t)=>{t!==a&&r(t)});let u=Array.from(document.querySelectorAll(`.df-layer-content[data-df-layer-name="${a}"]`)),y=Array.from(document.querySelectorAll(`.df-layer-trigger[data-df-layer-name="${a}"]`)),n=Array.from(document.querySelectorAll(`.df-layer-overlay[data-df-layer-name="${a}"]`));u.forEach(e=>e.classList.add("df-layer-ready")),n.forEach(e=>e.classList.add("df-layer-ready")),o?(u.forEach(e=>
1189e.classList.add("df-active")),n.forEach(e=>e.classList.add("df-active"))):i?setTimeout(()=>{u.forEach(e=>e.classList.add("df-active")),n.forEach(e=>e.classList.add("df-active"))},100):(u.forEach(e=>e.classList.add("df-active")),n.forEach(e=>e.classList.add("df-active"))),y.forEach(e=>e.classList.add("df-active")),s&&document.body.classList.add("df-scroll-lock"),e.set(a,{shouldCloseOnOutsideClick:f,shouldCache:c,shouldLockScroll:s,layers:u,targetButtons:y,overlayElements:n,isLazy:i}),o?t[a]=!1:i?setTimeout(()=>{t[a]=!1},100):setTimeout(()=>{t[a]=!1},50),c&&l(a,!0)}function r(a){if(t[a])return;t[a]=!0;let r=e.get(a);if(!r){t[a]=!1;return}let{layers:d,targetButtons:f,overlayElements:c,shouldCache:s,shouldLockScroll:i,isLazy:o}=r;d.forEach(e=>e.classList.remove("df-active")),c.forEach(e=>e.classList.remove("df-active")),o&&setTimeout(()=>{d.forEach(e=>e.classList.remove("df-layer-ready")),c.forEach(e=>e.classList.remove("df-layer-ready"))},500),f.forEach(e=>e.classList.remove("df-active")),e.delete(a),setTimeout(()=>{t[a]=!1},500),i&&!Array.from(e.values()).some(e=>e.shouldLockScroll)&&document.body.classList.remove("df-scroll-lock"),s&&l(a,!1)}function l(e,t){try{localStorage.setItem(`df-layer-state-${e}`,t?"true":"false")}catch(a){console.error("레이어 상태를 저장하는 동안 오류가 발생했습니다.",a)}}document.addEventListener("click",function(l){let d=l.target,f=d.closest(".df-layer-close"),c=d.closest(".df-layer-trigger");if(f){let s=function e(t){let a=t.closest("[data-df-layer-name]");return a?a.getAttribute("data-df-layer-name"):null}(f);s&&r(s);return}let i=d.closest(".df-layer-overlay[data-df-layer-name]");if(i){let o=i.getAttribute("data-df-layer-name");o&&r(o);return}if(c){let u=c.getAttribute("data-df-layer-name");if(u){if(t[u])return;let y="true"===c.getAttribute("data-df-layer-toggle"),n="true"===c.getAttribute("data-df-layer-clear"),g="true"===c.getAttribute("data-df-layer-outside"),h="true"===c.getAttribute("data-df-layer-cache"),m="true"===c.getAttribute("data-df-layer-lock"),A=c.getAttribute("data-df-layer-lazy"),v="true"===A;y?function l(d,f,c,s,i,o){if(t[d])return;let u=e.has(d);u?r(d):a(d,f,c,s,i,o)}(u,n,g,h,m,v):a(u,n,g,h,m,v)}return}e.size>0&&e.forEach((e,t)=>{let a=d.closest(`.df-layer-content[data-df-layer-name="${t}"]`),l=d.closest(`.df-layer-trigger[data-df-layer-name="${t}"]`);a||l||!e.shouldCloseOnOutsideClick||r(t)})}),!function e(){let t=document.querySelectorAll(".df-layer-trigger");t.forEach(e=>{let t=e.getAttribute("data-df-layer-name");if(!t)return;let r="true"===e.getAttribute("data-df-layer-clear"),l="true"===e.getAttribute("data-df-layer-outside"),d="true"===e.getAttribute("data-df-layer-cache"),f="true"===e.getAttribute("data-df-layer-start"),c="true"===e.getAttribute("data-df-layer-lock"),s=e.getAttribute("data-df-layer-lazy"),i="true"===s,o=function e(t){try{let a=localStorage.getItem(`df-layer-state-${t}`);return"true"===a||"false"!==a&&null}catch(r){return console.error("레이어 상태를 불러오는 동안 오류가 발생했습니다.",r),null}}(t);if(!i){let u=document.querySelectorAll(`.df-layer-content[data-df-layer-name="${t}"]`);u.forEach(e=>e.classList.add("df-layer-ready"));let y=document.querySelectorAll(`.df-layer-overlay[data-df-layer-name="${t}"]`);y.forEach(e=>e.classList.add("df-layer-ready"))}(d&&null!==o?o:f)&&(a(t,!1,l,d,c,i,!0),e.setAttribute("data-df-layer-clear",r))})}()}();
1190
1191
1192/**
1193	df-fragment	
1194	업데이트: 2025-03-18
1195**/
1196
1197document.addEventListener("DOMContentLoaded",function(){function e(e){let t=`${DF_PREVIEW_PATH}/dfloor/html/fragments/${e}.html`;fetch(t).then(e=>{if(!e.ok)throw Error("파일을 불러올 수 없습니다.");return e.text()}).then(t=>{let n=document.createElement("div");n.innerHTML=t;let r=n.querySelector(".df-fragment-target");if(r){let a=document.querySelector(`.df-fragment-content[data-df-fragment-name="${e}"]`);if(a){let d="true"===a.getAttribute("data-df-fragment-loaded");if(!d){let f=a.getAttribute("data-df-fragment-position");"before"===f?a.insertAdjacentHTML("afterbegin",r.innerHTML):"after"===f?a.insertAdjacentHTML("beforeend",r.innerHTML):a.innerHTML=r.innerHTML,a.setAttribute("data-df-fragment-loaded","true");let i=new CustomEvent("fragmentLoaded",{detail:{fragmentName:e}});document.dispatchEvent(i)}}}}).catch(e=>console.error("에러 발생:",e))}document.addEventListener("fragmentLoaded",function(e){let{fragmentName:t}=e.detail,n=document.querySelectorAll(`.df-fragment-loading[data-df-fragment-name="${t}"]`);
1197n.forEach(e=>{e.parentNode.removeChild(e)})}),document.querySelectorAll(".df-fragment-trigger").forEach(function(t){let n=t.getAttribute("data-df-fragment-name");t.addEventListener("click",function(){e(n)})}),document.querySelectorAll(".df-fragment-content").forEach(function(t){let n=t.getAttribute("data-df-fragment-name"),r="true"===t.getAttribute("data-df-fragment-start");r&&e(n)})});
1198
1199
1200/*
1201	df-playbox
1202
1203	업데이트: 2025-04-04
1204*/
1205
1206document.addEventListener("DOMContentLoaded",function(){let e=document.querySelectorAll('a[href*="youtube.com"], a[href*="youtu.be"], a[href*="vimeo.com"]');e.forEach(e=>{e.addEventListener("click",function(t){if("_blank"===e.target)return;let l="",a="";if(e.href.includes("youtube.com")){if(e.href.includes("watch?v="))a="youtube",l=e.href.replace("watch?v=","embed/")+"?autoplay=1&mute=1";else{if(!e.href.includes("/shorts/"))return;a="youtube-shorts";let i=e.href.split("/shorts/")[1];i.includes("?")&&(i=i.split("?")[0]),l=`https://www.youtube.com/embed/${i}?autoplay=1&mute=1`}}else if(e.href.includes("youtu.be/")){a="youtube";let r=e.href.split("youtu.be/")[1];if(!r||(r.includes("?")&&(r=r.split("?")[0]),!r))return;l=`https://www.youtube.com/embed/${r}?autoplay=1&mute=1`}else if(e.href.includes("vimeo.com")){let d=e.href.match(/vimeo\.com\/(\d+)/);if(!d)return;{a="vimeo";let o=d[1];l=`https://player.vimeo.com/video/${o}?autoplay=1&muted=1`}}if(!l)return;t.preventDefault();let u=document.createElement("div");u.classList.add("df-playbox","df-playbox--active");let n=document.createElement("div");n.classList.add("df-playbox__inner"),u.appendChild(n);let s=document.createElement("span");s.classList.add("df-playbox__close"),s.innerHTML="&times;",n.appendChild(s);let c=document.createElement("div");c.classList.add("df-playbox__iframe-wrapper"),c.setAttribute("data-video-type",a);let f=document.createElement("iframe");f.src=l,f.setAttribute("frameborder","0"),f.setAttribute("allow","autoplay; encrypted-media"),f.setAttribute("allowfullscreen",""),c.appendChild(f),n.appendChild(c),document.body.appendChild(u),s.addEventListener("click",function(){u.remove()}),u.addEventListener("click",function(e){e.target===u&&u.remove()})})})});
1207
1208
1209/********************************************************************************************************
1210
1211	🎨 디자인 관련 JAVASCRIPT
1212	
1213	이 파일은 전체 기능을 구성하는 SCRIPT 입니다. 수정 시 전체 페이지에 영향을 미칩니다.
1214	
1215	⚠ 주의사항
1216	- 본 js 파일 수정시 발생하는 문제에 대해 복구 및 가이드를 지원하지 않습니다.
1217	- 디자인의 수정을 원하는 경우 ⌨ JS 작업파일(/dfloor/custom.js)에서 별도 작성하세요.
1218	
1219********************************************************************************************************/
1220
1221// DF setup 2025-02-07
1222(function(){if("undefined"==typeof DF)return;let a=Object.keys(DF),b=a.length;if(b)for(let c=0;c<b;c++){let b=a[c],d=b.split("-"),e=d[0];if("set"===e)continue;let f,g,h=DF[b],i=d.length;switch(e){case"use":g="df-"+b,f=document.getElementsByClassName(g);const a=Array.from(f);for(let b of a)"on"===h?b.classList.add("df-use-on"):b.remove();break;case"put":g="df-"+d.slice(0,i-1).join("-"),f=document.getElementsByClassName(g);for(let a of f){let b=d[i-1];a.setAttribute(b,h)}break;case"rep":g="df-"+d.slice(0,i-1).join("-"),f=document.getElementsByClassName(g);for(let a of f){let c=a.innerHTML,d=`<!--{${b}}-->`;c.includes(d)&&(a.innerHTML=c.replace(d,h))}}}})();
1223
1224
1225
1226//DF Cookie
1227const DFCookie={setHours(e,t,s){let o=new Date;o.setTime(o.getTime()+36e5*s),document.cookie=`${e}=${t}; expires=${o.toUTCString()}; path=/`},setMinutes(e,t,s){this.setHours(e,t,s/60)},setSeconds(e,t,s){this.setHours(e,t,s/3600)},get(e){let t=document.cookie.match(`(^|;)\\s*${e}\\s*=\\s*([^;]+)`);return t?t.pop():null}};
1228
1229
1230
1231// DF effect 2025-07-10
1232DFready(function(){document.documentElement.classList.add("df-loaded");let e=new IntersectionObserver((e,t)=>{e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("df-effect--active"),t.unobserve(e.target))})},{root:null,rootMargin:"0px",threshold:0});document.querySelectorAll(".df-effect").forEach(t=>{e.observe(t)})});
1233
1234
1235
1236// df placeholder 2025-01-02
1237document.querySelectorAll(".df-placeholder").forEach(function(e){let l=e.getAttribute("title"),t=e.querySelector("input");if(t&&!t.placeholder){if(l)t.placeholder=l;else{let r=window.getComputedStyle(e,"::before").getPropertyValue("content");
1237if(r&&"none"!==r&&"normal"!==r){let o=r.replace(/^"(.*)"$/,"$1");t.placeholder=o}}}});
1238
1239
1240
1241// 썸네일 이미지 엑박일경우 기본값 2026-01-18
1242!function(){let e="img.df-prl__thumb-image,img.thumb,img.ThumbImage,img.BigImage,.thumbnail > a > img,.df-recent-product__thumb > img";function t(e){e&&!e._dfFallbackApplied&&(e._dfFallbackApplied=!0,e.onerror=null,e.src="/dfloor/icons/placeholder/no-image.png")}!function i(l){(l||document).querySelectorAll(e).forEach(function(e){e.complete&&0===e.naturalWidth&&t(e)})}(document),document.addEventListener("error",function(i){let l=i.target;l&&"IMG"===l.tagName&&l.matches(e)&&t(l)},!0)}();
1243
1244
1245
1246// 브레드크럼 2024-10-12
1247DFready(function(){for(var a=document.querySelectorAll(".xans-product-headcategory.path ol > li"),l=null,n=a.length-1;n>=0;n--)if(!a[n].classList.contains("displaynone")){l=a[n];break}l&&l.classList.add("current")});
1248
1249
1250
1251// 인기검색어(레이아웃 배치용) 2025-01-15
1252!function(){var e=document.querySelector(".df-popular-keyword"),r=document.querySelector(".df-popular-keyword__link");e&&r&&""===r.textContent.trim()&&e.classList.add("displaynone");var t=[{pattern:"[new]",className:"df-popular-keyword__icon-new"},{pattern:"[best]",className:"df-popular-keyword__icon-best"},{pattern:"[up]",className:"df-popular-keyword__icon-up"},{pattern:"[down]",className:"df-popular-keyword__icon-down"},{pattern:"[hold]",className:"df-popular-keyword__icon-hold"}];e&&e.querySelectorAll(".df-popular-keyword__link").forEach(function(e){var r=e.textContent.trim(),a=e.getAttribute("href")||"",o=[];t.forEach(function(e){for(var t=e.pattern,n=e.className;-1!==r.indexOf(t);)r=r.replace(t,"").trim(),o.push(n);for(;-1!==a.indexOf(t);)a=a.replace(t,"").trim()}),e.textContent=r,e.setAttribute("href",a),o.forEach(function(r){var t=document.createElement("span");t.classList.add(r),e.insertBefore(t,e.firstChild)})})}();
1253
1254
1255
1256// 인기검색(검색목록 전용) 2025-01-15
1257!function(){var t=document.querySelector(".xans-product-hotkeyword");if(t){var e=["[new]","[best]","[up]","[down]","[hold]"];t.querySelectorAll("a").forEach(function(t){var r=t.textContent.trim(),o=t.getAttribute("href")||"";e.forEach(function(t){for(;-1!==r.indexOf(t);)r=r.replace(t,"").trim();for(;-1!==o.indexOf(t);)o=o.replace(t,"").trim()}),t.textContent=r,t.setAttribute("href",o)})}}();
1258
1259
1260
1261// 최근검색어 2024-10-06
1262!function(){let e=JSON.parse(localStorage.getItem("recentKeywords"))||[];function t(){let r=document.querySelectorAll(".df-recent-keyword");r.forEach(r=>{let c=r.querySelector(".df-recent-keyword__items"),d=r.querySelector(".df-recent-keyword__empty");c.innerHTML="",e.length>0?(r.classList.add("df-recent-keyword--active"),d.classList.remove("df-recent-keyword__empty--active")):(r.classList.remove("df-recent-keyword--active"),d.classList.add("df-recent-keyword__empty--active"));let n=document.createDocumentFragment();e.forEach(r=>{let c=document.createElement("li");c.classList.add("df-recent-keyword__item"),c.innerHTML=`
1263                    <a href="/product/search.html?keyword=${r}" class="df-recent-keyword__keyword">${r}</a>
1264                    <button class="df-recent-keyword__del">삭제</button>
1265                `,c.querySelector(".df-recent-keyword__del").addEventListener("click",()=>{var c;c=r,e=e.filter(e=>e!==c),localStorage.setItem("recentKeywords",JSON.stringify(e)),t()}),n.appendChild(c)}),c.appendChild(n)})}window.addEventListener("DOMContentLoaded",()=>{t(),function r(){let c=document.querySelectorAll("#searchBarForm #keyword, #ec-product-searchdata-searchkeyword_form #ec-product-searchdata-keyword");
1265c.forEach(r=>{r.addEventListener("change",function(){var r;let c=this.value.trim();c&&(r=c,(e=e.filter(e=>e!==r)).unshift(r),e.length>12&&e.pop(),localStorage.setItem("recentKeywords",JSON.stringify(e)),t())})})}()}),document.querySelectorAll(".df-recent-keyword__clear").forEach(r=>{r.addEventListener("click",function(r){r.preventDefault(),e=[],localStorage.removeItem("recentKeywords"),t()})})}();
1266
1267
1268
1269//최근 본 상품(커스텀이벤트) 2024-11-12
1270document.addEventListener("fragmentLoaded",function(e){let{fragmentName:t}=e.detail;if("df-recent-list"===t){let r=document.querySelector(".df-recent-product .df-recent-product__module");if(r){let c=r.querySelector(".df-recent-product__inner");if(c){let d=r.querySelectorAll(".df-recent-product__item"),n=document.querySelector(".df-recent-product__empty");if(0===d.length&&n&&n.classList.add("df-recent-product__empty--active"),d.length>3){d.forEach((e,t)=>{e.classList.toggle("displaynone",t>=3)});let l=document.querySelector(".df-recent-product__prev"),o=document.querySelector(".df-recent-product__next"),i=document.querySelector(".df-recent-product__pagination"),a=document.querySelector(".df-recent-product__controls");document.querySelector(".df-recent-product__title");let s=0,f=Math.ceil(d.length/3);function u(){d.forEach((e,t)=>{e.classList.toggle("displaynone",!(t>=s&&t<s+3))});let e=Math.floor(s/3)+1;if(i&&(i.innerText=`${e}/${f}`,i.classList.add("df-recent-product__pagination--active")),a){let t=s>0,r=s<d.length-3;t||r?a.classList.add("df-recent-product__controls--active"):a.classList.remove("df-recent-product__controls--active")}}l&&o&&(l.addEventListener("click",()=>{s>0&&(s-=3,u())}),o.addEventListener("click",()=>{s<d.length-3&&(s+=3,u())})),u()}}}}});
1271
1272
1273
1274//[모바일~태블릿] 메인 슬라이드 배너
1275(function() {
1276	const dfMediaQuery = '(max-width: 1024px)';
1277	const dfSelector = '.df-display-mo-tb .df-main-slide__items';
1278	
1279	const sliderEffect = DF['set-mainslide-mo-fx'] || 'slide';		
1280	const paginationType = DF['set-mainslide-pager'] || 'circle';
1281	const timerOption = (DF['set-mainslide-timer'] === 'off') ? false : true;
1282	const autoplayDelay = DF['set-mainslide-pause'] ? Number(DF['set-mainslide-pause']) : 4500;
1283	const sliderSpeed = DF['set-mainslide-speed'] ? Number(DF['set-mainslide-speed']) : 500;
1284	
1285	const dfCommonOptions = {
1286		autoplay: {
1287			delay: autoplayDelay,
1288			pauseOnMouseEnter: true,
1289		},
1290		loop: true,
1291		effect: sliderEffect,				
1292		speed: sliderSpeed,				
1293		dfOptions: {
1294			pagination: {
1295				use: true,
1296				timer: timerOption,
1297				type: paginationType,
1298				position: 'inside', // inside, outside
1299			},
1300			youtube: {
1301				controller: true,
1302				autoplay: true
1303			}
1304		}
1305	};
1306	DFResponsiveSlider(dfMediaQuery, dfSelector, dfCommonOptions);
1307
1308	// 헤더 토글(모바일 전용, 풀스크린)
1309	const header = document.querySelector('.df-header');
1310	const root = document.querySelector(dfSelector);
1311	const hero = document.querySelector('div[data-mo-hero]');
1312	const mql = window.matchMedia(dfMediaQuery);
1313
1314	if(!header || !root) return;
1315
1316	if(!hero || hero.getAttribute('data-mo-hero') !== 'full'){
1317		header.classList.remove('is-white-mo');
1318		return;
1319	}
1320
1321	const update = function(){
1322		if(!mql.matches){
1323			header.classList.remove('is-white-mo');
1324			return;
1325		}
1326
1327		header.classList.toggle('is-white-mo', root.querySelector('.swiper-slide-active')?.getAttribute('data-df-item-title') === 'header-white');
1328	};
1329
1330	new MutationObserver(update).observe(root, { subtree:true, attributes:true, attributeFilter:['class'] });
1331
1332	requestAnimationFrame(update);
1333})();
1334
1335
1336
1337//[PC] 메인 슬라이드 배너
1338(function() {
1339	const dfMediaQuery = '(min-width: 1025px)';
1340	const dfSelector = '.df-display-pc .df-main-slide__items';
1341	
1342	const sliderEffect = DF['set-mainslide-pc-fx'] || 'fade';	
1343	const paginationType = DF['set-mainslide-pager'] || 'circle';
1344	const timerOption = (DF['set-mainslide-timer'] === 'off') ? false : true;
1345	const autoplayDelay = DF['set-mainslide-pause'] ? Number(DF['set-mainslide-pause']) : 4500;
1346	const sliderSpeed = DF['set-mainslide-speed'] ? Number(DF['set-mainslide-speed']) : 500;
1347	
1348	const dfCommonOptions = {
1349		autoplay: {
1350			delay: autoplayDelay,
1351			pauseOnMouseEnter: true,
1352		},
1353		loop: true,
1354		effect: sliderEffect,
1355		speed: sliderSpeed,
1356		dfOptions: {
1357			navigation: {
1358				use: true,
1359				addClass: 'df-wrap-content df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--rounded df-navigation-size--large df-navigation-color--gray',
1360			},
1361			pagination: {
1362				use: true,
1363				timer: timerOption,
1364				type: paginationType,
1365				position: 'inside', // inside, outside
1366			},
1367			youtube: {
1368				controller: true,
1369				autoplay: true
1370			}
1371		}
1372	};
1373	DFResponsiveSlider(dfMediaQuery, dfSelector, dfCommonOptions);
1374
1375
1376	// 헤더 토글(PC 전용, 풀스크린 + 예외 토글 포함)
1377	const header = document.querySelector('.df-header');
1378	const root = document.querySelector(dfSelector);
1379	const hero = document.querySelector('div[data-pc-hero]');
1380	const mql = window.matchMedia(dfMediaQuery);
1381
1382	// 최소 개선: 토글 요소 캐싱
1383	const cateToggle = document.querySelector('.df-category-toggle');
1384	const searchToggle = document.querySelector('.df-search-toggle');
1385
1386	if(!header || !root) return;
1387
1388	if(!hero || hero.getAttribute('data-pc-hero') !== 'full'){
1389		header.classList.remove('is-white-pc');
1390		return;
1391	}
1392
1393	function isOverlayOpen(){
1394		return (cateToggle && cateToggle.classList.contains('df-active'))
1395			|| (searchToggle && searchToggle.classList.contains('df-active'));
1396	}
1397
1398	const update = function(){
1399		if(!mql.matches){
1400			header.classList.remove('is-white-pc');
1401			return;
1402		}
1403
1404		if(isOverlayOpen()){
1405			header.classList.remove('is-white-pc');
1406			return;
1407		}
1408
1409		header.classList.toggle('is-white-pc', root.querySelector('.swiper-slide-active')?.getAttribute('data-df-item-title') === 'header-white');
1410	};
1411
1412	new MutationObserver(update).observe(root, { subtree:true, attributes:true, attributeFilter:['class'] });
1413
1414	document.addEventListener('click', function(e){
1415		if(e.target.closest('.df-category-toggle, .df-search-toggle')){
1416			requestAnimationFrame(update);
1417		}
1418	});
1419
1420	requestAnimationFrame(update);
1421
1422})();
1423
1424
1425
1426//[공통] 스크롤 배너
1427(function() {
1428	new DFSlider('.df-scroll-banner__items', {
1429		slidesPerView: 4.4,
1430		spaceBetween: 12,
1431		centerInsufficientSlides: true,
1432		loop: false,
1433		roundLengths: true,
1434		autoHeight: false,
1435		freeMode: true,
1436		breakpoints: {
1437			768: {
1438				slidesPerView: 6.5,
1439				spaceBetween: 24,
1440			},
1441			1024: {
1442				slidesPerView: 9,
1443				spaceBetween: 28,
1444			},
1445			1280: {
1446				slidesPerView: 9,
1447				spaceBetween: 57,
1448			},
1449		}
1450	});
1451})();
1452
1453
1454
1455//[모바일~태블릿] 카테고리 폴드 기능
1456(function() {
1457	if (DF['set-cate-fold'] === 'on') {
1458		const categoryWrapper = document.querySelector('.df-category-wrapper.df-display-mo-tb');
1459		if (categoryWrapper) {
1460			categoryWrapper.classList.add('df-category-wrapper--fold');
1461		}
1462	}
1463})();
1464
1465
1466
1467//[모바일~태블릿] 카테고리 슬라이드 + 설정 연동 2025-02-12
1468(function() {
1469	var cateType = DF['set-cate-type'];
1470	var categoryMobile = document.querySelector('.df-category--mobile');
1471	if (!categoryMobile) return;
1472
1473	var typeClassMap = {
1474		scroll: ['df-category--scroll'],
1475		grid3: ['df-category--grid', 'df-category--grid-3'],
1476		grid4: ['df-category--grid', 'df-category--grid-4'],
1477		grid5: ['df-category--grid', 'df-category--grid-5'],
1478	};
1479
1480	var classesToAdd = typeClassMap[cateType] || typeClassMap['scroll'];
1481	categoryMobile.classList.add(...classesToAdd);
1482
1483	if (!typeClassMap[cateType] || cateType === 'scroll') {
1484		new DFSlider('.df-category--mobile', {
1485			centerInsufficientSlides: true,
1486			loop: false,
1487			autoHeight: false,
1488			freeMode: true,
1489			slidesPerView: 'auto',
1490		});
1491	}
1492})();
1493
1494
1495
1496//[데스크탑 구간적용] 카테고리 슬라이드 2025-01-10
1497(function() {
1498	const dfMediaQuery = '(min-width: 1025px) and (max-width: 1199px)';
1499	const dfSelector = '.df-category--horizontal.df-category--main';
1500	const dfCommonOptions = {
1501		loop: false,		
1502		autoHeight: false,
1503		freeMode: true,
1504		slidesPerView: 'auto',
1505		dfOptions: {
1506			scrollbar: {
1507				use: true,
1508				type: 'thin',
1509			}
1510		}			
1511	};
1512	DFResponsiveSliderDestroy(dfMediaQuery, dfSelector, dfCommonOptions);
1513})();
1514
1515
1516
1517//[공통] 그룹 슬라이드 배너
1518(function() {
1519	new DFSlider('.df-group-banner__slide-items', {
1520		autoHeight: false,
1521		autoplay: {
1522			delay: 4500,
1523			pauseOnMouseEnter: true,
1524		},
1525		loop: true,
1526		dfOptions: {
1527			navigation: {
1528				use: true,
1529				addClass: 'df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--gray',
1530			},
1531			pagination: {
1532				use: true,
1533				type: 'stick', // circle, capsule, square, stick, bar, text, hidden-text, over, bullets, progressbar, fraction
1534				position: 'inside',
1535			}
1536		},
1537	});
1538})();
1539
1540
1541
1542//[공통] 멀티 슬라이드 배너
1543(function() {
1544	new DFSlider('.df-multi-slide__items', {
1545		slidesPerView: 1,
1546		spaceBetween: 0,
1547		autoplay: {
1548			delay: 4500,
1549			pauseOnMouseEnter: true,
1550		},
1551		loop: true,
1552		breakpoints: {
1553			768: {
1554				slidesPerView: 2,
1555				spaceBetween: 14,		
1556			},
1557			1024: {
1558				slidesPerView: 2,
1559				spaceBetween: 20,			
1560			},
1561		},		
1562		dfOptions: {
1563			navigation: {
1564				use: true,
1565				addClass: 'df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--gray',
1566			},
1567			pagination: {
1568				use: true,
1569				timer: false,
1570				type: 'circle', // circle, capsule, square, stick, bar, text, hidden-text, over, bullets, progressbar, fraction
1571				position: 'outside',
1572			}
1573		},
1574	});
1575})();
1576
1577
1578
1579//[모바일] 상품목록 카테고리 2025-01-06
1580(function() {
1581	const dfMenu = document.querySelector('.df-prl-menu');
1582	if (dfMenu) {
1583		const validItems = dfMenu.querySelectorAll('.df-prl-menu__item:not(.df-prl-menu__item--prev.displaynone)');
1584		if (validItems.length === 0) {
1585			dfMenu.remove();
1586			return;
1587		}
1588	}
1589	
1590	const dfMediaQuery = '(max-width: 1024px)';
1591	const dfSelector = '.df-prl-menu__items';
1592	const dfCommonOptions = {
1593		centerInsufficientSlides: true,
1594		loop: false,		
1595		autoHeight: false,
1596		freeMode: true,
1597		slidesPerView: 'auto',
1598	};
1599	const slides = document.querySelectorAll(`${dfSelector} .df-prl-menu__item`);
1600	let selectedIndex = 0;  
1601	slides.forEach((slide, idx) => {
1602		if (slide.classList.contains('df-prl-menu__item--selected')) {
1603			selectedIndex = idx;
1604		}
1605	});
1606	dfCommonOptions.initialSlide = selectedIndex
1607	DFResponsiveSliderDestroy(dfMediaQuery, dfSelector, dfCommonOptions);
1608	const updatedDfMenu = document.querySelector('.df-prl-menu');
1609	if (updatedDfMenu) {
1610		updatedDfMenu.classList.add('df-prl-menu--active');
1611	}	
1612})();
1613
1614
1615
1616//게시판 탭(서브메뉴 탭) 활성된 메뉴 체크 2025-09-17
1617!function(){let t=document.querySelectorAll(".df-board--tab");if(!t.length)return;let e=window.location.href,r=a(e);function a(t){let e=new URL(t,window.location.origin),r=e.searchParams.get("board_no");if(r)return r;let a=e.pathname.split("/").find(t=>/^\d+$/.test(t));return a||""}t.forEach(t=>{let l=t.querySelectorAll(".df-board__item");l.forEach(t=>{let l=t.matches("a[href]")?t:t.querySelector("a[href]");if(!l)return;let n=l.getAttribute("href")||"";if(!n||"#"===n||n.startsWith("javascript:"))return;let f=l.href,i=a(f);(r&&i&&r===i||!r&&!i&&f===e)&&t.classList.add("df-current")})})}();
1618
1619
1620
1621//게시판 탭(서브메뉴 탭) 슬라이드 처리 2025-09-17
1622(function() {
1623	const dfMediaQuery = '(max-width: 1024px)';
1624	const selector = '.df-board--tab';
1625
1626	function buildOptions() {
1627		const slides = document.querySelectorAll(`${selector} .df-board__item`);
1628		let selectedIndex = 0;
1629		slides.forEach((slide, idx) => {
1630			if (slide.classList.contains('df-current')) {
1631				selectedIndex = idx;
1632			}
1633		});
1634		return {
1635			centerInsufficientSlides: true,
1636			loop: false,
1637			autoHeight: false,
1638			freeMode: true,
1639			slidesPerView: 'auto',
1640			initialSlide: selectedIndex
1641		};
1642	}
1643
1644	// 헬퍼가 MQ 변화 시 재생성할 때도 options를 다시 읽어준다(=함수 호출해 새 객체로 전달)고 가정
1645	DFResponsiveSliderDestroy(dfMediaQuery, selector, buildOptions());
1646})();
1647
1648
1649
1650// 검색버튼 클릭 후 검색창 포커스 처리 2025-04-07
1651// !function(){let t=document.querySelector(".df-panel-more"),e=document.getElementById("keyword");if(!t||!e)return;let s=t.classList.contains("df-layer-ready"),a=t.classList.contains("df-active"),c=new MutationObserver(c=>{c.forEach(c=>{if("attributes"===c.type&&"class"===c.attributeName){let i=t.classList.contains("df-layer-ready"),r=t.classList.contains("df-active");!s&&i&&e.focus(),s&&!a&&r&&e.focus(),a&&!r&&e.blur(),s=i,a=r}})});c.observe(t,{attributes:!0})}();
1652
1653
1654
1655// 검색폼 텍스트(상품홍보문구) 제거시 리디렉션 값 제거 2025-03-25 */ 
1656document.addEventListener("DOMContentLoaded",function(){let e=document.querySelector("#searchBarForm #banner_action"),t=document.querySelector("#searchBarForm .btnDelete");if(t){let n=new MutationObserver(function(n){n.forEach(function(n){"attributes"===n.type&&"class"===n.attributeName&&t.classList.contains("displaynone")&&(e.value="")})});n.observe(t,{attributes:!0})}});
1657
1658
1659
1660// 검색폼 autocomplete=off 처리 2025-02-18
1661!function(){let e=document.querySelectorAll("#keyword, #ec-product-searchdata-keyword");e.forEach(e=>{e.setAttribute("autocomplete","off")})}();
1662
1663
1664
1665// 장바구니 구매버튼 고정 처리 2025-05-08
1666document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".xans-order-basketpackage");if(e){var t=e.querySelector("#orderFixArea"),d=e.querySelector("#orderFixItem");t&&d&&(s(),window.addEventListener("scroll",s),window.addEventListener("resize",s))}function s(){if(e.getBoundingClientRect().bottom<0){t.classList.add("displaynone"),document.body.classList.remove("df-basket-fixed");return}var s=d.getBoundingClientRect();s.bottom>0&&s.top<window.innerHeight?(t.classList.add("displaynone"),document.body.classList.remove("df-basket-fixed")):(t.classList.remove("displaynone"),document.body.classList.add("df-basket-fixed"))}});
1667
1668
1669
1670// 커뮤니티 → 카테고리 이동 기능 2025-09-23
1671!function(){"use strict";var e;let t=".df-category__item",r=".df-category__link",o=[".df-board:not(.df-board--tab) .df-board__item:not(.displaynone) .df-board__link"];function l(e){return!!(e&&e.classList.contains("df-category__item--board"))}e=function(){document.querySelector(".df-category__item--board")&&document.querySelector(o.join(","))&&function e(){let c=function e(){let t=[];
1671o.forEach(e=>t.push(...document.querySelectorAll(e)));let r=new Set,l=[];for(let c of t){let a=(c.getAttribute("href")||"").trim(),n=(c.innerHTML||"").trim(),i=a.toLowerCase();if(!a||!n||"#"===a||i.startsWith("javascript:")||r.has(a))continue;r.add(a);let f=c.getAttribute("target")||"";l.push({href:a,html:n,target:f})}return l}();c.length&&(document.querySelectorAll(".df-category").forEach(e=>{e.querySelectorAll(":scope > "+t).forEach(e=>{if(!l(e)||e.querySelector(":scope > .df-category__depth2"))return;let t=e.querySelector(":scope > "+r);if(t){let o=(t.getAttribute("href")||"").trim();(!o||"#"===o||"#!"===o||"#none"===o||o.toLowerCase().startsWith("javascript:"))&&t.setAttribute("href",c[0].href)}})}),document.querySelectorAll(".df-category.df-category--call-submenu").forEach(e=>{e.querySelectorAll(":scope > "+t).forEach(e=>{if(!l(e)||e.querySelector(":scope > .df-category__depth2"))return;let t=function e(t){let o=t.querySelector(":scope > .df-category__depth2");if(!o){(o=document.createElement("div")).className="df-category__depth2";let l=t.querySelector(":scope > "+r);l&&l.nextSibling?t.insertBefore(o,l.nextSibling):t.appendChild(o)}return o}(e);(function e(t,r){if(!r.length)return;let o=document.createElement("ul");for(let l of(o.className="df-category__sub",r)){let c=document.createElement("li");c.className="df-category__sub-item";let a=document.createElement("a");a.className="df-category__sub-link",a.href=l.href,a.innerHTML=l.html,l.target&&a.setAttribute("target",l.target),c.appendChild(a),o.appendChild(c)}let n=t.querySelector(":scope > ul.df-category__sub");n?n.insertAdjacentElement("afterend",o):t.appendChild(o)})(t,c),function e(t){let o=t.querySelector(":scope > "+r),l=t.querySelector(":scope > .df-category__depth2");if(!l)return;let c=!!l.querySelector(":scope > ul.df-category__sub > li");if(!c)return;let a=t.querySelector(":scope > i.df-category__toggle");a||((a=document.createElement("i")).className="df-category__toggle"),o?a.previousElementSibling!==o&&o.insertAdjacentElement("afterend",a):t.insertBefore(a,l)}(e)})}))}()},"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}();
1672
1673
1674
1675/********************************************************************************************************
1676
1677	⌨ 디자인플로어 JAVASCRIPT 커스터마이징
1678	
1679	이 파일은 디자인 커스터마이징과 유지보수를 위해 사용됩니다.
1680	모든 script 수정 및 추가는 이 파일에서 진행하며 수정 내용은 주석으로 기록하세요.
1681	
1682	⚠ 주의사항
1683	- 디자인 관련 script 수정은 이 파일에서만 진행합니다.
1684	- 디자인 원본 script 파일 수정시 발생하는 문제에 대해 복구 및 가이드를 지원하지 않습니다.
1685	- 모든 파일은 자유롭게 수정할 수 있으나, 수정 방법·경로 등의 가이드는 제공되지 않습니다.
1686	- 작업 전 반드시 디자인 백업을 진행하세요.
1687	
1688********************************************************************************************************/
1689
1690
1691
1692/* [예시] 수정내용·수정일을 주석으로 기록하세요. */
1693(function(){
1694	
1695})();
1696
1697
1698
1699/**
1700	df-topbanner
1701
1702	업데이트: 2025-05-15
1703**/
1704
1705
1706//[모바일~태블릿] 탑 배너
1707(function() {
1708	const dfMediaQuery = '(max-width: 1024px)';
1709	const dfSelector = '.df-display-mo-tb .df-topbanner-items';
1710	const banner = document.querySelector('.df-topbanner.df-display-mo-tb');
1711	if (banner) {
1712		banner.classList.add('df-topbanner--active');
1713	}
1714	
1715	const dfCommonOptions = {
1716		autoplay: {
1717			delay: 4500,
1718			pauseOnMouseEnter: true,
1719		},
1720		rewind: true,
1721		effect: 'fade',
1722		dfOptions: {
1723			navigation: {
1724				use: false
1725			},
1726			pagination: {
1727				use: true,
1728				type: 'circle',
1729			},
1730		},
1731		/* on: {
1732			init: function() {
1733				document.querySelector('.df-topbanner.df-display-mo-tb').classList.add('df-topbanner--active');
1734			}
1735		}, */
1736	};
1737	DFResponsiveSlider(dfMediaQuery, dfSelector, dfCommonOptions);
1738})();
1739
1740
1741//[PC] 탑 배너
1742(function() {	
1743	const dfMediaQuery = '(min-width: 1025px)';
1744	const dfSelector = '.df-display-pc .df-topbanner-items';
1745	const banner = document.querySelector('.df-topbanner.df-display-pc');
1746	if (banner) {
1747		banner.classList.add('df-topbanner--active');
1748	}
1749	
1750	const dfCommonOptions = {
1751		autoplay: {
1752			delay: 4500,
1753			pauseOnMouseEnter: true,
1754		},
1755		rewind: true,
1756		effect: 'fade',
1757		dfOptions: {
1758			navigation: {
1759				use: true,
1760				addClass: 'df-wrap-content df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--xsmall df-navigation-color--white',
1761			},
1762			pagination: {
1763				use: true,
1764				type: 'circle', // circle, capsule, square, stick, bar, text, hidden-text, over, bullets, progressbar, fraction
1765			},
1766		},
1767		/* on: {
1768			init: function() {
1769				document.querySelector('.df-topbanner.df-display-pc').classList.add('df-topbanner--active');
1770			}
1771		}, */
1772	};
1773	DFResponsiveSlider(dfMediaQuery, dfSelector, dfCommonOptions);
1774})();
1775
1776
1777// 배너 desc e-flow 효과 처리 2024-11-21
1778(function () {
1779    document.querySelectorAll('.df-topbanner .e-flow').forEach(function (element) {
1780        const originalHTML = element.innerHTML;
1781        const fragment = document.createDocumentFragment();
1782        for (let i = 0; i < 10; i++) {
1783            const span = document.createElement('span');
1784            span.innerHTML = originalHTML;
1785            fragment.appendChild(span);
1786        }
1787
1788        element.innerHTML = '';
1789        element.appendChild(fragment);
1790        
1791        element.classList.add('e-flow_active');
1792        
1793        const parent = element.closest('.df-banner-desc');
1794        if (parent) {
1795            parent.classList.add('df-banner-desc--overflow-visible');
1796        }
1797    });
1798})();
1799
1800
1801/*
1802	df-quickbutton
1803	업데이트: 2025-03-25
1804*/
1805
1806DFready(function(){var t=document.querySelectorAll(".df-quickbutton");if(t.length>0){var o,e=700,i=!1,n=!1;function c(){var c=window.pageYOffset||document.documentElement.scrollTop,u=document.documentElement.scrollHeight,s=window.innerHeight;u-s<3*e?i||(i=!0,o=e,e=(u-s)/4):i&&(i=!1,e=o),t.forEach(function(t){"none"===window.getComputedStyle(t).display&&t.classList.add("df-quickbutton--active"),c-e<=0&&!t.classList.contains("df-quickbutton--top")?(t.classList.remove("df-quickbutton--middle","df-quickbutton--bottom"),t.classList.add("df-quickbutton--top")):c-e>0&&c<u-s-e&&!t.classList.contains("df-quickbutton--middle")?(t.classList.remove("df-quickbutton--top","df-quickbutton--bottom"),t.classList.add("df-quickbutton--middle")):c>=u-s-e&&!t.classList.contains("df-quickbutton--bottom")&&(t.classList.remove("df-quickbutton--top","df-quickbutton--middle"),t.classList.add("df-quickbutton--bottom"))}),n=!1}c(),document.addEventListener("scroll",function t(){n||(window.requestAnimationFrame(c),n=!0)}),t.forEach(function(t){var o=t.querySelector(".df-quickbutton__item--top"),e=t.querySelector(".df-quickbutton__item--bottom");o&&o.addEventListener("click",function(t){t.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})}),e&&e.addEventListener("click",function(t){t.preventDefault(),window.scrollTo({top:document.documentElement.scrollHeight,behavior:"auto"})})})}});
1807
1808
1809/**
1810	df-intropopup
1811
1812	업데이트: 2024-06-08
1813	
1814	- 2024-06-08 $DF→ $ 변경
1815	- 2025-02-01 autoHeight: false 
1816**/
1817
1818
1819// 팝업 초기화 및 이벤트 설정
1820(() => {
1821    const popup = document.querySelector('.df-intropopup');
1822    if (!popup || DFCookie.get('df-intropopup-cookie')) return;
1823    
1824    popup.classList.add('df-intropopup--active');
1825    popup.removeAttribute('hidden');
1826    
1827    const slider = new DFSlider('.df-intropopup__items', {
1828        slidesPerView: 1,
1829        loop: false,
1830		rewind: true,
1831		autoHeight: false,
1832        autoplay: {
1833            delay: 2200,
1834            pauseOnMouseEnter: true
1835        },
1836        effect: 'fade',
1837		fadeEffect: { 
1838			crossFade: true
1839		},
1840        dfOptions: {
1841            navigation: {
1842                use: true,
1843                addClass: 'df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--rounded df-navigation-size--large df-navigation-color--gray'
1844            },
1845            pagination: {
1846                use: true,
1847                timer: true,
1848                type: 'stick',
1849                position: 'inside'
1850            }
1851        }
1852    });
1853
1854    // 이벤트 위임을 통한 클릭 처리
1855    popup.addEventListener('click', (e) => {
1856        const target = e.target;
1857        
1858        // 팝업 컨텐츠 영역인지 체크
1859        if (target.closest('.df-intropopup__content')) {
1860            // 컨텐츠 영역 내부의 버튼 클릭 처리
1861            if (target.closest('.df-intropopup__control--close')) {
1862                popup.classList.remove('df-intropopup--active');
1863                slider.autoplay?.stop();
1864            } else if (target.closest('.df-intropopup__control--today')) {
1865                popup.classList.remove('df-intropopup--active');
1866                DFCookie.setHours('df-intropopup-cookie', 'true', 24);
1867                slider.autoplay?.stop();
1868            }
1869        } else {
1870            // 컨텐츠 영역 외부 클릭시 팝업 닫기
1871            popup.classList.remove('df-intropopup--active');
1872            slider.autoplay?.stop();
1873        }
1874    });
1875})();
1876
1877
1878/**
1879	df-multipopup
1880	
1881	업데이트: 2025-01-31
1882
1883	- 2024-12-27 $DF→ $ 변경
1884	- 2025-01-31 일부 옵션 변경
1885**/
1886
1887
1888(() => {
1889    const popup = document.querySelector('.df-multipopup');
1890    if (!popup || DFCookie.get('df-multipopup-cookie')) return;
1891    
1892    // 팝업 위치 설정(픽셀 이동)
1893    if (DF['set-multipopup-top']) {
1894        popup.style.setProperty('--df-multipopup-top', DF['set-multipopup-top'] + 'px');
1895    }
1896    if (DF['set-multipopup-left']) {
1897        popup.style.setProperty('--df-multipopup-left', DF['set-multipopup-left'] + 'px');
1898    }
1899
1900    // 팝업 위치 설정(클래스 추가)
1901    if (DF['set-multipopup-position'] === 'top') {
1902        popup.classList.add('df-multipopup--position-top');
1903    } else if (DF['set-multipopup-position'] === 'middle') {
1904        popup.classList.add('df-multipopup--position-middle');
1905    } else if (DF['set-multipopup-position'] === 'bottom') {
1906        popup.classList.add('df-multipopup--position-bottom');
1907    }
1908
1909    // 팝업 활성화
1910    popup.classList.add('df-multipopup--active');
1911    popup.removeAttribute('hidden');
1912    
1913    // DFSlider 설정
1914    const slider = new DFSlider('.df-multipopup__items', {
1915        autoplay: {
1916            delay: 4500,
1917            pauseOnMouseEnter: true,
1918        },
1919        slidesPerView: 1,
1920        loop: true,
1921        effect: 'slide',
1922        fadeEffect: { 
1923            crossFade: true
1924        },
1925        dfOptions: {
1926            navigation: {
1927                use: false,
1928                addClass: 'df-navigation-hover--on df-navigation-shape--rounded df-navigation-size--large df-navigation-color--gray'
1929            },
1930            pagination: {
1931                use: true,
1932                timer: false,
1933                type: 'text',
1934            }
1935        },
1936    });
1937    
1938    // 이벤트 위임: 닫기 및 '오늘 하루 안 보기' 처리
1939    popup.addEventListener('click', (e) => {
1940        const target = e.target;
1941        if (target.closest('.df-multipopup__control--close')) {
1942            popup.classList.remove('df-multipopup--active');
1943            slider.autoplay?.stop();
1944        } else if (target.closest('.df-multipopup__control--today')) {
1945            popup.classList.remove('df-multipopup--active');
1946            DFCookie.setHours('df-multipopup-cookie', 'true', 24);
1947            slider.autoplay?.stop();
1948        }
1949    });
1950})();
1951
1952$(function(){
1953    if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") {
1954        var sShippingCountryCode4Cookie = 'shippingCountryCode';
1955        var bShippingCountryProc = false;
1956
1957        // 배송국가 선택 설정이 사용안함이면 숨김
1958        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) {
1959            $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide();
1960            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide();
1961        } else {
1962            $('.thumb .xans-layout-multishoplistitem').hide();
1963            var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)');
1964            if (typeof(aShippingCountryCode) != 'undefined' && aShippingCountryCode != null && aShippingCountryCode.length > 2) {
1965                var sShippingCountryValue = aShippingCountryCode[2];
1966            }
1967
1968            // query string으로 넘어 온 배송국가 값이 있다면, 그 값을 적용함
1969            var aHrefCountryValue = decodeURIComponent(location.href).split("/?country=");
1970
1971            if (aHrefCountryValue.length == 2) {
1972                var sShippingCountryValue = aHrefCountryValue[1];
1973            }
1974
1975            // 메인 페이지에서 국가선택을 안한 경우, 그 외의 페이지에서 셋팅된 값이 안 나오는 현상 처리
1976            if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) {
1977                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1978
1979                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
1980                    $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
1981                }
1982            }
1983            if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) {
1984                sShippingCountryValue = sShippingCountryValue.split("#")[0];
1985                var bShippingCountryProc = true;
1986
1987                $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
1988                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1989                var expires = new Date();
1990                expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
1991                document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
1992                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
1993                    $("#f_country").val(sShippingCountryValue).change();
1994                }
1995            }
1996        }
1997        // 언어선택 설정이 사용안함이면 숨김
1998        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) {
1999            $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide();
2000            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide();
2001        } else {
2002            $('.thumb .xans-layout-multishoplistitem').hide();
2003        }
2004
2005        // 배송국가 및 언어 설정이 둘 다 사용안함이면 숨김
2006        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) {
2007            $(".xans-layout-multishopshipping").hide();
2008            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide();
2009        } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // 배송국가 값을 처리한 적이 없고, 메인화면일 때만 선택 레이어를 띄움
2010            var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val();
2011            $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
2012            $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
2013            // 배송국가 선택을 사용해야 레이어를 보이게 함
2014            if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) {
2015                $(".xans-layout-multishopshipping").show();
2016            }
2017        }
2018
2019        $(".xans-layout-multishopshipping .btnClose").on("click", function() {
2020            $(".xans-layout-multishopshipping").hide();
2021        });
2022
2023        $(".xans-layout-multishopshipping .ec-base-button a").on("click", function() {
2024            var expires = new Date();
2025            expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
2026            document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
2027
2028            // 도메인 문제로 쿠키로 배송국가 설정이 안 되는 경우를 위해 query string으로 배송국가 값
2028을 넘김
2029            var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
2030
2031            location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting;
2032        });
2033        $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").on("click", function() {
2034            $(".xans-layout-multishopshipping").show();
2035        });
2036    }
2037});
2038/*
2039	df-shortsslide
2040	업데이트: 2025-03-18
2041*/
2042
2043!function(){function e(e){if(!e)return null;let t=e.replace(/[^\d.]/g,"");if(!t)return null;let r=parseFloat(t);return r>0?r:null}let t=document.querySelectorAll(".df-shorts-slide__item");if(t.length>=4){let r=document.querySelector(".df-shorts-slide");r&&r.classList.add("df-shorts-slide--mode")}new DFSlider(".df-shorts-slide__items",{slidesPerView:1,spaceBetween:30,autoplay:{delay:3e3,pauseOnMouseEnter:!0},speed:700,initialSlide:2,roundLengths:!0,centeredSlides:!0,loop:!0,autoHeight:!1,dfOptions:{navigation:{use:!0,addClass:"df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--gray"},pagination:{use:!0,timer:!0,type:"fraction",position:"outside"},youtube:{controller:!0,autoplay:!1}},breakpoints:{1024:{slidesPerView:3,spaceBetween:40}}});let i=new IntersectionObserver((t,r)=>{t.forEach(t=>{t.isIntersecting&&(!function t(r){let i=r.getAttribute("data-banner-title")||"",o=i.match(/\[(\d+)\]/);if(!o)return;let s=o[1],l=`${DF_PREVIEW_PATH}/dfloor/plugins/df-shortsslide/df-shortsslide-product.html?product_no=${s}`;fetch(l).then(e=>e.text()).then(t=>{let i=new DOMParser,o=i.parseFromString(t,"text/html"),l=o.querySelector(".df-shorts-slide__product");if(!l)return;let n=l.querySelector(".df-shorts-slide__product-link");n&&n.setAttribute("href",`${DF_PREVIEW_PATH}/product/detail.html?product_no=${s}`),function t(r){if("object"==typeof DF&&"on"!==DF["set-discountrate"])return;let i=e(r.getAttribute("data-price-custom")),o=e(r.getAttribute("data-price-regular")),s=e(r.getAttribute("data-price-sale"));if(!s){let l=e(r.getAttribute("data-price-sale-mobile"));l&&(s=l)}let n=s&&s>0&&s!==o,d,c;if(n?(d=o,c=s):(d=o,c=i),!d||!c)return;let a=Math.max(d,c),u=Math.min(d,c),p=Math.round((a-u)/a*100);if(p>0){let f=document.createElement("span");if(f.className="df-discountrate",f.textContent=p,n){let g=r.querySelector(".prd_price_sale_css, .product_price_sale_login_css");if(g)g.prepend(f);else{let h=r.querySelector(".product_price_css");h&&h.prepend(f)}}else{let $=r.querySelector(".product_price_css");$&&$.prepend(f)}}let m=r.querySelector(".product_custom_css"),y=r.querySelector(".product_price_css"),b=r.querySelector(".prd_price_sale_css, .product_price_sale_login_css");m&&y&&b&&m.classList.add("displaynone")}(l),r.insertAdjacentHTML("beforeend",l.outerHTML)}).catch(e=>{console.error("Error fetching shorts-slide-product:",e)})}(t.target),r.unobserve(t.target))})},{root:null,rootMargin:"0px",threshold:.1});t.forEach(e=>{i.observe(e)})}();
2044
2045
2046/**
2047	df-review
2048	
2049	업데이트: 2026-02-02
2050**/
2051
2052function dfreview_setLoading(e){var i=$(e).parents("body");return i.css("overflow","hidden").append('<div class="df-review-popup"><div class="df-review-popup-loading"><i class="df-review-icon-loading"></i></div></div>'),i.find(".df-review-popup").fadeIn(100),!0}!function(){$(function(){if($(".df-review-detail").length){var e=$(".df-review__btn_detail-write").attr("df-data-href");if(!e){console.error("리뷰 작성 버튼이 없습니다.");return}var i=new URL(e,location.origin).searchParams.get("product_no");if(!i){console.error("상품 번호를 찾을 수 없습니다.");return}var t="/dfloor/plugins/df-review/df-detail-fetch.html?link_product_no="+encodeURIComponent(i);$.get(t).done(function(e){var i=$("<div>").html(e),t=i.find(".df-review-fetch__point").map(function(){return parseInt($(this).text(),10)}).get().filter(function(e){return e>0}),n=t.length,r=n?(t.reduce(function(e,i){return e+i},0)/n).toFixed(1):"0.0";$(".df-review-stats").toggleClass("df-review-stats--empty",0===n);var a=i.find(".df-review-fetch__point:not(.displaynone)").length>0;if($(".df-review-stats").toggleClass("df-review-stats--active",a),$(".df-review-summary").toggleClass("df-review-summary--active",a),$("[data-df-review-rating]").each(function(){$(this).attr("data-df-review-rating",r).text(r)}),n){var d={1:0,2:0,3:0,4:0,5:0};$.each(t,function(e,i){void 0!==d[i]&&d[i]++});for(var o=1;o<=5;o++){var l=$(".df-review-stats__dist-item--"+o),f=d[o],s=f/n*100;l.find(".df-review-stats__dist-count").text(f),l.find(".df-review-stats__dist-progress").css("height",s+"%")}}else $(".df-review-stats__dist-count").text("0"),$(".df-review-stats__dist-progress").css("height","0%");var c=[];
2052i.find("li").each(function(){var e=$(this);if(e.find(".df-review-fetch__file img").length){var i=$.trim(e.find(".df-review-fetch__image").text());if(i){var t=e.find(".df-review-fetch__param").text().trim(),n=new URLSearchParams(t),r=n.get("no"),a=n.get("board_no");r&&a&&c.push({no:r,boardNo:a,imgSrc:i,dfHref:"?no="+r+"&board_no="+a})}}});var p=c.length;function v(e){return $("<li>").addClass("df-review-photo__item df-review-item").attr("no",e.no).append($("<a>").attr({href:"#none","df-data-href":e.dfHref,class:"df-review-action_open"}).append($("<img>").attr({src:e.imgSrc,loading:"lazy"})))}function h(e){var i=e.find(".df-review-photo__more").detach(),t=e.find(".df-review-photo__items").children(".df-review-photo__item");p>=6&&i.length&&t.eq(4).append(i.clone()),p>=9&&i.length&&t.eq(7).append(i.clone())}$(".df-review-photo").each(function(){var e=$(this);e.toggleClass("df-review-photo--active",p>0),e.toggleClass("df-review-photo--min-5",p>=5),e.toggleClass("df-review-photo--min-8",p>=8),e.find("[data-df-review-photo-count]").each(function(){$(this).attr("data-df-review-photo-count",p).text(p)})}),$(".df-review-photo--compact, .df-review-photo--default").each(function(){var e=$
2052(this),i=e.find(".df-review-photo__items").empty();c.slice(0,10).forEach(function(e){i.append(v(e))}),h(e)}),$(".df-review-photo--modal").each(function(){var e=$(this),i=!1;new MutationObserver(function(){if(!i&&e.hasClass("df-active")){var t=e.find(".df-review-photo__items").empty();c.forEach(function(e){t.append(v(e))}),h(e),i=!0}}).observe(this,{attributes:!0})})}).fail(function(){console.error("후기 데이터 로드에 실패했습니다.")})}}),$.dfreview=function(e,i){var t,n={list:{typeAll:"df-review-items--list df-review-items--gallery",typeBtn:"on",type:"gallery"},detail:{typeBtn:"on",type:"list"},main:{typeBtn:"on",type:"gallery"},initBefore:function(){return!0},initAfter:function(){return!0}},r={};r.init=function(){t=r.settings=$.extend(!0,n,i),r.el=e,r.$el=$(r.el),t.initBefore.call(r),r.act=r.$el.attr("df-review-act"),"list"==r.act?r.setList():"read"==r.act?r.setRead():"write"==r.act?(r.$el.parents("body#layer").addClass("df-review "+r.act),r.setWrite()):"modify"==r.act?(r.$el.parents("body#layer").addClass("df-review "+r.act),r.setWrite()):"reply"==r.act?r.setReply():"secret"==r.act?(r.$el.parents("body#layer").addClass("df-review "+r.act),r.setSecret()):"commentdel"==r.act?(r.$el.parents("body#layer").addClass("df-review "+r.act),r.setCommentdel()):"detail"==r.act?r.setList():"main"==r.act?r.setList():"login"==r.act&&r.setLogin(),t.initAfter.call(r)},r.setList=function(){t.list.type=$.trim(t.list.type),t.list.typeFix=$.trim(t.list.typeFix),"main"==r.act?(t.list.typeBtn=t.main.typeBtn,t.list.type=$.trim(t.main.type),t.list.typeFix=$.trim(t.main.typeFix)):"detail"==r.act&&(t.list.typeBtn=t.detail.typeBtn,t.list.type=$.trim(t.detail.type),t.list.typeFix=$.trim(t.detail.typeFix)),r.$listFix=r.$el.find(".df-review-items-best"),r.$listNotice=r.$el.find(".df-review-notice"),r.$list=r.$el.find(".df-review-items").addClass("df-review-items--"+t.list.type),r.$boxAll=r.$listFix.add(r.$listNotice).add(r.$list).find(".df-review-item"),r.boxAllLen=r.$boxAll.length,r.$boxFix=r.$listFix.find(".df-review-item"),r.boxFixLen=r.$boxFix.length,r.$box=r.$list.find(".df-review-item"),r.boxLen=r.$box.length,r.$search=r.$el.find(".df-review-util"),"detail"==r.act&&r.$box.each(function(){var e=$
2052(this);parseInt(e.find(".df-review-item-check").text())||e.remove()}),r.$listTypeBtn=r.$el.find(".df-review-type"),("list"==r.act||"main"==r.act||"detail"==r.act)&&"on"==t.list.typeBtn?(r.$listTypeBtn.children(".df-review-type__"+t.list.type).addClass("selected"),r.$listTypeBtn.children("a").on("click",function(){var e=$(this),i=e.attr("df-review-listType");i!=t.list.type&&r.$list.hasClass("loaded")&&(e.addClass("selected").siblings().removeClass("selected"),f(r.$list,function(){r.$list.removeClass(t.list.typeAll).addClass("df-review-items--"+(t.list.type=i)),r.setListType(i,t.list.galleryTypeCols,r.$list,"normal")}))})):r.$listTypeBtn.addClass("displaynone"),r.boxAllLen&&(r.boardNo=df_getValue(r.$boxAll.eq(0).attr("df-data-href"),"board_no"),r.boardNo||(r.boardNo=r.$boxAll.eq(0).attr("df-data-href").split("/")[3])),"list"==r.act&&(r.$search.find("#product_category_depth1").on("change",function(){BOARD.form_submit("boardSearchForm")}),r.$search.find("#search_key").val("product").hide()),r.$list.add(r.$listFix).on("click",".df-review-item-content_more",function(){$(this).parent().toggleClass("df-review-item-content--active")}),r.$list.add(r.$listFix).find(".df-review-item-comment-count").text(function(){var e=this.textContent.replace(/[^0-9]/g,"");return e||(e=0),e}),r.$el.on("click",".df-review-action_open",function(e){var i,t=$(this),n=t.parents(".df-review-item"),a="/board/review/read.html?board_no="+r.boardNo+"&no="+n.attr("no"),d=n.find(".df-review-addfile");if(n.hasClass("secret")&&(a="/board/review/secret.html?board_no="+r.boardNo+"&no="+n.attr("no")+"&return_url=/board/review/read.html"),d.length){var o=0;t.parents(".df-review-addfile").length&&(o=t.parent().index()),i={"df-image-index":o}}r.openPopup(a,i),e.preventDefault(),e.stopPropagation()}),r.$el.find(".review-write").on("click",function(e){$(this);var i=$(this).attr("df-data-href");r.openPopup(i),e.preventDefault(),e.stopPropagation()}),r.$boxAll.each(function(e){var i=$(this),t=df_getValue(i.attr("df-data-href"),"no");t||(t=i.attr("df-data-href").split("/")[4]),i.attr({board_no:r.boardNo,no:t})});var e=0;r.$box.add(r.$boxFix).each(function(i){var n=$(this);n.find(".df-review-item-thumb").children().hasClass("df-review-prd-img_displaynone")&&n.addClass("df-review__empty_product");var a={board_no:r.boardNo,no:n.attr("no")};$.get("/exec/front/board/Get/",a,function(e){if("S"===e.data){n.addClass("secret no-userimage");return}if(!1===e.failed){for(var i,t=e.data,r=t.content_image,a=[],d=/<img[^>]+src=["']([^"']+)["']/g;null!==(i=d.exec(r));)a.push(i[1]);if(a.length>0){var o='<ul class="df-review-addfile">';a.forEach(function(e){o+='<li class="df-review-addfile__item"><a href="#none" class="df-review-action_open"><img src="'+(e=e.replace("http://","//").replace("https://","//"))+'" alt="" loading="lazy"></a></li>'}),o+="</ul>",n.append(o)}else n.addClass("no-userimage");n.find(".df-review-item-content_1").html(t.content)}},"json").done(function(){e++,r.boxLen+r.boxFixLen==e&&(r.$listFix_backup=r.$listFix.clone(),r.setListType(t.list.typeFix,t.list.galleryTypeColsFix,r.$listFix,"fix"),r.$listFix.addClass("loaded"),r.$list_backup=r.$list.clone(),r.setListType(t.list.type,t.list.galleryTypeCols,r.$list,"normal"),r.$list.addClass("loaded"))})}),0===r.$box.add(r.$boxFix).length&&(l(r.$el),l(r.$list))},r.setListType=function(e,i,t,n){t.hasClass("loaded")&&("fix"==n?r.$listFix.empty().append(r.$listFix_backup[0].innerHTML):"normal"==n&&r.$list.empty().append(r.$list_backup[0].innerHTML));var a=t.find(".df-review-item");
2052"list"==e&&a.each(function(){var e=$(this),i=e.children(".df-review-item-check").detach(),t=e.children(".df-review-item-thumb").detach(),n=e.find(".df-review-item-name").detach(),r=e.find(".df-review-item-subject").detach(),a=e.find(".df-review-item-content").detach(),d=e.find(".df-review-item-comment").detach(),o=e.find(".df-review__point").detach(),l=e.find(".df-review-item-writer").detach(),f=e.find(".df-review-item-date").detach(),s=e.find(".df-review-item-hit").detach(),c=e.children(".df-review-addfile").detach(),p=a.children().children().attr("style","").length,v=a.text();p>1||v.length>140||c.length?a.append('<a href="#none" class="df-review-action_open df-review-item-content_2">'+v.substring(0,140)+'\xb7\xb7\xb7</a><a href="#none" class="df-review-item-content_more"></a>'):a.append('<a href="#none" class="df-review-action_open df-review-item-content_2">'+v+"</a>"),t.children("a").hasClass("displaynone")&&t.addClass("displaynone"),t.length&&n.length&&t.append(n);var h=(i.length&&t.not(".displaynone").length?i[0].outerHTML:"")+(t.not(".displaynone").length?t.not(".displaynone")[0].outerHTML:""),u=(c.length?c[0].outerHTML:"")+(i.length&&!t.not(".displaynone").length?i[0].outerHTML:"")+(r.length?r[0].outerHTML:"")+(a.length?a[0].outerHTML:"")+(d.length?d[0].outerHTML:""),m=(o.length?o[0].outerHTML:"")+(l.length?l[0].outerHTML:"")+(f.length?f[0].outerHTML:"")+(s.length?s[0].outerHTML:"");e.append('<div class="df-review-item-section1">'+h+'</div><div class="df-review-item-section2">'+u+'</div><div class="df-review-item-section3">'+m+"</div>"),e.find(".df-review-thumb-img > img").attr("alt","")}),"gallery"==e&&(r.$el.show(),t.addClass("df-review-items--gallery").show(),a.each(function(){var e=$
2052(this);e.append('<div class="df-review-item-product"></div>');var i=e.children(".df-review-item-product"),t=e.children(".df-review-item-thumb").clone().removeClass("df-review-item-thumb").addClass("df-review-item-product_thumb");i.append(t),i.append(e.find(".df-review-item-name").removeClass("df-review-item-name").addClass("df-review-item-product_name")),e.children(".df-review-item-thumb").children("a").attr("href","#none").addClass("df-review-action_open");var n=e.find(".df-review-item-content"),r=n.text(),a=e.children(".df-review-addfile").addClass("df-review-action_open");e.children(".df-review-item-thumb").append(e.children(".df-review-addfile"));var t=e.children(".df-review-item-thumb"),d=t.children("a");if(d.children("img"),!e.hasClass("no-userimage")){1==a.find("img").length&&a.hide();var o=a.find("img").eq(0).attr("src");d.removeClass("displaynone").html('<img src="'+o+'" alt="" loading="lazy">')}if(e.hasClass("df-review__empty_product")&&e.hasClass("no-userimage")&&d.removeClass("displaynone"),a.find("li").length>0){var l=e.find(".df-review-icon-file");t.children("a").append(l)}n.children().text(r.substring(0,80)),e.find(".df-review-thumb-img > img").attr("alt","")})),l(r.$el),l(t)},r.setRead=function(){r.$el.parents("body#layer").addClass("df-review "+r.act),r.$parentWin=$(parent.window),r.$parentDoc=$(parent.document),r.$popup=r.$parentDoc.find(".df-review-popup"),r.$loading=r.$popup.find(".df-review-popup-loading"),r.$inner=r.$popup.find(".inner"),r.$left=r.$el.find(".df-review-read__image"),r.$leftInner=r.$left.children(".inner"),r.$right=r.$el.find(".df-review-read__detail"),r.$rightInner=r.$right.children(".inner");var e=r.$el.find(".content-img").children().filter("img");
2052if(r.contentThumbLen=e.length,r.contentThumbLen){var i="";i+='<ul class="df-review-read__image--list">',e.each(function(e){var t=this.cloneNode(!0);t.removeAttribute("style"),i+="<li>"+t.outerHTML+"</li>"}),i+="</ul>",r.$leftInner.append(i),r.$contentThumb=r.$leftInner.find(".df-review-read__image--list"),r.$contentThumbList=r.$contentThumb.find("li"),r.$contentThumbImg=r.$contentThumbList.find("img"),r.contentThumbIndex=r.$popup.attr("df-image-index")?r.$popup.attr("df-image-index"):0,r.contentThumbLen>1&&new DFSlider(".df-review-read__image--list",{autoHeight:!0,loop:!0,dfOptions:{navigation:{use:!0,addClass:"df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--gray"},pagination:{use:!0,type:"fraction",position:"inside"}}})}else r.$left.remove();r.$el.find(".review-delete").on("click",function(){window.parent.location.reload()}),r.$el.find(".review__header-close").on("click",function(){r.closePopup()}),$(function(){f(r.$loading,function(){r.$loading.remove()}),l(r.$el),l(r.$inner)})},r.setWrite=function(){r.$parentWin=$(parent.window),r.$parentDoc=$(parent.document),r.$popup=r.$parentDoc.find(".df-review-popup"),r.$loading=r.$popup.find(".df-review-popup-loading"),r.$inner=r.$popup.find(".inner"),"write"==r.act&&r.$el.find(".review-cancel").on("click",function(){r.closePopup()}),$("#boardWriteForm").attr("target","_parent"),r.$el.find("#move_write_after").val(window.parent.location.href),r.$form=r.$el.find(".df-review-editor_form,.df-review-modify_form"),r.$form.find("#content_IFRAME").height(150),r.getPointFunc(r.$form.find(".df-review-editor_form-item_point, .df-review-modify_form-item_point")),"write"==r.act&&(r.$fileList=r.$el.find(".df-review-editor_form-item_file-attach"),r.$fileInput=r.$fileList.find('[name="attach_file[]"]'),r.$fileInput.attr("accept",".jpg,.jpeg,.png,.gif").change(function(){a(this)}),d("click")),r.$el.find("form").attr("onsubmit","return dfreview_setLoading(this);"),$(function(){f(r.$loading,function(){r.$loading.remove()}),l(r.$el),l(r.$inner)})},r.setReply=function(){l(r.$el)},r.setSecret=function(){r.$parentWin=$(parent.window),r.$parentDoc=$(parent.document),r.$popup=r.$parentDoc.find(".df-review-popup"),r.$loading=r.$popup.find(".df-review-popup-loading"),r.$inner=r.$popup.find(".inner"),r.$el.find(".review-cancel").on("click",function(){r.closePopup()}),$(function(){f(r.$loading,function(){r.$loading.remove()}),l(r.$el),l(r.$inner)})},r.setCommentdel=function(){r.$parentWin=$(parent.window),r.$parentDoc=$(parent.document),r.$popup=r.$parentDoc.find(".df-review-popup"),r.$loading=r.$popup.find(".df-review-popup-loading"),r.$inner=r.$popup.find(".inner");var e=r.$el.find("#return_url");if(e.length){var i=e.val();-1!==i.indexOf("/board/review/?")&&e.val(i.replace("/board/review/?","/board/review/read.html?"))}r.$el.find(".review-cancel").attr("href",r.$el.find(".review-cancel").attr("href")+"?"+o(["board_no","no"])),$(function(){l(r.$el)}),l(r.$el)},r.setLogin=function(){r.$parentWin=$(parent.window),r.$parentDoc=$(parent.document),r.$popup=r.$parentDoc.find(".df-review-popup"),r.$loading=r.$popup.find(".df-review-popup-loading"),r.$inner=r.$popup.find(".inner"),r.closePopup(),parent.window.location.href="/member/login.html?returnUrl="+parent.window.location},r.openPopup=function(e,i){for(var t in r.$win=$(window),r.$body=$("body"),r.$body.append('<div class="df-review-popup"><div class="df-review-popup-loading"><i class="df-review-icon-loading"></i></div><div class="inner df-review-ready"><iframe id="df-review-iframe" src="'+e+'"></iframe><a href="#none" class="df-review-popup-close"></a></div></div>').css({height:"auto",overflow:"hidden"}),r.$popup=r.$body.find(".df-review-popup"),r.$close=r.$popup.find(".df-review-popup-close"),i)r.$popup.attr(t,i[t]);var n=function(e){if(!$(e.target).is(r.$popup)&&!$(e.target).is(r.$close))return!1;r.$close.add(r.$popup).off("click",n),r.closePopup()};r.$close.add(r.$popup).on("click",n),r.$win.one("keyup",function(e){27==e.keyCode&&r.closePopup()}),l(r.$popup)},r.closePopup=function(){f(r.$popup,function(){r.$popup.remove()}),void 0!=r.$body&&r.$body.css({height:"",overflow:""}),void 0!=r.$parentDoc&&r.$parentDoc.find("body").css({height:"",overflow:""})}
2052,r.getPointFunc=function(e){var i,t=e,n=t.find(".input"),r=n.find("input").attr("fw-filter",""),a=t.find(".view"),d=a.find("a");d.on({mouseenter:function(){var e=$(this);e.nextAll().removeClass("hover"),e.addClass("hover").prevAll().addClass("hover")},mouseleave:function(){d.removeClass("hover")},click:function(){var e=$(this),i=e.index();n.find("#point"+(4-i)).prop("checked",!0).siblings().prop("checked",!1),e.addClass("selected").siblings().removeClass("selected"),a.addClass("selected"),e.nextAll().removeClass("on"),e.addClass("on").prevAll().addClass("on")}}),r.each(function(e){var t=$(this);t.attr("checked")&&(i=parseInt(t.attr("value"))-1,d.eq(i).addClass("selected"),a.addClass("selected"),d.eq(i).nextAll().removeClass("on"),d.eq(i).addClass("on").prevAll().addClass("on"))})};var a=function(e){var i=$(e),t=i.parent("span");if(t.index(),e.files&&e.files[0]){var n=new FileReader;n.onload=function(e){t.find("img").remove(),i.before('<img src="'+e.target.result+'">'),d("close")},n.readAsDataURL(e.files[0])}},d=function(e){if("click"==e)r.$fileList.on("click",".df-review-editor_form-item_file-attach-close",function(){var e=$
2052(this).parent(".df-review-editor_form-item_file-attach");e.find("img").remove(),e.find(".df-review-editor_form-item_file-attach-close").remove(),e.find('[name="attach_file[]"]').val(""),d("close")});else if("close"==e){var i;r.$fileInput.each(function(e){$(this).val()&&(i=e)}),r.$fileList.eq(i).siblings().find(".df-review-editor_form-item_file-attach-close").remove(),r.$fileInput.eq(i).after('<a href="#none" class="df-review-editor_form-item_file-attach-close"></a>')}},o=function(e){var i={};for(k in e)i[e[k]]=df_getValue(location.search,e[k]);return df_getString(i)},l=function(e,i){e.removeClass("df-review-ready")},f=function(e,i){requestAnimationFrame(function(){void 0!==i&&i()})};r.init()},$.fn.dfreview=function(e){return this.each(function(){var i=$(this),t=i.data("dfreview");return t?t.methods[e]?t.methods[e].apply(this,Array.prototype.slice.call(arguments,1)):void 0:(t=new $.dfreview(this,e),i.data("dfreview",t),t)})};var e=$("#df-review");e.hasClass("df-review-main")&&"on"!==DF["set-review-mainuse"]?e.remove():e.dfreview({list:{typeBtn:DF["set-review-listtypebtn"],type:DF["set-review-listtype"],typeFix:"gallery"},detail:{typeBtn:DF["set-review-detailtypebtn"],type:DF["set-review-detailtype"],typeFix:"gallery"},main:{typeBtn:DF["set-review-maintypebtn"],type:DF["set-review-maintype"],typeFix:"gallery"}}),$(function(){$(document).off("click.dfphoto").on("click.dfphoto",".df-review-photo--compact .df-review-action_open",function(e){var i=$(this).closest(".df-review-item").attr("no");if(i){var t=$("#df-review").find('.df-review-item[no="'+i+'"] .df-review-action_open').first();t.length&&(t.trigger("click"),e.preventDefault(),e.stopPropagation())}})})}
2052(),function(){var e=$(".df-review-block-state");let i={childList:!0,subtree:!0},t=(e,i)=>{for(let t of e)if("childList"===t.type){var n=$(t.target);n.children(".df-review-block-state_normal").length||n.parents(".df-review-item, .df-review-read").addClass("df-review-blocked")}},n=new MutationObserver(t);for(var r=0;r<e.length;r++)n.observe(e.eq(r)[0],i);setTimeout(function(){n.disconnect()},2e3)}();
2053
2054
2055//메인 리뷰 슬라이드 처리 2025-08-04
2056(function() {
2057	new DFSlider('.df-review-main .df-review-items', {
2058		slidesPerView: 2,
2059		spaceBetween: 12,
2060		roundLengths:true,
2061		autoHeight: false,
2062		loop: true,
2063		autoplay: {
2064			delay: 2500,
2065			pauseOnMouseEnter: true,
2066		},
2067		breakpoints: {
2068			768: {
2069				slidesPerView: 4,
2070				spaceBetween: 14,		
2071			},
2072			1024: {
2073				slidesPerView: 5,
2074				spaceBetween: 16,			
2075			},
2076		},		
2077		dfOptions: {
2078			navigation: {
2079				use: true,
2080				addClass: 'df-navigation-hover--on df-navigation-mobile--off df-navigation-shape--circle df-navigation-size--medium df-navigation-color--white',
2081			},
2082			pagination: {
2083				use: true,
2084				timer: false,
2085				type: 'circle', // circle, capsule, square, stick, bar, text, hidden-text, over, bullets, progressbar, fraction
2086				position: 'outside',
2087			}
2088		},
2089	});
2090})();
2091
2092
2093/* 베스트 리뷰 슬라이드 처리 2025-08-04 */
2094(function() {
2095	new DFSlider('.df-review-best .df-review-items--gallery', {
2096		slidesPerView: 2,
2097		spaceBetween: 12,
2098		roundLengths:true,
2099		autoHeight: false,
2100		loop: true,
2101		autoplay: {
2102			delay: 2500,
2103			pauseOnMouseEnter: true,
2104		},
2105		breakpoints: {
2106			768: {
2107				slidesPerView: 3,
2108				spaceBetween: 16,		
2109			},
2110			1024: {
2111				slidesPerView: 4,
2112				spaceBetween: 20,			
2113			},
2114		},		
2115		dfOptions: {
2116			pagination: {
2117				use: true,
2118				timer: false,
2119				type: 'circle', // circle, capsule, square, stick, bar, text, hidden-text, over, bullets, progressbar, fraction
2120				position: 'outside',
2121			}
2122		},
2123	});
2124})();
2125
2126/*
2127	df-highlightsbanner
2128	업데이트: 2025-04-08
2129*/
2130
2131document.addEventListener("DOMContentLoaded",function(){var e=document.querySelector(".df-highlight-banner");e&&new IntersectionObserver(function(e,t){e.forEach(function(e){var a,i;e.isIntersecting&&(a=document.querySelectorAll(".df-highlight-banner__item"),i=[{keywords:["instagram"],className:"df-highlight-banner__item--instagram"},{keywords:["tiktok"],className:"df-highlight-banner__item--tiktok"},{keywords:["shorts"],className:"df-highlight-banner__item--youtube-shorts"},{keywords:["youtube","youtu"],className:"df-highlight-banner__item--youtube"},{keywords:["vimeo"],className:"df-highlight-banner__item--vimeo"},{keywords:["maps"],className:"df-highlight-banner__item--maps"},{keywords:["x.com","twitter.com"],className:"df-highlight-banner__item--x"},{keywords:["smartstore"],className:"df-highlight-banner__item--store"},{keywords:["kakao"],className:"df-highlight-banner__item--kakao-talk"},{keywords:["talk.naver"],className:"df-highlight-banner__item--naver-talk"},{keywords:["apps.apple"],className:"df-highlight-banner__item--appstore"},{keywords:["play.google"],className:"df-highlight-banner__item--playstore"},],a.forEach(function(e){var t=e.querySelector(".df-highlight-banner__link");if(t){var a=t.getAttribute("href")||"",r=i.find(function(e){return e.keywords.some(function(e){return a.includes(e)})});r&&e.classList.add(r.className)}}),t.unobserve(e.target))})}).observe(e)});
2132
2133
2134/**
2135	df-movelist
2136	업데이트: 2025-10-22
2137**/
2138
2139
2140DFready(function(){let e=(e,t)=>{let i,s;return function(){let o=this,l=arguments;s?(clearTimeout(i),i=setTimeout(()=>{Date.now()-s>=t&&(e.apply(o,l),s=Date.now())},t-(Date.now()-s))):(e.apply(o,l),s=Date.now())}};document.querySelectorAll(".df-layout-main .xans-product-listmain").length>1&&"on"===DF["set-movelist"]&&((t,i)=>{let s={responsive:!0,axis:"y",classes:{findList:".xans-product-listmain",moveList:".df-movelist"},scrollSpeed:600,scrollMarginTop:120,autoHide:!0,autoHideType:"fade",autoHideDelay:4e3,autoHideSpeed:200,moveBox:{use:!0,marginLeft:0,marginTop:0,speed:200},initBefore:()=>!0,initAfter:()=>!0,...i},o=document.querySelector(t),l,a,n,r=0,d=[],f=[],m=0,c=0,$=0,v,u=!1,p=null,L=null,y=()=>{r=window.innerHeight,l.forEach((e,t)=>{let i=e.getBoundingClientRect();d[t]=i.top+window.scrollY,f[t]=d[t]+e.offsetHeight}),m=d[0]-r,c=f[$-1]-s.scrollMarginTop},x=()=>{let e=window.scrollY;s.autoHide?m<=e&&c>e?(H(),g(e)):T():g(e)},g=e=>{for(let t=0;t<$;t++)if(d[t]-r/3<=e&&f[t]-r/3>e&&(p!==t||null===p)){if(null!==L&&L!==t&&n[L].classList.remove("df-movelist__item--active"),n[t].classList.add("df-movelist__item--active"),L=t,p=t,s.moveBox.use){let i=a.querySelector(".df-movelist__focus");"y"===s.axis?i.style.transform=`translateY(${n[t].offsetTop-n[0].offsetTop+(0!==t?s.moveBox.marginTop:0)}px)`:"x"===s.axis&&(i.style.transform=`translateX(${n[t].offsetLeft-n[0].offsetLeft+(0!==t?s.moveBox.marginLeft:0)}px)`,i.style.width=`${n[t].offsetWidth}px`),i.classList.add("df-movelist__focus--active")}break}},h=()=>{a.addEventListener("mouseenter",()=>{clearTimeout(v),a.classList.add("df-movelist--active"),u=!0}),a.addEventListener("mouseleave",()=>{u=!1,H()})},H=()=>{a.classList.add("df-movelist--active"),clearTimeout(v),u||(v=setTimeout(T,s.autoHideDelay))},T=()=>{a.classList.remove("df-movelist--active"),clearTimeout(v)};(()=>{s.initBefore(o),l=o.querySelectorAll(s.classes.findList),(a=o.querySelector(s.classes.moveList)).classList.add("df-movelist--direction-"+s.axis);let t=document.createDocumentFragment();
2140if(l.forEach(e=>{let i=e.querySelector(".df-title-main h2"),s=e.querySelector(".df-title-main > span > img"),o="";if(i&&""!==i.textContent.trim())o=i.innerHTML.trim();else{if(!s)return;o=s.outerHTML}let l=document.createElement("span");l.className="df-movelist__item",l.innerHTML=o,t.appendChild(l)}),s.moveBox.use){let i=document.createElement("div");i.className="df-movelist__focus",t.appendChild(i)}a.appendChild(t),$=(n=a.querySelectorAll(".df-movelist__item")).length,y(),s.responsive&&window.addEventListener("resize",y),s.autoHide?h():a.classList.add("df-movelist--active"),document.addEventListener("scroll",e(x,100),{passive:!0}),n.forEach((e,t)=>{e.addEventListener("click",()=>{y();let e=document.querySelector(".df-header"),i=e?e.offsetHeight:0;window.scrollTo({top:d[t]-s.scrollMarginTop-i,behavior:"smooth"})})}),s.initAfter(o)})()})(".df-layout-main",{responsive:!0,axis:DF["set-movelist-axis"]||"x",classes:{findList:".xans-product-listmain.df-prl, .section-main--add"+("on"===DF["set-review-mainuse"]?", .df-review-main":""),moveList:".df-movelist"},scrollSpeed:600,scrollMarginTop:50,autoHide:!0,autoHideType:"fade",autoHideDelay:4e3,autoHideSpeed:200,moveBox:{use:!0,marginLeft:0,marginTop:0,speed:200}})});
2141
2142/**
2143	df-divbanner
2144
2145	업데이트: 2025-02-28
2146**/
2147
2148
2149!function(){let e=document.querySelectorAll(".df-divbanner-storage");if(0===e.length)return;let t=function(t,n){let r=Object.assign({},{object:null,classname:"",start:1,position:"after",initBefore:()=>!0,initAfter:()=>!0},n),i="string"==typeof t?document.querySelector(t):t,a={init:function(){if(!r.initBefore.call(a,i))return!1;let t=r.object,n=t?t.length:0,l=[];i.querySelectorAll(".df-divbanner__item").forEach(e=>{let t=e.cloneNode(!0);e.remove(),l.push(t.outerHTML)});let d=l.length;if(d<=0)return!1;let o=Array.from(i.classList).filter(e=>"df-divbanner-storage"!==e).join(" "),s=(e,t,n,i=!1)=>`<section class="${r.classname} df-divbanner--${n} ${o}${i?" df-divbanner--add":""}" data-df-divbanner="${e}">${t}</section>`,c=(e,t,n=!1)=>`<div class="${r.classname} df-divbanner--middle ${o}${n?" df-divbanner--add":""}" data-df-divbanner="${e}">${t}</div>`;if(n>0){let f=!1;l.forEach((e,i)=>{let a=t[i],l=document.createElement("div");l.innerHTML=e;let d=l.querySelector("img"),o=d?d.alt:"",b=i>=n,u=s(o,e,r.position,b);if(a&&!b){switch(r.position){case"before":a.insertAdjacentHTML("beforebegin",u);break;case"after":a.insertAdjacentHTML("afterend",u);break;case"middle":let v=a.querySelector(".df-slider");v?v.insertAdjacentHTML("beforebegin",c(o,e,b)):a.querySelector(".df-prl__items").insertAdjacentHTML("beforebegin",c(o,e,b))}f=!0}else{let m=document.querySelectorAll(".df-divbanner"),g=f&&"after"!==r.position?t[n-1]:m[m.length-1];g&&g.insertAdjacentHTML("afterend",u),f=!1}})}else for(let b=d-1;b>=0;b--){let u=document.createElement("div");u.innerHTML=l[b];let v=u.querySelector("img"),m=v?v.alt:"",g=b>=n,p=s(m,l[b],r.position,g);e[0].insertAdjacentHTML("afterend",p)}document.querySelectorAll('.df-divbanner[data-df-divbanner="mode-bg"]').forEach(function(e){let t=e.querySelector("img");if(t){let n=t.getAttribute("src");e.style.backgroundImage=`url(${n})`,t.remove()}}),r.initAfter.call(a,i)}};a.init()};Element.prototype.dfdivbanner=function(e){let n=new t(this,e);return this.dfdivbannerInstance=n,n},e.forEach(e=>{e.dfdivbanner({object:document.querySelectorAll(".xans-product-listmain.df-prl, .section-main--add"),classname:"df-divbanner",position:DF["set-divbanner-position"]})})}();
2150

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.