diff --git a/README.md b/README.md index b1c6f7f..d17389e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,43 @@ Build version of [ibm-js/delite](https://github.com/ibm-js/delite). ## Status No official release yet. - + +## Installation + +_Bower_ release installation: + + $ bower install delite-build + +_Manual_ master installation: + + $ git clone git://github.com/ibm-js/delite-build.git + +Then install dependencies with bower (or manually from github if you prefer to): + + $ cd delite-build + $ bower install + + +## 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"`. + +For example, this: +``` +require(["app/main", "delite/foo"], function() { + ... +}); +``` +Becomes: +``` +require(["delite-build/layer"], function() { + require(["app/main", "delite/foo"], function() { + ... + }); +}); +``` + ## Licensing This project is distributed by the Dojo Foundation and licensed under the ["New" BSD License](./LICENSE). diff --git a/boot.js b/boot.js deleted file mode 100644 index 8417b65..0000000 --- a/boot.js +++ /dev/null @@ -1,17 +0,0 @@ -require.config({ - "packages": [ - { - "name": "delite", - "location": "delite-build" - }, - { - "name": "decor", - "location": "decor-build" - }, - { - "name": "dpointer", - "location": "dpointer-build" - } - ] -}); -define(["delite/layer","decor/boot","dpointer/boot"], function(){}); \ No newline at end of file diff --git a/bower.json b/bower.json index 414acd8..3cb57bf 100644 --- a/bower.json +++ b/bower.json @@ -1,16 +1,13 @@ { "name": "delite-build", - "version": "0.3.0", + "version": "0.4.0", "dependencies": { - "dojo": ">=1.9.1", "requirejs": "2.1.x", - "requirejs-domready": "2.0.x", - "requirejs-text": "2.0.x", - "decor-build": "0.2.1", + "decor-build": "0.3.x", "dpointer-build": "0.3.x" }, "devDependencies": { - "delite": "0.3.0" + "delite": "0.4.0" }, "ignore": [ ".jshintrc", diff --git a/layer.js b/layer.js index 1912703..e6f382f 100644 --- a/layer.js +++ b/layer.js @@ -1,6 +1,22 @@ 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.12",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.indexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1,a.length)):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");0===e.indexOf("")&&(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("dojo/dom-geometry",["./sniff","./_base/window","./dom","./dom-style"],function(a,b,c,d){function e(a,b,c,d,e,f){f=f||"px";var g=a.style;isNaN(b)||(g.left=b+f),isNaN(c)||(g.top=c+f),d>=0&&(g.width=d+f),e>=0&&(g.height=e+f)}function f(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function g(a){return"border-box"==h.boxModel||"table"==a.tagName.toLowerCase()||f(a)}var h={};h.boxModel="content-box",a("ie")&&(h.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),h.getPadExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.paddingLeft),h=f(a,e.paddingTop),i=f(a,e.paddingRight),j=f(a,e.paddingBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}};var i="none";h.getBorderExtents=function(a,b){a=c.byId(a);var e=d.toPixelValue,f=b||d.getComputedStyle(a),g=f.borderLeftStyle!=i?e(a,f.borderLeftWidth):0,h=f.borderTopStyle!=i?e(a,f.borderTopWidth):0,j=f.borderRightStyle!=i?e(a,f.borderRightWidth):0,k=f.borderBottomStyle!=i?e(a,f.borderBottomWidth):0;return{l:g,t:h,r:j,b:k,w:g+j,h:h+k}},h.getPadBorderExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=h.getPadExtents(a,e),g=h.getBorderExtents(a,e);return{l:f.l+g.l,t:f.t+g.t,r:f.r+g.r,b:f.b+g.b,w:f.w+g.w,h:f.h+g.h}},h.getMarginExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.marginLeft),h=f(a,e.marginTop),i=f(a,e.marginRight),j=f(a,e.marginBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}},h.getMarginBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),j=h.getMarginExtents(b,g),k=b.offsetLeft-j.l,l=b.offsetTop-j.t,m=b.parentNode,n=d.toPixelValue;if(a("mozilla")){var o=parseFloat(g.left),p=parseFloat(g.top);isNaN(o)||isNaN(p)?m&&m.style&&(f=d.getComputedStyle(m),"visible"!=f.overflow&&(k+=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l+=f.borderTopStyle!=i?n(b,f.borderTopWidth):0)):(k=o,l=p)}else(a("opera")||8==a("ie")&&!a("quirks"))&&m&&(f=d.getComputedStyle(m),k-=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l-=f.borderTopStyle!=i?n(b,f.borderTopWidth):0);return{l:k,t:l,w:b.offsetWidth+j.w,h:b.offsetHeight+j.h}},h.getContentBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),i=b.clientWidth,j=h.getPadExtents(b,g),k=h.getBorderExtents(b,g);return i?(f=b.clientHeight,k.w=k.h=0):(i=b.offsetWidth,f=b.offsetHeight),a("opera")&&(j.l+=k.l,j.t+=k.t),{l:j.l,t:j.t,w:i-j.w-k.w,h:f-j.h-k.h}},h.setContentSize=function(a,b,d){a=c.byId(a);var f=b.w,i=b.h;if(g(a)){var j=h.getPadBorderExtents(a,d);f>=0&&(f+=j.w),i>=0&&(i+=j.h)}e(a,0/0,0/0,f,i)};var j={l:0,t:0,w:0,h:0};return h.setMarginBox=function(b,i,k){b=c.byId(b);var l=k||d.getComputedStyle(b),m=i.w,n=i.h,o=g(b)?j:h.getPadBorderExtents(b,l),p=h.getMarginExtents(b,l);if(a("webkit")&&f(b)){var q=b.style;m>=0&&!q.width&&(q.width="4px"),n>=0&&!q.height&&(q.height="4px")}m>=0&&(m=Math.max(m-o.w-p.w,0)),n>=0&&(n=Math.max(n-o.h-p.h,0)),e(b,i.l,i.t,m,n)},h.isBodyLtr=function(a){return a=a||b.doc,"ltr"==(b.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()},h.docScroll=function(c){c=c||b.doc;var d=b.doc.parentWindow||b.doc.defaultView;return"pageXOffset"in d?{x:d.pageXOffset,y:d.pageYOffset}:(d=a("quirks")?b.body(c):c.documentElement)&&{x:h.fixIeBiDiScrollLeft(d.scrollLeft||0,c),y:d.scrollTop||0}},a("ie")&&(h.getIeDocumentElementOffset=function(c){c=c||b.doc;var d=c.documentElement;if(a("ie")<8){var e=d.getBoundingClientRect(),f=e.left,g=e.top;return a("ie")<7&&(f+=d.clientLeft,g+=d.clientTop),{x:0>f?0:f,y:0>g?0:g}}return{x:0,y:0}}),h.fixIeBiDiScrollLeft=function(c,d){d=d||b.doc;var e=a("ie");if(e&&!h.isBodyLtr(d)){var f=a("quirks"),g=f?b.body(d):d.documentElement,i=b.global;return 6==e&&!f&&i.frameElement&&g.scrollHeight>g.clientHeight&&(c+=g.clientLeft),8>e||f?c+g.clientWidth-g.scrollWidth:-c}return c},h.position=function(d,e){d=c.byId(d);var f=b.body(d.ownerDocument),g=d.getBoundingClientRect();if(g={x:g.left,y:g.top,w:g.right-g.left,h:g.bottom-g.top},a("ie")<9){var i=h.getIeDocumentElementOffset(d.ownerDocument);g.x-=i.x+(a("quirks")?f.clientLeft+f.offsetLeft:0),g.y-=i.y+(a("quirks")?f.clientTop+f.offsetTop:0)}if(e){var j=h.docScroll(d.ownerDocument);g.x+=j.x,g.y+=j.y}return g},h.getMarginSize=function(a,b){a=c.byId(a);var e=h.getMarginExtents(a,b||d.getComputedStyle(a)),f=a.getBoundingClientRect();return{w:f.right-f.left+e.w,h:f.bottom-f.top+e.h}},h.normalizeEvent=function(b){if("layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY),!a("dom-addeventlistener")){var c=b.target,d=c&&c.ownerDocument||document,e=a("quirks")?d.body:d.documentElement,f=h.getIeDocumentElementOffset(d);b.pageX=b.clientX+h.fixIeBiDiScrollLeft(e.scrollLeft||0,d)-f.x,b.pageY=b.clientY+(e.scrollTop||0)-f.y}},h}),define("dojo/dom-style",["./sniff","./dom"],function(a,b){function c(b,c,d){if(c=c.toLowerCase(),a("ie")||a("trident")){if("auto"==d){if("height"==c)return b.offsetHeight;if("width"==c)return b.offsetWidth}if("fontweight"==c)switch(d){case 700:return"bold";case 400:default:return"normal"}}return c in k||(k[c]=l.test(c)),k[c]?f(b,d):d}var d,e={};d=a("webkit")?function(a){var b;if(1==a.nodeType){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null),!b&&a.style&&(a.style.display="",b=c.getComputedStyle(a,null))}return b||{}}:a("ie")&&(a("ie")<9||a("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}},e.getComputedStyle=d;var f;f=a("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=a.currentStyle,f=c.left,g=d.left;d.left=e.left;try{c.left=b,b=c.pixelLeft}catch(h){b=0}return c.left=f,d.left=g,b}:function(a,b){return parseFloat(b)||0},e.toPixelValue=f;var g="DXImageTransform.Microsoft.Alpha",h=function(a,b){try{return a.filters.item(g)}catch(c){return b?{}:null}},i=a("ie")<9||a("ie")<10&&a("quirks")?function(a){try{return h(a).Opacity/100}catch(b){return 1}}:function(a){return d(a).opacity},j=a("ie")<9||a("ie")<10&&a("quirks")?function(a,b){""===b&&(b=1);var c=100*b,d=1===b;if(d?(a.style.zoom="",h(a)&&(a.style.filter=a.style.filter.replace(new RegExp("\\s*progid:"+g+"\\([^\\)]+?\\)","i"),""))):(a.style.zoom=1,h(a)?h(a,1).Opacity=c:a.style.filter+=" progid:"+g+"(Opacity="+c+")",h(a,1).Enabled=!0),"tr"==a.tagName.toLowerCase())for(var e=a.firstChild;e;e=e.nextSibling)"td"==e.tagName.toLowerCase()&&j(e,b);return b}:function(a,b){return a.style.opacity=b},k={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,m={cssFloat:1,styleFloat:1,"float":1};return e.get=function(a,d){var f=b.byId(a),g=arguments.length,h="opacity"==d;if(2==g&&h)return i(f);d=m[d]?"cssFloat"in f.style?"cssFloat":"styleFloat":d;var j=e.getComputedStyle(f);return 1==g?j:c(f,d,j[d]||f.style[d])},e.set=function(a,c,d){var f=b.byId(a),g=arguments.length,h="opacity"==c;if(c=m[c]?"cssFloat"in f.style?"cssFloat":"styleFloat":c,3==g)return h?j(f,d):f.style[c]=d;for(var i in c)e.set(a,i,c[i]);return e.getComputedStyle(f)},e}),define("dojo/dom",["./sniff","./_base/window"],function(a,b){if(a("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var d={};d.byId=a("ie")?function(a,c){if("string"!=typeof a)return a;var d=c||b.doc,e=a&&d.getElementById(a);if(e&&(e.attributes.id.value==a||e.id==a))return e;var f=d.all[a];(!f||f.nodeName)&&(f=[f]);for(var g=0;e=f[g++];)if(e.attributes&&e.attributes.id&&e.attributes.id.value==a||e.id==a)return e}:function(a,c){return("string"==typeof a?(c||b.doc).getElementById(a):a)||null},d.isDescendant=function(a,b){try{for(a=d.byId(a),b=d.byId(b);a;){if(a==b)return!0;a=a.parentNode}}catch(c){}return!1},a.add("css-user-select",function(a,b,c){if(!c)return!1;var d=c.style,e=["Khtml","O","Moz","Webkit"],f=e.length,g="userSelect";do if("undefined"!=typeof d[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var e=a("css-user-select");return d.setSelectable=e?function(a,b){d.byId(a).style[e]=b?"":"none"}:function(a,b){a=d.byId(a);var c=a.getElementsByTagName("*"),e=c.length;if(b)for(a.removeAttribute("unselectable");e--;)c[e].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");e--;)c[e].setAttribute("unselectable","on")},d}),define("dojo/_base/window",["./kernel","./lang","../sniff"],function(a,b,c){var d={global:a.global,doc:a.global.document||null,body:function(b){return b=b||a.doc,b.body||b.getElementsByTagName("body")[0]},setContext:function(b,c){a.global=d.global=b,a.doc=d.doc=c},withGlobal:function(b,c,e,f){var g=a.global;try{return a.global=d.global=b,d.withDoc.call(null,b.document,c,e,f)}finally{a.global=d.global=g}},withDoc:function(b,e,f,g){var h,i,j,k=d.doc,l=c("quirks"),m=c("ie");try{return a.doc=d.doc=b,a.isQuirks=c.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),c("ie")&&(j=b.parentWindow)&&j.navigator&&(h=parseFloat(j.navigator.appVersion.split("MSIE ")[1])||void 0,i=b.documentMode,i&&5!=i&&Math.floor(h)!=i&&(h=i),a.isIE=c.add("ie",h,!0,!0)),f&&"string"==typeof e&&(e=f[e]),e.apply(f,g||[])}finally{a.doc=d.doc=k,a.isQuirks=c.add("quirks",l,!0,!0),a.isIE=c.add("ie",m,!0,!0)}}};return c("extend-dojo")&&b.mixin(a,d),d}),define("dojo/_base/lang",["./kernel","../has","../sniff"],function(a,b){b.add("bug-for-in-skips-shadowed",function(){for(var a in{toString:1})return 0;return 1});var c=b("bug-for-in-skips-shadowed")?"hasOwnProperty.valueOf.isPrototypeOf.propertyIsEnumerable.toLocaleString.toString.constructor".split("."):[],d=c.length,e=function(b,c,d){d||(d=b[0]&&a.scopeMap[b[0]]?a.scopeMap[b.shift()][1]:a.global);try{for(var e=0;ei;++i)g=c[i],h=e[g],g in a&&(a[g]===h||g in j&&j[g]===h)||(a[g]=f?f(h):h);return a},mixin:function(a){a||(a={});for(var b=1,c=arguments.length;c>b;b++)i._mixin(a,arguments[b]);return a},setObject:function(a,b,c){var d=a.split("."),f=d.pop(),g=e(d,!0,c);return g&&f?g[f]=b:void 0},getObject:function(a,b,c){return e(a?a.split("."):[],b,c)},exists:function(a,b){return void 0!==i.getObject(a,!1,b)},isString:function(a){return"string"==typeof a||a instanceof String},isArray:function(a){return a&&(a instanceof Array||"array"==typeof a)},isFunction:function(a){return"[object Function]"===f.call(a)},isObject:function(a){return void 0!==a&&(null===a||"object"==typeof a||i.isArray(a)||i.isFunction(a))},isArrayLike:function(a){return!(!a||void 0===a||i.isString(a)||i.isFunction(a)||a.tagName&&"form"==a.tagName.toLowerCase()||!i.isArray(a)&&!isFinite(a.length))},isAlien:function(a){return a&&!i.isFunction(a)&&/\{\s*\[native code\]\s*\}/.test(String(a))},extend:function(a){for(var b=1,c=arguments.length;c>b;b++)i._mixin(a.prototype,arguments[b]);return a},_hitchArgs:function(b,c){var d=i._toArray(arguments,2),e=i.isString(c);return function(){var f=i._toArray(arguments),g=e?(b||a.global)[c]:c;return g&&g.apply(b||this,d.concat(f))}},hitch:function(b,c){if(arguments.length>2)return i._hitchArgs.apply(a,arguments);if(c||(c=b,b=null),i.isString(c)){if(b=b||a.global,!b[c])throw['lang.hitch: scope["',c,'"] is null (scope="',b,'")'].join("");return function(){return b[c].apply(b,arguments||[])}}return b?function(){return c.apply(b,arguments||[])}:c},delegate:function(){function a(){}return function(b,c){a.prototype=b;var d=new a;return a.prototype=null,c&&i._mixin(d,c),d}}(),_toArray:b("ie")?function(){function a(a,b,c){for(var d=c||[],e=b||0;ec;++c)c in a&&b.push(i.clone(a[c]));else b=a.constructor?new a.constructor:{};return i._mixin(b,a,i.clone)},trim:String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s\s*/,"").replace(/\s\s*$/,"")},replace:function(a,b,c){return a.replace(c||h,i.isFunction(b)?b:function(a,c){return i.getObject(c,!1,b)})}};return b("extend-dojo")&&i.mixin(a,i),i}),define("dojo/has",["require","module"],function(a,b){var c=a.has||function(){};if(!c("dojo-has-api")){var d="undefined"!=typeof window&&"undefined"!=typeof location&&"undefined"!=typeof document&&window.location==location&&window.document==document,e=function(){return this}(),f=d&&document,g=f&&f.createElement("DiV"),h=b.config&&b.config()||{};c=function(a){return"function"==typeof h[a]?h[a]=h[a](e,f,g):h[a]},c.cache=h,c.add=function(a,b,d,e){return("undefined"==typeof h[a]||e)&&(h[a]=b),d&&c(a)},c.add("host-browser",d),c.add("host-node","object"==typeof process&&process.versions&&process.versions.node&&process.versions.v8),c.add("host-rhino","function"==typeof load&&("function"==typeof Packages||"object"==typeof Packages)),c.add("dom",d),c.add("dojo-dom-ready-api",1),c.add("dojo-sniff",1)}if(c("host-browser")){c.add("dom-addeventlistener",!!document.addEventListener),c.add("touch","ontouchstart"in document||"onpointerdown"in document&&navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints),c.add("touch-events","ontouchstart"in document),c.add("pointer-events","onpointerdown"in document),c.add("MSPointer","msMaxTouchPoints"in navigator),c.add("device-width",screen.availWidth||innerWidth);var i=document.createElement("form");c.add("dom-attributes-explicit",0==i.attributes.length),c.add("dom-attributes-specified-flag",i.attributes.length>0&&i.attributes.length<40)}return c.clearElement=function(a){return a.innerHTML="",a},c.normalize=function(a,b){var d=a.match(/[\?:]|[^:\?]*/g),e=0,f=function(a){var b=d[e++];return":"==b?0:"?"==d[e++]?!a&&c(b)?f():(f(!0),f(a)):b||0};return a=f(),a&&b(a)},c.load=function(a,b,c){a?b([a],c):c()},c}),define("dojo/_base/kernel",["../has","./config","require","module"],function(a,b,c,d){var e,f,g,h=function(){return this}(),i={},j={},k={config:b,global:h,dijit:i,dojox:j},l={dojo:["dojo",k],dijit:["dijit",i],dojox:["dojox",j]},m=c.map&&c.map[d.id.match(/[^\/]+/)[0]];for(f in m)l[f]?l[f][0]=m[f]:l[f]=[m[f],{}];for(f in l)g=l[f],g[1]._scopeName=g[0],b.noGlobals||(h[g[0]]=g[1]);k.scopeMap=l,k.baseUrl=k.config.baseUrl=c.baseUrl,k.isAsync=!a("dojo-loader")||c.async,k.locale=b.locale;var n="$Rev: 2bde291 $".match(/[0-9a-f]{7,}/);if(k.version={major:1,minor:10,patch:1,flag:"",revision:n?n[0]:0/0,toString:function(){var a=k.version;return a.major+"."+a.minor+"."+a.patch+a.flag+" ("+a.revision+")"}},a.add("extend-dojo",1),Function("d","d.eval = function(){return d.global.eval ? d.global.eval(arguments[0]) : eval(arguments[0]);}")(k),k.exit=a("host-rhino")?function(a){quit(a)}:function(){},a.add("dojo-guarantee-console",1),a("dojo-guarantee-console")){"undefined"!=typeof console||(console={});var o,p=["assert","count","debug","dir","dirxml","error","group","groupEnd","info","profile","profileEnd","time","timeEnd","trace","warn","log"];for(e=0;o=p[e++];)console[o]||!function(){var a=o+"";console[a]="log"in console?function(){var b=Array.prototype.slice.call(arguments);b.unshift(a+":"),console.log(b.join(" "))}:function(){},console[a]._fake=!0}()}if(a.add("dojo-debug-messages",!!b.isDebug),k.deprecated=k.experimental=function(){},a("dojo-debug-messages")&&(k.deprecated=function(a,b,c){var d="DEPRECATED: "+a;b&&(d+=" "+b),c&&(d+=" -- will be removed in version: "+c),console.warn(d)},k.experimental=function(a,b){var c="EXPERIMENTAL: "+a+" -- APIs subject to change without notice.";b&&(c+=" "+b),console.warn(c)}),a.add("dojo-modulePaths",1),a("dojo-modulePaths")&&b.modulePaths){k.deprecated("dojo.modulePaths","use paths configuration");var q={};for(f in b.modulePaths)q[f.replace(/\./g,"/")]=b.modulePaths[f];c({paths:q})}return a.add("dojo-moduleUrl",1),a("dojo-moduleUrl")&&(k.moduleUrl=function(a,b){k.deprecated("dojo.moduleUrl()","use require.toUrl","2.0");var d=null;return a&&(d=c.toUrl(a.replace(/\./g,"/")+(b?"/"+b:"")+"/*.*").replace(/\/\*\.\*/,"")+(b?"":"/")),d}),k._hasResource={},k}),define("dojo/_base/config",["../has","require"],function(a,b){var c={};if(a("dojo-config-api")){var d,e=b.rawConfig;for(d in e)c[d]=e[d]}else{var f=function(b,c,e){for(d in b)"has"!=d&&a.add(c+d,b[d],0,e)},g=function(){return this}();c=a("dojo-loader")?b.rawConfig:g.dojoConfig||g.djConfig||{},f(c,"config",1),f(c.has,"",1)}if(!c.locale&&"undefined"!=typeof navigator){var h=navigator.language||navigator.userLanguage;h&&(c.locale=h.toLowerCase())}return c}),define("dojo/sniff",["./has"],function(a){if(a("host-browser")){var b=navigator,c=b.userAgent,d=b.appVersion,e=parseFloat(d);if(a.add("air",c.indexOf("AdobeAIR")>=0),a.add("msapp",parseFloat(c.split("MSAppHost/")[1])||void 0),a.add("khtml",d.indexOf("Konqueror")>=0?e:void 0),a.add("webkit",parseFloat(c.split("WebKit/")[1])||void 0),a.add("chrome",parseFloat(c.split("Chrome/")[1])||void 0),a.add("safari",d.indexOf("Safari")>=0&&!a("chrome")?parseFloat(d.split("Version/")[1]):void 0),a.add("mac",d.indexOf("Macintosh")>=0),a.add("quirks","BackCompat"==document.compatMode),c.match(/(iPhone|iPod|iPad)/)){var f=RegExp.$1.replace(/P/,"p"),g=c.match(/OS ([\d_]+)/)?RegExp.$1:"1",h=parseFloat(g.replace(/_/,".").replace(/_/g,""));a.add(f,h),a.add("ios",h)}if(a.add("android",parseFloat(c.split("Android ")[1])||void 0),a.add("bb",(c.indexOf("BlackBerry")>=0||c.indexOf("BB10")>=0)&&parseFloat(c.split("Version/")[1])||void 0),a.add("trident",parseFloat(d.split("Trident/")[1])||void 0),a.add("svg","undefined"!=typeof SVGAngle),!a("webkit")){if(c.indexOf("Opera")>=0&&a.add("opera",e>=9.8?parseFloat(c.split("Version/")[1])||e:e),c.indexOf("Gecko")>=0&&!a("khtml")&&!a("webkit")&&!a("trident")&&a.add("mozilla",e),a("mozilla")&&a.add("ff",parseFloat(c.split("Firefox/")[1]||c.split("Minefield/")[1])||void 0),document.all&&!a("opera")){var i=parseFloat(d.split("MSIE ")[1])||void 0,j=document.documentMode;j&&5!=j&&Math.floor(i)!=j&&(i=j),a.add("ie",i)}a.add("wii","undefined"!=typeof opera&&opera.wiiremote)}}return a}),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/typematic",[],function(){var a={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(this._fireEventAndReload.bind(this),this._currentTimeout)},trigger:function(a,b,c,d,e,f,g,h){if(e!==this._obj){this.stop(),this._initialDelay=g||500,this._subsequentDelay=f||.9,this._minDelay=h||10,this._obj=e,this._node=c,this._currentTimeout=-1,this._count=-1,this._callback=d.bind(b),this._evt={faux:!0};for(var i in a)if("layerX"!==i&&"layerY"!==i){var j=a[i];"function"!=typeof j&&"undefined"!=typeof j&&(this._evt[i]=j)}this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null),this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(b,c,d,e,f,g,h){var i="keyCode"in c?"keydown":"keypress",j="keyCode"in c?"keyCode":"charCode",k=[d.on(i,function(i){i[j]!==c[j]||void 0!==c.ctrlKey&&c.ctrlKey!==i.ctrlKey||void 0!==c.altKey&&c.altKey!==i.altKey||void 0!==c.metaKey&&c.metaKey!==i.metaKey||void 0!==c.shiftKey&&c.shiftKey!==i.shiftKey?a._obj===c&&a.stop():(i.stopPropagation(),i.preventDefault(),a.trigger(i,d,b,e,c,f,g,h))},b),d.on("keyup",function(){a._obj===c&&a.stop()},b)];return{remove:function(){k.forEach(function(a){a.remove()})}}},addMouseListener:function(b,c,d,e,f,g){var h=[c.on("mousedown",function(h){h.preventDefault(),a.trigger(h,c,b,d,b,e,f,g)},b),c.on("mouseup",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("mouseout",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("dblclick",function(a){a.preventDefault()},b)];return{remove:function(){h.forEach(function(a){a.remove()})}}},addListener:function(a,b,c,d,e,f,g,h){var i=[this.addKeyListener(b,c,d,e,f,g,h),this.addMouseListener(a,d,e,f,g,h)];return{remove:function(){i.forEach(function(a){a.remove()})}}}};return a}),define("delite/theme",["require","requirejs-dplugins/has","module","./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].widget;b--);return a[b]},open:function(a){for(var i=this._stack,j=a.popup,k=a.orient||["below","below-alt","above","above-alt"],l=a.parent?a.parent.isLeftToRight():h(j.ownerDocument),m=a.around,n=a.around&&a.around.id?a.around.id+"_dropdown":"popup_"+this._idGen++;i.length&&(!a.parent||!i[i.length-1].widget.contains(a.parent));)this.close(i[i.length-1].widget); -var o=this.moveOffScreen(j);j.startup&&!j._started&&j.startup();var p;if("maxHeight"in a&&-1!==a.maxHeight)p=a.maxHeight||1/0;else{var q=g.getEffectiveBox(j.ownerDocument),r=m?m.getBoundingClientRect():{top:a.y-(a.padding||0),height:2*(a.padding||0)};p=Math.floor(Math.max(r.top,q.h-(r.top+r.height)))}j.offsetHeight>p&&(o.style.height=p+"px"),b.mix(o,{id:n,className:"d-popup "+(j.baseClass||j["class"]||"").split(" ")[0]+"Popup"}),o.style.zIndex=this._beginZIndex+i.length,o._popupParent=a.parent?a.parent:null,0===i.length&&m&&(this._firstAroundNode=m,this._firstAroundPosition=e.position(m),this._aroundMoveListener=setTimeout(this._repositionAll.bind(this),50)),c("config-bgIframe")&&!j.bgIframe&&(j.bgIframe=new f(o));var s=j.orient?j.orient.bind(j):null,t=m?e.around(o,m,k,l,s):e.at(o,a,"R"===k?["TR","BR","TL","BL"]:["TL","BL","TR","BR"],a.padding,s);o.style.visibility="visible",j.style.visibility="visible";var u=[],v=function(b){if(b.keyCode===d.ESCAPE&&a.onCancel)b.stopPropagation(),b.preventDefault(),a.onCancel();else if(b.keyCode===d.TAB){b.stopPropagation(),b.preventDefault();var c=this.getTopPopup();c.onCancel()}}.bind(this);o.addEventListener("keydown",v),u.push({remove:function(){o.removeEventListener("keydown",v)}}),a.onCancel&&u.push(j.on("cancel",a.onCancel));var w=function(){var a=this.getTopPopup();a.onExecute()}.bind(this);return u.push(j.on("change",w),j.on("execute",w)),i.push({widget:j,wrapper:o,parent:a.parent,onExecute:a.onExecute,onCancel:a.onCancel,onClose:a.onClose,handlers:u}),j.onOpen&&j.onOpen(t),t},close:function(a){for(var b=this._stack;a&&b.some(function(b){return b.widget===a})||!a&&b.length;){var c=b.pop(),d=c.widget,e=c.onClose;d.bgIframe&&(d.bgIframe.destroy(),delete d.bgIframe),d.onClose&&d.onClose();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);b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var g=null;c.some(function(a){var c=a.corner,h=a.pos,i=0,j={w:{L:f.l+f.w-h.x,R:h.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-h.y,B:h.y-f.t,M:f.h}[c.charAt(0)]},k=b.style;if(k.left=k.right="auto",d){var l=d(b,a.aroundCorner,c,j,e);i="undefined"==typeof l?0:l}var m=b.style,n=m.display,o=m.visibility;"none"===m.display&&(m.visibility="hidden",m.display="");var p=b.getBoundingClientRect();m.display=n,m.visibility=o;var q={L:h.x,R:h.x-p.width,M:Math.max(f.l,Math.min(f.l+f.w,h.x+(p.width>>1))-p.width)}[c.charAt(1)],r={T:h.y,B:h.y-p.height,M:Math.max(f.t,Math.min(f.t+f.h,h.y+(p.height>>1))-p.height)}[c.charAt(0)],s=Math.max(f.l,q),t=Math.max(f.t,r),u=Math.min(f.l+f.w,q+p.width),v=Math.min(f.t+f.h,r+p.height),w=u-s,x=v-t;return i+=p.width-w+(p.height-x),(null==g||i>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},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"],function(a){function b(a,b){var c,d=[],e={};return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var f=a.trim();/this\./.test(f)?(d.push("("+a+")"),a.match(/this\.(\w+)/g).forEach(function(a){e[a.substring(5)]=!0})):(e[f.replace(/[^\w].*/,"")]=!0,d.push(b?"(this."+f+" || '')":"this."+f))}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),{expr:d.join(" + "),dependsOn:Object.keys(e)}}var c="requirejs-text/text",d={parse:function(c,e){var f,g,h=c.hasAttribute("is")?c.getAttribute("is"):c.tagName.replace(/^template-/i,"").toLowerCase(),i=a.getElement(h),j={},k={},l=0,m=c.attributes;for(l=0;g=m[l];l++)if(g.value)switch(g.name){case"xmlns":e=g.value;break;case"is":break;case"attach-point":case"data-attach-point":f=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);j[g.name]=n&&"string"!=typeof i[n]&&!/{{/.test(g.value)&&"style.cssText"!==n?{expr:g.value,dependsOn:[]}:b(g.value,"class"===g.name)}}return{tag:h,xmlns:e,attributes:j,connects:k,children:d.parseChildren(c,e),attachPoints:f}},parseChildren:function(a,c){for(var e,f=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)e=f.length,f.push(d.parse(g,c));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===e)continue}else e=f.length;f.push(b(g.nodeValue,!0))}}return f.slice(0,e+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),f+100>a||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_onTouchNode:function(a,b){f=(new Date).getTime(),this._clearActiveWidgetsTimer&&(clearTimeout(this._clearActiveWidgetsTimer),delete this._clearActiveWidgetsTimer),c.contains(a,"d-popup")&&(a=a.firstChild);var d=[];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.buildRendering||"mouse"===b&&a.disabled||d.unshift(a),a=a.parentNode}catch(e){}this._setStack(d,b)},_onFocusNode:function(a){a&&9!==a.nodeType&&(e=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._onTouchNode(a))},_setStack:function(a,b){var c=this.activeStack,d=c.length-1,e=a.length-1;if(a[e]!==c[d]){this.activeStack=a,this.emit("active-widget-stack",a);var f,g;for(g=d;g>=0&&c[g]!==a[g];g--)f=c[g],f&&(f.focused=!1,f._onBlur&&f._onBlur(),this.emit("widget-blur",f,b));for(g++;e>=g;g++)f=a[g],f&&(f.focused=!0,f._onFocus&&f._onFocus(b),this.emit("widget-focus",f,b))}},focus:function(a){if(a)try{a.focus()}catch(b){}}}),h=new g;return h.registerWin(window),h}),define("requirejs-domready/domReady",[],function(){"use strict";function a(a){var b;for(b=0;b=0},add:function(a,b){a=c.byId(a),b=d(b);var e,g=a[f];g=g?" "+g+" ":" ",e=g.length;for(var h,i=0,j=b.length;j>i;++i)h=b[i],h&&g.indexOf(" "+h+" ")<0&&(g+=h+" ");eh;++h)g=g.replace(" "+e[h]+" "," ");g=a.trim(g)}else g="";b[f]!=g&&(b[f]=g)},replace:function(a,b,d){a=c.byId(a),i[f]=a[f],e.remove(i,d),e.add(i,b),a[f]!==i[f]&&(a[f]=i[f])},toggle:function(a,b,f){if(a=c.byId(a),void 0===f){b=d(b);for(var g,h=0,i=b.length;i>h;++h)g=b[h],e[e.contains(a,g)?"remove":"add"](a,g)}else e[f?"add":"remove"](a,b);return f}}}),define("dojo/_base/array",["./kernel","../has","./lang"],function(a,b,c){function d(a){return h[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(c,e,f){var g,i=0,j=c&&c.length||0;if(j&&"string"==typeof c&&(c=c.split("")),"string"==typeof e&&(e=h[e]||d(e)),f){for(;j>i;++i)if(g=!e.call(f,c[i],i,c),a^g)return!g}else for(;j>i;++i)if(g=!e(c[i],i,c),a^g)return!g;return b}}function f(a){var b=1,c=0,d=0;return a||(b=c=d=-1),function(e,f,h,j){if(j&&b>0)return i.lastIndexOf(e,f,h);var k,l=e&&e.length||0,m=a?l+d:c;for(h===g?k=a?c:l+d:0>h?(k=l+h,0>k&&(k=c)):k=h>=l?l+d:h,l&&"string"==typeof e&&(e=e.split(""));k!=m;k+=b)if(e[k]==f)return k;return-1}}var g,h={},i={every:e(!1),some:e(!0),indexOf:f(!0),lastIndexOf:f(!1),forEach:function(a,b,c){var e=0,f=a&&a.length||0;if(f&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;f>e;++e)b.call(c,a[e],e,a);else for(;f>e;++e)b(a[e],e,a)},map:function(a,b,c,e){var f=0,g=a&&a.length||0,i=new(e||Array)(g);if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)i[f]=b.call(c,a[f],f,a);else for(;g>f;++f)i[f]=b(a[f],f,a);return i},filter:function(a,b,c){var e,f=0,g=a&&a.length||0,i=[];if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)e=a[f],b.call(c,e,f,a)&&i.push(e);else for(;g>f;++f)e=a[f],b(e,f,a)&&i.push(e);return i},clearCache:function(){h={}}};return b("extend-dojo")&&c.mixin(a,i),i}),define("delite/features",["requirejs-dplugins/has"],function(a){return a.add("config-bgIframe",!1),a.add("dom-matches",function(){var a=document.body;return a.matches?"matches":a.webkitMatchesSelector?"webkitMatchesSelector":a.mozMatchesSelector?"mozMatchesSelector":a.msMatchesSelector?"msMatchesSelector":void 0}),a.add("document-register-element","undefined"!=typeof document&&!!document.registerElement),a.add("dom-proto-set",function(){var a=document.createElement("div");return a.__proto__?(a.__proto__={},!!a.attributes):!1}),a.add("bidi",!1),a}),define("delite/css",["requirejs-dplugins/has","dojo/Deferred","module"],function(a,b,c){"use strict";a.add("event-link-onload-api",function(a){var b=a.navigator.userAgent.match(/AppleWebKit\/([\d.]+)/);return!b||parseInt(b[1],10)>535});var d,e={},f=function(c){var d=new b,e=a("event-link-onload-api")?function(){c.onreadystatechange=c.onload=function(){c.readyState&&"complete"!==c.readyState||(c.onreadystatechange=c.onload=null,d.resolve())}}:function(){var a=c.sheet||c.styleSheet,b=document.styleSheets;a&&-1!==Array.prototype.lastIndexOf.call(b,a)?d.resolve():setTimeout(e,25)};return e(),d.promise},g={id:c.id,load:function(b,g,h){if(a("builder"))return j.addOnce(i,b),void h();var k=c.config();k.layersMap&&(b=k.layersMap[b]||b);var l,m=document.head||document.getElementsByTagName("head")[0],n=g.toUrl(b);e[n]||(l=document.createElement("link"),l.rel="stylesheet",l.type="text/css",l.href=n,m.insertBefore(l,d?d.nextSibling:m.firstChild),d=l,e[n]=f(l)),e[n].then(function(){h(b)})}};if(a("builder")){var h,i=[],j={writeConfig:function(a,b,c,d){var e={config:{}};e.config[b]={layersMap:{}},d.forEach(function(a){e.config[b].layersMap[a]=c}),a("require.config("+JSON.stringify(e)+");")},writeLayer:function(a,b,d){var e=require.toUrl(c.id).replace(/[^\/]*$/,"node_modules/clean-css"),f=require.nodeRequire(require.getNodePath(e)),g="";d.forEach(function(a){g+=new f({relativeTo:"./",target:b}).minify("@import url("+a+");")}),a(b,g)},addOnce:function(a,b){-1===a.indexOf(b)&&a.push(b)}};g.writeFile=function(a,b,c,d){h=d},g.onLayerEnd=function(a,b){function d(){return b.path.replace(/^(?:\.\/)?(([^\/]*\/)*)[^\/]*$/,"$1css/layer.css")}if(b.name&&b.path){var e=d();j.writeLayer(h,e,i),j.writeConfig(a,c.id,e,i),i=[]}},g.buildFunctions=j}return g}),define("dojo/Deferred",["./has","./_base/lang","./errors/CancelError","./promise/Promise","./has!config-deferredInstrumentation?./promise/instrumentation"],function(a,b,c,d,e){"use strict";var f=0,g=1,h=2,i="This deferred has already been fulfilled.",j=Object.freeze||function(){},k=function(b,c,d,e,f){a("config-deferredInstrumentation")&&c===h&&o.instrumentRejected&&0===b.length&&o.instrumentRejected(d,!1,e,f);for(var g=0;g=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","dojo/dom","dojo/dom-class","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g,h){var i=0,j=a([f,e],{baseClass:"",focused:!1,_started:!1,widgetId:0,createdCallback:function(){this.preCreate(),this.buildRendering(),this.postCreate()},refreshRendering:function(a){this._templateHandle&&this._templateHandle.refresh(a),"baseClass"in a&&c.replace(this,this.baseClass,a.baseClass),"dir"in a&&c.toggle(this,"d-rtl",!this.isLeftToRight())},attachedCallback:function(){this._attached=!0;for(var a=this.tabIndex,b=this;b;b=Object.getPrototypeOf(b)){var c=Object.getOwnPropertyDescriptor(b,"tabIndex");if(c&&c.set){this.hasAttribute("tabindex")&&(this.removeAttribute("tabindex"),c.set.call(this,a));var d=this;if("WebKitMutationObserver"in window){var e=window.MutationObserver||WebKitMutationObserver,f=new e(function(){var a=d.getAttribute("tabindex");null!==a&&(d.removeAttribute("tabindex"),c.set.call(d,a))});f.observe(this,{subtree:!1,attributeFilter:["tabindex"],attributes:!0})}break}}},preCreate:function(){this.widgetId=++i},template:null,buildRendering:function(){this.template&&(this._templateHandle=this.template(this.ownerDocument,g))},setClassComponent:function(a,b,d){d||(d=this);var e="_"+a+"Class";c.replace(d,b,d[e]||""),d[e]=b},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postCreate:function(){this._templateHandle&&this._templateHandle.dependencies.forEach(this.notifyCurrentValue,this),["dir","baseClass"].forEach(this.notifyCurrentValue,this)},startup:function(){this._started||(this._attached||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.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._started&&(this.getParent()||{})._started&&this.startup(),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.buildRendering)return a;while(a=a.parentNode);return null},onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus()},_onBlur:function(){this.onBlur()}});return d("bidi")&&(j=a(j,h)),a.chainAfter(j,"preCreate"),a.chainAfter(j,"postCreate"),a.chainAfter(j,"startup"),j}),define("delite/Viewport",["decor/Evented","decor/sniff","requirejs-domready/domReady!"],function(a,b){var c=new a,d=document.documentElement,e=d.clientWidth,f=d.clientHeight;return window.addEventListener("resize",function(){var a=d.clientWidth,b=d.clientHeight;(b!==f||a!==e)&&(e=a,f=b,c.emit("resize"))}),c.getEffectiveBox=function(a){var c=a.documentElement,d={w:c.clientWidth,h:c.clientHeight,t:a.body.scrollTop,l:a.body.scrollLeft},e=a.activeElement,f=e&&e.tagName&&e.tagName.toLowerCase();if(b("ios")&&e&&!e.readOnly&&("textarea"===f||"input"===f&&/^(color|email|number|password|search|tel|text|url)$/.test(e.type))){d.h*=0===window.orientation||180===window.orientation?.66:.4;var g=e.getBoundingClientRect();d.h=Math.max(d.h,g.top+g.height)}return d},c}),define("delite/Template",["./register"],function(a){function b(b){return b in d||(d[b]=a.createElement(b)),d[b]}function c(a,c){if(!(a in e)){var d=b(a),f=e[a]={};for(var g in d)f[g.toLowerCase()]=g;f.style="style.cssText"}return e[a][c]}var d={},e={},f=a.dcl(null,{constructor:function(a,b,c){this.buildText=[],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 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,b){b.forEach(function(b,c){var d=("this"===a?"":a)+"c"+(c+1);if(b.tag)this.generateNodeCode(d,!0,b),this.buildText.push(a+".appendChild("+d+");");else{var e=d+"t"+(c+1);this.buildText.push("var "+e+" = document.createTextNode("+(b.dependsOn.length?"''":b.expr)+");",a+".appendChild("+e+");"),b.dependsOn.length&&this.generateWatchCode(b.dependsOn,e+".nodeValue = "+b.expr)}},this)},generateNodeCode:function(a,b,d){var e=(d.attachPoints||[]).map(function(a){return"this."+a+" = "}).join("");b?this.buildText.push("var "+a+" = "+e+(d.xmlns?"document.createElementNS('"+d.xmlns+"', '"+d.tag+"');":"register.createElement('"+d.tag+"');")):e&&this.buildText.push(e+a+";");for(var f in d.attributes){var g=d.attributes[f],h=c(d.tag,f),i=g.expr;"class"!==f||d.xmlns?g.dependsOn.length?this.generateWatchCode(g.dependsOn,h?a+"."+h+" = "+i:"this.setOrRemoveAttribute("+a+", '"+f+"', "+i+")"):this.buildText.push(h?a+"."+h+" = "+i:a+".setAttribute('"+f+"', "+i+");"):g.dependsOn.length?this.generateWatchCode(g.dependsOn,"this.setClassComponent('template', "+i+", "+a+")"):this.buildText.push("this.setClassComponent('template', "+i+", "+a+")")}/-/.test(d.tag)&&(this.buildText.push(a+".deliver();"),this.observeText.push(a+".deliver();"));for(var j in d.connects){var k=d.connects[j],l=/^[a-zA-Z0-9_]+$/.test(k)?"this."+k+".bind(this)":"function(event){"+k+"}";this.buildText.push("this.on('"+j+"', "+l+", "+a+");")}this.generateNodeChildrenCode(a,d.children)}});return f.getElement=b,f.getProp=c,f}),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,_parseAttr: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._parseFunctionAttr(c,["item","store","value"])}):a.apply(this,arguments)}}),startup: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;d1?d?d(c):c:(new a).resolve(c);if(!h){var i=new a(c.cancel);c.then(i.resolve,i.reject,i.progress),c=i.promise}return d||e||f?c.then(d,e,f):c}}),define("delite/Selection",["dcl/dcl","decor/sniff","./Widget"],function(a,b,c){return a(c,{preCreate:function(){this._set("selectedItems",[])},selectionMode:"single",_setSelectionModeAttr:function(a){if("none"!==a&&"single"!==a&&"multiple"!==a&&"radio"!==a)throw new TypeError("selectionMode invalid value");a!==this.selectionMode&&(this._set("selectionMode",a),"none"===a?this.selectedItems=null:"single"!==a&&"radio"!==a||!this.selectedItem||(this.selectedItems=[this.selectedItem]))},selectedItem:null,_setSelectedItemAttr:function(a){this.selectedItem!==a&&(this.selectedItems=null==a?null:[a])},selectedItems:null,_setSelectedItemsAttr:function(a){var b=this.selectedItems;this._set("selectedItems",a),null!=b&&b.length>0&&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","dojo/dom","dojo/dom-class","dojo/_base/fx","dojo/fx/easing","delite/Widget","delite/theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c,d,e,f){return a(f,{scrollDirection:"vertical",scrollableNode:null,postCreate:function(){this.notifyCurrentValue("scrollDirection")},buildRendering:a.after(function(){this.scrollableNode||(this.scrollableNode=this),b.setSelectable(this.scrollableNode,!1)}),refreshRendering:function(a){a.scrollDirection&&(c.toggle(this.scrollableNode,"d-scrollable","none"!==this.scrollDirection),c.toggle(this.scrollableNode,"d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)),c.toggle(this.scrollableNode,"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,b){var c=this.scrollableNode;if(this._stopAnimation(),!b||0>=b)void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y);else{var f={x:void 0!==a.x?c.scrollLeft:void 0,y:void 0!==a.y?c.scrollTop:void 0},g=this,h=function(){var h=function(a,b){this.start=a,this.end=b};h.prototype.getValue=function(b){return{x:(a.x-f.x)*b+f.x,y:(a.y-f.y)*b+f.y}};var i=new d.Animation({beforeBegin:function(){this.curve&&delete this.curve,i.curve=new h(f,a)},onAnimate:function(a){void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y)},easing:e.expoInOut,duration:b,rate:20});return g._animation=i,i};h().play()}},_stopAnimation:function(){this._animation&&"playing"===this._animation.status()&&this._animation.stop()}})}),define("dojo/fx/easing",["../_base/lang"],function(a){var b={linear:function(a){return a},quadIn:function(a){return Math.pow(a,2)},quadOut:function(a){return a*(a-2)*-1},quadInOut:function(a){return a=2*a,1>a?Math.pow(a,2)/2:-1*(--a*(a-2)-1)/2},cubicIn:function(a){return Math.pow(a,3)},cubicOut:function(a){return Math.pow(a-1,3)+1},cubicInOut:function(a){return a=2*a,1>a?Math.pow(a,3)/2:(a-=2,(Math.pow(a,3)+2)/2)},quartIn:function(a){return Math.pow(a,4)},quartOut:function(a){return-1*(Math.pow(a-1,4)-1)},quartInOut:function(a){return a=2*a,1>a?Math.pow(a,4)/2:(a-=2,-0.5*(Math.pow(a,4)-2))},quintIn:function(a){return Math.pow(a,5)},quintOut:function(a){return Math.pow(a-1,5)+1},quintInOut:function(a){return a=2*a,1>a?Math.pow(a,5)/2:(a-=2,(Math.pow(a,5)+2)/2)},sineIn:function(a){return-1*Math.cos(a*(Math.PI/2))+1},sineOut:function(a){return Math.sin(a*(Math.PI/2))},sineInOut:function(a){return-1*(Math.cos(Math.PI*a)-1)/2},expoIn:function(a){return 0==a?0:Math.pow(2,10*(a-1))},expoOut:function(a){return 1==a?1:-1*Math.pow(2,-10*a)+1},expoInOut:function(a){return 0==a?0:1==a?1:(a=2*a,1>a?Math.pow(2,10*(a-1))/2:(--a,(-1*Math.pow(2,-10*a)+2)/2))},circIn:function(a){return-1*(Math.sqrt(1-Math.pow(a,2))-1)},circOut:function(a){return a-=1,Math.sqrt(1-Math.pow(a,2))},circInOut:function(a){return a=2*a,1>a?-0.5*(Math.sqrt(1-Math.pow(a,2))-1):(a-=2,.5*(Math.sqrt(1-Math.pow(a,2))+1))},backIn:function(a){var b=1.70158;return Math.pow(a,2)*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return Math.pow(a,2)*((b+1)*a+b)+1},backInOut:function(a){var b=2.5949095;return a=2*a,1>a?Math.pow(a,2)*((b+1)*a-b)/2:(a-=2,(Math.pow(a,2)*((b+1)*a+b)+2)/2)},elasticIn:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return a-=1,-1*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)},elasticOut:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1},elasticInOut:function(a){if(0==a)return 0;if(a=2*a,2==a)return 1;var b=.3*1.5,c=b/4;return 1>a?(a-=1,-.5*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)):(a-=1,.5*Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1)},bounceIn:function(a){return 1-b.bounceOut(1-a)},bounceOut:function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*Math.pow(a,2):2/d>a?(a-=1.5/d,b=c*Math.pow(a,2)+.75):2.5/d>a?(a-=2.25/d,b=c*Math.pow(a,2)+.9375):(a-=2.625/d,b=c*Math.pow(a,2)+.984375),b},bounceInOut:function(a){return.5>a?b.bounceIn(2*a)/2:b.bounceOut(2*a-1)/2+.5}};return a.setObject("dojo.fx.easing",b),b}),define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(a,b,c,d,e,f,g,h,i){var j=c.mixin,k={},l=k._Line=function(a,b){this.start=a,this.end=b};l.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var m=k.Animation=function(a){j(this,a),c.isArray(this.curve)&&(this.curve=new l(this.curve[0],this.curve[1]))};m.prototype=new d,c.extend(m,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,c){var d=c||[];if(this[a])if(b.debugAtAllCosts)this[a].apply(this,d);else try{this[a].apply(this,d)}catch(e){console.error("exception in animation handler for:",a),console.error(e)}return this},play:function(a,b){var d=this;if(d._delayTimer&&d._clearTimer(),b)d._stopTimer(),d._active=d._paused=!1,d._percent=0;else if(d._active&&!d._paused)return d;d._fire("beforeBegin",[d.node]);var e=a||d.delay,f=c.hitch(d,"_play",b);return e>0?(d._delayTimer=setTimeout(f,e),d):(f(),d)},_play:function(){var a=this;a._delayTimer&&a._clearTimer(),a._startTime=(new Date).valueOf(),a._paused&&(a._startTime-=a.duration*a._percent),a._active=!0,a._paused=!1;var b=a.curve.getValue(a._getStep());return a._percent||(a._startRepeatCount||(a._startRepeatCount=a.repeat),a._fire("onBegin",[b])),a._fire("onPlay",[b]),a._cycle(),a},pause:function(){var a=this;return a._delayTimer&&a._clearTimer(),a._stopTimer(),a._active?(a._paused=!0,a._fire("onPause",[a.curve.getValue(a._getStep())]),a):a},gotoPercent:function(a,b){var c=this;return c._stopTimer(),c._active=c._paused=!0,c._percent=a,b&&c.play(),c},stop:function(a){var b=this;return b._delayTimer&&b._clearTimer(),b._timer?(b._stopTimer(),a&&(b._percent=1),b._fire("onStop",[b.curve.getValue(b._getStep())]),b._active=b._paused=!1,b):b},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var a=this;if(a._active){var b=(new Date).valueOf(),c=0===a.duration?1:(b-a._startTime)/a.duration;c>=1&&(c=1),a._percent=c,a.easing&&(c=a.easing(c)),a._fire("onAnimate",[a.curve.getValue(c)]),a._percent<1?a._startTimer():(a._active=!1,a.repeat>0?(a.repeat--,a.play(null,!0)):-1==a.repeat?a.play(null,!0):a._startRepeatCount&&(a.repeat=a._startRepeatCount,a._startRepeatCount=0),a._percent=0,a._fire("onEnd",[a.node]),!a.repeat&&a._stopTimer())}return a},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var n=0,o=null,p={run:function(){}};c.extend(m,{_startTimer:function(){this._timer||(this._timer=f.after(p,"run",c.hitch(this,"_cycle"),!0),n++),o||(o=setInterval(c.hitch(p,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,n--),0>=n&&(clearInterval(o),o=null,n=0)}});var q=g("ie")?function(a){var b=a.style;b.width.length||"auto"!=i.get(a,"width")||(b.width="auto")}:function(){};k._fade=function(a){a.node=h.byId(a.node);var b=j({properties:{}},a),d=b.properties.opacity={};d.start="start"in b?b.start:function(){return+i.get(b.node,"opacity")||0},d.end=b.end;var e=k.animateProperty(b);return f.after(e,"beforeBegin",c.partial(q,b.node),!0),e},k.fadeIn=function(a){return k._fade(j({end:1},a))},k.fadeOut=function(a){return k._fade(j({end:0},a))},k._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var r=function(a){this._properties=a;for(var b in a){var c=a[b];c.start instanceof e&&(c.tempColor=new e)}};return r.prototype.getValue=function(a){var b={};for(var d in this._properties){var f=this._properties[d],g=f.start;g instanceof e?b[d]=e.blendColors(g,f.end,a,f.tempColor).toCss():c.isArray(g)||(b[d]=(f.end-g)*a+g+("opacity"!=d?f.units||"px":0))}return b},k.animateProperty=function(b){var d=b.node=h.byId(b.node);b.easing||(b.easing=a._defaultEasing);var g=new m(b);return f.after(g,"beforeBegin",c.hitch(g,function(){function a(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];return void 0!==c?c:(c=i.get(a,b),"opacity"==b?+c:h?c:parseFloat(c))}var b={};for(var f in this.properties){("width"==f||"height"==f)&&(this.node.display="block");var g=this.properties[f];c.isFunction(g)&&(g=g(d)),g=b[f]=j({},c.isObject(g)?g:{end:g}),c.isFunction(g.start)&&(g.start=g.start(d)),c.isFunction(g.end)&&(g.end=g.end(d));var h=f.toLowerCase().indexOf("color")>=0;"end"in g?"start"in g||(g.start=a(d,f)):g.end=a(d,f),h?(g.start=new e(g.start),g.end=new e(g.end)):g.start="opacity"==f?+g.start:parseFloat(g.start)}this.curve=new r(b)}),!0),f.after(g,"onAnimate",c.hitch(i,"set",g.node),!0),g},k.anim=function(a,b,c,d,e,f){return k.animateProperty({node:a,duration:c||m.prototype.duration,properties:b,easing:d,onEnd:e}).play(f||0)},g("extend-dojo")&&(j(a,k),a._Animation=m),k}),define("dojo/aspect",[],function(){"use strict";function a(a,b,c,e){var f,g=a[b],h="around"==b;if(h){var i=c(function(){return g.advice(this,arguments)});f={remove:function(){i&&(i=a=c=null)},advice:function(a,b){return i?i.apply(a,b):g.advice(a,b)}}}else f={remove:function(){if(f.advice){var d=f.previous,e=f.next;e||d?(d?d.next=e:a[b]=e,e&&(e.previous=d)):delete a[b],a=c=f.advice=null}},id:d++,advice:c,receiveArguments:e};if(g&&!h)if("after"==b){for(;g.next&&(g=g.next););g.next=f,f.previous=g}else"before"==b&&(a[b]=f,f.next=g,g.previous=f);else a[b]=f;return f}function b(b){return function(e,f,g,h){var i,j=e[f];j&&j.target==e||(e[f]=i=function(){for(var a=d,b=arguments,e=i.before;e;)b=e.advice.apply(this,b)||b,e=e.next;if(i.around)var f=i.around.advice(this,b);for(var g=i.after;g&&g.id>=f,d[b]=4==f?17*c:c}),d.a=1,d)},e.fromArray=a.colorFromArray=function(a,b){var c=b||new e;return c._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3])),isNaN(c.a)&&(c.a=1),c.sanitize()},e.fromString=a.colorFromString=function(a,b){var c=e.named[a];return c&&e.fromArray(c,b)||e.fromRgb(a,b)||e.fromHex(a,b)},e}),define("dojo/Evented",["./aspect","./on"],function(a,b){"use strict";function c(){}var d=a.after;return c.prototype={on:function(a,c){return b.parse(this,a,c,function(a,b){return d(a,"on"+b,c,!0)})},emit:function(){var a=[this];return a.push.apply(a,arguments),b.emit.apply(b,a)}},c}),define("dojo/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(a,b,c){"use strict";function d(a,b,d,e,f){var g=b.match(/(.*):(.*)/);if(g)return b=g[2],g=g[1],h.selector(g,b).call(f,a,d);if(c("touch")&&(i.test(b)&&(d=x(d)),c("event-orientationchange")||"orientationchange"!=b||(b="resize",a=window,d=x(d))),n&&(d=n(d)),a.addEventListener){var j=b in l,k=j?l[b]:b;return a.addEventListener(k,d,j),{remove:function(){a.removeEventListener(k,d,j)}}}if(b="on"+b,r&&a.attachEvent)return r(a,b,d);throw new Error("Target must be an event emitter")}function e(){this.cancelable=!1,this.defaultPrevented=!0}function f(){this.bubbles=!1}if(c("dom")){var g=window.ScriptEngineMajorVersion;c.add("jscript",g&&g()+ScriptEngineMinorVersion()/10),c.add("event-orientationchange",c("touch")&&!c("android")),c.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),c.add("event-focusin",function(a,b,c){return"onfocusin"in c}),c("touch")&&c.add("touch-can-modify-event-delegate",function(){var a=function(){};a.prototype=document.createEvent("MouseEvents");try{var b=new a;return b.target=null,null===b.target}catch(c){return!1}})}var h=function(a,b,c,e){return"function"!=typeof a.on||"function"==typeof b||a.nodeType?h.parse(a,b,c,d,e,this):a.on(b,c)};h.pausable=function(a,b,c,d){var e,f=h(a,b,function(){return e?void 0:c.apply(this,arguments)},d);return f.pause=function(){e=!0},f.resume=function(){e=!1},f},h.once=function(a,b,c){var d=h(a,b,function(){return d.remove(),c.apply(this,arguments)});return d},h.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(b instanceof Array)g=b;else if(b.indexOf(",")>-1)var g=b.split(/\s*,\s*/);if(g){for(var i,j=[],k=0;i=g[k++];)j.push(h.parse(a,i,c,d,e,f));return j.remove=function(){for(var a=0;a0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","dojo/dom-class","dojo/when","requirejs-dplugins/has","delite/keys","./focus","./place","./popup","./Widget","dpointer/events"],function(a,b,c,d,e,f,g,h,i){return a(i,{_buttonNode:null,_arrowWrapperNode: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 c=g.position(this._buttonNode);if(!(a.pageX>=c.x&&a.pageX<=c.x+c.w&&a.pageY>=c.y&&a.pageY<=c.y+c.h)){for(var d,e=a.target;e&&!d;){if(b.contains(e,"d-popup")){d=!0;break}e=e.parentNode}if(d){if(this._currentDropDown.handleSlideClick){var f=this.getEnclosingWidget(a.target);f.handleSlideClick(f,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))},buildRendering:a.after(function(){this._buttonNode=this._buttonNode||this.focusNode||this,this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode}),postCreate:function(){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("touchend",function(a){a.preventDefault()},this._buttonNode),this.on("click",function(a){a.preventDefault(),a.stopPropagation()},this._buttonNode),this.notifyCurrentValue("dropDownPosition")},refreshRendering:function(a){if("dropDownPosition"in a){var b={after:this.isLeftToRight()?"right":"left",before:this.isLeftToRight()?"left":"right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"down";this.setClassComponent("arrowDirectionIcon","d-"+b+"-arrow",this._arrowWrapperNode||this._buttonNode)}},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.handleKey&&b.handleKey(a)===!1?(a.stopPropagation(),void a.preventDefault()):void(b&&this.opened&&a.keyCode===e.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===e.DOWN_ARROW||(a.keyCode===e.ENTER||a.keyCode===e.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))},_onBlur:a.before(function(){this.closeDropDown(!1)}),loadDropDown:function(){return this.dropDown},toggleDropDown:function(){return this.disabled||this.readOnly?void 0:this.opened?this.closeDropDown(!0):this.openDropDown()},openDropDown:function(){return this._openDropDownPromise||(this._openDropDownPromise=c(this.loadDropDown()).then(function(a){this._currentDropDown=a;var c=this._aroundNode||this,d=this,e=h.open({parent:this,popup:a,around:c,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){d.closeDropDown(!0)},onCancel:function(){d.closeDropDown(!0)},onClose:function(){b.remove(d._popupStateNode,"d-drop-down-open"),this.opened=!1}});if(this.forceWidth||this.autoWidth&&c.offsetWidth>a._popupWrapper.offsetWidth){var f=c.offsetWidth-a._popupWrapper.offsetWidth;a._popupWrapper.style.width=c.offsetWidth+"px","R"===e.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-f+"px")}return b.add(this._popupStateNode,"d-drop-down-open"),this.opened=!0,this._popupStateNode.setAttribute("aria-expanded","true"),this._popupStateNode.setAttribute("aria-owns",a.id),"presentation"===a.getAttribute("role")||a.getAttribute("aria-labelledby")||a.setAttribute("aria-labelledby",this.id),{dropDown:a,position:e}}.bind(this)))},closeDropDown:function(a){this._openDropDownPromise&&(this._openDropDownPromise.isFulfilled()||this._openDropDownPromise.cancel(),delete this._openDropDownPromise),this._focusDropDownTimer&&(this._focusDropDownTimer.remove(),delete this._focusDropDownTimer),this.opened&&(this._popupStateNode.setAttribute("aria-expanded","false"),a&&this.focus&&this.focus(),h.close(this._currentDropDown),this.opened=!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,refreshRendering:function(a){var b=this,c=this.tabStops.split(/[ ,]/);if("tabStops"in a||"disabled"in a){var d=this.disabled;this.valueNode&&this.valueNode!==this&&(this.valueNode.disabled=d),c.forEach(function(a){var c=b[a];c!==b&&(c.disabled=d),c.setAttribute("aria-disabled",""+d)},this),d||this.removeAttribute("disabled")}return("tabStops"in a||"tabIndex"in a||"disabled"in a)&&c.forEach(function(a){var c=b[a];c!==b&&(b.disabled?c.removeAttribute("tabindex"):c.tabIndex=b._get("tabIndex"))},this),a},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},setAttribute:a.superCall(function(a){return function(b,c){/^aria-/.test(b)?this.focusNode.setAttribute(b,c):a.call(this,b,c)}}),getAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.getAttribute(b):a.call(this,b)}}),hasAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.hasAttribute(b):a.call(this,b) -}}),removeAttribute:a.superCall(function(a){return function(b){/^aria-/.test(b)?this.focusNode.removeAttribute(b):a.call(this,b)}}),createdCallback:a.advise({after: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","./focus"],function(a,b){function c(a,b,c){return function(d){(typeof d!=typeof this[b]||0!==this.compare(d,this[b]))&&(this[b]=this.value=d,this[c]&&this[c].remove(),this[c]=this.defer(function(){this[c]=null,this.deliver(),this.emit(a)}))}}return a(b,{readOnly:!1,refreshRendering:function(a){if("readOnly"in a){var b=this.readOnly;this.valueNode&&this.valueNode!==this&&(this.valueNode.readOnly=b),b||this.removeAttribute("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},_onFocus:a.superCall(function(a){return function(){a.call(this),this._previousOnChangeValue=this.value,this._previousOnInputValue=this.value}}),handleOnChange:c("change","_previousOnChangeValue","_onChangeHandle"),handleOnInput:c("input","_previousOnInputValue","_onInputHandle")})}),define("delite/DisplayContainer",["dcl/dcl","dojo/Deferred","dojo/when","delite/Container"],function(a,b,c,d){return a(d,{show:function(d,e){var f={dest:d,loadDeferred:new b},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){-1===g.getIndexOfChild(b.child)&&g.addChild(b.child,b.index),f={dest:d,cancelable:!1},a.mix(f,e),a.mix(f,b),g.emit("delite-before-show",f),c(g.changeDisplay(b.child,f),function(){g.emit("delite-after-show",f),h.resolve(b)})}),h.promise},hide:function(d,e){var f={dest:d,loadDeferred:new b,bubbles:!0,cancelable:!0,hide:!0},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){f={dest:d,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,e),a.mix(f,b),g.emit("delite-before-hide",f),c(g.changeDisplay(b.child,f),function(){-1!==g.getIndexOfChild(b.child)&&g.removeChild(b.child),g.emit("delite-after-hide",f),h.resolve(b)})}),h.promise},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],{_modalConnects:[],buildRendering:function(){this.className="d-dialog-underlay"},postCreate:function(){this.ownerDocument.body.appendChild(this),this.on("keydown",this._onKeyDown.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),this._modalConnects=[d.on("resize",function(){this.layout()}.bind(this))])},hide:function(){if(this._open){for(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this._open=!1}},destroy:a.before(function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove()}),_onKeyDown:function(){}});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 getObject(a){try{return a.split(".").reduce(function(a,b){return a[b]},this)}catch(b){}}var REGEXP_SHADOW_PROPS=/^_(.+)Attr$/;return 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},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)}}),_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._parseFunctionAttr(value,[])}},_parseFunctionAttr:function(a,b){return getObject(a)||new(Function.bind.apply(Function,[void 0].concat(b).concat([a])))},_parseAttr: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._parseFunctionAttr(b,["event"])}:void 0},_mapAttributes:function(){for(var a,b=0,c=[],d=[];a=this.attributes[b++];){var e=a.name.toLowerCase(),f=this._parseAttr(e,a.value);f&&(c.push(f),d.push(a))}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){if(this._started!==!1&&!this._beingDestroyed){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}})}),define("delite/CssState",["dcl/dcl","dojo/dom-class","./Widget"],function(a,b,c){return a(c,{booleanCssProps:["disabled","readOnly","selected","focused","opened"],postCreate: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.toggle(this,"d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b.remove(this,"mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b.add(this,"mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&(b.remove(this,"d-"+a.state.toLowerCase()),b.add(this,"d-"+this.state.toLowerCase()))}})}),define("delite/Container",["dcl/dcl","./Widget"],function(a,b){return a(b,{containerNode:void 0,buildRendering: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._started&&!a._started&&a.startup&&a.startup()},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):this.textDir},_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.dir?this.dir: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}},wrapWithUcc:function(d){var e="auto"===this.textDir?this._checkContextual(d):this.textDir;return("ltr"===e?a:b)+d+c},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.wrapWithUcc(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)}})}); -//# sourceMappingURL=layer.map \ No newline at end of file +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.12",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.indexOf("."),g=0===a.indexOf("./")||0===a.indexOf("../");return-1!==f&&(!g||f>1)?(b=a.substring(0,f),c=a.substring(f+1,a.length)):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");0===e.indexOf("")&&(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("dojo/dom-geometry",["./sniff","./_base/window","./dom","./dom-style"],function(a,b,c,d){function e(a,b,c,d,e,f){f=f||"px";var g=a.style;isNaN(b)||(g.left=b+f),isNaN(c)||(g.top=c+f),d>=0&&(g.width=d+f),e>=0&&(g.height=e+f)}function f(a){return"button"==a.tagName.toLowerCase()||"input"==a.tagName.toLowerCase()&&"button"==(a.getAttribute("type")||"").toLowerCase()}function g(a){return"border-box"==h.boxModel||"table"==a.tagName.toLowerCase()||f(a)}var h={};h.boxModel="content-box",a("ie")&&(h.boxModel="BackCompat"==document.compatMode?"border-box":"content-box"),h.getPadExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.paddingLeft),h=f(a,e.paddingTop),i=f(a,e.paddingRight),j=f(a,e.paddingBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}};var i="none";h.getBorderExtents=function(a,b){a=c.byId(a);var e=d.toPixelValue,f=b||d.getComputedStyle(a),g=f.borderLeftStyle!=i?e(a,f.borderLeftWidth):0,h=f.borderTopStyle!=i?e(a,f.borderTopWidth):0,j=f.borderRightStyle!=i?e(a,f.borderRightWidth):0,k=f.borderBottomStyle!=i?e(a,f.borderBottomWidth):0;return{l:g,t:h,r:j,b:k,w:g+j,h:h+k}},h.getPadBorderExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=h.getPadExtents(a,e),g=h.getBorderExtents(a,e);return{l:f.l+g.l,t:f.t+g.t,r:f.r+g.r,b:f.b+g.b,w:f.w+g.w,h:f.h+g.h}},h.getMarginExtents=function(a,b){a=c.byId(a);var e=b||d.getComputedStyle(a),f=d.toPixelValue,g=f(a,e.marginLeft),h=f(a,e.marginTop),i=f(a,e.marginRight),j=f(a,e.marginBottom);return{l:g,t:h,r:i,b:j,w:g+i,h:h+j}},h.getMarginBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),j=h.getMarginExtents(b,g),k=b.offsetLeft-j.l,l=b.offsetTop-j.t,m=b.parentNode,n=d.toPixelValue;if(a("mozilla")){var o=parseFloat(g.left),p=parseFloat(g.top);isNaN(o)||isNaN(p)?m&&m.style&&(f=d.getComputedStyle(m),"visible"!=f.overflow&&(k+=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l+=f.borderTopStyle!=i?n(b,f.borderTopWidth):0)):(k=o,l=p)}else(a("opera")||8==a("ie")&&!a("quirks"))&&m&&(f=d.getComputedStyle(m),k-=f.borderLeftStyle!=i?n(b,f.borderLeftWidth):0,l-=f.borderTopStyle!=i?n(b,f.borderTopWidth):0);return{l:k,t:l,w:b.offsetWidth+j.w,h:b.offsetHeight+j.h}},h.getContentBox=function(b,e){b=c.byId(b);var f,g=e||d.getComputedStyle(b),i=b.clientWidth,j=h.getPadExtents(b,g),k=h.getBorderExtents(b,g);return i?(f=b.clientHeight,k.w=k.h=0):(i=b.offsetWidth,f=b.offsetHeight),a("opera")&&(j.l+=k.l,j.t+=k.t),{l:j.l,t:j.t,w:i-j.w-k.w,h:f-j.h-k.h}},h.setContentSize=function(a,b,d){a=c.byId(a);var f=b.w,i=b.h;if(g(a)){var j=h.getPadBorderExtents(a,d);f>=0&&(f+=j.w),i>=0&&(i+=j.h)}e(a,0/0,0/0,f,i)};var j={l:0,t:0,w:0,h:0};return h.setMarginBox=function(b,i,k){b=c.byId(b);var l=k||d.getComputedStyle(b),m=i.w,n=i.h,o=g(b)?j:h.getPadBorderExtents(b,l),p=h.getMarginExtents(b,l);if(a("webkit")&&f(b)){var q=b.style;m>=0&&!q.width&&(q.width="4px"),n>=0&&!q.height&&(q.height="4px")}m>=0&&(m=Math.max(m-o.w-p.w,0)),n>=0&&(n=Math.max(n-o.h-p.h,0)),e(b,i.l,i.t,m,n)},h.isBodyLtr=function(a){return a=a||b.doc,"ltr"==(b.body(a).dir||a.documentElement.dir||"ltr").toLowerCase()},h.docScroll=function(c){c=c||b.doc;var d=b.doc.parentWindow||b.doc.defaultView;return"pageXOffset"in d?{x:d.pageXOffset,y:d.pageYOffset}:(d=a("quirks")?b.body(c):c.documentElement)&&{x:h.fixIeBiDiScrollLeft(d.scrollLeft||0,c),y:d.scrollTop||0}},a("ie")&&(h.getIeDocumentElementOffset=function(c){c=c||b.doc;var d=c.documentElement;if(a("ie")<8){var e=d.getBoundingClientRect(),f=e.left,g=e.top;return a("ie")<7&&(f+=d.clientLeft,g+=d.clientTop),{x:0>f?0:f,y:0>g?0:g}}return{x:0,y:0}}),h.fixIeBiDiScrollLeft=function(c,d){d=d||b.doc;var e=a("ie");if(e&&!h.isBodyLtr(d)){var f=a("quirks"),g=f?b.body(d):d.documentElement,i=b.global;return 6==e&&!f&&i.frameElement&&g.scrollHeight>g.clientHeight&&(c+=g.clientLeft),8>e||f?c+g.clientWidth-g.scrollWidth:-c}return c},h.position=function(d,e){d=c.byId(d);var f=b.body(d.ownerDocument),g=d.getBoundingClientRect();if(g={x:g.left,y:g.top,w:g.right-g.left,h:g.bottom-g.top},a("ie")<9){var i=h.getIeDocumentElementOffset(d.ownerDocument);g.x-=i.x+(a("quirks")?f.clientLeft+f.offsetLeft:0),g.y-=i.y+(a("quirks")?f.clientTop+f.offsetTop:0)}if(e){var j=h.docScroll(d.ownerDocument);g.x+=j.x,g.y+=j.y}return g},h.getMarginSize=function(a,b){a=c.byId(a);var e=h.getMarginExtents(a,b||d.getComputedStyle(a)),f=a.getBoundingClientRect();return{w:f.right-f.left+e.w,h:f.bottom-f.top+e.h}},h.normalizeEvent=function(b){if("layerX"in b||(b.layerX=b.offsetX,b.layerY=b.offsetY),!a("dom-addeventlistener")){var c=b.target,d=c&&c.ownerDocument||document,e=a("quirks")?d.body:d.documentElement,f=h.getIeDocumentElementOffset(d);b.pageX=b.clientX+h.fixIeBiDiScrollLeft(e.scrollLeft||0,d)-f.x,b.pageY=b.clientY+(e.scrollTop||0)-f.y}},h}),define("dojo/dom-style",["./sniff","./dom"],function(a,b){function c(b,c,d){if(c=c.toLowerCase(),a("ie")||a("trident")){if("auto"==d){if("height"==c)return b.offsetHeight;if("width"==c)return b.offsetWidth}if("fontweight"==c)switch(d){case 700:return"bold";case 400:default:return"normal"}}return c in k||(k[c]=l.test(c)),k[c]?f(b,d):d}var d,e={};d=a("webkit")?function(a){var b;if(1==a.nodeType){var c=a.ownerDocument.defaultView;b=c.getComputedStyle(a,null),!b&&a.style&&(a.style.display="",b=c.getComputedStyle(a,null))}return b||{}}:a("ie")&&(a("ie")<9||a("quirks"))?function(a){return 1==a.nodeType&&a.currentStyle?a.currentStyle:{}}:function(a){return 1==a.nodeType?a.ownerDocument.defaultView.getComputedStyle(a,null):{}},e.getComputedStyle=d;var f;f=a("ie")?function(a,b){if(!b)return 0;if("medium"==b)return 4;if(b.slice&&"px"==b.slice(-2))return parseFloat(b);var c=a.style,d=a.runtimeStyle,e=a.currentStyle,f=c.left,g=d.left;d.left=e.left;try{c.left=b,b=c.pixelLeft}catch(h){b=0}return c.left=f,d.left=g,b}:function(a,b){return parseFloat(b)||0},e.toPixelValue=f;var g="DXImageTransform.Microsoft.Alpha",h=function(a,b){try{return a.filters.item(g)}catch(c){return b?{}:null}},i=a("ie")<9||a("ie")<10&&a("quirks")?function(a){try{return h(a).Opacity/100}catch(b){return 1}}:function(a){return d(a).opacity},j=a("ie")<9||a("ie")<10&&a("quirks")?function(a,b){""===b&&(b=1);var c=100*b,d=1===b;if(d?(a.style.zoom="",h(a)&&(a.style.filter=a.style.filter.replace(new RegExp("\\s*progid:"+g+"\\([^\\)]+?\\)","i"),""))):(a.style.zoom=1,h(a)?h(a,1).Opacity=c:a.style.filter+=" progid:"+g+"(Opacity="+c+")",h(a,1).Enabled=!0),"tr"==a.tagName.toLowerCase())for(var e=a.firstChild;e;e=e.nextSibling)"td"==e.tagName.toLowerCase()&&j(e,b);return b}:function(a,b){return a.style.opacity=b},k={left:!0,top:!0},l=/margin|padding|width|height|max|min|offset/,m={cssFloat:1,styleFloat:1,"float":1};return e.get=function(a,d){var f=b.byId(a),g=arguments.length,h="opacity"==d;if(2==g&&h)return i(f);d=m[d]?"cssFloat"in f.style?"cssFloat":"styleFloat":d;var j=e.getComputedStyle(f);return 1==g?j:c(f,d,j[d]||f.style[d])},e.set=function(a,c,d){var f=b.byId(a),g=arguments.length,h="opacity"==c;if(c=m[c]?"cssFloat"in f.style?"cssFloat":"styleFloat":c,3==g)return h?j(f,d):f.style[c]=d;for(var i in c)e.set(a,i,c[i]);return e.getComputedStyle(f)},e}),define("dojo/dom",["./sniff","./_base/window"],function(a,b){if(a("ie")<=7)try{document.execCommand("BackgroundImageCache",!1,!0)}catch(c){}var d={};d.byId=a("ie")?function(a,c){if("string"!=typeof a)return a;var d=c||b.doc,e=a&&d.getElementById(a);if(e&&(e.attributes.id.value==a||e.id==a))return e;var f=d.all[a];(!f||f.nodeName)&&(f=[f]);for(var g=0;e=f[g++];)if(e.attributes&&e.attributes.id&&e.attributes.id.value==a||e.id==a)return e}:function(a,c){return("string"==typeof a?(c||b.doc).getElementById(a):a)||null},d.isDescendant=function(a,b){try{for(a=d.byId(a),b=d.byId(b);a;){if(a==b)return!0;a=a.parentNode}}catch(c){}return!1},a.add("css-user-select",function(a,b,c){if(!c)return!1;var d=c.style,e=["Khtml","O","Moz","Webkit"],f=e.length,g="userSelect";do if("undefined"!=typeof d[g])return g;while(f--&&(g=e[f]+"UserSelect"));return!1});var e=a("css-user-select");return d.setSelectable=e?function(a,b){d.byId(a).style[e]=b?"":"none"}:function(a,b){a=d.byId(a);var c=a.getElementsByTagName("*"),e=c.length;if(b)for(a.removeAttribute("unselectable");e--;)c[e].removeAttribute("unselectable");else for(a.setAttribute("unselectable","on");e--;)c[e].setAttribute("unselectable","on")},d}),define("dojo/_base/window",["./kernel","./lang","../sniff"],function(a,b,c){var d={global:a.global,doc:a.global.document||null,body:function(b){return b=b||a.doc,b.body||b.getElementsByTagName("body")[0]},setContext:function(b,c){a.global=d.global=b,a.doc=d.doc=c},withGlobal:function(b,c,e,f){var g=a.global;try{return a.global=d.global=b,d.withDoc.call(null,b.document,c,e,f)}finally{a.global=d.global=g}},withDoc:function(b,e,f,g){var h,i,j,k=d.doc,l=c("quirks"),m=c("ie");try{return a.doc=d.doc=b,a.isQuirks=c.add("quirks","BackCompat"==a.doc.compatMode,!0,!0),c("ie")&&(j=b.parentWindow)&&j.navigator&&(h=parseFloat(j.navigator.appVersion.split("MSIE ")[1])||void 0,i=b.documentMode,i&&5!=i&&Math.floor(h)!=i&&(h=i),a.isIE=c.add("ie",h,!0,!0)),f&&"string"==typeof e&&(e=f[e]),e.apply(f,g||[])}finally{a.doc=d.doc=k,a.isQuirks=c.add("quirks",l,!0,!0),a.isIE=c.add("ie",m,!0,!0)}}};return c("extend-dojo")&&b.mixin(a,d),d}),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/typematic",[],function(){var a={_fireEventAndReload:function(){this._timer=null,this._callback(++this._count,this._node,this._evt),this._currentTimeout=Math.max(this._currentTimeout<0?this._initialDelay:this._subsequentDelay>1?this._subsequentDelay:Math.round(this._currentTimeout*this._subsequentDelay),this._minDelay),this._timer=setTimeout(this._fireEventAndReload.bind(this),this._currentTimeout)},trigger:function(a,b,c,d,e,f,g,h){if(e!==this._obj){this.stop(),this._initialDelay=g||500,this._subsequentDelay=f||.9,this._minDelay=h||10,this._obj=e,this._node=c,this._currentTimeout=-1,this._count=-1,this._callback=d.bind(b),this._evt={faux:!0};for(var i in a)if("layerX"!==i&&"layerY"!==i){var j=a[i];"function"!=typeof j&&"undefined"!=typeof j&&(this._evt[i]=j)}this._fireEventAndReload()}},stop:function(){this._timer&&(clearTimeout(this._timer),this._timer=null),this._obj&&(this._callback(-1,this._node,this._evt),this._obj=null)},addKeyListener:function(b,c,d,e,f,g,h){var i="keyCode"in c?"keydown":"keypress",j="keyCode"in c?"keyCode":"charCode",k=[d.on(i,function(i){i[j]!==c[j]||void 0!==c.ctrlKey&&c.ctrlKey!==i.ctrlKey||void 0!==c.altKey&&c.altKey!==i.altKey||void 0!==c.metaKey&&c.metaKey!==i.metaKey||void 0!==c.shiftKey&&c.shiftKey!==i.shiftKey?a._obj===c&&a.stop():(i.stopPropagation(),i.preventDefault(),a.trigger(i,d,b,e,c,f,g,h))},b),d.on("keyup",function(){a._obj===c&&a.stop()},b)];return{remove:function(){k.forEach(function(a){a.remove()})}}},addMouseListener:function(b,c,d,e,f,g){var h=[c.on("mousedown",function(h){h.preventDefault(),a.trigger(h,c,b,d,b,e,f,g)},b),c.on("mouseup",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("mouseout",function(b){this._obj&&b.preventDefault(),a.stop()}.bind(this),b),c.on("dblclick",function(a){a.preventDefault()},b)];return{remove:function(){h.forEach(function(a){a.remove()})}}},addListener:function(a,b,c,d,e,f,g,h){var i=[this.addKeyListener(b,c,d,e,f,g,h),this.addMouseListener(a,d,e,f,g,h)];return{remove:function(){i.forEach(function(a){a.remove()})}}}};return 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);h.startup&&!h.started&&h.startup();var 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);b.parentNode&&"body"===String(b.parentNode.tagName).toLowerCase()||b.ownerDocument.body.appendChild(b);var g=null;c.some(function(a){var c=a.corner,h=a.pos,i=0,j={w:{L:f.l+f.w-h.x,R:h.x-f.l,M:f.w}[c.charAt(1)],h:{T:f.t+f.h-h.y,B:h.y-f.t,M:f.h}[c.charAt(0)]},k=b.style;if(k.left=k.right="auto",d){var l=d(b,a.aroundCorner,c,j,e);i="undefined"==typeof l?0:l}var m=b.style,n=m.display,o=m.visibility;"none"===m.display&&(m.visibility="hidden",m.display="");var p=b.getBoundingClientRect();m.display=n,m.visibility=o;var q={L:h.x,R:h.x-p.width,M:Math.max(f.l,Math.min(f.l+f.w,h.x+(p.width>>1))-p.width)}[c.charAt(1)],r={T:h.y,B:h.y-p.height,M:Math.max(f.t,Math.min(f.t+f.h,h.y+(p.height>>1))-p.height)}[c.charAt(0)],s=Math.max(f.l,q),t=Math.max(f.t,r),u=Math.min(f.l+f.w,q+p.width),v=Math.min(f.t+f.h,r+p.height),w=u-s,x=v-t;return i+=p.width-w+(p.height-x),(null==g||i>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=a.getEffectiveBox(b.ownerDocument),d=b.getBoundingClientRect();b.style.top=c.t+(c.h-d.height)/2+"px",b.style.left=c.l+(c.w-d.width)/2+"px"},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"],function(a,b){function c(a,b){var c,d=[],e={};return(a||"").split(/({{|}})/).forEach(function(a){if("{{"===a)c=!0;else if("}}"===a)c=!1;else if(c){var f=a.trim();/this\./.test(f)?(d.push("("+a+")"),a.match(/this\.(\w+)/g).forEach(function(a){e[a.substring(5)]=!0})):(e[f.replace(/[^\w].*/,"")]=!0,d.push(b?"(this."+f+" || '')":"this."+f))}else a&&d.push("'"+a.replace(/(['\\])/g,"\\$1").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"'")}),{expr:d.join(" + "),dependsOn:Object.keys(e)}}var d="requirejs-text/text",e={parse:function(b,d){var f,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":d=g.value;break;case"is":break;case"attach-point":case"data-attach-point":f=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]={expr:o,dependsOn:[]}}else j[g.name]=c(g.value,"class"===g.name)}}return{tag:h,xmlns:d,attributes:j,connects:k,children:e.parseChildren(b,d),attachPoints:f}},parseChildren:function(a,b){for(var d,f=[],g=a.firstChild;g;g=g.nextSibling){var h=g.nodeType;if(1===h)d=f.length,f.push(e.parse(g,b));else if(3===h){if(/^[ \t\n]*$/.test(g.nodeValue)){if(void 0===d)continue}else d=f.length;f.push(c(g.nodeValue,!0))}}return f.slice(0,d+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),f+100>a||(this._clearActiveWidgetsTimer=setTimeout(function(){delete this._clearActiveWidgetsTimer,this._setStack([])}.bind(this),0)))},_pointerDownOrFocusHandler:function(a,b){f=(new Date).getTime(),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&&(e=(new Date).getTime(),this._clearFocusTimer&&(clearTimeout(this._clearFocusTimer),delete this._clearFocusTimer),this._pointerDownOrFocusHandler(a))},_setStack:function(a,b){var c=this.activeStack,d=c.length-1,e=a.length-1;if(a[e]!==c[d]){this.activeStack=a,this.emit("active-widget-stack",a);var f,g;for(g=d;g>=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))}}}),h=new g;return h.registerWin(window),h}),define("requirejs-domready/domReady",[],function(){"use strict";function a(a){var b;for(b=0;b=0},add:function(a,b){a=c.byId(a),b=d(b);var e,g=a[f];g=g?" "+g+" ":" ",e=g.length;for(var h,i=0,j=b.length;j>i;++i)h=b[i],h&&g.indexOf(" "+h+" ")<0&&(g+=h+" ");eh;++h)g=g.replace(" "+e[h]+" "," ");g=a.trim(g)}else g="";b[f]!=g&&(b[f]=g)},replace:function(a,b,d){a=c.byId(a),i[f]=a[f],e.remove(i,d),e.add(i,b),a[f]!==i[f]&&(a[f]=i[f])},toggle:function(a,b,f){if(a=c.byId(a),void 0===f){b=d(b);for(var g,h=0,i=b.length;i>h;++h)g=b[h],e[e.contains(a,g)?"remove":"add"](a,g)}else e[f?"add":"remove"](a,b);return f}}}),define("dojo/_base/array",["./kernel","../has","./lang"],function(a,b,c){function d(a){return h[a]=new Function("item","index","array",a)}function e(a){var b=!a;return function(c,e,f){var g,i=0,j=c&&c.length||0;if(j&&"string"==typeof c&&(c=c.split("")),"string"==typeof e&&(e=h[e]||d(e)),f){for(;j>i;++i)if(g=!e.call(f,c[i],i,c),a^g)return!g}else for(;j>i;++i)if(g=!e(c[i],i,c),a^g)return!g;return b}}function f(a){var b=1,c=0,d=0;return a||(b=c=d=-1),function(e,f,h,j){if(j&&b>0)return i.lastIndexOf(e,f,h);var k,l=e&&e.length||0,m=a?l+d:c;for(h===g?k=a?c:l+d:0>h?(k=l+h,0>k&&(k=c)):k=h>=l?l+d:h,l&&"string"==typeof e&&(e=e.split(""));k!=m;k+=b)if(e[k]==f)return k;return-1}}var g,h={},i={every:e(!1),some:e(!0),indexOf:f(!0),lastIndexOf:f(!1),forEach:function(a,b,c){var e=0,f=a&&a.length||0;if(f&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;f>e;++e)b.call(c,a[e],e,a);else for(;f>e;++e)b(a[e],e,a)},map:function(a,b,c,e){var f=0,g=a&&a.length||0,i=new(e||Array)(g);if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)i[f]=b.call(c,a[f],f,a);else for(;g>f;++f)i[f]=b(a[f],f,a);return i},filter:function(a,b,c){var e,f=0,g=a&&a.length||0,i=[];if(g&&"string"==typeof a&&(a=a.split("")),"string"==typeof b&&(b=h[b]||d(b)),c)for(;g>f;++f)e=a[f],b.call(c,e,f,a)&&i.push(e);else for(;g>f;++f)e=a[f],b(e,f,a)&&i.push(e);return i},clearCache:function(){h={}}};return b("extend-dojo")&&c.mixin(a,i),i}),define("delite/a11yclick",["delite/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","dojo/dom","dojo/dom-class","./features","decor/Invalidating","./CustomElement","./register","./features!bidi?./Bidi"],function(a,b,c,d,e,f,g,h){var i=0,j=a([f,e],{baseClass:"",focused:!1,started:!1,widgetId:0,createdCallback:function(){this.preRender(),this.render(),this.postRender()},refreshRendering:function(a){this._templateHandle&&this._templateHandle.refresh(a),"baseClass"in a&&c.replace(this,this.baseClass,a.baseClass),"dir"in a&&c.toggle(this,"d-rtl",!this.isLeftToRight())},attachedCallback:function(){for(var a=this.tabIndex,b=this;b;b=Object.getPrototypeOf(b)){var c=Object.getOwnPropertyDescriptor(b,"tabIndex");if(c&&c.set){this.hasAttribute("tabindex")&&(this.removeAttribute("tabindex"),c.set.call(this,a));var d=this;if("WebKitMutationObserver"in window){var e=window.MutationObserver||WebKitMutationObserver,f=new e(function(){var a=d.getAttribute("tabindex");null!==a&&(d.removeAttribute("tabindex"),c.set.call(d,a))});f.observe(this,{subtree:!1,attributeFilter:["tabindex"],attributes:!0})}break}}},preRender:function(){this.widgetId=++i},template:null,render:function(){this.template&&(this._templateHandle=this.template(this.ownerDocument,g))},setClassComponent:function(a,b,d){d||(d=this);var e="_"+a+"Class";c.replace(d,b,d[e]||""),d[e]=b},setOrRemoveAttribute:function(a,b,c){void 0===c?a.removeAttribute(b):a.setAttribute(b,""+c)},postRender:function(){this.initializeInvalidating(),this._templateHandle&&this._templateHandle.dependencies.forEach(this.notifyCurrentValue,this),["dir","baseClass"].forEach(this.notifyCurrentValue,this)},startup:function(){this.started||(this.attached||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.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.started&&(this.getParent()||{}).started&&this.startup(),this},getEnclosingWidget:function(a){do if(1===a.nodeType&&a.render)return a;while(a=a.parentNode);return null}});return d("bidi")&&(j=a(j,h)),a.chainAfter(j,"preRender"),a.chainAfter(j,"postRender"),j}),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:a.width,h:a.height,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(b){return b in d||(d[b]=a.createElement(b)),d[b]}function c(a,c){if(!(a in e)){var d=b(a),f=e[a]={};for(var g in d)f[g.toLowerCase()]=g;f.style="style.cssText"}return e[a][c]}var d={},e={},f=a.dcl(null,{constructor:function(a,b,c){this.buildText=[],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 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,b){b.forEach(function(b,c){var d=("this"===a?"":a)+"c"+(c+1);if(b.tag)this.generateNodeCode(d,!0,b),this.buildText.push(a+".appendChild("+d+");");else{var e=d+"t"+(c+1);this.buildText.push("var "+e+" = document.createTextNode("+(b.dependsOn.length?"''":b.expr)+");",a+".appendChild("+e+");"),b.dependsOn.length&&this.generateWatchCode(b.dependsOn,e+".nodeValue = "+b.expr)}},this)},generateNodeCode:function(a,b,d){var e=(d.attachPoints||[]).map(function(a){return"this."+a+" = "}).join("");b?this.buildText.push("var "+a+" = "+e+(d.xmlns?"document.createElementNS('"+d.xmlns+"', '"+d.tag+"');":"register.createElement('"+d.tag+"');")):e&&this.buildText.push(e+a+";");for(var f in d.attributes){var g=d.attributes[f],h=c(d.tag,f),i=g.expr;"class"!==f||d.xmlns?g.dependsOn.length?this.generateWatchCode(g.dependsOn,h?a+"."+h+" = "+i:"this.setOrRemoveAttribute("+a+", '"+f+"', "+i+")"):this.buildText.push(h?a+"."+h+" = "+i:a+".setAttribute('"+f+"', "+i+");"):g.dependsOn.length?this.generateWatchCode(g.dependsOn,"this.setClassComponent('template', "+i+", "+a+")"):this.buildText.push("this.setClassComponent('template', "+i+", "+a+")")}/-/.test(d.tag)&&(this.buildText.push(a+".deliver();"),this.observeText.push(a+".deliver();"));for(var j in d.connects){var k=d.connects[j],l=/^[a-zA-Z0-9_]+$/.test(k)?"this."+k+".bind(this)":"function(event){"+k+"}";this.buildText.push("this.on('"+j+"', "+l+", "+a+");")}this.generateNodeChildrenCode(a,d.children)}});return f.getElement=b,f.getProp=c,f}),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;d1?d?d(c):c:(new a).resolve(c);if(!h){var i=new a(c.cancel);c.then(i.resolve,i.reject,i.progress),c=i.promise}return d||e||f?c.then(d,e,f):c}}),define("delite/Selection",["dcl/dcl","decor/sniff","./Widget"],function(a,b,c){return a(c,{preRender:function(){this._set("selectedItems",[])},selectionMode:"single",_setSelectionModeAttr:function(a){if("none"!==a&&"single"!==a&&"multiple"!==a&&"radio"!==a)throw new TypeError("selectionMode invalid value");a!==this.selectionMode&&(this._set("selectionMode",a),"none"===a?this.selectedItems=null:"single"!==a&&"radio"!==a||!this.selectedItem||(this.selectedItems=[this.selectedItem]))},selectedItem:null,_setSelectedItemAttr:function(a){this.selectedItem!==a&&(this.selectedItems=null==a?null:[a])},selectedItems:null,_setSelectedItemsAttr:function(a){var b=this.selectedItems;this._set("selectedItems",a),null!=b&&b.length>0&&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","dojo/dom","dojo/dom-class","dojo/_base/fx","dojo/fx/easing","delite/Widget","delite/theme!./Scrollable/themes/{{theme}}/Scrollable.css"],function(a,b,c,d,e,f){return a(f,{scrollDirection:"vertical",scrollableNode:null,postRender:function(){this.notifyCurrentValue("scrollDirection")},render:a.after(function(){this.scrollableNode||(this.scrollableNode=this),b.setSelectable(this.scrollableNode,!1)}),refreshRendering:function(a){a.scrollDirection&&(c.toggle(this.scrollableNode,"d-scrollable","none"!==this.scrollDirection),c.toggle(this.scrollableNode,"d-scrollable-h",/^(both|horizontal)$/.test(this.scrollDirection)),c.toggle(this.scrollableNode,"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,b){var c=this.scrollableNode;if(this._stopAnimation(),!b||0>=b)void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y);else{var f={x:void 0!==a.x?c.scrollLeft:void 0,y:void 0!==a.y?c.scrollTop:void 0},g=this,h=function(){var h=function(a,b){this.start=a,this.end=b};h.prototype.getValue=function(b){return{x:(a.x-f.x)*b+f.x,y:(a.y-f.y)*b+f.y}};var i=new d.Animation({beforeBegin:function(){this.curve&&delete this.curve,i.curve=new h(f,a)},onAnimate:function(a){void 0!==a.x&&(c.scrollLeft=a.x),void 0!==a.y&&(c.scrollTop=a.y)},easing:e.expoInOut,duration:b,rate:20});return g._animation=i,i};h().play()}},_stopAnimation:function(){this._animation&&"playing"===this._animation.status()&&this._animation.stop()}})}),define("dojo/fx/easing",["../_base/lang"],function(a){var b={linear:function(a){return a},quadIn:function(a){return Math.pow(a,2)},quadOut:function(a){return a*(a-2)*-1},quadInOut:function(a){return a=2*a,1>a?Math.pow(a,2)/2:-1*(--a*(a-2)-1)/2},cubicIn:function(a){return Math.pow(a,3)},cubicOut:function(a){return Math.pow(a-1,3)+1},cubicInOut:function(a){return a=2*a,1>a?Math.pow(a,3)/2:(a-=2,(Math.pow(a,3)+2)/2)},quartIn:function(a){return Math.pow(a,4)},quartOut:function(a){return-1*(Math.pow(a-1,4)-1)},quartInOut:function(a){return a=2*a,1>a?Math.pow(a,4)/2:(a-=2,-0.5*(Math.pow(a,4)-2))},quintIn:function(a){return Math.pow(a,5)},quintOut:function(a){return Math.pow(a-1,5)+1},quintInOut:function(a){return a=2*a,1>a?Math.pow(a,5)/2:(a-=2,(Math.pow(a,5)+2)/2)},sineIn:function(a){return-1*Math.cos(a*(Math.PI/2))+1},sineOut:function(a){return Math.sin(a*(Math.PI/2))},sineInOut:function(a){return-1*(Math.cos(Math.PI*a)-1)/2},expoIn:function(a){return 0==a?0:Math.pow(2,10*(a-1))},expoOut:function(a){return 1==a?1:-1*Math.pow(2,-10*a)+1},expoInOut:function(a){return 0==a?0:1==a?1:(a=2*a,1>a?Math.pow(2,10*(a-1))/2:(--a,(-1*Math.pow(2,-10*a)+2)/2))},circIn:function(a){return-1*(Math.sqrt(1-Math.pow(a,2))-1)},circOut:function(a){return a-=1,Math.sqrt(1-Math.pow(a,2))},circInOut:function(a){return a=2*a,1>a?-0.5*(Math.sqrt(1-Math.pow(a,2))-1):(a-=2,.5*(Math.sqrt(1-Math.pow(a,2))+1))},backIn:function(a){var b=1.70158;return Math.pow(a,2)*((b+1)*a-b)},backOut:function(a){a-=1;var b=1.70158;return Math.pow(a,2)*((b+1)*a+b)+1},backInOut:function(a){var b=2.5949095;return a=2*a,1>a?Math.pow(a,2)*((b+1)*a-b)/2:(a-=2,(Math.pow(a,2)*((b+1)*a+b)+2)/2)},elasticIn:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return a-=1,-1*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)},elasticOut:function(a){if(0==a||1==a)return a;var b=.3,c=b/4;return Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1},elasticInOut:function(a){if(0==a)return 0;if(a=2*a,2==a)return 1;var b=.3*1.5,c=b/4;return 1>a?(a-=1,-.5*Math.pow(2,10*a)*Math.sin(2*(a-c)*Math.PI/b)):(a-=1,.5*Math.pow(2,-10*a)*Math.sin(2*(a-c)*Math.PI/b)+1)},bounceIn:function(a){return 1-b.bounceOut(1-a)},bounceOut:function(a){var b,c=7.5625,d=2.75;return 1/d>a?b=c*Math.pow(a,2):2/d>a?(a-=1.5/d,b=c*Math.pow(a,2)+.75):2.5/d>a?(a-=2.25/d,b=c*Math.pow(a,2)+.9375):(a-=2.625/d,b=c*Math.pow(a,2)+.984375),b},bounceInOut:function(a){return.5>a?b.bounceIn(2*a)/2:b.bounceOut(2*a-1)/2+.5}};return a.setObject("dojo.fx.easing",b),b}),define("dojo/_base/fx",["./kernel","./config","./lang","../Evented","./Color","../aspect","../sniff","../dom","../dom-style"],function(a,b,c,d,e,f,g,h,i){var j=c.mixin,k={},l=k._Line=function(a,b){this.start=a,this.end=b};l.prototype.getValue=function(a){return(this.end-this.start)*a+this.start};var m=k.Animation=function(a){j(this,a),c.isArray(this.curve)&&(this.curve=new l(this.curve[0],this.curve[1]))};m.prototype=new d,c.extend(m,{duration:350,repeat:0,rate:20,_percent:0,_startRepeatCount:0,_getStep:function(){var a=this._percent,b=this.easing;return b?b(a):a},_fire:function(a,c){var d=c||[];if(this[a])if(b.debugAtAllCosts)this[a].apply(this,d);else try{this[a].apply(this,d)}catch(e){console.error("exception in animation handler for:",a),console.error(e)}return this},play:function(a,b){var d=this;if(d._delayTimer&&d._clearTimer(),b)d._stopTimer(),d._active=d._paused=!1,d._percent=0;else if(d._active&&!d._paused)return d;d._fire("beforeBegin",[d.node]);var e=a||d.delay,f=c.hitch(d,"_play",b);return e>0?(d._delayTimer=setTimeout(f,e),d):(f(),d)},_play:function(){var a=this;a._delayTimer&&a._clearTimer(),a._startTime=(new Date).valueOf(),a._paused&&(a._startTime-=a.duration*a._percent),a._active=!0,a._paused=!1;var b=a.curve.getValue(a._getStep());return a._percent||(a._startRepeatCount||(a._startRepeatCount=a.repeat),a._fire("onBegin",[b])),a._fire("onPlay",[b]),a._cycle(),a},pause:function(){var a=this;return a._delayTimer&&a._clearTimer(),a._stopTimer(),a._active?(a._paused=!0,a._fire("onPause",[a.curve.getValue(a._getStep())]),a):a},gotoPercent:function(a,b){var c=this;return c._stopTimer(),c._active=c._paused=!0,c._percent=a,b&&c.play(),c},stop:function(a){var b=this;return b._delayTimer&&b._clearTimer(),b._timer?(b._stopTimer(),a&&(b._percent=1),b._fire("onStop",[b.curve.getValue(b._getStep())]),b._active=b._paused=!1,b):b},destroy:function(){this.stop()},status:function(){return this._active?this._paused?"paused":"playing":"stopped"},_cycle:function(){var a=this;if(a._active){var b=(new Date).valueOf(),c=0===a.duration?1:(b-a._startTime)/a.duration;c>=1&&(c=1),a._percent=c,a.easing&&(c=a.easing(c)),a._fire("onAnimate",[a.curve.getValue(c)]),a._percent<1?a._startTimer():(a._active=!1,a.repeat>0?(a.repeat--,a.play(null,!0)):-1==a.repeat?a.play(null,!0):a._startRepeatCount&&(a.repeat=a._startRepeatCount,a._startRepeatCount=0),a._percent=0,a._fire("onEnd",[a.node]),!a.repeat&&a._stopTimer())}return a},_clearTimer:function(){clearTimeout(this._delayTimer),delete this._delayTimer}});var n=0,o=null,p={run:function(){}};c.extend(m,{_startTimer:function(){this._timer||(this._timer=f.after(p,"run",c.hitch(this,"_cycle"),!0),n++),o||(o=setInterval(c.hitch(p,"run"),this.rate))},_stopTimer:function(){this._timer&&(this._timer.remove(),this._timer=null,n--),0>=n&&(clearInterval(o),o=null,n=0)}});var q=g("ie")?function(a){var b=a.style;b.width.length||"auto"!=i.get(a,"width")||(b.width="auto")}:function(){};k._fade=function(a){a.node=h.byId(a.node);var b=j({properties:{}},a),d=b.properties.opacity={};d.start="start"in b?b.start:function(){return+i.get(b.node,"opacity")||0},d.end=b.end;var e=k.animateProperty(b);return f.after(e,"beforeBegin",c.partial(q,b.node),!0),e},k.fadeIn=function(a){return k._fade(j({end:1},a))},k.fadeOut=function(a){return k._fade(j({end:0},a))},k._defaultEasing=function(a){return.5+Math.sin((a+1.5)*Math.PI)/2};var r=function(a){this._properties=a;for(var b in a){var c=a[b];c.start instanceof e&&(c.tempColor=new e)}};return r.prototype.getValue=function(a){var b={};for(var d in this._properties){var f=this._properties[d],g=f.start;g instanceof e?b[d]=e.blendColors(g,f.end,a,f.tempColor).toCss():c.isArray(g)||(b[d]=(f.end-g)*a+g+("opacity"!=d?f.units||"px":0))}return b},k.animateProperty=function(b){var d=b.node=h.byId(b.node);b.easing||(b.easing=a._defaultEasing);var g=new m(b);return f.after(g,"beforeBegin",c.hitch(g,function(){function a(a,b){var c={height:a.offsetHeight,width:a.offsetWidth}[b];return void 0!==c?c:(c=i.get(a,b),"opacity"==b?+c:h?c:parseFloat(c))}var b={};for(var f in this.properties){("width"==f||"height"==f)&&(this.node.display="block");var g=this.properties[f]; +c.isFunction(g)&&(g=g(d)),g=b[f]=j({},c.isObject(g)?g:{end:g}),c.isFunction(g.start)&&(g.start=g.start(d)),c.isFunction(g.end)&&(g.end=g.end(d));var h=f.toLowerCase().indexOf("color")>=0;"end"in g?"start"in g||(g.start=a(d,f)):g.end=a(d,f),h?(g.start=new e(g.start),g.end=new e(g.end)):g.start="opacity"==f?+g.start:parseFloat(g.start)}this.curve=new r(b)}),!0),f.after(g,"onAnimate",c.hitch(i,"set",g.node),!0),g},k.anim=function(a,b,c,d,e,f){return k.animateProperty({node:a,duration:c||m.prototype.duration,properties:b,easing:d,onEnd:e}).play(f||0)},g("extend-dojo")&&(j(a,k),a._Animation=m),k}),define("dojo/aspect",[],function(){"use strict";function a(a,b,c,e){var f,g=a[b],h="around"==b;if(h){var i=c(function(){return g.advice(this,arguments)});f={remove:function(){i&&(i=a=c=null)},advice:function(a,b){return i?i.apply(a,b):g.advice(a,b)}}}else f={remove:function(){if(f.advice){var d=f.previous,e=f.next;e||d?(d?d.next=e:a[b]=e,e&&(e.previous=d)):delete a[b],a=c=f.advice=null}},id:d++,advice:c,receiveArguments:e};if(g&&!h)if("after"==b){for(;g.next&&(g=g.next););g.next=f,f.previous=g}else"before"==b&&(a[b]=f,f.next=g,g.previous=f);else a[b]=f;return f}function b(b){return function(e,f,g,h){var i,j=e[f];j&&j.target==e||(e[f]=i=function(){for(var a=d,b=arguments,e=i.before;e;)b=e.advice.apply(this,b)||b,e=e.next;if(i.around)var f=i.around.advice(this,b);for(var g=i.after;g&&g.id>=f,d[b]=4==f?17*c:c}),d.a=1,d)},e.fromArray=a.colorFromArray=function(a,b){var c=b||new e;return c._set(Number(a[0]),Number(a[1]),Number(a[2]),Number(a[3])),isNaN(c.a)&&(c.a=1),c.sanitize()},e.fromString=a.colorFromString=function(a,b){var c=e.named[a];return c&&e.fromArray(c,b)||e.fromRgb(a,b)||e.fromHex(a,b)},e}),define("dojo/Evented",["./aspect","./on"],function(a,b){"use strict";function c(){}var d=a.after;return c.prototype={on:function(a,c){return b.parse(this,a,c,function(a,b){return d(a,"on"+b,c,!0)})},emit:function(){var a=[this];return a.push.apply(a,arguments),b.emit.apply(b,a)}},c}),define("dojo/on",["./has!dom-addeventlistener?:./aspect","./_base/kernel","./sniff"],function(a,b,c){"use strict";function d(a,b,d,e,f){var g=b.match(/(.*):(.*)/);if(g)return b=g[2],g=g[1],h.selector(g,b).call(f,a,d);if(c("touch")&&(i.test(b)&&(d=x(d)),c("event-orientationchange")||"orientationchange"!=b||(b="resize",a=window,d=x(d))),n&&(d=n(d)),a.addEventListener){var j=b in l,k=j?l[b]:b;return a.addEventListener(k,d,j),{remove:function(){a.removeEventListener(k,d,j)}}}if(b="on"+b,r&&a.attachEvent)return r(a,b,d);throw new Error("Target must be an event emitter")}function e(){this.cancelable=!1,this.defaultPrevented=!0}function f(){this.bubbles=!1}if(c("dom")){var g=window.ScriptEngineMajorVersion;c.add("jscript",g&&g()+ScriptEngineMinorVersion()/10),c.add("event-orientationchange",c("touch")&&!c("android")),c.add("event-stopimmediatepropagation",window.Event&&!!window.Event.prototype&&!!window.Event.prototype.stopImmediatePropagation),c.add("event-focusin",function(a,b,c){return"onfocusin"in c}),c("touch")&&c.add("touch-can-modify-event-delegate",function(){var a=function(){};a.prototype=document.createEvent("MouseEvents");try{var b=new a;return b.target=null,null===b.target}catch(c){return!1}})}var h=function(a,b,c,e){return"function"!=typeof a.on||"function"==typeof b||a.nodeType?h.parse(a,b,c,d,e,this):a.on(b,c)};h.pausable=function(a,b,c,d){var e,f=h(a,b,function(){return e?void 0:c.apply(this,arguments)},d);return f.pause=function(){e=!0},f.resume=function(){e=!1},f},h.once=function(a,b,c){var d=h(a,b,function(){return d.remove(),c.apply(this,arguments)});return d},h.parse=function(a,b,c,d,e,f){if(b.call)return b.call(f,a,c);if(b instanceof Array)g=b;else if(b.indexOf(",")>-1)var g=b.split(/\s*,\s*/);if(g){for(var i,j=[],k=0;i=g[k++];)j.push(h.parse(a,i,c,d,e,f));return j.remove=function(){for(var a=0;a0?c(a):e(a),a===g)return null;if(this._selectorFunc(a))return a}}})}),define("delite/HasDropDown",["dcl/dcl","dojo/Deferred","dojo/dom-class","dojo/when","./keys","./place","./popup","./Widget","./activationTracker","dpointer/events"],function(a,b,c,d,e,f,g,h){return a(h,{buttonNode:null,arrowWrapperNode: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=f.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,e=a.target;e&&!d;){if(c.contains(e,"d-popup")){d=!0;break}e=e.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")},refreshRendering:function(a){if("dropDownPosition"in a){var b={after:this.isLeftToRight()?"right":"left",before:this.isLeftToRight()?"left":"right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"down";this.setClassComponent("arrowDirectionIcon","d-"+b+"-arrow",this.arrowWrapperNode||this.buttonNode)}},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===e.ESCAPE?(this.closeDropDown(),a.stopPropagation(),a.preventDefault()):!this.opened&&(a.keyCode===e.DOWN_ARROW||(a.keyCode===e.ENTER||a.keyCode===e.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=new b;return this.emit("delite-display-load",{loadDeferred:a}),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(){return this._openDropDownPromise||(this._openDropDownPromise=d(this.loadDropDown()).then(function(a){this._currentDropDown=a;var b=this.aroundNode||this,d=this;this.emit("delite-before-show",{child:a,cancelable:!1}),this.id||(this.id="HasDropDown_"+this.widgetId),a._originalStyle=a.style.cssText;var e=g.open({parent:this,popup:a,around:b,orient:this.dropDownPosition,maxHeight:this.maxHeight,onExecute:function(){d.closeDropDown(!0)},onCancel:function(){d.closeDropDown(!0)},onClose:function(){c.remove(d.popupStateNode,"d-drop-down-open"),this.opened=!1}});if(e&&(this.forceWidth||this.autoWidth&&b.offsetWidth>a._popupWrapper.offsetWidth)){var f=b.offsetWidth-a._popupWrapper.offsetWidth;a._popupWrapper.style.width=b.offsetWidth+"px",a.style.width=b.offsetWidth+"px","R"===e.corner[1]&&(a._popupWrapper.style.left=a._popupWrapper.style.left.replace("px","")-f+"px")}return c.add(this.popupStateNode,"d-drop-down-open"),this.opened=!0,this.popupStateNode.setAttribute("aria-expanded","true"),this.popupStateNode.setAttribute("aria-owns",a.id),"presentation"===a.getAttribute("role")||a.getAttribute("aria-labelledby")||a.setAttribute("aria-labelledby",this.id),this.emit("delite-after-show",{child:a,cancelable:!1}),{dropDown:a,position:e}}.bind(this)))},closeDropDown:function(a){this._openDropDownPromise&&(this._openDropDownPromise.isFulfilled()||this._openDropDownPromise.cancel(),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}),g.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,refreshRendering:function(a){var b=this,c=this.tabStops.split(/[ ,]/);if("tabStops"in a||"disabled"in a){var d=this.disabled;this.valueNode&&this.valueNode!==this&&(this.valueNode.disabled=d),c.forEach(function(a){var c=b[a];c!==b&&(c.disabled=d),c.setAttribute("aria-disabled",""+d)},this),d||this.removeAttribute("disabled")}return("tabStops"in a||"tabIndex"in a||"disabled"in a)&&c.forEach(function(a){var c=b[a];c!==b&&(b.disabled?c.removeAttribute("tabindex"):c.tabIndex=b._get("tabIndex"))},this),a},focus:function(){if(!this.disabled&&this.focusNode.focus)try{this.focusNode.focus()}catch(a){}},setAttribute:a.superCall(function(a){return function(b,c){/^aria-/.test(b)?this.focusNode.setAttribute(b,c):a.call(this,b,c)}}),getAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.getAttribute(b):a.call(this,b)}}),hasAttribute:a.superCall(function(a){return function(b){return/^aria-/.test(b)?this.focusNode.hasAttribute(b):a.call(this,b)}}),removeAttribute:a.superCall(function(a){return function(b){/^aria-/.test(b)?this.focusNode.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){if("readOnly"in a){var b=this.readOnly;this.valueNode&&this.valueNode!==this&&(this.valueNode.readOnly=b),b||this.removeAttribute("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","dojo/Deferred","dojo/when","delite/Container"],function(a,b,c,d){return a(d,{show:function(d,e){var f={dest:d,loadDeferred:new b},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){-1===g.getIndexOfChild(b.child)&&g.addChild(b.child,b.index),f={dest:d,cancelable:!1},a.mix(f,e),a.mix(f,b),g.emit("delite-before-show",f),c(g.changeDisplay(b.child,f),function(){g.emit("delite-after-show",f),h.resolve(b)})}),h.promise},hide:function(d,e){var f={dest:d,loadDeferred:new b,bubbles:!0,cancelable:!0,hide:!0},g=this,h=new b;a.mix(f,e);var i=this.emit("delite-display-load",f)?this.load(d):f.loadDeferred;return c(i,function(b){f={dest:d,bubbles:!0,cancelable:!1,hide:!0},a.mix(f,e),a.mix(f,b),g.emit("delite-before-hide",f),c(g.changeDisplay(b.child,f),function(){-1!==g.getIndexOfChild(b.child)&&g.removeChild(b.child),g.emit("delite-after-hide",f),h.resolve(b)})}),h.promise},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],{_modalConnects:[],render:function(){this.className="d-dialog-underlay"},postRender:function(){this.ownerDocument.body.appendChild(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),this._modalConnects=[d.on("resize",function(){this.layout()}.bind(this))])},hide:function(){if(this._open){for(this.bgIframe.destroy(),delete this.bgIframe,this.style.display="none";this._modalConnects.length;)this._modalConnects.pop().remove();this._open=!1}},destroy:function(){for(;this._modalConnects.length;)this._modalConnects.pop().remove()}});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 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})}),_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))}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","dojo/dom-class","./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.toggle(this,"d-"+c.toLowerCase(),this[c])},this),"checked"in a&&(b.remove(this,"mixed"===a.checked?"d-mixed":"d-checked"),this.checked&&b.add(this,"mixed"===this.checked?"d-mixed":"d-checked")),"state"in a&&(b.remove(this,"d-"+a.state.toLowerCase()),b.add(this,"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.started&&!a.started&&a.startup&&a.startup()},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):this.textDir},_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.dir?this.dir: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}},wrapWithUcc:function(d){var e="auto"===this.textDir?this._checkContextual(d):this.textDir;return("ltr"===e?a:b)+d+c},enforceTextDirWithUcc:function(a){a.originalText=a.text,a.innerHTML=this.wrapWithUcc(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)}})}); +//# sourceMappingURL=layer.map +require.config({ + "packages": [ + { + "name": "delite", + "location": "delite-build" + }, + { + "name": "decor", + "location": "decor-build" + }, + { + "name": "dpointer", + "location": "dpointer-build" + } + ] +}); +define("delite-build/layer", ["decor-build/layer","dpointer-build/layer"], function(){}); \ No newline at end of file diff --git a/layer.map b/layer.map index 40c0547..e839b2a 100644 --- a/layer.map +++ b/layer.map @@ -1 +1 @@ -{"version":3,"file":"layer.js","sources":["..\\requirejs-text\\text.js","..\\dojo\\dom-geometry.js","..\\dojo\\dom-style.js","..\\dojo\\dom.js","..\\dojo\\_base\\window.js","..\\dojo\\_base\\lang.js","..\\dojo\\has.js","..\\dojo\\_base\\kernel.js","..\\dojo\\_base\\config.js","..\\dojo\\sniff.js","..\\delite\\uacss.js","..\\delite\\typematic.js","..\\delite\\theme.js","..\\delite\\register.js","..\\delite\\popup.js","..\\delite\\place.js","..\\delite\\keys.js","..\\delite\\handlebars.js","..\\delite\\focus.js","..\\requirejs-domready\\domReady.js","..\\dojo\\dom-class.js","..\\dojo\\_base\\array.js","..\\delite\\features.js","..\\delite\\css.js","..\\dojo\\Deferred.js","..\\dojo\\promise\\Promise.js","..\\dojo\\errors\\CancelError.js","..\\dojo\\errors\\create.js","..\\delite\\a11yclick.js","..\\delite\\a11y.js","..\\delite\\Widget.js","..\\delite\\Viewport.js","..\\delite\\Template.js","..\\delite\\StoreMap.js","..\\delite\\Store.js","..\\dojo\\when.js","..\\delite\\Selection.js","..\\delite\\Scrollable.js","..\\dojo\\fx\\easing.js","..\\dojo\\_base\\fx.js","..\\dojo\\aspect.js","..\\dojo\\_base\\Color.js","..\\dojo\\Evented.js","..\\dojo\\on.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","indexOf","isRelative","substring","length","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","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","win","dom","style","setBox","l","t","w","h","u","s","isNaN","left","top","width","height","isButtonTag","tagName","getAttribute","usesBorderBox","geom","boxModel","document","compatMode","getPadExtents","computedStyle","byId","getComputedStyle","px","toPixelValue","paddingLeft","paddingTop","r","paddingRight","b","paddingBottom","none","getBorderExtents","borderLeftStyle","borderLeftWidth","borderTopStyle","borderTopWidth","borderRightStyle","borderRightWidth","borderBottomStyle","borderBottomWidth","getPadBorderExtents","p","getMarginExtents","marginLeft","marginTop","marginRight","marginBottom","getMarginBox","pcs","me","offsetLeft","offsetTop","parentNode","sl","parseFloat","st","overflow","offsetWidth","offsetHeight","getContentBox","clientWidth","pe","be","clientHeight","setContentSize","box","pb","NaN","nilExtents","setMarginBox","mb","ns","Math","max","isBodyLtr","doc","body","dir","documentElement","docScroll","parentWindow","defaultView","x","pageXOffset","y","pageYOffset","fixIeBiDiScrollLeft","scrollLeft","scrollTop","getIeDocumentElementOffset","de","getBoundingClientRect","clientLeft","clientTop","ie","qk","pwin","global","frameElement","scrollHeight","scrollWidth","position","includeScroll","db","ownerDocument","ret","right","bottom","offset","scroll","getMarginSize","size","normalizeEvent","event","layerX","offsetX","layerY","offsetY","se","target","docBody","pageX","clientX","pageY","clientY","_toStyleValue","type","_pixelNamesCache","_pixelRegExp","test","toPixel","nodeType","dv","display","currentStyle","element","avalue","slice","rs","runtimeStyle","cs","sLeft","rsLeft","pixelLeft","astr","af","n","f","filters","item","_getOpacity","Opacity","opacity","_setOpacity","ov","fullyOpaque","zoom","filter","RegExp","Enabled","td","firstChild","nextSibling","_floatAliases","cssFloat","styleFloat","float","arguments","op","set","execCommand","id","_d","te","getElementById","attributes","eles","all","nodeName","isDescendant","ancestor","add","prefixes","cssUserSelect","setSelectable","selectable","nodes","getElementsByTagName","removeAttribute","setAttribute","dojo","setContext","globalObject","globalDocument","withGlobal","thisObject","cbArguments","oldGlob","withDoc","call","documentObject","isIE","mode","oldDoc","oldQ","oldIE","isQuirks","navigator","appVersion","documentMode","floor","apply","mixin","_extraNames","_extraLen","getProp","parts","create","context","scopeMap","shift","opts","Object","prototype","efficient","obj","startWith","concat","Array","_pattern","_mixin","dest","source","copyFunc","empty","setObject","pop","getObject","exists","isString","it","isArray","isFunction","isObject","isArrayLike","isFinite","isAlien","extend","ctor","_hitchArgs","scope","method","pre","_toArray","named","args","this","hitch","join","delegate","TMP","props","tmp","slow","arr","push","partial","clone","src","cloneNode","Date","getTime","constructor","trim","str","tmpl","map","pattern","_","k","isBrowser","window","createElement","cache","now","force","v8","addEventListener","maxTouchPoints","msMaxTouchPoints","screen","availWidth","innerWidth","form","clearElement","innerHTML","normalize","toAbsMid","tokens","skip","term","parentRequire","loaded","dijit","dojox","packageMap","_scopeName","noGlobals","baseUrl","isAsync","async","locale","rev","major","minor","patch","flag","revision","v","Function","exit","exitcode","quit","console","tn","cn","tcn","a","unshift","_fake","isDebug","deprecated","experimental","behaviour","extra","removal","message","warn","modulePaths","paths","moduleUrl","result","_hasResource","rawConfig","adviseHas","featureSet","prefix","booting","dojoConfig","djConfig","language","userLanguage","dua","userAgent","dav","tv","$1","os","SVGAngle","opera","wiiremote","maj","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","classStr","clz","className","typematic","_fireEventAndReload","_timer","_callback","_count","_node","_evt","_currentTimeout","_initialDelay","_subsequentDelay","round","_minDelay","setTimeout","bind","trigger","evt","_this","subsequentDelay","initialDelay","minDelay","_obj","stop","faux","attr","clearTimeout","addKeyListener","keyObject","handles","on","ctrlKey","altKey","metaKey","shiftKey","stopPropagation","preventDefault","remove","forEach","addMouseListener","addListener","mouseNode","keyNode","css","themeMap","getTheme","theme","search","ua","onload","commonCss","resources","buildFunctions","addOnce","loadList","layersMap","deps","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","themeDir","themedLoadList","writeLayer","writeConfig","dcl","tag","base","registry","extends","upgrade","getPropDescriptors","proto","keys","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","__upgraded__","widget","__proto__","defineProperties","_constructor","createdCallback","attachedCallback","contains","getTagConstructor","baseElement","baseCtor","HTMLElement","tags","tagMap","TypeError","registerElement","selectors","tagConstructor","params","srcNodeRef","cssText","setClassComponent","_ctor","restore","extension","register","superclasses","bases","_baseElement","_introspect","_propsToObserve","_getProps","_introspected","parse","root","idx","querySelectorAll","startup","_started","mix","defineProperty","configurable","writable","enumerable","HTMLAnchorElement","HTMLBaseElement","br","HTMLBRElement","button","HTMLButtonElement","canvas","HTMLCanvasElement","div","HTMLDivElement","dl","HTMLDListElement","directory","HTMLDirectoryElement","fieldset","HTMLFieldSetElement","font","HTMLFontElement","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","HTMLParagraphElement","param","HTMLParamElement","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","place","BackgroundIframe","Viewport","isDocLtr","destroyWrapper","_popupWrapper","removeChild","PopupManager","_stack","_beginZIndex","_idGen","_repositionAll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","dx","dy","wrapper","_aroundMoveListener","_createWrapper","appendChild","moveOffScreen","ltr","visibility","hide","getTopPopup","stack","pi","parent","popup","orient","isLeftToRight","maxHeight","Infinity","viewport","getEffectiveBox","aroundPos","padding","baseClass","zIndex","_popupParent","bgIframe","layoutFunc","best","at","handlers","onKeyDown","keyCode","ESCAPE","onCancel","TAB","topPopup","removeEventListener","executeHandler","onExecute","onClose","onOpen","some","elem","destroy","_place","choices","layoutNode","aroundNodeCoords","view","choice","corner","pos","spaceAvailable","L","R","M","T","B","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","min","startYpos","startX","startY","endX","endY","side","reverse","TL","TR","BL","BR","corners","c","anchor","positions","leftToRight","aroundNodePos","border","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","parentPos","bottomYCoord","rightXCoord","bcr","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","toJs","convertUndefinedToBlank","inVar","wp","prop","thisVar","expr","dependsOn","textPlugin","handlebars","templateNode","xmlns","attachPoints","hasAttribute","getElement","connects","attrs","propName","children","parseChildren","lastRealNode","child","childType","nodeValue","toDom","templateText","parser","DOMParser","parseFromString","container","compile","templateDom","tree","template","func","mid","loaderConfig","requires","domClass","Evented","lastFocusin","lastTouchOrFocusin","FocusManager","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","_onTouchNode","focusHandler","_onFocusNode","blurHandler","_onBlurNode","_clearActiveWidgetsTimer","_setStack","by","newStack","buildRendering","disabled","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","focused","_onBlur","_onFocus","focus","singleton","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","domReady","isTop","testDiv","attachEvent","doScroll","external","setInterval","array","str2array","spaces","a1","cls","fakeNode","oldLen","len","substr","addClassStr","removeClassStr","toggle","condition","buildFn","fn","everyOrSome","every","o","up","delta","lOver","uOver","from","last","lastIndexOf","end","Ctr","out","clearCache","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","Deferred","wk","parseInt","lastInsertedLink","listenOnLoad","def","loadHandler","resolve","sheet","styleSheet","styleSheets","promise","loadCss","rel","insertBefore","then","cssConf","JSON","stringify","CleanCSS","getNodePath","relativeTo","minify","ary","CancelError","Promise","instrumentation","PROGRESS","RESOLVED","REJECTED","FULFILLED_ERROR_MESSAGE","freezeObject","freeze","signalWaiting","waiting","rejection","deferred","instrumentRejected","signalListener","listener","newResult","signalDeferred","cancel","makeDeferredSignaler","isCanceled","progress","reject","canceler","fulfilled","canceled","captureStackTrace","isResolved","isRejected","isFulfilled","update","strict","progback","reason","returnedReason","throwAbstract","always","callbackOrErrback","otherwise","trace","traceRejected","dojoType","ErrorCtor","clickKey","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","dispatchEvent","a11y","_isElementShown","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","first","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","toUpperCase","getFirstInTabbingOrder","elems","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","Widget","widgetId","preCreate","postCreate","refreshRendering","oldVals","_templateHandle","refresh","_attached","tabIndex","desc","self","MO","MutationObserver","WebKitMutationObserver","observer","newValue","observe","subtree","attributeFilter","component","oldValProp","setOrRemoveAttribute","dependencies","notifyCurrentValue","findCustomElements","_destroyed","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","containerNode","childNodes","onFocus","onBlur","chainAfter","oldWidth","oldHeight","focusedNode","activeElement","readOnly","orientation","rect","elementCache","attrName","attrMap","rootNodeName","createRootNode","buildText","observeText","generateNodeCode","generateWatchCode","statement","generateNodeChildrenCode","childName","textNodeName","createNode","ap","info","js","handler","Store","getvalue","key","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","_parseAttr","sup","_propCaseMap","_parseFunctionAttr","mappedKeys","_itemKeys","deliver","renderItemToItem","renderItem","idProperty","itemToRenderItem","__item","getIdentity","remap","items","renderItems","j","when","query","processQueryResult","initItems","cancelable","bubbles","computeProperties","queryStoreAndInitItems","_untrack","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","_refreshHandler","processCollection","fetch","_queryError","log","tracking","itemRemoved","splice","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","valueOrPromise","receivedPromise","nativePromise","_set","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","_get","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","baseFx","easing","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","isLeftScroll","isRightScroll","getCurrentScroll","scrollBy","duration","to","scrollTo","anim","Curve","start","getValue","animation","Animation","beforeBegin","curve","onAnimate","val","expoInOut","rate","_animation","play","easingFuncs","linear","quadIn","pow","quadOut","quadInOut","cubicIn","cubicOut","cubicInOut","quartIn","quartOut","quartInOut","quintIn","quintOut","quintInOut","sineIn","cos","PI","sineOut","sin","sineInOut","expoIn","expoOut","circIn","sqrt","circOut","circInOut","backIn","backOut","backInOut","elasticIn","elasticOut","elasticInOut","bounceIn","bounceOut","bounceInOut","Color","aspect","basefx","_Line","repeat","_percent","_startRepeatCount","_getStep","_p","_e","_fire","debugAtAllCosts","delay","gotoStart","_t","_delayTimer","_clearTimer","_stopTimer","_active","_paused","_play","_startTime","valueOf","_cycle","pause","gotoPercent","percent","andPlay","gotoEnd","curr","step","_startTimer","ctr","timer","runner","run","_makeFadeable","_fade","fArgs","properties","animateProperty","fadeIn","fadeOut","_defaultEasing","PropLine","_properties","tempColor","blendColors","toCss","units","getStyle","isColor","pm","onEnd","_Animation","dispatcher","advice","receiveArguments","signal","previous","advised","next","nextId","methodName","existing","executionId","results","newResults","ArrayUtil","color","setColor","black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","transparent","transparentColor","g","fromString","fromArray","sanitize","toRgb","toRgba","toHex","includeAlpha","rgb","weight","fromRgb","colorFromRgb","m","fromHex","colorFromHex","bits","mask","Number","colorFromArray","colorFromString","dontFix","matchesTarget","selector","touchEvents","fixTouchListener","addStopImmediate","capture","captures","adjustedType","fixAttach","syntheticPreventDefault","syntheticStopPropagation","ScriptEngineMajorVersion","ScriptEngineMinorVersion","Event","stopImmediatePropagation","EventDelegate","eventDelegate","pausable","paused","resume","once","events","eventName","eventType","eventTarget","bubble","syntheticDispatch","newEvent","focusin","focusout","immediatelyStopped","modified","nativeEvent","initEvent","_fixEvent","sender","lastEvent","srcElement","currentTarget","relatedTarget","fromElement","toElement","charCode","_setKeyChar","IESignal","handle","_dojoIEListeners_","fixListener","emitter","listeners","oldListener","keyChar","fromCharCode","charOrCode","cancelBubble","_preventDefault","bubbledKeyCode","returnValue","windowOrientation","originalEvent","corrected","rotation","scale","firstChangeTouch","changedTouches","takesInput","focusedChild","_keyNavCodes","childSelector","_getTargetElement","_selectorFunc","matchesFuncName","keyCodes","focusFirstChild","focusLastChild","_onLeftArrow","_onRightArrow","_onUpArrow","_onDownArrow","_onContainerKeypress","_onContainerKeydown","_onContainerFocus","_onChildFocus","focusChild","_getNext","_savedTabIndex","_searchString","multiCharSearchDuration","onKeyboardSearch","_keyboardSearchCompare","searchString","focusNode","textContent","currentString","_searchTimer","_keyboardSearch","matchedItem","numMatches","allSameLetter","searchLen","defer","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","_buttonNode","_arrowWrapperNode","_popupStateNode","_aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","opened","_dropDownPointerDownHandler","_docHandler","_dropDownPointerUpHandler","toggleDropDown","_currentDropDown","overMenu","handleSlideClick","menuItem","_openDropDownPromise","focusDropDownOnOpen","hovering","keyboard","focusOnOpen","_focusDropDownTimer","_dropDownKeyDownHandler","_dropDownKeyUpHandler","defaultPos","closeDropDown","handleKey","_openOnKeyUp","openDropDown","loadDropDown","aroundNode","retVal","widthAdjust","alt","tabStops","oldValues","isDisabled","valueNode","FormWidget","genHandler","prevValueProp","deferHandleProp","compare","isReadOnly","val1","val2","_previousOnChangeValue","_previousOnInputValue","handleOnChange","handleOnInput","Container","show","loadDeferred","displayDeferred","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","_modalConnects","_onKeyDown","layout","_open","underlay","_singleton","Observable","Destroyable","Stateful","reduce","part","REGEXP_SHADOW_PROPS","hash","pcm","_observable","_parsedAttributes","_mapAttributes","_created","pa","_parsePrototypeAttr","stringToObject","eval","SyntaxError","parsedAttrs","attrsToRemove","parsedAttr","eventObj","_beingDestroyed","blur","own","propsToObserve","PropertyListObserver","getChildrenHelper","outAry","booleanCssProps","state","srcDom","_srcDom","createDocumentFragment","onAddChild","newChild","refChild","insertIndex","getChildren","hasChildren","LRE","RLE","PDF","textDir","getTextDir","_checkContextual","fdc","applyTextDir","wrapWithUcc","enforceTextDirWithUcc","originalText","restoreOriginalText","origObj","Frames","queue","_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,M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BAAqB,SAAUC,GAC1BA,EAAQF,eACXE,EAAQvoD,KAAOuoD,EAAQF,mBAChBE,GAAQF,kBChHnBvoD,OAAO,2BACN,UACA,cACE,SAAUukB,EAAK3b,GAKjB,GAAI8/C,GAAS,WACZ,GAAIC,KAEJzvC,MAAKpB,IAAM,WACV,GAAI4R,EAaJ,OAZIi/B,GAAM7lD,QACT4mB,EAASi/B,EAAM7wC,MACf4R,EAAO3gB,MAAMwI,QAAU,KAEvBmY,EAASxf,SAAS0Q,cAAc,UAChC8O,EAAO5P,IAAM,gBACb4P,EAAOrJ,UAAY,sBACnBqJ,EAAO3U,aAAa,OAAQ,gBAG5B2U,EAAOkd,SAAW,IAEZld,GAGRxQ,KAAKS,KAAO,SAAU+P,GACrBA,EAAO3gB,MAAMwI,QAAU,OACvBo3C,EAAMhvC,KAAK+P,KAGTk/B,EAAU,GAAIF,EAQlB,OAAOnkC,GAAI,MACVrK,YAAa,SAAUjV,GACtB,GAAI2D,EAAI,mBAAoB,CAC3B,GAAI8gB,GAAUxQ,KAAKwQ,OAASk/B,EAAQ9wC,KACpC7S,GAAK4pB,YAAYnF,GACjBA,EAAO3gB,MAAMW,MAAQ,OACrBggB,EAAO3gB,MAAMY,OAAS,SAOxBynB,QAAS,WACJlY,KAAK2vC,QACR3vC,KAAK2vC,MAAMpmC,SACXvJ,KAAK2vC,MAAQ,MAEV3vC,KAAKwQ,SACRxQ,KAAKwQ,OAAOpd,WAAWwhB,YAAY5U,KAAKwQ,QACxCk/B,EAAQjvC,KAAKT,KAAKwQ,cACXxQ,MAAKwQ"} \ No newline at end of file +{"version":3,"file":"layer.js","sources":["..\\requirejs-text\\text.js","..\\dojo\\dom-geometry.js","..\\dojo\\dom-style.js","..\\dojo\\dom.js","..\\dojo\\_base\\window.js","..\\delite\\uacss.js","..\\delite\\typematic.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","..\\requirejs-domready\\domReady.js","..\\dojo\\dom-class.js","..\\dojo\\_base\\array.js","..\\delite\\a11yclick.js","..\\delite\\a11y.js","..\\delite\\Widget.js","..\\delite\\Viewport.js","..\\delite\\Template.js","..\\delite\\StoreMap.js","..\\delite\\Store.js","..\\dojo\\when.js","..\\delite\\Selection.js","..\\delite\\Scrollable.js","..\\dojo\\fx\\easing.js","..\\dojo\\_base\\fx.js","..\\dojo\\aspect.js","..\\dojo\\_base\\Color.js","..\\dojo\\Evented.js","..\\dojo\\on.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","indexOf","isRelative","substring","length","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","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","win","dom","style","setBox","l","t","w","h","u","s","isNaN","left","top","width","height","isButtonTag","tagName","getAttribute","usesBorderBox","geom","boxModel","document","compatMode","getPadExtents","computedStyle","byId","getComputedStyle","px","toPixelValue","paddingLeft","paddingTop","r","paddingRight","b","paddingBottom","none","getBorderExtents","borderLeftStyle","borderLeftWidth","borderTopStyle","borderTopWidth","borderRightStyle","borderRightWidth","borderBottomStyle","borderBottomWidth","getPadBorderExtents","p","getMarginExtents","marginLeft","marginTop","marginRight","marginBottom","getMarginBox","pcs","me","offsetLeft","offsetTop","parentNode","sl","parseFloat","st","overflow","offsetWidth","offsetHeight","getContentBox","clientWidth","pe","be","clientHeight","setContentSize","box","pb","NaN","nilExtents","setMarginBox","mb","ns","Math","max","isBodyLtr","doc","body","dir","documentElement","docScroll","parentWindow","defaultView","x","pageXOffset","y","pageYOffset","fixIeBiDiScrollLeft","scrollLeft","scrollTop","getIeDocumentElementOffset","de","getBoundingClientRect","clientLeft","clientTop","ie","qk","pwin","global","frameElement","scrollHeight","scrollWidth","position","includeScroll","db","ownerDocument","ret","right","bottom","offset","scroll","getMarginSize","size","normalizeEvent","event","layerX","offsetX","layerY","offsetY","se","target","docBody","pageX","clientX","pageY","clientY","_toStyleValue","type","_pixelNamesCache","_pixelRegExp","test","toPixel","nodeType","dv","display","currentStyle","element","avalue","slice","rs","runtimeStyle","cs","sLeft","rsLeft","pixelLeft","astr","af","n","f","filters","item","_getOpacity","Opacity","opacity","_setOpacity","ov","fullyOpaque","zoom","filter","RegExp","Enabled","td","firstChild","nextSibling","_floatAliases","cssFloat","styleFloat","float","arguments","op","set","execCommand","id","_d","te","getElementById","attributes","eles","all","nodeName","isDescendant","ancestor","add","prefixes","cssUserSelect","setSelectable","selectable","nodes","getElementsByTagName","removeAttribute","setAttribute","dojo","setContext","globalObject","globalDocument","withGlobal","thisObject","cbArguments","oldGlob","withDoc","call","documentObject","isIE","mode","oldDoc","oldQ","oldIE","isQuirks","navigator","appVersion","documentMode","floor","apply","mixin","maj","ff","d-webkit","d-safari","d-chrome","d-gecko","d-ios","d-android","classStr","clz","className","trim","typematic","_fireEventAndReload","this","_timer","_callback","_count","_node","_evt","_currentTimeout","_initialDelay","_subsequentDelay","round","_minDelay","setTimeout","bind","trigger","evt","_this","obj","subsequentDelay","initialDelay","minDelay","_obj","stop","faux","attr","v","clearTimeout","addKeyListener","keyObject","handles","on","ctrlKey","altKey","metaKey","shiftKey","stopPropagation","preventDefault","remove","forEach","addMouseListener","addListener","mouseNode","keyNode","css","themeMap","getTheme","theme","search","ua","userAgent","$1","onload","commonCss","resources","buildFunctions","addOnce","loadList","layersMap","map","deps","writePluginFiles","resource","onLayerEnd","data","getLayerPath","pathRE","themeDir","dest","themedLoadList","writeLayer","destMid","writeConfig","dcl","createElement","tag","base","registry","extends","upgrade","getPropDescriptors","proto","props","k","keys","Object","getOwnPropertyNames","getOwnPropertyDescriptor","getPrototypeOf","constructor","__upgraded__","widget","__proto__","prototype","defineProperties","createdCallback","attachedCallback","contains","getTagConstructor","baseElement","baseCtor","HTMLElement","tags","tagMap","TypeError","registerElement","selectors","push","tagConstructor","params","srcNodeRef","cssText","setClassComponent","_ctor","restore","extension","register","superclasses","bases","Array","_baseElement","ctor","_introspect","_propsToObserve","_getProps","_introspected","parse","root","idx","querySelectorAll","join","startup","started","mix","a","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","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","destroyWrapper","_popupWrapper","removeChild","addEventListener","PopupManager","_stack","_beginZIndex","_idGen","_repositionAll","_viewportScrollHandler","_checkScroll","_firstAroundNode","oldPos","_firstAroundPosition","newPos","dx","dy","_aroundMoveListener","args","_size","_position","orient","_createWrapper","wrapper","appendChild","moveOffScreen","ltr","visibility","hide","getTopPopup","stack","pi","parent","popup","_prepareToOpen","wrapperClasses","baseClass","cls","zIndex","_popupParent","bgIframe","handlers","onKeyDown","keyCode","ESCAPE","onCancel","TAB","topPopup","removeEventListener","executeHandler","onExecute","stackEntry","create","measureSize","viewport","getEffectiveBox","_naturalHeight","_naturalWidth","maxHeight","Infinity","aroundPos","padding","isLeftToRight","layoutFunc","at","center","some","elem","pop","onClose","destroy","_placeAt","choices","layoutNode","aroundNodeCoords","view","best","choice","corner","pos","spaceAvailable","L","R","M","T","B","res","aroundCorner","oldDisplay","oldVis","bb","startXpos","min","startYpos","startX","startY","endX","endY","side","reverse","TL","TR","BL","BR","corners","c","anchor","positions","leftToRight","aroundNodePos","border","anchorBorder","anchorChildBorder","firstElementChild","nodeBorder","nodeChildBorder","sawPosAbsolute","parentPos","bottomYCoord","rightXCoord","bcr","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","toJs","convertUndefinedToBlank","inVar","parts","wp","str","prop","thisVar","expr","dependsOn","textPlugin","handlebars","templateNode","xmlns","attachPoints","hasAttribute","getElement","connects","attrs","propName","getProp","children","parseChildren","lastRealNode","child","childType","nodeValue","toDom","templateText","parser","DOMParser","parseFromString","container","innerHTML","compile","templateDom","tree","template","func","mid","loaderConfig","requires","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","domClass","Evented","lastFocusin","lastPointerDownOrFocusIn","ActivationTracker","activeStack","registerIframe","registerWin","contentWindow","targetWindow","effectiveNode","pointerDownHandler","_pointerDownOrFocusHandler","focusHandler","_focusHandler","blurHandler","_blurHandler","now","Date","getTime","_clearActiveWidgetsTimer","_setStack","by","newStack","render","disabled","unshift","_clearFocusTimer","oldStack","lastOldIdx","lastNewIdx","emit","bubbles","singleton","window","runCallbacks","callbacks","callReady","readyCalls","isPageLoaded","pageLoaded","scrollIntervalId","clearInterval","domReady","isTop","testDiv","isBrowser","attachEvent","doScroll","external","setInterval","array","str2array","spaces","a1","shift","fakeNode","oldLen","len","substr","addClassStr","removeClassStr","toggle","condition","buildFn","fn","cache","Function","everyOrSome","every","o","result","up","delta","lOver","uOver","from","last","lastIndexOf","end","arr","Ctr","out","clearCache","clickKey","lastKeyDownNode","defaultPrevented","clickEvent","createEvent","initMouseEvent","dispatchEvent","a11y","_isElementShown","hasDefaultTabStop","contentDocument","designMode","contentEditable","effectiveTabIndex","isTabNavigable","isFocusable","_getTabNavigable","radioName","walkTree","shown","tabindex","first","lowest","lowestTabindex","highest","highestTabindex","rn","checked","radioSelected","toUpperCase","getFirstInTabbingOrder","elems","getLastInTabbingOrder","Invalidating","CustomElement","Bidi","cnt","Widget","focused","widgetId","preRender","postRender","refreshRendering","oldVals","_templateHandle","refresh","tabIndex","desc","self","MO","MutationObserver","WebKitMutationObserver","observer","newValue","observe","subtree","attributeFilter","component","oldValProp","setOrRemoveAttribute","initializeInvalidating","dependencies","notifyCurrentValue","attached","findCustomElements","_destroyed","getParent","getEnclosingWidget","placeAt","reference","replaceChild","lastChild","insertBefore","containerNode","childNodes","chainAfter","getBox","innerWidth","innerHeight","checkForResize","newBox","oldEffectiveSize","checkForScroll","oldEffectiveScroll","poll","resized","scrolled","focusedNode","activeElement","readOnly","orientation","screen","elementCache","attrName","attrMap","rootNodeName","createRootNode","buildText","observeText","generateNodeCode","JSON","stringify","generateWatchCode","statement","generateNodeChildrenCode","childName","textNodeName","createNode","ap","info","js","handler","Store","getvalue","key","store","setvalue","propregexp","capitalize","allowRemap","_mappedKeys","copyAllItemProps","parseAttribute","sup","_propCaseMap","parseFunctionAttribute","queryStoreAndInitItems","processQueryResult","force","_pendingQuery","mappedKeys","_itemKeys","deliver","renderItemToItem","renderItem","tmp","idProperty","then","itemToRenderItem","__item","getIdentity","_setIdentity","random","remap","items","renderItems","j","when","query","initItems","cancelable","computeProperties","_untrack","_attachedlistener","collection","track","_tracked","_itemAdded","_itemUpdated","_itemRemoved","_refreshHandler","processCollection","fetch","_queryError","console","log","tracking","itemRemoved","splice","itemAdded","itemUpdated","itemMoved","previousIndex","newIndex","Deferred","Promise","valueOrPromise","progback","receivedPromise","nativePromise","resolve","deferred","cancel","reject","progress","promise","_set","selectionMode","_setSelectionModeAttr","selectedItems","selectedItem","_setSelectedItemAttr","_setSelectedItemsAttr","oldSelectedItems","updateRenderers","_getSelectedItemsAttr","_get","concat","hasSelectionModifier","isSelected","identity","sitem","setSelected","_setSelected","sel","selectFromEvent","renderer","dispatch","_selectFromEvent","changed","oldSelectedItem","selected","dispatchSelectionChange","newSelectedItem","triggerEvent","oldValue","baseFx","easing","scrollDirection","scrollableNode","_stopAnimation","isTopScroll","isBottomScroll","isLeftScroll","isRightScroll","getCurrentScroll","scrollBy","duration","to","scrollTo","anim","Curve","start","getValue","animation","Animation","beforeBegin","curve","onAnimate","val","expoInOut","rate","_animation","play","easingFuncs","linear","quadIn","pow","quadOut","quadInOut","cubicIn","cubicOut","cubicInOut","quartIn","quartOut","quartInOut","quintIn","quintOut","quintInOut","sineIn","cos","PI","sineOut","sin","sineInOut","expoIn","expoOut","circIn","sqrt","circOut","circInOut","backIn","backOut","backInOut","elasticIn","elasticOut","elasticInOut","bounceIn","bounceOut","bounceInOut","setObject","Color","aspect","_mixin","basefx","_Line","isArray","extend","repeat","_percent","_startRepeatCount","_getStep","_p","_e","_fire","debugAtAllCosts","delay","gotoStart","_t","_delayTimer","_clearTimer","_stopTimer","_active","_paused","hitch","_play","_startTime","valueOf","_cycle","pause","gotoPercent","percent","andPlay","gotoEnd","curr","step","_startTimer","ctr","timer","runner","run","_makeFadeable","_fade","fArgs","properties","animateProperty","partial","fadeIn","fadeOut","_defaultEasing","PropLine","_properties","tempColor","blendColors","toCss","units","getStyle","isColor","pm","isFunction","isObject","onEnd","_Animation","dispatcher","advice","receiveArguments","signal","previous","advised","next","nextId","methodName","existing","executionId","results","newResults","ArrayUtil","color","setColor","named","black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","transparent","transparentColor","g","isString","fromString","fromArray","sanitize","toRgb","toRgba","toHex","includeAlpha","rgb","weight","fromRgb","colorFromRgb","m","fromHex","colorFromHex","bits","mask","Number","colorFromArray","colorFromString","listener","dontFix","matchesTarget","selector","touchEvents","fixTouchListener","addStopImmediate","capture","captures","adjustedType","fixAttach","syntheticPreventDefault","syntheticStopPropagation","major","ScriptEngineMajorVersion","ScriptEngineMinorVersion","Event","stopImmediatePropagation","EventDelegate","eventDelegate","pausable","paused","resume","once","events","eventName","context","eventType","eventTarget","bubble","syntheticDispatch","method","newEvent","focusin","focusout","immediatelyStopped","modified","nativeEvent","initEvent","_fixEvent","sender","lastEvent","srcElement","currentTarget","relatedTarget","fromElement","toElement","charCode","_setKeyChar","IESignal","handle","_dojoIEListeners_","fixListener","emitter","listeners","oldListener","keyChar","fromCharCode","charOrCode","cancelBubble","_preventDefault","bubbledKeyCode","returnValue","windowOrientation","originalEvent","corrected","rotation","scale","firstChangeTouch","changedTouches","takesInput","keycodeToMethod","focusDescendants","navigatedDescendant","descendantSelector","_getTargetElement","_selectorFunc","matchesFuncName","_keynavKeyPressHandler","_keynavKeyDownHandler","_descendantNavigateHandler","_keynavDeactivatedHandler","_keynavFocusHandler","homeKeyHandler","navigateToFirst","endKeyHandler","navigateToLast","focus","navigateTo","getNext","_savedTabIndex","_searchString","multiCharSearchDuration","_keyboardSearchHandler","_keyboardSearchCompare","searchString","focusNode","textContent","currentString","_searchTimer","_keyboardSearch","_applyKeyHandler","matchedItem","numMatches","allSameLetter","searchLen","defer","currentItem","rc","dfsNext","nextElementSibling","dfsLast","lastElementChild","dfsPrev","previousElementSibling","origChild","buttonNode","arrowWrapperNode","popupStateNode","aroundNode","dropDown","autoWidth","forceWidth","dropDownPosition","opened","_dropDownPointerDownHandler","_docHandler","_dropDownPointerUpHandler","toggleDropDown","_currentDropDown","overMenu","handleSlideClick","menuItem","_openDropDownPromise","_focusDropDownOnOpen","hovering","keyboard","focusOnOpen","_focusDropDownTimer","_dropDownKeyDownHandler","_dropDownKeyUpHandler","_deactivatedHandler","defaultPos","closeDropDown","_openOnKeyUp","openDropDown","loadDropDown","def","loadDeferred","_originalStyle","retVal","widthAdjust","isFulfilled","alt","tabStops","oldValues","isDisabled","valueNode","FormWidget","genHandler","prevValueProp","deferHandleProp","compare","isReadOnly","val1","val2","_previousOnChangeValue","_previousOnInputValue","handleOnChange","handleOnInput","Container","show","displayDeferred","getIndexOfChild","addChild","changeDisplay","DialogUnderlay","_modalConnects","layout","_open","underlay","_singleton","Observable","Destroyable","Stateful","getObject","reduce","part","REGEXP_SHADOW_PROPS","hash","pcm","created","_observable","_parsedAttributes","_mapAttributes","pa","_parsePrototypeAttr","stringToObject","eval","SyntaxError","message","parsedAttrs","attrsToRemove","parsedAttr","eventObj","blur","own","propsToObserve","PropertyListObserver","getChildrenHelper","outAry","booleanCssProps","state","srcDom","_srcDom","createDocumentFragment","onAddChild","newChild","refChild","insertIndex","cn","getChildren","hasChildren","LRE","RLE","PDF","textDir","getTextDir","_checkContextual","fdc","applyTextDir","wrapWithUcc","enforceTextDirWithUcc","originalText","restoreOriginalText","origObj","Frames","queue","src","_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,O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KqK,OAAOpV,WAAWyZ,YAAY1O,KAAKqK,QACxC0/B,EAAQtjC,KAAKzG,KAAKqK,cACXrK,MAAKqK"} \ No newline at end of file diff --git a/themes/defaultapp.css b/themes/defaultapp.css index 5b10955..0c7af13 100644 --- a/themes/defaultapp.css +++ b/themes/defaultapp.css @@ -6,4 +6,12 @@ html, body { height: 100%; margin: 0; padding: 0; -} \ No newline at end of file +} + +.width100 { + width: 100%; +} + +.height100 { + height: 100%; +} diff --git a/themes/layer_bootstrap.css b/themes/layer_bootstrap.css index 9193441..0694d88 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}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden}.d-popup{position:absolute;background-color:transparent;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;overflow:auto}.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;-webkit-transform:translate3d(0,0,0)}.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-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}.d-invisible,[d-invisible=true],[d-visible=false]{visibility:hidden}.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;-webkit-transform:translate3d(0,0,0)}.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