diff --git a/README.md b/README.md index c23c947..833e532 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,10 @@ Then install dependencies with bower (or manually from github if you prefer to): ## How to use -To load the minified layer you need to wrap your main `require` call with another `require`, requiring `"delite-build/layer"`. Then you should continue to -refer to modules with `"delite/foo"`. +### `baseUrl` is the directory containing `delite-build`. +This is the most common use-case so the needed configuration is built in the layer. +To load the minified layer you just need to wrap your main `require` call with another `require`, requiring `"delite-build/layer"`. +Then you should continue to refer to modules with `"delite/foo"`. For example, this code: ```js @@ -42,6 +44,26 @@ require(["delite-build/layer"], function() { }); ``` +### Other `baseUrl` + +If `baseUrl` is not the directory containing `delite-build`, custom configuration is needed. + +```js +require.config({ + paths: { + "delite": "path/to/delite-build", + "decor": "path/to/decor-build", + "dpointer": "path/to/dpointer-build" + } +}); +``` + + +## Bug reporting + +Issues should be filled against the source version of this project at [ibm-js/delite](https://github.com/ibm-js/delite) + + ## Licensing This project is distributed by the Dojo Foundation and licensed under the ["New" BSD License](./LICENSE). diff --git a/bower.json b/bower.json index c7218b2..7beae60 100644 --- a/bower.json +++ b/bower.json @@ -1,14 +1,14 @@ { "name": "delite-build", - "version": "0.6.0", + "version": "0.7.1", "dependencies": { "jquery": ">=2.1", "requirejs": "2.1.x", - "decor-build": "0.5.x", + "decor-build": "0.6.x", "dpointer-build": "0.5.x" }, "devDependencies": { - "delite": "0.6.0" + "delite": "0.7.1" }, "keywords": [ "web-components", diff --git a/layer.js b/layer.js index afe2527..9b6b09c 100644 --- a/layer.js +++ b/layer.js @@ -1,8 +1,8 @@ require.config({"config":{"delite/theme":{"layersMap":{"delite/themes/{{theme}}/common.css":"delite/themes/layer_{{theme}}.css","delite/themes/{{theme}}/global.css":"delite/themes/layer_{{theme}}.css","delite/Scrollable/themes/{{theme}}/Scrollable.css":"delite/themes/layer_{{theme}}.css","delite/DialogUnderlay/themes/{{theme}}/DialogUnderlay.css":"delite/themes/layer_{{theme}}.css"}}}}); -define("requirejs-text/text",["module"],function(a){"use strict";var b,c,d,e,f,g=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],h=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,i=/]*>\s*([\s\S]+)\s*<\/body>/im,j="undefined"!=typeof location&&location.href,k=j&&location.protocol&&location.protocol.replace(/\:/,""),l=j&&location.hostname,m=j&&(location.port||void 0),n={},o=a.config&&a.config()||{};return b={version:"2.0.13",strip:function(a){if(a){a=a.replace(h,"");var b=a.match(i);b&&(a=b[1])}else a="";return a},jsEscape:function(a){return a.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:o.createXhr||function(){var a,b,c;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(b=0;3>b;b+=1){c=g[b];try{a=new ActiveXObject(c)}catch(d){}if(a){g=[c];break}}return a},parseName:function(a){var b,c,d,e=!1,f=a.lastIndexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1)):b=a,d=c||b,f=d.indexOf("!"),-1!==f&&(e="strip"===d.substring(f+1),d=d.substring(0,f),c?c=d:b=d),{moduleName:b,ext:c,strip:e}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(a,c,d,e){var f,g,h,i=b.xdRegExp.exec(a);return i?(f=i[2],g=i[3],g=g.split(":"),h=g[1],g=g[0],!(f&&f!==c||g&&g.toLowerCase()!==d.toLowerCase()||(h||g)&&h!==e)):!0},finishLoad:function(a,c,d,e){d=c?b.strip(d):d,o.isBuild&&(n[a]=d),e(d)},load:function(a,c,d,e){if(e&&e.isBuild&&!e.inlineText)return void d();o.isBuild=e&&e.isBuild;var f=b.parseName(a),g=f.moduleName+(f.ext?"."+f.ext:""),h=c.toUrl(g),i=o.useXhr||b.useXhr;return 0===h.indexOf("empty:")?void d():void(!j||i(h,k,l,m)?b.get(h,function(c){b.finishLoad(a,f.strip,c,d)},function(a){d.error&&d.error(a)}):c([g],function(a){b.finishLoad(f.moduleName+"."+f.ext,f.strip,a,d)}))},write:function(a,c,d){if(n.hasOwnProperty(c)){var e=b.jsEscape(n[c]);d.asModule(a+"!"+c,"define(function () { return '"+e+"';});\n")}},writeFile:function(a,c,d,e,f){var g=b.parseName(c),h=g.ext?"."+g.ext:"",i=g.moduleName+h,j=d.toUrl(g.moduleName+h)+".js";b.load(i,d,function(){var c=function(a){return e(j,a)};c.asModule=function(a,b){return e.asModule(a,j,b)},b.write(a,i,c,f)},f)}},"node"===o.env||!o.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]?(c=require.nodeRequire("fs"),b.get=function(a,b,d){try{var e=c.readFileSync(a,"utf8");""===e[0]&&(e=e.substring(1)),b(e)}catch(f){d&&d(f)}}):"xhr"===o.env||!o.env&&b.createXhr()?b.get=function(a,c,d,e){var f,g=b.createXhr();if(g.open("GET",a,!0),e)for(f in e)e.hasOwnProperty(f)&&g.setRequestHeader(f.toLowerCase(),e[f]);o.onXhr&&o.onXhr(g,a),g.onreadystatechange=function(){var b,e;4===g.readyState&&(b=g.status||0,b>399&&600>b?(e=new Error(a+" HTTP status: "+b),e.xhr=g,d&&d(e)):c(g.responseText),o.onXhrComplete&&o.onXhrComplete(g,a))},g.send(null)}:"rhino"===o.env||!o.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?b.get=function(a,b){var c,d,e="utf-8",f=new java.io.File(a),g=java.lang.System.getProperty("line.separator"),h=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(f),e)),i="";try{for(c=new java.lang.StringBuffer,d=h.readLine(),d&&d.length()&&65279===d.charAt(0)&&(d=d.substring(1)),null!==d&&c.append(d);null!==(d=h.readLine());)c.append(g),c.append(d);i=String(c.toString())}finally{h.close()}b(i)}:("xpconnect"===o.env||!o.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(d=Components.classes,e=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),f="@mozilla.org/windows-registry-key;1"in d,b.get=function(a,b){var c,g,h,i={};f&&(a=a.replace(/\//g,"\\")),h=new FileUtils.File(a);try{c=d["@mozilla.org/network/file-input-stream;1"].createInstance(e.nsIFileInputStream),c.init(h,1,0,!1),g=d["@mozilla.org/intl/converter-input-stream;1"].createInstance(e.nsIConverterInputStream),g.init(c,"utf-8",c.available(),e.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),g.readString(c.available(),i),g.close(),c.close(),b(i.value)}catch(j){throw new Error((h&&h.path||"")+": "+j)}}),b}),define("delite/uacss",["decor/sniff"],function(a){var b=a("ie"),c=Math.floor,d=a("ff"),e={"d-webkit":a("webkit"),"d-safari":a("safari"),"d-chrome":a("chrome"),"d-gecko":a("mozilla"),"d-ios":a("ios"),"d-android":a("android")};b&&(e["d-ie"]=!0,e["d-ie-"+c(b)]=!0),d&&(e["d-ff-"+c(d)]=!0);var f="";for(var g in e)e[g]&&(f+=g+" ");return document.body.className=(document.body.className+" "+f).trim(),a}),define("delite/theme",["require","requirejs-dplugins/has","module","requirejs-dplugins/css"],function(a,b,c,d){"use strict";var e=c.config(),f={themeMap:e.themeMap||[[/.*/,"bootstrap"]],getTheme:function(){var a=f.theme||e.theme;if(!a){var b=location.search.match(/theme=(\w+)/);a=b&&b.length>1?b[1]:null}if(!a)for(var c=e.userAgent||(location.search.match(/ua=(\w+)/)?RegExp.$1:navigator.userAgent),d=this.themeMap,g=0;g0&&a[b].parent===a[b-1].popup;b--);return a[b]},open:function(a){return this._prepareToOpen(a),this._size(a,!0),this._position(a)},_prepareToOpen:function(a){var g=this._stack,h=a.popup,i=a.around;for(h.id||(h.id=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++);g.length&&(!a.parent||!g[g.length-1].popup.contains(a.parent));)this.close(g[g.length-1].popup);var j=this.moveOffScreen(h),k=["d-popup"];((h.baseClass||"")+" "+h.className).split(/ +/).forEach(function(a){a&&k.push(a+"-popup")}),b.mix(j,{id:h.id+"_wrapper",className:k.join(" ")}),j.style.zIndex=this._beginZIndex+g.length,j._popupParent=a.parent?a.parent:null,0===g.length&&i&&(this._firstAroundNode=i,this._firstAroundPosition=f.position(i),this._aroundMoveListener=setTimeout(this._checkScroll.bind(this),50)),d("config-bgIframe")&&!h.bgIframe&&(h.bgIframe=new c(j)),j.style.visibility="visible",h.style.visibility="visible";var l=[],m=function(b){if(b.keyCode===e.ESCAPE&&a.onCancel)b.stopPropagation(),b.preventDefault(),a.onCancel();else if(b.keyCode===e.TAB){b.stopPropagation(),b.preventDefault();var c=this.getTopPopup();c.onCancel&&c.onCancel()}}.bind(this);j.addEventListener("keydown",m),l.push({remove:function(){j.removeEventListener("keydown",m)}}),a.onCancel&&l.push(h.on("cancel",a.onCancel));var n=function(){var a=this.getTopPopup();a.onExecute&&a.onExecute()}.bind(this);l.push(h.on("change",n),h.on("execute",n));var o=Object.create(a);o.wrapper=j,o.handlers=l,g.push(o)},_size:function(a,b){var c=a.popup,d=c._popupWrapper,e=a.around,f=a.orient||["below","below-alt","above","above-alt"],h=g.getEffectiveBox(c.ownerDocument);if(b&&(d.style.height="auto","center"===f[0]&&(d.style.width="auto"),a._naturalHeight=c.offsetHeight,a._naturalWidth=c.offsetWidth),"center"===f[0])d.style.height=a._naturalHeight>.9*h.h?Math.floor(.9*h.h)+"px":"auto",d.style.width=a._naturalWidth>.9*h.w?Math.floor(.9*h.w)+"px":"auto";else{var i;if("maxHeight"in a&&-1!==a.maxHeight)i=a.maxHeight||1/0;else{var j=e?e.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};i=Math.floor(Math.max(j.top,h.h-(j.top+j.height)))}d.style.height=a._naturalHeight>i?i+"px":"auto"}c.style.height=d.style.height},_position:function(a){var b=a.popup,c=b._popupWrapper,d=a.around,e=a.orient||["below","below-alt","above","above-alt"],g=a.parent?a.parent.isLeftToRight():h(b.ownerDocument);if("center"!==e[0]){var i=b.orient?b.orient.bind(b):null;return d?f.around(c,d,e,g,i):f.at(c,a,"R"===e?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,i)}f.center(c)},close:function(a){for(var b=this._stack;a&&b.some(function(b){return b.popup===a})||!a&&b.length;){var c=b.pop(),d=c.popup,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe);for(var f;f=c.handlers.pop();)f.remove();this.hide(d),e&&e()}0===b.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return new j}),define("delite/place",["./Viewport"],function(a){function b(b,c,d,e){var f=a.getEffectiveBox(b.ownerDocument),g=b.style;b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var h=null;c.some(function(a){var c=a.corner,i=a.pos,j=0,k={w:{L:f.l+f.w-i.x,R:i.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-i.y,B:i.y-f.t,M:f.h}[c.charAt(0)]};if(g.left=g.right="auto",d){var l=d(b,a.aroundCorner,c,k,e);j="undefined"==typeof l?0:l}var m=g.display,n=g.visibility;"none"===g.display&&(g.visibility="hidden",g.display="");var o=b.getBoundingClientRect();g.display=m,g.visibility=n;var p={L:i.x,R:i.x-o.width,M:Math.max(f.l,Math.min(f.l+f.w,i.x+(o.width>>1))-o.width)}[c.charAt(1)],q={T:i.y,B:i.y-o.height,M:Math.max(f.t,Math.min(f.t+f.h,i.y+(o.height>>1))-o.height)}[c.charAt(0)],r=Math.max(f.l,p),s=Math.max(f.t,q),t=Math.min(f.l+f.w,p+o.width),u=Math.min(f.t+f.h,q+o.height),v=t-r,w=u-s;return j+=o.width-v+(o.height-w),(null==h||j>1)}[a.charAt(1)],y:{T:v,B:v+x,M:v+(x>>1)}[a.charAt(0)]}})}var i;if("string"==typeof c||"offsetWidth"in c||"ownerSVGElement"in c){if(i=d.position(c),/^(above|below)/.test(e[0])){var j=function(a){var b=getComputedStyle(a);return{t:parseFloat(b.borderTopWidth),b:parseFloat(b.borderBottomWidth)}},k=j(c),l=c.firstElementChild?j(c.firstElementChild):{t:0,b:0},m=j(a),n=a.firstElementChild?j(a.firstElementChild):{t:0,b:0};i.y+=Math.min(k.t+l.t,m.t+n.t),i.h-=Math.min(k.t+l.t,m.t+n.t)+Math.min(k.b+l.b,m.b+n.b)}}else i=c;if(c.parentNode)for(var o="absolute"===getComputedStyle(c).position,p=c.parentNode;p&&1===p.nodeType&&"BODY"!==p.nodeName;){var q=d.position(p),r=getComputedStyle(p);if(/^(relative|absolute)$/.test(r.position)&&(o=!1),!o&&/^(hidden|auto|scroll)$/.test(r.overflow)){var s=Math.min(i.y+i.h,q.y+q.h),t=Math.min(i.x+i.w,q.x+q.w);i.x=Math.max(i.x,q.x),i.y=Math.max(i.y,q.y),i.h=s-i.y,i.w=t-i.x}"absolute"===r.position&&(o=!0),p=p.parentNode}var u=i.x,v=i.y,w=i.w,x=i.h,y=[];e.forEach(function(a){var b=f;switch(a){case"above-centered":h("TM","BM");break;case"below-centered":h("BM","TM");break;case"after-centered":b=!b;case"before-centered":h(b?"ML":"MR",b?"MR":"ML");break;case"after":b=!b;case"before":h(b?"TL":"TR",b?"TR":"TL"),h(b?"BL":"BR",b?"BR":"BL");break;case"below-alt":b=!b;case"below":h(b?"BL":"BR",b?"TL":"TR"),h(b?"BR":"BL",b?"TR":"TL");break;case"above-alt":b=!b;case"above":h(b?"TL":"TR",b?"BL":"BR"),h(b?"TR":"TL",b?"BR":"BL")}});var z=b(a,y,g,{w:w,h:x});return z.aroundNodePos=i,z},center:function(b){var c=b.style,d=/^rtl$/i.test(b.dir||b.ownerDocument.body.dir||b.ownerDocument.documentElement.dir);c.top="-9999px",c[d?"right":"left"]="-9999px";var e=a.getEffectiveBox(),f=b.getBoundingClientRect();c.top=e.t+(e.h-f.height)/2+"px",c.left=e.l+(e.w-f.width)/2+"px",c.right="auto"},position:function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.defaultView;return{x:b.left+(d.pageXOffset||c.documentElement.scrollLeft),y:b.top+(d.pageYOffset||c.documentElement.scrollTop),h:b.height,w:b.width}}};return d}),define("delite/keys",["decor/sniff"],function(a){return{BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:a("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:a("mac")?a("safari")?91:224:17}}),define("delite/handlebars",["./Template","require","requirejs-dplugins/Promise!"],function(a,b,c){function d(a,b){var c,d=[];return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var e=a.trim();d.push(/this\./.test(e)?"("+a+")":b?"(this."+e+"== null ? '' : this."+e+")":"this."+e)}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),d.join(" + ")}var e="requirejs-text/text",f={parse:function(b,c){var e,g,h=b.hasAttribute("is")?b.getAttribute("is"):b.tagName.replace(/^template-/i,"").toLowerCase(),i=a.getElement(h),j={},k={},l=0,m=b.attributes;for(l=0;g=m[l];l++)if(g.value)switch(g.name){case"xmlns":c=g.value;break;case"is":break;case"attach-point":case"data-attach-point":e=g.value.split(/, */);break;default:if(/^on-/.test(g.name))k[g.name.substring(3)]=g.value.replace(/\s*({{|}})\s*/g,"");else{var n=a.getProp(h,g.name);if(n&&"string"!=typeof i[n]&&!/{{/.test(g.value)&&"style.cssText"!==n){var o=g.value;"boolean"!=typeof i[n]||"off"!==o&&"on"!==o||(o="on"===o?"true":"false"),j[g.name]=o}else j[g.name]=d(g.value,"class"===g.name)}}return{tag:h,xmlns:c,attributes:j,connects:k,children:f.parseChildren(b,c),attachPoints:e}},parseChildren:function(a,b){for(var c,e=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)c=e.length,e.push(f.parse(g,b));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===c)continue}else c=e.length;e.push(d(g.nodeValue,!0))}}return e.slice(0,c+1)},toDom:function(a){a=a.replace(/(<\/? *)([-a-zA-Z0-9]+)/g,"$1template-$2"),a=a.replace(/]*?)\/?>/g,"");var b;if(/a||(this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),h+100>a||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_pointerDownOrFocusHandler:function(a,b){h=(new Date).getTime(),g=a,this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);var c=[];try{for(;a;)if(a._popupParent)a=a._popupParent;else if(a.tagName&&"body"===a.tagName.toLowerCase()){if(a===document.body)break;a=a.ownerDocument.defaultView.frameElement}else!a.render||"mouse"===b&&a.disabled||c.unshift(a),a=a.parentNode}catch(d){}this._setStack(c,b)},_focusHandler:function(a){a&&9!==a.nodeType&&(f=(new Date).getTime(),(new Date).getTime()=0&&c[g]!==a[g];g--)f=c[g],f&&(f.emit("delite-deactivated",{bubbles:!1,by:b}),this.emit("deactivated",f,b));for(g++;e>=g;g++)f=a[g],f&&(f.emit("delite-activated",{bubbles:!1,by:b}),this.emit("activated",f,b))}}}),j=new i;return j.registerWin(window),j}),define("jquery/src/attributes/classes",["../core","../var/rnotwhite","../var/strundefined","../data/var/data_priv","../core/init"],function(a,b,c,d){var e=/[\t\r\n\f]/g;a.fn.extend({addClass:function(c){var d,f,g,h,i,j,k="string"==typeof c&&c,l=0,m=this.length;if(a.isFunction(c))return this.each(function(b){a(this).addClass(c.call(this,b,this.className))});if(k)for(d=(c||"").match(b)||[];m>l;l++)if(f=this[l],g=1===f.nodeType&&(f.className?(" "+f.className+" ").replace(e," "):" ")){for(i=0;h=d[i++];)g.indexOf(" "+h+" ")<0&&(g+=h+" ");j=a.trim(g),f.className!==j&&(f.className=j)}return this},removeClass:function(c){var d,f,g,h,i,j,k=0===arguments.length||"string"==typeof c&&c,l=0,m=this.length;if(a.isFunction(c))return this.each(function(b){a(this).removeClass(c.call(this,b,this.className))});if(k)for(d=(c||"").match(b)||[];m>l;l++)if(f=this[l],g=1===f.nodeType&&(f.className?(" "+f.className+" ").replace(e," "):"")){for(i=0;h=d[i++];)for(;g.indexOf(" "+h+" ")>=0;)g=g.replace(" "+h+" "," ");j=c?a.trim(g):"",f.className!==j&&(f.className=j)}return this},toggleClass:function(e,f){var g=typeof e;return"boolean"==typeof f&&"string"===g?f?this.addClass(e):this.removeClass(e):this.each(a.isFunction(e)?function(b){a(this).toggleClass(e.call(this,b,this.className,f),f)}:function(){if("string"===g)for(var f,h=0,i=a(this),j=e.match(b)||[];f=j[h++];)i.hasClass(f)?i.removeClass(f):i.addClass(f);else(g===c||"boolean"===g)&&(this.className&&d.set(this,"__className__",this.className),this.className=this.className||e===!1?"":d.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(e," ").indexOf(b)>=0)return!0;return!1}})}),define("jquery/src/core/init",["../core","./var/rsingleTag","../traversing/findFilter"],function(a,b){var c,d=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,e=a.fn.init=function(e,f){var g,h;if(!e)return this;if("string"==typeof e){if(g="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:d.exec(e),!g||!g[1]&&f)return!f||f.jquery?(f||c).find(e):this.constructor(f).find(e);if(g[1]){if(f=f instanceof a?f[0]:f,a.merge(this,a.parseHTML(g[1],f&&f.nodeType?f.ownerDocument||f:document,!0)),b.test(g[1])&&a.isPlainObject(f))for(g in f)a.isFunction(this[g])?this[g](f[g]):this.attr(g,f[g]);return this}return h=document.getElementById(g[2]),h&&h.parentNode&&(this.length=1,this[0]=h),this.context=document,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):a.isFunction(e)?"undefined"!=typeof c.ready?c.ready(e):e(a):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),a.makeArray(e,this))};return e.prototype=a.fn,c=a(document),e}),define("jquery/src/traversing/findFilter",["../core","../var/indexOf","./var/rneedsContext","../selector"],function(a,b,c){function d(c,d,f){if(a.isFunction(d))return a.grep(c,function(a,b){return!!d.call(a,b,a)!==f});if(d.nodeType)return a.grep(c,function(a){return a===d!==f});if("string"==typeof d){if(e.test(d))return a.filter(d,c,f);d=a.filter(d,c)}return a.grep(c,function(a){return b.call(d,a)>=0!==f})}var e=/^.[^:#\[\.,]*$/;a.filter=function(b,c,d){var e=c[0];return d&&(b=":not("+b+")"),1===c.length&&1===e.nodeType?a.find.matchesSelector(e,b)?[e]:[]:a.find.matches(b,a.grep(c,function(a){return 1===a.nodeType}))},a.fn.extend({find:function(b){var c,d=this.length,e=[],f=this;if("string"!=typeof b)return this.pushStack(a(b).filter(function(){for(c=0;d>c;c++)if(a.contains(f[c],this))return!0}));for(c=0;d>c;c++)a.find(b,f[c],e);return e=this.pushStack(d>1?a.unique(e):e),e.selector=this.selector?this.selector+" "+b:b,e},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(b){return!!d(this,"string"==typeof b&&c.test(b)?a(b):b||[],!1).length}})}),define("jquery/src/selector-native",["./core"],function(a){var b,c=window.document.documentElement,d=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector,e=function(c,d){if(c===d)return b=!0,0;var e=d.compareDocumentPosition&&c.compareDocumentPosition&&c.compareDocumentPosition(d);return e?1&e?c===document||a.contains(document,c)?-1:d===document||a.contains(document,d)?1:0:4&e?-1:1:c.compareDocumentPosition?-1:1};a.extend({find:function(b,c,d,e){var f,g,h=0;if(d=d||[],c=c||document,!b||"string"!=typeof b)return d;if(1!==(g=c.nodeType)&&9!==g)return[];if(e)for(;f=e[h++];)a.find.matchesSelector(f,b)&&d.push(f);else a.merge(d,c.querySelectorAll(b));return d},unique:function(a){var c,d=[],f=0,g=0;if(b=!1,a.sort(e),b){for(;c=a[f++];)c===a[f]&&(g=d.push(f));for(;g--;)a.splice(d[g],1)}return a},text:function(b){var c,d="",e=0,f=b.nodeType;if(f){if(1===f||9===f||11===f)return b.textContent;if(3===f||4===f)return b.nodeValue}else for(;c=b[e++];)d+=a.text(c);return d},contains:function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!c.contains(d))},isXMLDoc:function(a){return"HTML"!==(a.ownerDocument||a).documentElement.nodeName},expr:{attrHandle:{},match:{bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]/}}}),a.extend(a.find,{matches:function(b,c){return a.find(b,null,null,c)},matchesSelector:function(a,b){return d.call(a,b)},attr:function(a,b){return a.getAttribute(b)}})}),define("jquery/src/traversing/var/rneedsContext",["../../core","../../selector"],function(a){return a.expr.match.needsContext}),define("jquery/src/var/indexOf",["./arr"],function(a){return a.indexOf}),define("jquery/src/var/arr",[],function(){return[]}),define("jquery/src/core/var/rsingleTag",[],function(){return/^<(\w+)\s*\/?>(?:<\/\1>|)$/}),define("jquery/src/data/var/data_priv",["../Data"],function(a){return new a}),define("jquery/src/data/Data",["../core","../var/rnotwhite","./accepts"],function(a,b){function c(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=a.expando+c.uid++}return c.uid=1,c.accepts=a.acceptData,c.prototype={key:function(b){if(!c.accepts(b))return 0;var d={},e=b[this.expando];if(!e){e=c.uid++;try{d[this.expando]={value:e},Object.defineProperties(b,d)}catch(f){d[this.expando]=e,a.extend(b,d)}}return this.cache[e]||(this.cache[e]={}),e},set:function(b,c,d){var e,f=this.key(b),g=this.cache[f];if("string"==typeof c)g[c]=d;else if(a.isEmptyObject(g))a.extend(this.cache[f],c);else for(e in c)g[e]=c[e];return g},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(b,c,d){var e;return void 0===c||c&&"string"==typeof c&&void 0===d?(e=this.get(b,c),void 0!==e?e:this.get(b,a.camelCase(c))):(this.set(b,c,d),void 0!==d?d:c)},remove:function(c,d){var e,f,g,h=this.key(c),i=this.cache[h];if(void 0===d)this.cache[h]={};else{a.isArray(d)?f=d.concat(d.map(a.camelCase)):(g=a.camelCase(d),d in i?f=[d,g]:(f=g,f=f in i?[f]:f.match(b)||[])),e=f.length;for(;e--;)delete i[f[e]]}},hasData:function(b){return!a.isEmptyObject(this.cache[b[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}},c}),define("jquery/src/data/accepts",["../core"],function(a){return a.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType},a.acceptData}),define("jquery/src/var/strundefined",[],function(){return"undefined"}),define("jquery/src/var/rnotwhite",[],function(){return/\S+/g}),define("jquery/src/core",["./var/arr","./var/slice","./var/concat","./var/push","./var/indexOf","./var/class2type","./var/toString","./var/hasOwn","./var/support"],function(a,b,c,d,e,f,g,h,i){function j(a){var b=a.length,c=m.type(a); -return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var k=window.document,l="@VERSION",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};return m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return b.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:b.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(b.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:a.sort,splice:a.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(m.isPlainObject(d)||(e=m.isArray(d)))?(e?(e=!1,f=c&&m.isArray(c)?c:[]):f=c&&m.isPlainObject(c)?c:{},g[b]=m.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==m.type(a)||a.nodeType||m.isWindow(a)?!1:a.constructor&&!h.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?f[g.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=m.trim(a),a&&(1===a.indexOf("use strict")?(b=k.createElement("script"),b.text=a,k.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=j(a);if(c){if(g)for(;f>e&&(d=b.apply(a[e],c),d!==!1);e++);else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g)for(;f>e&&(d=b.call(a[e],e,a[e]),d!==!1);e++);else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(j(Object(a))?m.merge(c,"string"==typeof a?[a]:a):d.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:e.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,d){var e,f=0,g=a.length,h=j(a),i=[];if(h)for(;g>f;f++)e=b(a[f],f,d),null!=e&&i.push(e);else for(f in a)e=b(a[f],f,d),null!=e&&i.push(e);return c.apply([],i)},guid:1,proxy:function(a,c){var d,e,f;return"string"==typeof c&&(d=a[c],c=a,a=d),m.isFunction(a)?(e=b.call(arguments,2),f=function(){return a.apply(c||this,e.concat(b.call(arguments)))},f.guid=a.guid=a.guid||m.guid++,f):void 0},now:Date.now,support:i}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){f["[object "+b+"]"]=b.toLowerCase()}),m}),define("jquery/src/var/support",[],function(){return{}}),define("jquery/src/var/hasOwn",["./class2type"],function(a){return a.hasOwnProperty}),define("jquery/src/var/toString",["./class2type"],function(a){return a.toString}),define("jquery/src/var/class2type",[],function(){return{}}),define("jquery/src/var/push",["./arr"],function(a){return a.push}),define("jquery/src/var/concat",["./arr"],function(a){return a.concat}),define("jquery/src/var/slice",["./arr"],function(a){return a.slice}),define("requirejs-domready/domReady",[],function(){"use strict";function a(a){var b;for(b=0;b=0},isFocusable:function(b){return a.effectiveTabIndex(b)>=-1},_getTabNavigable:function(b){function c(a){return a&&"input"===a.tagName.toLowerCase()&&a.type&&"radio"===a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}function d(a){for(var b=a.firstChild;b;b=b.nextSibling)if(1===b.nodeType&&m(b)){var e=n(b);if(e>=0){0===e?(f||(f=b),g=b):e>0&&((!h||i>e)&&(i=e,h=b),(!j||e>=k)&&(k=e,j=b));var o=c(b);b.checked&&o&&(l[o]=b)}"SELECT"!==b.nodeName.toUpperCase()&&d(b)}}function e(a){return l[c(a)]||a}var f,g,h,i,j,k,l={},m=a._isElementShown,n=a.effectiveTabIndex;return m(b)&&d(b),{first:e(f),last:e(g),lowest:e(h),highest:e(j)}},getFirstInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.last?d.last:d.highest}};return a}),define("delite/Widget",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g){var h=0;c.add("setter-on-native-prop",function(){var b=!1,c=a(e,{dir:"",_setDirAttr:function(){b=!0}}),d=f("test-setter-on-native-prop",[HTMLElement,c],{}),g=new d;return g.dir="rtl",b});var i=a([e,d],{baseClass:"",focused:!1,started:!1,widgetId:0,dir:"",createdCallback:function(){this.preRender(),this.render(),this.postRender()},refreshRendering:function(a){this._templateHandle&&this._templateHandle.refresh(a),"baseClass"in a&&b(this).removeClass(a.baseClass).addClass(this.baseClass),"dir"in a&&(b(this).toggleClass("d-rtl",!this.isLeftToRight()),this.style.direction=this._get("dir"))},_introspect:function(){if(!c("setter-on-native-prop")){var a=this._nativePropSetterMap={};["dir","tabIndex"].forEach(function(b){for(var c=this;c;c=Object.getPrototypeOf(c)){var d=Object.getOwnPropertyDescriptor(c,b);if(d&&d.set){a[b.toLowerCase()]=d.set;break}}},this)}},attachedCallback:a.after(function(){if(!c("setter-on-native-prop")){var a=this._nativePropSetterMap,b=Object.keys(a);b.forEach(function(b){if(this.hasAttribute(b)){var c=this.getAttribute(b);this.removeAttribute(b),a[b].call(this,c)}},this);var d=window.MutationObserver||WebKitMutationObserver,e=new d(function(b){b.forEach(function(b){var c=b.attributeName,d=a[c],e=this.getAttribute(c);null!==e&&(this.removeAttribute(c),d.call(this,e))},this)}.bind(this));e.observe(this,{subtree:!1,attributeFilter:b,attributes:!0})}this._templateHandle&&!c("document-register-element")&&this._templateHandle.attach()}),preRender:function(){this.widgetId=++h},template:null,render:function(){this.template&&(this._templateHandle=this.template(this.ownerDocument,f))},setClassComponent:function(a,c,d){d||(d=this);var e="_"+a+"Class";b(d).removeClass(d[e]||"").addClass(c),d[e]=c},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postRender:function(){this.initializeInvalidating(),this._templateHandle&&this.notifyCurrentValue.apply(this,this._templateHandle.dependencies),this.notifyCurrentValue("dir","baseClass")},startup:function(){this.started||(this.attachedCallback(),this.started=!0,this.findCustomElements(this).forEach(function(a){a.started||a._destroyed||"function"!=typeof a.startup||(a.startup(),a.started=!0)}))},destroy:function(){this.bgIframe&&(this.bgIframe.destroy(),delete this.bgIframe)},getParent:function(){return this.getEnclosingWidget(this.parentNode)},isLeftToRight:function(){var a=this.ownerDocument;return!/^rtl$/i.test(this._get("dir")||a.body.dir||a.documentElement.dir)},placeAt:function(a,b){if("string"==typeof a&&(a=this.ownerDocument.getElementById(a)),"replace"===b)a.parentNode.replaceChild(this,a);else if("only"===b){for(var c;c=a.lastChild;)a.removeChild(c);a.appendChild(this)}else if(/^(before|after)$/.test(b))a.parentNode.insertBefore(this,"before"===b?a:a.nextSibling);else{var d=a.containerNode||a,e=d.children||Array.prototype.filter.call(d.childNodes,function(a){return 1===a.nodeType});d.insertBefore(this,e["first"===b?0:b]||null)}return this.attached||this.attachedCallback(!0),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.render)return a;while(a=a.parentNode);return null}});return c("bidi")&&(i=a(i,g)),a.chainAfter(i,"preRender"),a.chainAfter(i,"postRender"),i}),define("delite/Viewport",["decor/Evented","decor/sniff","requirejs-domready/domReady!"],function(a,b){function c(){if(b("ios")<8){var a=document.body.getBoundingClientRect();return{w:Math.max(a.width,window.innerWidth),h:Math.max(a.height,window.innerHeight),t:window.pageYOffset,l:window.pageXOffset}}return{w:window.innerWidth,h:window.innerHeight,t:window.pageYOffset,l:window.pageXOffset}}function d(){var a=g.getEffectiveBox();return a.h!==h.h||a.w!==h.w?(h=a,g.emit("resize",a),!0):!1}function e(){var a=g.getEffectiveBox();return a.t!==i.t||a.l!==i.l?(i=a,g.emit("scroll",a),!0):!1}function f(){var a=d(),b=e();setTimeout(f,a||b?10:50)}var g=new a;g.getEffectiveBox=function(){var a=c(),d=document.activeElement,e=d&&d.tagName&&d.tagName.toLowerCase();return b("ios")&&d&&!d.readOnly&&("textarea"===e||"input"===e&&/^(color|email|number|password|search|tel|text|url)$/.test(d.type))&&(a.h*=b("ipad")?0===window.orientation||180===window.orientation?.65:.38:0===window.orientation||180===window.orientation?window.screen.height>500?.54:.42:window.screen.height>500&&b("ios")>=8?.26:.19,b("ios")>=8&&(!d.hasAttribute("autocorrect")||"on"===d.getAttribute("autocorrect"))&&/^(color|number|search|tel|text)$/.test(d.type)&&(a.h-=40)),a};var h=g.getEffectiveBox(),i=h;return f(),g}),define("delite/Template",["./register"],function(a){function b(a){var b=a.match(/this\.(\w+)/g);return b?Object.keys(b.reduce(function(a,b){return a[b.substring(5)]=!0,a},{})):[]}var c=a.dcl(null,{constructor:function(a,b,c){this.buildText=[],this.attachText=[],this.observeText=[],this.dependsOn={},this.generateNodeCode(b||"this",c,a),this.text=this.buildText.join("\n")+"\nreturn {\n dependencies: "+JSON.stringify(Object.keys(this.dependsOn))+",\n attach: function(){\n "+this.attachText.join("\n ")+"\n },\n refresh: function(props){\n "+this.observeText.join("\n ")+"\n }.bind(this)\n};\n",this.func=new Function("document","register",this.text)},text:"",func:null,generateWatchCode:function(a,b){this.observeText.push("if("+a.map(function(a){return"'"+a+"' in props"}).join(" || ")+")"," "+b+";"),a.forEach(function(a){this.dependsOn[a]=!0},this)},generateNodeChildrenCode:function(a,c){c.forEach(function(c,d){var e=("this"===a?"":a)+"c"+(d+1);if(c.tag)this.generateNodeCode(e,!0,c),this.buildText.push(a+".appendChild("+e+");");else{var f=e+"t"+(d+1),g=c,h=b(g);this.buildText.push("var "+f+" = document.createTextNode("+(h.length?"''":g)+");",a+".appendChild("+f+");"),h.length&&this.generateWatchCode(h,f+".nodeValue = "+g)}},this)},generateNodeCode:function(a,d,e){var f=(e.attachPoints||[]).map(function(a){return"this."+a+" = "}).join("");d?(this.buildText.push("var "+a+" = "+f+(e.xmlns?"document.createElementNS('"+e.xmlns+"', '"+e.tag+"');":"register.createElement('"+e.tag+"');")),/-/.test(e.tag)&&this.attachText.push(a+".attachedCallback();")):f&&this.buildText.push(f+a+";");for(var g in e.attributes){var h=e.attributes[g],i=b(h),j=c.getProp(e.tag,g);"class"!==g||e.xmlns?i.length?this.generateWatchCode(i,j?a+"."+j+" = "+h:"this.setOrRemoveAttribute("+a+", '"+g+"', "+h+")"):this.buildText.push(j?a+"."+j+" = "+h:a+".setAttribute('"+g+"', "+h+");"):i.length?this.generateWatchCode(i,"this.setClassComponent('template', "+h+", "+a+")"):this.buildText.push("this.setClassComponent('template', "+h+", "+a+")")}/-/.test(e.tag)&&(this.buildText.push(a+".deliver();"),this.observeText.push(a+".deliver();"));for(var k in e.connects){var l=e.connects[k],m=/^[a-zA-Z0-9_]+$/.test(l)?"this."+l+".bind(this)":"function(event){"+l+"}";this.buildText.push("this.on('"+k+"', "+m+", "+a+");")}this.generateNodeChildrenCode(a,e.children)}}),d={};c.getElement=function(b){return b in d||(d[b]=a.createElement(b)),d[b]};var e={};return c.getProp=function(a,b){if(!(a in e)){var d=c.getElement(a),f=e[a]={};for(var g in d)f[g.toLowerCase()]=g;f.style="style.cssText"}return e[a][b]},c}),define("delite/StoreMap",["dcl/dcl","./Store"],function(a,b){var c=function(a,b,c,d){return a[c+"Func"]?a[c+"Func"](b,d):a[c+"Attr"]?b[a[c+"Attr"]]:b[c]},d=function(a,b,c,d,e){a[c+"Func"]?a[c+"Func"](b,d,e):a[c+"Attr"]?b[a[c+"Attr"]]=e:b[c]=e},e=/^(?!_)(\w)+(?=Attr$|Func$)/,f=/f(?=unc$)|a(?=ttr$)/;return a(b,{allowRemap:!1,_mappedKeys:null,copyAllItemProps:!1,parseAttribute:a.superCall(function(a){return function(b,c){return/Attr$|Func$/i.test(b)?(b=b.toLowerCase(),b=this._propCaseMap[b]||b.replace(f,f.exec(b)[0].toUpperCase()),{prop:b,value:/Attr$/.test(b)?c:this.parseFunctionAttribute(c,["item","store","value"])}):a.apply(this,arguments)}}),queryStoreAndInitItems:a.superCall(function(a){return function(b,c){this.attached||c?a.apply(this,arguments):this._pendingQuery=b}}),attachedCallback:function(){var a=[];for(var b in this){var c=e.exec(b);c&&-1===a.indexOf(c[0])&&a.push(c[0])}if(this.copyAllItemProps){this._itemKeys=[];for(var d=0;d0&&this.updateRenderers(b),this.selectedItems&&this.selectedItems.length>0?(this._set("selectedItem",this.selectedItems[0]),this.updateRenderers(this.selectedItems)):this._set("selectedItem",null)},_getSelectedItemsAttr:function(){return null==this._get("selectedItems")?[]:this._get("selectedItems").concat()},hasSelectionModifier:function(a){return b("mac")?a.metaKey:a.ctrlKey},isSelected:function(a){if(null==this.selectedItems||0===this.selectedItems.length)return!1;var b=this.getIdentity(a);return this.selectedItems.some(function(a){return this.getIdentity(a)===b},this)},getIdentity:function(){},updateRenderers:function(){},setSelected:function(a,b){"none"!==this.selectionMode&&null!=a&&this._setSelected(a,b)},_setSelected:function(a,b){var c,d,e=this.selectedItems;if("single"===this.selectionMode||"radio"===this.selectionMode)b?this.selectedItem=a:"single"===this.selectionMode&&this.isSelected(a)&&(this.selectedItems=null);else if(b){if(this.isSelected(a))return;null==e?e=[a]:e.unshift(a),this.selectedItems=e}else{if(d=this.getIdentity(a),c=e?e.filter(function(a){return this.getIdentity(a)!==d},this):[],null==c||c.length===e.length)return;this.selectedItems=c}},selectFromEvent:function(a,b,c,d){return"none"===this.selectionMode?!1:this._selectFromEvent(a,b,c,d)},_selectFromEvent:function(a,b,c,d){var e,f=this.selectedItem,g=null==b?!1:this.isSelected(b);return null==b?"multiple"!==this.selectionMode||this.hasSelectionModifier(a)||null==this.selectedItem||(this.selectedItem=null,e=!0):"multiple"===this.selectionMode?this.hasSelectionModifier(a)?(this.setSelected(b,!g),e=!0):(this.selectedItem=b,e=!0):"single"===this.selectionMode&&this.hasSelectionModifier(a)?(this.selectedItem=g?null:b,e=!0):g||(this.selectedItem=b,e=!0),d&&e&&this.dispatchSelectionChange(f,this.selectedItem,c,a),e},dispatchSelectionChange:function(a,b,c,d){this.emit("selection-change",{oldValue:a,newValue:b,renderer:c,triggerEvent:d})}})}),define("delite/Scrollable",["dcl/dcl","requirejs-dplugins/jquery!css,attributes/classes,effects,event","./Widget","./theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c){return a(c,{scrollDirection:"vertical",scrollableNode:null,postRender:function(){this.notifyCurrentValue("scrollDirection")},render:a.after(function(){this.scrollableNode||(this.scrollableNode=this),this.scrollableNode.setAttribute("unselectable","on"),b(this.scrollableNode).css("user-select","none").on("selectstart",!1)}),refreshRendering:function(a){a.scrollDirection&&b(this.scrollableNode).toggleClass("d-scrollable","none"!==this.scrollDirection).toggleClass("d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)).toggleClass("d-scrollable-v",/^(both|vertical)$/.test(this.scrollDirection))},destroy:function(){this._stopAnimation()},isTopScroll:function(){return 0===this.scrollableNode.scrollTop},isBottomScroll:function(){var a=this.scrollableNode;return a.offsetHeight+a.scrollTop>=a.scrollHeight},isLeftScroll:function(){return 0===this.scrollableNode.scrollLeft},isRightScroll:function(){var a=this.scrollableNode;return a.offsetWidth+a.scrollLeft>=a.scrollWidth},getCurrentScroll:function(){return{x:this.scrollableNode.scrollLeft,y:this.scrollableNode.scrollTop}},scrollBy:function(a,b){var c={};void 0!==a.x&&(c.x=this.scrollableNode.scrollLeft+a.x),void 0!==a.y&&(c.y=this.scrollableNode.scrollTop+a.y),this.scrollTo(c,b)},scrollTo:function(a,c){var d=this.scrollableNode;if(this._stopAnimation(),!c||0>=c)void 0!==a.x&&(d.scrollLeft=a.x),void 0!==a.y&&(d.scrollTop=a.y);else{var e={x:void 0!==a.x?d.scrollLeft:void 0,y:void 0!==a.y?d.scrollTop:void 0},f=this;f._animation=b(e).animate(a,{duration:c,rate:20,step:function(){void 0!==this.x&&(d.scrollLeft=this.x),void 0!==this.y&&(d.scrollTop=this.y)},complete:function(){void 0!==this.x&&(d.scrollLeft=this.x),void 0!==this.y&&(d.scrollTop=this.y),delete f._animation}})}},_stopAnimation:function(){this._animation&&this._animation.stop()}})}),define("jquery/src/event",["./core","./var/strundefined","./var/rnotwhite","./var/hasOwn","./var/slice","./event/support","./data/var/data_priv","./core/init","./data/accepts","./selector"],function(a,b,c,d,e,f,g){function h(){return!0}function i(){return!1}function j(){try{return document.activeElement}catch(a){}}var k=/^key/,l=/^(?:mouse|pointer|contextmenu)|click/,m=/^(?:focusinfocus|focusoutblur)$/,n=/^([^.]*)(?:\.(.+)|)$/;return a.event={global:{},add:function(d,e,f,h,i){var j,k,l,m,o,p,q,r,s,t,u,v=g.get(d);if(v)for(f.handler&&(j=f,f=j.handler,i=j.selector),f.guid||(f.guid=a.guid++),(m=v.events)||(m=v.events={}),(k=v.handle)||(k=v.handle=function(c){return typeof a!==b&&a.event.triggered!==c.type?a.event.dispatch.apply(d,arguments):void 0}),e=(e||"").match(c)||[""],o=e.length;o--;)l=n.exec(e[o])||[],s=u=l[1],t=(l[2]||"").split(".").sort(),s&&(q=a.event.special[s]||{},s=(i?q.delegateType:q.bindType)||s,q=a.event.special[s]||{},p=a.extend({type:s,origType:u,data:h,handler:f,guid:f.guid,selector:i,needsContext:i&&a.expr.match.needsContext.test(i),namespace:t.join(".")},j),(r=m[s])||(r=m[s]=[],r.delegateCount=0,q.setup&&q.setup.call(d,h,t,k)!==!1||d.addEventListener&&d.addEventListener(s,k,!1)),q.add&&(q.add.call(d,p),p.handler.guid||(p.handler.guid=f.guid)),i?r.splice(r.delegateCount++,0,p):r.push(p),a.event.global[s]=!0)},remove:function(b,d,e,f,h){var i,j,k,l,m,o,p,q,r,s,t,u=g.hasData(b)&&g.get(b);if(u&&(l=u.events)){for(d=(d||"").match(c)||[""],m=d.length;m--;)if(k=n.exec(d[m])||[],r=t=k[1],s=(k[2]||"").split(".").sort(),r){for(p=a.event.special[r]||{},r=(f?p.delegateType:p.bindType)||r,q=l[r]||[],k=k[2]&&new RegExp("(^|\\.)"+s.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=i=q.length;i--;)o=q[i],!h&&t!==o.origType||e&&e.guid!==o.guid||k&&!k.test(o.namespace)||f&&f!==o.selector&&("**"!==f||!o.selector)||(q.splice(i,1),o.selector&&q.delegateCount--,p.remove&&p.remove.call(b,o));j&&!q.length&&(p.teardown&&p.teardown.call(b,s,u.handle)!==!1||a.removeEvent(b,r,u.handle),delete l[r])}else for(r in l)a.event.remove(b,r+d[m],e,f,!0);a.isEmptyObject(l)&&(delete u.handle,g.remove(b,"events"))}},trigger:function(b,c,e,f){var h,i,j,k,l,n,o,p=[e||document],q=d.call(b,"type")?b.type:b,r=d.call(b,"namespace")?b.namespace.split("."):[];if(i=j=e=e||document,3!==e.nodeType&&8!==e.nodeType&&!m.test(q+a.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[a.expando]?b:new a.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:a.makeArray(c,[b]),o=a.event.special[q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!a.isWindow(e)){for(k=o.delegateType||q,m.test(k+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),j=i;j===(e.ownerDocument||document)&&p.push(j.defaultView||j.parentWindow||window)}for(h=0;(i=p[h++])&&!b.isPropagationStopped();)b.type=h>1?k:o.bindType||q,n=(g.get(i,"events")||{})[b.type]&&g.get(i,"handle"),n&&n.apply(i,c),n=l&&i[l],n&&n.apply&&a.acceptData(i)&&(b.result=n.apply(i,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!a.acceptData(e)||l&&a.isFunction(e[q])&&!a.isWindow(e)&&(j=e[l],j&&(e[l]=null),a.event.triggered=q,e[q](),a.event.triggered=void 0,j&&(e[l]=j)),b.result}},dispatch:function(b){b=a.event.fix(b);var c,d,f,h,i,j=[],k=e.call(arguments),l=(g.get(this,"events")||{})[b.type]||[],m=a.event.special[b.type]||{};if(k[0]=b,b.delegateTarget=this,!m.preDispatch||m.preDispatch.call(this,b)!==!1){for(j=a.event.handlers.call(this,b,l),c=0;(h=j[c++])&&!b.isPropagationStopped();)for(b.currentTarget=h.elem,d=0;(i=h.handlers[d++])&&!b.isImmediatePropagationStopped();)(!b.namespace_re||b.namespace_re.test(i.namespace))&&(b.handleObj=i,b.data=i.data,f=((a.event.special[i.origType]||{}).handle||i.handler).apply(h.elem,k),void 0!==f&&(b.result=f)===!1&&(b.preventDefault(),b.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,b),b.result}},handlers:function(b,c){var d,e,f,g,h=[],i=c.delegateCount,j=b.target;if(i&&j.nodeType&&(!b.button||"click"!==b.type))for(;j!==this;j=j.parentNode||this)if(j.disabled!==!0||"click"!==b.type){for(e=[],d=0;i>d;d++)g=c[d],f=g.selector+" ",void 0===e[f]&&(e[f]=g.needsContext?a(f,this).index(j)>=0:a.find(f,this,null,[j]).length),e[f]&&e.push(g);e.length&&h.push({elem:j,handlers:e})}return ie;e+=2-b)d=c[e],f["margin"+d]=f["padding"+d]=a;return b&&(f.opacity=f.width=a),f}function i(a,b,c){for(var d,e=(s[b]||[]).concat(s["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function j(b,c,g){var h,j,k,l,m,n,p,q,r=this,s={},t=b.style,u=b.nodeType&&d(b),v=f.get(b,"fxshow");g.queue||(m=a._queueHooks(b,"fx"),null==m.unqueued&&(m.unqueued=0,n=m.empty.fire,m.empty.fire=function(){m.unqueued||n()}),m.unqueued++,r.always(function(){r.always(function(){m.unqueued--,a.queue(b,"fx").length||m.empty.fire()})})),1===b.nodeType&&("height"in c||"width"in c)&&(g.overflow=[t.overflow,t.overflowX,t.overflowY],p=a.css(b,"display"),q="none"===p?f.get(b,"olddisplay")||e(b.nodeName):p,"inline"===q&&"none"===a.css(b,"float")&&(t.display="inline-block")),g.overflow&&(t.overflow="hidden",r.always(function(){t.overflow=g.overflow[0],t.overflowX=g.overflow[1],t.overflowY=g.overflow[2]}));for(h in c)if(j=c[h],o.exec(j)){if(delete c[h],k=k||"toggle"===j,j===(u?"hide":"show")){if("show"!==j||!v||void 0===v[h])continue;u=!0}s[h]=v&&v[h]||a.style(b,h)}else p=void 0;if(a.isEmptyObject(s))"inline"===("none"===p?e(b.nodeName):p)&&(t.display=p);else{v?"hidden"in v&&(u=v.hidden):v=f.access(b,"fxshow",{}),k&&(v.hidden=!u),u?a(b).show():r.done(function(){a(b).hide()}),r.done(function(){var c;f.remove(b,"fxshow");for(c in s)a.style(b,c,s[c])});for(h in s)l=i(u?v[h]:0,h,r),h in v||(v[h]=l.start,u&&(l.end=l.start,l.start="width"===h||"height"===h?1:0))}}function k(b,c){var d,e,f,g,h;for(d in b)if(e=a.camelCase(d),f=c[e],g=b[d],a.isArray(g)&&(f=g[1],g=b[d]=g[0]),d!==e&&(b[e]=g,delete b[d]),h=a.cssHooks[e],h&&"expand"in h){g=h.expand(g),delete b[e];for(d in g)d in b||(b[d]=g[d],c[d]=f)}else c[e]=f}function l(b,c,d){var e,f,h=0,j=r.length,l=a.Deferred().always(function(){delete n.elem}),n=function(){if(f)return!1;for(var a=m||g(),c=Math.max(0,o.startTime+o.duration-a),d=c/o.duration||0,e=1-d,h=0,i=o.tweens.length;i>h;h++)o.tweens[h].run(e);return l.notifyWith(b,[o,e,c]),1>e&&i?c:(l.resolveWith(b,[o]),!1)},o=l.promise({elem:b,props:a.extend({},c),opts:a.extend(!0,{specialEasing:{}},d),originalProperties:c,originalOptions:d,startTime:m||g(),duration:d.duration,tweens:[],createTween:function(c,d){var e=a.Tween(b,o.opts,c,d,o.opts.specialEasing[c]||o.opts.easing);return o.tweens.push(e),e},stop:function(a){var c=0,d=a?o.tweens.length:0;if(f)return this;for(f=!0;d>c;c++)o.tweens[c].run(1);return a?l.resolveWith(b,[o,a]):l.rejectWith(b,[o,a]),this}}),p=o.props;for(k(p,o.opts.specialEasing);j>h;h++)if(e=r[h].call(o,b,p,o.opts))return e;return a.map(p,i,o),a.isFunction(o.opts.start)&&o.opts.start.call(b,o),a.fx.timer(a.extend(n,{elem:b,anim:o,queue:o.opts.queue})),o.progress(o.opts.progress).done(o.opts.done,o.opts.complete).fail(o.opts.fail).always(o.opts.always)}var m,n,o=/^(?:toggle|show|hide)$/,p=new RegExp("^(?:([+-])=|)("+b+")([a-z%]*)$","i"),q=/queueHooks$/,r=[j],s={"*":[function(b,c){var d=this.createTween(b,c),e=d.cur(),f=p.exec(c),g=f&&f[3]||(a.cssNumber[b]?"":"px"),h=(a.cssNumber[b]||"px"!==g&&+e)&&p.exec(a.css(d.elem,b)),i=1,j=20;if(h&&h[3]!==g){g=g||h[3],f=f||[],h=+e||1;do i=i||".5",h/=i,a.style(d.elem,b,h+g);while(i!==(i=d.cur()/e)&&1!==i&&--j)}return f&&(h=d.start=+h||+e||0,d.unit=g,d.end=f[1]?h+(f[1]+1)*f[2]:+f[2]),d}]};return a.Animation=a.extend(l,{tweener:function(b,c){a.isFunction(b)?(c=b,b=["*"]):b=b.split(" ");for(var d,e=0,f=b.length;f>e;e++)d=b[e],s[d]=s[d]||[],s[d].unshift(c)},prefilter:function(a,b){b?r.unshift(a):r.push(a)}}),a.speed=function(b,c,d){var e=b&&"object"==typeof b?a.extend({},b):{complete:d||!d&&c||a.isFunction(b)&&b,duration:b,easing:d&&c||c&&!a.isFunction(c)&&c};return e.duration=a.fx.off?0:"number"==typeof e.duration?e.duration:e.duration in a.fx.speeds?a.fx.speeds[e.duration]:a.fx.speeds._default,(null==e.queue||e.queue===!0)&&(e.queue="fx"),e.old=e.complete,e.complete=function(){a.isFunction(e.old)&&e.old.call(this),e.queue&&a.dequeue(this,e.queue)},e},a.fn.extend({fadeTo:function(a,b,c,e){return this.filter(d).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(b,c,d,e){var g=a.isEmptyObject(b),h=a.speed(c,d,e),i=function(){var c=l(this,a.extend({},b),h);(g||f.get(this,"finish"))&&c.stop(!0)};return i.finish=i,g||h.queue===!1?this.each(i):this.queue(h.queue,i)},stop:function(b,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return"string"!=typeof b&&(d=c,c=b,b=void 0),c&&b!==!1&&this.queue(b||"fx",[]),this.each(function(){var c=!0,g=null!=b&&b+"queueHooks",h=a.timers,i=f.get(this);if(g)i[g]&&i[g].stop&&e(i[g]);else for(g in i)i[g]&&i[g].stop&&q.test(g)&&e(i[g]);for(g=h.length;g--;)h[g].elem!==this||null!=b&&h[g].queue!==b||(h[g].anim.stop(d),c=!1,h.splice(g,1));(c||!d)&&a.dequeue(this,b)})},finish:function(b){return b!==!1&&(b=b||"fx"),this.each(function(){var c,d=f.get(this),e=d[b+"queue"],g=d[b+"queueHooks"],h=a.timers,i=e?e.length:0;for(d.finish=!0,a.queue(this,b,[]),g&&g.stop&&g.stop.call(this,!0),c=h.length;c--;)h[c].elem===this&&h[c].queue===b&&(h[c].anim.stop(!0),h.splice(c,1));for(c=0;i>c;c++)e[c]&&e[c].finish&&e[c].finish.call(this);delete d.finish})}}),a.each(["toggle","show","hide"],function(b,c){var d=a.fn[c];a.fn[c]=function(a,b,e){return null==a||"boolean"==typeof a?d.apply(this,arguments):this.animate(h(c,!0),a,b,e)}}),a.each({slideDown:h("show"),slideUp:h("hide"),slideToggle:h("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,c){a.fn[b]=function(a,b,d){return this.animate(c,a,b,d)}}),a.timers=[],a.fx.tick=function(){var b,c=0,d=a.timers;for(m=a.now();cb;b++)if(a.contains(this,c[b]))return!0})},closest:function(b,d){for(var e,f=0,g=this.length,h=[],i=c.test(b)||"string"!=typeof b?a(b,d||this.context):0;g>f;f++)for(e=this[f];e&&e!==d;e=e.parentNode)if(e.nodeType<11&&(i?i.index(e)>-1:1===e.nodeType&&a.find.matchesSelector(e,b))){h.push(e);break}return this.pushStack(h.length>1?a.unique(h):h)},index:function(c){return c?"string"==typeof c?b.call(a(c),this[0]):b.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(b,c){return this.pushStack(a.unique(a.merge(this.get(),a(b,c))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),a.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,c,d){return a.dir(b,"parentNode",d)},next:function(a){return d(a,"nextSibling")},prev:function(a){return d(a,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,c,d){return a.dir(b,"nextSibling",d)},prevUntil:function(b,c,d){return a.dir(b,"previousSibling",d)},siblings:function(b){return a.sibling((b.parentNode||{}).firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return b.contentDocument||a.merge([],b.childNodes)}},function(b,c){a.fn[b]=function(d,g){var h=a.map(this,c,d);return"Until"!==b.slice(-5)&&(g=d),g&&"string"==typeof g&&(h=a.filter(g,h)),this.length>1&&(f[b]||a.unique(h),e.test(b)&&h.reverse()),this.pushStack(h)}}),a}),define("jquery/src/deferred",["./core","./var/slice","./callbacks"],function(a,b){return a.extend({Deferred:function(b){var c=[["resolve","done",a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory")]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},then:function(){var b=arguments;return a.Deferred(function(d){a.each(c,function(c,g){var h=a.isFunction(b[c])&&b[c];f[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},promise:function(b){return null!=b?a.extend(b,e):e}},f={};return e.pipe=e.then,a.each(c,function(a,b){var g=b[2],h=b[3];e[b[1]]=g.add,h&&g.add(function(){d=h},c[1^a][2].disable,c[2][2].lock),f[b[0]]=function(){return f[b[0]+"With"](this===f?e:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(c){var d,e,f,g=0,h=b.call(arguments),i=h.length,j=1!==i||c&&a.isFunction(c.promise)?i:0,k=1===j?c:a.Deferred(),l=function(a,c,e){return function(f){c[a]=this,e[a]=arguments.length>1?b.call(arguments):f,e===d?k.notifyWith(c,e):--j||k.resolveWith(c,e)}};if(i>1)for(d=new Array(i),e=new Array(i),f=new Array(i);i>g;g++)h[g]&&a.isFunction(h[g].promise)?h[g].promise().done(l(g,f,h)).fail(k.reject).progress(l(g,e,d)):--j;return j||k.resolveWith(f,h),k.promise()}}),a}),define("jquery/src/callbacks",["./core","./var/rnotwhite"],function(a,b){function c(c){var e=d[c]={};return a.each(c.match(b)||[],function(a,b){e[b]=!0}),e}var d={};return a.Callbacks=function(b){b="string"==typeof b?d[b]||c(b):a.extend({},b);var e,f,g,h,i,j,k=[],l=!b.once&&[],m=function(a){for(e=b.memory&&a,f=!0,j=h||0,h=0,i=k.length,g=!0;k&&i>j;j++)if(k[j].apply(a[0],a[1])===!1&&b.stopOnFalse){e=!1;break}g=!1,k&&(l?l.length&&m(l.shift()):e?k=[]:n.disable())},n={add:function(){if(k){var c=k.length;!function d(c){a.each(c,function(c,e){var f=a.type(e);"function"===f?b.unique&&n.has(e)||k.push(e):e&&e.length&&"string"!==f&&d(e)})}(arguments),g?i=k.length:e&&(h=c,m(e))}return this},remove:function(){return k&&a.each(arguments,function(b,c){for(var d;(d=a.inArray(c,k,d))>-1;)k.splice(d,1),g&&(i>=d&&i--,j>=d&&j--)}),this},has:function(b){return b?a.inArray(b,k)>-1:!(!k||!k.length)},empty:function(){return k=[],i=0,this},disable:function(){return k=l=e=void 0,this},disabled:function(){return!k},lock:function(){return l=void 0,e||n.disable(),this},locked:function(){return!l},fireWith:function(a,b){return!k||f&&!l||(b=b||[],b=[a,b.slice?b.slice():b],g?l.push(b):m(b)),this},fire:function(){return n.fireWith(this,arguments),this},fired:function(){return!!f}};return n},a}),define("jquery/src/queue",["./core","./data/var/data_priv","./deferred","./callbacks"],function(a,b){return a.extend({queue:function(c,d,e){var f;return c?(d=(d||"fx")+"queue",f=b.get(c,d),e&&(!f||a.isArray(e)?f=b.access(c,d,a.makeArray(e)):f.push(e)),f||[]):void 0},dequeue:function(b,c){c=c||"fx";var d=a.queue(b,c),e=d.length,f=d.shift(),g=a._queueHooks(b,c),h=function(){a.dequeue(b,c)};"inprogress"===f&&(f=d.shift(),e--),f&&("fx"===c&&d.unshift("inprogress"),delete g.stop,f.call(b,h,g)),!e&&g&&g.empty.fire()},_queueHooks:function(c,d){var e=d+"queueHooks";return b.get(c,e)||b.access(c,e,{empty:a.Callbacks("once memory").add(function(){b.remove(c,[d+"queue",e])})})}}),a.fn.extend({queue:function(b,c){var d=2;return"string"!=typeof b&&(c=b,b="fx",d--),arguments.length")).appendTo(f.documentElement),f=d[0].contentDocument,f.write(),f.close(),g=b(c,f),d.detach()),e[c]=g),g}var d,e={};return c}),define("jquery/src/manipulation",["./core","./var/concat","./var/push","./core/access","./manipulation/var/rcheckableType","./manipulation/support","./data/var/data_priv","./data/var/data_user","./core/init","./data/accepts","./traversing","./selector","./event"],function(a,b,c,d,e,f,g,h){function i(b,c){return a.nodeName(b,"table")&&a.nodeName(11!==c.nodeType?c:c.firstChild,"tr")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function j(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function k(a){var b=v.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function l(a,b){for(var c=0,d=a.length;d>c;c++)g.set(a[c],"globalEval",!b||g.get(b[c],"globalEval"))}function m(b,c){var d,e,f,i,j,k,l,m;if(1===c.nodeType){if(g.hasData(b)&&(i=g.access(b),j=g.set(c,i),m=i.events)){delete j.handle,j.events={};for(f in m)for(d=0,e=m[f].length;e>d;d++)a.event.add(c,f,m[f][d])}h.hasData(b)&&(k=h.access(b),l=a.extend({},k),h.set(c,l))}}function n(b,c){var d=b.getElementsByTagName?b.getElementsByTagName(c||"*"):b.querySelectorAll?b.querySelectorAll(c||"*"):[];return void 0===c||c&&a.nodeName(b,c)?a.merge([b],d):d}function o(a,b){var c=b.nodeName.toLowerCase();"input"===c&&e.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}var p=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/<([\w:]+)/,r=/<|&#?\w+;/,s=/<(?:script|style|link)/i,t=/checked\s*(?:[^=]|=\s*.checked.)/i,u=/^$|\/(?:java|ecma)script/i,v=/^true\/(.*)/,w=/^\s*\s*$/g,x={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};return x.optgroup=x.option,x.tbody=x.tfoot=x.colgroup=x.caption=x.thead,x.th=x.td,a.extend({clone:function(b,c,d){var e,g,h,i,j=b.cloneNode(!0),k=a.contains(b.ownerDocument,b);if(!(f.noCloneChecked||1!==b.nodeType&&11!==b.nodeType||a.isXMLDoc(b)))for(i=n(j),h=n(b),e=0,g=h.length;g>e;e++)o(h[e],i[e]);if(c)if(d)for(h=h||n(b),i=i||n(j),e=0,g=h.length;g>e;e++)m(h[e],i[e]);else m(b,j);return i=n(j,"script"),i.length>0&&l(i,!k&&n(b,"script")),j},buildFragment:function(b,c,d,e){for(var f,g,h,i,j,k,m=c.createDocumentFragment(),o=[],s=0,t=b.length;t>s;s++)if(f=b[s],f||0===f)if("object"===a.type(f))a.merge(o,f.nodeType?[f]:f);else if(r.test(f)){for(g=g||m.appendChild(c.createElement("div")),h=(q.exec(f)||["",""])[1].toLowerCase(),i=x[h]||x._default,g.innerHTML=i[1]+f.replace(p,"<$1>")+i[2],k=i[0];k--;)g=g.lastChild;a.merge(o,g.childNodes),g=m.firstChild,g.textContent=""}else o.push(c.createTextNode(f));for(m.textContent="",s=0;f=o[s++];)if((!e||-1===a.inArray(f,e))&&(j=a.contains(f.ownerDocument,f),g=n(m.appendChild(f),"script"),j&&l(g),d))for(k=0;f=g[k++];)u.test(f.type||"")&&d.push(f);return m},cleanData:function(b){for(var c,d,e,f,i=a.event.special,j=0;void 0!==(d=b[j]);j++){if(a.acceptData(d)&&(f=d[g.expando],f&&(c=g.cache[f]))){if(c.events)for(e in c.events)i[e]?a.event.remove(d,e):a.removeEvent(d,e,c.handle);g.cache[f]&&delete g.cache[f]}delete h.cache[d[h.expando]]}}}),a.fn.extend({text:function(b){return d(this,function(b){return void 0===b?a.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=b)})},null,b,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=i(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=i(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(b,c){for(var d,e=b?a.filter(b,this):this,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||a.cleanData(n(d)),d.parentNode&&(c&&a.contains(d.ownerDocument,d)&&l(n(d,"script")),d.parentNode.removeChild(d));return this},empty:function(){for(var b,c=0;null!=(b=this[c]);c++)1===b.nodeType&&(a.cleanData(n(b,!1)),b.textContent="");return this},clone:function(b,c){return b=null==b?!1:b,c=null==c?b:c,this.map(function(){return a.clone(this,b,c)})},html:function(b){return d(this,function(b){var c=this[0]||{},d=0,e=this.length;if(void 0===b&&1===c.nodeType)return c.innerHTML;if("string"==typeof b&&!s.test(b)&&!x[(q.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(p,"<$1>");try{for(;e>d;d++)c=this[d]||{},1===c.nodeType&&(a.cleanData(n(c,!1)),c.innerHTML=b);c=0}catch(f){}}c&&this.empty().append(b)},null,b,arguments.length)},replaceWith:function(){var b=arguments[0];return this.domManip(arguments,function(c){b=this.parentNode,a.cleanData(n(this)),b&&b.replaceChild(c,this)}),b&&(b.length||b.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(c,d){c=b.apply([],c);var e,h,i,l,m,o,p=0,q=this.length,r=this,s=q-1,v=c[0],x=a.isFunction(v);if(x||q>1&&"string"==typeof v&&!f.checkClone&&t.test(v))return this.each(function(a){var b=r.eq(a);x&&(c[0]=v.call(this,a,b.html())),b.domManip(c,d)});if(q&&(e=a.buildFragment(c,this[0].ownerDocument,!1,this),h=e.firstChild,1===e.childNodes.length&&(e=h),h)){for(i=a.map(n(e,"script"),j),l=i.length;q>p;p++)m=e,p!==s&&(m=a.clone(m,!0,!0),l&&a.merge(i,n(m,"script"))),d.call(this[p],m,p);if(l)for(o=i[i.length-1].ownerDocument,a.map(i,k),p=0;l>p;p++)m=i[p],u.test(m.type||"")&&!g.access(m,"globalEval")&&a.contains(o,m)&&(m.src?a._evalUrl&&a._evalUrl(m.src):a.globalEval(m.textContent.replace(w,"")))}return this}}),a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,d){a.fn[b]=function(b){for(var e,f=[],g=a(b),h=g.length-1,i=0;h>=i;i++)e=i===h?this:this.clone(!0),a(g[i])[d](e),c.apply(f,e.get());return this.pushStack(f)}}),a}),define("jquery/src/data/var/data_user",["../Data"],function(a){return new a}),define("jquery/src/manipulation/support",["../var/support"],function(a){return function(){var b=document.createDocumentFragment(),c=b.appendChild(document.createElement("div")),d=document.createElement("input");d.setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),c.appendChild(d),a.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="",a.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue}(),a}),define("jquery/src/manipulation/var/rcheckableType",[],function(){return/^(?:checkbox|radio)$/i}),define("jquery/src/core/access",["../core"],function(a){var b=a.access=function(b,c,d,e,f,g,h){var i=0,j=b.length,k=null==d;if("object"===a.type(d)){f=!0;for(i in d)a.access(b,c,i,d[i],!0,g,h)}else if(void 0!==e&&(f=!0,a.isFunction(e)||(h=!0),k&&(h?(c.call(b,e),c=null):(k=c,c=function(b,c,d){return k.call(a(b),d)})),c))for(;j>i;i++)c(b[i],d,h?e:e.call(b[i],i,c(b[i],d)));return f?b:k?c.call(b):j?c(b[0],d):g};return b}),define("jquery/src/css/var/isHidden",["../../core","../../selector"],function(a){return function(b,c){return b=c||b,"none"===a.css(b,"display")||!a.contains(b.ownerDocument,b)}}),define("jquery/src/css/var/cssExpand",[],function(){return["Top","Right","Bottom","Left"]}),define("jquery/src/var/pnum",[],function(){return/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source}),define("jquery/src/css",["./core","./var/pnum","./core/access","./css/var/rmargin","./css/var/rnumnonpx","./css/var/cssExpand","./css/var/isHidden","./css/var/getStyles","./css/curCSS","./css/defaultDisplay","./css/addGetHookIf","./css/support","./data/var/data_priv","./core/init","./css/swap","./core/ready","./selector"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,e=x.length;e--;)if(b=x[e]+c,b in a)return b;return d}function o(a,b,c){var d=t.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function p(b,c,d,e,g){for(var h=d===(e?"border":"content")?4:"width"===c?1:0,i=0;4>h;h+=2)"margin"===d&&(i+=a.css(b,d+f[h],!0,g)),e?("content"===d&&(i-=a.css(b,"padding"+f[h],!0,g)),"margin"!==d&&(i-=a.css(b,"border"+f[h]+"Width",!0,g))):(i+=a.css(b,"padding"+f[h],!0,g),"padding"!==d&&(i+=a.css(b,"border"+f[h]+"Width",!0,g)));return i}function q(b,c,d){var f=!0,g="width"===c?b.offsetWidth:b.offsetHeight,j=h(b),k="border-box"===a.css(b,"boxSizing",!1,j);if(0>=g||null==g){if(g=i(b,c,j),(0>g||null==g)&&(g=b.style[c]),e.test(g))return g;f=k&&(l.boxSizingReliable()||g===b.style[c]),g=parseFloat(g)||0}return g+p(b,c,d||(k?"border":"content"),f,j)+"px"}function r(b,c){for(var d,e,f,h=[],i=0,k=b.length;k>i;i++)e=b[i],e.style&&(h[i]=m.get(e,"olddisplay"),d=e.style.display,c?(h[i]||"none"!==d||(e.style.display=""),""===e.style.display&&g(e)&&(h[i]=m.access(e,"olddisplay",j(e.nodeName)))):(f=g(e),"none"===d&&f||m.set(e,"olddisplay",f?d:a.css(e,"display"))));for(i=0;k>i;i++)e=b[i],e.style&&(c&&"none"!==e.style.display&&""!==e.style.display||(e.style.display=c?h[i]||"":"none"));return b}var s=/^(none|table(?!-c[ea]).+)/,t=new RegExp("^("+b+")(.*)$","i"),u=new RegExp("^([+-])=("+b+")","i"),v={position:"absolute",visibility:"hidden",display:"block"},w={letterSpacing:"0",fontWeight:"400"},x=["Webkit","O","Moz","ms"];return a.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=i(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(b,c,d,e){if(b&&3!==b.nodeType&&8!==b.nodeType&&b.style){var f,g,h,i=a.camelCase(c),j=b.style;return c=a.cssProps[i]||(a.cssProps[i]=n(j,i)),h=a.cssHooks[c]||a.cssHooks[i],void 0===d?h&&"get"in h&&void 0!==(f=h.get(b,!1,e))?f:j[c]:(g=typeof d,"string"===g&&(f=u.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(a.css(b,c)),g="number"),null!=d&&d===d&&("number"!==g||a.cssNumber[i]||(d+="px"),l.clearCloneStyle||""!==d||0!==c.indexOf("background")||(j[c]="inherit"),h&&"set"in h&&void 0===(d=h.set(b,d,e))||(j[c]=d)),void 0)}},css:function(b,c,d,e){var f,g,h,j=a.camelCase(c);return c=a.cssProps[j]||(a.cssProps[j]=n(b.style,j)),h=a.cssHooks[c]||a.cssHooks[j],h&&"get"in h&&(f=h.get(b,!0,d)),void 0===f&&(f=i(b,c,e)),"normal"===f&&c in w&&(f=w[c]),""===d||d?(g=parseFloat(f),d===!0||a.isNumeric(g)?g||0:f):f}}),a.each(["height","width"],function(b,c){a.cssHooks[c]={get:function(b,d,e){return d?s.test(a.css(b,"display"))&&0===b.offsetWidth?a.swap(b,v,function(){return q(b,c,e)}):q(b,c,e):void 0},set:function(b,d,e){var f=e&&h(b);return o(b,d,e?p(b,c,e,"border-box"===a.css(b,"boxSizing",!1,f),f):0)}}}),a.cssHooks.marginRight=k(l.reliableMarginRight,function(b,c){return c?a.swap(b,{display:"inline-block"},i,[b,"marginRight"]):void 0}),a.each({margin:"",padding:"",border:"Width"},function(b,c){a.cssHooks[b+c]={expand:function(a){for(var d=0,e={},g="string"==typeof a?a.split(" "):[a];4>d;d++)e[b+f[d]+c]=g[d]||g[d-2]||g[0];return e}},d.test(b)||(a.cssHooks[b+c].set=o)}),a.fn.extend({css:function(b,d){return c(this,function(b,c,d){var e,f,g={},i=0;if(a.isArray(c)){for(e=h(b),f=c.length;f>i;i++)g[c[i]]=a.css(b,c[i],!1,e);return g}return void 0!==d?a.style(b,c,d):a.css(b,c)},b,d,arguments.length>1)},show:function(){return r(this,!0)},hide:function(){return r(this)},toggle:function(b){return"boolean"==typeof b?b?this.show():this.hide():this.each(function(){g(this)?a(this).show():a(this).hide()})}}),a}),define("jquery/src/core/ready",["../core","../core/init","../deferred"],function(a){function b(){document.removeEventListener("DOMContentLoaded",b,!1),window.removeEventListener("load",b,!1),a.ready()}var c;a.fn.ready=function(b){return a.ready.promise().done(b),this},a.extend({isReady:!1,readyWait:1,holdReady:function(b){b?a.readyWait++:a.ready(!0)},ready:function(b){(b===!0?--a.readyWait:a.isReady)||(a.isReady=!0,b!==!0&&--a.readyWait>0||(c.resolveWith(document,[a]),a.fn.triggerHandler&&(a(document).triggerHandler("ready"),a(document).off("ready"))))}}),a.ready.promise=function(d){return c||(c=a.Deferred(),"complete"===document.readyState?setTimeout(a.ready):(document.addEventListener("DOMContentLoaded",b,!1),window.addEventListener("load",b,!1))),c.promise(d)},a.ready.promise()}),define("jquery/src/css/swap",["../core"],function(a){return a.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},a.swap}),define("jquery/src/css/support",["../core","../var/support"],function(a,b){return function(){function c(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",h.innerHTML="",f.appendChild(g);var a=window.getComputedStyle(h,null);d="1%"!==a.top,e="4px"===a.width,f.removeChild(g)}var d,e,f=document.documentElement,g=document.createElement("div"),h=document.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",g.appendChild(h),window.getComputedStyle&&a.extend(b,{pixelPosition:function(){return c(),d},boxSizingReliable:function(){return null==e&&c(),e},reliableMarginRight:function(){var a,b=h.appendChild(document.createElement("div"));return b.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",b.style.marginRight=b.style.width="0",h.style.width="1px",f.appendChild(g),a=!parseFloat(window.getComputedStyle(b,null).marginRight),f.removeChild(g),h.removeChild(b),a}}))}(),b}),define("jquery/src/css/addGetHookIf",[],function(){function a(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}return a}),define("jquery/src/css/curCSS",["../core","./var/rnumnonpx","./var/rmargin","./var/getStyles","../selector"],function(a,b,c,d){function e(e,f,g){var h,i,j,k,l=e.style;return g=g||d(e),g&&(k=g.getPropertyValue(f)||g[f]),g&&(""!==k||a.contains(e.ownerDocument,e)||(k=a.style(e,f)),b.test(k)&&c.test(f)&&(h=l.width,i=l.minWidth,j=l.maxWidth,l.minWidth=l.maxWidth=l.width=k,k=g.width,l.width=h,l.minWidth=i,l.maxWidth=j)),void 0!==k?k+"":k}return e}),define("jquery/src/css/var/getStyles",[],function(){return function(a){return a.ownerDocument.defaultView.opener?a.ownerDocument.defaultView.getComputedStyle(a,null):window.getComputedStyle(a,null)}}),define("jquery/src/css/var/rnumnonpx",["../../var/pnum"],function(a){return new RegExp("^("+a+")(?!px)[a-z%]+$","i")}),define("jquery/src/css/var/rmargin",[],function(){return/^margin/}),define("delite/KeyNav",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./keys","./features","./Widget","dpointer/events","./activationTracker"],function(a,b,c,d,e){function f(a){var b=a.nodeName.toLowerCase();return!a.readOnly&&("textarea"===b||"input"===b&&/^(color|email|number|password|search|tel|text|url|range)$/.test(a.type))}var g={};for(var h in c)g[c[h]]=h.replace(/[^_]+|_./g,function(a){return"_"===a.charAt(0)?a.charAt(1):a.toLowerCase()})+"KeyHandler";return a(e,{focusDescendants:!0,navigatedDescendant:null,descendantSelector:null,_getTargetElement:function(a){for(var b=a.target;b!==this;b=b.parentNode)if(this._selectorFunc(b))return b;return this},postRender:function(){if("string"==typeof this.descendantSelector){var a=d("dom-matches");this._selectorFunc=function(b){return b[a](this.descendantSelector)}}else this._selectorFunc=this.descendantSelector?this.descendantSelector:function(a){return a.parentNode===this.containerNode};this.on("keypress",this._keynavKeyPressHandler.bind(this)),this.on("keydown",this._keynavKeyDownHandler.bind(this)),this.on("pointerdown",function(a){var b=this._getTargetElement(a);b!==this&&this._descendantNavigateHandler(b,a) -}),this.on("delite-deactivated",function(){this.focusDescendants&&this._keynavDeactivatedHandler()}.bind(this)),this.on("focusin",function(a){if(this.focusDescendants){var b=this._getTargetElement(a);b===this?this._keynavFocusHandler(a):this._descendantNavigateHandler(b,a)}}.bind(this))},attachedCallback:function(){this.focusDescendants&&!this.hasAttribute("tabindex")&&(this.tabIndex="0")},homeKeyHandler:function(a){this.navigateToFirst(a)},endKeyHandler:function(a){this.navigateToLast(a)},focus:function(){this.navigateToFirst()},navigateToFirst:function(a){this.navigateTo(this.getNext(this,1),a)},navigateToLast:function(a){this.navigateTo(this.getNext(this,-1),!1,a)},navigateTo:function(a,b,c){this.focusDescendants?(a.tabIndex="_savedTabIndex"in this?this._savedTabIndex:this.tabIndex,a.focus(b?"end":"start")):this._descendantNavigateHandler(a,c)},_keynavFocusHandler:function(){this.navigatedDescendant||(this._savedTabIndex=this.tabIndex,this.removeAttribute("tabindex"),this.focus())},_keynavDeactivatedHandler:function(){this.setAttribute("tabindex",this._savedTabIndex),delete this._savedTabIndex,this.navigatedDescendant&&(this.navigatedDescendant.tabIndex="-1",this.navigatedDescendant=null)},_descendantNavigateHandler:function(a,c){a&&a!==this.navigatedDescendant&&(this.focusDescendants&&(this.navigatedDescendant&&!this.navigatedDescendant._destroyed&&(this.navigatedDescendant.tabIndex="-1"),"_savedTabIndex"in this||(this._savedTabIndex=this.tabIndex,this.removeAttribute("tabindex")),a.tabIndex=this._savedTabIndex),this.navigatedDescendant&&b(this.navigatedDescendant).removeClass("d-active-descendant"),this.emit("keynav-child-navigated",{oldValue:this.navigatedDescendant,newValue:a,triggerEvent:c}),this.navigatedDescendant=a,a&&b(a).addClass("d-active-descendant"))},_searchString:"",multiCharSearchDuration:1e3,_keyboardSearchHandler:function(a){a&&this.navigateTo(a)},_keyboardSearchCompare:function(a,b){var c=a,d=a.label||(c.focusNode?c.focusNode.label:"")||c.textContent||"",e=d.replace(/^\s+/,"").substr(0,b.length).toLowerCase();return b.length&&e===b?-1:0},_keynavKeyDownHandler:function(a){(!f(a.target)||a.keyCode!==c.LEFT_ARROW&&a.keyCode!==c.RIGHT_ARROW&&a.keyCode!==c.HOME&&a.keyCode!==c.END&&a.keyCode!==c.SPACE)&&(a.keyCode===c.SPACE&&this._searchTimer&&!(a.ctrlKey||a.altKey||a.metaKey)?(a.preventDefault(),this._keyboardSearch(a," ")):this._applyKeyHandler(a))},_applyKeyHandler:function(a){var b;switch(a.keyCode){case c.LEFT_ARROW:b=this.isLeftToRight()?"previousArrowKeyHandler":"nextArrowKeyHandler";break;case c.RIGHT_ARROW:b=this.isLeftToRight()?"nextArrowKeyHandler":"previousArrowKeyHandler";break;default:b=g[a.keyCode]}var d=this[b];d&&(d.call(this,a,this.navigatedDescendant),a.stopPropagation(),a.preventDefault(),this._searchString="")},_keynavKeyPressHandler:function(a){f(a.target)||a.charCode<=c.SPACE||a.ctrlKey||a.altKey||a.metaKey||(a.preventDefault(),a.stopPropagation(),this._keyboardSearch(a,String.fromCharCode(a.charCode).toLowerCase()))},_keyboardSearch:function(a,b){var c,d=null,e=0;this._searchTimer&&this._searchTimer.remove(),this._searchString+=b;var f=/^(.)\1*$/.test(this._searchString),g=f?1:this._searchString.length;c=this._searchString.substr(0,g),this._searchTimer=this.defer(function(){this._searchTimer=null,this._searchString=""},this.multiCharSearchDuration);var h=this.navigatedDescendant||null;if(1!==g&&h||(h=this.getNext(h,1))){var i=h;do{var j=this._keyboardSearchCompare(h,c);if(j&&0===e++&&(d=h),-1===j){e=-1;break}h=this.getNext(h,1)}while(h!==i);this._keyboardSearchHandler(d,a,c,e)}},getNext:function(a,b){function c(a){if(a.firstElementChild)return a.firstElementChild;for(;a!==f;){if(a.nextElementSibling)return a.nextElementSibling;a=a.parentNode}return f}function d(a){for(;a.lastElementChild;)a=a.lastElementChild;return a}function e(a){return a===f?d(f):a.previousElementSibling&&d(a.previousElementSibling)||a.parentNode}for(var f=this,g=a;;){if(a=b>0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","./keys","./place","./popup","./Widget","./activationTracker","dpointer/events"],function(a,b,c,d,e,f,g){return a(g,{buttonNode:null,popupStateNode:null,aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],opened:!1,_dropDownPointerDownHandler:function(){this.disabled||this.readOnly||(this._docHandler=this.on("pointerup",this._dropDownPointerUpHandler.bind(this),this.ownerDocument.body),this.toggleDropDown())},_dropDownPointerUpHandler:function(a){if(this._docHandler&&(this._docHandler.remove(),this._docHandler=null),this._currentDropDown){var b=e.position(this.buttonNode);if(!(a.pageX>=b.x&&a.pageX<=b.x+b.w&&a.pageY>=b.y&&a.pageY<=b.y+b.h)){for(var d,f=a.target;f&&!d;){if(c(f).hasClass("d-popup")){d=!0;break}f=f.parentNode}if(d){if(this._currentDropDown.handleSlideClick){var g=this.getEnclosingWidget(a.target);g.handleSlideClick(g,a)}return}}}this._openDropDownPromise?this._focusDropDownOnOpen(!this.hovering):this.focus&&this.defer(this.focus)},_focusDropDownOnOpen:function(a){this._openDropDownPromise.then(function(b){var c=b.dropDown;c.focus&&(a||c.focusOnOpen!==!1)&&(this._focusDropDownTimer=this.defer(function(){c.focus(),delete this._focusDropDownTimer}))}.bind(this))},postRender:function(){this.buttonNode=this.buttonNode||this.focusNode||this,this.popupStateNode=this.popupStateNode||this.focusNode||this.buttonNode,this.setAttribute("aria-haspopup","true"),this.on("pointerdown",this._dropDownPointerDownHandler.bind(this),this.buttonNode),this.on("keydown",this._dropDownKeyDownHandler.bind(this),this.focusNode||this),this.on("keyup",this._dropDownKeyUpHandler.bind(this),this.focusNode||this),this.on("pointerenter",function(){this.hovering=!0}.bind(this)),this.on("pointerleave",function(){this.hovering=!1}.bind(this)),this.on("touchstart",function(a){"center"===this.dropDownPosition[0]&&a.preventDefault()}.bind(this),this.buttonNode),this.on("touchend",function(a){a.preventDefault()},this.buttonNode),this.on("click",function(a){a.preventDefault(),a.stopPropagation()},this.buttonNode),this.on("delite-deactivated",this._deactivatedHandler.bind(this)),this.notifyCurrentValue("dropDownPosition")},destroy:function(){this.opened&&this.closeDropDown(!0),this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroy(),delete this.dropDown)},_dropDownKeyDownHandler:function(a){if(!this.disabled&&!this.readOnly){var b=this._currentDropDown,c=a.target;return b&&this.opened&&b.emit("keydown",a)===!1?(a.stopPropagation(),void a.preventDefault()):void(b&&this.opened&&a.keyCode===d.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===d.DOWN_ARROW||(a.keyCode===d.ENTER||a.keyCode===d.SPACE&&(!this._searchTimer||a.ctrlKey||a.altKey||a.metaKey))&&("input"!==(c.tagName||"").toLowerCase()||c.type&&"text"!==c.type.toLowerCase()))&&(this._openOnKeyUp=!0,a.stopPropagation(),a.preventDefault()))}},_dropDownKeyUpHandler:function(){this._openOnKeyUp&&(delete this._openOnKeyUp,this.openDropDown(),this._focusDropDownOnOpen(!0))},_deactivatedHandler:function(){this.closeDropDown(!1)},loadDropDown:function(){if(this.dropDown)return this.dropDown;var a;return this.emit("delite-display-load",{setChild:function(b){a=b}}),b.resolve(a).then(function(a){return a.child})},toggleDropDown:function(){return this.disabled||this.readOnly?void 0:this.opened?this.closeDropDown(!0):this.openDropDown()},openDropDown:function(){if(this._openDropDownPromise)return this._openDropDownPromise;var a,d=this.loadDropDown();return this._openDropDownPromise=b.resolve(d).then(function(b){if(!a){delete this._cancelPendingDisplay,this._currentDropDown=b;var d=this.aroundNode||this,e=this;this.emit("delite-before-show",{child:b,cancelable:!1}),this.id||(this.id="HasDropDown_"+this.widgetId),b._originalStyle=b.style.cssText;var g=f.open({parent:this,popup:b,around:d,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){e.closeDropDown(!0)},onCancel:function(){e.closeDropDown(!0)},onClose:function(){c(e._popupStateNode).removeClass("d-drop-down-open"),this.opened=!1}});if(g&&(this.forceWidth||this.autoWidth&&d.offsetWidth>b._popupWrapper.offsetWidth)){var h=d.offsetWidth-b._popupWrapper.offsetWidth;b._popupWrapper.style.width=d.offsetWidth+"px",b.style.width=d.offsetWidth+"px","R"===g.corner[1]&&(b._popupWrapper.style.left=b._popupWrapper.style.left.replace("px","")-h+"px")}return c(this._popupStateNode).addClass("d-drop-down-open"),this.opened=!0,this.popupStateNode.setAttribute("aria-expanded","true"),this.popupStateNode.setAttribute("aria-owns",b.id),"presentation"===b.getAttribute("role")||b.getAttribute("aria-labelledby")||b.setAttribute("aria-labelledby",this.id),this.emit("delite-after-show",{child:b,cancelable:!1}),{dropDown:b,position:g}}}.bind(this)),this._cancelPendingDisplay=function(){d.cancel&&d.cancel(),a=!0,delete this._cancelPendingDisplay,delete this._openDropDownPromise}.bind(this),this._openDropDownPromise},closeDropDown:function(a){this._cancelPendingDisplay&&this._cancelPendingDisplay(),this._openDropDownPromise&&delete this._openDropDownPromise,this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this.popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),this.emit("delite-before-hide",{child:this._currentDropDown,cancelable:!1}),f.close(this._currentDropDown),this.opened=!1,this._currentDropDown.style.cssText=this._currentDropDown._originalStyle,this.emit("delite-after-hide",{child:this._currentDropDown,cancelable:!1})),delete this._currentDropDown}})}),define("delite/FormWidget",["dcl/dcl","./Widget"],function(a,b){return a(b,{name:"",alt:"",value:"",tabIndex:0,tabStops:"focusNode",disabled:!1,postRender:function(){this.notifyCurrentValue("tabStops")},refreshRendering:function(a){"tabStops"in a&&a.tabStops.split(/, */).forEach(function(a){var b=this[a];b.tabIndex="-1",b.removeAttribute("tabindex")},this),("tabStops"in a||"tabIndex"in a||"disabled"in a||"alt"in a)&&this.forEachFocusNode(function(a){a.disabled=this.disabled,this.disabled?(a.tabIndex="-1",a.removeAttribute("tabindex")):a.tabIndex=this._get("tabIndex"),a.alt=this.alt,a.setAttribute("aria-disabled",""+this.disabled)});var b=this.valueNode!==this&&this.valueNode;b&&("value"in a&&(b.value=this.value),"disabled"in a&&(b.disabled=this.disabled),"name"in a&&(b.name=this.name))},focus:function(){var a=this.firstFocusNode();if(!this.disabled&&a.focus)try{a.focus()}catch(b){}},firstFocusNode:function(){return this[this.tabStops.split(/, */)[0]]},forEachFocusNode:function(a){this.tabStops.split(/, */).map(function(b){var c=this[b];c!==this&&a.call(this,c)},this)},setAttribute:a.superCall(function(a){return function(b,c){/^aria-/.test(b)?this.forEachFocusNode(function(a){a.setAttribute(b,c)}):a.call(this,b,c)}}),getAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.firstFocusNode().getAttribute(b):a.call(this,b)}}),hasAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.firstFocusNode().hasAttribute(b):a.call(this,b)}}),removeAttribute:a.superCall(function(a){return function(b){/^aria-/.test(b)?this.forEachFocusNode(function(a){a.removeAttribute(b)}):a.call(this,b)}}),createdCallback:function(){for(var a,b=0;a=this.attributes[b++];)/^aria-/.test(a.name)&&(this.setAttribute(a.name,a.value),HTMLElement.prototype.removeAttribute.call(this,a.name))}})}),define("delite/FormValueWidget",["dcl/dcl","./FormWidget","./activationTracker"],function(a,b){function c(a,b,c){return function(d){this.value=d,this[c]&&this[c].remove(),this[c]=this.defer(function(){delete this[c],(typeof d!=typeof this[b]||0!==this.compare(d,this[b]))&&(this[b]=d,this.deliver(),this.emit(a))})}}return a(b,{readOnly:!1,refreshRendering:function(a){("tabStops"in a||"readOnly"in a)&&this.forEachFocusNode(function(a){a.readOnly=this.readOnly})},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:b>a?-1:0},postRender:function(){this.on("delite-activated",function(){this._previousOnChangeValue=this.value,this._previousOnInputValue=this.value})},handleOnChange:c("change","_previousOnChangeValue","_onChangeHandle"),handleOnInput:c("input","_previousOnInputValue","_onInputHandle")})}),define("delite/DisplayContainer",["dcl/dcl","requirejs-dplugins/Promise!","./Container"],function(a,b,c){return a(c,{show:function(c,d){var e,f={dest:c,setChild:function(a){e=a}},g=this;return a.mix(f,d),this.emit("delite-display-load",f),e||(e=this.load(c)),b.resolve(e).then(function(e){return-1===g.getIndexOfChild(e.child)&&g.addChild(e.child,e.index),f={dest:c,cancelable:!1},a.mix(f,d),a.mix(f,e),g.emit("delite-before-show",f),b.resolve(g.changeDisplay(e.child,f)).then(function(){return g.emit("delite-after-show",f),e})})},hide:function(c,d){var e,f={dest:c,setChild:function(a){e=a},bubbles:!0,cancelable:!0,hide:!0},g=this;return a.mix(f,d),this.emit("delite-display-load",f),e||(e=this.load(c)),b.resolve(e).then(function(e){return f={dest:c,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,d),a.mix(f,e),g.emit("delite-before-hide",f),b.resolve(g.changeDisplay(e.child,f)).then(function(){return-1!==g.getIndexOfChild(e.child)&&g.removeChild(e.child),g.emit("delite-after-hide",f),e})})},changeDisplay:function(a,b){b.hide===!0?(a.style.visibility="hidden",a.style.display="none"):(a.style.visibility="visible",a.style.display="")},load:function(a){return{child:"string"==typeof a?this.ownerDocument.getElementById(a):a}}})}),define("delite/DialogUnderlay",["./register","./Widget","./BackgroundIframe","./Viewport","./theme!./DialogUnderlay/themes/{{theme}}/DialogUnderlay.css"],function(a,b,c,d){var e=a("d-dialog-underlay",[HTMLElement,b],{render:function(){this.className="d-dialog-underlay"},postRender:function(){this.ownerDocument.body.appendChild(this),this.own(d.on("resize",function(){this._open&&this.layout()}.bind(this)))},layout:function(){var a=this.style;a.display="none";var b=this.ownerDocument.documentElement;a.width=b.clientWidth+"px",a.height=b.clientHeight+"px",a.display=""},show:function(){this._open||(this.style.display="block",this._open=!0,this.layout(),this.bgIframe=new c(this))},hide:function(){this._open&&(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none",this._open=!1)}});return e.show=function(a,b){var c=e._singleton;!c||c._destroyed?c=e._singleton=new e(a):a&&c.mix(a),c.style.zIndex=b,c.show()},e.hide=function(){var a=e._singleton;a&&!a._destroyed&&a.hide()},e}),define("delite/CustomElement",["dcl/dcl","decor/Observable","decor/Destroyable","decor/Stateful"],function(dcl,Observable,Destroyable,Stateful){function nop(){}function getObject(a){try{return a.split(".").reduce(function(a,b){return a[b]},this)}catch(b){}}var REGEXP_SHADOW_PROPS=/^_(.+)Attr$/,CustomElement=dcl([Stateful,Destroyable],{_getProps:function(){var a,b={},c=this,d=this._propCaseMap={};do Object.keys(c).forEach(function(a){REGEXP_SHADOW_PROPS.test(a)||("function"!=typeof c[a]&&(b[a]=!0),d[a.toLowerCase()]=a)}),c=Object.getPrototypeOf(c),a=c&&c.constructor;while(c&&a!==this._baseElement);return b},created:!1,createdCallback:dcl.advise({before:function(){this._observable||Observable.call(this),this._parsedAttributes=this._mapAttributes()},after:function(){this.created=!0,this._parsedAttributes.forEach(function(a){a.event?this.on(a.event,a.callback):this[a.prop]=a.value},this)}}),attached:!1,attachedCallback:dcl.after(function(){this.attached=!0,this.emit("customelement-attached",{bubbles:!1,cancelable:!1}),this.attachedCallback=nop}),_parsePrototypeAttr:function(name,value){function stringToObject(value){var obj;try{obj=eval("("+("{"===value[0]?"":"{")+value+("{"===value[0]?"":"}")+")")}catch(e){throw new SyntaxError("Error in attribute conversion to object: "+e.message+"\nAttribute Value: '"+value+"'")}return obj}switch(typeof this[name]){case"string":return value;case"number":return value-0;case"boolean":return"false"!==value;case"object":return getObject(value)||(this[name]instanceof Array?value?value.split(/\s+/):[]:stringToObject(value));case"function":return this.parseFunctionAttribute(value,[])}},parseFunctionAttribute:function(a,b){return getObject(a)||new(Function.bind.apply(Function,[void 0].concat(b).concat([a])))},parseAttribute:function(a,b){var c=this._propCaseMap;return a in c?(a=c[a],{prop:a,value:this._parsePrototypeAttr(a,b)}):/^on-/.test(a)?{event:a.substring(3),callback:this.parseFunctionAttribute(b,["event"])}:void 0},_mapAttributes:function(){for(var a,b=0,c=[],d=[];a=this.attributes[b++];){var e=a.name.toLowerCase(),f=this.parseAttribute(e,a.value);f&&(c.push(f),d.push(a.name))}return d.forEach(this.removeAttribute,this),c},destroy:function(){this.findCustomElements().forEach(function(a){a.destroy&&a.destroy()}),this.parentNode&&this.parentNode.removeChild(this)},emit:function(a,b){b=b||{};var c="bubbles"in b?b.bubbles:!0,d="cancelable"in b?b.cancelable:!0,e=this.ownerDocument.createEvent("HTMLEvents");e.initEvent(a,c,d);for(var f in b)f in e||(e[f]=b[f]);return this.dispatchEvent(e)},on:function(a,b,c){var d={focusin:"focus",focus:"focus",focusout:"blur",blur:"blur"},e=a in d,f=e?d[a]:a;return c=c||this,c.addEventListener(f,b,e),this.own({remove:function(){c.removeEventListener(f,b,e)}})[0]},observe:function(a){var b=this._ctor._propsToObserve,c=new Stateful.PropertyListObserver(this,b);return c.open(a,this),c},findCustomElements:function(a){function b(a){for(var d=a.firstChild;d;d=d.nextSibling)1===d.nodeType&&d.createdCallback?c.push(d):b(d)}var c=[];return b(a||this),c}});return dcl.chainAfter(CustomElement,"createdCallback"),dcl.chainAfter(CustomElement,"attachedCallback"),CustomElement}),define("delite/CssState",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./Widget"],function(a,b,c){return a(c,{booleanCssProps:["disabled","readOnly","selected","opened"],postRender:function(){["checked","state"].concat(this.booleanCssProps).forEach(function(a){this[a]&&this.notifyCurrentValue(a)})},refreshRendering:function(a){this.booleanCssProps.forEach(function(c){c in a&&b(this).toggleClass("d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b(this).removeClass("mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b(this).addClass("mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&b(this).removeClass("d-"+a.state.toLowerCase()).addClass("d-"+this.state.toLowerCase())}})}),define("delite/Container",["dcl/dcl","./Widget"],function(a,b){return a(b,{containerNode:void 0,render:a.advise({before:function(){for(var a=this._srcDom=this.ownerDocument.createDocumentFragment();this.firstChild;)a.appendChild(this.firstChild)},after:function(){this.containerNode||(this.containerNode=this),this.containerNode.appendChild(this._srcDom)}}),attachedCallback:function(a){a&&this.findCustomElements(this.containerNode).forEach(function(a){a.attachedCallback(!0)})},appendChild:a.superCall(function(a){return function(b){if(this.created){var c=a.call(this.containerNode,b);return this.onAddChild(b),c}return a.call(this,b)}}),insertBefore:a.superCall(function(a){return function(b,c){if(this.created){var d=a.call(this.containerNode,b,c);return this.onAddChild(b),d}return a.call(this,b,c)}}),onAddChild:function(a){this.attached&&a.attachedCallback&&a.attachedCallback()},addChild:function(a,b){var c=this.containerNode,d=c.children[b];c.insertBefore(a,d||null)},removeChild:function(a){"number"==typeof a&&(a=this.getChildren()[a]),a&&a.parentNode&&HTMLElement.prototype.removeChild.call(a.parentNode,a)},getChildren:function(){return Array.prototype.slice.call(this.containerNode.children)},hasChildren:function(){return this.getChildren().length>0},getIndexOfChild:function(a){return this.getChildren().indexOf(a)}})}),define("delite/Bidi",[],function(){var a="‪",b="‫",c="‬";return{textDir:"",getTextDir:function(a){return"auto"===this.textDir?this._checkContextual(a):/^(rtl|ltr)$/i.test(this.textDir)?this.textDir:this.isLeftToRight()?"ltr":"rtl"},_checkContextual:function(a){var b=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(a);return b?b[0]<="z"?"ltr":"rtl":this.isLeftToRight()?"ltr":"rtl"},applyTextDir:function(a){if(this.textDir){var b=this.textDir;if("auto"===b){var c=a.tagName.toLowerCase(),d="input"===c||"textarea"===c?a.value:a.textContent;b=this._checkContextual(d)}a.dir=b}else a.dir=this.isLeftToRight()?"ltr":"rtl"},applyTextDirection:function(a){return this.textDir?this.wrapWithUcc(this.removeUcc(a)):this.removeUcc(a)},wrapWithUcc:function(d){var e="auto"===this.textDir?this._checkContextual(d):/^(rtl|ltr)$/i.test(this.textDir)?this.textDir:this.isLeftToRight()?"ltr":"rtl";return("ltr"===e?a:b)+d+c},removeUcc:function(a){return a?a.replace(/[\u200E\u200F\u202A-\u202C]/g,""):a},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.applyTextDirection(a.innerHTML)},restoreOriginalText:function(a){a.originalText&&(a.text=a.originalText,delete a.originalText)}}}),define("delite/BackgroundIframe",["dcl/dcl","./features"],function(a,b){var c=function(){var a=[];this.pop=function(){var b;return a.length?(b=a.pop(),b.style.display=""):(b=document.createElement("iframe"),b.src="javascript:''",b.className="d-background-iframe",b.setAttribute("role","presentation"),b.tabIndex=-1),b},this.push=function(b){b.style.display="none",a.push(b)}},d=new c;return a(null,{constructor:function(a){if(b("config-bgIframe")){var c=this.iframe=d.pop();a.appendChild(c),c.style.width="100%",c.style.height="100%"}},destroy:function(){this._conn&&(this._conn.remove(),this._conn=null),this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),d.push(this.iframe),delete this.iframe)}})}); +define("requirejs-text/text",["module"],function(a){"use strict";var b,c,d,e,f,g=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],h=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,i=/]*>\s*([\s\S]+)\s*<\/body>/im,j="undefined"!=typeof location&&location.href,k=j&&location.protocol&&location.protocol.replace(/\:/,""),l=j&&location.hostname,m=j&&(location.port||void 0),n={},o=a.config&&a.config()||{};return b={version:"2.0.14",strip:function(a){if(a){a=a.replace(h,"");var b=a.match(i);b&&(a=b[1])}else a="";return a},jsEscape:function(a){return a.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:o.createXhr||function(){var a,b,c;if("undefined"!=typeof XMLHttpRequest)return new XMLHttpRequest;if("undefined"!=typeof ActiveXObject)for(b=0;3>b;b+=1){c=g[b];try{a=new ActiveXObject(c)}catch(d){}if(a){g=[c];break}}return a},parseName:function(a){var b,c,d,e=!1,f=a.lastIndexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1)):b=a,d=c||b,f=d.indexOf("!"),-1!==f&&(e="strip"===d.substring(f+1),d=d.substring(0,f),c?c=d:b=d),{moduleName:b,ext:c,strip:e}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(a,c,d,e){var f,g,h,i=b.xdRegExp.exec(a);return i?(f=i[2],g=i[3],g=g.split(":"),h=g[1],g=g[0],!(f&&f!==c||g&&g.toLowerCase()!==d.toLowerCase()||(h||g)&&h!==e)):!0},finishLoad:function(a,c,d,e){d=c?b.strip(d):d,o.isBuild&&(n[a]=d),e(d)},load:function(a,c,d,e){if(e&&e.isBuild&&!e.inlineText)return void d();o.isBuild=e&&e.isBuild;var f=b.parseName(a),g=f.moduleName+(f.ext?"."+f.ext:""),h=c.toUrl(g),i=o.useXhr||b.useXhr;return 0===h.indexOf("empty:")?void d():void(!j||i(h,k,l,m)?b.get(h,function(c){b.finishLoad(a,f.strip,c,d)},function(a){d.error&&d.error(a)}):c([g],function(a){b.finishLoad(f.moduleName+"."+f.ext,f.strip,a,d)}))},write:function(a,c,d,e){if(n.hasOwnProperty(c)){var f=b.jsEscape(n[c]);d.asModule(a+"!"+c,"define(function () { return '"+f+"';});\n")}},writeFile:function(a,c,d,e,f){var g=b.parseName(c),h=g.ext?"."+g.ext:"",i=g.moduleName+h,j=d.toUrl(g.moduleName+h)+".js";b.load(i,d,function(c){var d=function(a){return e(j,a)};d.asModule=function(a,b){return e.asModule(a,j,b)},b.write(a,i,d,f)},f)}},"node"===o.env||!o.env&&"undefined"!=typeof process&&process.versions&&process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"]?(c=require.nodeRequire("fs"),b.get=function(a,b,d){try{var e=c.readFileSync(a,"utf8");"\ufeff"===e[0]&&(e=e.substring(1)),b(e)}catch(f){d&&d(f)}}):"xhr"===o.env||!o.env&&b.createXhr()?b.get=function(a,c,d,e){var f,g=b.createXhr();if(g.open("GET",a,!0),e)for(f in e)e.hasOwnProperty(f)&&g.setRequestHeader(f.toLowerCase(),e[f]);o.onXhr&&o.onXhr(g,a),g.onreadystatechange=function(b){var e,f;4===g.readyState&&(e=g.status||0,e>399&&600>e?(f=new Error(a+" HTTP status: "+e),f.xhr=g,d&&d(f)):c(g.responseText),o.onXhrComplete&&o.onXhrComplete(g,a))},g.send(null)}:"rhino"===o.env||!o.env&&"undefined"!=typeof Packages&&"undefined"!=typeof java?b.get=function(a,b){var c,d,e="utf-8",f=new java.io.File(a),g=java.lang.System.getProperty("line.separator"),h=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(f),e)),i="";try{for(c=new java.lang.StringBuffer,d=h.readLine(),d&&d.length()&&65279===d.charAt(0)&&(d=d.substring(1)),null!==d&&c.append(d);null!==(d=h.readLine());)c.append(g),c.append(d);i=String(c.toString())}finally{h.close()}b(i)}:("xpconnect"===o.env||!o.env&&"undefined"!=typeof Components&&Components.classes&&Components.interfaces)&&(d=Components.classes,e=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),f="@mozilla.org/windows-registry-key;1"in d,b.get=function(a,b){var c,g,h,i={};f&&(a=a.replace(/\//g,"\\")),h=new FileUtils.File(a);try{c=d["@mozilla.org/network/file-input-stream;1"].createInstance(e.nsIFileInputStream),c.init(h,1,0,!1),g=d["@mozilla.org/intl/converter-input-stream;1"].createInstance(e.nsIConverterInputStream),g.init(c,"utf-8",c.available(),e.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),g.readString(c.available(),i),g.close(),c.close(),b(i.value)}catch(j){throw new Error((h&&h.path||"")+": "+j)}}),b}),define("delite/uacss",["decor/sniff"],function(a){var b=a("ie"),c=Math.floor,d=a("ff"),e={"d-webkit":a("webkit"),"d-safari":a("safari"),"d-chrome":a("chrome"),"d-gecko":a("mozilla"),"d-ios":a("ios"),"d-android":a("android")};b&&(e["d-ie"]=!0,e["d-ie-"+c(b)]=!0),d&&(e["d-ff-"+c(d)]=!0);var f="";for(var g in e)e[g]&&(f+=g+" ");return document.body.className=(document.body.className+" "+f).trim(),a}),define("delite/theme",["require","requirejs-dplugins/has","module","requirejs-dplugins/css"],function(a,b,c,d){"use strict";var e=c.config(),f={themeMap:e.themeMap||[[/.*/,"bootstrap"]],getTheme:function(){var a=f.theme||e.theme;if(!a){var b=location.search.match(/theme=(\w+)/);a=b&&b.length>1?b[1]:null}if(!a)for(var c=e.userAgent||(location.search.match(/ua=(\w+)/)?RegExp.$1:navigator.userAgent),d=this.themeMap,g=0;g0&&a[b].parent===a[b-1].popup;b--);return a[b]},open:function(a){return this._prepareToOpen(a),this._size(a,!0),this._position(a)},_prepareToOpen:function(a){var g=this._stack,h=a.popup,i=a.around;for(h.id||(h.id=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++);g.length&&(!a.parent||!g[g.length-1].popup.contains(a.parent));)this.close(g[g.length-1].popup);var j=this.moveOffScreen(h),k=["d-popup"];((h.baseClass||"")+" "+h.className).split(/ +/).forEach(function(a){a&&k.push(a+"-popup")}),b.mix(j,{id:h.id+"_wrapper",className:k.join(" ")}),j.style.zIndex=this._beginZIndex+g.length,j._popupParent=a.parent?a.parent:null,0===g.length&&i&&(this._firstAroundNode=i,this._firstAroundPosition=f.position(i),this._aroundMoveListener=setTimeout(this._checkScroll.bind(this),50)),d("config-bgIframe")&&!h.bgIframe&&(h.bgIframe=new c(j)),j.style.visibility="visible",h.style.visibility="visible";var l=[],m=function(b){if(b.keyCode===e.ESCAPE&&a.onCancel)b.stopPropagation(),b.preventDefault(),a.onCancel();else if(b.keyCode===e.TAB){b.stopPropagation(),b.preventDefault();var c=this.getTopPopup();c.onCancel&&c.onCancel()}}.bind(this);j.addEventListener("keydown",m),l.push({remove:function(){j.removeEventListener("keydown",m)}}),a.onCancel&&l.push(h.on("cancel",a.onCancel));var n=function(){var a=this.getTopPopup();a.onExecute&&a.onExecute()}.bind(this);l.push(h.on("change",n),h.on("execute",n));var o=Object.create(a);o.wrapper=j,o.handlers=l,g.push(o)},_size:function(a,b){var c=a.popup,d=c._popupWrapper,e=a.around,f=a.orient||["below","below-alt","above","above-alt"],h=g.getEffectiveBox(c.ownerDocument);if(b&&(d.style.height="auto","center"===f[0]&&(d.style.width="auto"),a._naturalHeight=c.offsetHeight,a._naturalWidth=c.offsetWidth),"center"===f[0])d.style.height=a._naturalHeight>.9*h.h?Math.floor(.9*h.h)+"px":"auto",d.style.width=a._naturalWidth>.9*h.w?Math.floor(.9*h.w)+"px":"auto";else{var i;if("maxHeight"in a&&-1!==a.maxHeight)i=a.maxHeight||1/0;else{var j=e?e.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};i=Math.floor(Math.max(j.top,h.h-(j.top+j.height)))}d.style.height=a._naturalHeight>i?i+"px":"auto"}c.style.height=d.style.height},_position:function(a){var b=a.popup,c=b._popupWrapper,d=a.around,e=a.orient||["below","below-alt","above","above-alt"],g=a.parent?"rtl"!==a.parent.effectiveDir:h(b.ownerDocument);if("center"!==e[0]){var i=b.orient?b.orient.bind(b):null;return d?f.around(c,d,e,g,i):f.at(c,a,"R"===e?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,i)}f.center(c)},close:function(a){for(var b=this._stack;a&&b.some(function(b){return b.popup===a})||!a&&b.length;){var c=b.pop(),d=c.popup,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe);for(var f;f=c.handlers.pop();)f.remove();this.hide(d),e&&e()}0===b.length&&this._aroundMoveListener&&(clearTimeout(this._aroundMoveListener),this._firstAroundNode=this._firstAroundPosition=this._aroundMoveListener=null)}});return new j}),define("delite/place",["./Viewport"],function(a){function b(b,c,d,e){var f=a.getEffectiveBox(b.ownerDocument),g=b.style;b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var h=null;c.some(function(a){var c=a.corner,i=a.pos,j=0,k={w:{L:f.l+f.w-i.x,R:i.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-i.y,B:i.y-f.t,M:f.h}[c.charAt(0)]};if(g.left=g.right="auto",d){var l=d(b,a.aroundCorner,c,k,e);j="undefined"==typeof l?0:l}var m=g.display,n=g.visibility;"none"===g.display&&(g.visibility="hidden",g.display="");var o=b.getBoundingClientRect();g.display=m,g.visibility=n;var p={L:i.x,R:i.x-o.width,M:Math.max(f.l,Math.min(f.l+f.w,i.x+(o.width>>1))-o.width)}[c.charAt(1)],q={T:i.y,B:i.y-o.height,M:Math.max(f.t,Math.min(f.t+f.h,i.y+(o.height>>1))-o.height)}[c.charAt(0)],r=Math.max(f.l,p),s=Math.max(f.t,q),t=Math.min(f.l+f.w,p+o.width),u=Math.min(f.t+f.h,q+o.height),v=t-r,w=u-s;return j+=o.width-v+(o.height-w),(null==h||j>1)}[a.charAt(1)],y:{T:v,B:v+x,M:v+(x>>1)}[a.charAt(0)]}})}var i;if("string"==typeof c||"offsetWidth"in c||"ownerSVGElement"in c){if(i=d.position(c),/^(above|below)/.test(e[0])){var j=function(a){var b=getComputedStyle(a);return{t:parseFloat(b.borderTopWidth),b:parseFloat(b.borderBottomWidth)}},k=j(c),l=c.firstElementChild?j(c.firstElementChild):{t:0,b:0},m=j(a),n=a.firstElementChild?j(a.firstElementChild):{t:0,b:0};i.y+=Math.min(k.t+l.t,m.t+n.t),i.h-=Math.min(k.t+l.t,m.t+n.t)+Math.min(k.b+l.b,m.b+n.b)}}else i=c;if(c.parentNode)for(var o="absolute"===getComputedStyle(c).position,p=c.parentNode;p&&1===p.nodeType&&"BODY"!==p.nodeName;){var q=d.position(p),r=getComputedStyle(p);if(/^(relative|absolute)$/.test(r.position)&&(o=!1),!o&&/^(hidden|auto|scroll)$/.test(r.overflow)){var s=Math.min(i.y+i.h,q.y+q.h),t=Math.min(i.x+i.w,q.x+q.w);i.x=Math.max(i.x,q.x),i.y=Math.max(i.y,q.y),i.h=s-i.y,i.w=t-i.x}"absolute"===r.position&&(o=!0),p=p.parentNode}var u=i.x,v=i.y,w=i.w,x=i.h,y=[];e.forEach(function(a){var b=f;switch(a){case"above-centered":h("TM","BM");break;case"below-centered":h("BM","TM");break;case"after-centered":b=!b;case"before-centered":h(b?"ML":"MR",b?"MR":"ML");break;case"after":b=!b;case"before":h(b?"TL":"TR",b?"TR":"TL"),h(b?"BL":"BR",b?"BR":"BL");break;case"below-alt":b=!b;case"below":h(b?"BL":"BR",b?"TL":"TR"),h(b?"BR":"BL",b?"TR":"TL");break;case"above-alt":b=!b;case"above":h(b?"TL":"TR",b?"BL":"BR"),h(b?"TR":"TL",b?"BR":"BL")}});var z=b(a,y,g,{w:w,h:x});return z.aroundNodePos=i,z},center:function(b){var c=b.style,d=/^rtl$/i.test(b.dir||b.ownerDocument.body.dir||b.ownerDocument.documentElement.dir);c.top="-9999px",c[d?"right":"left"]="-9999px";var e=a.getEffectiveBox(),f=b.getBoundingClientRect();c.top=e.t+(e.h-f.height)/2+"px",c.left=e.l+(e.w-f.width)/2+"px",c.right="auto"},position:function(a){var b=a.getBoundingClientRect(),c=a.ownerDocument,d=c.defaultView;return{x:b.left+(d.pageXOffset||c.documentElement.scrollLeft),y:b.top+(d.pageYOffset||c.documentElement.scrollTop),h:b.height,w:b.width}}};return d}),define("delite/keys",["decor/sniff"],function(a){return{BACKSPACE:8,TAB:9,CLEAR:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,META:a("webkit")?91:224,PAUSE:19,CAPS_LOCK:20,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,INSERT:45,DELETE:46,HELP:47,LEFT_WINDOW:91,RIGHT_WINDOW:92,SELECT:93,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_MULTIPLY:106,NUMPAD_PLUS:107,NUMPAD_ENTER:108,NUMPAD_MINUS:109,NUMPAD_PERIOD:110,NUMPAD_DIVIDE:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,NUM_LOCK:144,SCROLL_LOCK:145,UP_DPAD:175,DOWN_DPAD:176,LEFT_DPAD:177,RIGHT_DPAD:178,copyKey:a("mac")?a("safari")?91:224:17}}),define("delite/handlebars",["./Template","require","requirejs-dplugins/Promise!"],function(a,b,c){function d(a,b){var c,d=[];return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var e=a.trim();d.push(/this\./.test(e)?"("+a+")":b?"(this."+e+"== null ? '' : this."+e+")":"this."+e)}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),d.join(" + ")}var e="requirejs-text/text",f={parse:function(b,c){var e,g,h=b.hasAttribute("is")?b.getAttribute("is"):b.tagName.replace(/^template-/i,"").toLowerCase(),i=a.getElement(h),j={},k={},l=0,m=b.attributes;for(l=0;g=m[l];l++)if(g.value)switch(g.name){case"xmlns":c=g.value;break;case"is":break;case"attach-point":case"data-attach-point":e=g.value.split(/, */);break;default:if(/^on-/.test(g.name))k[g.name.substring(3)]=g.value.replace(/\s*({{|}})\s*/g,"");else{var n=a.getProp(h,g.name);if(n&&"string"!=typeof i[n]&&!/{{/.test(g.value)&&"style.cssText"!==n){var o=g.value;"boolean"!=typeof i[n]||"off"!==o&&"on"!==o||(o="on"===o?"true":"false"),j[g.name]=o}else j[g.name]=d(g.value,"class"===g.name)}}return{tag:h,xmlns:c,attributes:j,connects:k,children:f.parseChildren(b,c),attachPoints:e}},parseChildren:function(a,b){for(var c,e=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)c=e.length,e.push(f.parse(g,b));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===c)continue}else c=e.length;e.push(d(g.nodeValue,!0))}}return e.slice(0,c+1)},toDom:function(a){a=a.replace(/(<\/? *)([-a-zA-Z0-9]+)/g,"$1template-$2"),a=a.replace(/]*?)\/?>/g,"");var b;if(/b||(this._clearActiveWidgetsTimer&&clearTimeout(this._clearActiveWidgetsTimer),h+100>b||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_pointerDownOrFocusHandler:function(a,b){h=(new Date).getTime(),g=a,this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer);var c=[];try{for(;a;)if(a._popupParent)a=a._popupParent;else if(a.tagName&&"body"===a.tagName.toLowerCase()){if(a===document.body)break;a=a.ownerDocument.defaultView.frameElement}else!a.render||"mouse"===b&&a.disabled||c.unshift(a),a=a.parentNode}catch(d){}this._setStack(c,b)},_focusHandler:function(a){a&&9!==a.nodeType&&(f=(new Date).getTime(),(new Date).getTime()=0&&c[g]!==a[g];g--)f=c[g],f&&(f.emit("delite-deactivated",{bubbles:!1,by:b}),this.emit("deactivated",f,b));for(g++;e>=g;g++)f=a[g],f&&(f.emit("delite-activated",{bubbles:!1,by:b}),this.emit("activated",f,b))}}}),j=new i;return j.registerWin(window),j}),define("jquery/src/attributes/classes",["../core","../var/rnotwhite","../var/strundefined","../data/var/data_priv","../core/init"],function(a,b,c,d){var e=/[\t\r\n\f]/g;a.fn.extend({addClass:function(c){var d,f,g,h,i,j,k="string"==typeof c&&c,l=0,m=this.length;if(a.isFunction(c))return this.each(function(b){a(this).addClass(c.call(this,b,this.className))});if(k)for(d=(c||"").match(b)||[];m>l;l++)if(f=this[l],g=1===f.nodeType&&(f.className?(" "+f.className+" ").replace(e," "):" ")){for(i=0;h=d[i++];)g.indexOf(" "+h+" ")<0&&(g+=h+" ");j=a.trim(g),f.className!==j&&(f.className=j)}return this},removeClass:function(c){var d,f,g,h,i,j,k=0===arguments.length||"string"==typeof c&&c,l=0,m=this.length;if(a.isFunction(c))return this.each(function(b){a(this).removeClass(c.call(this,b,this.className))});if(k)for(d=(c||"").match(b)||[];m>l;l++)if(f=this[l],g=1===f.nodeType&&(f.className?(" "+f.className+" ").replace(e," "):"")){for(i=0;h=d[i++];)for(;g.indexOf(" "+h+" ")>=0;)g=g.replace(" "+h+" "," ");j=c?a.trim(g):"",f.className!==j&&(f.className=j)}return this},toggleClass:function(e,f){var g=typeof e;return"boolean"==typeof f&&"string"===g?f?this.addClass(e):this.removeClass(e):this.each(a.isFunction(e)?function(b){a(this).toggleClass(e.call(this,b,this.className,f),f)}:function(){if("string"===g)for(var f,h=0,i=a(this),j=e.match(b)||[];f=j[h++];)i.hasClass(f)?i.removeClass(f):i.addClass(f);else(g===c||"boolean"===g)&&(this.className&&d.set(this,"__className__",this.className),this.className=this.className||e===!1?"":d.get(this,"__className__")||"")})},hasClass:function(a){for(var b=" "+a+" ",c=0,d=this.length;d>c;c++)if(1===this[c].nodeType&&(" "+this[c].className+" ").replace(e," ").indexOf(b)>=0)return!0;return!1}})}),define("jquery/src/core/init",["../core","./var/rsingleTag","../traversing/findFilter"],function(a,b){var c,d=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,e=a.fn.init=function(e,f){var g,h;if(!e)return this;if("string"==typeof e){if(g="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:d.exec(e),!g||!g[1]&&f)return!f||f.jquery?(f||c).find(e):this.constructor(f).find(e);if(g[1]){if(f=f instanceof a?f[0]:f,a.merge(this,a.parseHTML(g[1],f&&f.nodeType?f.ownerDocument||f:document,!0)),b.test(g[1])&&a.isPlainObject(f))for(g in f)a.isFunction(this[g])?this[g](f[g]):this.attr(g,f[g]);return this}return h=document.getElementById(g[2]),h&&h.parentNode&&(this.length=1,this[0]=h),this.context=document,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):a.isFunction(e)?"undefined"!=typeof c.ready?c.ready(e):e(a):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),a.makeArray(e,this))};return e.prototype=a.fn,c=a(document),e}),define("jquery/src/traversing/findFilter",["../core","../var/indexOf","./var/rneedsContext","../selector"],function(a,b,c){function d(c,d,f){if(a.isFunction(d))return a.grep(c,function(a,b){return!!d.call(a,b,a)!==f});if(d.nodeType)return a.grep(c,function(a){return a===d!==f});if("string"==typeof d){if(e.test(d))return a.filter(d,c,f);d=a.filter(d,c)}return a.grep(c,function(a){return b.call(d,a)>=0!==f})}var e=/^.[^:#\[\.,]*$/;a.filter=function(b,c,d){var e=c[0];return d&&(b=":not("+b+")"),1===c.length&&1===e.nodeType?a.find.matchesSelector(e,b)?[e]:[]:a.find.matches(b,a.grep(c,function(a){return 1===a.nodeType}))},a.fn.extend({find:function(b){var c,d=this.length,e=[],f=this;if("string"!=typeof b)return this.pushStack(a(b).filter(function(){for(c=0;d>c;c++)if(a.contains(f[c],this))return!0}));for(c=0;d>c;c++)a.find(b,f[c],e);return e=this.pushStack(d>1?a.unique(e):e),e.selector=this.selector?this.selector+" "+b:b,e},filter:function(a){return this.pushStack(d(this,a||[],!1))},not:function(a){return this.pushStack(d(this,a||[],!0))},is:function(b){return!!d(this,"string"==typeof b&&c.test(b)?a(b):b||[],!1).length}})}),define("jquery/src/selector-native",["./core"],function(a){var b,c=window.document.documentElement,d=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.msMatchesSelector,e=function(c,d){if(c===d)return b=!0, +0;var e=d.compareDocumentPosition&&c.compareDocumentPosition&&c.compareDocumentPosition(d);return e?1&e?c===document||a.contains(document,c)?-1:d===document||a.contains(document,d)?1:0:4&e?-1:1:c.compareDocumentPosition?-1:1};a.extend({find:function(b,c,d,e){var f,g,h=0;if(d=d||[],c=c||document,!b||"string"!=typeof b)return d;if(1!==(g=c.nodeType)&&9!==g)return[];if(e)for(;f=e[h++];)a.find.matchesSelector(f,b)&&d.push(f);else a.merge(d,c.querySelectorAll(b));return d},unique:function(a){var c,d=[],f=0,g=0;if(b=!1,a.sort(e),b){for(;c=a[f++];)c===a[f]&&(g=d.push(f));for(;g--;)a.splice(d[g],1)}return a},text:function(b){var c,d="",e=0,f=b.nodeType;if(f){if(1===f||9===f||11===f)return b.textContent;if(3===f||4===f)return b.nodeValue}else for(;c=b[e++];)d+=a.text(c);return d},contains:function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!c.contains(d))},isXMLDoc:function(a){return"HTML"!==(a.ownerDocument||a).documentElement.nodeName},expr:{attrHandle:{},match:{bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]/}}}),a.extend(a.find,{matches:function(b,c){return a.find(b,null,null,c)},matchesSelector:function(a,b){return d.call(a,b)},attr:function(a,b){return a.getAttribute(b)}})}),define("jquery/src/traversing/var/rneedsContext",["../../core","../../selector"],function(a){return a.expr.match.needsContext}),define("jquery/src/var/indexOf",["./arr"],function(a){return a.indexOf}),define("jquery/src/var/arr",[],function(){return[]}),define("jquery/src/core/var/rsingleTag",[],function(){return/^<(\w+)\s*\/?>(?:<\/\1>|)$/}),define("jquery/src/data/var/data_priv",["../Data"],function(a){return new a}),define("jquery/src/data/Data",["../core","../var/rnotwhite","./accepts"],function(a,b){function c(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=a.expando+c.uid++}return c.uid=1,c.accepts=a.acceptData,c.prototype={key:function(b){if(!c.accepts(b))return 0;var d={},e=b[this.expando];if(!e){e=c.uid++;try{d[this.expando]={value:e},Object.defineProperties(b,d)}catch(f){d[this.expando]=e,a.extend(b,d)}}return this.cache[e]||(this.cache[e]={}),e},set:function(b,c,d){var e,f=this.key(b),g=this.cache[f];if("string"==typeof c)g[c]=d;else if(a.isEmptyObject(g))a.extend(this.cache[f],c);else for(e in c)g[e]=c[e];return g},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(b,c,d){var e;return void 0===c||c&&"string"==typeof c&&void 0===d?(e=this.get(b,c),void 0!==e?e:this.get(b,a.camelCase(c))):(this.set(b,c,d),void 0!==d?d:c)},remove:function(c,d){var e,f,g,h=this.key(c),i=this.cache[h];if(void 0===d)this.cache[h]={};else{a.isArray(d)?f=d.concat(d.map(a.camelCase)):(g=a.camelCase(d),d in i?f=[d,g]:(f=g,f=f in i?[f]:f.match(b)||[])),e=f.length;for(;e--;)delete i[f[e]]}},hasData:function(b){return!a.isEmptyObject(this.cache[b[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}},c}),define("jquery/src/data/accepts",["../core"],function(a){return a.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType},a.acceptData}),define("jquery/src/var/strundefined",[],function(){return"undefined"}),define("jquery/src/var/rnotwhite",[],function(){return/\S+/g}),define("jquery/src/core",["./var/arr","./var/slice","./var/concat","./var/push","./var/indexOf","./var/class2type","./var/toString","./var/hasOwn","./var/support"],function(a,b,c,d,e,f,g,h,i){function j(a){var b="length"in a&&a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var k=window.document,l="@VERSION",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};return m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return b.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:b.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(b.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:a.sort,splice:a.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(m.isPlainObject(d)||(e=m.isArray(d)))?(e?(e=!1,f=c&&m.isArray(c)?c:[]):f=c&&m.isPlainObject(c)?c:{},g[b]=m.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==m.type(a)||a.nodeType||m.isWindow(a)?!1:a.constructor&&!h.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?f[g.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=m.trim(a),a&&(1===a.indexOf("use strict")?(b=k.createElement("script"),b.text=a,k.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=j(a);if(c){if(g)for(;f>e&&(d=b.apply(a[e],c),d!==!1);e++);else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g)for(;f>e&&(d=b.call(a[e],e,a[e]),d!==!1);e++);else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(j(Object(a))?m.merge(c,"string"==typeof a?[a]:a):d.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:e.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,d){var e,f=0,g=a.length,h=j(a),i=[];if(h)for(;g>f;f++)e=b(a[f],f,d),null!=e&&i.push(e);else for(f in a)e=b(a[f],f,d),null!=e&&i.push(e);return c.apply([],i)},guid:1,proxy:function(a,c){var d,e,f;return"string"==typeof c&&(d=a[c],c=a,a=d),m.isFunction(a)?(e=b.call(arguments,2),f=function(){return a.apply(c||this,e.concat(b.call(arguments)))},f.guid=a.guid=a.guid||m.guid++,f):void 0},now:Date.now,support:i}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){f["[object "+b+"]"]=b.toLowerCase()}),m}),define("jquery/src/var/support",[],function(){return{}}),define("jquery/src/var/hasOwn",["./class2type"],function(a){return a.hasOwnProperty}),define("jquery/src/var/toString",["./class2type"],function(a){return a.toString}),define("jquery/src/var/class2type",[],function(){return{}}),define("jquery/src/var/push",["./arr"],function(a){return a.push}),define("jquery/src/var/concat",["./arr"],function(a){return a.concat}),define("jquery/src/var/slice",["./arr"],function(a){return a.slice}),define("delite/a11yclick",["./keys"],function(a){function b(b){if((b.keyCode===a.ENTER||b.keyCode===a.SPACE)&&!/input|button|textarea/i.test(b.target.nodeName))for(var c=b.target;c;c=c.parentNode)if(c.hasAttribute&&c.hasAttribute("d-keyboard-click"))return!0}var c;return document.addEventListener("keydown",function(a){!a.defaultPrevented&&b(a)?(c=a.target,a.preventDefault()):c=null}),document.addEventListener("keyup",function(a){if(b(a)&&a.target===c){c=null,a.preventDefault();var d=a.target.ownerDocument,e=d.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,d.defaultView,0,0,0,0,0,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,d.body),a.target.dispatchEvent(e)}}),function(a){a.setAttribute("d-keyboard-click","true")}}),define("delite/a11y",[],function(){var a={_isElementShown:function(a){var b=getComputedStyle(a);return"hidden"!==b.visibility&&"collapsed"!==b.visibility&&"none"!==b.display&&"hidden"!==a.type},hasDefaultTabStop:function(a){switch(a.nodeName.toLowerCase()){case"a":return a.hasAttribute("href");case"area":case"button":case"input":case"object":case"select":case"textarea":return!0;case"iframe":var b=a.contentDocument;if("designMode"in b&&"on"===b.designMode)return!0;var c=b.body;return c&&("true"===c.contentEditable||c.firstChild&&"true"===c.firstChild.contentEditable);default:return"true"===a.contentEditable}},effectiveTabIndex:function(b){return b.disabled?void 0:b.hasAttribute("tabIndex")?+b.getAttribute("tabIndex"):a.hasDefaultTabStop(b)?0:void 0},isTabNavigable:function(b){return a.effectiveTabIndex(b)>=0},isFocusable:function(b){return a.effectiveTabIndex(b)>=-1},_getTabNavigable:function(b){function c(a){return a&&"input"===a.tagName.toLowerCase()&&a.type&&"radio"===a.type.toLowerCase()&&a.name&&a.name.toLowerCase()}function d(a){for(var b=a.firstChild;b;b=b.nextSibling)if(1===b.nodeType&&m(b)){var e=n(b);if(e>=0){0===e?(f||(f=b),g=b):e>0&&((!h||i>e)&&(i=e,h=b),(!j||e>=k)&&(k=e,j=b));var o=c(b);b.checked&&o&&(l[o]=b)}"SELECT"!==b.nodeName.toUpperCase()&&d(b)}}function e(a){return l[c(a)]||a}var f,g,h,i,j,k,l={},m=a._isElementShown,n=a.effectiveTabIndex;return m(b)&&d(b),{first:e(f),last:e(g),lowest:e(h),highest:e(j)}},getFirstInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.lowest?d.lowest:d.first},getLastInTabbingOrder:function(b,c){"string"==typeof b&&(b=(c||document).getElementById(b));var d=a._getTabNavigable(b);return d.last?d.last:d.highest}};return a}),define("delite/Widget",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g){var h=0,i=a([e,d],{baseClass:"",focused:!1,widgetId:0,dir:"",effectiveDir:"",createdCallback:function(){this.preRender(),this.render(),this.postRender()},computeProperties:function(a){"dir"in a&&(/^(ltr|rtl)$/i.test(this._get("dir"))?this.effectiveDir=this._get("dir").toLowerCase():this.effectiveDir=this.getInheritedDir())},getInheritedDir:function(){return(this.ownerDocument.body.dir||this.ownerDocument.documentElement.dir||"ltr").toLowerCase()},refreshRendering:function(a){this._templateHandle&&this._templateHandle.refresh(a),"baseClass"in a&&b(this).removeClass(a.baseClass).addClass(this.baseClass),"effectiveDir"in a&&b(this).toggleClass("d-rtl","rtl"===this.effectiveDir),"dir"in a&&(this.style.direction=this._get("dir"))},attachedCallback:a.after(function(){this._templateHandle&&!c("document-register-element")&&this._templateHandle.attach()}),preRender:function(){this.widgetId=++h},template:null,render:function(){this.template&&(this._templateHandle=this.template(this.ownerDocument,f))},setClassComponent:function(a,c,d){d||(d=this);var e="_"+a+"Class";b(d).removeClass(d[e]||"").addClass(c),d[e]=c},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postRender:function(){this.initializeInvalidating(),this._templateHandle&&this.notifyCurrentValue.apply(this,this._templateHandle.dependencies),this.notifyCurrentValue("dir","baseClass")},detachedCallback:function(){this._templateHandle&&!c("document-register-element")&&this._templateHandle.detach(),this.bgIframe&&(this.bgIframe.destroy(),delete this.bgIframe)},getParent:function(){return this.parentNode?this.getEnclosingWidget(this.parentNode):null},placeAt:function(a,b){if("string"==typeof a&&(a=this.ownerDocument.getElementById(a)),"replace"===b)a.parentNode.replaceChild(this,a);else if("only"===b){for(var c;c=a.lastChild;)a.removeChild(c);a.appendChild(this)}else if(/^(before|after)$/.test(b))a.parentNode.insertBefore(this,"before"===b?a:a.nextSibling);else{var d=a.containerNode||a,e=d.children||Array.prototype.filter.call(d.childNodes,function(a){return 1===a.nodeType});d.insertBefore(this,e["first"===b?0:b]||null)}return this.attached||this.attachedCallback(!0),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.render)return a;while(a=a.parentNode);return null}});return c("bidi")&&(i=a(i,g)),a.chainAfter(i,"preRender"),a.chainAfter(i,"postRender"),i}),define("delite/Viewport",["decor/Evented","decor/sniff","requirejs-domready/domReady!"],function(a,b){function c(){if(b("ios")<8){var a=document.body.getBoundingClientRect();return{w:Math.max(a.width,window.innerWidth),h:Math.max(a.height,window.innerHeight),t:window.pageYOffset,l:window.pageXOffset}}return{w:window.innerWidth,h:window.innerHeight,t:window.pageYOffset,l:window.pageXOffset}}function d(){var a=g.getEffectiveBox();return a.h!==h.h||a.w!==h.w?(h=a,g.emit("resize",a),!0):!1}function e(){var a=g.getEffectiveBox();return a.t!==i.t||a.l!==i.l?(i=a,g.emit("scroll",a),!0):!1}function f(){var a=d(),b=e();setTimeout(f,a||b?10:50)}var g=new a;g.getEffectiveBox=function(){var a=c(),d=document.activeElement,e=d&&d.tagName&&d.tagName.toLowerCase();return b("ios")&&d&&!d.readOnly&&("textarea"===e||"input"===e&&/^(color|email|number|password|search|tel|text|url)$/.test(d.type))&&(b("ipad")?a.h*=0===window.orientation||180===window.orientation?.65:.38:0===window.orientation||180===window.orientation?a.h*=window.screen.height>500?.54:.42:a.h*=window.screen.height>500&&b("ios")>=8?.26:.19,b("ios")>=8&&(!d.hasAttribute("autocorrect")||"on"===d.getAttribute("autocorrect"))&&/^(color|number|search|tel|text)$/.test(d.type)&&(a.h-=40)),a};var h=g.getEffectiveBox(),i=h;return f(),g}),define("delite/Template",["./register"],function(a){function b(a){var b=a.match(/this\.(\w+)/g);return b?Object.keys(b.reduce(function(a,b){return a[b.substring(5)]=!0,a},{})):[]}var c=a.dcl(null,{constructor:function(a,b,c){this.buildText=[],this.attachText=[],this.detachText=[],this.observeText=[],this.dependsOn={},this.generateNodeCode(b||"this",c,a),this.text=this.buildText.join("\n")+"\nreturn {\n dependencies: "+JSON.stringify(Object.keys(this.dependsOn))+",\n attach: function(){\n "+this.attachText.join("\n ")+"\n },\n detach: function(){\n "+this.detachText.join("\n ")+"\n },\n refresh: function(props){\n "+this.observeText.join("\n ")+"\n }.bind(this)\n};\n",this.func=new Function("document","register",this.text)},text:"",func:null,generateWatchCode:function(a,b){this.observeText.push("if("+a.map(function(a){return"'"+a+"' in props"}).join(" || ")+")"," "+b+";"),a.forEach(function(a){this.dependsOn[a]=!0},this)},generateNodeChildrenCode:function(a,c){c.forEach(function(c,d){var e=("this"===a?"":a)+"c"+(d+1);if(c.tag)this.generateNodeCode(e,!0,c),this.buildText.push(a+".appendChild("+e+");");else{var f=e+"t"+(d+1),g=c,h=b(g);this.buildText.push("var "+f+" = document.createTextNode("+(h.length?"''":g)+");",a+".appendChild("+f+");"),h.length&&this.generateWatchCode(h,f+".nodeValue = "+g)}},this)},generateNodeCode:function(a,d,e){var f=(e.attachPoints||[]).map(function(a){return"this."+a+" = "}).join("");d?(this.buildText.push("var "+a+" = "+f+(e.xmlns?"document.createElementNS('"+e.xmlns+"', '"+e.tag+"');":"register.createElement('"+e.tag+"');")),/-/.test(e.tag)&&(this.attachText.push(a+".attachedCallback();"),this.detachText.push(a+".detachedCallback();"))):f&&this.buildText.push(f+a+";");for(var g in e.attributes){var h=e.attributes[g],i=b(h),j=c.getProp(e.tag,g);"class"!==g||e.xmlns?i.length?this.generateWatchCode(i,j?a+"."+j+" = "+h:"this.setOrRemoveAttribute("+a+", '"+g+"', "+h+")"):this.buildText.push(j?a+"."+j+" = "+h:a+".setAttribute('"+g+"', "+h+");"):i.length?this.generateWatchCode(i,"this.setClassComponent('template', "+h+", "+a+")"):this.buildText.push("this.setClassComponent('template', "+h+", "+a+")")}/-/.test(e.tag)&&(this.buildText.push(a+".deliver();"),this.observeText.push(a+".deliver();"));for(var k in e.connects){var l=e.connects[k],m=/^[a-zA-Z0-9_]+$/.test(l)?"this."+l+".bind(this)":"function(event){"+l+"}";this.buildText.push("this.on('"+k+"', "+m+", "+a+");")}this.generateNodeChildrenCode(a,e.children)}}),d={};c.getElement=function(b){return b in d||(d[b]=a.createElement(b)),d[b]};var e={};return c.getProp=function(a,b){if(!(a in e)){var d=c.getElement(a),f=e[a]={};for(var g in d)f[g.toLowerCase()]=g;f.style="style.cssText"}return e[a][b]},c}),define("delite/StoreMap",["dcl/dcl","./Store"],function(a,b){var c=function(a,b,c,d){return a[c+"Func"]?a[c+"Func"](b,d):a[c+"Attr"]?b[a[c+"Attr"]]:b[c]},d=function(a,b,c,d,e){a[c+"Func"]?a[c+"Func"](b,d,e):a[c+"Attr"]?b[a[c+"Attr"]]=e:b[c]=e},e=/^(?!_)(\w)+(?=Attr$|Func$)/,f=/f(?=unc$)|a(?=ttr$)/;return a(b,{allowRemap:!1,_mappedKeys:null,copyAllItemProps:!1,parseAttribute:a.superCall(function(a){return function(b,c){return/Attr$|Func$/i.test(b)?(b=b.toLowerCase(),b=this._propCaseMap[b]||b.replace(f,f.exec(b)[0].toUpperCase()),{prop:b,value:/Attr$/.test(b)?c:this.parseFunctionAttribute(c,["item","store","value"])}):a.apply(this,arguments)}}),queryStoreAndInitItems:a.superCall(function(a){return function(b,c){this.attached||c?a.apply(this,arguments):this._pendingQuery=b}}),attachedCallback:function(){var a=[];for(var b in this){var c=e.exec(b);c&&-1===a.indexOf(c[0])&&a.push(c[0])}if(this.copyAllItemProps){this._itemKeys=[];for(var d=0;d0&&this.updateRenderers(b),this.selectedItems&&this.selectedItems.length>0?(this._set("selectedItem",this.selectedItems[0]),this.updateRenderers(this.selectedItems)):this._set("selectedItem",null)},_getSelectedItemsAttr:function(){return null==this._get("selectedItems")?[]:this._get("selectedItems").concat()},hasSelectionModifier:function(a){return b("mac")?a.metaKey:a.ctrlKey},isSelected:function(a){if(null==this.selectedItems||0===this.selectedItems.length)return!1;var b=this.getIdentity(a);return this.selectedItems.some(function(a){return this.getIdentity(a)===b},this)},getIdentity:function(a){},updateRenderers:function(a){},setSelected:function(a,b){"none"!==this.selectionMode&&null!=a&&this._setSelected(a,b)},_setSelected:function(a,b){var c,d,e=this.selectedItems;if("single"===this.selectionMode||"radio"===this.selectionMode)b?this.selectedItem=a:"single"===this.selectionMode&&this.isSelected(a)&&(this.selectedItems=null);else if(b){if(this.isSelected(a))return;null==e?e=[a]:e.unshift(a),this.selectedItems=e}else{if(d=this.getIdentity(a),c=e?e.filter(function(a){return this.getIdentity(a)!==d},this):[],null==c||c.length===e.length)return;this.selectedItems=c}},selectFromEvent:function(a,b,c,d){return"none"===this.selectionMode?!1:this._selectFromEvent(a,b,c,d)},_selectFromEvent:function(a,b,c,d){var e,f=this.selectedItem,g=null==b?!1:this.isSelected(b);return null==b?"multiple"!==this.selectionMode||this.hasSelectionModifier(a)||null==this.selectedItem||(this.selectedItem=null,e=!0):"multiple"===this.selectionMode?this.hasSelectionModifier(a)?(this.setSelected(b,!g),e=!0):(this.selectedItem=b,e=!0):"single"===this.selectionMode&&this.hasSelectionModifier(a)?(this.selectedItem=g?null:b,e=!0):g||(this.selectedItem=b,e=!0),d&&e&&this.dispatchSelectionChange(f,this.selectedItem,c,a),e},dispatchSelectionChange:function(a,b,c,d){this.emit("selection-change",{oldValue:a,newValue:b,renderer:c,triggerEvent:d})}})}),define("delite/Scrollable",["dcl/dcl","requirejs-dplugins/jquery!css,attributes/classes,effects,event","./Widget","./theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c){return a(c,{scrollDirection:"vertical",scrollableNode:null,postRender:function(){this.notifyCurrentValue("scrollDirection")},render:a.after(function(){this.scrollableNode||(this.scrollableNode=this),this.scrollableNode.setAttribute("unselectable","on"),b(this.scrollableNode).css("user-select","none").on("selectstart",!1)}),refreshRendering:function(a){a.scrollDirection&&b(this.scrollableNode).toggleClass("d-scrollable","none"!==this.scrollDirection).toggleClass("d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)).toggleClass("d-scrollable-v",/^(both|vertical)$/.test(this.scrollDirection))},detachedCallback:function(){this._stopAnimation()},isTopScroll:function(){return 0===this.scrollableNode.scrollTop},isBottomScroll:function(){var a=this.scrollableNode;return a.offsetHeight+a.scrollTop>=a.scrollHeight},isLeftScroll:function(){return 0===this.scrollableNode.scrollLeft},isRightScroll:function(){var a=this.scrollableNode;return a.offsetWidth+a.scrollLeft>=a.scrollWidth},getCurrentScroll:function(){return{x:this.scrollableNode.scrollLeft,y:this.scrollableNode.scrollTop}},scrollBy:function(a,b){var c={};void 0!==a.x&&(c.x=this.scrollableNode.scrollLeft+a.x),void 0!==a.y&&(c.y=this.scrollableNode.scrollTop+a.y),this.scrollTo(c,b)},scrollTo:function(a,c){var d=this.scrollableNode;if(this._stopAnimation(),!c||0>=c)void 0!==a.x&&(d.scrollLeft=a.x),void 0!==a.y&&(d.scrollTop=a.y);else{var e={x:void 0!==a.x?d.scrollLeft:void 0,y:void 0!==a.y?d.scrollTop:void 0},f=this;f._animation=b(e).animate(a,{duration:c,rate:20,step:function(){void 0!==this.x&&(d.scrollLeft=this.x),void 0!==this.y&&(d.scrollTop=this.y)},complete:function(){void 0!==this.x&&(d.scrollLeft=this.x),void 0!==this.y&&(d.scrollTop=this.y),delete f._animation}})}},_stopAnimation:function(){this._animation&&this._animation.stop()}})}),define("jquery/src/event",["./core","./var/strundefined","./var/rnotwhite","./var/hasOwn","./var/slice","./event/support","./data/var/data_priv","./core/init","./data/accepts","./selector"],function(a,b,c,d,e,f,g){function h(){return!0}function i(){return!1}function j(){try{return document.activeElement}catch(a){}}var k=/^key/,l=/^(?:mouse|pointer|contextmenu)|click/,m=/^(?:focusinfocus|focusoutblur)$/,n=/^([^.]*)(?:\.(.+)|)$/;return a.event={global:{},add:function(d,e,f,h,i){var j,k,l,m,o,p,q,r,s,t,u,v=g.get(d);if(v)for(f.handler&&(j=f,f=j.handler,i=j.selector),f.guid||(f.guid=a.guid++),(m=v.events)||(m=v.events={}),(k=v.handle)||(k=v.handle=function(c){return typeof a!==b&&a.event.triggered!==c.type?a.event.dispatch.apply(d,arguments):void 0}),e=(e||"").match(c)||[""],o=e.length;o--;)l=n.exec(e[o])||[],s=u=l[1],t=(l[2]||"").split(".").sort(),s&&(q=a.event.special[s]||{},s=(i?q.delegateType:q.bindType)||s,q=a.event.special[s]||{},p=a.extend({type:s,origType:u,data:h,handler:f,guid:f.guid,selector:i,needsContext:i&&a.expr.match.needsContext.test(i),namespace:t.join(".")},j),(r=m[s])||(r=m[s]=[],r.delegateCount=0,q.setup&&q.setup.call(d,h,t,k)!==!1||d.addEventListener&&d.addEventListener(s,k,!1)),q.add&&(q.add.call(d,p),p.handler.guid||(p.handler.guid=f.guid)),i?r.splice(r.delegateCount++,0,p):r.push(p),a.event.global[s]=!0)},remove:function(b,d,e,f,h){var i,j,k,l,m,o,p,q,r,s,t,u=g.hasData(b)&&g.get(b);if(u&&(l=u.events)){for(d=(d||"").match(c)||[""],m=d.length;m--;)if(k=n.exec(d[m])||[],r=t=k[1],s=(k[2]||"").split(".").sort(),r){for(p=a.event.special[r]||{},r=(f?p.delegateType:p.bindType)||r,q=l[r]||[],k=k[2]&&new RegExp("(^|\\.)"+s.join("\\.(?:.*\\.|)")+"(\\.|$)"),j=i=q.length;i--;)o=q[i],!h&&t!==o.origType||e&&e.guid!==o.guid||k&&!k.test(o.namespace)||f&&f!==o.selector&&("**"!==f||!o.selector)||(q.splice(i,1),o.selector&&q.delegateCount--,p.remove&&p.remove.call(b,o));j&&!q.length&&(p.teardown&&p.teardown.call(b,s,u.handle)!==!1||a.removeEvent(b,r,u.handle),delete l[r])}else for(r in l)a.event.remove(b,r+d[m],e,f,!0);a.isEmptyObject(l)&&(delete u.handle,g.remove(b,"events"))}},trigger:function(b,c,e,f){var h,i,j,k,l,n,o,p=[e||document],q=d.call(b,"type")?b.type:b,r=d.call(b,"namespace")?b.namespace.split("."):[];if(i=j=e=e||document,3!==e.nodeType&&8!==e.nodeType&&!m.test(q+a.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),l=q.indexOf(":")<0&&"on"+q,b=b[a.expando]?b:new a.Event(q,"object"==typeof b&&b),b.isTrigger=f?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=e),c=null==c?[b]:a.makeArray(c,[b]),o=a.event.special[q]||{},f||!o.trigger||o.trigger.apply(e,c)!==!1)){if(!f&&!o.noBubble&&!a.isWindow(e)){for(k=o.delegateType||q,m.test(k+q)||(i=i.parentNode);i;i=i.parentNode)p.push(i),j=i;j===(e.ownerDocument||document)&&p.push(j.defaultView||j.parentWindow||window)}for(h=0;(i=p[h++])&&!b.isPropagationStopped();)b.type=h>1?k:o.bindType||q,n=(g.get(i,"events")||{})[b.type]&&g.get(i,"handle"),n&&n.apply(i,c),n=l&&i[l],n&&n.apply&&a.acceptData(i)&&(b.result=n.apply(i,c),b.result===!1&&b.preventDefault());return b.type=q,f||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!a.acceptData(e)||l&&a.isFunction(e[q])&&!a.isWindow(e)&&(j=e[l],j&&(e[l]=null),a.event.triggered=q,e[q](),a.event.triggered=void 0,j&&(e[l]=j)),b.result}},dispatch:function(b){b=a.event.fix(b);var c,d,f,h,i,j=[],k=e.call(arguments),l=(g.get(this,"events")||{})[b.type]||[],m=a.event.special[b.type]||{};if(k[0]=b,b.delegateTarget=this,!m.preDispatch||m.preDispatch.call(this,b)!==!1){for(j=a.event.handlers.call(this,b,l),c=0;(h=j[c++])&&!b.isPropagationStopped();)for(b.currentTarget=h.elem,d=0;(i=h.handlers[d++])&&!b.isImmediatePropagationStopped();)(!b.namespace_re||b.namespace_re.test(i.namespace))&&(b.handleObj=i,b.data=i.data,f=((a.event.special[i.origType]||{}).handle||i.handler).apply(h.elem,k),void 0!==f&&(b.result=f)===!1&&(b.preventDefault(),b.stopPropagation()));return m.postDispatch&&m.postDispatch.call(this,b),b.result}},handlers:function(b,c){var d,e,f,g,h=[],i=c.delegateCount,j=b.target;if(i&&j.nodeType&&(!b.button||"click"!==b.type))for(;j!==this;j=j.parentNode||this)if(j.disabled!==!0||"click"!==b.type){for(e=[],d=0;i>d;d++)g=c[d],f=g.selector+" ",void 0===e[f]&&(e[f]=g.needsContext?a(f,this).index(j)>=0:a.find(f,this,null,[j]).length),e[f]&&e.push(g);e.length&&h.push({elem:j,handlers:e})}return ie;e+=2-b)d=c[e],f["margin"+d]=f["padding"+d]=a;return b&&(f.opacity=f.width=a),f}function i(a,b,c){for(var d,e=(s[b]||[]).concat(s["*"]),f=0,g=e.length;g>f;f++)if(d=e[f].call(c,b,a))return d}function j(b,c,g){var h,j,k,l,m,n,p,q,r=this,s={},t=b.style,u=b.nodeType&&d(b),v=f.get(b,"fxshow");g.queue||(m=a._queueHooks(b,"fx"),null==m.unqueued&&(m.unqueued=0,n=m.empty.fire,m.empty.fire=function(){m.unqueued||n()}),m.unqueued++,r.always(function(){r.always(function(){m.unqueued--,a.queue(b,"fx").length||m.empty.fire()})})),1===b.nodeType&&("height"in c||"width"in c)&&(g.overflow=[t.overflow,t.overflowX,t.overflowY],p=a.css(b,"display"),q="none"===p?f.get(b,"olddisplay")||e(b.nodeName):p,"inline"===q&&"none"===a.css(b,"float")&&(t.display="inline-block")),g.overflow&&(t.overflow="hidden",r.always(function(){t.overflow=g.overflow[0],t.overflowX=g.overflow[1],t.overflowY=g.overflow[2]}));for(h in c)if(j=c[h],o.exec(j)){if(delete c[h],k=k||"toggle"===j,j===(u?"hide":"show")){if("show"!==j||!v||void 0===v[h])continue;u=!0}s[h]=v&&v[h]||a.style(b,h)}else p=void 0;if(a.isEmptyObject(s))"inline"===("none"===p?e(b.nodeName):p)&&(t.display=p);else{v?"hidden"in v&&(u=v.hidden):v=f.access(b,"fxshow",{}),k&&(v.hidden=!u),u?a(b).show():r.done(function(){a(b).hide()}),r.done(function(){var c;f.remove(b,"fxshow");for(c in s)a.style(b,c,s[c])});for(h in s)l=i(u?v[h]:0,h,r),h in v||(v[h]=l.start,u&&(l.end=l.start,l.start="width"===h||"height"===h?1:0))}}function k(b,c){var d,e,f,g,h;for(d in b)if(e=a.camelCase(d),f=c[e],g=b[d],a.isArray(g)&&(f=g[1],g=b[d]=g[0]),d!==e&&(b[e]=g,delete b[d]),h=a.cssHooks[e],h&&"expand"in h){g=h.expand(g),delete b[e];for(d in g)d in b||(b[d]=g[d],c[d]=f)}else c[e]=f}function l(b,c,d){var e,f,h=0,j=r.length,l=a.Deferred().always(function(){delete n.elem}),n=function(){if(f)return!1;for(var a=m||g(),c=Math.max(0,o.startTime+o.duration-a),d=c/o.duration||0,e=1-d,h=0,i=o.tweens.length;i>h;h++)o.tweens[h].run(e);return l.notifyWith(b,[o,e,c]),1>e&&i?c:(l.resolveWith(b,[o]),!1)},o=l.promise({elem:b,props:a.extend({},c),opts:a.extend(!0,{specialEasing:{}},d),originalProperties:c,originalOptions:d,startTime:m||g(),duration:d.duration,tweens:[],createTween:function(c,d){var e=a.Tween(b,o.opts,c,d,o.opts.specialEasing[c]||o.opts.easing);return o.tweens.push(e),e},stop:function(a){var c=0,d=a?o.tweens.length:0;if(f)return this;for(f=!0;d>c;c++)o.tweens[c].run(1);return a?l.resolveWith(b,[o,a]):l.rejectWith(b,[o,a]),this}}),p=o.props;for(k(p,o.opts.specialEasing);j>h;h++)if(e=r[h].call(o,b,p,o.opts))return e;return a.map(p,i,o),a.isFunction(o.opts.start)&&o.opts.start.call(b,o),a.fx.timer(a.extend(n,{elem:b,anim:o,queue:o.opts.queue})),o.progress(o.opts.progress).done(o.opts.done,o.opts.complete).fail(o.opts.fail).always(o.opts.always)}var m,n,o=/^(?:toggle|show|hide)$/,p=new RegExp("^(?:([+-])=|)("+b+")([a-z%]*)$","i"),q=/queueHooks$/,r=[j],s={"*":[function(b,c){var d=this.createTween(b,c),e=d.cur(),f=p.exec(c),g=f&&f[3]||(a.cssNumber[b]?"":"px"),h=(a.cssNumber[b]||"px"!==g&&+e)&&p.exec(a.css(d.elem,b)),i=1,j=20;if(h&&h[3]!==g){g=g||h[3],f=f||[],h=+e||1;do i=i||".5",h/=i,a.style(d.elem,b,h+g);while(i!==(i=d.cur()/e)&&1!==i&&--j)}return f&&(h=d.start=+h||+e||0,d.unit=g,d.end=f[1]?h+(f[1]+1)*f[2]:+f[2]),d}]};return a.Animation=a.extend(l,{tweener:function(b,c){a.isFunction(b)?(c=b,b=["*"]):b=b.split(" ");for(var d,e=0,f=b.length;f>e;e++)d=b[e],s[d]=s[d]||[],s[d].unshift(c)},prefilter:function(a,b){b?r.unshift(a):r.push(a)}}),a.speed=function(b,c,d){var e=b&&"object"==typeof b?a.extend({},b):{complete:d||!d&&c||a.isFunction(b)&&b,duration:b,easing:d&&c||c&&!a.isFunction(c)&&c};return e.duration=a.fx.off?0:"number"==typeof e.duration?e.duration:e.duration in a.fx.speeds?a.fx.speeds[e.duration]:a.fx.speeds._default,(null==e.queue||e.queue===!0)&&(e.queue="fx"),e.old=e.complete,e.complete=function(){a.isFunction(e.old)&&e.old.call(this),e.queue&&a.dequeue(this,e.queue)},e},a.fn.extend({fadeTo:function(a,b,c,e){return this.filter(d).css("opacity",0).show().end().animate({opacity:b},a,c,e)},animate:function(b,c,d,e){var g=a.isEmptyObject(b),h=a.speed(c,d,e),i=function(){var c=l(this,a.extend({},b),h);(g||f.get(this,"finish"))&&c.stop(!0)};return i.finish=i,g||h.queue===!1?this.each(i):this.queue(h.queue,i)},stop:function(b,c,d){var e=function(a){var b=a.stop;delete a.stop,b(d)};return"string"!=typeof b&&(d=c,c=b,b=void 0),c&&b!==!1&&this.queue(b||"fx",[]),this.each(function(){var c=!0,g=null!=b&&b+"queueHooks",h=a.timers,i=f.get(this);if(g)i[g]&&i[g].stop&&e(i[g]);else for(g in i)i[g]&&i[g].stop&&q.test(g)&&e(i[g]);for(g=h.length;g--;)h[g].elem!==this||null!=b&&h[g].queue!==b||(h[g].anim.stop(d),c=!1,h.splice(g,1));(c||!d)&&a.dequeue(this,b)})},finish:function(b){return b!==!1&&(b=b||"fx"),this.each(function(){var c,d=f.get(this),e=d[b+"queue"],g=d[b+"queueHooks"],h=a.timers,i=e?e.length:0;for(d.finish=!0,a.queue(this,b,[]),g&&g.stop&&g.stop.call(this,!0),c=h.length;c--;)h[c].elem===this&&h[c].queue===b&&(h[c].anim.stop(!0),h.splice(c,1));for(c=0;i>c;c++)e[c]&&e[c].finish&&e[c].finish.call(this);delete d.finish})}}),a.each(["toggle","show","hide"],function(b,c){var d=a.fn[c];a.fn[c]=function(a,b,e){return null==a||"boolean"==typeof a?d.apply(this,arguments):this.animate(h(c,!0),a,b,e)}}),a.each({slideDown:h("show"),slideUp:h("hide"),slideToggle:h("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(b,c){a.fn[b]=function(a,b,d){return this.animate(c,a,b,d)}}),a.timers=[],a.fx.tick=function(){var b,c=0,d=a.timers;for(m=a.now();cb;b++)if(a.contains(this,c[b]))return!0})},closest:function(b,d){for(var e,f=0,g=this.length,h=[],i=c.test(b)||"string"!=typeof b?a(b,d||this.context):0;g>f;f++)for(e=this[f];e&&e!==d;e=e.parentNode)if(e.nodeType<11&&(i?i.index(e)>-1:1===e.nodeType&&a.find.matchesSelector(e,b))){h.push(e);break}return this.pushStack(h.length>1?a.unique(h):h)},index:function(c){return c?"string"==typeof c?b.call(a(c),this[0]):b.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(b,c){return this.pushStack(a.unique(a.merge(this.get(),a(b,c))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}}),a.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(b){return a.dir(b,"parentNode")},parentsUntil:function(b,c,d){return a.dir(b,"parentNode",d)},next:function(a){return d(a,"nextSibling")},prev:function(a){return d(a,"previousSibling")},nextAll:function(b){return a.dir(b,"nextSibling")},prevAll:function(b){return a.dir(b,"previousSibling")},nextUntil:function(b,c,d){return a.dir(b,"nextSibling",d)},prevUntil:function(b,c,d){return a.dir(b,"previousSibling",d)},siblings:function(b){return a.sibling((b.parentNode||{}).firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return b.contentDocument||a.merge([],b.childNodes)}},function(b,c){a.fn[b]=function(d,g){var h=a.map(this,c,d);return"Until"!==b.slice(-5)&&(g=d),g&&"string"==typeof g&&(h=a.filter(g,h)),this.length>1&&(f[b]||a.unique(h),e.test(b)&&h.reverse()),this.pushStack(h)}}),a}),define("jquery/src/deferred",["./core","./var/slice","./callbacks"],function(a,b){return a.extend({Deferred:function(b){var c=[["resolve","done",a.Callbacks("once memory"),"resolved"],["reject","fail",a.Callbacks("once memory"),"rejected"],["notify","progress",a.Callbacks("memory")]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},then:function(){var b=arguments;return a.Deferred(function(d){a.each(c,function(c,g){var h=a.isFunction(b[c])&&b[c];f[g[1]](function(){var b=h&&h.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(d.resolve).fail(d.reject).progress(d.notify):d[g[0]+"With"](this===e?d.promise():this,h?[b]:arguments)})}),b=null}).promise()},promise:function(b){return null!=b?a.extend(b,e):e}},f={};return e.pipe=e.then,a.each(c,function(a,b){var g=b[2],h=b[3];e[b[1]]=g.add,h&&g.add(function(){d=h},c[1^a][2].disable,c[2][2].lock),f[b[0]]=function(){return f[b[0]+"With"](this===f?e:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(c){var d,e,f,g=0,h=b.call(arguments),i=h.length,j=1!==i||c&&a.isFunction(c.promise)?i:0,k=1===j?c:a.Deferred(),l=function(a,c,e){return function(f){c[a]=this,e[a]=arguments.length>1?b.call(arguments):f,e===d?k.notifyWith(c,e):--j||k.resolveWith(c,e)}};if(i>1)for(d=new Array(i),e=new Array(i),f=new Array(i);i>g;g++)h[g]&&a.isFunction(h[g].promise)?h[g].promise().done(l(g,f,h)).fail(k.reject).progress(l(g,e,d)):--j;return j||k.resolveWith(f,h),k.promise()}}),a}),define("jquery/src/callbacks",["./core","./var/rnotwhite"],function(a,b){function c(c){var e=d[c]={};return a.each(c.match(b)||[],function(a,b){e[b]=!0}),e}var d={};return a.Callbacks=function(b){b="string"==typeof b?d[b]||c(b):a.extend({},b);var e,f,g,h,i,j,k=[],l=!b.once&&[],m=function(a){for(e=b.memory&&a,f=!0,j=h||0,h=0,i=k.length,g=!0;k&&i>j;j++)if(k[j].apply(a[0],a[1])===!1&&b.stopOnFalse){e=!1;break}g=!1,k&&(l?l.length&&m(l.shift()):e?k=[]:n.disable())},n={add:function(){if(k){var c=k.length;!function d(c){a.each(c,function(c,e){var f=a.type(e);"function"===f?b.unique&&n.has(e)||k.push(e):e&&e.length&&"string"!==f&&d(e)})}(arguments),g?i=k.length:e&&(h=c,m(e))}return this},remove:function(){return k&&a.each(arguments,function(b,c){for(var d;(d=a.inArray(c,k,d))>-1;)k.splice(d,1),g&&(i>=d&&i--,j>=d&&j--)}),this},has:function(b){return b?a.inArray(b,k)>-1:!(!k||!k.length)},empty:function(){return k=[],i=0,this},disable:function(){return k=l=e=void 0,this},disabled:function(){return!k},lock:function(){return l=void 0,e||n.disable(),this},locked:function(){return!l},fireWith:function(a,b){return!k||f&&!l||(b=b||[],b=[a,b.slice?b.slice():b],g?l.push(b):m(b)),this},fire:function(){return n.fireWith(this,arguments),this},fired:function(){return!!f}};return n},a}),define("jquery/src/queue",["./core","./data/var/data_priv","./deferred","./callbacks"],function(a,b){return a.extend({queue:function(c,d,e){var f;return c?(d=(d||"fx")+"queue",f=b.get(c,d),e&&(!f||a.isArray(e)?f=b.access(c,d,a.makeArray(e)):f.push(e)),f||[]):void 0},dequeue:function(b,c){c=c||"fx";var d=a.queue(b,c),e=d.length,f=d.shift(),g=a._queueHooks(b,c),h=function(){a.dequeue(b,c)};"inprogress"===f&&(f=d.shift(),e--),f&&("fx"===c&&d.unshift("inprogress"),delete g.stop,f.call(b,h,g)),!e&&g&&g.empty.fire()},_queueHooks:function(c,d){var e=d+"queueHooks";return b.get(c,e)||b.access(c,e,{empty:a.Callbacks("once memory").add(function(){b.remove(c,[d+"queue",e])})})}}),a.fn.extend({queue:function(b,c){var d=2;return"string"!=typeof b&&(c=b,b="fx",d--),arguments.length")).appendTo(f.documentElement),f=d[0].contentDocument,f.write(),f.close(),g=b(c,f),d.detach()),e[c]=g),g}var d,e={};return c}),define("jquery/src/manipulation",["./core","./var/concat","./var/push","./core/access","./manipulation/var/rcheckableType","./manipulation/support","./data/var/data_priv","./data/var/data_user","./core/init","./data/accepts","./traversing","./selector","./event"],function(a,b,c,d,e,f,g,h){function i(b,c){return a.nodeName(b,"table")&&a.nodeName(11!==c.nodeType?c:c.firstChild,"tr")?b.getElementsByTagName("tbody")[0]||b.appendChild(b.ownerDocument.createElement("tbody")):b}function j(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function k(a){var b=v.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function l(a,b){for(var c=0,d=a.length;d>c;c++)g.set(a[c],"globalEval",!b||g.get(b[c],"globalEval"))}function m(b,c){var d,e,f,i,j,k,l,m;if(1===c.nodeType){if(g.hasData(b)&&(i=g.access(b),j=g.set(c,i),m=i.events)){delete j.handle,j.events={};for(f in m)for(d=0,e=m[f].length;e>d;d++)a.event.add(c,f,m[f][d])}h.hasData(b)&&(k=h.access(b),l=a.extend({},k),h.set(c,l))}}function n(b,c){var d=b.getElementsByTagName?b.getElementsByTagName(c||"*"):b.querySelectorAll?b.querySelectorAll(c||"*"):[];return void 0===c||c&&a.nodeName(b,c)?a.merge([b],d):d}function o(a,b){var c=b.nodeName.toLowerCase();"input"===c&&e.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}var p=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/<([\w:]+)/,r=/<|&#?\w+;/,s=/<(?:script|style|link)/i,t=/checked\s*(?:[^=]|=\s*.checked.)/i,u=/^$|\/(?:java|ecma)script/i,v=/^true\/(.*)/,w=/^\s*\s*$/g,x={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};return x.optgroup=x.option,x.tbody=x.tfoot=x.colgroup=x.caption=x.thead,x.th=x.td,a.extend({clone:function(b,c,d){var e,g,h,i,j=b.cloneNode(!0),k=a.contains(b.ownerDocument,b);if(!(f.noCloneChecked||1!==b.nodeType&&11!==b.nodeType||a.isXMLDoc(b)))for(i=n(j),h=n(b),e=0,g=h.length;g>e;e++)o(h[e],i[e]);if(c)if(d)for(h=h||n(b),i=i||n(j),e=0,g=h.length;g>e;e++)m(h[e],i[e]);else m(b,j);return i=n(j,"script"),i.length>0&&l(i,!k&&n(b,"script")),j},buildFragment:function(b,c,d,e){for(var f,g,h,i,j,k,m=c.createDocumentFragment(),o=[],s=0,t=b.length;t>s;s++)if(f=b[s],f||0===f)if("object"===a.type(f))a.merge(o,f.nodeType?[f]:f);else if(r.test(f)){for(g=g||m.appendChild(c.createElement("div")),h=(q.exec(f)||["",""])[1].toLowerCase(),i=x[h]||x._default,g.innerHTML=i[1]+f.replace(p,"<$1>")+i[2],k=i[0];k--;)g=g.lastChild;a.merge(o,g.childNodes),g=m.firstChild,g.textContent=""}else o.push(c.createTextNode(f));for(m.textContent="",s=0;f=o[s++];)if((!e||-1===a.inArray(f,e))&&(j=a.contains(f.ownerDocument,f),g=n(m.appendChild(f),"script"),j&&l(g),d))for(k=0;f=g[k++];)u.test(f.type||"")&&d.push(f);return m},cleanData:function(b){for(var c,d,e,f,i=a.event.special,j=0;void 0!==(d=b[j]);j++){if(a.acceptData(d)&&(f=d[g.expando],f&&(c=g.cache[f]))){if(c.events)for(e in c.events)i[e]?a.event.remove(d,e):a.removeEvent(d,e,c.handle);g.cache[f]&&delete g.cache[f]}delete h.cache[d[h.expando]]}}}),a.fn.extend({text:function(b){return d(this,function(b){return void 0===b?a.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=b)})},null,b,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=i(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=i(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(b,c){for(var d,e=b?a.filter(b,this):this,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||a.cleanData(n(d)),d.parentNode&&(c&&a.contains(d.ownerDocument,d)&&l(n(d,"script")),d.parentNode.removeChild(d));return this},empty:function(){for(var b,c=0;null!=(b=this[c]);c++)1===b.nodeType&&(a.cleanData(n(b,!1)),b.textContent="");return this},clone:function(b,c){return b=null==b?!1:b,c=null==c?b:c,this.map(function(){return a.clone(this,b,c)})},html:function(b){return d(this,function(b){var c=this[0]||{},d=0,e=this.length;if(void 0===b&&1===c.nodeType)return c.innerHTML;if("string"==typeof b&&!s.test(b)&&!x[(q.exec(b)||["",""])[1].toLowerCase()]){b=b.replace(p,"<$1>");try{for(;e>d;d++)c=this[d]||{},1===c.nodeType&&(a.cleanData(n(c,!1)),c.innerHTML=b);c=0}catch(f){}}c&&this.empty().append(b)},null,b,arguments.length)},replaceWith:function(){var b=arguments[0];return this.domManip(arguments,function(c){b=this.parentNode,a.cleanData(n(this)),b&&b.replaceChild(c,this)}),b&&(b.length||b.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(c,d){c=b.apply([],c);var e,h,i,l,m,o,p=0,q=this.length,r=this,s=q-1,v=c[0],x=a.isFunction(v);if(x||q>1&&"string"==typeof v&&!f.checkClone&&t.test(v))return this.each(function(a){var b=r.eq(a);x&&(c[0]=v.call(this,a,b.html())),b.domManip(c,d)});if(q&&(e=a.buildFragment(c,this[0].ownerDocument,!1,this),h=e.firstChild,1===e.childNodes.length&&(e=h),h)){for(i=a.map(n(e,"script"),j),l=i.length;q>p;p++)m=e,p!==s&&(m=a.clone(m,!0,!0),l&&a.merge(i,n(m,"script"))),d.call(this[p],m,p);if(l)for(o=i[i.length-1].ownerDocument,a.map(i,k),p=0;l>p;p++)m=i[p],u.test(m.type||"")&&!g.access(m,"globalEval")&&a.contains(o,m)&&(m.src?a._evalUrl&&a._evalUrl(m.src):a.globalEval(m.textContent.replace(w,"")))}return this}}),a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(b,d){a.fn[b]=function(b){for(var e,f=[],g=a(b),h=g.length-1,i=0;h>=i;i++)e=i===h?this:this.clone(!0),a(g[i])[d](e),c.apply(f,e.get());return this.pushStack(f)}}),a}),define("jquery/src/data/var/data_user",["../Data"],function(a){return new a}),define("jquery/src/manipulation/support",["../var/support"],function(a){return function(){var b=document.createDocumentFragment(),c=b.appendChild(document.createElement("div")),d=document.createElement("input");d.setAttribute("type","radio"),d.setAttribute("checked","checked"),d.setAttribute("name","t"),c.appendChild(d),a.checkClone=c.cloneNode(!0).cloneNode(!0).lastChild.checked,c.innerHTML="",a.noCloneChecked=!!c.cloneNode(!0).lastChild.defaultValue}(),a}),define("jquery/src/manipulation/var/rcheckableType",[],function(){return/^(?:checkbox|radio)$/i}),define("jquery/src/core/access",["../core"],function(a){var b=a.access=function(b,c,d,e,f,g,h){var i=0,j=b.length,k=null==d;if("object"===a.type(d)){f=!0;for(i in d)a.access(b,c,i,d[i],!0,g,h)}else if(void 0!==e&&(f=!0,a.isFunction(e)||(h=!0),k&&(h?(c.call(b,e),c=null):(k=c,c=function(b,c,d){return k.call(a(b),d)})),c))for(;j>i;i++)c(b[i],d,h?e:e.call(b[i],i,c(b[i],d)));return f?b:k?c.call(b):j?c(b[0],d):g};return b}),define("jquery/src/css/var/isHidden",["../../core","../../selector"],function(a){return function(b,c){return b=c||b,"none"===a.css(b,"display")||!a.contains(b.ownerDocument,b)}}),define("jquery/src/css/var/cssExpand",[],function(){return["Top","Right","Bottom","Left"]}),define("jquery/src/var/pnum",[],function(){return/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source}),define("jquery/src/css",["./core","./var/pnum","./core/access","./css/var/rmargin","./css/var/rnumnonpx","./css/var/cssExpand","./css/var/isHidden","./css/var/getStyles","./css/curCSS","./css/defaultDisplay","./css/addGetHookIf","./css/support","./data/var/data_priv","./core/init","./css/swap","./core/ready","./selector"],function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(a,b){if(b in a)return b;for(var c=b[0].toUpperCase()+b.slice(1),d=b,e=x.length;e--;)if(b=x[e]+c,b in a)return b;return d}function o(a,b,c){var d=t.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function p(b,c,d,e,g){for(var h=d===(e?"border":"content")?4:"width"===c?1:0,i=0;4>h;h+=2)"margin"===d&&(i+=a.css(b,d+f[h],!0,g)),e?("content"===d&&(i-=a.css(b,"padding"+f[h],!0,g)),"margin"!==d&&(i-=a.css(b,"border"+f[h]+"Width",!0,g))):(i+=a.css(b,"padding"+f[h],!0,g),"padding"!==d&&(i+=a.css(b,"border"+f[h]+"Width",!0,g)));return i}function q(b,c,d){var f=!0,g="width"===c?b.offsetWidth:b.offsetHeight,j=h(b),k="border-box"===a.css(b,"boxSizing",!1,j);if(0>=g||null==g){if(g=i(b,c,j),(0>g||null==g)&&(g=b.style[c]),e.test(g))return g;f=k&&(l.boxSizingReliable()||g===b.style[c]),g=parseFloat(g)||0}return g+p(b,c,d||(k?"border":"content"),f,j)+"px"}function r(b,c){for(var d,e,f,h=[],i=0,k=b.length;k>i;i++)e=b[i],e.style&&(h[i]=m.get(e,"olddisplay"),d=e.style.display,c?(h[i]||"none"!==d||(e.style.display=""),""===e.style.display&&g(e)&&(h[i]=m.access(e,"olddisplay",j(e.nodeName)))):(f=g(e),"none"===d&&f||m.set(e,"olddisplay",f?d:a.css(e,"display"))));for(i=0;k>i;i++)e=b[i],e.style&&(c&&"none"!==e.style.display&&""!==e.style.display||(e.style.display=c?h[i]||"":"none"));return b}var s=/^(none|table(?!-c[ea]).+)/,t=new RegExp("^("+b+")(.*)$","i"),u=new RegExp("^([+-])=("+b+")","i"),v={position:"absolute",visibility:"hidden",display:"block"},w={letterSpacing:"0",fontWeight:"400"},x=["Webkit","O","Moz","ms"];return a.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=i(a,"opacity");return""===c?"1":c}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(b,c,d,e){if(b&&3!==b.nodeType&&8!==b.nodeType&&b.style){var f,g,h,i=a.camelCase(c),j=b.style;return c=a.cssProps[i]||(a.cssProps[i]=n(j,i)),h=a.cssHooks[c]||a.cssHooks[i],void 0===d?h&&"get"in h&&void 0!==(f=h.get(b,!1,e))?f:j[c]:(g=typeof d,"string"===g&&(f=u.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(a.css(b,c)),g="number"),null!=d&&d===d&&("number"!==g||a.cssNumber[i]||(d+="px"),l.clearCloneStyle||""!==d||0!==c.indexOf("background")||(j[c]="inherit"),h&&"set"in h&&void 0===(d=h.set(b,d,e))||(j[c]=d)),void 0)}},css:function(b,c,d,e){var f,g,h,j=a.camelCase(c);return c=a.cssProps[j]||(a.cssProps[j]=n(b.style,j)),h=a.cssHooks[c]||a.cssHooks[j],h&&"get"in h&&(f=h.get(b,!0,d)),void 0===f&&(f=i(b,c,e)),"normal"===f&&c in w&&(f=w[c]),""===d||d?(g=parseFloat(f),d===!0||a.isNumeric(g)?g||0:f):f}}),a.each(["height","width"],function(b,c){a.cssHooks[c]={get:function(b,d,e){return d?s.test(a.css(b,"display"))&&0===b.offsetWidth?a.swap(b,v,function(){return q(b,c,e)}):q(b,c,e):void 0},set:function(b,d,e){var f=e&&h(b);return o(b,d,e?p(b,c,e,"border-box"===a.css(b,"boxSizing",!1,f),f):0)}}}),a.cssHooks.marginRight=k(l.reliableMarginRight,function(b,c){return c?a.swap(b,{display:"inline-block"},i,[b,"marginRight"]):void 0}),a.each({margin:"",padding:"",border:"Width"},function(b,c){a.cssHooks[b+c]={expand:function(a){for(var d=0,e={},g="string"==typeof a?a.split(" "):[a];4>d;d++)e[b+f[d]+c]=g[d]||g[d-2]||g[0];return e}},d.test(b)||(a.cssHooks[b+c].set=o)}),a.fn.extend({css:function(b,d){return c(this,function(b,c,d){var e,f,g={},i=0;if(a.isArray(c)){for(e=h(b),f=c.length;f>i;i++)g[c[i]]=a.css(b,c[i],!1,e);return g}return void 0!==d?a.style(b,c,d):a.css(b,c)},b,d,arguments.length>1)},show:function(){return r(this,!0)},hide:function(){return r(this)},toggle:function(b){return"boolean"==typeof b?b?this.show():this.hide():this.each(function(){g(this)?a(this).show():a(this).hide()})}}),a}),define("jquery/src/core/ready",["../core","../core/init","../deferred"],function(a){function b(){document.removeEventListener("DOMContentLoaded",b,!1),window.removeEventListener("load",b,!1),a.ready()}var c;a.fn.ready=function(b){return a.ready.promise().done(b),this},a.extend({isReady:!1,readyWait:1,holdReady:function(b){b?a.readyWait++:a.ready(!0)},ready:function(b){(b===!0?--a.readyWait:a.isReady)||(a.isReady=!0,b!==!0&&--a.readyWait>0||(c.resolveWith(document,[a]),a.fn.triggerHandler&&(a(document).triggerHandler("ready"),a(document).off("ready"))))}}),a.ready.promise=function(d){return c||(c=a.Deferred(),"complete"===document.readyState?setTimeout(a.ready):(document.addEventListener("DOMContentLoaded",b,!1),window.addEventListener("load",b,!1))),c.promise(d)},a.ready.promise()}),define("jquery/src/css/swap",["../core"],function(a){return a.swap=function(a,b,c,d){var e,f,g={};for(f in b)g[f]=a.style[f],a.style[f]=b[f];e=c.apply(a,d||[]);for(f in b)a.style[f]=g[f];return e},a.swap}),define("jquery/src/css/support",["../core","../var/support"],function(a,b){return function(){function c(){h.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",h.innerHTML="",f.appendChild(g);var a=window.getComputedStyle(h,null);d="1%"!==a.top,e="4px"===a.width,f.removeChild(g)}var d,e,f=document.documentElement,g=document.createElement("div"),h=document.createElement("div");h.style&&(h.style.backgroundClip="content-box",h.cloneNode(!0).style.backgroundClip="",b.clearCloneStyle="content-box"===h.style.backgroundClip,g.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",g.appendChild(h),window.getComputedStyle&&a.extend(b,{pixelPosition:function(){return c(),d},boxSizingReliable:function(){return null==e&&c(),e},reliableMarginRight:function(){var a,b=h.appendChild(document.createElement("div"));return b.style.cssText=h.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",b.style.marginRight=b.style.width="0",h.style.width="1px",f.appendChild(g),a=!parseFloat(window.getComputedStyle(b,null).marginRight), +f.removeChild(g),h.removeChild(b),a}}))}(),b}),define("jquery/src/css/addGetHookIf",[],function(){function a(a,b){return{get:function(){return a()?void delete this.get:(this.get=b).apply(this,arguments)}}}return a}),define("jquery/src/css/curCSS",["../core","./var/rnumnonpx","./var/rmargin","./var/getStyles","../selector"],function(a,b,c,d){function e(e,f,g){var h,i,j,k,l=e.style;return g=g||d(e),g&&(k=g.getPropertyValue(f)||g[f]),g&&(""!==k||a.contains(e.ownerDocument,e)||(k=a.style(e,f)),b.test(k)&&c.test(f)&&(h=l.width,i=l.minWidth,j=l.maxWidth,l.minWidth=l.maxWidth=l.width=k,k=g.width,l.width=h,l.minWidth=i,l.maxWidth=j)),void 0!==k?k+"":k}return e}),define("jquery/src/css/var/getStyles",[],function(){return function(a){return a.ownerDocument.defaultView.opener?a.ownerDocument.defaultView.getComputedStyle(a,null):window.getComputedStyle(a,null)}}),define("jquery/src/css/var/rnumnonpx",["../../var/pnum"],function(a){return new RegExp("^("+a+")(?!px)[a-z%]+$","i")}),define("jquery/src/css/var/rmargin",[],function(){return/^margin/}),define("delite/KeyNav",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./keys","./features","./Widget","./activationTracker"],function(a,b,c,d,e){function f(a){var b=a.nodeName.toLowerCase();return!a.readOnly&&("textarea"===b||"input"===b&&/^(color|email|number|password|search|tel|text|url|range)$/.test(a.type))}var g={};for(var h in c)g[c[h]]=h.replace(/[^_]+|_./g,function(a){return"_"===a.charAt(0)?a.charAt(1):a.toLowerCase()})+"KeyHandler";return a(e,{focusDescendants:!0,navigatedDescendant:null,descendantSelector:null,_getTargetElement:function(a){for(var b=a.target;b!==this;b=b.parentNode)if(this._selectorFunc(b))return b;return this},postRender:function(){if("string"==typeof this.descendantSelector){var a=d("dom-matches");this._selectorFunc=function(b){return b[a](this.descendantSelector)}}else this.descendantSelector?this._selectorFunc=this.descendantSelector:this._selectorFunc=function(a){return a.parentNode===this.containerNode};this.on("keypress",this._keynavKeyPressHandler.bind(this)),this.on("keydown",this._keynavKeyDownHandler.bind(this)),this.on("click",function(a){var b=this._getTargetElement(a);b!==this&&this._descendantNavigateHandler(b,a)}),this.on("delite-deactivated",function(){this.focusDescendants&&this._keynavDeactivatedHandler()}.bind(this)),this.on("focusin",function(a){if(this.focusDescendants){var b=this._getTargetElement(a);b===this?this._keynavFocusHandler(a):this._descendantNavigateHandler(b,a)}}.bind(this))},attachedCallback:function(){this.focusDescendants&&!this.hasAttribute("tabindex")&&(this.tabIndex="0")},homeKeyHandler:function(a){this.navigateToFirst(a)},endKeyHandler:function(a){this.navigateToLast(a)},focus:function(){this.navigateToFirst()},navigateToFirst:function(a){this.navigateTo(this.getNext(this,1),a)},navigateToLast:function(a){this.navigateTo(this.getNext(this,-1),!1,a)},navigateTo:function(a,b,c){this.focusDescendants?(a.tabIndex="_savedTabIndex"in this?this._savedTabIndex:this.tabIndex,a.focus(b?"end":"start")):this._descendantNavigateHandler(a,c)},_keynavFocusHandler:function(){this.navigatedDescendant||(this._savedTabIndex=this.tabIndex,this.removeAttribute("tabindex"),this.focus())},_keynavDeactivatedHandler:function(){this.setAttribute("tabindex",this._savedTabIndex),delete this._savedTabIndex,this.navigatedDescendant&&(this.navigatedDescendant.tabIndex="-1",this.navigatedDescendant=null)},_descendantNavigateHandler:function(a,c){a&&a!==this.navigatedDescendant&&(this.focusDescendants&&(this.navigatedDescendant&&!this.navigatedDescendant._destroyed&&(this.navigatedDescendant.tabIndex="-1"),"_savedTabIndex"in this||(this._savedTabIndex=this.tabIndex,this.removeAttribute("tabindex")),a.tabIndex=this._savedTabIndex),this.navigatedDescendant&&b(this.navigatedDescendant).removeClass("d-active-descendant"),this.emit("keynav-child-navigated",{oldValue:this.navigatedDescendant,newValue:a,triggerEvent:c}),this.navigatedDescendant=a,a&&b(a).addClass("d-active-descendant"))},_searchString:"",multiCharSearchDuration:1e3,_keyboardSearchHandler:function(a,b,c,d){a&&this.navigateTo(a)},_keyboardSearchCompare:function(a,b){var c=a,d=a.label||(c.focusNode?c.focusNode.label:"")||c.textContent||"",e=d.replace(/^\s+/,"").substr(0,b.length).toLowerCase();return b.length&&e===b?-1:0},_keynavKeyDownHandler:function(a){(!f(a.target)||a.keyCode!==c.LEFT_ARROW&&a.keyCode!==c.RIGHT_ARROW&&a.keyCode!==c.HOME&&a.keyCode!==c.END&&a.keyCode!==c.SPACE)&&(a.keyCode===c.SPACE&&this._searchTimer&&!(a.ctrlKey||a.altKey||a.metaKey)?(a.preventDefault(),this._keyboardSearch(a," ")):this._applyKeyHandler(a))},_applyKeyHandler:function(a){var b;switch(a.keyCode){case c.LEFT_ARROW:b="rtl"===this.effectiveDir?"nextArrowKeyHandler":"previousArrowKeyHandler";break;case c.RIGHT_ARROW:b="rtl"===this.effectiveDir?"previousArrowKeyHandler":"nextArrowKeyHandler";break;default:b=g[a.keyCode]}var d=this[b];d&&(d.call(this,a,this.navigatedDescendant),a.stopPropagation(),a.preventDefault(),this._searchString="")},_keynavKeyPressHandler:function(a){f(a.target)||a.charCode<=c.SPACE||a.ctrlKey||a.altKey||a.metaKey||(a.preventDefault(),a.stopPropagation(),this._keyboardSearch(a,String.fromCharCode(a.charCode).toLowerCase()))},_keyboardSearch:function(a,b){var c,d=null,e=0;this._searchTimer&&this._searchTimer.remove(),this._searchString+=b;var f=/^(.)\1*$/.test(this._searchString),g=f?1:this._searchString.length;c=this._searchString.substr(0,g),this._searchTimer=this.defer(function(){this._searchTimer=null,this._searchString=""},this.multiCharSearchDuration);var h=this.navigatedDescendant||null;if(1!==g&&h||(h=this.getNext(h,1))){var i=h;do{var j=this._keyboardSearchCompare(h,c);if(j&&0===e++&&(d=h),-1===j){e=-1;break}h=this.getNext(h,1)}while(h!==i);this._keyboardSearchHandler(d,a,c,e)}},getNext:function(a,b){function c(a){if(a.firstElementChild)return a.firstElementChild;for(;a!==f;){if(a.nextElementSibling)return a.nextElementSibling;a=a.parentNode}return f}function d(a){for(;a.lastElementChild;)a=a.lastElementChild;return a}function e(a){return a===f?d(f):a.previousElementSibling&&d(a.previousElementSibling)||a.parentNode}for(var f=this,g=a;;){if(a=b>0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","requirejs-dplugins/Promise!","requirejs-dplugins/jquery!attributes/classes","./keys","./place","./popup","./Widget","./activationTracker","dpointer/events"],function(a,b,c,d,e,f,g){return a(g,{buttonNode:null,popupStateNode:null,aroundNode:null,dropDown:null,autoWidth:!0,forceWidth:!1,maxHeight:-1,dropDownPosition:["below","above"],focusOnPointerOpen:!0,focusOnKeyboardOpen:!0,opened:!1,_dropDownPointerDownHandler:function(){this.disabled||this.readOnly||(this._docHandler=this.on("pointerup",this._dropDownPointerUpHandler.bind(this),this.ownerDocument.body),this.toggleDropDown())},_dropDownPointerUpHandler:function(a){if(this._docHandler&&(this._docHandler.remove(),this._docHandler=null),this._currentDropDown){var b=e.position(this.buttonNode);if(!(a.pageX>=b.x&&a.pageX<=b.x+b.w&&a.pageY>=b.y&&a.pageY<=b.y+b.h)){for(var d,f=a.target;f&&!d;){if(c(f).hasClass("d-popup")){d=!0;break}f=f.parentNode}if(d){if(this._currentDropDown.handleSlideClick){var g=this.getEnclosingWidget(a.target);g.handleSlideClick(g,a)}return}}}this._openDropDownPromise?this._focusDropDownOnOpen(!this.hovering):this.focus&&this.defer(this.focus)},_focusDropDownOnOpen:function(a){this._openDropDownPromise.then(function(b){var c=b.dropDown;c.focus&&(a?this.focusOnKeyboardOpen:this.focusOnPointerOpen)&&(this._focusDropDownTimer=this.defer(function(){c.focus(),delete this._focusDropDownTimer}))}.bind(this))},postRender:function(){this.buttonNode=this.buttonNode||this.focusNode||this,this.popupStateNode=this.popupStateNode||this.focusNode||this.buttonNode,this.setAttribute("aria-haspopup","true"),this.on("pointerdown",this._dropDownPointerDownHandler.bind(this),this.buttonNode),this.on("keydown",this._dropDownKeyDownHandler.bind(this),this.focusNode||this),this.on("keyup",this._dropDownKeyUpHandler.bind(this),this.focusNode||this),this.on("pointerenter",function(){this.hovering=!0}.bind(this)),this.on("pointerleave",function(){this.hovering=!1}.bind(this)),this.on("touchstart",function(a){"center"===this.dropDownPosition[0]&&a.preventDefault()}.bind(this),this.buttonNode),this.on("touchend",function(a){a.preventDefault()},this.buttonNode),this.on("click",function(a){a.preventDefault(),a.stopPropagation()},this.buttonNode),this.on("delite-deactivated",this._deactivatedHandler.bind(this)),this.notifyCurrentValue("dropDownPosition")},detachedCallback:function(){this.opened&&this.closeDropDown(!0),this._previousDropDown&&(f.detach(this._previousDropDown),delete this._previousDropDown)},destroy:function(){this.dropDown&&(this.dropDown._destroyed||this.dropDown.destroy(),delete this.dropDown)},_dropDownKeyDownHandler:function(a){if(!this.disabled&&!this.readOnly){var b=this._currentDropDown,c=a.target;return b&&this.opened&&b.emit("keydown",a)===!1?(a.stopPropagation(),void a.preventDefault()):void(b&&this.opened&&a.keyCode===d.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===d.DOWN_ARROW||(a.keyCode===d.ENTER||a.keyCode===d.SPACE&&(!this._searchTimer||a.ctrlKey||a.altKey||a.metaKey))&&("input"!==(c.tagName||"").toLowerCase()||c.type&&"text"!==c.type.toLowerCase()))&&(this._openOnKeyUp=!0,a.stopPropagation(),a.preventDefault()))}},_dropDownKeyUpHandler:function(){this._openOnKeyUp&&(delete this._openOnKeyUp,this.openDropDown(),this._focusDropDownOnOpen(!0))},_deactivatedHandler:function(){this.closeDropDown(!1)},loadDropDown:function(){if(this.dropDown)return this.dropDown;var a;return this.emit("delite-display-load",{setChild:function(b){a=b}}),b.resolve(a).then(function(a){return a.child})},toggleDropDown:function(){return this.disabled||this.readOnly?void 0:this.opened?this.closeDropDown(!0):this.openDropDown()},openDropDown:function(){if(this._openDropDownPromise)return this._openDropDownPromise;var a,d=this.loadDropDown();return this._openDropDownPromise=b.resolve(d).then(function(b){if(this._previousDropDown&&this._previousDropDown!==b&&(f.detach(this._previousDropDown),delete this._previousDropDown),!a){delete this._cancelPendingDisplay,this._currentDropDown=b;var d=this.aroundNode||this,e=this;this.emit("delite-before-show",{child:b,cancelable:!1}),this.id||(this.id="HasDropDown_"+this.widgetId),b._originalStyle=b.style.cssText;var g=f.open({parent:this,popup:b,around:d,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){e.closeDropDown(!0)},onCancel:function(){e.closeDropDown(!0)},onClose:function(){c(e._popupStateNode).removeClass("d-drop-down-open"),this.opened=!1}});if(g&&(this.forceWidth||this.autoWidth&&d.offsetWidth>b._popupWrapper.offsetWidth)){var h=d.offsetWidth-b._popupWrapper.offsetWidth;b._popupWrapper.style.width=d.offsetWidth+"px",b.style.width=d.offsetWidth+"px","R"===g.corner[1]&&(b._popupWrapper.style.left=b._popupWrapper.style.left.replace("px","")-h+"px")}return c(this._popupStateNode).addClass("d-drop-down-open"),this.opened=!0,this.popupStateNode.setAttribute("aria-expanded","true"),this.popupStateNode.setAttribute("aria-owns",b.id),"presentation"===b.getAttribute("role")||b.getAttribute("aria-labelledby")||b.setAttribute("aria-labelledby",this.id),this.emit("delite-after-show",{child:b,cancelable:!1}),{dropDown:b,position:g}}}.bind(this)),this._cancelPendingDisplay=function(){d.cancel&&d.cancel(),a=!0,delete this._cancelPendingDisplay,delete this._openDropDownPromise}.bind(this),this._openDropDownPromise},closeDropDown:function(a){this._cancelPendingDisplay&&this._cancelPendingDisplay(),this._openDropDownPromise&&delete this._openDropDownPromise,this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this.popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),this.emit("delite-before-hide",{child:this._currentDropDown,cancelable:!1}),f.close(this._currentDropDown),this.opened=!1,this._currentDropDown.style.cssText=this._currentDropDown._originalStyle,this.emit("delite-after-hide",{child:this._currentDropDown,cancelable:!1})),this._previousDropDown=this._currentDropDown,delete this._currentDropDown}})}),define("delite/FormWidget",["dcl/dcl","./Widget"],function(a,b){return a(b,{name:"",alt:"",value:"",tabIndex:0,tabStops:"focusNode",disabled:!1,postRender:function(){this.notifyCurrentValue("tabStops")},refreshRendering:function(a){"tabStops"in a&&a.tabStops.split(/, */).forEach(function(a){var b=this[a];b.tabIndex="-1",b.removeAttribute("tabindex")},this),("tabStops"in a||"tabIndex"in a||"disabled"in a||"alt"in a)&&this.forEachFocusNode(function(a){a.disabled=this.disabled,this.disabled?(a.tabIndex="-1",a.removeAttribute("tabindex")):a.tabIndex=this._get("tabIndex"),a.alt=this.alt,a.setAttribute("aria-disabled",""+this.disabled)});var b=this.valueNode!==this&&this.valueNode;b&&("value"in a&&(b.value=this.value),"disabled"in a&&(b.disabled=this.disabled),"name"in a&&(b.name=this.name))},focus:function(){var a=this.firstFocusNode();if(!this.disabled&&a.focus)try{a.focus()}catch(b){}},firstFocusNode:function(){return this[this.tabStops.split(/, */)[0]]},forEachFocusNode:function(a){this.tabStops.split(/, */).map(function(b){var c=this[b];c!==this&&a.call(this,c)},this)},setAttribute:a.superCall(function(a){return function(b,c){/^aria-/.test(b)?this.forEachFocusNode(function(a){a.setAttribute(b,c)}):a.call(this,b,c)}}),getAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.firstFocusNode().getAttribute(b):a.call(this,b)}}),hasAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.firstFocusNode().hasAttribute(b):a.call(this,b)}}),removeAttribute:a.superCall(function(a){return function(b){/^aria-/.test(b)?this.forEachFocusNode(function(a){a.removeAttribute(b)}):a.call(this,b)}}),createdCallback:function(){for(var a,b=0;a=this.attributes[b++];)/^aria-/.test(a.name)&&(this.setAttribute(a.name,a.value),HTMLElement.prototype.removeAttribute.call(this,a.name))}})}),define("delite/FormValueWidget",["dcl/dcl","./FormWidget","./activationTracker"],function(a,b){function c(a,b,c){return function(d){this.value=d,this[c]&&this[c].remove(),this[c]=this.defer(function(){delete this[c],(typeof d!=typeof this[b]||0!==this.compare(d,this[b]))&&(this[b]=d,this.deliver(),this.emit(a))})}}return a(b,{readOnly:!1,refreshRendering:function(a){("tabStops"in a||"readOnly"in a)&&this.forEachFocusNode(function(a){a.readOnly=this.readOnly})},compare:function(a,b){return"number"==typeof a&&"number"==typeof b?isNaN(a)&&isNaN(b)?0:a-b:a>b?1:b>a?-1:0},postRender:function(){this.on("delite-activated",function(){this._previousOnChangeValue=this.value,this._previousOnInputValue=this.value})},handleOnChange:c("change","_previousOnChangeValue","_onChangeHandle"),handleOnInput:c("input","_previousOnInputValue","_onInputHandle")})}),define("delite/DisplayContainer",["dcl/dcl","requirejs-dplugins/Promise!","./Container"],function(a,b,c){return a(c,{show:function(c,d){var e,f={dest:c,setChild:function(a){e=a}},g=this;return a.mix(f,d),this.emit("delite-display-load",f),e||(e=this.load(c)),b.resolve(e).then(function(e){return-1===g.getIndexOfChild(e.child)&&g.addChild(e.child,e.index),f={dest:c,cancelable:!1},a.mix(f,d),a.mix(f,e),g.emit("delite-before-show",f),b.resolve(g.changeDisplay(e.child,f)).then(function(){return g.emit("delite-after-show",f),e})})},hide:function(c,d){var e,f={dest:c,setChild:function(a){e=a},bubbles:!0,cancelable:!0,hide:!0},g=this;return a.mix(f,d),this.emit("delite-display-load",f),e||(e=this.load(c)),b.resolve(e).then(function(e){return f={dest:c,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,d),a.mix(f,e),g.emit("delite-before-hide",f),b.resolve(g.changeDisplay(e.child,f)).then(function(){return-1!==g.getIndexOfChild(e.child)&&g.removeChild(e.child),g.emit("delite-after-hide",f),e})})},changeDisplay:function(a,b){b.hide===!0?(a.style.visibility="hidden",a.style.display="none"):(a.style.visibility="visible",a.style.display="")},load:function(a){return{child:"string"==typeof a?this.ownerDocument.getElementById(a):a}}})}),define("delite/DialogUnderlay",["./register","./Widget","./BackgroundIframe","./Viewport","./theme!./DialogUnderlay/themes/{{theme}}/DialogUnderlay.css"],function(a,b,c,d){var e=a("d-dialog-underlay",[HTMLElement,b],{render:function(){this.className="d-dialog-underlay"},createdCallback:a.after(function(){this.ownerDocument.body.appendChild(this),this.attachedCallback()}),attachedCallback:function(){this._resizeListener=d.on("resize",function(){this._open&&this.layout()}.bind(this))},detachedCallback:function(){this._resizeListener.remove()},layout:function(){var a=this.style;a.display="none";var b=this.ownerDocument.documentElement;a.width=b.clientWidth+"px",a.height=b.clientHeight+"px",a.display=""},show:function(){this._open||(this.style.display="block",this._open=!0,this.layout(),this.bgIframe=new c(this))},hide:function(){this._open&&(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none",this._open=!1)}});return e.show=function(a,b){var c=e._singleton;!c||c._destroyed?c=e._singleton=new e(a):a&&c.mix(a),c.style.zIndex=b,c.show()},e.hide=function(){var a=e._singleton;a&&!a._destroyed&&a.hide()},e}),define("delite/CustomElement",["dcl/advise","dcl/dcl","decor/Observable","decor/Destroyable","decor/Stateful","requirejs-dplugins/has","./register"],function(advise,dcl,Observable,Destroyable,Stateful,has,register){function getObject(a){try{return a.split(".").reduce(function(a,b){return a[b]},this)}catch(b){}}has.add("setter-on-native-prop",function(){var a=!1,b=dcl(Stateful,{getProps:function(){return{dir:!0}},dir:"",_setDirAttr:function(){a=!0}}),c=register("test-setter-on-native-prop",[HTMLElement,b],{}),d=new c;return d.dir="rtl",a});var REGEXP_SHADOW_PROPS=/^_(.+)Attr$/,CustomElement=dcl([Stateful,Destroyable],{introspect:function(){if(!has("setter-on-native-prop")){var a=this,b=document.createElement(this._extends||"div"),c=this._nativePropSetterMap={};this._nativeAttrs=[];do Object.keys(a).forEach(function(d){var e=d.toLowerCase();if(d in b&&!c[e]){var f=Object.getOwnPropertyDescriptor(a,d);f&&f.set&&(this._nativeAttrs.push(e),c[e]=f.set)}},this),a=Object.getPrototypeOf(a);while(a&&a.constructor!==this._baseElement)}},getProps:function(){var a={},b=this,c=this._propCaseMap={};do Object.keys(b).forEach(function(d){REGEXP_SHADOW_PROPS.test(d)||("function"!=typeof b[d]&&(a[d]=!0),c[d.toLowerCase()]=d)}),b=Object.getPrototypeOf(b);while(b&&b.constructor!==this._baseElement);return a},_processNativeProps:function(){has("setter-on-native-prop")||this._nativeAttrs.forEach(function(a){if(this.hasAttribute(a)){var b=this.getAttribute(a);this.removeAttribute(a),null!==b&&this._nativePropSetterMap[a].call(this,b)}},this)},created:!1,createdCallback:dcl.advise({before:function(){this._observable||Observable.call(this),this._parsedAttributes=this._mapAttributes()},after:function(){if(this.created=!0,this._parsedAttributes.forEach(function(a){a.event?this.on(a.event,a.callback):this[a.prop]=a.value},this),!has("setter-on-native-prop")){this._processNativeProps();var a=window.MutationObserver||WebKitMutationObserver,b=new a(function(a){a.forEach(function(a){var b=a.attributeName,c=this._nativePropSetterMap[b],d=this.getAttribute(b);null!==d&&(this.removeAttribute(b),c.call(this,d))},this)}.bind(this));b.observe(this,{subtree:!1,attributeFilter:this._nativeAttrs,attributes:!0})}}}),attached:!1,attachedCallback:dcl.after(function(){this.deliver(),this.attached=!0,this.emit("customelement-attached",{bubbles:!1,cancelable:!1})}),detachedCallback:function(){this.attached=!1},_parsePrototypeAttr:function(name,value){function stringToObject(value){var obj;try{obj=eval("("+("{"===value[0]?"":"{")+value+("{"===value[0]?"":"}")+")")}catch(e){throw new SyntaxError("Error in attribute conversion to object: "+e.message+"\nAttribute Value: '"+value+"'")}return obj}switch(typeof this[name]){case"string":return value;case"number":return value-0;case"boolean":return"false"!==value;case"object":return getObject(value)||(this[name]instanceof Array?value?value.split(/\s+/):[]:stringToObject(value));case"function":return this.parseFunctionAttribute(value,[])}},parseFunctionAttribute:function(a,b){return getObject(a)||new(Function.bind.apply(Function,[void 0].concat(b).concat([a])))},parseAttribute:function(a,b){var c=this._propCaseMap;return a in c?(a=c[a],{prop:a,value:this._parsePrototypeAttr(a,b)}):/^on-/.test(a)?{event:a.substring(3),callback:this.parseFunctionAttribute(b,["event"])}:void 0},_mapAttributes:function(){for(var a,b=0,c=[],d=[];a=this.attributes[b++];){var e=a.name.toLowerCase(),f=this.parseAttribute(e,a.value);f&&(c.push(f),d.push(a.name))}return d.forEach(this.removeAttribute,this),c},destroy:function(){this.findCustomElements().forEach(function(a){a.destroy&&a.destroy()}),this.parentNode&&(this.parentNode.removeChild(this),this.detachedCallback())},emit:function(a,b){b=b||{};var c="bubbles"in b?b.bubbles:!0,d="cancelable"in b?b.cancelable:!0,e=this.ownerDocument.createEvent("HTMLEvents");e.initEvent(a,c,d);for(var f in b)f in e||(e[f]=b[f]);return this.dispatchEvent(e)},on:function(a,b,c){var d={focusin:"focus",focus:"focus",focusout:"blur",blur:"blur"},e=a in d,f=e?d[a]:a;return c=c||this,c.addEventListener(f,b,e),{remove:function(){c.removeEventListener(f,b,e)}}},getPropsToObserve:function(){return this._ctor._propsToObserve},deliver:dcl.before(function(){this._processNativeProps()}),findCustomElements:function(a){function b(a){for(var d=a.firstChild;d;d=d.nextSibling)1===d.nodeType&&d.createdCallback?c.push(d):b(d)}var c=[];return b(a||this),c}});return dcl.chainAfter(CustomElement,"createdCallback"),dcl.chainAfter(CustomElement,"attachedCallback"),dcl.chainBefore(CustomElement,"detachedCallback"),CustomElement}),define("delite/CssState",["dcl/dcl","requirejs-dplugins/jquery!attributes/classes","./Widget"],function(a,b,c){return a(c,{booleanCssProps:["disabled","readOnly","selected","opened"],postRender:function(){["checked","state"].concat(this.booleanCssProps).forEach(function(a){this[a]&&this.notifyCurrentValue(a)})},refreshRendering:function(a){this.booleanCssProps.forEach(function(c){c in a&&b(this).toggleClass("d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b(this).removeClass("mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b(this).addClass("mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&b(this).removeClass("d-"+a.state.toLowerCase()).addClass("d-"+this.state.toLowerCase())}})}),define("delite/Container",["dcl/dcl","./Widget"],function(a,b){return a(b,{containerNode:void 0,render:a.advise({before:function(){for(var a=this._srcDom=this.ownerDocument.createDocumentFragment();this.firstChild;)a.appendChild(this.firstChild)},after:function(){this.containerNode||(this.containerNode=this),this.containerNode.appendChild(this._srcDom)}}),appendChild:a.superCall(function(a){return function(b){if(this.created){var c=a.call(this.containerNode,b);return this.onAddChild(b),c}return a.call(this,b)}}),insertBefore:a.superCall(function(a){return function(b,c){if(this.created){var d=a.call(this.containerNode,b,c);return this.onAddChild(b),d}return a.call(this,b,c)}}),onAddChild:function(a){this.attached&&a.attachedCallback&&a.attachedCallback(),this.emit("delite-add-child",{bubbles:!1,cancelable:!1,child:a})},addChild:function(a,b){var c=this.containerNode,d=c.children[b];c.insertBefore(a,d||null)},removeChild:function(a){"number"==typeof a&&(a=this.getChildren()[a]),a&&a.parentNode&&HTMLElement.prototype.removeChild.call(a.parentNode,a),this.emit("delite-remove-child",{bubbles:!1,cancelable:!1,child:a})},getChildren:function(){return Array.prototype.slice.call(this.containerNode.children)},hasChildren:function(){return this.getChildren().length>0},getIndexOfChild:function(a){return this.getChildren().indexOf(a)}})}),define("delite/Bidi",["./features"],function(a){var b="‪",c="‫",d="‬";return{textDir:"",getInheritedDir:function(){return this._inheritedDir||this.ownerDocument.body.dir||this.ownerDocument.documentElement.dir||"ltr"},attachedCallback:function(){a("inherited-dir")&&(this._inheritedDir=window.getComputedStyle(this,null).direction,this.notifyCurrentValue("dir"),this.deliver())},getTextDir:function(a){return"auto"===this.textDir?this._checkContextual(a):/^(rtl|ltr)$/i.test(this.textDir)?this.textDir:this.effectiveDir},_checkContextual:function(a){var b=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(a);return b?b[0]<="z"?"ltr":"rtl":this.effectiveDir},applyTextDir:function(a){if(this.textDir){var b=this.textDir;if("auto"===b){var c=a.tagName.toLowerCase(),d="input"===c||"textarea"===c?a.value:a.textContent;b=this._checkContextual(d)}a.dir=b}else a.dir=this.effectiveDir},applyTextDirection:function(a){return this.textDir?this.wrapWithUcc(this.removeUcc(a)):this.removeUcc(a)},wrapWithUcc:function(a){var e="auto"===this.textDir?this._checkContextual(a):/^(rtl|ltr)$/i.test(this.textDir)?this.textDir:this.effectiveDir;return("ltr"===e?b:c)+a+d},removeUcc:function(a){return a?a.replace(/[\u200E\u200F\u202A-\u202C]/g,""):a},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.applyTextDirection(a.innerHTML)},restoreOriginalText:function(a){a.originalText&&(a.text=a.originalText,delete a.originalText)}}}),define("delite/BackgroundIframe",["dcl/dcl","./features"],function(a,b){var c=function(){var a=[];this.pop=function(){var b;return a.length?(b=a.pop(),b.style.display=""):(b=document.createElement("iframe"),b.src="javascript:''",b.className="d-background-iframe",b.setAttribute("role","presentation"),b.tabIndex=-1),b},this.push=function(b){b.style.display="none",a.push(b)}},d=new c;return a(null,{constructor:function(a){if(b("config-bgIframe")){var c=this.iframe=d.pop();a.appendChild(c),c.style.width="100%",c.style.height="100%"}},destroy:function(){this.iframe&&(this.iframe.parentNode.removeChild(this.iframe),d.push(this.iframe),delete this.iframe)}})}); //# sourceMappingURL=layer.map var paths = {}; !require.s.contexts._.config.paths["delite"] && (paths["delite"] = "delite-build"); diff --git a/layer.map b/layer.map index 6cef3bc..793fd83 100644 --- a/layer.map +++ b/layer.map @@ -1 +1 @@ -{"version":3,"file":"layer.js","sources":["..\\requirejs-text\\text.js","..\\delite\\uacss.js","..\\delite\\theme.js","..\\delite\\register.js","..\\delite\\popup.js","..\\delite\\place.js","..\\delite\\keys.js","..\\delite\\handlebars.js","..\\delite\\features.js","..\\delite\\activationTracker.js","..\\jquery\\src\\attributes\\classes.js","..\\jquery\\src\\core\\init.js","..\\jquery\\src\\traversing\\findFilter.js","..\\jquery\\src\\selector-native.js","..\\jquery\\src\\traversing\\var\\rneedsContext.js","..\\jquery\\src\\var\\indexOf.js","..\\jquery\\src\\var\\arr.js","..\\jquery\\src\\core\\var\\rsingleTag.js","..\\jquery\\src\\data\\var\\data_priv.js","..\\jquery\\src\\data\\Data.js","..\\jquery\\src\\data\\accepts.js","..\\jquery\\src\\var\\strundefined.js","..\\jquery\\src\\var\\rnotwhite.js","..\\jquery\\src\\core.js","..\\jquery\\src\\var\\support.js","..\\jquery\\src\\var\\hasOwn.js","..\\jquery\\src\\var\\toString.js","..\\jquery\\src\\var\\class2type.js","..\\jquery\\src\\var\\push.js","..\\jquery\\src\\var\\concat.js","..\\jquery\\src\\var\\slice.js","..\\requirejs-domready\\domReady.js","..\\delite\\a11yclick.js","..\\delite\\a11y.js","..\\delite\\Widget.js","..\\delite\\Viewport.js","..\\delite\\Template.js","..\\delite\\StoreMap.js","..\\delite\\Store.js","..\\delite\\Selection.js","..\\delite\\Scrollable.js","..\\jquery\\src\\event.js","..\\jquery\\src\\event\\support.js","..\\jquery\\src\\effects.js","..\\jquery\\src\\traversing.js","..\\jquery\\src\\deferred.js","..\\jquery\\src\\callbacks.js","..\\jquery\\src\\queue.js","..\\jquery\\src\\effects\\Tween.js","..\\jquery\\src\\css\\defaultDisplay.js","..\\jquery\\src\\manipulation.js","..\\jquery\\src\\data\\var\\data_user.js","..\\jquery\\src\\manipulation\\support.js","..\\jquery\\src\\manipulation\\var\\rcheckableType.js","..\\jquery\\src\\core\\access.js","..\\jquery\\src\\css\\var\\isHidden.js","..\\jquery\\src\\css\\var\\cssExpand.js","..\\jquery\\src\\var\\pnum.js","..\\jquery\\src\\css.js","..\\jquery\\src\\core\\ready.js","..\\jquery\\src\\css\\swap.js","..\\jquery\\src\\css\\support.js","..\\jquery\\src\\css\\addGetHookIf.js","..\\jquery\\src\\css\\curCSS.js","..\\jquery\\src\\css\\var\\getStyles.js","..\\jquery\\src\\css\\var\\rnumnonpx.js","..\\jquery\\src\\css\\var\\rmargin.js","..\\delite\\KeyNav.js","..\\delite\\HasDropDown.js","..\\delite\\FormWidget.js","..\\delite\\FormValueWidget.js","..\\delite\\DisplayContainer.js","..\\delite\\DialogUnderlay.js","..\\delite\\CustomElement.js","..\\delite\\CssState.js","..\\delite\\Container.js","..\\delite\\Bidi.js","..\\delite\\BackgroundIframe.js"],"names":["define","module","text","fs","Cc","Ci","xpcIsWindows","progIds","xmlRegExp","bodyRegExp","hasLocation","location","href","defaultProtocol","protocol","replace","defaultHostName","hostname","defaultPort","port","undefined","buildMap","masterConfig","config","version","strip","content","matches","match","jsEscape","createXhr","xhr","i","progId","XMLHttpRequest","ActiveXObject","e","parseName","name","modName","ext","temp","index","lastIndexOf","isRelative","indexOf","substring","moduleName","xdRegExp","useXhr","url","uProtocol","uHostName","uPort","exec","split","toLowerCase","finishLoad","onLoad","isBuild","load","req","inlineText","parsed","nonStripName","toUrl","get","err","error","write","pluginName","hasOwnProperty","asModule","writeFile","extPart","fileName","textWrite","contents","env","process","versions","node","require","nodeRequire","callback","errback","file","readFileSync","headers","header","open","setRequestHeader","onXhr","onreadystatechange","status","readyState","Error","responseText","onXhrComplete","send","Packages","java","stringBuffer","line","encoding","io","File","lineSeparator","lang","System","getProperty","input","BufferedReader","InputStreamReader","FileInputStream","StringBuffer","readLine","length","charAt","append","String","toString","close","Components","classes","interfaces","utils","inStream","convertStream","fileObj","readData","FileUtils","createInstance","nsIFileInputStream","init","nsIConverterInputStream","available","DEFAULT_REPLACEMENT_CHARACTER","readString","value","path","has","ie","maj","Math","floor","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","classStr","clz","document","body","className","trim","css","themeMap","getTheme","theme","search","ua","userAgent","RegExp","$1","navigator","this","test","onload","commonCss","id","resources","forEach","buildFunctions","addOnce","loadList","layersMap","map","deps","arguments","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","success","themeDir","dest","themedLoadList","writeLayer","every","bool","destMid","writeConfig","dcl","createElement","tag","registry","console","warn","base","doc","element","setAttribute","upgrade","getPropDescriptors","proto","props","k","keys","Object","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","constructor","attach","__upgraded__","widget","getAttribute","nodeName","__proto__","prototype","defineProperties","createdCallback","attachedCallback","documentElement","contains","getTagConstructor","baseElement","baseCtor","HTMLElement","tags","filter","tagMap","TypeError","registerElement","selectors","push","tagConstructor","params","style","cssText","setClassComponent","_ctor","restore","extension","register","superclasses","bases","Array","_baseElement","ctor","_introspect","_propsToObserve","_getProps","_introspected","parse","root","idx","nodes","querySelectorAll","join","mix","a","b","n","defineProperty","configurable","writable","enumerable","HTMLAnchorElement","HTMLBaseElement","br","HTMLBRElement","button","HTMLButtonElement","canvas","HTMLCanvasElement","div","HTMLDivElement","dl","HTMLDListElement","directory","HTMLDirectoryElement","fieldset","HTMLFieldSetElement","font","HTMLFontElement","form","HTMLFormElement","head","HTMLHeadElement","h1","HTMLHeadingElement","html","HTMLHtmlElement","hr","HTMLHRElement","iframe","HTMLIFrameElement","img","HTMLImageElement","HTMLInputElement","label","HTMLLabelElement","legend","HTMLLegendElement","li","HTMLLIElement","link","HTMLLinkElement","HTMLMapElement","menu","HTMLMenuElement","meta","HTMLMetaElement","ins","HTMLModElement","object","HTMLObjectElement","ol","HTMLOListElement","optgroup","HTMLOptGroupElement","option","HTMLOptionElement","p","HTMLParagraphElement","param","HTMLParamElement","pre","HTMLPreElement","quote","HTMLQuoteElement","script","HTMLScriptElement","select","HTMLSelectElement","HTMLStyleElement","table","HTMLTableElement","caption","HTMLTableCaptionElement","col","HTMLTableColElement","tr","HTMLTableRowElement","tbody","HTMLTableSectionElement","textarea","HTMLTextAreaElement","title","HTMLTitleElement","ul","HTMLUListElement","video","HTMLVideoElement","after","before","around","superCall","advise","BackgroundIframe","place","Viewport","isDocLtr","dir","destroyWrapper","_popupWrapper","parentNode","removeChild","addEventListener","scrollTop","PopupManager","_stack","_beginZIndex","_idGen","on","_repositionAll","bind","_viewportScrollHandler","_checkScroll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","position","dx","x","dy","y","_aroundMoveListener","setTimeout","args","_size","_position","orient","_createWrapper","wrapper","ownerDocument","display","appendChild","moveOffScreen","ltr","visibility","top","hide","height","getTopPopup","stack","pi","parent","popup","_prepareToOpen","wrapperClasses","baseClass","cls","zIndex","_popupParent","bgIframe","handlers","onKeyDown","evt","keyCode","ESCAPE","onCancel","stopPropagation","preventDefault","TAB","topPopup","remove","removeEventListener","executeHandler","onExecute","stackEntry","create","measureSize","viewport","getEffectiveBox","width","_naturalHeight","offsetHeight","_naturalWidth","offsetWidth","h","w","maxHeight","Infinity","aroundPos","getBoundingClientRect","padding","max","isLeftToRight","layoutFunc","at","center","some","elem","pop","onClose","destroy","clearTimeout","_placeAt","choices","layoutNode","aroundNodeCoords","view","tagName","best","choice","corner","pos","overflow","spaceAvailable","L","l","R","M","T","t","B","left","right","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","min","startYpos","startX","startY","endX","endY","side","cs","getComputedStyle","marginTop","marginLeft","reverse","TL","TR","BL","BR","corners","c","anchor","positions","leftToRight","aroundNodePos","border","parseFloat","borderTopWidth","borderBottomWidth","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","nodeType","parentPos","pcs","bottomYCoord","rightXCoord","rtl","bcr","win","defaultView","pageXOffset","scrollLeft","pageYOffset","BACKSPACE","CLEAR","ENTER","SHIFT","CTRL","ALT","META","PAUSE","CAPS_LOCK","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","INSERT","DELETE","HELP","LEFT_WINDOW","RIGHT_WINDOW","SELECT","NUMPAD_0","NUMPAD_1","NUMPAD_2","NUMPAD_3","NUMPAD_4","NUMPAD_5","NUMPAD_6","NUMPAD_7","NUMPAD_8","NUMPAD_9","NUMPAD_MULTIPLY","NUMPAD_PLUS","NUMPAD_ENTER","NUMPAD_MINUS","NUMPAD_PERIOD","NUMPAD_DIVIDE","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","NUM_LOCK","SCROLL_LOCK","UP_DPAD","DOWN_DPAD","LEFT_DPAD","RIGHT_DPAD","copyKey","Template","Promise","toJs","convertUndefinedToBlank","inVar","parts","str","prop","textPlugin","handlebars","templateNode","xmlns","attachPoints","item","hasAttribute","getElement","attributes","connects","attrs","propName","getProp","children","parseChildren","lastRealNode","child","firstChild","nextSibling","childType","nodeValue","slice","toDom","templateText","parser","DOMParser","parseFromString","container","innerHTML","compile","templateDom","tree","template","func","requireAndCompile","requires","removeAttribute","resolve","mid","loaderConfig","then","add","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","$","Evented","lastPointerDownTime","lastFocusinTime","lastPointerDownOrFocusInNode","lastPointerDownOrFocusInTime","ActivationTracker","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","target","Date","getTime","_this","_pointerDownOrFocusHandler","focusHandler","_focusHandler","blurHandler","_blurHandler","now","_clearActiveWidgetsTimer","_setStack","by","newStack","frameElement","render","disabled","unshift","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","bubbles","singleton","window","jQuery","rnotwhite","strundefined","data_priv","rclass","fn","extend","addClass","cur","clazz","j","finalValue","proceed","len","isFunction","each","call","removeClass","toggleClass","stateVal","type","self","classNames","hasClass","set","selector","rsingleTag","rootjQuery","rquickExpr","context","jquery","find","merge","parseHTML","isPlainObject","attr","getElementById","ready","makeArray","rneedsContext","winnow","elements","qualifier","not","grep","risSimple","expr","elems","matchesSelector","ret","pushStack","unique","is","selector_hasDuplicate","docElem","oMatchesSelector","selector_sortOrder","compare","compareDocumentPosition","results","seed","duplicates","sort","splice","textContent","adown","bup","isXMLDoc","attrHandle","needsContext","arr","Data","cache","expando","uid","accepts","acceptData","key","owner","descriptor","unlock","isEmptyObject","access","stored","camelCase","camel","isArray","concat","hasData","discard","class2type","hasOwn","support","isArraylike","obj","isWindow","rtrim","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","toArray","num","prevObject","apply","first","eq","last","end","options","src","copy","copyIsArray","clone","deep","random","isReady","msg","noop","isNumeric","globalEval","code","indirect","eval","string","inArray","second","invert","callbackInverse","callbackExpect","arg","guid","proxy","tmp","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","domReady","isTop","testDiv","isBrowser","attachEvent","doScroll","external","setInterval","clickKey","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","ctrlKey","altKey","shiftKey","metaKey","dispatchEvent","a11y","_isElementShown","s","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","rs","getFirstInTabbingOrder","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","works","Mixin","_setDirAttr","TestWidget","tw","Widget","focused","started","widgetId","preRender","postRender","refreshRendering","oldVals","_templateHandle","refresh","direction","_get","setterMap","_nativePropSetterMap","desc","attrName","MO","MutationObserver","WebKitMutationObserver","observer","records","mr","attributeName","setter","newValue","observe","subtree","attributeFilter","component","oldValProp","setOrRemoveAttribute","initializeInvalidating","notifyCurrentValue","dependencies","startup","findCustomElements","_destroyed","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","insertBefore","containerNode","childNodes","attached","chainAfter","getBox","innerWidth","innerHeight","checkForResize","newBox","oldEffectiveSize","checkForScroll","oldEffectiveScroll","poll","resized","scrolled","box","focusedNode","activeElement","readOnly","orientation","screen","propertiesReferenced","reduce","hash","thisVar","rootNodeName","createRootNode","buildText","attachText","observeText","dependsOn","generateNodeCode","JSON","stringify","Function","generateWatchCode","statement","generateNodeChildrenCode","childName","textNodeName","js","createNode","ap","handler","elementCache","attrMap","Store","getvalue","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","parseAttribute","sup","_propCaseMap","parseFunctionAttribute","queryStoreAndInitItems","processQueryResult","force","_pendingQuery","mappedKeys","_itemKeys","deliver","renderItemToItem","renderItem","idProperty","itemToRenderItem","__item","getIdentity","_setIdentity","remap","items","renderItems","query","initItems","cancelable","computeProperties","_untrack","_attachedlistener","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","_refreshHandler","processCollection","fetch","_queryError","log","tracking","itemRemoved","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","event","_set","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","scrollHeight","isLeftScroll","isRightScroll","scrollWidth","getCurrentScroll","scrollBy","duration","to","scrollTo","from","_animation","animate","rate","step","complete","stop","returnTrue","returnFalse","safeActiveElement","rkeyEvent","rmouseEvent","rfocusMorph","rtypenamespace","global","types","handleObjIn","eventHandle","events","handleObj","special","namespaces","origType","elemData","handle","triggered","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","trigger","onlyHandlers","bubbleType","ontype","eventPath","shift","Event","isTrigger","namespace_re","result","noBubble","parentWindow","isPropagationStopped","isDefaultPrevented","_default","fix","matched","handlerQueue","delegateTarget","preDispatch","currentTarget","isImmediatePropagationStopped","postDispatch","fixHooks","keyHooks","original","which","charCode","mouseHooks","eventDoc","pageX","clientX","clientLeft","pageY","clientY","clientTop","originalEvent","fixHook","focus","blur","click","beforeunload","returnValue","simulate","bubble","isSimulated","timeStamp","stopImmediatePropagation","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","relatedTarget","focusinBubbles","attaches","one","origFn","off","triggerHandler","pnum","cssExpand","isHidden","defaultDisplay","createFxNow","fxNow","genFx","includeWidth","opacity","createTween","animation","tween","tweeners","defaultPrefilter","opts","toggle","hooks","oldfire","checkDisplay","anim","hidden","dataShow","queue","_queueHooks","unqueued","empty","fire","always","overflowX","overflowY","rfxtypes","show","done","start","propFilter","specialEasing","easing","cssHooks","expand","Animation","properties","stopped","animationPrefilters","deferred","Deferred","tick","currentTime","remaining","startTime","percent","tweens","run","notifyWith","resolveWith","promise","originalProperties","originalOptions","Tween","gotoEnd","rejectWith","fx","timer","progress","fail","timerId","rfxnum","rrun","*","unit","cssNumber","scale","maxIterations","tweener","prefilter","prepend","speed","opt","speeds","old","dequeue","fadeTo","optall","doAnimation","finish","clearQueue","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","interval","slow","fast","sibling","rparentsprev","guaranteedUnique","next","prev","until","truncate","targets","closest","prevAll","addBack","parents","parentsUntil","nextAll","nextUntil","prevUntil","siblings","tuples","Callbacks","state","fns","newDefer","tuple","returned","reject","notify","pipe","list","stateString","disable","lock","fireWith","when","subordinate","progressValues","progressContexts","resolveContexts","resolveValues","updateFunc","contexts","values","createOptions","optionsCache","_","flag","memory","fired","firing","firingStart","firingLength","firingIndex","once","stopOnFalse","locked","startLength","count","defer","propHooks","eased","cssProps","linear","swing","cos","PI","actualDisplay","appendTo","getDefaultComputedStyle","detach","elemdisplay","rcheckableType","data_user","manipulationTarget","getElementsByTagName","disableScript","restoreScript","rscriptTypeMasked","setGlobalEval","refElements","cloneCopyEvent","pdataOld","pdataCur","udataOld","udataCur","getAll","fixInput","defaultValue","rxhtmlTag","rtagName","rhtml","rnoInnerhtml","rchecked","rscriptType","rcleanScript","wrapMap","thead","td","tfoot","colgroup","th","dataAndEvents","deepDataAndEvents","srcElements","destElements","cloneNode","inPage","noCloneChecked","buildFragment","scripts","selection","wrap","fragment","createDocumentFragment","createTextNode","cleanData","domManip","keepData","replaceWith","hasScripts","iNoClone","checkClone","_evalUrl","prependTo","insertAfter","replaceAll","insert","chainable","emptyGet","raw","bulk","el","source","rmargin","rnumnonpx","getStyles","curCSS","addGetHookIf","vendorPropName","capName","origName","cssPrefixes","setPositiveNumber","subtract","rnumsplit","augmentWidthOrHeight","extra","isBorderBox","styles","val","getWidthOrHeight","valueIsBorderBox","boxSizingReliable","showHide","rdisplayswap","rrelNum","cssShow","cssNormalTransform","letterSpacing","fontWeight","computed","columnCount","fillOpacity","flexGrow","flexShrink","lineHeight","order","orphans","widows","zoom","float","clearCloneStyle","swap","marginRight","reliableMarginRight","margin","prefix","suffix","expanded","completed","readyList","readyWait","holdReady","hold","wait","computePixelPositionAndBoxSizingReliable","divStyle","pixelPositionVal","boxSizingReliableVal","backgroundClip","pixelPosition","marginDiv","conditionFn","hookFn","minWidth","maxWidth","getPropertyValue","opener","takesInput","keycodeToMethod","focusDescendants","navigatedDescendant","descendantSelector","_getTargetElement","_selectorFunc","matchesFuncName","_keynavKeyPressHandler","_keynavKeyDownHandler","_descendantNavigateHandler","_keynavDeactivatedHandler","_keynavFocusHandler","tabIndex","homeKeyHandler","navigateToFirst","endKeyHandler","navigateToLast","navigateTo","getNext","_savedTabIndex","_searchString","multiCharSearchDuration","_keyboardSearchHandler","_keyboardSearchCompare","searchString","focusNode","currentString","substr","_searchTimer","_keyboardSearch","_applyKeyHandler","methodName","fromCharCode","keyChar","matchedItem","numMatches","allSameLetter","searchLen","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","buttonNode","popupStateNode","aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","opened","_dropDownPointerDownHandler","_docHandler","_dropDownPointerUpHandler","toggleDropDown","_currentDropDown","overMenu","handleSlideClick","menuItem","_openDropDownPromise","_focusDropDownOnOpen","hovering","keyboard","focusOnOpen","_focusDropDownTimer","_dropDownKeyDownHandler","_dropDownKeyUpHandler","_deactivatedHandler","closeDropDown","_openOnKeyUp","openDropDown","loadDropDown","dropdown","setChild","canceled","loadDropDownPromise","_cancelPendingDisplay","_originalStyle","retVal","_popupStateNode","widthAdjust","cancel","alt","tabStops","oldValues","forEachFocusNode","valueNode","firstFocusNode","FormWidget","genHandler","eventType","prevValueProp","deferHandleProp","val1","val2","isNaN","_previousOnChangeValue","_previousOnInputValue","handleOnChange","handleOnInput","Container","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","own","_open","layout","clientWidth","clientHeight","underlay","_singleton","Observable","Destroyable","Stateful","nop","getObject","part","REGEXP_SHADOW_PROPS","pcm","created","_observable","_parsedAttributes","_mapAttributes","pa","_parsePrototypeAttr","stringToObject","SyntaxError","message","parsedAttrs","attrsToRemove","parsedAttr","eventObj","nativeEvent","initEvent","captures","focusin","focusout","capture","adjustedType","propsToObserve","PropertyListObserver","getChildrenHelper","outAry","booleanCssProps","srcDom","_srcDom","recurse","onAddChild","newChild","refChild","insertIndex","cn","getChildren","hasChildren","LRE","RLE","PDF","textDir","getTextDir","_checkContextual","fdc","applyTextDir","applyTextDirection","wrapWithUcc","removeUcc","enforceTextDirWithUcc","originalText","restoreOriginalText","origObj","Frames","_frames","_conn"],"mappings":";AAUAA,OAAO,uBAAuB,UAAW,SAAUC,GAC/C,YAEA,IAAIC,GAAMC,EAAIC,EAAIC,EAAIC,EAClBC,GAAW,iBAAkB,oBAAqB,sBAClDC,EAAY,2DACZC,EAAa,uCACbC,EAAkC,mBAAbC,WAA4BA,SAASC,KAC1DC,EAAkBH,GAAeC,SAASG,UAAYH,SAASG,SAASC,QAAQ,KAAM,IACtFC,EAAkBN,GAAeC,SAASM,SAC1CC,EAAcR,IAAgBC,SAASQ,MAAQC,QAC/CC,KACAC,EAAgBrB,EAAOsB,QAAUtB,EAAOsB,YA8W5C,OA5WArB,IACIsB,QAAS,SAETC,MAAO,SAAUC,GAIb,GAAIA,EAAS,CACTA,EAAUA,EAAQX,QAAQP,EAAW,GACrC,IAAImB,GAAUD,EAAQE,MAAMnB,EACxBkB,KACAD,EAAUC,EAAQ,QAGtBD,GAAU,EAEd,OAAOA,IAGXG,SAAU,SAAUH,GAChB,MAAOA,GAAQX,QAAQ,WAAY,QAC9BA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,YAAa,WACrBA,QAAQ,YAAa,YAG9Be,UAAWR,EAAaQ,WAAa,WAEjC,GAAIC,GAAKC,EAAGC,CACZ,IAA8B,mBAAnBC,gBACP,MAAO,IAAIA,eACR,IAA6B,mBAAlBC,eACd,IAAKH,EAAI,EAAO,EAAJA,EAAOA,GAAK,EAAG,CACvBC,EAAS1B,EAAQyB,EACjB,KACID,EAAM,GAAII,eAAcF,GAC1B,MA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D,EAAQF,mBAChBE,GAAQF,kBCpJnBrmD,OAAO,2BACN,UACA,cACE,SAAUsM,EAAKzD,GAKjB,GAAI29C,GAAS,WACZ,GAAI9b,KAEJjgC,MAAKqS,IAAM,WACV,GAAIhK,EAaJ,OAZI43B,GAAMrjC,QACTyL,EAAS43B,EAAM5tB,MACfhK,EAAO1D,MAAMgK,QAAU,KAEvBtG,EAASnJ,SAAS4C,cAAc,UAChCuG,EAAOsf,IAAM,gBACbtf,EAAOjJ,UAAY,sBACnBiJ,EAAO/F,aAAa,OAAQ,gBAG5B+F,EAAOwpC,SAAW,IAEZxpC,GAGRrI,KAAKwE,KAAO,SAAU6D,GACrBA,EAAO1D,MAAMgK,QAAU,OACvBsxB,EAAMz7B,KAAK6D,KAGT2zC,EAAU,GAAID,EAQlB,OAAOl6C,GAAI,MACVoB,YAAa,SAAUzI,GACtB,GAAI4D,EAAI,mBAAoB,CAC3B,GAAIiK,GAAUrI,KAAKqI,OAAS2zC,EAAQ3pC,KACpC7X,GAAKoU,YAAYvG,GACjBA,EAAO1D,MAAMuM,MAAQ,OACrB7I,EAAO1D,MAAMuK,OAAS,SAOxBqD,QAAS,WACJvS,KAAKi8C,QACRj8C,KAAKi8C,MAAMxrC,SACXzQ,KAAKi8C,MAAQ,MAEVj8C,KAAKqI,SACRrI,KAAKqI,OAAOuE,WAAWC,YAAY7M,KAAKqI,QACxC2zC,EAAQx3C,KAAKxE,KAAKqI,cACXrI,MAAKqI"} \ No newline at end of file +{"version":3,"file":"layer.js","sources":["..\\..\\tmp\\requirejs-text\\text.js","..\\..\\tmp\\delite\\uacss.js","..\\..\\tmp\\delite\\theme.js","..\\..\\tmp\\delite\\register.js","..\\..\\tmp\\requirejs-domready\\domReady.js","..\\..\\tmp\\delite\\popup.js","..\\..\\tmp\\delite\\place.js","..\\..\\tmp\\delite\\keys.js","..\\..\\tmp\\delite\\handlebars.js","..\\..\\tmp\\delite\\features.js","..\\..\\tmp\\delite\\activationTracker.js","..\\..\\tmp\\jquery\\src\\attributes\\classes.js","..\\..\\tmp\\jquery\\src\\core\\init.js","..\\..\\tmp\\jquery\\src\\traversing\\findFilter.js","..\\..\\tmp\\jquery\\src\\selector-native.js","..\\..\\tmp\\jquery\\src\\traversing\\var\\rneedsContext.js","..\\..\\tmp\\jquery\\src\\var\\indexOf.js","..\\..\\tmp\\jquery\\src\\var\\arr.js","..\\..\\tmp\\jquery\\src\\core\\var\\rsingleTag.js","..\\..\\tmp\\jquery\\src\\data\\var\\data_priv.js","..\\..\\tmp\\jquery\\src\\data\\Data.js","..\\..\\tmp\\jquery\\src\\data\\accepts.js","..\\..\\tmp\\jquery\\src\\var\\strundefined.js","..\\..\\tmp\\jquery\\src\\var\\rnotwhite.js","..\\..\\tmp\\jquery\\src\\core.js","..\\..\\tmp\\jquery\\src\\var\\support.js","..\\..\\tmp\\jquery\\src\\var\\hasOwn.js","..\\..\\tmp\\jquery\\src\\var\\toString.js","..\\..\\tmp\\jquery\\src\\var\\class2type.js","..\\..\\tmp\\jquery\\src\\var\\push.js","..\\..\\tmp\\jquery\\src\\var\\concat.js","..\\..\\tmp\\jquery\\src\\var\\slice.js","..\\..\\tmp\\delite\\a11yclick.js","..\\..\\tmp\\delite\\a11y.js","..\\..\\tmp\\delite\\Widget.js","..\\..\\tmp\\delite\\Viewport.js","..\\..\\tmp\\delite\\Template.js","..\\..\\tmp\\delite\\StoreMap.js","..\\..\\tmp\\delite\\Store.js","..\\..\\tmp\\delite\\Selection.js","..\\..\\tmp\\delite\\Scrollable.js","..\\..\\tmp\\jquery\\src\\event.js","..\\..\\tmp\\jquery\\src\\event\\support.js","..\\..\\tmp\\jquery\\src\\effects.js","..\\..\\tmp\\jquery\\src\\traversing.js","..\\..\\tmp\\jquery\\src\\deferred.js","..\\..\\tmp\\jquery\\src\\callbacks.js","..\\..\\tmp\\jquery\\src\\queue.js","..\\..\\tmp\\jquery\\src\\effects\\Tween.js","..\\..\\tmp\\jquery\\src\\css\\defaultDisplay.js","..\\..\\tmp\\jquery\\src\\manipulation.js","..\\..\\tmp\\jquery\\src\\data\\var\\data_user.js","..\\..\\tmp\\jquery\\src\\manipulation\\support.js","..\\..\\tmp\\jquery\\src\\manipulation\\var\\rcheckableType.js","..\\..\\tmp\\jquery\\src\\core\\access.js","..\\..\\tmp\\jquery\\src\\css\\var\\isHidden.js","..\\..\\tmp\\jquery\\src\\css\\var\\cssExpand.js","..\\..\\tmp\\jquery\\src\\var\\pnum.js","..\\..\\tmp\\jquery\\src\\css.js","..\\..\\tmp\\jquery\\src\\core\\ready.js","..\\..\\tmp\\jquery\\src\\css\\swap.js","..\\..\\tmp\\jquery\\src\\css\\support.js","..\\..\\tmp\\jquery\\src\\css\\addGetHookIf.js","..\\..\\tmp\\jquery\\src\\css\\curCSS.js","..\\..\\tmp\\jquery\\src\\css\\var\\getStyles.js","..\\..\\tmp\\jquery\\src\\css\\var\\rnumnonpx.js","..\\..\\tmp\\jquery\\src\\css\\var\\rmargin.js","..\\..\\tmp\\delite\\KeyNav.js","..\\..\\tmp\\delite\\HasDropDown.js","..\\..\\tmp\\delite\\FormWidget.js","..\\..\\tmp\\delite\\FormValueWidget.js","..\\..\\tmp\\delite\\DisplayContainer.js","..\\..\\tmp\\delite\\DialogUnderlay.js","..\\..\\tmp\\delite\\CustomElement.js","..\\..\\tmp\\delite\\CssState.js","..\\..\\tmp\\delite\\Container.js","..\\..\\tmp\\delite\\Bidi.js","..\\..\\tmp\\delite\\BackgroundIframe.js"],"names":["define","module","text","fs","Cc","Ci","xpcIsWindows","progIds","xmlRegExp","bodyRegExp","hasLocation","location","href","defaultProtocol","protocol","replace","defaultHostName","hostname","defaultPort","port","undefined","buildMap","masterConfig","config","version","strip","content","matches","match","jsEscape","createXhr","xhr","i","progId","XMLHttpRequest","ActiveXObject","e","parseName","name","modName","ext","temp","index","lastIndexOf","isRelative","indexOf","substring","moduleName","xdRegExp","useXhr","url","uProtocol","uHostName","uPort","exec","split","toLowerCase","finishLoad","onLoad","isBuild","load","req","inlineText","parsed","nonStripName","toUrl","get","err","error","write","pluginName","hasOwnProperty","asModule","writeFile","extPart","fileName","value","textWrite","contents","env","process","versions","node","require","nodeRequire","callback","errback","file","readFileSync","headers","header","open","setRequestHeader","onXhr","onreadystatechange","evt","status","readyState","Error","responseText","onXhrComplete","send","Packages","java","stringBuffer","line","encoding","io","File","lineSeparator","lang","System","getProperty","input","BufferedReader","InputStreamReader","FileInputStream","StringBuffer","readLine","length","charAt","append","String","toString","close","Components","classes","interfaces","utils","inStream","convertStream","fileObj","readData","FileUtils","createInstance","nsIFileInputStream","init","nsIConverterInputStream","available","DEFAULT_REPLACEMENT_CHARACTER","readString","path","has","ie","maj","Math","floor","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","classStr","clz","document","body","className","trim","css","themeMap","getTheme","theme","search","ua","userAgent","RegExp","$1","navigator","this","test","onload","commonCss","id","resources","forEach","buildFunctions","addOnce","loadList","layersMap","map","deps","arguments","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","success","themeDir","dest","themedLoadList","writeLayer","every","bool","destMid","writeConfig","advise","dcl","schedule","domReady","createElement","tag","registry","console","warn","base","doc","element","setAttribute","upgrade","getPropDescriptors","proto","props","k","keys","Object","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","constructor","attach","widget","getAttribute","nodeName","_upgraded","__proto__","prototype","defineProperties","createdCallback","_attached","attachedCallback","detach","detachedCallback","getTagConstructor","_extends","baseElement","baseCtor","registerElement","tagConstructor","params","style","cssText","setClassComponent","deliver","_ctor","selector","selectors","push","initialParseComplete","unobserve","idx","nodes","querySelectorAll","observe","restore","extension","register","superclasses","bases","Array","TypeError","_baseElement","HTMLElement","tags","filter","tagMap","ctor","_tag","around","sup","apply","introspect","_propsToObserve","getProps","introspected","parse","root","join","observer","MutationObserver","processMutations","takeRecords","ret","_mutations","_timer","remove","_listener","event","target","nodeType","mutation","type","bind","addEventListener","disconnect","removeEventListener","childList","subtree","mutations","parseDescendants","added","idx1","addedNodes","ownerDocument","contains","removedRoot","idx2","removedNodes","removed","idx3","removedDescendants","mix","a","b","n","defineProperty","configurable","writable","enumerable","HTMLAnchorElement","HTMLBaseElement","br","HTMLBRElement","button","HTMLButtonElement","canvas","HTMLCanvasElement","div","HTMLDivElement","dl","HTMLDListElement","directory","HTMLDirectoryElement","fieldset","HTMLFieldSetElement","font","HTMLFontElement","form","HTMLFormElement","head","HTMLHeadElement","h1","HTMLHeadingElement","html","HTMLHtmlElement","hr","HTMLHRElement","iframe","HTMLIFrameElement","img","HTMLImageElement","HTMLInputElement","label","HTMLLabelElement","legend","HTMLLegendElement","li","HTMLLIElement","link","HTMLLinkElement","HTMLMapElement","menu","HTMLMenuElement","meta","HTMLMetaElement","ins","HTMLModElement","object","HTMLObjectElement","ol","HTMLOListElement","optgroup","HTMLOptGroupElement","option","HTMLOptionElement","p","HTMLParagraphElement","param","HTMLParamElement","pre","HTMLPreElement","quote","HTMLQuoteElement","script","HTMLScriptElement","select","HTMLSelectElement","HTMLStyleElement","table","HTMLTableElement","caption","HTMLTableCaptionElement","col","HTMLTableColElement","tr","HTMLTableRowElement","tbody","HTMLTableSectionElement","textarea","HTMLTextAreaElement","title","HTMLTitleElement","ul","HTMLUListElement","video","HTMLVideoElement","after","before","superCall","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","isTop","testDiv","isBrowser","window","attachEvent","frameElement","doScroll","external","setInterval","BackgroundIframe","place","Viewport","isDocLtr","dir","documentElement","destroyWrapper","_popupWrapper","parentNode","removeChild","scrollTop","PopupManager","_stack","_beginZIndex","_idGen","on","_repositionAll","_viewportScrollHandler","_checkScroll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","position","dx","x","dy","y","_aroundMoveListener","setTimeout","args","_size","_position","orient","_createWrapper","wrapper","display","appendChild","moveOffScreen","ltr","visibility","top","hide","height","getTopPopup","stack","pi","parent","popup","_prepareToOpen","wrapperClasses","baseClass","cls","zIndex","_popupParent","bgIframe","handlers","onKeyDown","keyCode","ESCAPE","onCancel","stopPropagation","preventDefault","TAB","topPopup","executeHandler","onExecute","stackEntry","create","measureSize","viewport","getEffectiveBox","width","_naturalHeight","offsetHeight","_naturalWidth","offsetWidth","h","w","maxHeight","Infinity","aroundPos","getBoundingClientRect","padding","max","effectiveDir","layoutFunc","at","center","some","elem","pop","onClose","destroy","clearTimeout","_placeAt","choices","layoutNode","aroundNodeCoords","view","tagName","best","choice","corner","pos","overflow","spaceAvailable","L","l","R","M","T","t","B","left","right","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","min","startYpos","startX","startY","endX","endY","side","cs","getComputedStyle","marginTop","marginLeft","reverse","TL","TR","BL","BR","corners","c","anchor","positions","leftToRight","aroundNodePos","border","parseFloat","borderTopWidth","borderBottomWidth","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","parentPos","pcs","bottomYCoord","rightXCoord","rtl","bcr","win","defaultView","pageXOffset","scrollLeft","pageYOffset","BACKSPACE","CLEAR","ENTER","SHIFT","CTRL","ALT","META","PAUSE","CAPS_LOCK","SPACE","PAGE_UP","PAGE_DOWN","END","HOME","LEFT_ARROW","UP_ARROW","RIGHT_ARROW","DOWN_ARROW","INSERT","DELETE","HELP","LEFT_WINDOW","RIGHT_WINDOW","SELECT","NUMPAD_0","NUMPAD_1","NUMPAD_2","NUMPAD_3","NUMPAD_4","NUMPAD_5","NUMPAD_6","NUMPAD_7","NUMPAD_8","NUMPAD_9","NUMPAD_MULTIPLY","NUMPAD_PLUS","NUMPAD_ENTER","NUMPAD_MINUS","NUMPAD_PERIOD","NUMPAD_DIVIDE","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","F13","F14","F15","NUM_LOCK","SCROLL_LOCK","UP_DPAD","DOWN_DPAD","LEFT_DPAD","RIGHT_DPAD","copyKey","Template","Promise","toJs","convertUndefinedToBlank","inVar","parts","str","prop","textPlugin","handlebars","templateNode","xmlns","attachPoints","item","hasAttribute","getElement","attributes","connects","attrs","propName","getProp","children","parseChildren","lastRealNode","child","firstChild","nextSibling","childType","nodeValue","slice","toDom","templateText","parser","DOMParser","parseFromString","container","innerHTML","compile","templateDom","tree","template","func","requireAndCompile","requires","removeAttribute","resolve","mid","loaderConfig","then","add","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","WebKitMutationObserver","listener","sawRoot","sawChild","$","Evented","lastPointerDownTime","lastFocusinTime","lastPointerDownOrFocusInNode","lastPointerDownOrFocusInTime","ActivationTracker","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","Date","getTime","_this","_pointerDownOrFocusHandler","focusHandler","_focusHandler","blurHandler","_blurHandler","now","_clearActiveWidgetsTimer","_setStack","by","newStack","render","disabled","unshift","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","bubbles","singleton","jQuery","rnotwhite","strundefined","data_priv","rclass","fn","extend","addClass","cur","clazz","j","finalValue","proceed","len","isFunction","each","call","removeClass","toggleClass","stateVal","self","classNames","hasClass","set","rsingleTag","rootjQuery","rquickExpr","context","jquery","find","merge","parseHTML","isPlainObject","attr","getElementById","ready","makeArray","rneedsContext","winnow","elements","qualifier","not","grep","risSimple","expr","elems","matchesSelector","pushStack","unique","is","selector_hasDuplicate","docElem","oMatchesSelector","selector_sortOrder","compare","compareDocumentPosition","results","seed","duplicates","sort","splice","textContent","adown","bup","isXMLDoc","attrHandle","needsContext","arr","Data","cache","expando","uid","accepts","acceptData","key","owner","descriptor","unlock","isEmptyObject","access","stored","camelCase","camel","isArray","concat","hasData","discard","class2type","hasOwn","support","isArraylike","obj","isWindow","rtrim","rmsPrefix","rdashAlpha","fcamelCase","all","letter","toUpperCase","toArray","num","prevObject","first","eq","last","end","options","src","copy","copyIsArray","clone","deep","random","isReady","msg","noop","isNumeric","globalEval","code","indirect","eval","string","inArray","second","invert","callbackInverse","callbackExpect","arg","guid","proxy","tmp","clickKey","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","ctrlKey","altKey","shiftKey","metaKey","dispatchEvent","a11y","_isElementShown","s","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","rs","getFirstInTabbingOrder","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","Widget","focused","widgetId","preRender","postRender","computeProperties","_get","getInheritedDir","refreshRendering","oldVals","_templateHandle","refresh","direction","component","oldValProp","setOrRemoveAttribute","initializeInvalidating","notifyCurrentValue","dependencies","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","insertBefore","containerNode","childNodes","attached","chainAfter","getBox","innerWidth","innerHeight","checkForResize","newBox","oldEffectiveSize","checkForScroll","oldEffectiveScroll","poll","resized","scrolled","box","focusedNode","activeElement","readOnly","orientation","screen","propertiesReferenced","reduce","hash","thisVar","rootNodeName","createRootNode","buildText","attachText","detachText","observeText","dependsOn","generateNodeCode","JSON","stringify","Function","generateWatchCode","statement","generateNodeChildrenCode","childName","textNodeName","js","createNode","ap","handler","elementCache","attrMap","attrName","Store","getvalue","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","parseAttribute","_propCaseMap","parseFunctionAttribute","queryStoreAndInitItems","processQueryResult","force","_pendingQuery","mappedKeys","_itemKeys","renderItemToItem","renderItem","idProperty","itemToRenderItem","__item","getIdentity","_setIdentity","remap","items","renderItems","query","initItems","cancelable","_untrack","_attachedlistener","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","_refreshHandler","processCollection","fetch","_queryError","log","tracking","itemRemoved","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","_set","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","newValue","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","scrollHeight","isLeftScroll","isRightScroll","scrollWidth","getCurrentScroll","scrollBy","duration","to","scrollTo","from","_animation","animate","rate","step","complete","stop","returnTrue","returnFalse","safeActiveElement","rkeyEvent","rmouseEvent","rfocusMorph","rtypenamespace","global","types","handleObjIn","eventHandle","events","handleObj","special","namespaces","origType","elemData","handle","triggered","delegateType","bindType","namespace","delegateCount","setup","mappedTypes","origCount","teardown","removeEvent","trigger","onlyHandlers","bubbleType","ontype","eventPath","shift","Event","isTrigger","namespace_re","result","noBubble","parentWindow","isPropagationStopped","isDefaultPrevented","_default","fix","matched","handlerQueue","delegateTarget","preDispatch","currentTarget","isImmediatePropagationStopped","postDispatch","fixHooks","keyHooks","original","which","charCode","mouseHooks","eventDoc","pageX","clientX","clientLeft","pageY","clientY","clientTop","originalEvent","fixHook","focus","blur","click","beforeunload","returnValue","simulate","bubble","isSimulated","timeStamp","stopImmediatePropagation","mouseenter","mouseleave","pointerenter","pointerleave","orig","related","relatedTarget","focusinBubbles","attaches","one","origFn","off","triggerHandler","pnum","cssExpand","isHidden","defaultDisplay","createFxNow","fxNow","genFx","includeWidth","opacity","createTween","animation","tween","tweeners","defaultPrefilter","opts","toggle","hooks","oldfire","checkDisplay","anim","hidden","dataShow","queue","_queueHooks","unqueued","empty","fire","always","overflowX","overflowY","rfxtypes","show","done","start","propFilter","specialEasing","easing","cssHooks","expand","Animation","properties","stopped","animationPrefilters","deferred","Deferred","tick","currentTime","remaining","startTime","percent","tweens","run","notifyWith","resolveWith","promise","originalProperties","originalOptions","Tween","gotoEnd","rejectWith","fx","timer","progress","fail","timerId","rfxnum","rrun","*","unit","cssNumber","scale","maxIterations","tweener","prefilter","prepend","speed","opt","speeds","old","dequeue","fadeTo","optall","doAnimation","finish","clearQueue","stopQueue","timers","cssFn","slideDown","slideUp","slideToggle","fadeIn","fadeOut","fadeToggle","interval","slow","fast","sibling","rparentsprev","guaranteedUnique","next","prev","until","truncate","targets","closest","prevAll","addBack","parents","parentsUntil","nextAll","nextUntil","prevUntil","siblings","tuples","Callbacks","state","fns","newDefer","tuple","returned","reject","notify","pipe","list","stateString","disable","lock","fireWith","when","subordinate","progressValues","progressContexts","resolveContexts","resolveValues","updateFunc","contexts","values","createOptions","optionsCache","_","flag","memory","fired","firing","firingStart","firingLength","firingIndex","once","stopOnFalse","locked","startLength","setter","count","defer","propHooks","eased","cssProps","linear","swing","cos","PI","actualDisplay","appendTo","getDefaultComputedStyle","elemdisplay","rcheckableType","data_user","manipulationTarget","getElementsByTagName","disableScript","restoreScript","rscriptTypeMasked","setGlobalEval","refElements","cloneCopyEvent","pdataOld","pdataCur","udataOld","udataCur","getAll","fixInput","defaultValue","rxhtmlTag","rtagName","rhtml","rnoInnerhtml","rchecked","rscriptType","rcleanScript","wrapMap","thead","td","tfoot","colgroup","th","dataAndEvents","deepDataAndEvents","srcElements","destElements","cloneNode","inPage","noCloneChecked","buildFragment","scripts","selection","wrap","fragment","createDocumentFragment","createTextNode","cleanData","domManip","keepData","replaceWith","hasScripts","iNoClone","checkClone","_evalUrl","prependTo","insertAfter","replaceAll","insert","chainable","emptyGet","raw","bulk","el","source","rmargin","rnumnonpx","getStyles","curCSS","addGetHookIf","vendorPropName","capName","origName","cssPrefixes","setPositiveNumber","subtract","rnumsplit","augmentWidthOrHeight","extra","isBorderBox","styles","val","getWidthOrHeight","valueIsBorderBox","boxSizingReliable","showHide","rdisplayswap","rrelNum","cssShow","cssNormalTransform","letterSpacing","fontWeight","computed","columnCount","fillOpacity","flexGrow","flexShrink","lineHeight","order","orphans","widows","zoom","float","clearCloneStyle","swap","marginRight","reliableMarginRight","margin","prefix","suffix","expanded","completed","readyList","readyWait","holdReady","hold","wait","computePixelPositionAndBoxSizingReliable","divStyle","pixelPositionVal","boxSizingReliableVal","backgroundClip","pixelPosition","marginDiv","conditionFn","hookFn","minWidth","maxWidth","getPropertyValue","opener","takesInput","keycodeToMethod","focusDescendants","navigatedDescendant","descendantSelector","_getTargetElement","_selectorFunc","matchesFuncName","_keynavKeyPressHandler","_keynavKeyDownHandler","_descendantNavigateHandler","_keynavDeactivatedHandler","_keynavFocusHandler","tabIndex","homeKeyHandler","navigateToFirst","endKeyHandler","navigateToLast","navigateTo","getNext","_savedTabIndex","_destroyed","_searchString","multiCharSearchDuration","_keyboardSearchHandler","searchString","numMatches","_keyboardSearchCompare","focusNode","currentString","substr","_searchTimer","_keyboardSearch","_applyKeyHandler","methodName","fromCharCode","keyChar","matchedItem","allSameLetter","searchLen","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","buttonNode","popupStateNode","aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","focusOnPointerOpen","focusOnKeyboardOpen","opened","_dropDownPointerDownHandler","_docHandler","_dropDownPointerUpHandler","toggleDropDown","_currentDropDown","overMenu","handleSlideClick","menuItem","_openDropDownPromise","_focusDropDownOnOpen","hovering","keyboard","_focusDropDownTimer","_dropDownKeyDownHandler","_dropDownKeyUpHandler","_deactivatedHandler","closeDropDown","_previousDropDown","_openOnKeyUp","openDropDown","loadDropDown","dropdown","setChild","canceled","loadDropDownPromise","_cancelPendingDisplay","_originalStyle","retVal","_popupStateNode","widthAdjust","cancel","alt","tabStops","oldValues","forEachFocusNode","valueNode","firstFocusNode","FormWidget","genHandler","eventType","prevValueProp","deferHandleProp","val1","val2","isNaN","_previousOnChangeValue","_previousOnInputValue","handleOnChange","handleOnInput","Container","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","_resizeListener","_open","layout","clientWidth","clientHeight","underlay","_singleton","Observable","Destroyable","Stateful","getObject","part","works","Mixin","_setDirAttr","TestWidget","tw","REGEXP_SHADOW_PROPS","nativeProps","setterMap","_nativePropSetterMap","_nativeAttrs","lcProp","desc","pcm","_processNativeProps","created","_observable","_parsedAttributes","_mapAttributes","pa","MO","records","mr","attributeName","attributeFilter","_parsePrototypeAttr","stringToObject","SyntaxError","message","parsedAttrs","attrsToRemove","parsedAttr","findCustomElements","eventObj","nativeEvent","initEvent","captures","focusin","focusout","capture","adjustedType","getPropsToObserve","getChildrenHelper","outAry","chainBefore","booleanCssProps","srcDom","_srcDom","onAddChild","newChild","refChild","insertIndex","cn","getChildren","hasChildren","LRE","RLE","PDF","textDir","_inheritedDir","getTextDir","_checkContextual","fdc","applyTextDir","applyTextDirection","wrapWithUcc","removeUcc","enforceTextDirWithUcc","originalText","restoreOriginalText","origObj","Frames","_frames"],"mappings":";AAUAA,OAAO,uBAAuB,UAAW,SAAUC,GAC/C,YAEA,IAAIC,GAAMC,EAAIC,EAAIC,EAAIC,EAClBC,GAAW,iBAAkB,oBAAqB,sBAClDC,EAAY,2DACZC,EAAa,uCACbC,EAAkC,mBAAbC,WAA4BA,SAASC,KAC1DC,EAAkBH,GAAeC,SAASG,UAAYH,SAASG,SAASC,QAAQ,KAAM,IACtFC,EAAkBN,GAAeC,SAASM,SAC1CC,EAAcR,IAAgBC,SAASQ,MAAQC,QAC/CC,KACAC,EAAgBrB,EAAOsB,QAAUtB,EAAOsB,YA+W5C,OA7WArB,IACIsB,QAAS,SAETC,MAAO,SAAUC,GAIb,GAAIA,EAAS,CACTA,EAAUA,EAAQX,QAAQP,EAAW,GACrC,IAAImB,GAAUD,EAAQE,MAAMnB,EACxBkB,KACAD,EAAUC,EAAQ,QAGtBD,GAAU,EAEd,OAAOA,IAGXG,SAAU,SAAUH,GAChB,MAAOA,GAAQX,QAAQ,WAAY,QAC9BA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,QAAS,OACjBA,QAAQ,YAAa,WACrBA,QAAQ,YAAa,YAG9Be,UAAWR,EAAaQ,WAAa,WAEjC,GAAIC,GAAKC,EAAGC,CACZ,IAA8B,mB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AAMhrB,MACf1K,EAAO3G,MAAM8N,QAAU,KAEvBnH,EAASlM,SAAS+C,cAAc,UAChCmJ,EAAO4f,IAAM,gBACb5f,EAAOhM,UAAY,sBACnBgM,EAAO3I,aAAa,OAAQ,gBAG5B2I,EAAOsnC,SAAW,IAEZtnC,GAGRpL,KAAKgF,KAAO,SAAUoG,GACrBA,EAAO3G,MAAM8N,QAAU,OACvBuuB,EAAM97B,KAAKoG,KAGT6yC,EAAU,GAAID,EAQlB,OAAOl8C,GAAI,MACVsB,YAAa,SAAU5I,GACtB,GAAI4D,EAAI,mBAAoB,CAC3B,GAAIgN,GAAUpL,KAAKoL,OAAS6yC,EAAQnoC,KACpCtb,GAAKgY,YAAYpH,GACjBA,EAAO3G,MAAMkQ,MAAQ,OACrBvJ,EAAO3G,MAAMqO,OAAS,SAOxBkD,QAAS,WACJhW,KAAKoL,SACRpL,KAAKoL,OAAOuF,WAAWC,YAAY5Q,KAAKoL,QACxC6yC,EAAQj5C,KAAKhF,KAAKoL,cACXpL,MAAKoL"} \ No newline at end of file diff --git a/samples/ExampleWidget.html b/samples/ExampleWidget.html index 160e1fc..c7b9c8a 100644 --- a/samples/ExampleWidget.html +++ b/samples/ExampleWidget.html @@ -25,13 +25,9 @@ } } },[ - "delite/register", "delite/samples/ExampleWidget", - "delite/theme!delite/themes/{{theme}}/global.css", // page level CSS - "requirejs-domready/domReady!" - ], function (register) { - register.parse(); - }); + "delite/theme!delite/themes/{{theme}}/global.css" // page level CSS + ]); diff --git a/samples/ExampleWidget.js b/samples/ExampleWidget.js index c9c8025..ac9193d 100644 --- a/samples/ExampleWidget.js +++ b/samples/ExampleWidget.js @@ -6,10 +6,12 @@ define([ "requirejs-dplugins/has!bidi?delite/theme!./ExampleWidget/themes/{{theme}}/ExampleWidget_rtl.css" ], function (register, CssState, template) { + /** + * Example widget for testing and as template for new widgets. + * @class module:delite/samples/ExampleWidget + * @augments module:delite/CssState + */ return register("d-example", [HTMLElement, CssState], { - // summary: - // Example widget for testing and as template for new widgets. - template: template, baseClass: "d-example-widget" diff --git a/themes/layer_bootstrap.css b/themes/layer_bootstrap.css index 3d12d09..7877fb1 100644 --- a/themes/layer_bootstrap.css +++ b/themes/layer_bootstrap.css @@ -1 +1 @@ -.d-disabled,.d-disabled *,.d-readonly,.d-readonly *{cursor:default}.d-reset{margin:0;border:0;padding:0;font:inherit;line-height:normal;color:inherit}.d-inline{display:inline-block;border:0;padding:0;vertical-align:middle}.d-hidden,[d-hidden=true],[d-shown=false]{display:none!important}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden!important}.d-popup{position:absolute;background-color:#fff;margin:0;border:0;padding:0;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25);-moz-box-shadow:0 1px 5px rgba(0,0,0,.25);box-shadow:0 1px 5px rgba(0,0,0,.25);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.d-popup>*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;height:inherit;width:inherit}.d-tooltip-dialog-popup{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:focus,a:hover{color:#2a6496;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.d-scrollable{display:block;-webkit-overflow-scrolling:touch}.d-scrollable-h{overflow-x:auto}.d-scrollable-v{overflow-y:auto}.d-dialog-underlay{display:block;position:fixed;left:0;top:0;z-index:998;background:#fff;opacity:.5} \ No newline at end of file +.d-popup,.d-reset{margin:0;border:0;padding:0}.d-disabled,.d-disabled *,.d-readonly,.d-readonly *{cursor:default}.d-reset{font:inherit;line-height:normal;color:inherit}.d-inline{display:inline-block;border:0;padding:0;vertical-align:middle}.d-hidden,[d-hidden=true],[d-shown=false]{display:none!important}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden!important}.d-popup{position:absolute;background-color:#fff;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.25);-moz-box-shadow:0 1px 5px rgba(0,0,0,.25);box-shadow:0 1px 5px rgba(0,0,0,.25);box-sizing:border-box}.d-popup,.d-popup>*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box}.d-popup>*{box-sizing:border-box;height:inherit;width:inherit}.d-tooltip-dialog-popup{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}html{font-size:62.5%;-webkit-tap-highlight-color:transparent}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.428571429;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#428bca;text-decoration:none}a:focus,a:hover{color:#2a6496;text-decoration:underline}a:focus{outline:dotted thin;outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.d-scrollable{display:block;-webkit-overflow-scrolling:touch}.d-scrollable-h{overflow-x:auto}.d-scrollable-v{overflow-y:auto}.d-dialog-underlay{display:block;position:fixed;left:0;top:0;z-index:998;background:#fff;opacity:.5} \ No newline at end of file