dphelper 0.2.73 → 0.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -176
- package/documents/iDB/list.html +11 -0
- package/documents/iDB/toState.html +11 -0
- package/index.js +1 -1
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -1,176 +1,79 @@
|
|
|
1
|
-
# dpHelper
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-
|
|
5
|
-
Manager | DevTools by [Dario Passariello (c)](https://dario.passariello.ca)
|
|
6
|
-
|
|
7
|
-

|
|
8
|
-

|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
npm
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
or
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
dphelper.indexedDB.open( storeName )
|
|
81
|
-
dphelper.indexedDB.store( storeName, table )
|
|
82
|
-
dphelper.indexedDB.insert( storeName, table, key, value )
|
|
83
|
-
dphelper.indexedDB.update( storeName, table, key, value )
|
|
84
|
-
dphelper.indexedDB.get( storeName, table, key )
|
|
85
|
-
dphelper.indexedDB.list()
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### NUMBERS
|
|
89
|
-
|
|
90
|
-
```js
|
|
91
|
-
dphelper.number.rnd() // generate long random number
|
|
92
|
-
dphelper.number.tmr() // generate number by timer
|
|
93
|
-
dphelper.number.add()
|
|
94
|
-
dphelper.number.sub()
|
|
95
|
-
dphelper.number.multi()
|
|
96
|
-
dphelper.number.div()
|
|
97
|
-
dphelper.number.rem()
|
|
98
|
-
dphelper.number.exp()
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### TIME
|
|
102
|
-
|
|
103
|
-
```js
|
|
104
|
-
dphelper.time.epoch() // return epoch time
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
### DATE
|
|
108
|
-
|
|
109
|
-
```js
|
|
110
|
-
dphelper.date.toIso( value , int = 'en' ) // format in bese of internationalization
|
|
111
|
-
dphelper.date.toMMDDYYYY( value ) // format not common
|
|
112
|
-
dphelper.date.convert( value , format ) // format like 23 Dec, 2021
|
|
113
|
-
dphelper.date.iso2Epoch( value ) // format iso date to epoch
|
|
114
|
-
dphelper.date.localIsoTime( value ) // format Thu, 31 May 2012 08:33:41 +0000
|
|
115
|
-
dphelper.date.utc() // generate UTC date format
|
|
116
|
-
dphelper.date.parse( value ) // epoch to human date
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### PATH
|
|
120
|
-
|
|
121
|
-
------ url
|
|
122
|
-
|
|
123
|
-
```js
|
|
124
|
-
dphelper.path.rail() // Generate array start from subFolders
|
|
125
|
-
dphelper.path.query() // Generate array start from querystring
|
|
126
|
-
dphelper.path.hash() // Generate array start from hash path
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
------ Browser:
|
|
130
|
-
|
|
131
|
-
```js
|
|
132
|
-
dphelper.browser.state( state, title, url ) // Create a new spushState and avoid page reload
|
|
133
|
-
dphelper.browser.forw( times ) // go next visited page
|
|
134
|
-
dphelper.browser.back( times ) // go previous page (type 1 or more - times is ever negative)
|
|
135
|
-
dphelper.browser.href( url ) // go previous page (type 1 or more - times is ever negative)
|
|
136
|
-
dphelper.browser.reload() // reload page and discard POST data
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
------ options
|
|
140
|
-
|
|
141
|
-
```js
|
|
142
|
-
dphelper.anchorToOnClick( element ) // Transform all a href to onclick (use . for class or # for div )
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
### LOAD
|
|
146
|
-
|
|
147
|
-
```js
|
|
148
|
-
dphelper.load.file(element, path) // text to element
|
|
149
|
-
dphelper.load.json( file ) // load json data to a variable
|
|
150
|
-
dphelper.load.jsonRemote( path, method='GET', type='application/json' ) // load json from remote to variable
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### FORM
|
|
154
|
-
|
|
155
|
-
```js
|
|
156
|
-
dphelper.form.serialize( form ) // serialize a form (input array) to json
|
|
157
|
-
```
|
|
158
|
-
|
|
159
|
-
### ARRAY
|
|
160
|
-
|
|
161
|
-
```js
|
|
162
|
-
dphelper.array.find( id, array ) // find value by ID into array
|
|
163
|
-
dphelper.array.delete( id, array ) // delete value by ID from array
|
|
164
|
-
dphelper.array.merge( arrayA , arrayB ) // merge two array
|
|
165
|
-
dphelper.array.unique( array ) // remove all duplicates
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### OBJECT
|
|
169
|
-
|
|
170
|
-
```js
|
|
171
|
-
dphelper.obj.toArray( obj ) // convert objet to array (compatible with old browsers)
|
|
172
|
-
dphelper.obj.serialize( value ) // serialize
|
|
173
|
-
dphelper.obj.deSerialize( value ) // de-serialize
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
... TO BE CONTINUE
|
|
1
|
+
# dpHelper Devtools
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
Manager | DevTools by [Dario Passariello (c)](https://dario.passariello.ca)
|
|
6
|
+
|
|
7
|
+

|
|
8
|
+

|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+

|
|
14
|
+

|
|
15
|
+

|
|
16
|
+

|
|
17
|
+

|
|
18
|
+

|
|
19
|
+
|
|
20
|
+
## about
|
|
21
|
+
|
|
22
|
+
You have a lot of tools for you that make your life easier and faster!
|
|
23
|
+
Please visit the github repository @ [dpHelper on Github](https://github.com/passariello/dpHelper)
|
|
24
|
+
|
|
25
|
+
## install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm i dphelper
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
or update:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm i dphelper@latest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
in the index (and only there):
|
|
38
|
+
|
|
39
|
+
```javascript
|
|
40
|
+
import "dphelper"
|
|
41
|
+
|
|
42
|
+
or
|
|
43
|
+
|
|
44
|
+
require("dphelper")
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## How to use it
|
|
48
|
+
|
|
49
|
+
type 'dphelper' in your console to have a look about all available tools that you can use globaly!
|
|
50
|
+
|
|
51
|
+
You can call these from everywhere without import (just one at index)
|
|
52
|
+
|
|
53
|
+
## Instance it
|
|
54
|
+
|
|
55
|
+
You can istance dpHelper to make it more short command.
|
|
56
|
+
|
|
57
|
+
Example:
|
|
58
|
+
|
|
59
|
+
```javascript
|
|
60
|
+
window.dph = window.dphelper || {}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Copy this at top of your index page to be global
|
|
64
|
+
|
|
65
|
+
You can call these from everywhere without import (just one at index)
|
|
66
|
+
|
|
67
|
+
## Browser Extension (Chrome/Edge)
|
|
68
|
+
|
|
69
|
+

|
|
70
|
+
|
|
71
|
+

|
|
72
|
+
|
|
73
|
+
Chrome: [Download from Google Web Store](https://chrome.google.com/webstore/detail/dphelper-manager-dev-tool/oppppldaoknfddeikfloonnialijngbk)
|
|
74
|
+
Edge: [Download from Microsoft Addons](https://microsoftedge.microsoft.com/addons/detail/dphelper-manager-dev-to/kphabkbdpaljlfagldhojilhfammepnk)
|
|
75
|
+
|
|
76
|
+
This extension allows you to manage your app's dpHelper NPM. Here you will find all the tools with description and methods of use. Designed to simplify API operations, data manipulation and retention. You will be able to monitor memory usage and localStorage. You will always be updated on updates and tricks for your daily work. The dpHelper tool is a collection of scripts to simplify, improve and speed up your work. Designed to be easy to install and use. Just use "import 'dphelper'" in your project index. All scripts work in global and are reachable everywhere.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
copyright (c) 2022 by Dario Passariello
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<h4>toState</h4>
|
|
2
|
+
<p>
|
|
3
|
+
Save all DB and Tables to Global State
|
|
4
|
+
</p>
|
|
5
|
+
|
|
6
|
+
<ul>
|
|
7
|
+
<li>You can use (as example): 'dphelper.iDB.toState( 'test', dphelper.iDB.get( 'test', 'test', 1 ) )'</li>
|
|
8
|
+
<li>or: 'dphelper.iDB.toState()' to load all indexedDB into dphelper.databases global store.</li>
|
|
9
|
+
</ul>
|
|
10
|
+
|
|
11
|
+
Please type 'dphelper.databases' in console to see all DBs
|
package/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
(()=>{var t={851:(e,t,n)=>{"use strict";n(175)},175:(e,t,n)=>{!function(){n(861);var e=n(147);dphelper._list=n(152),dphelper._list.scripts=[],dphelper._list.version=e.version;var t={};!function(e){e.keys().forEach((function(n){return t[n]=e(n)}))}(n(501)),console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}()},14:()=>{dphelper._list.scripts.push({name:"Anchor",type:"function",version:"0.0.1",command:"anchor",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",active:!0,description:"\n This tools allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",subCommand:[{name:"toOnClick",version:"0.0.1",example:"dphelper.anchor.toOnClick('nav') or ('.foo') or ('#foo')",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.anchor={toOnClick:function(e){$(e+" a").each((function(e){var t=$(this),n=t.attr("href");n&&t.on("mouseup",(function(){Loader("body",null)})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(n),dphelper.browser.push("","",n)}))}))}}},134:(e,t,n)=>{"use strict";n.r(t);var r=n(2),o=n(907);var i=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,o.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}dphelper._list.scripts.push({name:"Arrays",version:"0.0.1",command:"array",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",type:"object",active:!0,description:"test",subCommand:[{name:"find",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"unique",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"delete",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"merge",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"asc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"desc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"even",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"odd",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.array={find:function(e,t){var n,r=s(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.id===e)return o;if(o.children){var i=dphelper.array.find(e,o.children);if(i)return i}}}catch(e){r.e(e)}finally{r.f()}return!1},unique:function(e){var t=a(new Set(e));return t},delete:function(e,t){t.some((function t(n,o,i){if(n.Id===e)return i.splice(o,1),!0;for(var a=0,s=Object.keys(n);a<s.length;a++){var c=n[s[a]];if(c.length&&"object"===(0,r.Z)(c))return c&&c.map(t)}}))},merge:function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]instanceof Object&&t[o]&&Object.assign(e[o],dphelper.mergeArrays(t[o],e[o]))}return Object.assign(t||{},e),t},asc:function(e){return e.sort((function(e,t){return e-t})),e},desc:function(e){return e.sort((function(e,t){return t-e})),e},duplicates:function(e){var t;return(t=e).filter((function(e,n){return t.indexOf(e)!==n}))},even:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2==0&&t.push(e[n]);return t},odd:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2&&t.push(e[n]);return t}}},586:()=>{dphelper._list.scripts.push({name:"Avoid",description:"test",version:"0.0.1",command:"avoid",subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache",type:"function",active:!0,description:"test",subCommand:[]}],example:"",author:"Dario Passariello",active:!0}),dphelper.avoid={cache:function(e){return e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())}}},108:()=>{dphelper._list.scripts.push({name:"Browser",version:"0.0.1",command:"browser",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"state",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"forw",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"back",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"reload",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"href",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.browser={state:function(e,t,n){return history.pushState(e,t,n)},forw:function(e){return history.go(e)},back:function(e){return history.go(-Math.abs(e))},reload:function(){return window.location.href=window.location.href},href:function(e){return window.location.href=e}}},603:()=>{dphelper._list.scripts.push({name:"Console",description:"test",version:"0.0.1",command:"console",subCommand:[{name:"info",description:"test"},{name:"stop",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.printInfo=function(){return console.debug('dpHelper: Please use "dphelper.path.rail()"'),dphelper.console.info()},dphelper.console={info:function(){console.groupCollapsed("%cApi:%c","color:orange",""),console.debug(dphelper.api),console.groupEnd()},stop:function(){var e={log:function(){}};window.console=e,window.console||(window.console={});var t=function(){};["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn"].forEach((function(e){window.console[e]=t}))}}},862:()=>{dphelper._list.scripts.push({name:"Coordinates Tools",description:"test",version:"0.0.1",command:"coords",subCommand:[{name:"degreesToRadians",description:"test"},{name:"latToMeters",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e=6378.1;dphelper.coords={degreesToRadians:function(e){return e*(Math.PI/180)},latToMeters:function(t,n){return e*Math.cos(t)*Math.cos(n)},lngToMeters:function(t,n){return e*Math.cos(t)*Math.sin(n)}}},415:()=>{dphelper._list.scripts.push({name:"Cookie Manager",description:"test",version:"0.0.1",command:"cookie",subCommand:[{name:"set",description:"test"},{name:"get",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e="false";"https:"===location.protocol&&(e="Secure"),dphelper.cookie={set:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=new Date;i.setTime(i.getTime()+31536e6),r||(r=i.toGMTString()),t&&(document.cookie=t+"="+n+";expires="+r+";path="+o+";SameSite="+"false;requireSSL="+e+";"+e)},get:function(e){for(var t=document.cookie.split("; "),n=0;n<t.length;n++){var r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:function(t){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;SameSite="+"false;requireSSL="+e+";"+e},clearAll:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],r=n.indexOf("="),o=r>-1?n.slice(0,r):n;stpro.cookie.delete(o)}}},dphelper.cookie.set("dpHelper","active")},604:()=>{dphelper._list.scripts.push({name:"Financial & Currency",description:"test",version:"0.0.1",command:"currency",subCommand:[{name:"convert",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.currency={convert:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);var r=new Intl.NumberFormat(t,{style:"currency",currency:n});return r.format(e)}}},8:()=>{dphelper._list.scripts.push({name:"Date",description:"test",version:"0.0.1",command:"date",subCommand:[{name:"toIso",description:"test"},{name:"toMMDDYYYY",description:"test"},{name:"convert",description:"test"},{name:"iso2Epoch",description:"test"},{name:"localIsoTime",description:"test"},{name:"utc",description:"test"},{name:"parse",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.date={toIso:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");var n=new Date(e);if("Invalid Date"==n)return null;var r=new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"});return r.format(n)},toMMDDYYYY:function(e){e||(e="");var t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},convert:function(e,t){if(t||(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),!e)return null;var n=t,r=e.substring(0,2).replace("0",""),o=e.substring(2,4),i=e.substring(e.length-4);return o+" "+n[Number(r)-1]+" "+i},iso2Epoch:function(e){return e||(e=""),new Date(e).getTime()},localIsoTime:function(e){e||(e="");var t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:function(){return moment().toISOString()},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;var n=e.substring(0,2),r=e.substring(2,4),o=e.substring(4,8);return n+t+r+t+o}}},556:(e,t,n)=>{dphelper._list.scripts.push({name:"Disable",description:"test",version:"0.0.1",command:"disable",subCommand:[{name:"select",description:"test"},{name:"spellCheck",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.disable={select:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=(n(755),t||event),r=function(e){var t=n(755);t(e).each((function(e){t(this).prop("unselectable","on").css("MozUserSelect","none").css("WebKitUserSelect","none").on("select",(function(){return!1})).on("selectstart",(function(){return!1})),t("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))}))};document.querySelector(e).addEventListener("mousedown",(function(t){r(e)}),!1),document.querySelector(e).onmousedown=function(t){r(e)},console.debug("%cSelection Disabled:%c true","color:gray","")},spellCheck:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;setInterval((function(){for(var e=document.querySelectorAll("input[type=text], textarea, code"),t=0;t<e.length;t++)e[t].getAttribute("spellcheck")||e[t].setAttribute("spellcheck","false")}),e)}}},445:()=>{dphelper._list.scripts.push({name:"Events",description:"test",version:"0.0.1",command:"event",subCommand:[{name:"multi",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.event={multi:function(e,t,n){for(var r=t.split(" "),o=0,i=r.length;o<i;++o)e.addEventListener(r[o],n,!1)}}},897:()=>{dphelper._list.scripts.push({name:"Fonts",description:"test",version:"0.0.1",command:"font",subCommand:[{name:"fitContainer",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.font={fitContainer:function(e){e&&dphelper.addListenerMulti(window,"load resize",(function(){!function(){var t=document.querySelectorAll(e);if(!(t.length<=0))for(var n=0;n<t.length;n++){var r=.05*t[n].offsetWidth;t[n].style.fontSize=r+"px"}}()}))}}},210:function(e,t,n){var r=this;dphelper._list.scripts.push({name:"Forms",description:"test",version:"0.0.1",command:"form",subCommand:[{name:"serialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.form={serialize:function(e){var t=n(755),o=r,i=o,a={},s={},c={validate:/[a-zA-Z][a-zA-Z0-9-_.]/,key:/[a-zA-Z0-9_]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_]+$/};return o.build=function(e,t,n){return e[t]=isNaN(n)||Array.isArray(n)?n:Number(n),e},o.push_counter=function(e){return void 0===s[e]&&(s[e]=0),s[e]++},t.each(t(o).serializeArray(),(function(){if(c.validate.test(o.name)){var e,n=o.name.match(c.key),r=o.value,s=o.name;for("false"===r&&(r=Boolean(!1)),"true"===r&&(r=Boolean(!0)),"off"===r&&(r=Boolean(!1)),"on"===r&&(r=Boolean(!0)),"[]"===r&&(r=[]),"{}"===r&&(r={}),"undefined"===r&&(r=void 0),"null"===r&&(r=null),""===r&&(r="");void 0!==(e=n.pop());)s=s.replace(new RegExp("\\["+e+"\\]$"),""),e.match(c.push)?r=i.build([],i.push_counter(s),r):e.match(c.fixed)?r=i.build([],e,r):e.match(c.named)&&(r=i.build({},e,r));a=t.extend(!0,a,r)}})),a}}},237:()=>{dphelper._list.scripts.push({name:"Functions",description:"test",version:"0.0.1",command:"func",subCommand:[{name:"new",description:"test"},{name:"toObj.set",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.func={new:function(e,t){args=[e,"return"+t],myFunc=Function.apply(null,args)},toObj:{set:function(e,t){return[e,t]}}}},399:()=>{dphelper._list.scripts.push({name:"IndexedDB Manager",description:"test",version:"0.0.1",command:"indexedDB",subCommand:[{name:"create",description:"test"},{name:"open",description:"test"},{name:"store",description:"test"},{name:"insert",description:"test"},{name:"update",description:"test"},{name:"get",description:"test"},{name:"list",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.indexedDB={create:function(e,t,n){var r=window.indexedDB.open(e,1);r.onerror=function(e){console.debug(e,"Database create error: "+e.target.errorCode)},r.onupgradeneeded=function(e){e.target.result.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})}},open:function(t){window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB||(console.debug(e),console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));var n=window.indexedDB.open(t,1);return n.onsuccess=function(e){},n.onerror=function(e){console.debug("Database open error: "+e.target.errorCode)},n},store:function(e,t){indexedDB.open(e).onsuccess=function(n){var r=n.target.result;parseInt(r.version);r.close();var o=indexedDB.open(e,1);o.onupgradeneeded=function(e){e.target.result.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0})},o.onsuccess=function(e){e.target.result.close()}}},insert:function(e,t,n,r){var o=window.indexedDB.open(e,1);o.onerror=function(e){console.debug(e,"Database insert error: "+e.target.errorCode)},o.onsuccess=function(t){try{var o=t.target.result;o.transaction(e,"readwrite").objectStore(e).add(r,n,r),o.close()}catch(t){console.debug(t,"IndexDB insert not work")}}},update:function(e,t,n,r){var o=window.indexedDB.open(e,1);o.onerror=function(e){console.debug(e,"Database update error: "+e.target.errorCode)},o.onsuccess=function(t){try{var o=t.target.result;o.transaction(e,"readwrite").objectStore(e).put(r,n,r),o.close()}catch(t){console.debug(t,"IndexDB update not work")}}},get:function(e,t,n){var r=window.indexedDB.open(e,1);r.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)},r.onsuccess=function(t){t.target.result.transaction([e],"readwrite").objectStore(e).get(n).onsuccess=function(e){}}},list:function(){indexedDB.databases().then((function(e){console.info("dpHelper: "+e)}))}}},142:()=>{dphelper._list.scripts.push({name:"Json",description:"test",version:"0.0.1",command:"json",subCommand:[{name:"counter",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.json={counter:function(e,t,n){return e?t&&n?Object.keys(jsonObject).length:e.items.filter((function(e){return e.key===n})).lengt:null}}},680:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}n.r(t);dphelper._list.scripts.push({name:"Load Files",description:"test",version:"0.0.1",command:"load",subCommand:[{name:"file",description:"test"},{name:"json",description:"test"},{name:"jsonRemote",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.load={file:function(e,t){fetch(t).then(function(){var t,n=(t=regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.text();case 2:r=t.sent,document.querySelector(e).innerHTML=dphelper.nl2br(String(r));case 4:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))});return function(e){return n.apply(this,arguments)}}())},json:function(e){if(e.match(/.(json)$/i))return n(544)(""+e)},jsonRemote:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";fetch(e,{method:t,headers:{"Content-Type":n}}).then((function(e){return e})).then((function(e){return e}))}}},220:()=>{dphelper._list.scripts.push({name:"Numbers",description:"test",version:"0.0.1",command:"number",subCommand:[{name:"rnd",description:"test"},{name:"tmr",description:"test"},{name:"add",description:"test"},{name:"sub",description:"test"},{name:"multi",description:"test"},{name:"div",description:"test"},{name:"rem",description:"test"},{name:"exp",description:"test"},{name:"isOdd",description:"check if number is odd or even"}],example:"",author:"Dario Passariello",active:!0}),dphelper.number={rnd:function(){return Math.floor(1e5+Math.random()*dphelper.number.tmr())},tmr:function(){return Math.round(dphelper.time.epoch()/1e3)},add:function(e,t){return e+t},sub:function(e,t){return e-t},multi:function(e,t){return e*t},div:function(e,t){return e-t},rem:function(e,t){return e%t},exp:function(e,t){return Math.pow(e,t)},isOdd:function(e){return e%2==0}}},574:(e,t,n)=>{"use strict";n.r(t);var r=n(2);var o=n(181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}dphelper._list.scripts.push({name:"Objects",description:"test",version:"0.0.1",command:"obj",subCommand:[{name:"toArray",description:"test"},{name:"serialize",description:"test"},{name:"deSerialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.obj={toArray:function(e){return Object.entries(e).map((function(e){var t=i(e,2),n=t[0],o=t[1];return Object.assign({key:n},o&&"object"===(0,r.Z)(o)?{forms:dphelper.obj.toArray(o)}:{value:o,forms:[]})}))},serialize:function(e){if("function"==typeof e)return e.toString();if("object"===(0,r.Z)(e)){for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var a=i(o[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.serialize(c)}return t}return e},deSerialize:function(e){if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"===(0,r.Z)(e)){for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var a=i(o[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.deSerialize(c)}return t}return value}}},983:()=>{dphelper._list.scripts.push({name:"Path To Array",description:"test",version:"0.0.1",command:"path",subCommand:[{name:"rail",description:"test"},{name:"hash",description:"test"},{name:"query",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.path={rail:function(){var e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");return e.length>0?e.filter((function(e){return e})):void 0},hash:function(){var e=location.hash.replace("#","").split("/");return e.length?e.filter((function(e){return e})):["empty"]},query:function(){var e,t=[],n=location.search;return n?(n.replace("?","").split("&").map((function(n){e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}}},705:()=>{dphelper._list.scripts.push({name:"Promises",description:"test",version:"0.0.1",command:"promise",subCommand:[{name:"check",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.promise={check:function(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)}}},200:()=>{dphelper._list.scripts.push({name:"Screen Options",description:"test",version:"0.0.1",command:"screen",subCommand:[{name:"fullScreen",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.screen={fullScreen:function(e){e.requestFullScreen?e.requestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()},toggle:function(e){var t=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen,n=e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen;doc.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?n.call(e):t.call(e)},info:function(){return[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]}}},205:()=>{dphelper._list.scripts.push({name:"Scrollbar",description:"test",version:"0.0.1",command:"scrollbar",subCommand:[{name:"custom",description:"test"},{name:"indicator",description:"test"},{name:"position.get",description:"test"},{name:"position.set",description:"test"},{name:"smooth",description:"test"},{name:"scrollTo",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.scrollbar={custom:function(e,t){t.color_1||(t.color_1="black"),t.color_2||(t.color_2="transparent"),t.color_3||(t.color_3="rgba(30,150,255,.5)"),t.type||(t.type="thin"),t.behavior||(t.behavior="smooth"),t.width||(t.width="8px"),t.height||(t.height="8px"),t.rounded||(t.rounded="25px"),t.margin||(t.margin="5px"),t.border||(t.border="5px solid transparent");var n="".concat(e,"{\n scrollbar-width:auto;\n scrollbar-color:").concat(t.color_1," ").concat(t.color_2,";\n scrollbar-width: ").concat(t.type,";\n scroll-behavior: ").concat(t.behavior,";\n scroll-margin: ").concat(t.margin,";\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n ").concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n -webkit-border-radius: ").concat(t.rounded,";\n border-radius: ").concat(t.rounded,";\n background: ").concat(t.color_1,";\n border:\n }\n\n /* ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(t.color_3,"\n }*/\n "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:function(e){var t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){var r=document.createElement("div");r.classList.add("scrollindicator"),document.querySelector("header").appendChild(r),r.style.cssText="\n height:5px;\n background:#65c45c;\n position:absolute;\n bottom:0;\n left:0;\n z-index:2\n "}if(!e.el&&n)return n.style.width="0%",null;try{var o=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(e){o.style.width="0%";var t=this.scrollTop||this.scrollTop,n=this.scrollHeight-this.clientHeight,r=Math.min(Math.max(parseInt(t/n*100),0),100);o.style.width=r+"%",o.click()})),window.addEventListener("popstate",(function(e){o.style.width=0}))}catch(e){return}return null},position:{set:function(e){var t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&dphelper.storage.set(e,t)},get:function(e){if(dphelper.storage.get(e)){var t=dphelper.storage.get(e).trim().split(",");$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}}},smooth:function(e,t,n){e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);var r=!1,o=e.scrollTop,i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();var a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;var t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?c(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}},scrollTo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=document.querySelector(e),o=document.querySelector(t),i=n;r&&o&&i&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}}},703:()=>{dphelper._list.scripts.push({name:"Handle Shortcut",description:"test",version:"0.0.1",command:"shortcut",example:"",author:"Dario Passariello",active:!0,subCommand:[]}),dphelper.shortcut=function(e,t){var n=e.which?e.which:e.keyCode;t||(t={data:[{key:"83",ctrl:!0,active:!0,description:"CTRL+S",function:""},{key:"27",ctrl:!1,active:!0,description:"ESC",element:"",function:""},{key:"80",ctrl:!0,active:!0,description:"CTRL+P",element:"",function:"function(){ Print }"}]}),t.map((function(t){if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&simulateClick(t.element),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},911:()=>{dphelper._list.scripts.push({name:"Local Storage Manager",description:"test",version:"0.0.1",command:"storage",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.storage={get:function(e){if(e)return window.localStorage.getItem(e)},set:function(e,t){e&&t&&window.localStorage.setItem(e,JSON.stringify(t))},delete:function(e){e&&window.localStorage.removeItem(e)},clearAll:function(){window.localStorage.clear()}}},803:(e,t,n)=>{"use strict";n.r(t);var r=n(2);dphelper._list.scripts.push({name:"Realtime SVG",description:"test",version:"0.0.1",command:"svg",subCommand:[{name:"check",description:"test"},{name:"init",description:"test"},{name:"update",description:"test"},{name:"getCurve",description:"test"},{name:"getIntersection",description:"test"},{name:"setConnector",description:"test"},{name:"removeConnection",description:"test"},{name:"makeScrollable",description:"test"},{name:"makeDraggable",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.svg={check:function(){if(void 0===dphelper.svg.check.supported){var e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';var t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==(0,r.Z)(t.adj),e.parentNode.removeChild(e)}return dphelper.svg.check.supported},init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);var o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,c=document.createElementNS(i,"svg");c.setAttribute("xmlns",i),c.setAttributeNS(null,"id","pathConnection"),c.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),c.setAttributeNS(null,"width",a),c.setAttributeNS(null,"height",s),c.style.display="block";var l=document.createElementNS(i,"rect"),u=t.getBoundingClientRect();l.setAttributeNS(null,"x",u.left-o.left),l.setAttributeNS(null,"y",u.top-o.top),l.setAttributeNS(null,"width",u.width),l.setAttributeNS(null,"height",u.height),c.appendChild(l);var p=document.createElementNS(i,"rect");u=n.getBoundingClientRect(),p.setAttributeNS(null,"x",u.left-o.left),p.setAttributeNS(null,"y",u.top-o.top),p.setAttributeNS(null,"width",u.width),p.setAttributeNS(null,"height",u.height),c.appendChild(p);var d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),c.appendChild(d),e.appendChild(c),dphelper.svg.update($(l)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},update:function(e,t,n){var r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,c=parseFloat(e.getAttribute("height"))/2,l=parseFloat(t.getAttribute("width"))/2,u=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+c,f=i+l,h=a+u,m=f-p,g=h-d,v=dphelper.svg.getIntersection(m,g,p,d,s,c),y=dphelper.svg.getIntersection(-m,-g,f,h,l,u),b=y[0]-v[0],x=dphelper.svg.getCurve(v,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+f+","+h)},getCurve:function(e,t,n){var r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){var n,r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){for(var a=e.getBoundingClientRect(),s=[n,r],c=[o,i],l=[],u=0;u<s.length;u++)l[u]=s[u].getBoundingClientRect(),c[u].setAttributeNS(null,"x",l[u].left-a.left),c[u].setAttributeNS(null,"y",l[u].top-a.top),c[u].setAttributeNS(null,"width",l[u].width),c[u].setAttributeNS(null,"height",l[u].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){var t,n,r=e.target;function o(t){var n=r.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}r.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(t=e.target,(n=o(e)).x-=parseFloat(t.getAttributeNS(null,"x")),n.y-=parseFloat(t.getAttributeNS(null,"y")))})),r.addEventListener("mousemove",(function(e){if(t){var r=o(e);t.setAttributeNS(null,"x",r.x-n.x),t.setAttributeNS(null,"y",r.y-n.y),dphelper.svg.update()}})),r.addEventListener("mouseup",(function(e){t=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))}},dphelper.svg.check()},82:()=>{dphelper._list.scripts.push({name:"Text",description:"test",version:"0.0.1",command:"text",subCommand:[{name:"capitalize",description:"test"},{name:"lower",description:"test"},{name:"upper",description:"test"},{name:"nl2br",description:"test"},{name:"camelCase",description:"test",subCommand:[{name:"toSpace",description:"test",subCommand:[]},{name:"toUnderscore",description:"test",subCommand:[]}]}],example:"",author:"Dario Passariello",active:!0}),dphelper.text={capitalize:function(e){return e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()}))},lower:function(e){return e.toLowerCase()},upper:function(e){return e.toUpperCase()},nl2br:function(e){return e.replace(/(?:\r\n|\r|\n)/g,"<br>")},camelCase:{toSpace:function(e){return e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()}))},toUnderscore:function(e){return e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}}}},620:()=>{dphelper._list.scripts.push({name:"Time",description:"test",version:"0.0.1",command:"time",subCommand:[{name:"epoch",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.time={epoch:function(){return(new Date).getTime()}}},240:()=>{dphelper._list.scripts.push({name:"Timer",description:"test",version:"0.0.1",command:"timer",subCommand:[{name:"sleep",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.timer={sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))}}},162:()=>{dphelper._list.scripts.push({name:"Mixed tools",description:"test",version:"0.0.1",command:"tools",subCommand:[{name:"uuid",description:"test",subCommand:[{name:"v5",description:"test",example:"dphelper.tools.uuid.v5"}]}],example:"",author:"Dario Passariello",active:!0}),dphelper.tools={uuid:{v5:function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^16*Math.random()>>e/4).toString(16)}))}}}},866:()=>{dphelper._list.scripts.push({name:"Triggers",description:"test",version:"0.0.1",command:"trigger",subCommand:[{name:"click",description:"test"},{name:"change",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.trigger={click:function(e){var t=document.querySelector(e);t&&t.click()},change:function(e){var t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,t.dispatchEvent(n)}}},303:(e,t,n)=>{"use strict";n.r(t);var r=n(2);dphelper._list.scripts.push({name:"Type",description:"test",version:"0.0.1",command:"type",subCommand:[{name:"of",description:"test"},{name:"instOfObj",description:"test"},{name:"isNaN",description:"test"},{name:"isPrime",description:"test"},{name:"isBool",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.type={of:function(e){return(0,r.Z)(e)},instOfObj:function(e){return e instanceof Object},isNaN:function(e){return function(t){return!e(t)}},isPrime:function(e){for(var t=parseInt(e/2,10),n=!0;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:function(e){return!e||null==e.length||"1"===e}}},976:()=>{dphelper._list.scripts.push({name:"Window Options",description:"test",version:"0.0.1",command:"window",example:"",author:"Dario Passariello",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge",type:"function",active:!0,description:"Purge from memory",subCommand:[]}]}),dphelper.window={enhancement:function(){window.offScreenBuffering="auto",window.status="",window.defaultStatus="",window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:function(e){var t=e.url,n=e.title,r=(e.name,e.w),o=e.h,i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,l=s/window.screen.availWidth,u=(s-r)/2/l+i,p=(c-o)/2/l+a,d=window.open(t,n,"\n scrollbars=yes,\n width=".concat(r/l,",\n height=").concat(o/l,",\n top=").concat(p,",\n left=").concat(u,"\n "));window.focus&&d.focus()},onBeforeUnLoad:function(){var e=!1,t=null,n="You have made some changes which you might want to save.",r=!1,o=(document.querySelector("#save_button"),function(e){return e.preventDefault(),n}),i=document.querySelector("#name");i&&i.addEventListener("input",(function(e){""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));var a=function(t){if(("textarea"===t.target.type||"input"===t.target.type)&&!1===e)return e=!0};document.body.addEventListener("keyup",a);!1===r&&(document.body.addEventListener("click",(function(r){if("IMG"===r.target.tagName&&!0===e){if(!0===(t=confirm(n)))return e=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(function(r){if(!0===e)return!0===(t=confirm(n))?e=!1:(r.stopImmediatePropagation(),r.preventDefault(),n)})),window.onbeforeunload=function(r){if(!0===e&&null===t)return r.preventDefault(),r.returnValue=n}},purge:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;setTimeout((function(){if(void 0===e)return null;var t,n,r,o=e.attributes;if(o)for(n=o.length,t=0;t<n;t+=1)r=o[t].name,"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null);if(o=e.childNodes)for(n=o.length,t=0;t<n;t+=1)Purge(e.childNodes[t])}),t)}}},861:(e,t,n)=>{"undefined"==typeof window&&(n.g.window={}),window.$=window.jQuery=n(755),window.dphelper=window.dphelper||{},window._dph=window._dph||{}},755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},l=i.push,u=i.indexOf,p={},d=p.toString,f=p.hasOwnProperty,h=f.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var T="3.6.0",S=function(e,t){return new S.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:T,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:i.sort,splice:i.splice},S.extend=S.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||S.isPlainObject(n)?n:{},o=!1,a[t]=S.extend(l,i,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(T+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(j(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?S.merge(n,"string"==typeof e?[e]:e):l.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(j(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=i[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var k=function(e){var t,n,r,o,i,a,s,c,l,u,p,d,f,h,m,g,v,y,b,x="sizzle"+1*new Date,w=e.document,C=0,T=0,S=ce(),j=ce(),k=ce(),D=ce(),A=function(e,t){return e===t&&(p=!0),0},E={}.hasOwnProperty,N=[],L=N.pop,q=N.push,O=N.push,P=N.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},H="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",_="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",R="\\[[\\x20\\t\\r\\n\\f]*("+_+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+_+"))|)"+I+"*\\]",F=":("+_+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",$=new RegExp(I+"+","g"),B=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(I+"|>"),X=new RegExp(F),Y=new RegExp("^"+_+"$"),Z={ID:new RegExp("^#("+_+")"),CLASS:new RegExp("^\\.("+_+")"),TAG:new RegExp("^("+_+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+H+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},V=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{O.apply(N=P.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){O={apply:N.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,l,u,p,h,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||f,m)){if(11!==w&&(p=Q.exec(e)))if(i=p[1]){if(9===w){if(!(l=t.getElementById(i)))return r;if(l.id===i)return r.push(l),r}else if(y&&(l=y.getElementById(i))&&b(t,l)&&l.id===i)return r.push(l),r}else{if(p[2])return O.apply(r,t.getElementsByTagName(e)),r;if((i=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!D[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(U.test(e)||z.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=x)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+be(h[s]);v=h.join(",")}try{return O.apply(r,y.querySelectorAll(v)),r}catch(t){D(e,!0)}finally{u===x&&t.removeAttribute("id")}}}return c(e.replace(B,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[x]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;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 he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!V.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!i(f),w!=f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(f.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=K.test(f.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+H+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",F)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return p=!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==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:u?M(u,e)-M(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==f?-1:t==f?1:o?-1:i?1:u?M(u,e)-M(u,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!D[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){D(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&E.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(p=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(A),p){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:le,match:Z,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+I+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var l,u,p,d,f,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(g){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(f=(l=(u=(p=(d=g)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&l[1])&&l[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){u[e]=[C,f,b];break}}else if(y&&(b=f=(l=(u=(p=(d=t)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&l[1]),!1===b)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&((u=(p=d[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[C,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=M(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:le((function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[x]?le((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:le((function(e){return function(t){return se(e,t).length>0}})),contains:le((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:le((function(e){return Y.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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 G.test(e.nodeName)},input:function(e){return J.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:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=T++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var l,u,p,d=[C,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(p=t[x]||(t[x]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=u[i])&&l[0]===C&&l[1]===s)return d[2]=l[2];if(u[i]=d,d[2]=e(t,n,c))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Ce(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,l=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),l&&t.push(s)));return a}function Te(e,t,n,r,o,i){return r&&!r[x]&&(r=Te(r)),o&&!o[x]&&(o=Te(o,i)),le((function(i,a,s,c){var l,u,p,d=[],f=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:Ce(m,d,e,s,c),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,c),r)for(l=Ce(v,f),r(l,[],s,c),u=l.length;u--;)(p=l[u])&&(v[f[u]]=!(g[f[u]]=p));if(i){if(o||e){if(o){for(l=[],u=v.length;u--;)(p=v[u])&&l.push(g[u]=p);o(null,v=[],l,c)}for(u=v.length;u--;)(p=v[u])&&(l=o?M(i,p):d[u])>-1&&(i[l]=!(a[l]=p))}}else v=Ce(v===a?v.splice(h,v.length):v),o?o(null,a,v,c):O.apply(a,v)}))}function Se(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,u=xe((function(e){return e===t}),s,!0),p=xe((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==l)||((t=n).nodeType?u(e,n,r):p(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])d=[xe(we(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Te(c>1&&we(d),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(B,"$1"),n,c<o&&Se(e.slice(c,o)),o<i&&Se(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,l,u=j[e+" "];if(u)return t?0:u.slice(0);for(s=e,c=[],l=r.preFilter;s;){for(a in n&&!(o=W.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=z.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(B," ")}),s=s.slice(n.length)),r.filter)!(o=Z[a].exec(s))||l[a]&&!(o=l[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):j(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=k[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[x]?o.push(s):i.push(s);s=k(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,u){var p,h,g,v=0,y="0",b=i&&[],x=[],w=l,T=i||o&&r.find.TAG("*",u),S=C+=null==w?1:Math.random()||.1,j=T.length;for(u&&(l=a==f||a||u);y!==j&&null!=(p=T[y]);y++){if(o&&p){for(h=0,a||p.ownerDocument==f||(d(p),s=!m);g=e[h++];)if(g(p,a||f,s)){c.push(p);break}u&&(C=S)}n&&((p=!g&&p)&&v--,i&&b.push(p))}if(v+=y,n&&y!==v){for(h=0;g=t[h++];)g(b,x,a,s);if(i){if(v>0)for(;y--;)b[y]||x[y]||(x[y]=L.call(c));x=Ce(x)}O.apply(c,x),u&&!i&&x.length>0&&v+t.length>1&&se.uniqueSort(c)}return u&&(C=S,l=w),b};return n?le(i):i}(i,o)),s.selector=e}return s},c=se.select=function(e,t,n,o){var i,c,l,u,p,d="function"==typeof e&&e,f=!o&&a(e=d.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(l=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=Z.needsContext.test(e)?0:c.length;i--&&(l=c[i],!r.relative[u=l.type]);)if((p=r.find[u])&&(o=p(l.matches[0].replace(te,ne),ee.test(c[0].type)&&ve(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return O.apply(n,o),n;break}}return(d||s(e,f))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!p,d(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("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="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||pe(H,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);S.find=k,S.expr=k.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=k.uniqueSort,S.text=k.getText,S.isXMLDoc=k.isXML,S.contains=k.contains,S.escapeSelector=k.escape;var D=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&S(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=S.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function q(e,t,n){return v(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return u.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<r;t++)if(S.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,o[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(q(this,e||[],!1))},not:function(e){return this.pushStack(q(this,e||[],!0))},is:function(e){return!!q(this,"string"==typeof e&&E.test(e)?S(e):e||[],!1).length}});var O,P=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||O,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:P.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),L.test(r[1])&&S.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,O=S(b);var M=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&S(e);if(!E.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?S.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(S(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(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return D(e,"parentNode")},parentsUntil:function(e,t,n){return D(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return D(e,"nextSibling")},prevAll:function(e){return D(e,"previousSibling")},nextUntil:function(e,t,n){return D(e,"nextSibling",n)},prevUntil:function(e,t,n){return D(e,"previousSibling",n)},siblings:function(e){return A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var o=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=S.filter(r,o)),this.length>1&&(H[e]||S.uniqueSort(o),M.test(e)&&o.reverse()),this.pushStack(o)}}));var _=/[^\x20\t\r\n\f]+/g;function R(e){return e}function F(e){throw e}function $(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(_)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},l={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){S.each(n,(function(n,r){v(r)?e.unique&&l.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return S.each(arguments,(function(e,t){for(var n;(n=S.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,l=function(){var r,l;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?o?l.call(r,a(i,t,R,o),a(i,t,F,o)):(i++,l.call(r,a(i,t,R,o),a(i,t,F,o),a(i,t,R,t.notifyWith))):(n!==R&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},u=o?l:function(){try{l()}catch(r){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(r,u.stackTrace),e+1>=i&&(n!==F&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?u():(S.Deferred.getStackHook&&(u.stackTrace=S.Deferred.getStackHook()),r.setTimeout(u))}}return S.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:R,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:R)),t[2][3].add(a(0,r,v(n)?n:F))})).promise()},promise:function(e){return null!=e?S.extend(e,o):o}},i={};return S.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=S.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&($(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)$(o[n],a(n),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&B.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var W=S.Deferred();function z(){b.removeEventListener("DOMContentLoaded",z),r.removeEventListener("load",z),S.ready()}S.fn.ready=function(e){return W.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||W.resolveWith(b,[S]))}}),S.ready.then=W.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",z),r.addEventListener("load",z));var U=function(e,t,n,r,o,i,a){var s=0,c=e.length,l=null==n;if("object"===C(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:l?t.call(e):c?t(e[0],n):i},X=/^-ms-/,Y=/-([a-z])/g;function Z(e,t){return t.toUpperCase()}function V(e){return e.replace(X,"ms-").replace(Y,Z)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[V(t)]=n;else for(r in t)o[V(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(_)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var K=new G,Q=new G,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Q.get(i),1===i.nodeType&&!K.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=V(r.slice(5)),ne(i,r,o[r]));K.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Q.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Q.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,o=n.shift(),i=S._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){S.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:S.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=S.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return S.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var le=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===S.css(e,"display")};function ue(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},c=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),u=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+c)&&oe.exec(S.css(e,t));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;a--;)S.style(e,t,u+l),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),u/=i;u*=2,S.style(e,t,u+l),n=n||[]}return n&&(u=+u||+c||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=o)),o}var pe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=pe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=S.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),pe[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=K.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&le(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",K.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}S.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){le(this)?S(this).show():S(this).hide()}))}});var he,me,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?S.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,g.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function Te(e,t,n,r,o){for(var i,a,s,c,l,u,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===C(i))S.merge(d,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(ve.exec(i)||["",""])[1].toLowerCase(),c=be[s]||be._default,a.innerHTML=c[1]+S.htmlPrefilter(i)+c[2],u=c[0];u--;)a=a.lastChild;S.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",f=0;i=d[f++];)if(r&&S.inArray(i,r)>-1)o&&o.push(i);else if(l=se(i),a=xe(p.appendChild(i),"script"),l&&we(a),n)for(u=0;i=a[u++];)ye.test(i.type||"")&&n.push(i);return p}var Se=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function ke(){return!1}function De(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=ke;else if(!o)return e;return 1===i&&(a=o,o=function(e){return S().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,o,r,n)}))}function Ee(e,t,n){n?(K.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=K.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),K.set(this,t,i),r=n(this,t),this[t](),i!==(o=K.get(this,t))||r?K.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(K.set(this,t,{value:S.event.trigger(S.extend(i[0],S.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&S.event.add(e,t,je)}S.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,f,h,m,g=K.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&S.find.matchesSelector(ae,o),n.guid||(n.guid=S.guid++),(c=g.events)||(c=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(_)||[""]).length;l--;)f=m=(s=Se.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=S.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=S.event.special[f]||{},u=S.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=c[f])||((d=c[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),S.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,l,u,p,d,f,h,m,g=K.hasData(e)&&K.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(_)||[""]).length;l--;)if(f=m=(s=Se.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=S.event.special[f]||{},d=c[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)u=d[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(i,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,g.handle)||S.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)S.event.remove(e,f+t[l],n,r,!0);S.isEmptyObject(c)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=S.event.fix(e),l=(K.get(this,"events")||Object.create(null))[c.type]||[],u=S.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(a=S.event.handlers.call(this,c,l),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((S.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,l=e.target;if(c&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?S(o,this).index(l)>-1:S.find(o,this,null,[l]).length),a[o]&&i.push(r);i.length&&s.push({elem:l,handlers:i})}return l=this,c<t.length&&s.push({elem:l,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&N(t,"input")&&Ee(t,"click",je),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&N(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&N(t,"input")&&K.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?je:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=je,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return Ee(this,e,De),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||S.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each((function(){S.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Oe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Me(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function He(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)S.event.add(t,o,s[o][n]);Q.hasData(e)&&(i=Q.access(e),a=S.extend({},i),Q.set(t,a))}}function Ie(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function _e(e,t,n,r){t=c(t);var o,i,a,s,l,u,p=0,d=e.length,f=d-1,h=t[0],m=v(h);if(m||d>1&&"string"==typeof h&&!g.checkClone&&Le.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),_e(i,t,n,r)}));if(d&&(i=(o=Te(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=S.map(xe(o,"script"),Pe)).length;p<d;p++)l=o,p!==f&&(l=S.clone(l,!0,!0),s&&S.merge(a,xe(l,"script"))),n.call(e[p],l,p);if(s)for(u=a[a.length-1].ownerDocument,S.map(a,Me),p=0;p<s;p++)l=a[p],ye.test(l.type||"")&&!K.access(l,"globalEval")&&S.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&!l.noModule&&S._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(qe,""),l,u))}return e}function Re(e,t,n){for(var r,o=t?S.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||S.cleanData(xe(r)),r.parentNode&&(n&&se(r)&&we(xe(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=xe(s),r=0,o=(i=xe(e)).length;r<o;r++)Ie(i[r],a[r]);if(t)if(n)for(i=i||xe(e),a=a||xe(s),r=0,o=i.length;r<o;r++)He(i[r],a[r]);else He(e,s);return(a=xe(s,"script")).length>0&&we(a,!c&&xe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=S.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)o[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return U(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return _e(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Oe(this,e).appendChild(e)}))},prepend:function(){return _e(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Oe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return _e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return _e(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!be[(ve.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return _e(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,r=[],o=S(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),S(o[a])[t](n),l.apply(r,n.get());return this.pushStack(r)}}));var Fe=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},Be=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},We=new RegExp(ie.join("|"),"i");function ze(e,t,n){var r,o,i,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=S.style(e,t)),!g.pixelBoxStyles()&&Fe.test(a)&&We.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(l).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,c=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ae.removeChild(l),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Xe=["Webkit","Moz","ms"],Ye=b.createElement("div").style,Ze={};function Ve(e){var t=S.cssProps[e]||Ze[e];return t||(e in Ye?e:Ze[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Xe.length;n--;)if((e=Xe[n]+t)in Ye)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=S.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=S.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=S.css(e,"border"+ie[a]+"Width",!0,o))):(c+=S.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=S.css(e,"border"+ie[a]+"Width",!0,o):s+=S.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function nt(e,t,n){var r=$e(e),o=(!g.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),i=o,a=ze(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Fe.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===S.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ze(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=V(t),c=Ge.test(t),l=e.style;if(c||(t=Ve(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var o,i,a,s=V(t);return Ge.test(t)||(t=Ve(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=ze(e,t,r)),"normal"===o&&t in Qe&&(o=Qe[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):Be(e,Ke,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=$e(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===S.css(e,"boxSizing",!1,i),c=r?tt(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),et(0,n,c)}}})),S.cssHooks.marginLeft=Ue(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(ze(e,"marginLeft"))||e.getBoundingClientRect().left-Be(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(S.cssHooks[e+t].set=et)})),S.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=$e(e),o=t.length;a<o;a++)i[t[a]]=S.css(e,t[a],!1,r);return i}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(S.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=rt.prototype.init,S.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,S.fx.interval),S.fx.tick())}function lt(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function ut(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=S.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=ot||lt(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),i=0,a=l.tweens.length;i<a;i++)l.tweens[i].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||lt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),u=l.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=V(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,l.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(l,e,u,l.opts))return v(r.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return S.map(u,pt,l),v(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(c,{elem:e,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(_);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,l,u,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&le(e),g=K.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}f[r]=g&&g[r]||S.style(e,r)}if((c=!S.isEmptyObject(t))||!S.isEmptyObject(f))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=K.get(e,"display")),"none"===(u=S.css(e,"display"))&&(l?u=l:(fe([e],!0),l=e.style.display||l,u=S.css(e,"display"),fe([e]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===S.css(e,"float")&&(c||(d.done((function(){h.display=l})),null==l&&(u=h.display,l="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,f)c||(g?"hidden"in g&&(m=g.hidden):g=K.access(e,"fxshow",{display:l}),i&&(g.hidden=!m),m&&fe([e],!0),d.done((function(){for(r in m||fe([e]),K.remove(e,"fxshow"),f)S.style(e,r,f[r])}))),c=pt(m?g[r]:0,r,d),r in g||(g[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(le).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=S.isEmptyObject(e),i=S.speed(t,n,r),a=function(){var t=dt(this,S.extend({},e),i);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=S.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=K.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,o)}})),S.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),ot=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){it||(it=!0,ct())},S.fx.stop=function(){it=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ft,ht=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return U(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?S.prop(e,t,n):(1===i&&S.isXMLDoc(e)||(o=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(_);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||S.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var mt=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(_)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(_)||[]}S.fn.extend({prop:function(e,t){return U(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&S.isXMLDoc(e)||(t=S.propFix[t]||t,o=S.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,c=0;if(v(e))return this.each((function(t){S(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+vt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(v(e))return this.each((function(t){S(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+vt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):v(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=S(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+vt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,S(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=S.map(o,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(xt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:vt(S.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=S.makeArray(t),a=o.length;a--;)((r=o[a]).selected=S.inArray(S.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,o){var i,a,s,c,l,u,p,d,h=[n||b],m=f.call(e,"type")?e.type:e,g=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),l=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),p=S.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(c=p.delegateType||m,wt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?c:p.bindType||m,(u=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&u.apply(a,t),(u=l&&a[l])&&u.apply&&J(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!J(n)||l&&v(n[m])&&!y(n)&&((s=n[l])&&(n[l]=null),S.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Ct),S.event.triggered=void 0,s&&(n[l]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t);o||r.addEventListener(e,n,!0),K.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t)-1;o?K.access(r,t,o):(r.removeEventListener(e,n,!0),K.remove(r,t))}}}));var Tt=r.location,St={guid:Date.now()},jt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var kt=/\[\]$/,Dt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var o;if(Array.isArray(t))S.each(t,(function(t,o){n||kt.test(e)?r(e,o):Nt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Nt(e+"["+o+"]",t[o],n,r)}S.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){o(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,o);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Et.test(this.nodeName)&&!At.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}})):{name:t.name,value:n.replace(Dt,"\r\n")}})).get()}});var Lt=/%20/g,qt=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Mt=/^(?:GET|HEAD)$/,Ht=/^\/\//,It={},_t={},Rt="*/".concat("*"),Ft=b.createElement("a");function $t(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(_)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Bt(e,t,n,r){var o={},i=e===_t;function a(s){var c;return o[s]=!0,S.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||i||o[l]?i?!(c=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Wt(e,t){var n,r,o=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Ft.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Rt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,S.ajaxSettings),t):Wt(S.ajaxSettings,e)},ajaxPrefilter:$t(It),ajaxTransport:$t(_t),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,l,u,p,d,f=S.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?S(h):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),y=f.statusCode||{},x={},w={},C="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Pt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return l?i:null},setRequestHeader:function(e,t){return null==l&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==l&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)T.always(e[T.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||C;return n&&n.abort(t),j(0,t),this}};if(g.promise(T),f.url=((e||f.url||Tt.href)+"").replace(Ht,Tt.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(_)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=S.param(f.data,f.traditional)),Bt(It,f,t,T),l)return T;for(p in(u=S.event&&f.global)&&0==S.active++&&S.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Mt.test(f.type),o=f.url.replace(qt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Lt,"+")):(d=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(jt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Ot,"$1"),d=(jt.test(o)?"&":"?")+"_="+St.guid+++d),f.url=o+d),f.ifModified&&(S.lastModified[o]&&T.setRequestHeader("If-Modified-Since",S.lastModified[o]),S.etag[o]&&T.setRequestHeader("If-None-Match",S.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Rt+"; q=0.01":""):f.accepts["*"]),f.headers)T.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,T,f)||l))return T.abort();if(C="abort",v.add(f.complete),T.done(f.success),T.fail(f.error),n=Bt(_t,f,t,T)){if(T.readyState=1,u&&m.trigger("ajaxSend",[T,f]),l)return T;f.async&&f.timeout>0&&(s=r.setTimeout((function(){T.abort("timeout")}),f.timeout));try{l=!1,n.send(x,j)}catch(e){if(l)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,a,c){var p,d,b,x,w,C=t;l||(l=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",T.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,T,a)),!p&&S.inArray("script",f.dataTypes)>-1&&S.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,l={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=u.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=l[c+" "+i]||l["* "+i]))for(o in l)if((s=o.split(" "))[1]===i&&(a=l[c+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[o]:!0!==l[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(f,x,T,p),p?(f.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(S.lastModified[o]=w),(w=T.getResponseHeader("etag"))&&(S.etag[o]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=x.state,d=x.data,p=!(b=x.error))):(b=C,!e&&C||(C="error",e<0&&(e=0))),T.status=e,T.statusText=(t||C)+"",p?g.resolveWith(h,[d,C,T]):g.rejectWith(h,[T,C,b]),T.statusCode(y),y=void 0,u&&m.trigger(p?"ajaxSuccess":"ajaxError",[T,f,p?d:b]),v.fireWith(h,[T,C]),u&&(m.trigger("ajaxComplete",[T,f]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:o,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Ut=S.ajaxSettings.xhr();g.cors=!!Ut&&"withCredentials"in Ut,g.ajax=Ut=!!Ut,S.ajaxTransport((function(e){var t,n;if(g.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Xt=[],Yt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+St.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Yt,"$1"+o):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||S.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?S(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=Te([e],t,i),i&&i.length&&S(i).remove(),S.merge([],o.childNodes)));var r,o,i},S.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&S.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,l=S.css(e,"position"),u=S(e),p={};"static"===l&&(e.style.position="relative"),s=u.offset(),i=S.css(e,"top"),c=S.css(e,"left"),("absolute"===l||"fixed"===l)&&(i+c).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),v(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):u.css(p)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),o.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-S.css(r,"marginTop",!0),left:t.left-o.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||ae}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=Ue(g.pixelPosition,(function(e,n){if(n)return n=ze(e,t),Fe.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){S.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?S.css(t,n,s):S.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Zt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||S.guid++,o},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=N,S.isFunction=v,S.isWindow=y,S.camelCase=V,S.type=C,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Zt,"")},void 0===(n=function(){return S}.apply(t,[]))||(e.exports=n);var Vt=r.jQuery,Jt=r.$;return S.noConflict=function(e){return r.$===S&&(r.$=Jt),e&&r.jQuery===S&&(r.jQuery=Vt),S},void 0===o&&(r.jQuery=r.$=S),S}))},544:(e,t,n)=>{var r={"./anchor":14,"./anchor.js":14,"./array":134,"./array.js":134,"./avoid":586,"./avoid.js":586,"./browser":108,"./browser.js":108,"./console":603,"./console.js":603,"./coodinates":862,"./coodinates.js":862,"./cookie":415,"./cookie.js":415,"./currency":604,"./currency.js":604,"./date":8,"./date.js":8,"./disable":556,"./disable.js":556,"./event":445,"./event.js":445,"./font":897,"./font.js":897,"./form":210,"./form.js":210,"./function":237,"./function.js":237,"./indexedDB":399,"./indexedDB.js":399,"./json":142,"./json.js":142,"./load":680,"./load.js":680,"./number":220,"./number.js":220,"./obj":574,"./obj.js":574,"./path":983,"./path.js":983,"./promise":705,"./promise.js":705,"./screen":200,"./screen.js":200,"./scrollbar":205,"./scrollbar.js":205,"./shortcut":703,"./shortcut.js":703,"./storage":911,"./storage.js":911,"./svg":803,"./svg.js":803,"./text":82,"./text.js":82,"./time":620,"./time.js":620,"./timer":240,"./timer.js":240,"./tools":162,"./tools.js":162,"./trigger":866,"./trigger.js":866,"./type":303,"./type.js":303,"./window":976,"./window.js":976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=544},501:(e,t,n)=>{var r={"./anchor.js":14,"./array.js":134,"./avoid.js":586,"./browser.js":108,"./console.js":603,"./coodinates.js":862,"./cookie.js":415,"./currency.js":604,"./date.js":8,"./disable.js":556,"./event.js":445,"./font.js":897,"./form.js":210,"./function.js":237,"./indexedDB.js":399,"./json.js":142,"./load.js":680,"./number.js":220,"./obj.js":574,"./path.js":983,"./promise.js":705,"./screen.js":200,"./scrollbar.js":205,"./shortcut.js":703,"./storage.js":911,"./svg.js":803,"./text.js":82,"./time.js":620,"./timer.js":240,"./tools.js":162,"./trigger.js":866,"./type.js":303,"./window.js":976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=501},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},2:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},152:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},147:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"0.2.73","description":"Developer Tools","deprecated":false,"appCode":"dphelper","appCodeRelease":"dphelper","appName":"dphelper","appType":"beta","appFolder":"/","appAPI":"api","apiDev":"","apiProd":"","main":"index.js","targets":{"main":{"includeNodeModules":{"react":false,"react-dom":false},"isLibrary":true}},"engines":{"node":">=0.10.0"},"scripts":{"make-dist":"webpack --progress --color --mode production --config webpack.config.js","git":"cd node && node gitDeploy","git-tags":"git push --tags","backup":"backup.bat","goLive":"cli-confirm \\"Do you want go live?\\" && npm version patch --force && webpack --progress --color --mode production --config webpack.config.js && cd dist && npm publish"},"eslintConfig":{"globals":{"window":true}},"author":{"name":"Dario Passariello","website":"https://dario.passariello.ca","email":"dariopassariello@gmail.com"},"contributors":[{"name":"Dario Passariello","email":"dariopassariello@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"keywords":["utils","tools","uuid","random","window","store","easy","pro","powerful","passariello"],"license":"Apache-2.0","homepage":"https://github.com/passariello/dphelper","funding":[{"type":"individual","url":"https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project¤cy_code=CAD"},{"type":"patreon","url":"https://www.patreon.com/passariello"}],"repository":{"type":"git","url":"https://github.com/passariello/dpHelper","help":"https://github.com/passariello/dpHelper#readme"},"bugs":{"url":"https://github.com/passariello/dpHelper/issues"},"devDependencies":{"css-loader":"6.7.1","eslint":"8.11.0","file-loader":"6.2.0","jest":"27.5.1","less-loader":"10.2.0","sass-loader":"12.6.0","style-loader":"3.3.1","webpack-cli":"4.9.2"},"dependencies":{"@babel/plugin-proposal-class-properties":"7.16.7","@babel/plugin-transform-runtime":"7.17.0","@babel/preset-env":"7.16.11","@babel/preset-react":"7.16.7","@babel/preset-typescript":"7.16.7","@testing-library/jest-dom":"^5.16.2","@testing-library/user-event":"^13.5.0","babel-loader":"8.2.3","child_process":"1.0.2","classnames":"2.3.1","cli-confirm":"1.0.1","compression-webpack-plugin":"9.2.0","concurrently":"7.0.0","copy-webpack-plugin":"10.2.4","css":"3.0.0","dotenv":"16.0.0","fs":"0.0.1-security","html-webpack-plugin":"5.5.0","jquery":"3.6.0","jsdom-worker":"0.2.1","jshint":"^2.13.4","less":"4.1.2","moment":"2.29.1","path":"0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"17.0.2","react-dom":"17.0.2","require":"2.4.20","sass":"1.49.9","ts-jest":"27.1.3","tslint":"6.1.3","webpack":"5.70.0"}}')}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};r(851)})();
|
|
2
|
+
(()=>{var e={851:(e,t,n)=>{"use strict";n(175)},175:(e,t,n)=>{!function(){n(861);var e=n(147),t=t||event;dphelper._list=n(152),dphelper._list.scripts=[],dphelper._list.version=e.version;var r={};dphelper.api={};!function(e){e.keys().forEach((function(t){return r[t]=e(t)}))}(n(501)),console.groupCollapsed("%c".concat(e.name," v").concat(e.version,"%c"),"color:orange",""),console.debug("%c".concat(e.name," v").concat(e.version,"%c by Dario Passariello started"),"color:orange",""),console.debug("%cType ".concat(e.name," in this console to see it"),"color:gray",""),console.debug("%cFor help visit: "+e.repository.help,"color:gray",""),console.debug("name: %c"+e.name,"color:orange",""),console.debug("version: %c"+e.version,"color:orange",""),console.debug("description: %c"+e.description,"color:orange",""),console.debug("license: %c"+e.license,"color:orange",""),console.debug("repository: %c"+e.repository.url,"color:orange",""),console.debug("author: %c"+e.author.name,"color:orange",""),console.debug("email: %c"+e.author.email,"color:orange",""),console.groupEnd()}()},14:()=>{dphelper._list.scripts.push({name:"Anchor",type:"function",version:"0.0.1",command:"anchor",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",active:!0,description:"\n This tools allows you to convert all links in an element to 'onclick'.\n It allows you to avoid the message with the path relative to the requested address\n and it is very useful when you work with SPA but you want to keep even older browsers.",subCommand:[{name:"toOnClick",version:"0.0.1",example:"dphelper.anchor.toOnClick('nav') or ('.foo') or ('#foo')",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.anchor={toOnClick:function(e){$(e+" a").each((function(e){var t=$(this),n=t.attr("href");n&&t.on("mouseup",(function(){Loader("body",null)})).css("cursor","pointer").addClass(dphelper.pathRail()[3].replace(/\//g,"")).removeAttr("href").on("click",(function(){dphelper.browser.href(n),dphelper.browser.push("","",n)}))}))}}},49:(e,t,n)=>{"use strict";n.r(t);var r=n(2),o=n(982);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}dphelper._list.scripts.push({name:"Array",version:"0.0.1",command:"array",example:"",author:"Dario Passariello",creationDate:"20110101",lastMod:"20110101",type:"object",active:!0,description:"",subCommand:[{name:"find",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"unique",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"delete",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"merge",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"asc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"desc",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"duplicates",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"even",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"odd",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.array={find:function(e,t){var n,r=i(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.id===e)return o;if(o.children){var a=dphelper.array.find(e,o.children);if(a)return a}}}catch(e){r.e(e)}finally{r.f()}return!1},unique:function(e){var t=(0,o.Z)(new Set(e));return t},delete:function(e,t){t.some((function t(n,o,i){if(n.Id===e)return i.splice(o,1),!0;for(var a=0,s=Object.keys(n);a<s.length;a++){var c=n[s[a]];if(c.length&&"object"===(0,r.Z)(c))return c&&c.map(t)}}))},merge:function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];e[o]instanceof Object&&t[o]&&Object.assign(e[o],dphelper.mergeArrays(t[o],e[o]))}return Object.assign(t||{},e),t},asc:function(e){return e.sort((function(e,t){return e-t})),e},desc:function(e){return e.sort((function(e,t){return t-e})),e},duplicates:function(e){var t;return(t=e).filter((function(e,n){return t.indexOf(e)!==n}))},even:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2==0&&t.push(e[n]);return t},odd:function(e){for(var t=[],n=0;n<e.length;n++)e[n]%2&&t.push(e[n]);return t}}},586:()=>{dphelper._list.scripts.push({name:"Avoid",description:"",version:"0.0.1",command:"avoid",subCommand:[{name:"cache",version:"0.0.1",example:"dphelper.avoid.cache",type:"function",active:!0,description:"test",subCommand:[]}],example:"",author:"Dario Passariello",active:!0}),dphelper.avoid={cache:function(e){return e.concat(/\?/.test(e)?"&":"?","t=",dphelper.rnd())}}},108:()=>{dphelper._list.scripts.push({name:"Browser",version:"0.0.1",command:"browser",author:"Dario Passariello",active:!0,example:"",type:"object",description:"test",subCommand:[{name:"state",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"forw",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"back",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"reload",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]},{name:"href",version:"0.0.1",example:"",type:"function",active:!0,description:"test",subCommand:[]}]}),dphelper.browser={state:function(e,t,n){return history.pushState(e,t,n)},forw:function(e){return history.go(e)},back:function(e){return history.go(-Math.abs(e))},reload:function(){return window.location.href=window.location.href},href:function(e){return window.location.href=e}}},603:()=>{dphelper._list.scripts.push({name:"Console",description:"",version:"0.0.1",command:"console",subCommand:[{name:"info",description:"test"},{name:"stop",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.printInfo=function(){return console.debug('dpHelper: Please use "dphelper.path.rail()"'),dphelper.console.info()},dphelper.console={info:function(){console.groupCollapsed("%cApi:%c","color:orange",""),console.debug(dphelper.api),console.groupEnd()},stop:function(){var e={log:function(){}};window.console=e,window.console||(window.console={});var t=function(){};["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeline","timelineEnd","timeStamp","trace","warn"].forEach((function(e){window.console[e]=t}))}}},955:()=>{dphelper._list.scripts.push({name:"Coords",description:"",version:"0.0.1",command:"coords",subCommand:[{name:"degreesToRadians",description:"test"},{name:"latToMeters",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e=6378.1;dphelper.coords={degreesToRadians:function(e){return e*(Math.PI/180)},latToMeters:function(t,n){return e*Math.cos(t)*Math.cos(n)},lngToMeters:function(t,n){return e*Math.cos(t)*Math.sin(n)}}},415:()=>{dphelper._list.scripts.push({name:"Cookie",description:"",version:"0.0.1",command:"cookie",subCommand:[{name:"set",description:"test"},{name:"get",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0});var e="false";"https:"===location.protocol&&(e="Secure"),dphelper.cookie={set:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",i=new Date;i.setTime(i.getTime()+31536e6),r||(r=i.toGMTString()),t&&(document.cookie=t+"="+n+";expires="+r+";path="+o+";SameSite="+"false;requireSSL="+e+";"+e)},get:function(e){for(var t=document.cookie.split("; "),n=0;n<t.length;n++){var r=t[n].split("=");if(e===r[0])return unescape(r[1])}return null},delete:function(t){document.cookie=t+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;path=/;SameSite="+"false;requireSSL="+e+";"+e},clearAll:function(){for(var e=document.cookie.split(";"),t=0;t<e.length;t++){var n=e[t],r=n.indexOf("="),o=r>-1?n.slice(0,r):n;stpro.cookie.delete(o)}}},dphelper.cookie.set("dpHelper","active")},8:()=>{dphelper._list.scripts.push({name:"Date",description:"",version:"0.0.1",command:"date",subCommand:[{name:"toIso",description:"test"},{name:"toMMDDYYYY",description:"test"},{name:"convert",description:"test"},{name:"iso2Epoch",description:"test"},{name:"localIsoTime",description:"test"},{name:"utc",description:"test"},{name:"parse",description:"test"},{name:"year",description:"actual year"}],example:"",author:"Dario Passariello",active:!0}),dphelper.date={toIso:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en";e||(e="");var n=new Date(e);if("Invalid Date"==n)return null;var r=new Intl.DateTimeFormat(t,{year:"numeric",month:"long",day:"numeric"});return r.format(n)},toMMDDYYYY:function(e){e||(e="");var t=new Date(e);return("0"+(t.getMonth()+1)).slice(-2)+""+("0"+t.getDate()).slice(-2)+t.getFullYear()},convert:function(e,t){if(t||(t=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),!e)return null;var n=t,r=e.substring(0,2).replace("0",""),o=e.substring(2,4),i=e.substring(e.length-4);return o+" "+n[Number(r)-1]+" "+i},iso2Epoch:function(e){return e||(e=""),new Date(e).getTime()},localIsoTime:function(e){e||(e="");var t=6e4*new Date(e).getTimezoneOffset();return new Date(Date.now()-t).toISOString().slice(0,-1)},utc:function(){return moment().toISOString()},parse:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";if(!e)return null;var n=e.substring(0,2),r=e.substring(2,4),o=e.substring(4,8);return n+t+r+t+o},year:function(){return/\d{4}/.exec(Date())[0]}}},556:(e,t,n)=>{dphelper._list.scripts.push({name:"Disable",description:"",version:"0.0.1",command:"disable",subCommand:[{name:"select",description:"test"},{name:"spellCheck",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.disable={select:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body",t=(n(755),t||event),r=function(e){var t=n(755);t(e).each((function(e){t(this).prop("unselectable","on").css("MozUserSelect","none").css("WebKitUserSelect","none").on("select",(function(){return!1})).on("selectstart",(function(){return!1})),t("img, a, input, button").on("dragstart",(function(e){return e.preventDefault(),!1}))}))};document.querySelector(e).addEventListener("mousedown",(function(t){r(e)}),!1),document.querySelector(e).onmousedown=function(t){r(e)},console.debug("%cSelection Disabled:%c true","color:gray","")},spellCheck:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5e3;setInterval((function(){for(var e=document.querySelectorAll("input[type=text], textarea, code"),t=0;t<e.length;t++)e[t].getAttribute("spellcheck")||e[t].setAttribute("spellcheck","false")}),e)}}},638:()=>{},445:()=>{dphelper._list.scripts.push({name:"Event",description:"",version:"0.0.1",command:"event",subCommand:[{name:"multi",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.event={multi:function(e,t,n){for(var r=t.split(" "),o=0,i=r.length;o<i;++o)e.addEventListener(r[o],n,!1)}}},897:()=>{dphelper._list.scripts.push({name:"Font",description:"",version:"0.0.1",command:"font",subCommand:[{name:"fitContainer",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.font={fitContainer:function(e){e&&dphelper.addListenerMulti(window,"load resize",(function(){!function(){var t=document.querySelectorAll(e);if(!(t.length<=0))for(var n=0;n<t.length;n++){var r=.05*t[n].offsetWidth;t[n].style.fontSize=r+"px"}}()}))}}},210:function(e,t,n){var r=this;dphelper._list.scripts.push({name:"Form",description:"",version:"0.0.1",command:"form",subCommand:[{name:"serialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.form={serialize:function(e){var t=n(755),o=r,i=o,a={},s={},c={validate:/[a-zA-Z][a-zA-Z0-9-_.]/,key:/[a-zA-Z0-9_]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_]+$/};return o.build=function(e,t,n){return e[t]=isNaN(n)||Array.isArray(n)?n:Number(n),e},o.push_counter=function(e){return void 0===s[e]&&(s[e]=0),s[e]++},t.each(t(o).serializeArray(),(function(){if(c.validate.test(o.name)){var e,n=o.name.match(c.key),r=o.value,s=o.name;for("false"===r&&(r=Boolean(!1)),"true"===r&&(r=Boolean(!0)),"off"===r&&(r=Boolean(!1)),"on"===r&&(r=Boolean(!0)),"[]"===r&&(r=[]),"{}"===r&&(r={}),"undefined"===r&&(r=void 0),"null"===r&&(r=null),""===r&&(r="");void 0!==(e=n.pop());)s=s.replace(new RegExp("\\["+e+"\\]$"),""),e.match(c.push)?r=i.build([],i.push_counter(s),r):e.match(c.fixed)?r=i.build([],e,r):e.match(c.named)&&(r=i.build({},e,r));a=t.extend(!0,a,r)}})),a}}},361:()=>{dphelper._list.scripts.push({name:"Format",description:"",version:"0.0.1",command:"cormat",subCommand:[{name:"convert",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.format={currency:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"USD";e&&!isNaN(e)||(e=0);var r=new Intl.NumberFormat(t,{style:"currency",currency:n});return r.format(e)}}},237:()=>{dphelper._list.scripts.push({name:"Func",description:"",version:"0.0.1",command:"func",subCommand:[{name:"new",description:"test"},{name:"toObj.set",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.func={new:function(e,t){args=[e,"return"+t],myFunc=Function.apply(null,args)},toObj:{set:function(e,t){return[e,t]}}}},553:(e,t,n)=>{"use strict";n.r(t);var r=n(982),o=n(531);var i,a;dphelper._list.scripts.push({name:"iDB",description:"The indexedDB Manager Tools",version:"0.0.1",command:"iDB",subCommand:[{name:"create",description:""},{name:"open",description:""},{name:"store",description:""},{name:"insert",description:""},{name:"update",description:""},{name:"get",description:""},{name:"list",description:"/documents/iDB/list.html"},{name:"toState",description:"/documents/iDB/toState.html"},{name:"version",description:""},{name:"size",description:""},{name:"exist",description:""},{name:"getTableSize",description:""},{name:"getDbSize",description:""},{name:"printTableInfo",description:""},{name:"printSizes",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.iDB={create:function(e,t){var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){return console.debug(e,"Database create error: "+e.target.errorCode),!1},n.onsuccess=function(n){var r=n.target.result,o=r.version;(r.close(),void 0===dphelper.iDB.version(e))&&(window.indexedDB.open(e,o+1).onupgradeneeded=function(e){var n=e.target.result;0==n.objectStoreNames.length&&(n.createObjectStore(t,{keyPath:"id",autoIncrement:!0}).createIndex("id","id",{unique:!0}),n.close())});dphelper.iDB.refresh()}},open:function(e){if(dphelper.iDB.exist(e)){window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB||(console.debug("Your browser doesn't support a skey version of IndexedDB. Such and such feature will not be available."),console.debug("Something went badly wrong with your indexedDB!"));var t=window.indexedDB.open(e,dphelper.iDB.version(e));return t.onsuccess=function(e){dphelper.iDB.refresh()},t.onerror=function(e){console.debug("Database open error: "+e.target.errorCode)},t}},insert:function(e,t,n){if(dphelper.iDB.exist(e)){var r=window.indexedDB.open(e,dphelper.iDB.version(e));r.onerror=function(e){console.debug(e,"Database insert error: "+e.target.errorCode)},r.onsuccess=function(e){try{var r=e.target.result;r.transaction([t],"readwrite").objectStore(t).add({value:n}),r.close(),dphelper.iDB.refresh()}catch(e){console.debug(e,"IndexDB insert not work")}}}},update:function(e,t,n,r){if(dphelper.iDB.exist(e)){var o=window.indexedDB.open(e,dphelper.iDB.version(e));o.onerror=function(e){console.debug(e,"Database update error: "+e.target.errorCode)},o.onsuccess=function(e){var o=e.target.result.transaction([t],"readwrite").objectStore(t);o.get(+n).onsuccess=function(e){var t=e.target.result;t.value=r;var n=o.put(t);n.onsuccess=function(e){dphelper.iDB.refresh()},n.onerror=function(e){console.debug("Error in updating record")}}}}},get:function(e,t,n){return new Promise((function(r,o){window.indexedDB.open(e,dphelper.iDB.version(e)).onsuccess=function(e){var o=e.target.result;0!==o.objectStoreNames.length&&(o.transaction([t],"readwrite").objectStore(t).get(n).onsuccess=function(e){var t=e.target.result;r(t)})}}))},store:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){if(dphelper.iDB.exist(e)){var n=window.indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)},n.onsuccess=function(n){var r=n.target.result;0!==r.objectStoreNames.length&&(r.transaction([t],"readwrite").objectStore(t).openCursor().onsuccess=function(n){var r=n.target.result;if(r){var o=r.primaryKey,i=r.value;store[e]||(store[e]=[]),store[e][t]||(store[e][t]=[]),store[e][t][o]||(store[e][t][o]=[]),store[e][t][o]=i,r.continue()}dphelper.iDB.refresh()})}}})),refresh:function(){dphelper.iDB.toState(),console.debug("iDB refresh")},toState:(a=(0,o.Z)(regeneratorRuntime.mark((function e(t,n){var r,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t&&!n){e.next=6;break}if(t&&n){e.next=4;break}return console.debug("promiseToState: Some data are missed!"),e.abrupt("return");case 4:return setTimeout((0,o.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n;case 2:state[t]=e.sent;case 3:case"end":return e.stop()}}),e)}))),1e3),e.abrupt("return");case 6:r=[],i=0,indexedDB.databases().then((function(e){Object.entries(e).map((function(e){var t=window.indexedDB.open(e[1].name,dphelper.iDB.version(e[1].version));t.onerror=function(e){console.debug(e,"Database get error: "+e.target.errorCode)};var n={name:"",version:"",tables:[],size:0},a=0;t.onsuccess=function(){var e=(0,o.Z)(regeneratorRuntime.mark((function e(t){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!==(s=t.target.result).objectStoreNames.length){e.next=3;break}return e.abrupt("return");case 3:s&&s.name&&(n.name=s.name,n.version=s.version,Object.entries(s.objectStoreNames).map(function(){var e=(0,o.Z)(regeneratorRuntime.mark((function e(t,o){var c,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=[],e.next=3,dphelper.iDB.getTableSize(s.name,t[1]);case 3:u=e.sent,c.name=t[1],c.size=u,n.tables.push(Object.assign({},c)),a+=u,n.size=a,i+=a,r.total=i,r.update=dphelper.time.epoch();case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()),r.push(n)),dphelper.databases=r;case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}))}));case 10:case"end":return e.stop()}}),e)}))),function(e,t){return a.apply(this,arguments)}),list:function(){indexedDB.databases().then((function(e){return console.table(e),e}))},version:function(e){indexedDB.databases().then((function(t){t.find((function(t){if(t.name===e)return!0}))}))},size:function(e){if(dphelper.iDB.exist(e))for(var t,n=[e],r=0;r<n.length;r++)t=n[r],dphelper.iDB.getDbSize(t)},exist:(i=(0,o.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,function(){if(!dphelper.iDB.version(t))return console.debug(t+" not exist!"),!1};case 2:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)}),getTableSize:function(e,t){if(dphelper.iDB.exist(t))return new Promise((function(n,r){if(null==e)return r();var o=0,i=(e=event.target.result).transaction([t]).objectStore(t).openCursor();i.onsuccess=function(e){var t=e.target.result;if(t){var r=t.value,i=JSON.stringify(r);o+=i.length,t.continue()}else n(o)}.bind(undefined),i.onerror=function(e){r("error in "+t+": "+e)}}))},getDbSize:function(e){if(dphelper.iDB.exist(e))return new Promise((function(t,n){var o,i=indexedDB.open(e,dphelper.iDB.version(e));i.onerror=function(e){console.debug("Error on IndexedDB")},i.onsuccess=function(e){o=e.target.result,function(e,n){var r=e.reduce((function(e,t){return e.push(dphelper.iDB.getTableSize(n,t)),e}),[]);Promise.all(r).then((function(n){var r={};function o(e,t){this.table=e,this.size=t}e.forEach((function(e,t){r[t]=new o(e,dphelper.tool.byteSize(n[t]))}));var i=n.reduce((function(e,t){return e+t}),0);t(parseInt(dphelper.tool.byteSize(i)))}))}((0,r.Z)(o.objectStoreNames),o)}}))},printTableInfo:function(e){if(dphelper.iDB.exist(e)){var t,n=indexedDB.open(e,dphelper.iDB.version(e));n.onerror=function(e){console.debug("Error on IndexedDB")},n.onsuccess=function(e){t=e.target.result,function(e,t){var n=e.reduce((function(e,n){return e.push(dphelper.iDB.getTableSize(t,n)),e}),[]);Promise.all(n).then((function(t){var n={};function r(e,t){this.table=e,this.size=t}e.forEach((function(e,o){n[o]=new r(e,dphelper.tool.byteSize(t[o]))})),console.table(n);var o=t.reduce((function(e,t){return e+t}),0);console.debug("TOTAL: "+dphelper.tool.byteSize(o))}))}((0,r.Z)(t.objectStoreNames),t)}}},printSizes:function(){indexedDB.webkitGetDatabaseNames().onsuccess=function(e){for(var t,n=e.target.result,r=0;r<n.length;r++)t=n.item(r),dphelper.iDB.getDbSize(t)}}}},142:()=>{dphelper._list.scripts.push({name:"Json",description:"",version:"0.0.1",command:"json",subCommand:[{name:"counter",description:""}],example:"",author:"Dario Passariello",active:!0}),dphelper.json={counter:function(e,t,n){return e?t&&n?Object.keys(jsonObject).length:e.items.filter((function(e){return e.key===n})).lengt:null}}},444:(e,t,n)=>{"use strict";n.r(t);var r=n(531);dphelper._list.scripts.push({name:"Load",description:"",version:"0.0.1",command:"load",subCommand:[{name:"file",description:"test"},{name:"json",description:"test"},{name:"jsonRemote",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.load={file:function(e,t){fetch(t).then(function(){var t=(0,r.Z)(regeneratorRuntime.mark((function t(n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,n.text();case 2:r=t.sent,document.querySelector(e).innerHTML=String(r);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())},json:function(e){if(e.match(/.(json)$/i))return n(544)(""+e)},remote:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"application/json";fetch(e,{method:t,headers:{"Content-Type":n}}).then((function(e){return e})).then((function(e){return e}))},axios:function(e){function t(t,n){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){e&&t&&axios.get(e).then((function(e){dphelper.state.api[t]=e,console.log(e)})).catch((function(e){console.debug(e)}))}))}},846:()=>{dphelper._list.scripts.push({name:"Math",description:"",version:"0.0.1",command:"math",subCommand:[{name:"rnd",description:"test"},{name:"tmr",description:"test"},{name:"add",description:"test"},{name:"sub",description:"test"},{name:"multi",description:"test"},{name:"div",description:"test"},{name:"rem",description:"test"},{name:"exp",description:"test"},{name:"isOdd",description:"check if math is odd or even"}],example:"",author:"Dario Passariello",active:!0}),dphelper.math={rnd:function(){return Math.floor(1e5+Math.random()*dphelper.math.tmr())},tmr:function(){return Math.round(dphelper.time.epoch()/1e3)},add:function(e,t){return e+t},sub:function(e,t){return e-t},multi:function(e,t){return e*t},div:function(e,t){return e-t},rem:function(e,t){return e%t},exp:function(e,t){return Math.pow(e,t)},isOdd:function(e){return e%2==0}}},574:(e,t,n)=>{"use strict";n.r(t);var r=n(2);var o=n(181);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}dphelper._list.scripts.push({name:"Obj",description:"",version:"0.0.1",command:"obj",subCommand:[{name:"toArray",description:"test"},{name:"serialize",description:"test"},{name:"deSerialize",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.obj={toArray:function(e){return Object.entries(e).map((function(e){var t=i(e,2),n=t[0],o=t[1];console.log(">",[n,o]),Object.assign({key:n},o&&"object"===(0,r.Z)(o)?{array:dphelper.obj.toArray(o)}:{value:o,array:[]})}))},serialize:function(e){if("function"==typeof e)return e.toString();if("object"===(0,r.Z)(e)){for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var a=i(o[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.serialize(c)}return t}return e},deSerialize:function(e){if(e.toLowerCase().startsWith("function("))return Function('"use strict"; return '+e);if("object"===(0,r.Z)(e)){for(var t={},n=0,o=Object.entries(e);n<o.length;n++){var a=i(o[n],2),s=a[0],c=a[1];console.info("objectKey=".concat(s," value=").concat(c)),t[s]=dphelper.obj.deSerialize(c)}return t}return value},sort:function(e){return Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{})}}},983:()=>{dphelper._list.scripts.push({name:"Path",description:"url path: rail, hash or query to array",version:"0.0.1",command:"path",subCommand:[{name:"rail",description:"test"},{name:"hash",description:"test"},{name:"query",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.path={rail:function(){var e=location.href.split("?")[0].replace(location.protocol,"").replace(location.host,"").replace(location.hash,"").split("/");return e.length>0?e.filter((function(e){return e})):void 0},hash:function(){var e=location.hash.replace("#","").split("/");return e.length?e.filter((function(e){return e})):["empty"]},query:function(){var e,t=[],n=location.search;return n?(n.replace("?","").split("&").map((function(n){e=n.split("="),t[e[0]]=e[1]})),t):["empty"]}}},705:()=>{dphelper._list.scripts.push({name:"Promise",description:"",version:"0.0.1",command:"promise",subCommand:[{name:"check",description:"test"},{name:"resolve",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.promise={check:function(e){return e&&"[object Promise]"===Object.prototype.toString.call(e)},resolve:function(e){var t={};if(dphelper.promise.check(e))return Promise.resolve(e).then((function(e){t.promise=e})),t}}},200:()=>{dphelper._list.scripts.push({name:"Screen",description:"",version:"0.0.1",command:"screen",subCommand:[{name:"fullScreen",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.screen={fullScreen:function(e){e.requestFullScreen?e.requestFullScreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullScreen&&e.webkitRequestFullScreen()},toggle:function(e){var t=e.requestFullscreen||e.mozRequestFullScreen||e.webkitRequestFullScreen||e.msRequestFullscreen,n=e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen;doc.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||e.msFullscreenElement?n.call(e):t.call(e)},info:function(){return[screen.width,screen.height,screen.availWidth,screen.availHeight,screen.colorDepth,screen.pixelDepth]}}},205:()=>{dphelper._list.scripts.push({name:"Scrollbar",description:"",version:"0.0.1",command:"scrollbar",subCommand:[{name:"custom",description:"test"},{name:"indicator",description:"test"},{name:"position.get",description:"test"},{name:"position.set",description:"test"},{name:"smooth",description:"test"},{name:"scrollTo",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.scrollbar={custom:function(e,t){t.color_1||(t.color_1="black"),t.color_1_hover||(t.color_1="black"),t.color_2||(t.color_2="transparent"),t.color_3||(t.color_3="rgba(30,150,255,.5)"),t.type||(t.type="thin"),t.behavior||(t.behavior="smooth"),t.width||(t.width="16px"),t.height||(t.height="16px"),t.rounded||(t.rounded="10px"),t.margin||(t.margin="0"),t.border||(t.border="5px"),t.opacity||(t.opacity="1");var n="".concat(e,"{\n scrollbar-width:auto;\n scrollbar-color:").concat(t.color_1," ").concat(t.color_2,";\n scrollbar-width: ").concat(t.type,";\n scroll-behavior: ").concat(t.behavior,";\n scroll-margin: ").concat(t.margin,";\n -ms-overflow-style: -ms-autohiding-scrollbar;\n }\n ").concat(e,"::-webkit-scrollbar {\n scroll-behavior: ").concat(t.behavior,";\n width: ").concat(t.width,";\n height: ").concat(t.height,";\n }\n ").concat(e,"::-webkit-scrollbar-thumb {\n opacity: ").concat(t.opacity," !important;\n -webkit-border-radius: ").concat(t.rounded," !important;\n -webkit-box-shadow: none !important;\n box-shadow: none !important;\n border-radius: ").concat(t.rounded," !important;\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: ").concat(t.border," solid transparent !important;\n min-height: 2px !important;\n min-width: 2px !important;\n }\n ").concat(e,"::-webkit-scrollbar-thumb:hover,\n ").concat(e,"::-webkit-scrollbar-thumb:active{\n background: ").concat(t.color_1," !important;\n background-clip: content-box !important;\n border: calc( ").concat(t.border," - 1.5px ) solid transparent !important;\n }\n ").concat(e,"::-webkit-scrollbar-track {\n background: ").concat(t.color_2,";\n border-radius: ").concat(t.rounded,";\n }\n\n ").concat(e,"::-webkit-scrollbar-track:hover {\n /*background: rgba(128,128,128,.15) !important;*/\n background: transparent !important;\n\n }\n ").concat(e,"::-webkit-scrollbar-track:vertical:hover {\n /* border-left: 1px solid rgba(0,0,0,.1) !important; */\n }\n ").concat(e,"::-webkit-scrollbar-track:horizontal:hover {\n /* border-top: 1px solid rgba(0,0,0,.1) !important; */\n }\n /*\n ").concat(e,"::-webkit-scrollbar-thumb:window-inactive {\n background: ").concat(t.color_3,"\n }\n */\n select::-webkit-scrollbar-thumb {\n border: 4px solid hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track {\n background: hsl(0 0% 92% / 1) !important;\n }\n select::-webkit-scrollbar-track:vertical,\n select::-webkit-scrollbar-track:horizontal {\n border-top: none !important;\n border-left: none !important;\n }\n "),r=document.createElement("style");document.head.appendChild(r),r.innerHTML=n},indicator:function(e){var t=document.querySelector(e.el),n=document.querySelector(".scrollindicator");if(!n){var r=document.createElement("div");r.classList.add("scrollindicator"),document.querySelector("header").appendChild(r),r.style.cssText="\n height:5px;\n background:#65c45c;\n position:absolute;\n bottom:0;\n left:0;\n z-index:2\n "}if(!e.el&&n)return n.style.width="0%",null;try{var o=document.querySelector(".scrollindicator");t.addEventListener("scroll",(function(e){o.style.width="0%";var t=this.scrollTop||this.scrollTop,n=this.scrollHeight-this.clientHeight,r=Math.min(Math.max(parseInt(t/n*100),0),100);o.style.width=r+"%",o.click()})),window.addEventListener("popstate",(function(e){o.style.width=0}))}catch(e){return}return null},position:{set:function(e){var t=[$(e).scrollTop(),$(e).scrollLeft()];null!=t[0]&&null!=t[1]&&dphelper.storage.set(e,t)},get:function(e){if(dphelper.storage.get(e)){var t=dphelper.storage.get(e).trim().split(",");$(e).scrollTop(t[0]),$(e).scrollLeft(t[1])}}},smooth:function(e,t,n){e===document&&(e=document.scrollingElement||document.documentElement||document.body.parentNode||document.body);var r=!1,o=e.scrollTop,i=e===document.body&&document.documentElement?document.documentElement:e;function a(n){n.preventDefault();var a=function(e){return e.detail?e.wheelDelta?e.wheelDelta/e.detail/40*(e.detail>0?1:-1):-e.detail/3:e.wheelDelta/120}(n);o+=-a*t,o=Math.max(0,Math.min(o,e.scrollHeight-i.clientHeight)),r||s()}function s(){r=!0;var t=(o-e.scrollTop)/n;e.scrollTop+=t,Math.abs(t)>.5?c(s):r=!1}e.addEventListener("mousewheel",a,{passive:!1}),e.addEventListener("DOMMouseScroll",a,{passive:!1});var c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,20)}},scrollTo:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=document.querySelector(e),o=document.querySelector(t),i=n;r&&o&&i&&r.scrollTo({top:o.offsetTop,behavior:"smooth"})}}},703:()=>{dphelper._list.scripts.push({name:"Shortcut",description:"",version:"0.0.1",command:"shortcut",example:"",author:"Dario Passariello",active:!0,subCommand:[]}),dphelper.shortcut=function(e,t){var n=e.which?e.which:e.keyCode;e={tes:console.log("try")},t||(t={data:[{key:"83",ctrl:!0,active:!0,description:"CTRL+S",function:""},{key:"27",ctrl:!1,active:!0,description:"ESC",element:"",function:""},{key:"80",ctrl:!0,active:!0,description:"CTRL+P",element:"",function:"function(){ Print }"}]}),t.map((function(t){if((e.ctrlKey||e.metaKey&&!0===t.ctrl)&&n===parseInt(t.key)&&!0===t.active)return t.element&&simulateClick(t.element),t.function&&JSON.stringify(t.function),void e.preventDefault()}))}},6:()=>{dphelper._list.scripts.push({name:"State",description:"",version:"0.0.1",command:"state",subCommand:[],example:"state() or dphelper.state()",author:"Dario Passariello",active:!0}),dphelper.state=function(e,t){if(!e&&!t)return dphelper.obj.toArray(dphelper.state);if(!e&&t)console.debug("Error: State works in this way: state( key, value ) or only key");else if(e&&!t);else if(e&&t){var n;if("function"==typeof(null===(n=dphelper)||void 0===n?void 0:n.state[e]))return"Error, ".concat(e," is a protect function name");dphelper.state[e]=t}},dphelper.state.delete=function(e){return dphelper.state[e]=void 0},window.state=dphelper.state},911:()=>{dphelper._list.scripts.push({name:"Storage",description:"",version:"0.0.1",command:"storage",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"delete",description:"test"},{name:"clearAll",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.storage={get:function(e){if(e)return window.localStorage.getItem(e)},set:function(e,t){e&&t&&window.localStorage.setItem(e,JSON.stringify(t))},delete:function(e){e&&window.localStorage.removeItem(e)},clearAll:function(){window.localStorage.clear()}}},15:(e,t,n)=>{"use strict";n.r(t);var r=n(982);dphelper._list.scripts.push({name:"Store",description:"",version:"0.0.1",command:"store",subCommand:[{name:"get",description:"test"},{name:"set",description:"test"},{name:"update",description:"test"},{name:"clear",description:"test"},{name:"delete",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.store={data:[],get:function(e){if(e)return window.store.data[e]},set:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e&&(!0===n&&(t=[].concat((0,r.Z)(t),[n=!0])),window.store.data[e]=t)},update:function(e,t){},clear:function(){},clearAll:function(){},delete:function(){}},window.store=dphelper.store},803:(e,t,n)=>{"use strict";n.r(t);var r=n(2);dphelper._list.scripts.push({name:"Svg",description:"realtime SVG",version:"0.0.1",command:"svg",subCommand:[{name:"check",description:"test"},{name:"init",description:"test"},{name:"update",description:"test"},{name:"getCurve",description:"test"},{name:"getIntersection",description:"test"},{name:"setConnector",description:"test"},{name:"removeConnection",description:"test"},{name:"makeScrollable",description:"test"},{name:"makeDraggable",description:"test"},{name:"toggle",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.svg={check:function(){if(void 0===dphelper.svg.check.supported){var e=document.body.appendChild(document.createElement("div"));e.innerHTML='<v:shape id="vml_flag1" adj="1" />';var t=e.firstChild;t.style.behavior="url(#default#VML)",dphelper.svg.check.supported=!t||"object"==(0,r.Z)(t.adj),e.parentNode.removeChild(e)}return dphelper.svg.check.supported},init:function(e,t,n,r){$(e).find("svg")&&dphelper.svg_removeConnection(e),t=dphelper.svg.setConnector(t[0],t[1]),n=dphelper.svg.setConnector(n[0],n[1]);var o=e.getBoundingClientRect(),i="http://www.w3.org/2000/svg",a=10*e.offsetWidth,s=10*e.offsetHeight,c=document.createElementNS(i,"svg");c.setAttribute("xmlns",i),c.setAttributeNS(null,"id","pathConnection"),c.setAttributeNS(null,"viewBox","0 0 "+a+" "+s),c.setAttributeNS(null,"width",a),c.setAttributeNS(null,"height",s),c.style.display="block";var u=document.createElementNS(i,"rect"),l=t.getBoundingClientRect();u.setAttributeNS(null,"x",l.left-o.left),u.setAttributeNS(null,"y",l.top-o.top),u.setAttributeNS(null,"width",l.width),u.setAttributeNS(null,"height",l.height),c.appendChild(u);var p=document.createElementNS(i,"rect");l=n.getBoundingClientRect(),p.setAttributeNS(null,"x",l.left-o.left),p.setAttributeNS(null,"y",l.top-o.top),p.setAttributeNS(null,"width",l.width),p.setAttributeNS(null,"height",l.height),c.appendChild(p);var d=document.createElementNS(i,"path");d.setAttributeNS(null,"id","connection"),d.setAttributeNS(null,"marker-end","url(#head)"),c.appendChild(d),e.appendChild(c),dphelper.svg.update($(u)[0],$(p)[0],$("#connection")[0]),"function"==typeof r&&r(t,n)},update:function(e,t,n){var r=parseFloat(e.getAttribute("x")),o=parseFloat(e.getAttribute("y")),i=parseFloat(t.getAttribute("x")),a=parseFloat(t.getAttribute("y")),s=parseFloat(e.getAttribute("width"))/2,c=parseFloat(e.getAttribute("height"))/2,u=parseFloat(t.getAttribute("width"))/2,l=parseFloat(t.getAttribute("height"))/2,p=r+s,d=o+c,f=i+u,h=a+l,m=f-p,v=h-d,g=dphelper.svg.getIntersection(m,v,p,d,s,c),y=dphelper.svg.getIntersection(-m,-v,f,h,u,l),b=y[0]-g[0],x=dphelper.svg.getCurve(g,y,b);n.setAttributeNS(null,"d","M"+p+","+d+x+f+","+h)},getCurve:function(e,t,n){var r=n/2;return" C"+(r+e[0])+","+e[1]+" "+(t[0]-r)+","+t[1]+" "},getIntersection:function(e,t,n,r,o,i){return Math.abs(t/e)<i/o?[n+(e>0?o:-o),r+t*o/Math.abs(e)]:[n+e*i/Math.abs(t),r+(t>0?i:-i)]},setConnector:function(e,t){var n,r=$('<span class="connector"></span>');switch($(e).css("position","relative"),r.css({position:"absolute",width:"5px",height:"5px"}),t){case"top":n={left:"50%",top:"2.5px",marginLeft:"2.5px"};break;case"right":n={top:"50%",right:"2.5px",marginTop:"-2.5px"};break;case"bottom":n={left:"50%",bottom:"-2.5px",marginLeft:"2.5px"};break;case"left":n={top:"50%",left:"-2.5px",marginTop:"-2.5px"};break;default:n={}}return r.css(n),$(e).append(r),$(r)[0]},removeConnection:function(e){$(e).find("svg#pathConnection").each((function(e,t){$(t).remove()}))},makeScrollable:function(e,t,n,r,o,i){for(var a=e.getBoundingClientRect(),s=[n,r],c=[o,i],u=[],l=0;l<s.length;l++)u[l]=s[l].getBoundingClientRect(),c[l].setAttributeNS(null,"x",u[l].left-a.left),c[l].setAttributeNS(null,"y",u[l].top-a.top),c[l].setAttributeNS(null,"width",u[l].width),c[l].setAttributeNS(null,"height",u[l].height);dphelper.svg.update($(o)[0],$(i)[0],$("#connection")[0])},makeDraggable:function(e){var t,n,r=e.target;function o(t){var n=r.getScreenCTM();return{x:(e.clientX-n.e)/n.a,y:(e.clientY-n.f)/n.d}}r.addEventListener("mousedown",(function(e){e.target.classList.contains("draggable")&&(t=e.target,(n=o(e)).x-=parseFloat(t.getAttributeNS(null,"x")),n.y-=parseFloat(t.getAttributeNS(null,"y")))})),r.addEventListener("mousemove",(function(e){if(t){var r=o(e);t.setAttributeNS(null,"x",r.x-n.x),t.setAttributeNS(null,"y",r.y-n.y),dphelper.svg.update()}})),r.addEventListener("mouseup",(function(e){t=null}))},toggle:function(e,t,n,r){$(e.target).prop("checked")&&$(n).length&&$(r).length?(dphelper.cookie.set($(e.target).attr("id"),1,365),dphelper.svg_initConnection(t[0],[$(n)[0],"right"],[$(r)[0],"left"],(function(e,n){$("#parts-left-body").on("scroll",(function(r){dphelper.svg.makeScrollable($(t)[0],$("#parts-left-body")[0],$(e)[0],$(n)[0],$("#parts svg rect")[0],$("#parts svg rect")[1])}))}))):(dphelper.svg_removeConnection(t),$("#parts-left-body").unbind("scroll"),dphelper.cookie.set($(e.target).attr("id"),0,365))}},dphelper.svg.check()},82:()=>{dphelper._list.scripts.push({name:"Text",description:"",version:"0.0.1",command:"text",subCommand:[{name:"capitalize",description:"test"},{name:"lower",description:"test"},{name:"upper",description:"test"},{name:"nl2br",description:"test"},{name:"sanitize",description:"test"},{name:"camelCase",description:"test",subCommand:[{name:"toSpace",description:"test",subCommand:[]},{name:"toUnderscore",description:"test",subCommand:[]}]}],example:"",author:"Dario Passariello",active:!0}),dphelper.text={capitalize:function(e){return e.toLowerCase().replace(/\b\w/g,(function(e){return e.toUpperCase()}))},lower:function(e){return e.toLowerCase()},upper:function(e){return e.toUpperCase()},nl2br:function(e){return e.replace(/(?:\r\n|\r|\n)/g,"<br>")},sanitize:function(e){return e.replace(/[^\w ]/g,"")},camelCase:{toSpace:function(e){return e.replace(/([A-Z])/g," $1").replace(/^./,(function(e){return e.toUpperCase()}))},toUnderscore:function(e){return e.replace(/\.?([A-Z])/g,(function(e,t){return"_"+t.toLowerCase()})).replace(/^_/,"")}}}},620:()=>{dphelper._list.scripts.push({name:"Time",description:"",version:"0.0.1",command:"time",subCommand:[{name:"epoch",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.time={epoch:function(){return(new Date).getTime()}}},240:()=>{dphelper._list.scripts.push({name:"Timer",description:"",version:"0.0.1",command:"timer",subCommand:[{name:"sleep",description:"test"},{name:"percentage",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.timer={sleep:function(e){return new Promise((function(t){return setTimeout(t,e)}))},percentage:function(e,t){function n(e){var t=e.split(":");return 3600*t[0]+60*t[1]+t[2]}return(100*n(e)/n(t)).toFixed(2)}}},18:()=>{dphelper._list.scripts.push({name:"Tool",description:"",version:"0.0.1",command:"tool",subCommand:[{name:"uuid",description:"test",subCommand:[{name:"v5",description:"test",example:"dphelper.tools.uuid.v5"}]},{name:"percent",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.tool={uuid:{v5:function(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(e){return(e^16*Math.random()>>e/4).toString(16)}))}},byteSize:function(e){var t=1024;if(Math.abs(e)<t)return e+"b";var n=["Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],r=-1;do{e/=t,++r}while(Math.abs(e)>=t&&r<n.length-1);return e.toFixed(1)+n[r]},percent:function(e,t){return(100*e/t).toFixed(2)}}},866:()=>{dphelper._list.scripts.push({name:"Trigger",description:"",version:"0.0.1",command:"trigger",subCommand:[{name:"click",description:"test"},{name:"change",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.trigger={click:function(e){var t=document.querySelector(e);t&&t.click()},change:function(e){var t=document.querySelector(e),n=new Event("input",{bubbles:!0});n.simulated=!0,t.dispatchEvent(n)}}},303:(e,t,n)=>{"use strict";n.r(t);var r=n(2);dphelper._list.scripts.push({name:"Type",description:"",version:"0.0.1",command:"type",subCommand:[{name:"of",description:"test"},{name:"instOfObj",description:"test"},{name:"isNaN",description:"test"},{name:"isPrime",description:"test"},{name:"isBool",description:"test"}],example:"",author:"Dario Passariello",active:!0}),dphelper.type={of:function(e){return(0,r.Z)(e)},instOfObj:function(e){return e instanceof Object},isNaN:function(e){return function(t){return!e(t)}},isPrime:function(e){for(var t=parseInt(e/2,10),n=!0;t>1;)e%t==0?(n=!1,t=0):t-=1;return!0===n},isBool:function(e){return!e||null==e.length||"1"===e}}},976:()=>{dphelper._list.scripts.push({name:"Window",description:"",version:"0.0.1",command:"window",example:"",author:"Dario Passariello",active:!0,subCommand:[{name:"enhancement",version:"0.0.1",example:"dphelper.window.enhancement()",type:"function",active:!0,description:"Use only one time at end of application",subCommand:[]},{name:"center",version:"0.0.1",example:"dphelper.window.center({ url, title, name, w, h })",type:"function",active:!0,description:"Use to center popup to screen",subCommand:[]},{name:"onBeforeUnLoad",version:"0.0.1",example:"dphelper.window.onBeforeUnLoad",type:"function",active:!0,description:"message during leave the site",subCommand:[]},{name:"purge",version:"0.0.1",example:"dphelper.window.purge",type:"function",active:!0,description:"Purge from memory",subCommand:[]}]}),dphelper.window={enhancement:function(){window.offScreenBuffering="auto",window.status="",window.defaultStatus="",window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame},center:function(e){var t=e.url,n=e.title,r=(e.name,e.w),o=e.h,i=void 0!==window.screenLeft?window.screenLeft:window.screenX,a=void 0!==window.screenTop?window.screenTop:window.screenY,s=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,c=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,u=s/window.screen.availWidth,l=(s-r)/2/u+i,p=(c-o)/2/u+a,d=window.open(t,n,"\n scrollbars=yes,\n width=".concat(r/u,",\n height=").concat(o/u,",\n top=").concat(p,",\n left=").concat(l,"\n "));window.focus&&d.focus()},onBeforeUnLoad:function(){var e=!1,t=null,n="You have made some changes which you might want to save.",r=!1,o=(document.querySelector("#save_button"),function(e){return e.preventDefault(),n}),i=document.querySelector("#name");i&&i.addEventListener("input",(function(e){""!==e.target.value?addEventListener("beforeunload",o,{capture:!0}):removeEventListener("beforeunload",o,{capture:!0})}));var a=function(t){if(("textarea"===t.target.type||"input"===t.target.type)&&!1===e)return e=!0};document.body.addEventListener("keyup",a);!1===r&&(document.body.addEventListener("click",(function(r){if("IMG"===r.target.tagName&&!0===e){if(!0===(t=confirm(n)))return e=!1;r.preventDefault()}})),r=!0),addEventListener("popstate",(function(r){if(!0===e)return!0===(t=confirm(n))?e=!1:(r.stopImmediatePropagation(),r.preventDefault(),n)})),window.onbeforeunload=function(r){if(!0===e&&null===t)return r.preventDefault(),r.returnValue=n}},purge:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:body,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;setTimeout((function(){if(void 0===e)return null;var t,n,r,o=e.attributes;if(o)for(n=o.length,t=0;t<n;t+=1)r=o[t].name,"function"==typeof e[r]&&(e[r]=null),void 0===e[r]&&(e[r]=null);if(o=e.childNodes)for(n=o.length,t=0;t<n;t+=1)Purge(e.childNodes[t])}),t)}}},861:(e,t,n)=>{"undefined"==typeof window&&(n.g.window={}),window.$=window.jQuery=n(755),window.dphelper=window.dphelper||[]},755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,c=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,l=i.indexOf,p={},d=p.toString,f=p.hasOwnProperty,h=f.toString,m=h.call(Object),v={},g=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in x)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?p[d.call(e)]||"object":typeof e}var S="3.6.0",T=function(e,t){return new T.fn.init(e,t)};function j(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}T.fn=T.prototype={jquery:S,constructor:T,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(T.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},T.extend=T.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,c=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===c&&(a=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(T.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||T.isPlainObject(n)?n:{},o=!1,a[t]=T.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},T.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==d.call(e))&&(!(t=a(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(j(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:l.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(j(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return c(a)},guid:1,support:v}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=i[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){p["[object "+t+"]"]=t.toLowerCase()}));var D=function(e){var t,n,r,o,i,a,s,c,u,l,p,d,f,h,m,v,g,y,b,x="sizzle"+1*new Date,w=e.document,C=0,S=0,T=ce(),j=ce(),D=ce(),k=ce(),A=function(e,t){return e===t&&(p=!0),0},E={}.hasOwnProperty,N=[],L=N.pop,q=N.push,P=N.push,O=N.slice,B=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},M="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",H="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",_="\\[[\\x20\\t\\r\\n\\f]*("+R+")(?:"+H+"*([*^$|!~]?=)"+H+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+H+"*\\]",I=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+_+")*)|.*)\\)|)",F=new RegExp(H+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),U=new RegExp(H+"|>"),Z=new RegExp(I),X=new RegExp("^"+R+"$"),Y={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+_),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+M+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},V=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){d()},ae=xe((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(N=O.call(w.childNodes),w.childNodes),N[w.childNodes.length].nodeType}catch(e){P={apply:N.length?function(e,t){q.apply(e,O.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,u,l,p,h,g,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(d(t),t=t||f,m)){if(11!==w&&(p=Q.exec(e)))if(i=p[1]){if(9===w){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(y&&(u=y.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(p[2])return P.apply(r,t.getElementsByTagName(e)),r;if((i=p[3])&&n.getElementsByClassName&&t.getElementsByClassName)return P.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!k[e+" "]&&(!v||!v.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===w&&(U.test(e)||W.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,oe):t.setAttribute("id",l=x)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return P.apply(r,y.querySelectorAll(g)),r}catch(t){k(e,!0)}finally{l===x&&t.removeAttribute("id")}}}return c(e.replace($,"$1"),t,r,o)}function ce(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[x]=!0,e}function le(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function pe(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function de(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;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 he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(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&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ve(e){return ue((function(t){return t=+t,ue((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!V.test(t||n&&n.nodeName||"HTML")},d=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=f&&9===a.nodeType&&a.documentElement?(h=(f=a).documentElement,m=!i(f),w!=f&&(o=f.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=le((function(e){return h.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(f.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=x,!f.getElementsByName||!f.getElementsByName(x).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},g=[],v=[],(n.qsa=K.test(f.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+M+")"),e.querySelectorAll("[id~="+x+"-]").length||v.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")}))),(n.matchesSelector=K.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",I)})),v=v.length&&new RegExp(v.join("|")),g=g.length&&new RegExp(g.join("|")),t=K.test(h.compareDocumentPosition),b=t||K.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)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return p=!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==f||e.ownerDocument==w&&b(w,e)?-1:t==f||t.ownerDocument==w&&b(w,t)?1:l?B(l,e)-B(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return p=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==f?-1:t==f?1:o?-1:i?1:l?B(l,e)-B(l,t):0;if(o===i)return de(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?de(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},f):f},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&m&&!k[t+" "]&&(!g||!g.test(t))&&(!v||!v.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,f,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=f&&d(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=f&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&E.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(p=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(A),p){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return l=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ue,match:Y,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(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===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]||se.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]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Z.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(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+H+"|$)"))&&T(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(F," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,c){var u,l,p,d,f,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!c&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(b=(f=(u=(l=(p=(d=v)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&u[1])&&u[2],d=f&&v.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){l[e]=[C,f,b];break}}else if(y&&(b=f=(u=(l=(p=(d=t)[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===C&&u[1]),!1===b)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&((l=(p=d[x]||(d[x]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[C,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=B(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[x]?ue((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return X.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!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 G.test(e.nodeName)},input:function(e){return J.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:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ve((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ve((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ve((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function xe(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=S++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,c){var u,l,p,d=[C,s];if(c){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,c))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(l=(p=t[x]||(t[x]={}))[t.uniqueID]||(p[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=l[i])&&u[0]===C&&u[1]===s)return d[2]=u[2];if(l[i]=d,d[2]=e(t,n,c))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Ce(e,t,n,r,o){for(var i,a=[],s=0,c=e.length,u=null!=t;s<c;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function Se(e,t,n,r,o,i){return r&&!r[x]&&(r=Se(r)),o&&!o[x]&&(o=Se(o,i)),ue((function(i,a,s,c){var u,l,p,d=[],f=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),v=!e||!i&&t?m:Ce(m,d,e,s,c),g=n?o||(i?e:h||r)?[]:a:v;if(n&&n(v,g,s,c),r)for(u=Ce(g,f),r(u,[],s,c),l=u.length;l--;)(p=u[l])&&(g[f[l]]=!(v[f[l]]=p));if(i){if(o||e){if(o){for(u=[],l=g.length;l--;)(p=g[l])&&u.push(v[l]=p);o(null,g=[],u,c)}for(l=g.length;l--;)(p=g[l])&&(u=o?B(i,p):d[l])>-1&&(i[u]=!(a[u]=p))}}else g=Ce(g===a?g.splice(h,g.length):g),o?o(null,a,g,c):P.apply(a,g)}))}function Te(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],c=a?1:0,l=xe((function(e){return e===t}),s,!0),p=xe((function(e){return B(t,e)>-1}),s,!0),d=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?l(e,n,r):p(e,n,r));return t=null,o}];c<i;c++)if(n=r.relative[e[c].type])d=[xe(we(d),n)];else{if((n=r.filter[e[c].type].apply(null,e[c].matches))[x]){for(o=++c;o<i&&!r.relative[e[o].type];o++);return Se(c>1&&we(d),c>1&&be(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace($,"$1"),n,c<o&&Te(e.slice(c,o)),o<i&&Te(e=e.slice(o)),o<i&&be(e))}d.push(n)}return we(d)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,c,u,l=j[e+" "];if(l)return t?0:l.slice(0);for(s=e,c=[],u=r.preFilter;s;){for(a in n&&!(o=z.exec(s))||(o&&(s=s.slice(o[0].length)||s),c.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(o=Y[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):j(e,c).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=D[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Te(t[n]))[x]?o.push(s):i.push(s);s=D(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,c,l){var p,h,v,g=0,y="0",b=i&&[],x=[],w=u,S=i||o&&r.find.TAG("*",l),T=C+=null==w?1:Math.random()||.1,j=S.length;for(l&&(u=a==f||a||l);y!==j&&null!=(p=S[y]);y++){if(o&&p){for(h=0,a||p.ownerDocument==f||(d(p),s=!m);v=e[h++];)if(v(p,a||f,s)){c.push(p);break}l&&(C=T)}n&&((p=!v&&p)&&g--,i&&b.push(p))}if(g+=y,n&&y!==g){for(h=0;v=t[h++];)v(b,x,a,s);if(i){if(g>0)for(;y--;)b[y]||x[y]||(x[y]=L.call(c));x=Ce(x)}P.apply(c,x),l&&!i&&x.length>0&&g+t.length>1&&se.uniqueSort(c)}return l&&(C=T,u=w),b};return n?ue(i):i}(i,o)),s.selector=e}return s},c=se.select=function(e,t,n,o){var i,c,u,l,p,d="function"==typeof e&&e,f=!o&&a(e=d.selector||e);if(n=n||[],1===f.length){if((c=f[0]=f[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&9===t.nodeType&&m&&r.relative[c[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(i=Y.needsContext.test(e)?0:c.length;i--&&(u=c[i],!r.relative[l=u.type]);)if((p=r.find[l])&&(o=p(u.matches[0].replace(te,ne),ee.test(c[0].type)&&ge(t.parentNode)||t))){if(c.splice(i,1),!(e=o.length&&be(c)))return P.apply(n,o),n;break}}return(d||s(e,f))(o,t,!m,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!p,d(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||pe("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||pe("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||pe(M,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);T.find=D,T.expr=D.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=D.uniqueSort,T.text=D.getText,T.isXMLDoc=D.isXML,T.contains=D.contains,T.escapeSelector=D.escape;var k=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;r.push(e)}return r},A=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=T.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function q(e,t,n){return g(t)?T.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?T.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?T.grep(e,(function(e){return l.call(t,e)>-1!==n})):T.filter(t,e,n)}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,(function(e){return 1===e.nodeType})))},T.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter((function(){for(t=0;t<r;t++)if(T.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)T.find(e,o[t],n);return r>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(q(this,e||[],!1))},not:function(e){return this.pushStack(q(this,e||[],!0))},is:function(e){return!!q(this,"string"==typeof e&&E.test(e)?T(e):e||[],!1).length}});var P,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||P,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:O.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),L.test(r[1])&&T.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[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(T):T.makeArray(e,this)}).prototype=T.fn,P=T(b);var B=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function H(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&T(e);if(!E.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?T.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?l.call(T(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.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 H(e,"nextSibling")},prev:function(e){return H(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 A((e.parentNode||{}).firstChild,e)},children:function(e){return A(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(N(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},(function(e,t){T.fn[e]=function(n,r){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=T.filter(r,o)),this.length>1&&(M[e]||T.uniqueSort(o),B.test(e)&&o.reverse()),this.pushStack(o)}}));var R=/[^\x20\t\r\n\f]+/g;function _(e){return e}function I(e){throw e}function F(e,t,n,r){var o;try{e&&g(o=e.promise)?o.call(e).done(t).fail(n):e&&g(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(R)||[],(function(e,n){t[n]=!0})),t}(e):T.extend({},e);var t,n,r,o,i=[],a=[],s=-1,c=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){T.each(n,(function(n,r){g(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&c()),this},remove:function(){return T.each(arguments,(function(e,t){for(var n;(n=T.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?T.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return T.Deferred((function(n){T.each(t,(function(t,r){var o=g(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,c=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,c))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,g(u)?o?u.call(r,a(i,t,_,o),a(i,t,I,o)):(i++,u.call(r,a(i,t,_,o),a(i,t,I,o),a(i,t,_,t.notifyWith))):(n!==_&&(s=void 0,c=[r]),(o||t.resolveWith)(s,c))}},l=o?u:function(){try{u()}catch(r){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(r,l.stackTrace),e+1>=i&&(n!==I&&(s=void 0,c=[r]),t.rejectWith(s,c))}};e?l():(T.Deferred.getStackHook&&(l.stackTrace=T.Deferred.getStackHook()),r.setTimeout(l))}}return T.Deferred((function(r){t[0][3].add(a(0,r,g(o)?o:_,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:_)),t[2][3].add(a(0,r,g(n)?n:I))})).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},i={};return T.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=T.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(F(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||g(o[n]&&o[n].then)))return i.then();for(;n--;)F(o[n],a(n),i.reject);return i.promise()}});var $=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&$.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){r.setTimeout((function(){throw e}))};var z=T.Deferred();function W(){b.removeEventListener("DOMContentLoaded",W),r.removeEventListener("load",W),T.ready()}T.fn.ready=function(e){return z.then(e).catch((function(e){T.readyException(e)})),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||z.resolveWith(b,[T]))}}),T.ready.then=z.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(T.ready):(b.addEventListener("DOMContentLoaded",W),r.addEventListener("load",W));var U=function(e,t,n,r,o,i,a){var s=0,c=e.length,u=null==n;if("object"===C(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,g(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):c?t(e[0],n):i},Z=/^-ms-/,X=/-([a-z])/g;function Y(e,t){return t.toUpperCase()}function V(e){return e.replace(Z,"ms-").replace(X,Y)}var J=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=T.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},J(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[V(t)]=n;else for(r in t)o[V(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][V(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(V):(t=V(t))in r?[t]:t.match(R)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||T.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var K=new G,Q=new G,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Q.get(i),1===i.nodeType&&!K.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=V(r.slice(5)),ne(i,r,o[r]));K.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){Q.set(this,e)})):U(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=Q.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=K.get(e,t),n&&(!r||Array.isArray(n)?r=K.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,o=n.shift(),i=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){T.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:T.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each((function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){T.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=T.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=K.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return T.contains(e.ownerDocument,e)},ce={composed:!0};ae.getRootNode&&(se=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ce)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===T.css(e,"display")};function le(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),u=n&&n[3]||(T.cssNumber[t]?"":"px"),l=e.nodeType&&(T.cssNumber[t]||"px"!==u&&+c)&&oe.exec(T.css(e,t));if(l&&l[3]!==u){for(c/=2,u=u||l[3],l=+c||1;a--;)T.style(e,t,l+u),(1-i)*(1-(i=s()/c||.5))<=0&&(a=0),l/=i;l*=2,T.style(e,t,l+u),n=n||[]}return n&&(l=+l||+c||0,o=n[1]?l+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=l,r.end=o)),o}var pe={};function de(e){var t,n=e.ownerDocument,r=e.nodeName,o=pe[r];return o||(t=n.body.appendChild(n.createElement(r)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),pe[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=K.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=de(r))):"none"!==n&&(o[i]="none",K.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}T.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?T(this).show():T(this).hide()}))}});var he,me,ve=/^(?:checkbox|radio)$/i,ge=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",v.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function xe(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?T.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,v.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function Se(e,t,n,r,o){for(var i,a,s,c,u,l,p=t.createDocumentFragment(),d=[],f=0,h=e.length;f<h;f++)if((i=e[f])||0===i)if("object"===C(i))T.merge(d,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||p.appendChild(t.createElement("div")),s=(ge.exec(i)||["",""])[1].toLowerCase(),c=be[s]||be._default,a.innerHTML=c[1]+T.htmlPrefilter(i)+c[2],l=c[0];l--;)a=a.lastChild;T.merge(d,a.childNodes),(a=p.firstChild).textContent=""}else d.push(t.createTextNode(i));for(p.textContent="",f=0;i=d[f++];)if(r&&T.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=xe(p.appendChild(i),"script"),u&&we(a),n)for(l=0;i=a[l++];)ye.test(i.type||"")&&n.push(i);return p}var Te=/^([^.]*)(?:\.(.+)|)/;function je(){return!0}function De(){return!1}function ke(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=De;else if(!o)return e;return 1===i&&(a=o,o=function(e){return T().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=T.guid++)),e.each((function(){T.event.add(this,t,o,r,n)}))}function Ee(e,t,n){n?(K.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=K.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),K.set(this,t,i),r=n(this,t),this[t](),i!==(o=K.get(this,t))||r?K.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(K.set(this,t,{value:T.event.trigger(T.extend(i[0],T.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&T.event.add(e,t,je)}T.event={global:{},add:function(e,t,n,r,o){var i,a,s,c,u,l,p,d,f,h,m,v=K.get(e);if(J(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&T.find.matchesSelector(ae,o),n.guid||(n.guid=T.guid++),(c=v.events)||(c=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(R)||[""]).length;u--;)f=m=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=T.event.special[f]||{},f=(o?p.delegateType:p.bindType)||f,p=T.event.special[f]||{},l=T.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},i),(d=c[f])||((d=c[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,l):d.push(l),T.event.global[f]=!0)},remove:function(e,t,n,r,o){var i,a,s,c,u,l,p,d,f,h,m,v=K.hasData(e)&&K.get(e);if(v&&(c=v.events)){for(u=(t=(t||"").match(R)||[""]).length;u--;)if(f=m=(s=Te.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),f){for(p=T.event.special[f]||{},d=c[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)l=d[i],!o&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(d.splice(i,1),l.selector&&d.delegateCount--,p.remove&&p.remove.call(e,l));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,v.handle)||T.removeEvent(e,f,v.handle),delete c[f])}else for(f in c)T.event.remove(e,f+t[u],n,r,!0);T.isEmptyObject(c)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),c=T.event.fix(e),u=(K.get(this,"events")||Object.create(null))[c.type]||[],l=T.event.special[c.type]||{};for(s[0]=c,t=1;t<arguments.length;t++)s[t]=arguments[t];if(c.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,c)){for(a=T.event.handlers.call(this,c,u),t=0;(o=a[t++])&&!c.isPropagationStopped();)for(c.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==i.namespace&&!c.rnamespace.test(i.namespace)||(c.handleObj=i,c.data=i.data,void 0!==(r=((T.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,c),c.result}},handlers:function(e,t){var n,r,o,i,a,s=[],c=t.delegateCount,u=e.target;if(c&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<c;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?T(o,this).index(u)>-1:T.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,c<t.length&&s.push({elem:u,handlers:t.slice(c)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ee(t,"click",je),!1},trigger:function(e){var t=this||e;return ve.test(t.type)&&t.click&&N(t,"input")&&Ee(t,"click"),!0},_default:function(e){var t=e.target;return ve.test(t.type)&&t.click&&N(t,"input")&&K.get(t,"click")||N(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?je:De,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:De,isPropagationStopped:De,isImmediatePropagationStopped:De,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=je,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=je,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=je,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},(function(e,t){T.event.special[e]={setup:function(){return Ee(this,e,ke),!1},trigger:function(){return Ee(this,e),!0},_default:function(){return!0},delegateType:t}})),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||T.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),T.fn.extend({on:function(e,t,n,r){return Ae(this,e,t,n,r)},one:function(e,t,n,r){return Ae(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=De),this.each((function(){T.event.remove(this,e,n,t)}))}});var Ne=/<script|<style|<link/i,Le=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Pe(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Be(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(K.hasData(e)&&(s=K.get(e).events))for(o in K.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)T.event.add(t,o,s[o][n]);Q.hasData(e)&&(i=Q.access(e),a=T.extend({},i),Q.set(t,a))}}function He(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ve.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=c(t);var o,i,a,s,u,l,p=0,d=e.length,f=d-1,h=t[0],m=g(h);if(m||d>1&&"string"==typeof h&&!v.checkClone&&Le.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Re(i,t,n,r)}));if(d&&(i=(o=Se(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=T.map(xe(o,"script"),Oe)).length;p<d;p++)u=o,p!==f&&(u=T.clone(u,!0,!0),s&&T.merge(a,xe(u,"script"))),n.call(e[p],u,p);if(s)for(l=a[a.length-1].ownerDocument,T.map(a,Be),p=0;p<s;p++)u=a[p],ye.test(u.type||"")&&!K.access(u,"globalEval")&&T.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?T._evalUrl&&!u.noModule&&T._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):w(u.textContent.replace(qe,""),u,l))}return e}function _e(e,t,n){for(var r,o=t?T.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||T.cleanData(xe(r)),r.parentNode&&(n&&se(r)&&we(xe(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),c=se(e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=xe(s),r=0,o=(i=xe(e)).length;r<o;r++)He(i[r],a[r]);if(t)if(n)for(i=i||xe(e),a=a||xe(s),r=0,o=i.length;r<o;r++)Me(i[r],a[r]);else Me(e,s);return(a=xe(s,"script")).length>0&&we(a,!c&&xe(e,"script")),s},cleanData:function(e){for(var t,n,r,o=T.event.special,i=0;void 0!==(n=e[i]);i++)if(J(n)){if(t=n[K.expando]){if(t.events)for(r in t.events)o[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),T.fn.extend({detach:function(e){return _e(this,e,!0)},remove:function(e){return _e(this,e)},text:function(e){return U(this,(function(e){return void 0===e?T.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Re(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Pe(this,e).appendChild(e)}))},prepend:function(){return Re(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Pe(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Re(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(xe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return T.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(xe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,(function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData(xe(this)),n&&n.replaceChild(t,this))}),e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){T.fn[e]=function(e){for(var n,r=[],o=T(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),T(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var Ie=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Fe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},$e=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},ze=new RegExp(ie.join("|"),"i");function We(e,t,n){var r,o,i,a,s=e.style;return(n=n||Fe(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||se(e)||(a=T.style(e,t)),!v.pixelBoxStyles()&&Ie.test(a)&&ze.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function Ue(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(l);var e=r.getComputedStyle(l);n="1%"!==e.top,c=12===t(e.marginLeft),l.style.right="60%",a=36===t(e.right),o=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),ae.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,c,u=b.createElement("div"),l=b.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===l.style.backgroundClip,T.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),c},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ze=["Webkit","Moz","ms"],Xe=b.createElement("div").style,Ye={};function Ve(e){var t=T.cssProps[e]||Ye[e];return t||(e in Xe?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Xe)return e}(e)||e)}var Je=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ke={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function et(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function tt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,c=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+ie[a],!0,o)),r?("content"===n&&(c-=T.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(c-=T.css(e,"border"+ie[a]+"Width",!0,o))):(c+=T.css(e,"padding"+ie[a],!0,o),"padding"!==n?c+=T.css(e,"border"+ie[a]+"Width",!0,o):s+=T.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(c+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-c-s-.5))||0),c}function nt(e,t,n){var r=Fe(e),o=(!v.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ie.test(a)){if(!n)return a;a="auto"}return(!v.boxSizingReliable()&&o||!v.reliableTrDimensions()&&N(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+tt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function rt(e,t,n,r,o){return new rt.prototype.init(e,t,n,r,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=V(t),c=Ge.test(t),u=e.style;if(c||(t=Ve(s)),a=T.cssHooks[t]||T.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=le(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||c||(n+=o&&o[3]||(T.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=V(t);return Ge.test(t)||(t=Ve(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in Qe&&(o=Qe[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),T.each(["height","width"],(function(e,t){T.cssHooks[t]={get:function(e,n,r){if(n)return!Je.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?nt(e,t,r):$e(e,Ke,(function(){return nt(e,t,r)}))},set:function(e,n,r){var o,i=Fe(e),a=!v.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===T.css(e,"boxSizing",!1,i),c=r?tt(e,t,r,s,i):0;return s&&a&&(c-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-tt(e,t,"border",!1,i)-.5)),c&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),et(0,n,c)}}})),T.cssHooks.marginLeft=Ue(v.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-$e(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),T.each({margin:"",padding:"",border:"Width"},(function(e,t){T.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=et)})),T.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Fe(e),o=t.length;a<o;a++)i[t[a]]=T.css(e,t[a],!1,r);return i}return void 0!==n?T.style(e,t,n):T.css(e,t)}),e,t,arguments.length>1)}}),T.Tween=rt,rt.prototype={constructor:rt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(T.cssNumber[n]?"":"px")},cur:function(){var e=rt.propHooks[this.prop];return e&&e.get?e.get(this):rt.propHooks._default.get(this)},run:function(e){var t,n=rt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rt.propHooks._default.set(this),this}},rt.prototype.init.prototype=rt.prototype,rt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[Ve(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},rt.propHooks.scrollTop=rt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=rt.prototype.init,T.fx.step={};var ot,it,at=/^(?:toggle|show|hide)$/,st=/queueHooks$/;function ct(){it&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,T.fx.interval),T.fx.tick())}function ut(){return r.setTimeout((function(){ot=void 0})),ot=Date.now()}function lt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function pt(e,t,n){for(var r,o=(dt.tweeners[t]||[]).concat(dt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function dt(e,t,n){var r,o,i=0,a=dt.prefilters.length,s=T.Deferred().always((function(){delete c.elem})),c=function(){if(o)return!1;for(var t=ot||ut(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ot||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=T.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),l=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=V(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=T.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(l,u.opts.specialEasing);i<a;i++)if(r=dt.prefilters[i].call(u,e,l,u.opts))return g(r.stop)&&(T._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return T.map(l,pt,u),g(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),T.fx.timer(T.extend(c,{elem:e,anim:u,queue:u.opts.queue})),u}T.Animation=T.extend(dt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(R);for(var n,r=0,o=e.length;r<o;r++)n=e[r],dt.tweeners[n]=dt.tweeners[n]||[],dt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,c,u,l,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&ue(e),v=K.get(e,"fxshow");for(r in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always((function(){d.always((function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],at.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!v||void 0===v[r])continue;m=!0}f[r]=v&&v[r]||T.style(e,r)}if((c=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(r in p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=v&&v.display)&&(u=K.get(e,"display")),"none"===(l=T.css(e,"display"))&&(u?l=u:(fe([e],!0),u=e.style.display||u,l=T.css(e,"display"),fe([e]))),("inline"===l||"inline-block"===l&&null!=u)&&"none"===T.css(e,"float")&&(c||(d.done((function(){h.display=u})),null==u&&(l=h.display,u="none"===l?"":l)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),c=!1,f)c||(v?"hidden"in v&&(m=v.hidden):v=K.access(e,"fxshow",{display:u}),i&&(v.hidden=!m),m&&fe([e],!0),d.done((function(){for(r in m||fe([e]),K.remove(e,"fxshow"),f)T.style(e,r,f[r])}))),c=pt(m?v[r]:0,r,d),r in v||(v[r]=c.start,m&&(c.end=c.start,c.start=0))}],prefilter:function(e,t){t?dt.prefilters.unshift(e):dt.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return T.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in T.fx.speeds?r.duration=T.fx.speeds[r.duration]:r.duration=T.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=T.isEmptyObject(e),i=T.speed(t,n,r),a=function(){var t=dt(this,T.extend({},e),i);(o||K.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=T.timers,a=K.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&st.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||T.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=K.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=T.timers,a=r?r.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),T.each(["toggle","show","hide"],(function(e,t){var n=T.fn[t];T.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,o)}})),T.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){T.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ot=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ot=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){it||(it=!0,ct())},T.fx.stop=function(){it=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ft,ht=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return U(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){T.removeAttr(this,e)}))}}),T.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?T.prop(e,t,n):(1===i&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(R);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=ht[t]||T.find.attr;ht[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ht[a],ht[a]=o,o=null!=n(e,t,r)?a:null,ht[a]=i),o}}));var mt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function gt(e){return(e.match(R)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function bt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(R)||[]}T.fn.extend({prop:function(e,t){return U(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[T.propFix[e]||e]}))}}),T.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):mt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){T.propFix[this.toLowerCase()]=this})),T.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){T(this).addClass(e.call(this,t,yt(this)))}));if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,c=0;if(g(e))return this.each((function(t){T(this).removeClass(e.call(this,t,yt(this)))}));if(!arguments.length)return this.attr("class","");if((t=bt(e)).length)for(;n=this[c++];)if(o=yt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){T(this).toggleClass(e.call(this,n,yt(this),t),t)})):this.each((function(){var t,o,i,a;if(r)for(o=0,i=T(this),a=bt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=yt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;T.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=g(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,(function(e){return null==e?"":e+""}))),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(xt,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:gt(T.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],c=a?i+1:o.length;for(r=i<0?c:a?i:0;r<c;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=T.makeArray(t),a=o.length;a--;)((r=o[a]).selected=T.inArray(T.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),T.each(["radio","checkbox"],(function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},v.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),v.focusin="onfocusin"in r;var wt=/^(?:focusinfocus|focusoutblur)$/,Ct=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,n,o){var i,a,s,c,u,l,p,d,h=[n||b],m=f.call(e,"type")?e.type:e,v=f.call(e,"namespace")?e.namespace.split("."):[];if(a=d=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!wt.test(m+T.event.triggered)&&(m.indexOf(".")>-1&&(v=m.split("."),m=v.shift(),v.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[T.expando]?e:new T.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),p=T.event.special[m]||{},o||!p.trigger||!1!==p.trigger.apply(n,t))){if(!o&&!p.noBubble&&!y(n)){for(c=p.delegateType||m,wt.test(c+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)d=a,e.type=i>1?c:p.bindType||m,(l=(K.get(a,"events")||Object.create(null))[e.type]&&K.get(a,"handle"))&&l.apply(a,t),(l=u&&a[u])&&l.apply&&J(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(h.pop(),t)||!J(n)||u&&g(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),T.event.triggered=m,e.isPropagationStopped()&&d.addEventListener(m,Ct),n[m](),e.isPropagationStopped()&&d.removeEventListener(m,Ct),T.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each((function(){T.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),v.focusin||T.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){T.event.simulate(t,e.target,T.event.fix(e))};T.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t);o||r.addEventListener(e,n,!0),K.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=K.access(r,t)-1;o?K.access(r,t,o):(r.removeEventListener(e,n,!0),K.remove(r,t))}}}));var St=r.location,Tt={guid:Date.now()},jt=/\?/;T.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||T.error("Invalid XML: "+(n?T.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Dt=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var o;if(Array.isArray(t))T.each(t,(function(t,o){n||Dt.test(e)?r(e,o):Nt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Nt(e+"["+o+"]",t[o],n,r)}T.param=function(e,t){var n,r=[],o=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,(function(){o(this.name,this.value)}));else for(n in e)Nt(n,e[n],t,o);return r.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Et.test(this.nodeName)&&!At.test(e)&&(this.checked||!ve.test(e))})).map((function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,(function(e){return{name:t.name,value:e.replace(kt,"\r\n")}})):{name:t.name,value:n.replace(kt,"\r\n")}})).get()}});var Lt=/%20/g,qt=/#.*$/,Pt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Bt=/^(?:GET|HEAD)$/,Mt=/^\/\//,Ht={},Rt={},_t="*/".concat("*"),It=b.createElement("a");function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(R)||[];if(g(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var o={},i=e===Rt;function a(s){var c;return o[s]=!0,T.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(c=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),c}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,r,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}It.href=St.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":_t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,T.ajaxSettings),t):zt(T.ajaxSettings,e)},ajaxPrefilter:Ft(Ht),ajaxTransport:Ft(Rt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,c,u,l,p,d,f=T.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?T(h):T.event,v=T.Deferred(),g=T.Callbacks("once memory"),y=f.statusCode||{},x={},w={},C="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=Ot.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||C;return n&&n.abort(t),j(0,t),this}};if(v.promise(S),f.url=((e||f.url||St.href)+"").replace(Mt,St.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(R)||[""],null==f.crossDomain){c=b.createElement("a");try{c.href=f.url,c.href=c.href,f.crossDomain=It.protocol+"//"+It.host!=c.protocol+"//"+c.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),$t(Ht,f,t,S),u)return S;for(p in(l=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bt.test(f.type),o=f.url.replace(qt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Lt,"+")):(d=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(jt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Pt,"$1"),d=(jt.test(o)?"&":"?")+"_="+Tt.guid+++d),f.url=o+d),f.ifModified&&(T.lastModified[o]&&S.setRequestHeader("If-Modified-Since",T.lastModified[o]),T.etag[o]&&S.setRequestHeader("If-None-Match",T.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+_t+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,S,f)||u))return S.abort();if(C="abort",g.add(f.complete),S.done(f.success),S.fail(f.error),n=$t(Rt,f,t,S)){if(S.readyState=1,l&&m.trigger("ajaxSend",[S,f]),u)return S;f.async&&f.timeout>0&&(s=r.setTimeout((function(){S.abort("timeout")}),f.timeout));try{u=!1,n.send(x,j)}catch(e){if(u)throw e;j(-1,e)}}else j(-1,"No Transport");function j(e,t,a,c){var p,d,b,x,w,C=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=c||"",S.readyState=e>0?4:0,p=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){c.unshift(o);break}if(c[0]in n)i=c[0];else{for(o in n){if(!c[0]||e.converters[o+" "+c[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==c[0]&&c.unshift(i),n[i]}(f,S,a)),!p&&T.inArray("script",f.dataTypes)>-1&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),x=function(e,t,n,r){var o,i,a,s,c,u={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=l.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=i,i=l.shift())if("*"===i)i=c;else if("*"!==c&&c!==i){if(!(a=u[c+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[c+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+c+" to "+i}}}return{state:"success",data:t}}(f,x,S,p),p?(f.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(T.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(T.etag[o]=w)),204===e||"HEAD"===f.type?C="nocontent":304===e?C="notmodified":(C=x.state,d=x.data,p=!(b=x.error))):(b=C,!e&&C||(C="error",e<0&&(e=0))),S.status=e,S.statusText=(t||C)+"",p?v.resolveWith(h,[d,C,S]):v.rejectWith(h,[S,C,b]),S.statusCode(y),y=void 0,l&&m.trigger(p?"ajaxSuccess":"ajaxError",[S,f,p?d:b]),g.fireWith(h,[S,C]),l&&(m.trigger("ajaxComplete",[S,f]),--T.active||T.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],(function(e,t){T[t]=function(e,n,r,o){return g(n)&&(o=o||r,r=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:r},T.isPlainObject(e)&&e))}})),T.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){T(this).wrapInner(e.call(this,t))})):this.each((function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){T(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){T(this).replaceWith(this.childNodes)})),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Ut=T.ajaxSettings.xhr();v.cors=!!Ut&&"withCredentials"in Ut,v.ajax=Ut=!!Ut,T.ajaxTransport((function(e){var t,n;if(v.cors||Ut&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),T.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),T.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=T("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt=[],Xt=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Zt.pop()||T.expando+"_"+Tt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=g(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Xt,"$1"+o):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?T(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Zt.push(o)),a&&g(i)&&i(a[0]),a=i=void 0})),"script"})),v.createHTMLDocument=function(){var e=b.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=L.exec(e))?[t.createElement(o[1])]:(o=Se([e],t,i),i&&i.length&&T(i).remove(),T.merge([],o.childNodes)));var r,o,i},T.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,(function(t){return e===t.elem})).length},T.offset={setOffset:function(e,t,n){var r,o,i,a,s,c,u=T.css(e,"position"),l=T(e),p={};"static"===u&&(e.style.position="relative"),s=l.offset(),i=T.css(e,"top"),c=T.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+c).indexOf("auto")>-1?(a=(r=l.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(c)||0),g(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+o),"using"in t?t.using.call(e,p):l.css(p)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){T.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===T.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(r,"marginTop",!0),left:t.left-o.left-T.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ae}))}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;T.fn[e]=function(r){return U(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),T.each(["top","left"],(function(e,t){T.cssHooks[t]=Ue(v.pixelPosition,(function(e,n){if(n)return n=We(e,t),Ie.test(n)?T(e).position()[t]+"px":n}))})),T.each({Height:"height",Width:"width"},(function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){T.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){T.fn[t]=function(e){return this.on(t,e)}})),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Yt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=N,T.isFunction=g,T.isWindow=y,T.camelCase=V,T.type=C,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(Yt,"")},void 0===(n=function(){return T}.apply(t,[]))||(e.exports=n);var Vt=r.jQuery,Jt=r.$;return T.noConflict=function(e){return r.$===T&&(r.$=Jt),e&&r.jQuery===T&&(r.jQuery=Vt),T},void 0===o&&(r.jQuery=r.$=T),T}))},544:(e,t,n)=>{var r={"./anchor":14,"./anchor.js":14,"./array":49,"./array.js":49,"./avoid":586,"./avoid.js":586,"./browser":108,"./browser.js":108,"./console":603,"./console.js":603,"./coods":955,"./coods.js":955,"./cookie":415,"./cookie.js":415,"./date":8,"./date.js":8,"./disable":556,"./disable.js":556,"./errors":638,"./errors.js":638,"./event":445,"./event.js":445,"./font":897,"./font.js":897,"./form":210,"./form.js":210,"./format":361,"./format.js":361,"./function":237,"./function.js":237,"./iDB":553,"./iDB.js":553,"./json":142,"./json.js":142,"./load":444,"./load.js":444,"./math":846,"./math.js":846,"./obj":574,"./obj.js":574,"./path":983,"./path.js":983,"./promise":705,"./promise.js":705,"./screen":200,"./screen.js":200,"./scrollbar":205,"./scrollbar.js":205,"./shortcut":703,"./shortcut.js":703,"./state":6,"./state.js":6,"./storage":911,"./storage.js":911,"./store":15,"./store.js":15,"./svg":803,"./svg.js":803,"./text":82,"./text.js":82,"./time":620,"./time.js":620,"./timer":240,"./timer.js":240,"./tool":18,"./tool.js":18,"./trigger":866,"./trigger.js":866,"./type":303,"./type.js":303,"./window":976,"./window.js":976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=544},501:(e,t,n)=>{var r={"./anchor.js":14,"./array.js":49,"./avoid.js":586,"./browser.js":108,"./console.js":603,"./coods.js":955,"./cookie.js":415,"./date.js":8,"./disable.js":556,"./errors.js":638,"./event.js":445,"./font.js":897,"./form.js":210,"./format.js":361,"./function.js":237,"./iDB.js":553,"./json.js":142,"./load.js":444,"./math.js":846,"./obj.js":574,"./path.js":983,"./promise.js":705,"./screen.js":200,"./scrollbar.js":205,"./shortcut.js":703,"./state.js":6,"./storage.js":911,"./store.js":15,"./svg.js":803,"./text.js":82,"./time.js":620,"./timer.js":240,"./tool.js":18,"./trigger.js":866,"./type.js":303,"./window.js":976};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}o.keys=function(){return Object.keys(r)},o.resolve=i,e.exports=o,o.id=501},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},531:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,c,"next",e)}function c(e){r(a,o,i,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:()=>o})},982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(907);var o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},152:e=>{"use strict";e.exports=JSON.parse('{"info":{"title":"List","description":"Complete list of tools"},"categories":["3dparty","system","financial","memory","numbers","time","path","file","forms","ui","other"]}')},147:e=>{"use strict";e.exports=JSON.parse('{"name":"dphelper","version":"0.2.78","description":"Developer Tools","deprecated":false,"appCode":"dphelper","appCodeRelease":"dphelper","appName":"dphelper","appType":"beta","appFolder":"/","appPort":"","appAPI":"api","apiDev":"","apiProd":"","main":"index.js","targets":{"main":{"includeNodeModules":{"react":false,"react-dom":false},"isLibrary":true}},"engines":{"node":">=0.10.0"},"scripts":{"make-dist":"webpack --progress --color --mode production --config webpack.config.js","git":"cd node && node gitDeploy","git-tag":"cd node && node createTag","backup":"backup.bat","goLive":"cd node && node goLive"},"eslintConfig":{"globals":{"window":true}},"author":{"name":"Dario Passariello","website":"https://dario.passariello.ca","email":"dariopassariello@gmail.com"},"contributors":[{"name":"Dario Passariello","email":"dariopassariello@gmail.com"},{"name":"Valeria Cala Scaglitta","email":"valeriacalascaglitta@gmail.com"}],"keywords":["utils","tools","uuid","random","window","store","easy","pro","powerful","passariello"],"license":"Apache-2.0","homepage":"https://github.com/passariello/dphelper","funding":[{"type":"individual","url":"https://www.paypal.com/donate/?business=HC7LJ2ZXRRNDL&no_recurring=0&item_name=I+am+a+software+developer.+Just+a+donation+can+help+me+to+have+more+time+to+dedicate+on+this+project¤cy_code=CAD"},{"type":"patreon","url":"https://www.patreon.com/passariello"}],"repository":{"type":"git","url":"https://github.com/passariello/dpHelper","help":"https://github.com/passariello/dpHelper#readme"},"bugs":{"url":"https://github.com/passariello/dpHelper/issues"},"devDependencies":{"css-loader":"6.7.1","eslint":"8.12.0","file-loader":"6.2.0","jest":"27.5.1","less-loader":"10.2.0","sass-loader":"12.6.0","style-loader":"3.3.1","webpack-cli":"4.9.2"},"dependencies":{"@babel/plugin-proposal-class-properties":"7.16.7","@babel/plugin-transform-runtime":"7.17.0","@babel/preset-env":"7.16.11","@babel/preset-react":"7.16.7","@babel/preset-typescript":"7.16.7","@testing-library/jest-dom":"^5.16.2","@testing-library/user-event":"^14.0.0","babel-loader":"8.2.4","child_process":"1.0.2","classnames":"2.3.1","cli-confirm":"1.0.1","compression-webpack-plugin":"9.2.0","concurrently":"7.0.0","copy-webpack-plugin":"10.2.4","css":"3.0.0","dotenv":"16.0.0","fs":"0.0.1-security","html-webpack-plugin":"5.5.0","jquery":"3.6.0","jsdom-worker":"0.2.1","jshint":"^2.13.4","less":"4.1.2","moment":"2.29.1","path":"0.12.7","progress-bar-webpack-plugin":"2.1.0","react":"18.0.0","react-dom":"18.0.0","require":"2.4.20","sass":"1.49.9","ts-jest":"27.1.4","tslint":"6.1.3","webpack":"5.70.0"}}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};n(851)})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dphelper",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.78",
|
|
4
4
|
"description": "Developer Tools",
|
|
5
5
|
"deprecated": false,
|
|
6
6
|
"appCode": "dphelper",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"appName": "dphelper",
|
|
9
9
|
"appType": "beta",
|
|
10
10
|
"appFolder": "/",
|
|
11
|
+
"appPort": "",
|
|
11
12
|
"appAPI": "api",
|
|
12
13
|
"apiDev": "",
|
|
13
14
|
"apiProd": "",
|
|
@@ -27,9 +28,9 @@
|
|
|
27
28
|
"scripts": {
|
|
28
29
|
"make-dist": "webpack --progress --color --mode production --config webpack.config.js",
|
|
29
30
|
"git": "cd node && node gitDeploy",
|
|
30
|
-
"git-
|
|
31
|
+
"git-tag": "cd node && node createTag",
|
|
31
32
|
"backup": "backup.bat",
|
|
32
|
-
"goLive": "
|
|
33
|
+
"goLive": "cd node && node goLive"
|
|
33
34
|
},
|
|
34
35
|
"eslintConfig": {
|
|
35
36
|
"globals": {
|
|
@@ -85,7 +86,7 @@
|
|
|
85
86
|
},
|
|
86
87
|
"devDependencies": {
|
|
87
88
|
"css-loader": "6.7.1",
|
|
88
|
-
"eslint": "8.
|
|
89
|
+
"eslint": "8.12.0",
|
|
89
90
|
"file-loader": "6.2.0",
|
|
90
91
|
"jest": "27.5.1",
|
|
91
92
|
"less-loader": "10.2.0",
|
|
@@ -100,8 +101,8 @@
|
|
|
100
101
|
"@babel/preset-react": "7.16.7",
|
|
101
102
|
"@babel/preset-typescript": "7.16.7",
|
|
102
103
|
"@testing-library/jest-dom": "^5.16.2",
|
|
103
|
-
"@testing-library/user-event": "^
|
|
104
|
-
"babel-loader": "8.2.
|
|
104
|
+
"@testing-library/user-event": "^14.0.0",
|
|
105
|
+
"babel-loader": "8.2.4",
|
|
105
106
|
"child_process": "1.0.2",
|
|
106
107
|
"classnames": "2.3.1",
|
|
107
108
|
"cli-confirm": "1.0.1",
|
|
@@ -119,11 +120,11 @@
|
|
|
119
120
|
"moment": "2.29.1",
|
|
120
121
|
"path": "0.12.7",
|
|
121
122
|
"progress-bar-webpack-plugin": "2.1.0",
|
|
122
|
-
"react": "
|
|
123
|
-
"react-dom": "
|
|
123
|
+
"react": "18.0.0",
|
|
124
|
+
"react-dom": "18.0.0",
|
|
124
125
|
"require": "2.4.20",
|
|
125
126
|
"sass": "1.49.9",
|
|
126
|
-
"ts-jest": "27.1.
|
|
127
|
+
"ts-jest": "27.1.4",
|
|
127
128
|
"tslint": "6.1.3",
|
|
128
129
|
"webpack": "5.70.0"
|
|
129
130
|
}
|