├── README.md
├── _config.yml
├── css
├── icon.css
├── materialize.min.css
├── nouislider.min.css
└── window.css
├── data
├── 偽裝圖片-介紹.psd
├── 隱形圖片-介紹 .psd
└── 隱形圖片.ai
├── fonts
└── flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff
├── imgs
├── baha.png
├── github.png
├── gmail.png
├── logo_16.ico
├── logo_256.png
├── p1_ex.jpg
├── p2_01.png
├── p2_03.png
└── p2_ex.jpg
├── index.html
├── index.md
├── jQuery-MiniColors
├── index.html
├── jquery.minicolors.css
├── jquery.minicolors.min.js
└── jquery.minicolors.png
└── js
├── jquery-3.3.1.min.js
├── materialize.min.js
├── nouislider.min.js
└── window.js
/README.md:
--------------------------------------------------------------------------------
1 | # 隱形圖片 & 偽裝圖片 產生器
2 |
3 | 線上製作`隱形圖片`或`偽裝圖片`的網站,用純 JavaScript 進行處理,無使用任何後台語言
4 |
5 | - 網站:https://hbl917070.github.io/Invisible_image/index.html
6 | - 討論區:https://forum.gamer.com.tw/C.php?bsn=60076&snA=4936349
7 |
8 |
9 |
10 | ### 原理
11 | - 用單一顏色但是不同透明度來繪製圖片,這樣就會變成一張在特定顏色下面會隱形的圖片,例如用白色來繪製,那麼繪製出來的圖片在白底就會隱形,如此一來,就會變成在黑底才能看到的「隱形圖片」
12 |
13 |
14 | - 「偽裝圖片」就是把兩個「隱形圖片」重疊,一個用黑色繪製,一個用白色繪製
15 |
16 |
17 |
18 | ### 隱形圖片
19 | 利用單一顏色與不同透明度來繪製圖片,讓圖片在特定的底色下隱形
20 |
21 |
22 |
23 |
24 | ### 偽裝圖片
25 | 利用隱形圖片的技術重疊兩張圖片,在黑色與白色的地方,會分別看到兩種不同的圖片
26 |
27 |
28 |
29 |
30 | ### 此網站使用了下列的程式碼
31 | - [Materialize](https://github.com/Dogfalo/materialize "Materialize"): 一套符合 Material Design 設計 的網頁前端框架。
32 | - [noUiSlider](https://github.com/leongersen/noUiSlider "noUiSlider"): 一個輕量級JavaScript範圍滑塊
33 | - [jQuery](https://github.com/jquery/jquery "jQuery"): 一套跨瀏覽器的JavaScript函式庫,簡化HTML與JavaScript之間的操作。
34 | - [jQuery MiniColors](https://github.com/claviska/jquery-minicolors "jQuery MiniColors"): 一個基於jQuery的 顏色選擇器
35 |
36 |
37 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-cayman
--------------------------------------------------------------------------------
/css/icon.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'Material Icons';
3 | font-style: normal;
4 | font-weight: 400;
5 | src: url(../fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff) format('woff');
6 | }
7 |
8 | .material-icons {
9 | font-family: 'Material Icons';
10 | font-weight: normal;
11 | font-style: normal;
12 | font-size: 24px;
13 | line-height: 1;
14 | letter-spacing: normal;
15 | text-transform: none;
16 | display: inline-block;
17 | white-space: nowrap;
18 | word-wrap: normal;
19 | direction: ltr;
20 | font-feature-settings: 'liga';
21 | }
22 |
--------------------------------------------------------------------------------
/css/nouislider.min.css:
--------------------------------------------------------------------------------
1 | /*! nouislider - 11.0.3 - 2018-01-21 14:04:07 */.noUi-target,.noUi-target *{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;-ms-touch-action:none;touch-action:none;-ms-user-select:none;-moz-user-select:none;user-select:none;-moz-box-sizing:border-box;box-sizing:border-box}.noUi-target{position:relative;direction:ltr}.noUi-base,.noUi-connects{width:100%;height:100%;position:relative;z-index:1}.noUi-connects{overflow:hidden;z-index:0}.noUi-connect,.noUi-origin{will-change:transform;position:absolute;z-index:1;top:0;left:0;height:100%;width:100%;-webkit-transform-origin:0 0;transform-origin:0 0}html:not([dir=rtl]) .noUi-horizontal .noUi-origin{left:auto;right:0}.noUi-vertical .noUi-origin{width:0}.noUi-horizontal .noUi-origin{height:0}.noUi-handle{position:absolute}.noUi-state-tap .noUi-connect,.noUi-state-tap .noUi-origin{-webkit-transition:transform .3s;transition:transform .3s}.noUi-state-drag *{cursor:inherit!important}.noUi-horizontal{height:18px}.noUi-horizontal .noUi-handle{width:34px;height:28px;left:-17px;top:-6px}.noUi-vertical{width:18px}.noUi-vertical .noUi-handle{width:28px;height:34px;left:-6px;top:-17px}html:not([dir=rtl]) .noUi-horizontal .noUi-handle{right:-17px;left:auto}.noUi-target{background:#FAFAFA;border-radius:4px;border:1px solid #D3D3D3;box-shadow:inset 0 1px 1px #F0F0F0,0 3px 6px -5px #BBB}.noUi-connects{border-radius:3px}.noUi-connect{background:#3FB8AF}.noUi-draggable{cursor:ew-resize}.noUi-vertical .noUi-draggable{cursor:ns-resize}.noUi-handle{border:1px solid #D9D9D9;border-radius:3px;background:#FFF;cursor:default;box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #EBEBEB,0 3px 6px -3px #BBB}.noUi-active{box-shadow:inset 0 0 1px #FFF,inset 0 1px 7px #DDD,0 3px 6px -3px #BBB}.noUi-handle:after,.noUi-handle:before{content:"";display:block;position:absolute;height:14px;width:1px;background:#E8E7E6;left:14px;top:6px}.noUi-handle:after{left:17px}.noUi-vertical .noUi-handle:after,.noUi-vertical .noUi-handle:before{width:14px;height:1px;left:6px;top:14px}.noUi-vertical .noUi-handle:after{top:17px}[disabled] .noUi-connect{background:#B8B8B8}[disabled] .noUi-handle,[disabled].noUi-handle,[disabled].noUi-target{cursor:not-allowed}.noUi-pips,.noUi-pips *{-moz-box-sizing:border-box;box-sizing:border-box}.noUi-pips{position:absolute;color:#999}.noUi-value{position:absolute;white-space:nowrap;text-align:center}.noUi-value-sub{color:#ccc;font-size:10px}.noUi-marker{position:absolute;background:#CCC}.noUi-marker-large,.noUi-marker-sub{background:#AAA}.noUi-pips-horizontal{padding:10px 0;height:80px;top:100%;left:0;width:100%}.noUi-value-horizontal{-webkit-transform:translate(-50%,50%);transform:translate(-50%,50%)}.noUi-rtl .noUi-value-horizontal{-webkit-transform:translate(50%,50%);transform:translate(50%,50%)}.noUi-marker-horizontal.noUi-marker{margin-left:-1px;width:2px;height:5px}.noUi-marker-horizontal.noUi-marker-sub{height:10px}.noUi-marker-horizontal.noUi-marker-large{height:15px}.noUi-pips-vertical{padding:0 10px;height:100%;top:0;left:100%}.noUi-value-vertical{-webkit-transform:translate(0,-50%);transform:translate(0,-50%,0);padding-left:25px}.noUi-rtl .noUi-value-vertical{-webkit-transform:translate(0,50%);transform:translate(0,50%)}.noUi-marker-vertical.noUi-marker{width:5px;height:2px;margin-top:-1px}.noUi-marker-vertical.noUi-marker-sub{width:10px}.noUi-marker-vertical.noUi-marker-large{width:15px}.noUi-tooltip{display:block;position:absolute;border:1px solid #D9D9D9;border-radius:3px;background:#fff;color:#000;padding:5px;text-align:center;white-space:nowrap}.noUi-horizontal .noUi-tooltip{-webkit-transform:translate(-50%,0);transform:translate(-50%,0);left:50%;bottom:120%}.noUi-vertical .noUi-tooltip{-webkit-transform:translate(0,-50%);transform:translate(0,-50%);top:50%;right:120%}
--------------------------------------------------------------------------------
/css/window.css:
--------------------------------------------------------------------------------
1 | html,
2 | body {
3 | margin: 0px;
4 | padding: 0px;
5 | font-family: "Microsoft JhengHei";
6 | background-color: rgb(240, 240, 240);
7 | }
8 |
9 | @media screen and (max-width: 992px) {
10 | #main_l {
11 | display: none;
12 | }
13 |
14 | #main_r {
15 | margin-left: 0px !important;
16 | }
17 | }
18 |
19 | #main_div {
20 | }
21 |
22 |
23 | /*pc 側邊選單*/
24 | #main_l {
25 | min-height: 100vh;
26 | width: 240px;
27 | background: rgb(245, 245, 245);
28 | position: fixed;
29 | top: 0px;
30 | left: 0px;
31 | bottom: 0px;
32 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
33 | overflow-y: auto;
34 | z-index: 1;
35 | font-weight: 500;
36 | }
37 |
38 | .main_l_item {
39 | width: 100%;
40 | height: 45px;
41 | line-height: 45px;
42 | padding: 0px;
43 | padding-left: 30px;
44 | font-size: 16px;
45 | color: #000000 !important;
46 | }
47 |
48 | .main_l_item:hover {
49 | background-color: rgb(233, 233, 233);
50 | transition: all 0s;
51 | }
52 |
53 | .main_l_item_title {
54 | color: #26a69a;
55 | font-size: 16px;
56 | height: 20px;
57 | line-height: 20px;
58 | margin-top: 30px;
59 | margin-left: 5px;
60 | }
61 |
62 | .main_l_item_hr {
63 | height: 1px;
64 | background-color: rgba(0, 0, 0, 0.1);
65 | margin-top: 10px;
66 | }
67 |
68 | .main_l_item[sel="1"]::after {
69 | content: "";
70 | height: 100%;
71 | width: 6px;
72 | background-color: #26a69a;
73 | display: block;
74 | position: absolute;
75 | top: 0px;
76 | right: 0px;
77 | }
78 |
79 | /* 左上角的logo*/
80 | #menu_pc_logo {
81 | width: 100px;
82 | margin: 20px auto;
83 | display: block;
84 | }
85 | #menu_phone_logo {
86 | width: 50px;
87 | margin: 10px auto;
88 | display: block;
89 | }
90 | #main_r {
91 | margin-left: 240px;
92 | }
93 |
94 | /*--------------------------*/
95 | /*--------------------------*/
96 | /*--------------------------*/
97 |
98 | .page {
99 | overflow: hidden;
100 | }
101 |
102 | .page_title h1 {
103 | height: 60px;
104 | line-height: 60px;
105 | margin-bottom: 15px;
106 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
107 | font-size: 30px;
108 | /* color: #26a69a;
109 | background-color: rgb(248, 248, 248); */
110 | color: rgb(0, 0, 0);
111 | background-color: rgb(245, 245, 245);
112 | padding: 0px 15px;
113 | margin: 0px;
114 | }
115 |
116 | .page_content {
117 | padding: 15px;
118 | }
119 |
120 | .page_box {
121 | max-width: 800px;
122 | box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
123 | margin: auto;
124 | background-color: rgb(248, 248, 248);
125 | padding: 30px 10px;
126 | margin-bottom: 40px;
127 | font-size: 18px;
128 | }
129 |
130 | .page_box_title {
131 | max-width: 800px;
132 | margin: auto;
133 | font-size: 30px;
134 | margin-top: 10px;
135 | margin-bottom: 10px;
136 | color: #26a69a;
137 | }
138 |
139 | .page_box .btn {
140 | font-size: 16px;
141 | }
142 |
143 | input[type="range"] {
144 | border: none;
145 | }
146 |
147 | /*-------------------------*/
148 |
149 | /*設定的「開關」*/
150 | .mdl-switch {
151 | float: right;
152 | width: 40px;
153 | }
154 |
155 | /*設定的「文字方塊」*/
156 | .text_nub {
157 | font-size: 16px !important;
158 | width: 225px !important;
159 | text-align: center;
160 | }
161 | /*設定的「顏色選擇器」*/
162 | .color_sel {
163 | width: 180px !important;
164 | font-size: 16px !important;
165 | }
166 |
167 | /*無框線的表格*/
168 | .table_no_line tr {
169 | border: none;
170 | }
171 |
172 | /*上傳圖片後的預覽圖*/
173 | .input_img_show {
174 | border: 1px solid #8b8b8b;
175 | width: 202px;
176 | height: 202px;
177 | position: relative;
178 | float: left;
179 | }
180 |
181 | .input_img_show img {
182 | max-width: 200px;
183 | max-height: 200px;
184 | margin: auto;
185 | top: 0;
186 | left: 0;
187 | right: 0;
188 | bottom: 0;
189 | position: absolute;
190 | }
191 |
192 | #p2_select_align {
193 | width: 20px !important;
194 | }
195 |
196 |
197 | .div_aut {
198 | text-align: center;
199 | }
200 |
201 | .bottom_img {
202 | display: inline-block;
203 | text-align: center;
204 | margin: 10px;
205 | padding: 5px;
206 | }
207 |
208 | .bottom_img:hover {
209 | background-color: rgba(0, 183, 255, 0.301);
210 | }
211 |
212 | .bottom_img img {
213 | width: 80px;
214 | }
215 |
216 |
217 | /*首頁-內文標題*/
218 | .p_home_title {
219 | font-size: 30px;
220 | margin:10px 0px;
221 | }
222 |
223 | /*避免手機選擇顏色時捲動頁面*/
224 | .minicolors-panel {
225 | -ms-touch-action: none;
226 | touch-action: none;
227 | }
228 |
229 | /*避免圖示被選取*/
230 | .material-icons {
231 | -webkit-touch-callout: none;
232 | -webkit-user-select: none;
233 | -moz-user-select: none;
234 | -ms-user-select: none;
235 | user-select: none;
236 | }
--------------------------------------------------------------------------------
/data/偽裝圖片-介紹.psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/data/偽裝圖片-介紹.psd
--------------------------------------------------------------------------------
/data/隱形圖片-介紹 .psd:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/data/隱形圖片-介紹 .psd
--------------------------------------------------------------------------------
/data/隱形圖片.ai:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/data/隱形圖片.ai
--------------------------------------------------------------------------------
/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/fonts/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.woff
--------------------------------------------------------------------------------
/imgs/baha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/baha.png
--------------------------------------------------------------------------------
/imgs/github.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/github.png
--------------------------------------------------------------------------------
/imgs/gmail.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/gmail.png
--------------------------------------------------------------------------------
/imgs/logo_16.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/logo_16.ico
--------------------------------------------------------------------------------
/imgs/logo_256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/logo_256.png
--------------------------------------------------------------------------------
/imgs/p1_ex.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/p1_ex.jpg
--------------------------------------------------------------------------------
/imgs/p2_01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/p2_01.png
--------------------------------------------------------------------------------
/imgs/p2_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/p2_03.png
--------------------------------------------------------------------------------
/imgs/p2_ex.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/imgs/p2_ex.jpg
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | 隱形圖片 產生器
9 |
10 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
20 |
21 |
22 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
功能
46 |
47 | 首頁
48 |
49 |
50 | 隱形圖片
51 |
52 |
53 | 偽裝圖片
54 |
55 |
56 |
57 |
58 |
作者
59 |
60 | hbl917070(深海異音)
61 |
62 |
66 |
67 |
68 |
69 |
其他
70 |
71 | 版本資訊
72 |
73 |
GitHub
74 |
討論區
75 |
76 |
77 |
78 |
79 |
80 |
81 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
140 |
141 |
142 |
143 |
144 |
線上製作
145 |
146 |
147 |
隱形圖片
148 | 利用單一顏色與不同透明度來繪製圖片,讓圖片在特定的底色下隱形
149 |
150 |
151 | 製作隱形圖片
152 |
153 |
154 |
偽裝圖片
155 | 利用隱形圖片的技術重疊兩張圖片,在黑色與白色的地方,會分別看到兩種不同的圖片
156 |
157 |
158 | 製作偽裝圖片
159 |
160 |
161 |
162 |
隱形圖片 說明
163 |
164 |
165 |
170 |
171 |
172 |
偽裝圖片 說明
173 |
174 |
175 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
195 |
196 |
197 |
198 |
199 |
說明
200 |
201 | 說明:處理後的圖片,在白色的背景的網頁會完全隱形,只有在黑色背景的地方才看得到。
202 |
203 | 原理:使用單一顏色,不同透明度來繪製圖片。
204 |
205 |
206 |
匯入圖片
207 |
208 |
209 |
選擇一張圖片
210 |
219 |
220 |
227 |
228 |
229 |
230 |
231 |
設定
232 |
233 |
266 |
267 |
268 |
269 |
270 | 產生圖片 done
271 |
272 |
273 |
274 |
輸出
275 |
276 | 嘗試拖曳滑桿,觀看圖片在黑色與白色的地方呈現的效果
277 |
278 |
279 |
280 |
281 | brightness_high
282 |
283 |
284 |
285 |
286 |
287 | brightness_2
288 |
289 |
290 |
291 |
292 |
293 |
294 |
296 |
297 |
299 |
300 |
301 |
302 |
303 | 下載圖片 cloud_download
304 |
305 |
306 | 如果無法順利下載圖片,請手動儲存圖片
307 | 電腦:對圖片「右鍵」→另存圖片
308 | 手機:對圖片「長按」→下載圖片
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
326 |
327 |
328 |
說明
329 |
330 | 說明:利用隱形圖片的技術重疊兩張圖片,在黑色與白色的地方,會分別看到兩種不同的圖片
331 |
332 |
333 |
匯入圖片
334 |
335 |
圖1:白色時才會顯示出來的圖片
336 |
345 |
346 |
353 |
354 |
355 |
356 |
圖2:黑色時才會顯示出來的圖片
357 |
366 |
367 |
368 |
376 |
377 |
378 |
379 |
380 | 設定
381 | (查看設定技巧)
382 |
383 |
384 |
385 |
386 |
387 |
388 |
389 |
390 |
417 |
418 |
419 |
478 |
479 |
480 |
481 |
482 | 產生圖片 done
483 |
484 |
485 |
486 |
487 |
488 |
489 |
490 |
491 |
輸出
492 |
493 | 嘗試拖曳滑桿,觀看圖片在黑色與白色的地方呈現的效果
494 |
495 |
496 |
497 |
498 | brightness_high
499 |
500 |
501 |
502 |
503 |
504 | brightness_2
505 |
506 |
507 |
508 |
509 |
510 |
511 |
513 |
514 |
516 |
517 |
518 |
519 |
520 | 下載圖片 cloud_download
521 |
522 |
523 | 如果無法順利下載圖片,請手動儲存圖片
524 | 電腦:對圖片「右鍵」→另存圖片
525 | 手機:對圖片「長按」→下載圖片
526 |
527 |
528 |
529 |
530 |
531 |
532 |
540 |
541 |
542 |
關於
543 |
544 |
545 |
546 |
547 |
548 |
隱形圖片 產生器
549 |
550 |
551 |
552 |
553 | 本版資訊:
2.0.1
554 |
555 |
556 | 本專案包含以下套件:
557 |
Materialize :
558 | 一套符合 Material Design 設計 的網頁前端框架。
559 |
560 |
noUiSlider :
561 | 一個輕量級JavaScript範圍滑塊
562 |
563 |
jQuery :
564 | 一套跨瀏覽器的JavaScript函式庫,簡化HTML與JavaScript之間的操作。
565 |
566 |
jQuery MiniColors :
567 | 一個基於jQuery的 顏色選擇器
568 |
569 |
570 |
571 |
572 |
573 |
574 |
575 |
583 |
584 |
585 |
其他作品
586 |
456+
587 |
588 |
589 |
590 |
591 |
592 |
600 |
601 |
602 |
603 |
作者
604 |
605 |
607 |
作者:LIAO, WEN-HONG
608 |
613 |
617 |
618 |
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 |
643 |
651 |
652 |
653 |
首頁
654 |
655 |
656 |
657 |
658 | Off On
659 |
660 |
661 |
662 |
670 |
671 |
676 |
677 |
678 |
679 | cloud button
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 |
696 |
697 |
698 |
699 |
700 |
701 |
702 |
709 |
710 |
711 |
712 |
713 |
--------------------------------------------------------------------------------
/index.md:
--------------------------------------------------------------------------------
1 | ## Welcome to GitHub Pages
2 |
3 | You can use the [editor on GitHub](https://github.com/hbl917070/Invisible_image/edit/master/index.md) to maintain and preview the content for your website in Markdown files.
4 |
5 | Whenever you commit to this repository, GitHub Pages will run [Jekyll](https://jekyllrb.com/) to rebuild the pages in your site, from the content in your Markdown files.
6 |
7 | ### Markdown
8 |
9 | Markdown is a lightweight and easy-to-use syntax for styling your writing. It includes conventions for
10 |
11 | ```markdown
12 | Syntax highlighted code block
13 |
14 | # Header 1
15 | ## Header 2
16 | ### Header 3
17 |
18 | - Bulleted
19 | - List
20 |
21 | 1. Numbered
22 | 2. List
23 |
24 | **Bold** and _Italic_ and `Code` text
25 |
26 | [Link](url) and 
27 | ```
28 |
29 | For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/).
30 |
31 | ### Jekyll Themes
32 |
33 | Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/hbl917070/Invisible_image/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file.
34 |
35 | ### Support or Contact
36 |
37 | Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out.
38 |
--------------------------------------------------------------------------------
/jQuery-MiniColors/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | jQuery MiniColors
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
60 |
61 |
98 |
99 |
100 |
120 |
121 |
122 |
123 |
124 |
125 |
jQuery MiniColors Plugin Example
126 |
127 |
128 |
129 |
130 |
Control Types
131 |
157 |
158 |
159 |
Input Modes
160 |
161 |
162 |
163 |
164 | Text field
165 |
166 |
167 |
168 |
169 | Hidden Input
170 |
171 |
172 |
173 |
174 |
175 |
176 | Inline
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
Positions
186 |
187 |
188 | Valid positions include bottom left
, bottom right
, top
189 | left
, and top right
.
190 |
191 |
192 |
202 |
212 |
213 |
214 |
215 |
216 |
217 |
218 |
RGB(A)
219 |
220 |
221 |
222 |
223 | RGB
224 |
225 |
226 |
227 | RGB input can be assigned by setting the format
option
228 | to rgb
.
229 |
230 |
231 |
232 |
233 |
234 | RGBA
235 |
236 |
237 |
238 | RGBA input can be assigned by setting the format
239 | option to rgb
and opacity
option to
240 | true
.
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
…and more!
249 |
250 |
251 |
252 |
253 | Opacity
254 |
255 |
256 |
257 | Opacity can be assigned by including the data-opacity
258 | attribute or by setting the opacity
option to
259 | true
.
260 |
261 |
262 |
263 |
264 |
265 | Keywords
266 |
267 |
268 |
269 | CSS-wide keywords can be assigned by setting the keywords
270 | option to a comma-separated list of valid keywords: transparent,
271 | initial, inherit
.
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 | Default Value
280 |
281 |
282 |
283 | This field has a default value assigned to it, so it will never be empty.
284 |
285 |
286 |
287 |
288 |
289 | Letter Case
290 |
291 |
292 |
293 | This field will always be uppercase.
294 |
295 |
296 |
297 |
298 |
329 |
330 |
331 |
332 | Swatches
333 |
334 |
335 |
336 | Example with swatches.
337 |
338 |
339 |
340 |
341 |
342 | Swatches and opacity
343 |
344 |
345 |
346 | Example with swatches and opacity.
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
License
356 |
357 | Licensed under the MIT license ,
358 | same as jQuery .
359 |
360 |
361 | ©2013 - 2017 A Beautiful Site, LLC.
362 |
363 |
364 |
365 |
379 |
380 |
381 |
--------------------------------------------------------------------------------
/jQuery-MiniColors/jquery.minicolors.css:
--------------------------------------------------------------------------------
1 | .minicolors {
2 | position: relative;
3 | }
4 |
5 | .minicolors-sprite {
6 | background-image: url(jquery.minicolors.png);
7 | }
8 |
9 | .minicolors-swatch {
10 | position: absolute;
11 | vertical-align: middle;
12 | background-position: -80px 0;
13 | border: solid 1px #ccc;
14 | cursor: text;
15 | padding: 0;
16 | margin: 0;
17 | display: inline-block;
18 | }
19 |
20 | .minicolors-swatch-color {
21 | position: absolute;
22 | top: 0;
23 | left: 0;
24 | right: 0;
25 | bottom: 0;
26 | }
27 |
28 | .minicolors input[type=hidden] + .minicolors-swatch {
29 | width: 28px;
30 | position: static;
31 | cursor: pointer;
32 | }
33 |
34 | .minicolors input[type=hidden][disabled] + .minicolors-swatch {
35 | cursor: default;
36 | }
37 |
38 | /* Panel */
39 | .minicolors-panel {
40 | position: absolute;
41 | width: 173px;
42 | background: white;
43 | border: solid 1px #CCC;
44 | box-shadow: 0 0 20px rgba(0, 0, 0, .2);
45 | z-index: 99999;
46 | box-sizing: content-box;
47 | display: none;
48 | }
49 |
50 | .minicolors-panel.minicolors-visible {
51 | display: block;
52 | }
53 |
54 | /* Panel positioning */
55 | .minicolors-position-top .minicolors-panel {
56 | top: -154px;
57 | }
58 |
59 | .minicolors-position-right .minicolors-panel {
60 | right: 0;
61 | }
62 |
63 | .minicolors-position-bottom .minicolors-panel {
64 | top: auto;
65 | }
66 |
67 | .minicolors-position-left .minicolors-panel {
68 | left: 0;
69 | }
70 |
71 | .minicolors-with-opacity .minicolors-panel {
72 | width: 194px;
73 | }
74 |
75 | .minicolors .minicolors-grid {
76 | position: relative;
77 | top: 1px;
78 | left: 1px; /* LTR */
79 | width: 150px;
80 | height: 150px;
81 | margin-bottom: 2px;
82 | background-position: -120px 0;
83 | cursor: crosshair;
84 | }
85 | [dir=rtl] .minicolors .minicolors-grid {
86 | right: 1px;
87 | }
88 |
89 | .minicolors .minicolors-grid-inner {
90 | position: absolute;
91 | top: 0;
92 | left: 0;
93 | width: 150px;
94 | height: 150px;
95 | }
96 |
97 | .minicolors-slider-saturation .minicolors-grid {
98 | background-position: -420px 0;
99 | }
100 |
101 | .minicolors-slider-saturation .minicolors-grid-inner {
102 | background-position: -270px 0;
103 | background-image: inherit;
104 | }
105 |
106 | .minicolors-slider-brightness .minicolors-grid {
107 | background-position: -570px 0;
108 | }
109 |
110 | .minicolors-slider-brightness .minicolors-grid-inner {
111 | background-color: black;
112 | }
113 |
114 | .minicolors-slider-wheel .minicolors-grid {
115 | background-position: -720px 0;
116 | }
117 |
118 | .minicolors-slider,
119 | .minicolors-opacity-slider {
120 | position: absolute;
121 | top: 1px;
122 | left: 152px; /* LTR */
123 | width: 20px;
124 | height: 150px;
125 | background-color: white;
126 | background-position: 0 0;
127 | cursor: row-resize;
128 | }
129 | [dir=rtl] .minicolors-slider,
130 | [dir=rtl] .minicolors-opacity-slider {
131 | right: 152px;
132 | }
133 |
134 | .minicolors-slider-saturation .minicolors-slider {
135 | background-position: -60px 0;
136 | }
137 |
138 | .minicolors-slider-brightness .minicolors-slider {
139 | background-position: -20px 0;
140 | }
141 |
142 | .minicolors-slider-wheel .minicolors-slider {
143 | background-position: -20px 0;
144 | }
145 |
146 | .minicolors-opacity-slider {
147 | left: 173px; /* LTR */
148 | background-position: -40px 0;
149 | display: none;
150 | }
151 | [dir=rtl] .minicolors-opacity-slider {
152 | right: 173px;
153 | }
154 |
155 | .minicolors-with-opacity .minicolors-opacity-slider {
156 | display: block;
157 | }
158 |
159 | /* Pickers */
160 | .minicolors-grid .minicolors-picker {
161 | position: absolute;
162 | top: 70px;
163 | left: 70px;
164 | width: 12px;
165 | height: 12px;
166 | border: solid 1px black;
167 | border-radius: 10px;
168 | margin-top: -6px;
169 | margin-left: -6px;
170 | background: none;
171 | }
172 |
173 | .minicolors-grid .minicolors-picker > div {
174 | position: absolute;
175 | top: 0;
176 | left: 0;
177 | width: 8px;
178 | height: 8px;
179 | border-radius: 8px;
180 | border: solid 2px white;
181 | box-sizing: content-box;
182 | }
183 |
184 | .minicolors-picker {
185 | position: absolute;
186 | top: 0;
187 | left: 0;
188 | width: 18px;
189 | height: 2px;
190 | background: white;
191 | border: solid 1px black;
192 | margin-top: -2px;
193 | box-sizing: content-box;
194 | }
195 |
196 | /* Swatches */
197 | .minicolors-swatches,
198 | .minicolors-swatches li {
199 | margin: 5px 0 3px 5px; /* LTR */
200 | padding: 0;
201 | list-style: none;
202 | overflow: hidden;
203 | }
204 | [dir=rtl] .minicolors-swatches,
205 | [dir=rtl] .minicolors-swatches li {
206 | margin: 5px 5px 3px 0;
207 | }
208 |
209 | .minicolors-swatches .minicolors-swatch {
210 | position: relative;
211 | float: left; /* LTR */
212 | cursor: pointer;
213 | margin:0 4px 0 0; /* LTR */
214 | }
215 | [dir=rtl] .minicolors-swatches .minicolors-swatch {
216 | float: right;
217 | margin:0 0 0 4px;
218 | }
219 |
220 | .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
221 | margin-right: 7px; /* LTR */
222 | }
223 | [dir=rtl] .minicolors-with-opacity .minicolors-swatches .minicolors-swatch {
224 | margin-right: 0;
225 | margin-left: 7px;
226 | }
227 |
228 | .minicolors-swatch.selected {
229 | border-color: #000;
230 | }
231 |
232 | /* Inline controls */
233 | .minicolors-inline {
234 | display: inline-block;
235 | }
236 |
237 | .minicolors-inline .minicolors-input {
238 | display: none !important;
239 | }
240 |
241 | .minicolors-inline .minicolors-panel {
242 | position: relative;
243 | top: auto;
244 | left: auto; /* LTR */
245 | box-shadow: none;
246 | z-index: auto;
247 | display: inline-block;
248 | }
249 | [dir=rtl] .minicolors-inline .minicolors-panel {
250 | right: auto;
251 | }
252 |
253 | /* Default theme */
254 | .minicolors-theme-default .minicolors-swatch {
255 | top: 5px;
256 | left: 5px; /* LTR */
257 | width: 18px;
258 | height: 18px;
259 | }
260 | [dir=rtl] .minicolors-theme-default .minicolors-swatch {
261 | right: 5px;
262 | }
263 | .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
264 | margin-bottom: 2px;
265 | top: 0;
266 | left: 0; /* LTR */
267 | width: 18px;
268 | height: 18px;
269 | }
270 | [dir=rtl] .minicolors-theme-default .minicolors-swatches .minicolors-swatch {
271 | right: 0;
272 | }
273 | .minicolors-theme-default.minicolors-position-right .minicolors-swatch {
274 | left: auto; /* LTR */
275 | right: 5px; /* LTR */
276 | }
277 | [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-swatch {
278 | right: auto;
279 | left: 5px;
280 | }
281 | .minicolors-theme-default.minicolors {
282 | width: auto;
283 | display: inline-block;
284 | }
285 | .minicolors-theme-default .minicolors-input {
286 | height: 20px;
287 | width: auto;
288 | display: inline-block;
289 | padding-left: 26px; /* LTR */
290 | }
291 | [dir=rtl] .minicolors-theme-default .minicolors-input {
292 | text-align: right;
293 | unicode-bidi: plaintext;
294 | padding-left: 1px;
295 | padding-right: 26px;
296 | }
297 | .minicolors-theme-default.minicolors-position-right .minicolors-input {
298 | padding-right: 26px; /* LTR */
299 | padding-left: inherit; /* LTR */
300 | }
301 | [dir=rtl] .minicolors-theme-default.minicolors-position-left .minicolors-input {
302 | padding-right: inherit;
303 | padding-left: 26px;
304 | }
305 |
306 | /* Bootstrap theme */
307 | .minicolors-theme-bootstrap .minicolors-swatch {
308 | z-index: 2;
309 | top: 3px;
310 | left: 3px; /* LTR */
311 | width: 28px;
312 | height: 28px;
313 | border-radius: 3px;
314 | }
315 | [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatch {
316 | right: 3px;
317 | }
318 | .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
319 | margin-bottom: 2px;
320 | top: 0;
321 | left: 0; /* LTR */
322 | width: 20px;
323 | height: 20px;
324 | }
325 | [dir=rtl] .minicolors-theme-bootstrap .minicolors-swatches .minicolors-swatch {
326 | right: 0;
327 | }
328 | .minicolors-theme-bootstrap .minicolors-swatch-color {
329 | border-radius: inherit;
330 | }
331 | .minicolors-theme-bootstrap.minicolors-position-right > .minicolors-swatch {
332 | left: auto; /* LTR */
333 | right: 3px; /* LTR */
334 | }
335 | [dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left > .minicolors-swatch {
336 | right: auto;
337 | left: 3px;
338 | }
339 | .minicolors-theme-bootstrap .minicolors-input {
340 | float: none;
341 | padding-left: 44px !important; /* LTR */
342 | }
343 | [dir=rtl] .minicolors-theme-bootstrap .minicolors-input {
344 | text-align: right;
345 | unicode-bidi: plaintext;
346 | padding-left: 12px;
347 | padding-right: 44px !important;
348 | }
349 | .minicolors-theme-bootstrap.minicolors-position-right .minicolors-input {
350 | padding-right: 44px !important; /* LTR */
351 | padding-left: 12px; /* LTR */
352 | }
353 | [dir=rtl] .minicolors-theme-bootstrap.minicolors-position-left .minicolors-input {
354 | padding-right: 12px;
355 | padding-left: 44px !important;
356 | }
357 | .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
358 | top: 4px;
359 | left: 4px; /* LTR */
360 | width: 37px;
361 | height: 37px;
362 | border-radius: 5px;
363 | }
364 | [dir=rtl] .minicolors-theme-bootstrap .minicolors-input.input-lg + .minicolors-swatch {
365 | right: 4px;
366 | }
367 | .minicolors-theme-bootstrap .minicolors-input.input-sm + .minicolors-swatch {
368 | width: 24px;
369 | height: 24px;
370 | }
371 | .minicolors-theme-bootstrap .minicolors-input.input-xs + .minicolors-swatch {
372 | width: 18px;
373 | height: 18px;
374 | }
375 | .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
376 | border-top-left-radius: 0; /* LTR */
377 | border-bottom-left-radius: 0; /* LTR */
378 | }
379 | [dir=rtl] .input-group .minicolors-theme-bootstrap .minicolors-input {
380 | border-radius: 4px;
381 | }
382 | [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:first-child) .minicolors-input {
383 | border-top-right-radius: 0;
384 | border-bottom-right-radius: 0;
385 | }
386 | [dir=rtl] .input-group .minicolors-theme-bootstrap:not(:last-child) .minicolors-input {
387 | border-top-left-radius: 0;
388 | border-bottom-left-radius: 0;
389 | }
390 | /* bootstrap input-group rtl override */
391 | [dir=rtl] .input-group .form-control,
392 | [dir=rtl] .input-group-addon,
393 | [dir=rtl] .input-group-btn > .btn,
394 | [dir=rtl] .input-group-btn > .btn-group > .btn,
395 | [dir=rtl] .input-group-btn > .dropdown-toggle {
396 | border: 1px solid #ccc;
397 | border-radius: 4px;
398 | }
399 | [dir=rtl] .input-group .form-control:first-child,
400 | [dir=rtl] .input-group-addon:first-child,
401 | [dir=rtl] .input-group-btn:first-child > .btn,
402 | [dir=rtl] .input-group-btn:first-child > .btn-group > .btn,
403 | [dir=rtl] .input-group-btn:first-child > .dropdown-toggle,
404 | [dir=rtl] .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle),
405 | [dir=rtl] .input-group-btn:last-child > .btn-group:not(:last-child) > .btn {
406 | border-top-left-radius: 0;
407 | border-bottom-left-radius: 0;
408 | border-left: 0;
409 | }
410 | [dir=rtl] .input-group .form-control:last-child,
411 | [dir=rtl] .input-group-addon:last-child,
412 | [dir=rtl] .input-group-btn:last-child > .btn,
413 | [dir=rtl] .input-group-btn:last-child > .btn-group > .btn,
414 | [dir=rtl] .input-group-btn:last-child > .dropdown-toggle,
415 | [dir=rtl] .input-group-btn:first-child > .btn:not(:first-child),
416 | [dir=rtl] .input-group-btn:first-child > .btn-group:not(:first-child) > .btn {
417 | border-top-right-radius: 0;
418 | border-bottom-right-radius: 0;
419 | }
420 |
421 | /* Semantic Ui theme */
422 | .minicolors-theme-semanticui .minicolors-swatch {
423 | top: 0;
424 | left: 0; /* LTR */
425 | padding: 18px;
426 | }
427 | [dir=rtl] .minicolors-theme-semanticui .minicolors-swatch {
428 | right: 0;
429 | }
430 | .minicolors-theme-semanticui input {
431 | text-indent: 30px;
432 | }
433 |
--------------------------------------------------------------------------------
/jQuery-MiniColors/jquery.minicolors.min.js:
--------------------------------------------------------------------------------
1 | //
2 | // jQuery MiniColors: A tiny color picker built on jQuery
3 | //
4 | // Developed by Cory LaViska for A Beautiful Site, LLC
5 | //
6 | // Licensed under the MIT license: http://opensource.org/licenses/MIT
7 | //
8 | !function(i){"function"==typeof define&&define.amd?define(["jquery"],i):"object"==typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";function t(t,o){var s,a,n,e,r,l,h=i('
'),d=i.minicolors.defaults;if(!t.data("minicolors-initialized")){if(o=i.extend(!0,{},d,o),h.addClass("minicolors-theme-"+o.theme).toggleClass("minicolors-with-opacity",o.opacity),void 0!==o.position&&i.each(o.position.split(" "),function(){h.addClass("minicolors-position-"+this)}),a="rgb"===o.format?o.opacity?"25":"20":o.keywords?"11":"7",t.addClass("minicolors-input").data("minicolors-initialized",!1).data("minicolors-settings",o).prop("size",a).wrap(h).after(''),o.inline||(t.after(' '),t.next(".minicolors-input-swatch").on("click",function(i){i.preventDefault(),t.focus()})),r=t.parent().find(".minicolors-panel"),r.on("selectstart",function(){return!1}).end(),o.swatches&&0!==o.swatches.length)for(r.addClass("minicolors-with-swatches"),n=i('').appendTo(r),l=0;l ').appendTo(n).data("swatch-color",o.swatches[l]).find(".minicolors-swatch-color").css({backgroundColor:C(e),opacity:e.a}),o.swatches[l]=e;o.inline&&t.parent().addClass("minicolors-inline"),c(t,!1),t.data("minicolors-initialized",!0)}}function o(i){var t=i.parent();i.removeData("minicolors-initialized").removeData("minicolors-settings").removeProp("size").removeClass("minicolors-input"),t.before(i).remove()}function s(i){var t=i.parent(),o=t.find(".minicolors-panel"),s=i.data("minicolors-settings");!i.data("minicolors-initialized")||i.prop("disabled")||t.hasClass("minicolors-inline")||t.hasClass("minicolors-focus")||(a(),t.addClass("minicolors-focus"),o.animate?o.stop(!0,!0).fadeIn(s.showSpeed,function(){s.show&&s.show.call(i.get(0))}):(o.css("opacity",1),s.show&&s.show.call(i.get(0))))}function a(){i(".minicolors-focus").each(function(){var t=i(this),o=t.find(".minicolors-input"),s=t.find(".minicolors-panel"),a=o.data("minicolors-settings");s.animate?s.fadeOut(a.hideSpeed,function(){a.hide&&a.hide.call(o.get(0)),t.removeClass("minicolors-focus")}):(s.css("opacity",0),a.hide&&a.hide.call(o.get(0)),t.removeClass("minicolors-focus"))})}function n(i,t,o){var s,a,n,r,c,l=i.parents(".minicolors").find(".minicolors-input"),h=l.data("minicolors-settings"),d=i.find("[class$=-picker]"),p=i.offset().left,u=i.offset().top,g=Math.round(t.pageX-p),m=Math.round(t.pageY-u),f=o?h.animationSpeed:0;t.originalEvent.changedTouches&&(g=t.originalEvent.changedTouches[0].pageX-p,m=t.originalEvent.changedTouches[0].pageY-u),g<0&&(g=0),m<0&&(m=0),g>i.width()&&(g=i.width()),m>i.height()&&(m=i.height()),i.parent().is(".minicolors-slider-wheel")&&d.parent().is(".minicolors-grid")&&(s=75-g,a=75-m,n=Math.sqrt(s*s+a*a),r=Math.atan2(a,s),r<0&&(r+=2*Math.PI),n>75&&(n=75,g=75-75*Math.cos(r),m=75-75*Math.sin(r)),g=Math.round(g),m=Math.round(m)),c={top:m+"px"},i.is(".minicolors-grid")&&(c.left=g+"px"),d.animate?d.stop(!0).animate(c,f,h.animationEasing,function(){e(l,i)}):(d.css(c),e(l,i))}function e(i,t){function o(i,t){var o,s;return i.length&&t?(o=i.offset().left,s=i.offset().top,{x:o-t.offset().left+i.outerWidth()/2,y:s-t.offset().top+i.outerHeight()/2}):null}var s,a,n,e,c,h,d,p=i.val(),u=i.attr("data-opacity"),g=i.parent(),m=i.data("minicolors-settings"),v=g.find(".minicolors-input-swatch"),b=g.find(".minicolors-grid"),w=g.find(".minicolors-slider"),y=g.find(".minicolors-opacity-slider"),C=b.find("[class$=-picker]"),M=w.find("[class$=-picker]"),x=y.find("[class$=-picker]"),I=o(C,b),S=o(M,w),z=o(x,y);if(t.is(".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider")){switch(m.control){case"wheel":e=b.width()/2-I.x,c=b.height()/2-I.y,h=Math.sqrt(e*e+c*c),d=Math.atan2(c,e),d<0&&(d+=2*Math.PI),h>75&&(h=75,I.x=69-75*Math.cos(d),I.y=69-75*Math.sin(d)),a=f(h/.75,0,100),s=f(180*d/Math.PI,0,360),n=f(100-Math.floor(S.y*(100/w.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:a,b:100}));break;case"saturation":s=f(parseInt(I.x*(360/b.width()),10),0,360),a=f(100-Math.floor(S.y*(100/w.height())),0,100),n=f(100-Math.floor(I.y*(100/b.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:100,b:n})),g.find(".minicolors-grid-inner").css("opacity",a/100);break;case"brightness":s=f(parseInt(I.x*(360/b.width()),10),0,360),a=f(100-Math.floor(I.y*(100/b.height())),0,100),n=f(100-Math.floor(S.y*(100/w.height())),0,100),p=k({h:s,s:a,b:n}),w.css("backgroundColor",k({h:s,s:a,b:100})),g.find(".minicolors-grid-inner").css("opacity",1-n/100);break;default:s=f(360-parseInt(S.y*(360/w.height()),10),0,360),a=f(Math.floor(I.x*(100/b.width())),0,100),n=f(100-Math.floor(I.y*(100/b.height())),0,100),p=k({h:s,s:a,b:n}),b.css("backgroundColor",k({h:s,s:100,b:100}))}u=m.opacity?parseFloat(1-z.y/y.height()).toFixed(2):1,r(i,p,u)}else v.find("span").css({backgroundColor:p,opacity:u}),l(i,p,u)}function r(i,t,o){var s,a=i.parent(),n=i.data("minicolors-settings"),e=a.find(".minicolors-input-swatch");n.opacity&&i.attr("data-opacity",o),"rgb"===n.format?(s=v(t)?g(t,!0):I(u(t,!0)),o=""===i.attr("data-opacity")?1:f(parseFloat(i.attr("data-opacity")).toFixed(2),0,1),!isNaN(o)&&n.opacity||(o=1),t=i.minicolors("rgbObject").a<=1&&s&&n.opacity?"rgba("+s.r+", "+s.g+", "+s.b+", "+parseFloat(o)+")":"rgb("+s.r+", "+s.g+", "+s.b+")"):(v(t)&&(t=y(t)),t=p(t,n.letterCase)),i.val(t),e.find("span").css({backgroundColor:t,opacity:o}),l(i,t,o)}function c(t,o){var s,a,n,e,r,c,h,d,w,C,x=t.parent(),I=t.data("minicolors-settings"),S=x.find(".minicolors-input-swatch"),z=x.find(".minicolors-grid"),F=x.find(".minicolors-slider"),T=x.find(".minicolors-opacity-slider"),j=z.find("[class$=-picker]"),D=F.find("[class$=-picker]"),q=T.find("[class$=-picker]");switch(v(t.val())?(s=y(t.val()),r=f(parseFloat(b(t.val())).toFixed(2),0,1),r&&t.attr("data-opacity",r)):s=p(u(t.val(),!0),I.letterCase),s||(s=p(m(I.defaultValue,!0),I.letterCase)),a=M(s),e=I.keywords?i.map(I.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],c=""!==t.val()&&i.inArray(t.val().toLowerCase(),e)>-1?p(t.val()):v(t.val())?g(t.val()):s,o||t.val(c),I.opacity&&(n=""===t.attr("data-opacity")?1:f(parseFloat(t.attr("data-opacity")).toFixed(2),0,1),isNaN(n)&&(n=1),t.attr("data-opacity",n),S.find("span").css("opacity",n),d=f(T.height()-T.height()*n,0,T.height()),q.css("top",d+"px")),"transparent"===t.val().toLowerCase()&&S.find("span").css("opacity",0),S.find("span").css("backgroundColor",s),I.control){case"wheel":w=f(Math.ceil(.75*a.s),0,z.height()/2),C=a.h*Math.PI/180,h=f(75-Math.cos(C)*w,0,z.width()),d=f(75-Math.sin(C)*w,0,z.height()),j.css({top:d+"px",left:h+"px"}),d=150-a.b/(100/z.height()),""===s&&(d=0),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:a.s,b:100}));break;case"saturation":h=f(5*a.h/12,0,150),d=f(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.s*(F.height()/100),0,F.height()),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:100,b:a.b})),x.find(".minicolors-grid-inner").css("opacity",a.s/100);break;case"brightness":h=f(5*a.h/12,0,150),d=f(z.height()-Math.ceil(a.s/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.b*(F.height()/100),0,F.height()),D.css("top",d+"px"),F.css("backgroundColor",k({h:a.h,s:a.s,b:100})),x.find(".minicolors-grid-inner").css("opacity",1-a.b/100);break;default:h=f(Math.ceil(a.s/(100/z.width())),0,z.width()),d=f(z.height()-Math.ceil(a.b/(100/z.height())),0,z.height()),j.css({top:d+"px",left:h+"px"}),d=f(F.height()-a.h/(360/F.height()),0,F.height()),D.css("top",d+"px"),z.css("backgroundColor",k({h:a.h,s:100,b:100}))}t.data("minicolors-initialized")&&l(t,c,n)}function l(i,t,o){var s,a,n,e=i.data("minicolors-settings"),r=i.data("minicolors-lastChange");if(!r||r.value!==t||r.opacity!==o){if(i.data("minicolors-lastChange",{value:t,opacity:o}),e.swatches&&0!==e.swatches.length){for(s=v(t)?g(t,!0):I(t),a=-1,n=0;no&&(i=o),i}function v(i){var t=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return!(!t||4!==t.length)}function b(i){return i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+(\.\d{1,2})?|\.\d{1,2})[\s+]?/i),i&&6===i.length?i[4]:"1"}function w(i){var t={},o=Math.round(i.h),s=Math.round(255*i.s/100),a=Math.round(255*i.b/100);if(0===s)t.r=t.g=t.b=a;else{var n=a,e=(255-s)*a/255,r=(n-e)*(o%60)/60;360===o&&(o=0),o<60?(t.r=n,t.b=e,t.g=e+r):o<120?(t.g=n,t.b=e,t.r=n-r):o<180?(t.g=n,t.r=e,t.b=e+r):o<240?(t.b=n,t.r=e,t.g=n-r):o<300?(t.b=n,t.g=e,t.r=e+r):o<360?(t.r=n,t.g=e,t.b=n-r):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}}function y(i){return i=i.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i),i&&4===i.length?"#"+("0"+parseInt(i[1],10).toString(16)).slice(-2)+("0"+parseInt(i[2],10).toString(16)).slice(-2)+("0"+parseInt(i[3],10).toString(16)).slice(-2):""}function C(t){var o=[t.r.toString(16),t.g.toString(16),t.b.toString(16)];return i.each(o,function(i,t){1===t.length&&(o[i]="0"+t)}),"#"+o.join("")}function k(i){return C(w(i))}function M(i){var t=x(I(i));return 0===t.s&&(t.h=360),t}function x(i){var t={h:0,s:0,b:0},o=Math.min(i.r,i.g,i.b),s=Math.max(i.r,i.g,i.b),a=s-o;return t.b=s,t.s=0!==s?255*a/s:0,0!==t.s?i.r===s?t.h=(i.g-i.b)/a:i.g===s?t.h=2+(i.b-i.r)/a:t.h=4+(i.r-i.g)/a:t.h=-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t}function I(i){return i=parseInt(i.indexOf("#")>-1?i.substring(1):i,16),{r:i>>16,g:(65280&i)>>8,b:255&i}}i.minicolors={defaults:{animationSpeed:50,animationEasing:"swing",change:null,changeDelay:0,control:"hue",defaultValue:"",format:"hex",hide:null,hideSpeed:100,inline:!1,keywords:"",letterCase:"lowercase",opacity:!1,position:"bottom",show:null,showSpeed:100,theme:"default",swatches:[]}},i.extend(i.fn,{minicolors:function(n,e){switch(n){case"destroy":return i(this).each(function(){o(i(this))}),i(this);case"hide":return a(),i(this);case"opacity":return void 0===e?i(this).attr("data-opacity"):(i(this).each(function(){c(i(this).attr("data-opacity",e))}),i(this));case"rgbObject":return h(i(this),"rgbaObject"===n);case"rgbString":case"rgbaString":return d(i(this),"rgbaString"===n);case"settings":return void 0===e?i(this).data("minicolors-settings"):(i(this).each(function(){var t=i(this).data("minicolors-settings")||{};o(i(this)),i(this).minicolors(i.extend(!0,t,e))}),i(this));case"show":return s(i(this).eq(0)),i(this);case"value":return void 0===e?i(this).val():(i(this).each(function(){"object"==typeof e&&null!==e?(void 0!==e.opacity&&i(this).attr("data-opacity",f(e.opacity,0,1)),e.color&&i(this).val(e.color)):i(this).val(e),c(i(this))}),i(this));default:return"create"!==n&&(e=n),i(this).each(function(){t(i(this),e)}),i(this)}}}),i([document]).on("mousedown.minicolors touchstart.minicolors",function(t){i(t.target).parents().add(t.target).hasClass("minicolors")||a()}).on("mousedown.minicolors touchstart.minicolors",".minicolors-grid, .minicolors-slider, .minicolors-opacity-slider",function(t){var o=i(this);t.preventDefault(),i(t.delegateTarget).data("minicolors-target",o),n(o,t,!0)}).on("mousemove.minicolors touchmove.minicolors",function(t){var o=i(t.delegateTarget).data("minicolors-target");o&&n(o,t)}).on("mouseup.minicolors touchend.minicolors",function(){i(this).removeData("minicolors-target")}).on("click.minicolors",".minicolors-swatches li",function(t){t.preventDefault();var o=i(this),s=o.parents(".minicolors").find(".minicolors-input"),a=o.data("swatch-color");r(s,a,b(a)),c(s)}).on("mousedown.minicolors touchstart.minicolors",".minicolors-input-swatch",function(t){var o=i(this).parent().find(".minicolors-input");t.preventDefault(),s(o)}).on("focus.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&s(t)}).on("blur.minicolors",".minicolors-input",function(){var t,o,s,a,n,e=i(this),r=e.data("minicolors-settings");e.data("minicolors-initialized")&&(t=r.keywords?i.map(r.keywords.split(","),function(t){return i.trim(t.toLowerCase())}):[],""!==e.val()&&i.inArray(e.val().toLowerCase(),t)>-1?n=e.val():(v(e.val())?s=g(e.val(),!0):(o=u(e.val(),!0),s=o?I(o):null),n=null===s?r.defaultValue:"rgb"===r.format?g(r.opacity?"rgba("+s.r+","+s.g+","+s.b+","+e.attr("data-opacity")+")":"rgb("+s.r+","+s.g+","+s.b+")"):C(s)),a=r.opacity?e.attr("data-opacity"):1,"transparent"===n.toLowerCase()&&(a=0),e.closest(".minicolors").find(".minicolors-input-swatch > span").css("opacity",a),e.val(n),""===e.val()&&e.val(m(r.defaultValue,!0)),e.val(p(e.val(),r.letterCase)))}).on("keydown.minicolors",".minicolors-input",function(t){var o=i(this);if(o.data("minicolors-initialized"))switch(t.which){case 9:a();break;case 13:case 27:a(),o.blur()}}).on("keyup.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&c(t,!0)}).on("paste.minicolors",".minicolors-input",function(){var t=i(this);t.data("minicolors-initialized")&&setTimeout(function(){c(t,!0)},1)})});
--------------------------------------------------------------------------------
/jQuery-MiniColors/jquery.minicolors.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hbl917070/Invisible_image/4a4bdf58ec4c3ab28ecd9e717802d28ab4a604b9/jQuery-MiniColors/jquery.minicolors.png
--------------------------------------------------------------------------------
/js/jquery-3.3.1.min.js:
--------------------------------------------------------------------------------
1 | /*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */
2 | !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML=" ",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML=" ";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML=" ","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML=" ",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""," "],thead:[1,""],col:[2,""],tr:[2,""],td:[3,""],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/