PageSourceSearch

https://hubdicmall.com/ind-script/optimizer_user.php?filename=jdFB…4654e994002082e98d3311b&t=1694140654&user=T

js hubdicmall.com collected 2026-10-06 03:37:59 UTC 42,276 bytes, 1,035 lines download raw bytes

vendor: 9,568 bytes, lines 1-214
1/*
2 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
3 *
4 * Uses the built in easing capabilities added In jQuery 1.1
5 * to offer multiple easing options
6 *
7 * TERMS OF USE - jQuery Easing
8 *
9 * Open source under the BSD License.
10 *
11 * Copyright 짤 2008 George McGinley Smith
12 * All rights reserved.
13 *
14 * Redistribution and use in source and binary forms, with or without modification,
15 * are permitted provided that the following conditions are met:
16 *
17 * Redistributions of source code must retain the above copyright notice, this list of
18 * conditions and the following disclaimer.
19 * Redistributions in binary form must reproduce the above copyright notice, this list
20 * of conditions and the following disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * Neither the name of the author nor the names of contributors may be used to endorse
24 * or promote products derived from this software without specific prior written permission.
25 *
26 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
27 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
28 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
30 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
31 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
32 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
34 * OF THE POSSIBILITY OF SUCH DAMAGE.
35 *
36*/
37
38// t: current time, b: begInnIng value, c: change In value, d: duration
39jQuery.easing['jswing'] = jQuery.easing['swing'];
40
41jQuery.extend( jQuery.easing,
42{
43	def: 'easeOutQuad',
44	swing: function (x, t, b, c, d) {
45		//alert(jQuery.easing.default);
46		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
47	},
48	easeInQuad: function (x, t, b, c, d) {
49		return c*(t/=d)*t + b;
50	},
51	easeOutQuad: function (x, t, b, c, d) {
52		return -c *(t/=d)*(t-2) + b;
53	},
54	easeInOutQuad: function (x, t, b, c, d) {
55		if ((t/=d/2) < 1) return c/2*t*t + b;
56		return -c/2 * ((--t)*(t-2) - 1) + b;
57	},
58	easeInCubic: function (x, t, b, c, d) {
59		return c*(t/=d)*t*t + b;
60	},
61	easeOutCubic: function (x, t, b, c, d) {
62		return c*((t=t/d-1)*t*t + 1) + b;
63	},
64	easeInOutCubic: function (x, t, b, c, d) {
65		if ((t/=d/2) < 1) return c/2*t*t*t + b;
66		return c/2*((t-=2)*t*t + 2) + b;
67	},
68	easeInQuart: function (x, t, b, c, d) {
69		return c*(t/=d)*t*t*t + b;
70	},
71	easeOutQuart: function (x, t, b, c, d) {
72		return -c * ((t=t/d-1)*t*t*t - 1) + b;
73	},
74	easeInOutQuart: function (x, t, b, c, d) {
75		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
76		return -c/2 * ((t-=2)*t*t*t - 2) + b;
77	},
78	easeInQuint: function (x, t, b, c, d) {
79		return c*(t/=d)*t*t*t*t + b;
80	},
81	easeOutQuint: function (x, t, b, c, d) {
82		return c*((t=t/d-1)*t*t*t*t + 1) + b;
83	},
84	easeInOutQuint: function (x, t, b, c, d) {
85		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
86		return c/2*((t-=2)*t*t*t*t + 2) + b;
87	},
88	easeInSine: function (x, t, b, c, d) {
89		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
90	},
91	easeOutSine: function (x, t, b, c, d) {
92		return c * Math.sin(t/d * (Math.PI/2)) + b;
93	},
94	easeInOutSine: function (x, t, b, c, d) {
95		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
96	},
97	easeInExpo: function (x, t, b, c, d) {
98		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
99	},
100	easeOutExpo: function (x, t, b, c, d) {
101		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
102	},
103	easeInOutExpo: function (x, t, b, c, d) {
104		if (t==0) return b;
105		if (t==d) return b+c;
106		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
107		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
108	},
109	easeInCirc: function (x, t, b, c, d) {
110		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
111	},
112	easeOutCirc: function (x, t, b, c, d) {
113		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
114	},
115	easeInOutCirc: function (x, t, b, c, d) {
116		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
117		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
118	},
119	easeInElastic: function (x, t, b, c, d) {
120		var s=1.70158;var p=0;var a=c;
121		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
122		if (a < Math.abs(c)) { a=c; var s=p/4; }
123		else var s = p/(2*Math.PI) * Math.asin (c/a);
124		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
125	},
126	easeOutElastic: function (x, t, b, c, d) {
127		var s=1.70158;var p=0;var a=c;
128		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
129		if (a < Math.abs(c)) { a=c; var s=p/4; }
130		else var s = p/(2*Math.PI) * Math.asin (c/a);
131		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
132	},
133	easeInOutElastic: function (x, t, b, c, d) {
134		var s=1.70158;var p=0;var a=c;
135		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
136		if (a < Math.abs(c)) { a=c; var s=p/4; }
137		else var s = p/(2*Math.PI) * Math.asin (c/a);
138		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
139		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
140	},
141	easeInBack: function (x, t, b, c, d, s) {
142		if (s == undefined) s = 1.70158;
143		return c*(t/=d)*t*((s+1)*t - s) + b;
144	},
145	easeOutBack: function (x, t, b, c, d, s) {
146		if (s == undefined) s = 1.70158;
147		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
148	},
149	easeInOutBack: function (x, t, b, c, d, s) {
150		if (s == undefined) s = 1.70158;
151		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
152		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
153	},
154	easeInBounce: function (x, t, b, c, d) {
155		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
156	},
157	easeOutBounce: function (x, t, b, c, d) {
158		if ((t/=d) < (1/2.75)) {
159			return c*(7.5625*t*t) + b;
160		} else if (t < (2/2.75)) {
161			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
162		} else if (t < (2.5/2.75)) {
163			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
164		} else {
165			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
166		}
167	},
168	easeInOutBounce: function (x, t, b, c, d) {
169		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
170		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
171	}
172});
173
174/*
175 *
176 * TERMS OF USE - EASING EQUATIONS
177 *
178 * Open source under the BSD License.
179 *
180 * Copyright 짤 2001 Robert Penner
181 * All rights reserved.
182 *
183 * Redistribution and use in source and binary forms, with or without modification,
184 * are permitted provided that the following conditions are met:
185 *
186 * Redistributions of source code must retain the above copyright notice, this list of
187 * conditions and the following disclaimer.
188 * Redistributions in binary form must reproduce the above copyright notice, this list
189 * of conditions and the following disclaimer in the documentation and/or other materials
190 * provided with the distribution.
191 *
192 * Neither the name of the author nor the names of contributors may be used to endorse
193 * or promote products derived from this software without specific prior written permission.
194 *
195 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
196 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
197 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
198 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
199 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
200 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
201 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
202 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
203 * OF THE POSSIBILITY OF SUCH DAMAGE.
204 *
205 */
206/**
207* 카테고리자동생성
208* 제작 : 웹퍼블릭(http://webpublic.co.kr)
209* 버전 : 2.4
210* 최종업데이트 : 2018.06.08
211* 디자인퍼블릭에서 개발된 플러그인으로 무단 복제/사용 하실 수 없습니다
212* 주석제거 시 플러그인을 사용하실 수 없습니다.
213*/
214var _0x615b=["\x23\x63\x61\x74\x65\x67\x6F\x72\x79","\x2E\x63\x61\x74\x65\x2D\x6C\x69\x73\x74","\x65\x78\x74\x65\x6E\x64","\x69\x73\x4D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75","\x63\x61\x74\x65\x4D\x65\x6E\x75\x54\x61\x72\x67\x65\x74","\x69\x73\x4D\x61\x6B\x65\x41\x6C\x6C\x43\x61\x74\x65","\x61\x6C\x6C\x43\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x2F\x65\x78\x65\x63\x2F\x66\x72\x6F\x6E\x74\x2F\x50\x72\x6F\x64\x75\x63\x74\x2F\x53\x75\x62\x43\x61\x74\x65\x67\x6F\x72\x79","\x6A\x73\x6F\x6E","\x6A\x64\x61\x74\x61","\x61\x6A\x61\x78","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75\x48\x74\x6D\x6C","\x6D\x61\x6B\x65\x41\x6C\x6C\x43\x61\x74\x65\x48\x74\x6D\x6C","\x68\x69\x64\x65\x5F\x63\x61\x74\x65\x5F\x6E\x6F","\x64\x61\x74\x61\x2D\x70\x61\x72\x61\x6D","\x61\x74\x74\x72","\x63\x61\x74\x65\x5F\x6E\x6F","\x67\x65\x74\x51\x75\x65\x72\x79\x53\x74\x72\x69\x6E\x67\x55\x72\x6C","\x6D\x61\x6B\x65\x43\x61\x74\x65\x4D\x65\x6E\x75\x43\x68\x69\x6C\x64\x4C\x69\x73\x74","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x27\x63\x6F\x6E\x74\x73\x27\x3E","\x3C\x2F\x64\x69\x76\x3E","\x61\x70\x70\x65\x6E\x64","\x2E\x62\x6F\x78","\x66\x69\x6E\x64","\x6
2145\x61\x63\x68","\x64\x6C","\x64\x61\x74\x61\x2D\x6D\x61\x6E\x75\x61\x6C","\x6F\x6E","\x72\x65\x6D\x6F\x76\x65","\x2E\x73\x75\x62\x2D\x63\x61\x74\x65\x67\x6F\x72\x79","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x73\x75\x62\x2D\x6C\x65\x66\x74\x22\x3E","\x70\x72\x65\x70\x65\x6E\x64","\x6C\x69","\x63\x68\x69\x6C\x64\x72\x65\x6E","","\x69\x73\x43\x68\x69\x6C\x64\x72\x65\x6E\x43\x61\x74\x65","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x32\x20\x73\x75\x62\x30\x32\x5F","\x27\x3E","\x70\x61\x72\x65\x6E\x74\x5F\x63\x61\x74\x65\x5F\x6E\x6F","\x61\x72\x72\x6F\x77","\x3C\x6C\x69\x20\x63\x6C\x61\x73\x73\x3D\x22\x63\x61\x74\x65\x5F\x6E\x6F\x5F","\x20","\x22\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x2F","\x64\x65\x73\x69\x67\x6E\x5F\x70\x61\x67\x65\x5F\x75\x72\x6C","\x3F\x63\x61\x74\x65\x5F\x6E\x6F\x3D","\x22\x3E","\x6E\x61\x6D\x65","\x3C\x2F\x61\x3E","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x33\x20\x73\x75\x62\x30\x33\x5F","\x3C\x75\x6C\x20\x63\x6C\x61\x73\x73\x3D\x27\x73\x75\x62\x30\x34\x20\x73\x75\x62\x30\x34\x5F","\x3C\x2F\x61\x3E\x3C\x2F\x6C\x69\x3E","\x3C\x2F\x75\x6C\x3E","\x3C\x2F\x6C\x69\x3E","\x3F","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x26","\x73\x70\x6C\x69\x74","\x6C\x65\x6E\x67\x74\x68","\x3D","\x70\x61\x67\x65"];var _self=null;var makeCateList=function(_0xaf5ex3){_self= this;var _0xaf5ex4={isMakeCateMenu:true,cateMenuTarget:_0x615b[0],isMakeAllCate:true,allCateTarget:_0x615b[1]};var _0xaf5ex5=jQuery[_0x615b[2]](_0xaf5ex4,_0xaf5ex3);this[_0x615b[3]]= _0xaf5ex5[_0x615b[3]];this[_0x615b[4]]= _0xaf5ex5[_0x615b[4]];this[_0x615b[5]]= _0xaf5ex5[_0x615b[5]];this[_0x615b[6]]= _0xaf5ex5[_0x615b[6]];$[_0x615b[10]]({url:_0x615b[7],cache:false,dataType:_0x615b[8],timeout:10000,async:false,beforeSend:function(){},error:function(_0xaf5ex6,_0xaf5ex7,_0xaf5ex8){return},success:function(_0xaf5ex9){_self[_0x615b[9]]= _0xaf5ex9}});this[_0x615b[11]]()};makeCateList[_0x615b[12]][_0x615b[11]]= function(){if(_self[_0x615b[3]]){this[_0x615b[13]]()};if(_self[_0x615b[5]]){this[_0x615b[14]]()}};makeCateList[_0x615b[12]][_0x615b[14]]= function(){var _0xaf5exa=this[_0x615b[9]];var _0xaf5exb=this[_0x615b[15]];var _0xaf5exc;$(this[_0x615b[6]])[_0x615b[25]](_0x615b[27])[_0x615b[26]](function(_0xaf5exd){var _0xaf5exe=$(this);var _0xaf5exf=_self[_0x615b[19]](_0xaf5exe[_0x615b[17]](_0x615b[16]),_0x615b[18]);if(!_0xaf5exf){return};_0xaf5exc= _self[_0x615b[20]](_0xaf5exf);if(!_0xaf5exc){return};var _0xaf5ex10=_0x615b[21]+ _0xaf5exc+ _0x615b[22];_0xaf5exe[_0x615b[25]](_0x615b[24])[_0x615b[23]](_0xaf5ex10)})};makeCateList[_0x615b[12]][_0x615b[13]]= function(){var _0xaf5exa=this[_0x615b[9]];var _0xaf5exb=this[_0x615b[15]];var _0xaf5exc;$(this[_0x615b[4]])[_0x615b[35]](_0x615b[34])[_0x615b[26]](function(_0xaf5exd){var _0xaf5exe=$(this);var _0xaf5exf=_self[_0x615b[19]](_0xaf5exe[_0x615b[17]](_0x615b[16]),_0x615b[18]);if(!_0xaf5exf){return};_0xaf5exc= _self[_0x615b[20]](_0xaf5exf);var _0xaf5ex11=_0xaf5exe[_0x615b[17]](_0x615b[28]);if(!_0xaf5exc&& _0xaf5ex11!= _0x615b[29]){_0xaf5exe[_0x615b[25]](_0x615b[31])[_0x615b[30]]();return};_0xaf5exe[_0x615b[25]](_0x615b[31])[_0x615b[33]](_0x615b[32]+ _0xaf5exc+ _0x615b[22])})};makeCateList[_0x615b[12]][_0x615b[20]]= function(_0xaf5ex12){var _0xaf5ex13=_0x615b[36];var _0xaf5exa=_self[_0x615b[9]];if(_self[_0x615b[37]](_0xaf5ex12)){_0xaf5ex13+= _0x615b[38]+ _0xaf5ex12+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex14){if(_0xaf5exa[_0xaf5ex14][_0x615b[40]]== _0xaf5ex12){var _0xaf5ex15=false;var _0xaf5ex16=_0x615b[36];if(_self[_0x615b[37]](_0xaf5exa[_0xaf5ex14][_0x615b[18]])){_0xaf5ex15= true;_0xaf5ex16= _0x615b[41]};_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[43]+ _0xaf5ex16+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex14][_0x615b[48]]+ _0x615b[49];if(_0xaf5ex15){_0xaf5ex13+= _0x615b[50]+ _0xaf5exa[_0xaf5ex14][_0x615b[18]]+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex17){if(_0xaf5exa[_0xaf5ex17][_0x615b[40]]== _0xaf5exa[_0xaf5ex14][_0x615b[18]]){var _0xaf5ex18=false;var _0xaf5ex19=_0x615b[36];if(_self[_0x615b[37]](_0xaf5exa[_0xaf5ex17][_0x615b[18]])){_0xaf5ex18= true;_0xaf5ex19= _0x615b[41]};_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[43]+ _0xaf5ex19+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex17][_0x615b[48]]+ _0x615b[49];if(_0xaf5ex18){_0xaf5ex13+= _0x615b[51]+ _0xaf5exa[_0xaf5ex17][_0x615b[18]]+ _0x615b[39];$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex1a){if(_0xaf5exa[_0xaf5ex1a][_0x615b[40]]== _0xaf5exa[_0xaf5ex17][_0x615b[18]]){_0xaf5ex13+= _0x615b[42]+ _0xaf5exa[_0xaf5ex1a][_0x615b[18]]+ _0x615b[44]+ _0xaf5exa[_0xaf5ex14][_0x615b[45]]+ _0x615b[46]+ _0xaf5exa[_0xaf5ex1a][_0x615b[18]]+ _0x615b[47]+ _0xaf5exa[_0xaf5ex1a][_0x615b[48]]+ _0x615b[52]}});_0xaf5ex13+= _0x615b[53]};_0xaf5ex13+= _0x615b[54]}});_0xaf5ex13+= _0x615b[53]};_0xaf5ex13+= _0x615b[54]}});_0xaf5ex13+= _0x615b[53];return _0xaf5ex13}};makeCateList[_0x615b[12]][_0x615b[37]]= function(_0xaf5ex1b){var _0xaf5exa=_self[_0x615b[9]];var _0xaf5ex1c=false;$(_0xaf5exa)[_0x615b[26]](function(_0xaf5ex14){if(_0xaf5exa[_0xaf5ex14][_0x615b[40]]== _0xaf5ex1b){_0xaf5ex1c= true}});return _0xaf5ex1c};makeCateList[_0x615b[12]][_0x615b[19]]= function(_0xaf5ex1d,_0xaf5ex1e){if(!_0xaf5ex1d){return};var _0xaf5ex1f=_0xaf5ex1d[_0x615b[57]](_0xaf5ex1d[_0x615b[56]](_0x615b[55])+ 1);var _0xaf5ex20={};if(_0xaf5ex1f){var _0xaf5ex21=_0xaf5ex1f[_0x615b[59]](_0x615b[58]);var _0xaf5ex22=[];for(var _0xaf5ex14=0;_0xaf5ex14< _0xaf5ex21[_0x615b[60]];_0xaf5ex14++){_0xaf5ex22= _0xaf5ex21[_0xaf5ex14][_0x615b[59]](_0x615b[61]);_0xaf5ex20[_0xaf5ex22[0]]= _0xaf5ex22[1]}};_0xaf5ex20[_0x615b[62]]= _0xaf5ex20[_0x615b[62]]?_0xaf5ex20[_0x615b[62]]:1;return _0xaf5ex1e?_0xaf5ex20[_0xaf5ex1e]:_0xaf5ex20};
215var wpMakeCate = new makeCateList({cateMenuTarget:'#category > ul', isMakeAllCate : false});
216
217
218    if (!String.prototype.includes) {
219        String.prototype.includes = function(search, start) {
220            'use strict';
221
222            if (search instanceof RegExp) {
223                throw TypeError('first argument must not be a RegExp');
224            }
225            if (start === undefined) { start = 0; }
226            return this.indexOf(search, start) !== -1;
227        };
228    }
229/**
230 * WEBPULIC COMMON SCRIPT
231*/
232
233$(window).scroll(function(){
234	var scrollTop = parseInt($(this).scrollTop());
235
236	if (!$('#prdDetail').length > 0)
237	{
238		var innerTop = $('#header .cate-wrap').offset().top;
239		if (scrollTop > innerTop){
240			if (!$('#header').hasClass('fixed')) {
241				$('#header').addClass('fixed');
242				var logoWidth = $('#header .cate-wrap .logo-img img').width();
243				$('#header .cate-wrap .logo-img').css('marginRight',50);
244				$('#header .cate-wrap .logo-img').animate({
245					width:logoWidth,
246					}, 300,
247				function(){
248					$('#header .cate-wrap .logo-img').css('visibility','visible').animate({
249						opacity:1,
250					}, 600);
251				});
252			}
253		}else{
254			if ($('#header').hasClass('fixed')) {
255				$('#header').removeClass('fixed');
256				$('#header .cate-wrap .logo-img').stop().css({
257					width : 0,
258					marginRight : 0,
259					opacity:0,
260					visibility:'hidden',
261				});
262			}
263		}
264	}
265});
266
267$(document).ready(function(){
268
269	copyright();
270    
271    // 검색창 자동완성 끄기
272    $('#keyword').attr('autocomplete','off');
273
274	// 리뷰 그리드 설정
275	if (isReviewGridPage()){
276		if (readCookie('gridTypePC')){
277			$('.gridType dd').each(function(){
278				$(this).removeClass('selected');
279			});
280			$('.gridType dd').each(function(){
281				if ($(this).hasClass('g'+readCookie('gridTypePC'))){
282					$(this).addClass('selected');
283				}
284			});
285
286			var target = $('.gridType').data('target');
287			var grids = ['grid0', 'grid1', 'grid2', 'grid3', 'grid4'];
288			$(target).removeClass(grids.join(' '));
289			$(target).addClass('grid'+readCookie('gridTypePC'));
290		}
291	}
292
293	// 카테고리 경로 재설정
294	$('.cate-override a').each(function(){
295		var _self = $(this);
296		var cateNo = getQueryStringUrl('cate_no',$(this).attr('href'));
297
298		if (cateNo){
299			$.each(setLink,function(i,v){
300				if (parseInt(cateNo) == parseInt(i)){
301					_self.attr('href',v);
302				}
303			});
304		}
305	});
306
307	// 리뷰 경로 재설정
308	$('.boardlink a').each(function(){
309		var href = $(this).attr('href');
310		if (href.indexOf('?') > -1){
311			if (getQueryStringUrl('board_no',href) == '4'){
312				$(this).attr('href', href.replace('/product/', '/review/'));
313			}
314		}else{
315
316		}
317	})
318});
319
320/************************************************************************************************************/
321
322function copyright() {
323	if($("body").size) {
324		if($("body").attr("id") == "popup") { return ; }
325		style = 'padding:5px 10px; font-family:Verdana; font-size:11px; background:#eee; color: #555; border-radius:5px;font-style:italic';
326		console.log('%c ** DESIGNED BY WEBPUBLIC (https://webpublic.co.kr) **', style);
327	}
328}
329
330function getQueryStringUrl(paramName, url) {
331	if (url){
332		var sURL = url;
333	}else{
334		var sURL = window.document.URL.toString();
335	}
336
337	if (sURL.indexOf("?") > 0)
338	{
339		var arrParams = sURL.split("?");
340		var arrURLParams = arrParams[1].split("&");
341		var arrParamNames = new Array(arrURLParams.length);
342		var arrParamValues = new Array(arrURLParams.length);
343		var i = 0;
344
345		for (i=0;i<arrURLParams.length;i++)
346		{
347			var sParam =  arrURLParams[i].split("=");
348			arrParamNames[i] = sParam[0];
349			if (sParam[1] != "")
350				arrParamValues[i] = unescape(sParam[1]);
351			else
352				arrParamValues[i] = "No Value";
353		}
354
355		for (i=0;i<arrURLParams.length;i++)
356		{
357			if(arrParamNames[i] == paramName){
358				return arrParamValues[i];
359			 }
360		}
361
362		return null;
363	}
364};
365
366function createCookie(name, value, days) {
367	var expires;
368
369	if (days) {
370		var date = new Date();
371		date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
372		expires = "; expires=" + date.toGMTString();
373	} else {
374		expires = "";
375	}
376	document.cookie = escape(name) + "=" + escape(value) + expires + "; path=/";
377}
378
379function readCookie(name) {
380	var nameEQ = escape(name) + "=";
381	var ca = document.cookie.split(';');
382	for (var i = 0; i < ca.length; i++) {
383		var c = ca[i];
384		while (c.charAt(0) === ' ') c = c.substring(1, c.length);
385		if (c.indexOf(nameEQ) === 0) return unescape(c.substring(nameEQ.length, c.length));
386	}
387	return null;
388}
389
390function eraseCookie(name) {
391	createCookie(name, "", -1);
392}
393
394// 할인율
395var discountRate = function(t, name){
396	if (!t) t = '';
397	if (!name) name = '.discount_rate';
398	$(t + ' .custom').each(function(){
399		var price = $(this).text().replace(/[^0-9]/g,'');
400		price = parseFloat(price);
401
402		if (price > 0) $(this).show();
403	});
404
405	$(t + ' ' + name).each(function(){
406		var custom_price = parseInt($(this).attr('data-prod-custom').replace(/[^0-9]/g,''));
407		var prod_price = parseInt($(this).attr('data-prod-price').replace(/[^0-9]/g,''));
408
409		var rate = 0;
410		if (!isNaN(custom_price) && !isNaN(prod_price)) {
411			rate = Math.round((custom_price - prod_price) / custom_price * 100);
412		}
413		$(this).text(rate + '');
414
415		var $ds = $(this);
416
417		$(this).parent().find('.spec li').each(function(){
418			if ( $(this).find('.title span').text().trim() == '판매가' ){
419				$(this).append($ds);
420			}
421		});
422		if (rate <= 0 || isNaN(rate)){
423			$(this).hide();
424		}else{
425			$(this).show();
426		}
427	});
428}
429
430function pageScroll(d){
431	if($('html, body').is(':animated')){return};
432
433	if (d == 'up') {
434		$('html, body').stop().animate({scrollTop:0}, 'slow');
435	} else if (d == 'down') {
436		var btmTop = $(document).height() - $(window).height();
437		$('html, body').stop().animate({scrollTop:btmTop}, 'slow');
438	}
439}
440// select wrapping
441//$('select').wrap('<div class="selectbox"></div>');
442
443
444// 상세페이지, 리뷰목록 체크
445function isReviewGridPage(){
446	if ($('meta[name="path_role"]').attr('content') == 'PRODUCT_DETAIL'
447		|| location.pathname.indexOf('/review/list') > -1){
448		return true;
449	}else{
450		return false;
451	}
452}
453
454
455jQuery11(document).on('click','.gridType dd a',function(){
456    var li = $(this).parent();
457	var item = li.siblings();
458	var target = $(this).closest('dl').data('target');
459
460	if (target){
461		if ($(target).length == 0) return;
462	}else{
463		return;
464	}
465
466	$(item).each(function(){
467		$(this).removeClass('selected');
468	});
469
470	li.addClass('selected');
471
472	var $prdList = $(target);
473	var grids = ['grid0', 'grid1', 'grid2', 'grid3', 'grid4'];
474
475	$prdList.removeClass(grids.join(' '));
476
477	if (li.hasClass('g0')){
478		$prdList.addClass(grids[0]);
479        if (isReviewGridPage()) createCookie('gridTypePC', 0);
480	}
481
482	if (li.hasClass('g1')){
483		$prdList.addClass(grids[1]);
484        if (isReviewGridPage()) createCookie('gridTypePC', 1);
485	}
486
487	if (li.hasClass('g2')){
488		$prdList.addClass(grids[2]);
489        if (isReviewGridPage()) createCookie('gridTypePC', 2);
490	}
491
492	if (li.hasClass('g3')){
493		$prdList.addClass(grids[3]);
494        if (isReviewGridPage()) createCookie('gridTypePC', 3);
495	}
496
497	if (li.hasClass('g4')){
498		$prdList.addClass(grids[4]);
499        if (isReviewGridPage()) createCookie('gridTypePC', 4);
500	}
501});
502
503
504/**
505* 상단 배너 플러그인
506* 제작 : 웹퍼블릭(http://webpublic.co.kr)
507* 버전 : 2.0
508* 최종업데이트 : 2020.10.20
509* 디자인퍼블릭에서 개발된 플러그인으로 무단 복제/사용 하실 수 없습니다
510* 주석제거 시 플러그인을 사용하실 수 없습니다.
511*/
512$(document).ready(function(){
513    var tbanner = new Swiper('#tbanner',{
514        direction: 'vertical',
515        speed: 500,
516        autoplay : {
517            delay:3000,
518            disableOnInteraction: false,
519        },
520        loop:true,
521        grabCursor: true,
522    });
523});
524
525$(document).ready(function(){
526    // 사이드 버튼 스크롤에 방향에 따른 show / hide
527    var hideLimit = 150;
528
529    $(window).scroll(function(){
530        hasScrolled();
531    });
532
533    function hasScrolled() {
534        var st = $(window).scrollTop();
535        if (st > hideLimit){
536            $('.side_bnr_wrap').addClass('active');
537        } else {
538            $('.side_bnr_wrap').removeClass('active');
539        }
540    }
541
542    hasScrolled();
543});
544jQuery11(document).on('click', '.animate-not-support .close-msg', function(e){
545    e.preventDefault();
546    $('.animate-not-support').hide();
547});
548$(document).ready(function(){
549    setTimeout(function(){
550        $('#wrapper').removeClass('loading').css({
551        	visibility:'visible',
552            opacity:1,
553        });
554        $('.mul13').addClass('inactive');
555    },400);
556    
557    jQuery11(document).on('transitionend','.mul13',function(){
558        jQuery11(this).remove();
559    });
560});
561/**
562 * 움직이는 배너 Jquery Plug-in
563 * @author  cafe24
564 */
565
566(function($){
567
568    $.fn.floatBanner = function(options) {
569        options = $.extend({}, $.fn.floatBanner.defaults , options);
570
571        return this.each(function() {
572            var aPosition = $(this).position();
573            var jbOffset = $(this).offset();
574            var node = this;
575
576            $(window).scroll(function() {
577                var _top = $(document).scrollTop();
578                _top = (aPosition.top < _top) ? _top : aPosition.top;
579
580                setTimeout(function () {
581                    var newinit = $(document).scrollTop();
582
583                    if ( newinit > jbOffset.top ) {
584                        _top -= jbOffset.top;
585                        var container_height = $("#wrap").height();
586                        var quick_height = $(node).height();
587                        var cul = container_height - quick_height;
588                        if(_top > cul){
589                            _top = cul;
590                        }
591                    }else {
592                        _top = 0;
593                    }
594
595                    $(node).stop().animate({top: _top}, options.animate);
596                }, options.delay);
597            });
598        });
599    };
600
601    $.fn.floatBanner.defaults = {
602        'animate'  : 500,
603        'delay'    : 500
604    };
605
606})(jQuery);
607
608/**
609 * 문서 구동후 시작
610 */
611$(document).ready(function(){
612    $('#banner:visible, #quick:visible').floatBanner();
613
614    //placeholder
615    $(".ePlaceholder input, .ePlaceholder textarea").each(function(i){
616        var placeholderName = $(this).parents().attr('title');
617        $(this).attr("placeholder", placeholderName);
618    });
619    /* placeholder ie8, ie9 */
620    $.fn.extend({
621        placeholder : function() {
622            //IE 8 버전에는 hasPlaceholderSupport() 값이 false를 리턴
623           if (hasPlaceholderSupport() === true) {
624                return this;
625            }
626            //hasPlaceholderSupport() 값이 false 일 경우 아래 코드를 실행
627            return this.each(function(){
628                var findThis = $(this);
629                var sPlaceholder = findThis.attr('placeholder');
630                if ( ! sPlaceholder) {
631                   return;
632                }
633                findThis.wrap('<label class="ePlaceholder" />');
634                var sDisplayPlaceHolder = $(this).val() ? ' style="display:none;"' : '';
635                findThis.before('<span' + sDisplayPlaceHolder + '>' + sPlaceholder + '</span>');
636                this.onpropertychange = function(e){
637                    e = event || e;
638                    if (e.propertyName == 'value') {
639                        $(this).trigger('focusout');
640                    }
641                };
642                //공통 class
643                var agent = navigator.userAgent.toLowerCase();
644                if (agent.indexOf("msie") != -1) {
645                    $(".ePlaceholder").css({"position":"relative"});
646                    $(".ePlaceholder span").css({"position":"absolute", "padding":"0 4px", "color":"#878787"});
647                    $(".ePlaceholder label").css({"padding":"0"});
648                }
649            });
650        }
651    });
652
653    $(':input[placeholder]').placeholder(); //placeholder() 함수를 호출
654
655    //클릭하면 placeholder 숨김
656    $('body').delegate('.ePlaceholder span', 'click', function(){
657        $(this).hide();
658    });
659
660    //input창 포커스 인 일때 placeholder 숨김
661    $('body').delegate('.ePlaceholder :input', 'focusin', function(){
662        $(this).prev('span').hide();
663    });
664
665    //input창 포커스 아웃 일때 value 가 true 이면 숨김, false 이면 보여짐
666    $('body').delegate('.ePlaceholder :input', 'focusout', function(){
667        if (this.value) {
668            $(this).prev('span').hide();
669        } else {
670            $(this).prev('span').show();
671        }
672    });
673
674    //input에 placeholder가 지원이 되면 true를 안되면 false를 리턴값으로 던져줌
675    function hasPlaceholderSupport() {
676        if ('placeholder' in document.createElement('input')) {
677            return true;
678        } else {
679            return false;
680        }
681    }
682});
683
684/**
685 *  썸네일 이미지 엑박일경우 기본값 설정
686 */
687$(window).load(function() {
688    $("img.thumb,img.ThumbImage,img.BigImage").each(function($i,$item){
689        var $img = new Image();
690        $img.onerror = function () {
691                $item.src="//img.echosting.cafe24.com/thumb/img_product_big.gif";
692        }
693        $img.src = this.src;
694    });
695});
696
697/**
698 *  tooltip
699 */
700$('.eTooltip').each(function(i){
701    $(this).find('.btnClose').attr('tabIndex','-1');
702});
703//tooltip input focus
704$('.eTooltip').find('input').focus(function() {
705    var targetName = returnTagetName(this);
706    targetName.siblings('.ec-base-tooltip').show();
707});
708$('.eTooltip').find('input').focusout(function() {
709    var targetName = returnTagetName(this);
710    targetName.siblings('.ec-base-tooltip').hide();
711});
712function returnTagetName(_this){
713    var ePlacename = $(_this).parent().attr("class");
714    var targetName;
715    if(ePlacename == "ePlaceholder"){ //ePlaceholder 대응
716        targetName = $(_this).parents();
717    }else{
718        targetName = $(_this);
719    }
720    return targetName;
721}
722
723/**
724 *  eTab
725 */
726 $("body").delegate(".eTab a", "click", function(e){
727    // 클릭한 li 에 selected 클래스 추가, 기존 li에 있는 selected 클래스는 삭제.
728    var _li = $(this).parent("li").addClass("selected").siblings().removeClass("selected"),
729    _target = $(this).attr("href"),
730    _siblings = $(_target).attr("class"),
731    _arr = _siblings.split(" "),
732    _classSiblings = "."+_arr[0];
733
734    //클릭한 탭에 해당하는 요소는 활성화, 기존 요소는 비활성화 함.
735    $(_target).show().siblings(_classSiblings).hide();
736
737
738    //preventDefault 는 a 태그 처럼 클릭 이벤트 외에 별도의 브라우저 행동을 막기 위해 사용됨.
739    e.preventDefault();
740});
741
742
743
744//window popup script
745function winPop(url) {
746    window.open(url, "popup", "width=300,height=300,left=10,top=10,resizable=no,scrollbars=no");
747}
748/**
749 * document.location.href split
750 * return array Param
751 */
752function getQueryString(sKey)
753{
754    var sQueryString = document.location.search.substring(1);
755    var aParam       = {};
756
757    if (sQueryString) {
758        var aFields = sQueryString.split("&");
759        var aField  = [];
760        for (var i=0; i<aFields.length; i++) {
761            aField = aFields[i].split('=');
762            aParam[aField[0]] = aField[1];
763        }
764    }
765
766    aParam.page = aParam.page ? aParam.page : 1;
767    return sKey ? aParam[sKey] : aParam;
768};
769
770$(document).ready(function(){
771    // tab
772    $.eTab = function(ul){
773        $(ul).find('a').click(function(){
774            var _li = $(this).parent('li').addClass('selected').siblings().removeClass('selected'),
775                _target = $(this).attr('href'),
776                _siblings = '.' + $(_target).attr('class');
777            $(_target).show().siblings(_siblings).hide();
778            return false
779        });
780    }
781    if ( window.call_eTab ) {
782        call_eTab();
783    };
784});
785(function($){
786$.fn.extend({
787    center: function() {
788        this.each(function() {
789            var
790                $this = $(this),
791                $w = $(window);
792            $this.css({
793                position: "absolute",
794                top: ~~(($w.height() - $this.outerHeight()) / 2) + $w.scrollTop() + "px",
795                left: ~~(($w.width() - $this.outerWidth()) / 2) + $w.scrollLeft() + "px"
796            });
797        });
798        return this;
799    }
800});
801$(function() {
802    var $container = function(){/*
803<div id="modalContainer">
804    <iframe id="modalContent" scroll="0" scrolling="no" frameBorder="0"></iframe>
805</div>');
806*/}.toString().slice(14,-3);
807    $('body')
808    .append($('<div id="modalBackpanel"></div>'))
809    .append($($container));
810    function closeModal () {
811        $('#modalContainer').hide();
812        $('#modalBackpanel').hide();
813    }
814    $('#modalBackpanel').click(closeModal);
815    zoom = function ($piProductNo, $piCategoryNo, $piDisplayGroup) {
816        var $url = '/product/image_zoom.html?product_no=' + $piProductNo + '&cate_no=' + $piCategoryNo + '&display_group=' + $piDisplayGroup;
817        $('#modalContent').attr('src', $url);
818        $('#modalContent').bind("load",function(){
819            $(".header .close",this.contentWindow.document.body).bind("click", closeModal);
820        });
821        $('#modalBackpanel').css({width:$("body").width(),height:$("body").height(),opacity:.4}).show();
822        $('#modalContainer').center().show();
823    }
824});
825})(jQuery);
826jQuery11(function(){
827	// MAIN SLIDER
828	var bxslider1 = jQuery11('#bxslider1').bxSlider({
829		onSliderLoad: function(){
830			setTimeout(function(){
831				$('#bxslider1 li:eq(0)').addClass('wp-completely');
832			},800);
833		},
834		mode: 'fade',
835		auto: true,
836		autoHover: false,
837		speed: 500,
838		pause : 5000,
839		adaptiveHeight: true,
840		pager:true,
841		onSlideBefore : function(slideEl, oldIndex, newIndex){
842			$(slideEl[0]).removeClass('wp-completely');
843		},
844		onSlideAfter : function(slideEl, oldIndex, newIndex){
845			$(slideEl[0]).addClass('wp-completely');
846		}
847	});
848
849	var best_swiper = new Swiper('.prd-best .swiper-container', {
850		on: {
851			init: function () {
852				$('.prd-best .section-title').append($(this.$el).find('h3').removeClass('displaynone'));
853			},
854		},
855		slidesPerView: 3,
856		spaceBetween: 0,
857		scrollbar: {
858			el: '.prd-best .swiper-scrollbar',
859			hide: false,
860            draggable : true,
861		},
862	});
863
864
865    jQuery11('#MainBnr300 .slider').on('init', function(event, slick, direction){
866        $(slick.$slides[0]).addClass('slick-selected');
867    }).slick({
868        centerMode: true,
869        variableWidth: true,
870        arrows: true,
871        autoplay: 1,
872        dots: true,
873        infinite: true,
874        draggable: true,
875        pauseOnDotsHover: true,
876        adaptiveHeight: true,
877        speed: 300,
878        autoplaySpeed: 4000,
879        slidesToShow: 1,
880    });
881
882    jQuery11('#MainBnr300 .slider').on('beforeChange', function(event, slick, prevSlide, nextSlide){
883        $('#MainBnr300 .slider li').removeClass('slick-selected');
884        if (prevSlide > nextSlide){
885        	$(slick.$slides[prevSlide]).next('li').addClass('slick-selected');
886        }else if((slick.$slides.length - 1) == nextSlide && prevSlide == 0){
887        	$(slick.$slides[prevSlide]).prev('li').addClass('slick-selected');
888        }else{
889        	$(slick.$slides[nextSlide]).addClass('slick-active');
890        }
891    });
892
893    jQuery11('#MainBnr300 .slider').on('afterChange', function(event, slick, currentSlide){
894        $('#MainBnr300 .slider li').removeClass('slick-selected');
895    });
896
897    jQuery11('#MainBnr300 .slider').on('init', function(event, slick){
898        $(slick.$slides[0]).addClass('slick-selected');
899    });
900
901    var review_swiper = new Swiper('.main-review .swiper-container', {
902        on: {
903            init: function () {},
904        },
905        slidesPerView: 3.5,
906        spaceBetween: 0,
907        scrollbar: {
908            el: '.main-review .swiper-scrollbar',
909            hide: false,
910            draggable :true,
911        },
912    });
913
914   var notice_swiper = new Swiper('.main-notice .swiper-container', {
915        on: {
916            init: function () {},
917        },
918		//direction: 'vertical',
919		speed : 800,
920		autoplay : {
921			delay:4000,
922		},
923		loop:true,
924		slidesPerView: 1,
925		navigation: {
926			prevEl: '.main-notice .bt_prev',
927			nextEl: '.main-notice .bt_next',
928		},
929    });
930
931	var md_swiper = new Swiper('.prd-md .swiper-container', {
932		on: {
933			init: function () {
934				$('.prd-md .section-title').append($(this.$el).find('h3').removeClass('displaynone'));
935			},
936		},
937		direction: 'vertical',
938		slidesPerView: 'auto',
939		freeMode: true,
940		scrollbar: {
941		el: '.swiper-scrollbar',
942		draggable :true,
943		},
944		mousewheel: true,
945    });
946    
947	// 할인율 표시
948	discountRate();
949});
950$(document).ready(function(){
951    if (typeof(EC_SHOP_MULTISHOP_SHIPPING) != "undefined") {
952        var sShippingCountryCode4Cookie = 'shippingCountryCode';
953        var bShippingCountryProc = false;
954
955        // 배송국가 선택 설정이 사용안함이면 숨김
956        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) {
957            $('.xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist').hide();
958            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptioncountry').hide();
959        } else {
960            $('.thumb .xans-layout-multishoplistitem').hide();
961            var aShippingCountryCode = document.cookie.match('(^|;) ?'+sShippingCountryCode4Cookie+'=([^;]*)(;|$)');
962            if (typeof(aShippingCountryCode) != 'undefined' && aShippingCountryCode != null && aShippingCountryCode.length > 2) {
963                var sShippingCountryValue = aShippingCountryCode[2];
964            }
965
966            // query string으로 넘어 온 배송국가 값이 있다면, 그 값을 적용함
967            var aHrefCountryValue = decodeURIComponent(location.href).split("/?country=");
968
969            if (aHrefCountryValue.length == 2) {
970                var sShippingCountryValue = aHrefCountryValue[1];
971            }
972
973            // 메인 페이지에서 국가선택을 안한 경우, 그 외의 페이지에서 셋팅된 값이 안 나오는 현상 처리
974            if (location.href.split("/").length != 4 && $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val()) {
975                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
976
977                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
978                    $("#f_country").val($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
979                }
980            }
981            if (typeof(sShippingCountryValue) != "undefined" && sShippingCountryValue != "" && sShippingCountryValue != null) {
982                sShippingCountryValue = sShippingCountryValue.split("#")[0];
983                var bShippingCountryProc = true;
984
985                $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
986                $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
987                var expires = new Date();
988                expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
989                document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
990                if ($("#f_country").length > 0 && location.href.indexOf("orderform.html") > -1) {
991                    $("#f_country").val(sShippingCountryValue).change();;
992                }
993            }
994        }
995        // 언어선택 설정이 사용안함이면 숨김
996        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingLanguageSelection === false) {
997            $('.xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist').hide();
998            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption .xans-layout-multishoplistmultioptionlanguage').hide();
999        } else {
1000            $('.thumb .xans-layout-multishoplistitem').hide();
1001        }
1002
1003        // 배송국가 및 언어 설정이 둘 다 사용안함이면 숨김
1004        if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShipping === false) {
1005            $(".xans-layout-multishopshipping").hide();
1006            $('.xans-layout-multishoplist .xans-layout-multishoplistmultioption').hide();
1007        } else if (bShippingCountryProc === false && location.href.split("/").length == 4) { // 배송국가 값을 처리한 적이 없고, 메인화면일 때만 선택 레이어를 띄움
1008            var sShippingCountryValue = $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val();
1009            $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val(sShippingCountryValue);
1010            $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a .ship span").text(" : "+$(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist option:selected").text().split("SHIPPING TO : ").join(""));
1011            // 배송국가 선택을 사용해야 레이어를 보이게 함
1012            if (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === true) {
1013                $(".xans-layout-multishopshipping").show();
1014            }
1015        }
1016
1017        $(".xans-layout-multishopshipping .close").bind("click", function() {
1018            $(".xans-layout-multishopshipping").hide();
1019        });
1020
1021        $(".xans-layout-multishopshipping .ec-base-button a").bind("click", function() {
1022            var expires = new Date();
1023            expires.setTime(expires.getTime() + (30 * 24 * 60 * 60 * 1000)); // 30일간 쿠키 유지
1024            document.cookie = sShippingCountryCode4Cookie+'=' + $(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val() +';path=/'+ ';expires=' + expires.toUTCString();
1025
1026            // 도메인 문제로 쿠키로 배송국가 설정이 안 되는 경우를 위해 query string으로 배송국가 값
1026을 넘김
1027            var sQuerySting = (EC_SHOP_MULTISHOP_SHIPPING.bMultishopShippingCountrySelection === false) ? "" : "/?country="+encodeURIComponent($(".xans-layout-multishopshipping .xans-layout-multishopshippingcountrylist").val());
1028
1029            location.href = '//'+$(".xans-layout-multishopshipping .xans-layout-multishopshippinglanguagelist").val()+sQuerySting;
1030        });
1031        $(".xans-layout-multishoplist .xans-layout-multishoplistmultioption a").bind("click", function() {
1032            $(".xans-layout-multishopshipping").show();
1033        });
1034    }
1035});

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.