PageSourceSearch

https://epsg.org/js/dojo/dojoComponents.js

js epsg.org collected 2026-10-01 09:12:04 UTC 60,466 bytes, 8 lines download raw bytes

1/*
2	Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
3	Available via Academic Free License >= 2.1 OR the modified BSD license.
4	see: http://dojotoolkit.org/license for details
5*/
6
7//>>built
8require({cache:{"dijit/a11y":function(){define(["dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/sniff","./main"],function(_1,_2,_3,_4,_5,_6,_7){var _8;var _9={_isElementShown:function(_a){var s=_4.get(_a);return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_3.get(_a,"type")!="hidden");},hasDefaultTabStop:function(_b){switch(_b.nodeName.toLowerCase()){case "a":return _3.has(_b,"href");case "area":case "button":case "input":case "object":case "select":case "textarea":return true;case "iframe":var _c;try{var _d=_b.contentDocument;if("designMode" in _d&&_d.designMode=="on"){return true;}_c=_d.body;}catch(e1){try{_c=_b.contentWindow.document.body;}catch(e2){return false;}}return _c&&(_c.contentEditable=="true"||(_c.firstChild&&_c.firstChild.contentEditable=="true"));default:return _b.contentEditable=="true";}},effectiveTabIndex:function(_e){if(_3.get(_e,"disabled")){return _8;}else{if(_3.has(_e,"tabIndex")){return +_3.get(_e,"tabIndex");}else{return _9.hasDefaultTabStop(_e)?0:_8;}}},isTabNavigable:function(_f){return _9.effectiveTabIndex(_f)>=0;},isFocusable:function(_10){return _9.effectiveTabIndex(_10)>=-1;},_getTabNavigable:function(_11){var _12,_13,_14,_15,_16,_17,_18={};function _19(_1a){return _1a&&_1a.tagName.toLowerCase()=="input"&&_1a.type&&_1a.type.toLowerCase()=="radio"&&_1a.name&&_1a.name.toLowerCase();};var _1b=_9._isElementShown,_1c=_9.effectiveTabIndex;var _1d=function(_1e){for(var _1f=_1e.firstChild;_1f;_1f=_1f.nextSibling){if(_1f.nodeType!=1||(_6("ie")<=9&&_1f.scopeName!=="HTML")||!_1b(_1f)){continue;}var _20=_1c(_1f);if(_20>=0){if(_20==0){if(!_12){_12=_1f;}_13=_1f;}else{if(_20>0){if(!_14||_20<_15){_15=_20;_14=_1f;}if(!_16||_20>=_17){_17=_20;_16=_1f;}}}var rn=_19(_1f);if(_3.get(_1f,"checked")&&rn){_18[rn]=_1f;}}if(_1f.nodeName.toUpperCase()!="SELECT"){_1d(_1f);}}};if(_1b(_11)){_1d(_11);}function rs(_21){return _18[_19(_21)]||_21;};return {first:rs(_12),last:rs(_13),lowest:rs(_14),highest:rs(_16)};},getFirstInTabbingOrder:function(_22,doc){var _23=_9._getTabNavigable(_2.byId(_22,doc));return _23.lowest?_23.lowest:_23.first;},getLastInTabbingOrder:function(_24,doc){var _25=_9._getTabNavigable(_2.byId(_24,doc));return _25.last?_25.last:_25.highest;}};1&&_5.mixin(_7,_9);return _9;});},"dijit/_OnDijitClickMixin":function(){define(["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/has","./a11yclick"],function(on,_26,_27,_28,has,_29){var ret=_28("dijit._OnDijitClickMixin",null,{connect:function(obj,_2a,_2b){return this.inherited(arguments,[obj,_2a=="ondijitclick"?_29:_2a,_2b]);}});ret.a11yclick=_29;return ret;});},"dojo/request":function(){define(["./request/default!"],function(_2c){return _2c;});},"dijit/a11yclick":function(){define(["dojo/keys","dojo/mouse","dojo/on","dojo/touch"],function(_2d,_2e,on,_2f){function _30(e){if((e.keyCode===_2d.ENTER||e.keyCode===_2d.SPACE)&&!/input|button|textarea/i.test(e.target.nodeName)){for(var _31=e.target;_31;_31=_31.parentNode){if(_31.dojoClick){return true;}}}};var _32;on(document,"keydown",function(e){if(_30(e)){_32=e.target;e.preventDefault();}else{_32=null;}});on(document,"keyup",function(e){if(_30(e)&&e.target==_32){_32=null;on.emit(e.target,"click",{cancelable:true,bubbles:true,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,metaKey:e.metaKey,altKey:e.altKey,_origType:e.type});}});var _33=function(_34,_35){_34.dojoClick=true;return on(_34,"click",_35);};_33.click=_33;_33.press=function(_36,_37){var _38=on(_36,_2f.press,function(evt){if(evt.type=="mousedown"&&!_2e.isLeft(evt)){return;}_37(evt);}),_39=on(_36,"keydown",function(evt){if(evt.keyCode===_2d.ENTER||evt.keyCode===_2d.SPACE){_37(evt);}});return {remove:function(){_38.remove();_39.remove();}};};_33.release=function(_3a,_3b){var _3c=on(_3a,_2f.release,function(evt){if(evt.type=="mouseup"&&!_2e.isLeft(evt)){return;}_3b(evt);}),_3d=on(_3a,"keyup",function(evt){if(evt.keyCode===_2d.ENTER||evt.keyCode===_2d.SPACE){_3b(evt);}});return {remove:function(){_3c.remove();_3d.remove();}};};_33.move=_2f.move;return _33;});},"dojo/touch":function(){define(["./_base/kernel","./aspect","./dom","./dom-class","./_base/lang","./on","./has","./mouse","./domReady","./_base/window"],function(_3e,_3f,dom,_40,_41,on,has,_42,_43,win){var _44=has("ios")<5;var _45=has("pointer-events")||has("MSPointer"),_46=(function(){var _47={};for(var _48 in {down:1,move:1,up:1,cancel:1,over:1,out:1}){_47[_48]=has("MSPointer")?"MSPointer"+_48.charAt(0).toUpperCase()+_48.slice(1):"pointer"+_48;}return _47;})();var _49=has("touch-events");var _4a,_4b,_4c=false,_4d,_4e,_4f,_50,_51,_52;var _53;function _54(_55,_56,_57){if(_45&&_57){return function(_58,_59){return on(_58,_57,_59);};}else{if(_49){return function(_5a,_5b){var _5c=on(_5a,_56,function(evt){_5b.call(this,evt);_53=(new Date()).getTime();}),_5d=on(_5a,_55,function(evt){if(!_53||(new Date()).getTime()>_53+1000){_5b.call(this,evt);}});return {remove:function(){_5c.remove();_5d.remove();}};};}else{return function(_5e,_5f){return on(_5e,_55,_5f);};}}};
8function _60(_61){do{if(_61.dojoClick!==undefined){return _61;}}while(_61=_61.parentNode);};function _62(e,_63,_64){if(_42.isRight(e)){return;}var _65=_60(e.target);_4b=!e.target.disabled&&_65&&_65.dojoClick;if(_4b){_4c=(_4b=="useTarget");_4d=(_4c?_65:e.target);if(_4c){e.preventDefault();}_4e=e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX;_4f=e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY;_50=(typeof _4b=="object"?_4b.x:(typeof _4b=="number"?_4b:0))||4;_51=(typeof _4b=="object"?_4b.y:(typeof _4b=="number"?_4b:0))||4;if(!_4a){_4a=true;var _66=function _66(e){if(_4c){_4b=dom.isDescendant(win.doc.elementFromPoint((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX),(e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)),_4d);}else{_4b=_4b&&(e.changedTouches?e.changedTouches[0].target:e.target)==_4d&&Math.abs((e.changedTouches?e.changedTouches[0].pageX-win.global.pageXOffset:e.clientX)-_4e)<=_50&&Math.abs((e.changedTouches?e.changedTouches[0].pageY-win.global.pageYOffset:e.clientY)-_4f)<=_51;}};win.doc.addEventListener(_63,function(e){if(_42.isRight(e)){return;}_66(e);if(_4c){e.preventDefault();}},true);win.doc.addEventListener(_64,function(e){if(_42.isRight(e)){return;}_66(e);if(_4b){_52=(new Date()).getTime();var _67=(_4c?_4d:e.target);if(_67.tagName==="LABEL"){_67=dom.byId(_67.getAttribute("for"))||_67;}var src=(e.changedTouches)?e.changedTouches[0]:e;var _68=function _68(_69){var evt=document.createEvent("MouseEvents");evt._dojo_click=true;evt.initMouseEvent(_69,true,true,e.view,e.detail,src.screenX,src.screenY,src.clientX,src.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null);return evt;};var _6a=_68("mousedown");var _6b=_68("mouseup");var _6c=_68("click");setTimeout(function(){on.emit(_67,"mousedown",_6a);on.emit(_67,"mouseup",_6b);on.emit(_67,"click",_6c);_52=(new Date()).getTime();},0);}},true);var _6d=function _6d(_6e){win.doc.addEventListener(_6e,function(e){var _6f=e.target;if(_4b&&!e._dojo_click&&(new Date()).getTime()<=_52+1000&&!(_6f.tagName=="INPUT"&&_40.contains(_6f,"dijitOffScreen"))){e.stopPropagation();e.stopImmediatePropagation&&e.stopImmediatePropagation();if(_6e=="click"&&(_6f.tagName!="INPUT"||(_6f.type=="radio"&&(_40.contains(_6f,"dijitCheckBoxInput")||_40.contains(_6f,"mblRadioButton")))||(_6f.type=="checkbox"&&(_40.contains(_6f,"dijitCheckBoxInput")||_40.contains(_6f,"mblCheckBox"))))&&_6f.tagName!="TEXTAREA"&&_6f.tagName!="AUDIO"&&_6f.tagName!="VIDEO"){e.preventDefault();}}},true);};_6d("click");_6d("mousedown");_6d("mouseup");}}};var _70;if(has("touch")){if(_45){_43(function(){win.doc.addEventListener(_46.down,function(evt){_62(evt,_46.move,_46.up);},true);});}else{_43(function(){_70=win.body();win.doc.addEventListener("touchstart",function(evt){_53=(new Date()).getTime();var _71=_70;_70=evt.target;on.emit(_71,"dojotouchout",{relatedTarget:_70,bubbles:true});on.emit(_70,"dojotouchover",{relatedTarget:_71,bubbles:true});_62(evt,"touchmove","touchend");},true);function _72(evt){var _73=_41.delegate(evt,{bubbles:true});if(has("ios")>=6){_73.touches=evt.touches;_73.altKey=evt.altKey;_73.changedTouches=evt.changedTouches;_73.ctrlKey=evt.ctrlKey;_73.metaKey=evt.metaKey;_73.shiftKey=evt.shiftKey;_73.targetTouches=evt.targetTouches;}return _73;};on(win.doc,"touchmove",function(evt){_53=(new Date()).getTime();var _74=win.doc.elementFromPoint(evt.pageX-(_44?0:win.global.pageXOffset),evt.pageY-(_44?0:win.global.pageYOffset));if(_74){if(_70!==_74){on.emit(_70,"dojotouchout",{relatedTarget:_74,bubbles:true});on.emit(_74,"dojotouchover",{relatedTarget:_70,bubbles:true});_70=_74;}if(!on.emit(_74,"dojotouchmove",_72(evt))){evt.preventDefault();}}});on(win.doc,"touchend",function(evt){_53=(new Date()).getTime();var _75=win.doc.elementFromPoint(evt.pageX-(_44?0:win.global.pageXOffset),evt.pageY-(_44?0:win.global.pageYOffset))||win.body();on.emit(_75,"dojotouchend",_72(evt));});});}}var _76={press:_54("mousedown","touchstart",_46.down),move:_54("mousemove","dojotouchmove",_46.move),release:_54("mouseup","dojotouchend",_46.up),cancel:_54(_42.leave,"touchcancel",_45?_46.cancel:null),over:_54("mouseover","dojotouchover",_46.over),out:_54("mouseout","dojotouchout",_46.out),enter:_42._eventHandler(_54("mouseover","dojotouchover",_46.over)),leave:_42._eventHandler(_54("mouseout","dojotouchout",_46.out))};1&&(_3e.touch=_76);return _76;});},"dijit/_AttachMixin":function(){define(["require","dojo/_base/array","dojo/_base/connect","dojo/_base/declare","dojo/_base/lang","dojo/mouse","dojo/on","dojo/touch","./_WidgetBase"],function(_77,_78,_79,_7a,_7b,_7c,on,_7d,_7e){var _7f=_7b.delegate(_7d,{"mouseenter":_7c.enter,"mouseleave":_7c.leave,"keypress":_79._keypress});var _80;var _81=_7a("dijit._AttachMixin",null,{constructor:function(){this._attachPoints=[];this._attachEvents=[];},buildRendering:function(){this.inherited(arguments);this._attachTemplateNodes(this.domNode);this._beforeFillContent();},_beforeFillContent:function(){},_attachTemplateNodes:function(_82){var _83=_82;while(true){if(_83.nodeType==1&&(this._processTemplateNode(_83,function(n,p){return n.getAttribute(p);},this._attach)||this.searchContainerNode)&&_83.firstChild){_83=_83.firstChild;}else{if(_83==_82){return;}while(!_83.nextSibling){_83=_83.parentNode;if(_83==_82){return;}}_83=_83.nextSibling;}}},_processTemplateNode:function(_84,_85,_86){var ret=true;var _87=this.attachScope||this,_88=_85(_84,"dojoAttachPoint")||_85(_84,"data-dojo-attach-point");if(_88){var _89,_8a=_88.split(/\s*,\s*/);while((_89=_8a.shift())){if(_7b.isArray(_87[_89])){_87[_89].push(_84);}else{_87[_89]=_84;}
8ret=(_89!="containerNode");this._attachPoints.push(_89);}}var _8b=_85(_84,"dojoAttachEvent")||_85(_84,"data-dojo-attach-event");if(_8b){var _8c,_8d=_8b.split(/\s*,\s*/);var _8e=_7b.trim;while((_8c=_8d.shift())){if(_8c){var _8f=null;if(_8c.indexOf(":")!=-1){var _90=_8c.split(":");_8c=_8e(_90[0]);_8f=_8e(_90[1]);}else{_8c=_8e(_8c);}if(!_8f){_8f=_8c;}this._attachEvents.push(_86(_84,_8c,_7b.hitch(_87,_8f)));}}}return ret;},_attach:function(_91,_92,_93){_92=_92.replace(/^on/,"").toLowerCase();if(_92=="dijitclick"){_92=_80||(_80=_77("./a11yclick"));}else{_92=_7f[_92]||_92;}return on(_91,_92,_93);},_detachTemplateNodes:function(){var _94=this.attachScope||this;_78.forEach(this._attachPoints,function(_95){delete _94[_95];});this._attachPoints=[];_78.forEach(this._attachEvents,function(_96){_96.remove();});this._attachEvents=[];},destroyRendering:function(){this._detachTemplateNodes();this.inherited(arguments);}});_7b.extend(_7e,{dojoAttachEvent:"",dojoAttachPoint:""});return _81;});},"dijit/focus":function(){define(["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/domReady","dojo/sniff","dojo/Stateful","dojo/_base/window","dojo/window","./a11y","./registry","./main"],function(_97,_98,dom,_99,_9a,_9b,_9c,_9d,on,_9e,has,_9f,win,_a0,_a1,_a2,_a3){var _a4;var _a5;var _a6=_98([_9f,_9c],{curNode:null,activeStack:[],constructor:function(){var _a7=_9d.hitch(this,function(_a8){if(dom.isDescendant(this.curNode,_a8)){this.set("curNode",null);}if(dom.isDescendant(this.prevNode,_a8)){this.set("prevNode",null);}});_97.before(_9b,"empty",_a7);_97.before(_9b,"destroy",_a7);},registerIframe:function(_a9){return this.registerWin(_a9.contentWindow,_a9);},registerWin:function(_aa,_ab){var _ac=this,_ad=_aa.document&&_aa.document.body;if(_ad){var _ae=has("pointer-events")?"pointerdown":has("MSPointer")?"MSPointerDown":has("touch-events")?"mousedown, touchstart":"mousedown";var mdh=on(_aa.document,_ae,function(evt){if(evt&&evt.target&&evt.target.parentNode==null){return;}_ac._onTouchNode(_ab||evt.target,"mouse");});var fih=on(_ad,"focusin",function(evt){if(!evt.target.tagName){return;}var tag=evt.target.tagName.toLowerCase();if(tag=="#document"||tag=="body"){return;}if(_a1.isFocusable(evt.target)){_ac._onFocusNode(_ab||evt.target);}else{_ac._onTouchNode(_ab||evt.target);}});var foh=on(_ad,"focusout",function(evt){_ac._onBlurNode(_ab||evt.target);});return {remove:function(){mdh.remove();fih.remove();foh.remove();mdh=fih=foh=null;_ad=null;}};}},_onBlurNode:function(_af){var now=(new Date()).getTime();if(now<_a4+100){return;}if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);}this._clearFocusTimer=setTimeout(_9d.hitch(this,function(){this.set("prevNode",this.curNode);this.set("curNode",null);}),0);if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);}if(now<_a5+100){return;}this._clearActiveWidgetsTimer=setTimeout(_9d.hitch(this,function(){delete this._clearActiveWidgetsTimer;this._setStack([]);}),0);},_onTouchNode:function(_b0,by){_a5=(new Date()).getTime();if(this._clearActiveWidgetsTimer){clearTimeout(this._clearActiveWidgetsTimer);delete this._clearActiveWidgetsTimer;}if(_9a.contains(_b0,"dijitPopup")){_b0=_b0.firstChild;}var _b1=[];try{while(_b0){var _b2=_99.get(_b0,"dijitPopupParent");if(_b2){_b0=_a2.byId(_b2).domNode;}else{if(_b0.tagName&&_b0.tagName.toLowerCase()=="body"){if(_b0===win.body()){break;}_b0=_a0.get(_b0.ownerDocument).frameElement;}else{var id=_b0.getAttribute&&_b0.getAttribute("widgetId"),_b3=id&&_a2.byId(id);if(_b3&&!(by=="mouse"&&_b3.get("disabled"))){_b1.unshift(id);}_b0=_b0.parentNode;}}}}catch(e){}this._setStack(_b1,by);},_onFocusNode:function(_b4){if(!_b4){return;}if(_b4.nodeType==9){return;}_a4=(new Date()).getTime();if(this._clearFocusTimer){clearTimeout(this._clearFocusTimer);delete this._clearFocusTimer;}this._onTouchNode(_b4);if(_b4==this.curNode){return;}this.set("prevNode",this.curNode);this.set("curNode",_b4);},_setStack:function(_b5,by){var _b6=this.activeStack,_b7=_b6.length-1,_b8=_b5.length-1;if(_b5[_b8]==_b6[_b7]){return;}this.set("activeStack",_b5);var _b9,i;for(i=_b7;i>=0&&_b6[i]!=_b5[i];i--){_b9=_a2.byId(_b6[i]);if(_b9){_b9._hasBeenBlurred=true;_b9.set("focused",false);
8if(_b9._focusManager==this){_b9._onBlur(by);}this.emit("widget-blur",_b9,by);}}for(i++;i<=_b8;i++){_b9=_a2.byId(_b5[i]);if(_b9){_b9.set("focused",true);if(_b9._focusManager==this){_b9._onFocus(by);}this.emit("widget-focus",_b9,by);}}},focus:function(_ba){if(_ba){try{_ba.focus();}catch(e){}}}});var _bb=new _a6();_9e(function(){var _bc=_bb.registerWin(_a0.get(document));if(has("ie")){on(window,"unload",function(){if(_bc){_bc.remove();_bc=null;}});}});_a3.focus=function(_bd){_bb.focus(_bd);};for(var _be in _bb){if(!/^_/.test(_be)){_a3.focus[_be]=typeof _bb[_be]=="function"?_9d.hitch(_bb,_be):_bb[_be];}}_bb.watch(function(_bf,_c0,_c1){_a3.focus[_bf]=_c1;});return _bb;});},"dijit/Destroyable":function(){define(["dojo/_base/array","dojo/aspect","dojo/_base/declare"],function(_c2,_c3,_c4){return _c4("dijit.Destroyable",null,{destroy:function(_c5){this._destroyed=true;},own:function(){var _c6=["destroyRecursive","destroy","remove"];_c2.forEach(arguments,function(_c7){var _c8;var odh=_c3.before(this,"destroy",function(_c9){_c7[_c8](_c9);});var _ca=[];function _cb(){odh.remove();_c2.forEach(_ca,function(hdh){hdh.remove();});};if(_c7.then){_c8="cancel";_c7.then(_cb,_cb);}else{_c2.forEach(_c6,function(_cc){if(typeof _c7[_cc]==="function"){if(!_c8){_c8=_cc;}_ca.push(_c3.after(_c7,_cc,_cb,true));}});}},this);return arguments;}});});},"dijit/_TemplatedMixin":function(){define(["dojo/cache","dojo/_base/declare","dojo/dom-construct","dojo/_base/lang","dojo/on","dojo/sniff","dojo/string","./_AttachMixin"],function(_cd,_ce,_cf,_d0,on,has,_d1,_d2){var _d3=_ce("dijit._TemplatedMixin",_d2,{templateString:null,templatePath:null,_skipNodeCache:false,searchContainerNode:true,_stringRepl:function(_d4){var _d5=this.declaredClass,_d6=this;return _d1.substitute(_d4,this,function(_d7,key){if(key.charAt(0)=="!"){_d7=_d0.getObject(key.substr(1),false,_d6);}if(typeof _d7=="undefined"){throw new Error(_d5+" template:"+key);}if(_d7==null){return "";}return key.charAt(0)=="!"?_d7:this._escapeValue(""+_d7);},this);},_escapeValue:function(val){return val.replace(/["'<>&]/g,function(val){return {"&":"&amp;","<":"&lt;",">":"&gt;","\"":"&quot;","'":"&#x27;"}[val];});},buildRendering:function(){if(!this._rendered){if(!this.templateString){this.templateString=_cd(this.templatePath,{sanitize:true});}var _d8=_d3.getCachedTemplate(this.templateString,this._skipNodeCache,this.ownerDocument);var _d9;if(_d0.isString(_d8)){_d9=_cf.toDom(this._stringRepl(_d8),this.ownerDocument);if(_d9.nodeType!=1){throw new Error("Invalid template: "+_d8);}}else{_d9=_d8.cloneNode(true);}this.domNode=_d9;}this.inherited(arguments);if(!this._rendered){this._fillContent(this.srcNodeRef);}this._rendered=true;},_fillContent:function(_da){var _db=this.containerNode;if(_da&&_db){while(_da.hasChildNodes()){_db.appendChild(_da.firstChild);}}}});_d3._templateCache={};_d3.getCachedTemplate=function(_dc,_dd,doc){var _de=_d3._templateCache;var key=_dc;var _df=_de[key];if(_df){try{if(!_df.ownerDocument||_df.ownerDocument==(doc||document)){return _df;}}catch(e){}_cf.destroy(_df);}_dc=_d1.trim(_dc);if(_dd||_dc.match(/\$\{([^\}]+)\}/g)){return (_de[key]=_dc);}else{var _e0=_cf.toDom(_dc,doc);if(_e0.nodeType!=1){throw new Error("Invalid template: "+_dc);}return (_de[key]=_e0);}};if(has("ie")){on(window,"unload",function(){var _e1=_d3._templateCache;for(var key in _e1){var _e2=_e1[key];if(typeof _e2=="object"){_cf.destroy(_e2);}delete _e1[key];}});}return _d3;});},"dijit/Tooltip":function(){define(["dojo/_base/array","dojo/_base/declare","dojo/_base/fx","dojo/dom","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/on","dojo/sniff","./_base/manager","./place","./_Widget","./_TemplatedMixin","./BackgroundIframe","dojo/text!./templates/Tooltip.html","./main"],function(_e3,_e4,fx,dom,_e5,_e6,_e7,_e8,_e9,on,has,_ea,_eb,_ec,_ed,_ee,_ef,_f0){var _f1=_e4("dijit._MasterTooltip",[_ec,_ed],{duration:_ea.defaultDuration,templateString:_ef,postCreate:function(){this.ownerDocumentBody.appendChild(this.domNode);
vendor: 5,685 bytes, line 8
8this.bgIframe=new _ee(this.domNode);this.fadeIn=fx.fadeIn({node:this.domNode,duration:this.duration,onEnd:_e8.hitch(this,"_onShow")});this.fadeOut=fx.fadeOut({node:this.domNode,duration:this.duration,onEnd:_e8.hitch(this,"_onHide")});},show:function(_f2,_f3,_f4,rtl,_f5,_f6,_f7){if(this.aroundNode&&this.aroundNode===_f3&&this.containerNode.innerHTML==_f2){return;}if(this.fadeOut.status()=="playing"){this._onDeck=arguments;return;}this.containerNode.innerHTML=_f2;if(_f5){this.set("textDir",_f5);}this.containerNode.align=rtl?"right":"left";var pos=_eb.around(this.domNode,_f3,_f4&&_f4.length?_f4:_f8.defaultPosition,!rtl,_e8.hitch(this,"orient"));var _f9=pos.aroundNodePos;if(pos.corner.charAt(0)=="M"&&pos.aroundCorner.charAt(0)=="M"){this.connectorNode.style.top=_f9.y+((_f9.h-this.connectorNode.offsetHeight)>>1)-pos.y+"px";this.connectorNode.style.left="";}else{if(pos.corner.charAt(1)=="M"&&pos.aroundCorner.charAt(1)=="M"){this.connectorNode.style.left=_f9.x+((_f9.w-this.connectorNode.offsetWidth)>>1)-pos.x+"px";}else{this.connectorNode.style.left="";this.connectorNode.style.top="";}}_e7.set(this.domNode,"opacity",0);this.fadeIn.play();this.isShowingNow=true;this.aroundNode=_f3;this.onMouseEnter=_f6||_fa;this.onMouseLeave=_f7||_fa;},orient:function(_fb,_fc,_fd,_fe,_ff){this.connectorNode.style.top="";var _100=_fe.h,_101=_fe.w;_fb.className="dijitTooltip "+{"MR-ML":"dijitTooltipRight","ML-MR":"dijitTooltipLeft","TM-BM":"dijitTooltipAbove","BM-TM":"dijitTooltipBelow","BL-TL":"dijitTooltipBelow dijitTooltipABLeft","TL-BL":"dijitTooltipAbove dijitTooltipABLeft","BR-TR":"dijitTooltipBelow dijitTooltipABRight","TR-BR":"dijitTooltipAbove dijitTooltipABRight","BR-BL":"dijitTooltipRight","BL-BR":"dijitTooltipLeft"}[_fc+"-"+_fd];this.domNode.style.width="auto";var size=_e6.position(this.domNode);if(has("ie")||has("trident")){size.w+=2;}var _102=Math.min((Math.max(_101,1)),size.w);_e6.setMarginBox(this.domNode,{w:_102});if(_fd.charAt(0)=="B"&&_fc.charAt(0)=="B"){var bb=_e6.position(_fb);var _103=this.connectorNode.offsetHeight;if(bb.h>_100){var _104=_100-((_ff.h+_103)>>1);this.connectorNode.style.top=_104+"px";this.connectorNode.style.bottom="";}else{this.connectorNode.style.bottom=Math.min(Math.max(_ff.h/2-_103/2,0),bb.h-_103)+"px";this.connectorNode.style.top="";}}else{this.connectorNode.style.top="";this.connectorNode.style.bottom="";}return Math.max(0,size.w-_101);},_onShow:function(){if(has("ie")){this.domNode.style.filter="";}},hide:function(_105){if(this._onDeck&&this._onDeck[1]==_105){this._onDeck=null;}else{if(this.aroundNode===_105){this.fadeIn.stop();this.isShowingNow=false;this.aroundNode=null;this.fadeOut.play();}else{}}this.onMouseEnter=this.onMouseLeave=_fa;},_onHide:function(){this.domNode.style.cssText="";this.containerNode.innerHTML="";if(this._onDeck){this.show.apply(this,this._onDeck);this._onDeck=null;}}});if(has("dojo-bidi")){_f1.extend({_setAutoTextDir:function(node){this.applyTextDir(node);_e3.forEach(node.children,function(_106){this._setAutoTextDir(_106);},this);},_setTextDirAttr:function(_107){this._set("textDir",_107);if(_107=="auto"){this._setAutoTextDir(this.containerNode);}else{this.containerNode.dir=this.textDir;}}});}_f0.showTooltip=function(_108,_109,_10a,rtl,_10b,_10c,_10d){if(_10a){_10a=_e3.map(_10a,function(val){return {after:"after-centered",before:"before-centered"}[val]||val;});}if(!_f8._masterTT){_f0._masterTT=_f8._masterTT=new _f1();}return _f8._masterTT.show(_108,_109,_10a,rtl,_10b,_10c,_10d);};_f0.hideTooltip=function(_10e){return _f8._masterTT&&_f8._masterTT.hide(_10e);};var _10f="DORMANT",_110="SHOW TIMER",_111="SHOWING",_112="HIDE TIMER";function _fa(){};var _f8=_e4("dijit.Tooltip",_ec,{label:"",showDelay:400,hideDelay:400,connectId:[],position:[],selector:"",_setConnectIdAttr:function(_113){_e3.forEach(this._connections||[],function(_114){_e3.forEach(_114,function(_115){_115.remove();});},this);this._connectIds=_e3.filter(_e8.isArrayLike(_113)?_113:(_113?[_113]:[]),function(id){return dom.byId(id,this.ownerDocument);},this);this._connections=_e3.map(this._connectIds,function(id){var node=dom.byId(id,this.ownerDocument),_116=this.selector,_117=_116?function(_118){return on.selector(_116,_118);}:function(_119){return _119;},self=this;return [on(node,_117(_e9.enter),function(){self._onHover(this);}),on(node,_117("focusin"),function(){self._onHover(this);}),on(node,_117(_e9.leave),_e8.hitch(self,"_onUnHover")),on(node,_117("focusout"),_e8.hitch(self,"set","state",_10f))];},this);this._set("connectId",_113);},addTarget:function(node){var id=node.id||node;if(_e3.indexOf(this._connectIds,id)==-1){this.set("connectId",this._connectIds.concat(id));}},removeTarget:function(node){var id=node.id||node,idx=_e3.indexOf(this._connectIds,id);if(idx>=0){this._connectIds.splice(idx,1);this.set("connectId",this._connectIds);}},buildRendering:function(){this.inherited(arguments);_e5.add(this.domNode,"dijitTooltipData");},startup:function(){this.inherited(arguments);var ids=this.connectId;_e3.forEach(_e8.isArrayLike(ids)?ids:[ids],this.addTarget,this);},getContent:function(node){return this.label||this.domNode.innerHTML;},state:_10f,_setStateAttr:function(val){if(this.state==val||(val==_110&&this.state==_111)||(val==_112&&this.state==_10f)){return;}if(this._hideTimer){this._hideTimer.remove();delete this._hideTimer;}if(this._showTimer){this._showTimer.remove();delete this._showTimer;}switch(val){case _10f:if(this._connectNode){_f8.hide(this._connectNode);delete this._connectNode;this.onHide();}break;case _110:if(this.state!=_111){this._showTimer=this.defer(function(){this.set("state",_111);},this.showDelay);}break;case _111:var _11a=this.getContent(this._connectNode);
8if(!_11a){this.set("state",_10f);return;}_f8.show(_11a,this._connectNode,this.position,!this.isLeftToRight(),this.textDir,_e8.hitch(this,"set","state",_111),_e8.hitch(this,"set","state",_112));this.onShow(this._connectNode,this.position);break;case _112:this._hideTimer=this.defer(function(){this.set("state",_10f);},this.hideDelay);break;}this._set("state",val);},_onHover:function(_11b){if(this._connectNode&&_11b!=this._connectNode){this.set("state",_10f);}this._connectNode=_11b;this.set("state",_110);},_onUnHover:function(_11c){this.set("state",_112);},open:function(_11d){this.set("state",_10f);this._connectNode=_11d;this.set("state",_111);},close:function(){this.set("state",_10f);},onShow:function(){},onHide:function(){},destroy:function(){this.set("state",_10f);_e3.forEach(this._connections||[],function(_11e){_e3.forEach(_11e,function(_11f){_11f.remove();});},this);this.inherited(arguments);}});_f8._MasterTooltip=_f1;_f8.show=_f0.showTooltip;_f8.hide=_f0.hideTooltip;_f8.defaultPosition=["after-centered","before-centered"];return _f8;});},"dojo/uacss":function(){define(["./dom-geometry","./_base/lang","./domReady","./sniff","./_base/window"],function(_120,lang,_121,has,_122){var html=_122.doc.documentElement,ie=has("ie"),_123=has("trident"),_124=has("opera"),maj=Math.floor,ff=has("ff"),_125=_120.boxModel.replace(/-/,""),_126={"dj_quirks":has("quirks"),"dj_opera":_124,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_edge":has("edge"),"dj_gecko":has("mozilla"),"dj_ios":has("ios"),"dj_android":has("android")};if(ie){_126["dj_ie"]=true;_126["dj_ie"+maj(ie)]=true;_126["dj_iequirks"]=has("quirks");}if(_123){_126["dj_trident"]=true;_126["dj_trident"+maj(_123)]=true;}if(ff){_126["dj_ff"+maj(ff)]=true;}_126["dj_"+_125]=true;var _127="";for(var clz in _126){if(_126[clz]){_127+=clz+" ";}}html.className=lang.trim(html.className+" "+_127);_121(function(){if(!_120.isBodyLtr()){var _128="dj_rtl dijitRtl "+_127.replace(/ /g,"-rtl ");html.className=lang.trim(html.className+" "+_128+"dj_rtl dijitRtl "+_127.replace(/ /g,"-rtl "));}});return has;});},"dojo/cache":function(){define(["./_base/kernel","./text"],function(dojo){return dojo.cache;});},"dijit/main":function(){define(["dojo/_base/kernel"],function(dojo){return dojo.dijit;});},"dijit/registry":function(){define(["dojo/_base/array","dojo/_base/window","./main"],function(_129,win,_12a){var _12b={},hash={};var _12c={length:0,add:function(_12d){if(hash[_12d.id]){throw new Error("Tried to register widget with id=="+_12d.id+" but that id is already registered");}hash[_12d.id]=_12d;this.length++;},remove:function(id){if(hash[id]){delete hash[id];this.length--;}},byId:function(id){return typeof id=="string"?hash[id]:id;},byNode:function(node){return hash[node.getAttribute("widgetId")];},toArray:function(){var ar=[];for(var id in hash){ar.push(hash[id]);}return ar;},getUniqueId:function(_12e){var id;do{id=_12e+"_"+(_12e in _12b?++_12b[_12e]:_12b[_12e]=0);}while(hash[id]);return _12a._scopeName=="dijit"?id:_12a._scopeName+"_"+id;},findWidgets:function(root,_12f){var _130=[];function _131(root){for(var node=root.firstChild;node;node=node.nextSibling){if(node.nodeType==1){var _132=node.getAttribute("widgetId");if(_132){var _133=hash[_132];if(_133){_130.push(_133);}}else{if(node!==_12f){_131(node);}}}}};_131(root);return _130;},_destroyAll:function(){_12a._curFocus=null;_12a._prevFocus=null;_12a._activeStack=[];_129.forEach(_12c.findWidgets(win.body()),function(_134){if(!_134._destroyed){if(_134.destroyRecursive){_134.destroyRecursive();}else{if(_134.destroy){_134.destroy();}}}});},getEnclosingWidget:function(node){while(node){var id=node.nodeType==1&&node.getAttribute("widgetId");if(id){return hash[id];}node=node.parentNode;}return null;},_hash:hash};_12a.registry=_12c;return _12c;});},"dijit/place":function(){define(["dojo/_base/array","dojo/dom-geometry","dojo/dom-style","dojo/_base/kernel","dojo/_base/window","./Viewport","./main"],function(_135,_136,_137,_138,win,_139,_13a){function _13b(node,_13c,_13d,_13e){var view=_139.getEffectiveBox(node.ownerDocument);if(!node.parentNode||String(node.parentNode.tagName).toLowerCase()!="body"){win.body(node.ownerDocument).appendChild(node);}var best=null;_135.some(_13c,function(_13f){var _140=_13f.corner;var pos=_13f.pos;var _141=0;var _142={w:{"L":view.l+view.w-pos.x,"R":pos.x-view.l,"M":view.w}[_140.charAt(1)],h:{"T":view.t+view.h-pos.y,"B":pos.y-view.t,"M":view.h}[_140.charAt(0)]};var s=node.style;s.left=s.right="auto";if(_13d){var res=_13d(node,_13f.aroundCorner,_140,_142,_13e);_141=typeof res=="undefined"?0:res;}var _143=node.style;var _144=_143.display;var _145=_143.visibility;if(_143.display=="none"){_143.visibility="hidden";_143.display="";}var bb=_136.position(node);_143.display=_144;_143.visibility=_145;var _146={"L":pos.x,"R":pos.x-bb.w,"M":Math.max(view.l,Math.min(view.l+view.w,pos.x+(bb.w>>1))-bb.w)}[_140.charAt(1)],_147={"T":pos.y,"B":pos.y-bb.h,"M":Math.max(view.t,Math.min(view.t+view.h,pos.y+(bb.h>>1))-bb.h)}[_140.charAt(0)],_148=Math.max(view.l,_146),_149=Math.max(view.t,_147),endX=Math.min(view.l+view.w,_146+bb.w),endY=Math.min(view.t+view.h,_147+bb.h),_14a=endX-_148,_14b=endY-_149;_141+=(bb.w-_14a)+(bb.h-_14b);if(best==null||_141<best.overflow){best={corner:_140,aroundCorner:_13f.aroundCorner,x:_148,y:_149,w:_14a,h:_14b,overflow:_141,spaceAvailable:_142};}return !_141;});if(best.overflow&&_13d){_13d(node,best.aroundCorner,best.corner,best.spaceAvailable,_13e);}var top=best.y,side=best.x,body=win.body(node.ownerDocument);if(/relative|absolute/.test(_137.get(body,"position"))){top-=_137.get(body,"marginTop");side-=_137.get(body,"marginLeft");}var s=node.style;s.top=top+"px";s.left=side+"px";s.right="auto";return best;};var _14c={"TL":"BR","TR":"BL","BL":"TR","BR":"TL"};var _14d={at:function(node,pos,_14e,_14f,_150){var _151=_135.map(_14e,function(_152){var c={corner:_152,aroundCorner:_14c[_152],pos:{x:
8pos.x,y:pos.y}};if(_14f){c.pos.x+=_152.charAt(1)=="L"?_14f.x:-_14f.x;c.pos.y+=_152.charAt(0)=="T"?_14f.y:-_14f.y;}return c;});return _13b(node,_151,_150);},around:function(node,_153,_154,_155,_156){var _157;if(typeof _153=="string"||"offsetWidth" in _153||"ownerSVGElement" in _153){_157=_136.position(_153,true);if(/^(above|below)/.test(_154[0])){var _158=_136.getBorderExtents(_153),_159=_153.firstChild?_136.getBorderExtents(_153.firstChild):{t:0,l:0,b:0,r:0},_15a=_136.getBorderExtents(node),_15b=node.firstChild?_136.getBorderExtents(node.firstChild):{t:0,l:0,b:0,r:0};_157.y+=Math.min(_158.t+_159.t,_15a.t+_15b.t);_157.h-=Math.min(_158.t+_159.t,_15a.t+_15b.t)+Math.min(_158.b+_159.b,_15a.b+_15b.b);}}else{_157=_153;}if(_153.parentNode){var _15c=_137.getComputedStyle(_153).position=="absolute";var _15d=_153.parentNode;while(_15d&&_15d.nodeType==1&&_15d.nodeName!="BODY"){var _15e=_136.position(_15d,true),pcs=_137.getComputedStyle(_15d);if(/relative|absolute/.test(pcs.position)){_15c=false;}if(!_15c&&/hidden|auto|scroll/.test(pcs.overflow)){var _15f=Math.min(_157.y+_157.h,_15e.y+_15e.h);var _160=Math.min(_157.x+_157.w,_15e.x+_15e.w);_157.x=Math.max(_157.x,_15e.x);_157.y=Math.max(_157.y,_15e.y);_157.h=_15f-_157.y;_157.w=_160-_157.x;}if(pcs.position=="absolute"){_15c=true;}_15d=_15d.parentNode;}}var x=_157.x,y=_157.y,_161="w" in _157?_157.w:(_157.w=_157.width),_162="h" in _157?_157.h:(_138.deprecated("place.around: dijit/place.__Rectangle: { x:"+x+", y:"+y+", height:"+_157.height+", width:"+_161+" } has been deprecated.  Please use { x:"+x+", y:"+y+", h:"+_157.height+", w:"+_161+" }","","2.0"),_157.h=_157.height);var _163=[];function push(_164,_165){_163.push({aroundCorner:_164,corner:_165,pos:{x:{"L":x,"R":x+_161,"M":x+(_161>>1)}[_164.charAt(1)],y:{"T":y,"B":y+_162,"M":y+(_162>>1)}[_164.charAt(0)]}});};_135.forEach(_154,function(pos){var ltr=_155;switch(pos){case "above-centered":push("TM","BM");break;case "below-centered":push("BM","TM");break;case "after-centered":ltr=!ltr;case "before-centered":push(ltr?"ML":"MR",ltr?"MR":"ML");break;case "after":ltr=!ltr;case "before":push(ltr?"TL":"TR",ltr?"TR":"TL");push(ltr?"BL":"BR",ltr?"BR":"BL");break;case "below-alt":ltr=!ltr;case "below":push(ltr?"BL":"BR",ltr?"TL":"TR");push(ltr?"BR":"BL",ltr?"TR":"TL");break;case "above-alt":ltr=!ltr;case "above":push(ltr?"TL":"TR",ltr?"BL":"BR");push(ltr?"TR":"TL",ltr?"BR":"BL");break;default:push(pos.aroundCorner,pos.corner);}});var _166=_13b(node,_163,_156,{w:_161,h:_162});_166.aroundNodePos=_157;return _166;}};return _13a.place=_14d;});},"dijit/hccss":function(){define(["dojo/dom-class","dojo/hccss","dojo/domReady","dojo/_base/window"],function(_167,has,_168,win){_168(function(){if(has("highcontrast")){_167.add(win.body(),"dijit_a11y");}});return has;});},"dojo/hccss":function(){define(["require","./_base/config","./dom-class","./dom-style","./has","./domReady","./_base/window"],function(_169,_16a,_16b,_16c,has,_16d,win){has.add("highcontrast",function(){var div=win.doc.createElement("div");try{div.style.cssText="border: 1px solid; border-color:red green; position: absolute; height: 5px; top: -999px;"+"background-image: url(\""+(_16a.blankGif||_169.toUrl("./resources/blank.gif"))+"\");";win.body().appendChild(div);var cs=_16c.getComputedStyle(div),_16e=cs.backgroundImage;return cs.borderTopColor==cs.borderRightColor||(_16e&&(_16e=="none"||_16e=="url(invalid-url:)"));}catch(e){console.warn("hccss: exception detecting high-contrast mode, document is likely hidden: "+e.toString());return false;}finally{if(has("ie")<=8){div.outerHTML="";}else{win.body().removeChild(div);}}});_16d(function(){if(has("highcontrast")){_16b.add(win.body(),"dj_a11y");}});return has;});},"dojo/window":function(){define(["./_base/lang","./sniff","./_base/window","./dom","./dom-geometry","./dom-style","./dom-construct"],function(lang,has,_16f,dom,geom,_170,_171){has.add("rtl-adjust-position-for-verticalScrollBar",function(win,doc){var body=_16f.body(doc),_172=_171.create("div",{style:{overflow:"scroll",overflowX:"visible",direction:"rtl",visibility:"hidden",position:"absolute",left:"0",top:"0",width:"64px",height:"64px"}},body,"last"),div=_171.create("div",{style:{overflow:"hidden",direction:"ltr"}},_172,"last"),ret=geom.position(div).x!=0;_172.removeChild(div);body.removeChild(_172);return ret;});has.add("position-fixed-support",function(win,doc){var body=_16f.body(doc),_173=_171.create("span",{style:{visibility:"hidden",position:"fixed",left:"1px",top:"1px"}},body,"last"),_174=_171.create("span",{style:{position:"fixed",left:"0",top:"0"}},_173,"last"),ret=geom.position(_174).x!=geom.position(_173).x;_173.removeChild(_174);body.removeChild(_173);return ret;});var _175={getBox:function(doc){doc=doc||_16f.doc;var _176=(doc.compatMode=="BackCompat")?_16f.body(doc):doc.documentElement,_177=geom.docScroll(doc),w,h;if(has("touch")){var _178=_175.get(doc);w=_178.innerWidth||_176.clientWidth;
8h=_178.innerHeight||_176.clientHeight;}else{w=_176.clientWidth;h=_176.clientHeight;}return {l:_177.x,t:_177.y,w:w,h:h};},get:function(doc){if(has("ie")&&_175!==document.parentWindow){doc.parentWindow.execScript("document._parentWindow = window;","Javascript");var win=doc._parentWindow;doc._parentWindow=null;return win;}return doc.parentWindow||doc.defaultView;},scrollIntoView:function(node,pos){try{node=dom.byId(node);var doc=node.ownerDocument||_16f.doc,body=_16f.body(doc),html=doc.documentElement||body.parentNode,isIE=has("ie")||has("trident"),isWK=has("webkit");if(node==body||node==html){return;}if(!(has("mozilla")||isIE||isWK||has("opera")||has("trident")||has("edge"))&&("scrollIntoView" in node)){node.scrollIntoView(false);return;}var _179=doc.compatMode=="BackCompat",_17a=Math.min(body.clientWidth||html.clientWidth,html.clientWidth||body.clientWidth),_17b=Math.min(body.clientHeight||html.clientHeight,html.clientHeight||body.clientHeight),_17c=(isWK||_179)?body:html,_17d=pos||geom.position(node),el=node.parentNode,_17e=function(el){return (isIE<=6||(isIE==7&&_179))?false:(has("position-fixed-support")&&(_170.get(el,"position").toLowerCase()=="fixed"));},self=this,_17f=function(el,x,y){if(el.tagName=="BODY"||el.tagName=="HTML"){self.get(el.ownerDocument).scrollBy(x,y);}else{x&&(el.scrollLeft+=x);y&&(el.scrollTop+=y);}};if(_17e(node)){return;}while(el){if(el==body){el=_17c;}var _180=geom.position(el),_181=_17e(el),rtl=_170.getComputedStyle(el).direction.toLowerCase()=="rtl";if(el==_17c){_180.w=_17a;_180.h=_17b;if(_17c==html&&(isIE||has("trident"))&&rtl){_180.x+=_17c.offsetWidth-_180.w;}_180.x=0;_180.y=0;}else{var pb=geom.getPadBorderExtents(el);_180.w-=pb.w;_180.h-=pb.h;_180.x+=pb.l;_180.y+=pb.t;var _182=el.clientWidth,_183=_180.w-_182;if(_182>0&&_183>0){if(rtl&&has("rtl-adjust-position-for-verticalScrollBar")){_180.x+=_183;}_180.w=_182;}_182=el.clientHeight;_183=_180.h-_182;if(_182>0&&_183>0){_180.h=_182;}}if(_181){if(_180.y<0){_180.h+=_180.y;_180.y=0;}if(_180.x<0){_180.w+=_180.x;_180.x=0;}if(_180.y+_180.h>_17b){_180.h=_17b-_180.y;}if(_180.x+_180.w>_17a){_180.w=_17a-_180.x;}}var l=_17d.x-_180.x,t=_17d.y-_180.y,r=l+_17d.w-_180.w,bot=t+_17d.h-_180.h;var s,old;if(r*l>0&&(!!el.scrollLeft||el==_17c||el.scrollWidth>el.offsetHeight)){s=Math[l<0?"max":"min"](l,r);if(rtl&&((isIE==8&&!_179)||has("trident")>=5)){s=-s;}old=el.scrollLeft;_17f(el,s,0);s=el.scrollLeft-old;_17d.x-=s;}if(bot*t>0&&(!!el.scrollTop||el==_17c||el.scrollHeight>el.offsetHeight)){s=Math.ceil(Math[t<0?"max":"min"](t,bot));old=el.scrollTop;_17f(el,0,s);s=el.scrollTop-old;_17d.y-=s;}el=(el!=_17c)&&!_181&&el.parentNode;}}catch(error){console.error("scrollIntoView: "+error);node.scrollIntoView(false);}}};1&&lang.setObject("dojo.window",_175);return _175;});},"dijit/_Widget":function(){define(["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_184,_185,_186,_187,has,_188,lang,_189,_18a,_18b,_18c,_18d,_18e){function _18f(){};function _190(_191){return function(obj,_192,_193,_194){if(obj&&typeof _192=="string"&&obj[_192]==_18f){return obj.on(_192.substring(2).toLowerCase(),lang.hitch(_193,_194));}return _191.apply(_186,arguments);};};_184.around(_186,"connect",_190);if(_188.connect){_184.around(_188,"connect",_190);}var _195=_187("dijit._Widget",[_18c,_18d,_18e],{onClick:_18f,onDblClick:_18f,onKeyDown:_18f,onKeyPress:_18f,onKeyUp:_18f,onMouseDown:_18f,onMouseMove:_18f,onMouseOut:_18f,onMouseOver:_18f,onMouseLeave:_18f,onMouseEnter:_18f,onMouseUp:_18f,constructor:function(_196){this._toConnect={};for(var name in _196){if(this[name]===_18f){this._toConnect[name.replace(/^on/,"").toLowerCase()]=_196[name];delete _196[name];}}},postCreate:function(){this.inherited(arguments);for(var name in this._toConnect){this.on(name,this._toConnect[name]);}delete this._toConnect;},on:function(type,func){if(this[this._onMap(type)]===_18f){return _186.connect(this.domNode,type.toLowerCase(),this,func);}return this.inherited(arguments);},_setFocusedAttr:function(val){this._focused=val;this._set("focused",val);},setAttribute:function(attr,_197){_188.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0");this.set(attr,_197);},attr:function(name,_198){var args=arguments.length;if(args>=2||typeof name==="object"){return this.set.apply(this,arguments);}else{return this.get(name);}},getDescendants:function(){_188.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0");return this.containerNode?_189("[widgetId]",this.containerNode).map(_18b.byNode):[];},_onShow:function(){this.onShow();},onShow:function(){},onHide:function(){},onClose:function(){return true;}}
8);if(has("dijit-legacy-requires")){_18a(0,function(){var _199=["dijit/_base"];require(_199);});}return _195;});},"dijit/_FocusMixin":function(){define(["./focus","./_WidgetBase","dojo/_base/declare","dojo/_base/lang"],function(_19a,_19b,_19c,lang){lang.extend(_19b,{focused:false,onFocus:function(){},onBlur:function(){},_onFocus:function(){this.onFocus();},_onBlur:function(){this.onBlur();}});return _19c("dijit._FocusMixin",null,{_focusManager:_19a});});},"dojo/text":function(){define(["./_base/kernel","require","./has","./request"],function(dojo,_19d,has,_19e){var _19f;if(1){_19f=function(url,sync,load){_19e(url,{sync:!!sync,headers:{"X-Requested-With":null}}).then(load);};}else{if(_19d.getText){_19f=_19d.getText;}else{console.error("dojo/text plugin failed to load because loader does not support getText");}}var _1a0={},_1a1=function(text){if(text){text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");var _1a2=text.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);if(_1a2){text=_1a2[1];}}else{text="";}return text;},_1a3={},_1a4={};dojo.cache=function(_1a5,url,_1a6){var key;if(typeof _1a5=="string"){if(/\//.test(_1a5)){key=_1a5;_1a6=url;}else{key=_19d.toUrl(_1a5.replace(/\./g,"/")+(url?("/"+url):""));}}else{key=_1a5+"";_1a6=url;}var val=(_1a6!=undefined&&typeof _1a6!="string")?_1a6.value:_1a6,_1a7=_1a6&&_1a6.sanitize;if(typeof val=="string"){_1a0[key]=val;return _1a7?_1a1(val):val;}else{if(val===null){delete _1a0[key];return null;}else{if(!(key in _1a0)){_19f(key,true,function(text){_1a0[key]=text;});}return _1a7?_1a1(_1a0[key]):_1a0[key];}}};return {dynamic:true,normalize:function(id,_1a8){var _1a9=id.split("!"),url=_1a9[0];return (/^\./.test(url)?_1a8(url):url)+(_1a9[1]?"!"+_1a9[1]:"");},load:function(id,_1aa,load){var _1ab=id.split("!"),_1ac=_1ab.length>1,_1ad=_1ab[0],url=_1aa.toUrl(_1ab[0]),_1ae="url:"+url,text=_1a3,_1af=function(text){load(_1ac?_1a1(text):text);};if(_1ad in _1a0){text=_1a0[_1ad];}else{if(_1aa.cache&&_1ae in _1aa.cache){text=_1aa.cache[_1ae];}else{if(url in _1a0){text=_1a0[url];}}}if(text===_1a3){if(_1a4[url]){_1a4[url].push(_1af);}else{var _1b0=_1a4[url]=[_1af];_19f(url,!_1aa.async,function(text){_1a0[_1ad]=_1a0[url]=text;for(var i=0;i<_1b0.length;){_1b0[i++](text);}delete _1a4[url];});}}else{_1af(text);}}};});},"dojo/request/default":function(){define(["exports","require","../has"],function(_1b1,_1b2,has){var _1b3=has("config-requestProvider"),_1b4;if(1||has("host-webworker")){_1b4="./xhr";}else{if(0){_1b4="./node";}}if(!_1b3){_1b3=_1b4;}_1b1.getPlatformDefaultId=function(){return _1b4;};_1b1.load=function(id,_1b5,_1b6,_1b7){_1b2([id=="platform"?_1b4:_1b3],function(_1b8){_1b6(_1b8);});};});},"dijit/_WidgetBase":function(){define(["require","dojo/_base/array","dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-construct","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./Destroyable","dojo/has!dojo-bidi?./_BidiMixin","./registry"],function(_1b9,_1ba,_1bb,_1bc,_1bd,_1be,dom,_1bf,_1c0,_1c1,_1c2,_1c3,has,_1c4,lang,on,_1c5,_1c6,_1c7,win,_1c8,_1c9,_1ca){has.add("dijit-legacy-requires",!_1c4.isAsync);has.add("dojo-bidi",false);if(has("dijit-legacy-requires")){_1c5(0,function(){var _1cb=["dijit/_base/manager"];_1b9(_1cb);});}var _1cc={};function _1cd(obj){var ret={};for(var attr in obj){ret[attr.toLowerCase()]=true;}return ret;};function _1ce(attr){return function(val){_1bf[val?"set":"remove"](this.domNode,attr,val);this._set(attr,val);};};function _1cf(a,b){return a===b||(a!==a&&b!==b);};var _1d0=_1be("dijit._WidgetBase",[_1c6,_1c8],{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_1ce("lang"),dir:"",_setDirAttr:_1ce("dir"),"class":"",_setClassAttr:{node:"domNode",type:"class"},_setTypeAttr:null,style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,ownerDocument:null,_setOwnerDocumentAttr:function(val){this._set("ownerDocument",val);},attributeMap:{}
vendor: 4,729 bytes, line 8
8,_blankGif:_1bc.blankGif||_1b9.toUrl("dojo/resources/blank.gif"),textDir:"",_introspect:function(){var ctor=this.constructor;if(!ctor._setterAttrs){var _1d1=ctor.prototype,_1d2=ctor._setterAttrs=[],_1d3=(ctor._onMap={});for(var name in _1d1.attributeMap){_1d2.push(name);}for(name in _1d1){if(/^on/.test(name)){_1d3[name.substring(2).toLowerCase()]=name;}if(/^_set[A-Z](.*)Attr$/.test(name)){name=name.charAt(4).toLowerCase()+name.substr(5,name.length-9);if(!_1d1.attributeMap||!(name in _1d1.attributeMap)){_1d2.push(name);}}}}},postscript:function(_1d4,_1d5){this.create(_1d4,_1d5);},create:function(_1d6,_1d7){this._introspect();this.srcNodeRef=dom.byId(_1d7);this._connects=[];this._supportingWidgets=[];if(this.srcNodeRef&&this.srcNodeRef.id&&(typeof this.srcNodeRef.id=="string")){this.id=this.srcNodeRef.id;}if(_1d6){this.params=_1d6;lang.mixin(this,_1d6);}this.postMixInProperties();if(!this.id){this.id=_1ca.getUniqueId(this.declaredClass.replace(/\./g,"_"));if(this.params){delete this.params.id;}}this.ownerDocument=this.ownerDocument||(this.srcNodeRef?this.srcNodeRef.ownerDocument:document);this.ownerDocumentBody=win.body(this.ownerDocument);_1ca.add(this);this.buildRendering();var _1d8;if(this.domNode){this._applyAttributes();var _1d9=this.srcNodeRef;if(_1d9&&_1d9.parentNode&&this.domNode!==_1d9){_1d9.parentNode.replaceChild(this.domNode,_1d9);_1d8=true;}this.domNode.setAttribute("widgetId",this.id);}this.postCreate();if(_1d8){delete this.srcNodeRef;}this._created=true;},_applyAttributes:function(){var _1da={};for(var key in this.params||{}){_1da[key]=this._get(key);}_1ba.forEach(this.constructor._setterAttrs,function(key){if(!(key in _1da)){var val=this._get(key);if(val){this.set(key,val);}}},this);for(key in _1da){this.set(key,_1da[key]);}},postMixInProperties:function(){},buildRendering:function(){if(!this.domNode){this.domNode=this.srcNodeRef||this.ownerDocument.createElement("div");}if(this.baseClass){var _1db=this.baseClass.split(" ");if(!this.isLeftToRight()){_1db=_1db.concat(_1ba.map(_1db,function(name){return name+"Rtl";}));}_1c0.add(this.domNode,_1db);}},postCreate:function(){},startup:function(){if(this._started){return;}this._started=true;_1ba.forEach(this.getChildren(),function(obj){if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){obj.startup();obj._started=true;}});},destroyRecursive:function(_1dc){this._beingDestroyed=true;this.destroyDescendants(_1dc);this.destroy(_1dc);},destroy:function(_1dd){this._beingDestroyed=true;this.uninitialize();function _1de(w){if(w.destroyRecursive){w.destroyRecursive(_1dd);}else{if(w.destroy){w.destroy(_1dd);}}};_1ba.forEach(this._connects,lang.hitch(this,"disconnect"));_1ba.forEach(this._supportingWidgets,_1de);if(this.domNode){_1ba.forEach(_1ca.findWidgets(this.domNode,this.containerNode),_1de);}this.destroyRendering(_1dd);_1ca.remove(this.id);this._destroyed=true;},destroyRendering:function(_1df){if(this.bgIframe){this.bgIframe.destroy(_1df);delete this.bgIframe;}if(this.domNode){if(_1df){_1bf.remove(this.domNode,"widgetId");}else{_1c1.destroy(this.domNode);}delete this.domNode;}if(this.srcNodeRef){if(!_1df){_1c1.destroy(this.srcNodeRef);}delete this.srcNodeRef;}},destroyDescendants:function(_1e0){_1ba.forEach(this.getChildren(),function(_1e1){if(_1e1.destroyRecursive){_1e1.destroyRecursive(_1e0);}});},uninitialize:function(){return false;},_setStyleAttr:function(_1e2){var _1e3=this.domNode;if(lang.isObject(_1e2)){_1c3.set(_1e3,_1e2);}else{if(_1e3.style.cssText){_1e3.style.cssText+="; "+_1e2;}else{_1e3.style.cssText=_1e2;}}this._set("style",_1e2);},_attrToDom:function(attr,_1e4,_1e5){_1e5=arguments.length>=3?_1e5:this.attributeMap[attr];_1ba.forEach(lang.isArray(_1e5)?_1e5:[_1e5],function(_1e6){var _1e7=this[_1e6.node||_1e6||"domNode"];var type=_1e6.type||"attribute";switch(type){case "attribute":if(lang.isFunction(_1e4)){_1e4=lang.hitch(this,_1e4);}var _1e8=_1e6.attribute?_1e6.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr);if(_1e7.tagName){_1bf.set(_1e7,_1e8,_1e4);}else{_1e7.set(_1e8,_1e4);}break;case "innerText":_1e7.innerHTML="";_1e7.appendChild(this.ownerDocument.createTextNode(_1e4));break;case "textContent":_1e7.textContent=_1e4;break;case "innerHTML":_1e7.innerHTML=_1e4;break;case "class":_1c0.replace(_1e7,_1e4,this[attr]);break;case "toggleClass":_1c0.toggle(_1e7,_1e6.className||attr,_1e4);break;}},this);},get:function(name){var _1e9=this._getAttrNames(name);return this[_1e9.g]?this[_1e9.g]():this._get(name);},set:function(name,_1ea){if(typeof name==="object"){for(var x in name){this.set(x,name[x]);}return this;}var _1eb=this._getAttrNames(name),_1ec=this[_1eb.s];if(lang.isFunction(_1ec)){var _1ed=_1ec.apply(this,Array.prototype.slice.call(arguments,1
8));}else{var _1ee=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_1ee]&&this[_1ee].tagName,_1ef=tag&&(_1cc[tag]||(_1cc[tag]=_1cd(this[_1ee]))),map=name in this.attributeMap?this.attributeMap[name]:_1eb.s in this?this[_1eb.s]:((_1ef&&_1eb.l in _1ef&&typeof _1ea!="function")||/^aria-|^data-|^role$/.test(name))?_1ee:null;if(map!=null){this._attrToDom(name,_1ea,map);}this._set(name,_1ea);}return _1ed||this;},_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}var uc=name.replace(/^[a-z]|-[a-zA-Z]/g,function(c){return c.charAt(c.length-1).toUpperCase();});return (apn[name]={n:name+"Node",s:"_set"+uc+"Attr",g:"_get"+uc+"Attr",l:uc.toLowerCase()});},_set:function(name,_1f0){var _1f1=this[name];this[name]=_1f0;if(this._created&&!_1cf(_1f1,_1f0)){if(this._watchCallbacks){this._watchCallbacks(name,_1f1,_1f0);}this.emit("attrmodified-"+name,{detail:{prevValue:_1f1,newValue:_1f0}});}},_get:function(name){return this[name];},emit:function(type,_1f2,_1f3){_1f2=_1f2||{};if(_1f2.bubbles===undefined){_1f2.bubbles=true;}if(_1f2.cancelable===undefined){_1f2.cancelable=true;}if(!_1f2.detail){_1f2.detail={};}_1f2.detail.widget=this;var ret,_1f4=this["on"+type];if(_1f4){ret=_1f4.apply(this,_1f3?_1f3:[_1f2]);}if(this._started&&!this._beingDestroyed){on.emit(this.domNode,type.toLowerCase(),_1f2);}return ret;},on:function(type,func){var _1f5=this._onMap(type);if(_1f5){return _1bb.after(this,_1f5,func,true);}return this.own(on(this.domNode,type,func))[0];},_onMap:function(type){var ctor=this.constructor,map=ctor._onMap;if(!map){map=(ctor._onMap={});for(var attr in ctor.prototype){if(/^on/.test(attr)){map[attr.replace(/^on/,"").toLowerCase()]=attr;}}}return map[typeof type=="string"&&type.toLowerCase()];},toString:function(){return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]";},getChildren:function(){return this.containerNode?_1ca.findWidgets(this.containerNode):[];},getParent:function(){return _1ca.getEnclosingWidget(this.domNode.parentNode);},connect:function(obj,_1f6,_1f7){return this.own(_1bd.connect(obj,_1f6,this,_1f7))[0];},disconnect:function(_1f8){_1f8.remove();},subscribe:function(t,_1f9){return this.own(_1c7.subscribe(t,lang.hitch(this,_1f9)))[0];},unsubscribe:function(_1fa){_1fa.remove();},isLeftToRight:function(){return this.dir?(this.dir.toLowerCase()=="ltr"):_1c2.isBodyLtr(this.ownerDocument);},isFocusable:function(){return this.focus&&(_1c3.get(this.domNode,"display")!="none");},placeAt:function(_1fb,_1fc){var _1fd=!_1fb.tagName&&_1ca.byId(_1fb);if(_1fd&&_1fd.addChild&&(!_1fc||typeof _1fc==="number")){_1fd.addChild(this,_1fc);}else{var ref=_1fd&&("domNode" in _1fd)?(_1fd.containerNode&&!/after|before|replace/.test(_1fc||"")?_1fd.containerNode:_1fd.domNode):dom.byId(_1fb,this.ownerDocument);_1c1.place(this.domNode,ref,_1fc);if(!this._started&&(this.getParent()||{})._started){this.startup();}}return this;},defer:function(fcn,_1fe){var _1ff=setTimeout(lang.hitch(this,function(){if(!_1ff){return;}_1ff=null;if(!this._destroyed){lang.hitch(this,fcn)();}}),_1fe||0);return {remove:function(){if(_1ff){clearTimeout(_1ff);_1ff=null;}return null;}};}});if(has("dojo-bidi")){_1d0.extend(_1c9);}return _1d0;});},"dijit/BackgroundIframe":function(){define(["require","./main","dojo/_base/config","dojo/dom-construct","dojo/dom-style","dojo/_base/lang","dojo/on","dojo/sniff"],function(_200,_201,_202,_203,_204,lang,on,has){has.add("config-bgIframe",(has("ie")||has("trident"))&&!/IEMobile\/10\.0/.test(navigator.userAgent));var _205=new function(){var _206=[];this.pop=function(){var _207;if(_206.length){_207=_206.pop();_207.style.display="";}else{if(has("ie")<9){var burl=_202["dojoBlankHtmlUrl"]||_200.toUrl("dojo/resources/blank.html")||"javascript:\"\"";var html="<iframe src='"+burl+"' role='presentation'"+" style='position: absolute; left: 0px; top: 0px;"+"z-index: -1; filter:Alpha(Opacity=\"0\");'>";_207=document.createElement(html);}else{_207=_203.create("iframe");_207.src="javascript:\"\"";
8_207.className="dijitBackgroundIframe";_207.setAttribute("role","presentation");_204.set(_207,"opacity",0.1);}_207.tabIndex=-1;}return _207;};this.push=function(_208){_208.style.display="none";_206.push(_208);};}();_201.BackgroundIframe=function(node){if(!node.id){throw new Error("no id");}if(has("config-bgIframe")){var _209=(this.iframe=_205.pop());node.appendChild(_209);if(has("ie")<7||has("quirks")){this.resize(node);this._conn=on(node,"resize",lang.hitch(this,"resize",node));}else{_204.set(_209,{width:"100%",height:"100%"});}}};lang.extend(_201.BackgroundIframe,{resize:function(node){if(this.iframe){_204.set(this.iframe,{width:node.offsetWidth+"px",height:node.offsetHeight+"px"});}},destroy:function(){if(this._conn){this._conn.remove();this._conn=null;}if(this.iframe){this.iframe.parentNode.removeChild(this.iframe);_205.push(this.iframe);delete this.iframe;}}});return _201.BackgroundIframe;});},"dijit/Viewport":function(){define(["dojo/Evented","dojo/on","dojo/domReady","dojo/sniff","dojo/window"],function(_20a,on,_20b,has,_20c){var _20d=new _20a();var _20e;_20b(function(){var _20f=_20c.getBox();_20d._rlh=on(window,"resize",function(){var _210=_20c.getBox();if(_20f.h==_210.h&&_20f.w==_210.w){return;}_20f=_210;_20d.emit("resize");});if(has("ie")==8){var _211=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=_211){_211=screen.deviceXDPI;_20d.emit("resize");}},500);}if(has("ios")){on(document,"focusin",function(evt){_20e=evt.target;});on(document,"focusout",function(evt){_20e=null;});}});_20d.getEffectiveBox=function(doc){var box=_20c.getBox(doc);var tag=_20e&&_20e.tagName&&_20e.tagName.toLowerCase();if(has("ios")&&_20e&&!_20e.readOnly&&(tag=="textarea"||(tag=="input"&&/^(color|email|number|password|search|tel|text|url)$/.test(_20e.type)))){box.h*=(orientation==0||orientation==180?0.66:0.4);var rect=_20e.getBoundingClientRect();box.h=Math.max(box.h,rect.top+rect.height);}return box;};return _20d;});},"dijit/_base/manager":function(){define(["dojo/_base/array","dojo/_base/config","dojo/_base/lang","../registry","../main"],function(_212,_213,lang,_214,_215){var _216={};_212.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){_216[name]=_214[name];});lang.mixin(_216,{defaultDuration:_213["defaultDuration"]||200});lang.mixin(_215,_216);return _215;});},"dojo/string":function(){define(["./_base/kernel","./_base/lang"],function(_217,lang){var _218=/[&<>'"\/]/g;var _219={"&":"&amp;","<":"&lt;",">":"&gt;","\"":"&quot;","'":"&#x27;","/":"&#x2F;"};var _21a={};lang.setObject("dojo.string",_21a);_21a.escape=function(str){if(!str){return "";}return str.replace(_218,function(c){return _219[c];});};_21a.codePointAt=String.prototype.codePointAt?function(str,_21b){return String.prototype.codePointAt.call(str,_21b);}:function(str,_21c){if(str==null){throw new TypeError("codePointAt called on null or undefined");}var size;var _21d;var _21e;var _21f;str=String(str);size=str.length;_21f=_21c?Number(_21c):0;if(_21f!=_21f){_21f=0;}if(_21f<0||_21f>=size){return undefined;}_21d=str.charCodeAt(_21f);if(_21d>=55296&&_21d<=56319&&size>_21f+1){_21e=str.charCodeAt(_21f+1);if(_21e>=56320&&_21e<=57343){return (_21d-55296)*1024+_21e-56320+65536;}}return _21d;};_21a.fromCodePoint=String.fromCodePoint||function(){var _220=[];var _221=0;var _222="";var _223;var _224;for(_224=0,len=arguments.length;_224!==len;++_224){_223=+arguments[_224];if(!(_223<1114111&&(_223>>>0)===_223)){throw RangeError("Invalid code point: "+_223);}if(_223<=65535){_221=_220.push(_223);}else{_223-=65536;_221=_220.push((_223>>10)+55296,(_223%1024)+56320);}if(_221>=16383){_222+=String.fromCharCode.apply(null,_220);_220.length=0;}}return _222+String.fromCharCode.apply(null,_220);};_21a.rep=function(str,num){if(num<=0||!str){return "";}var buf=[];for(;;){if(num&1){buf.push(str);}if(!(num>>=1)){break;}str+=str;}return buf.join("");};_21a.pad=function(text,size,ch,end){if(!ch){ch="0";}var out=String(text),pad=_21a.rep(ch,Math.ceil((size-out.length)/ch.length));return end?out+pad:pad+out;};_21a.substitute=function(_225,map,_226,_227){_227=_227||_217.global;_226=_226?lang.hitch(_227,_226):function(v){return v;};return _225.replace(/\$\{([^\s\:\}]*)(?:\:([^\s\:\}]+))?\}/g,function(_228,key,_229){if(key==""){return "$";}var _22a=lang.getObject(key,false,map);
8if(_229){_22a=lang.getObject(_229,false,_227).call(_227,_22a,key);}var _22b=_226(_22a,key);if(typeof _22b==="undefined"){throw new Error("string.substitute could not find key \""+key+"\" in template");}return _22b.toString();});};_21a.trim=String.prototype.trim?lang.trim:function(str){str=str.replace(/^\s+/,"");for(var i=str.length-1;i>=0;i--){if(/\S/.test(str.charAt(i))){str=str.substring(0,i+1);break;}}return str;};return _21a;});},"dojo/Stateful":function(){define(["./_base/declare","./_base/lang","./_base/array","./when"],function(_22c,lang,_22d,when){return _22c("dojo.Stateful",null,{_attrPairNames:{},_getAttrNames:function(name){var apn=this._attrPairNames;if(apn[name]){return apn[name];}return (apn[name]={s:"_"+name+"Setter",g:"_"+name+"Getter"});},postscript:function(_22e){if(_22e){this.set(_22e);}},_get:function(name,_22f){return typeof this[_22f.g]==="function"?this[_22f.g]():this[name];},get:function(name){return this._get(name,this._getAttrNames(name));},set:function(name,_230){if(typeof name==="object"){for(var x in name){if(name.hasOwnProperty(x)&&x!="_watchCallbacks"){this.set(x,name[x]);}}return this;}var _231=this._getAttrNames(name),_232=this._get(name,_231),_233=this[_231.s],_234;if(typeof _233==="function"){_234=_233.apply(this,Array.prototype.slice.call(arguments,1));}else{this[name]=_230;}if(this._watchCallbacks){var self=this;when(_234,function(){self._watchCallbacks(name,_232,_230);});}return this;},_changeAttrValue:function(name,_235){var _236=this.get(name);this[name]=_235;if(this._watchCallbacks){this._watchCallbacks(name,_236,_235);}return this;},watch:function(name,_237){var _238=this._watchCallbacks;if(!_238){var self=this;_238=this._watchCallbacks=function(name,_239,_23a,_23b){var _23c=function(_23d){if(_23d){_23d=_23d.slice();for(var i=0,l=_23d.length;i<l;i++){_23d[i].call(self,name,_239,_23a);}}};_23c(_238["_"+name]);if(!_23b){_23c(_238["*"]);}};}if(!_237&&typeof name==="function"){_237=name;name="*";}else{name="_"+name;}var _23e=_238[name];if(typeof _23e!=="object"){_23e=_238[name]=[];}_23e.push(_237);var _23f={};_23f.unwatch=_23f.remove=function(){var _240=_22d.indexOf(_23e,_237);if(_240>-1){_23e.splice(_240,1);}};return _23f;}});});},"url:dijit/templates/Tooltip.html":"<div class=\"dijitTooltip dijitTooltipLeft\" id=\"dojoTooltip\" data-dojo-attach-event=\"mouseenter:onMouseEnter,mouseleave:onMouseLeave\"\n\t><div class=\"dijitTooltipConnector\" data-dojo-attach-point=\"connectorNode\"></div\n\t><div class=\"dijitTooltipContainer dijitTooltipContents\" data-dojo-attach-point=\"containerNode\" role='alert'></div\n></div>\n"}});define("dojo/dojoComponents",[],1);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.