/* Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ /* This is an optimized version of Dojo, built for deployment and not for development. To get sources and documentation, please visit: http://dojotoolkit.org */ //>>built (function(_1,_2){var _3=function(){},_4=function(it){for(var p in it){return 0;}return 1;},_5={}.toString,_6=function(it){return _5.call(it)=="[object Function]";},_7=function(it){return _5.call(it)=="[object String]";},_8=function(it){return _5.call(it)=="[object Array]";},_9=function(_a,_b){if(_a){for(var i=0;i<_a.length;){_b(_a[i++]);}}},_c=function(_d,_e){for(var p in _e){_d[p]=_e[p];}return _d;},_f=function(_10,_11){return _c(new Error(_10),{src:"dojoLoader",info:_11});},_12=1,uid=function(){return "_"+_12++;},req=function(_13,_14,_15){return _16(_13,_14,_15,0,req);},_17=this,doc=_17.document,_18=doc&&doc.createElement("DiV"),has=req.has=function(_19){return _6(_1a[_19])?(_1a[_19]=_1a[_19](_17,doc,_18)):_1a[_19];},_1a=has.cache=_2.hasCache;has.add=function(_1b,_1c,now,_1d){(_1a[_1b]===undefined||_1d)&&(_1a[_1b]=_1c);return now&&has(_1b);};false&&has.add("host-node",_1.has&&"host-node" in _1.has?_1.has["host-node"]:(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));if(0){require("./_base/configNode.js").config(_2);_2.loaderPatch.nodeRequire=require;}false&&has.add("host-rhino",_1.has&&"host-rhino" in _1.has?_1.has["host-rhino"]:(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));if(0){for(var _1e=_1.baseUrl||".",arg,_1f=this.arguments,i=0;i<_1f.length;){arg=(_1f[i++]+"").split("=");if(arg[0]=="baseUrl"){_1e=arg[1];break;}}load(_1e+"/_base/configRhino.js");rhinoDojoConfig(_2,_1e,_1f);}for(var p in _1.has){has.add(p,_1.has[p],0,1);}var _20=1,_21=2,_22=3,_23=4,_24=5;if(0){_20="requested";_21="arrived";_22="not-a-module";_23="executing";_24="executed";}var _25=0,_26="sync",xd="xd",_27=[],_28=0,_29=_3,_2a=_3,_2b;if(1){req.isXdUrl=_3;req.initSyncLoader=function(_2c,_2d,_2e){if(!_28){_28=_2c;_29=_2d;_2a=_2e;}return {sync:_26,xd:xd,arrived:_21,nonmodule:_22,executing:_23,executed:_24,syncExecStack:_27,modules:_2f,execQ:_30,getModule:_31,injectModule:_32,setArrived:_33,signal:_34,finishExec:_35,execModule:_36,dojoRequirePlugin:_28,getLegacyMode:function(){return _25;},holdIdle:function(){_76++;},releaseIdle:function(){_37();}};};if(1){var _38=location.protocol,_39=location.host,_3a=!_39;req.isXdUrl=function(url){if(_3a||/^\./.test(url)){return false;}if(/^\/\//.test(url)){return true;}var _3b=url.match(/^([^\/\:]+\:)\/\/([^\/]+)/);return _3b&&(_3b[1]!=_38||_3b[2]!=_39);};true||has.add("dojo-xhr-factory",1);has.add("dojo-force-activex-xhr",1&&!doc.addEventListener&&window.location.protocol=="file:");has.add("native-xhr",typeof XMLHttpRequest!="undefined");if(has("native-xhr")&&!has("dojo-force-activex-xhr")){_2b=function(){return new XMLHttpRequest();};}else{for(var _3c=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],_3d,i=0;i<3;){try{_3d=_3c[i++];if(new ActiveXObject(_3d)){break;}}catch(e){}}_2b=function(){return new ActiveXObject(_3d);};}req.getXhr=_2b;has.add("dojo-gettext-api",1);req.getText=function(url,_3e,_3f){var xhr=_2b();xhr.open("GET",_40(url),false);xhr.send(null);if(xhr.status==200||(!location.host&&!xhr.status)){if(_3f){_3f(xhr.responseText,_3e);}}else{throw _f("xhrFailed",xhr.status);}return xhr.responseText;};}}else{req.async=1;}var _41=new Function("return eval(arguments[0]);");req.eval=function(_42,_43){return _41(_42+"\r\n////@ sourceURL="+_43);};var _44={},_45="error",_34=req.signal=function(_46,_47){var _48=_44[_46];_9(_48&&_48.slice(0),function(_49){_49.apply(null,_8(_47)?_47:[_47]);});},on=req.on=function(_4a,_4b){var _4c=_44[_4a]||(_44[_4a]=[]);_4c.push(_4b);return {remove:function(){for(var i=0;i<_4c.length;i++){if(_4c[i]===_4b){_4c.splice(i,1);return;}}}};};var _4d=[],_4e={},_4f=[],_50={},_51={},_52=[],_2f={},_53="",_54={},_55={},_56={};if(1){var _57=function(_58){var p,_59,_5a,now;for(p in _55){_59=_55[p];_5a=p.match(/^url\:(.+)/);if(_5a){_54[_5b(_5a[1],_58)]=_59;}else{if(p=="*now"){now=_59;}else{if(p!="*noref"){_54[_5c(p,_58).mid]=_59;}}}}if(now){now(_5d(_58));}_55={};},_5e=function(map,_5f,_60){_5f.splice(0,_5f.length);var p,i,_61,_62=0;for(p in map){_5f.push([p,map[p]]);if(map[p]==_60){_62=p;}}_5f.sort(function(lhs,rhs){return rhs[0].length-lhs[0].length;});for(i=0;i<_5f.length;){_61=_5f[i++];_61[2]=new RegExp("^"+_61[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"(/|$)");_61[3]=_61[0].length+1;}return _62;},_63=function(_64,_65){var _66=_64.name;if(!_66){_66=_64;_64={name:_66};}_64=_c({main:"main",mapProg:[]},_64);_64.location=(_65||"")+(_64.location?_64.location:_66);_64.reverseName=_5e(_64.packageMap,_64.mapProg,_66);if(!_64.main.indexOf("./")){_64.main=_64.main.substring(2);}_c(_4e,_64.paths);_50[_66]=_64;_51[_66]=_66;},_67=function(_68,_69){for(var p in _68){if(p=="waitSeconds"){req.waitms=(_68[p]||0)*1000;}if(p=="cacheBust"){_53=_68[p]?(_7(_68[p])?_68[p]:(new Date()).getTime()+""):"";}if(p=="baseUrl"||p=="combo"){req[p]=_68[p];}if(1&&p=="async"){var _6a=_68[p];req.legacyMode=_25=(_7(_6a)&&/sync|legacyAsync/.test(_6a)?_6a:(!_6a?"sync":false));req.async=!_25;}if(_68[p]!==_1a){req.rawConfig[p]=_68[p];p!="has"&&has.add("config-"+p,_68[p],0,_69);}}if(!req.baseUrl){req.baseUrl="./";}if(!/\/$/.test(req.baseUrl)){req.baseUrl+="/";}for(p in _68.has){has.add(p,_68.has[p],0,_69);}_9(_68.packages,_63);for(_1e in _68.packagePaths){_9(_68.packagePaths[_1e],function(_6b){_63(_6b,_1e+"/");});}_5e(_c(_4e,_68.paths),_4f);_9(_68.aliases,function(_6c){if(_7(_6c[0])){_6c[0]=new RegExp("^"+_6c[0].replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(c){return "\\"+c;})+"$");}_4d.push(_6c);});_5e(_c(_51,_68.packageMap),_52);if(_68.cache){_57();_55=_68.cache;if(_68.cache["*noref"]){_57();}}_34("config",[_68,req.rawConfig]);};if(has("dojo-cdn")||1){for(var _6d,src,_6e,_6f=doc.getElementsByTagName("script"),i=0;i<_6f.length&&!_6e;i++){if((src=_6f[i].getAttribute("src"))&&(_6e=src.match(/(.*)\/?dojo\.js(\W|$)/i))){_1.baseUrl=_6d=_1.baseUrl||_2.baseUrl||_6e[1];src=(_6f[i].getAttribute("data-dojo-config")||_6f[i].getAttribute("djConfig"));if(src){_56=req.eval("({ "+src+" })","data-dojo-config");}if(0){var _70=_6f[i].getAttribute("data-main");if(_70){_56.deps=_56.deps||[_70];}}}}}if(0){try{if(window.parent!=window&&window.parent.require){var doh=window.parent.require("doh");doh&&_c(_56,doh.testConfig);}}catch(e){}}req.rawConfig={};_67(_2,1);_67(_1,1);_67(_56,1);if(has("dojo-cdn")){_50.dojo.location=_6d;_50.dijit.location=_6d+"../dijit/";_50.dojox.location=_6d+"../dojox/";}}else{_4e=_2.paths;_4f=_2.pathsMapProg;_50=_2.packs;_4d=_2.aliases;_51=_2.packageMap;_52=_2.packageMapProg;_2f=_2.modules;_54=_2.cache;_53=_2.cacheBust;req.rawConfig=_2;}if(0){req.combo=req.combo||{add:_3};var _71=0,_72=[],_73=null;}var _74=function(_75){_76++;_9(_75.deps,_32);if(0&&_71&&!_73){_73=setTimeout(function(){_71=0;_73=null;req.combo.done(function(_77,url){var _78=function(){_79(0,_77);_7a();};_72.push(_77);_7b=_77;req.injectUrl(url,_78,_77);_7b=0;},req);},0);}_37();},_16=function(a1,a2,a3,_7c,_7d){var _7e,_7f;if(_7(a1)){_7e=_31(a1,_7c,true);if(_7e&&_7e.executed){return _7e.result;}throw _f("undefinedModule",a1);}if(!_8(a1)){_67(a1);a1=a2;a2=a3;}if(_8(a1)){if(!a1.length){a2&&a2();}else{_7f="require*"+uid();for(var mid,_80=[],i=0;i_ab){_ac=_6(_ad[1])?mid.replace(_ad[0],_ad[1]):_ad[1];}});if(_ac){return _9a(_ac,0,_9c,_9d,_9e,_9f,_a0,_a1);}_a7=_9d[mid];if(_a7){return _a1?_81(_a7.pid,_a7.mid,_a7.pack,_a7.url,_aa):_9d[mid];}}_a5=_91(mid,_a0);if(_a5){url=_a5[1]+mid.substring(_a5[3]-1);}else{if(pid){url=_a2.location+"/"+_a3;}else{if(has("config-tlmSiblingOfDojo")){url="../"+mid;}else{url=mid;}}}if(!(/(^\/)|(\:)/.test(url))){url=_9e+url;}url+=".js";return _81(pid,mid,_a2,_93(url),_aa);},_5c=function(mid,_af){return _9a(mid,_af,_50,_2f,req.baseUrl,_52,_4f);},_b0=function(_b1,_b2,_b3){return _b1.normalize?_b1.normalize(_b2,function(mid){return _b4(mid,_b3);}):_b4(_b2,_b3);},_b5=0,_31=function(mid,_b6,_b7){var _b8,_b9,_ba,_bb;_b8=mid.match(/^(.+?)\!(.*)$/);if(_b8){_b9=_31(_b8[1],_b6,_b7);if(1&&_25==_26&&!_b9.executed){_32(_b9);if(_b9.injected===_21&&!_b9.executed){_76++;_36(_b9);_37();}if(_b9.executed){_bc(_b9);}else{_30.unshift(_b9);}}if(_b9.executed===_24&&!_b9.load){_bc(_b9);}if(_b9.load){_ba=_b0(_b9,_b8[2],_b6);mid=(_b9.mid+"!"+(_b9.dynamic?++_b5+"!":"")+_ba);}else{_ba=_b8[2];mid=_b9.mid+"!"+(++_b5)+"!waitingForPlugin";}_bb={plugin:_b9,mid:mid,req:_5d(_b6),prid:_ba};}else{_bb=_5c(mid,_b6);}return _2f[_bb.mid]||(!_b7&&(_2f[_bb.mid]=_bb));},_b4=req.toAbsMid=function(mid,_bd){return _5c(mid,_bd).mid;},_5b=req.toUrl=function(_be,_bf){var _c0=_5c(_be+"/x",_bf),url=_c0.url;return _40(_c0.pid===0?_be:url.substring(0,url.length-5));},_c1={injected:_21,executed:_24,def:_22,result:_22},_c2=function(mid){return _2f[mid]=_c({mid:mid},_c1);},_c3=_c2("require"),_c4=_c2("exports"),_c5=_c2("module"),_c6=function(_c7,_c8){req.trace("loader-run-factory",[_c7.mid]);var _c9=_c7.def,_ca;1&&_27.unshift(_c7);if(has("config-dojo-loader-catches")){try{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}catch(e){_34(_45,_c7.result=_f("factoryThrew",[_c7,e]));}}else{_ca=_6(_c9)?_c9.apply(null,_c8):_c9;}_c7.result=_ca===undefined&&_c7.cjs?_c7.cjs.exports:_ca;1&&_27.shift(_c7);},_cb={},_cc=0,_bc=function(_cd){var _ce=_cd.result;_cd.dynamic=_ce.dynamic;_cd.normalize=_ce.normalize;_cd.load=_ce.load;return _cd;},_cf=function(_d0){var map={};_9(_d0.loadQ,function(_d1){var _d2=_d1.mid,_d3=_b0(_d0,_d1.prid,_d1.req.module),mid=_d0.dynamic?_d1.mid.replace(/waitingForPlugin$/,_d3):(_d0.mid+"!"+_d3),_d4=_c(_c({},_d1),{mid:mid,prid:_d3,injected:0});if(!_2f[mid]){_e5(_2f[mid]=_d4);}map[_d1.mid]=_2f[mid];_33(_d1);delete _2f[_d1.mid];});_d0.loadQ=0;var _d5=function(_d6){for(var _d7,_d8=_d6.deps||[],i=0;i<_d8.length;i++){_d7=map[_d8[i].mid];if(_d7){_d8[i]=_d7;}}};for(var p in _2f){_d5(_2f[p]);}_9(_30,_d5);},_35=function(_d9){req.trace("loader-finish-exec",[_d9.mid]);_d9.executed=_24;_d9.defOrder=_cc++;1&&_9(_d9.provides,function(cb){cb();});if(_d9.loadQ){_bc(_d9);_cf(_d9);}for(i=0;i<_30.length;){if(_30[i]===_d9){_30.splice(i,1);}else{i++;}}},_da=[],_36=function(_db,_dc){if(_db.executed===_23){req.trace("loader-circular-dependency",[_da.concat(mid).join("->")]);return (!_db.def||_dc)?_cb:(_db.cjs&&_db.cjs.exports);}if(!_db.executed){if(!_db.def){return _cb;}var mid=_db.mid,_dd=_db.deps||[],arg,_de,_df=[],i=0;if(0){_da.push(mid);req.trace("loader-exec-module",["exec",_da.length,mid]);}_db.executed=_23;while(i<_dd.length){arg=_dd[i++];_de=((arg===_c3)?_5d(_db):((arg===_c4)?_db.cjs.exports:((arg===_c5)?_db.cjs:_36(arg,_dc))));if(_de===_cb){_db.executed=0;req.trace("loader-exec-module",["abort",mid]);0&&_da.pop();return _cb;}_df.push(_de);}_c6(_db,_df);_35(_db);}0&&_da.pop();return _db.result;},_76=0,_7a=function(){if(_76){return;}_76++;_29();for(var _e0,_e1,i=0;i<_30.length;){_e0=_cc;_e1=_30[i];_36(_e1);if(_e0!=_cc){_29();i=0;}else{i++;}}_37();},_37=function(){_76--;if(_90()){_34("idle",[]);}};if(0){req.undef=function(_e2,_e3){var _e4=_31(_e2,_e3);_33(_e4);delete _2f[_e4.mid];};}if(1){if(has("dojo-loader-eval-hint-url")===undefined){has.add("dojo-loader-eval-hint-url",1);}var _40=function(url){url+="";return url+(_53?((/\?/.test(url)?"&":"?")+_53):"");},_e5=function(_e6){var _e7=_e6.plugin;if(_e7.executed===_24&&!_e7.load){_bc(_e7);}var _e8=function(def){_e6.result=def;_33(_e6);_35(_e6);_7a();};if(_e7.load){_e7.load(_e6.prid,_e6.req,_e8);}else{if(_e7.loadQ){_e7.loadQ.push(_e6);}else{_e7.loadQ=[_e6];_30.unshift(_e7);_32(_e7);}}},_88=0,_7b=0,_e9=0,_89=function(_ea,_eb){_e9=1;if(has("config-dojo-loader-catches")){try{if(_ea===_88){_88.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}catch(e){_34(_45,_f("evalModuleThrew",_eb));}}else{if(_ea===_88){_88.call(null);}else{req.eval(_ea,has("dojo-loader-eval-hint-url")?_eb.url:_eb.mid);}}_e9=0;},_32=function(_ec){var mid=_ec.mid,url=_ec.url;if(_ec.executed||_ec.injected||_8b[mid]||(_ec.url&&((_ec.pack&&_8b[_ec.url]===_ec.pack)||_8b[_ec.url]==1))){return;}_8c(_ec);if(0){var _ed=0;if(_ec.plugin&&_ec.plugin.isCombo){req.combo.add(_ec.plugin.mid,_ec.prid,0,req);_ed=1;}else{if(!_ec.plugin){_ed=req.combo.add(0,_ec.mid,_ec.url,req);}}if(_ed){_71=1;return;}}if(_ec.plugin){_e5(_ec);return;}var _ee=function(){_79(_ec);if(_ec.injected!==_21){_33(_ec);_c(_ec,_c1);}if(1&&_25){!_27.length&&_7a();}else{_7a();}};_88=_54[mid]||_54[_ec.cacheId];if(_88){req.trace("loader-inject",["cache",_ec.mid,url]);_89(_88,_ec);_ee();return;}if(1&&_25){if(_ec.isXd){_25==_26&&(_25=xd);}else{if(_ec.isAmd&&_25!=_26){}else{var _ef=function(_f0){if(_25==_26){_27.unshift(_ec);_89(_f0,_ec);_27.shift();_79(_ec);if(!_ec.cjs){_33(_ec);_35(_ec);}if(_ec.finish){var _f1=mid+"*finish",_f2=_ec.finish;delete _ec.finish;def(_f1,["dojo",("dojo/require!"+_f2.join(",")).replace(/\./g,"/")],function(_f3){_9(_f2,function(mid){_f3.require(mid);});});_30.unshift(_31(_f1));}_ee();}else{_f0=_2a(_ec,_f0);if(_f0){_89(_f0,_ec);_ee();}else{_7b=_ec;req.injectUrl(_40(url),_ee,_ec);_7b=0;}}};req.trace("loader-inject",["xhr",_ec.mid,url,_25!=_26]);if(has("config-dojo-loader-catches")){try{req.getText(url,_25!=_26,_ef);}catch(e){_34(_45,_f("xhrInjectFailed",[_ec,e]));}}else{req.getText(url,_25!=_26,_ef);}return;}}}req.trace("loader-inject",["script",_ec.mid,url]);_7b=_ec;req.injectUrl(_40(url),_ee,_ec);_7b=0;},_f4=function(_f5,_f6,def){req.trace("loader-define-module",[_f5.mid,_f6]);if(0&&_f5.plugin&&_f5.plugin.isCombo){_f5.result=_6(def)?def():def;_33(_f5);_35(_f5);return _f5;}var mid=_f5.mid;if(_f5.injected===_21){_34(_45,_f("multipleDefine",_f5));return _f5;}_c(_f5,{deps:_f6,def:def,cjs:{id:_f5.mid,uri:_f5.url,exports:(_f5.result={}),setExports:function(_f7){_f5.cjs.exports=_f7;}}});for(var i=0;i<_f6.length;i++){_f6[i]=_31(_f6[i],_f5);}if(1&&_25&&!_8b[mid]){_74(_f5);_30.push(_f5);_7a();}_33(_f5);if(!_6(def)&&!_f6.length){_f5.result=def;_35(_f5);}return _f5;},_79=function(_f8,_f9){var _fa=[],_fb,_fc;while(_8a.length){_fc=_8a.shift();_f9&&(_fc[0]=_f9.shift());_fb=(_fc[0]&&_31(_fc[0]))||_f8;_fa.push([_fb,_fc[1],_fc[2]]);}_57(_f8);_9(_fa,function(_fd){_74(_f4.apply(null,_fd));});};}var _fe=0,_8f=_3,_ff=_3;if(1){_8f=function(){_fe&&clearTimeout(_fe);_fe=0;},_ff=function(){_8f();req.waitms&&(_fe=setTimeout(function(){_8f();_34(_45,_f("timeout",_8b));},req.waitms));};}if(1){has.add("ie-event-behavior",!!doc.attachEvent&&(typeof opera==="undefined"||opera.toString()!="[object Opera]"));}if(1&&(1||1)){var _100=function(node,_101,_102,_103){if(!has("ie-event-behavior")){node.addEventListener(_101,_103,false);return function(){node.removeEventListener(_101,_103,false);};}else{node.attachEvent(_102,_103);return function(){node.detachEvent(_102,_103);};}},_104=_100(window,"load","onload",function(){req.pageLoaded=1;doc.readyState!="complete"&&(doc.readyState="complete");_104();});if(1){var _105=doc.getElementsByTagName("script")[0],_106=_105.parentNode;req.injectUrl=function(url,_107,_108){_ff();var node=_108.node=doc.createElement("script"),_109=function(e){e=e||window.event;var node=e.target||e.srcElement;if(e.type==="load"||/complete|loaded/.test(node.readyState)){_10a();_107&&_107();}},_10a=_100(node,"load","onreadystatechange",_109);node.type="text/javascript";node.charset="utf-8";node.src=url;_106.insertBefore(node,_105);return node;};}}if(1){req.log=function(){try{for(var i=0;i0){_125._delayTimer=setTimeout(_126,de);return _125;}_126();return _125;},_play:function(_127){var _128=this;if(_128._delayTimer){_128._clearTimer();}_128._startTime=new Date().valueOf();if(_128._paused){_128._startTime-=_128.duration*_128._percent;}_128._active=true;_128._paused=false;var _129=_128.curve.getValue(_128._getStep());if(!_128._percent){if(!_128._startRepeatCount){_128._startRepeatCount=_128.repeat;}_128._fire("onBegin",[_129]);}_128._fire("onPlay",[_129]);_128._cycle();return _128;},pause:function(){var _12a=this;if(_12a._delayTimer){_12a._clearTimer();}_12a._stopTimer();if(!_12a._active){return _12a;}_12a._paused=true;_12a._fire("onPause",[_12a.curve.getValue(_12a._getStep())]);return _12a;},gotoPercent:function(_12b,_12c){var _12d=this;_12d._stopTimer();_12d._active=_12d._paused=true;_12d._percent=_12b;if(_12c){_12d.play();}return _12d;},stop:function(_12e){var _12f=this;if(_12f._delayTimer){_12f._clearTimer();}if(!_12f._timer){return _12f;}_12f._stopTimer();if(_12e){_12f._percent=1;}_12f._fire("onStop",[_12f.curve.getValue(_12f._getStep())]);_12f._active=_12f._paused=false;return _12f;},status:function(){if(this._active){return this._paused?"paused":"playing";}return "stopped";},_cycle:function(){var _130=this;if(_130._active){var curr=new Date().valueOf();var step=(curr-_130._startTime)/(_130.duration);if(step>=1){step=1;}_130._percent=step;if(_130.easing){step=_130.easing(step);}_130._fire("onAnimate",[_130.curve.getValue(step)]);if(_130._percent<1){_130._startTimer();}else{_130._active=false;if(_130.repeat>0){_130.repeat--;_130.play(null,true);}else{if(_130.repeat==-1){_130.play(null,true);}else{if(_130._startRepeatCount){_130.repeat=_130._startRepeatCount;_130._startRepeatCount=0;}}}_130._percent=0;_130._fire("onEnd",[_130.node]);!_130.repeat&&_130._stopTimer();}}return _130;},_clearTimer:function(){clearTimeout(this._delayTimer);delete this._delayTimer;}});var ctr=0,_131=null,_132={run:function(){}};lang.extend(dojo.Animation,{_startTimer:function(){if(!this._timer){this._timer=_11d.connect(_132,"run",this,"_cycle");ctr++;}if(!_131){_131=setInterval(lang.hitch(_132,"run"),this.rate);}},_stopTimer:function(){if(this._timer){_11d.disconnect(this._timer);this._timer=null;ctr--;}if(ctr<=0){clearInterval(_131);_131=null;ctr=0;}}});var _133=has("ie")?function(node){var ns=node.style;if(!ns.width.length&&_11e.get(node,"width")=="auto"){ns.width="auto";}}:function(){};dojo._fade=function(args){args.node=dom.byId(args.node);var _134=_11f({properties:{}},args),_135=(_134.properties.opacity={});_135.start=!("start" in _134)?function(){return +_11e.get(_134.node,"opacity")||0;}:_134.start;_135.end=_134.end;var anim=dojo.animateProperty(_134);_11d.connect(anim,"beforeBegin",lang.partial(_133,_134.node));return anim;};dojo.fadeIn=function(args){return dojo._fade(_11f({end:1},args));};dojo.fadeOut=function(args){return dojo._fade(_11f({end:0},args));};dojo._defaultEasing=function(n){return 0.5+((Math.sin((n+1.5)*Math.PI))/2);};var _136=function(_137){this._properties=_137;for(var p in _137){var prop=_137[p];if(prop.start instanceof _11c){prop.tempColor=new _11c();}}};_136.prototype.getValue=function(r){var ret={};for(var p in this._properties){var prop=this._properties[p],_138=prop.start;if(_138 instanceof _11c){ret[p]=_11c.blendColors(_138,prop.end,r,prop.tempColor).toCss();}else{if(!lang.isArray(_138)){ret[p]=((prop.end-_138)*r)+_138+(p!="opacity"?prop.units||"px":0);}}}return ret;};dojo.animateProperty=function(args){var n=args.node=dom.byId(args.node);if(!args.easing){args.easing=dojo._defaultEasing;}var anim=new dojo.Animation(args);_11d.connect(anim,"beforeBegin",anim,function(){var pm={};for(var p in this.properties){if(p=="width"||p=="height"){this.node.display="block";}var prop=this.properties[p];if(lang.isFunction(prop)){prop=prop(n);}prop=pm[p]=_11f({},(lang.isObject(prop)?prop:{end:prop}));if(lang.isFunction(prop.start)){prop.start=prop.start(n);}if(lang.isFunction(prop.end)){prop.end=prop.end(n);}var _139=(p.toLowerCase().indexOf("color")>=0);function _13a(node,p){var v={height:node.offsetHeight,width:node.offsetWidth}[p];if(v!==undefined){return v;}v=_11e.get(node,p);return (p=="opacity")?+v:(_139?v:parseFloat(v));};if(!("end" in prop)){prop.end=_13a(n,p);}else{if(!("start" in prop)){prop.start=_13a(n,p);}}if(_139){prop.start=new _11c(prop.start);prop.end=new _11c(prop.end);}else{prop.start=(p=="opacity")?+prop.start:parseFloat(prop.start);}}this.curve=new _136(pm);});_11d.connect(anim,"onAnimate",lang.hitch(_11e,"set",anim.node));return anim;};dojo.anim=function(node,_13b,_13c,_13d,_13e,_13f){return dojo.animateProperty({node:node,duration:_13c||dojo.Animation.prototype.duration,properties:_13b,easing:_13d,onEnd:_13e}).play(_13f||0);};return {_Line:dojo._Line,Animation:dojo.Animation,_fade:dojo._fade,fadeIn:dojo.fadeIn,fadeOut:dojo.fadeOut,_defaultEasing:dojo._defaultEasing,animateProperty:dojo.animateProperty,anim:dojo.anim};});},"dojo/dom-form":function(){define(["./_base/lang","./dom","./io-query","./json"],function(lang,dom,ioq,json){function _140(obj,name,_141){if(_141===null){return;}var val=obj[name];if(typeof val=="string"){obj[name]=[val,_141];}else{if(lang.isArray(val)){val.push(_141);}else{obj[name]=_141;}}};var _142="file|submit|image|reset|button";var form={fieldToObject:function fieldToObject(_143){var ret=null;_143=dom.byId(_143);if(_143){var _144=_143.name,type=(_143.type||"").toLowerCase();if(_144&&type&&!_143.disabled){if(type=="radio"||type=="checkbox"){if(_143.checked){ret=_143.value;}}else{if(_143.multiple){ret=[];var _145=[_143.firstChild];while(_145.length){for(var node=_145.pop();node;node=node.nextSibling){if(node.nodeType==1&&node.tagName.toLowerCase()=="option"){if(node.selected){ret.push(node.value);}}else{if(node.nextSibling){_145.push(node.nextSibling);}if(node.firstChild){_145.push(node.firstChild);}break;}}}}else{ret=_143.value;}}}}return ret;},toObject:function formToObject(_146){var ret={},_147=dom.byId(_146).elements;for(var i=0,l=_147.length;i=0;i--){var node=(_1a2?this._cloneNode(ary[i]):ary[i]);if(ary._runParse&&dojo.parser&&dojo.parser.parse){if(!_1a4){_1a4=_1a3.ownerDocument.createElement("div");}_1a4.appendChild(node);dojo.parser.parse(_1a4);node=_1a4.firstChild;while(_1a4.firstChild){_1a4.removeChild(_1a4.firstChild);}}if(i==_1a5-1){_192.place(node,_1a3,_1a1);}else{_1a3.parentNode.insertBefore(node,_1a3);}_1a3=node;}},attr:awc(_199(_194),_196),style:awc(_199(_195),_196),addClass:aafe(_191.add),removeClass:aafe(_191.remove),replaceClass:aafe(_191.replace),toggleClass:aafe(_191.toggle),empty:aafe(_192.empty),removeAttr:aafe(_194.remove),position:aam(_193.position),marginBox:aam(_193.getMarginBox),place:function(_1a6,_1a7){var item=_18f(_1a6)[0];return this.forEach(function(node){_192.place(node,item,_1a7);});},orphan:function(_1a8){return (_1a8?_18f._filterResult(this,_1a8):this).forEach(_197);},adopt:function(_1a9,_1aa){return _18f(_1a9).place(this[0],_1aa)._stash(this);},query:function(_1ab){if(!_1ab){return this;}var ret=new _198;this.map(function(node){_18f(_1ab,node).forEach(function(_1ac){if(_1ac!==undefined){ret.push(_1ac);}});});return ret._stash(this);},filter:function(_1ad){var a=arguments,_1ae=this,_1af=0;if(typeof _1ad=="string"){_1ae=_18f._filterResult(this,a[0]);if(a.length==1){return _1ae._stash(this);}_1af=1;}return this._wrap(_190.filter(_1ae,a[_1af],a[_1af+1]),this);},addContent:function(_1b0,_1b1){_1b0=this._normalize(_1b0,this[0]);for(var i=0,node;(node=this[i]);i++){this._place(_1b0,node,_1b1,i>0);}return this;}});return _198;});},"dojo/query":function(){define(["./_base/kernel","./has","./dom","./on","./_base/array","./_base/lang","./selector/_loader","./selector/_loader!default"],function(dojo,has,dom,on,_1b2,lang,_1b3,_1b4){"use strict";has.add("array-extensible",function(){return lang.delegate([],{length:1}).length==1&&!has("bug-for-in-skips-shadowed");});var ap=Array.prototype,aps=ap.slice,apc=ap.concat,_1b5=_1b2.forEach;var tnl=function(a,_1b6,_1b7){var _1b8=new (_1b7||this._NodeListCtor||nl)(a);return _1b6?_1b8._stash(_1b6):_1b8;};var _1b9=function(f,a,o){a=[0].concat(aps.call(a,0));o=o||dojo.global;return function(node){a[0]=node;return f.apply(o,a);};};var _1ba=function(f,o){return function(){this.forEach(_1b9(f,arguments,o));return this;};};var _1bb=function(f,o){return function(){return this.map(_1b9(f,arguments,o));};};var _1bc=function(f,o){return function(){return this.filter(_1b9(f,arguments,o));};};var _1bd=function(f,g,o){return function(){var a=arguments,body=_1b9(f,a,o);if(g.call(o||dojo.global,a)){return this.map(body);}this.forEach(body);return this;};};var _1be=function(_1bf){var _1c0=this instanceof nl&&has("array-extensible");if(typeof _1bf=="number"){_1bf=Array(_1bf);}var _1c1=(_1bf&&"length" in _1bf)?_1bf:arguments;if(_1c0||!_1c1.sort){var _1c2=_1c0?this:[],l=_1c2.length=_1c1.length;for(var i=0;i0;};_1d3.filter=_1d1.filter||function(_1d7,_1d8,root){return _1d3(_1d8,root).filter(function(node){return _1b2.indexOf(_1d7,node)>-1;});};if(typeof _1d1!="function"){var _1d9=_1d1.search;_1d1=function(_1da,root){return _1d9(root||document,_1da);};}return _1d3;};var _1cd=_1d0(_1b4,_1be);dojo.query=_1d0(_1b4,function(_1db){return _1be(_1db);});_1cd.load=function(id,_1dc,_1dd,_1de){_1b3.load(id,_1dc,function(_1df){_1dd(_1d0(_1df,_1be));});};dojo._filterQueryResult=_1cd._filterResult=function(_1e0,_1e1,root){return new _1be(_1cd.filter(_1e0,_1e1,root));};dojo.NodeList=_1cd.NodeList=_1be;return _1cd;});},"dojo/has":function(){define(["require"],function(_1e2){var has=_1e2.has||function(){};if(!1){var _1e3=typeof window!="undefined"&&typeof location!="undefined"&&typeof document!="undefined"&&window.location==location&&window.document==document,_1e4=this,doc=_1e3&&document,_1e5=doc&&doc.createElement("DiV"),_1e6={};has=function(name){return typeof _1e6[name]=="function"?(_1e6[name]=_1e6[name](_1e4,doc,_1e5)):_1e6[name];};has.cache=_1e6;has.add=function(name,test,now,_1e7){(typeof _1e6[name]=="undefined"||_1e7)&&(_1e6[name]=test);return now&&has(name);};true||has.add("host-browser",_1e3);false&&has.add("host-node",(typeof process=="object"&&process.versions&&process.versions.node&&process.versions.v8));false&&has.add("host-rhino",(typeof load=="function"&&(typeof Packages=="function"||typeof Packages=="object")));true||has.add("dom",_1e3);true||has.add("dojo-dom-ready-api",1);true||has.add("dojo-sniff",1);}if(1){var _1e8=navigator.userAgent;has.add("dom-addeventlistener",!!document.addEventListener);has.add("touch","ontouchstart" in document);has.add("device-width",screen.availWidth||innerWidth);has.add("agent-ios",!!_1e8.match(/iPhone|iP[ao]d/));has.add("agent-android",_1e8.indexOf("android")>1);}has.clearElement=function(_1e9){_1e9.innerHTML="";return _1e9;};has.normalize=function(id,_1ea){var _1eb=id.match(/[\?:]|[^:\?]*/g),i=0,get=function(skip){var term=_1eb[i++];if(term==":"){return 0;}else{if(_1eb[i++]=="?"){if(!skip&&has(term)){return get();}else{get(true);return get(skip);}}return term||0;}};id=get();return id&&_1ea(id);};has.load=function(id,_1ec,_1ed){if(id){_1ec([id],_1ed);}else{_1ed();}};return has;});},"dojo/_base/loader":function(){define(["./kernel","../has","require","module","./json","./lang","./array"],function(dojo,has,_1ee,_1ef,json,lang,_1f0){if(!1){console.error("cannot load the Dojo v1.x loader with a foreign loader");return 0;}var _1f1=function(id){return {src:_1ef.id,id:id};},_1f2=function(name){return name.replace(/\./g,"/");},_1f3=/\/\/>>built/,_1f4=[],_1f5=[],_1f6=function(mid,_1f7,_1f8){_1f4.push(_1f8);_1f0.forEach(mid.split(","),function(mid){var _1f9=_1fa(mid,_1f7.module);_1f5.push(_1f9);_1fb(_1f9);});_1fc();},_1fd,_1fe=function(m){_1fd[m.mid]=1;for(var t,_1ff,deps=m.deps||[],i=0;i=0;--j){_262=lin[j].prototype;if(!_262.hasOwnProperty("declaredClass")){_262.declaredClass="uniqName_"+(_259++);}name=_262.declaredClass;if(!_260.hasOwnProperty(name)){_260[name]={count:0,refs:[],cls:lin[j]};++_261;}rec=_260[name];if(top&&top!==rec){rec.refs.push(top);++top.count;}top=rec;}++top.count;_25f[0].refs.push(top);}while(_25f.length){top=_25f.pop();_25e.push(top.cls);--_261;while(refs=top.refs,refs.length==1){top=refs[0];if(!top||--top.count){top=0;break;}_25e.push(top.cls);--_261;}if(top){for(i=0,l=refs.length;i=0;--i){f=_27c[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_27e?_27e[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}};};function _280(ctor,_281){return function(){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _27f(a);}if(_281){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}};};function _282(_283){return function(){var a=arguments,i=0,f,m;if(!(this instanceof a.callee)){return _27f(a);}for(;f=_283[i];++i){m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,a);break;}}f=this.postscript;if(f){f.apply(this,a);}};};function _284(name,_285,_286){return function(){var b,m,f,i=0,step=1;if(_286){i=_285.length-1;step=-1;}for(;b=_285[i];i+=step){m=b._meta;f=(m?m.hidden:b.prototype)[name];if(f){f.apply(this,arguments);}}};};function _287(ctor){xtor.prototype=ctor.prototype;var t=new xtor;xtor.prototype=null;return t;};function _27f(args){var ctor=args.callee,t=_287(ctor);ctor.apply(t,args);return t;};function _278(_288,_289,_28a){if(typeof _288!="string"){_28a=_289;_289=_288;_288="";}_28a=_28a||{};var _28b,i,t,ctor,name,_28c,_28d,_28e=1,_28f=_289;if(opts.call(_289)=="[object Array]"){_28c=_25b(_289,_288);t=_28c[0];_28e=_28c.length-t;_289=_28c[_28e];}else{_28c=[0];if(_289){if(opts.call(_289)=="[object Function]"){t=_289._meta;_28c=_28c.concat(t?t.bases:_289);}else{err("base class is not a callable constructor.",_288);}}else{if(_289!==null){err("unknown base class. Did you use dojo.require to pull it in?",_288);}}}if(_289){for(i=_28e-1;;--i){_28b=_287(_289);if(!i){break;}t=_28c[i];(t._meta?_26e:mix)(_28b,t.prototype);ctor=new Function;ctor.superclass=_289;ctor.prototype=_28b;_289=_28b.constructor=ctor;}}else{_28b={};}_278.safeMixin(_28b,_28a);t=_28a.constructor;if(t!==op.constructor){t.nom=_25a;_28b.constructor=t;}for(i=_28e-1;i;--i){t=_28c[i]._meta;if(t&&t.chains){_28d=mix(_28d||{},t.chains);}}if(_28b["-chains-"]){_28d=mix(_28d||{},_28b["-chains-"]);}t=!_28d||!_28d.hasOwnProperty(_25a);_28c[0]=ctor=(_28d&&_28d.constructor==="manual")?_282(_28c):(_28c.length==1?_280(_28a.constructor,t):_27b(_28c,t));ctor._meta={bases:_28c,hidden:_28a,chains:_28d,parents:_28f,ctor:_28a.constructor};ctor.superclass=_289&&_289.prototype;ctor.extend=_276;ctor.createSubclass=_279;ctor.prototype=_28b;_28b.constructor=ctor;_28b.getInherited=_269;_28b.isInstanceOf=_26c;_28b.inherited=_26b;_28b.__inherited=_263;if(_288){_28b.declaredClass=_288;lang.setObject(_288,ctor);}if(_28d){for(name in _28d){if(_28b[name]&&typeof _28d[name]=="string"&&name!=_25a){t=_28b[name]=_284(name,_28c,_28d[name]==="after");t.nom=name;}}}return ctor;};dojo.safeMixin=_278.safeMixin=_272;dojo.declare=_278;return _278;});},"dojo/dom":function(){define(["./_base/sniff","./_base/lang","./_base/window"],function(has,lang,win){try{document.execCommand("BackgroundImageCache",false,true);}catch(e){}var dom={};if(has("ie")){dom.byId=function(id,doc){if(typeof id!="string"){return id;}var _290=doc||win.doc,te=id&&_290.getElementById(id);if(te&&(te.attributes.id.value==id||te.id==id)){return te;}else{var eles=_290.all[id];if(!eles||eles.nodeName){eles=[eles];}var i=0;while((te=eles[i++])){if((te.attributes&&te.attributes.id&&te.attributes.id.value==id)||te.id==id){return te;}}}};}else{dom.byId=function(id,doc){return ((typeof id=="string")?(doc||win.doc).getElementById(id):id)||null;};}dom.isDescendant=function(node,_291){try{node=dom.byId(node);_291=dom.byId(_291);while(node){if(node==_291){return true;}node=node.parentNode;}}catch(e){}return false;};has.add("css-user-select",function(_292,doc,_293){if(!_293){return false;}var _294=_293.style;var _295=["Khtml","O","ms","Moz","Webkit"],i=_295.length,name="userSelect",_296;do{if(typeof _294[name]!=="undefined"){return name;}}while(i--&&(name=_295[i]+"UserSelect"));return false;});var _297=has("css-user-select");dom.setSelectable=_297?function(node,_298){dom.byId(node).style[_297]=_298?"":"none";}:function(node,_299){node=dom.byId(node);var _29a=node.getElementsByTagName("*"),i=_29a.length;if(_299){node.removeAttribute("unselectable");while(i--){_29a[i].removeAttribute("unselectable");}}else{node.setAttribute("unselectable","on");while(i--){_29a[i].setAttribute("unselectable","on");}}};return dom;});},"dojo/_base/browser":function(){if(require.has){require.has.add("config-selectorEngine","acme");}define(["../ready","./kernel","./connect","./unload","./window","./event","./html","./NodeList","../query","./xhr","./fx"],function(dojo){return dojo;});},"dojo/selector/acme":function(){define(["../_base/kernel","../has","../dom","../_base/sniff","../_base/array","../_base/lang","../_base/window"],function(dojo,has,dom){var trim=dojo.trim;var each=dojo.forEach;var _29b=function(){return dojo.doc;};var _29c=(_29b().compatMode)=="BackCompat";var _29d=">~+";var _29e=false;var _29f=function(){return true;};var _2a0=function(_2a1){if(_29d.indexOf(_2a1.slice(-1))>=0){_2a1+=" * ";}else{_2a1+=" ";}var ts=function(s,e){return trim(_2a1.slice(s,e));};var _2a2=[];var _2a3=-1,_2a4=-1,_2a5=-1,_2a6=-1,_2a7=-1,inId=-1,_2a8=-1,_2a9,lc="",cc="",_2aa;var x=0,ql=_2a1.length,_2ab=null,_2ac=null;var _2ad=function(){if(_2a8>=0){var tv=(_2a8==x)?null:ts(_2a8,x);_2ab[(_29d.indexOf(tv)<0)?"tag":"oper"]=tv;_2a8=-1;}};var _2ae=function(){if(inId>=0){_2ab.id=ts(inId,x).replace(/\\/g,"");inId=-1;}};var _2af=function(){if(_2a7>=0){_2ab.classes.push(ts(_2a7+1,x).replace(/\\/g,""));_2a7=-1;}};var _2b0=function(){_2ae();_2ad();_2af();};var _2b1=function(){_2b0();if(_2a6>=0){_2ab.pseudos.push({name:ts(_2a6+1,x)});}_2ab.loops=(_2ab.pseudos.length||_2ab.attrs.length||_2ab.classes.length);_2ab.oquery=_2ab.query=ts(_2aa,x);_2ab.otag=_2ab.tag=(_2ab["oper"])?null:(_2ab.tag||"*");if(_2ab.tag){_2ab.tag=_2ab.tag.toUpperCase();}if(_2a2.length&&(_2a2[_2a2.length-1].oper)){_2ab.infixOper=_2a2.pop();_2ab.query=_2ab.infixOper.query+" "+_2ab.query;}_2a2.push(_2ab);_2ab=null;};for(;lc=cc,cc=_2a1.charAt(x),x=0){if(cc=="]"){if(!_2ac.attr){_2ac.attr=ts(_2a3+1,x);}else{_2ac.matchFor=ts((_2a5||_2a3+1),x);}var cmf=_2ac.matchFor;if(cmf){if((cmf.charAt(0)=="\"")||(cmf.charAt(0)=="'")){_2ac.matchFor=cmf.slice(1,-1);}}if(_2ac.matchFor){_2ac.matchFor=_2ac.matchFor.replace(/\\/g,"");}_2ab.attrs.push(_2ac);_2ac=null;_2a3=_2a5=-1;}else{if(cc=="="){var _2b2=("|~^$*".indexOf(lc)>=0)?lc:"";_2ac.type=_2b2+cc;_2ac.attr=ts(_2a3+1,x-_2b2.length);_2a5=x+1;}}}else{if(_2a4>=0){if(cc==")"){if(_2a6>=0){_2ac.value=ts(_2a4+1,x);}_2a6=_2a4=-1;}}else{if(cc=="#"){_2b0();inId=x+1;}else{if(cc=="."){_2b0();_2a7=x;}else{if(cc==":"){_2b0();_2a6=x;}else{if(cc=="["){_2b0();_2a3=x;_2ac={};}else{if(cc=="("){if(_2a6>=0){_2ac={name:ts(_2a6+1,x),value:null};_2ab.pseudos.push(_2ac);}_2a4=x;}else{if((cc==" ")&&(lc!=cc)){_2b1();}}}}}}}}}return _2a2;};var _2b3=function(_2b4,_2b5){if(!_2b4){return _2b5;}if(!_2b5){return _2b4;}return function(){return _2b4.apply(window,arguments)&&_2b5.apply(window,arguments);};};var _2b6=function(i,arr){var r=arr||[];if(i){r.push(i);}return r;};var _2b7=function(n){return (1==n.nodeType);};var _2b8="";var _2b9=function(elem,attr){if(!elem){return _2b8;}if(attr=="class"){return elem.className||_2b8;}if(attr=="for"){return elem.htmlFor||_2b8;}if(attr=="style"){return elem.style.cssText||_2b8;}return (_29e?elem.getAttribute(attr):elem.getAttribute(attr,2))||_2b8;};var _2ba={"*=":function(attr,_2bb){return function(elem){return (_2b9(elem,attr).indexOf(_2bb)>=0);};},"^=":function(attr,_2bc){return function(elem){return (_2b9(elem,attr).indexOf(_2bc)==0);};},"$=":function(attr,_2bd){return function(elem){var ea=" "+_2b9(elem,attr);var _2be=ea.lastIndexOf(_2bd);return _2be>-1&&(_2be==(ea.length-_2bd.length));};},"~=":function(attr,_2bf){var tval=" "+_2bf+" ";return function(elem){var ea=" "+_2b9(elem,attr)+" ";return (ea.indexOf(tval)>=0);};},"|=":function(attr,_2c0){var _2c1=_2c0+"-";return function(elem){var ea=_2b9(elem,attr);return ((ea==_2c0)||(ea.indexOf(_2c1)==0));};},"=":function(attr,_2c2){return function(elem){return (_2b9(elem,attr)==_2c2);};}};var _2c3=(typeof _29b().firstChild.nextElementSibling=="undefined");var _2c4=!_2c3?"nextElementSibling":"nextSibling";var _2c5=!_2c3?"previousElementSibling":"previousSibling";var _2c6=(_2c3?_2b7:_29f);var _2c7=function(node){while(node=node[_2c5]){if(_2c6(node)){return false;}}return true;};var _2c8=function(node){while(node=node[_2c4]){if(_2c6(node)){return false;}}return true;};var _2c9=function(node){var root=node.parentNode;var i=0,tret=root.children||root.childNodes,ci=(node["_i"]||-1),cl=(root["_l"]||-1);if(!tret){return -1;}var l=tret.length;if(cl==l&&ci>=0&&cl>=0){return ci;}root["_l"]=l;ci=-1;for(var te=root["firstElementChild"]||root["firstChild"];te;te=te[_2c4]){if(_2c6(te)){te["_i"]=++i;if(node===te){ci=i;}}}return ci;};var _2ca=function(elem){return !((_2c9(elem))%2);};var _2cb=function(elem){return ((_2c9(elem))%2);};var _2cc={"checked":function(name,_2cd){return function(elem){return !!("checked" in elem?elem.checked:elem.selected);};},"first-child":function(){return _2c7;},"last-child":function(){return _2c8;},"only-child":function(name,_2ce){return function(node){return _2c7(node)&&_2c8(node);};},"empty":function(name,_2cf){return function(elem){var cn=elem.childNodes;var cnl=elem.childNodes.length;for(var x=cnl-1;x>=0;x--){var nt=cn[x].nodeType;if((nt===1)||(nt==3)){return false;}}return true;};},"disabled":function(name,_2d0){return function(elem){return elem.disabled;};},"enabled":function(name,_2d1){return function(elem){return !elem.disabled;};},"contains":function(name,_2d2){var cz=_2d2.charAt(0);if(cz=="\""||cz=="'"){_2d2=_2d2.slice(1,-1);}return function(elem){return (elem.innerHTML.indexOf(_2d2)>=0);};},"not":function(name,_2d3){var p=_2a0(_2d3)[0];var _2d4={el:1};if(p.tag!="*"){_2d4.tag=1;}if(!p.classes.length){_2d4.classes=1;}var ntf=_2d5(p,_2d4);return function(elem){return (!ntf(elem));};},"nth-child":function(name,_2d6){var pi=parseInt;if(_2d6=="odd"){return _2cb;}else{if(_2d6=="even"){return _2ca;}}if(_2d6.indexOf("n")!=-1){var _2d7=_2d6.split("n",2);var pred=_2d7[0]?((_2d7[0]=="-")?-1:pi(_2d7[0])):1;var idx=_2d7[1]?pi(_2d7[1]):0;var lb=0,ub=-1;if(pred>0){if(idx<0){idx=(idx%pred)&&(pred+(idx%pred));}else{if(idx>0){if(idx>=pred){lb=idx-idx%pred;}idx=idx%pred;}}}else{if(pred<0){pred*=-1;if(idx>0){ub=idx;idx=idx%pred;}}}if(pred>0){return function(elem){var i=_2c9(elem);return (i>=lb)&&(ub<0||i<=ub)&&((i%pred)==idx);};}else{_2d6=idx;}}var _2d8=pi(_2d6);return function(elem){return (_2c9(elem)==_2d8);};}};var _2d9=(dojo.isIE<9||dojo.isIE==9&&dojo.isQuirks)?function(cond){var clc=cond.toLowerCase();if(clc=="class"){cond="className";}return function(elem){return (_29e?elem.getAttribute(cond):elem[cond]||elem[clc]);};}:function(cond){return function(elem){return (elem&&elem.getAttribute&&elem.hasAttribute(cond));};};var _2d5=function(_2da,_2db){if(!_2da){return _29f;}_2db=_2db||{};var ff=null;if(!("el" in _2db)){ff=_2b3(ff,_2b7);}if(!("tag" in _2db)){if(_2da.tag!="*"){ff=_2b3(ff,function(elem){return (elem&&(elem.tagName==_2da.getTag()));});}}if(!("classes" in _2db)){each(_2da.classes,function(_2dc,idx,arr){var re=new RegExp("(?:^|\\s)"+_2dc+"(?:\\s|$)");ff=_2b3(ff,function(elem){return re.test(elem.className);});ff.count=idx;});}if(!("pseudos" in _2db)){each(_2da.pseudos,function(_2dd){var pn=_2dd.name;if(_2cc[pn]){ff=_2b3(ff,_2cc[pn](pn,_2dd.value));}});}if(!("attrs" in _2db)){each(_2da.attrs,function(attr){var _2de;var a=attr.attr;if(attr.type&&_2ba[attr.type]){_2de=_2ba[attr.type](a,attr.matchFor);}else{if(a.length){_2de=_2d9(a);}}if(_2de){ff=_2b3(ff,_2de);}});}if(!("id" in _2db)){if(_2da.id){ff=_2b3(ff,function(elem){return (!!elem&&(elem.id==_2da.id));});}}if(!ff){if(!("default" in _2db)){ff=_29f;}}return ff;};var _2df=function(_2e0){return function(node,ret,bag){while(node=node[_2c4]){if(_2c3&&(!_2b7(node))){continue;}if((!bag||_2e1(node,bag))&&_2e0(node)){ret.push(node);}break;}return ret;};};var _2e2=function(_2e3){return function(root,ret,bag){var te=root[_2c4];while(te){if(_2c6(te)){if(bag&&!_2e1(te,bag)){break;}if(_2e3(te)){ret.push(te);}}te=te[_2c4];}return ret;};};var _2e4=function(_2e5){_2e5=_2e5||_29f;return function(root,ret,bag){var te,x=0,tret=root.children||root.childNodes;while(te=tret[x++]){if(_2c6(te)&&(!bag||_2e1(te,bag))&&(_2e5(te,x))){ret.push(te);}}return ret;};};var _2e6=function(node,root){var pn=node.parentNode;while(pn){if(pn==root){break;}pn=pn.parentNode;}return !!pn;};var _2e7={};var _2e8=function(_2e9){var _2ea=_2e7[_2e9.query];if(_2ea){return _2ea;}var io=_2e9.infixOper;var oper=(io?io.oper:"");var _2eb=_2d5(_2e9,{el:1});var qt=_2e9.tag;var _2ec=("*"==qt);var ecs=_29b()["getElementsByClassName"];if(!oper){if(_2e9.id){_2eb=(!_2e9.loops&&_2ec)?_29f:_2d5(_2e9,{el:1,id:1});_2ea=function(root,arr){var te=dom.byId(_2e9.id,(root.ownerDocument||root));if(!te||!_2eb(te)){return;}if(9==root.nodeType){return _2b6(te,arr);}else{if(_2e6(te,root)){return _2b6(te,arr);}}};}else{if(ecs&&/\{\s*\[native code\]\s*\}/.test(String(ecs))&&_2e9.classes.length&&!_29c){_2eb=_2d5(_2e9,{el:1,classes:1,id:1});var _2ed=_2e9.classes.join(" ");_2ea=function(root,arr,bag){var ret=_2b6(0,arr),te,x=0;var tret=root.getElementsByClassName(_2ed);while((te=tret[x++])){if(_2eb(te,root)&&_2e1(te,bag)){ret.push(te);}}return ret;};}else{if(!_2ec&&!_2e9.loops){_2ea=function(root,arr,bag){var ret=_2b6(0,arr),te,x=0;var tret=root.getElementsByTagName(_2e9.getTag());while((te=tret[x++])){if(_2e1(te,bag)){ret.push(te);}}return ret;};}else{_2eb=_2d5(_2e9,{el:1,tag:1,id:1});_2ea=function(root,arr,bag){var ret=_2b6(0,arr),te,x=0;var tret=root.getElementsByTagName(_2e9.getTag());while((te=tret[x++])){if(_2eb(te,root)&&_2e1(te,bag)){ret.push(te);}}return ret;};}}}}else{var _2ee={el:1};if(_2ec){_2ee.tag=1;}_2eb=_2d5(_2e9,_2ee);if("+"==oper){_2ea=_2df(_2eb);}else{if("~"==oper){_2ea=_2e2(_2eb);}else{if(">"==oper){_2ea=_2e4(_2eb);}}}}return _2e7[_2e9.query]=_2ea;};var _2ef=function(root,_2f0){var _2f1=_2b6(root),qp,x,te,qpl=_2f0.length,bag,ret;for(var i=0;i0){bag={};ret.nozip=true;}var gef=_2e8(qp);for(var j=0;(te=_2f1[j]);j++){gef(te,ret,bag);}if(!ret.length){break;}_2f1=ret;}return ret;};var _2f2={},_2f3={};var _2f4=function(_2f5){var _2f6=_2a0(trim(_2f5));if(_2f6.length==1){var tef=_2e8(_2f6[0]);return function(root){var r=tef(root,[]);if(r){r.nozip=true;}return r;};}return function(root){return _2ef(root,_2f6);};};var nua=navigator.userAgent;var wk="WebKit/";var _2f7=(dojo.isWebKit&&(nua.indexOf(wk)>0)&&(parseFloat(nua.split(wk)[1])>528));var _2f8=dojo.isIE?"commentStrip":"nozip";var qsa="querySelectorAll";var _2f9=(!!_29b()[qsa]&&(!dojo.isSafari||(dojo.isSafari>3.1)||_2f7));var _2fa=/\\[>~+]|n\+\d|([^ \\])?([>~+])([^ =])?/g;var _2fb=function(_2fc,pre,ch,post){return ch?(pre?pre+" ":"")+ch+(post?" "+post:""):_2fc;};var _2fd=/([^[]*)([^\]]*])?/g;var _2fe=function(_2ff,_300,att){return _300.replace(_2fa,_2fb)+(att||"");};var _301=function(_302,_303){_302=_302.replace(_2fd,_2fe);if(_2f9){var _304=_2f3[_302];if(_304&&!_303){return _304;}}var _305=_2f2[_302];if(_305){return _305;}var qcz=_302.charAt(0);var _306=(-1==_302.indexOf(" "));if((_302.indexOf("#")>=0)&&(_306)){_303=true;}var _307=(_2f9&&(!_303)&&(_29d.indexOf(qcz)==-1)&&(!dojo.isIE||(_302.indexOf(":")==-1))&&(!(_29c&&(_302.indexOf(".")>=0)))&&(_302.indexOf(":contains")==-1)&&(_302.indexOf(":checked")==-1)&&(_302.indexOf("|=")==-1));if(_307){var tq=(_29d.indexOf(_302.charAt(_302.length-1))>=0)?(_302+" *"):_302;return _2f3[_302]=function(root){try{if(!((9==root.nodeType)||_306)){throw "";}var r=root[qsa](tq);r[_2f8]=true;return r;}catch(e){return _301(_302,true)(root);}};}else{var _308=_302.match(/([^\s,](?:"(?:\\.|[^"])+"|'(?:\\.|[^'])+'|[^,])*)/g);return _2f2[_302]=((_308.length<2)?_2f4(_302):function(root){var _309=0,ret=[],tp;while((tp=_308[_309++])){ret=ret.concat(_2f4(tp)(root));}return ret;});}};var _30a=0;var _30b=dojo.isIE?function(node){if(_29e){return (node.getAttribute("_uid")||node.setAttribute("_uid",++_30a)||_30a);}else{return node.uniqueID;}}:function(node){return (node._uid||(node._uid=++_30a));};var _2e1=function(node,bag){if(!bag){return 1;}var id=_30b(node);if(!bag[id]){return bag[id]=1;}return 0;};var _30c="_zipIdx";var _30d=function(arr){if(arr&&arr.nozip){return arr;}var ret=[];if(!arr||!arr.length){return ret;}if(arr[0]){ret.push(arr[0]);}if(arr.length<2){return ret;}_30a++;if(dojo.isIE&&_29e){var _30e=_30a+"";arr[0].setAttribute(_30c,_30e);for(var x=1,te;te=arr[x];x++){if(arr[x].getAttribute(_30c)!=_30e){ret.push(te);}te.setAttribute(_30c,_30e);}}else{if(dojo.isIE&&arr.commentStrip){try{for(var x=1,te;te=arr[x];x++){if(_2b7(te)){ret.push(te);}}}catch(e){}}else{if(arr[0]){arr[0][_30c]=_30a;}for(var x=1,te;te=arr[x];x++){if(arr[x][_30c]!=_30a){ret.push(te);}te[_30c]=_30a;}}}return ret;};var _30f=function(_310,root){root=root||_29b();var od=root.ownerDocument||root;_29e=(od.createElement("div").tagName==="div");var r=_301(_310)(root);if(r&&r.nozip){return r;}return _30d(r);};_30f.filter=function(_311,_312,root){var _313=[],_314=_2a0(_312),_315=(_314.length==1&&!/[^\w#\.]/.test(_312))?_2d5(_314[0]):function(node){return dojo.query(_312,root).indexOf(node)!=-1;};for(var x=0,te;te=_311[x];x++){if(_315(te)){_313.push(te);}}return _313;};return _30f;});},"dojo/dom-style":function(){define("dojo/dom-style",["./_base/sniff","./dom"],function(has,dom){var _316,_317={};if(has("webkit")){_316=function(node){var s;if(node.nodeType==1){var dv=node.ownerDocument.defaultView;s=dv.getComputedStyle(node,null);if(!s&&node.style){node.style.display="";s=dv.getComputedStyle(node,null);}}return s||{};};}else{if(has("ie")&&(has("ie")<9||has("quirks"))){_316=function(node){return node.nodeType==1?node.currentStyle:{};};}else{_316=function(node){return node.nodeType==1?node.ownerDocument.defaultView.getComputedStyle(node,null):{};};}}_317.getComputedStyle=_316;var _318;if(!has("ie")){_318=function(_319,_31a){return parseFloat(_31a)||0;};}else{_318=function(_31b,_31c){if(!_31c){return 0;}if(_31c=="medium"){return 4;}if(_31c.slice&&_31c.slice(-2)=="px"){return parseFloat(_31c);}var s=_31b.style,rs=_31b.runtimeStyle,cs=_31b.currentStyle,_31d=s.left,_31e=rs.left;rs.left=cs.left;try{s.left=_31c;_31c=s.pixelLeft;}catch(e){_31c=0;}s.left=_31d;rs.left=_31e;return _31c;};}_317.toPixelValue=_318;var astr="DXImageTransform.Microsoft.Alpha";var af=function(n,f){try{return n.filters.item(astr);}catch(e){return f?{}:null;}};var _31f=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node){try{return af(node).Opacity/100;}catch(e){return 1;}}:function(node){return _316(node).opacity;};var _320=has("ie")<9||(has("ie")<10&&has("quirks"))?function(node,_321){var ov=_321*100,_322=_321==1;node.style.zoom=_322?"":1;if(!af(node)){if(_322){return _321;}node.style.filter+=" progid:"+astr+"(Opacity="+ov+")";}else{af(node,1).Opacity=ov;}af(node,1).Enabled=!_322;if(node.tagName.toLowerCase()=="tr"){for(var td=node.firstChild;td;td=td.nextSibling){if(td.tagName.toLowerCase()=="td"){_320(td,_321);}}}return _321;}:function(node,_323){return node.style.opacity=_323;};var _324={left:true,top:true};var _325=/margin|padding|width|height|max|min|offset/;function _326(node,type,_327){type=type.toLowerCase();if(has("ie")){if(_327=="auto"){if(type=="height"){return node.offsetHeight;}if(type=="width"){return node.offsetWidth;}}if(type=="fontweight"){switch(_327){case 700:return "bold";case 400:default:return "normal";}}}if(!(type in _324)){_324[type]=_325.test(type);}return _324[type]?_318(node,_327):_327;};var _328=has("ie")?"styleFloat":"cssFloat",_329={"cssFloat":_328,"styleFloat":_328,"float":_328};_317.get=function getStyle(node,name){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");if(l==2&&op){return _31f(n);}name=_329[name]||name;var s=_317.getComputedStyle(n);return (l==1)?s:_326(n,name,s[name]||n.style[name]);};_317.set=function setStyle(node,name,_32a){var n=dom.byId(node),l=arguments.length,op=(name=="opacity");name=_329[name]||name;if(l==3){return op?_320(n,_32a):n.style[name]=_32a;}for(var x in name){_317.set(node,x,name[x]);}return _317.getComputedStyle(n);};return _317;});},"dojo/dom-geometry":function(){define(["./_base/sniff","./_base/window","./dom","./dom-style"],function(has,win,dom,_32b){var geom={};geom.boxModel="content-box";if(has("ie")){geom.boxModel=document.compatMode=="BackCompat"?"border-box":"content-box";}geom.getPadExtents=function getPadExtents(node,_32c){node=dom.byId(node);var s=_32c||_32b.getComputedStyle(node),px=_32b.toPixelValue,l=px(node,s.paddingLeft),t=px(node,s.paddingTop),r=px(node,s.paddingRight),b=px(node,s.paddingBottom);return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};var none="none";geom.getBorderExtents=function getBorderExtents(node,_32d){node=dom.byId(node);var px=_32b.toPixelValue,s=_32d||_32b.getComputedStyle(node),l=s.borderLeftStyle!=none?px(node,s.borderLeftWidth):0,t=s.borderTopStyle!=none?px(node,s.borderTopWidth):0,r=s.borderRightStyle!=none?px(node,s.borderRightWidth):0,b=s.borderBottomStyle!=none?px(node,s.borderBottomWidth):0;return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getPadBorderExtents=function getPadBorderExtents(node,_32e){node=dom.byId(node);var s=_32e||_32b.getComputedStyle(node),p=geom.getPadExtents(node,s),b=geom.getBorderExtents(node,s);return {l:p.l+b.l,t:p.t+b.t,r:p.r+b.r,b:p.b+b.b,w:p.w+b.w,h:p.h+b.h};};geom.getMarginExtents=function getMarginExtents(node,_32f){node=dom.byId(node);var s=_32f||_32b.getComputedStyle(node),px=_32b.toPixelValue,l=px(node,s.marginLeft),t=px(node,s.marginTop),r=px(node,s.marginRight),b=px(node,s.marginBottom);if(has("webkit")&&(s.position!="absolute")){r=l;}return {l:l,t:t,r:r,b:b,w:l+r,h:t+b};};geom.getMarginBox=function getMarginBox(node,_330){node=dom.byId(node);var s=_330||_32b.getComputedStyle(node),me=geom.getMarginExtents(node,s),l=node.offsetLeft-me.l,t=node.offsetTop-me.t,p=node.parentNode,px=_32b.toPixelValue,pcs;if(has("mozilla")){var sl=parseFloat(s.left),st=parseFloat(s.top);if(!isNaN(sl)&&!isNaN(st)){l=sl,t=st;}else{if(p&&p.style){pcs=_32b.getComputedStyle(p);if(pcs.overflow!="visible"){l+=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t+=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}}else{if(has("opera")||(has("ie")==8&&!has("quirks"))){if(p){pcs=_32b.getComputedStyle(p);l-=pcs.borderLeftStyle!=none?px(node,pcs.borderLeftWidth):0;t-=pcs.borderTopStyle!=none?px(node,pcs.borderTopWidth):0;}}}return {l:l,t:t,w:node.offsetWidth+me.w,h:node.offsetHeight+me.h};};geom.getContentBox=function getContentBox(node,_331){node=dom.byId(node);var s=_331||_32b.getComputedStyle(node),w=node.clientWidth,h,pe=geom.getPadExtents(node,s),be=geom.getBorderExtents(node,s);if(!w){w=node.offsetWidth;h=node.offsetHeight;}else{h=node.clientHeight;be.w=be.h=0;}if(has("opera")){pe.l+=be.l;pe.t+=be.t;}return {l:pe.l,t:pe.t,w:w-pe.w-be.w,h:h-pe.h-be.h};};function _332(node,l,t,w,h,u){u=u||"px";var s=node.style;if(!isNaN(l)){s.left=l+u;}if(!isNaN(t)){s.top=t+u;}if(w>=0){s.width=w+u;}if(h>=0){s.height=h+u;}};function _333(node){return node.tagName.toLowerCase()=="button"||node.tagName.toLowerCase()=="input"&&(node.getAttribute("type")||"").toLowerCase()=="button";};function _334(node){return geom.boxModel=="border-box"||node.tagName.toLowerCase()=="table"||_333(node);};geom.setContentSize=function setContentSize(node,box,_335){node=dom.byId(node);var w=box.w,h=box.h;if(_334(node)){var pb=geom.getPadBorderExtents(node,_335);if(w>=0){w+=pb.w;}if(h>=0){h+=pb.h;}}_332(node,NaN,NaN,w,h);};var _336={l:0,t:0,w:0,h:0};geom.setMarginBox=function setMarginBox(node,box,_337){node=dom.byId(node);var s=_337||_32b.getComputedStyle(node),w=box.w,h=box.h,pb=_334(node)?_336:geom.getPadBorderExtents(node,s),mb=geom.getMarginExtents(node,s);if(has("webkit")){if(_333(node)){var ns=node.style;if(w>=0&&!ns.width){ns.width="4px";}if(h>=0&&!ns.height){ns.height="4px";}}}if(w>=0){w=Math.max(w-pb.w-mb.w,0);}if(h>=0){h=Math.max(h-pb.h-mb.h,0);}_332(node,box.l,box.t,w,h);};geom.isBodyLtr=function isBodyLtr(){return (win.body().dir||win.doc.documentElement.dir||"ltr").toLowerCase()=="ltr";};geom.docScroll=function docScroll(){var node=win.doc.parentWindow||win.doc.defaultView;return "pageXOffset" in node?{x:node.pageXOffset,y:node.pageYOffset}:(node=has("quirks")?win.body():win.doc.documentElement,{x:geom.fixIeBiDiScrollLeft(node.scrollLeft||0),y:node.scrollTop||0});};geom.getIeDocumentElementOffset=function getIeDocumentElementOffset(){var de=win.doc.documentElement;if(has("ie")<8){var r=de.getBoundingClientRect(),l=r.left,t=r.top;if(has("ie")<7){l+=de.clientLeft;t+=de.clientTop;}return {x:l<0?0:l,y:t<0?0:t};}else{return {x:0,y:0};}};geom.fixIeBiDiScrollLeft=function fixIeBiDiScrollLeft(_338){var ie=has("ie");if(ie&&!geom.isBodyLtr()){var qk=has("quirks"),de=qk?win.body():win.doc.documentElement;if(ie==6&&!qk&&win.global.frameElement&&de.scrollHeight>de.clientHeight){_338+=de.clientLeft;}return (ie<8||qk)?(_338+de.clientWidth-de.scrollWidth):-_338;}return _338;};geom.position=function(node,_339){node=dom.byId(node);var db=win.body(),dh=db.parentNode,ret=node.getBoundingClientRect();ret={x:ret.left,y:ret.top,w:ret.right-ret.left,h:ret.bottom-ret.top};if(has("ie")<9){var _33a=geom.getIeDocumentElementOffset();ret.x-=_33a.x+(has("quirks")?db.clientLeft+db.offsetLeft:0);ret.y-=_33a.y+(has("quirks")?db.clientTop+db.offsetTop:0);}else{if(has("ff")==3){var cs=_32b.getComputedStyle(dh),px=_32b.toPixelValue;ret.x-=px(dh,cs.marginLeft)+px(dh,cs.borderLeftWidth);ret.y-=px(dh,cs.marginTop)+px(dh,cs.borderTopWidth);}}if(_339){var _33b=geom.docScroll();ret.x+=_33b.x;ret.y+=_33b.y;}return ret;};geom.getMarginSize=function getMarginSize(node,_33c){node=dom.byId(node);var me=geom.getMarginExtents(node,_33c||_32b.getComputedStyle(node));var size=node.getBoundingClientRect();return {w:(size.right-size.left)+me.w,h:(size.bottom-size.top)+me.h};};geom.normalizeEvent=function(_33d){if(!("layerX" in _33d)){_33d.layerX=_33d.offsetX;_33d.layerY=_33d.offsetY;}if(!has("dom-addeventlistener")){var se=_33d.target;var doc=(se&&se.ownerDocument)||document;var _33e=has("quirks")?doc.body:doc.documentElement;var _33f=geom.getIeDocumentElementOffset();_33d.pageX=_33d.clientX+geom.fixIeBiDiScrollLeft(_33e.scrollLeft||0)-_33f.x;_33d.pageY=_33d.clientY+(_33e.scrollTop||0)-_33f.y;}};return geom;});},"dojo/dom-prop":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-construct","./_base/connect"],function(_340,dojo,has,lang,dom,_341,ctr,conn){var _342={},_343=0,_344=dojo._scopeName+"attrid";var _345={col:1,colgroup:1,table:1,tbody:1,tfoot:1,thead:1,tr:1,title:1};_340.names={"class":"className","for":"htmlFor",tabindex:"tabIndex",readonly:"readOnly",colspan:"colSpan",frameborder:"frameBorder",rowspan:"rowSpan",valuetype:"valueType"};_340.get=function getProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_346=_340.names[lc]||name;return node[_346];};_340.set=function setProp(node,name,_347){node=dom.byId(node);var l=arguments.length;if(l==2&&typeof name!="string"){for(var x in name){_340.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_348=_340.names[lc]||name;if(_348=="style"&&typeof _347!="string"){_341.style(node,_347);return node;}if(_348=="innerHTML"){if(has("ie")&&node.tagName.toLowerCase() in _345){ctr.empty(node);node.appendChild(ctr.toDom(_347,node.ownerDocument));}else{node[_348]=_347;}return node;}if(lang.isFunction(_347)){var _349=node[_344];if(!_349){_349=_343++;node[_344]=_349;}if(!_342[_349]){_342[_349]={};}var h=_342[_349][_348];if(h){conn.disconnect(h);}else{try{delete node[_348];}catch(e){}}if(_347){_342[_349][_348]=conn.connect(node,_348,_347);}else{node[_348]=null;}return node;}node[_348]=_347;return node;};});},"dojo/dom-attr":function(){define(["exports","./_base/sniff","./_base/lang","./dom","./dom-style","./dom-prop"],function(_34a,has,lang,dom,_34b,prop){var _34c={innerHTML:1,className:1,htmlFor:has("ie"),value:1},_34d={classname:"class",htmlfor:"for",tabindex:"tabIndex",readonly:"readOnly"};function _34e(node,name){var attr=node.getAttributeNode&&node.getAttributeNode(name);return attr&&attr.specified;};_34a.has=function hasAttr(node,name){var lc=name.toLowerCase();return _34c[prop.names[lc]||name]||_34e(dom.byId(node),_34d[lc]||name);};_34a.get=function getAttr(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_34f=prop.names[lc]||name,_350=_34c[_34f];value=node[_34f];if(_350&&typeof value!="undefined"){return value;}if(_34f!="href"&&(typeof value=="boolean"||lang.isFunction(value))){return value;}var _351=_34d[lc]||name;return _34e(node,_351)?node.getAttribute(_351):null;};_34a.set=function setAttr(node,name,_352){node=dom.byId(node);if(arguments.length==2){for(var x in name){_34a.set(node,x,name[x]);}return node;}var lc=name.toLowerCase(),_353=prop.names[lc]||name,_354=_34c[_353];if(_353=="style"&&typeof _352!="string"){_34b.set(node,_352);return node;}if(_354||typeof _352=="boolean"||lang.isFunction(_352)){return prop.set(node,name,_352);}node.setAttribute(_34d[lc]||name,_352);return node;};_34a.remove=function removeAttr(node,name){dom.byId(node).removeAttribute(_34d[name.toLowerCase()]||name);};_34a.getNodeProp=function getNodeProp(node,name){node=dom.byId(node);var lc=name.toLowerCase(),_355=prop.names[lc]||name;if((_355 in node)&&_355!="href"){return node[_355];}var _356=_34d[lc]||name;return _34e(node,_356)?node.getAttribute(_356):null;};});},"dojo/dom-construct":function(){define(["exports","./_base/kernel","./_base/sniff","./_base/window","./dom","./dom-attr","./on"],function(_357,dojo,has,win,dom,attr,on){var _358={option:["select"],tbody:["table"],thead:["table"],tfoot:["table"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","thead","tr"],legend:["fieldset"],caption:["table"],colgroup:["table"],col:["table","colgroup"],li:["ul"]},_359=/<\s*([\w\:]+)/,_35a={},_35b=0,_35c="__"+dojo._scopeName+"ToDomId";for(var _35d in _358){if(_358.hasOwnProperty(_35d)){var tw=_358[_35d];tw.pre=_35d=="option"?"\n"}});define("dijit/form/TextBox",["dojo/_base/declare","dojo/dom-construct","dojo/dom-style","dojo/_base/kernel","dojo/_base/lang","dojo/_base/sniff","dojo/_base/window","./_FormValueWidget","./_TextBoxMixin","dojo/text!./templates/TextBox.html",".."],function(_1,_2,_3,_4,_5,_6,_7,_8,_9,_a,_b){var _c=_1([_8,_9],{templateString:_a,_singleNodeTemplate:"",_buttonInputDisabled:_6("ie")?"disabled":"",baseClass:"dijitTextBox",postMixInProperties:function(){var _d=this.type.toLowerCase();if(this.templateString&&this.templateString.toLowerCase()=="input"||((_d=="hidden"||_d=="file")&&this.templateString==this.constructor.prototype.templateString)){this.templateString=this._singleNodeTemplate;}this.inherited(arguments);},_onInput:function(e){this.inherited(arguments);if(this.intermediateChanges){var _e=this;setTimeout(function(){_e._handleOnChange(_e.get("value"),false);},0);}},_setPlaceHolderAttr:function(v){this._set("placeHolder",v);if(!this._phspan){this._attachPoints.push("_phspan");this._phspan=_2.create("span",{onmousedown:function(e){e.preventDefault();},className:"dijitPlaceHolder dijitInputField"},this.textbox,"after");}this._phspan.innerHTML="";this._phspan.appendChild(document.createTextNode(v));this._updatePlaceHolder();},_updatePlaceHolder:function(){if(this._phspan){this._phspan.style.display=(this.placeHolder&&!this.focused&&!this.textbox.value)?"":"none";}},_setValueAttr:function(_f,_10,_11){this.inherited(arguments);this._updatePlaceHolder();},getDisplayedValue:function(){_4.deprecated(this.declaredClass+"::getDisplayedValue() is deprecated. Use set('displayedValue') instead.","","2.0");return this.get("displayedValue");},setDisplayedValue:function(_12){_4.deprecated(this.declaredClass+"::setDisplayedValue() is deprecated. Use set('displayedValue', ...) instead.","","2.0");this.set("displayedValue",_12);},_onBlur:function(e){if(this.disabled){return;}this.inherited(arguments);this._updatePlaceHolder();},_onFocus:function(by){if(this.disabled||this.readOnly){return;}this.inherited(arguments);this._updatePlaceHolder();}});if(_6("ie")<9){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_isTextSelected:function(){var _13=_7.doc.selection.createRange();var _14=_13.parentElement();return _14==this.textbox&&_13.text.length==0;},postCreate:function(){this.inherited(arguments);setTimeout(_5.hitch(this,function(){try{var s=_3.getComputedStyle(this.domNode);if(s){var ff=s.fontFamily;if(ff){var _15=this.domNode.getElementsByTagName("INPUT");if(_15){for(var i=0;i<_15.length;i++){_15[i].style.fontFamily=ff;}}}}}catch(e){}}),0);}});_b._setSelectionRange=_9._setSelectionRange=function(_16,_17,_18){if(_16.createTextRange){var r=_16.createTextRange();r.collapse(true);r.moveStart("character",-99999);r.moveStart("character",_17);r.moveEnd("character",_18-_17);r.select();}};}else{if(_6("mozilla")){_c=_1(_c,{declaredClass:"dijit.form.TextBox",_onBlur:function(e){this.inherited(arguments);if(this.selectOnClick){this.textbox.selectionStart=this.textbox.selectionEnd=undefined;}}});}else{_c.prototype.declaredClass="dijit.form.TextBox";}}_5.setObject("dijit.form.TextBox",_c);return _c;});},"url:dijit/form/templates/ComboButton.html":"
\n","dijit/_HasDropDown":function(){define("dijit/_HasDropDown",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/event","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/dom-geometry","dojo/dom-style","dojo/has","dojo/keys","dojo/_base/lang","dojo/touch","dojo/_base/window","./registry","./focus","./popup","./_FocusMixin","./Viewport"],function(_19,_1a,_1b,dom,_1c,_1d,_1e,_1f,has,_20,_21,_22,win,_23,_24,_25,_26,_27){return _19("dijit._HasDropDown",_26,{_buttonNode:null,_arrowWrapperNode:null,_popupStateNode:null,_aroundNode:null,dropDown:null,autoWidth:true,forceWidth:false,maxHeight:0,dropDownPosition:["below","above"],_stopClickEvents:true,_onDropDownMouseDown:function(e){if(this.disabled||this.readOnly){return;}e.preventDefault();this._docHandler=this.connect(win.doc,_22.release,"_onDropDownMouseUp");this.toggleDropDown();},_onDropDownMouseUp:function(e){if(e&&this._docHandler){this.disconnect(this._docHandler);}var _28=this.dropDown,_29=false;if(e&&this._opened){var c=_1e.position(this._buttonNode,true);if(!(e.pageX>=c.x&&e.pageX<=c.x+c.w)||!(e.pageY>=c.y&&e.pageY<=c.y+c.h)){var t=e.target;while(t&&!_29){if(_1d.contains(t,"dijitPopup")){_29=true;}else{t=t.parentNode;}}if(_29){t=e.target;if(_28.onItemClick){var _2a;while(t&&!(_2a=_23.byNode(t))){t=t.parentNode;}if(_2a&&_2a.onClick&&_2a.getParent){_2a.getParent().onItemClick(_2a,e);}}return;}}}if(this._opened){if(_28.focus&&_28.autoFocus!==false){window.setTimeout(_21.hitch(_28,"focus"),1);}}else{setTimeout(_21.hitch(this,"focus"),0);}if(has("ios")){this._justGotMouseUp=true;setTimeout(_21.hitch(this,function(){this._justGotMouseUp=false;}),0);}},_onDropDownClick:function(e){if(has("ios")&&!this._justGotMouseUp){this._onDropDownMouseDown(e);this._onDropDownMouseUp(e);}if(this._stopClickEvents){_1b.stop(e);}},buildRendering:function(){this.inherited(arguments);this._buttonNode=this._buttonNode||this.focusNode||this.domNode;this._popupStateNode=this._popupStateNode||this.focusNode||this._buttonNode;var _2b={"after":this.isLeftToRight()?"Right":"Left","before":this.isLeftToRight()?"Left":"Right","above":"Up","below":"Down","left":"Left","right":"Right"}[this.dropDownPosition[0]]||this.dropDownPosition[0]||"Down";_1d.add(this._arrowWrapperNode||this._buttonNode,"dijit"+_2b+"ArrowButton");},postCreate:function(){this.inherited(arguments);this.connect(this._buttonNode,_22.press,"_onDropDownMouseDown");this.connect(this._buttonNode,"onclick","_onDropDownClick");this.connect(this.focusNode,"onkeypress","_onKey");this.connect(this.focusNode,"onkeyup","_onKeyUp");},destroy:function(){if(this.dropDown){if(!this.dropDown._destroyed){this.dropDown.destroyRecursive();}delete this.dropDown;}this.inherited(arguments);},_onKey:function(e){if(this.disabled||this.readOnly){return;}var d=this.dropDown,_2c=e.target;if(d&&this._opened&&d.handleKey){if(d.handleKey(e)===false){_1b.stop(e);return;}}if(d&&this._opened&&e.charOrCode==_20.ESCAPE){this.closeDropDown();_1b.stop(e);}else{if(!this._opened&&(e.charOrCode==_20.DOWN_ARROW||((e.charOrCode==_20.ENTER||e.charOrCode==" ")&&((_2c.tagName||"").toLowerCase()!=="input"||(_2c.type&&_2c.type.toLowerCase()!=="text"))))){this._toggleOnKeyUp=true;_1b.stop(e);}}},_onKeyUp:function(){if(this._toggleOnKeyUp){delete this._toggleOnKeyUp;this.toggleDropDown();var d=this.dropDown;if(d&&d.focus){setTimeout(_21.hitch(d,"focus"),1);}}},_onBlur:function(){var _2d=_24.curNode&&this.dropDown&&dom.isDescendant(_24.curNode,this.dropDown.domNode);this.closeDropDown(_2d);this.inherited(arguments);},isLoaded:function(){return true;},loadDropDown:function(_2e){_2e();},loadAndOpenDropDown:function(){var d=new _1a(),_2f=_21.hitch(this,function(){this.openDropDown();d.resolve(this.dropDown);});if(!this.isLoaded()){this.loadDropDown(_2f);}else{_2f();}return d;},toggleDropDown:function(){if(this.disabled||this.readOnly){return;}if(!this._opened){this.loadAndOpenDropDown();}else{this.closeDropDown();}},openDropDown:function(){var _30=this.dropDown,_31=_30.domNode,_32=this._aroundNode||this.domNode,_33=this;if(!this._preparedNode){this._preparedNode=true;if(_31.style.width){this._explicitDDWidth=true;}if(_31.style.height){this._explicitDDHeight=true;}}if(this.maxHeight||this.forceWidth||this.autoWidth){var _34={display:"",visibility:"hidden"};if(!this._explicitDDWidth){_34.width="";}if(!this._explicitDDHeight){_34.height="";}_1f.set(_31,_34);var _35=this.maxHeight;if(_35==-1){var _36=_27.getEffectiveBox(this.ownerDocument),_37=_1e.position(_32,false);_35=Math.floor(Math.max(_37.y,_36.h-(_37.y+_37.h)));}_25.moveOffScreen(_30);if(_30.startup&&!_30._started){_30.startup();}var mb=_1e.getMarginSize(_31);var _38=(_35&&mb.h>_35);_1f.set(_31,{overflow:_38?"auto":"visible"});if(_38){mb.h=_35;if("w" in mb){mb.w+=16;}}else{delete mb.h;}if(this.forceWidth){mb.w=_32.offsetWidth;}else{if(this.autoWidth){mb.w=Math.max(mb.w,_32.offsetWidth);}else{delete mb.w;}}if(_21.isFunction(_30.resize)){_30.resize(mb);}else{_1e.setMarginBox(_31,mb);}}var _39=_25.open({parent:this,popup:_30,around:_32,orient:this.dropDownPosition,onExecute:function(){_33.closeDropDown(true);},onCancel:function(){_33.closeDropDown(true);},onClose:function(){_1c.set(_33._popupStateNode,"popupActive",false);_1d.remove(_33._popupStateNode,"dijitHasDropDownOpen");_33._opened=false;}});_1c.set(this._popupStateNode,"popupActive","true");_1d.add(_33._popupStateNode,"dijitHasDropDownOpen");this._opened=true;return _39;},closeDropDown:function(_3a){if(this._opened){if(_3a){this.focus();}_25.close(this.dropDown);this._opened=false;}}});});},"dijit/form/Slider":function(){define("dijit/form/Slider",["dojo/_base/kernel","./HorizontalSlider","./VerticalSlider","./HorizontalRule","./VerticalRule","./HorizontalRuleLabels","./VerticalRuleLabels"],function(_3b){_3b.deprecated("Call require() for HorizontalSlider / VerticalRule, explicitly rather than 'dijit.form.Slider' itself","","2.0");});},"dijit/form/_ComboBoxMenuMixin":function(){define("dijit/form/_ComboBoxMenuMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/i18n","dojo/_base/window","dojo/i18n!./nls/ComboBox"],function(_3c,_3d,_3e,_3f,win){return _3d("dijit.form._ComboBoxMenuMixin",null,{_messages:null,postMixInProperties:function(){this.inherited(arguments);this._messages=_3f.getLocalization("dijit.form","ComboBox",this.lang);},buildRendering:function(){this.inherited(arguments);this.previousButton.innerHTML=this._messages["previousMessage"];this.nextButton.innerHTML=this._messages["nextMessage"];},_setValueAttr:function(_40){this.value=_40;this.onChange(_40);},onClick:function(_41){if(_41==this.previousButton){this._setSelectedAttr(null);this.onPage(-1);}else{if(_41==this.nextButton){this._setSelectedAttr(null);this.onPage(1);}else{this.onChange(_41);}}},onChange:function(){},onPage:function(){},onClose:function(){this._setSelectedAttr(null);},_createOption:function(_42,_43){var _44=this._createMenuItem();var _45=_43(_42);if(_45.html){_44.innerHTML=_45.label;}else{_44.appendChild(win.doc.createTextNode(_45.label));}if(_44.innerHTML==""){_44.innerHTML=" ";}this.applyTextDir(_44,(_44.innerText||_44.textContent||""));_44.item=_42;return _44;},createOptions:function(_46,_47,_48){this.items=_46;this.previousButton.style.display=(_47.start==0)?"none":"";_3e.set(this.previousButton,"id",this.id+"_prev");_3c.forEach(_46,function(_49,i){var _4a=this._createOption(_49,_48);_4a.setAttribute("item",i);_3e.set(_4a,"id",this.id+i);this.nextButton.parentNode.insertBefore(_4a,this.nextButton);},this);var _4b=false;if(_46.total&&!_46.total.then&&_46.total!=-1){if((_47.start+_47.count)<_46.total){_4b=true;}else{if((_47.start+_47.count)>_46.total&&_47.count==_46.length){_4b=true;}}}else{if(_47.count==_46.length){_4b=true;}}this.nextButton.style.display=_4b?"":"none";_3e.set(this.nextButton,"id",this.id+"_next");},clearResultList:function(){var _4c=this.containerNode;while(_4c.childNodes.length>2){_4c.removeChild(_4c.childNodes[_4c.childNodes.length-2]);}this._setSelectedAttr(null);},highlightFirstOption:function(){this.selectFirstNode();},highlightLastOption:function(){this.selectLastNode();},selectFirstNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.previousButton){this.selectNextNode();}},selectLastNode:function(){this.inherited(arguments);if(this.getHighlightedOption()==this.nextButton){this.selectPreviousNode();}},getHighlightedOption:function(){return this._getSelectedAttr();}});});},"dojo/parser":function(){define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(_4d,_4e,_4f,_50,_51,_52,_53,_54,_55,_56,has,_57,don,_58){new Date("X");if(1){var _59=document.createElement("form");has.add("dom-attributes-explicit",_59.attributes.length==0);has.add("dom-attributes-specified-flag",_59.attributes.length<40);}_4d.parser=new function(){var _5a={};function _5b(_5c){var map={};for(var _5d in _5c){if(_5d.charAt(0)=="_"){continue;}map[_5d.toLowerCase()]=_5d;}return map;};_55.after(_4e,"extend",function(){_5a={};},true);var _5e={};function _5f(_60){var map=_5e[_60]||(_5e[_60]={});return map["__type"]||(map["__type"]=(_4e.getObject(_60)||require(_60)));};this._functionFromScript=function(_61,_62){var _63="";var _64="";var _65=(_61.getAttribute(_62+"args")||_61.getAttribute("args"));if(_65){_4f.forEach(_65.split(/\s*,\s*/),function(_66,idx){_63+="var "+_66+" = arguments["+idx+"]; ";});}var _67=_61.getAttribute("with");if(_67&&_67.length){_4f.forEach(_67.split(/\s*,\s*/),function(_68){_63+="with("+_68+"){";_64+="}";});}return new Function(_63+_61.innerHTML+_64);};this.instantiate=function(_69,_6a,_6b){_6a=_6a||{};_6b=_6b||{};var _6c=(_6b.scope||_4d._scopeName)+"Type",_6d="data-"+(_6b.scope||_4d._scopeName)+"-",_6e=_6d+"type";var _6f=[];_4f.forEach(_69,function(_70){var _71=_6c in _6a?_6a[_6c]:_70.getAttribute(_6e)||_70.getAttribute(_6c);if(_71){_6f.push({node:_70,"type":_71});}});return this._instantiate(_6f,_6a,_6b);};this._instantiate=function(_72,_73,_74){var _75=[];var _76=(_74.scope||_4d._scopeName)+"Type",_77="data-"+(_74.scope||_4d._scopeName)+"-",_78=_77+"type",_79=_77+"props",_7a=_77+"attach-point",_7b=_77+"attach-event",_7c=_77+"id",_7d=_77+"mixins";var _7e={};_4f.forEach([_79,_78,_76,_7c,"jsId",_7a,_7b,"dojoAttachPoint","dojoAttachEvent","class","style",_7d],function(_7f){_7e[_7f.toLowerCase()]=_7f.replace(_74.scope,"dojo");});function _80(_81,_82){return _81.createSubclass&&_81.createSubclass(_82)||_81.extend.apply(_81,_82);};_4f.forEach(_72,function(obj){if(!obj){return;}var _83=obj.node,_84=obj.type,_85=_83.getAttribute(_7d),_86;if(_85){var map=_5e[_84];_85=_85.replace(/ /g,"");_86=map&&map[_85];if(!_86){_86=_5f(_84);_86=_5e[_84][_85]=_80(_86,_4f.map(_85.split(","),_5f));}}else{_86=_5f(_84);}var _87=_86&&_86.prototype;var _88={};if(_74.defaults){_4e.mixin(_88,_74.defaults);}if(obj.inherited){_4e.mixin(_88,obj.inherited);}var _89;if(has("dom-attributes-explicit")){_89=_83.attributes;}else{if(has("dom-attributes-specified-flag")){_89=_4f.filter(_83.attributes,function(a){return a.specified;});}else{var _8a=/^input$|^img$/i.test(_83.nodeName)?_83:_83.cloneNode(false),_8b=_8a.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,"");_89=_4f.map(_8b.split(/\s+/),function(_8c){var _8d=_8c.toLowerCase();return {name:_8c,value:(_83.nodeName=="LI"&&_8c=="value")||_8d=="enctype"?_83.getAttribute(_8d):_83.getAttributeNode(_8d).value};});}}var i=0,_8e;while(_8e=_89[i++]){var _8f=_8e.name,_90=_8f.toLowerCase(),_91=_8e.value;if(_90 in _7e){switch(_7e[_90]){case "data-dojo-props":var _92=_91;break;case "data-dojo-id":case "jsId":var _93=_91;break;case "data-dojo-attach-point":case "dojoAttachPoint":_88.dojoAttachPoint=_91;break;case "data-dojo-attach-event":case "dojoAttachEvent":_88.dojoAttachEvent=_91;break;case "class":_88["class"]=_83.className;break;case "style":_88["style"]=_83.style&&_83.style.cssText;break;}}else{if(!(_8f in _87)){var map=(_5a[_84]||(_5a[_84]=_5b(_87)));_8f=map[_90]||_8f;}if(_8f in _87){switch(typeof _87[_8f]){case "string":_88[_8f]=_91;break;case "number":_88[_8f]=_91.length?Number(_91):NaN;break;case "boolean":_88[_8f]=_91.toLowerCase()!="false";break;case "function":if(_91===""||_91.search(/[^\w\.]+/i)!=-1){_88[_8f]=new Function(_91);}else{_88[_8f]=_4e.getObject(_91,false)||new Function(_91);}break;default:var _94=_87[_8f];_88[_8f]=(_94&&"length" in _94)?(_91?_91.split(/\s*,\s*/):[]):(_94 instanceof Date)?(_91==""?new Date(""):_91=="now"?new Date():_56.fromISOString(_91)):(_94 instanceof _4d._Url)?(_4d.baseUrl+_91):_54.fromJson(_91);}}else{_88[_8f]=_91;}}}if(_92){try{_92=_54.fromJson.call(_74.propsThis,"{"+_92+"}");_4e.mixin(_88,_92);}catch(e){throw new Error(e.toString()+" in data-dojo-props='"+_92+"'");}}_4e.mixin(_88,_73);var _95=obj.scripts||(_86&&(_86._noScript||_87._noScript)?[]:_57("> script[type^='dojo/']",_83));var _96=[],_97=[],_98=[],on=[];if(_95){for(i=0;i<_95.length;i++){var _99=_95[i];_83.removeChild(_99);var _9a=(_99.getAttribute(_77+"event")||_99.getAttribute("event")),_9b=_99.getAttribute(_77+"prop"),_9c=_99.getAttribute("type"),nf=this._functionFromScript(_99,_77);if(_9a){if(_9c=="dojo/connect"){_96.push({event:_9a,func:nf});}else{if(_9c=="dojo/on"){on.push({event:_9a,func:nf});}else{_88[_9a]=nf;}}}else{if(_9c=="dojo/watch"){_98.push({prop:_9b,func:nf});}else{_97.push(nf);}}}}var _9d=_86.markupFactory||_87.markupFactory;var _9e=_9d?_9d(_88,_83,_86):new _86(_88,_83);_75.push(_9e);if(_93){_4e.setObject(_93,_9e);}for(i=0;i<_96.length;i++){_55.after(_9e,_96[i].event,_4d.hitch(_9e,_96[i].func),true);}for(i=0;i<_97.length;i++){_97[i].call(_9e);}for(i=0;i<_98.length;i++){_9e.watch(_98[i].prop,_98[i].func);}for(i=0;i\n","dijit/form/ToggleButton":function(){define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_be,_bf,_c0,_c1){return _be("dijit.form.ToggleButton",[_c0,_c1],{baseClass:"dijitToggleButton",setChecked:function(_c2){_bf.deprecated("setChecked("+_c2+") is deprecated. Use set('checked',"+_c2+") instead.","","2.0");this.set("checked",_c2);}});});},"dijit/form/NumberSpinner":function(){define("dijit/form/NumberSpinner",["dojo/_base/declare","dojo/_base/event","dojo/keys","./_Spinner","./NumberTextBox"],function(_c3,_c4,_c5,_c6,_c7){return _c3("dijit.form.NumberSpinner",[_c6,_c7.Mixin],{adjust:function(val,_c8){var tc=this.constraints,v=isNaN(val),_c9=!isNaN(tc.max),_ca=!isNaN(tc.min);if(v&&_c8!=0){val=(_c8>0)?_ca?tc.min:_c9?tc.max:0:_c9?this.constraints.max:_ca?tc.min:0;}var _cb=val+_c8;if(v||isNaN(_cb)){return val;}if(_c9&&(_cb>tc.max)){_cb=tc.max;}if(_ca&&(_cb
\n"}});define("dijit/form/ComboButton",["dojo/_base/declare","dojo/_base/event","dojo/keys","../focus","./DropDownButton","dojo/text!./templates/ComboButton.html"],function(_d4,_d5,_d6,_d7,_d8,_d9){return _d4("dijit.form.ComboButton",_d8,{templateString:_d9,_setIdAttr:"",_setTabIndexAttr:["focusNode","titleNode"],_setTitleAttr:"titleNode",optionsTitle:"",baseClass:"dijitComboButton",cssStateNodes:{"buttonNode":"dijitButtonNode","titleNode":"dijitButtonContents","_popupStateNode":"dijitDownArrowButton"},_focusedNode:null,_onButtonKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"RIGHT_ARROW":"LEFT_ARROW"]){_d7.focus(this._popupStateNode);_d5.stop(evt);}},_onArrowKeyPress:function(evt){if(evt.charOrCode==_d6[this.isLeftToRight()?"LEFT_ARROW":"RIGHT_ARROW"]){_d7.focus(this.titleNode);_d5.stop(evt);}},focus:function(_da){if(!this.disabled){_d7.focus(_da=="start"?this.titleNode:this._popupStateNode);}}});});},"url:dijit/templates/Calendar.html":"\n\t\n\t\t\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\t${!dayCellsHtml}\n\t\t\n\t\n\t\n\t\t\t${!dateRowsHtml}\n\t\n\t\n\t\t\n\t\t\t\n\t\t\n\t\n
\n\t\t\t\t\"\"\n\t\t\t\t-\n\t\t\t\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t\t\"\"\n\t\t\t\t+\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t
\n\t\t\t
\n","dijit/form/_AutoCompleterMixin":function(){define("dijit/form/_AutoCompleterMixin",["dojo/_base/connect","dojo/data/util/filter","dojo/_base/declare","dojo/_base/Deferred","dojo/dom-attr","dojo/_base/event","dojo/keys","dojo/_base/lang","dojo/query","dojo/regexp","dojo/_base/sniff","dojo/string","dojo/_base/window","./DataList","../registry","./_TextBoxMixin"],function(_db,_dc,_dd,_de,_df,_e0,_e1,_e2,_e3,_e4,has,_e5,win,_e6,_e7,_e8){return _dd("dijit.form._AutoCompleterMixin",null,{item:null,pageSize:Infinity,store:null,fetchProperties:{},query:{},autoComplete:true,highlightMatch:"first",searchDelay:100,searchAttr:"name",labelAttr:"",labelType:"text",queryExpr:"${0}*",ignoreCase:true,maxHeight:-1,_stopClickEvents:false,_getCaretPos:function(_e9){var pos=0;if(typeof (_e9.selectionStart)=="number"){pos=_e9.selectionStart;}else{if(has("ie")){var tr=win.doc.selection.createRange().duplicate();var ntr=_e9.createTextRange();tr.move("character",0);ntr.move("character",0);try{ntr.setEndPoint("EndToEnd",tr);pos=String(ntr.text).replace(/\r/g,"").length;}catch(e){}}}return pos;},_setCaretPos:function(_ea,_eb){_eb=parseInt(_eb);_e8.selectInputText(_ea,_eb,_eb);},_setDisabledAttr:function(_ec){this.inherited(arguments);this.domNode.setAttribute("aria-disabled",_ec);},_abortQuery:function(){if(this.searchTimer){clearTimeout(this.searchTimer);this.searchTimer=null;}if(this._fetchHandle){if(this._fetchHandle.cancel){this._cancelingQuery=true;this._fetchHandle.cancel();this._cancelingQuery=false;}this._fetchHandle=null;}},_onInput:function(evt){this.inherited(arguments);if(evt.charOrCode==229){this._onKey(evt);}},_onKey:function(evt){if(this.disabled||this.readOnly){return;}var key=evt.charOrCode;if(evt.altKey||((evt.ctrlKey||evt.metaKey)&&(key!="x"&&key!="v"))||key==_e1.SHIFT){return;}var _ed=false;var pw=this.dropDown;var _ee=null;this._prev_key_backspace=false;this._abortQuery();this.inherited(arguments);if(this._opened){_ee=pw.getHighlightedOption();}switch(key){case _e1.PAGE_DOWN:case _e1.DOWN_ARROW:case _e1.PAGE_UP:case _e1.UP_ARROW:if(this._opened){this._announceOption(_ee);}_e0.stop(evt);break;case _e1.ENTER:if(_ee){if(_ee==pw.nextButton){this._nextSearch(1);_e0.stop(evt);break;}else{if(_ee==pw.previousButton){this._nextSearch(-1);_e0.stop(evt);break;}}}else{this._setBlurValue();this._setCaretPos(this.focusNode,this.focusNode.value.length);}if(this._opened||this._fetchHandle){_e0.stop(evt);}case _e1.TAB:var _ef=this.get("displayedValue");if(pw&&(_ef==pw._messages["previousMessage"]||_ef==pw._messages["nextMessage"])){break;}if(_ee){this._selectOption(_ee);}case _e1.ESCAPE:if(this._opened){this._lastQuery=null;this.closeDropDown();}break;case " ":if(_ee){_e0.stop(evt);this._selectOption(_ee);this.closeDropDown();}else{_ed=true;}break;case _e1.DELETE:case _e1.BACKSPACE:this._prev_key_backspace=true;_ed=true;break;default:_ed=typeof key=="string"||key==229;}if(_ed){this.item=undefined;this.searchTimer=setTimeout(_e2.hitch(this,"_startSearchFromInput"),1);}},_autoCompleteText:function(_f0){var fn=this.focusNode;_e8.selectInputText(fn,fn.value.length);var _f1=this.ignoreCase?"toLowerCase":"substr";if(_f0[_f1](0).indexOf(this.focusNode.value[_f1](0))==0){var _f2=this.autoComplete?this._getCaretPos(fn):fn.value.length;if((_f2+1)>fn.value.length){fn.value=_f0;_e8.selectInputText(fn,_f2);}}else{fn.value=_f0;_e8.selectInputText(fn);}},_openResultList:function(_f3,_f4,_f5){this._fetchHandle=null;if(this.disabled||this.readOnly||(_f4[this.searchAttr]!==this._lastQuery)){return;}var _f6=this.dropDown.getHighlightedOption();this.dropDown.clearResultList();if(!_f3.length&&_f5.start==0){this.closeDropDown();return;}this.dropDown.createOptions(_f3,_f5,_e2.hitch(this,"_getMenuLabelFromItem"));this._showResultList();if(_f5.direction){if(1==_f5.direction){this.dropDown.highlightFirstOption();}else{if(-1==_f5.direction){this.dropDown.highlightLastOption();}}if(_f6){this._announceOption(this.dropDown.getHighlightedOption());}}else{if(this.autoComplete&&!this._prev_key_backspace&&!/^[*]+$/.test(_f4[this.searchAttr].toString())){this._announceOption(this.dropDown.containerNode.firstChild.nextSibling);}}},_showResultList:function(){this.closeDropDown(true);this.openDropDown();this.domNode.setAttribute("aria-expanded","true");},loadDropDown:function(){this._startSearchAll();},isLoaded:function(){return false;},closeDropDown:function(){this._abortQuery();if(this._opened){this.inherited(arguments);this.domNode.setAttribute("aria-expanded","false");this.focusNode.removeAttribute("aria-activedescendant");}},_setBlurValue:function(){var _f7=this.get("displayedValue");var pw=this.dropDown;if(pw&&(_f7==pw._messages["previousMessage"]||_f7==pw._messages["nextMessage"])){this._setValueAttr(this._lastValueReported,true);}else{if(typeof this.item=="undefined"){this.item=null;this.set("displayedValue",_f7);}else{if(this.value!=this._lastValueReported){this._handleOnChange(this.value,true);}this._refreshState();}}},_setItemAttr:function(_f8,_f9,_fa){var _fb="";if(_f8){if(!_fa){_fa=this.store._oldAPI?this.store.getValue(_f8,this.searchAttr):_f8[this.searchAttr];}_fb=this._getValueField()!=this.searchAttr?this.store.getIdentity(_f8):_fa;}this.set("value",_fb,_f9,_fa,_f8);},_announceOption:function(_fc){if(!_fc){return;}var _fd;if(_fc==this.dropDown.nextButton||_fc==this.dropDown.previousButton){_fd=_fc.innerHTML;this.item=undefined;this.value="";}else{var _fe=this.dropDown.items[_fc.getAttribute("item")];_fd=(this.store._oldAPI?this.store.getValue(_fe,this.searchAttr):_fe[this.searchAttr]).toString();this.set("item",_fe,false,_fd);}this.focusNode.value=this.focusNode.value.substring(0,this._lastInput.length);this.focusNode.setAttribute("aria-activedescendant",_df.get(_fc,"id"));this._autoCompleteText(_fd);},_selectOption:function(_ff){this.closeDropDown();if(_ff){this._announceOption(_ff);}this._setCaretPos(this.focusNode,this.focusNode.value.length);this._handleOnChange(this.value,true);},_startSearchAll:function(){this._startSearch("");},_startSearchFromInput:function(){this._startSearch(this.focusNode.value.replace(/([\\\*\?])/g,"\\$1"));},_getQueryString:function(text){return _e5.substitute(this.queryExpr,[text]);},_startSearch:function(key){if(!this.dropDown){var _100=this.id+"_popup",_101=_e2.isString(this.dropDownClass)?_e2.getObject(this.dropDownClass,false):this.dropDownClass;this.dropDown=new _101({onChange:_e2.hitch(this,this._selectOption),id:_100,dir:this.dir,textDir:this.textDir});this.focusNode.removeAttribute("aria-activedescendant");this.textbox.setAttribute("aria-owns",_100);}this._lastInput=key;var _102=_e2.clone(this.query);var _103={start:0,count:this.pageSize,queryOptions:{ignoreCase:this.ignoreCase,deep:true}};_e2.mixin(_103,this.fetchProperties);var qs=this._getQueryString(key),q;if(this.store._oldAPI){q=qs;}else{q=_dc.patternToRegExp(qs,this.ignoreCase);q.toString=function(){return qs;};}this._lastQuery=_102[this.searchAttr]=q;var _104=this,_105=function(){var _106=_104._fetchHandle=_104.store.query(_102,_103);_de.when(_106,function(res){_104._fetchHandle=null;res.total=_106.total;_104._openResultList(res,_102,_103);},function(err){_104._fetchHandle=null;if(!_104._cancelingQuery){console.error(_104.declaredClass+" "+err.toString());_104.closeDropDown();}});};this.searchTimer=setTimeout(_e2.hitch(this,function(_107,_108){this.searchTimer=null;_105();this._nextSearch=this.dropDown.onPage=function(_109){_103.start+=_103.count*_109;_103.direction=_109;_105();_108.focus();};},_102,this),this.searchDelay);},_getValueField:function(){return this.searchAttr;},constructor:function(){this.query={};this.fetchProperties={};},postMixInProperties:function(){if(!this.store){var _10a=this.srcNodeRef;var list=this.list;if(list){this.store=_e7.byId(list);}else{this.store=new _e6({},_10a);}if(!("value" in this.params)){var item=(this.item=this.store.fetchSelectedItem());if(item){var _10b=this._getValueField();this.value=this.store._oldAPI?this.store.getValue(item,_10b):item[_10b];}}}this.inherited(arguments);},postCreate:function(){var _10c=_e3("label[for=\""+this.id+"\"]");if(_10c.length){_10c[0].id=(this.id+"_label");this.domNode.setAttribute("aria-labelledby",_10c[0].id);}this.inherited(arguments);},_getMenuLabelFromItem:function(item){var _10d=this.labelFunc(item,this.store),_10e=this.labelType;if(this.highlightMatch!="none"&&this.labelType=="text"&&this._lastInput){_10d=this.doHighlight(_10d,this._escapeHtml(this._lastInput));_10e="html";}return {html:_10e=="html",label:_10d};},doHighlight:function(_10f,find){var _110=(this.ignoreCase?"i":"")+(this.highlightMatch=="all"?"g":""),i=this.queryExpr.indexOf("${0}");find=_e4.escapeString(find);return this._escapeHtml(_10f).replace(new RegExp((i==0?"^":"")+"("+find+")"+(i==(this.queryExpr.length-4)?"$":""),_110),"$1");},_escapeHtml:function(str){str=String(str).replace(/&/gm,"&").replace(//gm,">").replace(/"/gm,""");return str;},reset:function(){this.item=null;this.inherited(arguments);},labelFunc:function(item,_111){return (_111._oldAPI?_111.getValue(item,this.labelAttr||this.searchAttr):item[this.labelAttr||this.searchAttr]).toString();},_setValueAttr:function(_112,_113,_114,item){this._set("item",item||null);if(!_112){_112="";}this.inherited(arguments);},_setTextDirAttr:function(_115){this.inherited(arguments);if(this.dropDown){this.dropDown._set("textDir",_115);}}});});},"dijit/form/MappedTextBox":function(){define("dijit/form/MappedTextBox",["dojo/_base/declare","dojo/dom-construct","./ValidationTextBox"],function(_116,_117,_118){return _116("dijit.form.MappedTextBox",_118,{postMixInProperties:function(){this.inherited(arguments);this.nameAttrSetting="";},_setNameAttr:null,serialize:function(val){return val.toString?val.toString():"";},toString:function(){var val=this.filter(this.get("value"));return val!=null?(typeof val=="string"?val:this.serialize(val,this.constraints)):"";},validate:function(){this.valueNode.value=this.toString();return this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);this.valueNode=_117.place("",this.textbox,"after");},reset:function(){this.valueNode.value="";this.inherited(arguments);}});});},"dijit/form/ComboBoxMixin":function(){require({cache:{"url:dijit/form/templates/DropDownBox.html":"
\n"}});define("dijit/form/ComboBoxMixin",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/_base/lang","dojo/store/util/QueryResults","./_AutoCompleterMixin","./_ComboBoxMenu","../_HasDropDown","dojo/text!./templates/DropDownBox.html"],function(_119,_11a,_11b,lang,_11c,_11d,_11e,_11f,_120){return _119("dijit.form.ComboBoxMixin",[_11f,_11d],{dropDownClass:_11e,hasDownArrow:true,templateString:_120,baseClass:"dijitTextBox dijitComboBox",cssStateNodes:{"_buttonNode":"dijitDownArrowButton"},_setHasDownArrowAttr:function(val){this._set("hasDownArrow",val);this._buttonNode.style.display=val?"":"none";},_showResultList:function(){this.displayMessage("");this.inherited(arguments);},_setStoreAttr:function(_121){if(!_121.get){lang.mixin(_121,{_oldAPI:true,get:function(id){var _122=new _11a();this.fetchItemByIdentity({identity:id,onItem:function(_123){_122.resolve(_123);},onError:function(_124){_122.reject(_124);}});return _122.promise;},query:function(_125,_126){var _127=new _11a(function(){_128.abort&&_128.abort();});var _128=this.fetch(lang.mixin({query:_125,onBegin:function(_129){_127.total=_129;},onComplete:function(_12a){_127.resolve(_12a);},onError:function(_12b){_127.reject(_12b);}},_126));return _11c(_127);}});}this._set("store",_121);},postMixInProperties:function(){if(this.params.store){this._setStoreAttr(this.params.store);}this.inherited(arguments);if(!this.params.store){var _12c=this.declaredClass;lang.mixin(this.store,{getValue:function(item,attr){_11b.deprecated(_12c+".store.getValue(item, attr) is deprecated for builtin store. Use item.attr directly","","2.0");return item[attr];},getLabel:function(item){_11b.deprecated(_12c+".store.getLabel(item) is deprecated for builtin store. Use item.label directly","","2.0");return item.name;},fetch:function(args){_11b.deprecated(_12c+".store.fetch() is deprecated for builtin store.","Use store.query()","2.0");var shim=["dojo/data/ObjectStore"];require(shim,lang.hitch(this,function(_12d){new _12d({objectStore:this}).fetch(args);}));}});}}});});},"dijit/form/_TextBoxMixin":function(){define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_12e,_12f,dom,_130,keys,lang,_131){var _132=_12f("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){return this.parse(this.get("displayedValue"),this.constraints);},_setValueAttr:function(_133,_134,_135){var _136;if(_133!==undefined){_136=this.filter(_133);if(typeof _135!="string"){if(_136!==null&&((typeof _136!="number")||!isNaN(_136))){_135=this.filter(this.format(_136,this.constraints));}else{_135="";}}}if(_135!=null&&_135!=undefined&&((typeof _135)!="number"||!isNaN(_135))&&this.textbox.value!=_135){this.textbox.value=_135;this._set("displayedValue",this.get("displayedValue"));}if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_135);}this.inherited(arguments,[_136,_134]);},displayedValue:"",_getDisplayedValueAttr:function(){return this.filter(this.textbox.value);},_setDisplayedValueAttr:function(_137){if(_137===null||_137===undefined){_137="";}else{if(typeof _137!="string"){_137=String(_137);}}this.textbox.value=_137;this._setValueAttr(this.get("value"),undefined);this._set("displayedValue",this.get("displayedValue"));if(this.textDir=="auto"){this.applyTextDir(this.focusNode,_137);}},format:function(_138){return ((_138==null||_138==undefined)?"":(_138.toString?_138.toString():_138));},parse:function(_139){return _139;},_refreshState:function(){},onInput:function(){},__skipInputEvent:false,_onInput:function(){if(this.textDir=="auto"){this.applyTextDir(this.focusNode,this.focusNode.value);}this._refreshState();this._set("displayedValue",this.get("displayedValue"));},postCreate:function(){this.textbox.setAttribute("value",this.textbox.value);this.inherited(arguments);var _13a=function(e){var _13b=e.charOrCode||e.keyCode||229;if(e.type=="keydown"){switch(_13b){case keys.SHIFT:case keys.ALT:case keys.CTRL:case keys.META:case keys.CAPS_LOCK:return;default:if(_13b>=65&&_13b<=90){return;}}}if(e.type=="keypress"&&typeof _13b!="string"){return;}if(e.type=="input"){if(this.__skipInputEvent){this.__skipInputEvent=false;return;}}else{this.__skipInputEvent=true;}var faux=lang.mixin({},e,{charOrCode:_13b,wasConsumed:false,preventDefault:function(){faux.wasConsumed=true;e.preventDefault();},stopPropagation:function(){e.stopPropagation();}});if(this.onInput(faux)===false){_130.stop(faux);}if(faux.wasConsumed){return;}setTimeout(lang.hitch(this,"_onInput",faux),0);};_12e.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_13c){this.connect(this.textbox,_13c,_13a);},this);},_blankValue:"",filter:function(val){if(val===null){return this._blankValue;}if(typeof val!="string"){return val;}if(this.trim){val=lang.trim(val);}if(this.uppercase){val=val.toUpperCase();}if(this.lowercase){val=val.toLowerCase();}if(this.propercase){val=val.replace(/[^\s]+/g,function(word){return word.substring(0,1).toUpperCase()+word.substring(1);});}return val;},_setBlurValue:function(){this._setValueAttr(this.get("value"),true);},_onBlur:function(e){if(this.disabled){return;}this._setBlurValue();this.inherited(arguments);if(this._selectOnClickHandle){this.disconnect(this._selectOnClickHandle);}},_isTextSelected:function(){return this.textbox.selectionStart==this.textbox.selectionEnd;},_onFocus:function(by){if(this.disabled||this.readOnly){return;}if(this.selectOnClick&&by=="mouse"){this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){this.disconnect(this._selectOnClickHandle);if(this._isTextSelected()){_132.selectInputText(this.textbox);}});}this.inherited(arguments);this._refreshState();},reset:function(){this.textbox.value="";this.inherited(arguments);},_setTextDirAttr:function(_13d){if(!this._created||this.textDir!=_13d){this._set("textDir",_13d);this.applyTextDir(this.focusNode,this.focusNode.value);}}});_132._setSelectionRange=_131._setSelectionRange=function(_13e,_13f,stop){if(_13e.setSelectionRange){_13e.setSelectionRange(_13f,stop);}};_132.selectInputText=_131.selectInputText=function(_140,_141,stop){_140=dom.byId(_140);if(isNaN(_141)){_141=0;}if(isNaN(stop)){stop=_140.value?_140.value.length:0;}try{_140.focus();_132._setSelectionRange(_140,_141,stop);}catch(e){}};return _132;});},"dijit/form/SimpleTextarea":function(){define("dijit/form/SimpleTextarea",["dojo/_base/declare","dojo/dom-class","dojo/_base/sniff","dojo/_base/window","./TextBox"],function(_142,_143,has,win,_144){return _142("dijit.form.SimpleTextarea",_144,{baseClass:"dijitTextBox dijitTextArea",rows:"3",cols:"20",templateString:"",postMixInProperties:function(){if(!this.value&&this.srcNodeRef){this.value=this.srcNodeRef.value;}this.inherited(arguments);},buildRendering:function(){this.inherited(arguments);if(has("ie")&&this.cols){_143.add(this.textbox,"dijitTextAreaCols");}},filter:function(_145){if(_145){_145=_145.replace(/\r/g,"");}return this.inherited(arguments);},_onInput:function(e){if(this.maxLength){var _146=parseInt(this.maxLength);var _147=this.textbox.value.replace(/\r/g,"");var _148=_147.length-_146;if(_148>0){var _149=this.textbox;if(_149.selectionStart){var pos=_149.selectionStart;var cr=0;if(has("opera")){cr=(this.textbox.value.substring(0,pos).match(/\r/g)||[]).length;}this.textbox.value=_147.substring(0,pos-_148-cr)+_147.substring(pos-cr);_149.setSelectionRange(pos-_148,pos-_148);}else{if(win.doc.selection){_149.focus();var _14a=win.doc.selection.createRange();_14a.moveStart("character",-_148);_14a.text="";_14a.select();}}}}this.inherited(arguments);}});});},"dijit/_TimePicker":function(){require({cache:{"url:dijit/templates/TimePicker.html":"
 
 
\n"}});define("dijit/_TimePicker",["dojo/_base/array","dojo/date","dojo/date/locale","dojo/date/stamp","dojo/_base/declare","dojo/dom-class","dojo/dom-construct","dojo/_base/event","dojo/_base/kernel","dojo/keys","dojo/_base/lang","dojo/_base/sniff","dojo/query","dijit/typematic","./_Widget","./_TemplatedMixin","./form/_FormValueWidget","dojo/text!./templates/TimePicker.html"],function(_14b,_14c,_14d,_14e,_14f,_150,_151,_152,_153,keys,lang,has,_154,_155,_156,_157,_158,_159){return _14f("dijit._TimePicker",[_156,_157],{templateString:_159,baseClass:"dijitTimePicker",clickableIncrement:"T00:15:00",visibleIncrement:"T01:00:00",visibleRange:"T05:00:00",value:new Date(),_visibleIncrement:2,_clickableIncrement:1,_totalIncrements:10,constraints:{},serialize:_14e.toISOString,setValue:function(_15a){_153.deprecated("dijit._TimePicker:setValue() is deprecated. Use set('value', ...) instead.","","2.0");this.set("value",_15a);},_setValueAttr:function(date){this._set("value",date);this._showText();},_setFilterStringAttr:function(val){this._set("filterString",val);this._showText();},isDisabledDate:function(){return false;},_getFilteredNodes:function(_15b,_15c,_15d,_15e){var _15f=[],_160=_15e?_15e.date:this._refDate,n,i=_15b,max=this._maxIncrement+Math.abs(i),chk=_15d?-1:1,dec=_15d?1:0,inc=1-dec;do{i-=dec;n=this._createOption(i);if(n){if((_15d&&n.date>_160)||(!_15d&&n.date<_160)){break;}_15f[_15d?"unshift":"push"](n);_160=n.date;}i+=inc;}while(_15f.length<_15c&&(i*chk)>1)+1,false),_168=[],_169=_166-_167.length,_16a=this._getFilteredNodes(0,_169,true,_167[0]);if(_16a.length<_169&&_167.length>0){_168=this._getFilteredNodes(_167.length,_169-_16a.length,false,_167[_167.length-1]);}_14b.forEach(_16a.concat(_167,_168),function(n){this.timeMenu.appendChild(n);},this);},constructor:function(){this.constraints={};},postMixInProperties:function(){this.inherited(arguments);this._setConstraintsAttr(this.constraints);},_setConstraintsAttr:function(_16b){for(var key in {clickableIncrement:1,visibleIncrement:1,visibleRange:1}){if(key in _16b){this[key]=_16b[key];}}if(!_16b.locale){_16b.locale=this.lang;}},postCreate:function(){this.connect(this.timeMenu,has("ie")?"onmousewheel":"DOMMouseScroll","_mouseWheeled");this._connects.push(_155.addMouseListener(this.upArrow,this,"_onArrowUp",33,250));this._connects.push(_155.addMouseListener(this.downArrow,this,"_onArrowDown",33,250));this.inherited(arguments);},_buttonMouse:function(e){_150.toggle(e.currentTarget,e.currentTarget==this.upArrow?"dijitUpArrowHover":"dijitDownArrowHover",e.type=="mouseenter"||e.type=="mouseover");},_createOption:function(_16c){var date=new Date(this._refDate);var _16d=this._clickableIncrementDate;date.setHours(date.getHours()+_16d.getHours()*_16c,date.getMinutes()+_16d.getMinutes()*_16c,date.getSeconds()+_16d.getSeconds()*_16c);if(this.constraints.selector=="time"){date.setFullYear(1970,0,1);}var _16e=_14d.format(date,this.constraints);if(this.filterString&&_16e.toLowerCase().indexOf(this.filterString)!==0){return null;}var div=_151.create("div",{"class":this.baseClass+"Item"});div.date=date;div.index=_16c;_151.create("div",{"class":this.baseClass+"ItemInner",innerHTML:_16e},div);if(_16c%this._visibleIncrement<1&&_16c%this._visibleIncrement>-1){_150.add(div,this.baseClass+"Marker");}else{if(!(_16c%this._clickableIncrement)){_150.add(div,this.baseClass+"Tick");}}if(this.isDisabledDate(date)){_150.add(div,this.baseClass+"ItemDisabled");}if(this.value&&!_14c.compare(this.value,date,this.constraints.selector)){div.selected=true;_150.add(div,this.baseClass+"ItemSelected");if(_150.contains(div,this.baseClass+"Marker")){_150.add(div,this.baseClass+"MarkerSelected");}else{_150.add(div,this.baseClass+"TickSelected");}this._highlightOption(div,true);}return div;},_onOptionSelected:function(tgt){var _16f=tgt.target.date||tgt.target.parentNode.date;if(!_16f||this.isDisabledDate(_16f)){return;}this._highlighted_option=null;this.set("value",_16f);this.onChange(_16f);},onChange:function(){},_highlightOption:function(node,_170){if(!node){return;}if(_170){if(this._highlighted_option){this._highlightOption(this._highlighted_option,false);}this._highlighted_option=node;}else{if(this._highlighted_option!==node){return;}else{this._highlighted_option=null;}}_150.toggle(node,this.baseClass+"ItemHover",_170);if(_150.contains(node,this.baseClass+"Marker")){_150.toggle(node,this.baseClass+"MarkerHover",_170);}else{_150.toggle(node,this.baseClass+"TickHover",_170);}},onmouseover:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;if(!_150.contains(tgr,this.baseClass+"Item")){return;}this._highlightOption(tgr,true);},onmouseout:function(e){this._keyboardSelected=null;var tgr=(e.target.parentNode===this.timeMenu)?e.target:e.target.parentNode;this._highlightOption(tgr,false);},_mouseWheeled:function(e){this._keyboardSelected=null;_152.stop(e);var _171=(has("ie")?e.wheelDelta:-e.detail);this[(_171>0?"_onArrowUp":"_onArrowDown")]();},_onArrowUp:function(_172){if(typeof _172=="number"&&_172==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _173=this.timeMenu.childNodes[0].index;var divs=this._getFilteredNodes(_173,1,true,this.timeMenu.childNodes[0]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);this.timeMenu.insertBefore(divs[0],this.timeMenu.childNodes[0]);}},_onArrowDown:function(_174){if(typeof _174=="number"&&_174==-1){return;}if(!this.timeMenu.childNodes.length){return;}var _175=this.timeMenu.childNodes[this.timeMenu.childNodes.length-1].index+1;var divs=this._getFilteredNodes(_175,1,false,this.timeMenu.childNodes[this.timeMenu.childNodes.length-1]);if(divs.length){this.timeMenu.removeChild(this.timeMenu.childNodes[0]);this.timeMenu.appendChild(divs[0]);}},handleKey:function(e){if(e.charOrCode==keys.DOWN_ARROW||e.charOrCode==keys.UP_ARROW){_152.stop(e);if(this._highlighted_option&&!this._highlighted_option.parentNode){this._highlighted_option=null;}var _176=this.timeMenu,tgt=this._highlighted_option||_154("."+this.baseClass+"ItemSelected",_176)[0];if(!tgt){tgt=_176.childNodes[0];}else{if(_176.childNodes.length){if(e.charOrCode==keys.DOWN_ARROW&&!tgt.nextSibling){this._onArrowDown();}else{if(e.charOrCode==keys.UP_ARROW&&!tgt.previousSibling){this._onArrowUp();}}if(e.charOrCode==keys.DOWN_ARROW){tgt=tgt.nextSibling;}else{tgt=tgt.previousSibling;}}}this._highlightOption(tgt,true);this._keyboardSelected=tgt;return false;}else{if(e.charOrCode==keys.ENTER||e.charOrCode===keys.TAB){if(!this._keyboardSelected&&e.charOrCode===keys.TAB){return true;}if(this._highlighted_option){this._onOptionSelected({target:this._highlighted_option});}return e.charOrCode===keys.TAB;}}return undefined;}});});},"dijit/form/RadioButton":function(){define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_177,_178,_179){return _177("dijit.form.RadioButton",[_178,_179],{baseClass:"dijitRadio"});});},"url:dijit/form/templates/HorizontalSlider.html":"
-
+
\n","url:dijit/templates/TimePicker.html":"
 
 
\n","dijit/InlineEditBox":function(){require({cache:{"url:dijit/templates/InlineEditBox.html":"\r\n \r\n
\r\n
\r\n
"}}); define("sce/TipGallery",["dojo/_base/declare","dojo/_base/event","dojo/_base/lang","dojo/window","dojo/dom-style","dojo/dom-construct","dojo/Evented","dojo/window","dojo/keys","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/focus","sce/layout/_ResponsiveLayout","sce/YoutubePlayer","dojo/i18n!sce/nls/common","dojo/text!./templates/TipGallery.html"],function(_1a4,_1a5,lang,win,_1a6,_1a7,_1a8,win,keys,_1a9,_1aa,_1ab,_1ac,_1ad,i18n,_1ae){ var _1af=_1a4("sce.TipGallery",[_1a9,_1aa,_1a8,_1ac],{templateString:_1ae,_i18n:i18n,tipIndex:0,title:"",_setTitleAttr:{node:"galleryTitle",type:"innerHTML"},image:"",_setImageAttr:{node:"galleryImage",type:"attribute",attribute:"src"},description:"",_setDescriptionAttr:{node:"galleryDescription",type:"innerHTML"},imageAlt:"",_setImageAltAttr:{node:"galleryImage",type:"attribute",attribute:"alt"},currentCardIndex:0,_setCurrentCardIndexAttr:{node:"currentCardIndexNode",type:"innerHTML"},maxCardIndex:0,_setMaxCardIndexAttr:{node:"maxCardIndexNode",type:"innerHTML"},postCreate:function(){ this.registerResponsiveFunction(lang.hitch(this,this._resize,true),null,767); this.registerResponsiveFunction(lang.hitch(this,this._resize,false),768,null); this._resize(); this.inherited(arguments); },_resize:function(){ var _1b0=win.getBox(); _1a6.set(this.galleryContent,{maxHeight:(_1b0.h-200)+"px"}); },startup:function(){ var _1b1=_1a7.create("div",{},this.galleryVideo); this.videoPlayer=new _1ad(_1b1); this.inherited(arguments); },displayCard:function(card,_1b2,_1b3){ this.set("title",card.title); this.set("description",card.description); this.set("image",card.imageSrc); this.set("imageAlt",card.title); this.set("maxCardIndex",_1b2); this.set("currentCardIndex",_1b3); if(card.video){ var _1b4=win.getBox().h*0.6; this.videoPlayer.playVideo(card.video); _1a6.set(this.galleryVideo,"height",(_1b4+"px")); _1a6.set(this.galleryImage,"display","none"); _1a6.set(this.galleryVideo,"display",""); }else{ _1a6.set(this.galleryImage,"display",""); _1a6.set(this.galleryVideo,"display","none"); } },stopVideo:function(){ this.videoPlayer.stopVideo(); },hideControls:function(){ _1a6.set(this.galleryControls,"display","none"); },carouselPrev:function(e){ this.emit("prevTip",{index:this.tipIndex}); if(e){ _1a5.stop(e); } },carouselNext:function(e){ this.emit("nextTip",{index:this.tipIndex}); if(e){ _1a5.stop(e); } },carouselControlKeyHandler:function(e){ switch(e.keyCode){ case keys.RIGHT_ARROW: this.carouselNext(e); _1ab.focus(this.nextCarousel); break; case keys.LEFT_ARROW: this.carouselPrev(e); _1ab.focus(this.prevCarousel); break; case keys.ENTER: break; default: } }}); return _1af; }); },"url:sce/outage_map/templates/OutageIncident.html":"
\r\n
\r\n
${city}
\r\n
${cause}
\r\n
\r\n
\r\n
\r\n Estimated Time of Restoration:${endTime}\r\n
\r\n
\r\n Last Updated:${lastChange}\r\n
\r\n
\r\n Start Time:${startTime}\r\n
\r\n
\r\n Customers Impacted:${custAffected}\r\n
\r\n
\r\n Cause:${cause}\r\n
\r\n
\r\n Crew Status:${status}\r\n
\r\n
\r\n Additional Info:${result}\r\n
\r\n
\r\n
\r\n Outage Alert Note:${oan}\r\n
\r\n
\r\n
","sce/service/_AddressDetailsService":function(){ define("sce/service/_AddressDetailsService",["dojo/_base/declare","dojo/_base/xhr","dojo/_base/lang","dojo/i18n!sce/nls/service_uri"],function(_1b5,xhr,lang,_1b6){ var _1b7=_1b5(null,{serviceUri:_1b6.getAddressDetails,confirmedServiceUri:_1b6.getConfirmedAddressDetails,makeRequest:function(_1b8){ return xhr.get({url:(this.serviceUri+"?jsonReq="+JSON.stringify(_1b8)),timeout:_1b6.serviceUriTimeout,failOk:true,handleAs:"text",headers:{"Content-Type":"text/plain"},preventCache:false}); },getByZipcode:function(_1b9){ return this.makeRequest({ZipCode:_1b9}); },getByCity:function(city){ return this.makeRequest({City:city}); },getByAddress:function(_1ba){ return this.makeRequest(_1ba); },getByConfirmedAddress:function(_1bb){ return xhr.get({url:(this.confirmedServiceUri+"?jsonReq="+JSON.stringify(_1bb)),timeout:_1b6.serviceUriTimeout,failOk:true,handleAs:"text",headers:{"Content-Type":"text/plain"},preventCache:false}); },constructor:function(_1bc){ lang.mixin(this,_1bc); }}); return _1b7; }); },"url:sce/templates/RestCardC.html":"
\r\n \r\n

\r\n
\r\n \r\n
\r\n
\r\n
","sce/form/Validator":function(){ require({cache:{"url:sce/form/templates/Validator.html":"
\r\n \r\n
    \r\n
    "}}); define("sce/form/Validator",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/_Validation","dojo/dom","dojo/on","dojo/_base/fx","dojo/fx","dojo/dom-style","dojo/dom-class","dojo/dom-attr","dojo/dom-construct","dojo/query","dojo/_base/lang","dijit/registry","dojo/i18n!sce/nls/common","dojo/text!./templates/Validator.html"],function(_1bd,_1be,_1bf,_1c0,dom,on,fx,_1c1,_1c2,_1c3,_1c4,_1c5,_1c6,lang,_1c7,i18n,_1c8){ var _1c9=_1bd("sce.form.Validator",[_1be,_1bf,_1c0],{templateString:_1c8,widgetsInTemplate:false,_listItems:[],_validationMethods:[],_itemStatus:[],title:"",fieldToValidate:null,postCreate:function(){ var _1ca=_1c5.create("div",{innerHTML:this.title}); _1c5.place(_1ca,this.domNode,"first"); _1c2.set(this.domNode,"display","none"); _1c4.remove(this.domNode,"title"); },startup:function(){ this.inherited(arguments); },_isFilledOut:function(){ return true; },showValidStyle:function(){ },showErrorStyle:function(){ },showDefaultStyle:function(){ },addValidationItem:function(text,fn){ var li=_1c5.toDom("
  • "+i18n.failText+""+text+"
  • "); _1c5.place(li,_1c6("ul",this.domNode)[0],"last"); this._listItems=_1c6("ul li",this.domNode); this._validationMethods.push(fn); this._itemStatus.push(""); },validateString:function(_1cb){ var _1cc=[]; for(var i=0;i\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n information\r\n
    cta
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n error\r\n
    \r\n
    \r\n
    \r\n
    ","dijit/focus":function(){ define("dijit/focus",["dojo/aspect","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/_base/lang","dojo/on","dojo/ready","dojo/_base/sniff","dojo/Stateful","dojo/_base/unload","dojo/_base/window","dojo/window","./a11y","./registry","."],function(_1f5,_1f6,dom,_1f7,_1f8,_1f9,lang,on,_1fa,has,_1fb,_1fc,win,_1fd,a11y,_1fe,_1ff){ var _200=_1f6([_1fb,_1f9],{curNode:null,activeStack:[],constructor:function(){ var _201=lang.hitch(this,function(node){ if(dom.isDescendant(this.curNode,node)){ this.set("curNode",null); } if(dom.isDescendant(this.prevNode,node)){ this.set("prevNode",null); } }); _1f5.before(_1f8,"empty",_201); _1f5.before(_1f8,"destroy",_201); },registerIframe:function(_202){ return this.registerWin(_202.contentWindow,_202); },registerWin:function(_203,_204){ var _205=this; var _206=function(evt){ _205._justMouseDowned=true; setTimeout(function(){ _205._justMouseDowned=false; },0); if(has("ie")&&evt&&evt.srcElement&&evt.srcElement.parentNode==null){ return; } _205._onTouchNode(_204||evt.target||evt.srcElement,"mouse"); }; var doc=has("ie")?_203.document.documentElement:_203.document; if(doc){ if(has("ie")){ _203.document.body.attachEvent("onmousedown",_206); var _207=function(evt){ var tag=evt.srcElement.tagName.toLowerCase(); if(tag=="#document"||tag=="body"){ return; } if(a11y.isTabNavigable(evt.srcElement)){ _205._onFocusNode(_204||evt.srcElement); }else{ _205._onTouchNode(_204||evt.srcElement); } }; doc.attachEvent("onactivate",_207); var _208=function(evt){ _205._onBlurNode(_204||evt.srcElement); }; doc.attachEvent("ondeactivate",_208); return {remove:function(){ _203.document.detachEvent("onmousedown",_206); doc.detachEvent("onactivate",_207); doc.detachEvent("ondeactivate",_208); doc=null; }}; }else{ doc.body.addEventListener("mousedown",_206,true); doc.body.addEventListener("touchstart",_206,true); var _209=function(evt){ _205._onFocusNode(_204||evt.target); }; doc.addEventListener("focus",_209,true); var _20a=function(evt){ _205._onBlurNode(_204||evt.target); }; doc.addEventListener("blur",_20a,true); return {remove:function(){ doc.body.removeEventListener("mousedown",_206,true); doc.body.removeEventListener("touchstart",_206,true); doc.removeEventListener("focus",_209,true); doc.removeEventListener("blur",_20a,true); doc=null; }}; } } },_onBlurNode:function(){ this.set("prevNode",this.curNode); this.set("curNode",null); if(this._justMouseDowned){ return; } if(this._clearActiveWidgetsTimer){ clearTimeout(this._clearActiveWidgetsTimer); } this._clearActiveWidgetsTimer=setTimeout(lang.hitch(this,function(){ delete this._clearActiveWidgetsTimer; this._setStack([]); this.prevNode=null; }),100); },_onTouchNode:function(node,by){ if(this._clearActiveWidgetsTimer){ clearTimeout(this._clearActiveWidgetsTimer); delete this._clearActiveWidgetsTimer; } var _20b=[]; try{ while(node){ var _20c=_1f7.get(node,"dijitPopupParent"); if(_20c){ node=_1fe.byId(_20c).domNode; }else{ if(node.tagName&&node.tagName.toLowerCase()=="body"){ if(node===win.body()){ break; } node=_1fd.get(node.ownerDocument).frameElement; }else{ var id=node.getAttribute&&node.getAttribute("widgetId"),_20d=id&&_1fe.byId(id); if(_20d&&!(by=="mouse"&&_20d.get("disabled"))){ _20b.unshift(id); } node=node.parentNode; } } } } catch(e){ } this._setStack(_20b,by); },_onFocusNode:function(node){ if(!node){ return; } if(node.nodeType==9){ return; } this._onTouchNode(node); if(node==this.curNode){ return; } this.set("curNode",node); },_setStack:function(_20e,by){ var _20f=this.activeStack; this.set("activeStack",_20e); for(var _210=0;_210=_210;i--){ _211=_1fe.byId(_20f[i]); if(_211){ _211._hasBeenBlurred=true; _211.set("focused",false); if(_211._focusManager==this){ _211._onBlur(by); } this.emit("widget-blur",_211,by); } } for(i=_210;i<_20e.length;i++){ _211=_1fe.byId(_20e[i]); if(_211){ _211.set("focused",true); if(_211._focusManager==this){ _211._onFocus(by); } this.emit("widget-focus",_211,by); } } },focus:function(node){ if(node){ try{ node.focus(); } catch(e){ } } }}); var _212=new _200(); _1fa(function(){ var _213=_212.registerWin(win.doc.parentWindow||win.doc.defaultView); if(has("ie")){ _1fc.addOnWindowUnload(function(){ _213.remove(); _213=null; }); } }); _1ff.focus=function(node){ _212.focus(node); }; for(var attr in _212){ if(!/^_/.test(attr)){ _1ff.focus[attr]=typeof _212[attr]=="function"?lang.hitch(_212,attr):_212[attr]; } } _212.watch(function(attr,_214,_215){ _1ff.focus[attr]=_215; }); return _212; }); },"dojo/i18n":function(){ define("dojo/i18n",["./_base/kernel","require","./has","./_base/array","./_base/config","./_base/lang","./_base/xhr"],function(dojo,_216,has,_217,_218,lang,xhr){ var _219=dojo.i18n={},_21a=/(^.*(^|\/)nls)(\/|$)([^\/]*)\/?([^\/]*)/,_21b=function(root,_21c,_21d,_21e){ for(var _21f=[_21d+_21e],_220=_21c.split("-"),_221="",i=0;i<_220.length;i++){ _221+=(_221?"-":"")+_220[i]; if(!root||root[_221]){ _21f.push(_21d+_221+"/"+_21e); } } return _21f; },_222={},_223=dojo.getL10nName=function(_224,_225,_226){ _226=_226?_226.toLowerCase():dojo.locale; _224="dojo/i18n!"+_224.replace(/\./g,"/"); _225=_225.replace(/\./g,"/"); return (/root/i.test(_226))?(_224+"/nls/"+_225):(_224+"/nls/"+_226+"/"+_225); },_227=function(_228,_229,_22a,_22b,_22c,load){ _228([_229],function(root){ var _22d=_222[_229+"/"]=lang.clone(root.root),_22e=_21b(!root._v1x&&root,_22c,_22a,_22b); _228(_22e,function(){ for(var i=1;i<_22e.length;i++){ _222[_22e[i]]=_22d=lang.mixin(lang.clone(_22d),arguments[i]); } var _22f=_229+"/"+_22c; _222[_22f]=_22d; load&&load(lang.delegate(_22d)); }); }); },_230=function(id,_231){ var _232=_21a.exec(id),_233=_232[1]; return /^\./.test(_233)?_231(_233)+"/"+id.substring(_233.length):id; },_234=function(){ },load=function(id,_235,load){ var _236=_21a.exec(id),_237=_236[1]+"/",_238=_236[5]||_236[4],_239=_237+_238,_23a=(_236[5]&&_236[4]),_23b=_23a||dojo.locale,_23c=_239+"/"+_23b; if(_23a){ _234(_23c); if(_222[_23c]){ load(_222[_23c]); }else{ _227(_235,_239,_237,_238,_23b,load); } return; } var _23d=_218.extraLocale||[]; _23d=lang.isArray(_23d)?_23d:[_23d]; _23d.push(_23b); var _23e=_23d.length,_23f; _217.forEach(_23d,function(_240){ _227(_235,_239,_237,_238,_240,function(_241){ if(_240==_23b){ _23f=_241; } if(!--_23e){ load(_23f); } }); }); }; if(has("dojo-unit-tests")){ var _242=_219.unitTests=[]; } true||has.add("dojo-v1x-i18n-Api",1); if(1){ var _243={},_244=new Function("bundle","__evalError","__checkForLegacyModules","__mid","var __amdResult, define = function(x){__amdResult= x;};"+"return [(function(){"+"try{eval(arguments[0]);}catch(e){}"+"if(__amdResult)return 0;"+"if((__checkForLegacyModules = __checkForLegacyModules(__mid)))return __checkForLegacyModules;"+"try{return eval('('+arguments[0]+')');}"+"catch(e){__evalError.e = e; return __evalError;}"+"})(bundle),__amdResult];"),_245=function(url,_246,_247){ if(_246===_243){ return {}; } return _246?(/nls\/[^\/]+\/[^\/]+$/.test(url)?_246:{root:_246,_v1x:1}):_247; },_248=function(deps,_249){ var _24a=[]; _217.forEach(deps,function(mid){ var url=_216.toUrl(mid+".js"); if(_222[url]){ _24a.push(_222[url]); }else{ var _24b=_216.syncLoadNls(mid); if(_24b){ _24a.push(_24b); }else{ xhr.get({url:url,sync:true,load:function(text){ var _24c=_244(text,_243,_234,mid); _24a.push(_222[url]=_245(url,_24c[0],_24c[1])); },error:function(){ _24a.push(_222[url]={}); }}); } } }); _249&&_249.apply(null,_24a); },_24d=_219.normalizeLocale=function(_24e){ var _24f=_24e?_24e.toLowerCase():dojo.locale; if(_24f=="root"){ _24f="ROOT"; } return _24f; },_250=function(_251,func){ var _252=_251.split("-"); while(_252.length){ if(func(_252.join("-"))){ return true; } _252.pop(); } return func("ROOT"); },isXd=function(mid){ return _216.isXdUrl(_216.toUrl(mid+".js")); }; _234=function(_253){ for(var _254,_255=_253.split("/"),_256=dojo.global[_255[0]],i=1;_256&&i<_255.length-1;_256=_256[_255[i++]]){ } if(_256){ _254=_256[_255[i]]; if(!_254){ _254=_256[_255[i].replace(/-/g,"_")]; } if(_254){ _222[_253]=_254; } } return _254; }; _219.getLocalization=function(_257,_258,_259){ var _25a,_25b=_223(_257,_258,_259).substring(10); load(_25b,(1&&!isXd(_25b)?_248:_216),function(_25c){ _25a=_25c; }); return _25a; }; _219._preloadLocalizations=function(_25d,_25e){ function _25f(_260){ _260=_24d(_260); _250(_260,function(loc){ for(var mid,i=0;i<_25e.length;i++){ if(_25e[i]==loc){ mid=_25d.replace(/\./g,"/")+"_"+loc; (isXd(mid)?_216:_248)([mid]); return true; } } return false; }); }; _25f(); var _261=dojo.config.extraLocale||[]; for(var i=0;i<_261.length;i++){ _25f(_261[i]); } }; if(has("dojo-unit-tests")){ _242.push(function(doh){ doh.register("tests.i18n.unit",function(t){ var _262; _262=_244("{prop:1}",_243); t.is({prop:1},_262[0]); t.is(undefined,_262[1]); _262=_244("({prop:1})",_243); t.is({prop:1},_262[0]); t.is(undefined,_262[1]); _262=_244("{'prop-x':1}",_243); t.is({"prop-x":1},_262[0]); t.is(undefined,_262[1]); _262=_244("({'prop-x':1})",_243); t.is({"prop-x":1},_262[0]); t.is(undefined,_262[1]); _262=_244("define({'prop-x':1})",_243); t.is(0,_262[0]); t.is({"prop-x":1},_262[1]); _262=_244("define({'prop-x':1});",_243); t.is(0,_262[0]); t.is({"prop-x":1},_262[1]); _262=_244("this is total nonsense and should throw an error",_243); t.is(_243,_262[0]); t.is(undefined,_262[1]); t.is({},_245("some/url",_262[0],_262[1])); }); }); } } return lang.mixin(_219,{dynamic:true,normalize:_230,load:load,cache:function(mid,_263){ _222[mid]=_263; }}); }); },"url:sce/templates/Espots.html":"
    \r\n
    \r\n
    \r\n
    ","url:sce/templates/TruncatableElement.html":"
    \r\n
    \r\n
    \r\n
    ","dijit/hccss":function(){ define("dijit/hccss",["require","dojo/_base/config","dojo/dom-class","dojo/dom-construct","dojo/dom-style","dojo/ready","dojo/_base/sniff","dojo/_base/window"],function(_264,_265,_266,_267,_268,_269,has,win){ if(has("ie")||has("mozilla")){ _269(90,function(){ var div=_267.create("div",{id:"a11yTestNode",style:{cssText:"border: 1px solid;"+"border-color:red green;"+"position: absolute;"+"height: 5px;"+"top: -999px;"+"background-image: url(\""+(_265.blankGif||_264.toUrl("dojo/resources/blank.gif"))+"\");"}},win.body()); var cs=_268.getComputedStyle(div); if(cs){ var _26a=cs.backgroundImage; var _26b=(cs.borderTopColor==cs.borderRightColor)||(_26a!=null&&(_26a=="none"||_26a=="url(invalid-url:)")); if(_26b){ _266.add(win.body(),"dijit_a11y"); } if(has("ie")){ div.outerHTML=""; }else{ win.body().removeChild(div); } } }); } }); },"sce/accessibility/ModeLogger":function(){ require({cache:{"url:sce/accessibility/templates/ModeLogger.html":"
    \r\n
    \r\n
    "}}); define("sce/accessibility/ModeLogger",["dojo/_base/declare","dojo/_base/lang","dojo/html","dojo/i18n!sce/nls/common","dojo/dom-construct","dojo/dom-style","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","dojo/text!./templates/ModeLogger.html",],function(_26c,lang,html,i18n,_26d,_26e,_26f,_270,_271,_272){ var _273=_26c("sce.accessibility.ModeLogger",[_26f,_270,_271],{templateString:_272,baseClass:"wdgtModeLogger",_i18n:i18n,postCreate:function(){ _26e.set(this.domNode,{position:"absolute",left:"-1000px",top:"auto",width:"1px",height:"1px",overflow:"hidden"}); this.registerResponsiveFunction(lang.hitch(this,function(e){ html.set(this.domNode,i18n.mobileMode); }),0,767); this.registerResponsiveFunction(lang.hitch(this,function(e){ html.set(this.domNode,i18n.tabletMode); }),768,1024); this.registerResponsiveFunction(lang.hitch(this,function(e){ html.set(this.domNode,i18n.desktopMode); }),1025); }}); return _273; }); },"url:sce/form/templates/OutageSearch.html":"
    \r\n
    \r\n
    \r\n
    \r\n ${_i18n.outageSearchInputLabel}\r\n
    \r\n ${_i18n.outageSearchErrorMessage}\r\n
    \r\n
    \r\n
    \r\n \r\n Go\r\n
    \r\n \r\n
    ${_i18n.outageSearchTipContent}
    \r\n
    ","sce/form/CheckBox":function(){ require({cache:{"url:sce/form/templates/CheckBox.html":"
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n information\r\n
    cta
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n error\r\n
    \r\n
    \r\n
    \r\n
    "}}); define("sce/form/CheckBox",["dojo/_base/declare","dojo/_base/array","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","sce/_Validation","dijit/form/CheckBox","dojo/dom","dojo/dom-class","dojo/query","dojo/on","dojo/_base/lang","dojo/dom-style","dojo/dom-construct","dojo/dom-attr","dojo/_base/event","dojo/_base/fx","dojo/fx","dijit/registry","dijit/focus","dojo/text!./templates/CheckBox.html","dojo/i18n!sce/nls/common"],function(_274,_275,_276,_277,_278,_279,_27a,dom,_27b,_27c,on,lang,_27d,_27e,_27f,_280,fx,_281,_282,_283,_284,i18n){ var _285=_274("sce.form.CheckBox",[_276,_277,_278,_279],{templateString:_284,widgetsInTemplate:false,titleExpandDrawer:i18n.expandInfoTip,titleCollapseDrawer:i18n.collapseInfoTip,_checkboxNode:null,_buttonNode:null,_props:null,_showInfotip:false,_showCtaLink:false,_currentState:0,alternateCtaPosition:false,checked:false,required:false,disabled:false,readonly:false,showPrintButton:false,validation:[],printButtonLabel:i18n.printText,name:"",label:"",noSubmit:false,postCreate:function(){ dom.byId(this.id).id=this.id+"_container"; var _286=new Object(); _286["id"]=this.id+"_widget"; if(this.name!=""){ _286["name"]=this.name; }else{ if(!this.noSubmit){ _286["name"]=this.id; } } _286["checked"]=this.checked; _286["disabled"]=this.disabled; _286["readOnly"]=this.readonly; if(this.titleExpandDrawer){ _286["titleExpandDrawer"]=this.titleExpandDrawer; } if(this.titleCollapseDrawer){ _286["titleCollapseDrawer"]=this.titleCollapseDrawer; } _286["role"]="checkbox"; this._props=_286; },enableStyleClearOnContentChange:function(){ this._checkboxNode.watch("checked",lang.hitch(this,function(){ if(!this.isRequired()){ this.showDefaultStyle(); } this.validate(null,true); })); },startup:function(){ this._checkboxNode=new _27a(this._props).placeAt(dom.byId(this.id+"_widgetContainer"),"first"); dom.byId(this._props["id"]).id=this.id; _27f.set(dom.byId(this.id),"aria-invalid","false"); var _287=_27c("label .descriptionContent",this.domNode); if(_287.length>0){ var _288=_27c(".descriptionTextContainer",this.domNode)[0]; _288.innerHTML=_287[0].innerHTML; _27d.set(_288,"display","block"); _27e.destroy(_287[0]); } _27d.set(dom.byId(this.id+"_longDescriptionTextContainer"),"display","none"); var _289=_27c("label .errorContent",this.domNode); if(_289.length>0){ var _28a=dom.byId(this.id+"_errorContainerMessage"); _28a.innerHTML=_289[0].innerHTML; _27e.destroy(_289[0]); } if(this.validation&&this.validation.push){ this.validation.push("forceblurvalidate"); this.validation.push("forcecontentclear"); } var _28b=_27c("label .additionalDescriptionContent",this.domNode); if(_28b.length>0){ require(["sce/form/Button"],lang.hitch(this,function(_28c){ var _28d={id:this.id+"_button",responsive:true,label:i18n.seeMoreText,icon:"downArrow",styleType:"emphasized"}; this._buttonNode=new _28c(_28d).placeAt(dom.byId(this.id+"_buttonContainer"),"last"); _27d.set(dom.byId(this.id+"_buttonContainer"),"display","block"); on(_282.byId(this.id+"_button"),"click",lang.hitch(this,this._onButtonClick)); })); dom.byId(this.id+"_longDescriptionTextContainer").innerHTML=_28b[0].innerHTML; _27e.destroy(_28b[0]); var _28e=i18n.seeMoreText+" "+i18n.aboutText+": "+_27c("label",this.domNode)[0].innerHTML.trim()+""; _282.byId(this.id+"_button").set("label",_28e); if(this.showPrintButton){ require(["sce/form/Button"],lang.hitch(this,function(_28f){ var _290={id:this.id+"_printButton",responsive:true,label:this.printButtonLabel}; this._buttonNode=new _28f(_290).placeAt(dom.byId(this.id+"_printButtonContainer"),"last"); _27d.set(dom.byId(this.id+"_printButtonContainer"),"display","block"); on(_282.byId(this.id+"_printButton"),"click",lang.hitch(this,this._onPrintButtonClick)); })); } } var _291=_27c("label .infotipContent",this.domNode); if((_291.length>0)&&(_291[0].textContent.trim().length>0)){ var _292=_27e.create("div",{}); _27e.place(_291[0],_292,"last"); var _293=_27c("label",this.domNode)[0]; _27e.place(_292,_293,"last"); require(["sce/Drawer"],lang.hitch(this,function(_294){ var _295={collapsed:true,id:this.id+"_drawer",srcNodeRef:_292,style:"display:none;",targetLink:"#"+this.id+"_iconInfotipContainer",backgroundColor:"#404040",borderStyle:"1px solid #404040",useTitle:false,showClose:false}; this._drawerNode=new _294(_295).placeAt(_27c(".outerContainer",this.domNode)[0],"last"); _282.byId(this.id+"_drawer").startup(); })); _27d.set(dom.byId(this.id+"_iconInfotipContainer"),"display","inline-block"); _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","3.5833333333em"); _27e.destroy(_292); dom.byId(this.id+"_iconInfotipContainer").innerHTML=""+i18n.informationAboutText+" "+_27c("label",this.domNode)[0].innerHTML.trim()+""; this._showInfotip=true; } var _296=_27c("label .ctaContent",this.domNode); if(_296.length>0){ dom.byId(this.id+"_ctaContainer").innerHTML=_296[0].innerHTML; dom.byId(this.id+"_mobileContainer").innerHTML=_296[0].innerHTML; _27d.set(dom.byId(this.id+"_mobileContainer"),"display","block"); _27e.destroy(_296[0]); var _297=" "+i18n.aboutText+": "+_27c("label",this.domNode)[0].innerHTML+""; dom.byId(this.id+"_ctaContainer").innerHTML=dom.byId(this.id+"_ctaContainer").innerHTML+_297; dom.byId(this.id+"_mobileContainer").innerHTML=dom.byId(this.id+"_mobileContainer").innerHTML+_297; this._showCtaLink=true; } this.label=_27c("label",this.domNode)[0]; on(dom.byId(this.id+"_checkboxContainer"),"click",lang.hitch(this,this._onClick)); on(dom.byId(this.id+"_checkboxContainer"),"mouseover",lang.hitch(this,this._onMouseEvent)); on(dom.byId(this.id+"_checkboxContainer"),"mouseout",lang.hitch(this,this._onMouseEvent)); on(_282.byId(this.id+"_widget"),"focus",lang.hitch(this,this._onFocus)); on(_282.byId(this.id+"_widget"),"blur",lang.hitch(this,this._onBlur)); if(this._showCtaLink&&this.alternateCtaPosition){ this.registerResponsiveFunction(lang.hitch(this,this._showMobileLayout,true),null,480); this.registerResponsiveFunction(lang.hitch(this,this._showMobileLayout,false),481,null); } if(this.getWindowWidth()<=480){ this._showMobileLayout(true); }else{ this._showMobileLayout(false); } this.inherited(arguments); },_isFilledOut:function(){ return this.isChecked(); },setErrorFocus:function(){ },_setupVerificationFields:function(_298,_299,_29a){ this._checkboxNode.watch("checked",lang.hitch(this,function(){ if(_299._shouldCloseDependants()){ _29a.hide(); }else{ _29a.show(false,true); } })); },_shouldCloseDependants:function(){ return (!this.isChecked()); },showValidStyle:function(){ if(this._currentState==1){ return; } _27f.remove(dom.byId(this.id),"aria-describedby"); _27f.set(dom.byId(this.id),"aria-invalid","false"); dom.byId(this.id+"_alert_association").innerHTML=i18n.inputValidText; if(this._showInfotip){ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","7.1666666667em"); }else{ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","3.5833333333em"); } var fn=function(){ _27b.add(dom.byId(this.id+"_iconStatusContainer"),"valid"); _27b.remove(dom.byId(this.id+"_iconStatusContainer"),"invalid"); _27d.set(dom.byId(this.id+"_iconStatusContainer"),"opacity","0"); _27d.set(_27c(".checkboxContainerInner",this.domNode)[0],"paddingRight","1px"); }; var _29b=function(){ _27b.add(dom.byId(this.id+"_iconStatusContainer"),"valid"); }; if(this._currentState==-1){ var fn2=function(){ _27d.set(dom.byId(this.id+"_errorContainer"),"display","none"); if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } }; _281.combine([fx.fadeIn({beforeBegin:lang.hitch(this,fn),onEnd:lang.hitch(this,_29b),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}),fx.fadeOut({onEnd:lang.hitch(this,fn2),node:dom.byId(this.id+"_errorContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(this,fn),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}).play(); } _27b.remove(this.domNode,"invalidState"); _27b.remove(this.domNode,"defaultState"); _27b.add(this.domNode,"validState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"invalidState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"defaultState"); _27b.add(dom.byId(this.id+"_checkboxContainer"),"validState"); if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } this._currentState=1; },showErrorStyle:function(){ if(this._currentState==-1){ return; } _27f.set(dom.byId(this.id),"aria-describedby",this.id+"_errorContainer"); _27f.set(dom.byId(this.id),"aria-invalid","true"); dom.byId(this.id+"_alert_association").innerHTML=i18n.invalidInputText; if(this._showInfotip){ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","3.5833333333em"); }else{ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","0"); } var _29c=dom.byId(this.id+"_errorContainer"); var fn=function(){ _27d.set(_29c,"opacity","0"); _27d.set(_29c,"display","block"); _27d.set(_27c(".checkboxContainerInner",this.domNode)[0],"paddingRight","0px"); }; var fn2=function(){ _27b.remove(dom.byId(this.id+"_iconStatusContainer"),"valid"); _27b.add(dom.byId(this.id+"_iconStatusContainer"),"invalid"); _27d.set(dom.byId(this.id+"_errorContainer"),"display","block"); if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } }; if(this._currentState==1){ _281.combine([fx.fadeIn({beforeBegin:lang.hitch(this,fn),onEnd:lang.hitch(this,fn2),node:_29c,duration:300}),fx.fadeOut({node:dom.byId(this.id+"_iconStatusContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(this,fn),onEnd:lang.hitch(this,fn2),node:_29c,duration:300}).play(); } _27b.remove(this.domNode,"validState"); _27b.remove(this.domNode,"defaultState"); _27b.add(this.domNode,"invalidState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"validState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"defaultState"); _27b.add(dom.byId(this.id+"_checkboxContainer"),"invalidState"); this._currentState=-1; },showDefaultStyle:function(){ if(this._currentState==0){ return; } _27f.remove(dom.byId(this.id),"aria-describedby"); _27f.set(dom.byId(this.id),"aria-invalid","false"); dom.byId(this.id+"_alert_association").innerHTML=""; if(this._showInfotip){ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","3.5833333333em"); }else{ _27d.set(dom.byId(this.id+"_checkboxContainer"),"paddingRight","0"); } _27d.set(_27c(".checkboxContainerInner",this.domNode)[0],"paddingRight","0px"); var fn=function(){ _27b.remove(dom.byId(this.id+"_iconStatusContainer"),"valid"); _27b.remove(dom.byId(this.id+"_iconStatusContainer"),"invalid"); _27d.set(dom.byId(this.id+"_errorContainer"),"display","none"); if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } }; if(this._currentState==-1){ fx.fadeOut({onEnd:lang.hitch(this,fn),node:dom.byId(this.id+"_errorContainer"),duration:300}).play(); }else{ fx.fadeOut({onEnd:lang.hitch(this,fn),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}).play(); } _27b.remove(this.domNode,"invalidState"); _27b.remove(this.domNode,"validState"); _27b.add(this.domNode,"defaultState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"invalidState"); _27b.remove(dom.byId(this.id+"_checkboxContainer"),"validState"); _27b.add(dom.byId(this.id+"_checkboxContainer"),"defaultState"); if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } this._currentState=0; },isChecked:function(){ return this._checkboxNode.checked; },get:function(){ var _29d=this.inherited(arguments); if(_29d==undefined){ return _282.byId(this.id+"_widget").get(arguments[0]); } return _29d; },set:function(_29e,_29f){ if(this[_29e]!=undefined){ this.inherited(arguments); }else{ _282.byId(this.id+"_widget").set(_29e,_29f); } },_onClick:function(e){ var _2a0=e.originalTarget||e.srcElement; if(_2a0!=undefined&&_2a0.tagName!="INPUT"){ var _2a1=false; var _2a2=dom.byId(this.id+"_container"); while(_2a0!==_2a2){ _2a0=_2a0.parentNode; if(_2a0.tagName=="A"){ _2a1=true; break; } } if(!_2a1){ _280.stop(e); on.emit(dom.byId(this.id),"click",{bubbles:true,cancelable:true}); } } },_onMouseEvent:function(e){ _282.byId(this.id+"_widget")._cssMouseEvent(e); },_showMobileLayout:function(_2a3){ if(!this._showCtaLink||!this.alternateCtaPosition){ return; } if(_2a3){ _27d.set(dom.byId(this.id+"_ctaContainer"),"display","none"); _27d.set(dom.byId(this.id+"_mobileContainer"),"display","block"); }else{ _27d.set(dom.byId(this.id+"_ctaContainer"),"display","inline-block"); _27d.set(dom.byId(this.id+"_mobileContainer"),"display","none"); } },_getCheckedAttr:function(){ if(_282.byId(this.id+"_widget")){ return _282.byId(this.id+"_widget").get("checked"); } },_setCheckedAttr:function(_2a4){ this.checked=_2a4; if(_282.byId(this.id+"_widget")){ _282.byId(this.id+"_widget").set("checked",_2a4); } },_getDisabledAttr:function(){ if(_282.byId(this.id+"_widget")){ return _282.byId(this.id+"_widget").get("disabled"); } },_setDisabledAttr:function(_2a5){ this.disabledVal=_2a5; if(_282.byId(this.id+"_widget")){ _282.byId(this.id+"_widget").set("disabled",_2a5); } },_getReadonlyAttr:function(){ if(_282.byId(this.id+"_widget")){ return _282.byId(this.id+"_widget").get("readOnly"); } },_setReadonlyAttr:function(_2a6){ this.readonly=_2a6; if(_282.byId(this.id+"_widget")){ _282.byId(this.id+"_widget").set("readOnly",_2a6); } },_setLabelAttr:function(_2a7){ _27c("label",this.domNode)[0].innerHTML=_2a7; this.label=_2a7; },_getLabelAttr:function(){ return _27c("label",this.domNode)[0].innerHTML.trim(); },_onFocus:function(e){ _27b.add(_27c("label",this.domNode)[0],"focused"); },_onBlur:function(e){ _27b.remove(_27c("label",this.domNode)[0],"focused"); },_onButtonClick:function(e){ _280.stop(e); var _2a8={node:this.id+"_longDescriptionTextContainer",onEnd:function(){ if(_27c(".dj_ie8").length==1){ _27d.set(_27c("body")[0],{height:"auto"}); _27d.set(_27c("body")[0],{height:"100%"}); } }}; if(_27d.get(this.id+"_longDescriptionTextContainer","display")=="none"){ var _2a9=i18n.seeLessText+" "+i18n.aboutText+": "+_27c("label",this.domNode)[0].innerHTML.trim()+""; _282.byId(this.id+"_button").set("label",_2a9); _282.byId(this.id+"_button").changeIcon("upArrow"); _281.wipeIn(_2a8).play(); }else{ var _2a9=i18n.seeMoreText+" "+i18n.aboutText+": "+_27c("label",this.domNode)[0].innerHTML.trim()+""; _282.byId(this.id+"_button").set("label",_2a9); _282.byId(this.id+"_button").changeIcon("downArrow"); _281.wipeOut(_2a8).play(); } },_onPrintButtonClick:function(e){ _280.stop(e); var _2aa=_27c(".descriptionTextContainer",this.domNode)[0].innerHTML+_27c(".longDescriptionTextContainer",this.domNode)[0].innerHTML; var _2ab=window.open("","","left=0,top=0,width=800,height=500,scrollbars=1"); _2ab.document.write(_2aa); _2ab.document.close(); _2ab.print(); _2ab.close(); },destroy:function(){ this.inherited(arguments); _282.byId(this.id+"_widget").destroy(); }}); return _285; }); },"dojo/parser":function(){ define("dojo/parser",["./_base/kernel","./_base/lang","./_base/array","./_base/config","./_base/html","./_base/window","./_base/url","./_base/json","./aspect","./date/stamp","./has","./query","./on","./ready"],function(dojo,_2ac,_2ad,_2ae,_2af,_2b0,_2b1,_2b2,_2b3,_2b4,has,_2b5,don,_2b6){ new Date("X"); if(1){ var form=document.createElement("form"); has.add("dom-attributes-explicit",form.attributes.length==0); has.add("dom-attributes-specified-flag",form.attributes.length<40); } dojo.parser=new function(){ var _2b7={}; function _2b8(_2b9){ var map={}; for(var name in _2b9){ if(name.charAt(0)=="_"){ continue; } map[name.toLowerCase()]=name; } return map; }; _2b3.after(_2ac,"extend",function(){ _2b7={}; },true); var _2ba={}; function _2bb(type){ var map=_2ba[type]||(_2ba[type]={}); return map["__type"]||(map["__type"]=(_2ac.getObject(type)||require(type))); }; this._functionFromScript=function(_2bc,_2bd){ var _2be=""; var _2bf=""; var _2c0=(_2bc.getAttribute(_2bd+"args")||_2bc.getAttribute("args")); if(_2c0){ _2ad.forEach(_2c0.split(/\s*,\s*/),function(part,idx){ _2be+="var "+part+" = arguments["+idx+"]; "; }); } var _2c1=_2bc.getAttribute("with"); if(_2c1&&_2c1.length){ _2ad.forEach(_2c1.split(/\s*,\s*/),function(part){ _2be+="with("+part+"){"; _2bf+="}"; }); } return new Function(_2be+_2bc.innerHTML+_2bf); }; this.instantiate=function(_2c2,_2c3,_2c4){ _2c3=_2c3||{}; _2c4=_2c4||{}; var _2c5=(_2c4.scope||dojo._scopeName)+"Type",_2c6="data-"+(_2c4.scope||dojo._scopeName)+"-",_2c7=_2c6+"type"; var list=[]; _2ad.forEach(_2c2,function(node){ var type=_2c5 in _2c3?_2c3[_2c5]:node.getAttribute(_2c7)||node.getAttribute(_2c5); if(type){ list.push({node:node,"type":type}); } }); return this._instantiate(list,_2c3,_2c4); }; this._instantiate=function(_2c8,_2c9,_2ca){ var _2cb=[]; var _2cc=(_2ca.scope||dojo._scopeName)+"Type",_2cd="data-"+(_2ca.scope||dojo._scopeName)+"-",_2ce=_2cd+"type",_2cf=_2cd+"props",_2d0=_2cd+"attach-point",_2d1=_2cd+"attach-event",_2d2=_2cd+"id",_2d3=_2cd+"mixins"; var _2d4={}; _2ad.forEach([_2cf,_2ce,_2cc,_2d2,"jsId",_2d0,_2d1,"dojoAttachPoint","dojoAttachEvent","class","style",_2d3],function(name){ _2d4[name.toLowerCase()]=name.replace(_2ca.scope,"dojo"); }); function _2d5(type,_2d6){ return type.createSubclass&&type.createSubclass(_2d6)||type.extend.apply(type,_2d6); }; _2ad.forEach(_2c8,function(obj){ if(!obj){ return; } var node=obj.node,type=obj.type,_2d7=node.getAttribute(_2d3),ctor; if(_2d7){ var map=_2ba[type]; _2d7=_2d7.replace(/ /g,""); ctor=map&&map[_2d7]; if(!ctor){ ctor=_2bb(type); ctor=_2ba[type][_2d7]=_2d5(ctor,_2ad.map(_2d7.split(","),_2bb)); } }else{ ctor=_2bb(type); } var _2d8=ctor&&ctor.prototype; var _2d9={}; if(_2ca.defaults){ _2ac.mixin(_2d9,_2ca.defaults); } if(obj.inherited){ _2ac.mixin(_2d9,obj.inherited); } var _2da; if(has("dom-attributes-explicit")){ _2da=node.attributes; }else{ if(has("dom-attributes-specified-flag")){ _2da=_2ad.filter(node.attributes,function(a){ return a.specified; }); }else{ var _2db=/^input$|^img$/i.test(node.nodeName)?node:node.cloneNode(false),_2dc=_2db.outerHTML.replace(/=[^\s"']+|="[^"]*"|='[^']*'/g,"").replace(/^\s*<[a-zA-Z0-9]*\s*/,"").replace(/\s*>.*$/,""); _2da=_2ad.map(_2dc.split(/\s+/),function(name){ var _2dd=name.toLowerCase(); return {name:name,value:(node.nodeName=="LI"&&name=="value")||_2dd=="enctype"?node.getAttribute(_2dd):node.getAttributeNode(_2dd).value}; }); } } var i=0,item; while(item=_2da[i++]){ var name=item.name,_2de=name.toLowerCase(),_2df=item.value; if(_2de in _2d4){ switch(_2d4[_2de]){ case "data-dojo-props": var _2e0=_2df; break; case "data-dojo-id": case "jsId": var _2e1=_2df; break; case "data-dojo-attach-point": case "dojoAttachPoint": _2d9.dojoAttachPoint=_2df; break; case "data-dojo-attach-event": case "dojoAttachEvent": _2d9.dojoAttachEvent=_2df; break; case "class": _2d9["class"]=node.className; break; case "style": _2d9["style"]=node.style&&node.style.cssText; break; } }else{ if(!(name in _2d8)){ var map=(_2b7[type]||(_2b7[type]=_2b8(_2d8))); name=map[_2de]||name; } if(name in _2d8){ switch(typeof _2d8[name]){ case "string": _2d9[name]=_2df; break; case "number": _2d9[name]=_2df.length?Number(_2df):NaN; break; case "boolean": _2d9[name]=_2df.toLowerCase()!="false"; break; case "function": if(_2df===""||_2df.search(/[^\w\.]+/i)!=-1){ _2d9[name]=new Function(_2df); }else{ _2d9[name]=_2ac.getObject(_2df,false)||new Function(_2df); } break; default: var pVal=_2d8[name]; _2d9[name]=(pVal&&"length" in pVal)?(_2df?_2df.split(/\s*,\s*/):[]):(pVal instanceof Date)?(_2df==""?new Date(""):_2df=="now"?new Date():_2b4.fromISOString(_2df)):(pVal instanceof dojo._Url)?(dojo.baseUrl+_2df):_2b2.fromJson(_2df); } }else{ _2d9[name]=_2df; } } } if(_2e0){ try{ _2e0=_2b2.fromJson.call(_2ca.propsThis,"{"+_2e0+"}"); _2ac.mixin(_2d9,_2e0); } catch(e){ throw new Error(e.toString()+" in data-dojo-props='"+_2e0+"'"); } } _2ac.mixin(_2d9,_2c9); var _2e2=obj.scripts||(ctor&&(ctor._noScript||_2d8._noScript)?[]:_2b5("> script[type^='dojo/']",node)); var _2e3=[],_2e4=[],_2e5=[],on=[]; if(_2e2){ for(i=0;i<_2e2.length;i++){ var _2e6=_2e2[i]; node.removeChild(_2e6); var _2e7=(_2e6.getAttribute(_2cd+"event")||_2e6.getAttribute("event")),prop=_2e6.getAttribute(_2cd+"prop"),_2e8=_2e6.getAttribute("type"),nf=this._functionFromScript(_2e6,_2cd); if(_2e7){ if(_2e8=="dojo/connect"){ _2e3.push({event:_2e7,func:nf}); }else{ if(_2e8=="dojo/on"){ on.push({event:_2e7,func:nf}); }else{ _2d9[_2e7]=nf; } } }else{ if(_2e8=="dojo/watch"){ _2e5.push({prop:prop,func:nf}); }else{ _2e4.push(nf); } } } } var _2e9=ctor.markupFactory||_2d8.markupFactory; var _2ea=_2e9?_2e9(_2d9,node,ctor):new ctor(_2d9,node); _2cb.push(_2ea); if(_2e1){ _2ac.setObject(_2e1,_2ea); } for(i=0;i<_2e3.length;i++){ _2b3.after(_2ea,_2e3[i].event,dojo.hitch(_2ea,_2e3[i].func),true); } for(i=0;i<_2e4.length;i++){ _2e4[i].call(_2ea); } for(i=0;i<_2e5.length;i++){ _2ea.watch(_2e5[i].prop,_2e5[i].func); } for(i=0;i\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    error
    \r\n
    "}}); define("sce/form/RadioButton",["dojo/_base/declare","dojo/_base/array","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","sce/_Validation","dijit/form/RadioButton","dojo/dom","dojo/dom-class","dojo/keys","dojo/query","dojo/on","dojo/_base/lang","dojo/dom-style","dojo/dom-construct","dojo/dom-attr","dojo/_base/event","dojo/_base/fx","dojo/fx","dijit/registry","dijit/focus","dojo/i18n!sce/nls/common","dojo/text!./templates/RadioButton.html"],function(_300,_301,_302,_303,_304,_305,_306,dom,_307,keys,_308,on,lang,_309,_30a,_30b,_30c,fx,_30d,_30e,_30f,i18n,_310){ var _311=_300("sce.form.RadioButton",[_302,_303,_304,_305],{templateString:_310,widgetsInTemplate:false,_radiobuttonNode:null,_props:null,_showInfotip:false,_showCtaLink:false,_currentState:0,name:"",checked:false,required:false,disabled:false,validation:[],label:"",value:"",clearErrorOnClick:true,postCreate:function(){ dom.byId(this.id).id=this.id+"_container"; var _312=new Object(); _312["id"]=this.id+"_widget"; _312["role"]="radio"; _312["checked"]=this.checked; _312["disabled"]=this.disabled; _312["name"]=this.name; if(this.name.trim()==""){ _312["name"]=this.id; } if(this.value.trim()==""){ this.value=this.id; } _312["value"]=this.value; this._props=_312; },startup:function(){ this._radiobuttonNode=new _306(this._props).placeAt(dom.byId(this.id+"_widgetContainer"),"first"); dom.byId(this._props["id"]).id=this.id; _30b.set(dom.byId(this.id),"aria-invalid","false"); var _313=_308("label .errorContent",this.domNode); if(_313.length>0){ var _314=dom.byId(this.id+"_errorContainerMessage"); _314.innerHTML=_313[0].innerHTML; _30a.destroy(_313[0]); } if(this.validation&&this.validation.push){ this.validation.push("forceblurvalidate"); } var _315=_308("label .infotipContent",this.domNode); if((_315.length>0)&&(_315[0].textContent.trim().length>0)){ var _316=_30a.create("div",{}); _30a.place(_315[0],_316,"last"); var _317=_308("label",this.domNode)[0]; _30a.place(_316,_317,"last"); require(["sce/Drawer"],lang.hitch(this,function(_318){ var _319={collapsed:true,id:this.id+"_drawer",srcNodeRef:_316,style:"display:none;",targetLink:"#"+this.id+"_iconInfotipContainer",backgroundColor:"#404040",borderStyle:"1px solid #404040",showClose:false}; this._drawerNode=new _318(_319).placeAt(_308(".outerContainer",this.domNode)[0],"last"); _30e.byId(this.id+"_drawer").startup(); on(this._drawerNode.drawerContentContainer,"keypress",lang.hitch(this,function(e){ if(e.charCode==keys.SPACE||e.keyCode==keys.ENTER){ _30c.stop(e); this._drawerNode.toggle(); }else{ return true; } })); })); _309.set(dom.byId(this.id+"_iconInfotipContainer"),"display","inline-block"); _309.set(dom.byId(this.id+"_radiobuttonContainer"),"paddingRight","2.6875em"); _30a.destroy(_316); dom.byId(this.id+"_iconInfotipContainer").innerHTML=""+i18n.informationAboutText+" "+_308("label",this.domNode)[0].innerHTML.trim()+""; this._showInfotip=true; } this.label=_308("label",this.domNode)[0]; on(dom.byId(this.id+"_radiobuttonContainer"),"click",lang.hitch(this,this._onClick)); on(dom.byId(this.id+"_radiobuttonContainer"),"mouseover",lang.hitch(this,this._onMouseEvent)); on(dom.byId(this.id+"_radiobuttonContainer"),"mouseout",lang.hitch(this,this._onMouseEvent)); on(_30e.byId(this.id+"_widget"),"focus",lang.hitch(this,this._onFocus)); on(_30e.byId(this.id+"_widget"),"blur",lang.hitch(this,this._onBlur)); this.inherited(arguments); },_isFilledOut:function(){ return this.isRadioGroupChecked(); },setErrorFocus:function(){ },getGroupMembers:function(){ var _31a=document.getElementsByName(this.name),_31b=[]; for(var i=0;i<_31a.length;i++){ _31b.push(_30e.byId(_31a[i].id)); } return _31b; },_otherGroupDependants:function(){ var _31c=document.getElementsByName(this.name); for(var i=0;i<_31c.length;i++){ var _31d=_30e.byId(_31c[i].id); if((_31d!==this)&&(_31d.dependantValidation)){ for(var j=0;j<_31d.dependantValidation.length;j++){ var tmp=_30e.byId(_31d.dependantValidation[j]); tmp.hide(); } } } },_shouldCloseDependants:function(){ return (!this.isChecked()); },showValidStyle:function(){ var _31e=document.getElementsByName(this.name); for(var i=0;i<_31e.length;i++){ if(_31e[i].checked){ this.showValidStyleSingle(_30e.byId(_31e[i].id)); } } },showValidStyleSingle:function(_31f){ if(_31f._currentState==1){ return; } _30b.remove(dom.byId(_31f.id),"aria-describedby"); _30b.set(dom.byId(_31f.id),"aria-invalid","false"); dom.byId(_31f.id+"_alert_association").innerHTML=i18n.inputValidText; if(_31f._showInfotip){ _309.set(dom.byId(_31f.id+"_radiobuttonContainer"),"paddingRight","5.375em"); }else{ _309.set(dom.byId(_31f.id+"_radiobuttonContainer"),"paddingRight","2.6875em"); } var fn=function(){ _307.add(dom.byId(_31f.id+"_iconStatusContainer"),"valid"); _307.remove(dom.byId(_31f.id+"_iconStatusContainer"),"invalid"); _309.set(dom.byId(_31f.id+"_iconStatusContainer"),"opacity","0"); _309.set(_308(".radiobuttonContainerInner",_31f.domNode)[0],"paddingRight","1px"); }; if(_31f._currentState==-1){ var fn2=function(){ _309.set(dom.byId(_31f.id+"_errorContainer"),"display","none"); if(_308(".dj_ie8").length==1){ _309.set(_308("body")[0],{height:"auto"}); _309.set(_308("body")[0],{height:"100%"}); } }; _30d.combine([fx.fadeIn({beforeBegin:lang.hitch(_31f,fn),node:dom.byId(_31f.id+"_iconStatusContainer"),duration:300}),fx.fadeOut({onEnd:lang.hitch(_31f,fn2),node:dom.byId(_31f.id+"_errorContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(_31f,fn),node:dom.byId(_31f.id+"_iconStatusContainer"),duration:300}).play(); } _307.remove(_31f.domNode,"invalidState"); _307.remove(_31f.domNode,"defaultState"); _307.add(_31f.domNode,"validState"); _307.remove(dom.byId(_31f.id+"_radiobuttonContainer"),"invalidState"); _307.remove(dom.byId(_31f.id+"_radiobuttonContainer"),"defaultState"); _307.add(dom.byId(_31f.id+"_radiobuttonContainer"),"validState"); if(_308(".dj_ie8").length==1){ _309.set(_308("body")[0],{height:"auto"}); _309.set(_308("body")[0],{height:"100%"}); } _31f._currentState=1; },enableBlurValidation:function(){ _30f.watch("activeStack",lang.hitch(this,this._blurValidationWatcher)); },_blurValidationWatcher:function(name,_320,_321){ var _322=null,_323=null,_324=((_301.indexOf(_320,this.id)>-1)||(_301.indexOf(_320,(this.dependantValidation))>-1)),_325=((_301.indexOf(_321,this.id)>-1)||(_301.indexOf(_321,(this.dependantValidation))>-1)); if(_321&&_321[0]){ _322=_30e.byId(_321[0]); if(_322&&_322.name){ _323=_322.name; } } if((_324)&&(!_325)){ if(_323!==this.name){ this.validate(null,true); } } },showErrorStyle:function(){ var _326=document.getElementsByName(this.name); for(var i=0;i<_326.length;i++){ this.showErrorStyleSingle(_30e.byId(_326[i].id)); } },showErrorStyleSingle:function(_327){ if(_327._currentState==-1){ return; } _30b.set(dom.byId(_327.id),"aria-describedby",_327.id+"_errorContainer"); _30b.set(dom.byId(_327.id),"aria-invalid","true"); dom.byId(_327.id+"_alert_association").innerHTML=i18n.invalidInputText; if(_327._showInfotip){ _309.set(dom.byId(_327.id+"_radiobuttonContainer"),"paddingRight","2.6875em"); }else{ _309.set(dom.byId(_327.id+"_radiobuttonContainer"),"paddingRight","0"); } var _328=dom.byId(_327.id+"_errorContainer"); var fn=function(){ _309.set(_328,"opacity","0"); _309.set(_328,"display","block"); _309.set(_308(".radiobuttonContainerInner",_327.domNode)[0],"paddingRight","0px"); }; var fn2=function(){ _307.remove(dom.byId(_327.id+"_iconStatusContainer"),"valid"); _307.add(dom.byId(_327.id+"_iconStatusContainer"),"invalid"); if(_308(".dj_ie8").length==1){ _309.set(_308("body")[0],{height:"auto"}); _309.set(_308("body")[0],{height:"100%"}); } }; if(_327._currentState==1){ _30d.combine([fx.fadeIn({beforeBegin:lang.hitch(_327,fn),onEnd:lang.hitch(_327,fn2),node:_328,duration:300}),fx.fadeOut({node:dom.byId(_327.id+"_iconStatusContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(_327,fn),onEnd:lang.hitch(_327,fn2),node:_328,duration:300}).play(); } _307.remove(_327.domNode,"validState"); _307.remove(_327.domNode,"defaultState"); _307.add(_327.domNode,"invalidState"); _307.remove(dom.byId(_327.id+"_radiobuttonContainer"),"validState"); _307.remove(dom.byId(_327.id+"_radiobuttonContainer"),"defaultState"); _307.add(dom.byId(_327.id+"_radiobuttonContainer"),"invalidState"); _327._currentState=-1; },showDefaultStyle:function(){ var _329=document.getElementsByName(this.name); for(var i=0;i<_329.length;i++){ this.showDefaultStyleSingle(_30e.byId(_329[i].id)); } },showDefaultStyleSingle:function(_32a){ if(_32a._currentState==0){ return; } _30b.remove(dom.byId(_32a.id),"aria-describedby"); _30b.set(dom.byId(_32a.id),"aria-invalid","false"); dom.byId(_32a.id+"_alert_association").innerHTML=""; if(_32a._showInfotip){ _309.set(dom.byId(_32a.id+"_radiobuttonContainer"),"paddingRight","2.6875em"); }else{ _309.set(dom.byId(_32a.id+"_radiobuttonContainer"),"paddingRight","0"); } _309.set(_308(".radiobuttonContainerInner",_32a.domNode)[0],"paddingRight","0px"); var fn=function(){ _307.remove(dom.byId(_32a.id+"_iconStatusContainer"),"valid"); _307.remove(dom.byId(_32a.id+"_iconStatusContainer"),"invalid"); _309.set(dom.byId(_32a.id+"_errorContainer"),"display","none"); if(_308(".dj_ie8").length==1){ _309.set(_308("body")[0],{height:"auto"}); _309.set(_308("body")[0],{height:"100%"}); } }; if(_32a._currentState==-1){ fx.fadeOut({onEnd:lang.hitch(_32a,fn),node:dom.byId(_32a.id+"_errorContainer"),duration:300}).play(); }else{ fx.fadeOut({onEnd:lang.hitch(_32a,fn),node:dom.byId(_32a.id+"_iconStatusContainer"),duration:300}).play(); } _307.remove(_32a.domNode,"invalidState"); _307.remove(_32a.domNode,"validState"); _307.add(_32a.domNode,"defaultState"); _307.remove(dom.byId(_32a.id+"_radiobuttonContainer"),"invalidState"); _307.remove(dom.byId(_32a.id+"_radiobuttonContainer"),"validState"); _307.add(dom.byId(_32a.id+"_radiobuttonContainer"),"defaultState"); if(_308(".dj_ie8").length==1){ _309.set(_308("body")[0],{height:"auto"}); _309.set(_308("body")[0],{height:"100%"}); } _32a._currentState=0; },isRadioGroupChecked:function(){ var _32b=document.getElementsByName(this.name); for(var i=0;i<_32b.length;i++){ var id=_32b[i].id; if(_30e.byId(_32b[i].id).isChecked()){ return true; } } return false; },isChecked:function(){ return this._radiobuttonNode.checked; },get:function(){ var _32c=this.inherited(arguments); if(_32c==undefined){ return _30e.byId(this.id+"_widget").get(arguments[0]); } return _32c; },set:function(_32d,_32e){ if(this[_32d]!=undefined){ this.inherited(arguments); }else{ _30e.byId(this.id+"_widget").set(_32d,_32e); } },_getCheckedAttr:function(){ if(_30e.byId(this.id+"_widget")){ return _30e.byId(this.id+"_widget").get("checked"); } },_setCheckedAttr:function(_32f){ this.checked=_32f; if(_30e.byId(this.id+"_widget")){ _30e.byId(this.id+"_widget").set("checked",_32f); } },_getDisabledAttr:function(){ if(_30e.byId(this.id+"_widget")){ return _30e.byId(this.id+"_widget").get("disabled"); } },_setDisabledAttr:function(_330){ this.disabledVal=_330; if(_30e.byId(this.id+"_widget")){ _30e.byId(this.id+"_widget").set("disabled",_330); } },_setLabelAttr:function(_331){ _308("label",this.domNode)[0].innerHTML=_331; this.label=_331; },_getLabelAttr:function(){ return _308("label",this.domNode)[0].innerHTML.trim(); },_onClick:function(e){ var _332=e.originalTarget||e.srcElement; if(_332!=undefined&&_332.tagName!="INPUT"){ _30c.stop(e); on.emit(dom.byId(this.id),"click",{bubbles:true,cancelable:true}); } if(this.clearErrorOnClick){ var _333=document.getElementsByName(this.name); for(var i=0;i<_333.length;i++){ _30e.byId(_333[i].id).showDefaultStyle(); } } },_onMouseEvent:function(e){ _30e.byId(this.id+"_widget")._cssMouseEvent(e); },_onFocus:function(e){ _307.add(_308("label",this.domNode)[0],"focused"); },_onBlur:function(e){ _307.remove(_308("label",this.domNode)[0],"focused"); },destroy:function(){ this.inherited(arguments); _30e.byId(this.id+"_widget").destroy(); }}); return _311; }); },"dijit/form/ToggleButton":function(){ define("dijit/form/ToggleButton",["dojo/_base/declare","dojo/_base/kernel","./Button","./_ToggleButtonMixin"],function(_334,_335,_336,_337){ return _334("dijit.form.ToggleButton",[_336,_337],{baseClass:"dijitToggleButton",setChecked:function(_338){ _335.deprecated("setChecked("+_338+") is deprecated. Use set('checked',"+_338+") instead.","","2.0"); this.set("checked",_338); }}); }); },"sce/EspotCard":function(){ require({cache:{"url:sce/templates/EspotCard.html":""}}); define("sce/EspotCard",["dojo/_base/declare","dojo/query","dojo/dom-style","dojo/dom-attr","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/focus","sce/Card","dojo/text!./templates/EspotCard.html"],function(_339,_33a,_33b,_33c,_33d,_33e,_33f,Card,_340){ var _341=_339("sce.EspotCard",[Card],{templateString:_340,headingLevel:3,espotAnchor:"",_setEspotAnchorAttr:{node:"espotAnchorNode",type:"attribute",attribute:"href"},espotImage:"",_setEspotImageAttr:function(_342){ _33b.set(this.espotImageNode,"background-image","url('"+_342+"')"); },espotContent:"",_setEspotContentAttr:function(_343){ },espotHeader:"",_setEspotHeaderAttr:{node:"espotHeaderNode",type:"innerHTML"},espotDescription:"",_setEspotDescriptionAttr:{node:"espotDescriptionNode",type:"innerHTML"},espotCta:"",_setEspotCtaAttr:{node:"espotCtaNode",type:"innerHTML"},constructor:function(_344){ this.inherited(arguments); },postCreate:function(){ if(!this.espotImage){ _33b.set(this.espotImageNode,"display","none"); } if(!this.espotCta){ _33b.set(this.ctaContainerNode,"display","none"); } this.inherited(arguments); }}); return _341; }); },"dojo/date/stamp":function(){ define("dojo/date/stamp",["../_base/kernel","../_base/lang","../_base/array"],function(dojo,lang,_345){ lang.getObject("date.stamp",true,dojo); dojo.date.stamp.fromISOString=function(_346,_347){ if(!dojo.date.stamp._isoRegExp){ dojo.date.stamp._isoRegExp=/^(?:(\d{4})(?:-(\d{2})(?:-(\d{2}))?)?)?(?:T(\d{2}):(\d{2})(?::(\d{2})(.\d+)?)?((?:[+-](\d{2}):(\d{2}))|Z)?)?$/; } var _348=dojo.date.stamp._isoRegExp.exec(_346),_349=null; if(_348){ _348.shift(); if(_348[1]){ _348[1]--; } if(_348[6]){ _348[6]*=1000; } if(_347){ _347=new Date(_347); _345.forEach(_345.map(["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],function(prop){ return _347["get"+prop](); }),function(_34a,_34b){ _348[_34b]=_348[_34b]||_34a; }); } _349=new Date(_348[0]||1970,_348[1]||0,_348[2]||1,_348[3]||0,_348[4]||0,_348[5]||0,_348[6]||0); if(_348[0]<100){ _349.setFullYear(_348[0]||1970); } var _34c=0,_34d=_348[7]&&_348[7].charAt(0); if(_34d!="Z"){ _34c=((_348[8]||0)*60)+(Number(_348[9])||0); if(_34d!="-"){ _34c*=-1; } } if(_34d){ _34c-=_349.getTimezoneOffset(); } if(_34c){ _349.setTime(_349.getTime()+_34c*60000); } } return _349; }; dojo.date.stamp.toISOString=function(_34e,_34f){ var _350=function(n){ return (n<10)?"0"+n:n; }; _34f=_34f||{}; var _351=[],_352=_34f.zulu?"getUTC":"get",date=""; if(_34f.selector!="time"){ var year=_34e[_352+"FullYear"](); date=["0000".substr((year+"").length)+year,_350(_34e[_352+"Month"]()+1),_350(_34e[_352+"Date"]())].join("-"); } _351.push(date); if(_34f.selector!="date"){ var time=[_350(_34e[_352+"Hours"]()),_350(_34e[_352+"Minutes"]()),_350(_34e[_352+"Seconds"]())].join(":"); var _353=_34e[_352+"Milliseconds"](); if(_34f.milliseconds){ time+="."+(_353<100?"0":"")+_350(_353); } if(_34f.zulu){ time+="Z"; }else{ if(_34f.selector!="time"){ var _354=_34e.getTimezoneOffset(); var _355=Math.abs(_354); time+=(_354>0?"-":"+")+_350(Math.floor(_355/60))+":"+_350(_355%60); } } _351.push(time); } return _351.join("T"); }; return dojo.date.stamp; }); },"dojo/Stateful":function(){ define("dojo/Stateful",["./_base/kernel","./_base/declare","./_base/lang","./_base/array"],function(dojo,_356,lang,_357){ return dojo.declare("dojo.Stateful",null,{postscript:function(_358){ if(_358){ lang.mixin(this,_358); } },get:function(name){ return this[name]; },set:function(name,_359){ if(typeof name==="object"){ for(var x in name){ this.set(x,name[x]); } return this; } var _35a=this[name]; this[name]=_359; if(this._watchCallbacks){ this._watchCallbacks(name,_35a,_359); } return this; },watch:function(name,_35b){ var _35c=this._watchCallbacks; if(!_35c){ var self=this; _35c=this._watchCallbacks=function(name,_35d,_35e,_35f){ var _360=function(_361){ if(_361){ _361=_361.slice(); for(var i=0,l=_361.length;i_371.maxItems){ _372("There must be a maximum of "+_371.maxItems+" in the array"); } }else{ if(_371.properties){ _36e.concat(_379(_370,_371.properties,path,_371.additionalProperties)); } } if(_371.pattern&&typeof _370=="string"&&!_370.match(_371.pattern)){ _372("does not match the regex pattern "+_371.pattern); } if(_371.maxLength&&typeof _370=="string"&&_370.length>_371.maxLength){ _372("may only be "+_371.maxLength+" characters long"); } if(_371.minLength&&typeof _370=="string"&&_370.length<_371.minLength){ _372("must be at least "+_371.minLength+" characters long"); } if(typeof _371.minimum!==undefined&&typeof _370==typeof _371.minimum&&_371.minimum>_370){ _372("must have a minimum value of "+_371.minimum); } if(typeof _371.maximum!==undefined&&typeof _370==typeof _371.maximum&&_371.maximum<_370){ _372("must have a maximum value of "+_371.maximum); } if(_371["enum"]){ var _37a=_371["enum"]; l=_37a.length; var _37b; for(var j=0;j=0):(this.current===_389); }; fsm.can=function(_38a){ return !this.transition&&(map[_38a].hasOwnProperty(this.current)||map[_38a].hasOwnProperty(_382.WILDCARD)); }; fsm.cannot=function(_38b){ return !this.can(_38b); }; fsm.transitions=function(){ return _388[this.current]; }; fsm.isFinished=function(){ return this.is(_385); }; fsm.error=cfg.error||function(name,from,to,args,_38c,msg,e){ throw e||msg; }; if(_384&&!_384.defer){ fsm[_384.event](); } return fsm; },doCallback:function(fsm,func,name,from,to,args){ if(func){ try{ return func.apply(fsm,[name,from,to].concat(args)); } catch(e){ return fsm.error(name,from,to,args,_382.Error.INVALID_CALLBACK,"an exception occurred in a caller-provided callback function",e); } } },beforeAnyEvent:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onbeforeevent"],name,from,to,args); },afterAnyEvent:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onafterevent"]||fsm["onevent"],name,from,to,args); },leaveAnyState:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onleavestate"],name,from,to,args); },enterAnyState:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onenterstate"]||fsm["onstate"],name,from,to,args); },changeState:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onchangestate"],name,from,to,args); },beforeThisEvent:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onbefore"+name],name,from,to,args); },afterThisEvent:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onafter"+name]||fsm["on"+name],name,from,to,args); },leaveThisState:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onleave"+from],name,from,to,args); },enterThisState:function(fsm,name,from,to,args){ return _382.doCallback(fsm,fsm["onenter"+to]||fsm["on"+to],name,from,to,args); },beforeEvent:function(fsm,name,from,to,args){ if((false===_382.beforeThisEvent(fsm,name,from,to,args))||(false===_382.beforeAnyEvent(fsm,name,from,to,args))){ return false; } },afterEvent:function(fsm,name,from,to,args){ _382.afterThisEvent(fsm,name,from,to,args); _382.afterAnyEvent(fsm,name,from,to,args); },leaveState:function(fsm,name,from,to,args){ var _38d=_382.leaveThisState(fsm,name,from,to,args),_38e=_382.leaveAnyState(fsm,name,from,to,args); if((false===_38d)||(false===_38e)){ return false; }else{ if((_382.ASYNC===_38d)||(_382.ASYNC===_38e)){ return _382.ASYNC; } } },enterState:function(fsm,name,from,to,args){ _382.enterThisState(fsm,name,from,to,args); _382.enterAnyState(fsm,name,from,to,args); },buildEvent:function(name,map){ return function(){ var from=this.current; var to=map[from]||map[_382.WILDCARD]||from; var args=Array.prototype.slice.call(arguments); if(this.transition){ return this.error(name,from,to,args,_382.Error.PENDING_TRANSITION,"event "+name+" inappropriate because previous transition did not complete"); } if(this.cannot(name)){ return this.error(name,from,to,args,_382.Error.INVALID_TRANSITION,"event "+name+" inappropriate in current state "+this.current); } if(false===_382.beforeEvent(this,name,from,to,args)){ return _382.Result.CANCELLED; } if(from===to){ _382.afterEvent(this,name,from,to,args); return _382.Result.NOTRANSITION; } var fsm=this; this.transition=function(){ fsm.transition=null; fsm.current=to; _382.enterState(fsm,name,from,to,args); _382.changeState(fsm,name,from,to,args); _382.afterEvent(fsm,name,from,to,args); return _382.Result.SUCCEEDED; }; this.transition.cancel=function(){ fsm.transition=null; _382.afterEvent(fsm,name,from,to,args); }; var _38f=_382.leaveState(this,name,from,to,args); if(false===_38f){ this.transition=null; return _382.Result.CANCELLED; }else{ if(_382.ASYNC===_38f){ return _382.Result.PENDING; }else{ if(this.transition){ return this.transition(); } } } }; }}; if(typeof exports!=="undefined"){ if(typeof module!=="undefined"&&module.exports){ exports=module.exports=_382; } exports.StateMachine=_382; }else{ if(typeof define==="function"&&define.amd){ define("javascript-state-machine/state-machine",function(_390){ return _382; }); }else{ if(typeof window!=="undefined"){ window.StateMachine=_382; }else{ if(typeof self!=="undefined"){ self.StateMachine=_382; } } } } }()); },"dojo/NodeList-traverse":function(){ define("dojo/NodeList-traverse",["./query","./_base/lang","./_base/array"],function(_391,lang,_392){ var _393=_391.NodeList; lang.extend(_393,{_buildArrayFromCallback:function(_394){ var ary=[]; for(var i=0;i\r\n
    \r\n
    \r\n
    \r\n ${_i18n.outageSearchInputLabel}\r\n
    \r\n ${_i18n.outageSearchErrorMessage}\r\n
    \r\n
    \r\n
    \r\n \r\n Go\r\n
    \r\n \r\n
    ${_i18n.outageSearchTipContent}
    \r\n
    "}}); define("sce/form/OutageSearch",["dojo/_base/declare","dojo/_base/lang","dojo/Evented","dojo/_base/event","dojo/_base/xhr","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","sce/analytics/_OutageSearch-Analytics","sce/service/_OutageService","sce/_Validation","dojo/i18n!sce/nls/common","dojo/i18n!sce/nls/service_uri","dojo/text!./templates/OutageSearch.html","sce/form/TextBox","sce/form/Button","sce/Drawer"],function(_3a5,lang,_3a6,_3a7,xhr,_3a8,_3a9,_3aa,_3ab,_3ac,_3ad,i18n,_3ae,_3af){ var _3b0=_3a5("sce.form.OutageSearch",[_3a8,_3a9,_3aa,_3a6,_3ab],{templateString:_3af,_i18n:i18n,action:"#",_setActionAttr:{node:"searchOutageForm",type:"attribute",attribute:"action"},method:"GET",_setMethodAttr:{node:"searchOutageForm",type:"attribute",attribute:"method"},value:"",_setValueAttr:{node:"outageSearchTextbox",type:"attribute",attribute:"value"},_getValueAttr:function(){ if(this.outageSearchTextbox){ return this.outageSearchTextbox.get("value"); } },outageStatusService:_3ae.checkOutageStatusUri,outageCurrentTarget:"outage-mapview.html",outageNotCurrentTarget:"outage-searchresults.html",name:"",submitHandler:function(_3b1){ var oid=this.get("value"); if(_3ad.isValidForm(_3b1.target).result){ this.emit("search",{searchTerm:oid}); xhr.get({url:this.outageStatusService,handleAs:"json",content:{"OANNumber":oid},failOk:true,load:lang.hitch(this,function(data){ if((data.status===true)||(data.status==="true")){ window.location=(this.outageCurrentTarget+"?oannumber="+oid); }else{ window.location=(this.outageNotCurrentTarget+"?oannumber="+oid); } }),error:lang.hitch(this,function(){ window.location=(this.outageNotCurrentTarget+"?oannumber="+oid); })}); }else{ this.outageSearchTextbox.showErrorStyle(); } _3a7.stop(_3b1); },startup:function(){ this.infotipDrawer.attachLinkNode(this.infotipButton); this.inherited(arguments); }}); return _3b0; }); },"sce/Card":function(){ require({cache:{"url:sce/templates/Card.html":"
    \r\n
    \r\n
    "}}); define("sce/Card",["dojo/_base/declare","dojo/Evented","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/text!./templates/Card.html"],function(_3b2,_3b3,_3b4,_3b5,_3b6){ var Card=_3b2("sce.Card",[_3b4,_3b5,_3b3],{templateString:_3b6,headingLevel:2,focusHandler:function(e){ this.emit("cardFocus",{focussedCard:this}); },keydownHandler:function(e){ this.emit("cardKeydown",{focussedCard:this,key:e.keyCode}); }}); return Card; }); },"sce/form/TextBox":function(){ require({cache:{"url:sce/form/templates/TextBox.html":"
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n\t\t\t\t\t\r\n\t\t\t\t
    \r\n
    \r\n
    \r\n
    information\r\n\t\t
    \r\n
    \r\n
    \r\n
    error
    \r\n\t\t
    \r\n\t
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    "}}); define("sce/form/TextBox",["dojo/_base/declare","dojo/_base/array","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","sce/_Validation","dojo/Evented","dojo/dom","dojo/on","dojo/_base/lang","dojo/dom-class","dojo/dom-attr","dojo/dom-construct","dojo/query","dojo/dom-style","dojo/_base/fx","dojo/fx","dojo/dom-geometry","dojo/keys","dojo/mouse","dojo/window","dojo/parser","dojo/_base/event","dijit/registry","dojo/i18n!sce/nls/common","dijit/form/_TextBoxMixin","dojo/text!./templates/TextBox.html","sce/ScrollablePane"],function(_3b7,_3b8,_3b9,_3ba,_3bb,_3bc,_3bd,dom,on,lang,_3be,_3bf,_3c0,_3c1,_3c2,fx,_3c3,_3c4,keys,_3c5,win,_3c6,_3c7,_3c8,i18n,_3c9,_3ca){ var _3cb=_3b7("sce.form.TextBox",[_3b9,_3ba,_3c9,_3bb,_3bc,_3bd],{templateString:_3ca,widgetsInTemplate:false,textbox:null,_props:null,_showInfotip:false,_showCtaLink:false,_currentState:0,_timer:null,_showInfotip:false,_currentMode:"normal",_dataStore:null,_activeQueryFn:null,_typeaheadMode:null,_onKeyUpTypeaheadHandler:null,_onKeyDownTypeaheadHandler:null,_onFocusTypeaheadHandler:null,_documentConnectionHandler:null,_widgetConnectionHandler:null,_widgetConnectionHandler2:null,_typeaheadInit:false,_currentSelectedNode:null,_typeAheadOpen:false,_originalErrorMessage:"",alternateCtaPosition:false,required:false,validation:[],type:"text",keyboardTypes:["text","password","email","tel","number","search","url"],disabled:false,readonly:false,name:"",autocomplete:"off",label:"",value:"",mode:"normal",maxLength:"",typeahead:false,activeQuery:false,maxOptions:20,noSubmit:false,clearErrorOnKey:true,clearErrorOnBlur:false,postMixInProperties:function(){ for(var _3cc in this.typeMapping){ if(_3b8.indexOf(this.validation,_3cc)>=0){ this.type=this.typeMapping[_3cc]; } } this.inherited(arguments); },postCreate:function(){ this.domNode.id=(this.id+"_container"); var _3cd=new Object(); _3cd["disabled"]=this.disabled; _3cd["readOnly"]=this.readonly; _3cd["autocomplete"]=this.autocomplete; _3cd["id"]=this.id; _3cd["name"]=this.id; if(this.name!=""){ _3cd["name"]=this.name; }else{ if(this.noSubmit==true){ _3cd["name"]=""; } } if(_3b8.indexOf(this.keyboardTypes,this.type)<0){ _3cd["type"]=this.keyboardTypes[0]; }else{ _3cd["type"]=this.type; } _3cd["maxlength"]=this.maxLength; _3cd["novalidate"]="novalidate"; this._props=_3cd; _3bf.remove(this.domNode,"tabindex"); this.textbox=_3c0.create("input",this._props); var _3ce=on(this.textbox,"change",lang.hitch(this,function(_3cf){ _3be.add(this.textboxContainer,"notEmpty"); _3ce.remove(); })); _3c0.place(this.textbox,this.textboxContainerInner); this.inherited(arguments); },startup:function(){ if(this.disabled){ this._setDisabledAttr(true); } if(this.readonly){ this._setReadonlyAttr(true); } if(this.noSubmit){ _3bf.remove(dom.byId(this.id),"name"); } var _3d0=_3c1("label#"+this.id+"_label .errorContent",this.domNode); if(_3d0.length>0){ var _3d1=dom.byId(this.id+"_errorContainerMessage"); _3d1.innerHTML=_3d0[0].innerHTML; this._originalErrorMessage=_3d1.innerHTML; _3c0.destroy(_3d0[0]); } var _3d2=_3c1("label#"+this.id+"_label .infotipContent",this.domNode); if((_3d2.length>0)&&(_3d2[0].textContent.trim().length>0)){ var _3d3=_3c0.create("div",{}); _3c0.place(_3d2[0],_3d3,"last"); var _3d4=_3c1("label#"+this.id+"_label",this.domNode)[0]; _3c0.place(_3d3,_3d4,"last"); require(["sce/Drawer"],lang.hitch(this,function(_3d5){ var _3d6={collapsed:true,id:this.id+"_drawer",srcNodeRef:_3d3,style:"display:none;",targetLink:"#"+this.id+"_iconInfotipContainer",backgroundColor:"#404040",borderStyle:"1px solid #404040",useTitle:false,showClose:false}; this._drawerNode=new _3d5(_3d6).placeAt(_3c1(".outerContainer",this.domNode)[0],"last"); _3c8.byId(this.id+"_drawer").startup(); on(this._drawerNode.drawerContentContainer,"keypress",lang.hitch(this,function(e){ if(e.charCode==keys.SPACE||e.keyCode==keys.ENTER){ _3c7.stop(e); this._drawerNode.toggle(); }else{ return true; } })); })); _3c2.set(dom.byId(this.id+"_iconInfotipContainer"),"display","inline-block"); _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","2.6875em"); _3c2.set(dom.byId(this.id),"paddingRight","1px"); dom.byId(this.id+"_iconInfotipContainer").innerHTML=""+i18n.informationAboutText+" "+_3c1("label#"+this.id+"_label",this.domNode)[0].innerHTML.trim()+""; _3c0.destroy(_3d3); this._showInfotip=true; } if(this.disabled){ _3bf.set(dom.byId(this.id),"aria-disabled","true"); }else{ _3bf.set(dom.byId(this.id),"aria-disabled","false"); } if(this.required||this.isRequired()){ _3bf.set(dom.byId(this.id),"aria-required","true"); }else{ _3bf.set(dom.byId(this.id),"aria-required","false"); } _3bf.set(dom.byId(this.id),"aria-invalid","false"); this.label=_3c1("label#"+this.id+"_label",this.domNode)[0].innerHTML; dom.byId(this.id+"_secondaryLabel").innerHTML=this.label; this.changeMode(this.mode); if(this.typeahead){ this.enableTypeahead(); } on(dom.byId(this.id),"focus",lang.hitch(this,this._onFocus)); on(dom.byId(this.id),"blur",lang.hitch(this,this._onBlur)); on(dom.byId(this.id),"focus",lang.hitch(this,this._setPollTimer)); on(dom.byId(this.id),"blur",lang.hitch(this,this._removePollTimer)); on(dom.byId(this.id),"keyup",lang.hitch(this,this._onKeyup)); this._setValueAttr(this.value); this.inherited(arguments); },changeMode:function(_3d7){ if(_3d7!=this._currentMode){ if(_3d7=="normal"){ _3c2.set(dom.byId(this.id+"_secondaryLabel"),"display","none"); _3c2.set(dom.byId(this.id+"_label"),"display","block"); _3bf.set(dom.byId(this.id+"_label"),"for",this.id); _3bf.remove(dom.byId(this.id+"_secondaryLabel"),"for"); this._currentMode=_3d7; }else{ if(_3d7=="edit"){ _3c2.set(dom.byId(this.id+"_secondaryLabel"),"display","block"); _3c2.set(dom.byId(this.id+"_label"),"display","none"); _3bf.set(dom.byId(this.id+"_secondaryLabel"),"for",this.id); _3bf.remove(dom.byId(this.id+"_label"),"for"); this._currentMode=_3d7; } } } },setErrorMessage:function(_3d8){ dom.byId(this.id+"_errorContainerMessage").innerHTML=_3d8; },showInfoTip:function(){ if(this._drawerNode){ this._drawerNode.show(); } },hideInfoTip:function(){ if(this._drawerNode){ this._drawerNode.hide(); } },showValidStyle:function(){ if(this._currentState==1){ return; } _3bf.remove(dom.byId(this.id),"aria-describedby"); _3bf.set(dom.byId(this.id),"aria-invalid","false"); dom.byId(this.id+"_alert_association").innerHTML=i18n.inputValidText; if(this._showInfotip){ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","5.375em"); }else{ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","2.6875em"); } var fn=function(){ _3be.add(dom.byId(this.id+"_iconStatusContainer"),"valid"); _3be.remove(dom.byId(this.id+"_iconStatusContainer"),"invalid"); _3c2.set(dom.byId(this.id+"_iconStatusContainer"),"opacity","0"); _3c2.set(_3c1(".textboxContainerInner",this.domNode)[0],"paddingRight","1px"); }; if(this._currentState==-1){ var fn2=function(){ _3c2.set(dom.byId(this.id+"_errorContainer"),"display","none"); if(_3c1(".dj_ie8").length==1){ _3c2.set(_3c1("body")[0],{height:"auto"}); _3c2.set(_3c1("body")[0],{height:"100%"}); } }; _3c3.combine([fx.fadeIn({beforeBegin:lang.hitch(this,fn),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}),fx.fadeOut({onEnd:lang.hitch(this,fn2),node:dom.byId(this.id+"_errorContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(this,fn),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}).play(); } _3be.remove(this.domNode,"invalidState"); _3be.remove(this.domNode,"defaultState"); _3be.add(this.domNode,"validState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"invalidState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"defaultState"); _3be.add(dom.byId(this.id+"_textboxContainer"),"validState"); if(_3c1(".dj_ie8").length==1){ _3c2.set(_3c1("body")[0],{height:"auto"}); _3c2.set(_3c1("body")[0],{height:"100%"}); } this._currentState=1; this.inherited(arguments); },showErrorStyle:function(_3d9){ if(_3d9==null){ dom.byId(this.id+"_errorContainerMessage").innerHTML=this._originalErrorMessage; }else{ dom.byId(this.id+"_errorContainerMessage").innerHTML=_3d9; } if(this._currentState==-1){ return; } if(this.disabled==true||this.readonly==true){ this.showDefaultStyle(); return; } _3bf.set(dom.byId(this.id),"aria-describedby",this.id+"_errorContainerMessage"); _3bf.set(dom.byId(this.id),"aria-invalid","true"); dom.byId(this.id+"_alert_association").innerHTML=i18n.invalidInputText; if(this._showInfotip){ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","2.6875em"); }else{ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","0"); } var _3da=dom.byId(this.id+"_errorContainer"); var fn=function(){ _3c2.set(_3da,"opacity","0"); _3c2.set(_3da,"display","block"); _3c2.set(_3c1(".textboxContainerInner",this.domNode)[0],"paddingRight","0px"); }; var fn2=function(){ _3be.remove(dom.byId(this.id+"_iconStatusContainer"),"valid"); _3be.add(dom.byId(this.id+"_iconStatusContainer"),"invalid"); if(_3c1(".dj_ie8").length==1){ _3c2.set(_3c1("body")[0],{height:"auto"}); _3c2.set(_3c1("body")[0],{height:"100%"}); } }; if(this._currentState==1){ _3c3.combine([fx.fadeIn({beforeBegin:lang.hitch(this,fn),onEnd:lang.hitch(this,fn2),node:_3da,duration:300}),fx.fadeOut({node:dom.byId(this.id+"_iconStatusContainer"),duration:300})]).play(); }else{ fx.fadeIn({beforeBegin:lang.hitch(this,fn),onEnd:lang.hitch(this,fn2),node:_3da,duration:300}).play(); } _3be.remove(this.domNode,"validState"); _3be.remove(this.domNode,"defaultState"); _3be.add(this.domNode,"invalidState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"validState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"defaultState"); _3be.add(dom.byId(this.id+"_textboxContainer"),"invalidState"); this._currentState=-1; this.inherited(arguments); },showDefaultStyle:function(){ if(this._currentState==0){ return; } _3bf.remove(dom.byId(this.id),"aria-describedby"); _3bf.set(dom.byId(this.id),"aria-invalid","false"); dom.byId(this.id+"_alert_association").innerHTML=""; if(this._showInfotip){ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","2.6875em"); }else{ _3c2.set(dom.byId(this.id+"_textboxContainer"),"paddingRight","0"); } _3c2.set(_3c1(".textboxContainerInner",this.domNode)[0],"paddingRight","0px"); var fn=function(){ _3be.remove(dom.byId(this.id+"_iconStatusContainer"),"valid"); _3be.remove(dom.byId(this.id+"_iconStatusContainer"),"invalid"); _3c2.set(dom.byId(this.id+"_errorContainer"),"display","none"); if(_3c1(".dj_ie8").length==1){ _3c2.set(_3c1("body")[0],{height:"auto"}); _3c2.set(_3c1("body")[0],{height:"100%"}); } }; if(this._currentState==-1){ fx.fadeOut({beforeBegin:lang.hitch(this,fn),node:dom.byId(this.id+"_errorContainer"),duration:300}).play(); }else{ fx.fadeOut({beforeBegin:lang.hitch(this,fn),node:dom.byId(this.id+"_iconStatusContainer"),duration:300}).play(); } _3be.remove(this.domNode,"invalidState"); _3be.remove(this.domNode,"validState"); _3be.add(this.domNode,"defaultState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"invalidState"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"validState"); _3be.add(dom.byId(this.id+"_textboxContainer"),"defaultState"); if(_3c1(".dj_ie8").length==1){ _3c2.set(_3c1("body")[0],{height:"auto"}); _3c2.set(_3c1("body")[0],{height:"100%"}); } this._currentState=0; this.inherited(arguments); },markAsComboBox:function(){ _3bf.set(dom.byId(this.id),"aria-autocomplete","inline"); _3bf.set(this.domNode,"role","combobox"); _3bf.set(this.domNode,"aria-expanded","true"); _3bf.set(this.domNode,"aria-owns",this.id+"_typeaheadContainer"); _3bf.set(dom.byId(this.id),"tabindex","0"); },unmarkAsComboBox:function(){ _3bf.remove(dom.byId(this.id),"aria-autocomplete"); _3bf.remove(this.domNode,"role"); _3bf.remove(this.domNode,"aria-expanded"); _3bf.remove(this.domNode,"aria-owns"); _3bf.remove(dom.byId(this.id),"tabindex"); },enableTypeahead:function(){ if(!this._typeaheadInit){ _3c0.place(dom.byId(this.id+"_typeaheadShell"),_3c1("body")[0],"last"); _3c6.parse(dom.byId(this.id+"_typeaheadShell")); this.registerResponsiveFunction(lang.hitch(this,this._resize),null,null); this._typeaheadInit=true; } this._attachTypeaheadHandlers(); this.typeahead=true; _3c8.byId(this.id+"_ScrollPane")._resize(); },disableTypeahead:function(){ this._detachTypeaheadHandlers(); this.typeahead=false; },setActiveQueryFunction:function(fn){ if(fn==null){ this._typeaheadMode=null; this._detachTypeaheadHandlers(); return; } this._typeaheadMode="dynamic"; this._attachTypeaheadHandlers(); },setDataStore:function(_3db,_3dc){ if(_3db==null){ this._typeaheadMode=null; this._detachTypeaheadHandlers(); return; } this._typeaheadMode="static"; if(_3dc!=null){ _3db.sort(_3dc); } this._dataStore=_3db; this._attachTypeaheadHandlers(); },changeTypeaheadMode:function(mode){ if(mode=="dynamic"||mode=="static"){ this._typeaheadMode=mode; } },isValidPlain:function(){ return this._isValidPlain(_3c8.byId(this.id).get("value")); },isValidNameFormat:function(){ return this._isValidName(_3c8.byId(this.id).get("value")); },isValidEmail:function(){ return this._isValidEmail(_3c8.byId(this.id).get("value")); },isEmpty:function(){ return this._isEmpty(_3c8.byId(this.id).get("value")); },isValidNumber:function(){ return this._isValidNumber(_3c8.byId(this.id).get("value")); },isValidAlphaNumeric:function(){ return this._isValidAlphaNumeric(_3c8.byId(this.id).get("value")); },isValidUnitNo:function(){ return this._isValidUnitNo(_3c8.byId(this.id).get("value")); },isValidZip:function(){ return this._isValidZip(_3c8.byId(this.id).get("value")); },liveValidateEmail:function(){ return this._liveValidateEmail(dom.byId(this.id)); },liveValidateNumber:function(){ return this._liveValidateNumber(dom.byId(this.id)); },liveValidateName:function(){ return this._liveValidateName(dom.byId(this.id)); },liveValidateAlphaNumeric:function(){ return this._liveValidateAlphaNumeric(dom.byId(this.id)); },liveValidatePlain:function(){ return this._liveValidatePlain(dom.byId(this.id)); },liveValidateZipCode:function(){ return this._liveValidateZipCode(dom.byId(this.id)); },isValidIntlZip:function(){ return this._isValidIntlZip(_3c8.byId(this.id).get("value")); },isValidZipExtension:function(){ return this._isValidZipExtension(_3c8.byId(this.id).get("value")); },isValidAccountNo:function(){ return this._isValidAccountNo(_3c8.byId(this.id).get("value")); },isValidPhoneNo:function(){ return this._isValidPhoneNo(_3c8.byId(this.id).get("value")); },isValidPhoneExt:function(){ return this._isValidPhoneExt(_3c8.byId(this.id).get("value")); },isValidDriversLicense:function(){ return this._isValidDriversLicense(_3c8.byId(this.id).get("value")); },isValidSSN:function(){ return this._isValidSSN(_3c8.byId(this.id).get("value")); },isValidTIN:function(){ return this._isValidTIN(_3c8.byId(this.id).get("value")); },liveValidateAccountNumber:function(){ this._liveValidateAccountNumber(dom.byId(this.id)); },liveValidatePhoneNumber:function(){ this._liveValidatePhoneNumber(dom.byId(this.id)); },_setValueAttr:function(_3dd){ var _3de=this.value; if(_3de!==_3dd){ this.showDefaultStyle(); } this._set("value",_3dd); if(_3dd!=""){ _3be.add(dom.byId(this.textboxContainer),"notEmpty"); }else{ _3be.remove(dom.byId(this.textboxContainer),"notEmpty"); } if(this.textbox){ this.inherited(arguments); } },_getDisabledAttr:function(){ return this.disabled; },_setDisabledAttr:function(_3df){ if(dom.byId(this.id+"_textboxContainer")==null){ return; } this.disabled=_3df; dom.byId(this.id).disabled=_3df; if(this.disabled){ _3bf.set(dom.byId(this.id),"aria-disabled","true"); _3be.add(dom.byId(this.id+"_textboxContainer"),"disabled"); }else{ _3bf.set(dom.byId(this.id),"aria-disabled","false"); _3be.remove(dom.byId(this.id+"_textboxContainer"),"disabled"); } if(this.disabled==true){ this.showDefaultStyle(); } },_getReadonlyAttr:function(){ return this.disabled; },_setReadonlyAttr:function(_3e0){ if(dom.byId(this.id+"_textboxContainer")==null){ return; } this.readonly=_3e0; dom.byId(this.id).readOnly=_3e0; if(this.readonly){ _3be.add(dom.byId(this.id+"_textboxContainer"),"disabled"); _3bf.set(dom.byId(this.id),"readonly","readonly"); _3bf.remove(dom.byId(this.id),"aria-required"); }else{ _3be.remove(dom.byId(this.id+"_textboxContainer"),"disabled"); _3bf.remove(dom.byId(this.id),"readonly"); _3bf.set(dom.byId(this.id),"aria-required",this.required); } if(this.readonly){ this.showDefaultStyle(); } },_onFocus:function(){ _3be.add(dom.byId(this.id+"_textboxContainer"),"focused"); this.inherited(arguments); },_onBlur:function(){ _3be.remove(dom.byId(this.id+"_textboxContainer"),"focused"); if(this.clearErrorOnBlur){ this.showDefaultStyle(); } if(this.required){ if(dom.byId(this.id).value==""){ this.showErrorStyle(); } } this.inherited(arguments); },_onKeyup:function(e){ if(dom.byId(this.id).value!=""){ _3be.add(dom.byId(this.id+"_textboxContainer"),"notEmpty"); }else{ _3be.remove(dom.byId(this.id+"_textboxContainer"),"notEmpty"); } if(this.clearErrorOnKey){ if(!(e!=null&&(e.keyCode==9||e.keyCode==16||e.keyCode==13))){ this.showDefaultStyle(); } } this.inherited(arguments); },_onInterval:function(){ if(dom.byId(this.id).value!=""){ _3be.add(dom.byId(this.id+"_textboxContainer"),"notEmpty"); }else{ _3be.remove(dom.byId(this.id+"_textboxContainer"),"notEmpty"); } },_setPollTimer:function(){ clearInterval(this._timer); this._timer=setInterval(lang.hitch(this,this._onInterval),400); },_removePollTimer:function(){ clearInterval(this._timer); },_detachTypeaheadHandlers:function(){ if(this._onKeyUpTypeaheadHandler!=null){ this._onKeyUpTypeaheadHandler.remove(); this._onKeyUpTypeaheadHandler=null; } if(this._onKeyDownTypeaheadHandler!=null){ this._onKeyDownTypeaheadHandler.remove(); this._onKeyDownTypeaheadHandler=null; } if(this._onFocusTypeaheadHandler!=null){ this._onFocusTypeaheadHandler.remove(); this._onFocusTypeaheadHandler=null; } },_attachTypeaheadHandlers:function(){ if(!this.typeahead||this._typeaheadMode==null||(this._dataStore==null&&this._activeQueryFn==null)){ return; } this._onKeyUpTypeaheadHandler=on(dom.byId(this.id),"keyup",lang.hitch(this,this._onKeyUpTypeahead)); this._onFocusTypeaheadHandler=on(dom.byId(this.id),"focus",lang.hitch(this,this._onFocusTypeahead)); this._onKeyDownTypeaheadHandler=on(dom.byId(this.id),"keydown",lang.hitch(this,this._onKeyDownTypeahead)); },_showTypeahead:function(){ this.markAsComboBox(); this._resize(); if(this._documentConnectionHandler==null){ this._documentConnectionHandler=on(document,"click",lang.hitch(this,this._onClickDocument)); } if(this._widgetConnectionHandler==null){ this._widgetConnectionHandler=on(dom.byId(this.id+"_typeaheadShell"),"click",lang.hitch(this,this._onClickWidget)); } if(this._widgetConnectionHandler2==null){ this._widgetConnectionHandler2=on(dom.byId(this.id+"_container"),"click",lang.hitch(this,this._onClickWidget)); } _3c2.set(dom.byId(this.id+"_typeaheadShell"),"display","block"); _3c8.byId(this.id+"_ScrollPane")._flashScrollBar(); this._typeAheadOpen=true; _3bf.set(dom.byId(this.id+"_typeaheadContainer"),"aria-expanded","true"); },_hideTypeahead:function(){ this.unmarkAsComboBox(); if(this._documentConnectionHandler!=null){ this._documentConnectionHandler.remove(); this._documentConnectionHandler=null; } if(this._widgetConnectionHandler!=null){ this._widgetConnectionHandler.remove(); this._widgetConnectionHandler=null; } if(this._widgetConnectionHandler2!=null){ this._widgetConnectionHandler2.remove(); this._widgetConnectionHandler2=null; } this._currentSelectedNode=null; _3c2.set(dom.byId(this.id+"_typeaheadShell"),"display","none"); this._typeAheadOpen=false; _3bf.set(dom.byId(this.id+"_typeaheadContainer"),"aria-expanded","false"); },_resize:function(){ var _3e1=_3c1(".outerContainer",dom.byId(this.id+"_container"))[0]; var _3e2=_3c4.position(_3e1,true); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"top",(_3e2.y+_3e2.h-1)+"px"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"left",_3e2.x+"px"); var _3e3=_3e2.w; _3c2.set(dom.byId(this.id+"_typeaheadShell"),"width",_3e3+"px"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"visibility","hidden"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"display","block"); var _3e4=_3c4.position(dom.byId(this.id+"_ScrollPane_scrollablePane_Content")).h+1; var _3e5=win.getBox().h-_3c4.position(_3e1).y-_3c4.position(_3e1).h; var _3e6=_3c4.position(_3e1).y; if(_3e4<=_3e5){ _3c2.set(dom.byId(this.id+"_typeaheadShell"),"height","auto"); _3be.remove(dom.byId(this.id+"_typeaheadShell"),"reverse"); }else{ if(_3e4<=_3e6){ _3be.add(dom.byId(this.id+"_typeaheadShell"),"reverse"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"height","auto"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"top",(_3e2.y-_3e4)+"px"); }else{ var _3e7=Math.max(_3e5,_3e6)-10; if(_3e5>=_3e6){ _3c2.set(dom.byId(this.id+"_typeaheadShell"),"height",_3e7+"px"); _3be.remove(dom.byId(this.id+"_typeaheadShell"),"reverse"); }else{ _3be.add(dom.byId(this.id+"_typeaheadShell"),"reverse"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"height",_3e7+"px"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"top",(_3e2.y-_3e7)+"px"); } } } _3c8.byId(this.id+"_ScrollPane")._resize(); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"display","none"); _3c2.set(dom.byId(this.id+"_typeaheadShell"),"visibility","visible"); },_onClickDocument:function(e){ if(e.which!=undefined&&e.which!=null&&e.which==3){ return; } if(_3c1(".dj_gecko").length>0&&e.hasOwnProperty("explicitOriginalTarget")){ if(e.explicitOriginalTarget.id==this.id){ return; } } this._hideTypeahead(); },_onClickWidget:function(e){ e.stopPropagation(); },_refreshTypeahead:function(){ _3bf.set(dom.byId(this.id),"aria-busy","true"); this._removeAllOptions(); this._currentSelectedNode=null; var _3e8=0; var _3e9=dom.byId(this.id).value; _3e9=_3e9.replace(/\./g,""); _3e9=_3e9.replace(/,/g,""); _3e9=_3e9.replace(/#/g,""); var _3ea=_3e9.length; var _3eb=Math.min(this._dataStore.length,this.maxOptions); for(var i=0;i=_3eb){ break; } } } if(_3e8>0){ this._showTypeahead(); }else{ this._hideTypeahead(); } _3bf.remove(dom.byId(this.id),"aria-busy"); },_addOption:function(_3ec,_3ed){ var _3ee=_3c1(".option",dom.byId(this.id+"_typeaheadContainer")); if(_3ee.length==0){ var _3ef=dom.byId(this.id+"_typeaheadContainer"); _3bf.set(_3ef,"role","listbox"); _3bf.set(_3ef,"aria-expanded","false"); _3bf.set(_3ef,"aria-label","listbox for "+this.id); _3bf.set(_3ef,"tabindex","0"); } var _3f0=_3c0.create("div",{innerHTML:_3ec,className:"option",tabindex:"-1",role:"option"}); if(typeof _3ed!=="undefined"){ _3bf.set(_3f0,"data-storeid",_3ed); } _3c0.place(_3f0,dom.byId(this.id+"_typeaheadContainer"),"last"); on(_3f0,_3c5.enter,lang.hitch(this,this._onMouseEnterOption,_3f0)); on(_3f0,"click",lang.hitch(this,this._onClickOption,_3f0)); },_removeAllOptions:function(){ var _3f1=_3c1(".option",dom.byId(this.id+"_typeaheadContainer")); for(var i=0;i<_3f1.length;i++){ _3c0.destroy(_3f1[i]); } var _3f2=dom.byId(this.id+"_typeaheadContainer"); _3bf.remove(_3f2,"role"); _3bf.remove(_3f2,"aria-expanded"); _3bf.remove(_3f2,"aria-label"); _3bf.remove(_3f2,"tabindex"); },_onFocusTypeahead:function(e){ if(this._typeaheadMode=="static"){ if(!this._typeAheadOpen){ this._refreshTypeahead(); } }else{ } },_onKeyUpTypeahead:function(e){ if(e!=null){ if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){ return; }else{ if(e.keyCode==keys.ESCAPE){ this._hideTypeahead(); _3c7.stop(e); return; }else{ if(e.keyCode==keys.ENTER){ if(this._currentSelectedNode!=null){ this.set("value",this._currentSelectedNode.innerText||this._currentSelectedNode.text||this._currentSelectedNode.textContent); this.emit("item",{target:this._currentSelectedNode}); this._hideTypeahead(); on.emit(dom.byId(this.id),"select",{bubbles:true,cancelable:true}); return false; } return; } } } } if(this._typeaheadMode=="static"){ this._refreshTypeahead(); }else{ } },_onKeyDownTypeahead:function(e){ if(e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.UP_ARROW){ var _3f3=_3c1(".option",dom.byId(this.id+"_typeaheadContainer")); _3c7.stop(e); if(!this._typeAheadOpen){ return; } if(e.keyCode==keys.DOWN_ARROW){ if(this._currentSelectedNode==null){ _3be.add(_3f3[0],"focused"); this._currentSelectedNode=_3f3[0]; this.emit("item",{target:this._currentSelectedNode}); this._focusSelection(_3f3[0]); }else{ var _3f4=null; for(var i=0;i<_3f3.length;i++){ if(_3f3[i].className.indexOf("focused")>=0){ if(i!=_3f3.length-1){ _3be.remove(_3f3[i],"focused"); } if(i+1<_3f3.length){ _3f4=_3f3[i+1]; } } } if(_3f4!=null){ _3be.add(_3f4,"focused"); this._currentSelectedNode=_3f4; this.emit("item",{target:this._currentSelectedNode}); this._focusSelection(_3f4); } } }else{ if(e.keyCode==keys.UP_ARROW&&this._currentSelectedNode!=null){ var _3f4=null; for(var i=0;i<_3f3.length;i++){ if(_3f3[i].className.indexOf("focused")>=0){ if(i!=0){ _3be.remove(_3f3[i],"focused"); } if(i-1>=0){ _3f4=_3f3[i-1]; } } } if(_3f4!=null){ _3be.add(_3f4,"focused"); this._currentSelectedNode=_3f4; this.emit("item",{target:this._currentSelectedNode}); this._focusSelection(_3f4); } } } }else{ if(e.keyCode==keys.ENTER||e.keyCode==keys.ESCAPE){ if(this._typeAheadOpen){ e.preventDefault(); } }else{ if(e.keyCode==keys.TAB){ this._hideTypeahead(); } } } },_onMouseEnterOption:function(node,e){ var _3f5=_3c1(".option",dom.byId(this.id+"_typeaheadContainer")); for(var i=0;i<_3f5.length;i++){ _3be.remove(_3f5[i],"focused"); } _3be.add(node,"focused"); this._currentSelectedNode=node; },_onClickOption:function(node,e){ this._hideTypeahead(); var _3f6=_3c1(".option",dom.byId(this.id+"_typeaheadContainer")); for(var i=0;i<_3f6.length;i++){ _3be.remove(_3f6[i],"focused"); } this.set("value",node.innerText||node.text||node.textContent); on.emit(dom.byId(this.id),"select",{bubbles:true,cancelable:true}); this.emit("item",{target:node}); this.validate(null,true); },_doSelection:function(_3f7,end){ var _3f8=dom.byId(this.id); if(_3f8.createTextRange){ var _3f9=_3f8.createTextRange(); _3f9.collapse(true); _3f9.moveStart("character",_3f7); _3f9.moveEnd("character",end); _3f9.select(); _3f8.focus(); }else{ if(_3f8.setSelectionRange){ _3f8.focus(); _3f8.setSelectionRange(_3f7,end); }else{ if(typeof _3f8.selectionStart!="undefined"){ _3f8.selectionStart=_3f7; _3f8.selectionEnd=end; _3f8.focus(); } } } },_focusSelection:function(_3fa){ _3fa.focus(); var _3fb=dom.byId(this.id); _3fb.value=_3fa.innerText||_3fa.text||_3fa.textContent; _3fb.focus(); this._doSelection(0,_3fa.innerHTML.length); _3fb.focus(); _3c8.byId(this.id+"_ScrollPane").scrollIntoView(_3fa); }}); return _3cb; }); },"dojo/_base/query":function(){ define("dojo/_base/query",["./kernel","../query","./NodeList"],function(dojo){ return dojo.query; }); },"dijit/form/_TextBoxMixin":function(){ define("dijit/form/_TextBoxMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom","dojo/_base/event","dojo/keys","dojo/_base/lang",".."],function(_3fc,_3fd,dom,_3fe,keys,lang,_3ff){ var _400=_3fd("dijit.form._TextBoxMixin",null,{trim:false,uppercase:false,lowercase:false,propercase:false,maxLength:"",selectOnClick:false,placeHolder:"",_getValueAttr:function(){ return this.parse(this.get("displayedValue"),this.constraints); },_setValueAttr:function(_401,_402,_403){ var _404; if(_401!==undefined){ _404=this.filter(_401); if(typeof _403!="string"){ if(_404!==null&&((typeof _404!="number")||!isNaN(_404))){ _403=this.filter(this.format(_404,this.constraints)); }else{ _403=""; } } } if(_403!=null&&_403!=undefined&&((typeof _403)!="number"||!isNaN(_403))&&this.textbox.value!=_403){ this.textbox.value=_403; this._set("displayedValue",this.get("displayedValue")); } if(this.textDir=="auto"){ this.applyTextDir(this.focusNode,_403); } this.inherited(arguments,[_404,_402]); },displayedValue:"",_getDisplayedValueAttr:function(){ return this.filter(this.textbox.value); },_setDisplayedValueAttr:function(_405){ if(_405===null||_405===undefined){ _405=""; }else{ if(typeof _405!="string"){ _405=String(_405); } } this.textbox.value=_405; this._setValueAttr(this.get("value"),undefined); this._set("displayedValue",this.get("displayedValue")); if(this.textDir=="auto"){ this.applyTextDir(this.focusNode,_405); } },format:function(_406){ return ((_406==null||_406==undefined)?"":(_406.toString?_406.toString():_406)); },parse:function(_407){ return _407; },_refreshState:function(){ },onInput:function(){ },__skipInputEvent:false,_onInput:function(){ if(this.textDir=="auto"){ this.applyTextDir(this.focusNode,this.focusNode.value); } this._refreshState(); this._set("displayedValue",this.get("displayedValue")); },postCreate:function(){ this.textbox.setAttribute("value",this.textbox.value); this.inherited(arguments); var _408=function(e){ var _409=e.charOrCode||e.keyCode||229; if(e.type=="keydown"){ switch(_409){ case keys.SHIFT: case keys.ALT: case keys.CTRL: case keys.META: case keys.CAPS_LOCK: return; default: if(_409>=65&&_409<=90){ return; } } } if(e.type=="keypress"&&typeof _409!="string"){ return; } if(e.type=="input"){ if(this.__skipInputEvent){ this.__skipInputEvent=false; return; } }else{ this.__skipInputEvent=true; } var faux=lang.mixin({},e,{charOrCode:_409,wasConsumed:false,preventDefault:function(){ faux.wasConsumed=true; e.preventDefault(); },stopPropagation:function(){ e.stopPropagation(); }}); if(this.onInput(faux)===false){ _3fe.stop(faux); } if(faux.wasConsumed){ return; } setTimeout(lang.hitch(this,"_onInput",faux),0); }; _3fc.forEach(["onkeydown","onkeypress","onpaste","oncut","oninput","oncompositionend"],function(_40a){ this.connect(this.textbox,_40a,_408); },this); },_blankValue:"",filter:function(val){ if(val===null){ return this._blankValue; } if(typeof val!="string"){ return val; } if(this.trim){ val=lang.trim(val); } if(this.uppercase){ val=val.toUpperCase(); } if(this.lowercase){ val=val.toLowerCase(); } if(this.propercase){ val=val.replace(/[^\s]+/g,function(word){ return word.substring(0,1).toUpperCase()+word.substring(1); }); } return val; },_setBlurValue:function(){ this._setValueAttr(this.get("value"),true); },_onBlur:function(e){ if(this.disabled){ return; } this._setBlurValue(); this.inherited(arguments); if(this._selectOnClickHandle){ this.disconnect(this._selectOnClickHandle); } },_isTextSelected:function(){ return this.textbox.selectionStart==this.textbox.selectionEnd; },_onFocus:function(by){ if(this.disabled||this.readOnly){ return; } if(this.selectOnClick&&by=="mouse"){ this._selectOnClickHandle=this.connect(this.domNode,"onmouseup",function(){ this.disconnect(this._selectOnClickHandle); if(this._isTextSelected()){ _400.selectInputText(this.textbox); } }); } this.inherited(arguments); this._refreshState(); },reset:function(){ this.textbox.value=""; this.inherited(arguments); },_setTextDirAttr:function(_40b){ if(!this._created||this.textDir!=_40b){ this._set("textDir",_40b); this.applyTextDir(this.focusNode,this.focusNode.value); } }}); _400._setSelectionRange=_3ff._setSelectionRange=function(_40c,_40d,stop){ if(_40c.setSelectionRange){ _40c.setSelectionRange(_40d,stop); } }; _400.selectInputText=_3ff.selectInputText=function(_40e,_40f,stop){ _40e=dom.byId(_40e); if(isNaN(_40f)){ _40f=0; } if(isNaN(stop)){ stop=_40e.value?_40e.value.length:0; } try{ _40e.focus(); _400._setSelectionRange(_40e,_40f,stop); } catch(e){ } }; return _400; }); },"sce/SetupBar":function(){ require({cache:{"url:sce/templates/SetupBar.html":"
    \r\n
    \r\n
    \r\n \r\n ${_closeSetupTextHidden}\r\n \r\n
    \r\n

    \r\n ${_setupBarDescriptionText1}\r\n \r\n ${_setupBarDescriptionText2}\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n ${_progressText}\r\n \r\n \r\n 0%\r\n \r\n \r\n

    \r\n
    \r\n
    \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n
    \r\n
    \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    "}}); define("sce/SetupBar",["dojo/_base/declare","dojo/html","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","dojo/dom","dojo/query","dojo/dom-style","dojo/_base/fx","dojo/fx","dojo/fx/easing","dojo/dom-geometry","dojo/on","dojo/_base/lang","dojo/_base/event","dojo/dom-class","dojo/cookie","dojo/window","dojo/parser","dijit/registry","dojo/i18n!sce/nls/common","dojo/text!./templates/SetupBar.html","sce/form/Button"],function(_410,html,_411,_412,_413,dom,_414,_415,fx,_416,_417,_418,on,lang,_419,_41a,_41b,win,_41c,_41d,i18n,_41e){ var _41f=_410("sce.SetupBar",[_411,_412,_413],{templateString:_41e,disableStick:false,setupUrl:"",_progressBarWidth:null,_progressBarAttached:true,_closeSetupText:i18n.closeSetupBarText,_closeSetupTextHidden:i18n.collapseDrawer,_progressText:i18n.progressText,_finishSetupText:i18n.finishSetupText,_setupBarDescriptionText1:i18n.setupBarDescriptionText1,_setupBarDescriptionText2:i18n.setupBarDescriptionText2,_scrollRate:0,_animationBusy:false,progress:0,_setProgressAttr:function(_420){ var _421=_420,_422; _421=Math.min(_421,100); _421=Math.max(_421,0); _422=_420.toString(); html.set(this.percentageNodeAria,_422); html.set(this.percentageNodeGraphic,_422); html.set(this.percentageNodeCarrot,_422); this._set("progress",_421); this.drawProgress(_421); },currentStep:0,_setCurrentStepAttr:function(_423){ this._set("currentStep",_423); var _424=_423.toString(); html.set(this.currentStepNodeGraphic,_424); html.set(this.currentStepNodeCarrot,_424); },totalSteps:0,_setTotalStepsAttr:function(_425){ this._set("totalSteps",_425); var _426=_425.toString(); html.set(this.totalStepsNodeGraphic,_426); html.set(this.totalStepsNodeCarrot,_426); },postCreate:function(){ this.inherited(arguments); },startup:function(){ this.inherited(arguments); _41c.parse(this.id); on(_41d.byId(this.id+"_setupButton"),"click",lang.hitch(this,function(){ if(this.setupUrl!=""){ location.assign(this.setupUrl); } })); var _427=_41b(this.id+"_collapsed_state"); if(_427==null||_427=="false"||_427==""){ _415.set(this.domNode,"display","block"); }else{ if(_427=="true"){ this._changeButtonColors(); } } on(this.setupBarClose,"click",lang.hitch(this,this._onClickClose)); if(!this.disableStick&&_414("html.touch").length==0){ on(window,"scroll",lang.hitch(this,this._onWindowScroll)); this.registerResponsiveFunction(lang.hitch(this,this._onWindowScroll),null,null); this._calculateAttachment(); } if((this.get("currentStep")===0)||this.get("totalSteps")===0){ _415.set(this.stepsNodeGraphic,"display","none"); _415.set(this.stepsNodeCarrot,"display","none"); } if(this.get("progress")===0){ _415.set(this.percentageContainerNodeAria,"display","none"); _415.set(this.percentageContainerNodeGraphic,"display","none"); _415.set(this.percentageContainerNodeCarrot,"display","none"); } this.drawProgress(this.get("progress")); },drawProgress:function(_428){ var _429=this.progressGraphicOuter; var _42a=this.progressGraphic; var _42b=this.progressCarrot; var _42c=_418.position(_429).w; var _42d=_415.get(_42a,"width")/_42c*100; var _42e=function(){ }; var _42f=function(){ }; if(_428==0){ _42f=function(){ _415.set(_42b,"display","none"); }; }else{ _42e=function(){ _415.set(_42b,"display","block"); }; } _416.combine([fx.animateProperty({node:_42a,duration:650,easing:_417.cubicOut,properties:{width:{start:_42d,end:_428,units:"%"}},beforeBegin:lang.hitch(this,_42e),onEnd:lang.hitch(this,_42f)}),fx.animateProperty({node:_42b,duration:650,easing:_417.cubicOut,properties:{width:{start:_42d,end:_428,units:"%"}}})]).play(); this._set("progress",_428); },setProgress:function(_430){ this.set("progress",_430); },getProgress:function(){ return this.get("progress"); },setSetupUrl:function(url){ this.setupUrl=url; },forceShow:function(){ this._animationReset(); this.resetState(); _415.set(this.domNode,"display","block"); this._calculateAttachment(); this.drawProgress(this.get("progress")); this._resetButtonColors(); },resetState:function(){ _41b(this.id+"_collapsed_state","false",{path:"/"}); },_calculateAttachment:function(){ if(this._animationBusy){ return; } var _431=_418.position(this.domNode); var _432=this.setupBarOuterShell; if(_431.y<0){ var _433=_418.position(this.domNode).w; _415.set(_432,"width",_433+"px"); this._detachProgressBar(); }else{ _415.set(_432,"width","inherit"); this._attachProgressBar(); } },_attachProgressBar:function(){ if(!this._progressBarAttached){ _415.set(this.domNode,"height","auto"); var _434=this.setupBarOuterShell; _415.set(_434,"position","relative"); _415.set(_434,"top","inherit"); _415.set(_434,"zIndex","auto"); _41a.remove(this.domNode,"detached"); this._progressBarAttached=true; } },_detachProgressBar:function(){ if(this._progressBarAttached){ var _435=_415.get(this.domNode,"fontSize"); _435=Number(_435.replace("px","")); var _436=_415.get(this.domNode,"height"); _415.set(this.domNode,"height",_436/_435+"em"); var _437=this.setupBarOuterShell; _415.set(_437,"position","fixed"); _415.set(_437,"top","0"); _415.set(_437,"zIndex","1000"); _41a.add(this.domNode,"detached"); this._progressBarAttached=false; } },_onWindowScroll:function(e){ this._calculateAttachment(); },_onClickClose:function(e){ _41b(this.id+"_collapsed_state","true",{path:"/"}); this._animateHide(); if(e!=undefined){ _419.stop(e); } return false; },_changeButtonColors:function(){ var _438=dom.byId("desktopCartButton"); if(_438!=null){ _415.set(_438,"backgroundColor","#ffca4b"); } var _439=dom.byId("mobileMenuButton"); if(_439!=null){ _415.set(_439,"backgroundColor","#ffca4b"); } var _43a=dom.byId("mobileCartButton"); if(_43a!=null){ _415.set(_43a,"backgroundColor","#ffca4b"); _415.set(_414("a",_43a)[0],"color","#333333"); } },_resetButtonColors:function(){ var _43b=dom.byId("desktopCartButton"); if(_43b!=null){ _415.set(_43b,"backgroundColor",""); } var _43c=dom.byId("mobileMenuButton"); if(_43c!=null){ _415.set(_43c,"backgroundColor",""); } var _43d=dom.byId("mobileCartButton"); if(_43d!=null){ _415.set(_43d,"backgroundColor",""); _415.set(_414("a",_43d)[0],"color",""); } },_prepareForAnimation:function(_43e){ var _43f=this.setupBarOuterShell; var _440=_418.position(_43f).w; var _441=_418.position(_43f).h; var _442=_415.get(_43f,"fontSize"); _442=Number(_442.replace("px","")); _415.set(_43f,"width",_440/_442+"em"); _415.set(this.domNode,"height",_441+"px"); _415.set(_43f,"position","absolute"); _415.set(_43f,"display","inline-block"); if(_43e==null||!_43e){ _415.set(_43f,"right","0"); _415.set(_43f,"textAlign","left"); _415.set(this.domNode,"textAlign","right"); } },_animationReset:function(){ this._changeButtonColors(); _415.set(this.domNode,"display","none"); var _443=this.setupBarOuterShell; _415.set(_443,"width","inherit"); _415.set(this.domNode,"height","inherit"); _415.set(_443,"position","relative"); _415.set(_443,"display","block"); _415.set(_443,"textAlign","inherit"); _415.set(this.domNode,"textAlign","inherit"); _415.set(this.domNode,"fontSize","inherit"); _415.set(this.domNode,"opacity","1"); _415.set(_443,"right","inherit"); _415.set(_443,"top","inherit"); },_animateHide:function(){ if(win.getBox().t>0){ this._smoothScrollToTop(); return; } this._animationBusy=true; var _444=this.setupBarOuterShell; var _445=new Array(); _445.push(fx.animateProperty({node:this.domNode,duration:800,easing:_417.quadIn,properties:{opacity:{start:1,end:0}}})); _445.push(fx.animateProperty({node:this.domNode,duration:800,easing:_417.quadIn,properties:{fontSize:{start:12,end:3.5,units:"px"}}})); _445.push(fx.animateProperty({node:_444,duration:800,easing:_417.quadIn,properties:{top:{start:0,end:-24,units:"em"}}})); _445.push(fx.animateProperty({node:this.domNode,duration:800,properties:{height:{start:_415.get(this.domNode,"height"),end:0,units:"px"}},onEnd:lang.hitch(this,this._animationReset)})); var _446=dom.byId("mobileMenuButton"); var _447=dom.byId("tabletMenuButton"); if((_446!=null&&_415.get(_446,"display")!="none")){ this._prepareForAnimation(true); }else{ this._prepareForAnimation(); _445.push(fx.animateProperty({node:_444,duration:800,easing:_417.quadIn,properties:{right:{start:0,end:25,units:"em"}}})); } _416.combine(_445).play(); this._animationBusy=false; },_smoothScrollToTop:function(){ if(this._scrollRate==0){ this._scrollRate=win.getBox().t/12; } window.scrollTo(0,win.getBox().t-this._scrollRate); if(win.getBox().t>0){ setTimeout(lang.hitch(this,this._smoothScrollToTop),25); }else{ this._scrollRate=0; setTimeout(lang.hitch(this,this._animateHide),50); } }}); return _41f; }); },"sce/YoutubePlayer":function(){ define("sce/YoutubePlayer",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","dojo/_base/sniff","dojo/Evented","sce/api/Youtube"],function(_448,_449,lang,_44a,_44b,_44c){ var _44d={PLAYER_ENDED:"playerEnded",PLAYER_PLAYING:"playerPlaying",PLAYER_PAUSED:"playerPaused",PLAYER_BUFFERING:"playerBuffering",PLAYER_CUED:"playerCued"}; var _44e=_448("sce.YoutubePlayer",[_44b],{playerDeferred:null,constructor:function(_44f){ this.playerDeferred=new _449(); _44c.then(lang.hitch(this,this.createPlayer,_44f)); this.inherited(arguments); },createPlayer:function(_450){ var _451=lang.hitch(this,function(_452){ this.playerDeferred.resolve(_452.target); }); _44c.then(lang.hitch(this,function(YT){ var _453=lang.hitch(this,function(_454){ switch(_454.data){ case YT.PlayerState.ENDED: this.emit(_44d.PLAYER_ENDED); break; case YT.PlayerState.PLAYING: this.emit(_44d.PLAYER_PLAYING); break; case YT.PlayerState.PAUSED: this.emit(_44d.PLAYER_PAUSED); break; case YT.PlayerState.BUFFERING: this.emit(_44d.PLAYER_BUFFERING); break; case YT.PlayerState.CUED: this.emit(_44d.PLAYER_CUED); break; } }); this.player=new YT.Player(_450,{width:"100%",height:"100%",events:{onReady:_451,onStateChange:_453},playerVars:{controls:1,modestbranding:1,rel:0,showInfo:0,wmode:"opaque",autohide:1}}); })); },determineVideoId:function(_455){ var _456=""; var _457=null; _457=_455.match(/(?:http|https)\:\/\/youtube\/(.+)/); if(_457&&(_457.length>0)){ return ("http://www.youtube.com/embed/"+_457[1]); } _457=_455.match(/(?:http|https):\/\/youtu.be\/(.+)/); if(_457&&(_457.length>0)){ return ("http://www.youtube.com/embed/"+_457[1]); } _456=_455; return _456; },playVideo:function(_458){ this.playerDeferred.then(function(_459){ if(_44a("ff")||_44a("ios")){ setTimeout(function(){ _459.cueVideoById(_458); },500); }else{ _459.cueVideoById(_458); } }); },stopVideo:function(){ this.playerDeferred.then(function(_45a){ _45a.stopVideo(); }); },loadVideo:function(_45b){ var id=this.determineVideoId(_45b); this.playerDeferred.then(function(_45c){ _45c.cueVideoByUrl(id); }); },playLoadedVideo:function(){ this.playerDeferred.then(function(_45d){ _45d.playVideo(); }); }}); _44e.PlayerEvents=_44d; return _44e; }); },"url:sce/templates/TooltipDialog.html":"
    \r\n
    \r\n \"\"\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    ","url:sce/form/templates/Validator.html":"
    \r\n \r\n
      \r\n
      ","dijit/form/RadioButton":function(){ define("dijit/form/RadioButton",["dojo/_base/declare","./CheckBox","./_RadioButtonMixin"],function(_45e,_45f,_460){ return _45e("dijit.form.RadioButton",[_45f,_460],{baseClass:"dijitRadio"}); }); },"sce/layout/_PaneLayout":function(){ define("sce/layout/_PaneLayout",["dojo/_base/declare","dojo/dom","dojo/query","dijit/registry"],function(_461,dom,_462,_463){ var _464=_461("sce.layout._PaneLayout",[],{resize:function(){ if(window.sce.repository==undefined||window.sce.repository.PaneLayout==undefined){ return; } var _465=window.sce.repository.PaneLayout.join(","); var _466=dom.byId(this.id).parentNode; var _467=true; while(_467){ var _468=_463.getEnclosingWidget(_466); if(_468!=null){ var _469=_468.id; var _46a=_465.split(","); var _46b=false; for(var i=0;i<_46a.length;i++){ if(_469==_46a[i]){ _46b=true; break; } } if(_46b){ _468._resize(); } _466=dom.byId(_469).parentNode; }else{ _467=false; } } var _46c=_462("[widgetid]",dom.byId(this.id)).map(_463.byNode).filter(function(wid){ return wid; }); for(var i=0;i<_46c.length;i++){ var _469=_46c[i].id; if(_469==_465||_465.indexOf(_469+",")>=0||_465.indexOf(","+_469)>=0){ _46c[i]._resize(); } } },registerLayoutWidget:function(){ window.sce=window.sce||{}; window.sce.repository=window.sce.repository||{}; window.sce.repository.PaneLayout=window.sce.repository.PaneLayout||new Array(); window.sce.repository.PaneLayout.push(this.id); if(this._resize==undefined||this._resize==null){ throw "_resize function is undefined"; } }}); return _464; }); },"sce/mobile/FlyoutNavigation":function(){ require({cache:{"url:sce/mobile/templates/FlyoutNavigation.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/mobile/FlyoutNavigation",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_PaneLayout","sce/layout/_ResponsiveLayout","dojo/window","dojo/dom","dojo/query","dojo/_base/sniff","dojo/dom-construct","dojo/dom-style","dojo/dom-geometry","dojo/on","dojo/_base/event","dojo/_base/lang","dojo/has","dojo/touch","dojo/parser","dojo/_base/Deferred","dojo/_base/fx","dojo/fx/easing","dojo/dom-class","dojo/dom-attr","dojo/keys","dijit/registry","dojo/text!./templates/FlyoutNavigation.html","sce/ScrollablePane"],function(_46d,_46e,_46f,_470,_471,win,dom,_472,_473,_474,_475,_476,on,_477,lang,has,_478,_479,_47a,fx,_47b,_47c,_47d,keys,_47e,_47f){ var _480=_46d("sce.mobile.FlyoutNavigation",[_46e,_46f,_470,_471],{templateString:_47f,position:"right",disableClose:false,_overlayNode:null,_busy:false,_activeElement:null,_isMenuOpen:false,_isTouch:false,lastResizeWidth:0,buildRendering:function(){ this.inherited(arguments); },postCreate:function(){ if(_472("html.touch").length>0){ this._isTouch=true; } var _481=""; if(this.position=="right"){ _481="right:50px;"; }else{ if(this.position=="left"){ _481="left:25px;"; } } this._overlayNode=_474.create("div",{className:"overlayWrapper",id:this.id+"_overlay",tabindex:"0",innerHTML:"Close"}); _474.place(this._overlayNode,_472("body")[0],"last"); on(dom.byId(this.id+"_overlay"),"click",lang.hitch(this,this._onClickOverlay)); if(!this._isTouch){ on(dom.byId(this.id),"keyup",lang.hitch(this,this._onKeyUpFlyoutNavigation)); on(dom.byId(this.id+"_flyoutNavStartInner"),"keydown",lang.hitch(this,this._onKeyDownNavStartInner)); on(dom.byId(this.id+"_flyoutNavEndInner"),"keydown",lang.hitch(this,this._onKeyDownNavEndInner)); } if(_472(".dj_ie8").length==0){ this.registerResponsiveFunction(lang.hitch(this,this._onResizeHideMenu),1025,null); this.registerResponsiveFunction(lang.hitch(this,this.resizeNav),null,null); } if(_473("ios")){ this.registerResponsiveFunction(lang.hitch(this,function(e){ var _482=win.getBox().w,_483; if(_482!==this.lastResizeWidth){ _483=true; }else{ _483=false; } this.lastResizeWidth=_482; if(_483){ this._onResizeHideMenu(); } }),null,null); } if(this.position=="left"){ _47c.add(dom.byId(this.id),"flyLeft"); } },startup:function(){ _479.parse(this.id); },showMenu:function(){ if(this._busy||this._isMenuOpen){ return; } this._activeElement=document.activeElement; this._showOverlay(); var _484=this._showMenu(); return _484; },hideMenu:function(_485){ if(this._busy||!this._isMenuOpen){ return; } this._hideMenu(_485); this._hideOverlay(); },_showOverlay:function(){ _475.set(dom.byId(this.id+"_overlay"),"display","block"); _47d.set(dom.byId("globalWrapper"),"aria-hidden","true"); _47d.set(dom.byId("footerWrapper"),"aria-hidden","true"); },_hideOverlay:function(){ _475.set(dom.byId(this.id+"_overlay"),"display","none"); _47d.remove(dom.byId("globalWrapper"),"aria-hidden"); _47d.remove(dom.byId("footerWrapper"),"aria-hidden"); },_showMenu:function(){ this._busy=true; var _486=dom.byId(this.id); var _487=this.id; var _488=new _47a(); _475.set(_486,"visibility","hidden"); _475.set(_486,"display","block"); _47d.set(_486,"aria-expanded","true"); var _489=_476.position(dom.byId(this.id)).w; _475.set(_472("body")[0],"position","relative"); _475.set(_472("body")[0],"overflowX","hidden"); _475.set(dom.byId("globalWrapper"),"position","relative"); _475.set(dom.byId("footerWrapper"),"position","relative"); _475.set(dom.byId("globalWrapper"),"zIndex","2"); _475.set(dom.byId("footerWrapper"),"zIndex","2"); _475.set(_486,"zIndex","-1"); _475.set(_486,this.position,"0"); this.resize(); _475.set(_486,"visibility","visible"); var _48a={right:{start:0,end:_489}}; if(this.position=="left"){ _48a={left:{start:0,end:_489}}; } fx.animateProperty({node:_472("body")[0],duration:600,properties:_48a,easing:_47b.cubicOut,onEnd:function(){ _475.set(dom.byId("globalWrapper"),"zIndex","1"); _475.set(dom.byId("footerWrapper"),"zIndex","1"); _475.set(_486,"zIndex","999"); _47e.byId(_487)._busy=false; _47e.byId(_487)._isMenuOpen=true; _488.resolve(); }}).play(); dom.byId(this.id+"_flyoutNavStartInner").focus(); return _488; },_hideMenu:function(_48b){ this._busy=true; var _48c=dom.byId(this.id); var _48d=_472("body")[0]; var _48e=this.id; _475.set(dom.byId("globalWrapper"),"zIndex","2"); _475.set(dom.byId("footerWrapper"),"zIndex","2"); _475.set(_48c,"zIndex","-1"); _47d.set(_48c,"aria-expanded","false"); var _48f={right:{end:0}}; if(this.position=="left"){ _48f={left:{end:0}}; } fx.animateProperty({node:_472("body")[0],duration:600,properties:_48f,easing:_47b.cubicOut,onEnd:function(){ _475.set(dom.byId("globalWrapper"),"zIndex","2"); _475.set(dom.byId("footerWrapper"),"zIndex","2"); _475.set(_48c,"zIndex","-1"); _475.set(_48c,this.position,"inherit"); _475.set(_48c,"display","none"); _475.set(_48d,"position","static"); _475.set(_48d,"overflowX","inherit"); _475.set(_48d,"right","inherit"); _475.set(_48d,"left","inherit"); _47e.byId(_48e)._busy=false; _47e.byId(_48e)._isMenuOpen=false; }}).play(); if(_48b!=null&&_48b==true){ this._activeElement.focus(); } this._activeElement=null; },_onKeyDownNavEndInner:function(e){ if(e.keyCode==keys.TAB){ dom.byId(this.id+"_flyoutNavStartInner").focus(); } },_onKeyDownNavStartInner:function(e){ if(e.keyCode==keys.TAB&&e.shiftKey){ dom.byId(this.id+"_flyoutNavEndInner").focus(); } },_onKeyUpFlyoutNavigation:function(e){ if(e.keyCode==keys.ESCAPE){ if(!this.disableClose){ this.hideMenu(true); } } },_onClickOverlay:function(e){ if(!this.disableClose){ this.hideMenu(false); } },_onResizeHideMenu:function(e){ this.hideMenu(false); },resizeNav:function(){ this.resize(); var _490=_476.position(dom.byId(this.id)).w; if((this.position==="right")&&(_490>0)){ _475.set(_472("body")[0],"right",_490+"px"); }else{ if((this.position==="left")&&(_490>0)){ _475.set(_472("body")[0],"left",_490+"px"); } } }}); return _480; }); },"url:sce/form/templates/TextBox.html":"
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n\t\t\t\t\t\r\n\t\t\t\t
      \r\n
      \r\n
      \r\n
      information\r\n\t\t
      \r\n
      \r\n
      \r\n
      error
      \r\n\t\t
      \r\n\t
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","dijit/main":function(){ define("dijit/main",["dojo/_base/kernel"],function(dojo){ return dojo.dijit; }); },"dijit/_OnDijitClickMixin":function(){ define("dijit/_OnDijitClickMixin",["dojo/on","dojo/_base/array","dojo/keys","dojo/_base/declare","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window"],function(on,_491,keys,_492,has,_493,win){ var _494=null; if(has("ie")){ (function(){ var _495=function(evt){ _494=evt.srcElement; }; win.doc.attachEvent("onkeydown",_495); _493.addOnWindowUnload(function(){ win.doc.detachEvent("onkeydown",_495); }); })(); }else{ win.doc.addEventListener("keydown",function(evt){ _494=evt.target; },true); } var _496=function(node,_497){ if(/input|button/i.test(node.nodeName)){ return on(node,"click",_497); }else{ function _498(e){ return (e.keyCode==keys.ENTER||e.keyCode==keys.SPACE)&&!e.ctrlKey&&!e.shiftKey&&!e.altKey&&!e.metaKey; }; var _499=[on(node,"keypress",function(e){ if(_498(e)){ _494=e.target; e.preventDefault(); } }),on(node,"keyup",function(e){ if(_498(e)&&e.target==_494){ _494=null; _497.call(this,e); } }),on(node,"click",function(e){ _497.call(this,e); })]; return {remove:function(){ _491.forEach(_499,function(h){ h.remove(); }); }}; } }; return _492("dijit._OnDijitClickMixin",null,{connect:function(obj,_49a,_49b){ return this.inherited(arguments,[obj,_49a=="ondijitclick"?_496:_49a,_49b]); }}); }); },"url:sce/outage_map/templates/mapWindow.html":"
      \r\n {CITY_NAME} - {ZIP_CODE}\r\n
      {convertedIncidentType}
      \r\n
      \r\n
      {estimatedRestorationLabel}
      \r\n
      {EST_CLU_DATETIME}
      \r\n
      \r\n
      {lastUpdatedLabel}:
      \r\n
      {LAST_CHNG_DATETIME}
      \r\n
      {startTimeLabel}:
      \r\n
      {OUTAGE_START_DATETIME}
      \r\n
      {customersImpactedLabel}:
      \r\n
      {NBR_CUST_AFFECTED}
      \r\n
      {causeLabel}:
      \r\n
      {MEMO_CAUSE_CD_DESC}
      \r\n
      {crewStatusLabel}:
      \r\n
      {CREW_STATUS_CD_DESC}
      \r\n
      {additionalInfoLabel}:
      \r\n
      {RESULT_CD_DESC}
      \r\n
      \r\n
      {oanLabel}:
      \r\n
      {OAN_NO}
      \r\n
      ","sce/avm/enum/zipEnum":function(){ define("sce/avm/enum/zipEnum",function(){ var _49c={ZIP_ERROR:(1),ZIP_FOUND:(1<<1),ZIP_NO_MATCH:(1<<2),ZIP_PARSING_PROBLEM:(1<<3),ZIP_NO_DATA:(1<<4),ZIP_INVALID:(1<<5),ZIP_MULTI_MATCH:(1<<6),ZIP_NO_SERVICE:(1<<7)}; return _49c; }); },"dijit/form/_RadioButtonMixin":function(){ define("dijit/form/_RadioButtonMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/_base/event","dojo/_base/lang","dojo/query","dojo/_base/window","../registry"],function(_49d,_49e,_49f,_4a0,lang,_4a1,win,_4a2){ return _49e("dijit.form._RadioButtonMixin",null,{type:"radio",_getRelatedWidgets:function(){ var ary=[]; _4a1("input[type=radio]",this.focusNode.form||win.doc).forEach(lang.hitch(this,function(_4a3){ if(_4a3.name==this.name&&_4a3.form==this.focusNode.form){ var _4a4=_4a2.getEnclosingWidget(_4a3); if(_4a4){ ary.push(_4a4); } } })); return ary; },_setCheckedAttr:function(_4a5){ this.inherited(arguments); if(!this._created){ return; } if(_4a5){ _49d.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_4a6){ if(_4a6!=this&&_4a6.checked){ _4a6.set("checked",false); } })); } },_onClick:function(e){ if(this.checked||this.disabled){ _4a0.stop(e); return false; } if(this.readOnly){ _4a0.stop(e); _49d.forEach(this._getRelatedWidgets(),lang.hitch(this,function(_4a7){ _49f.set(this.focusNode||this.domNode,"checked",_4a7.checked); })); return false; } return this.inherited(arguments); }}); }); },"sce/Dialog":function(){ require({cache:{"url:sce/templates/Dialog.html":"
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      "}}); define("sce/Dialog",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_PaneLayout","sce/layout/_ResponsiveLayout","dojo/dom","dojo/query","dojo/on","dojo/_base/lang","dojo/dom-style","dojo/dom-construct","dojo/dom-geometry","dojo/_base/fx","dojo/fx","dojo/window","dojo/_base/event","dojo/Evented","dojo/keys","dojo/dom-attr","dojo/i18n!sce/nls/common","dojo/text!./templates/Dialog.html"],function(_4a8,_4a9,_4aa,_4ab,_4ac,dom,_4ad,on,lang,_4ae,_4af,_4b0,fx,_4b1,win,_4b2,_4b3,keys,_4b4,i18n,_4b5){ var _4b6=_4a8("sce.Dialog",[_4a9,_4aa,_4b3,_4ab,_4ac],{templateString:_4b5,widgetsInTemplate:true,defaultWidth:"auto",mobileWidth:"auto",disableClose:false,_isTouch:false,_activeElement:null,_isOpen:false,_bundle:i18n,postCreate:function(){ if(_4ad("html.touch").length>0){ this._isTouch=true; } this._overlayNode=_4af.create("div",{className:"dialogOverlay",id:this.id+"_overlay"}); _4af.place(this._overlayNode,_4ad("body")[0],"last"); _4af.place(this.domNode,_4ad("body")[0],"last"); if(this.disableClose){ _4ae.set(this.dialogCloseIcon,"display","none"); }else{ on(this._overlayNode,"click",lang.hitch(this,this.onClickClose)); } if(!this._isTouch){ on(this.dialogNavStart,"keydown",lang.hitch(this,this._onKeyDownDialogNavStart)); on(this.dialogNavEnd,"keydown",lang.hitch(this,this._onKeyDownDialogNavEnd)); if(!this.disableClose){ on(this.domNode,"keyup",lang.hitch(this,this._onKeyUpDialog)); } } if(!this.disableClose){ on(this.dialogClose,"click",lang.hitch(this,this.onClickClose)); } this.registerResponsiveFunction(lang.hitch(this,this._resize,true),null,767); this.registerResponsiveFunction(lang.hitch(this,this._resize,false),768,null); },startup:function(){ this.registerLayoutWidget(); },show:function(){ if(this._isOpen){ return; } this._activeElement=document.activeElement; this._resize(); var _4b7=this.id; var fn=function(){ _4ae.set(dom.byId(_4b7+"_overlay"),"opacity","0"); _4ae.set(dom.byId(_4b7),"opacity","0"); _4ae.set(dom.byId(_4b7+"_overlay"),"display","block"); _4ae.set(dom.byId(_4b7),"display","block"); }; _4b1.combine([fx.animateProperty({node:dom.byId(_4b7+"_overlay"),duration:200,properties:{opacity:{start:"0",end:"0.7"}}}),fx.fadeIn({node:dom.byId(_4b7),duration:200,beforeBegin:lang.hitch(this,fn)})]).play(); this._isOpen=true; _4b4.set(dom.byId(this.id+"_dialogContent"),"aria-hidden","false"); _4b4.set(dom.byId("globalWrapper"),"aria-hidden","true"); _4b4.set(dom.byId("footerWrapper"),"aria-hidden","true"); dom.byId(this.id+"_dialogContent").focus(); this.emit("openDialog",{}); return false; },hide:function(){ if(!this._isOpen){ return; } var _4b8=this.id; var fn=function(){ _4ae.set(dom.byId(_4b8+"_overlay"),"display","none"); _4ae.set(dom.byId(_4b8),"display","none"); }; _4b1.combine([fx.fadeOut({node:dom.byId(_4b8+"_overlay"),duration:200,onEnd:lang.hitch(this,fn)}),fx.fadeOut({node:dom.byId(_4b8),duration:200})]).play(); this._isOpen=false; _4b4.set(dom.byId(this.id+"_dialogContent"),"aria-hidden","true"); _4b4.remove(dom.byId("globalWrapper"),"aria-hidden"); _4b4.remove(dom.byId("footerWrapper"),"aria-hidden"); this._activeElement.focus(); return false; },onClickClose:function(e){ this.emit("closeDialog",{}); _4b2.stop(e); this.hide(); },_resize:function(){ if(!this._isOpen){ _4ae.set(dom.byId(this.id),"visibility","hidden"); _4ae.set(dom.byId(this.id),"display","block"); } this._calculateCenter(); this.resize(); if(!this._isOpen){ _4ae.set(dom.byId(this.id),"display","none"); _4ae.set(dom.byId(this.id),"visibility","visible"); } },_calculateCenter:function(_4b9){ var _4ba=win.getBox(); var _4bb=_4ba.w; var _4bc=_4ba.h; if(_4ad(".dj_gecko").length>0){ _4bb=window.innerWidth; _4bc=window.innerHeight; } if(_4b9==null){ if(_4bb<=767){ _4b9=true; }else{ _4b9=false; } } if(!_4b9){ _4ae.set(dom.byId(this.id),"width",this.defaultWidth); }else{ _4ae.set(dom.byId(this.id),"width",this.mobileWidth); } _4ae.set(dom.byId(this.id),"height","auto"); _4ae.set(dom.byId(this.id),"overflow","auto"); var _4bd=_4b0.position(dom.byId(this.id)); if(_4bd.h<_4bc){ var left=_4bb/2-_4bd.w/2; var top=_4bc/2-_4bd.h/2; _4ae.set(dom.byId(this.id),"left",left+"px"); _4ae.set(dom.byId(this.id),"top",top+"px"); }else{ var left=_4bb/2-_4bd.w/2; var top=16; _4ae.set(dom.byId(this.id),"left",left+"px"); _4ae.set(dom.byId(this.id),"top",top+"px"); _4ae.set(dom.byId(this.id),"height",(_4bc-32)+"px"); } },_onKeyDownDialogNavStart:function(e){ if(e.keyCode==keys.TAB&&e.shiftKey){ dom.byId(this.id+"_dialogNavEnd").focus(); } },_onKeyDownDialogNavEnd:function(e){ if(e.keyCode==keys.TAB){ dom.byId(this.id+"_dialogNavStart").focus(); } },_onKeyUpDialog:function(e){ if(e.keyCode==keys.ESCAPE){ this.hide(); } }}); return _4b6; }); },"sce/EspotsCarousel":function(){ define("sce/EspotsCarousel",["dojo/_base/declare","dojo/_base/lang","dojo/window","dojo/dom-geometry","dojo/dom-construct","dojo/dom-class","dojo/dom-attr","dojo/query","sce/CollapsableCarousel","sce/EspotCard"],function(_4be,lang,win,_4bf,_4c0,_4c1,_4c2,_4c3,_4c4,_4c5){ var _4c6=_4be("sce.EspotsCarousel",[_4c4],{desktopCardWidth:255,desktopCardMargin:20,cardMarginLeeway:0,desktopPixelBreakPoint:640,headerText:"Espots Carousel",_determineCardLeftPosition:function(_4c7,_4c8,_4c9){ _4c8=(_4c8|0); var _4ca=0; var _4cb=_4bf.getContentBox(this.domNode); var _4cc=this.getCards().length; var _4cd=0; if(_4cb.w>this.desktopPixelBreakPoint){ _4cd=(_4cb.w/(this.desktopCardWidth+this.desktopCardMargin)); if(_4cc<=_4cd){ if(1){ var _4ce=(_4cb.w-((_4cc*this.desktopCardWidth)+((_4cc+1)*this.desktopCardMargin))); _4ca=((_4ce*(0.5))+(this.desktopCardMargin+(_4c7*(this.desktopCardWidth+this.desktopCardMargin)))); }else{ var _4cf=(_4cb.w-(_4cc*this.desktopCardWidth)); var _4d0=(_4cf*(1/(_4cc+1))); _4ca=(_4d0+((_4d0+this.desktopCardWidth)*(_4c7))); } }else{ var _4d1=_4c8; var _4d2=Math.floor(_4cb.w/(this.desktopCardMargin+this.desktopCardWidth+100)); if(_4d1<_4d2){ _4d1=((_4d1+1)-(_4cc-1)); _4d1++; if((_4d1<0)||_4cc<=_4d2){ _4d1=0; } }else{ _4d1=_4d1-_4d2; } var a=(_4c7-_4d1); var b=(a+1)*this.desktopCardMargin; var c=(a)*this.desktopCardWidth; _4ca=b+c; if((!_4c9)&&(_4c8===(_4cc-1))){ var aa=(_4cb.w-this.desktopCardWidth-this.desktopCardMargin); var bb=this._determineCardLeftPosition(_4c8,_4c8,true); var cc=(bb-aa); a=(_4c7-_4d1); b=(a+1)*this.desktopCardMargin; c=(a)*this.desktopCardWidth; _4ca=(b+c-cc); } } }else{ var _4d3=Math.min(Math.ceil(_4cb.w*0.8),this.desktopCardWidth); var _4d4=Math.ceil((_4cb.w-_4d3)*0.5); var a=(_4c7-_4c8); var b=(a+1)*_4d4; var c=(a)*_4d3; _4ca=b+c; } return _4ca; },_determineCardRightPosition:function(_4d5,_4d6){ _4d6=(_4d6|0); var _4d7=0; var _4d8=_4bf.getContentBox(this.domNode); var _4d9=this.getCards().length; if(_4d8.w>640){ if(_4d9<=3){ _4d7=(_4d8.w-this._determineCardLeftPosition(_4d5,_4d6)-this.desktopCardWidth); }else{ var _4da=_4d6; var _4db=Math.floor(_4d8.w/(this.desktopCardMargin+this.desktopCardWidth+100)); if(_4da<_4db){ _4da=((_4da+1)-(_4d9-1)); _4da++; if((_4da<0)||_4d9<=_4db){ _4da=0; } }else{ _4da=_4da-_4db; } _4d7=(_4d8.w-this._determineCardLeftPosition(_4d5,_4d6)-this.desktopCardWidth); } }else{ var _4dc=Math.min(Math.ceil(_4d8.w*0.8),this.desktopCardWidth); _4d7=(_4d8.w-this._determineCardLeftPosition(_4d5,_4d6)-_4dc); } return _4d7; },gleanCardProps:function(_4dd){ var _4de={}; var _4df=_4c3(".ctaContainer a",_4dd); if(_4df.length>0){ _4de.espotAnchor=_4df[0].href; } var _4e0=_4c3(".imageContainer img",_4dd); if(_4e0.length>0){ _4de.espotImage=_4e0[0].src; } var _4e1=_4c3(".headerContainer",_4dd); if(_4e1.length>0){ _4de.espotHeader=_4e1[0].innerHTML; } var _4e2=_4c3(".descriptionContainer",_4dd); if(_4e2.length>0){ _4de.espotDescription=_4e2[0].innerHTML; } var _4e3=_4c3(".ctaContainer a",_4dd); if(_4e3.length>0){ _4de.espotCta=_4e3[0].innerHTML; } return _4de; },loadExistingCards:function(_4e4){ var _4e5=_4c3("div.espot",_4e4),_4e6=null; for(var i=(_4e5.length-1);i>=0;i--){ _4e6=_4e5[i]; var _4e7=new _4c5(this.gleanCardProps(_4e6)); _4e7.on("cardFocus",lang.hitch(this,function(e){ var _4e8=this.getCardIndexByCard(e.focussedCard); this.forceSelectedCard(_4e8); })); this.addCard(_4e7); _4c0.destroy(_4e5[i]); } },postCreate:function(){ _4c1.add(this.domNode,"espotsCarousel"); _4c0.create("h2",{innerHTML:this.headerText,className:"hiddenAssociation"},this.domNode,"first"); this.inherited(arguments); },startup:function(){ this.loadExistingCards(); var _4e9=this.getCards(); if(_4e9.length>0){ _4c1.add(_4e9[0].domNode,"focusedCard"); this.set("currentCardIndex",1); this.set("maxCardIndex",_4e9.length); if(_4e9.length<2){ this.hideControls(); } this._resize(); }else{ _4c1.add(this.domNode,"emptyCarousel"); } }}); return _4c6; }); },"sce/flow/outage/Streetlight/SLRequestorInfo":function(){ define("sce/flow/outage/Streetlight/SLRequestorInfo",["dojo/_base/declare","dojo/_base/array","dojo/on","dojo/dom","dojo/_base/lang","dojo/dom-style","dijit/registry","sce/_Validation","sce/FormSubmit","sce/flow/outage/_Outage","sce/form/CheckBox"],function(_4ea,_4eb,on,dom,lang,_4ec,_4ed,_4ee,_4ef,_4f0){ var _4f1=_4ea([_4f0],{constructor:function(_4f2){ this.initFlow3(); if(_4ed.byId("cancelDialog")!=undefined){ _4ed.byId("cancelButton").onClick=lang.hitch(this,function(){ _4ed.byId("cancelDialog").show(); }); _4ed.byId("cancelNo").onClick=lang.hitch(this,function(){ _4ed.byId("cancelDialog").hide(); }); _4ed.byId("cancelYes").onClick=lang.hitch(this,function(){ dom.byId("cancelHiddenButtonSubmit").click(); }); } },initFlow3:function(){ sce.globalSce.Navigation.setPageTitle(dom.byId("pageTitle_id").innerHTML); _4ef.attachSubmitListener("outage_sl_3"); _4ed.byId("nextButton").onClick=lang.hitch(this,function(){ _4ed.byId("nextButton").set("disabled",true); if(this._validateFlow3()){ dom.byId("pg2NextButton").click(); return true; }else{ _4ed.byId("nextButton").set("disabled",false); return false; } }); var _4f3=dom.byId("notifyChoice_id"); var _4f4=dom.byId("enrollValue_id"); var _4f5=dom.byId("phoneNo_id"); if(dom.byId("enrollNo")){ on(dom.byId("enrollNo"),"click",function(){ _4ed.byId("enrollNo").showDefaultStyle(); _4ed.byId("notifyChoice_id").showDefaultStyle(); _4ed.byId("enrollEmailValue_id").showDefaultStyle(); _4ed.byId("enrollPhoneValue_id").showDefaultStyle(); _4ed.byId("notifyChoice_id").set("value","NONE"); _4ed.byId("enrollEmailValue_id").set("value",""); _4ed.byId("enrollPhoneValue_id").set("value",""); dom.byId("enrollValue_id").value=""; _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); _4ed.byId("enrollYesDrawer").hide(); }); if(dom.byId("enrollNo").checked==true){ _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); _4ed.byId("enrollYesDrawer").hide(); } } if(dom.byId("enrollYes")){ on(dom.byId("enrollYes"),"click",function(){ _4ed.byId("enrollYes").showDefaultStyle(); _4ed.byId("enrollYes").showDefaultStyle(); _4ed.byId("enrollEmailValue_id").showDefaultStyle(); _4ed.byId("enrollPhoneValue_id").showDefaultStyle(); _4ed.byId("enrollYesDrawer").show(); _4ed.byId("notifyChoice_id").set("value","NONE"); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); }); if(dom.byId("enrollYes").checked==true){ _4ed.byId("enrollYesDrawer").show(); } } if(dom.byId("enrollEmailValue_id")){ on(dom.byId("enrollEmailValue_id"),"change",lang.hitch(this,function(e){ dom.byId("enrollValue_id").value=dom.byId("enrollEmailValue_id").value; })); } if(dom.byId("enrollPhoneValue_id")){ on(dom.byId("enrollPhoneValue_id"),"change",lang.hitch(this,function(e){ dom.byId("enrollValue_id").value=dom.byId("enrollPhoneValue_id").value; })); } if(_4f3){ on(_4f3,"change",lang.hitch(this,function(e){ _4ed.byId("enrollEmailValue_id").showDefaultStyle(); _4ed.byId("enrollPhoneValue_id").showDefaultStyle(); dom.byId("enrollValue_id").value=""; _4ed.byId("enrollEmailValue_id").set("value",""); _4ed.byId("enrollPhoneValue_id").set("value",""); if(_4f3.value=="Email"){ dom.byId("enrollEmailValue_id"+"_hintText").innerHTML=dom.byId("emailEnroll_info").innerHTML; _4ec.set(dom.byId("enrollEmailWrapperId"),"display","block"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollEmailValue_id").set("value",dom.byId("req_email_id").value); dom.byId("enrollValue_id").value=dom.byId("req_email_id").value; } }else{ if(_4f3.value=="Phone"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("phoneEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); dom.byId("enrollValue_id").value=_4f5.value; } }else{ if(_4f3.value=="SMS"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("smsEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); dom.byId("enrollValue_id").value=_4f5.value; } }else{ if(_4f3.value=="TTY"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("ttyEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); dom.byId("enrollValue_id").value=_4f5.value; } }else{ if(_4f3.value=="NONE"){ dom.byId("enrollEmailValue_id"+"_hintText").innerHTML=""; dom.byId("enrollEmailValue_id"+"_errorContainerMessage").innerHTML=""; _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); if(dom.byId("enrollValue_id").value==""){ dom.byId("enrollValue_id").value=""; _4ed.byId("enrollEmailValue_id").set("value",""); _4ed.byId("enrollPhoneValue_id").set("value",""); } } } } } } })); if(_4f3.value=="Email"){ _4ec.set(dom.byId("enrollEmailWrapperId"),"display","block"); dom.byId("enrollEmailValue_id"+"_hintText").innerHTML=dom.byId("emailEnroll_info").innerHTML; _4ed.byId("enrollEmailValue_id").liveValidateEmail(); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); if(dom.byId("enrollValue_id").value==""){ dom.byId("enrollValue_id").value=dom.byId("req_email_id").value; _4ed.byId("enrollEmailValue_id").set("value",dom.byId("req_email_id").value); } }else{ if(_4f3.value=="Phone"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("phoneEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ dom.byId("enrollValue_id").value=_4f5.value; _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); } }else{ if(_4f3.value=="SMS"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("smsEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); dom.byId("enrollValue_id").value=_4f5.value; } }else{ if(_4f3.value=="TTY"){ dom.byId("enrollPhoneValue_id"+"_hintText").innerHTML=dom.byId("ttyEnroll_info").innerHTML; _4ed.byId("enrollPhoneValue_id").liveValidatePhoneNumber(); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","block"); if(dom.byId("enrollValue_id").value==""){ _4ed.byId("enrollPhoneValue_id").set("value",_4f5.value); dom.byId("enrollValue_id").value=_4f5.value; } }else{ _4ed.byId("notifyChoice_id").set("value","NONE"); _4ec.set(dom.byId("enrollEmailWrapperId"),"display","none"); _4ec.set(dom.byId("enrollPhoneWrapperId"),"display","none"); } } } } } console.log("Exiting initFlow3"); },_validateFlow3:function(){ var _4f6=true; var _4f7=_4ee.isValidForm("#outage_sl_3"); _4f6=_4f7.result; if(_4f6==false){ sce.globalSce.Session.focusOnFirstError(); }else{ if(_4f6==true){ } } _4ed.byId("enrollEmailValue_id").showDefaultStyle(); _4ed.byId("enrollPhoneValue_id").showDefaultStyle(); _4ed.byId("notifyChoice_id").showDefaultStyle(); if(dom.byId("enrollYes")){ if(dom.byId("enrollYes").checked==true){ if(_4ed.byId("notifyChoice_id").get("value")=="NONE"){ _4ed.byId("notifyChoice_id").showErrorStyle(); _4f6=_4f6&&false; }else{ _4ed.byId("notifyChoice_id").showValidStyle(); if(_4ed.byId("notifyChoice_id").get("value")=="Email"){ if(_4ed.byId("enrollEmailValue_id").isValidEmail()){ _4ed.byId("enrollEmailValue_id").showValidStyle(); }else{ _4ed.byId("enrollEmailValue_id").showErrorStyle(); dom.byId("enrollEmailValue_id"+"_errorContainerMessage").innerHTML=dom.byId("emailEnroll_err").innerHTML; _4f6=_4f6&&false; } }else{ if(_4ed.byId("enrollPhoneValue_id").isValidPhoneNo()){ _4ed.byId("enrollPhoneValue_id").showValidStyle(); }else{ _4ed.byId("enrollPhoneValue_id").showErrorStyle(); dom.byId("enrollPhoneValue_id"+"_errorContainerMessage").innerHTML=dom.byId("phoneEnroll_err").innerHTML; _4f6=_4f6&&false; } } if(dom.byId("tnc")){ if(dom.byId("tnc").checked==false){ _4ed.byId("tnc").showErrorStyle(); _4f6=_4f6&&false; } } } } } return _4f6; }}); return _4f1; }); },"url:sce/templates/CollapsableCarousel.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      ","sce/ContentExpander":function(){ define("sce/ContentExpander",["dojo/_base/declare","dojo/query","dojo/html","dojo/dom-class","dojo/dom-construct","sce/ContentPane","dojo/i18n!sce/nls/common"],function(_4f8,_4f9,html,_4fa,_4fb,_4fc,i18n){ var _4fd=_4f8("sce.ContentExpander",[_4fc],{descriptionShow:i18n.showText,descriptionHide:i18n.hideText,_setDescriptionShowAttr:function(_4fe){ this._set("descriptionShow",_4fe); },_setDescriptionHideAttr:function(_4ff){ this._set("descriptionHide",_4ff); },postCreate:function(){ this.inherited(arguments); _4fa.add(this.domNode,"lightTheme"); _4fa.add(this.domNode,"contentExpander"); var show=_4f9(".descriptionShow",this.domNode); var hide=_4f9(".descriptionHide",this.domNode); if(show&&show.length>0){ this.set("descriptionShow",show[0].innerHTML); _4fb.destroy(show[0]); } if(hide&&hide.length>0){ this.set("descriptionHide",hide[0].innerHTML); _4fb.destroy(hide[0]); } this.set("title",this.descriptionShow); },hide:function(init){ this.set("title",this.descriptionShow); this.inherited(arguments); },show:function(init){ this.set("title",this.descriptionHide); this.inherited(arguments); }}); return _4fd; }); },"sce/ContentPane":function(){ require({cache:{"url:sce/templates/ContentPane.html":"
      \r\n
      \r\n <${headingElement}\r\n id=\"${id}_contentPaneTitle\" \r\n class=\"contentPaneTitle\" \r\n data-dojo-attach-point=\"contentPaneTitle\"\r\n tabindex=\"0\" \r\n aria-controls=\"${id}_contentPaneContentContainer\"\r\n >\r\n
      ${_i18n.showText}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/ContentPane",["dojo/_base/declare","dojo/_base/lang","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/dom","dojo/query","dojo/html","dojo/_base/event","dojo/_base/xhr","dojo/dom-class","dojo/keys","dojo/fx","dojo/dom-style","dojo/dom-construct","dojo/dom-attr","dojo/i18n!sce/nls/common","sce/global/Utility","dojo/text!./templates/ContentPane.html"],function(_500,lang,_501,_502,dom,_503,html,_504,xhr,_505,keys,_506,_507,_508,_509,i18n,_50a,_50b){ var _50c=_500("sce.ContentPane",[_501,_502],{templateString:_50b,widgetsInTemplate:true,title:"",dataSourceUrl:"",collapsed:true,width:"100%",_srcLoaded:true,_i18n:i18n,wipeArgs:{},contentPaneTitle:null,contentPaneContentContainer:null,contentPaneTitleControl:null,containerNode:null,_setTitleAttr:{node:"contentPaneTitle",type:"innerHTML"},headingLevel:null,headingElement:"div",_getCollapsedAttr:function(){ if((this.collapsed!==true)&&(this.collapsed!==false)){ var _50d=_507.get(this.contentPaneContentContainer,"display")==="none"; this._set("collapsed",_50d); } return this.collapsed; },_setCollapsedAttr:function(_50e){ this._set("collapsed",_50e); },postMixInProperties:function(){ var _50f; if(this.headingLevel){ _50f=parseInt(this.headingLevel); if(_50f&&_50f>0&&_50f<7){ this.headingElement="h"+_50f; } } this.inherited(arguments); },postCreate:function(){ this._wipeArgs={node:this.contentPaneContentContainer,onEnd:function(){ if(_503(".dj_ie8").length===1){ _50a.forceInternetExplorerRender(); } }},_507.set(this.domNode,"width",this.width); if(this.title!==""){ html.set(this.contentPaneTitle,this.title); }else{ var _510=_503(".title",this.containerNode)[0]; if(_510){ _505.add(this.contentPaneTitle,_509.get(_510,"class")); html.set(this.contentPaneTitle,_510.innerHTML); _508.destroy(_510); }else{ html.set(this.contentPaneTitle,(" "+this.title)); } } if(this.get("collapsed")){ this.hide(true); }else{ this.show(true); } if(this.dataSourceUrl!==""){ this._srcLoaded=false; } },handleTitleClick:function(e){ this.toggle(); },handleTitleKeyPress:function(e){ if(e.charCode===keys.SPACE||e.keyCode===keys.ENTER){ _504.stop(e); this.toggle(); }else{ return true; } },hide:function(init){ _506.wipeOut(this._wipeArgs).play(); _505.remove(this.contentPaneTitleControl,"paneControlExpanded"); _505.add(this.contentPaneTitleControl,"paneControlCollapsed"); html.set(this.contentPaneTitleControl,i18n.showText); _509.set(this.contentPaneContentContainer,"aria-expanded","false"); this.set("collapsed",true); },show:function(init){ if(this._srcLoaded===false){ if(init===true){ this._loadData(true); }else{ this._loadData(); } }else{ _506.wipeIn(this._wipeArgs).play(); _505.remove(this.contentPaneTitleControl,"paneControlCollapsed"); _505.add(this.contentPaneTitleControl,"paneControlExpanded"); html.set(this.contentPaneTitleControl,i18n.hideText); _509.set(this.contentPaneContentContainer,"aria-expanded","true"); if(!init){ if(this.contentPaneContentContainer&&this.contentPaneContentContainer.focus){ this.contentPaneContentContainer.focus(); } } this.set("collapsed",false); } },toggle:function(){ if(this.get("collapsed")){ this.show(); }else{ this.hide(); } },_loadData:function(init){ return xhr.get({url:this.dataSourceUrl,failOk:true,handleAs:"text",load:lang.hitch(this,this._loadDataSucceed),error:lang.hitch(this,this._loadDataFail)}); },_loadDataSucceed:function(_511){ this._srcLoaded=true; dom.byId(this.id+"_contentPaneContent").innerHTML=_511; this.show(); },_loadDataFail:function(_512){ var _513=""; if(_512){ _513="

      "+i18n.contentPaneError2Text+" "+this.dataSourceUrl+".

      "; }else{ _513="

      "+i18n.contentPaneError1Text+"

      "; } html.set(this.containerNode,_513); this._srcLoaded=true; this.toggle(); }}); return _50c; }); },"url:sce/avm/templates/correctAddressDetails.html":"
      \r\n
      \r\n {Serv_Acct_House_Num}\r\n {Serv_Acct_House_Frctn_Num}\r\n {Serv_Acct_Street_Prfx_Code}\r\n {Serv_Acct_Street_Name}\r\n {Serv_Acct_Street_Sfx_Code}\r\n {Serv_Acct_Post_Direction_Cd}\r\n {Serv_Acct_Unit_Designator_Cd}\r\n {Serv_Acct_Unit_Num}\r\n {meterNote}\r\n {Serv_Acct_Meter_Code}\r\n
      \r\n
      \r\n {Serv_Acct_Mailing_City_Name}\r\n {Serv_Acct_State_Code}\r\n {Serv_Acct_Zip_Code}\r\n
      \r\n
      ","dojo/cookie":function(){ define("dojo/cookie",["./_base/kernel","./regexp"],function(dojo,_514){ dojo.cookie=function(name,_515,_516){ var c=document.cookie,ret; if(arguments.length==1){ var _517=c.match(new RegExp("(?:^|; )"+_514.escapeString(name)+"=([^;]*)")); ret=_517?decodeURIComponent(_517[1]):undefined; }else{ _516=_516||{}; var exp=_516.expires; if(typeof exp=="number"){ var d=new Date(); d.setTime(d.getTime()+exp*24*60*60*1000); exp=_516.expires=d; } if(exp&&exp.toUTCString){ _516.expires=exp.toUTCString(); } _515=encodeURIComponent(_515); var _518=name+"="+_515,_519; for(_519 in _516){ _518+="; "+_519; var _51a=_516[_519]; if(_51a!==true){ _518+="="+_51a; } } document.cookie=_518; } return ret; }; dojo.cookie.isSupported=function(){ if(!("cookieEnabled" in navigator)){ this("__djCookieTest__","CookiesAllowed"); navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed"; if(navigator.cookieEnabled){ this("__djCookieTest__","",{expires:-1}); } } return navigator.cookieEnabled; }; return dojo.cookie; }); },"url:sce/templates/TipCard.html":"
      \r\n
      \r\n \"${title}\"\r\n
      \r\n
      ${title}
      \r\n
      \r\n
      ","url:sce/templates/RestCardB.html":"
      \r\n
      \r\n \r\n

      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      ","url:sce/outage_map/templates/OutageMap.html":"
      \r\n
      \r\n
      \r\n ${_i18n.totalOutagesLabel}: 0 | ${_i18n.totalCustomersAffectedLabel}: 0\r\n
      \r\n
      \r\n ${_i18n.partialOutageMessage}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapSearchLegendText}\r\n
      \r\n
      ${_i18n.outageMapSearchBy}
      \r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapApiLoadingHeading}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapApiFailHeading}\r\n
      \r\n
      \r\n

      ${_i18n.outageMapApiFailDescription}

      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_i18n.outageMapLastUpdated}

      \r\n
      \r\n
      \r\n ${_i18n.outageMapSingleOutage}\r\n ${_i18n.outageMapAreaOutage}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n County\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapReportOutageBy}\r\n
      \r\n
      \r\n
      ${_i18n.outageMapReportOutageHB}
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapReportOutageSL}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapWidgetLoading}
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapErrorHeading}\r\n

      ${_i18n.outageMapErrorBody}

      \r\n
      \r\n
      \r\n
      \r\n
      ","dojo/cache":function(){ define("dojo/cache",["./_base/kernel","./text"],function(dojo,text){ return dojo.cache; }); },"sce/analytics/_AVM-Analytics":function(){ define("sce/analytics/_AVM-Analytics",["dojo/_base/declare","dojo/_base/lang","dojo/i18n!sce/nls/analytics"],function(_51b,lang,_51c){ function _51d(_51e){ if(typeof _initJSMD==="function"){ var _51f=_initJSMD(); _51f.page.name=_51e.name+" - "+_51e.step; _51f.page.friendly_name=_51e.friendlyName+" - "+_51e.step; _51f.page.application=_51c.avm.application; _51f.page.section=_51c.avm.section; _51f.page.process=_51e.process; _51f.page.form=_51e.form; _51f.page.hierarchy=_51f.page.section+":"+_51f.page.application+":"+_51f.page.process; _51f.loadMap(_mainAnalyticsMap); _51f.send(); }else{ } }; var _520=_51b(null,{analyticsName:_51c.avm.name,analyticsFriendlyName:_51c.avm.friendlyName,analyticsProcess:_51c.avm.process,analyticsForm:_51c.avm.form,analyticsEvent:_51c.avm.event,constructor:function(){ this.on("next",lang.hitch(this,function(e){ var step; switch(e.currentState){ case "zipcode": step=_51c.avm.steps.zipcode; break; case "address": step=_51c.avm.steps.address; break; case "displayMultipleAddress": step=_51c.avm.steps.displayMultipleAddress; break; case "displayMultipleMeters": step=_51c.avm.steps.displayMultipleMeters; break; case "verifyAddress": step=_51c.avm.steps.verifyAddress; break; default: step=e.currentState; break; } _51d({step:step,name:this.analyticsName,friendlyName:this.analyticsFriendlyName,process:this.analyticsProcess,form:this.analyticsForm,event:this.analyticsEvent}); })); }}); return _520; }); },"url:sce/form/templates/Select.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
       
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      error
      \r\n
      ","sce/service/_OutageService":function(){ define("sce/service/_OutageService",["dojo/_base/declare","dojo/_base/lang","dojo/_base/xhr","dojo/_base/Deferred","dojo/store/Memory","dojox/json/schema","sce/schema/OutageDataSchema"],function(_521,lang,xhr,_522,_523,_524,_525){ var _526=_521(null,{outageServiceUrl:"/SCE_UI_Global_R2/service/getOutages",_currentServiceData:null,_currentServiceStore:null,getServiceXhrDeferred:function(){ this._currentServiceData=xhr.get({url:this.outageServiceUrl,timeout:serviceURI.serviceUriTimeout,handleAs:"json",load:function(_527){ },error:function(_528){ },failOk:true}); return this._currentServiceData; },validateOutageData:function(_529){ var _52a,_52b; _52a=_525; _52b=_524.validate(_529,_52a); return _52b.valid; },getServiceStoreDeferred:function(){ this._currentServiceStore=new _522(); this.getServiceXhrDeferred().then(lang.hitch(this,function(_52c){ if(this.validateOutageData(_52c)){ var _52d=new _523({idProperty:"incidentID",data:_52c["aoc_incidents"]["incidentList"]}); this._currentServiceStore.resolve(_52d); }else{ this._currentServiceStore.reject("Data did not pass validation"); } })); return this._currentServiceStore; },fetch:function(){ if(!this._currentServiceStore){ this.getServiceStoreDeferred(); }else{ } return this._currentServiceStore; }}); return new _526(); }); },"sce/avm/_AVMMixin":function(){ define("sce/avm/_AVMMixin",["dojo/_base/declare","dojo/_base/lang","dojo/_base/Deferred","dojo/DeferredList","dojo/html","dojo/Evented","dojo/_base/array","dojo/dom-style","sce/_Validation","sce/service/_AddressDetailsService","sce/service/_ZipCityService","dojo/i18n!sce/nls/common","dojo/i18n!sce/nls/service_uri"],function(_52e,lang,_52f,_530,html,_531,_532,_533,_534,_535,_536,i18n,_537){ function _538(_539,_53a){ _539.then(function(){ },function(){ }); }; var _53b=_52e("sce.avm._AVMMixin",[_531,_534],{currentScreen:null,addressByZipcodeCityUri:_537.getAddressByZipcodeCity,addressDetailsUri:_537.getAddressDetails,confirmedAddressDetailsUri:_537.getConfirmedAddressDetails,availableZipCityUri:_537.getAvailableZipCity,name:"",form:null,value:"",_getValueAttr:function(){ return this.valueNode.value; },_setValueAttr:function(_53c){ this.valueNode.value=_53c; },attempts:0,maxAttempts:5,addressObject:null,errorMessage:"",_setErrorMessageAttr:function(_53d){ html.set(this.avmErrorMessageNode,_53d); this.showErrorMessage(); this._set("errorMessage",_53d); },standalone:false,hideButtons:false,showErrorMessage:function(){ _533.set(this.avmErrorContainer,"display",""); },hideErrorMessage:function(){ _533.set(this.avmErrorContainer,"display","none"); },showErrorStyle:function(){ if(this.fsm.current!=="attemptsExceeded"){ this.set("errorMessage","Please complete your address validation"); this.showErrorMessage(); }else{ this.showDefaultStyle(); } },showDefaultStyle:function(){ this.hideErrorMessage(); },incrementAttempts:function(){ this.set("attempts",this.get("attempts")+1); },resetAttempts:function(){ this.set("attempts",0); },_isFilledOut:function(){ return false; },getAvailableZipCity:function(){ return new _536({serviceUri:this.availableZipCityUri}).getAvailableZipCity(); },getAddressByZipcodeCity:function(_53e,city){ var req,_53f={}; if(_53e){ _53f.ZipCode=_53e; } if(city){ _53f.City=city; } _53f.SAStatusCode="A"; req=new _535({serviceUri:this.addressByZipcodeCityUri}).getByAddress(_53f); _538(req,"getAddressByZipcodeCity"); return req; },getAddressByCity:function(city){ return new _535({serviceUri:this.addressByZipcodeCityUri}).getByAddress({SAStatusCode:"A",City:city}); },getConfirmedAddressDetails:function(_540){ var _541=lang.mixin(_540,{SAStatusCode:"A"}); return new _535({confirmedServiceUri:this.confirmedAddressDetailsUri}).getByConfirmedAddress(_541); },getAddressDetails:function(_542){ var _543=lang.mixin(_542,{SAStatusCode:"A"}); return new _535({serviceUri:this.addressDetailsUri}).getByAddress(_543); },changeScreen:function(_544){ var _545=this[this.get("currentScreen")],_546=this[_544],_547=new _52f(); this.hideErrorMessage(); if(_546){ if(_545){ _533.set(_545,"display","none"); } _533.set(_546,"display",""); this._set("currentScreen",_544); this.refreshButtons(); _547.resolve(true); }else{ _547.resolve(false); } return _547; },getButtonsToDisplay:function(){ return (this.screenMovementMapper[this.get("currentScreen")]||{}); },displayPertinentButtons:function(_548){ if(_548){ if(_548.next){ _533.set(this.avmNextButton.domNode,"display",""); if(_548.nextLabel){ this.avmNextButton.set("label",_548.nextLabel); }else{ this.avmNextButton.set("label",i18n.nextText); } }else{ _533.set(this.avmNextButton.domNode,"display","none"); } if(_548.prev){ _533.set(this.avmPreviousButton.domNode,"display",""); if(_548.prevLabel){ this.avmPreviousButton.set("label",_548.prevLabel); }else{ this.avmPreviousButton.set("label",i18n.previousText); } }else{ _533.set(this.avmPreviousButton.domNode,"display","none"); } if(_548.cancellable&&(!this.standalone)){ _533.set(this.avmCancelButton.domNode,"display",""); }else{ _533.set(this.avmCancelButton.domNode,"display","none"); } } },refreshButtons:function(){ this.displayPertinentButtons(this.getButtonsToDisplay()); },screenChangeHandler:function(_549){ if(_549){ this.resetAttempts(); this.displayPertinentButtons(this.screenMovementMapper[this.get("currentScreen")]); }else{ this.incrementAttempts(); } },cancelHandler:function(_54a){ },previousHandler:function(_54b){ },nextHandler:function(_54c){ },postCreate:function(){ if(this.hideButtons){ _533.set(this.buttonsContainer,{display:"none"}); } }}); return _53b; }); },"url:sce/templates/Notification.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      notification
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","url:dijit/form/templates/Button.html":"\r\n","dojo/_base/url":function(){ define("dojo/_base/url",["./kernel"],function(dojo){ var ore=new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$"),ire=new RegExp("^((([^\\[:]+):)?([^@]+)@)?(\\[([^\\]]+)\\]|([^\\[:]*))(:([0-9]+))?$"),_54d=function(){ var n=null,_54e=arguments,uri=[_54e[0]]; for(var i=1;i<_54e.length;i++){ if(!_54e[i]){ continue; } var _54f=new _54d(_54e[i]+""),_550=new _54d(uri[0]+""); if(_54f.path==""&&!_54f.scheme&&!_54f.authority&&!_54f.query){ if(_54f.fragment!=n){ _550.fragment=_54f.fragment; } _54f=_550; }else{ if(!_54f.scheme){ _54f.scheme=_550.scheme; if(!_54f.authority){ _54f.authority=_550.authority; if(_54f.path.charAt(0)!="/"){ var path=_550.path.substring(0,_550.path.lastIndexOf("/")+1)+_54f.path; var segs=path.split("/"); for(var j=0;j0&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){ if(j==(segs.length-1)){ segs.splice(j,1); segs[j-1]=""; }else{ segs.splice(j-1,2); j-=2; } } } } _54f.path=segs.join("/"); } } } } uri=[]; if(_54f.scheme){ uri.push(_54f.scheme,":"); } if(_54f.authority){ uri.push("//",_54f.authority); } uri.push(_54f.path); if(_54f.query){ uri.push("?",_54f.query); } if(_54f.fragment){ uri.push("#",_54f.fragment); } } this.uri=uri.join(""); var r=this.uri.match(ore); this.scheme=r[2]||(r[1]?"":n); this.authority=r[4]||(r[3]?"":n); this.path=r[5]; this.query=r[7]||(r[6]?"":n); this.fragment=r[9]||(r[8]?"":n); if(this.authority!=n){ r=this.authority.match(ire); this.user=r[3]||n; this.password=r[4]||n; this.host=r[6]||r[7]; this.port=r[9]||n; } }; _54d.prototype.toString=function(){ return this.uri; }; return dojo._Url=_54d; }); },"dojox/main":function(){ define("dojox/main",["dojo/_base/kernel"],function(dojo){ return dojo.dojox; }); },"sce/HashableContentPane":function(){ define("sce/HashableContentPane",["dojo/_base/declare","dojo/_base/array","dojo/window","dojo/hash","sce/ContentPane"],function(_551,_552,win,hash,_553){ var _554=_551("sce.HashableContentPane",[_553],{postCreate:function(){ var _555=hash(); if(_555){ var _556=_555.split("/"); if(_552.indexOf(_556,this._getHashedId())>=0){ this.set("collapsed",false); } } this.inherited(arguments); },hide:function(init){ this.inherited(arguments); if(!init){ this._removeFromHash(); } },show:function(init){ this.inherited(arguments); if(!init){ this._addToHash(); } win.scrollIntoView(this.domNode); },_getHashedId:function(){ return this.id+"-hash"; },_addToHash:function(){ var _557=hash(); if(_557){ var _558=_557.split("/"); if(_552.indexOf(_558,this._getHashedId())<0){ hash(_557+"/"+this._getHashedId(),true); } }else{ hash(this._getHashedId(),true); } },_removeFromHash:function(){ var _559=hash(); if(_559){ var _55a=_559.split("/"); var _55b=_552.indexOf(_55a,this._getHashedId()); if(_55b>=0){ _55a.splice(_55b,1); var tmp=_55a.join("/"); if(tmp!=""){ hash(tmp,true); } } } }}); return _554; }); },"sce/flow/Content":function(){ define("sce/flow/Content",["dojo/_base/declare","dojo/_base/array","dojo/query","dojo/domReady","dojo/dom-construct","dijit/registry","sce/flow/Flow","sce/ContentPane","sce/HashableContentPane","dojo/NodeList-manipulate","sce/VideoPlayer"],function(_55c,_55d,_55e,_55f,_560,_561,Flow,_562,_563){ var _564=_55c([Flow],{swapTitles:function(){ var _565=_55e("h1.pageTitle.responsivePageTitle"); var _566=_55e("h1.pageTitle:not(.responsivePageTitle) .pageTitleText"); if(_565&&(_565.length>0)&&_566&&(_566.length>0)){ _566.text(_565.text()); _565.forEach(_560.destroy); } },initializeExpandCollapsers:function(){ var _567=_55e(".expandAll"),_568=_55e(".closeAll"); _567.on("click",function(){ _55d.forEach(_567,function(_569,n){ _55e(_569).parent()[0].style.display="none"; }); _55d.forEach(_568,function(_56a,m){ _55e(_56a).parent()[0].style.display="block"; }); var _56b=_561.toArray(); for(var i=0;i<_56b.length;i++){ if(_56b[i].isInstanceOf(_562)){ _56b[i].show(true); } } }); _568.on("click",function(){ _55d.forEach(_567,function(_56c,n){ _55e(_56c).parent()[0].style.display="block"; }); _55d.forEach(_568,function(_56d,m){ _55e(_56d).parent()[0].style.display="none"; }); var _56e=_561.toArray(); for(var i=0;i<_56e.length;i++){ if((_56e[i].declaredClass==="sce.ContentPane")||_56e[i].declaredClass==="sce.HashableContentPane"){ _56e[i].hide(true); } } }); },constructor:function(){ this.initializeExpandCollapsers(); this.swapTitles(); this.inherited(arguments); }}); return _564; }); },"sce/schema/SectorSchema":function(){ define("sce/schema/SectorSchema",[],function(){ return {"title":"Sector Schema","description":"Schema to validate outage sector data","type":"array","items":{"type":"object","properties":{"SECTOR_NO":{"type":"string"}},"required":["SECTOR_NO"]}}; }); },"sce/form/LoginForm":function(){ define("sce/form/LoginForm",["dojo/_base/declare","dijit/_WidgetBase","sce/_Validation","dojo/dom","dojo/on","dojo/dom-geometry","dojo/_base/lang","dojo/_base/fx","dojo/fx","dojo/dom-attr","dojo/dom-style","dojo/dom-class","dojo/dom-construct","dojo/query","dijit/focus","dijit/registry"],function(_56f,_570,_571,dom,on,_572,lang,fx,_573,_574,_575,_576,_577,_578,_579,_57a){ var _57b=_56f("sce.form.LoginForm",[_570,_571],{widgetsInTemplate:false,type:"desktop",timer:null,validation:[],_prePopulatedTimer:null,_ajaxLoginResult:null,postCreate:function(){ if(this._checkLoginStructure()){ if(this.type=="desktop"){ on(dom.byId("fullLoginEmail"),"focus",lang.hitch(dom.byId("fullLoginEmail"),this._onFocus,this._onKeyup)); on(dom.byId("fullLoginEmail"),"blur",lang.hitch(dom.byId("fullLoginEmail"),this._onBlur)); on(dom.byId("fullLoginEmail"),"keyup",lang.hitch(dom.byId("fullLoginEmail"),this._onKeyup)); on(dom.byId("fullLoginPassword"),"focus",lang.hitch(dom.byId("fullLoginPassword"),this._onFocus,this._onKeyup)); on(dom.byId("fullLoginPassword"),"blur",lang.hitch(dom.byId("fullLoginPassword"),this._onBlur)); on(dom.byId("fullLoginPassword"),"keyup",lang.hitch(dom.byId("fullLoginPassword"),this._onKeyup)); } if(this.type=="mobile"){ on(dom.byId("mobileLoginEmail"),"focus",lang.hitch(dom.byId("mobileLoginEmail"),this._onFocus,this._onKeyup)); on(dom.byId("mobileLoginEmail"),"blur",lang.hitch(dom.byId("mobileLoginEmail"),this._onBlur)); on(dom.byId("mobileLoginEmail"),"keyup",lang.hitch(dom.byId("mobileLoginEmail"),this._onKeyup)); on(dom.byId("mobileLoginPassword"),"focus",lang.hitch(dom.byId("mobileLoginPassword"),this._onFocus,this._onKeyup)); on(dom.byId("mobileLoginPassword"),"blur",lang.hitch(dom.byId("mobileLoginPassword"),this._onBlur)); on(dom.byId("mobileLoginPassword"),"keyup",lang.hitch(dom.byId("mobileLoginPassword"),this._onKeyup)); } if(this.type=="module"){ on(dom.byId("moduleLoginEmail"),"focus",lang.hitch(dom.byId("moduleLoginEmail"),this._onFocus,this._onKeyup)); on(dom.byId("moduleLoginEmail"),"blur",lang.hitch(dom.byId("moduleLoginEmail"),this._onBlur)); on(dom.byId("moduleLoginEmail"),"keyup",lang.hitch(dom.byId("moduleLoginEmail"),this._onKeyup)); on(dom.byId("moduleLoginPassword"),"focus",lang.hitch(dom.byId("moduleLoginPassword"),this._onFocus,this._onKeyup)); on(dom.byId("moduleLoginPassword"),"blur",lang.hitch(dom.byId("moduleLoginPassword"),this._onBlur)); on(dom.byId("moduleLoginPassword"),"keyup",lang.hitch(dom.byId("moduleLoginPassword"),this._onKeyup)); } if(this.type=="module2"){ on(dom.byId("module2LoginEmail"),"focus",lang.hitch(dom.byId("module2LoginEmail"),this._onFocus,this._onKeyup)); on(dom.byId("module2LoginEmail"),"blur",lang.hitch(dom.byId("module2LoginEmail"),this._onBlur)); on(dom.byId("module2LoginEmail"),"keyup",lang.hitch(dom.byId("module2LoginEmail"),this._onKeyup)); on(dom.byId("module2LoginPassword"),"focus",lang.hitch(dom.byId("module2LoginPassword"),this._onFocus,this._onKeyup)); on(dom.byId("module2LoginPassword"),"blur",lang.hitch(dom.byId("module2LoginPassword"),this._onBlur)); on(dom.byId("module2LoginPassword"),"keyup",lang.hitch(dom.byId("module2LoginPassword"),this._onKeyup)); } if(this.type=="module3"){ on(dom.byId("module3LoginEmail"),"focus",lang.hitch(dom.byId("module3LoginEmail"),this._onFocus,this._onKeyup)); on(dom.byId("module3LoginEmail"),"blur",lang.hitch(dom.byId("module3LoginEmail"),this._onBlur)); on(dom.byId("module3LoginEmail"),"keyup",lang.hitch(dom.byId("module3LoginEmail"),this._onKeyup)); on(dom.byId("module3LoginPassword"),"focus",lang.hitch(dom.byId("module3LoginPassword"),this._onFocus,this._onKeyup)); on(dom.byId("module3LoginPassword"),"blur",lang.hitch(dom.byId("module3LoginPassword"),this._onBlur)); on(dom.byId("module3LoginPassword"),"keyup",lang.hitch(dom.byId("module3LoginPassword"),this._onKeyup)); } } },startup:function(){ if(this.type=="desktop"){ lang.hitch(dom.byId("fullLoginEmail"),this._onKeyup)(); lang.hitch(dom.byId("fullLoginPassword"),this._onKeyup)(); } if(this.type=="mobile"){ lang.hitch(dom.byId("mobileLoginEmail"),this._onKeyup)(); lang.hitch(dom.byId("mobileLoginPassword"),this._onKeyup)(); } if(this.type=="module"){ lang.hitch(dom.byId("moduleLoginEmail"),this._onKeyup)(); lang.hitch(dom.byId("moduleLoginPassword"),this._onKeyup)(); } if(this.type=="module2"){ lang.hitch(dom.byId("module2LoginEmail"),this._onKeyup)(); lang.hitch(dom.byId("module2LoginPassword"),this._onKeyup)(); } if(this.type=="module3"){ lang.hitch(dom.byId("module3LoginEmail"),this._onKeyup)(); lang.hitch(dom.byId("module3LoginPassword"),this._onKeyup)(); } this._prePopulatedTest(); this.inherited(arguments); },_isFilledOut:function(){ if(dom.byId(this.type+"Login_guest")!=null&&dom.byId(this.type+"Login_guest").value=="true"){ return true; } var _57c=""; if(this.type=="mobile"){ _57c="mobileLoginEmail"; }else{ if(this.type=="module"){ _57c="moduleLoginEmail"; }else{ _57c="fullLoginEmail"; } } var _57d=""; if(this.type=="mobile"){ _57d="mobileLoginPassword"; }else{ if(this.type=="module"){ _57d="moduleLoginPassword"; }else{ _57d="fullLoginPassword"; } } if(dom.byId(_57c).value==""||dom.byId(_57d).value==""){ return false; }else{ return true; } },showValidStyle:function(){ },showErrorStyle:function(){ if(this.type=="desktop"){ _574.set(dom.byId("fullLoginEmail"),"aria-invalid","true"); _574.set(dom.byId("fullLoginPassword"),"aria-invalid","true"); _574.set(dom.byId("fullLoginEmail"),"aria-describedby","desktopLoginError"); _574.set(dom.byId("fullLoginPassword"),"aria-describedby","desktopLoginError"); _576.add(dom.byId("fullLoginEmailPlaceholder"),"errorState"); _576.add(dom.byId("fullLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("desktopLoginError"),"display","block"); dom.byId("desktopLoginError").focus(); }else{ if(this.type=="mobile"){ _574.set(dom.byId("mobileLoginEmail"),"aria-invalid","true"); _574.set(dom.byId("mobileLoginPassword"),"aria-invalid","true"); _574.set(dom.byId("mobileLoginEmail"),"aria-describedby","mobileLoginError"); _574.set(dom.byId("mobileLoginPassword"),"aria-describedby","mobileLoginError"); _576.add(dom.byId("mobileLoginEmailPlaceholder"),"errorState"); _576.add(dom.byId("mobileLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("mobileLoginError"),"display","block"); dom.byId("mobileLoginError").focus(); }else{ if(this.type=="module"){ _574.set(dom.byId("moduleLoginEmail"),"aria-invalid","true"); _574.set(dom.byId("moduleLoginPassword"),"aria-invalid","true"); _574.set(dom.byId("moduleLoginEmail"),"aria-describedby","moduleLoginError"); _574.set(dom.byId("moduleLoginPassword"),"aria-describedby","moduleLoginError"); _576.add(dom.byId("moduleLoginEmailPlaceholder"),"errorState"); _576.add(dom.byId("moduleLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("moduleLoginError"),"display","block"); dom.byId("moduleLoginError").focus(); } } } },setErrorFocus:function(){ if(this.type=="desktop"){ _579.focus(dom.byId("fullLoginEmail")); }else{ if(this.type=="mobile"){ _579.focus(dom.byId("mobileLoginEmail")); }else{ if(this.type=="module"){ _579.focus(dom.byId("moduleLoginEmail")); } } } },showDefaultStyle:function(){ if(this.type=="desktop"){ _574.set(dom.byId("fullLoginEmail"),"aria-invalid","false"); _574.set(dom.byId("fullLoginPassword"),"aria-invalid","false"); _574.remove(dom.byId("fullLoginEmail"),"aria-describedby"); _574.remove(dom.byId("fullLoginPassword"),"aria-describedby"); _576.remove(dom.byId("fullLoginEmailPlaceholder"),"errorState"); _576.remove(dom.byId("fullLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("desktopLoginError"),"display","none"); }else{ if(this.type=="mobile"){ _574.set(dom.byId("mobileLoginEmail"),"aria-invalid","false"); _574.set(dom.byId("mobileLoginPassword"),"aria-invalid","false"); _574.remove(dom.byId("mobileLoginEmail"),"aria-describedby"); _574.remove(dom.byId("mobileLoginPassword"),"aria-describedby"); _576.remove(dom.byId("mobileLoginEmailPlaceholder"),"errorState"); _576.remove(dom.byId("mobileLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("mobileLoginError"),"display","none"); }else{ if(this.type=="module"){ _574.set(dom.byId("moduleLoginEmail"),"aria-invalid","false"); _574.set(dom.byId("moduleLoginPassword"),"aria-invalid","false"); _574.remove(dom.byId("moduleLoginEmail"),"aria-describedby"); _574.remove(dom.byId("moduleLoginPassword"),"aria-describedby"); _576.remove(dom.byId("moduleLoginEmailPlaceholder"),"errorState"); _576.remove(dom.byId("moduleLoginPasswordPlaceholder"),"errorState"); _575.set(dom.byId("moduleLoginError"),"display","none"); } } } },_loginAjaxResponse:function(){ this._ajaxLoginResult=true; },_loginAjaxErrResponse:function(){ this._ajaxLoginResult=false; },_checkLoginStructure:function(){ var _57e=null; if(this.type=="desktop"){ _57e=["fullLoginEmail","fullLoginEmailPlaceholder","fullLoginPassword","fullLoginPasswordPlaceholder"]; } if(this.type=="mobile"){ if(dom.byId("mobileLoginEmail")!=undefined&&dom.byId("mobileLoginPassword")!=undefined&&dom.byId("mobileLoginEmailPlaceholder")!=undefined&&dom.byId("mobileLoginPasswordPlaceholder")!=undefined){ _57e=["mobileLoginEmail","mobileLoginEmailPlaceholder","mobileLoginPassword","mobileLoginPasswordPlaceholder"]; } } if(this.type=="module"){ if(dom.byId("moduleLoginEmail")!=undefined&&dom.byId("moduleLoginEmailPlaceholder")!=undefined&&dom.byId("moduleLoginPassword")!=undefined&&dom.byId("moduleLoginPasswordPlaceholder")!=undefined){ _57e=["moduleLoginEmail","moduleLoginEmailPlaceholder","moduleLoginPassword","moduleLoginPasswordPlaceholder"]; } } if(this.type=="module2"){ if(dom.byId("module2LoginEmail")!=undefined&&dom.byId("module2LoginEmailPlaceholder")!=undefined&&dom.byId("module2LoginPassword")!=undefined&&dom.byId("module2LoginPasswordPlaceholder")!=undefined){ _57e=["module2LoginEmail","module2LoginEmailPlaceholder","module2LoginPassword","module2LoginPasswordPlaceholder"]; } } if(this.type=="module3"){ if(dom.byId("module3LoginEmail")!=undefined&&dom.byId("module3LoginEmailPlaceholder")!=undefined&&dom.byId("module3LoginPassword")!=undefined&&dom.byId("module3LoginPasswordPlaceholder")!=undefined){ _57e=["module3LoginEmail","module3LoginEmailPlaceholder","module3LoginPassword","module3LoginPasswordPlaceholder"]; } } var _57f=true; if(_57e!=null){ for(var i=0;i<_57e.length;i++){ if(!dom.byId(_57e[i])){ console.error("Invalid login structure: Missing \""+_57e[i]+"\""); _57f=false; } } return _57f; } },_onFocus:function(_580){ _576.add(dom.byId(this.id+"Placeholder"),"focused"); clearInterval(this._timer); if(typeof _580=="function"){ this._timer=setInterval(lang.hitch(dom.byId(this.id),_580),400); } },_onBlur:function(){ _576.remove(dom.byId(this.id+"Placeholder"),"focused"); clearInterval(this._timer); },_onKeyup:function(){ if(dom.byId(this.id)!=null){ if(dom.byId(this.id).value!=""){ _576.add(dom.byId(this.id+"Placeholder"),"notEmpty"); }else{ _576.remove(dom.byId(this.id+"Placeholder"),"notEmpty"); } } },_checkFormFields:function(func){ var _581=function(id){ if(dom.byId(id)){ var _582=dom.byId(id+"Placeholder"); if(_582){ if(dom.byId(id).value!=""){ _576.add(_582,"notEmpty"); }else{ _576.remove(_582,"notEmpty"); } } } }; _581("fullLoginEmail"); _581("fullLoginPassword"); _581("mobileLoginEmail"); _581("mobileLoginPassword"); _581("moduleLoginEmail"); _581("moduleLoginPassword"); _581("module2LoginEmail"); _581("module2LoginPassword"); _581("module3LoginEmail"); _581("module3LoginPassword"); },_prePopulatedTest:function(){ clearInterval(this._prePopulatedTimer); this._prePopulatedTimer=setInterval(this._checkFormFields,400); }}); return _57b; }); },"dojo/text":function(){ define("dojo/text",["./_base/kernel","require","./has","./_base/xhr"],function(dojo,_583,has,xhr){ var _584; if(1){ _584=function(url,sync,load){ xhr("GET",{url:url,sync:!!sync,load:load}); }; }else{ if(_583.getText){ _584=_583.getText; }else{ console.error("dojo/text plugin failed to load because loader does not support getText"); } } var _585={},_586=function(text){ if(text){ text=text.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,""); var _587=text.match(/]*>\s*([\s\S]+)\s*<\/body>/im); if(_587){ text=_587[1]; } }else{ text=""; } return text; },_588={},_589={},_58a={dynamic:true,normalize:function(id,_58b){ var _58c=id.split("!"),url=_58c[0]; return (/^\./.test(url)?_58b(url):url)+(_58c[1]?"!"+_58c[1]:""); },load:function(id,_58d,load){ var _58e=id.split("!"),_58f=_58e.length>1,_590=_58e[0],url=_58d.toUrl(_58e[0]),text=_588,_591=function(text){ load(_58f?_586(text):text); }; if(_590 in _585){ text=_585[_590]; }else{ if(url in _58d.cache){ text=_58d.cache[url]; }else{ if(url in _585){ text=_585[url]; } } } if(text===_588){ if(_589[url]){ _589[url].push(_591); }else{ var _592=_589[url]=[_591]; _584(url,!_58d.async,function(text){ _585[_590]=_585[url]=text; for(var i=0;i<_592.length;){ _592[i++](text); } delete _589[url]; }); } }else{ _591(text); } }}; dojo.cache=function(_593,url,_594){ var key; if(typeof _593=="string"){ if(/\//.test(_593)){ key=_593; _594=url; }else{ key=_583.toUrl(_593.replace(/\./g,"/")+(url?("/"+url):"")); } }else{ key=_593+""; _594=url; } var val=(_594!=undefined&&typeof _594!="string")?_594.value:_594,_595=_594&&_594.sanitize; if(typeof val=="string"){ _585[key]=val; return _595?_586(val):val; }else{ if(val===null){ delete _585[key]; return null; }else{ if(!(key in _585)){ _584(key,true,function(text){ _585[key]=text; }); } return _595?_586(_585[key]):_585[key]; } } }; return _58a; }); },"url:sce/avm/templates/AddressValidationHANA.html":"
      \r\n
      \r\n
      error
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmHomeBusinessPleaseZipcode}\r\n
      \r\n
      \r\n ${_bundle.zipCodeText} (#####)\r\n
      \r\n ${_bundle.invalidZip}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n ${_bundle.invalidStreetName}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.unitNumberLabelText}\r\n
      \r\n ${_bundle.invalidUnitNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n Is this the address you meant?\r\n
      \r\n

      Some address that may be the one you're looking for.

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n
      \r\n
      \r\n
      ${_bundle.unitNumberLabelText}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.havaAvmCouldntFind}\r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.avScreen4Text}\r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.hanaAvmAssistanceText1}

      \r\n

      ${_bundle.hanaAvmAssistanceText2}

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.zipCodeText}:

      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      ","url:dijit/form/templates/CheckBox.html":"
      \r\n","sce/flow/outage/_Outage":function(){ define("sce/flow/outage/_Outage",["dojo/_base/declare","dojo/_base/array","dojo/_base/window","dojo/_base/lang","dojo/dom","dojo/dom-attr","dojo/dom-class","dojo/query","dojo/on","dojo/aspect","dojo/Stateful","dojo/_base/event","dijit/registry","sce/flow/Flow","sce/_Validation","sce/ProgressBar","sce/form/RadioButton","sce/Dialog"],function(_596,_597,win,lang,dom,_598,_599,_59a,on,_59b,_59c,_59d,_59e,Flow,_59f,_5a0){ var _5a1=_596([Flow,_59c],{bypass:false,cancelling:false,pageForm:null,actionNext:null,nextButton:null,actionPrev:null,prevButton:null,initializeFormNavigation:function(_5a2){ var _5a3=_59e.byId("nextButton"),_5a4=_59e.byId("prevButton"),_5a5=_59e.byId("cancelButton"),_5a6=_59e.byId("cancelDialog"),_5a7=_59e.byId("cancelNo"),_5a8=_59e.byId("cancelYes"),_5a9=dom.byId("theForm"); this.set("pageForm",_5a9); this.set("nextButton",_5a3); this.set("prevButton",_5a4); if(_5a3&&(typeof _5a2.actionNext!=="undefined")){ this.set("actionNext",_5a2.actionNext); on(_5a3,"click",lang.hitch(this,this.nextButtonHandler)); } if(_5a4&&(typeof _5a2.actionPrev!=="undefined")){ this.set("actionPrev",_5a2.actionPrev); on(_5a4,"click",lang.hitch(this,this.prevButtonHandler)); } if(dom.byId("submitButton")){ on(_59e.byId("submitButton"),"click",function(){ var _5aa=_59e.byId("submitButton"); _5aa.set("disabled",true); _5aa.changeStyle("subdued-alt"); setTimeout(function(){ _5aa.set("disabled",false); _5aa.changeStyle("emphasized"); },3000); sendForm(); }); } if(_5a5&&(typeof _5a2.actionCancel!=="undefined")){ on(_5a5,"click",lang.hitch(this,function(_5ab){ if(_5a6){ _5a6.show(); this.set("cancelling",true); } _598.set(_5a9,"action",_5a2.actionCancel); })); } if(_5a6){ if(_5a7){ on(_5a7,"click",function(){ _5a6.hide(); }); } if(_5a8){ on(_5a8,"click",function(){ _598.set(_5a9,"action",_5a2.actionCancel); _5a9.submit(); }); } _5a6.on("closeDialog",lang.hitch(this,function(){ this.set("cancelling",false); })); } this.setupEditButtons(); if(_5a9){ on(_5a9,"submit",lang.hitch(this,this.handleFormSubmission)); } },handleFormSubmission:function(_5ac){ if(this.get("submitting")){ _59d.stop(_5ac); return; } this.lockSubmit(); if(this.get("cancelling")){ this.set("cancelling",false); _59d.stop(_5ac); this.unlockSubmit(); }else{ if(!this.get("bypass")){ var _5ad=_59f.isValidForm(_5ac.target); if(_5ad.result===false){ _59d.stop(_5ac); this.unlockSubmit(); } } } bypass=false; },nextButtonHandler:function(e){ this.set("bypass",false); _598.set(this.get("pageForm"),"action",this.get("actionNext")); },prevButtonHandler:function(e){ this.set("bypass",true); _598.set(this.get("pageForm"),"action",this.get("actionPrev")); },lockSubmit:function(){ var _5ae=this.get("nextButton"),_5af=this.get("prevButton"); function _5b0(_5b1){ return function(_5b2,args){ _599.remove(this.domNode,"dijitHover"); _599.remove(this.domNode,"dijitButtonHover"); }; }; if(_5ae){ this.set("nextAdvice",_59b.around(_5ae,"_setStateClass",_5b0)); _599.add(_5ae.domNode,"dijitDisabled"); _599.remove(_5ae.domNode,"dijitHover"); _599.remove(_5ae.domNode,"dijitButtonHover"); } if(_5af){ this.set("prevAdvice",_59b.around(_5af,"_setStateClass",_5b0)); _599.add(_5af.domNode,"dijitDisabled"); _599.remove(_5af.domNode,"dijitHover"); _599.remove(_5af.domNode,"dijitButtonHover"); } this.set("submitting",true); },unlockSubmit:function(){ var _5b3=this.get("nextButton"),_5b4=this.get("prevButton"),_5b5=this.get("nextAdvice"),_5b6=this.get("prevAdvice"); if(_5b3){ if(_5b5){ _5b5.remove(); this.set("nextAdvice",null); } _599.remove(_5b3.domNode,"dijitDisabled"); } if(_5b4){ if(_5b6){ _5b6.remove(); this.set("prevAdvice",null); } _599.remove(_5b4.domNode,"dijitDisabled"); } this.set("submitting",false); },setupEditButtons:function(){ var _5b7=[{"buttonId":"editHomeOutageInfoButton","editPage":"outage-reportoutage-homeorbusiness-describe.html"},{"buttonId":"editHomeNotificationInfoButton","editPage":"outage-reportoutage-homeorbusiness-requestorinfo.html"},{"buttonId":"editStreetLightOutageInfoButton","editPage":"outage-reportoutage-streetlight-describe.html"},{"buttonId":"editStreetLightNotificationInfoButton","editPage":"outage-reportoutage-streetlight-requestorinfo.html"}]; _597.forEach(_5b7,function(_5b8){ var _5b9=_59e.byId(_5b8.buttonId),page=_5b8.editPage; if(_5b9){ on(_5b9,"click",function(){ window.location=page; }); } }); },constructor:function(_5ba){ _5ba=(_5ba||{}); _599.remove(win.body(),"promotional"); }}); return _5a1; }); },"sce/api/Google":function(){ define("sce/api/Google",["dojo/_base/declare","dojo/_base/Deferred","dojo/io/script","dojo/ready","sce/api/_APIConstants"],function(_5bb,_5bc,_5bd,_5be,_5bf){ var _5c0=new _5bc(); _5be(_5bf.LOAD_PRIORITY,function(){ if(typeof gapi==="undefined"){ if(typeof GoogleOnLoadCallback==="undefined"){ window.GoogleOnLoadCallback=function(){ _5c0.resolve(gapi); }; _5bd.get({url:"https://apis.google.com/js/platform.js?onload=GoogleOnLoadCallback"}); } }else{ _5c0.resolve(gapi); } }); return _5c0; }); },"dojo/uacss":function(){ define("dojo/uacss",["./dom-geometry","./_base/lang","./ready","./_base/sniff","./_base/window"],function(_5c1,lang,_5c2,has,_5c3){ var html=_5c3.doc.documentElement,ie=has("ie"),_5c4=has("opera"),maj=Math.floor,ff=has("ff"),_5c5=_5c1.boxModel.replace(/-/,""),_5c6={"dj_ie":ie,"dj_ie6":maj(ie)==6,"dj_ie7":maj(ie)==7,"dj_ie8":maj(ie)==8,"dj_ie9":maj(ie)==9,"dj_quirks":has("quirks"),"dj_iequirks":ie&&has("quirks"),"dj_opera":_5c4,"dj_khtml":has("khtml"),"dj_webkit":has("webkit"),"dj_safari":has("safari"),"dj_chrome":has("chrome"),"dj_gecko":has("mozilla"),"dj_ff3":maj(ff)==3}; _5c6["dj_"+_5c5]=true; var _5c7=""; for(var clz in _5c6){ if(_5c6[clz]){ _5c7+=clz+" "; } } html.className=lang.trim(html.className+" "+_5c7); _5c2(90,function(){ if(!_5c1.isBodyLtr()){ var _5c8="dj_rtl dijitRtl "+_5c7.replace(/ /g,"-rtl "); html.className=lang.trim(html.className+" "+_5c8+"dj_rtl dijitRtl "+_5c7.replace(/ /g,"-rtl ")); } }); return has; }); },"dojo/string":function(){ define("dojo/string",["./_base/kernel","./_base/lang"],function(dojo,lang){ lang.getObject("string",true,dojo); dojo.string.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(""); }; dojo.string.pad=function(text,size,ch,end){ if(!ch){ ch="0"; } var out=String(text),pad=dojo.string.rep(ch,Math.ceil((size-out.length)/ch.length)); return end?out+pad:pad+out; }; dojo.string.substitute=function(_5c9,map,_5ca,_5cb){ _5cb=_5cb||dojo.global; _5ca=_5ca?lang.hitch(_5cb,_5ca):function(v){ return v; }; return _5c9.replace(/\$\{([^\s\:\}]+)(?:\:([^\s\:\}]+))?\}/g,function(_5cc,key,_5cd){ var _5ce=lang.getObject(key,false,map); if(_5cd){ _5ce=lang.getObject(_5cd,false,_5cb).call(_5cb,_5ce,key); } return _5ca(_5ce,key).toString(); }); }; dojo.string.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 dojo.string; }); },"url:sce/templates/TipGallery.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \"\"/\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      ","sce/RestCard":function(){ require({cache:{"url:sce/templates/RestCardA.html":"
      \r\n
      \r\n \r\n

      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      ","url:sce/templates/RestCardB.html":"
      \r\n
      \r\n \r\n

      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      ","url:sce/templates/RestCardC.html":"
      \r\n \r\n

      \r\n
      \r\n \r\n
      \r\n
      \r\n
      ","url:sce/templates/RestCardD.html":"
      ","url:sce/templates/RestCardE.html":"
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      "}}); define("sce/RestCard",["dojo/_base/declare","dojo/_base/lang","dojo/_base/sniff","dojo/html","dojox/html/entities","dojo/parser","dojo/dom-style","dojo/dom-class","dojo/dom-construct","dojo/on","sce/Card","sce/form/Button","dojo/i18n!sce/nls/common","dojo/text!./templates/RestCardA.html","dojo/text!./templates/RestCardB.html","dojo/text!./templates/RestCardC.html","dojo/text!./templates/RestCardD.html","dojo/text!./templates/RestCardE.html"],function(_5cf,lang,has,html,_5d0,_5d1,_5d2,_5d3,_5d4,on,Card,_5d5,i18n,_5d6,_5d7,_5d8,_5d9,_5da){ var _5db=_5cf("sce.RestCard",[Card],{cardType:"A",templateTheme:"",title:"",_setTitleAttr:function(_5dc){ if(this.titleNode){ html.set(this.titleNode,_5dc); } },date:"",topText:"",_setTopTextAttr:function(_5dd){ if(this.topTextNode){ html.set(this.topTextNode,_5dd); } },bottomText:"",_setBottomTextAttr:function(_5de){ if(this.bottomTextNode){ html.set(this.bottomTextNode,_5de); } },image:"",video:"",ctaLink:"",ctaLinkTarget:"_self",ctaLinkText:"",ctaLinkButtonTheme:"",ctaButtonSlot:null,topComponent:null,bottomComponent:null,templateString:_5d6,_setImageAttr:function(_5df){ if(this.cardType==="D"){ if(has("ie")<9){ this.domNode.style.backgroundImage="url("+_5df+")"; }else{ this.domNode.style.setProperty("background-image","url("+_5df+")","important"); } }else{ _5d2.set(this.domNode,{backgroundImage:("url("+_5df+")")}); } },hideOverlays:function(){ _5d3.add(this.domNode,"overlaysHidden"); },showOverlays:function(){ _5d3.remove(this.domNode,"overlaysHidden"); },postCreate:function(){ if(this.topComponent&&this.topSection){ _5d4.place(this.topComponent,this.topSection,"replace"); this.topSection=this.topComponent; } if(this.bottomComponent&&this.bottomSection){ _5d4.place(this.bottomComponent,this.bottomSection,"replace"); this.bottomSection=this.bottomComponent; } if(this.video){ var self=this; var _5e0=this.video; var _5e1=_5d4.create("div",{className:"videoComponentContainer"},this.domNode); var _5e2=_5d4.create("div",{},_5e1); require(["sce/YoutubePlayer"],function(_5e3){ var _5e4=new _5e3(_5e2); _5e4.loadVideo(_5e0); function _5e5(){ self.hideOverlays(); }; function _5e6(){ self.showOverlays(); }; _5e4.on(_5e3.PlayerEvents.PLAYER_PAUSED,_5e6); _5e4.on(_5e3.PlayerEvents.PLAYER_CUED,_5e6); _5e4.on(_5e3.PlayerEvents.PLAYER_PLAYING,_5e5); }); } this.inherited(arguments); },startup:function(){ _5d1.parse(this.domNode); if((this.ctaButtonSlot!==null)&&(this.ctaLink)){ var _5e7=new _5d5({disableResponsiveMode:true,styleType:this.ctaLinkButtonTheme,label:(this.ctaLinkText||i18n.learnMoreText)}); _5e7.placeAt(this.ctaButtonSlot); _5e7.on("click",lang.hitch(this,function(){ if(this.ctaLinkTarget==="_self"){ location.assign(this.ctaLink); }else{ if(this.ctaLinkTarget==="_blank"){ window.open(this.ctaLink); } } })); } this.inherited(arguments); },postMixInProperties:function(){ var _5e8=[["&","amp"],["<","gt"],[">","lt"],["'","#39"],["\"","#34"]]; if(this.title){ this.title=_5d0.decode(this.title,_5e8); } if(this.topText){ this.topText=_5d0.decode(this.topText,_5e8); } if(this.linkText){ this.ctaLinkText=(this.ctaLinkText||this.linkText); } if(this.cardType){ switch(this.cardType){ case "A": this.templateString=_5d6; break; case "B": this.templateString=_5d7; break; case "C": this.templateString=_5d8; break; case "D": this.templateString=_5d9; break; case "E": this.templateString=_5da; break; default: this.templateString=_5d6; break; } } this.inherited(arguments); }}); return _5db; }); },"sce/FormSubmit":function(){ define("sce/FormSubmit",["dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/_base/event","dojo/dom","dojo/on","dojo/keys","dojo/mouse","dojo/query","dijit/registry","dojo/dom-style","sce/_Validation"],function(_5e9,lang,_5ea,_5eb,dom,on,keys,_5ec,_5ed,_5ee,_5ef,_5f0){ var _5f1=_5e9("sce.FormSubmit",[],{constructor:function(){ },startup:function(){ }}); _5f1.attachSubmitListener=function(_5f2,_5f3){ var _5f4=dom.byId(_5f2); _5ed("[type=submit]",_5f4).on("click",function(){ this.form.bypassAttemptValue=this.value; }); var _5f5=["Cancel","Previous","Review"]; if(_5f4){ on(_5f4,"submit",function(e){ var _5f6=false; if(_5f5&&this.bypassAttemptValue){ if(_5ea.indexOf(_5f5,this.bypassAttemptValue)>=0){ _5f6=true; } } if(_5f3){ _5f3(_5f6,e); }else{ if(!(_5f6||_5f0.isValidForm(_5f4).result)){ _5eb.stop(e); } } }); } }; return _5f1; }); },"sce/api/Youtube":function(){ define("sce/api/Youtube",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/lang","dojo/_base/sniff","dojo/io/script","dojo/ready","sce/api/_APIConstants"],function(_5f7,_5f8,lang,_5f9,_5fa,_5fb,_5fc){ var _5fd=new _5f8(); _5fb(_5fc.LOAD_PRIORITY,function(){ if(typeof YT==="undefined"||typeof YT.Player==="undefined"){ window.onYouTubeIframeAPIReady=function(){ _5fd.resolve(YT); }; _5fa.get({url:"https://www.youtube.com/iframe_api",error:function(e){ _5fd.reject("Youtube API failed to load"); }}); }else{ _5fd.resolve({success:true}); } }); return _5fd; }); },"url:sce/templates/SetupBar.html":"
      \r\n
      \r\n
      \r\n \r\n ${_closeSetupTextHidden}\r\n \r\n
      \r\n

      \r\n ${_setupBarDescriptionText1}\r\n \r\n ${_setupBarDescriptionText2}\r\n \r\n

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      \r\n \r\n ${_progressText}\r\n \r\n \r\n 0%\r\n \r\n \r\n

      \r\n
      \r\n
      \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n
      \r\n
      \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","dijit/form/_FormWidgetMixin":function(){ define("dijit/form/_FormWidgetMixin",["dojo/_base/array","dojo/_base/declare","dojo/dom-attr","dojo/dom-style","dojo/_base/lang","dojo/mouse","dojo/_base/sniff","dojo/_base/window","dojo/window","../a11y"],function(_5fe,_5ff,_600,_601,lang,_602,has,win,_603,a11y){ return _5ff("dijit.form._FormWidgetMixin",null,{name:"",alt:"",value:"",type:"text",tabIndex:"0",_setTabIndexAttr:"focusNode",disabled:false,intermediateChanges:false,scrollOnFocus:true,_setIdAttr:"focusNode",_setDisabledAttr:function(_604){ this._set("disabled",_604); _600.set(this.focusNode,"disabled",_604); if(this.valueNode){ _600.set(this.valueNode,"disabled",_604); } this.focusNode.setAttribute("aria-disabled",_604?"true":"false"); if(_604){ this._set("hovering",false); this._set("active",false); var _605="tabIndex" in this.attributeMap?this.attributeMap.tabIndex:("_setTabIndexAttr" in this)?this._setTabIndexAttr:"focusNode"; _5fe.forEach(lang.isArray(_605)?_605:[_605],function(_606){ var node=this[_606]; if(has("webkit")||a11y.hasDefaultTabStop(node)){ node.setAttribute("tabIndex","-1"); }else{ node.removeAttribute("tabIndex"); } },this); }else{ if(this.tabIndex!=""){ this.set("tabIndex",this.tabIndex); } } },_onFocus:function(by){ if(by=="mouse"&&this.isFocusable()){ var _607=this.connect(this.focusNode,"onfocus",function(){ this.disconnect(_608); this.disconnect(_607); }); var _608=this.connect(win.body(),"onmouseup",function(){ this.disconnect(_608); this.disconnect(_607); if(this.focused){ this.focus(); } }); } if(this.scrollOnFocus){ this.defer(function(){ _603.scrollIntoView(this.domNode); }); } this.inherited(arguments); },isFocusable:function(){ return !this.disabled&&this.focusNode&&(_601.get(this.domNode,"display")!="none"); },focus:function(){ if(!this.disabled&&this.focusNode.focus){ try{ this.focusNode.focus(); } catch(e){ } } },compare:function(val1,val2){ if(typeof val1=="number"&&typeof val2=="number"){ return (isNaN(val1)&&isNaN(val2))?0:val1-val2; }else{ if(val1>val2){ return 1; }else{ if(val1
      "}}); define("sce/LeftNavigation",["dojo/_base/declare","dojo/_base/Deferred","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_PaneLayout","dojo/dom","dojo/query","dojo/NodeList-traverse","dojo/on","dojo/_base/event","dojo/_base/lang","dojo/dom-class","dojo/_base/xhr","dojo/keys","dojo/fx","dojo/dom-style","dojo/dom-construct","dojo/_base/json","dojo/i18n!sce/nls/common","dojo/text!./templates/LeftNavigation.html"],function(_60b,_60c,_60d,_60e,_60f,dom,_610,_611,on,_612,lang,_613,xhr,keys,_614,_615,_616,json,i18n,_617){ var _618=_60b("sce.LeftNavigation",[_60d,_60e,_60f],{templateString:_617,widgetsInTemplate:true,dataSourceUri:"",treeData:null,skin:"",_callbackFn:null,_loaded:false,_loadedDeferred:null,constructor:function(){ this._loadedDeferred=new _60c(); this.inherited(arguments); },buildRendering:function(){ this.inherited(arguments); },postCreate:function(){ if(this.dataSourceUri!=""){ var _619={url:this.dataSourceUri,handleAs:"text"}; var _61a=xhr.get(_619); _61a.addCallback(this,"_loadSuccess"); } },startup:function(){ },setCallbackFn:function(fn){ this._callbackFn=fn; if(this._loaded){ this._callbackFn(); } },_loadSuccess:function(data){ var _61b=json.fromJson(data); var _61c=function(_61d){ if((typeof _61d.omit!=="undefined")&&(_61d.omit==="true")){ return false; }else{ if(_61d.children){ var i=_61d.children.length; while(i--){ if(!_61c(_61d.children[i])){ _61d.children.splice(i,1); } } } return true; } }; var _61e={"children":_61b.root}; _61c(_61e); this.treeData=_61b; this._buildTree(); var _61f=dom.byId(this.id); var _620={node:_61f,duration:300,onEnd:function(){ if(_610(".dj_ie8").length==1){ _615.set(_610("body")[0],{height:"auto"}); _615.set(_610("body")[0],{height:"100%"}); } }}; _614.wipeIn(_620).play(); this._loaded=true; if(this._callbackFn!=null){ this._callbackFn(); } this._loadedDeferred.resolve(this._loaded); },collapseOpenNodes:function(_621){ var _622=""; var _623=""; if(_621=="1"){ _622=".level1Child .level1 .expanded"; }else{ if(_621=="2"){ _622=".level2Child .level2 .expanded"; }else{ return; } } var _624=_610(_622,dom.byId(this.id)); var _625=new Array(); for(var i=0;i<_624.length;i++){ var _626; var _627=_624[i].parentNode.parentNode; if(_613.contains(_627,"level1")){ _626=_610("ul.second-level",_627)[0]; }else{ if(_613.contains(_627,"level2")){ _626=_610("ul.third-level",_627)[0]; } } var _628={node:_626,duration:300,onEnd:function(){ if(_610(".dj_ie8").length==1){ _615.set(_610("body")[0],{height:"auto"}); _615.set(_610("body")[0],{height:"100%"}); } }}; _625[i]=_614.wipeOut(_628); var _629=(_610("a",_624[i].parentNode.parentNode)[0].text)?_610("a",_624[i].parentNode.parentNode)[0].text:_610("a",_624[i].parentNode.parentNode)[0].innerText; _624[i].parentNode.title=i18n.expandCategoryText+": "+_629.replace(/&/g,"&"); _613.remove(_624[i],"expanded"); _613.add(_624[i],"collapsed"); } if(_625.length>0){ _614.combine(_625).play(); } },_onKeyUpItem:function(e){ if(e.keyCode==keys.ENTER||e.charCode==keys.SPACE){ _612.stop(e); this._onClickItem(e); } },_onClickItem:function(e){ if(!e){ e=window.event; } var node; if(window.event){ node=e.srcElement; }else{ node=e.target; } if(node.className.indexOf("accordionitem-state")>=0){ node=node.parentNode; } if(_613.contains(node,"expandable")){ if(!_613.contains(_610("div.accordionitem-state",node)[0],"expanded")){ if(_613.contains(node.parentNode,"level1")){ this.collapseOpenNodes("1"); }else{ if(_613.contains(node.parentNode,"level2")){ this.collapseOpenNodes("2"); } } } }else{ return; } this._toggleMenu(node); _612.stop(e); },_toggleMenu:function(node){ var _62a=_610(".level2OuterContainer",node.parentNode.parentNode); if(_62a.length>0){ _62a=_62a[0]; }else{ _62a=_610(".level3OuterContainer",node.parentNode.parentNode); if(_62a.length>0){ _62a=_62a[0]; }else{ return; } } var _62b=this; var _62c={node:_62a,duration:300,onEnd:function(){ if(_610(".dj_ie8").length==1){ _615.set(_610("body")[0],{height:"auto"}); _615.set(_610("body")[0],{height:"100%"}); } _62b.resize(); }}; if(_62a.style.display=="none"){ _614.wipeIn(_62c).play(); var _62d=(_610("a",node.parentNode)[0].text!==undefined)?_610("a",node.parentNode)[0].text:_610("a",node.parentNode)[0].innerText; node.title=i18n.collapseCategoryText+": "+_62d.replace(/&/g,"&"); _613.remove(node.childNodes[0],"collapsed"); _613.add(node.childNodes[0],"expanded"); }else{ _614.wipeOut(_62c).play(); var _62d=(_610("a",node.parentNode)[0].text!==undefined)?_610("a",node.parentNode)[0].text:_610("a",node.parentNode)[0].innerText; node.title=i18n.expandCategoryText+": "+_62d.replace(/&/g,"&"); _613.remove(node.childNodes[0],"expanded"); _613.add(node.childNodes[0],"collapsed"); } },_buildTree:function(){ var _62e=dom.byId(this.id); _62e.innerHTML=""; var _62f=new Array(); var n=-1; var _630=this.treeData.root; for(var i=0;i<_630.length;i++){ var node=_630[i]; var name=node.name; var skin=""; if(this.skin!=""){ skin=" "+this.skin; } var _631=_616.create("nav",{className:"navigation"+skin,"role":"navigation","aria-label":this.id}); _616.place(_631,_62e,"first"); if(node.name&&node.name!=="Content"){ var _632=_616.create("div",{className:"containerNode root",innerHTML:name}); _616.place(_632,_631,"first"); } var _633=_630[i].children; var _634=false; if(node.uri!=undefined&&node.uri!=""&&node.uri!="#"){ _634=true; } if(node.name&&node.name==="Content"){ _634=false; } if(_633!=null||_634){ var _635=_616.create("div",{className:"accordion-nav"}); var _636=_616.create("ul",{className:"accordion"}); if(_634){ var name=(i18n.leftNavigationOverviewText+" - "+node.name); var _637=":"+node.name; var _638="
      "; if(node.selected=="true"){ _638=_638+""+name+""+_637+""; }else{ _638=_638+""+name+""+_637+""; } _638=_638+"
      "; var _639=_616.create("div",{className:"containerNode level1",innerHTML:_638}); var _63a=_616.create("li",{className:"level1Child"}); _616.place(_63a,_636,"last"); _616.place(_636,_635,"first"); _616.place(_639,_63a,"last"); } if(_633!=null){ for(var j=0;j<_633.length;j++){ var _63b=false; var _63c=false; if(_633[j].children!=undefined&&_633[j].children!=null&&_633[j].children.length>0){ _63b=true; } var node=_633[j]; var name=node.name; var _638=""; if(/\/wps\/portal\/home\/\!ut\//.test(document.location)){ node.selected=false; } if(node.selected=="true"){ if(_63b){ if(node.uri=="#"||node.uri==""){ _638=_638+"
      "; }else{ _638=_638+"
      "; } _638=_638+name+""; _63c=true; }else{ if(_63b){ _638=_638+"
      "; }else{ _638=_638+"
      "; } _638=_638+name+""; } _638=_638+"
      "; var _639=_616.create("div",{className:"containerNode level1",innerHTML:_638}); var _63a=_616.create("li",{className:"level1Child"}); _616.place(_63a,_636,"last"); _616.place(_636,_635,"first"); _616.place(_639,_63a,"last"); var _63d=_633[j].children; var _63e=false; if(node.uri!=undefined&&node.uri!=""&&node.uri!="#"){ _63e=true; } if(_63d!=null||_63e){ var _63f=_616.create("ul",{className:"level2OuterContainer second-level"}); if(_63e){ var name=(i18n.leftNavigationOverviewText+" - "+node.name); var _637=":"+node.name; var _638="
      "; if(node.selected=="true"){ _638=_638+""+name+""+_637+""; }else{ _638=_638+""+name+""+_637+""; } _638=_638+"
      "; var _640=_616.create("div",{className:"containerNode level2",innerHTML:_638}); var _641=_616.create("li",{className:"level2Child"}); _616.place(_641,_63f,"last"); _616.place(_640,_641,"last"); } if(_63d!=null){ for(var k=0;k<_63d.length;k++){ var _642=false; var _643=false; if(_63d[k].children!=undefined&&_63d[k].children!=null&&_63d[k].children.length>0){ _642=true; } var node=_63d[k]; var name=node.name; var _638=""; if(node.selected=="true"){ _638=_638+"
      "; }else{ _638=_638+"class=\"selected\" href=\""+node.uri+"\""+">"; } _638=_638+name+"
      "; _63c=true; _643=true; }else{ _638=_638+"
      "; }else{ _638=_638+"href=\""+node.uri+"\">"; } _638=_638+name+"
      "; } _638=_638+"
      "; var _640=_616.create("div",{className:"containerNode level2",innerHTML:_638}); var _641=_616.create("li",{className:"level2Child"}); _616.place(_641,_63f,"last"); _616.place(_640,_641,"last"); var _644=_63d[k].children; var _645=false; if(node.uri!=undefined&&node.uri!=""&&node.uri!="#"){ _645=true; } if(_644!=null||_645){ var _646=_616.create("ul",{className:"level3OuterContainer third-level"}); if(_645){ var name=(i18n.leftNavigationOverviewText+" - "+node.name); var _637=":"+node.name; var _638="
      "; if(node.selected=="true"){ _638=_638+""+name+""+_637+""; }else{ _638=_638+""+name+""+_637+""; } _638=_638+"
      "; var _647=_616.create("div",{className:"containerNode level3",innerHTML:_638}); var _648=_616.create("li",{className:"level3Child"}); _616.place(_648,_646,"last"); _616.place(_647,_648,"last"); } if(_644!=null){ for(var l=0;l<_644.length;l++){ var node=_644[l]; var name=node.name; var _638=""; if(node.selected=="true"){ _638=_638+""; _638=_638+name+""; _63c=true; _643=true; }else{ _638=""+name+""; } var _647=_616.create("div",{className:"containerNode level3",innerHTML:_638}); var _648=_616.create("li",{className:"level3Child"}); _616.place(_648,_646,"last"); _616.place(_647,_648,"last"); } _616.place(_646,_640,"last"); if(!_643){ n=n+1; _62f[n]=_646; } } } } _616.place(_63f,_639,"last"); if(!_63c){ n=n+1; _62f[n]=_63f; } } } } } if(_633!=null||_634){ _616.place(_635,_631,"last"); } } } for(var i=0;i<_62f.length;i++){ _615.set(_62f[i],"display","none"); var _649=_610("a:first-child",_62f[i].parentNode)[0]; var _64a=_610("div",_649)[0]; _613.remove(_64a,"expanded"); _613.add(_64a,"collapsed"); var _64b=_649.text||_649.innerText; _64b=i18n.expandCategoryText+": "+_64b.replace(/&/g,"&"); _649.title=_64b; } var _64c=_610(".expandable",dom.byId(this.id)); for(var i=0;i<_64c.length;i++){ on(_64c[i],"click",lang.hitch(this,this._onClickItem)); on(_64c[i],"keypress",lang.hitch(this,this._onKeyUpItem)); } }}); return _618; }); },"sce/global/Initializer":function(){ define("sce/global/Initializer",["dojo/_base/declare","dojo/_base/lang","dojo/parser","dijit/registry","sce/global/Navigation","sce/global/Session","sce/form/LoginForm","dojo/uacss","sce/mobile/FlyoutNavigation","sce/LeftNavigation","sce/Drawer","sce/form/TextBox","sce/form/CheckBox","sce/form/Button","dojo/i18n!sce/nls/content","dojo/i18n!sce/nls/common"],function(_64d,lang,_64e,_64f,_650,_651){ return _64d(null,{warnOnLogin:false,constructor:function(_652){ lang.mixin(this,_652); this.init(); },init:function(){ this._detectIE(); this._fixIETrim(); this._fixIEObjectKeys(); _64e.parse(); window.sce=window.sce||{}; window.sce.globalSce=window.sce.globalSce||{}; window.sce.globalSce.Navigation=new _650({warnOnLogin:this.warnOnLogin}); window.sce.globalSce.Session=new _651(); this.trackDotNet(window.sce.globalSce.Session); },trackDotNet:function(_653){ var _654=_64f.toArray(); for(var i=0;i<_654.length;i++){ if(_654[i].declaredClass==="sce.DotNet"){ _654[i]._callbackTracker=true; _654[i].on("iframeloaded",function(e){ _653._extendSession(); }); } } },_fixIETrim:function(){ if(typeof String.prototype.trim!=="function"){ String.prototype.trim=function(){ return this.replace(/^\s+|\s+$/g,""); }; } },_fixIEObjectKeys:function(){ Object.keys=Object.keys||(function(){ var _655=Object.prototype.hasOwnProperty,_656=!{toString:null}.propertyIsEnumerable("toString"),_657=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_658=_657.length; return function(o){ if(typeof o!="object"&&typeof o!="function"||o===null){ throw new TypeError("Object.keys called on a non-object"); } var _659=[]; for(var name in o){ if(_655.call(o,name)){ _659.push(name); } } if(_656){ for(var i=0;i<_658;i++){ if(_655.call(o,_657[i])){ _659.push(_657[i]); } } } return _659; }; })(); },_detectIE:function(){ var re=new RegExp("Trident/.*rv:([0-9]{1,}[.0-9]{0,})"); if(navigator&&navigator.appName&&navigator.appName=="Netscape"&&navigator.userAgent&&re.exec(navigator.userAgent)!=null){ var _65a=re.exec(navigator.userAgent); if(_65a[0]&&_65a[0].indexOf("Trident")!=-1&&_65a[1]&&parseFloat(_65a[1])!=NaN&&parseFloat(_65a[1])>=11){ require(["dojo/dom-class","dojo/query"],function(_65b,_65c){ _65b.remove(_65c("html")[0],"dj_gecko"); _65b.add(_65c("html")[0],"dj_ie"); _65b.add(_65c("html")[0],"dj_ie"+parseFloat(_65a[1])); }); } } }}); }); },"sce/ProgressBar":function(){ require({cache:{"url:sce/templates/ProgressBar.html":"
      \r\n
      \r\n
      \r\n

      \r\n \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n \r\n \r\n

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/ProgressBar",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","dojo/html","dojo/dom","dojo/query","dojo/dom-style","dojo/_base/fx","dojo/fx/easing","dojo/dom-geometry","dojo/on","dojo/_base/lang","dojo/i18n!sce/nls/common","dojo/text!./templates/ProgressBar.html"],function(_65d,_65e,_65f,_660,html,dom,_661,_662,fx,_663,_664,on,lang,i18n,_665){ var _666=_65d("sce.ProgressBar",[_65e,_65f,_660],{templateString:_665,disableStick:false,_progressBarWidth:null,_progressBarHeight:null,_progressBarAttached:true,_progressText:i18n.progressText,progress:0,_setProgressAttr:function(_667){ var _668=_667; _668=Math.min(_668,100); _668=Math.max(_668,0); strVal=_667.toString(); html.set(this.percentageNode,strVal); this._set("progress",_668); this.drawProgress(_668); },currentStep:0,_setCurrentStepAttr:{node:"currentStepNode",type:"innerHTML"},totalSteps:0,_setTotalStepsAttr:{node:"totalStepsNode",type:"innerHTML"},postCreate:function(){ this.inherited(arguments); },startup:function(){ this.inherited(arguments); this._progressBarWidth=_664.position(this.domNode).w; this._progressBarHeight=_664.position(this.domNode).h; _662.set(this.domNode,"height","2.5em"); if(!this.disableStick&&_661("html.touch").length==0){ on(window,"scroll",lang.hitch(this,this._onWindowScroll)); this.registerResponsiveFunction(lang.hitch(this,this._onWindowScroll),null,null); this._calculateAttachment(); } if((this.get("currentStep")===0)||this.get("totalSteps")===0){ _662.set(this.stepsNode,"display","none"); } if(this.get("progress")===0){ _662.set(this.percentageContainerNode,"display","none"); } this.drawProgress(this.get("progress")); },drawProgress:function(_669){ if(this._progressBarWidth==null){ this._progressBarWidth=_664.position(this.domNode).w; } if(this._progressBarHeight==null){ this._progressBarHeight=_664.position(this.domNode).h; _662.set(this.domNode,"height","2.5em"); } var _66a=_664.position(this.domNode).w; var _66b=_662.get(this.progressGraphic,"width")/_66a*100; var _66c=function(){ }; var _66d=function(){ }; var _66e=this.domNode; if(_669==0){ _66d=function(){ _662.set(_661(".progressBarCarrotShadow",_66e)[0],"display","none"); _662.set(_661(".progressBarCarrot",_66e)[0],"display","none"); }; }else{ _66c=function(){ _662.set(_661(".progressBarCarrotShadow",_66e)[0],"display","block"); _662.set(_661(".progressBarCarrot",_66e)[0],"display","block"); }; } fx.animateProperty({node:this.progressGraphic,duration:800,easing:_663.cubicOut,properties:{width:{start:_66b,end:_669,units:"%"}},beforeBegin:_66c,onEnd:_66d}).play(); html.set(this.progessNumber,(_669+" percent")); this._set("progress",_669); },setProgress:function(_66f){ this.set("progress",_66f); },getProgress:function(){ return this.get("progress"); },_onWindowScroll:function(e){ if(this._progressBarHeight==null){ this._progressBarHeight=_664.position(this.domNode).h; _662.set(this.domNode,"height","2.5em"); } this._progressBarWidth=_664.position(this.domNode).w; this._calculateAttachment(); },_calculateAttachment:function(){ var _670=_664.position(this.domNode); if(_670.y<0){ this._detachProgressBar(); }else{ this._attachProgressBar(); } if(!this._progressBarAttached){ _662.set(this.progressBarOuter,"width",this._progressBarWidth+"px"); } },_detachProgressBar:function(){ if(this._progressBarAttached){ _662.set(this.progressBarOuter,"position","fixed"); _662.set(this.progressBarOuter,"width",this._progressBarWidth+"px"); _662.set(this.progressBarOuter,"top","0"); _662.set(this.progressBarOuter,"height","auto"); _662.set(this.progressBarOuter,"boxShadow","rgba(0, 0, 0, 0.35) 0px 0.3333333333em 0.1666666667em -0.0833333333em"); this._progressBarAttached=false; } },_attachProgressBar:function(){ if(!this._progressBarAttached){ _662.set(this.progressBarOuter,"position","relative"); _662.set(this.progressBarOuter,"width","100%"); _662.set(this.progressBarOuter,"top","auto"); _662.set(this.progressBarOuter,"height","100%"); _662.set(this.progressBarOuter,"boxShadow","none"); this._progressBarAttached=true; } }}); return _666; }); },"dojo/store/util/SimpleQueryEngine":function(){ define("dojo/store/util/SimpleQueryEngine",["../../_base/array"],function(_671){ return function(_672,_673){ switch(typeof _672){ default: throw new Error("Can not query with a "+typeof _672); case "object": case "undefined": var _674=_672; _672=function(_675){ for(var key in _674){ var _676=_674[key]; if(_676&&_676.test){ if(!_676.test(_675[key])){ return false; } }else{ if(_676!=_675[key]){ return false; } } } return true; }; break; case "string": if(!this[_672]){ throw new Error("No filter function "+_672+" was found in store"); } _672=this[_672]; case "function": } function _677(_678){ var _679=_671.filter(_678,_672); if(_673&&_673.sort){ _679.sort(function(a,b){ for(var sort,i=0;sort=_673.sort[i];i++){ var _67a=a[sort.attribute]; var _67b=b[sort.attribute]; if(_67a!=_67b){ return !!sort.descending==_67a>_67b?-1:1; } } return 0; }); } if(_673&&(_673.start||_673.count)){ var _67c=_679.length; _679=_679.slice(_673.start||0,(_673.start||0)+(_673.count||Infinity)); _679.total=_67c; } return _679; }; _677.matches=_672; return _677; }; }); },"sce/flow/outage/HomeBusiness/HBReview":function(){ define("sce/flow/outage/HomeBusiness/HBReview",["dojo/_base/declare","sce/flow/outage/_Outage"],function(_67d,_67e){ var _67f=_67d([_67e],{constructor:function(_680){ this.initializeFormNavigation(_680); this.inherited(arguments); }}); return _67f; }); },"sce/avm/AddressValidationStreetlightHANA":function(){ require({cache:{"url:sce/avm/templates/AddressValidationStreetlightHANA.html":"
      \r\n
      \r\n
      error
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmStreetlightPleaseZipCity}\r\n
      \r\n ${_bundle.hanaAvmCityOrZip}\r\n
      \r\n ${_bundle.invalidCityOrZip}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmCityOrZipSelect}\r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n ${_bundle.invalidStreetName}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n What is the nearest Cross Street?\r\n
      \r\n ${_bundle.crossStreetNameLabelText}\r\n
      \r\n ${_bundle.invalidCrossStreet}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.zipCodeText}:

      \r\n
      \r\n
      \r\n

      ${_bundle.cityLabelText}:

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.avScreen4Text}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.crossStreetLabel}:\r\n
      \r\n
      ${_bundle.notProvided}
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.hanaAvmAssistanceText1}

      \r\n

      ${_bundle.hanaAvmAssistanceText2}

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      "}}); define("sce/avm/AddressValidationStreetlightHANA",["dojo/_base/declare","dojo/_base/lang","dojo/_base/Deferred","dojo/_base/array","dojo/dom-style","dojo/on","dojo/store/Memory","dojo/html","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","sce/form/TextBox","sce/form/Select","sce/avm/_AVMMixin","sce/analytics/_AVM-Analytics","sce/avm/AddressUtil","sce/avm/rules/AddressValidationStreetlightHANA","sce/avm/enum/zipEnum","sce/avm/enum/addressEnum","javascript-state-machine/state-machine","dojo/i18n!sce/nls/analytics","dojo/i18n!sce/nls/common","dojo/text!./templates/AddressValidationStreetlightHANA.html"],function(_681,lang,_682,_683,_684,on,_685,html,_686,_687,_688,_689,_68a,_68b,_68c,_68d,_68e,_68f,_690,_691,_692,i18n,_693){ var _694=_681("sce.avm.AddressValidationStreetlightHANA",[_686,_687,_688,_68b,_68c],{templateString:_693,baseClass:"addressValidationWdgt",_bundle:i18n,analyticsName:_692.avm.streetlightName,analyticsFriendlyName:_692.avm.streetlightFriendlyName,analyticsProcess:_692.avm.streetlightProcess,analyticsForm:_692.avm.streetlightForm,analyticsEvent:_692.avm.streetlightEvent,crossAddressObject:null,avmEnteredZip:"",_setAvmEnteredZipAttr:{node:"avmEnteredZipNode",type:"innerHTML"},avmEnteredCity:"",_setAvmEnteredCityAttr:{node:"avmEnteredCityNode",type:"innerHTML"},avmEnteredCrossStreet:"",_setAvmEnteredCrossStreetAttr:{node:"avmEnteredCrossStreetNode",type:"innerHTML"},avmConfirmAddress:null,_setAvmConfirmAddressAttr:function(_695){ html.set(this.avmConfirmAddressNode,_68d.printFullAddressDetails(_695)); this._set("avmConfirmAddress",_695); },_isFilledOut:function(){ return this.fsm.current==="verifyAddress"; },wrongAddressHandler:function(_696){ this.fsm.notMyAddress(); },cancelHandler:function(){ switch(this.fsm.current){ case "address": case "displayMultipleAddress": this.fsm.cancelAVM(); break; default: break; } this.inherited(arguments); },previousHandler:function(){ this.inherited(arguments); switch(this.fsm.current){ case "address": this.fsm.addressPrev(); break; case "verifyAddress": this.fsm.verifyAddressPrev(); break; default: break; } },nextHandler:function(){ this.inherited(arguments); switch(this.fsm.current){ case "awaitingZipCitySection": this.fsm.zipCityNext(); break; case "address": this.fsm.submitAddress(); break; case "displayMultipleAddress": this.fsm.chooseAddress(); break; case "verifyAddress": this.fsm.submitAVM(); break; default: break; } },initFSM:function(){ this.fsm=_691.create({initial:"noData",events:[{name:"retrievedZipCity",from:"noData",to:"awaitingZipCitySection"},{name:"failedToRetrieveZipCity",from:"noData",to:"zipCityRetrievalError"},{name:"zipCityNext",from:"awaitingZipCitySection",to:"submittingZipCity"},{name:"validZipCity",from:"submittingZipCity",to:"address"},{name:"invalidZipCity",from:"submittingZipCity",to:"awaitingZipCitySection"},{name:"multiplePossibleZip",from:"submittingZipCity",to:"awaitingZipCitySection"},{name:"submitAddress",from:"address",to:"submittingAddress"},{name:"addressPrev",from:"address",to:"awaitingZipCitySection"},{name:"validAddress",from:"submittingAddress",to:"verifyAddress"},{name:"invalidAddress",from:"submittingAddress",to:"address"},{name:"verifyAddressPrev",from:"verifyAddress",to:"address"},{name:"notMyAddress",from:"verifyAddress",to:"awaitingZipCitySection"},{name:"checkAttempts",from:"*",to:"*"},{name:"tooManyAttempts",from:"*",to:"attemptsExceeded"},{name:"problem",from:"*",to:"unknownError"},{name:"submitAVM",from:"verifyAddress",to:"avmSubmitted"},{name:"cancelAVM",from:"*",to:"retrievedZipCity"}],callbacks:{onenterstate:lang.hitch(this,function(_697,from,to,data){ if(this.fsm){ } }),onretrievedZipCity:lang.hitch(this,function(_698,from,to,data){ this.zipCityStore=new _685({data:data}); var _699=null,_69a=_68d.stripCityZips(data),_69b=_69a.cities.concat(_69a.zips); this.zipCityInput.setDataStore(_69b); if(this.cityZipListenerKey){ this.cityZipListenerKey.remove(); } if(this.cityZipListenerItem){ this.cityZipListenerItem.remove(); } var _69c=lang.hitch(this,function(){ var _69d=this.zipCityInput.get("value"),_69e=_68d.isZipOrCity(_69d),_69c=lang.hitch(this,_68e.populateZipCityFields,data,_69e,_69d); if(_699){ clearTimeout(_699); } _699=setTimeout(_69c,1000); }); this.cityZipListenerKey=on(this.zipCityInput.domNode,"keyup",_69c); this.cityZipListenerItem=on(this.zipCityInput,"item",_69c); }),onzipCityRetrievalError:lang.hitch(this,function(){ this.set("errorMessage",i18n.zipCityUnavailable); }),onenterawaitingZipCitySection:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); } this.set("addressObject",null); this.set("crossAddressObject",null); }),onzipCityNext:lang.hitch(this,function(){ var _69f=lang.hitch(this,_68e.rule1to2CheckZipCity)(); _69f.then(lang.hitch(this,function(_6a0){ if(_6a0.code===_68f.ZIP_FOUND){ this.emit("next",{currentState:"zipcode"}); this.fsm.validZipCity(_6a0.data); }else{ if(_6a0.code===_68f.ZIP_MULTI_MATCH){ this.emit("next",{currentState:"zipcode"}); this.fsm.multiplePossibleZip(_6a0.data); }else{ if(_6a0.code===_68f.ZIP_NO_SERVICE){ this.resetAttempts(); this.fsm.invalidZipCity(_6a0); }else{ this.fsm.invalidZipCity(_6a0); } } } }),lang.hitch(this,function(_6a1){ this.fsm.problem(); })); }),onaddressPrev:lang.hitch(this,function(){ this.resetAttempts(); this.changeScreen("avmZipCityScreen").then(lang.hitch(this,function(_6a2){ if(_6a2){ this.resetFields([this.streetNumberInput,this.streetNameInput,this.crossStreetInput]); } })); }),onvalidZipCity:lang.hitch(this,function(){ this.resetAttempts(); this.changeScreen("avmAddressScreen").then(lang.hitch(this,function(_6a3){ if(_6a3){ } })); }),onbeforeinvalidZipCity:lang.hitch(this,function(_6a4,from,to,data){ if(this.zipCityInput.get("value")===""){ this.zipCityInput.showErrorStyle(); }else{ if(data.code===_68f.ZIP_NO_MATCH){ this.set("errorMessage",i18n.havaAvmOutOfServiceArea); }else{ if(data.code===_68f.ZIP_NO_SERVICE){ this.set("errorMessage",i18n.hanaUnavailable); } } } this.incrementAttempts(); }),onmultiplePossibleZip:lang.hitch(this,function(_6a5,from,to,data){ this.zipCityInput.showErrorStyle(data); this.incrementAttempts(); }),onenteraddress:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); } }),onsubmitAddress:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); }else{ var _6a6=lang.hitch(this,_68e.rule2to3Address)(); _6a6.then(lang.hitch(this,function(_6a7){ if((_6a7.code===_690.ADDR_FOUND_SINGLE)||(_6a7.code===_690.ADDR_FOUND_MULTI)){ this.emit("next",{currentState:"address"}); this.fsm.validAddress(_6a7.data); }else{ this.fsm.invalidAddress(_6a7); } }),lang.hitch(this,function(_6a8){ this.fsm.problem(); })); } }),onmultipleAddresses:lang.hitch(this,function(_6a9,from,to,_6aa){ if(_6aa){ lang.hitch(this,_68e.displayMultipleAddresses)(_6aa); } this.changeScreen("avmFuzzyMatchScreen"); }),onchooseAddress:lang.hitch(this,function(){ this.changeScreen("avmConfirmAddressScreen"); }),onnotMyAddress:lang.hitch(this,function(){ this.changeScreen("avmZipCityScreen").then(lang.hitch(this,function(_6ab){ if(_6ab){ this.resetFields([this.streetNumberInput,this.streetNameInput,this.crossStreetInput]); } })); }),onvalidAddress:lang.hitch(this,function(){ var _6ac=lang.hitch(this,_68e.submitAVM)(); _6ac.then(lang.hitch(this,function(){ this.resetAttempts(); })); this.changeScreen("avmConfirmAddressScreen"); }),onbeforeinvalidAddress:lang.hitch(this,function(_6ad,from,to,_6ae){ switch(_6ae.code){ case _690.ADDR_EMPTY: case _690.ADDR_INVALID: this.streetNumberInput.showErrorStyle(i18n.hanaAvmPleaseStreetOrCross); this.crossStreetInput.showErrorStyle(i18n.hanaAvmPleaseStreetOrCross); break; case _690.ADDR_X_STREET_CANT: this.streetNameInput.showErrorStyle(i18n.hanaAvmStreetCrossCantMatch); this.crossStreetInput.showErrorStyle(i18n.hanaAvmStreetCrossCantMatch); break; default: this.set("errorMessage",_6ae.data); break; } this.incrementAttempts(); }),onverifyAddressPrev:lang.hitch(this,function(){ this.set("addressObject"); this.resetAttempts(); this.changeScreen("avmAddressScreen"); }),ontooManyAttempts:lang.hitch(this,function(){ this.changeScreen("avmTroubleScreen"); }),onproblem:lang.hitch(this,function(){ this.changeScreen("avmTroubleScreen"); }),onsubmitAVM:lang.hitch(this,function(){ this.emit("submitReady",{something:true}); }),oncancelAVM:lang.hitch(this,function(){ this.changeScreen("avmZipCityScreen").then(lang.hitch(this,function(_6af){ if(_6af){ this.resetFields([this.zipCityInput,this.zipCitySelect,this.streetNumberInput,this.streetNameInput,this.crossStreetInput]); } })); })}}); },resetFields:function(_6b0){ _683.forEach(_6b0,function(_6b1){ _6b1.set("value",""); _6b1.showDefaultStyle(); },this); },constructor:function(){ this.initFSM(); },postCreate:function(){ this.getAvailableZipCity().then(lang.hitch(this,function(data){ var _6b2; try{ _6b2=JSON.parse(data).d.results; this.fsm.retrievedZipCity(_6b2); } catch(e){ console.error(e); } }),lang.hitch(this,function(_6b3){ this.fsm.failedToRetrieveZipCity(); })); this.screenMovementMapper={avmZipCityScreen:{next:"avmAddressScreen",nextLabel:i18n.hanaAvmStreetlightZipNext,cancellable:false},avmAddressScreen:{prev:"avmZipCityScreen",prevLabel:i18n.hanaAvmStreetlightAddressPrev,next:"avmConfirmAddressScreen",nextLabel:i18n.hanaAvmStreetlightAddressNext,cancellable:false},avmFuzzyMatchScreen:{prev:"avmAddressScreen",prevLabel:i18n.hanaAvmStreetlightFuzzyPrev,next:"avmConfirmAddressScreen",nextLabel:i18n.hanaAvmStreetlightFuzzyNext,cancellable:false},avmConfirmAddressScreen:{prev:"address",prevLabel:i18n.hanaAvmStreetlightConfirmPrev,cancellable:false},avmTroubleScreen:{cancellable:false}}; this.changeScreen("avmZipCityScreen"); this.inherited(arguments); },showErrorStyle:function(){ },startup:function(){ this.inherited(arguments); }}); return _694; }); },"url:sce/templates/Card.html":"
      \r\n
      \r\n
      ","sce/flow/outage/HomeBusiness/HBConfirm":function(){ define("sce/flow/outage/HomeBusiness/HBConfirm",["dojo/_base/declare","dojo/_base/window","dojo/dom-class","sce/flow/outage/_Outage"],function(_6b4,win,_6b5,_6b6){ var _6b7=_6b4([_6b6],{constructor:function(_6b8){ this.initializeFormNavigation(_6b8); this.inherited(arguments); _6b5.add(win.body(),"promotional"); }}); return _6b7; }); },"sce/outage_map/OutageMap":function(){ require({cache:{"url:sce/outage_map/templates/OutageMap.html":"
      \r\n
      \r\n
      \r\n ${_i18n.totalOutagesLabel}: 0 | ${_i18n.totalCustomersAffectedLabel}: 0\r\n
      \r\n
      \r\n ${_i18n.partialOutageMessage}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapSearchLegendText}\r\n
      \r\n
      ${_i18n.outageMapSearchBy}
      \r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapApiLoadingHeading}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapApiFailHeading}\r\n
      \r\n
      \r\n

      ${_i18n.outageMapApiFailDescription}

      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_i18n.outageMapLastUpdated}

      \r\n
      \r\n
      \r\n ${_i18n.outageMapSingleOutage}\r\n ${_i18n.outageMapAreaOutage}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n County\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapReportOutageBy}\r\n
      \r\n
      \r\n
      ${_i18n.outageMapReportOutageHB}
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapReportOutageSL}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ${_i18n.outageMapWidgetLoading}
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.outageMapErrorHeading}\r\n

      ${_i18n.outageMapErrorBody}

      \r\n
      \r\n
      \r\n
      \r\n
      ","url:sce/outage_map/templates/mapWindow.html":"
      \r\n {CITY_NAME} - {ZIP_CODE}\r\n
      {convertedIncidentType}
      \r\n
      \r\n
      {estimatedRestorationLabel}
      \r\n
      {EST_CLU_DATETIME}
      \r\n
      \r\n
      {lastUpdatedLabel}:
      \r\n
      {LAST_CHNG_DATETIME}
      \r\n
      {startTimeLabel}:
      \r\n
      {OUTAGE_START_DATETIME}
      \r\n
      {customersImpactedLabel}:
      \r\n
      {NBR_CUST_AFFECTED}
      \r\n
      {causeLabel}:
      \r\n
      {MEMO_CAUSE_CD_DESC}
      \r\n
      {crewStatusLabel}:
      \r\n
      {CREW_STATUS_CD_DESC}
      \r\n
      {additionalInfoLabel}:
      \r\n
      {RESULT_CD_DESC}
      \r\n
      \r\n
      {oanLabel}:
      \r\n
      {OAN_NO}
      \r\n
      "}}); define("sce/outage_map/OutageMap",["dojo/_base/declare","dojo/_base/lang","dojo/_base/xhr","dojo/_base/array","dojo/_base/Deferred","dojo/_base/fx","dojo/_base/event","dojo/_base/config","dojo/ready","dojo/query","dojo/io-query","dojo/fx","dojo/html","dojo/window","dojo/DeferredList","dojo/on","dojo/aspect","dojo/dom","dojo/dom-style","dojo/dom-class","dojo/dom-geometry","dojo/dom-attr","dojo/dom-construct","dojo/Evented","dojo/store/Memory","dijit/registry","dijit/focus","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","dojox/json/schema","sce/form/TextBox","sce/form/Button","sce/api/Maps","sce/ContentPane","sce/Dialog","sce/global/Utility","sce/feature","sce/analytics/_Map-Analytics","sce/outage_map/OutageIncident","sce/layout/_ResponsiveLayout","dojo/i18n!sce/nls/common","dojo/i18n!sce/nls/service_uri","sce/schema/OutageDataSchema","sce/schema/SectorSchema","dojo/text!./templates/OutageMap.html","dojo/text!./templates/mapWindow.html"],function(_6b9,lang,xhr,_6ba,_6bb,fx,_6bc,_6bd,_6be,_6bf,_6c0,_6c1,html,win,_6c2,on,_6c3,dom,_6c4,_6c5,_6c6,_6c7,_6c8,_6c9,_6ca,_6cb,_6cc,_6cd,_6ce,_6cf,_6d0,_6d1,_6d2,Maps,_6d3,_6d4,_6d5,has,_6d6,_6d7,_6d8,i18n,_6d9,_6da,_6db,_6dc,_6dd){ var _6de; var _6df; var _6e0; var _6e1={MODE_MAP:"map",MODE_LIST:"list"}; var _6e2={ORDER_COUNTY:"county",ORDER_CITY:"city",ORDER_ZIP:"zip"}; var _6e3={ZOOM_NONE:0,ZOOM_SECTOR:7,ZOOM_OUTAGE:9}; var _6e4={SHADE_LOCAL:0,SHADE_SERVICE:1,SHADE_KML:2}; function _6e5(_6e6){ var _6e7; if(_6e6.AOC_MACRO&&_6e6.AOC_MACRO.MACRO){ _6e7=_6e6.AOC_MACRO.MACRO; }else{ _6e7=[]; } return {publishDate:_6e6.PUBLISH_DATE,totalIncidents:_6e6.AOC_LOCATION_STATS.COUNTY_BLOCK.COUNTY_TOTALS.TOTAL_INCIDENTS,totalCustomersAffected:_6e6.AOC_LOCATION_STATS.COUNTY_BLOCK.COUNTY_TOTALS.TOTAL_CUSTOMERS_AFFECTED,macros:_6e7,counties:_6e6.AOC_LOCATION_STATS.COUNTY_BLOCK.COUNTY,cities:_6e6.AOC_LOCATION_STATS.CITY_BLOCK.CITY,zipcodes:_6e6.AOC_LOCATION_STATS.ZIPCODE_BLOCK.ZIPCODE,districts:_6e6.AOC_LOCATION_STATS.DISTRICT_BLOCK.DISTRICT,sectors:_6e6.AOC_LOCATION_STATS.SECTOR_BLOCK.SECTOR,store:new _6ca({idProperty:"INCIDENT_ID",data:_6e6.AOC_INCIDENTS.INCIDENT})}; }; function _6e8(_6e9){ var _6ea,_6eb; switch(_6e9.INCIDENT_TYPE){ case "PO": _6ea=i18n.outageTypeMaintenance; break; default: _6ea=i18n.outageTypeRepair; break; } _6eb={convertedIncidentType:_6ea}; var _6ec={estimatedRestorationLabel:i18n.estimatedRestorationLabel,lastUpdatedLabel:i18n.lastUpdatedLabel,startTimeLabel:i18n.startTimeLabel,customersImpactedLabel:i18n.customersImpactedLabel,causeLabel:i18n.causeLabel,crewStatusLabel:i18n.crewStatusLabel,additionalInfoLabel:i18n.additionalInfoLabel,oanLabel:i18n.oanLabel,}; lang.mixin(_6eb,_6ec,_6e9); return lang.replace(_6dd,_6eb); }; var _6ed=_6b9("sce.outage_map.OutageMap",[_6cd,_6ce,_6cf,_6d8,_6c9,_6d6],{templateString:_6dc,dataSourceUri:_6d9.currentOutageDataUri,reportOutageHBUri:_6d9.reportOutageHBUri,reportOutageSLUri:_6d9.reportOutageSLUri,outagesStoreDeferred:null,mapDeferred:null,lastUpdatedTimestamp:"",_i18n:i18n,_setLastUpdatedTimestampAttr:{node:"mapLastUpdatedTimestampElement",type:"innerHTML"},totalIncidents:"",_setTotalIncidentsAttr:{node:"totalIncidentsElement",type:"innerHTML"},totalCustomersAffected:"",_setTotalCustomersAffectedAttr:{node:"totalCustomersAffectedElement",type:"innerHTML"},currentLatitude:0,currentLongitude:0,iWindow:null,geocoder:null,viewMode:_6e1.MODE_MAP,initialZoomLevel:7,minimumZoomLevel:7,maximumZoomLevel:16,oanNumber:null,allExpanded:false,_setViewModeAttr:function(_6ee){ this._set("viewMode",_6ee); },listBy:_6e2.ORDER_COUNTY,listByLegend:"",_setListByLegendAttr:{node:"legendHeadingNode",type:"innerHTML"},showingExtras:true,groupZoomBreakpoint:_6e3.ZOOM_OUTAGE,shadingMethodSource:_6e4.SHADE_LOCAL,currentSelectedMarker:null,checkOutageData:function(_6ef){ var _6f0=_6da,_6f1=_6d0.validate(_6ef,_6f0); if(!_6f1.valid){ console.error(_6f1); } return _6f1.valid; },checkOutageSectorData:function(_6f2){ var _6f3=_6db,_6f4=_6d0.validate(_6f2,_6f3); return _6f4.valid; },showInfoWindow:function(_6f5){ html.set(this.mapInfoWindowContent,_6e8(_6f5)); _6c4.set(this.mapInfoWindow,{display:""}); this.set("currentSelectedMarker",_6f5.gMapsMarker); _6f5.gMapsMarker.setIcon(require.toUrl("sce/themes/sceui/images/mapIconSelected.png")); fx.animateProperty({node:this.mapInfoWindow,properties:{right:{start:-400,end:0,units:"px"}},onEnd:lang.hitch(this,function(){ var _6f6=win.getBox(),_6f7=_6c6.getMarginBox(this.mapInfoWindow); if(_6f7.w>_6f6.w){ _6c4.set(this.mapInfoWindow,{width:"100%"}); } _6c4.set(this.mapInfoWindow,{zIndex:"1002"}); _6c4.set(this.mapModalOverlay,{display:"",zIndex:"1001"}); })}).play(); },hideInfoWindow:function(){ var _6f8=this.get("currentSelectedMarker"); if(_6f8){ _6f8.setIcon(require.toUrl("sce/themes/sceui/images/mapIcon.png")); this.set("currentSelectedMarker",null); } _6c4.set(this.mapInfoWindow,{width:"",zIndex:""}); _6c4.set(this.mapModalOverlay,{display:"none",zIndex:""}); fx.animateProperty({node:this.mapInfoWindow,properties:{right:{start:0,end:-400,units:"px"}},onEnd:lang.hitch(this,function(){ _6c4.set(this.mapInfoWindow,{display:"none"}); })}).play(); },showMap:function(){ var _6f9=_6c1.combine([fx.fadeIn({node:this.mapSearchControl,onBegin:lang.hitch(this,function(){ _6c4.set(this.mapSearchControl,"display",""); _6c4.set(this.mapContainer,"visibility",""); })}),fx.fadeOut({node:this.mapListModeControl,onBegin:lang.hitch(this,function(){ _6c4.set(this.mapListModeControl,"display","none"); })}),_6c1.wipeOut({node:this.listContainer})]).play(); _6c3.after(_6f9,"onEnd",lang.hitch(this,function(){ _6c4.set(this.mapContainer,"visibility",""); _6c5.add(this.domNode,"mapMode"); _6c5.remove(this.domNode,"listMode"); _6c7.remove(this.mapContainer,"aria-hidden"); _6c7.set(this.mapContainer,"aria-expanded","true"); _6c7.set(this.listContainer,"aria-expanded","false"); this.set("viewMode",_6e1.MODE_MAP); this.emit("modechange",{mode:"map"}); this.fixMapSizing(); })); return _6f9; },showList:function(){ var _6fa=_6c1.combine([fx.fadeOut({node:this.mapSearchControl,onEnd:lang.hitch(this,function(){ _6c4.set(this.mapSearchControl,"display","none"); })}),fx.fadeIn({node:this.mapListModeControl,onEnd:lang.hitch(this,function(){ _6c4.set(this.mapListModeControl,"display",""); })}),_6c1.wipeIn({node:this.listContainer})]).play(); _6c3.after(_6fa,"onEnd",lang.hitch(this,function(){ _6c4.set(this.listContainer,"overflow",""); _6c4.set(this.mapContainer,"visibility","hidden"); _6c5.add(this.domNode,"listMode"); _6c5.remove(this.domNode,"mapMode"); _6c7.set(this.mapContainer,"aria-hidden","true"); _6c7.set(this.mapContainer,"aria-expanded","false"); _6c7.set(this.listContainer,"aria-expanded","true"); this.set("viewMode",_6e1.MODE_LIST); this.emit("modechange",{mode:"list",listBy:this.get("listBy")}); this.fixMapSizing(); })); return _6fa; },toggleViewMode:function(){ var _6fb=this.get("viewMode"); if(_6fb===_6e1.MODE_MAP){ this.showList(); this._set("viewMode",_6e1.MODE_LIST); }else{ if(_6fb===_6e1.MODE_LIST){ this.showMap(); this._set("viewMode",_6e1.MODE_MAP); } } return this._get("viewMode"); },fillList:function(_6fc,_6fd){ var _6fe="COUNTY_NAME",_6ff="COUNTY_NAME",_700=_6fc.counties,_701=_6fc.store; switch(_6fd){ case _6e2.ORDER_CITY: _6fe="CITY_NAME"; _6ff="CITY_NAME"; _700=_6fc.cities; break; case _6e2.ORDER_ZIP: _6fe="ZIPCODE_NAME"; _6ff="ZIP_CODE"; _700=_6fc.zipcodes; break; default: _6fe="COUNTY_NAME"; _6ff="COUNTY_NAME"; _700=_6fc.counties; break; } _6cb.findWidgets(this.listItems).forEach(function(widg){ _6cb.findWidgets(widg.domNode).forEach(function(_702){ _702.destroy(); }); widg.destroy(); }); _6c8.empty(this.listItems); this.updateListByButtons(_6fd); _6ba.forEach(_700,function(_703){ var _704; if(_6e0>0){ if((Array.isArray(_6de))&&(_6df>0)){ _704=new _6d3({title:(""+_703[_6fe]+"")}).placeAt(this.listItems); _6c4.set(this.outageTotals,{display:"none"}); _6c4.set(this.Partialmacro,{display:""}); }else{ _704=new _6d3({title:(""+_703[_6fe]+""+""+i18n.outageMapCustAffected+": "+_703.NBR_CUST_AFFECTED+""+""+i18n.outageMapOutagesLabel+": "+_703.NBR_INCIDENTS+"")}).placeAt(this.listItems); _6c4.set(this.outageTotals,{display:""}); _6c4.set(this.Partialmacro,{display:"none"}); } } _704.startup(); var _705={}; _705[_6ff]=_703[_6fe]; _701.query(_705).forEach(function(_706){ var _707=new _6d7({id:_706.INCIDENT_ID,oan:_706.OAN_NO,startTime:_706.OUTAGE_START_DATETIME,lastChange:_706.LAST_CHNG_DATETIME,endTime:_706.EST_CLU_DATETIME,cause:_706.MEMO_CAUSE_CD_DESC,status:_706.CREW_STATUS_CD_DESC,result:_706.RESULT_CD_DESC,custAffected:_706.NBR_CUST_AFFECTED,zipcode:_706.ZIP_CODE,county:_706.COUNTY_NAME,city:_706.CITY_NAME,centroidX:_706.CENTROID_X,centroidY:_706.CENTROID_Y}); _707.placeAt(_704.containerNode,"last"); }); },this); },changeListOrder:function(_708,_709){ if(_709!==this.get("listBy")){ this.emit("listBy",{listBy:_709}); this.set("listBy",_709); this.fillList(_708,_709); this.set("allExpanded",false); html.set(this.expandListItemsButton,i18n.outageMapExpandAll); } },initOrderByButtons:function(_70a){ on(this.listByCountyButton,"click",lang.hitch(this,this.changeListOrder,_70a,_6e2.ORDER_COUNTY)); on(this.listByCityButton,"click",lang.hitch(this,this.changeListOrder,_70a,_6e2.ORDER_CITY)); on(this.listByZipButton,"click",lang.hitch(this,this.changeListOrder,_70a,_6e2.ORDER_ZIP)); this.fillList(_70a,this.get("listBy")); },updateListByButtons:function(_70b){ _6c5.remove(this.listByCountyButton,"emphasized"); _6c5.remove(this.listByCityButton,"emphasized"); _6c5.remove(this.listByZipButton,"emphasized"); switch(_70b){ case _6e2.ORDER_CITY: _6c5.add(this.listByCityButton,"emphasized"); this.set("listByLegend",i18n.cityText); break; case _6e2.ORDER_ZIP: _6c5.add(this.listByZipButton,"emphasized"); this.set("listByLegend",i18n.zipText); break; default: _6c5.add(this.listByCountyButton,"emphasized"); this.set("listByLegend",i18n.countyText); break; } },expandList:function(e){ var _70c=_6cb.findWidgets(this.listContainer); if(!this.get("allExpanded")){ _6ba.forEach(_70c,function(_70d){ _70d.show(true); }); this.allExpanded=!this.allExpanded; html.set(this.expandListItemsButton,i18n.outageMapCollapseAll); }else{ _6ba.forEach(_70c,function(_70e){ _70e.hide(); }); this.allExpanded=!this.allExpanded; html.set(this.expandListItemsButton,i18n.outageMapExpandAll); } },handleReportOutageClick:function(e){ this.mapDialog.show(); },handleClearSearchClick:function(e){ this.mapSearchInput.set("value",""); this.mapSearchInput.textbox.focus(); },handleMapButtonClick:function(e){ if(this.get("viewMode")!==_6e1.MODE_MAP){ var _70f=this.showMap(); _6c3.after(_70f,"onEnd",lang.hitch(this,function(){ this.mapContainer.focus(); })); } },handleListButtonClick:function(e){ if(this.get("viewMode")!==_6e1.MODE_LIST){ var _710=this.showList(); _6c3.after(_710,"onEnd",lang.hitch(this,function(){ this.listContainer.focus(); })); } },changeLocation:function(_711){ window.location.href=_711; },focusMapOnUser:function(map){ if(has("native-geolocation")){ navigator.geolocation.getCurrentPosition(lang.hitch(this,function(_712){ new _6c2([this.mapDeferred,Maps]).then(lang.hitch(this,function(_713){ var map=_713[0][1],_714=_713[1][1],_715,_716; if(!_6ba.every(_713,function(_717){ return _717[0]; })){ return; } _715=new _714.maps.LatLng(_712.coords.latitude,_712.coords.longitude),_716=new _714.maps.Marker({title:"User Location",position:_715,map:map}); this.iWindow.set("content","You are here"); this.iWindow.open(map,_716); map.setZoom(18); map.setCenter(_715); })); })); }else{ } },populateMap:function(_718,_719){ var _71a,map,_71b,_71c=null; _71a={zoom:this.initialZoomLevel,minZoom:this.minimumZoomLevel,maxZoom:this.maximumZoomLevel,zoomControl:false,zoomControlOptions:{style:_719.maps.ZoomControlStyle.DEFAULT,position:_719.maps.ControlPosition.TOP_LEFT},mapTypeId:_719.maps.MapTypeId.ROADMAP,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.HYBRID]},streetViewControl:false,panControl:false,scaleControl:false,scrollwheel:true,center:{lat:35.0139,lng:-117.7033}}; map=new _719.maps.Map(this.mapNode,_71a); _71b=new _719.maps.InfoWindow(); this.iWindow=_71b; map.addListener("mousewheel",function(_71d){ _6bc.stop(_71d); }); map.addListener("click",lang.hitch(this,function(_71e){ this.hideInfoWindow(); _71b.close(); })); function _71f(){ var _720=map.getZoom(),_721=this.get("groupZoomBreakpoint"); _718.store.query().forEach(function(_722){ if(_722.gMapsMarker){ _722.gMapsMarker.setVisible(_720>=_721); } }); _6ba.forEach(_718.sectors,function(_723){ if(_723.gMapsMarker){ _723.gMapsMarker.setVisible(_720<_721); } }); }; map.addListener("zoom_changed",lang.hitch(this,_71f)); _71c=map.addListener("tilesloaded",lang.hitch(this,function(){ var _724=new _719.maps.LatLng(35.0139,-117.7033); map.setCenter(_724); this.mapDeferred.resolve(map); _71c.remove(); })); this.watch("currentLatitude",lang.hitch(this,function(){ map.setCenter(new _719.maps.LatLng(this.get("currentLatitude"),this.get("currentLongitude"))); })); function _725(_726){ var _727=new _719.maps.LatLng(parseFloat(_726["CENTROID_Y"]),parseFloat(_726["CENTROID_X"])); _726.gMapsMarker=new _719.maps.Marker({icon:require.toUrl("sce/themes/sceui/images/mapIcon.png"),position:_727,map:map}); _726.gMapsMarker.addListener("click",lang.hitch(this,function(){ this.showInfoWindow(_726); })); _718.store.put(_726,{overwrite:true,id:_726.INCIDENT_ID}); }; if(((Array.isArray(_718.macros))&&(_718.macros.length>0))&&(_718.store.query().total===0)){ _6c4.set(this.outageTotals,{display:"none"}); _6c4.set(this.Partialmacro,{display:"none"}); } _718.store.query().forEach(_725,this); if(this.checkOutageSectorData(_718.sectors)){ _6ba.forEach(_718.sectors,function(_728){ var _729=new _719.maps.LatLngBounds(); var _72a=_718.store.query({"SECTOR_NO":_728.SECTOR_NO}); _72a.forEach(function(_72b){ _729.extend(new _719.maps.LatLng(parseFloat(_72b["CENTROID_Y"]),parseFloat(_72b["CENTROID_X"]))); }); if(_72a.total){ var _72c=_729.getCenter(); _728.gMapsMarker=new _719.maps.Marker({title:i18n.outageMapClusterTitle,icon:require.toUrl("sce/themes/sceui/images/mapIcon_multi.png"),position:_72c,map:map}); _728.gMapsMarker.addListener("click",function(){ map.setZoom(_6e3.ZOOM_OUTAGE); map.setCenter(_72c); }); } }); }else{ this.set("groupZoomBreakpoint",_6e3.ZOOM_NONE); } lang.hitch(this,_71f)(); if(this.shadingMethodSource===_6e4.SHADE_SERVICE){ var _72d=_6ba.map(_718.macros,function(_72e){ return _72e.DISTRICT_ID; }),_72f=_72d.join(","),_730=new _719.maps.Data(); _730.loadGeoJson(_6d9.getDistricts+"?"+"districts="+_72f,{idPropertyName:"outageDistricts"},function(){ _730.setStyle({strokeColor:"#003C77",fillColor:"#435471"}); }); _730.addListener("click",function(e){ if(_71b&&!_71b.getMap()){ _71b.setOptions({content:i18n.outageMapDistrictGeoLabel,position:e.latLng}); _71b.open(map); } }); _730.setMap(map); }else{ if(this.shadingMethodSource===_6e4.SHADE_LOCAL){ require(["dojo/text!sce/outage_map/getDistricts.geojson"],function(_731){ var _732=JSON.parse(_731),_72d=_6ba.map(_718.macros,function(_733){ return _733.DISTRICT_ID; }),_734=_732.features.filter(function(_735){ return (_72d.indexOf(_735.properties.district)>-1); }); map.data.addGeoJson({type:"FeatureCollection",features:_734}); map.data.addListener("click",function(e){ if(_71b&&!_71b.getMap()){ _71b.setOptions({content:i18n.outageMapDistrictGeoLabel,position:e.latLng}); _71b.open(map); } }); map.data.setStyle({strokeColor:"#003C77",fillColor:"#435471"}); }); }else{ if(this.shadingMethodSource===_6e4.SHADE_KML){ var _736=new google.maps.KmlLayer(_6d9.aocCountyKmz,{preserveViewport:true,suppressInfoWindows:true}); _736.setMap(map); }else{ console.warn("Shading method is not supplied"); } } } return map; },focusOutageNumber:function(_737){ var dl=new _6c2([this.outagesStoreDeferred,this.mapDeferred]); dl.then(lang.hitch(this,function(_738){ var _739=_738[0][1],map=_738[1][1]; if(!_6ba.every(_738,function(_73a){ return _73a[0]; })){ return; } var _73b=_739.store.query({OAN_NO:_737}); if(_73b.length>0){ map.setCenter(_73b[0].gMapsMarker.position); map.setZoom(14); this.showInfoWindow(_73b[0]); }else{ } })); },searchMap:function(_73c){ var dl; if(_73c){ this.emit("search",{searchTerm:_73c}); dl=new _6c2([this.mapDeferred,Maps]); dl.then(lang.hitch(this,function(_73d){ var map=_73d[0][1],_73e=_73d[1][1]; if(!_6ba.every(_73d,function(_73f){ return _73f[0]; })){ return; } this.geocoder.geocode({address:(_73c+", California"),bounds:map.getBounds()},function(_740,_741){ if(_741===_73e.maps.GeocoderStatus.OK){ map.fitBounds(_740[0].geometry.viewport); }else{ } }); })); } },constructor:function(){ this.outagesStoreDeferred=new _6bb(); this.mapDeferred=new _6bb(); this.mapDeferred.then(lang.hitch(this,function(){ _6c5.remove(this.mapNode,"mapNodeLoading"); }),lang.hitch(this,function(){ _6c5.remove(this.mapNode,"mapNodeLoading"); _6c5.add(this.mapNode,"mapNodeError"); })); },postMixInProperties:function(){ var _742=_6d5.parseQueryString(); if(_742.viewMode||_742.viewmode){ this._set("viewMode",(_742.viewMode||_742.viewmode)); } if(_742.oanNumber||_742.oannumber){ this._set("oanNumber",(_742.oanNumber||_742.oannumber)); } var _743=xhr.get({url:this.dataSourceUri,preventCache:true,handleAs:"text"}); _743.then(lang.hitch(this,function(_744){ var _745; try{ _745=JSON.parse(_744); if(this.checkOutageData(_745)){ this.outagesStoreDeferred.resolve(_6e5(_745)); }else{ this.outagesStoreDeferred.reject("Improperly formatted outage data"); } } catch(jsonErr){ this.outagesStoreDeferred.reject("Unable to parse outage data"); } })); },fixMapSizing:function(){ var _746,_747,_748,_749,_74a=0,_74b=0,_74c=0,_74d=0,_74e=0,_74f=0,_750=0,_751=0,_752; _746=win.getBox(); if(_746.w<=640){ _747=_6bf(".globalHeaderBar"); _748=dom.byId("pageTitle"); _749=dom.byId("breadcrumbsDrawer"); if(_747&&_747.length>0){ _74d=_6c6.getMarginBox(_747[0]).h; } if(_748){ _74b=_6c6.getMarginBox(_748).h; } if(_749){ _74c=_6c6.getMarginBox(_749).h; } _74e=_6c6.getMarginBox(this.mapSearchControl).h; _74f=_6c6.getMarginBox(this.outageTotals).h; _750=_6c6.getMarginBox(this.mapListModeControl).h; _751=_6c6.getMarginBox(this.mapActionControls).h; _752=_6c6.getMarginBox(this.Partialmacro).h; _74a=(_74d+_74b+_74c); _6c4.set(this.domNode,{height:((_746.h-_74a)+"px")}); _6c4.set(this.mapDataControls,{top:((_74f)+"px")}); _6c4.set(this.modeContainers,{top:((_74f+_74e+_750)+"px"),bottom:(_751+"px")}); }else{ _6c4.set(this.domNode,{height:""}); _6c4.set(this.mapDataControls,{top:"",}); _6c4.set(this.modeContainers,{top:"",bottom:""}); } },showMobileMapControls:function(map,_753){ map.setOptions({zoomControlOptions:{style:_753.maps.ZoomControlStyle.LARGE,position:_753.maps.ControlPosition.LEFT_BOTTOM},zoomControl:true,mapTypeControl:false,panControl:false}); },showDesktopMapControls:function(map,_754){ map.setOptions({zoomControlOptions:{style:_754.maps.ZoomControlStyle.DEFAULT,position:_754.maps.ControlPosition.TOP_LEFT},zoomControl:true,mapTypeControl:true,panControl:true}); },showExtraInfo:function(map,_755){ var _756,_757; if(this._extrasAnim&&this._extrasAnim.status()==="stopped"){ this._extrasAnim.stop(true); } if(!this.showingExtras){ _756=_6c1.wipeIn({node:dom.byId("pageTitle")}); _757=_6c1.wipeIn({node:dom.byId("breadcrumbsDrawer")}); this._extrasAnim=_6c1.combine([_756,_757]).play(); _6c3.after(this._extrasAnim,"onEnd",lang.hitch(this,function(){ _6c5.add(this.mapContainer,"showExtras"); _755.maps.event.trigger(map,"resize"); this.fixMapSizing(); this.showingExtras=true; })); } },hideExtraInfo:function(map,_758){ if(this._extrasAnim&&this._extrasAnim.status()==="stopped"){ this._extrasAnim.stop(true); } if(this.showingExtras){ var _759=_6c1.wipeOut({node:dom.byId("pageTitle")}); var _75a=_6c1.wipeOut({node:dom.byId("breadcrumbsDrawer")}); this._extrasAnim=_6c1.combine([_759,_75a]).play(); _6c3.after(this._extrasAnim,"onEnd",lang.hitch(this,function(){ _6c5.remove(this.mapContainer,"showExtras"); _758.maps.event.trigger(map,"resize"); this.fixMapSizing(); this.showingExtras=false; })); } },hookUserInterfaceElements:function(){ on(this.mapReportOutageHB,"click",lang.hitch(this,this.changeLocation,this.reportOutageHBUri)); on(this.mapReportOutageSL,"click",lang.hitch(this,this.changeLocation,this.reportOutageSLUri)); on(this.mapSearchForm,"submit",lang.hitch(this,function(_75b){ _6bc.stop(_75b); this.mapSearchButton.focus(); this.searchMap(this.mapSearchInput.get("value")); })); var _75c=this.get("viewMode"); switch(_75c){ case _6e1.MODE_MAP: this.showMap().gotoPercent(1,true); break; case _6e1.MODE_LIST: this.showList().gotoPercent(1,true); break; default: this.showMap().gotoPercent(1,true); break; } this.registerResponsiveFunction(lang.hitch(this,this.fixMapSizing,true),null,null); },handleMapApiUnavailable:function(_75d){ this.mapDeferred.reject(_75d); },postCreate:function(){ this.mapSearchInput.watch("displayedValue",lang.hitch(this,function(_75e,_75f,_760){ if(_760){ _6c5.add(this.mapSearchForm,"showClearButton"); }else{ _6c5.remove(this.mapSearchForm,"showClearButton"); } })); Maps.then(null,lang.hitch(this,this.handleMapApiUnavailable)); this.outagesStoreDeferred.then(lang.hitch(this,function(_761){ this.set("lastUpdatedTimestamp",_761.publishDate||i18n.outageMapUnknownPublishDate); this.set("totalIncidents",_761.totalIncidents); this.set("totalCustomersAffected",_761.totalCustomersAffected); _6c5.remove(this.domNode,"outageMapLoading"); this.hookUserInterfaceElements(); var dl=new _6c2([this.mapDeferred,Maps]); dl.then(lang.hitch(this,function(_762){ var map=_762[0][1],_763=_762[1][1],_764=win.getBox(); if(!_6ba.every(_762,function(_765){ return _765[0]; })){ return; } _6cc.watch("activeStack",lang.hitch(this,function(name,_766,_767){ var _768=win.getBox(); if((_768.w<=640)&&(_6ba.indexOf(_767,this.id)>-1)){ this.hideExtraInfo(map,_763); }else{ this.showExtraInfo(map,_763); } })); this.registerResponsiveFunction(lang.hitch(this,this.showMobileMapControls,map,_763),null,1024); this.registerResponsiveFunction(lang.hitch(this,this.showDesktopMapControls,map,_763),1025,null); if(_764.w<=1025){ this.showMobileMapControls(map,_763); }else{ this.showDesktopMapControls(map,_763); } })); this.fixMapSizing(); })); },startup:function(){ this.outagesStoreDeferred.then(lang.hitch(this,function(_769){ _6de=_769.macros; _6df=_769.macros.length; _6e0=_769.store.query().total; this.initOrderByButtons(_769); var dl=new _6c2([this.outagesStoreDeferred,Maps]); dl.then(lang.hitch(this,function(_76a){ var _76b=_76a[0][1],_76c=_76a[1][1]; if(!_6ba.every(_76a,function(_76d){ return _76d[0]; })){ return; } this.geocoder=new _76c.maps.Geocoder(); this.populateMap(_76b,_76c); this.fixMapSizing(); })); if((this.oanNumber)&&(this.oanNumber!=="")){ this.mapDeferred.then(lang.hitch(this,function(){ this.focusOutageNumber(this.oanNumber); })); }else{ if(1){ this.focusMapOnUser(); } } }),lang.hitch(this,function(err){ _6c5.add(this.domNode,"outageMapError"); _6c5.remove(this.domNode,"outageMapLoading"); console.error(err); })); this.inherited(arguments); }}); return _6ed; }); },"url:sce/form/templates/RadioButton.html":"
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      error
      \r\n
      ","sce/ToolRailCarousel":function(){ require({cache:{"url:sce/templates/CollapsableCarousel.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      "}}); define("sce/ToolRailCarousel",["dojo/_base/declare","dojo/_base/lang","dojo/query","dojo/dom-construct","dojo/dom-geometry","dojo/dom-class","dojo/dom-style","dojo/dom-attr","sce/EspotsCarousel","sce/ToolRail","sce/Card","dojo/text!./templates/CollapsableCarousel.html"],function(_76e,lang,_76f,_770,_771,_772,_773,_774,_775,_776,Card,_777){ var _778=_76e("sce.ToolRailCarousel",[_775,_776],{templateString:_777,loadExistingCards:function(){ var _779=_76f("div.railTool",this.containerNode),_77a=null; for(var i=(_779.length-1);i>=0;i--){ _77a=_779[i]; var _77b=new Card(); _77b.on("cardFocus",lang.hitch(this,function(e){ var _77c=this.getCardIndexByCard(e.focussedCard); this.forceSelectedCard(_77c); })); _774.set(_77b.domNode,"tabindex",0); _770.place(_77a,_77b.containerNode); this.addCard(_77b); } },postCreate:function(){ _772.add(this.domNode,"railToolCarousel"); _772.add(this.containerNode,"toolContainer"); this.inherited(arguments); }}); return _778; }); },"sce/outage_map/OutageIncident":function(){ require({cache:{"url:sce/outage_map/templates/OutageIncident.html":"
      \r\n
      \r\n
      ${city}
      \r\n
      ${cause}
      \r\n
      \r\n
      \r\n
      \r\n Estimated Time of Restoration:${endTime}\r\n
      \r\n
      \r\n Last Updated:${lastChange}\r\n
      \r\n
      \r\n Start Time:${startTime}\r\n
      \r\n
      \r\n Customers Impacted:${custAffected}\r\n
      \r\n
      \r\n Cause:${cause}\r\n
      \r\n
      \r\n Crew Status:${status}\r\n
      \r\n
      \r\n Additional Info:${result}\r\n
      \r\n
      \r\n
      \r\n Outage Alert Note:${oan}\r\n
      \r\n
      \r\n
      "}}); define("sce/outage_map/OutageIncident",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/text!./templates/OutageIncident.html"],function(_77d,_77e,_77f,_780){ var _781=_77d("sce.outage_map.OutageIncident",[_77e,_77f],{templateString:_780,baseClass:"outageIncidentWdgt"}); return _781; }); },"dojo/hash":function(){ define("dojo/hash",["./_base/kernel","require","./_base/connect","./_base/lang","./ready","./_base/sniff"],function(dojo,_782,_783,lang,_784,has){ dojo.hash=function(hash,_785){ if(!arguments.length){ return _786(); } if(hash.charAt(0)=="#"){ hash=hash.substring(1); } if(_785){ _787(hash); }else{ location.href="#"+hash; } return hash; }; var _788,_789,_78a,_78b=dojo.config.hashPollFrequency||100; function _78c(str,_78d){ var i=str.indexOf(_78d); return (i>=0)?str.substring(i+1):""; }; function _786(){ return _78c(location.href,"#"); }; function _78e(){ _783.publish("/dojo/hashchange",[_786()]); }; function _78f(){ if(_786()===_788){ return; } _788=_786(); _78e(); }; function _787(hash){ if(_789){ if(_789.isTransitioning()){ setTimeout(lang.hitch(null,_787,hash),_78b); return; } var href=_789.iframe.location.href; var _790=href.indexOf("?"); _789.iframe.location.replace(href.substring(0,_790)+"?"+hash); return; } location.replace("#"+hash); !_78a&&_78f(); }; function _791(){ var ifr=document.createElement("iframe"),_792="dojo-hash-iframe",_793=dojo.config.dojoBlankHtmlUrl||_782.toUrl("./resources/blank.html"); if(dojo.config.useXDomain&&!dojo.config.dojoBlankHtmlUrl){ console.warn("dojo.hash: When using cross-domain Dojo builds,"+" please save dojo/resources/blank.html to your domain and set djConfig.dojoBlankHtmlUrl"+" to the path on your domain to blank.html"); } ifr.id=_792; ifr.src=_793+"?"+_786(); ifr.style.display="none"; document.body.appendChild(ifr); this.iframe=dojo.global[_792]; var _794,_795,_796,_797,_798,_799=this.iframe.location; function _79a(){ _788=_786(); _794=_798?_788:_78c(_799.href,"?"); _795=false; _796=null; }; this.isTransitioning=function(){ return _795; }; this.pollLocation=function(){ if(!_798){ try{ var _79b=_78c(_799.href,"?"); if(document.title!=_797){ _797=this.iframe.document.title=document.title; } } catch(e){ _798=true; console.error("dojo.hash: Error adding history entry. Server unreachable."); } } var hash=_786(); if(_795&&_788===hash){ if(_798||_79b===_796){ _79a(); _78e(); }else{ setTimeout(lang.hitch(this,this.pollLocation),0); return; } }else{ if(_788===hash&&(_798||_794===_79b)){ }else{ if(_788!==hash){ _788=hash; _795=true; _796=hash; ifr.src=_793+"?"+_796; _798=false; setTimeout(lang.hitch(this,this.pollLocation),0); return; }else{ if(!_798){ location.href="#"+_799.search.substring(1); _79a(); _78e(); } } } } setTimeout(lang.hitch(this,this.pollLocation),_78b); }; _79a(); setTimeout(lang.hitch(this,this.pollLocation),_78b); }; _784(function(){ if("onhashchange" in dojo.global&&(!has("ie")||(has("ie")>=8&&document.compatMode!="BackCompat"))){ _78a=_783.connect(dojo.global,"onhashchange",_78e); }else{ if(document.addEventListener){ _788=_786(); setInterval(_78f,_78b); }else{ if(document.attachEvent){ _789=new _791(); } } } }); return dojo.hash; }); },"sce/api/Facebook":function(){ define("sce/api/Facebook",["dojo/_base/declare","dojo/_base/Deferred","dojo/_base/kernel","dojo/io/script","dojo/ready","sce/api/_APIConstants"],function(_79c,_79d,_79e,_79f,_7a0,_7a1){ var _7a2="en-US"; if(_79e.locale){ switch(_79e.locale){ case "en": _7a2="en_US"; break; case "ko": _7a2="ko_KR"; break; case "vi": _7a2="vi_VN"; break; case "es": _7a2="es_LA"; break; case "zh": _7a2="zh_CN"; break; default: _7a2="en_US"; } } var _7a3=new _79d(); _7a0(_7a1.LOAD_PRIORITY,function(){ if(typeof FB==="undefined"){ window.fbAsyncInit=function(){ FB.init({appId:"1112937882109094",cookie:true,version:"v2.8",xfbml:false,oauth:true}); _7a3.resolve(FB); }; _79f.get({url:"//connect.facebook.net/"+_7a2+"/sdk.js",error:function(e){ _7a3.reject("Facebook API seems incorrectly loaded."); }}); }else{ } }); return _7a3; }); },"sce/avm/enum/addressEnum":function(){ define("sce/avm/enum/addressEnum",function(){ var _7a4={ADDR_ERROR:(1),ADDR_FOUND_SINGLE:(1<<1),ADDR_FOUND_MULTI:(1<<2),ADDR_NO_MATCH:(1<<3),ADDR_PARSING_PROBLEM:(1<<4),ADDR_NO_DATA:(1<<5),ADDR_INVALID:(1<<6),ADDR_BROAD:(1<<7),ADDR_EMPTY:(1<<8),ADDR_X_STREET_CANT:(1<<9),ADDR_NO_SERVICE:(1<<10)}; return _7a4; }); },"sce/flow/outage/Streetlight/SLLocate":function(){ define("sce/flow/outage/Streetlight/SLLocate",["dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/on","dojo/aspect","dojo/dom-style","dojo/_base/lang","dijit/registry","sce/_Validation","sce/FormSubmit","sce/flow/outage/_Outage"],function(_7a5,_7a6,dom,on,_7a7,_7a8,lang,_7a9,_7aa,_7ab,_7ac){ var _7ad=_7a5([_7ac],{constructor:function(_7ae){ this.initFlow1(); if(_7a9.byId("cancelDialog")!=undefined){ _7a9.byId("cancelButton").onClick=lang.hitch(this,function(){ _7a9.byId("cancelDialog").show(); }); _7a9.byId("cancelNo").onClick=lang.hitch(this,function(){ _7a9.byId("cancelDialog").hide(); }); _7a9.byId("cancelYes").onClick=lang.hitch(this,function(){ dom.byId("cancelHiddenButtonSubmit").click(); }); } },initFlow1:function(){ sce.globalSce.Navigation.setPageTitle(dom.byId("pageTitle_id").innerHTML); if(dom.byId("outageLocation1_id")){ on(dom.byId("outageLocation1_id"),"click",function(){ _7a9.byId("outageLocation1_id").showDefaultStyle(); _7a9.byId("outageLocation2_id").showDefaultStyle(); _7a9.byId("sactSelect_id").showDefaultStyle(); _7a9.byId("sactDrawer_id").show(); _7a9.byId("olmDrawer_id").hide(); }); } if(dom.byId("outageLocation2_id")){ on(dom.byId("outageLocation2_id"),"click",function(){ _7a9.byId("outageLocation1_id").showDefaultStyle(); _7a9.byId("outageLocation2_id").showDefaultStyle(); _7a9.byId("sactDrawer_id").hide(); _7a9.byId("olmDrawer_id").show(); }); } _7a9.byId("nextButton").onClick=lang.hitch(this,function(){ _7a9.byId("nextButton").set("disabled",true); if(this._validateFlow1()){ dom.byId("pg2NextButton").click(); return true; }else{ _7a9.byId("nextButton").set("disabled",false); return false; } }); _7ab.attachSubmitListener("outage_sl_1",lang.hitch(this,function(_7af,e){ if(!(_7af||this._validateFlow1())){ _7a6.stop(e); } })); var avm=_7a9.byId("addressValidationStreetlightHANA"),_7b0=_7a9.byId("nextButton"),_7b1=_7a9.byId("previousButton"),_7b2=_7b0.domNode.parentElement,_7b3=_7b1.domNode.parentElement; if(_7b0){ on(_7b0,"click",function(e){ if((avm._isVisible())&&(!avm._isFilledOut())){ avm.nextHandler(); _7a6.stop(e); } }); } if(_7b1){ on(_7b1,"click",function(e){ avm.previousHandler(); _7a6.stop(e); }); } function _7b4(_7b5){ if(avm._isVisible()){ if(_7b5.next||avm._isFilledOut()){ _7a8.set(_7b2,{display:""}); }else{ _7a8.set(_7b2,{display:"none"}); } if(_7b5.prev){ _7a8.set(_7b3,{display:""}); }else{ _7a8.set(_7b3,{display:"none"}); } }else{ _7a8.set(_7b2,{display:""}); _7a8.set(_7b3,{display:"none"}); } return _7b5; }; _7a7.after(avm,"getButtonsToDisplay",_7b4); _7b4(avm.getButtonsToDisplay()); },_validateFlow1:function(){ var _7b6=true; var avm=_7a9.byId("addressValidationStreetlightHANA"),_7b7=_7a9.byId("nextButton"),_7b8=_7a9.byId("previousButton"); if((avm._isVisible())&&(!avm._isFilledOut())){ avm.nextHandler(); return false; } var _7b9=_7aa.isValidForm("#outage_sl_1"); _7b6=_7b9.result; if(_7b6==false){ sce.globalSce.Session.focusOnFirstError(); }else{ if(_7b6==true){ if(dom.byId("outageLocation1_id")){ if(dom.byId("outageLocation1_id").checked==true){ if(_7a9.byId("sactSelect_id").get("value")=="NONE"){ _7a9.byId("sactSelect_id").showErrorStyle(); _7b6=false; }else{ _7a9.byId("sactSelect_id").showValidStyle(); _7b6=_7b6&&true; } } } if(dom.byId("outageLocation2_id")){ if(dom.byId("outageLocation2_id").checked==true){ var _7ba=document.getElementsByName("addressValidationStreetlightHANA_response"); if(_7ba&&_7ba[0]){ if(_7ba[0].value==""){ _7a9.byId("addressValidationStreetlightHANA").showErrorStyle(); _7b6=false; }else{ _7a9.byId("addressValidationStreetlightHANA").showValidStyle(); _7b6=_7b6&&true; } }else{ _7a9.byId("addressValidationStreetlightHANA").showErrorStyle(); _7b6=false; } } } } } return _7b6; }}); return _7ad; }); },"sce/avm/AddressValidationHANA":function(){ require({cache:{"url:sce/avm/templates/AddressValidationHANA.html":"
      \r\n
      \r\n
      error
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmHomeBusinessPleaseZipcode}\r\n
      \r\n
      \r\n ${_bundle.zipCodeText} (#####)\r\n
      \r\n ${_bundle.invalidZip}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n ${_bundle.invalidStreetName}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.unitNumberLabelText}\r\n
      \r\n ${_bundle.invalidUnitNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n Is this the address you meant?\r\n
      \r\n

      Some address that may be the one you're looking for.

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n
      \r\n
      \r\n
      ${_bundle.unitNumberLabelText}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.havaAvmCouldntFind}\r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.avScreen4Text}\r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.hanaAvmAssistanceText1}

      \r\n

      ${_bundle.hanaAvmAssistanceText2}

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.zipCodeText}:

      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      "}}); define("sce/avm/AddressValidationHANA",["dojo/_base/declare","dojo/_base/lang","dojo/_base/Deferred","dojo/_base/array","dojo/dom-style","dojo/on","dojo/store/Memory","dojo/html","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","sce/form/TextBox","sce/form/Select","sce/avm/_AVMMixin","sce/analytics/_AVM-Analytics","sce/avm/AddressUtil","sce/avm/rules/AddressValidationHANA","sce/avm/enum/zipEnum","sce/avm/enum/addressEnum","javascript-state-machine/state-machine","dojo/i18n!sce/nls/analytics","dojo/i18n!sce/nls/common","dojo/text!./templates/AddressValidationHANA.html"],function(_7bb,lang,_7bc,_7bd,_7be,on,_7bf,html,_7c0,_7c1,_7c2,_7c3,_7c4,_7c5,_7c6,_7c7,_7c8,_7c9,_7ca,_7cb,_7cc,i18n,_7cd){ var _7ce=_7bb("sce.avm.AddressValidationHANA",[_7c0,_7c1,_7c2,_7c5,_7c6],{templateString:_7cd,baseClass:"addressValidationWdgt",_bundle:i18n,analyticsName:_7cc.avm.homeBusinessName,analyticsFriendlyName:_7cc.avm.homeBusinessFriendlyName,analyticsProcess:_7cc.avm.homeBusinessProcess,analyticsForm:_7cc.avm.homeBusinessForm,analyticsEvent:_7cc.avm.homeBusinessEvent,assistanceText:i18n.assistanceText1,_setAssistanceTextAttr:{node:"assistanceTextNode",type:"innerHTML"},avmEnteredZip:"",_setAvmEnteredZipAttr:{node:"avmEnteredZipNode",type:"innerHTML"},avmConfirmAddress:null,_setAvmConfirmAddressAttr:function(_7cf){ html.set(this.avmConfirmAddressNode,_7c7.printFullAddressDetails(_7cf)); this._set("avmConfirmAddress",_7cf); },_isFilledOut:function(){ return (this.fsm.current==="verifyAddress"||this.fsm.current==="checkChosenAddress"); },wrongAddressHandler:function(_7d0){ this.fsm.notMyAddress(); },cancelHandler:function(){ this.emit("cancel",{}); switch(this.fsm.current){ case "zipcode": case "address": case "displayMultipleAddress": this.fsm.cancelAVM(); break; default: break; } },previousHandler:function(){ this.inherited(arguments); switch(this.fsm.current){ case "address": this.fsm.addressPrev(); break; case "displayMultipleAddress": this.fsm.addressPrev(); break; case "displayMultipleMeters": this.fsm.multipleMetersPrev(); break; case "verifyAddress": case "checkChosenAddress": this.fsm.verifyAddressPrev(); break; default: break; } },nextHandler:function(){ this.inherited(arguments); switch(this.fsm.current){ case "zipcode": this.fsm.zipcodeNext(); break; case "address": this.fsm.submitAddress(); break; case "displayMultipleAddress": this.fsm.chooseAddress(); break; case "displayMultipleMeters": this.fsm.chooseMeter(); break; case "verifyAddress": this.fsm.submitAVM(); break; default: break; } },initFSM:function(){ this.fsm=_7cb.create({initial:"zipcode",events:[{name:"zipcodeNext",from:"zipcode",to:"submittingZipcode"},{name:"validZipcode",from:"submittingZipcode",to:"address"},{name:"invalidZipcode",from:"submittingZipcode",to:"zipcode"},{name:"submitAddress",from:["address","verifyAddress"],to:"submittingAddress"},{name:"addressPrev",from:["address","displayMultipleAddress"],to:"zipcode"},{name:"validAddress",from:"submittingAddress",to:"verifyAddress"},{name:"invalidAddress",from:"submittingAddress",to:"address"},{name:"verifyAddressPrev",from:["verifyAddress","checkChosenAddress"],to:"address"},{name:"multipleAddresses",from:"submittingAddress",to:"displayMultipleAddress"},{name:"multipleUnits",from:"submittingAddress",to:"displayMultipleAddress"},{name:"multipleAddressesPrev",from:"displayMultipleAddress",to:"address"},{name:"chooseAddress",from:"displayMultipleAddress",to:"checkChosenAddress"},{name:"invalidChosenAddress",from:"checkChosenAddress",to:"displayMultipleAddress"},{name:"validChosenAddress",from:"checkChosenAddress",to:"verifyAddress"},{name:"multipleMeters",from:"submittingAddress",to:"displayMultipleMeters"},{name:"chooseMeter",from:"displayMultipleMeters",to:"verifyMeter"},{name:"multipelMetersValid",from:"verifyMeter",to:"verifyAddress"},{name:"multipleMetersError",from:"verifyMeter",to:"displayMultipleMeters"},{name:"multipleMetersPrev",from:"displayMultipleMeters",to:"address"},{name:"notMyAddress",from:["verifyAddress","checkChosenAddress"],to:"zipcode"},{name:"checkAttempts",from:"*",to:"*"},{name:"tooManyAttempts",from:"*",to:"attemptsExceeded"},{name:"problem",from:"*",to:"unknownError"},{name:"submitAVM",from:"verifyAddress",to:"avmSubmitted"},{name:"cancelAVM",from:"*",to:"zipcode"}],callbacks:{onenterstate:lang.hitch(this,function(_7d1,from,to,data){ if(this.fsm){ } }),onenterzipcode:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); } }),onzipcodeNext:lang.hitch(this,function(){ this.set("addressObject",null); var _7d2=lang.hitch(this,_7c8.rule1to2CheckZip)(); _7d2.then(lang.hitch(this,function(_7d3){ if(_7d3.code===_7c9.ZIP_FOUND){ this.emit("next",{currentState:"zipcode"}); this.fsm.validZipcode(_7d3.data); }else{ if(_7d3.code===_7c9.ZIP_NO_MATCH){ this.emit("next",{currentState:"zipcode"}); this.fsm.invalidZipcode(_7d3); }else{ if(_7d3.code===_7c9.ZIP_NO_SERVICE){ this.resetAttempts(); this.fsm.invalidZipcode(_7d3); }else{ if(_7d3.code===_7c9.ZIP_INVALID){ this.fsm.invalidZipcode(_7d3); }else{ this.fsm.invalidZipcode(_7d3); } } } } }),lang.hitch(this,function(_7d4){ this.fsm.problem(); })); }),onaddressPrev:lang.hitch(this,function(){ this.resetAttempts(); this.changeScreen("avmZipScreen").then(lang.hitch(this,function(_7d5){ if(_7d5){ this.resetFields([this.streetNumberInput,this.streetNameInput,this.unitNumberInput]); } })); }),onvalidZipcode:lang.hitch(this,function(_7d6,from,to,data){ this.tmpAddressStore=data; this.resetAttempts(); this.changeScreen("avmAddressScreen").then(lang.hitch(this,function(_7d7){ if(_7d7){ } })); }),onbeforeinvalidZipcode:lang.hitch(this,function(_7d8,from,to,data){ if(data.code===_7c9.ZIP_NO_MATCH){ this.zipInput.showErrorStyle(i18n.hanaAvmOutOfAreaZip); }else{ if(data.code===_7c9.ZIP_NO_SERVICE){ this.set("errorMessage",i18n.hanaUnavailable); }else{ } } this.incrementAttempts(); }),onenteraddress:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); } }),onsubmitAddress:lang.hitch(this,function(){ var _7d9=false,_7da=false; _7d9=this.streetNumberInput.get("value"); _7da=this.streetNameInput.get("value"); if(!(_7d9&&_7da)){ if(!_7d9){ this.streetNumberInput.showErrorStyle(); } if(!_7da){ this.streetNameInput.showErrorStyle(); } this.fsm.invalidAddress({code:_7ca.ADDR_ERROR,data:"Must enter a street number and name"}); return; } if((!this.get("addressObject"))&&(this.tmpAddressStore)){ var _7db=new RegExp(this.streetNameInput.get("value").split(" ").join("|"),"i"); var _7dc=this.tmpAddressStore.query({value:new RegExp("^"+this.streetNameInput.get("value")+"$","i")}); var _7dd=this.tmpAddressStore.query({value:new RegExp(this.streetNameInput.get("value"),"i")}); if(_7dc.total===1){ this.streetNameInput.set("value",_7dc[0].value); this.set("addressObject",_7dc[0]); }else{ if(_7dd.total===1){ this.streetNameInput.set("value",_7dd[0].value); this.set("addressObject",_7dd[0]); }else{ var _7de=this.tmpAddressStore.query({value:_7db}); if(_7de.total>0){ this.fsm.invalidAddress({code:_7ca.ADDR_FOUND_MULTI,data:_7de}); }else{ this.fsm.invalidAddress({code:_7ca.ADDR_NO_MATCH,data:i18n.hanaAvmNoStreetMatch}); } return; } } } var _7df=lang.hitch(this,_7c8.rule2to3Address)(); _7df.then(lang.hitch(this,function(_7e0){ var _7e1=new _7bf({data:_7bd.map(_7e0.data,function(_7e2,_7e3){ var tmp={id:_7e3,concatStreetName:_7c7.concatAddressString(_7e2),}; lang.mixin(tmp,_7e2); return tmp; })}); var _7e4=/^([a-zA-Z0-9]+)?(?:(?:\s+)?(\d+\/\d+))?$/.exec(this.streetNumberInput.get("value")); if(!_7e4){ _7e4=[]; } var _7e5=_7e1.query({Serv_Acct_House_Num:(_7e4[1]||""),Serv_Acct_House_Frctn_Num:(_7e4[2]||""),Serv_Acct_Unit_Num:this.unitNumberInput.get("value")}); var _7e6=_7e1.query({Serv_Acct_House_Num:(_7e4[1]||""),Serv_Acct_House_Frctn_Num:(_7e4[2]||"")}); if(_7e0.code&_7ca.ADDR_FOUND_SINGLE){ if(_7e0.code&_7ca.ADDR_BROAD){ if(_7e5.total===0){ if(_7e6.total){ this.fsm.multipleUnits(_7e0.data); }else{ this.fsm.multipleAddresses(_7e0.data); } }else{ this.fsm.multipleAddresses(_7e0.data); } }else{ this.set("avmConfirmAddress",_7e0.data); this.fsm.validAddress(_7e0.data[0]); } }else{ if(_7e0.code&_7ca.ADDR_FOUND_MULTI){ this.emit("next",{currentState:"address"}); if(_7e5.total===0){ if(_7e6.total){ this.fsm.multipleUnits(_7e0.data); }else{ this.fsm.multipleAddresses(_7e0.data); } }else{ if(_7e5.total===1){ this.fsm.validAddress(_7e5[0]); }else{ this.fsm.multipleMeters(_7e5); } } }else{ if(_7e0.code===(_7ca.ADDR_FOUND_SINGLE|_7ca.ADDR_BROAD)){ this.emit("next",{currentState:"address"}); this.fsm.multipleAddresses(_7e0.data); }else{ if(_7e0.code===_7ca.ADDR_NO_SERVICE){ this.fsm.invalidAddress(_7e0); }else{ if(_7e0.code===_7ca.ADDR_INVALID){ this.fsm.invalidAddress(_7e0); }else{ this.fsm.invalidAddress(_7e0); } } } } } }),lang.hitch(this,function(_7e7){ this.fsm.problem(); })); }),onmultipleAddresses:lang.hitch(this,function(_7e8,from,to,_7e9){ this.streetNumberInput.showErrorStyle(i18n.hanaAvmNoNumberMatch); lang.hitch(this,_7c8.displayMultipleAddresses)(_7e9); }),onmultipleUnits:lang.hitch(this,function(_7ea,from,to,_7eb){ this.unitNumberInput.showErrorStyle(i18n.hanaAvmProbablyMissingUnitNumber); lang.hitch(this,_7c8.displayMultipleAddresses)(_7eb); }),onchooseAddress:lang.hitch(this,function(_7ec,from,to,data){ this.emit("next",{currentState:"displayMultipleAddress"}); if(this.streetNumberInput.get("value")){ this.fsm.validChosenAddress(); }else{ this.streetNumberInput.showErrorStyle(); this.incrementAttempts(); this.fsm.invalidChosenAddress(); } }),onvalidChosenAddress:lang.hitch(this,function(){ this.get("avmConfirmAddress"); this.fsm.submitAddress(); }),onmultipleAddressesPrev:lang.hitch(this,function(){ this.set("addressObject",null); this.resetAttempts(); this.changeScreen("avmAddressScreen"); }),onmultipleMeters:lang.hitch(this,function(_7ed,from,to,_7ee){ lang.hitch(this,_7c8.displayMultipleMeters)(_7ee); this.changeScreen("avmMultiMeterScreen"); }),onchooseMeter:lang.hitch(this,function(){ if(this.get("attempts")>=this.get("maxAttempts")){ this.fsm.tooManyAttempts(); } if(this.multiMeterSelect._isFilledOut()){ this.emit("next",{currentState:"displayMultipleMeters"}); this.fsm.multipelMetersValid(); }else{ this.fsm.multipleMetersError(); } }),onmultipelMetersValid:lang.hitch(this,function(){ var _7ef=lang.hitch(this,_7c8.submitAVM)(this.get("addressObject")); _7ef.then(lang.hitch(this,function(){ this.changeScreen("avmConfirmAddressScreen"); }),lang.hitch(this,function(err){ this.fsm.problem(i18n.assistanceText1OurProblem); })); }),onmultipleMetersError:lang.hitch(this,function(){ this.incrementAttempts(); this.multiMeterSelect.showErrorStyle(); }),onmultipleMetersPrev:lang.hitch(this,function(){ this.set("addressObject",null); this.resetAttempts(); this.changeScreen("avmAddressScreen"); }),onnotMyAddress:lang.hitch(this,function(){ this.changeScreen("avmZipScreen").then(lang.hitch(this,function(_7f0){ if(_7f0){ this.resetFields([this.streetNumberInput,this.streetNameInput,this.unitNumberInput]); } })); }),onvalidAddress:lang.hitch(this,function(_7f1,from,to,data){ var _7f2=lang.hitch(this,_7c8.submitAVM)(data); _7f2.then(lang.hitch(this,function(){ this.resetAttempts(); this.changeScreen("avmConfirmAddressScreen"); }),lang.hitch(this,function(err){ this.fsm.problem(i18n.assistanceText1OurProblem); })); }),onbeforeinvalidAddress:lang.hitch(this,function(_7f3,from,to,_7f4){ if(_7f4.code&_7ca.ADDR_NO_MATCH){ this.emit("next",{currentState:"address"}); this.streetNameInput.showErrorStyle(_7f4.data); }else{ if(_7f4.code&_7ca.ADDR_NO_SERVICE){ this.set("errorMessage",i18n.hanaUnavailable); }else{ if(_7f4.code&_7ca.ADDR_FOUND_MULTI){ if(_7f4.code&_7ca.ADDR_BROAD){ this.emit("next",{currentState:"address"}); this.fsm.multipleAddresses(_7f4.data); }else{ _7be.set(this.avmSimilarStreetNode,"display",""); lang.hitch(this,_7c8.displaySimilarStreetNames)(_7f4.data); } }else{ if(_7f4.code&_7ca.ADDR_ERROR){ }else{ this.set("errorMessage",_7f4.data); } } } } this.incrementAttempts(); }),onleaveverifyAddress:lang.hitch(this,function(){ this.set("addressObject",null); }),onverifyAddressPrev:lang.hitch(this,function(){ this.emit("next",{currentState:"verifyAddress"}); this.resetAttempts(); this.changeScreen("avmAddressScreen"); }),ontooManyAttempts:lang.hitch(this,function(){ this.changeScreen("avmTroubleScreen"); }),onproblem:lang.hitch(this,function(_7f5,from,to,_7f6){ if(_7f6){ this.set("assistanceText",_7f6); }else{ this.set("assistanceText",i18n.assistanceText1); } this.changeScreen("avmTroubleScreen"); }),onsubmitAVM:lang.hitch(this,function(){ this.emit("submitReady",{something:true}); }),oncancelAVM:lang.hitch(this,function(){ this.changeScreen("avmZipScreen").then(lang.hitch(this,function(_7f7){ if(_7f7){ this.resetFields([this.zipInput,this.streetNumberInput,this.streetNameInput,this.unitNumberInput]); } })); })}}); },resetFields:function(_7f8){ _7bd.forEach(_7f8,function(_7f9){ _7f9.set("value",""); _7f9.showDefaultStyle(); },this); },displayPertinentButtons:function(_7fa){ if(_7fa){ if(_7fa.showZip){ _7be.set(this.avmEnteredZipContainer,{display:""}); }else{ _7be.set(this.avmEnteredZipContainer,{display:"none"}); } } return this.inherited(arguments); },constructor:function(){ this.initFSM(); },postCreate:function(){ this.screenMovementMapper={avmZipScreen:{next:"avmAddressScreen",nextLabel:i18n.hanaAvmHomeBusinessZipNext,cancellable:false},avmAddressScreen:{prev:"avmZipScreen",prevLabel:i18n.hanaAvmHomeBusinessAddressPrev,next:"avmConfirmAddressScreen",nextLabel:i18n.hanaAvmHomeBusinessAddressNext,showZip:true,cancellable:false},avmFuzzyMatchScreen:{prev:"avmAddressScreen",prevLabel:i18n.hanaAvmHomeBusinessFuzzyPrev,next:"avmConfirmAddressScreen",nextLabel:i18n.hanaAvmHomeBusinessFuzzyNext,showZip:true,cancellable:false},avmMultiMeterScreen:{prev:"avmAddressScreen",prevLabel:"Previous",next:"avmConfirmAddressScreen",nextLabel:"Next",showZip:true,cancellable:false},avmConfirmAddressScreen:{next:"",nextLabel:"Next",prev:"address",prevLabel:i18n.hanaAvmHomeBusinessConfirmPrev,cancellable:false},avmTroubleScreen:{cancellable:false}}; this.changeScreen("avmZipScreen"); this.inherited(arguments); },showErrorStyle:function(){ },startup:function(){ this.watch("addressObject",function(_7fb,_7fc,_7fd){ }); this.inherited(arguments); }}); return _7ce; }); },"dijit/_base/manager":function(){ define("dijit/_base/manager",["dojo/_base/array","dojo/_base/config","../registry",".."],function(_7fe,_7ff,_800,_801){ _7fe.forEach(["byId","getUniqueId","findWidgets","_destroyAll","byNode","getEnclosingWidget"],function(name){ _801[name]=_800[name]; }); _801.defaultDuration=_7ff["defaultDuration"]||200; return _801; }); },"sce/analytics/_Map-Analytics":function(){ define("sce/analytics/_Map-Analytics",["dojo/_base/declare","dojo/string","dojo/i18n!sce/nls/analytics"],function(_802,_803,_804){ function _805(_806){ if(typeof _initJSMD==="function"){ var _807=_initJSMD(),_808; _807.page.name=_806.name+(_806.listBy?(" - "+_806.listBy):("")); _807.page.friendly_name=_806.friendly_name+(_806.listBy?(" - "+_806.listBy):("")); _807.page.application=_804.outageMap.application; _807.page.section=_804.outageMap.section; _807.page.process=_804.outageMap.process; _807.page.hierarchy=_807.page.section+":"+_807.page.application+":"+_807.page.process; if(_806.searchTerm){ _807.user.outage_info=_803.substitute(_804.outageMap.searchTermFormat,{searchTerm:_806.searchTerm}); _807.page.events=_807.page.events||[]; if(Array.isArray(_807.page.events)){ _808=[]; _808.push(_804.outageSearch.baseEvent); _808.push(" "); _807.page.events.push(_808); } } _807.loadMap(_mainAnalyticsMap); _807.send(); }else{ } }; var _809=_802(null,{constructor:function(){ this.on("modechange",function(e){ switch(e.mode){ case "list": _805({name:_804.outageMap.nameList,friendly_name:_804.outageMap.friendlyNameList,mode:e.mode,listBy:e.listBy}); break; case "map": _805({name:_804.outageMap.nameMap,friendly_name:_804.outageMap.friendlyNameMap,mode:e.mode,}); break; default: break; } }); this.on("listBy",function(e){ _805({name:_804.outageMap.nameList,friendly_name:_804.outageMap.friendlyNameList,listBy:e.listBy}); }); this.on("search",function(e){ _805({name:_804.outageMap.nameMap,friendly_name:_804.outageMap.friendlyNameMap,searchTerm:e.searchTerm}); }); }}); return _809; }); },"sce/form/TextArea":function(){ require({cache:{"url:sce/form/templates/TextArea.html":"
      \r\n \r\n
      \r\n
      \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n error\r\n
      \r\n
      ${defaultErrorMessage}
      \r\n
      \r\n
      "}}); define("sce/form/TextArea",["dojo/_base/declare","dojo/_base/lang","dojo/on","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","sce/_Validation","dojo/dom-class","dojo/dom-attr","dojo/dom-style","sce/feature","dojo/i18n!sce/nls/common","dojo/text!./templates/TextArea.html","sce/ScrollablePane"],function(_80a,lang,on,_80b,_80c,_80d,_80e,_80f,_810,_811,has,i18n,_812){ var _813=_80a("sce.form.TextArea",[_80b,_80c,_80d,_80e],{templateString:_812,defaultErrorMessage:i18n.pleaseEnterInput,postCreate:function(){ this.inherited(arguments); },maxLength:null,startup:function(){ if(this.get("maxLength")&&!has("textarea-maxlength")){ this.validation.push("textarea-maxlength"); } this.inherited(arguments); },_setErrorMessageAttr:{node:"errorMessageNode",type:"innerHTML"},textlabel:"",_setTextlabelAttr:{node:"textAreaLabelNode",type:"innerHTML"},_getValueAttr:function(){ return this.focusNode.value; },_setValueAttr:{node:"focusNode",type:"attribute",attribute:"value"},enableBlurValidation:function(){ on(this.focusNode,"focus",lang.hitch(this,function(){ })); on(this.focusNode,"blur",lang.hitch(this,function(){ this.validate(null,true); })); },_liveValidateURL:function(_814){ arguments[0]=this.focusNode; this.inherited(arguments); },_onKeyup:function(){ this.showDefaultStyle(); },showValidStyle:function(){ _810.remove(this.domNode,"aria-describedby"); _810.set(this.domNode,"aria-invalid","false"); this.alertAssociation.innerHTML=i18n.inputValidText; _80f.remove(this.rootNode,"invalidState"); _80f.add(this.rootNode,"validState"); _811.set(this.validationFeedback,"display","none"); },showErrorStyle:function(){ _810.set(this.domNode,"aria-describedby",this.validationFeedback.id); _810.set(this.domNode,"aria-invalid","true"); this.alertAssociation.innerHTML=i18n.invalidInputText; _80f.remove(this.rootNode,"validState"); _80f.add(this.rootNode,"invalidState"); _811.set(this.validationFeedback,"display","block"); },showDefaultStyle:function(){ _810.remove(this.domNode,"aria-describedby"); _810.set(this.domNode,"aria-invalid","false"); this.alertAssociation.innerHTML=""; _80f.remove(this.rootNode,"invalidState"); _80f.remove(this.rootNode,"validState"); _811.set(this.validationFeedback,"display","none"); }}); return _813; }); },"url:sce/templates/RestCardE.html":"
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      ","url:sce/accessibility/templates/ModeLogger.html":"
      \r\n
      \r\n
      ","dijit/form/Button":function(){ require({cache:{"url:dijit/form/templates/Button.html":"\r\n"}}); define("dijit/form/Button",["require","dojo/_base/declare","dojo/dom-class","dojo/_base/kernel","dojo/_base/lang","dojo/ready","./_FormWidget","./_ButtonMixin","dojo/text!./templates/Button.html"],function(_815,_816,_817,_818,lang,_819,_81a,_81b,_81c){ if(!_818.isAsync){ _819(0,function(){ var _81d=["dijit/form/DropDownButton","dijit/form/ComboButton","dijit/form/ToggleButton"]; _815(_81d); }); } return _816("dijit.form.Button",[_81a,_81b],{showLabel:true,iconClass:"dijitNoIcon",_setIconClassAttr:{node:"iconNode",type:"class"},baseClass:"dijitButton",templateString:_81c,_setValueAttr:"valueNode",_onClick:function(e){ var ok=this.inherited(arguments); if(ok){ if(this.valueNode){ this.valueNode.click(); e.preventDefault(); } } return ok; },_fillContent:function(_81e){ if(_81e&&(!this.params||!("label" in this.params))){ var _81f=lang.trim(_81e.innerHTML); if(_81f){ this.label=_81f; } } },_setShowLabelAttr:function(val){ if(this.containerNode){ _817.toggle(this.containerNode,"dijitDisplayNone",!val); } this._set("showLabel",val); },setLabel:function(_820){ _818.deprecated("dijit.form.Button.setLabel() is deprecated. Use set('label', ...) instead.","","2.0"); this.set("label",_820); },_setLabelAttr:function(_821){ this.inherited(arguments); if(!this.showLabel&&!("title" in this.params)){ this.titleNode.title=lang.trim(this.containerNode.innerText||this.containerNode.textContent||""); } }}); }); },"sce/Espots":function(){ require({cache:{"url:sce/templates/Espots.html":"
      \r\n
      \r\n
      \r\n
      "}}); define("sce/Espots",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_PaneLayout","sce/layout/_ResponsiveLayout","dojo/_base/lang","dojo/dom","dojo/dom-construct","dojo/query","dojo/dom-style","dojo/dom-geometry","dojo/dom-class","dojo/dom-attr","dojo/on","dojo/keys","dojo/window","dojo/text!./templates/Espots.html"],function(_822,_823,_824,_825,_826,lang,dom,_827,_828,_829,_82a,_82b,_82c,on,keys,win,_82d){ var _82e=_822("sce.Espots",[_823,_824,_825,_826],{templateString:_82d,_MAX_WIDTH:277,_MIN_WIDTH:213,_LAST_WIDTH:0,_LAST_HEIGHT:0,_LAST_COUNT:0,postCreate:function(){ var _82f=_828(".temp .espot",dom.byId(this.id)); if(_82f.length<=0){ return; } for(var i=0;i<_82f.length;i++){ var _830=_82f[i]; var _831=_827.create("div",{className:"espot"}); var _832; var _833=false; if(_828(".ctaContainer a",_830).length>0){ _832=_827.create("a",{href:"#"}); _833=true; }else{ _832=_831; } var _834=_828(".imageContainer img",_830); if(_834.length>0){ _834=_834[0]; var _835=_827.create("div",{className:"image"}); _829.set(_835,"backgroundImage","url('"+_834.src.trim()+"')"); _827.place(_835,_832,"last"); } var _836=_828(".headerContainer",_830); var _837=_828(".descriptionContainer",_830); if(_836.length>0||_837.length>0){ var _838=_827.create("div",{className:"content"}); if(_836.length>0){ _836=_836[0]; var _839=_827.create("div",{className:"header",innerHTML:"

      "+_836.innerHTML+"

      "}); _827.place(_839,_838,"last"); } if(_837.length>0){ _837=_837[0]; var _83a=_827.create("div",{className:"description",innerHTML:_837.innerHTML}); _827.place(_83a,_838,"last"); } _827.place(_838,_832,"last"); } var cta=_828(".ctaContainer a",_830); if(cta.length>0){ cta=cta[0]; var _83b=_827.create("div",{className:"cta",innerHTML:"
      "+cta.innerHTML.trim()+"
      "}); var _83c=_82c.get(cta,"href"); if(_83c!=null&&_83c!="#"&&_83c!=""){ var url=cta.href; _82c.set(_832,"href",url); var _83d=_82c.get(cta,"target"); if(_83d!=null&&_83d!=""){ _82c.set(_832,"target",_83d); } } _827.place(_83b,_832,"last"); } if(_833){ _827.place(_832,_831,"last"); }else{ _82c.set(_831,"tabindex","0"); _82b.add(_831,"clickable","0"); } _827.place(_831,_828(".espotsContainer",dom.byId(this.id))[0],"last"); } var _83e=_827.create("div",{className:"clear"}); _827.place(_83e,_828(".espotsContainer",dom.byId(this.id))[0],"last"); _827.destroy(_828(".temp",dom.byId(this.id))[0]); },startup:function(){ var _83f=_828(".espotsContainer .espot",dom.byId(this.id)); if(_83f.length<=0){ return; } this.registerResponsiveFunction(lang.hitch(this,this._resize),null,null); _829.set(dom.byId(this.id),"display","block"); this._resize(); },_resize:function(){ var _840=_828(".espot",dom.byId(this.id)); var box=win.getBox(); if(this._LAST_HEIGHT==box.h&&this._LAST_WIDTH==box.w&&_840.length==this._LAST_COUNT){ return; }else{ this._LAST_HEIGHT=box.h; this._LAST_WIDTH=box.w; this._LAST_COUNT=_840.length; } for(var i=0;i<_840.length;i++){ _829.set(_840[i],"visibility","hidden"); } _82b.remove(dom.byId(this.id),"oneColumn"); _82b.remove(dom.byId(this.id),"twoColumn"); _82b.remove(dom.byId(this.id),"threeColumn"); _82b.remove(dom.byId(this.id),"heightExpanded"); for(var i=0;i<_840.length;i++){ _829.set(_840[i],"width","auto"); } var _841=_82a.position(dom.byId(this.id)).w; var _842=this._MIN_WIDTH*2+20; var _843=false; if((_841<_842)||_840.length==1){ _82b.add(dom.byId(this.id),"oneColumn"); var _844=Math.max(_841,this._MIN_WIDTH); _844=Math.min(_844,this._MAX_WIDTH); for(var i=0;i<_840.length;i++){ _829.set(_840[i],"width",_844+"px"); _829.set(_840[i],"height",""); } }else{ _843=true; } var _845=_82a.position(_840[0]).w; if(_845>this._MAX_WIDTH){ for(var i=0;i<_840.length;i++){ _829.set(_840[i],"width",this._MAX_WIDTH+"px"); } } if(_843){ var _846=this._MIN_WIDTH*3+40; if(_841<_846){ _82b.add(dom.byId(this.id),"twoColumn"); var _847=(_841-20)/2; if(_847>this._MAX_WIDTH){ _847=this._MAX_WIDTH; } for(var i=0;i<_840.length;i++){ _829.set(_840[i],"width",(Math.floor(_847)-1)+"px"); } }else{ _82b.add(dom.byId(this.id),"threeColumn"); var _847=(_841-40)/3; if(_847>this._MAX_WIDTH){ _847=this._MAX_WIDTH; } for(var i=0;i<_840.length;i++){ _829.set(_840[i],"width",(Math.floor(_847)-1)+"px"); } } var _848=new Array(_840.length); for(var i=0;i<_840.length;i++){ _829.set(_840[i],"height",""); _848[i]=_82a.position(_840[i]).h; } _848=_848.sort(); if(_848[0]!=_848[_848.length-1]){ var _849=Math.max.apply(null,_848); for(var i=0;i<_840.length;i++){ _829.set(_840[i],"height",_849+"px"); } _82b.add(dom.byId(this.id),"heightExpanded"); } }else{ if(_840.length>1){ _82b.add(dom.byId(this.id),"oneColumn"); } } for(var i=0;i<_840.length;i++){ _829.set(_840[i],"visibility","visible"); } }}); return _82e; }); },"dijit/_WidgetBase":function(){ define("dijit/_WidgetBase",["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/_base/kernel","dojo/_base/lang","dojo/on","dojo/ready","dojo/Stateful","dojo/topic","dojo/_base/window","./registry"],function(_84a,_84b,_84c,_84d,_84e,_84f,dom,_850,_851,_852,_853,_854,_855,lang,on,_856,_857,_858,win,_859){ if(!_855.isAsync){ _856(0,function(){ var _85a=["dijit/_base/manager"]; _84a(_85a); }); } var _85b={}; function _85c(obj){ var ret={}; for(var attr in obj){ ret[attr.toLowerCase()]=true; } return ret; }; function _85d(attr){ return function(val){ _850[val?"set":"remove"](this.domNode,attr,val); this._set(attr,val); }; }; return _84f("dijit._WidgetBase",_857,{id:"",_setIdAttr:"domNode",lang:"",_setLangAttr:_85d("lang"),dir:"",_setDirAttr:_85d("dir"),textDir:"","class":"",_setClassAttr:{node:"domNode",type:"class"},style:"",title:"",tooltip:"",baseClass:"",srcNodeRef:null,domNode:null,containerNode:null,attributeMap:{},_blankGif:_84d.blankGif||_84a.toUrl("dojo/resources/blank.gif"),postscript:function(_85e,_85f){ this.create(_85e,_85f); },create:function(_860,_861){ this.srcNodeRef=dom.byId(_861); this._connects=[]; this._supportingWidgets=[]; if(this.srcNodeRef&&(typeof this.srcNodeRef.id=="string")){ this.id=this.srcNodeRef.id; } if(_860){ this.params=_860; lang.mixin(this,_860); } this.postMixInProperties(); if(!this.id){ this.id=_859.getUniqueId(this.declaredClass.replace(/\./g,"_")); } _859.add(this); this.buildRendering(); if(this.domNode){ this._applyAttributes(); var _862=this.srcNodeRef; if(_862&&_862.parentNode&&this.domNode!==_862){ _862.parentNode.replaceChild(this.domNode,_862); } } if(this.domNode){ this.domNode.setAttribute("widgetId",this.id); } this.postCreate(); if(this.srcNodeRef&&!this.srcNodeRef.parentNode){ delete this.srcNodeRef; } this._created=true; },_applyAttributes:function(){ var ctor=this.constructor,list=ctor._setterAttrs; if(!list){ list=(ctor._setterAttrs=[]); for(var attr in this.attributeMap){ list.push(attr); } var _863=ctor.prototype; for(var _864 in _863){ if(_864 in this.attributeMap){ continue; } var _865="_set"+_864.replace(/^[a-z]|-[a-zA-Z]/g,function(c){ return c.charAt(c.length-1).toUpperCase(); })+"Attr"; if(_865 in _863){ list.push(_864); } } } _84b.forEach(list,function(attr){ if(this.params&&attr in this.params){ }else{ if(this[attr]){ this.set(attr,this[attr]); } } },this); for(var _866 in this.params){ this.set(_866,this[_866]); } },postMixInProperties:function(){ },buildRendering:function(){ if(!this.domNode){ this.domNode=this.srcNodeRef||_852.create("div"); } if(this.baseClass){ var _867=this.baseClass.split(" "); if(!this.isLeftToRight()){ _867=_867.concat(_84b.map(_867,function(name){ return name+"Rtl"; })); } _851.add(this.domNode,_867); } },postCreate:function(){ },startup:function(){ if(this._started){ return; } this._started=true; _84b.forEach(this.getChildren(),function(obj){ if(!obj._started&&!obj._destroyed&&lang.isFunction(obj.startup)){ obj.startup(); obj._started=true; } }); },destroyRecursive:function(_868){ this._beingDestroyed=true; this.destroyDescendants(_868); this.destroy(_868); },destroy:function(_869){ this._beingDestroyed=true; this.uninitialize(); var c; while((c=this._connects.pop())){ c.remove(); } var w; while((w=this._supportingWidgets.pop())){ if(w.destroyRecursive){ w.destroyRecursive(); }else{ if(w.destroy){ w.destroy(); } } } this.destroyRendering(_869); _859.remove(this.id); this._destroyed=true; },destroyRendering:function(_86a){ if(this.bgIframe){ this.bgIframe.destroy(_86a); delete this.bgIframe; } if(this.domNode){ if(_86a){ _850.remove(this.domNode,"widgetId"); }else{ _852.destroy(this.domNode); } delete this.domNode; } if(this.srcNodeRef){ if(!_86a){ _852.destroy(this.srcNodeRef); } delete this.srcNodeRef; } },destroyDescendants:function(_86b){ _84b.forEach(this.getChildren(),function(_86c){ if(_86c.destroyRecursive){ _86c.destroyRecursive(_86b); } }); },uninitialize:function(){ return false; },_setStyleAttr:function(_86d){ var _86e=this.domNode; if(lang.isObject(_86d)){ _854.set(_86e,_86d); }else{ if(_86e.style.cssText){ _86e.style.cssText+="; "+_86d; }else{ _86e.style.cssText=_86d; } } this._set("style",_86d); },_attrToDom:function(attr,_86f,_870){ _870=arguments.length>=3?_870:this.attributeMap[attr]; _84b.forEach(lang.isArray(_870)?_870:[_870],function(_871){ var _872=this[_871.node||_871||"domNode"]; var type=_871.type||"attribute"; switch(type){ case "attribute": if(lang.isFunction(_86f)){ _86f=lang.hitch(this,_86f); } var _873=_871.attribute?_871.attribute:(/^on[A-Z][a-zA-Z]*$/.test(attr)?attr.toLowerCase():attr); _850.set(_872,_873,_86f); break; case "innerText": _872.innerHTML=""; _872.appendChild(win.doc.createTextNode(_86f)); break; case "innerHTML": _872.innerHTML=_86f; break; case "class": _851.replace(_872,_86f,this[attr]); break; } },this); },get:function(name){ var _874=this._getAttrNames(name); return this[_874.g]?this[_874.g]():this[name]; },set:function(name,_875){ if(typeof name==="object"){ for(var x in name){ this.set(x,name[x]); } return this; } var _876=this._getAttrNames(name),_877=this[_876.s]; if(lang.isFunction(_877)){ var _878=_877.apply(this,Array.prototype.slice.call(arguments,1)); }else{ var _879=this.focusNode&&!lang.isFunction(this.focusNode)?"focusNode":"domNode",tag=this[_879].tagName,_87a=_85b[tag]||(_85b[tag]=_85c(this[_879])),map=name in this.attributeMap?this.attributeMap[name]:_876.s in this?this[_876.s]:((_876.l in _87a&&typeof _875!="function")||/^aria-|^data-|^role$/.test(name))?_879:null; if(map!=null){ this._attrToDom(name,_875,map); } this._set(name,_875); } return _878||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,_87b){ var _87c=this[name]; this[name]=_87b; if(this._watchCallbacks&&this._created&&_87b!==_87c){ this._watchCallbacks(name,_87c,_87b); } },on:function(type,func){ return _84c.after(this,this._onMap(type),func,true); },_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[type.toLowerCase()]; },toString:function(){ return "[Widget "+this.declaredClass+", "+(this.id||"NO ID")+"]"; },getChildren:function(){ return this.containerNode?_859.findWidgets(this.containerNode):[]; },getParent:function(){ return _859.getEnclosingWidget(this.domNode.parentNode); },connect:function(obj,_87d,_87e){ var _87f=_84e.connect(obj,_87d,this,_87e); this._connects.push(_87f); return _87f; },disconnect:function(_880){ var i=_84b.indexOf(this._connects,_880); if(i!=-1){ _880.remove(); this._connects.splice(i,1); } },subscribe:function(t,_881){ var _882=_858.subscribe(t,lang.hitch(this,_881)); this._connects.push(_882); return _882; },unsubscribe:function(_883){ this.disconnect(_883); },isLeftToRight:function(){ return this.dir?(this.dir=="ltr"):_853.isBodyLtr(); },isFocusable:function(){ return this.focus&&(_854.get(this.domNode,"display")!="none"); },placeAt:function(_884,_885){ if(_884.declaredClass&&_884.addChild){ _884.addChild(this,_885); }else{ _852.place(this.domNode,_884,_885); } return this; },getTextDir:function(text,_886){ return _886; },applyTextDir:function(){ },defer:function(fcn,_887){ var _888=setTimeout(lang.hitch(this,function(){ _888=null; if(!this._destroyed){ lang.hitch(this,fcn)(); } }),_887||0); return {remove:function(){ if(_888){ clearTimeout(_888); _888=null; } return null; }}; }}); }); },"url:sce/templates/RestCardA.html":"
      \r\n
      \r\n \r\n

      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      ","dojo/store/Memory":function(){ define("dojo/store/Memory",["../_base/declare","./util/QueryResults","./util/SimpleQueryEngine"],function(_889,_88a,_88b){ return _889("dojo.store.Memory",null,{constructor:function(_88c){ for(var i in _88c){ this[i]=_88c[i]; } this.setData(this.data||[]); },data:null,idProperty:"id",index:null,queryEngine:_88b,get:function(id){ return this.data[this.index[id]]; },getIdentity:function(_88d){ return _88d[this.idProperty]; },put:function(_88e,_88f){ var data=this.data,_890=this.index,_891=this.idProperty; var id=(_88f&&"id" in _88f)?_88f.id:_891 in _88e?_88e[_891]:Math.random(); if(id in _890){ if(_88f&&_88f.overwrite===false){ throw new Error("Object already exists"); } data[_890[id]]=_88e; }else{ _890[id]=data.push(_88e)-1; } return id; },add:function(_892,_893){ (_893=_893||{}).overwrite=false; return this.put(_892,_893); },remove:function(id){ var _894=this.index; var data=this.data; if(id in _894){ data.splice(_894[id],1); this.setData(data); return true; } },query:function(_895,_896){ return _88a(this.queryEngine(_895,_896)(this.data)); },setData:function(data){ if(data.items){ this.idProperty=data.identifier; data=this.data=data.items; }else{ this.data=data; } this.index={}; for(var i=0,l=data.length;i\r\n
      \r\n ${_compatabilityText}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_playerControlsText}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
       
      \r\n \r\n
      \r\n
      ","url:sce/templates/ToolRail.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      ","sce/Notification":function(){ require({cache:{"url:sce/templates/Notification.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      notification
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/Notification",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/ready","dojo/dom","dojo/dom-class","dojo/dom-style","dojo/dom-attr","dojo/dom-geometry","dojo/dom-construct","dojo/_base/query","dojo/_base/lang","dojo/parser","dojo/on","dojo/i18n!sce/nls/common","dijit/registry","dojo/text!./templates/Notification.html","sce/global/Utility","sce/TruncatableElement","sce/Drawer"],function(_897,_898,_899,_89a,dom,_89b,_89c,_89d,_89e,_89f,_8a0,lang,_8a1,on,i18n,_8a2,_8a3,_8a4,_8a5){ var _8a6=_897("sce.Notification",[_898,_899],{templateString:_8a3,icon:"none",ctaLink:"",ctaLinkTarget:"_self",ctaLinkText:"",ctaLinkButtonTheme:"subdued-yellow",ctaLink2:"",ctaLinkTarget2:"_self",ctaLinkText2:"",ctaLinkButtonTheme2:"subdued-yellow",postCreate:function(){ this.inherited(arguments); if(this.icon==="red"){ _89b.add(this.notificationContainer,"red"); }else{ if(this.icon==="green"){ _89b.add(this.notificationContainer,"green"); } } if((this.ctaLink!=="")||(this.ctaLink2!=="")){ _89c.set(this.readMoreContainer,"display","block"); if(this.ctaLink!==""){ _89d.remove(this.ctaButton1,"style"); } if(this.ctaLink2!==""){ _89d.remove(this.ctaButton2,"style"); } } },initializeTextContent:function(){ var _8a7=_8a0(".contentHeader",this.domNode),_8a8=_8a0(".messageContent",this.domNode),_8a9=_8a0(".notificationDate",this.domNode),_8aa=null,_8ab=null; if(_8a7&&_8a7.length>0){ _8a7=_8a7[0]; _8aa=new _8a5({id:(this.id+"_titleElement"),},_89f.create("div",{innerHTML:_8a7.innerHTML},this.containerNode)); _8aa.startup(); _89b.add(_8aa.domNode,"titleElement"); _89f.destroy(_8a7); } if(_8a8&&_8a8.length>0){ _8a8=_8a8[0]; _8ab=new _8a5({id:(this.id+"_contentElement"),},_89f.create("div",{innerHTML:_8a8.innerHTML},this.containerNode)); _8ab.startup(); _89b.add(_8ab.domNode,"contentElement"); _89f.destroy(_8a8); } if(_8a9.length>0){ _89b.add(this.domNode,"hasNotificationDate"); } if(_8aa&&_8ab){ _8aa.neverShowTruncatableIcon=true; _8aa.hideExpander(); _8ab.watch("truncated",function(name,_8ac,_8ad){ if(!_8ad){ _8aa.expandManually(); }else{ _8aa.collapseManually(); } }); } },startup:function(){ this.inherited(arguments); _8a1.parse(this.id); if(this.notificationIconElement&&this.iconUrl){ _89c.set(this.notificationIconElement,{backgroundImage:("url("+this.iconUrl+")"),backgroundPosition:"0 0",backgroundSize:"50px 50px",backgroundRepeat:"no-repeat"}); _89b.add(this.notificationContainer,"useIcon"); } if(this.ctaLink!=""){ _8a2.byId(this.id+"_readMoreButton").onClick=lang.hitch(this,function(){ if(this.ctaLinkTarget==="_self"){ location.assign(this.ctaLink); }else{ if(this.ctaLinkTarget==="_blank"){ window.open(this.ctaLink); } } }); } if(this.ctaLink2!=""){ _8a2.byId(this.id+"_readMoreButton2").onClick=lang.hitch(this,function(){ if(this.ctaLinkTarget2==="_self"){ location.assign(this.ctaLink2); }else{ if(this.ctaLinkTarget2==="_blank"){ window.open(this.ctaLink2); } } }); } if((this.ctaLink&&!this.ctaLink2)||(!this.ctaLink&&this.ctaLink2)){ _89b.add(this.readMoreContainer,"oneCTA"); } this.initializeTextContent(); }}); return _8a6; }); },"dojo/fx/easing":function(){ define("dojo/fx/easing",["../_base/lang"],function(lang){ var _8ae={linear:function(n){ return n; },quadIn:function(n){ return Math.pow(n,2); },quadOut:function(n){ return n*(n-2)*-1; },quadInOut:function(n){ n=n*2; if(n<1){ return Math.pow(n,2)/2; } return -1*((--n)*(n-2)-1)/2; },cubicIn:function(n){ return Math.pow(n,3); },cubicOut:function(n){ return Math.pow(n-1,3)+1; },cubicInOut:function(n){ n=n*2; if(n<1){ return Math.pow(n,3)/2; } n-=2; return (Math.pow(n,3)+2)/2; },quartIn:function(n){ return Math.pow(n,4); },quartOut:function(n){ return -1*(Math.pow(n-1,4)-1); },quartInOut:function(n){ n=n*2; if(n<1){ return Math.pow(n,4)/2; } n-=2; return -1/2*(Math.pow(n,4)-2); },quintIn:function(n){ return Math.pow(n,5); },quintOut:function(n){ return Math.pow(n-1,5)+1; },quintInOut:function(n){ n=n*2; if(n<1){ return Math.pow(n,5)/2; } n-=2; return (Math.pow(n,5)+2)/2; },sineIn:function(n){ return -1*Math.cos(n*(Math.PI/2))+1; },sineOut:function(n){ return Math.sin(n*(Math.PI/2)); },sineInOut:function(n){ return -1*(Math.cos(Math.PI*n)-1)/2; },expoIn:function(n){ return (n==0)?0:Math.pow(2,10*(n-1)); },expoOut:function(n){ return (n==1)?1:(-1*Math.pow(2,-10*n)+1); },expoInOut:function(n){ if(n==0){ return 0; } if(n==1){ return 1; } n=n*2; if(n<1){ return Math.pow(2,10*(n-1))/2; } --n; return (-1*Math.pow(2,-10*n)+2)/2; },circIn:function(n){ return -1*(Math.sqrt(1-Math.pow(n,2))-1); },circOut:function(n){ n=n-1; return Math.sqrt(1-Math.pow(n,2)); },circInOut:function(n){ n=n*2; if(n<1){ return -1/2*(Math.sqrt(1-Math.pow(n,2))-1); } n-=2; return 1/2*(Math.sqrt(1-Math.pow(n,2))+1); },backIn:function(n){ var s=1.70158; return Math.pow(n,2)*((s+1)*n-s); },backOut:function(n){ n=n-1; var s=1.70158; return Math.pow(n,2)*((s+1)*n+s)+1; },backInOut:function(n){ var s=1.70158*1.525; n=n*2; if(n<1){ return (Math.pow(n,2)*((s+1)*n-s))/2; } n-=2; return (Math.pow(n,2)*((s+1)*n+s)+2)/2; },elasticIn:function(n){ if(n==0||n==1){ return n; } var p=0.3; var s=p/4; n=n-1; return -1*Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p); },elasticOut:function(n){ if(n==0||n==1){ return n; } var p=0.3; var s=p/4; return Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p)+1; },elasticInOut:function(n){ if(n==0){ return 0; } n=n*2; if(n==2){ return 1; } var p=0.3*1.5; var s=p/4; if(n<1){ n-=1; return -0.5*(Math.pow(2,10*n)*Math.sin((n-s)*(2*Math.PI)/p)); } n-=1; return 0.5*(Math.pow(2,-10*n)*Math.sin((n-s)*(2*Math.PI)/p))+1; },bounceIn:function(n){ return (1-_8ae.bounceOut(1-n)); },bounceOut:function(n){ var s=7.5625; var p=2.75; var l; if(n<(1/p)){ l=s*Math.pow(n,2); }else{ if(n<(2/p)){ n-=(1.5/p); l=s*Math.pow(n,2)+0.75; }else{ if(n<(2.5/p)){ n-=(2.25/p); l=s*Math.pow(n,2)+0.9375; }else{ n-=(2.625/p); l=s*Math.pow(n,2)+0.984375; } } } return l; },bounceInOut:function(n){ if(n<0.5){ return _8ae.bounceIn(n*2)/2; } return (_8ae.bounceOut(n*2-1)/2)+0.5; }}; lang.setObject("dojo.fx.easing",_8ae); return _8ae; }); },"url:sce/templates/ShareBar.html":"
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.socialByEmail}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.printText}\r\n
      \r\n
      \r\n
      ","dojo/regexp":function(){ define("dojo/regexp",["./_base/kernel","./_base/lang"],function(dojo,lang){ lang.getObject("regexp",true,dojo); dojo.regexp.escapeString=function(str,_8af){ return str.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,function(ch){ if(_8af&&_8af.indexOf(ch)!=-1){ return ch; } return "\\"+ch; }); }; dojo.regexp.buildGroupRE=function(arr,re,_8b0){ if(!(arr instanceof Array)){ return re(arr); } var b=[]; for(var i=0;i\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/Drawer",["dojo/_base/declare","dojo/_base/array","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/dom","dojo/query","dojo/on","dojo/_base/Deferred","dojo/_base/event","dojo/_base/lang","dojo/_base/xhr","dojo/dom-class","dojo/keys","dojo/fx","dojo/dom-style","dojo/dom-construct","dojo/dom-attr","dojo/hash","dojo/_base/connect","dojo/i18n!sce/nls/common","dojo/text!./templates/Drawer.html","dijit/registry","dijit/focus","dojo/NodeList-dom","dojo/cookie","sce/_Validation","sce/global/Utility","dojo/has","dojo/_base/sniff"],function(_8b9,_8ba,_8bb,_8bc,dom,_8bd,on,_8be,_8bf,lang,xhr,_8c0,keys,_8c1,_8c2,_8c3,_8c4,hash,_8c5,i18n,_8c6,_8c7,_8c8,_8c9,_8ca,_8cb,util,has){ var _8cc=_8b9("sce.Drawer",[_8bb,_8bc,_8cb],{templateString:_8c6,widgetsInTemplate:true,dataSourceUrl:"",collapsed:true,width:null,targetLink:null,backgroundColor:"transparent",borderStyle:"1px solid transparent",borderTop:"",showClose:true,keepState:false,keepStateDuration:-1,safeTabbing:false,titleExpandDrawer:"",titleCollapseDrawer:"",_srcLoaded:true,_isClosed:true,_linkNodeClickHandler:null,_linkNodeKeyPressHandler:null,_setContentLabelAttr:{node:"drawerContentContainer",type:"attribute",attribute:"aria-label"},_setContentLabelledByAttr:{node:"drawerContentContainer",type:"attribute",attribute:"aria-labelledby"},postCreate:function(){ if(this.width!==null){ _8c2.set(dom.byId(this.id),"width",this.width); } if((!this.titleExpandDrawer)||(this.titleExpandDrawer==="")){ this.titleExpandDrawer=i18n.expandDrawer; } if((!this.titleCollapseDrawer)||(this.titleCollapseDrawer==="")){ this.titleCollapseDrawer=i18n.collapseDrawer; } _8c2.set(this.drawerContentContainer,"backgroundColor",this.backgroundColor); if(this.showClose){ var _8cd=_8bd(".close",dom.byId(this.id)).length; if(_8cd<1){ _8c3.create("a",{className:"close hideContent",id:this.id+"_drawerClose",href:"#",title:i18n.closeText,innerHTML:""+this.titleCollapseDrawer+""},this.drawerContentContainer,"last"); } } _8c2.set(this.drawerContentContainer,"display","none"); if(this.dataSourceUrl!=""){ this._srcLoaded=false; } this.attachLinkNode(this.targetLink); if(this.targetLink){ if(this._isClosed){ _8bd(this.targetLink).attr("title",this.titleExpandDrawer); }else{ _8bd(this.targetLink).attr("title",this.titleCollapseDrawer); } } if(this.showClose){ on(_8bd(".close",dom.byId(this.id)),"click",lang.hitch(this,this.toggle)); on(_8bd(".close",dom.byId(this.id)),"keypress",lang.hitch(this,this._keyPressToggle)); } if(this.safeTabbing){ this.enableSafeTabbing(); } },enableSafeTabbing:function(){ var _8ce=function(_8cf,_8d0){ while((_8cf=_8cf.parentNode)&&_8cf!==_8d0){ } return !!_8cf; }; var _8d1=function(el){ var test=_8c2.get(el,"display"); return (test!=="none"); }; var _8d2=function(){ var _8d3=[],_8d4=null; _8d4=_8bd("[tabindex],input"); _8ba.forEach(_8d4,function(el){ if(el.tabIndex>=0&&!el.disabled&&!el.hidden&&!el.readOnly&&_8d1(el)&&el.type!=="hidden"){ _8d3.push(el); } }); return _8d3; }; var _8d5=function(_8d6,_8d7){ var _8d8=_8d2(); var _8d9=dom.byId(_8d6); var _8da=dom.byId(_8d7); var _8db=_8ba.indexOf(_8d8,_8d9); var _8dc=(_8db+1); while((_8dc<_8d8.length)&&_8ce(_8d8[_8dc],_8da)){ _8dc++; } if(_8dc<_8d8.length){ try{ _8d8[_8dc].focus(); } catch(e){ } } }; var self=this; require(["dojo/aspect"],function(_8dd){ if(has("ie")<=10){ _8dd.before(self,"hide",function(){ if(document.activeElement.id===(this.drawerContentContainer)){ _8d5(document.activeElement.id,this.id); } }); } }); var _8de=function(name,_8df,_8e0){ var _8e1=(_8ba.indexOf(_8df,this.id)>-1),_8e2=(_8ba.indexOf(_8e0,this.id)>-1); if((!_8e1)&&(_8e2)){ if(this._isClosed){ _8d5(_8df[0],this.id); } } }; if(!(has("ie")<=10)){ _8c8.watch("activeStack",lang.hitch(this,_8de)); } },startup:function(){ if(this.collapsed==true){ this.hide(true); _8c0.remove(dom.byId(this.id),"hideContent"); }else{ _8c0.remove(dom.byId(this.id),"hideContent"); this.show(true); } _8c2.set(this.id,"display","block"); this.inherited(arguments); },isValid:function(){ return this.isSubwidgetValid(); },hide:function(init){ if(this.keepState){ if(this.keepStateDuration==-1){ _8ca(this.id+"_collapsed_state",true,{path:"/"}); }else{ _8ca(this.id+"_collapsed_state",true,{path:"/",expires:this.keepStateDuration}); } } if(this._isClosed){ return; } var _8e3=this.drawerContentContainer; var _8e4={node:_8e3,onEnd:lang.hitch(this,function(){ if(has("ie")<=8){ util.forceInternetExplorerRender(); } if(document.activeElement===this.drawerContentContainer){ var _8e5=dojo.query(this.targetLink); if(_8e5.length&&_8e5[0].focus){ _8e5[0].focus(); } } })}; _8c1.wipeOut(_8e4).play(); _8c4.set(this.drawerContentContainer,"aria-expanded","false"); if(this.targetLink!=null&&_8bd(this.targetLink).length==1){ _8bd(this.targetLink).attr("title",this.titleExpandDrawer); var _8e6=_8bd(this.targetLink); for(var i=0;i<_8e6.length;i++){ _8c0.add(_8e6[i],"collapsed"); _8c0.remove(_8e6[i],"expanded"); } } this.collapsed=true; this._isClosed=true; this._showDefaultStyleForAll(); },show:function(init,_8e7){ var _8e8=new _8be(); if(this.keepState){ _8ca(this.id+"_collapsed_state",false,{path:"/"}); } if(this.showClose&&_8c0.contains(dom.byId(this.id+"_drawerClose"),"hideContent")){ _8c0.remove(dom.byId(this.id+"_drawerClose"),"hideContent"); } var _8e9=this.drawerContentContainer; _8c2.set(_8e9,"border",this.borderStyle); if(this.borderTop!=""){ _8c2.set(_8e9,"borderTop",this.borderTop); } if(this._srcLoaded==false){ if(init==true){ this._loadData(true); }else{ this._loadData(); } }else{ if(this._isClosed){ var _8ea={node:_8e9,onEnd:lang.hitch(this,this._focusDrawer,init,_8e7,_8e8)}; _8c1.wipeIn(_8ea).play(); _8c4.set(this.drawerContentContainer,"aria-expanded","true"); if(this.targetLink!=null&&_8bd(this.targetLink).length==1){ _8bd(this.targetLink).attr("title",this.titleCollapseDrawer); var _8eb=_8bd(this.targetLink); for(var i=0;i<_8eb.length;i++){ _8c0.add(_8eb[i],"expanded"); _8c0.remove(_8eb[i],"collapsed"); } } this.collapsed=false; this._isClosed=false; } } return _8e8; },toggle:function(e){ if(this._isClosed){ this.show(); }else{ this.hide(); } if(e!==undefined){ _8bf.stop(e); } },detachLinkNode:function(){ this._linkNodeClickHandler.remove(); this._linkNodeKeyPressHandler.remove(); this._linkNodeClickHandler=null; this._linkNodeKeyPressHandler=null; },attachLinkNode:function(_8ec){ if(this._linkNodeClickHandler!=null||this._linkNodeKeyPressHandler!=null){ throw "current link node handler already exists"; } this.targetLink=_8ec; if(this.targetLink!=null&&_8bd(this.targetLink).length==1){ this._linkNodeClickHandler=on(_8bd(this.targetLink),"click",lang.hitch(this,this.toggle)); this._linkNodeKeyPressHandler=on(_8bd(this.targetLink),"keypress",lang.hitch(this,this._keyPressToggle)); var _8ed=_8bd(this.targetLink); for(var i=0;i<_8ed.length;i++){ _8c0.add(_8ed[i],"collapsed"); _8c0.remove(_8ed[i],"expanded"); } } },_focusDrawer:function(init,_8ee,_8ef){ if(has("ie")<=8){ util.forceInternetExplorerRender(); } if(init==null&&(_8ee==null||_8ee==false)){ this.drawerContentContainer.focus(); } if(_8ef){ _8ef.resolve(); } },_keyPressToggle:function(e){ if(e.charCode==keys.SPACE||e.keyCode==keys.ENTER){ _8bf.stop(e); this.toggle(); }else{ return true; } },_loadData:function(init){ var url=this.dataSourceUrl; var _8f0={url:url,failOk:true,handleAs:"text"}; var _8f1=xhr.get(_8f0); if(init==true){ _8f1.addCallback(this,"_loadDataSuccessInit"); }else{ _8f1.addCallback(this,"_loadDataSuccess"); } _8f1.addErrback(this,"_loadDataError"); },_loadDataSuccess:function(data){ this._srcLoaded=true; this.show(); this.containerNode.innerHTML=data; },_loadDataSuccessInit:function(data){ this._srcLoaded=true; this.show(true); this.containerNode.innerHTML=data; },_loadDataError:function(_8f2){ if(_8f2==null){ this._srcLoaded=true; this.toggle(); this.containerNode.innerHTML="

      "+i18n.drawerError1Text+"

      "; }else{ this._srcLoaded=true; var _8f3="

      "+i18n.contentPaneError2Text+" "+this.dataSourceUrl+".

      "; this.toggle(); this.containerNode.innerHTML=_8f3; } },_setCollapsedAttr:function(_8f4){ var b=_8ca(this.id+"_collapsed_state"); this._set("collapsed",(b==null?_8f4:(b=="true"?true:false))); },_showDefaultStyleForAll:function(){ var _8f5=[],_8f6=null,i=0,j=0; _8f5=dojo.query("#"+this.id+"_drawerContent"); for(i=0;i<_8f5.length;i++){ _8f6=_8c7.findWidgets(_8f5[i]); for(j=0;j<_8f6.length;j++){ if(_8f6[j].validate){ try{ _8f6[j].showDefaultStyle(); } catch(e){ } } } } }}); return _8cc; }); },"sce/FormValidationResults":function(){ define("sce/FormValidationResults",["dojo/_base/declare","dojo/_base/array"],function(_8f7,_8f8){ var _8f9=_8f7("sce.FormValidationResults",[],{result:true,firstFailure:null,constructor:function(){ this.testWidgets=[]; },addResult:function(id,_8fa,_8fb){ this.testWidgets.push({id:id,validationTypes:_8fa,validationResults:_8fb}); if(_8f8.indexOf(_8fb,false)>=0){ this.result=false; } },getTestResults:function(){ var _8fc={}; for(var i=0;i0){ if(_913.length===1){ if(_913[0].Serv_Acct_House_Frctn_Num!==""){ if(typeof _90d.HouseFractionNumber==="undefined"){ _90e.resolve({code:(_90b.ADDR_FOUND_MULTI|(_912?_90b.ADDR_BROAD:0)),data:_913}); }else{ if(_913[0].Serv_Acct_House_Frctn_Num!==_90d.HouseFractionNumber){ _90e.resolve({code:(_90b.ADDR_FOUND_MULTI|(_912?_90b.ADDR_BROAD:0)),data:_913}); }else{ _90e.resolve({code:(_90b.ADDR_FOUND_SINGLE|(_912?_90b.ADDR_BROAD:0)),data:_913}); } } }else{ if(typeof _90d.HouseFractionNumber!=="undefined"){ _90e.resolve({code:(_90b.ADDR_FOUND_MULTI|(_912?_90b.ADDR_BROAD:0)),data:_913}); }else{ _90e.resolve({code:(_90b.ADDR_FOUND_SINGLE|(_912?_90b.ADDR_BROAD:0)),data:_913}); } } }else{ _90e.resolve({code:(_90b.ADDR_FOUND_MULTI|(_912?_90b.ADDR_BROAD:0)),data:_913}); } }else{ if(_90d.UnitNum){ delete _90d.UnitNum; this.getAddressDetails(_90d).then(lang.hitch(this,function(data){ lang.hitch(this,_911,data,true)(); }),_90f); }else{ if(_90d.HouseNum){ delete _90d.HouseNum; if(_90d.HouseFractionNumber){ delete _90d.HouseFractionNumber; } this.getAddressDetails(_90d).then(lang.hitch(this,function(data){ lang.hitch(this,_911,data,true)(); }),_90f); }else{ _90e.resolve({code:_90b.ADDR_NO_MATCH,data:"Found no matching addresses"}); } } } } catch(e){ console.error("Problem parsing"); _90e.resolve({code:_90b.ADDR_PARSING_PROBLEM,data:i18n.hanaUnavailable}); } }else{ _90e.resolve({code:_90b.ADDR_NO_DATA,data:"No data received"}); } }; this.getAddressDetails(_90d).then(lang.hitch(this,_911),_90f); return _90e; }; return {rule1to2CheckZip:function(){ var zip=this.zipInput.get("value"),_914=new _902(),_915,req; _915=_908.isValidForm(this[this.get("currentScreen")]); if(_915.result){ this.set("avmEnteredZip",zip); req=this.getAddressByZipcodeCity(zip); req.then(lang.hitch(this,function(data){ if(data){ var _916,_917,_918; try{ _916=JSON.parse(data); if(_916.d.results.length>0){ var _919=this.get("addressListener"); if(_919){ _919.remove(); } _917=_909.indexAddresses(_916.d.results); _918=_917.sort(_909.addressSorter); var _91a=new _907({id:"id",data:_918}); this.streetNumberInput.setDataStore(); this.unitNumberInput.setDataStore(); this.streetNameInput.setDataStore(_917); _919=on(this.streetNameInput,"item",lang.hitch(this,function(e){ var _91b=_91a.query({id:_904.get(e.target,"data-storeid")}); this.set("addressObject",_91b[0]); })); this.set("addressListener",_919); _914.resolve({code:_90a.ZIP_FOUND,data:_91a}); }else{ _914.resolve({code:_90a.ZIP_NO_MATCH,data:"No places in that zipcode"}); } } catch(error){ _914.resolve({code:_90a.ZIP_PARSING_PROBLEM,data:i18n.hanaUnavailable}); } }else{ _914.resolve({code:_90a.ZIP_NO_DATA,data:"No data received"}); } }),function(_91c){ _914.resolve({code:_90a.ZIP_NO_SERVICE,data:"HANA unavailable"}); }); }else{ _914.resolve({code:_90a.ZIP_INVALID,data:this._bundle.invalidZipCode}); } return _914; },rule2to3Address:function(_91d){ var zip=this.zipInput.get("value"),_91e=this.streetNumberInput.get("value"),_91f=this.streetNameInput.get("value"),_920=this.unitNumberInput.get("value"),_921=this.get("addressObject"),_922=new _902(),_923; _923=_908.isValidForm(this[this.get("currentScreen")]); if(_923.result){ var _924={ZipCode:zip.toString(),StreetName:_91f.toString()}; var _925=/^([a-zA-Z0-9]+)?(?:(?:\s+)?(\d+\/\d+))?$/.exec(_91e); if((!_925)||(typeof _925[1]==="undefined")){ _922.resolve({code:_90b.ADDR_INVALID,data:this._bundle.invalidAddress}); return _922; } if(_925[1]){ _924.HouseNum=_925[1]; } if(_925[2]){ _924.HouseFractionNumber=_925[2]; } if(_920){ _924.UnitNum=_920.toString(); } if(_921){ lang.mixin(_924,_909.constructQueryParams(_921)); } _922=lang.hitch(this,_90c)(_924); }else{ _922.resolve({code:_90b.ADDR_INVALID,data:this._bundle.invalidAddress}); } return _922; },displaySimilarStreetNames:function(_926){ var _927=this.streetNameSimilarSelect._selectNode.length; var _928=this.streetNameSimilarSelect; for(var j=0;j<_927-1;j++){ _928.removeOption(1); } var arr=_909.stripConcatStreetNames(_926); _903.forEach(arr,function(_929,_92a){ var _92b=_905.create("option",{innerHTML:_929.value,value:_92a}); _928.addOption(_92b); }); var _92c=_928.watch("value",lang.hitch(this,function(_92d,_92e,_92f){ var _930=parseInt(_92f); var _931=arr[_930]; if(_931){ this.streetNameInput.set("value",arr[_930].value); this.set("addressObject",arr[_930].address); } })); this.fsm.onleaveaddress=lang.hitch(this,function(){ _906.set(this.avmSimilarStreetNode,"display","none"); _92c.unwatch(); }); },displayMultipleAddresses:function(_932){ var _933=new _907({data:_903.map(_932,function(_934,_935){ var tmp={id:_935,concatStreetName:_909.concatAddressString(_934),}; lang.mixin(tmp,_934); return tmp; })}); var _936=this.get("addressObject"); var _937; var _938; if(_936){ var _939; var _93a=this.get("streetInputWatcher"); if(_93a){ _93a.unwatch(); } _939=_933.query({Serv_Acct_House_Num:this.streetNumberInput.get("value"),concatStreetName:_936.value}); if(_939.total===_933.data.length){ }else{ _939=_933.query({concatStreetName:_936.value}); } this.set("avmConfirmAddress",_939[0]); var _93b=_903.map(_939,function(unit,_93c){ return {id:_93c,value:(unit.Serv_Acct_House_Num+" "+unit.Serv_Acct_House_Frctn_Num).trim()}; }); var _93d=_903.map(_939,function(unit,_93e){ return {id:_93e,value:unit.Serv_Acct_Unit_Num}; }); var _93f=_903.filter(_93b,function(_940,i,arr){ return (_903.lastIndexOf(_903.map(arr,function(e){ return e.value; }),_940.value)===i); }); this.streetNumberInput.setDataStore(_93f); this.unitNumberInput.setDataStore(_93d); function _941(){ var _942={},_943=_936.value,_944=this.streetNumberInput.get("value"),_945=this.unitNumberInput.get("value"); if(_943){ _942.concatStreetName=_943; } if(_944){ _942.Serv_Acct_House_Num=_944; } if(_945){ _942.Serv_Acct_Unit_Num=_945; } var res=_933.query(_942); if(res.length){ this.set("avmConfirmAddress",res[0]); } }; _93a=this.streetNameInput.watch("value",lang.hitch(this,function(_946,_947,_948){ this.streetNumberInput.setDataStore(); this.unitNumberInput.setDataStore(); })); lang.hitch(this,_941)(); } this.fsm.onleavedisplayMultipleAddress=lang.hitch(this,function(){ if(_937){ _937.remove(); } if(_938){ _938.remove(); } }); },displayMultipleMeters:function(_949){ var _94a=this.multiMeterSelect; var _94b=_94a._selectNode.length; if(this.multipMeterWatcher){ this.multipMeterWatcher.remove(); } for(var j=0;j<_94b-1;j++){ _94a.removeOption(1); } var arr=_909.collectMeterAddress(_949); _903.forEach(arr,function(_94c,_94d){ var _94e=_905.create("option",{innerHTML:_94c.value,value:_94d}); _94a.addOption(_94e); }); this.multipMeterWatcher=on(_94a.domNode,"change",lang.hitch(this,function(){ var _94f=parseInt(_94a.get("value")); var _950=arr[_94f]; if(_950){ this.set("addressObject",arr[_94f].address); } })); },submitAVM:function(_951){ var _952=new _902(); var _953=_909.constructConfirmedQueryParams(_951); this.getConfirmedAddressDetails(_953).then(lang.hitch(this,function(_954){ try{ var _955=JSON.parse(_954); if(_955.d.results.length===1){ var _956=_955.d.results[0]; this.set("avmConfirmAddress",_956); var _957={"typeOfAddress":"Service","serviceAddressDetails":{"serviceAddress":{"houseNo":_956.Serv_Acct_House_Num.toString(),"houseFrac":_956.Serv_Acct_House_Frctn_Num.toString(),"houseNoCombined":(_956.Serv_Acct_House_Num.toString()+" "+_956.Serv_Acct_House_Frctn_Num.toString()).trim(),"stName":_956.Serv_Acct_Street_Name.toString(),"stPrefix":_956.Serv_Acct_Street_Prfx_Code.toString(),"stSuffix":_956.Serv_Acct_Street_Sfx_Code.toString(),"unitDesignatorCode":_956.Serv_Acct_Unit_Designator_Cd.toString(),"unitNo":_956.Serv_Acct_Unit_Num.toString(),"meterCode":_956.Serv_Acct_Meter_Code.toString(),"city":_956.Serv_Acct_Mailing_City_Name.toString(),"state":_956.Serv_Acct_State_Code.toString(),"stPostDirection":_956.Serv_Acct_Post_Direction_Cd.toString(),"zipcode":_956.Serv_Acct_Zip_Code.toString(),"zipsuffix":_956.Serv_Acct_Zip_Suffix_Code.toString(),"formatType":_956.Serv_Acct_Addr_Format_Code.toString(),"crossStreet":""},"saStatusCode":_956.Sa_Status_Code.toString(),"isSvcValidMailingAddr":"Y","serviceAccountNumber":"","isvcCode":_956.Instl_Serv_Num.toString()}}; this.set("value",json.toJson(_957)); _952.resolve(true); }else{ console.error("Too many confirmed addresses"); _952.reject("Too many confirmed addresses"); } } catch(e){ _952.reject("Something went wrong while confirming address"); } }),function(err){ console.error(err); _952.reject(err); }); return _952; }}; }); },"sce/nls/content":function(){ define("sce/nls/content",{root:({mobileMenuClose:"Close",mobileMenuDefault:"Menu",mobileLoginDefault:"Login",timeoutTitle:"Session Inactivity",timeoutTitleAlt:"Session Timed-Out",timeoutContent:"We have not detected any recent activity and your session is about to expire.",timeoutContent2:"For your security, your session will expire in {0} {1} and {2} seconds.",minute:"minute",minutes:"minutes",timeoutButtonText:"Extend Session",timeoutContentAlt:"For your security, your session has expired after a period of inactivity. Press OK to be redirected to the home page.",toggleBreadcrumbsText:"Click to toggle navigation breadcrumbs.",noDateSelectedText:"No date selected.",loggingInText:"Logging In...",navLoginLossWarningMessage:"If you log in now, you will have to re-enter all of your information. Do you want to log in?",navLoginLossLetLogin:"Yes, Log in",navLoginLossDontLogin:"No, Cancel Login"}),"es":true,"ko":true,"vi":true,"zh":true}); },"sce/global/Session":function(){ define("sce/global/Session",["dojo/_base/declare","dojo/_base/lang","dojo/query","dojo/_base/xhr","dojo/aspect","dojo/dom","dojo/dom-geometry","dijit/registry","sce/ProgressBar","sce/SetupBar","dojo/i18n!sce/nls/content","dojo/i18n!sce/nls/common","dojo/i18n!sce/nls/service_uri","dojox/image"],function(_958,lang,_959,xhr,_95a,dom,_95b,_95c,_95d,_95e,i18n,_95f,_960){ var _961=_958(null,{_sessionTimer:null,_sessionStart:null,_ignoreWarning:false,_TIMEOUT_VALUE_SECONDS:1200,_TIMEOUT_WARNING_DISPLAY_DURATION_SECONDS:300,_TIMEOUT_INTERVAL_CHECK:5,constructor:function(){ this.init(); },init:function(){ this.sessionInit(); },sessionInit:function(){ var _962=this._getCookie("s_t0"); if(_962>0){ this._TIMEOUT_VALUE_SECONDS=_962/1000; } _95a.before(xhr,"get",lang.hitch(this,this._resetSessionTimeout)); _95a.before(xhr,"post",lang.hitch(this,this._resetSessionTimeout)); var _963=document.location.href; if(_963.indexOf("wps")!=-1){ if(_963.indexOf("myportal")!=-1||_959("body.session").length>0){ if(_963.indexOf("code=")==-1){ this._initializeSessionTimeout(); } this.persistOktaTimeInterval(); } }else{ this._initializeSessionTimeout(); } },persistOktaTimeInterval:function(){ this._sessionTimer=setInterval(lang.hitch(this,this.setPersistentOKTA),5*60000); },setPersistentOKTA:function(){ try{ var _964=document.location.href; if(_964.indexOf("wwwint")>0){ dojox.image.preload(["https://wwwsceint.oktapreview.com/app/UserHome"]); }else{ if(_964.indexOf("wwwsysb")>0){ dojox.image.preload(["https://sce-sys-b.oktapreview.com/app/UserHome"]); }else{ if(_964.indexOf("wwwsysc")>0){ dojox.image.preload(["https://sce-sys-c.oktapreview.com/app/UserHome"]); }else{ if(_964.indexOf("wwwst")>0){ dojox.image.preload(["https://wwwscesysa.oktapreview.com/app/UserHome"]); }else{ if(_964.indexOf("wwwut")>0){ dojox.image.preload(["https://sce-ut.oktapreview.com/app/UserHome"]); }else{ dojox.image.preload(["https://edison.okta.com/app/UserHome"]); } } } } } } catch(e){ } },setPersistentProgressBackend:function(id,_965,_966){ try{ var _967={url:_960.updateProgressUri,content:{name:id,value:_965,target:_966},handleAs:"json",headers:{"Content-Type":"text/plain"},preventCache:true}; xhr.get(_967); } catch(e){ } },setPersistentProgress:function(id,_968,_969){ try{ var _96a={url:_960.updateProgressUri,content:{name:id,value:_968,target:_969},handleAs:"json",headers:{"Content-Type":"text/plain"},preventCache:true,load:function(data){ var name=data["name"]; var _96b=data["value"]; var _96c=data["average"]; if(name=="ALL"&&_96b==-1){ _96c=100; } var pb=_95c.byId("progressBar"); if(!pb&&_96c>0){ require(["sce/ProgressBar"],function(_96d){ window.sce.globalSce["progressBar"]=new _96d({id:"progressBar"}).placeAt(_959("#searchDrawerContainer")[0],"after"); window.sce.globalSce["progressBar"].startup(); window.sce.globalSce["progressBar"].setProgress(_96c); }); }else{ if(_968<0&&_96c==0){ if(_95c.byId("progressBar")){ _95c.byId("progressBar").destroy(); } }else{ pb.setProgress(_96c); } } }}; xhr.get(_96a); } catch(e){ } },setPersistentSetup:function(id,_96e,_96f){ try{ var _970={url:_960.updateProgressUri,content:{name:id,value:_96e,target:_96f},handleAs:"json",headers:{"Content-Type":"text/plain"},preventCache:true,load:function(data){ var _971=data["average"]; var ps=_95c.byId("setupBar"); if(!ps&&_971>0){ require(["sce/SetupBar"],function(_972){ window.sce.globalSce["setupBar"]=new _972({id:"setupBar",setupUrl:_96f}).placeAt(_959("#searchDrawerContainer")[0],"after"); window.sce.globalSce["setupBar"].startup(); window.sce.globalSce["setupBar"].setProgress(_971); }); }else{ if(_96e<0&&_971==0){ if(_95c.byId("setupBar")){ _95c.byId("setupBar").destroy(); } }else{ ps.setProgress(_971); } } }}; xhr.get(_970); } catch(e){ } },focusOnFirstError:function(){ var _973=_959(".errorContainer"); for(var i=0;i<_973.length;i++){ if(_973[i].style.display==="block"){ var _974=_95b.position(dojo.query(_973[i]).parent()[0],true); var _975=dom.byId("setupBar"); var _976=dom.byId("progressBar"); var _977=40; if(_975){ var _978=_95b.position(_975,true); _977+=_978.h; } if(_976){ var _979=_95b.position(_976,true); _977+=_979.h; } window.scrollTo(_974.x,_974.y-_977); break; } } },_getCookie:function(w){ cName=""; pCOOKIES=new Array(); pCOOKIES=document.cookie.split("; "); for(var bb=0;bb=_97c&&_97a<_97b){ this._sessionTimer=setTimeout(lang.hitch(this,this._sessionTimeoutIntervalCheck),1000); if(_95c.byId("timeoutDialog")==null){ require(["dojo/on","dojo/dom-construct","sce/form/Button","sce/Dialog"],lang.hitch(this,function(on,_97d,_97e,_97f){ var _980=i18n.timeoutContent2.replace("{0}","").replace("{1}","").replace("{2}",""); var _981=_97d.create("div",{},_959("body")[0],"last"); var _982=_97d.create("div",{className:"dialogContentArea"},_981,"last"); var _983=_97d.create("p",{innerHTML:i18n.timeoutContent,className:"pageText"},_982,"last"); var _984=_97d.create("p",{innerHTML:_980,className:"pageText"},_982,"last"); var _985=_97d.create("div",{className:"buttonsContainer right"},_982,"last"); var _986=_97d.create("button",{type:"button",innerHTML:i18n.timeoutButtonText},_985,"last"); var _987=new _97e({srcNodeRef:_986,id:"timeoutButton",styleType:"emphasized"}); var _988=new _97f({srcNodeRef:_981,id:"timeoutDialog",mobileWidth:"90%",defaultWidth:"475px"}); on(_95c.byId("timeoutButton"),"click",lang.hitch(this,this._extendSession)); on(dom.byId(timeoutDialog_close),"click",lang.hitch(this,this._ignoreWarning)); this._updateTimer(); _95c.byId("timeoutDialog").startup(); _95c.byId("timeoutDialog").show(); })); }else{ this._updateTimer(); if(!this._ignoreWarning){ if(!_95c.byId("timeoutDialog")._isOpen){ _95c.byId("timeoutDialog").show(); } } } }else{ if(_97b>_97a){ this._sessionTimer=setTimeout(lang.hitch(this,this._sessionTimeoutIntervalCheck),this._TIMEOUT_INTERVAL_CHECK*1000); }else{ this._endSession(); } } },_extendSession:function(){ clearTimeout(this._sessionTimer); this._sessionTimer=null; this._ignoreWarning=false; var _989=lang.hitch(this,this._extendSessionResponse); var _98a; var _98b=_960.portalHomeUri; if(document.location.href.indexOf("myportal")!=-1){ _98b=_960.portalMyHomeUri; } _98a={url:_98b,handleAs:"text"}; var _98c=xhr.get(_98a); _98c.addCallback(null,_989); if(_95c.byId("timeoutDialog")!=null&&_95c.byId("timeoutDialog")._isOpen){ _95c.byId("timeoutDialog").hide(); } },_extendSessionResponse:function(){ this._initializeSessionTimeout(); },_ignoreWarning:function(){ this._ignoreWarning=true; },_updateTimer:function(){ var _98d=this._sessionStart+this._TIMEOUT_VALUE_SECONDS*1000; var _98e=_98d-new Date().getTime(); var _98f=_98e/1000; var _990=Math.floor(_98f/60); dom.byId("timeoutMin").innerHTML=_990; dom.byId("timeoutSec").innerHTML=Math.floor(_98f%60); if(_990==1){ dom.byId("timeoutMinDescription").innerHTML=i18n.minute; }else{ dom.byId("timeoutMinDescription").innerHTML=i18n.minutes; } },_resetSessionTimeout:function(){ if(this._sessionTimer!=null){ clearTimeout(this._sessionTimer); this._sessionTimer=null; this._initializeSessionTimeout(); } },_endSession:function(){ clearTimeout(this._sessionTimer); this._sessionTimer=null; this._ignoreWarning=false; if(_95c.byId("timeoutDialog")!=null&&_95c.byId("timeoutDialog")._isOpen){ _95c.byId("timeoutDialog").hide(); } if(document.location.href.indexOf("wps")!=-1){ var _991="/wps/portal/!ut/p/a1/04_SD9OPCs3LiTLyynV3cwnUj9SPMtCPzMnXL8hxVAQAxQ5ZHw!!/"; var _992=location.protocol+"//"+location.hostname+_991; var _993={url:_992,handleAs:"text",error:function(_994,_995){ }}; var _996=xhr.get(_993); var _997="/pkmslogout/"; if(_997!=undefined){ var _998=location.protocol+"//"+location.hostname+_997; var _999={url:_998,handleAs:"text",error:function(_99a,_99b){ }}; var _99c=xhr.get(_999); } document.cookie="JSESSIONID=; path=/;domain=.sce.com;expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.cookie="LtpaToken2=; path=/;domain=.sce.com;expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.cookie="PD-ID=; path=/;domain=www.sce.com;expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.cookie="ASP.NET_SessionId=; path=/;domain=.sce.com;expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.cookie=".ADAuthCookie=; path=/;domain=.sce.com;expires=Thu, 01-Jan-70 00:00:01 GMT;"; document.cookie="setupBar_collapsed_state=; path=/;expires=Thu, 01-Jan-70 00:00:01 GMT;"; } require(["dojo/on","dojo/dom-construct","sce/form/Button","sce/Dialog"],lang.hitch(this,function(on,_99d,_99e,_99f){ if(_95c.byId("timedoutDialog")==undefined){ var _9a0=_99d.create("div",{},_959("body")[0],"last"); var _9a1=_99d.create("div",{className:"dialogContentArea"},_9a0,"last"); var _9a2=_99d.create("p",{className:"pageText",innerHTML:i18n.timeoutContentAlt},_9a1,"last"); var _9a3=_99d.create("div",{className:"buttonsContainer right"},_9a1,"last"); var _9a4=_99d.create("button",{type:"button",innerHTML:_95f.okText},_9a3,"last"); var _9a5=new _99e({srcNodeRef:_9a4,id:"timedoutButton",styleType:"emphasized"}); var _9a6=new _99f({srcNodeRef:_9a0,id:"timedoutDialog",mobileWidth:"90%",defaultWidth:"450px"}); on(_95c.byId("timedoutButton"),"click",lang.hitch(this,this._sessionEndRedirect)); var _9a7=dom.byId("timedoutDialog_close"); _9a6.on("closeDialog",lang.hitch(this,this._sessionEndRedirect)); _95c.byId("timedoutDialog").startup(); _95c.byId("timedoutDialog").show(); }else{ _95c.byId("timedoutDialog").show(); } })); },_sessionEndRedirect:function(){ if(document.location.href.indexOf("myportal")!=-1){ location.assign(_960.logoutUri); }else{ location.assign(_960.portalHomeUri); } }}); return _961; }); },"sce/ScrollablePane":function(){ require({cache:{"url:sce/templates/ScrollablePane.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/ScrollablePane",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/_WidgetsInTemplateMixin","sce/layout/_PaneLayout","sce/layout/_ResponsiveLayout","dojo/dom","dojo/dom-geometry","dojo/query","dojo/dom-style","dojo/on","dojo/_base/lang","dojo/_base/fx","dojo/fx","dojo/fx/easing","dojo/mouse","dojo/keys","dojo/_base/event","dojo/has","dojo/window","dojo/touch","dijit/registry","dojo/text!./templates/ScrollablePane.html"],function(_9a8,_9a9,_9aa,_9ab,_9ac,_9ad,dom,_9ae,_9af,_9b0,on,lang,fx,_9b1,_9b2,_9b3,keys,_9b4,has,win,_9b5,_9b6,_9b7){ var _9b8=_9a8("sce.ScrollablePane",[_9a9,_9aa,_9ab,_9ac,_9ad],{templateString:_9b7,_scrollActive:false,_busy:false,_busyDrag:false,_isTouch:false,_scrollablePaneMousemoveEventHandler:null,_contentContainerNode:null,_mouseMoveScrollerConnectionHandler:null,_mouseUpScrollerConnectionHandler:null,_mouseDownPositionY:null,_mouseDownScrollerTopPosition:null,_mouseMoveScrollerMax:null,_mousePaneActivity:null,_mouseScrollerContainerActivity:null,_touchMoveScrollablePaneConnectionHandler:null,_touchReleaseScrollablePaneConnectionHandler:null,_touchPressPositionY:null,_touchPressScrollablePaneTopPosition:null,_touchMoveScrollerMax:null,_touchMoveArray:null,_touchMoveArrayIndex:null,_touchMoveLastPositionY:null,_startup:false,buildRendering:function(){ this.inherited(arguments); },postCreate:function(){ this.inherited(arguments); },startup:function(){ if(this._startup){ return; } this.registerLayoutWidget(); if(_9af("html.touch").length>0){ this._isTouch=true; } if(!this._isTouch){ on(dom.byId(this.id),_9b3.enter,lang.hitch(this,this._onScrollablePaneMouseOver)); on(dom.byId(this.id),_9b3.leave,lang.hitch(this,this._onScrollablePaneMouseOut)); on(dom.byId(this.id+"_scrollablePane_ScrollerContainer"),_9b3.enter,lang.hitch(this,this._onScrollerContainerMouseOver)); on(dom.byId(this.id+"_scrollablePane_ScrollerContainer"),_9b3.leave,lang.hitch(this,this._onScrollerContainerMouseOut)); on(dom.byId(this.id+"_scrollablePane_ScrollerContainer"),"mousedown",lang.hitch(this,this._onScrollerContainerMouseDown)); on(dom.byId(this.id+"_scrollablePane_ScrollerContainer"),"mouseup",lang.hitch(this,this._onScrollerContainerMouseUp)); on(dom.byId(this.id+"_scrollablePane_Scroller"),"mousedown",lang.hitch(this,this._onScrollerMouseDown)); on(dom.byId(this.id),(!has("mozilla")?"mousewheel":"DOMMouseScroll"),lang.hitch(this,this._onMouseWheelScrollCursor)); on(dom.byId(this.id).parentNode,"keydown",lang.hitch(this,this._onScrollablePaneKeyDown)); on(dom.byId(this.id).parentNode,"keyup",lang.hitch(this,this._onScrollablePaneKeyUp)); this.registerResponsiveFunction(lang.hitch(this,this.resizePane),null,null); on(dom.byId(this.id).parentNode,"scroll",lang.hitch(this,this._onOffsetScroll)); }else{ on(dom.byId(this.id).parentNode,_9b5.press,lang.hitch(this,this._onScrollablePaneTouchPress)); this.registerResponsiveFunction(lang.hitch(this,this._resize),null,null); } this.resizePane(); this._startup=true; },_resize:function(){ this.resizePane(null,true); },resizePane:function(e,_9b9){ this._contentContainerNode=dom.byId(this.id).parentNode; var _9ba=_9ae.position(this._contentContainerNode).h; var _9bb=_9ae.position(this.id).h; if(_9bb>_9ba){ this._scrollActive=true; var _9bc=_9b0.get(dom.byId(this.id+"_scrollablePane_Content"),"top"); var _9bd=((_9ba-2)/_9bb)*(_9ba-2); var _9be=-(_9bb-_9ba); var _9bf=_9bc/_9be; var _9c0=(_9ba-2)-_9bd; var _9c1=_9bf*_9c0; _9b0.set(dom.byId(this.id+"_scrollablePane_ScrollerContainer"),"height",(_9ba-2)+"px"); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"height",_9bd+"px"); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"top",_9c1+"px"); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"display","block"); this.scrollIntoView(); if(_9b9==null||!_9b9){ this._flashScrollBar(); } }else{ _9b0.set(dom.byId(this.id+"_scrollablePane_Content"),"top","0px"); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"top","0px"); this._scrollActive=false; } },scrollIntoView:function(_9c2){ _9c2=_9c2==null?document.activeElement:_9c2; var _9c3=_9c2; var _9c4=true; var _9c5=false; var _9c6=dom.byId(this.id); while(_9c4){ if(_9c3.tagName=="HTML"){ _9c4=false; } if(_9c3==_9c6){ _9c4=false; _9c5=true; } _9c3=_9c3.parentNode; } if(_9c5){ if(_9b0.get(_9c2,"visibility")=="hidden"||_9b0.get(_9c2,"display")=="none"){ return; } var _9c7=_9ae.position(this._contentContainerNode,true).y; var _9c8=_9c7+_9ae.position(this._contentContainerNode,true).h; var _9c9=_9ae.position(_9c2,true).y; var _9ca=_9c9+_9ae.position(_9c2,true).h; if(_9c9<_9c7){ var _9cb=_9c9-_9c7; this._moveContentPixels(_9cb); this._moveScrollbarFromContentPixels(_9cb); } } },_flashScrollBar:function(){ if(!this._scrollActive||this._busy){ return; } this._busy=true; var _9cc=this.id; var _9cd=dom.byId(this.id+"_scrollablePane_Scroller"); _9b1.chain([fx.animateProperty({node:_9cd,duration:650,easing:_9b2.cubicOut,properties:{opacity:{start:"0",end:"0.95"}}}),fx.animateProperty({node:_9cd,duration:650,easing:_9b2.cubicIn,properties:{opacity:{start:"0.95",end:"0"}},onEnd:function(){ _9b6.byId(_9cc)._busy=false; _9b6.byId(_9cc)._reattachMouseEventHandler(); }})]).play(); },_onScrollablePaneTouchPress:function(e){ var _9ce=_9ae.position(this._contentContainerNode).h; var _9cf=_9ae.position(this.id).h; var _9d0=((_9ce-2)/_9cf)*(_9ce-2); this._touchMoveScrollablePaneConnectionHandler=on(document,_9b5.move,lang.hitch(this,this._onScrollablePaneTouchMove)); this._touchReleaseScrollablePaneConnectionHandler=on(document,_9b5.release,lang.hitch(this,this._onScrollablePaneTouchRelease)); this._touchPressPositionY=e.clientY; this._touchPressScrollablePaneTopPosition=_9b0.get(dom.byId(this.id+"_scrollablePane_Content"),"top"); this._touchMoveScrollerMax=(_9ce-2)-_9d0; this._contentScrollMax=-(_9cf-_9ce); this._touchMoveArray=new Array(30); this._touchMoveArrayIndex=0; this._touchMoveLastPositionY=e.clientY; this._touchMoveLastTime=new Date().getTime(); },_onScrollablePaneTouchMove:function(e){ if(!this._busy){ var _9d1=dom.byId(this.id+"_scrollablePane_Scroller"); _9b1.combine([fx.animateProperty({node:_9d1,duration:1200,easing:_9b2.cubicOut,properties:{opacity:{end:"0.95"}}})]).play(); this._busy=true; } var _9d2=this._touchPressScrollablePaneTopPosition; var _9d3=e.clientY; var _9d4=_9d3-this._touchPressPositionY; var top=_9d2+_9d4; top=Math.min(top,0); top=Math.max(top,this._contentScrollMax); _9b0.set(dom.byId(this.id+"_scrollablePane_Content"),"top",top+"px"); var _9d5=top/this._contentScrollMax; var _9d6=_9d5*this._touchMoveScrollerMax; _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"top",_9d6+"px"); var _9d7=new Object(); _9d7["time"]=new Date().getTime(); _9d7["movement"]=this._touchMoveLastPositionY-_9d3; _9d7["elapsedTime"]=_9d7["time"]-this._touchMoveLastTime; this._touchMoveArray[this._touchMoveArrayIndex]=_9d7; this._touchMoveArrayIndex++; if(this._touchMoveArrayIndex>=this._touchMoveArray.length){ this._touchMoveArrayIndex=0; } this._touchMoveLastPositionY=_9d3; this._touchMoveLastTime=_9d7["time"]; e.preventDefault(); },_onScrollablePaneTouchRelease:function(e){ var _9d8=new Date().getTime()-400; var _9d9=null; var end=this._touchMoveArrayIndex; var _9da=true; var _9db=0; var _9dc=0; while(_9da){ this._touchMoveArrayIndex--; if(this._touchMoveArrayIndex<0){ this._touchMoveArrayIndex=this._touchMoveArray.length-1; } var item=this._touchMoveArray[this._touchMoveArrayIndex]; if(item!=null){ if(_9d9==null){ if(item["movement"]>0){ _9d9="positive"; }else{ if(item["movement"]<0){ _9d9="negative"; } } } if(item["time"]>=_9d8){ if(_9d9!=null&&_9d9=="postive"){ if(item["movement"]<0){ break; } }else{ if(_9d9!=null&&_9d9=="negative"){ if(item["movement"]>0){ break; } } } _9db=_9db+item["elapsedTime"]; _9dc=_9dc+item["movement"]; }else{ break; } }else{ break; } if(this._touchMoveArrayIndex==end){ _9da=false; } } var _9dd=_9dc/_9db*1000; var _9de=_9dd/1000*100; var _9df=dom.byId(this.id+"_scrollablePane_Scroller"); var _9e0=dom.byId(this.id+"_scrollablePane_Content"); var _9e1=_9b0.get(_9df,"top"); var _9e2=_9b0.get(_9e0,"top"); var _9e3=_9e2-_9de; var _9e4=_9ae.position(this._contentContainerNode).h; var _9e5=_9ae.position(this.id).h; var _9e6=-(_9e5-_9e4); var _9e7=((_9e4-2)/_9e5)*(_9e4-2); if(_9e3>0){ _9e3=0; _9de=_9e3+_9e2; }else{ if(_9e3<_9e6){ _9e3=_9e6; _9de=-_9e2-_9e3; } } var _9e8=_9de/_9e5; var _9e9=_9e1+(_9e8*(_9e4-2)); var _9ea=(_9e4-2)-_9e7; if(_9e9<0){ _9e9=0; }else{ if(_9e9>_9ea){ _9e9=_9ea; } } this._touchMoveScrollablePaneConnectionHandler.remove(); this._touchReleaseScrollablePaneConnectionHandler.remove(); this._touchMoveScrollablePaneConnectionHandler=null; this._touchReleaseScrollablePaneConnectionHandler=null; this._touchPressPositionY=null; this._touchPressScrollablePaneTopPosition=null; this._touchMoveScrollerMax=null; this._contentScrollMax=null; this._touchMoveArray=null; this._touchMoveArrayIndex=null; this._touchMoveLastPositionY=null; this._touchMoveLastTime=null; var _9df=dom.byId(this.id+"_scrollablePane_Scroller"); _9b1.chain([_9b1.combine([fx.animateProperty({node:_9e0,duration:650,easing:_9b2.quintOut,properties:{top:{end:_9e3}}}),fx.animateProperty({node:_9df,duration:650,easing:_9b2.quintOut,properties:{top:{end:_9e9}}})]),fx.animateProperty({node:_9df,duration:1200,easing:_9b2.cubicOut,properties:{opacity:{end:"0"}}})]).play(); this._busy=false; },_onScrollablePaneMouseOver:function(e){ this._mousePaneActivity="mouseover"; if(!this._scrollActive||this._busyDrag){ return; } var _9eb=dom.byId(this.id+"_scrollablePane_Scroller"); var _9ec=dom.byId(this.id+"_scrollablePane_ScrollerContainer"); _9b1.combine([fx.animateProperty({node:_9eb,duration:650,easing:_9b2.cubicOut,properties:{opacity:{end:"0.95"}}})]).play(); _9b0.set(_9ec,"width","1.25em"); },_onScrollablePaneMouseOut:function(e){ this._mousePaneActivity="mouseout"; if(!this._scrollActive||this._busyDrag){ return; } var _9ed=dom.byId(this.id+"_scrollablePane_Scroller"); var _9ee=dom.byId(this.id+"_scrollablePane_ScrollerContainer"); _9b1.combine([fx.animateProperty({node:_9ed,duration:650,easing:_9b2.cubicOut,properties:{opacity:{end:"0"}}})]).play(); _9b0.set(_9ee,"width","0.75em"); this._reattachMouseEventHandler(); },_onScrollablePaneMouseMove:function(e){ this._scrollablePaneMousemoveEventHandler.remove(); if(!this._scrollActive){ return; } var _9ef=dom.byId(this.id+"_scrollablePane_Scroller"); _9b1.combine([fx.animateProperty({node:_9ef,duration:650,easing:_9b2.cubicOut,properties:{opacity:{end:"0.95"}}})]).play(); _9b4.stop(e); },_onScrollerContainerMouseOver:function(e){ this._mouseScrollerContainerActivity="mouseover"; if(!this._scrollActive||this._busyDrag){ return; } var _9f0=dom.byId(this.id+"_scrollablePane_Scroller"); var _9f1=dom.byId(this.id+"_scrollablePane_ScrollerContainer"); _9b1.combine([fx.animateProperty({node:_9f0,duration:650,easing:_9b2.cubicOut,properties:{width:{start:"0.75",end:"1.25",units:"em"}}})]).play(); },_onScrollerContainerMouseOut:function(e){ this._mouseScrollerContainerActivity="mouseout"; if(!this._scrollActive||this._busyDrag){ return; } var _9f2=dom.byId(this.id+"_scrollablePane_Scroller"); var _9f3=dom.byId(this.id+"_scrollablePane_ScrollerContainer"); _9b1.combine([fx.animateProperty({node:_9f2,duration:650,easing:_9b2.cubicOut,properties:{width:{start:"1.25",end:"0.75",units:"em"}}})]).play(); },_onScrollerContainerMouseDown:function(e){ e.preventDefault(); },_onScrollerContainerMouseUp:function(e){ if(e.target.id!=(this.id+"_scrollablePane_Scroller")){ var _9f4=_9b0.get(dom.byId(this.id+"_scrollablePane_Scroller"),"top"); var _9f5=_9ae.position(dom.byId(this.id+"_scrollablePane_Scroller")).h+_9f4; if(e.layerY<_9f4){ this._moveContentPixels(-(win.getBox().h-20)); this._moveScrollbarFromContentPixels(-(win.getBox().h-20)); }else{ if(e.layerY>_9f5){ this._moveContentPixels((win.getBox().h-20)); this._moveScrollbarFromContentPixels((win.getBox().h-20)); } } } e.preventDefault(); },_onScrollerMouseDown:function(e){ this._busyDrag=true; var _9f6=_9ae.position(this._contentContainerNode).h; var _9f7=_9ae.position(this.id).h; var _9f8=((_9f6-2)/_9f7)*(_9f6-2); this._mouseMoveScrollerMax=(_9f6-2)-_9f8; this._contentScrollMax=-(_9f7-_9f6); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"height",_9f8+"px"); this._mouseMoveScrollerConnectionHandler=on(document,"mousemove",lang.hitch(this,this._onScrollerMouseMove)); this._mouseUpScrollerConnectionHandler=on(document,"mouseup",lang.hitch(this,this._onScrollerMouseUp)); this._mouseDownPositionY=e.clientY; this._mouseDownScrollerTopPosition=_9b0.get(dom.byId(this.id+"_scrollablePane_Scroller"),"top"); e.stopPropagation(); },_onScrollerMouseMove:function(e){ var _9f9=this._mouseDownScrollerTopPosition; var _9fa=e.clientY; var _9fb=_9fa-this._mouseDownPositionY; var top=_9f9+_9fb; top=Math.min(top,this._mouseMoveScrollerMax); top=Math.max(top,0); _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"top",top+"px"); var _9fc=top/this._mouseMoveScrollerMax; var _9fd=_9fc*this._contentScrollMax; _9b0.set(dom.byId(this.id+"_scrollablePane_Content"),"top",_9fd+"px"); },_onScrollerMouseUp:function(e){ this._busyDrag=false; this._mouseMoveScrollerConnectionHandler.remove(); this._mouseUpScrollerConnectionHandler.remove(); this._mouseDownPositionY=null; this._mouseDownScrollerTopPosition=null; this._mouseMoveScrollerMax=null; this._contentScrollMax=null; var _9fe=dom.byId(this.id+"_scrollablePane_Scroller"); if(this._mousePaneActivity=="mouseout"){ _9b1.combine([fx.animateProperty({node:_9fe,duration:650,easing:_9b2.cubicOut,properties:{width:{start:"1.25",end:"0.75",units:"em"}}}),fx.animateProperty({node:_9fe,duration:650,easing:_9b2.cubicOut,properties:{opacity:{end:"0"}}})]).play(); }else{ if(this._mouseScrollerContainerActivity=="mouseout"){ _9b1.combine([fx.animateProperty({node:_9fe,duration:650,easing:_9b2.cubicOut,properties:{width:{start:"1.25",end:"0.75",units:"em"}}})]).play(); } } e.preventDefault(); },_onMouseWheelScrollCursor:function(e){ var _9ff=e[(!has("mozilla")?"wheelDelta":"detail")]*(!has("mozilla")?1:-1); var _a00=false; var _a01=20; if(_9ff>1){ _a00=true; _a01=-20; }else{ if(_9ff<0){ _a00=true; } } if(_a00){ var _a02=_9b0.get(dom.byId(this.id+"_scrollablePane_Scroller"),"opacity"); if(_a02==0){ _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"opacity",0.95); } var _a03=this._moveContentPixels(_a01); this._moveScrollbarFromContentPixels(_a01); _9b4.stop(e); } },_onClickScrollablePane:function(e){ dom.byId(this.id).focus(); },_onScrollablePaneKeyDown:function(e){ var _a04=e.originalTarget||e.srcElement; if(_a04.tagName=="INPUT"||_a04.tagName=="TEXTAREA"||_a04.tagName=="SELECT"||_a04.tagName=="LABEL"){ if(_a04.tagName=="INPUT"&&_a04.type=="submit"){ }else{ return; } } if(e.keyCode==keys.UP_ARROW||e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.PAGE_UP||e.keyCode==keys.PAGE_DOWN||e.keyCode==keys.SPACE||e.keyCode==keys.TAB){ if(!this._busy){ this._busy=true; var _a05=dom.byId(this.id+"_scrollablePane_Scroller"); var _a06=this.id; _9b1.combine([fx.animateProperty({node:_a05,duration:650,easing:_9b2.cubicOut,properties:{opacity:{end:"0.95"}}})]).play(); } if(e.keyCode==keys.UP_ARROW){ var _a07=this._moveContentPixels(-20); this._moveScrollbarFromContentPixels(-20); _9b4.stop(e); }else{ if(e.keyCode==keys.DOWN_ARROW){ var _a07=this._moveContentPixels(20); this._moveScrollbarFromContentPixels(20); _9b4.stop(e); }else{ if(e.keyCode==keys.PAGE_UP){ var _a07=this._moveContentPixels(-(win.getBox().h-20)); this._moveScrollbarFromContentPixels(-(win.getBox().h-20)); _9b4.stop(e); }else{ if(e.keyCode==keys.PAGE_DOWN||e.keyCode==keys.SPACE){ var _a07=this._moveContentPixels((win.getBox().h-20)); this._moveScrollbarFromContentPixels((win.getBox().h-20)); _9b4.stop(e); }else{ if(e.keyCode==keys.TAB){ if(_9af(".dj_ie").length>0){ var _a08=e; setTimeout(lang.hitch(this,this._onOffsetScroll,_a08),100); } } } } } } } },_onScrollablePaneKeyUp:function(e){ if(e.keyCode==keys.UP_ARROW||e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.PAGE_UP||e.keyCode==keys.PAGE_DOWN||e.keyCode==keys.SPACE||e.keyCode==keys.TAB){ var _a09=e.originalTarget||e.srcElement; if(_a09.tagName=="INPUT"||_a09.tagName=="TEXTAREA"||_a09.tagName=="SELECT"||_a09.tagName=="LABEL"){ if(_a09.tagName=="INPUT"&&_a09.type=="submit"){ }else{ return; } } if(e.keyCode!=keys.TAB){ _9b4.stop(e); } if(this._busy){ _9b6.byId(this.id)._reattachMouseEventHandler(); return; } this._busy=false; var _a0a=dom.byId(this.id+"_scrollablePane_Scroller"); var _a0b=this.id; _9b1.combine([fx.animateProperty({node:_a0a,duration:650,easing:_9b2.cubicIn,properties:{opacity:{end:"0"}},onEnd:function(){ _9b6.byId(_a0b)._reattachMouseEventHandler(); }})]).play(); } },_reattachMouseEventHandler:function(){ if(this._scrollablePaneMousemoveEventHandler!=null){ this._scrollablePaneMousemoveEventHandler.remove(); } this._scrollablePaneMousemoveEventHandler=on(dom.byId(this.id),"mousemove",lang.hitch(this,this._onScrollablePaneMouseMove)); },_moveContentPixels:function(_a0c){ var _a0d=_9ae.position(this._contentContainerNode).h; var _a0e=_9ae.position(this.id).h; var _a0f=dom.byId(this.id+"_scrollablePane_Scroller"); var _a10=dom.byId(this.id+"_scrollablePane_Content"); var _a11=_9b0.get(_a10,"top"); var _a12=_a11-_a0c; var _a13=-(_a0e-_a0d); if(_a11==0&&_a0c<0){ return false; }else{ if(_a11==_a13&&_a0c>0){ return false; } } if(_a12>0){ _a12=0; }else{ if(_a12<_a13){ _a12=_a13; } } _9b0.set(_a10,"top",_a12+"px"); return true; },_moveScrollbarFromContentPixels:function(_a14){ var _a15=_9ae.position(this._contentContainerNode).h; var _a16=_9ae.position(this.id).h; var _a17=((_a15-2)/_a16)*(_a15-2); var _a18=dom.byId(this.id+"_scrollablePane_Scroller"); var _a19=_9b0.get(_a18,"top"); var _a1a=_a14/_a16; var _a1b=_a19+(_a1a*(_a15-2)); var _a1c=(_a15-2)-_a17; if(_a1b<0){ _a1b=0; }else{ if(_a1b>_a1c){ _a1b=_a1c; } } _9b0.set(dom.byId(this.id+"_scrollablePane_Scroller"),"height",_a17+"px"); _9b0.set(_a18,"top",_a1b+"px"); },_onOffsetScroll:function(e){ var _a1d=dom.byId(this.id).parentNode; var _a1e=_a1d.scrollTop; if(_a1e!=0){ var _a1f=this._moveContentPixels(_a1e); if(_a1f){ this._moveScrollbarFromContentPixels(_a1e); } _a1d.scrollTop=1; } var _a20=document.activeElement; var _a21=_9ae.position(_a20); if(_a21.y<0){ var _a22=_a21.y; var _a1f=this._moveContentPixels(_a22); if(_a1f){ this._moveScrollbarFromContentPixels(_a22); } } }}); return _9b8; }); },"sce/VideoPlayer":function(){ require({cache:{"url:sce/templates/VideoPlayer.html":"
      \r\n
      \r\n ${_compatabilityText}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_playerControlsText}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
       
      \r\n \r\n
      \r\n
      "}}); define("sce/VideoPlayer",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/dom","dojo/query","dojo/on","dojo/mouse","dojo/_base/event","dojo/_base/lang","dojo/dom-class","dojo/_base/xhr","dojo/keys","dojo/_base/fx","dojo/fx","dojo/dom-style","dojo/dom-geometry","dojo/_base/json","dojo/i18n!sce/nls/common","dojo/text!./templates/VideoPlayer.html"],function(_a23,_a24,_a25,dom,_a26,on,_a27,_a28,lang,_a29,xhr,keys,fx,_a2a,_a2b,_a2c,json,i18n,_a2d){ var _a2e=_a23("sce.VideoPlayer",[_a24,_a25],{templateString:_a2d,widgetsInTemplate:true,alwaysOnTop:"false",playerReadyCallbackFunction:null,playerWidth:"",_compatabilityText:i18n.compatabilityText,_playerControlsText:i18n.playerControlsText,_playerControlsPlay:i18n.playerControlsPlay,_playerControlsMute:i18n.playerControlsMute,_playerControlsCC:i18n.playerControlsCC,player:null,_playerReady:false,_onPlayerReady:function(_a2f){ },_currentState:null,_isMute:null,_ccState:"inactive",_ccFileLoaded:false,_ccObject:null,_ccIndex:0,_ccNumCaptions:0,_updateTimer:null,_pollTime:400,_playerWidth:560,_cursorWidth:15,_mouseHovered:false,_keyFocused:false,_seekToPending:-1,_mouseMoveConnectionHandler:null,_mouseUpConnectionHandler:null,_pauseUpdate:false,constructor:function(){ },buildRendering:function(){ this.inherited(arguments); },startup:function(){ this._loadSwfObject(); this._setup(); },postCreate:function(){ },onPlayerReady:function(fn){ this._onPlayerReady=fn; if(this._playerReady==true){ this._onPlayerReady(this.id); } },_setup:function(){ var _a30="opaque"; if(this.alwaysOnTop=="true"){ _a30=""; } if(this.playerWidth!=""){ this.playerWidth=this.playerWidth.replace("px",""); if(parseInt(this.playerWidth)){ this.playerWidth=parseInt(this.playerWidth); this._playerWidth=this.playerWidth; } } var _a31={allowScriptAccess:"always"}; var atts={id:this.id+"_ytPlayer",wmode:_a30}; swfobject.embedSWF(window.location.protocol+"//www.youtube.com/apiplayer?enablejsapi=1&version=3&autoplay=0&playerapiid="+this.id+"_player",this.id+"_ytapiplayer",this._playerWidth,"409","8",null,null,_a31,atts); _a2b.set(dom.byId(this.id),"width",this._playerWidth+"px"); this.hideCC(); },_onYouTubePlayerReady:function(_a32){ this.player=document.getElementById(this.id+"_ytPlayer"); this._currentState=this.player.getPlayerState(); if(this._isMute!=null){ if(this._isMute==true){ this.muteVolume(null); }else{ this.unmuteVolume(null); } } this.player.tabIndex=-1; if(this._playerReady==false){ on(dom.byId(this.id+"_ytplayer_playPause"),"click",lang.hitch(this,this.togglePlayPauseVideo)); on(dom.byId(this.id+"_ytplayer_volume"),"click",lang.hitch(this,this.toggleMuteVolume)); on(dom.byId(this.id+"_ytplayer_cc"),"click",lang.hitch(this,this.toggleCC)); on(dom.byId(this.id+"_ytplayer_indicator_container"),"click",lang.hitch(this,this._onClickIndicator)); on(dom.byId(this.id),_a27.enter,lang.hitch(this,this._onMouseOverIndicator)); on(dom.byId(this.id),_a27.leave,lang.hitch(this,this._onMouseOutIndicator)); on(dom.byId(this.id+"_ytplayer_indicator_container"),"focus",lang.hitch(this,this._onFocusIndicator)); on(dom.byId(this.id+"_ytplayer_indicator_container"),"blur",lang.hitch(this,this._onBlurIndicator)); on(dom.byId(this.id+"_ytplayer_indicator_container"),"keydown",lang.hitch(this,this._onKeyPressIndicator)); on(dom.byId(this.id+"_ytplayer_cursor"),"mousedown",lang.hitch(this,this._onMouseDownCursor)); if(this.player.isMuted()){ this._isMute=true; }else{ this._isMute=false; } } this.player.addEventListener("onStateChange","checkForStateUpdate"); this._playerReady=true; this._onPlayerReady(this.id); },loadVideo:function(_a33,_a34){ this._ccObject=null; this._ccIndex=0; this._ccNumCaptions=0; this._ccFileLoaded=false; if(_a34!=null){ var _a35={url:_a34,handleAs:"text",load:lang.hitch(this,this._loadCCFileSuccess)}; var _a36=xhr.get(_a35); } this.player.cueVideoById(_a33); this._currentState=this.player.getPlayerState(); this._updateDisplay(); },pauseVideo:function(e){ this.player.pauseVideo(); if(e!=null){ _a28.stop(e); } },playVideo:function(e){ this.player.playVideo(); if(e!=null){ _a28.stop(e); } },togglePlayPauseVideo:function(e){ if(this._currentState==2||this._currentState==5||this._currentState==0||this._currentState==3||this._currentState==-1){ this.playVideo(e); }else{ if(this._currentState==1){ this.pauseVideo(e); } } },muteVolume:function(e){ this.player.mute(); this._isMute=true; dom.byId(this.id+"_ytplayer_volume").innerHTML=i18n.playerControlsUnmute; if(e!=null){ _a28.stop(e); } },unmuteVolume:function(e){ this.player.unMute(); this._isMute=false; dom.byId(this.id+"_ytplayer_volume").innerHTML=i18n.playerControlsMute; if(e!=null){ _a28.stop(e); } },toggleMuteVolume:function(e){ if(!this.player.isMuted()){ this.muteVolume(e); }else{ this.unmuteVolume(e); } },displayCC:function(e){ this._ccState="active"; if(_a26(".dj_ie8").length==1){ this._pollTime=300; }else{ this._pollTime=200; } _a29.add(dom.byId(this.id+"_ytplayer_cc"),"ccActive"); var _a37=this.id+"_ytplayer_cc_content"; var _a38={node:_a37,duration:200,onEnd:function(){ if(_a26(".dj_ie8").length==1){ _a2b.set(_a26("body")[0],{height:"auto"}); _a2b.set(_a26("body")[0],{height:"100%"}); } }}; _a2a.wipeIn(_a38).play(); if(e!=null){ _a28.stop(e); } },hideCC:function(e){ this._ccState="inactive"; this._pollTime=400; _a29.remove(dom.byId(this.id+"_ytplayer_cc"),"ccActive"); var _a39=this.id+"_ytplayer_cc_content"; var _a3a={node:_a39,duration:200,onEnd:function(){ if(_a26(".dj_ie8").length==1){ _a2b.set(_a26("body")[0],{height:"auto"}); _a2b.set(_a26("body")[0],{height:"100%"}); } }}; _a2a.wipeOut(_a3a).play(); if(e!=null){ _a28.stop(e); } },toggleCC:function(e){ if(this._ccState=="inactive"){ this.displayCC(e); }else{ this.hideCC(e); } },_onMouseOverIndicator:function(e){ this._mouseHovered=true; this._onActivateIndicator(e); },_onMouseOutIndicator:function(e){ this._mouseHovered=false; this._onDeactivateIndicator(e); },_onFocusIndicator:function(e){ this._keyFocused=true; this._onActivateIndicator(e); },_onBlurIndicator:function(e){ this._keyFocused=false; this._onDeactivateIndicator(e); },_onActivateIndicator:function(e){ var args={node:this.id+"_ytplayer_indicator_container",duration:100,properties:{height:8}}; var a=fx.animateProperty(args); args={node:this.id+"_ytplayer_cursor",duration:150,properties:{width:this._cursorWidth}}; var b=fx.animateProperty(args); _a2a.combine([a,b]).play(); },_onDeactivateIndicator:function(e){ if(this._mouseHovered==true||this._keyFocused==true){ return; } var args={node:this.id+"_ytplayer_indicator_container",duration:300,properties:{height:4}}; var a=fx.animateProperty(args); args={node:this.id+"_ytplayer_cursor",duration:150,properties:{width:0}}; var b=fx.animateProperty(args); _a2a.combine([a,b]).play(); },_onMouseDownCursor:function(e){ this._mouseMoveConnectionHandler=on(document,"mousemove",lang.hitch(this,this._onMouseMoveCursor)); this._mouseUpConnectionHandler=on(document,"mouseup",lang.hitch(this,this._onMouseUpCursor)); this._pauseUpdate=true; _a28.stop(e); },_onMouseUpCursor:function(e){ if(this._pauseUpdate==true){ this._mouseMoveConnectionHandler.remove(); this._mouseMoveConnectionHandler=null; this._mouseUpConnectionHandler.remove(); this._mouseUpConnectionHandler=null; var _a3b=e.clientX; var _a3c=_a2c.position(this.id).x; var _a3d=_a3b-_a3c; if(_a3d<0){ _a3d=0; }else{ if(_a3d>this._playerWidth){ _a3d=this._playerWidth; } } var _a3e=_a3d/this._playerWidth; if(this._currentState==1||this._currentState==2||this._currentState==3){ var _a3f=this.player.getDuration(); var _a40=_a3e*_a3f; this.player.seekTo(_a40,true); this._ccIndex=0; this._updateDisplay(); }else{ if(this._currentState==-1||this._currentState==0||this._currentState==5){ this._seekToPending=_a3e; this.playVideo(null); this._ccIndex=0; this._updateDisplay(); } } } this._pauseUpdate=false; _a28.stop(e); },_onMouseMoveCursor:function(e){ if(this._pauseUpdate==true){ var _a41=e.clientX; var _a42=_a2c.position(this.id).x; var _a43=_a41-_a42; if(_a43<0){ _a43=0; }else{ if(_a43>this._playerWidth){ _a43=this._playerWidth; } } var _a44=_a43/this._playerWidth; _a2b.set(dom.byId(this.id+"_ytplayer_indicator"),"width",(_a44*100)+"%"); var _a45=_a44*this._playerWidth-this._cursorWidth; _a45=Math.max(_a45,0); _a2b.set(dom.byId(this.id+"_ytplayer_cursor"),"left",_a45+"px"); } _a28.stop(e); },_onClickIndicator:function(e){ if(e.target.id==this.id+"_ytplayer_cursor"){ return; } if(this._currentState==1||this._currentState==2||this._currentState==3){ var _a46=e.layerX/this._playerWidth; var _a47=this.player.getDuration(); var _a48=_a46*_a47; this.player.seekTo(_a48,true); this._ccIndex=0; this._updateDisplay(); }else{ if(this._currentState==-1||this._currentState==0||this._currentState==5){ this._seekToPending=e.layerX/this._playerWidth; this.playVideo(null); this._ccIndex=0; this._updateDisplay(); } } },_onKeyPressIndicator:function(e){ if(e.keyCode==keys.LEFT_ARROW||e.keyCode==keys.RIGHT_ARROW||(e.charCode==98||e.charCode==66)||(e.charCode==102||e.charCode==70)){ if(this._currentState==1||this._currentState==2||this._currentState==3){ var _a49=this.player.getDuration(); var _a4a=this.player.getCurrentTime(); var _a4b=Math.min(_a49*0.05,45); var _a4c; if(e.keyCode==keys.LEFT_ARROW||e.charCode==66||e.charCode==98){ _a4c=Math.max(_a4a-_a4b,0); }else{ _a4c=Math.min(_a4a+_a4b,_a49); } this.player.seekTo(_a4c,true); this._ccIndex=0; this._updateDisplay(); _a28.stop(e); }else{ if(this._currentState==-1||this._currentState==0){ if(this._currentState==-1&&(e.keyCode==keys.RIGHT_ARROW||e.charCode==102||e.charCode==70)){ this._seekToPending=0.05; this.playVideo(null); this._ccIndex=0; this._updateDisplay(); }else{ if(this._currentState==0&&(e.keyCode==keys.LEFT_ARROW||e.charCode==98||e.charCode==66)){ this._seekToPending=0.95; this.playVideo(null); this._ccIndex=0; this._updateDisplay(); } } } } } },_onStateChange:function(){ this._currentState=this.player.getPlayerState(); if(this._currentState==1){ dom.byId(this.id+"_ytplayer_playPause").innerHTML=i18n.playerControlsPause; if(this._seekToPending>-1){ this.player.pauseVideo(); var _a4d=this.player.getDuration(); var _a4e=this._seekToPending*_a4d; this.player.seekTo(_a4e,true); this._seekToPending=-1; } this._ccIndex=0; this._updateDisplay(); }else{ if(this._currentState==0){ dom.byId(this.id+"_ytplayer_playPause").innerHTML=i18n.playerControlsPlay; this._ccIndex=0; }else{ dom.byId(this.id+"_ytplayer_playPause").innerHTML=i18n.playerControlsPlay; } } },_updateDisplay:function(){ if(this.player.getDuration==undefined){ return; } var _a4f=this.player.getDuration(); var _a50=this.player.getCurrentTime(); var _a51=this._convertSecondsForDisplay(_a4f); var _a52=this._convertSecondsForDisplay(_a50); dom.byId(this.id+"_ytplayer_totalTime").innerHTML=_a52+"/"+_a51; if(!this._pauseUpdate){ if(_a4f!=0){ var _a53=(_a50/_a4f*100)+"%"; _a2b.set(dom.byId(this.id+"_ytplayer_indicator"),"width",_a53); }else{ _a2b.set(dom.byId(this.id+"_ytplayer_indicator"),"width","0%"); } if(_a4f!=0){ var _a53=(_a50/_a4f); var _a54=_a53*this._playerWidth-this._cursorWidth; if(_a54<0){ _a54=0; } _a2b.set(dom.byId(this.id+"_ytplayer_cursor"),"left",_a54+"px"); }else{ _a2b.set(dom.byId(this.id+"_ytplayer_cursor"),"left","0px"); } } this._updateCC(); var fn=lang.hitch(this,this._updateDisplay); if(this.player.getPlayerState()==1){ this._updateTimer=setTimeout(fn,this._pollTime); }else{ clearTimeout(this._updateTimer); } },_convertSecondsForDisplay:function(_a55){ var time=Math.round(_a55); var _a56=Math.floor(_a55/60); var _a57=time%60; if(_a57<10){ _a57="0"+_a57; } var _a58=_a56+":"+_a57; return _a58; },_updateCC:function(){ if(this._ccFileLoaded==true){ var _a59=this.player.getCurrentTime(); var _a5a=this._ccObject.captions[this._ccIndex]; if(_a59>_a5a.timeStart&&_a59<_a5a.timeEnd){ dom.byId(this.id+"_ytplayer_cc_content").innerHTML=_a5a.caption; }else{ if(_a59<_a5a.timeStart){ dom.byId(this.id+"_ytplayer_cc_content").innerHTML=" "; }else{ if(_a59>_a5a.timeEnd&&this._ccIndex<(this._ccNumCaptions-1)&&this._currentState!=0){ this._ccIndex++; this._updateCC(); }else{ if(_a59>_a5a.timeEnd&&this._ccIndex==(this._ccNumCaptions-1)){ dom.byId(this.id+"_ytplayer_cc_content").innerHTML=" "; } } } } }else{ dom.byId(this.id+"_ytplayer_cc_content").innerHTML=" "; } },_loadCCFileSuccess:function(data){ this._ccFileLoaded=true; this._ccObject=json.fromJson(data); this._ccNumCaptions=this._ccObject.captions.length; },_loadSwfObject:function(){ if(window.swfobject!=undefined){ return; } window.swfobject=function(){ var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){ var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null; if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ ab=t.plugins[S].description; if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){ T=true; X=false; ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1"); ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10); ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10); ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0; } }else{ if(typeof O.ActiveXObject!=D){ try{ var ad=new ActiveXObject(W); if(ad){ ab=ad.GetVariable("$version"); if(ab){ X=true; ab=ab.split(" ")[1].split(","); ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]; } } } catch(Z){ } } } return {w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}; }(),k=function(){ if(!M.w3){ return; } if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){ f(); } if(!J){ if(typeof j.addEventListener!=D){ j.addEventListener("DOMContentLoaded",f,false); } if(M.ie&&M.win){ j.attachEvent(x,function(){ if(j.readyState=="complete"){ j.detachEvent(x,arguments.callee); f(); } }); if(O==top){ (function(){ if(J){ return; } try{ j.documentElement.doScroll("left"); } catch(X){ setTimeout(arguments.callee,0); return; } f(); })(); } } if(M.wk){ (function(){ if(J){ return; } if(!/loaded|complete/.test(j.readyState)){ setTimeout(arguments.callee,0); return; } f(); })(); } s(f); } }(); function f(){ if(J){ return; } try{ var Z=j.getElementsByTagName("body")[0].appendChild(C("span")); Z.parentNode.removeChild(Z); } catch(aa){ return; } J=true; var X=U.length; for(var Y=0;Y0){ for(var af=0;af0){ var ae=c(Y); if(ae){ if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){ w(Y,true); if(ab){ aa.success=true; aa.ref=z(Y); ab(aa); } }else{ if(o[af].expressInstall&&A()){ var ai={}; ai.data=o[af].expressInstall; ai.width=ae.getAttribute("width")||"0"; ai.height=ae.getAttribute("height")||"0"; if(ae.getAttribute("class")){ ai.styleclass=ae.getAttribute("class"); } if(ae.getAttribute("align")){ ai.align=ae.getAttribute("align"); } var ah={}; var X=ae.getElementsByTagName("param"); var ac=X.length; for(var ad=0;ad"; } } aa.outerHTML=""+af+""; N[N.length]=ai.id; X=c(ai.id); }else{ var Z=C(r); Z.setAttribute("type",q); for(var ac in ai){ if(ai[ac]!=Object.prototype[ac]){ if(ac.toLowerCase()=="styleclass"){ Z.setAttribute("class",ai[ac]); }else{ if(ac.toLowerCase()!="classid"){ Z.setAttribute(ac,ai[ac]); } } } } for(var ab in ag){ if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){ e(Z,ab,ag[ab]); } } aa.parentNode.replaceChild(Z,aa); X=Z; } } return X; }; function e(Z,X,Y){ var aa=C("param"); aa.setAttribute("name",X); aa.setAttribute("value",Y); Z.appendChild(aa); }; function y(Y){ var X=c(Y); if(X&&X.nodeName=="OBJECT"){ if(M.ie&&M.win){ X.style.display="none"; (function(){ if(X.readyState==4){ b(Y); }else{ setTimeout(arguments.callee,10); } })(); }else{ X.parentNode.removeChild(X); } } }; function b(Z){ var Y=c(Z); if(Y){ for(var X in Y){ if(typeof Y[X]=="function"){ Y[X]=null; } } Y.parentNode.removeChild(Y); } }; function c(Z){ var X=null; try{ X=j.getElementById(Z); } catch(Y){ } return X; }; function C(X){ return j.createElement(X); }; function i(Z,X,Y){ Z.attachEvent(X,Y); I[I.length]=[Z,X,Y]; }; function F(Z){ var Y=M.pv,X=Z.split("."); X[0]=parseInt(X[0],10); X[1]=parseInt(X[1],10)||0; X[2]=parseInt(X[2],10)||0; return (Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false; }; function v(ac,Y,ad,ab){ if(M.ie&&M.mac){ return; } var aa=j.getElementsByTagName("head")[0]; if(!aa){ return; } var X=(ad&&typeof ad=="string")?ad:"screen"; if(ab){ n=null; G=null; } if(!n||G!=X){ var Z=C("style"); Z.setAttribute("type","text/css"); Z.setAttribute("media",X); n=aa.appendChild(Z); if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){ n=j.styleSheets[j.styleSheets.length-1]; } G=X; } if(M.ie&&M.win){ if(n&&typeof n.addRule==r){ n.addRule(ac,Y); } }else{ if(n&&typeof j.createTextNode!=D){ n.appendChild(j.createTextNode(ac+" {"+Y+"}")); } } }; function w(Z,X){ if(!m){ return; } var Y=X?"visible":"hidden"; if(J&&c(Z)){ c(Z).style.visibility=Y; }else{ v("#"+Z,"visibility:"+Y); } }; function L(Y){ var Z=/[\\\"<>\.;]/; var X=Z.exec(Y)!=null; return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y; }; var d=function(){ if(M.ie&&M.win){ window.attachEvent("onunload",function(){ var ac=I.length; for(var ab=0;ab
      \r\n"}}); define("dijit/form/CheckBox",["require","dojo/_base/declare","dojo/dom-attr","dojo/_base/kernel","dojo/query","dojo/ready","./ToggleButton","./_CheckBoxMixin","dojo/text!./templates/CheckBox.html","dojo/NodeList-dom"],function(_a61,_a62,_a63,_a64,_a65,_a66,_a67,_a68,_a69){ if(!_a64.isAsync){ _a66(0,function(){ var _a6a=["dijit/form/RadioButton"]; _a61(_a6a); }); } return _a62("dijit.form.CheckBox",[_a67,_a68],{templateString:_a69,baseClass:"dijitCheckBox",_setValueAttr:function(_a6b,_a6c){ if(typeof _a6b=="string"){ this._set("value",_a6b); _a63.set(this.focusNode,"value",_a6b); _a6b=true; } if(this._created){ this.set("checked",_a6b,_a6c); } },_getValueAttr:function(){ return (this.checked?this.value:false); },_setIconClassAttr:null,postMixInProperties:function(){ this.inherited(arguments); this.checkedAttrSetting=this.checked?"checked":""; },_fillContent:function(){ },_onFocus:function(){ if(this.id){ _a65("label[for='"+this.id+"']").addClass("dijitFocusedLabel"); } this.inherited(arguments); },_onBlur:function(){ if(this.id){ _a65("label[for='"+this.id+"']").removeClass("dijitFocusedLabel"); } this.inherited(arguments); }}); }); },"url:sce/templates/Drawer.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","sce/form/Button":function(){ define("sce/form/Button",["dojo/_base/declare","dijit/form/Button","sce/layout/_ResponsiveLayout","dojo/dom-class","dojo/dom-attr","dojo/query","dojo/_base/lang","dijit/registry","dojo/dom","dojo/dom-construct","dojo/dom-style","dojo/dom-geometry","dojo/on","dojo/i18n!sce/nls/common"],function(_a6d,_a6e,_a6f,_a70,_a71,_a72,lang,_a73,dom,_a74,_a75,_a76,on,i18n){ var _a77=_a6d("sce.form.Button",[_a6e,_a6f],{disableResponsiveMode:false,styleType:"normal",responsive:false,icon:"none",postCreate:function(){ var _a78=_a74.create("div",{className:"transparentBg"}); _a74.place(_a78,_a72(".dijitButtonNode",this.domNode)[0],"after"); this.changeStyle(this.styleType); this.changeIcon(this.icon); if(this.responsive){ this.setResponsiveStyle(this.responsive); this.disableResponsiveMode=true; } if(!this.disableResponsiveMode){ this.registerResponsiveFunction(lang.hitch(this,this._resize,false),641,null); this.registerResponsiveFunction(lang.hitch(this,this._resize,true),null,640); } var _a79=_a72("input.dijitOffScreen",this.domNode)[0]; if(_a79.type=="button"){ _a71.set(_a79,"value",this.containerNode.innerText||this.containerNode.text||this.containerNode.textContent); _a71.set(_a79,"name",this.id); } if(this.getWindowWidth()<=640){ this._resize(true); }else{ this._resize(false); } this.inherited(arguments); },startup:function(){ if(this.social){ var _a7a=_a72(".dijitButtonNode",this.domNode); if(_a7a.length){ var _a7b=_a74.create("span",{className:"iconSocial"}); _a70.add(this.domNode,"socialButton"); _a74.place(_a7b,_a7a[0],"first"); } } var _a7c=_a72("span#"+this.id+"_label .infotipContent",this.domNode); if((_a7c.length>0)&&(_a7c[0].textContent.trim().length>0)){ var _a7d=_a74.create("div",{id:this.id+"_iconSlot",className:"iconContainer"}),_a7e=_a74.create("div",{id:this.id+"_buttonSlot",className:"infoButtonContainer"}),_a7f=_a74.create("div",{id:this.id+"_drawerSlot",className:"drawerContainer"}),icon=_a74.create("a",{id:this.id+"_iconInfotipContainer",className:"iconInfotip",tabindex:"0"}),_a80=_a74.create("div",{id:this.id+"_iconInfotipContainer"}); var _a81=_a7c[0],_a82=this.domNode.children[0]; _a74.place(_a81,_a80,"last"); _a74.place(_a82,_a7e,"last"); _a74.place(_a7d,this.domNode,"last"); _a74.place(_a7e,this.domNode,"last"); _a74.place(_a7f,this.domNode,"last"); _a74.place(icon,_a7d,"last"); _a74.place(_a80,_a7f,"last"); require(["sce/Drawer"],lang.hitch(this,function(_a83){ var _a84=new _a83({collapsed:true,id:this.id+"_drawer",srcNodeRef:_a80,style:"display:none;",targetLink:"#"+this.id+"_iconInfotipContainer",backgroundColor:"#404040",borderStyle:"1px solid #404040",showClose:false}); _a84.placeAt(_a7f,"last"); _a73.byId(this.id+"_drawer").startup(); })); this.valueNode.value=(_a82.textContent||_a82.innerText).trim(); dom.byId(this.id+"_iconInfotipContainer").innerHTML=""+i18n.informationAboutText+" "+_a72("span#"+this.id+"_label",this.domNode)[0].innerHTML.trim()+""; _a70.add(this.domNode,"infoButton"); this._resizeDrawer(); var _a85=dojo.byId(this.id); on(_a85,"focus",function(){ _a70.add(_a85.parentNode,"focusBorder"); }); on(_a85,"blur",function(){ _a70.remove(_a85.parentNode,"focusBorder"); }); } this.inherited(arguments); },changeStyle:function(_a86){ var _a87=["normal","emphasized","subdued","subdued-alt","subdued-lite","subdued-dark","subdued-yellow","transparent","facebook","amazon","linkedin"]; for(var i=0;i<_a87.length;i++){ _a70.remove(this.domNode,_a87[i]); } if(_a86!=="normal"){ _a70.add(this.domNode,_a86); } },changeIcon:function(type){ if(type=="cancel"){ _a70.add(this.domNode,"cancel"); _a70.remove(this.domNode,"rightArrow"); _a70.remove(this.domNode,"leftArrow"); _a70.remove(this.domNode,"downArrow"); _a70.remove(this.domNode,"upArrow"); this.icon=type; }else{ if(type=="rightArrow"){ _a70.add(this.domNode,"rightArrow"); _a70.remove(this.domNode,"cancel"); _a70.remove(this.domNode,"leftArrow"); _a70.remove(this.domNode,"downArrow"); _a70.remove(this.domNode,"upArrow"); this.icon=type; }else{ if(type=="leftArrow"){ _a70.add(this.domNode,"leftArrow"); _a70.remove(this.domNode,"cancel"); _a70.remove(this.domNode,"rightArrow"); _a70.remove(this.domNode,"downArrow"); _a70.remove(this.domNode,"upArrow"); this.icon=type; }else{ if(type=="downArrow"){ _a70.add(this.domNode,"downArrow"); _a70.remove(this.domNode,"cancel"); _a70.remove(this.domNode,"rightArrow"); _a70.remove(this.domNode,"leftArrow"); _a70.remove(this.domNode,"upArrow"); this.icon=type; }else{ if(type=="upArrow"){ _a70.add(this.domNode,"upArrow"); _a70.remove(this.domNode,"cancel"); _a70.remove(this.domNode,"rightArrow"); _a70.remove(this.domNode,"leftArrow"); _a70.remove(this.domNode,"downArrow"); this.icon=type; }else{ _a70.remove(this.domNode,"cancel"); _a70.remove(this.domNode,"rightArrow"); _a70.remove(this.domNode,"leftArrow"); _a70.remove(this.domNode,"downArrow"); _a70.remove(this.domNode,"upArrow"); this.icon="none"; } } } } } },setResponsiveStyle:function(_a88){ if(_a88){ _a70.add(this.domNode,"responsive"); this.responsive=true; }else{ _a70.remove(this.domNode,"responsive"); this.repsonsive=false; } },_resizeDrawer:function(){ var _a89=dom.byId(this.id+"_drawerSlot"); if(_a89){ var _a8a=_a76.getMarginBox(dom.byId(this.id+"_buttonSlot").children[0]).w,_a8b=_a76.getMarginBox(dom.byId(this.id+"_iconInfotipContainer")).w; _a75.set(_a89,"width",(_a8a+_a8b)+"px"); } },_resize:function(_a8c,e){ if(this.disableResponsiveMode){ return; } var _a8d=_a72(".sceui .buttonsContainer"); if(_a8c){ this.setResponsiveStyle(true); for(var i=0;i<_a8d.length;i++){ _a70.add(_a8d[i],"responsive"); } }else{ this.setResponsiveStyle(false); for(var i=0;i<_a8d.length;i++){ _a70.remove(_a8d[i],"responsive"); } } this._resizeDrawer(); }}); return _a77; }); },"sce/ShareBar":function(){ require({cache:{"url:sce/templates/ShareBar.html":"
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.socialByEmail}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_i18n.printText}\r\n
      \r\n
      \r\n
      "}}); define("sce/ShareBar",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/_base/lang","dojo/_base/array","dojo/dom-class","dojo/dom-attr","dojox/html/entities","dojo/parser","dojo/on","dojo/ready","sce/global/Utility","sce/form/Button","sce/api/Twitter","sce/api/Facebook","sce/api/Google","dojo/i18n!sce/nls/common","dojo/text!./templates/ShareBar.html"],function(_a8e,_a8f,_a90,lang,_a91,_a92,_a93,_a94,_a95,on,_a96,_a97,_a98,_a99,_a9a,_a9b,i18n,_a9c){ function _a9d(){ this.url=""; this.via=""; this.text=""; this.related=""; this.count=""; this.lang=""; this.counturl=""; this.hashtags=""; this.size=""; this.dnt=""; }; var _a9e=_a8e("sce.ShareBar",[_a8f,_a90],{templateString:_a9c,_i18n:i18n,shareUrl:"",likeUrl:"",twitter:null,shareTextMaxLength:60,enabledSocialMedia:null,sceTwitterButton:null,sceFacebookButton:null,sceGooglePlusButton:null,sceGooglePlusIFrameTarget:null,constructor:function(){ this.twitter=new _a9d(); this.enabledSocialMedia=[]; this.inherited(arguments); },buildRendering:function(){ this.inherited(arguments); },applyTwitterProps:function(){ for(var key in this.twitter){ if(this.twitter[key]){ _a93.set(this.twitterAnchor,("data-"+key),this.twitter[key]); } } },postMixInProperties:function(){ var _a9f=""; this.twitter=lang.mixin(new _a9d(),this.twitter); this.likeUrl="https://www.facebook.com/sce"; this.shareUrl=window.location.href.replace(/\/!.+$/,""); _a9f=((document.title.length>this.shareTextMaxLength)?(document.title.substr(0,this.shareTextMaxLength)+"..."):(document.title)); this.twitter.url=(this.twitter.url||this.shareUrl); this.twitter.text=(this.twitter.text||_a9f); this.twitter.related=(this.twitter.related||"sce"); if(this.enabledSocialMedia instanceof Array){ }else{ this.enabledSocialMedia=[]; } },_loadTwitter:function(){ var _aa0=this.sceTwitterButton,_aa1=function(_aa2){ _aa2.load(_aa0); _a92.remove(_aa0,"hiddenSocialButton"); },_aa3=function(err){ }; _a99.then(_aa1,_aa3); },_loadFacebook:function(){ var _aa4=this.sceFacebookButton,_aa5=function(_aa6){ _aa6.XFBML.parse(_aa4); _a96(1010,function(){ _a92.remove(_aa4,"hiddenSocialButton"); }); },_aa7=function(err){ }; _a9a.then(_aa5,_aa7); },_loadGooglePlus:function(){ var _aa8=this.sceGooglePlusIFrameTarget,_aa9=this.sceGooglePlusButton,_aaa=function(_aab){ gapi.plusone.render(_aa8); _a92.remove(_aa9,"hiddenSocialButton"); },_aac=function(err){ }; _a9b.then(_aaa,_aac); },postCreate:function(){ this.applyTwitterProps(); var _aad=new _a98({responsive:true},this.emailButton); var _aae=new _a98({responsive:true},this.printButton); on(_aad,"click",function(e){ var _aaf=document.title; var i=0; for(i;i<_aaf.length;i++){ _aaf=_aaf.replace("&","and"); } window.location=_a97.createMailToLink({subject:"You may like this page - "+_aaf,body:window.location.href.replace(/\/!.+$/,"")}); }); on(_aae,"click",function(e){ window.print(); }); this.inherited(arguments); },startup:function(){ if(_a91.indexOf(this.enabledSocialMedia,"twitter")>=0){ this._loadTwitter(); } if(_a91.indexOf(this.enabledSocialMedia,"facebook")>=0){ this._loadFacebook(); } if(_a91.indexOf(this.enabledSocialMedia,"google")>=0){ this._loadGooglePlus(); } this.inherited(arguments); }}); return _a9e; }); },"sce/flow/Flow":function(){ define("sce/flow/Flow",["dojo/_base/declare","dojo/dom","dojo/io-query","dojo/dom-attr","sce/_Validation"],function(_ab0,dom,_ab1,_ab2,_ab3){ var Flow=_ab0(null,{constructor:function(){ },validateFlow:function(_ab4,_ab5){ var _ab6=_ab3.isValidForm("#theForm"); if(_ab6.result){ this._submitForm("theForm",ACTION_NEXT); } },_submitForm:function(id,url){ var form=dom.byId(id); if(url){ var _ab7=url.indexOf("?"); if(_ab7!==-1){ var _ab8=url.substring(_ab7+1,url.length); var _ab9=_ab1.queryToObject(_ab8); for(var _aba in _ab9){ var _abb=document.createElement("input"); _abb.type="hidden"; _abb.name=_aba; _abb.value=_ab9[_aba]; form.appendChild(_abb); } } _ab2.set(form,"action",url); } form.submit(); }}); return Flow; }); },"dojo/html":function(){ define("dojo/html",["./_base/kernel","./_base/lang","./_base/array","./_base/declare","./dom","./dom-construct","./parser"],function(dojo,lang,_abc,_abd,dom,_abe,_abf){ lang.getObject("html",true,dojo); var _ac0=0; dojo.html._secureForInnerHtml=function(cont){ return cont.replace(/(?:\s*]+>|]*>[\s\S]*?<\/title>)/ig,""); }; dojo.html._emptyNode=_abe.empty; dojo.html._setNodeContent=function(node,cont){ _abe.empty(node); if(cont){ if(typeof cont=="string"){ cont=_abe.toDom(cont,node.ownerDocument); } if(!cont.nodeType&&lang.isArrayLike(cont)){ for(var _ac1=cont.length,i=0;i]*>\s*([\s\S]+)\s*<\/body>/im); if(_ac5){ cont=_ac5[1]; } } } this.empty(); this.content=cont; return this.node; },onEnd:function(){ if(this.parseContent){ this._parse(); } return this.node; },tearDown:function(){ delete this.parseResults; delete this.node; delete this.content; },onContentError:function(err){ return "Error occured setting content: "+err; },_mixin:function(_ac6){ var _ac7={},key; for(key in _ac6){ if(key in _ac7){ continue; } this[key]=_ac6[key]; } },_parse:function(){ var _ac8=this.node; try{ var _ac9={}; _abc.forEach(["dir","lang","textDir"],function(name){ if(this[name]){ _ac9[name]=this[name]; } },this); this.parseResults=_abf.parse({rootNode:_ac8,noStart:!this.startup,inherited:_ac9,scope:this.parserScope}); } catch(e){ this._onError("Content",e,"Error parsing in _ContentSetter#"+this.id); } },_onError:function(type,err,_aca){ var _acb=this["on"+type+"Error"].call(this,err); if(_aca){ console.error(_aca,err); }else{ if(_acb){ dojo.html._setNodeContent(this.node,_acb,true); } } }}); dojo.html.set=function(node,cont,_acc){ if(undefined==cont){ console.warn("dojo.html.set: no cont argument provided, using empty string"); cont=""; } if(!_acc){ return dojo.html._setNodeContent(node,cont,true); }else{ var op=new dojo.html._ContentSetter(lang.mixin(_acc,{content:cont,node:node})); return op.set(); } }; return dojo.html; }); },"dojo/window":function(){ define("dojo/window",["./_base/lang","./_base/sniff","./_base/window","./dom","./dom-geometry","./dom-style"],function(lang,has,_acd,dom,geom,_ace){ var _acf=lang.getObject("dojo.window",true); _acf.getBox=function(){ var _ad0=(_acd.doc.compatMode=="BackCompat")?_acd.body():_acd.doc.documentElement,_ad1=geom.docScroll(),w,h; if(has("touch")){ var _ad2=_acd.doc.parentWindow||_acd.doc.defaultView; w=_ad2.innerWidth||_ad0.clientWidth; h=_ad2.innerHeight||_ad0.clientHeight; }else{ w=_ad0.clientWidth; h=_ad0.clientHeight; } return {l:_ad1.x,t:_ad1.y,w:w,h:h}; }; _acf.get=function(doc){ if(has("ie")&&_acf!==document.parentWindow){ doc.parentWindow.execScript("document._parentWindow = window;","Javascript"); var win=doc._parentWindow; doc._parentWindow=null; return win; } return doc.parentWindow||doc.defaultView; }; _acf.scrollIntoView=function(node,pos){ try{ node=dom.byId(node); var doc=node.ownerDocument||_acd.doc,body=doc.body||_acd.body(),html=doc.documentElement||body.parentNode,isIE=has("ie"),isWK=has("webkit"); if((!(has("mozilla")||isIE||isWK||has("opera"))||node==body||node==html)&&(typeof node.scrollIntoView!="undefined")){ node.scrollIntoView(false); return; } var _ad3=doc.compatMode=="BackCompat",_ad4=(isIE>=9&&node.ownerDocument.parentWindow.frameElement)?((html.clientHeight>0&&html.clientWidth>0&&(body.clientHeight==0||body.clientWidth==0||body.clientHeight>html.clientHeight||body.clientWidth>html.clientWidth))?html:body):(_ad3?body:html),_ad5=isWK?body:_ad4,_ad6=_ad4.clientWidth,_ad7=_ad4.clientHeight,rtl=!geom.isBodyLtr(),_ad8=pos||geom.position(node),el=node.parentNode,_ad9=function(el){ return ((isIE<=6||(isIE&&_ad3))?false:(_ace.get(el,"position").toLowerCase()=="fixed")); }; if(_ad9(node)){ return; } while(el){ if(el==body){ el=_ad5; } var _ada=geom.position(el),_adb=_ad9(el); if(el==_ad5){ _ada.w=_ad6; _ada.h=_ad7; if(_ad5==html&&isIE&&rtl){ _ada.x+=_ad5.offsetWidth-_ada.w; } if(_ada.x<0||!isIE){ _ada.x=0; } if(_ada.y<0||!isIE){ _ada.y=0; } }else{ var pb=geom.getPadBorderExtents(el); _ada.w-=pb.w; _ada.h-=pb.h; _ada.x+=pb.l; _ada.y+=pb.t; var _adc=el.clientWidth,_add=_ada.w-_adc; if(_adc>0&&_add>0){ _ada.w=_adc; _ada.x+=(rtl&&(isIE||el.clientLeft>pb.l))?_add:0; } _adc=el.clientHeight; _add=_ada.h-_adc; if(_adc>0&&_add>0){ _ada.h=_adc; } } if(_adb){ if(_ada.y<0){ _ada.h+=_ada.y; _ada.y=0; } if(_ada.x<0){ _ada.w+=_ada.x; _ada.x=0; } if(_ada.y+_ada.h>_ad7){ _ada.h=_ad7-_ada.y; } if(_ada.x+_ada.w>_ad6){ _ada.w=_ad6-_ada.x; } } var l=_ad8.x-_ada.x,t=_ad8.y-Math.max(_ada.y,0),r=l+_ad8.w-_ada.w,bot=t+_ad8.h-_ada.h; if(r*l>0){ var s=Math[l<0?"max":"min"](l,r); if(rtl&&((isIE==8&&!_ad3)||isIE>=9)){ s=-s; } _ad8.x+=el.scrollLeft; el.scrollLeft+=s; _ad8.x-=el.scrollLeft; } if(bot*t>0){ _ad8.y+=el.scrollTop; el.scrollTop+=Math[t<0?"max":"min"](t,bot); _ad8.y-=el.scrollTop; } el=(el!=_ad5)&&!_adb&&el.parentNode; } } catch(error){ console.error("scrollIntoView: "+error); node.scrollIntoView(false); } }; return _acf; }); },"dojo/NodeList-manipulate":function(){ define("dojo/NodeList-manipulate",["./query","./_base/lang","./_base/array","./dom-construct","./NodeList-dom"],function(_ade,lang,_adf,_ae0){ var _ae1=_ade.NodeList; function _ae2(node){ var text="",ch=node.childNodes; for(var i=0,n;n=ch[i];i++){ if(n.nodeType!=8){ if(n.nodeType==1){ text+=_ae2(n); }else{ text+=n.nodeValue; } } } return text; }; function _ae3(node){ while(node.childNodes[0]&&node.childNodes[0].nodeType==1){ node=node.childNodes[0]; } return node; }; function _ae4(html,_ae5){ if(typeof html=="string"){ html=_ae0.toDom(html,(_ae5&&_ae5.ownerDocument)); if(html.nodeType==11){ html=html.childNodes[0]; } }else{ if(html.nodeType==1&&html.parentNode){ html=html.cloneNode(false); } } return html; }; lang.extend(_ae1,{_placeMultiple:function(_ae6,_ae7){ var nl2=typeof _ae6=="string"||_ae6.nodeType?_ade(_ae6):_ae6; var _ae8=[]; for(var i=0;i0){ item=this._cloneNode(item); _ae8.unshift(item); } if(j==_aea-1){ _ae0.place(item,_ae9,_ae7); }else{ _ae9.parentNode.insertBefore(item,_ae9); } _ae9=item; } } if(_ae8.length){ _ae8.unshift(0); _ae8.unshift(this.length-1); Array.prototype.splice.apply(this,_ae8); } return this; },innerHTML:function(_aeb){ if(arguments.length){ return this.addContent(_aeb,"only"); }else{ return this[0].innerHTML; } },text:function(_aec){ if(arguments.length){ for(var i=0,node;node=this[i];i++){ if(node.nodeType==1){ _ae0.empty(node); node.appendChild(node.ownerDocument.createTextNode(_aec)); } } return this; }else{ var _aed=""; for(i=0;node=this[i];i++){ _aed+=_ae2(node); } return _aed; } },val:function(_aee){ if(arguments.length){ var _aef=lang.isArray(_aee); for(var _af0=0,node;node=this[_af0];_af0++){ var name=node.nodeName.toUpperCase(); var type=node.type; var _af1=_aef?_aee[_af0]:_aee; if(name=="SELECT"){ var opts=node.options; for(var i=0;i0); node.parentNode.removeChild(node); } return this; },replaceAll:function(_aff){ var nl=_ade(_aff); var _b00=this._normalize(this,this[0]); for(var i=0,node;node=nl[i];i++){ this._place(_b00,node,"before",i>0); node.parentNode.removeChild(node); } return this; },clone:function(){ var ary=[]; for(var i=0;i\r\n
      \r\n
      "}}); define("sce/ResponsiveTable",["dojo/_base/declare","dojo/_base/array","dojo/query","dojo/on","dojo/dom-attr","dojo/dom-style","dojo/dom-class","dojo/dom-construct","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/ContentExpander","dojo/text!./templates/ResponsiveTable.html","dojo/NodeList-manipulate"],function(_b08,_b09,_b0a,on,_b0b,_b0c,_b0d,_b0e,_b0f,_b10,_b11,_b12){ var _b13=_b08("sce.ResponsiveTable",[_b0f,_b10],{templateString:_b12,postCreate:function(){ var _b14=_b0a("tbody tr th",this.containerNode); var rows=_b0a("tbody tr",this.containerNode); if(_b14.length>0){ _b0d.add(this.containerNode,"hasHeaderRow"); rows.forEach(function(row){ var cols=_b0a("td",row); var _b15=0; cols.forEach(function(cell){ _b0b.set(cell,{"data-th":_b14[_b15++].innerHTML}); }); }); } this.inherited(arguments); }}); return _b13; }); },"sce/nls/service_uri":function(){ define({root:({serviceUriTimeout:(60*1000),currentOutageDataUri:"/wps/mapServices/mapService/outageMapData/getCurrentOutageData",checkOutageStatusUri:"/wps/mapServices/mapService/outageMapData/checkCurrentOutage",reportOutageHBUri:"/wps/portal/home/outage-center/report-an-outage/",reportOutageSLUri:"/wps/portal/home/outage-center/report-street-light-outage/",getAddressByZipcodeCity:"/wps/HANAServices/addressServiceHANA/addressInformation/getAddressByZipcodeCity",getAddressDetails:"/wps/HANAServices/addressServiceHANA/addressInformation/getAddressDetails",getConfirmedAddressDetails:"/wps/HANAServices/addressServiceHANA/addressInformation/getConfirmedAddressDetails",getAvailableZipCity:"/wps/HANAServices/addressServiceHANA/addressInformation/getAvailableZipCity",aocCountyKmz:"http://www.sce.com/nrc/AOC/AOC_COUNTY.KMZ",getDistricts:"/wps/mapServices/mapService/outageMapData/districtPolygonInfo",portalHomeUri:"/wps/portal/home",portalMyHomeUri:"/wps/myportal/home",loginUri:"/wps/portal/home/mysce/login/!ut/p/b1/jc_RCoIwFAbgZ-kB4hxcCF6uEHMwTTRau4kRNge6iY2gt0-hmy7Uzt2B7__hBwkCpFUvo5U3zqp2-mV4ixKMjyzHNK94hCmLQ7aL9gHGZATXEeDMUfwvPwc4WctfQC6SqeEXJFVBMCUFZiWlBDH8goUN2dF1NbA1Nm4JBn7gGmSvfLM19uFAlF4NHkT3ft5rEK3TxkLfnQWaU9NquvkAWL2DWA!!/pw/Z7_18GAHIS0IGE5A0IB09T5L630I2/res/c=cacheLevelPage/=/",logoutUri:"/wps/portal/home/mysce/logout",updateProgressUri:"/wps/scethemeresponsive/dynamic/UpdateProgress"})}); },"dijit/form/_ButtonMixin":function(){ define("dijit/form/_ButtonMixin",["dojo/_base/declare","dojo/dom","dojo/_base/event","../registry"],function(_b16,dom,_b17,_b18){ return _b16("dijit.form._ButtonMixin",null,{label:"",type:"button",_onClick:function(e){ if(this.disabled){ _b17.stop(e); return false; } var _b19=this.onClick(e)===false; if(!_b19&&this.type=="submit"&&!(this.valueNode||this.focusNode).form){ for(var node=this.domNode;node.parentNode;node=node.parentNode){ var _b1a=_b18.byNode(node); if(_b1a&&typeof _b1a._onSubmit=="function"){ _b1a._onSubmit(e); _b19=true; break; } } } if(_b19){ e.preventDefault(); } return !_b19; },postCreate:function(){ this.inherited(arguments); dom.setSelectable(this.focusNode,false); },onClick:function(){ return true; },_setLabelAttr:function(_b1b){ this._set("label",_b1b); (this.containerNode||this.focusNode).innerHTML=_b1b; }}); }); },"dijit/registry":function(){ define("dijit/registry",["dojo/_base/array","dojo/_base/sniff","dojo/_base/unload","dojo/_base/window","."],function(_b1c,has,_b1d,win,_b1e){ var _b1f={},hash={}; var _b20={length:0,add:function(_b21){ if(hash[_b21.id]){ throw new Error("Tried to register widget with id=="+_b21.id+" but that id is already registered"); } hash[_b21.id]=_b21; 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(_b22){ var id; do{ id=_b22+"_"+(_b22 in _b1f?++_b1f[_b22]:_b1f[_b22]=0); }while(hash[id]); return _b1e._scopeName=="dijit"?id:_b1e._scopeName+"_"+id; },findWidgets:function(root){ var _b23=[]; function _b24(root){ for(var node=root.firstChild;node;node=node.nextSibling){ if(node.nodeType==1){ var _b25=node.getAttribute("widgetId"); if(_b25){ var _b26=hash[_b25]; if(_b26){ _b23.push(_b26); } }else{ _b24(node); } } } }; _b24(root); return _b23; },_destroyAll:function(){ _b1e._curFocus=null; _b1e._prevFocus=null; _b1e._activeStack=[]; _b1c.forEach(_b20.findWidgets(win.body()),function(_b27){ if(!_b27._destroyed){ if(_b27.destroyRecursive){ _b27.destroyRecursive(); }else{ if(_b27.destroy){ _b27.destroy(); } } } }); },getEnclosingWidget:function(node){ while(node){ var id=node.getAttribute&&node.getAttribute("widgetId"); if(id){ return hash[id]; } node=node.parentNode; } return null; },_hash:hash}; if(has("ie")){ _b1d.addOnWindowUnload(function(){ _b20._destroyAll(); }); } _b1e.registry=_b20; return _b20; }); },"dojo/io/script":function(){ define("dojo/io/script",["../main"],function(dojo){ dojo.getObject("io",true,dojo); var _b28=dojo.isIE?"onreadystatechange":"load",_b29=/complete|loaded/; dojo.io.script={get:function(args){ var dfd=this._makeScriptDeferred(args); var _b2a=dfd.ioArgs; dojo._ioAddQueryToUrl(_b2a); dojo._ioNotifyStart(dfd); if(this._canAttach(_b2a)){ var node=this.attach(_b2a.id,_b2a.url,args.frameDoc); if(!_b2a.jsonp&&!_b2a.args.checkString){ var _b2b=dojo.connect(node,_b28,function(evt){ if(evt.type=="load"||_b29.test(node.readyState)){ dojo.disconnect(_b2b); _b2a.scriptLoaded=evt; } }); } } dojo._ioWatch(dfd,this._validCheck,this._ioCheck,this._resHandle); return dfd; },attach:function(id,url,_b2c){ var doc=(_b2c||dojo.doc); var _b2d=doc.createElement("script"); _b2d.type="text/javascript"; _b2d.src=url; _b2d.id=id; _b2d.async=true; _b2d.charset="utf-8"; return doc.getElementsByTagName("head")[0].appendChild(_b2d); },remove:function(id,_b2e){ dojo.destroy(dojo.byId(id,_b2e)); if(this["jsonp_"+id]){ delete this["jsonp_"+id]; } },_makeScriptDeferred:function(args){ var dfd=dojo._ioSetArgs(args,this._deferredCancel,this._deferredOk,this._deferredError); var _b2f=dfd.ioArgs; _b2f.id=dojo._scopeName+"IoScript"+(this._counter++); _b2f.canDelete=false; _b2f.jsonp=args.callbackParamName||args.jsonp; if(_b2f.jsonp){ _b2f.query=_b2f.query||""; if(_b2f.query.length>0){ _b2f.query+="&"; } _b2f.query+=_b2f.jsonp+"="+(args.frameDoc?"parent.":"")+dojo._scopeName+".io.script.jsonp_"+_b2f.id+"._jsonpCallback"; _b2f.frameDoc=args.frameDoc; _b2f.canDelete=true; dfd._jsonpCallback=this._jsonpCallback; this["jsonp_"+_b2f.id]=dfd; } return dfd; },_deferredCancel:function(dfd){ dfd.canceled=true; if(dfd.ioArgs.canDelete){ dojo.io.script._addDeadScript(dfd.ioArgs); } },_deferredOk:function(dfd){ var _b30=dfd.ioArgs; if(_b30.canDelete){ dojo.io.script._addDeadScript(_b30); } return _b30.json||_b30.scriptLoaded||_b30; },_deferredError:function(_b31,dfd){ if(dfd.ioArgs.canDelete){ if(_b31.dojoType=="timeout"){ dojo.io.script.remove(dfd.ioArgs.id,dfd.ioArgs.frameDoc); }else{ dojo.io.script._addDeadScript(dfd.ioArgs); } } return _b31; },_deadScripts:[],_counter:1,_addDeadScript:function(_b32){ dojo.io.script._deadScripts.push({id:_b32.id,frameDoc:_b32.frameDoc}); _b32.frameDoc=null; },_validCheck:function(dfd){ var _b33=dojo.io.script; var _b34=_b33._deadScripts; if(_b34&&_b34.length>0){ for(var i=0;i<_b34.length;i++){ _b33.remove(_b34[i].id,_b34[i].frameDoc); _b34[i].frameDoc=null; } dojo.io.script._deadScripts=[]; } return true; },_ioCheck:function(dfd){ var _b35=dfd.ioArgs; if(_b35.json||(_b35.scriptLoaded&&!_b35.args.checkString)){ return true; } var _b36=_b35.args.checkString; return _b36&&eval("typeof("+_b36+") != 'undefined'"); },_resHandle:function(dfd){ if(dojo.io.script._ioCheck(dfd)){ dfd.callback(dfd); }else{ dfd.errback(new Error("inconceivable dojo.io.script._resHandle error")); } },_canAttach:function(_b37){ return true; },_jsonpCallback:function(json){ this.ioArgs.json=json; }}; return dojo.io.script; }); },"sce/layout/_ResponsiveLayout":function(){ define("sce/layout/_ResponsiveLayout",["dojo/_base/declare","dojo/on","dojo/_base/lang","dojo/window","dojo/query"],function(_b38,on,lang,win,_b39){ var _b3a=_b38("sce.layout._ResponsiveLayout",[],{registerResponsiveFunction:function(fn,_b3b,_b3c){ window.sce=window.sce||{}; window.sce.repository=window.sce.repository||{}; window.sce.repository.ResponsiveLayout=window.sce.repository.ResponsiveLayout||new Array(); try{ window.sce.globalSce=window.sce.globalSce||{}; if(window.sce.globalSce._windowResizeConnectionHandler==undefined||window.sce.globalSce._windowResizeConnectionHandler==null){ window.sce.globalSce._windowResizeConnectionHandler=on(window,"resize",lang.hitch(null,this._onWindowResizeGlobalFn)); } } catch(e){ console.error("Tried to register resize connector for SCE but globalSce does not exist"); } var temp=new Object(); if(_b3c==null){ _b3c=0; } if(_b3b==null){ _b3b=0; } temp["id"]=this.id; temp["minPixel"]=_b3b; temp["maxPixel"]=_b3c; temp["fn"]=fn; window.sce.repository.ResponsiveLayout.push(temp); },getWindowWidth:function(){ var _b3d=win.getBox().w; if(_b39(".dj_gecko").length>0){ _b3d=window.innerWidth; } return _b3d; },_onWindowResizeGlobalFn:function(e){ for(var i=0;i0||_b39(".dj_webkit").length>0){ _b40=window.innerWidth; } if(_b3f==0&&_b3e==0){ window.sce.repository.ResponsiveLayout[i]["fn"](e); }else{ if(_b3f==0&&_b40>=_b3e){ window.sce.repository.ResponsiveLayout[i]["fn"](e); }else{ if(_b40>=_b3e&&_b40<=_b3f){ window.sce.repository.ResponsiveLayout[i]["fn"](e); } } } } }}); return _b3a; }); },"sce/feature":function(){ define("sce/feature",["dojo/has"],function(has){ if(!1){ return has; } var _b41={"boolean":1,"number":1,"string":1,"undefined":1}; var _b42=document.createElement("input"); var _b43=document.createElement("textarea"); function _b44(type){ _b42.setAttribute("type",type); _b42.value=""; return (has("input-checkvalidity")&&_b42.type===type&&(/search|tel/.test(type)||_b42.value!==""||!_b42.checkValidity())); }; function _b45(_b46,_b47){ var type=typeof _b46[_b47]; return type==="object"?!!_b46[_b47]:!_b41[type]; }; has.add("input-checkvalidity",function(_b48,_b49,_b4a){ return _b45(_b42,"checkValidity"); },true,false); has.add("input-type-date",function(_b4b,_b4c,_b4d){ return _b44("date"); },true,false); has.add("textarea-maxlength",function(_b4e,_b4f,_b50){ return (!!("maxLength" in _b43)); }); has.add("native-navigator",function(_b51){ return ("navigator" in _b51); }); has.add("native-geolocation",function(_b52){ return (has("native-navigator")&&("geolocation" in _b52.navigator)); }); return has; }); },"sce/avm/rules/AddressValidationStreetlightHANA":function(){ define("sce/avm/rules/AddressValidationStreetlightHANA",["dojo/_base/Deferred","dojo/_base/lang","dojo/_base/array","dojo/_base/json","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/dom-construct","dojo/on","dojo/store/Memory","sce/_Validation","sce/avm/AddressUtil","sce/avm/enum/zipEnum","sce/avm/enum/addressEnum"],function(_b53,lang,_b54,json,dom,_b55,_b56,_b57,on,_b58,_b59,_b5a,_b5b,_b5c){ return {rule1to2CheckZipCity:function(){ var _b5d=this.zipCitySelect,_b5e=new _b53(),_b5f,req; _b5f=_b59.isValidForm(this[this.get("currentScreen")]); if(_b5f.result){ zipCitySelectData=JSON.parse(_b5d.get("value")); var _b60=this.zipCityStore.query({Serv_Acct_Mailing_City_Name:zipCitySelectData["Serv_Acct_Mailing_City_Name"]}); if(_b60.total>1){ var _b61=this.zipCityInput.get("value"),_b62=_b5a.isZipOrCity(_b61); if(_b62==="zip"){ if(!this._isValidZip(_b61)){ _b5e.resolve({code:_b5b.ZIP_MULTI_MATCH,data:"There are multiple zips for that city, please be more specific."}); return _b5e; } } } this.set("avmEnteredZip",zipCitySelectData["Serv_Acct_Zip_Code"]); this.set("avmEnteredCity",zipCitySelectData["Serv_Acct_Mailing_City_Name"]); req=this.getAddressByZipcodeCity(zipCitySelectData.Serv_Acct_Zip_Code,zipCitySelectData.Serv_Acct_Mailing_City_Name); req.then(lang.hitch(this,function(data){ if(data){ var _b63,_b64,_b65; try{ _b63=JSON.parse(data); if(_b63.d.results.length>0){ _b64=_b5a.stripStreetNames(_b63.d.results); _b65=_b64.sort(_b5a.addressSorter); var _b66=new _b58({id:"id",data:_b65}); this.streetNameInput.setDataStore(_b65,_b5a.addressSorter); var _b67=null,_b68=null; var _b69=on(this.streetNameInput,"item",lang.hitch(this,function(e){ var b=_b66.query({id:_b55.get(e.target,"data-storeid")}); this.set("addressObject",b[0].address); _b67=this.streetNameInput.watch("value",lang.hitch(this,function(){ this.set("addressObject",null); _b67.unwatch(); })); })); this.crossStreetInput.setDataStore(_b65,_b5a.addressSorter); var _b6a=on(this.crossStreetInput,"item",lang.hitch(this,function(e){ var b=_b66.query({id:_b55.get(e.target,"data-storeid")}); this.set("crossAddressObject",b[0].address); _b68=this.streetNameInput.watch("value",lang.hitch(this,function(){ this.set("crossAddressObject",null); _b68.unwatch(); })); })); this.fsm.onleaveaddress=lang.hitch(this,function(){ console.warn("Removing address listeners"); _b69.remove(); if(_b67){ _b67.unwatch(); } if(_b68){ _b68.unwatch(); } _b6a.remove(); this.fsm.onleaveaddress=null; }); _b5e.resolve({code:_b5b.ZIP_FOUND,data:_b66}); }else{ _b5e.resolve({code:_b5b.ZIP_NO_MATCH,data:"No places in that zipcode"}); } } catch(error){ _b5e.resolve({code:_b5b.ZIP_PARSING_PROBLEM,data:"Problem parsing data"}); } }else{ _b5e.resolve({code:_b5b.ZIP_NO_DATA,data:"No data received"}); } }),function(_b6b){ _b5e.resolve({code:_b5b.ZIP_NO_SERVICE,data:"HANA unavailable"}); }); }else{ _b5e.resolve({code:_b5b.ZIP_INVALID,data:this._bundle.invalidZipCode}); } return _b5e; },rule2to3Address:function(){ var _b6c=JSON.parse(this.zipCitySelect.get("value")),_b6d=this.streetNumberInput.get("value"),_b6e=this.streetNameInput.get("value"),_b6f=this.crossStreetInput.get("value"),_b70=this.get("addressObject"),_b71=new _b53(),_b72,_b73=false,_b74=false; _b72=_b59.isValidForm(this[this.get("currentScreen")]); _b73=(_b6e.toLowerCase()===_b6f.toLowerCase()); _b74=((_b6d&&_b6d.trim())||(_b6f&&_b6f.trim())); if(!_b72.result){ _b71.resolve({code:_b5c.ADDR_EMPTY,data:this._bundle.invalidAddress}); }else{ if(!_b74){ _b71.resolve({code:_b5c.ADDR_INVALID,data:this._bundle.hanaAvmPleaseStreetOrCross}); }else{ if(_b73){ _b71.resolve({code:_b5c.ADDR_X_STREET_CANT,data:this._bundle.hanaAvmStreetCrossCantMatch}); }else{ var _b75={HouseNum:_b6d.toString(),StreetName:_b6e.toString(),CrossStreet:_b6f.toString()}; _b75.City=_b6c.Serv_Acct_Mailing_City_Name; _b75.ZipCode=_b6c.Serv_Acct_Zip_Code; if(_b70){ lang.mixin(_b75,_b5a.constructQueryParams(_b70)); lang.mixin(_b70,{Serv_Acct_House_Frctn_Num:"",Serv_Acct_House_Num:_b6d.toString(),Serv_Acct_Unit_Designator_Cd:"",Serv_Acct_Unit_Num:"",Serv_Acct_Meter_Code:""}); }else{ _b70={Serv_Acct_House_Frctn_Num:"",Serv_Acct_House_Num:_b6d.toString(),Serv_Acct_Street_Prfx_Code:"",Serv_Acct_Street_Name:_b6e.toString(),Serv_Acct_Street_Sfx_Code:"",Serv_Acct_Post_Direction_Cd:"",Serv_Acct_Unit_Designator_Cd:"",Serv_Acct_Unit_Num:"",Serv_Acct_Meter_Code:"",Serv_Acct_Mailing_City_Name:_b6c.Serv_Acct_Mailing_City_Name,Serv_Acct_State_Code:"CA",Serv_Acct_Zip_Code:_b6c.Serv_Acct_Zip_Code}; } this.set("avmConfirmAddress",_b70); this.set("avmEnteredCrossStreet",_b6f); if(this.get("avmEnteredCrossStreet")){ _b56.set(this.avmNoCrossStreetProvidedNode,"display","none"); }else{ _b56.set(this.avmNoCrossStreetProvidedNode,"display",""); } _b71.resolve({code:_b5c.ADDR_FOUND_SINGLE,data:_b70}); } } } return _b71; },displayMultipleAddresses:function(_b76){ this.fuzzyStreetNumberInput.set("value",this.streetNumberInput.get("value")); this.fuzzyStreetNameInput.set("value",this.streetNameInput.get("value")); this.fuzzyUnitNumberInput.set("value",this.unitNumberInput.get("value")); var _b77=this.fuzzyStreetNameSelect._selectNode.length; var _b78=this.fuzzyStreetNameSelect; for(var j=0;j<_b77-1;j++){ _b78.removeOption(1); } var arr=_b5a.stripStreetNames(_b76); _b54.forEach(arr,function(_b79){ var _b7a=_b57.create("option",{innerHTML:_b79.value,value:_b79.value}); _b78.addOption(_b7a); }); },populateZipCityFields:function(_b7b,_b7c,_b7d){ var _b7e=this.zipCityInput,_b7f=this.zipCitySelect,_b80=_b7f._selectNode.length,_b81,_b82=((_b7c==="zip")?("Serv_Acct_Zip_Code"):("Serv_Acct_Mailing_City_Name")),_b83=((_b7c==="zip")?("Serv_Acct_Mailing_City_Name"):("Serv_Acct_Zip_Code")),_b84,_b85,_b86; for(var j=0;j<_b80-1;j++){ _b7f.removeOption(1); } if(_b7d){ _b81=_b7d.toLowerCase(); _b84=_b54.filter(_b7b,function(_b87){ if(typeof _b87[_b82]==="string"){ return ((_b87[_b82].toLowerCase().indexOf(_b81))>-1); }else{ return false; } }); _b85=_b54.map(_b84,function(_b88){ return {Serv_Acct_Mailing_City_Name:_b88.Serv_Acct_Mailing_City_Name,Serv_Acct_Zip_Code:_b88.Serv_Acct_Zip_Code}; }); _b86=_b54.filter(_b85,function(item,_b89,arr){ return (_b54.lastIndexOf(_b54.map(arr,function(e){ return e[_b83]; }),item[_b83])===_b89); }); if(_b86.length>0){ _b54.forEach(_b86,function(_b8a){ var _b8b=_b57.create("option",{innerHTML:_b8a[_b83],value:JSON.stringify(_b8a)}); _b7f.addOption(_b8b); }); _b7e.showValidStyle(); _b7f.showDefaultStyle(); if(_b86.length===1){ _b7f.setSelectedIndex(1); _b7f.showValidStyle(); } }else{ _b7e.showErrorStyle(); on.once(_b7e.textbox,"blur",function(){ _b7e.showErrorStyle(); }); } }else{ } },submitAVM:function(){ var _b8c=new _b53(); var _b8d=this.get("avmConfirmAddress"); var _b8e=this.streetNumberInput.get("value"); var _b8f={"typeOfAddress":"Service","serviceAddressDetails":{"serviceAddress":{"houseNo":_b8e.toString(),"stName":_b8d.Serv_Acct_Street_Name.toString(),"stPrefix":"","stSuffix":"","city":_b8d.Serv_Acct_Mailing_City_Name.toString(),"state":_b8d.Serv_Acct_State_Code.toString(),"stPostDirection":"","zipcode":_b8d.Serv_Acct_Zip_Code.toString(),"zipsuffix":"","formatType":"","crossStreet":this.crossStreetInput.value},"isSvcValidMailingAddr":"Y","serviceAccountNumber":"","isvcCode":""}}; this.set("value",json.toJson(_b8f)); _b8c.resolve(true); return _b8c; }}; }); },"url:sce/templates/LeftNavigation.html":"
      ","url:sce/templates/RestCardD.html":"
      ","sce/ToolRail":function(){ require({cache:{"url:sce/templates/ToolRail.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/ToolRail",["dojo/_base/declare","dojo/query","dojo/dom-style","dojo/dom-class","dojo/dom-construct","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/text!./templates/ToolRail.html"],function(_b90,_b91,_b92,_b93,_b94,_b95,_b96,_b97){ var _b98=_b90("sce.ToolRail",[_b95,_b96],{templateString:_b97}); return _b98; }); },"dojox/html/entities":function(){ define("dojox/html/entities",["dojo/_base/lang"],function(lang){ var dhe=lang.getObject("dojox.html.entities",true); var _b99=function(str,map){ var _b9a,_b9b; if(map._encCache&&map._encCache.regexp&&map._encCache.mapper&&map.length==map._encCache.length){ _b9a=map._encCache.mapper; _b9b=map._encCache.regexp; }else{ _b9a={}; _b9b=["["]; var i; for(i=0;i","gt"],["?","nbsp"]]; dhe.latin=[["?","iexcl"],["?","cent"],["?","pound"],["?","euro"],["?","curren"],["?","yen"],["?","brvbar"],["?","sect"],["?","uml"],["?","copy"],["?","ordf"],["?","laquo"],["?","not"],["?","shy"],["?","reg"],["?","macr"],["?","deg"],["?","plusmn"],["?","sup2"],["?","sup3"],["?","acute"],["?","micro"],["?","para"],["?","middot"],["?","cedil"],["?","sup1"],["?","ordm"],["?","raquo"],["?","frac14"],["?","frac12"],["?","frac34"],["?","iquest"],["?","Agrave"],["?","Aacute"],["?","Acirc"],["?","Atilde"],["?","Auml"],["?","Aring"],["?","AElig"],["?","Ccedil"],["?","Egrave"],["?","Eacute"],["?","Ecirc"],["?","Euml"],["?","Igrave"],["?","Iacute"],["?","Icirc"],["?","Iuml"],["?","ETH"],["?","Ntilde"],["?","Ograve"],["?","Oacute"],["?","Ocirc"],["?","Otilde"],["?","Ouml"],["?","times"],["?","Oslash"],["?","Ugrave"],["?","Uacute"],["?","Ucirc"],["?","Uuml"],["?","Yacute"],["?","THORN"],["?","szlig"],["?","agrave"],["?","aacute"],["?","acirc"],["?","atilde"],["?","auml"],["?","aring"],["?","aelig"],["?","ccedil"],["?","egrave"],["?","eacute"],["?","ecirc"],["?","euml"],["?","igrave"],["?","iacute"],["?","icirc"],["?","iuml"],["?","eth"],["?","ntilde"],["?","ograve"],["?","oacute"],["?","ocirc"],["?","otilde"],["?","ouml"],["?","divide"],["?","oslash"],["?","ugrave"],["?","uacute"],["?","ucirc"],["?","uuml"],["?","yacute"],["?","thorn"],["?","yuml"],["?","fnof"],["?","Alpha"],["?","Beta"],["?","Gamma"],["?","Delta"],["?","Epsilon"],["?","Zeta"],["?","Eta"],["?","Theta"],["?","Iota"],["?","Kappa"],["?","Lambda"],["?","Mu"],["?","Nu"],["?","Xi"],["?","Omicron"],["?","Pi"],["?","Rho"],["?","Sigma"],["?","Tau"],["?","Upsilon"],["?","Phi"],["?","Chi"],["?","Psi"],["?","Omega"],["?","alpha"],["?","beta"],["?","gamma"],["?","delta"],["?","epsilon"],["?","zeta"],["?","eta"],["?","theta"],["?","iota"],["?","kappa"],["?","lambda"],["?","mu"],["?","nu"],["?","xi"],["?","omicron"],["?","pi"],["?","rho"],["?","sigmaf"],["?","sigma"],["?","tau"],["?","upsilon"],["?","phi"],["?","chi"],["?","psi"],["?","omega"],["?","thetasym"],["?","upsih"],["?","piv"],["?","bull"],["?","hellip"],["?","prime"],["?","Prime"],["?","oline"],["?","frasl"],["?","weierp"],["?","image"],["?","real"],["?","trade"],["?","alefsym"],["?","larr"],["?","uarr"],["?","rarr"],["?","darr"],["?","harr"],["?","crarr"],["?","lArr"],["?","uArr"],["?","rArr"],["?","dArr"],["?","hArr"],["?","forall"],["?","part"],["?","exist"],["?","empty"],["?","nabla"],["?","isin"],["?","notin"],["?","ni"],["?","prod"],["?","sum"],["?","minus"],["?","lowast"],["?","radic"],["?","prop"],["?","infin"],["?","ang"],["?","and"],["?","or"],["?","cap"],["?","cup"],["?","int"],["?","there4"],["?","sim"],["?","cong"],["?","asymp"],["?","ne"],["?","equiv"],["?","le"],["?","ge"],["?","sub"],["?","sup"],["?","nsub"],["?","sube"],["?","supe"],["?","oplus"],["?","otimes"],["?","perp"],["?","sdot"],["?","lceil"],["?","rceil"],["?","lfloor"],["?","rfloor"],["?","lang"],["?","rang"],["?","loz"],["?","spades"],["?","clubs"],["?","hearts"],["?","diams"],["?","Elig"],["?","oelig"],["?","Scaron"],["?","scaron"],["?","Yuml"],["?","circ"],["?","tilde"],["?","ensp"],["?","emsp"],["?","thinsp"],["?","zwnj"],["?","zwj"],["?","lrm"],["?","rlm"],["?","ndash"],["?","mdash"],["?","lsquo"],["?","rsquo"],["?","sbquo"],["?","ldquo"],["?","rdquo"],["?","bdquo"],["?","dagger"],["?","Dagger"],["?","permil"],["?","lsaquo"],["?","rsaquo"]]; dhe.encode=function(str,m){ if(str){ if(!m){ str=_b99(str,dhe.html); str=_b99(str,dhe.latin); }else{ str=_b99(str,m); } } return str; }; dhe.decode=function(str,m){ if(str){ if(!m){ str=_b9c(str,dhe.html); str=_b9c(str,dhe.latin); }else{ str=_b9c(str,m); } } return str; }; return dhe; }); },"dojo/store/util/QueryResults":function(){ define("dojo/store/util/QueryResults",["../../_base/array","../../_base/lang","../../_base/Deferred"],function(_b9f,lang,_ba0){ var util=lang.getObject("dojo.store.util",true); util.QueryResults=function(_ba1){ if(!_ba1){ return _ba1; } if(_ba1.then){ _ba1=lang.delegate(_ba1); } function _ba2(_ba3){ if(!_ba1[_ba3]){ _ba1[_ba3]=function(){ var args=arguments; return _ba0.when(_ba1,function(_ba4){ Array.prototype.unshift.call(args,_ba4); return util.QueryResults(_b9f[_ba3].apply(_b9f,args)); }); }; } }; _ba2("forEach"); _ba2("filter"); _ba2("map"); if(!_ba1.total){ _ba1.total=_ba0.when(_ba1,function(_ba5){ return _ba5.length; }); } return _ba1; }; return util.QueryResults; }); },"dijit/form/_FormWidget":function(){ define("dijit/form/_FormWidget",["dojo/_base/declare","dojo/_base/kernel","dojo/ready","../_Widget","../_CssStateMixin","../_TemplatedMixin","./_FormWidgetMixin"],function(_ba6,_ba7,_ba8,_ba9,_baa,_bab,_bac){ if(!_ba7.isAsync){ _ba8(0,function(){ var _bad=["dijit/form/_FormValueWidget"]; require(_bad); }); } return _ba6("dijit.form._FormWidget",[_ba9,_bab,_baa,_bac],{setDisabled:function(_bae){ _ba7.deprecated("setDisabled("+_bae+") is deprecated. Use set('disabled',"+_bae+") instead.","","2.0"); this.set("disabled",_bae); },setValue:function(_baf){ _ba7.deprecated("dijit.form._FormWidget:setValue("+_baf+") is deprecated. Use set('value',"+_baf+") instead.","","2.0"); this.set("value",_baf); },getValue:function(){ _ba7.deprecated(this.declaredClass+"::getValue() is deprecated. Use get('value') instead.","","2.0"); return this.get("value"); },postMixInProperties:function(){ this.nameAttrSetting=this.name?("name=\""+this.name.replace(/'/g,""")+"\""):""; this.inherited(arguments); },_setTypeAttr:null}); }); },"sce/flow/outage/Streetlight/SLDescribe":function(){ define("sce/flow/outage/Streetlight/SLDescribe",["dojo/_base/declare","dojo/dom","dojo/on","dojo/_base/lang","dijit/registry","sce/_Validation","sce/FormSubmit","sce/flow/outage/_Outage","sce/form/TextArea"],function(_bb0,dom,on,lang,_bb1,_bb2,_bb3,_bb4){ var _bb5=_bb0([_bb4],{constructor:function(_bb6){ this.initFlow2(); if(_bb1.byId("cancelDialog")!=undefined){ _bb1.byId("cancelButton").onClick=lang.hitch(this,function(){ _bb1.byId("cancelDialog").show(); }); _bb1.byId("cancelNo").onClick=lang.hitch(this,function(){ _bb1.byId("cancelDialog").hide(); }); _bb1.byId("cancelYes").onClick=lang.hitch(this,function(){ dom.byId("cancelHiddenButtonSubmit").click(); }); } },initFlow2:function(){ sce.globalSce.Navigation.setPageTitle(dom.byId("pageTitle_id").innerHTML); _bb3.attachSubmitListener("outage_sl_2"); _bb1.byId("nextButton").onClick=lang.hitch(this,function(){ _bb1.byId("nextButton").set("disabled",true); if(this._validateFlow2()){ dom.byId("pg2NextButton").click(); return true; }else{ _bb1.byId("nextButton").set("disabled",false); return false; } }); if(dom.byId("damageYes_id")){ on(dom.byId("damageYes_id"),"click",function(){ _bb1.byId("damageYes_id").showDefaultStyle(); _bb1.byId("damageNo_id").showDefaultStyle(); _bb1.byId("damageYesDesc_id").showDefaultStyle(); _bb1.byId("damageNoDesc_id").showDefaultStyle(); _bb1.byId("damageYesDrawer_id").show(); }); if(dom.byId("damageYes_id").checked==true){ _bb1.byId("damageYesDrawer_id").show(); } } if(dom.byId("damageNo_id")){ on(dom.byId("damageNo_id"),"click",function(){ _bb1.byId("damageYes_id").showDefaultStyle(); _bb1.byId("damageNo_id").showDefaultStyle(); _bb1.byId("damageYesDesc_id").showDefaultStyle(); _bb1.byId("damageYesDrawer_id").hide(); _bb1.byId("damageYesDesc_id").set("value",""); }); if(dom.byId("damageNo_id").checked==true){ } } if(dom.byId("outageDesc1_id")){ on(dom.byId("outageDesc1_id"),"click",function(){ _bb1.byId("outageDesc1_id"+"_drawer").show(); _bb1.byId("outageDesc2_id"+"_drawer").hide(); _bb1.byId("outageDesc3_id"+"_drawer").hide(); }); } if(dom.byId("outageDesc2_id")){ on(dom.byId("outageDesc2_id"),"click",function(){ _bb1.byId("outageDesc1_id"+"_drawer").hide(); _bb1.byId("outageDesc2_id"+"_drawer").show(); _bb1.byId("outageDesc3_id"+"_drawer").hide(); }); } if(dom.byId("outageDesc3_id")){ on(dom.byId("outageDesc3_id"),"click",function(){ _bb1.byId("outageDesc1_id"+"_drawer").hide(); _bb1.byId("outageDesc2_id"+"_drawer").hide(); _bb1.byId("outageDesc3_id"+"_drawer").show(); }); } },_validateFlow2:function(){ var _bb7=true; var _bb8=_bb2.isValidForm("#outage_sl_2"); _bb7=_bb8.result; if(_bb7==false){ sce.globalSce.Session.focusOnFirstError(); }else{ if(_bb7==true){ if(dom.byId("damageYes_id")){ if(dom.byId("damageYes_id").checked==true){ if(_bb1.byId("damageYesDesc_id").get("value")==""){ _bb1.byId("damageYesDesc_id").showErrorStyle(); _bb7=false; }else{ _bb1.byId("damageYesDesc_id").showValidStyle(); } } } } } return _bb7; }}); return _bb5; }); },"dojo/DeferredList":function(){ define("dojo/DeferredList",["./_base/kernel","./_base/Deferred","./_base/array"],function(dojo,_bb9,_bba){ dojo.DeferredList=function(list,_bbb,_bbc,_bbd,_bbe){ var _bbf=[]; _bb9.call(this); var self=this; if(list.length===0&&!_bbb){ this.resolve([0,[]]); } var _bc0=0; _bba.forEach(list,function(item,i){ item.then(function(_bc1){ if(_bbb){ self.resolve([i,_bc1]); }else{ _bc2(true,_bc1); } },function(_bc3){ if(_bbc){ self.reject(_bc3); }else{ _bc2(false,_bc3); } if(_bbd){ return null; } throw _bc3; }); function _bc2(_bc4,_bc5){ _bbf[i]=[_bc4,_bc5]; _bc0++; if(_bc0===list.length){ self.resolve(_bbf); } }; }); }; dojo.DeferredList.prototype=new _bb9(); dojo.DeferredList.prototype.gatherResults=function(_bc6){ var d=new dojo.DeferredList(_bc6,false,true,false); d.addCallback(function(_bc7){ var ret=[]; _bba.forEach(_bc7,function(_bc8){ ret.push(_bc8[1]); }); return ret; }); return d; }; return dojo.DeferredList; }); },"sce/api/_APIConstants":function(){ define("sce/api/_APIConstants",function(){ var _bc9={LOAD_PRIORITY:2000,TIMEOUT:(10*1000)}; return _bc9; }); },"url:sce/mobile/templates/FlyoutNavigation.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","url:sce/templates/ProgressBar.html":"
      \r\n
      \r\n
      \r\n

      \r\n \r\n ${_progressText}\r\n \r\n 0\r\n of\r\n 0\r\n \r\n \r\n 0%\r\n \r\n \r\n \r\n

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","sce/nls/analytics":function(){ define("sce/nls/analytics",{root:({outageSearch:({name:"maintenance outage status",friendlyName:"maintenance outage status",process:"outage search and results",form:"outage search",application:"outage",section:"sce:onc",baseEvent:"outage.search",idFormat:"outage_id:${outageid}"}),outageMap:({nameList:"list of current outages",friendlyNameList:"list of current outages",nameMap:"map of current outages",friendlyNameMap:"map of current outages",application:"outage center",section:"cms:outage center",process:"current outages",baseEvent:"outage.map",searchTermFormat:"map:${searchTerm}"}),avm:({name:"location (step 1)",homeBusinessName:"location (step 1)",streetlightName:"location (step 1)",friendlyName:"report-an-outage - location (step 1)",homeBusinessFriendlyName:"report-an-outage - location (step 1)",streetlightFriendlyName:"report-streetlight-outage - location (step 1)",steps:({zipcode:"zipcode",address:"address",displayMultipleAddress:"displayMultipleAddress",displayMultipleMeters:"displayMultipleMeters",verifyAddress:"verifyAddress"}),application:"outage",section:"sce:onc",process:"reporting outage",homeBusinessProcess:"reporting outage",streetlightProcess:"reporting streetlight outage",form:"aoc-notification",homeBusinessForm:"aoc-notification",streetlightForm:"aoc-notification-streetlight",event:"report-an-outage - location (step 1)",homeBusinessEvent:"report-an-outage - location (step 1)",streetlightEvent:"report-streetlight-outage - location (step 1)",events:["form.start","report-an-outage - location (step 1)"]})}),"es":true,"ko":true,"vi":true,"zh":true}); },"sce/_Validation":function(){ define("sce/_Validation",["dojo/_base/declare","dojo/_base/lang","dojo/_base/array","dojo/dom","dojo/dom-attr","dojo/on","dojo/keys","dojo/_base/event","dojo/mouse","dojo/query","dojo/window","dijit/focus","dijit/registry","sce/FormValidationResults","sce/global/Utility"],function(_bca,lang,_bcb,dom,_bcc,on,keys,_bcd,_bce,_bcf,win,_bd0,_bd1,_bd2,_bd3){ var _bd4={"email":"email","zipcode":"tel","accountno":"tel","serviceaccountno":"tel","zipcodeext":"tel","phoneno":"tel","phonenoext":"tel","ssn":"password","number":"tel","oannumber":"tel"}; var _bd5=_bca("sce._Validation",[],{mustMatch:null,mustBeGreaterThanDate:null,typeMapping:_bd4,noBlurValidate:false,blurValidationHandler:null,constructor:function(){ this.validation=[]; this.validationRuleSets=[]; this.dependantValidation=[]; },startup:function(){ this.attachValidation(dom.byId(this.id)); require(["dojo/ready"],lang.hitch(this,function(_bd6){ _bd6(lang.hitch(this,function(){ if((this.dependantValidation)&&(this.dependantValidation.length>0)){ var _bd7=dom.byId(this.id),_bd8=_bd1.byId(this.id),_bd9=null; for(var i=0;i-1),_be1=(_bcb.indexOf(_bdf,this.id)>-1); if((_be0)&&(!_be1)){ this.validate(null,true); } },attachValidation:function(_be2){ if(this.validation.length>0){ for(var i=0;i=8)&&(str.length<=128)); }); break; case "val1Number": this.validationRuleSets.push(lang.hitch(this,this._isVal1Number)); this.addValidationItem("1 Uppercase letter",function(str){ return (/[A-Z]/.test(str)); }); break; case "val8to128": this.validationRuleSets.push(lang.hitch(this,this._isVal8to128)); this.addValidationItem("1 Number",function(str){ return (/[0-9]/.test(str)); }); break; case "passvalidator": this._liveValidatePasswordValidator(_be2); break; case "preventblurvalidate": this.preventBlurValidation(); break; case "notempty": case "forceblurvalidate": this.validationRuleSets.push(lang.hitch(this,this._dummyValidRuleSet)); this.enableBlurValidation(); break; case "forcecontentclear": this.validationRuleSets.push(lang.hitch(this,this._dummyValidRuleSet)); this.enableStyleClearOnContentChange(); break; case "textarea-maxlength": this.validationRuleSets.push(lang.hitch(this,this._isValidLength)); this._liveValidateTextAreaLength(this); break; default: this.validation.splice(i,1); } } this.validateResults=new Array(this.validation.length); } },_dummyValidRuleSet:function(){ return true; },_isFilledOut:function(){ var str=this.get("value"); return str.trim()!=""; },_isVisible:function(){ return (this.domNode.offsetHeight>0); },_isValidEmail:function(_be3){ _be3=(_be3||this.get("value")); var _be4=true; var _be5=true; var _be6=true; var _be7=_be3.search("@")+1; var _be8=_be3.substring(0,_be7); var _be9=new RegExp("^(['*()!#$%-&-{|}+\\-\\/-9=?A-Z^-~()]+[.])*['*!#$%-&-{|}+\\-\\/-9=?A-Z^-~()]+(([A-Za-z]))*@"); var _bea=new RegExp("^([-\\a-zA-Z0-9]{1,63}[.])*[-\\a-zA-Z0-9]{1,63}$"); var _beb=_be3.substring(_be7,_be3.length); var _bec=_bea.test(_beb); var _bed=_beb.indexOf("."); _be5=_be9.test(_be8); if(_be3.length>65){ _be6=false; } if(_be5&&_be6&&_bec&&_bed!=-1){ _be4=true; }else{ _be4=false; } return _be4; },_isEmpty:function(str){ str=(str||this.get("value")); return str.trim()==""; },_isInTerritory:function(){ var str=this.get("value"); var _bee=["92679","92630","92618"]; return true; },_isVal1Upper:function(){ var _bef=_bd1.byId(this.fieldToValidate); return (/[A-Z]/.test(_bef.value)); },_isVal1Lower:function(){ var _bf0=_bd1.byId(this.fieldToValidate); return (/[a-z]/.test(_bf0.value)); },_isVal1Number:function(){ var _bf1=_bd1.byId(this.fieldToValidate); return (/[0-9]/.test(_bf1.value)); },_isVal8to128:function(){ var _bf2=_bd1.byId(this.fieldToValidate); return ((_bf2.value.length>=8)&&(_bf2.value.length<=128)); },_isMatching:function(){ var _bf3=dom.byId(this.mustMatch).value,_bf4=dom.byId(this.id).value,ret=(_bf3===_bf4); return ret; },_isValidPlain:function(str){ str=(str||this.get("value")); var _bf5=true; var re=new RegExp(/^[ #$'.:;,_`~^\\a-zA-Z0-9\-]{0,120}$/); if(!re.test(str)){ _bf5=false; }else{ _bf5=true; } return _bf5; },_isValidPlainLong:function(str){ str=(str||this.get("value")); var _bf6=true; var re=new RegExp(/^[ #$'.:;,_`~^\\a-zA-Z0-9\-]{0,256}$/); if(!re.test(str)){ _bf6=false; }else{ _bf6=true; } return _bf6; },_isValidPassword:function(str){ str=(str||this.get("value")); var _bf7=true; var re=new RegExp(/^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,128}$/); if(!re.test(str)){ _bf7=false; }else{ _bf7=true; } return _bf7; },_isValidNumber:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d*$/); return re.test(str); },_isValidOANNumber:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{6,9}$/); return re.test(str); },_isValidAlphaNumeric:function(str){ str=(str||this.get("value")); var re=new RegExp(/^[\w\d]*$/); return re.test(str); },_isValidZip:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{5}$/); return re.test(str); },_isValidIntlZip:function(str){ str=(str||this.get("value")); var re=new RegExp(/^[\w \d-]{0,10}$/); return re.test(str); },_isValidZipExtension:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{4}$/); return re.test(str); },_isValidAccountNo:function(str){ str=(str||this.get("value")); var re=new RegExp(/^2-\d{2}-\d{3}-\d{4}$/); return re.test(str); },_isValidServiceAccountNo:function(str){ str=(str||this.get("value")); var re=new RegExp(/^3-\d{3}-\d{4}-\d{2}$/); return re.test(str); },_isValidPhoneNo:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{3}-\d{3}-\d{4}$/); var _bf8=re.test(str); if(_bf8==false){ var _bf9=this.__formatPhoneNumber(str); return re.test(_bf9); } return _bf8; },_isValidPhoneExt:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{0,5}$/); return re.test(str); },_isValidHouseNoWithFrac:function(str){ str=(str||this.get("value")); var re=new RegExp(/^([a-zA-Z0-9]{0,6})?(?:(?:\s+)?(\d{1}\/\d{1}))?$/); return re.test(str); },_isValidUnitNo:function(str){ str=(str||this.get("value")); var re=new RegExp(/^(?![- 0\\\/])[- \w\d\\\/]{0,8}$/); return re.test(str); },_isValidDriversLicense:function(str){ str=(str||this.get("value")); var _bfa=false; if(str.length<4){ _bfa=false; }else{ var re=new RegExp(/^[A-Za-z0-9]*$/); _bfa=re.test(str); } return _bfa; },_isValidSSN:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{3}-\d{2}-\d{4}$|^\d{9}$/); return re.test(str); },_isValidTIN:function(str){ str=(str||this.get("value")); var re=new RegExp(/^\d{2}-\d{7}$|^\d{9}$/); return re.test(str); },_isGreaterDate:function(){ var _bfb=null,_bfc=null,_bfd=null,_bfe=null,ret=null; try{ _bfb=dom.byId(this.mustBeGreaterThanDate).value,_bfc=dom.byId(this.id).value,_bfd=_bd3.parseMMDDYYYY(_bfb),_bfe=_bd3.parseMMDDYYYY(_bfc),ret=(_bfe>_bfd); } catch(e){ ret=false; } return ret; },_isValidMMDDYYYY:function(str){ str=(str||this.get("value")); var re=new RegExp(/^(\d{2})\/(\d{2})\/(\d{4})$/); var _bff=re.exec(str); var _c00=null; var ret=true; if(_bff&&_bff.length>=4){ _c00={month:parseInt(_bff[1]),day:parseInt(_bff[2]),year:parseInt(_bff[3])}; if(_c00.month>12){ ret=false; } if(_c00.day>31){ ret=false; } if(_c00.year>2020){ ret=false; } }else{ ret=false; } return ret; },_isValidSecurityQuestion:function(str){ str=(str||this.get("value")); var re=new RegExp(/^[A-Za-z0-9 _]*[A-Za-z0-9][A-Za-z0-9 _]*$/); return re.test(str); },_isValidURL:function(str){ str=(str||this.get("value")); var re=new RegExp(/^(?:http|https):\/\/.+\..+\..+$/); return re.test(str); },_isValidLength:function(str,_c01){ var str=(str||this.get("value")),_c01=(_c01||this.get("maxLength")); return (str.length<=_c01); },_liveValidateEmail:function(_c02){ var _c03=function(_c04,e){ if(e.charCode==0||e.charCode==13){ return; } var _c05,_c06,_c07,_c08; _c05=String.fromCharCode(e.charCode); _c06=_c04.value; _c07=this.__getCurrentCursorPosition(_c04); _c08=_c06.search("@")+1; if(_c05==="@"){ if(/@/.test(_c06)){ _bcd.stop(e); } } function _c09(_c0a,_c0b,_c0c){ var _c0d=_c0b-1,_c0e=_c0b; if(_c0a.length==0){ return true; } if((_c0d>=0)&&(_c0a.length>0)){ if(_c0a.charAt(_c0d)===_c0c){ return true; } } if((_c0e<=_c0a.length)&&(_c0a.length>0)){ if(_c0a.charAt(_c0e)===_c0c){ return true; } } }; if((_c05===".")||(_c05==="@")){ if(_c09(_c06,_c07.startPos,".")||_c09(_c06,_c07.startPos,"@")){ _bcd.stop(e); } } if((!_c08)||_c07.startPos<_c08){ var re=new RegExp("['*()@.!#$%-&-{|}+\\-\\/-9=?A-Z^-~]"); if(!re.test(_c05)){ _bcd.stop(e); } }else{ if(_c07.startPos>=_c08){ var re=new RegExp("[-\\a-zA-Z0-9.]"); if(!re.test(_c05)){ _bcd.stop(e); } } } return; }; var _c0f=function(_c10,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c11=function(_c12,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c13=function(_c14){ var _c15,_c16,_c17=_c14.value,_c18=0,_c19=_c17.search("@")+1,_c1a=new RegExp("[^'*()@.!#$%-&-{|}+\\-\\/-9=?A-Z^-~]"),_c1b=new RegExp("[^-\\a-zA-Z0-9.]"),re=new RegExp("\\.(?=\\.)|@(?=@)|@(?=\\.)|\\.(?=@)"); if(re.test(_c17)){ _c14.value=""; return; } _c18=(_c19?_c19:_c17.length); _c15=_c17.substring(0,_c18); if(_c17.length>0){ if(_c1a.test(_c15)){ _c14.value=""; return; } } if(_c19){ _c16=_c17.substring(_c19,_c17.length); if(_c16.length>0){ if(_c1b.test(_c16)){ _c14.value=""; return; } } } }; var _c1c=null; var _c1d=function(_c1e){ _c1c=setInterval(lang.hitch(this,_c13,_c1e),500); }; var _c1f=function(){ if(_c1c){ clearInterval(_c1c); } }; on(_c02,"keypress",lang.hitch(this,_c03,_c02)); on(_c02,"keyup",lang.hitch(this,_c11,_c02)); on(_c02,"keydown",lang.hitch(this,_c0f,_c02)); on(_c02,"focus",lang.hitch(this,_c1d,_c02)); on(_c02,"blur",_c1f); },_liveValidateZipCode:function(_c20){ var _c21=function(_c22,e){ if(e.charCode==0||e.charCode==13){ return; } var _c23=String.fromCharCode(e.charCode); var re=new RegExp(/\d/); if(!re.test(_c23)){ _bcd.stop(e); } if(_c22.value.length>=5){ _bcd.stop(e); } return; }; var _c24=function(_c25,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c26=function(_c27,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c28=function(_c29){ var re=new RegExp(/^\d{0,5}$/); if(!re.test(_c29.value)){ _c29.value=""; } }; var _c2a=null; var _c2b=function(_c2c){ _c2a=setInterval(lang.hitch(this,_c28,_c2c),500); }; var _c2d=function(){ if(_c2a){ clearInterval(_c2a); } }; on(_c20,"keypress",lang.hitch(this,_c21,_c20)); on(_c20,"keyup",lang.hitch(this,_c26,_c20)); on(_c20,"keydown",lang.hitch(this,_c24,_c20)); on(_c20,"focus",lang.hitch(this,_c2b,_c20)); on(_c20,"blur",_c2d); },_liveValidateNumber:function(_c2e){ var _c2f=function(_c30,e){ if(e.charCode==0||e.charCode==13){ return; } var _c31=String.fromCharCode(e.charCode); var re=new RegExp(/\d/); if(!re.test(_c31)){ _bcd.stop(e); } return; }; var _c32=function(_c33,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c34=function(_c35,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c36=function(_c37){ var re=new RegExp(/^\d*$/); if(!re.test(_c37.value)){ _c37.value=""; } }; var _c38=null; var _c39=function(_c3a){ _c38=setInterval(lang.hitch(this,_c36,_c3a),500); }; var _c3b=function(){ if(_c38){ clearInterval(_c38); } }; on(_c2e,"keypress",lang.hitch(this,_c2f,_c2e)); on(_c2e,"keyup",lang.hitch(this,_c34,_c2e)); on(_c2e,"keydown",lang.hitch(this,_c32,_c2e)); on(_c2e,"focus",lang.hitch(this,_c39,_c2e)); on(_c2e,"blur",_c3b); },_liveValidateName:function(_c3c){ var _c3d=function(_c3e,e){ if(e.charCode==0||e.charCode==13){ return; } var _c3f=String.fromCharCode(e.charCode); var re=new RegExp(/[ #$'.:;_`~a-zA-Z]/); if(!re.test(_c3f)){ _bcd.stop(e); } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } return; }; var _c40=function(_c41,e){ if(e.ctrlKey||e.altKey){ return; } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } }; var _c42=function(_c43,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c44=function(_c45){ var re=new RegExp(/^[ #$'.:;_`~\\a-zA-Z]{0,120}$/); if(!re.test(_c45.value)){ _c45.value=""; } }; var _c46=null; var _c47=function(_c48){ _c46=setInterval(lang.hitch(this,_c44,_c48),500); }; var _c49=function(){ if(_c46){ clearInterval(_c46); } }; on(_c3c,"keypress",lang.hitch(this,_c3d,_c3c)); on(_c3c,"keyup",lang.hitch(this,_c42,_c3c)); on(_c3c,"keydown",lang.hitch(this,_c40,_c3c)); on(_c3c,"focus",lang.hitch(this,_c47,_c3c)); on(_c3c,"blur",_c49); },_liveValidateOniName:function(_c4a){ var _c4b=function(_c4c,e){ if(e.charCode==0||e.charCode==13){ return; } var _c4d=String.fromCharCode(e.charCode); var re=new RegExp(/[ 'a-zA-Z\-]/); if(!re.test(_c4d)){ _bcd.stop(e); } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } return; }; var _c4e=function(_c4f,e){ if(e.ctrlKey||e.altKey){ return; } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } }; var _c50=function(_c51,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c52=function(_c53){ var re=new RegExp(/^[ 'a-zA-Z\-]{0,120}$/); if(!re.test(_c53.value)){ _c53.value=""; } }; var _c54=null; var _c55=function(_c56){ _c54=setInterval(lang.hitch(this,_c52,_c56),500); }; var _c57=function(){ if(_c54){ clearInterval(_c54); } }; on(_c4a,"keypress",lang.hitch(this,_c4b,_c4a)); on(_c4a,"keyup",lang.hitch(this,_c50,_c4a)); on(_c4a,"keydown",lang.hitch(this,_c4e,_c4a)); on(_c4a,"focus",lang.hitch(this,_c55,_c4a)); on(_c4a,"blur",_c57); },_liveValidateAlphaNumeric:function(_c58){ var _c59=function(_c5a,e){ if(e.charCode==0||e.charCode==13){ return; } var _c5b=String.fromCharCode(e.charCode); var re=new RegExp(/[a-zA-Z0-9]/); if(!re.test(_c5b)){ _bcd.stop(e); } return; }; var _c5c=function(_c5d,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c5e=function(_c5f,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c60=function(_c61){ var re=new RegExp(/^[a-zA-Z0-9]*$/); if(!re.test(_c61.value)){ _c61.value=""; } }; var _c62=null; var _c63=function(_c64){ _c62=setInterval(lang.hitch(this,_c60,_c64),500); }; var _c65=function(){ if(_c62){ clearInterval(_c62); } }; on(_c58,"keypress",lang.hitch(this,_c59,_c58)); on(_c58,"keyup",lang.hitch(this,_c5e,_c58)); on(_c58,"keydown",lang.hitch(this,_c5c,_c58)); on(_c58,"focus",lang.hitch(this,_c63,_c58)); on(_c58,"blur",_c65); },_liveValidateSecurityQuestion:function(_c66){ var _c67=function(_c68,e){ if(e.charCode==0||e.charCode==13){ return; } var _c69=String.fromCharCode(e.charCode); var re=new RegExp(/[A-Za-z0-9 _]/); if(!re.test(_c69)){ _bcd.stop(e); } return; }; var _c6a=function(_c6b,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c6c=function(_c6d,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c6e=function(_c6f){ var re=new RegExp(/^[A-Za-z0-9 _]*[A-Za-z0-9][A-Za-z0-9 _]*$/); if(!re.test(_c6f.value)){ _c6f.value=""; } }; var _c70=null; var _c71=function(_c72){ _c70=setInterval(lang.hitch(this,_c6e,_c72),500); }; var _c73=function(){ if(_c70){ clearInterval(_c70); } }; on(_c66,"keypress",lang.hitch(this,_c67,_c66)); on(_c66,"keyup",lang.hitch(this,_c6c,_c66)); on(_c66,"keydown",lang.hitch(this,_c6a,_c66)); on(_c66,"focus",lang.hitch(this,_c71,_c66)); on(_c66,"blur",_c73); },_liveValidateURL:function(_c74){ var _c75=function(_c76,e){ if(e.charCode===0||e.charCode===13){ return; } var _c77=String.fromCharCode(e.charCode); var re=new RegExp(/[ #$'.:;,_`~^\\a-zA-Z0-9\-\/]/); if(!re.test(_c77)){ _bcd.stop(e); } return; }; var _c78=function(_c79,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c7a=function(_c7b,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c7c=function(_c7d){ var re=new RegExp(/^[ #$'.:;,_`~^\\a-zA-Z0-9\-\/]{0,120}$/); if(!re.test(_c7d.value)){ _c7d.value=""; } }; var _c7e=null; var _c7f=function(_c80){ _c7e=setInterval(lang.hitch(this,_c7c,_c80),500); }; var _c81=function(){ if(_c7e){ clearInterval(_c7e); } }; on(_c74,"keypress",lang.hitch(this,_c75,_c74)); on(_c74,"keyup",lang.hitch(this,_c7a,_c74)); on(_c74,"keydown",lang.hitch(this,_c78,_c74)); on(_c74,"focus",lang.hitch(this,_c7f,_c74)); on(_c74,"blur",_c81); },_liveValidatePlain:function(_c82){ var _c83=function(_c84,e){ if(e.charCode==0||e.charCode==13){ return; } var _c85=String.fromCharCode(e.charCode); var re=new RegExp(/[ #$'.:;,_`~^\\a-zA-Z0-9\-]/); if(!re.test(_c85)){ _bcd.stop(e); } return; }; var _c86=function(_c87,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c88=function(_c89,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c8a=function(_c8b){ var re=new RegExp(/^[ #$'.:;,_`~^\\a-zA-Z0-9\-]{0,120}$/); if(!re.test(_c8b.value)){ _c8b.value=""; } }; var _c8c=null; var _c8d=function(_c8e){ _c8c=setInterval(lang.hitch(this,_c8a,_c8e),500); }; var _c8f=function(){ if(_c8c){ clearInterval(_c8c); } }; on(_c82,"keypress",lang.hitch(this,_c83,_c82)); on(_c82,"keyup",lang.hitch(this,_c88,_c82)); on(_c82,"keydown",lang.hitch(this,_c86,_c82)); on(_c82,"focus",lang.hitch(this,_c8d,_c82)); on(_c82,"blur",_c8f); },_liveValidatePlainLong:function(_c90){ var _c91=function(_c92,e){ if(e.charCode==0||e.charCode==13){ return; } var _c93=String.fromCharCode(e.charCode); var re=new RegExp(/[ #$'.:;,_`~^\\a-zA-Z0-9\-]/); if(!re.test(_c93)){ _bcd.stop(e); } return; }; var _c94=function(_c95,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c96=function(_c97,e){ if(e.ctrlKey||e.altKey){ return; } }; var _c98=function(_c99){ var re=new RegExp(/^[ #$'.:;,_`~^\\a-zA-Z0-9\-]{0,256}$/); if(!re.test(_c99.value)){ _c99.value=""; } }; var _c9a=null; var _c9b=function(_c9c){ _c9a=setInterval(lang.hitch(this,_c98,_c9c),500); }; var _c9d=function(){ if(_c9a){ clearInterval(_c9a); } }; on(_c90,"keypress",lang.hitch(this,_c91,_c90)); on(_c90,"keyup",lang.hitch(this,_c96,_c90)); on(_c90,"keydown",lang.hitch(this,_c94,_c90)); on(_c90,"focus",lang.hitch(this,_c9b,_c90)); on(_c90,"blur",_c9d); },_liveValidateTextAreaLength:function(_c9e){ function _c9f(e){ var _ca0=this.get("maxLength"),_ca1=this.get("value"); if(e.charCode==0||e.charCode==13){ return; } if(_ca0&&(_ca1.length>=_ca0)){ _bcd.stop(e); return false; } }; on(_c9e.domNode,"keypress",lang.hitch(_c9e,_c9f)); },__formatCustomerAccountNumber:function(str){ var re=new RegExp("^[0-9]"); var _ca2=str.split(""); var _ca3=""; for(var i=0;i<_ca2.length;i++){ if(re.test(_ca2[i])){ _ca3=_ca3+_ca2[i]; } } var _ca4=[]; if(_ca3.length>0){ _ca4[0]=_ca3.substring(0,1); if(_ca3.length>1){ _ca4[1]=_ca3.substring(1,3); if(_ca3.length>3){ _ca4[2]=_ca3.substring(3,6); if(_ca3.length>6){ _ca4[3]=_ca3.substring(6,10); } } } _ca3=""; for(var i=0;i<_ca4.length;i++){ if(i!=0){ _ca3=_ca3+"-"+_ca4[i]; }else{ _ca3=_ca4[0]; } } var _ca5=new RegExp(/^([0-9]|-)*$/); if(_ca5.test(_ca3)){ return _ca3; }else{ return ""; } }else{ return ""; } },__formatServiceAccountNumber:function(str){ var re=new RegExp("^[0-9]"); var _ca6=str.split(""); var _ca7=""; for(var i=0;i<_ca6.length;i++){ if(re.test(_ca6[i])){ _ca7=_ca7+_ca6[i]; } } var _ca8=[]; if(_ca7.length>0){ _ca8[0]=_ca7.substring(0,1); if(_ca7.length>1){ _ca8[1]=_ca7.substring(1,4); if(_ca7.length>3){ _ca8[2]=_ca7.substring(4,8); if(_ca7.length>6){ _ca8[3]=_ca7.substring(8,10); } } } _ca7=""; for(var i=0;i<_ca8.length;i++){ if(i!=0){ _ca7=_ca7+"-"+_ca8[i]; }else{ _ca7=_ca8[0]; } } var _ca9=new RegExp(/^([0-9]|-)*$/); if(_ca9.test(_ca7)){ return _ca7; }else{ return ""; } }else{ return ""; } },_isValidName:function(name){ name=(name||this.get("value")); var _caa=true; var re=new RegExp(/^[ #$'.:;_`~^\\a-zA-Z]{0,120}$/); if(!re.test(name)){ _caa=false; }else{ _caa=true; } return _caa; },_isValidRateName:function(name){ name=(name||this.get("value")); var _cab=true; var re=new RegExp(/^[ a-zA-Z]{0,120}$/); if(!re.test(name)){ _cab=false; }else{ _cab=true; } return _cab; },_liveValidateRateName:function(_cac){ var _cad=function(_cae,e){ if(e.charCode==0||e.charCode==13){ return; } var _caf=String.fromCharCode(e.charCode); var re=new RegExp(/[ a-zA-Z]/); if(!re.test(_caf)){ _bcd.stop(e); } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } return; }; var _cb0=function(_cb1,e){ if(e.ctrlKey||e.altKey){ return; } if(this.maxLength&&this.value.length>=this.maxLength){ return false; } }; var _cb2=function(_cb3,e){ if(e.ctrlKey||e.altKey){ return; } }; var _cb4=function(_cb5){ var re=new RegExp(/^[ a-zA-Z]{0,120}$/); if(!re.test(_cb5.value)){ _cb5.value=""; } }; var _cb6=null; var _cb7=function(_cb8){ _cb6=setInterval(lang.hitch(this,_cb4,_cb8),500); }; var _cb9=function(){ if(_cb6){ clearInterval(_cb6); } }; on(_cac,"keypress",lang.hitch(this,_cad,_cac)); on(_cac,"keyup",lang.hitch(this,_cb2,_cac)); on(_cac,"keydown",lang.hitch(this,_cb0,_cac)); on(_cac,"focus",lang.hitch(this,_cb7,_cac)); on(_cac,"blur",_cb9); },_isValidOniName:function(_cba){ _cba=(_cba||this.get("value")); var _cbb=true; var re=new RegExp(/^[ 'a-zA-Z\-]{0,120}$/); if(!re.test(_cba)){ _cbb=false; }else{ _cbb=true; } return _cbb; },_liveValidateAccountNumber:function(_cbc){ if(_bcf("html.touch").length>0){ var iOS=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?true:false; if(!iOS){ on(_cbc,"blur",lang.hitch(this,function(){ _cbc.value=this.__formatCustomerAccountNumber(_cbc.value); })); return; } } var _cbd=function(_cbe,e){ if(e.which===0||e.charCode===0||e.charCode==13||e.ctrlKey||e.metaKey||e.altKey){ return; } var _cbf=this.__getCharacterPressed(e); var _cc0=_cbe.value; var _cc1=this.__getCurrentCursorPosition(_cbe); var _cc2=_cc0.substring(0,_cc1.startPos)+_cbf+_cc0.substring(_cc1.endPos,_cc0.length); var re=new RegExp(/^([0-9]|-)*$/); if(!re.test(_cc2)){ e.preventDefault(); }else{ var _cc3=this.__formatCustomerAccountNumber(_cc2); if(_cc3!=_cc2){ e.preventDefault(); _cbe.value=_cc3; if(_cc1.startPos==0){ this.__setCurrentCursorPosition(_cbe,1); }else{ if(_cc1.endPos==_cc0.length){ this.__setCurrentCursorPosition(_cbe,_cc3.length); }else{ var _cc4=_cc1.startPos+1; if(_cc3.substring(_cc4-1,_cc4)=="-"){ _cc4++; } this.__setCurrentCursorPosition(_cbe,_cc4); } } } } }; var _cc5=function(_cc6,e){ var _cc7=this.__getCharCode(e); if(_cc7==86&&(e.ctrlKey||e.metaKey)){ setTimeout(lang.hitch(this,function(){ _cc6.value=this.__formatCustomerAccountNumber(_cc6.value); }),200); } if(_cc7==keys.BACKSPACE||_cc7==keys.DELETE){ var _cc8=false; if(_cc7==keys.BACKSPACE){ _cc8=true; } var _cc9=_cc6.value; var _cca=this.__getCurrentCursorPosition(_cc6); var _ccb=""; if(_cca.startPos==_cca.endPos){ if(_cc8){ if(_cc9.substring(_cca.startPos-1,_cca.startPos)=="-"){ return; } }else{ if(_cc9.substring(_cca.startPos,_cca.startPos+1)=="-"){ return; } } if(_cc8){ _ccb=_cc9.substring(0,_cca.startPos-1)+_cc9.substring(_cca.startPos,_cc9.length); }else{ _ccb=_cc9.substring(0,_cca.startPos)+_cc9.substring(_cca.startPos+1,_cc9.length); } }else{ _ccb=_cc9.substring(0,_cca.startPos)+_cc9.substring(_cca.endPos,_cc9.length); } var re=new RegExp(/^2([0-9]|-)*$/); if(!re.test(_cc9)){ _ccb=this.__formatCustomerAccountNumber(_ccb); _cc6.value=_ccb; e.preventDefault(); } if(!re.test(_ccb)&&_ccb!=""){ e.preventDefault(); }else{ var _ccc=this.__formatCustomerAccountNumber(_ccb); if(_ccc!=_ccb){ e.preventDefault(); _cc6.value=_ccc; if(_cca.startPos==0){ this.__setCurrentCursorPosition(_cc6,0); }else{ if(_cca.endPos==_cc9.length-1){ this.__setCurrentCursorPosition(_cc6,_ccc.length); }else{ var _ccd; if(_cc8){ _ccd=_cca.startPos-1; if(_ccd>_ccc.length){ _ccd=_ccc.length; } }else{ _ccd=_cca.startPos; if(_ccd>_ccc.length){ _ccd=_ccc.length; } } this.__setCurrentCursorPosition(_cc6,_ccd); } } } } } }; on(_cbc,"keypress",lang.hitch(this,_cbd,_cbc)); on(_cbc,"keydown",lang.hitch(this,_cc5,_cbc)); },_liveValidateServiceAccountNumber:function(_cce){ if(_bcf("html.touch").length>0){ var iOS=navigator.userAgent.match(/(iPad|iPhone|iPod)/g)?true:false; if(!iOS){ on(_cce,"blur",lang.hitch(this,function(){ _cce.value=this.__formatServiceAccountNumber(_cce.value); })); return; } } var _ccf=function(_cd0,e){ if(e.which===0||e.charCode===0||e.charCode==13||e.ctrlKey||e.metaKey||e.altKey){ return; } var _cd1=this.__getCharacterPressed(e); var _cd2=_cd0.value; var _cd3=this.__getCurrentCursorPosition(_cd0); var _cd4=_cd2.substring(0,_cd3.startPos)+_cd1+_cd2.substring(_cd3.endPos,_cd2.length); var re=new RegExp(/^([0-9]|-)*$/); if(!re.test(_cd4)){ e.preventDefault(); }else{ var _cd5=this.__formatServiceAccountNumber(_cd4); if(_cd5!=_cd4){ e.preventDefault(); _cd0.value=_cd5; if(_cd3.startPos==0){ this.__setCurrentCursorPosition(_cd0,1); }else{ if(_cd3.endPos==_cd2.length){ this.__setCurrentCursorPosition(_cd0,_cd5.length); }else{ var _cd6=_cd3.startPos+1; if(_cd5.substring(_cd6-1,_cd6)=="-"){ _cd6++; } this.__setCurrentCursorPosition(_cd0,_cd6); } } } } }; var _cd7=function(_cd8,e){ var _cd9=this.__getCharCode(e); if(_cd9==86&&(e.ctrlKey||e.metaKey)){ setTimeout(lang.hitch(this,function(){ _cd8.value=this.__formatServiceAccountNumber(_cd8.value); }),200); } if(_cd9==keys.BACKSPACE||_cd9==keys.DELETE){ var _cda=false; if(_cd9==keys.BACKSPACE){ _cda=true; } var _cdb=_cd8.value; var _cdc=this.__getCurrentCursorPosition(_cd8); var _cdd=""; if(_cdc.startPos==_cdc.endPos){ if(_cda){ if(_cdb.substring(_cdc.startPos-1,_cdc.startPos)=="-"){ return; } }else{ if(_cdb.substring(_cdc.startPos,_cdc.startPos+1)=="-"){ return; } } if(_cda){ _cdd=_cdb.substring(0,_cdc.startPos-1)+_cdb.substring(_cdc.startPos,_cdb.length); }else{ _cdd=_cdb.substring(0,_cdc.startPos)+_cdb.substring(_cdc.startPos+1,_cdb.length); } }else{ _cdd=_cdb.substring(0,_cdc.startPos)+_cdb.substring(_cdc.endPos,_cdb.length); } var re=new RegExp(/^3([0-9]|-)*$/); if(!re.test(_cdb)){ _cdd=this.__formatServiceAccountNumber(_cdd); _cd8.value=_cdd; e.preventDefault(); } if(!re.test(_cdd)&&_cdd!=""){ e.preventDefault(); }else{ var _cde=this.__formatServiceAccountNumber(_cdd); if(_cde!=_cdd){ e.preventDefault(); _cd8.value=_cde; if(_cdc.startPos==0){ this.__setCurrentCursorPosition(_cd8,0); }else{ if(_cdc.endPos==_cdb.length-1){ this.__setCurrentCursorPosition(_cd8,_cde.length); }else{ var _cdf; if(_cda){ _cdf=_cdc.startPos-1; if(_cdf>_cde.length){ _cdf=_cde.length; } }else{ _cdf=_cdc.startPos; if(_cdf>_cde.length){ _cdf=_cde.length; } } this.__setCurrentCursorPosition(_cd8,_cdf); } } } } } }; on(_cce,"keypress",lang.hitch(this,_ccf,_cce)); on(_cce,"keydown",lang.hitch(this,_cd7,_cce)); },_liveValidatePasswordValidator:function(_ce0){ var _ce1=dom.byId(this.fieldToValidate); var _ce2=_bd1.byId(this.fieldToValidate); var _ce3=this; on(_ce1,"focus",function(e){ _ce3.showValidator(); }); on(_ce1,"blur",function(e){ if(_ce3.isValid()){ _ce3.hideValidator(); _ce2.showValidStyle(); }else{ _ce2.showErrorStyle(); } }); on(_ce1,"keyup",function(e){ var str=_ce2.get("value"); _ce3.validateString(str); }); },_liveValidatePhoneNumber:function(_ce4){ if(_bcf("html.touch").length>0){ on(_ce4,"keydown",lang.hitch(this,function(){ _ce4.value=this.__formatPhoneNumber(_ce4.value); })); on(_ce4,"keypress",lang.hitch(this,function(){ _ce4.value=this.__formatPhoneNumber(_ce4.value); })); on(_ce4,"keyup",lang.hitch(this,function(){ _ce4.value=this.__formatPhoneNumber(_ce4.value); })); on(_ce4,"input",lang.hitch(this,function(){ _ce4.value=this.__formatPhoneNumber(_ce4.value); })); on(_ce4,"blur",lang.hitch(this,function(){ _ce4.value=this.__formatPhoneNumber(_ce4.value); })); return; } var _ce5=function(_ce6,e){ if(e.which===0||e.charCode===0||e.charCode==13||e.ctrlKey||e.metaKey||e.altKey){ return; } var _ce7=this.__getCharacterPressed(e); var _ce8=_ce6.value; var _ce9=this.__getCurrentCursorPosition(_ce6); var _cea=_ce8.substring(0,_ce9.startPos)+_ce7+_ce8.substring(_ce9.endPos,_ce8.length); var re=new RegExp(/^([0-9]|-)*$/); if(!re.test(_cea)){ e.preventDefault(); }else{ var _ceb=this.__formatPhoneNumber(_cea); if(_ceb!=_cea){ e.preventDefault(); _ce6.value=_ceb; if(_ce9.startPos==0){ this.__setCurrentCursorPosition(_ce6,1); }else{ if(_ce9.endPos==_ce8.length){ this.__setCurrentCursorPosition(_ce6,_ceb.length); }else{ var _cec=_ce9.startPos+1; if(_ceb.substring(_cec-1,_cec)=="-"){ _cec++; } this.__setCurrentCursorPosition(_ce6,_cec); } } } } }; var _ced=function(_cee,e){ var _cef=this.__getCharCode(e); if(_cef==86&&(e.ctrlKey||e.metaKey)){ setTimeout(lang.hitch(this,function(){ _cee.value=this.__formatPhoneNumber(_cee.value); }),200); } if(_cef==keys.BACKSPACE||_cef==keys.DELETE){ var _cf0=false; if(_cef==keys.BACKSPACE){ _cf0=true; } var _cf1=_cee.value; var _cf2=this.__getCurrentCursorPosition(_cee); var _cf3=""; if(_cf2.startPos==_cf2.endPos){ if(_cf0){ if(_cf1.substring(_cf2.startPos-1,_cf2.startPos)=="-"){ return; } }else{ if(_cf1.substring(_cf2.startPos,_cf2.startPos+1)=="-"){ return; } } if(_cf0){ _cf3=_cf1.substring(0,_cf2.startPos-1)+_cf1.substring(_cf2.startPos,_cf1.length); }else{ _cf3=_cf1.substring(0,_cf2.startPos)+_cf1.substring(_cf2.startPos+1,_cf1.length); } }else{ _cf3=_cf1.substring(0,_cf2.startPos)+_cf1.substring(_cf2.endPos,_cf1.length); } var re=new RegExp(/^([0-9]|-)*$/); if(!re.test(_cf1)){ _cf3=this.__formatPhoneNumber(_cf3); _cee.value=_cf3; e.preventDefault(); } if(!re.test(_cf3)&&_cf3!=""){ e.preventDefault(); }else{ var _cf4=this.__formatPhoneNumber(_cf3); if(_cf4!=_cf3){ e.preventDefault(); _cee.value=_cf4; if(_cf2.startPos==0){ this.__setCurrentCursorPosition(_cee,0); }else{ if(_cf2.endPos==_cf1.length-1){ this.__setCurrentCursorPosition(_cee,_cf4.length); }else{ var _cf5; if(_cf0){ _cf5=_cf2.startPos-1; if(_cf5>_cf4.length){ _cf5=_cf4.length; } }else{ _cf5=_cf2.startPos; if(_cf5>_cf4.length){ _cf5=_cf4.length; } } this.__setCurrentCursorPosition(_cee,_cf5); } } } } } }; on(_ce4,"keypress",lang.hitch(this,_ce5,_ce4)); on(_ce4,"keydown",lang.hitch(this,_ced,_ce4)); },__formatPhoneNumber:function(str){ var re=new RegExp("^[0-9]"); var _cf6=str.split(""); var _cf7=""; for(var i=0;i<_cf6.length;i++){ if(re.test(_cf6[i])){ _cf7=_cf7+_cf6[i]; } } var _cf8=[]; if(_cf7.length>0){ _cf8[0]=_cf7.substring(0,3); if(_cf7.length>3){ _cf8[1]=_cf7.substring(3,6); if(_cf7.length>6){ _cf8[2]=_cf7.substring(6,10); } } _cf7=""; for(var i=0;i<_cf8.length;i++){ if(i!=0){ _cf7=_cf7+"-"+_cf8[i]; }else{ _cf7=_cf8[0]; } } return _cf7; }else{ return ""; } },__getCurrentCursorPosition:function(_cf9){ if(document.selection){ var _cfa=0,end=0,_cfb,_cfc,_cfd,len,_cfe; _cf9.focus(); _cfc=document.selection.createRange(); if(_cfc&&_cfc.parentElement()==_cf9){ len=_cf9.value.length; _cfb=_cf9.value.replace(/\r\n/g,"\n"); _cfd=_cf9.createTextRange(); _cfd.moveToBookmark(_cfc.getBookmark()); _cfe=_cf9.createTextRange(); _cfe.collapse(false); if(_cfd.compareEndPoints("StartToEnd",_cfe)>-1){ _cfa=end=len; }else{ _cfa=-_cfd.moveStart("character",-len); _cfa+=_cfb.slice(0,_cfa).split("\n").length-1; if(_cfd.compareEndPoints("EndToEnd",_cfe)>-1){ end=len; }else{ end=-_cfd.moveEnd("character",-len); end+=_cfb.slice(0,end).split("\n").length-1; } } return {startPos:_cfa,endPos:end}; } }else{ try{ var _cff=_cf9.selectionStart; var _d00=_cf9.selectionEnd; return {startPos:_cff,endPos:_d00}; } catch(e){ return {startPos:_cf9.value.length,endPos:_cf9.value.length}; } } },__setCurrentCursorPosition:function(_d01,_d02){ if(_d01!=null){ if(_d01.createTextRange){ var _d03=_d01.createTextRange(); _d03.move("character",_d02); _d03.select(); }else{ if(_d01.selectionStart){ _d01.focus(); _d01.setSelectionRange(_d02,_d02); }else{ _d01.focus(); } } } },__ignoreKeys:function(e){ if(e.keyCode==keys.UP_ARROW||e.keyCode==keys.DOWN_ARROW||e.keyCode==keys.LEFT_ARROW||e.keyCode==keys.RIGHT_ARROW||e.keyCode==keys.BACKSPACE||e.keyCode==keys.CTRL||e.keyCode==keys.DELETE||e.keyCode==keys.ALT){ return true; } return false; },__getCharCode:function(e){ var _d04; if(window.event){ _d04=e.keyCode; }else{ if(e.which){ _d04=e.which; } } return _d04; },__getCharacterPressed:function(e){ return String.fromCharCode(this.__getCharCode(e)); },isRequired:function(){ if(_bcb.indexOf(this.validation,"required")>=0){ return true; }else{ return false; } },isEditable:function(){ if((this.readonly&&this.readonly===true)||(this.disabled&&this.disabled===true)){ return false; }else{ return true; } },setErrorFocus:function(){ _bd0.focus(dom.byId(this.id)); this.showErrorStyle(); },showValidStyle:function(){ },showErrorStyle:function(){ },showDefaultStyle:function(){ },validate:function(_d05,_d06){ var _d07=true; if((this.validationRuleSets)&&(this.validationRuleSets.length>0)&&(this._isVisible())&&(this.isEditable())&&(this.isRequired()||this._isFilledOut())){ var i=0; for(i=0;i0)){ for(var i=0;i\r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n \r\n
      \r\n
      ","url:sce/templates/EspotCard.html":"","url:sce/form/templates/TextArea.html":"
      \r\n \r\n
      \r\n
      \r\n \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n error\r\n
      \r\n
      ${defaultErrorMessage}
      \r\n
      \r\n
      ","sce/TruncatableElement":function(){ require({cache:{"url:sce/templates/TruncatableElement.html":"
      \r\n
      \r\n
      \r\n
      "}}); define("sce/TruncatableElement",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/Stateful","dojo/ready","dojo/html","dojo/dom","dojo/dom-class","dojo/dom-style","dojo/dom-attr","dojo/dom-geometry","dojo/dom-construct","dojo/_base/query","dojo/_base/lang","dojo/_base/array","dojo/_base/event","dojo/parser","dojo/on","dojo/window","dojo/i18n!sce/nls/common","dijit/registry","sce/global/Utility","dojo/text!./templates/TruncatableElement.html","sce/Drawer"],function(_d0e,_d0f,_d10,_d11,_d12,html,dom,_d13,_d14,_d15,_d16,_d17,_d18,lang,_d19,_d1a,_d1b,on,win,i18n,_d1c,_d1d,_d1e){ var _d1f=_d0e("sce.TruncatableElement",[_d0f,_d10,_d11],{templateString:_d1e,baseClass:"truncatableWdgt",_i18n:i18n,manuallyExpanded:false,truncated:false,neverShowTruncatableIcon:false,constructor:function(){ _d12(lang.hitch(this,function(){ this.attemptTruncate(); var self=this; var _d20={w:-1,h:-1}; on(window,"resize",function(e){ var _d21=win.getBox(); if((_d20.w!==_d21.w)||_d20.h!==_d21.h){ self.attemptTruncate(); } _d20.w=_d21.w; _d20.h=_d21.h; }); })); if(this.neverShowTruncatableIcon){ this.hideExpander(); } this.inherited(arguments); },_truncatedGetter:function(){ return this.truncated; },_enableOverruleAllWidth:function(){ var _d22=_d18(".truncatableContent"); _d19.forEach(_d22,function(_d23){ _d13.add(_d23,"overruleWidth"); }); },_disableOverruleAllWidth:function(){ var _d24=_d18(".truncatableContent"); _d19.forEach(_d24,function(_d25){ _d13.remove(_d25,"overruleWidth"); }); },_enableNormalizeWhiteSpace:function(){ var _d26=_d18(".truncatableContent"); _d19.forEach(_d26,function(_d27){ _d14.set(_d27,"whiteSpace","normal"); }); },_disableNormalizeWhiteSpace:function(){ var _d28=_d18(".truncatableContent"); _d19.forEach(_d28,function(_d29){ _d14.set(_d29,"whiteSpace",""); }); },enableTruncation:function(_d2a){ _d13.add(this.containerNode,"ellipsisMe"); _d13.add(this.domNode,"truncated"); },disableTruncation:function(){ _d14.set(this.containerNode,"width",""); _d13.remove(this.containerNode,"ellipsisMe"); _d13.remove(this.domNode,"truncated"); },getNormalSize:function(){ var size=_d16.getContentBox(this.containerNode); this._enableNormalizeWhiteSpace(); this._enableOverruleAllWidth(); size=_d16.getContentBox(this.containerNode); this._disableOverruleAllWidth(); this._disableNormalizeWhiteSpace(); this.disableTruncation(); size.h=_d16.getContentBox(this.containerNode).h; return size; },getTruncatedSize:function(_d2b){ this.enableTruncation(_d2b.w); var size=_d16.getContentBox(this.containerNode); this.disableTruncation(); return size; },showExpander:function(){ if(!this.neverShowTruncatableIcon){ _d14.set(this.truncatableIcon,"display",""); } },hideExpander:function(){ _d14.set(this.truncatableIcon,"display","none"); },attemptTruncate:function(){ var _d2c=this.getNormalSize(),_d2d=this.getTruncatedSize(_d2c); if(_d2c.h!==_d2d.h){ if(!this.manuallyExpanded){ this.enableTruncation(_d2c.w); this.showExpander(); this.set("truncated",true); }else{ this.showExpander(); } }else{ this.hideExpander(); this.set("truncated",false); } },expandManually:function(){ _d13.remove(this.truncatableIcon,"expander"); _d13.add(this.truncatableIcon,"collapser"); html.set(this.truncatableIconText,i18n.lessText); _d15.set(this.truncatableIcon,"title",this._i18n.collapseText); this.disableTruncation(); this.set("truncated",false); this.manuallyExpanded=true; },collapseManually:function(){ _d13.remove(this.truncatableIcon,"collapser"); _d13.add(this.truncatableIcon,"expander"); html.set(this.truncatableIconText,i18n.moreText); _d15.set(this.truncatableIcon,"title",this._i18n.expandText); this.manuallyExpanded=false; this.attemptTruncate(); },_handleTruncatableIcon:function(e){ if(this.manuallyExpanded){ this.collapseManually(); }else{ this.expandManually(); } if(e){ _d1a.stop(e); } }}); return _d1f; }); },"sce/schema/OutageDataSchema":function(){ define("sce/schema/OutageDataSchema",[],function(){ return {"title":"Outage Schema","description":"Schema for SCE outages","type":"object","properties":{"PUBLISH_DATE":{"type":"string","optional":true},"AOC_LOCATION_STATS":{"type":"object","properties":{"COUNTY_BLOCK":{"type":"object","properties":{"COUNTY":{"type":["array",null],"items":{"type":"object","properties":{"COUNTY_NAME":{"type":"string"},"NBR_INCIDENTS":{"type":"string"},"NBR_CUST_AFFECTED":{"type":"string"}},"required":["COUNTY_NAME","NBR_INCIDENTS","NBR_CUST_AFFECTED"]}}},"required":["COUNTY"]},"CITY_BLOCK":{"type":"object","properties":{"CITY":{"type":["array",null],"items":{"type":"object","properties":{"CITY_NAME":{"type":"string"},"NBR_INCIDENTS":{"type":"string"},"NBR_CUST_AFFECTED":{"type":"string"}},"required":["SECTOR_NO","NBR_INCIDENTS","NBR_CUST_AFFECTED"]}}},"required":["CITY"]},"ZIPCODE_BLOCK":{"type":"object","properties":{"ZIPCODE":{"type":["array",null],"items":{"type":"object","properties":{"ZIPCODE_NAME":{"type":"string"},"NBR_INCIDENTS":{"type":"string"},"NBR_CUST_AFFECTED":{"type":"string"}},"required":["SECTOR_NO","NBR_INCIDENTS","NBR_CUST_AFFECTED"]}}},"required":["ZIPCODE"]},"SECTOR_BLOCK":{"type":"object","properties":{"SECTOR":{"type":["array",null]}},"required":["SECTOR"]}},"required":["COUNTY_BLOCK","CITY_BLOCK","ZIPCODE_BLOCK","SECTOR_BLOCK"]},"AOC_INCIDENTS":{"type":"object","properties":{"INCIDENT":{"type":["array",null],"items":{"type":"object","properties":{"INCIDENT_ID":{"type":"string","pattern":"^[0-9]+$"},"CENTROID_X":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]+$"},"CENTROID_Y":{"type":"string","pattern":"^-?[0-9]+\\.[0-9]+$"}},"required":["INCIDENT_ID","CENTROID_X","CENTROID_Y"]}}}}},"required":["AOC_LOCATION_STATS","AOC_INCIDENTS"]}; }); },"sce/flow/outage/HomeBusiness/HBDescribe":function(){ define("sce/flow/outage/HomeBusiness/HBDescribe",["dojo/_base/declare","dojo/_base/event","dojo/dom","dojo/on","dijit/registry","sce/_Validation","sce/flow/outage/_Outage"],function(_d2e,_d2f,dom,on,_d30,_d31,_d32){ var _d33=_d2e([_d32],{constructor:function(_d34){ var _d35=dom.byId("downedWireRq"),_d36=_d30.byId("downedWireDesc"),_d37=_d30.byId("warningDialog"),_d38=_d30.byId("warningOk"); on(_d36.focusNode,"focus",function(){ _d36.showDefaultStyle(); }); on(_d36.focusNode,"blur",function(){ if(_d36._isFilledOut()){ _d36.showValidStyle(); }else{ _d36.showErrorStyle(); } }); if(_d35&&_d37&&_d38){ on(_d35,"click",function(){ _d37.show(); }); on(_d38,"click",function(){ _d37.hide(); }); } this.initializeFormNavigation(_d34); this.inherited(arguments); },handleFormSubmission:function(_d39){ var _d3a=_d30.byId("downedWireRq"),_d3b=_d30.byId("downedWireDesc"); if(this.get("submitting")){ _d2f.stop(_d39); return; } this.lockSubmit(); if(this.get("cancelling")){ this.set("cancelling",false); _d2f.stop(_d39); this.unlockSubmit(); }else{ if(!this.get("bypass")){ var _d3c=_d31.isValidForm(_d39.target),_d3d=_d3c.result,_d3e; if(_d3a.isChecked()){ _d3e=_d3b._isFilledOut(); if(_d3e){ _d3b.showValidStyle(); }else{ _d3b.showErrorStyle(); } _d3d=(_d3d&&_d3e); } if(_d3d===false){ _d2f.stop(_d39); this.unlockSubmit(); } } } bypass=false; }}); return _d33; }); },"dijit/a11y":function(){ define("dijit/a11y",["dojo/_base/array","dojo/_base/config","dojo/_base/declare","dojo/dom","dojo/dom-attr","dojo/dom-style","dojo/_base/sniff","./_base/manager","."],function(_d3f,_d40,_d41,dom,_d42,_d43,has,_d44,_d45){ var _d46=(_d45._isElementShown=function(elem){ var s=_d43.get(elem); return (s.visibility!="hidden")&&(s.visibility!="collapsed")&&(s.display!="none")&&(_d42.get(elem,"type")!="hidden"); }); _d45.hasDefaultTabStop=function(elem){ switch(elem.nodeName.toLowerCase()){ case "a": return _d42.has(elem,"href"); case "area": case "button": case "input": case "object": case "select": case "textarea": return true; case "iframe": var body; try{ var _d47=elem.contentDocument; if("designMode" in _d47&&_d47.designMode=="on"){ return true; } body=_d47.body; } catch(e1){ try{ body=elem.contentWindow.document.body; } catch(e2){ return false; } } return body&&(body.contentEditable=="true"||(body.firstChild&&body.firstChild.contentEditable=="true")); default: return elem.contentEditable=="true"; } }; var _d48=(_d45.isTabNavigable=function(elem){ if(_d42.get(elem,"disabled")){ return false; }else{ if(_d42.has(elem,"tabIndex")){ return _d42.get(elem,"tabIndex")>=0; }else{ return _d45.hasDefaultTabStop(elem); } } }); _d45._getTabNavigable=function(root){ var _d49,last,_d4a,_d4b,_d4c,_d4d,_d4e={}; function _d4f(node){ return node&&node.tagName.toLowerCase()=="input"&&node.type&&node.type.toLowerCase()=="radio"&&node.name&&node.name.toLowerCase(); }; var _d50=function(_d51){ for(var _d52=_d51.firstChild;_d52;_d52=_d52.nextSibling){ if(_d52.nodeType!=1||(has("ie")&&_d52.scopeName!=="HTML")||!_d46(_d52)){ continue; } if(_d48(_d52)){ var _d53=_d42.get(_d52,"tabIndex"); if(!_d42.has(_d52,"tabIndex")||_d53==0){ if(!_d49){ _d49=_d52; } last=_d52; }else{ if(_d53>0){ if(!_d4a||_d53<_d4b){ _d4b=_d53; _d4a=_d52; } if(!_d4c||_d53>=_d4d){ _d4d=_d53; _d4c=_d52; } } } var rn=_d4f(_d52); if(_d42.get(_d52,"checked")&&rn){ _d4e[rn]=_d52; } } if(_d52.nodeName.toUpperCase()!="SELECT"){ _d50(_d52); } } }; if(_d46(root)){ _d50(root); } function rs(node){ return _d4e[_d4f(node)]||node; }; return {first:rs(_d49),last:rs(last),lowest:rs(_d4a),highest:rs(_d4c)}; }; _d45.getFirstInTabbingOrder=function(root){ var _d54=_d45._getTabNavigable(dom.byId(root)); return _d54.lowest?_d54.lowest:_d54.first; }; _d45.getLastInTabbingOrder=function(root){ var _d55=_d45._getTabNavigable(dom.byId(root)); return _d55.last?_d55.last:_d55.highest; }; return {hasDefaultTabStop:_d45.hasDefaultTabStop,isTabNavigable:_d45.isTabNavigable,_getTabNavigable:_d45._getTabNavigable,getFirstInTabbingOrder:_d45.getFirstInTabbingOrder,getLastInTabbingOrder:_d45.getLastInTabbingOrder}; }); },"sce/TooltipDialog":function(){ require({cache:{"url:sce/templates/TooltipDialog.html":"
      \r\n
      \r\n \"\"\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      "}}); define("sce/TooltipDialog",["dojo/_base/declare","dijit/_WidgetBase","dijit/_TemplatedMixin","dojo/dom","dojo/query","dojo/on","dojo/_base/event","dojo/_base/lang","dojo/dom-class","dojo/keys","dojo/_base/fx","dojo/dom-style","dojo/dom-construct","dojo/window","dojo/dom-geometry","dojo/aspect","dojo/text!./templates/TooltipDialog.html"],function(_d56,_d57,_d58,dom,_d59,on,_d5a,lang,_d5b,keys,fx,_d5c,_d5d,win,_d5e,_d5f,_d60){ var _d61=_d56("sce.TooltipDialog",[_d57,_d58],{templateString:_d60,widgetsInTemplate:true,linkNodeId:"",height:"",width:"",topPadding:"",leftPadding:"",position:"below",defaultCarrotImage:"",linkNodePosition:null,documentConnectionHandler:null,widgetConnectionHandler:null,carrotConnectionHandler:null,leftOffset:null,topOffset:null,topCarrotOffset:null,windowConnectionHandler:null,scrollConnectionHandler:null,constructor:function(){ },buildRendering:function(){ this.inherited(arguments); },postCreate:function(){ },startup:function(){ _d5d.place(dom.byId(this.id),dojo.query("body")[0],"last"); dom.byId(this.id+"_outer").style.opacity=0; dom.byId(this.id+"_outer").style.display="none"; if(_d59(".dj_ie8").length>0){ dom.byId(this.id+"_carrot").src=require.toUrl("sce/themes/images_sceui/carrot_opaque.png"); } if(this.topPadding!=""){ this.topPadding=this.topPadding.replace("px",""); if(parseInt(this.topPadding)){ this.topPadding=parseInt(this.topPadding); }else{ this.topPadding=0; } } if(this.leftPadding!=""){ this.leftPadding=this.leftPadding.replace("px",""); if(parseInt(this.leftPadding)){ this.leftPadding=parseInt(this.leftPadding); }else{ this.leftPadding=0; } } this.resizeHeight(this.height); this.resizeWidth(this.width); on(dom.byId(this.id),"keyup",lang.hitch(this,this.hideDialogEsc)); _d5c.set(dom.byId(this.id),"display","block"); var _d62=dom.byId(this.linkNodeId); if(_d62){ on(_d62,"click",lang.hitch(this,this.showDialog)); } },toggleDialog:function(){ if(dom.byId(this.id+"_outer").style.display=="none"){ this.showDialog(); }else{ this.hideDialog(); } },showDialog:function(){ this.documentConnectionHandler=on(document,"click",lang.hitch(this,this._onClickDocument)); this.widgetConnectionHandler=on(dom.byId(this.id+"_content"),"click",lang.hitch(this,this._onClickWidget)); this.carrotConnectionHandler=on(dom.byId(this.id+"_carrot"),"click",lang.hitch(this,this._onClickCarrot)); this.reposition(); var _d63=this.id+"_outer"; fx.fadeIn({node:dom.byId(_d63),duration:400,beforeBegin:function(){ dom.byId(_d63).style.display="block"; }}).play(); dom.byId(this.id+"_content").focus(); },hideDialog:function(_d64){ if(this.documentConnectionHandler!=null){ this.documentConnectionHandler.remove(); this.documentConnectionHandler=null; } if(this.widgetConnectionHandler!=null){ this.widgetConnectionHandler.remove(); this.widgetConnectionHandler=null; } if(this.carrotConnectionHandler!=null){ this.carrotConnectionHandler.remove(); this.carrotConnectionHandler=null; } if(this.windowConnectionHandler!=null){ this.windowConnectionHandler.remove(); this.windowConnectionHandler=null; } if(this.scrollConnectionHandler!=null){ this.scrollConnectionHandler.remove(); this.scrollConnectionHandler=null; } var _d65=this.id+"_outer"; fx.fadeOut({node:dom.byId(_d65),duration:400,onEnd:function(){ dom.byId(_d65).style.display="none"; }}).play(); if(_d64){ dom.byId(this.linkNodeId).focus(); } },hideDialogEsc:function(e){ if(e.keyCode==keys.ESCAPE){ this.hideDialog(true); } },reposition:function(){ var _d66=this.id+"_outer"; var _d67=0; var _d68=0; var _d69=""; if(dom.byId(_d66).style.display=="none"){ _d69="hidden"; }else{ _d69="visible"; } if(_d69=="hidden"){ dom.byId(_d66).style.visibility="hidden"; dom.byId(_d66).style.display="block"; } var _d6a=_d5e.position(dom.byId(this.id)); var _d6b=_d5e.position(dom.byId(this.linkNodeId)); var _d6c=_d5e.position(dom.byId(_d66)).w; var _d6d=_d5e.position(dom.byId(_d66)).h; var _d6e=_d5e.getMarginBox(dom.byId(this.linkNodeId)); var _d6f=_d6e.h; var _d70=_d6e.w; this.leftOffset=_d6b.x-_d6a.x; this.topOffset=_d6b.y-_d6a.y; if(this.position=="above"){ this.topOffset=this.topOffset-15-(_d6d-3)-4; }else{ this.topOffset=this.topOffset+_d6f-5+2; } _d67=_d67+this.leftOffset; _d68=_d68+this.topOffset; var _d71=(_d6c-6)/2+3; _d67=_d67-_d71; _d67=_d67+_d70/2; var _d72=(_d71)-16; if(this.position=="above"){ if(_d59(".dj_ie8").length>0){ dom.byId(this.id+"_carrot").src=require.toUrl("sce/themes/images_sceui/carrot_down_opaque.png"); }else{ dom.byId(this.id+"_carrot").src=require.toUrl("sce/themes/images_sceui/carrot_down.png"); } if(this.topCarrotOffset==null){ this.topCarrotOffset=-parseFloat(_d6d)+1; } }else{ if(this.topCarrotOffset==null){ this.topCarrotOffset=-5; } } if(this.position=="above"){ _d5b.add(dom.byId(this.id+"_content"),"flip"); } _d67=_d67+this.leftPadding; _d68=_d68+this.topPadding; _d5c.set(dom.byId(_d66),{left:_d67+"px"}); _d5c.set(dom.byId(_d66),{top:_d68+"px"}); _d5c.set(dom.byId(this.id+"_carrot"),{left:_d72+"px"}); _d5c.set(dom.byId(this.id+"_carrot"),{bottom:this.topCarrotOffset+"px"}); var _d73=win.getBox().w; var _d74=_d5e.position(dom.byId(_d66)).x; if(this.windowConnectionHandler==null){ this.windowConnectionHandler=on(window,"resize",lang.hitch(this,this.reposition)); } if(this.scrollConnectionHandler==null){ this.scrollConnectionHandler=on(window,"scroll",lang.hitch(this,this.reposition)); } var _d75=-dojo.position(dojo.query("body")[0]).x; var _d73=win.getBox().w; var _d76=_d75+_d73; var _d77=_d75; var _d6c=_d5e.position(dom.byId(_d66)).w; var _d74=parseFloat(_d67)+_d6c+5; var _d78=parseFloat(_d67)-5; if(_d74>_d76){ var _d79=_d74-_d76; var _d7a=(_d6c-6)/2-_d70/2; var _d7b=Math.min(_d79,_d7a); var _d7c=dom.byId(_d66).style.left.replace("px",""); var _d7d=parseFloat(_d7c)-_d7b; _d5c.set(dom.byId(_d66),{left:_d7d+"px"}); var _d7e=dom.byId(this.id+"_carrot").style.left.replace("px",""); var _d7f=parseFloat(_d7e)+_d7b; _d5c.set(dom.byId(this.id+"_carrot"),{left:_d7f+"px"}); }else{ if(_d78<_d77){ var _d79=_d77-_d78; var _d7a=(_d6c-6)/2-_d70/2; var _d7b=Math.min(_d79,_d7a); var _d7c=dom.byId(_d66).style.left.replace("px",""); var _d7d=parseFloat(_d7c)+_d7b; _d5c.set(dom.byId(_d66),{left:_d7d+"px"}); var _d7e=dom.byId(this.id+"_carrot").style.left.replace("px",""); var _d7f=parseFloat(_d7e)-_d7b; _d5c.set(dom.byId(this.id+"_carrot"),{left:_d7f+"px"}); } } if(_d69=="hidden"){ dom.byId(_d66).style.display="none"; dom.byId(_d66).style.visibility="visible"; } },resizeWidth:function(_d80){ this.width=_d80; if(this.width!=""){ this.width=this.width.replace("px",""); if(!isNaN(this.width)){ this.width=this.width+"px"; dom.byId(this.id+"_contentArea").style.width=this.width; } } },resizeHeight:function(_d81){ this.height=_d81; if(this.height!=""){ this.height=this.height.replace("px",""); if(!isNaN(this.height)){ this.height=this.height+"px"; dom.byId(this.id+"_contentArea").style.height=this.height; } }else{ dom.byId(this.id+"_contentArea").style.overflow="hidden"; } },refreshWithFunction:function(_d82,_d83){ if(this.documentConnectionHandler!=null){ this.documentConnectionHandler.remove(); this.documentConnectionHandler=null; } if(this.widgetConnectionHandler!=null){ this.widgetConnectionHandler.remove(); this.widgetConnectionHandler=null; } if(this.carrotConnectionHandler!=null){ this.carrotConnectionHandler.remove(); this.carrotConnectionHandler=null; } if(this.windowConnectionHandler!=null){ this.windowConnectionHandler.remove(); this.windowConnectionHandler=null; } if(this.scrollConnectionHandler!=null){ this.scrollConnectionHandler.remove(); this.scrollConnectionHandler=null; } var _d84=this.id+"_outer"; var _d85=fx.fadeOut({node:dom.byId(_d84),duration:400,onEnd:function(){ dom.byId(_d84).style.display="none"; }}); var _d86=null; if(_d83==undefined||_d83==null||_d83==true){ _d86=function(_d87,_d88){ _d87(); _d88.showDialog(); }; }else{ _d86=function(_d89,_d8a){ _d89(); }; } var _d8b=lang.hitch(null,_d86,_d82,this); _d5f.after(_d85,"play",_d8b); _d85.play(); },_onClickDocument:function(e){ if(e.which!=undefined&&e.which!=null&&e.which==3){ return; } if(e.target.id!=this.linkNodeId){ this.hideDialog(); _d5a.stop(e); } },_onClickWidget:function(e){ e.stopPropagation(); },_onClickCarrot:function(e){ _d5a.stop(e); }}); return _d61; }); },"dijit/form/_ToggleButtonMixin":function(){ define("dijit/form/_ToggleButtonMixin",["dojo/_base/declare","dojo/dom-attr"],function(_d8c,_d8d){ return _d8c("dijit.form._ToggleButtonMixin",null,{checked:false,_aria_attr:"aria-pressed",_onClick:function(evt){ var _d8e=this.checked; this._set("checked",!_d8e); var ret=this.inherited(arguments); this.set("checked",ret?this.checked:_d8e); return ret; },_setCheckedAttr:function(_d8f,_d90){ this._set("checked",_d8f); _d8d.set(this.focusNode||this.domNode,"checked",_d8f); (this.focusNode||this.domNode).setAttribute(this._aria_attr,_d8f?"true":"false"); this._handleOnChange(_d8f,_d90); },reset:function(){ this._hasBeenBlurred=false; this.set("checked",this.params.checked||false); }}); }); },"dijit/_Widget":function(){ define("dijit/_Widget",["dojo/aspect","dojo/_base/config","dojo/_base/connect","dojo/_base/declare","dojo/_base/kernel","dojo/_base/lang","dojo/query","dojo/ready","./registry","./_WidgetBase","./_OnDijitClickMixin","./_FocusMixin","dojo/uacss","./hccss"],function(_d91,_d92,_d93,_d94,_d95,lang,_d96,_d97,_d98,_d99,_d9a,_d9b){ function _d9c(){ }; function _d9d(_d9e){ return function(obj,_d9f,_da0,_da1){ if(obj&&typeof _d9f=="string"&&obj[_d9f]==_d9c){ return obj.on(_d9f.substring(2).toLowerCase(),lang.hitch(_da0,_da1)); } return _d9e.apply(_d93,arguments); }; }; _d91.around(_d93,"connect",_d9d); if(_d95.connect){ _d91.around(_d95,"connect",_d9d); } var _da2=_d94("dijit._Widget",[_d99,_d9a,_d9b],{onClick:_d9c,onDblClick:_d9c,onKeyDown:_d9c,onKeyPress:_d9c,onKeyUp:_d9c,onMouseDown:_d9c,onMouseMove:_d9c,onMouseOut:_d9c,onMouseOver:_d9c,onMouseLeave:_d9c,onMouseEnter:_d9c,onMouseUp:_d9c,constructor:function(_da3){ this._toConnect={}; for(var name in _da3){ if(this[name]===_d9c){ this._toConnect[name.replace(/^on/,"").toLowerCase()]=_da3[name]; delete _da3[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)]===_d9c){ return _d93.connect(this.domNode,type.toLowerCase(),this,func); } return this.inherited(arguments); },_setFocusedAttr:function(val){ this._focused=val; this._set("focused",val); },setAttribute:function(attr,_da4){ _d95.deprecated(this.declaredClass+"::setAttribute(attr, value) is deprecated. Use set() instead.","","2.0"); this.set(attr,_da4); },attr:function(name,_da5){ if(_d92.isDebug){ var _da6=arguments.callee._ach||(arguments.callee._ach={}),_da7=(arguments.callee.caller||"unknown caller").toString(); if(!_da6[_da7]){ _d95.deprecated(this.declaredClass+"::attr() is deprecated. Use get() or set() instead, called from "+_da7,"","2.0"); _da6[_da7]=true; } } var args=arguments.length; if(args>=2||typeof name==="object"){ return this.set.apply(this,arguments); }else{ return this.get(name); } },getDescendants:function(){ _d95.deprecated(this.declaredClass+"::getDescendants() is deprecated. Use getChildren() instead.","","2.0"); return this.containerNode?_d96("[widgetId]",this.containerNode).map(_d98.byNode):[]; },_onShow:function(){ this.onShow(); },onShow:function(){ },onHide:function(){ },onClose:function(){ return true; }}); if(!_d95.isAsync){ _d97(0,function(){ var _da8=["dijit/_base"]; require(_da8); }); } return _da2; }); },"dojo/touch":function(){ define("dojo/touch",["./_base/kernel","./on","./has","./mouse"],function(dojo,on,has,_da9){ function _daa(type){ return function(node,_dab){ return on(node,type,_dab); }; }; var _dac=has("touch"); dojo.touch={press:_daa(_dac?"touchstart":"mousedown"),move:_daa(_dac?"touchmove":"mousemove"),release:_daa(_dac?"touchend":"mouseup"),cancel:_dac?_daa("touchcancel"):_da9.leave}; return dojo.touch; }); },"sce/flow/outage/Streetlight/SLReview":function(){ define("sce/flow/outage/Streetlight/SLReview",["dojo/_base/declare","dojo/on","dojo/dom","dojo/_base/lang","dojo/dom-style","dijit/registry","sce/FormSubmit","sce/flow/outage/_Outage"],function(_dad,on,dom,lang,_dae,_daf,_db0,_db1){ var _db2=_dad([_db1],{constructor:function(_db3){ this.initFlow4(); if(_daf.byId("cancelDialog")!=undefined){ _daf.byId("cancelButton").onClick=lang.hitch(this,function(){ _daf.byId("cancelDialog").show(); }); _daf.byId("cancelNo").onClick=lang.hitch(this,function(){ _daf.byId("cancelDialog").hide(); }); _daf.byId("cancelYes").onClick=lang.hitch(this,function(){ dom.byId("cancelHiddenButtonSubmit").click(); }); } },initFlow4:function(){ sce.globalSce.Navigation.setPageTitle(dom.byId("pageTitle_id").innerHTML); _db0.attachSubmitListener("outage_sl_4"); if(dom.byId("editOutageLocButton")){ _daf.byId("editOutageLocButton").onClick=lang.hitch(this,function(){ _daf.byId("editOutageLocButton").set("disabled",true); if(dom.byId("editTgtIdentifier")){ dom.byId("editTgtIdentifier").value="1"; } dom.byId("pg2EditButton").click(); return true; }); } if(dom.byId("editOutageInfoButton")){ _daf.byId("editOutageInfoButton").onClick=lang.hitch(this,function(){ _daf.byId("editOutageInfoButton").set("disabled",true); if(dom.byId("editTgtIdentifier")){ dom.byId("editTgtIdentifier").value="2"; } dom.byId("pg2EditButton").click(); return true; }); } if(dom.byId("editStreetLightNotificationInfoButton")){ _daf.byId("editStreetLightNotificationInfoButton").onClick=lang.hitch(this,function(){ _daf.byId("editStreetLightNotificationInfoButton").set("disabled",true); if(dom.byId("editTgtIdentifier")){ dom.byId("editTgtIdentifier").value="3"; } dom.byId("pg2EditButton").click(); return true; }); } if(dom.byId("submitButton")){ _daf.byId("submitButton").onClick=lang.hitch(this,function(){ var _db4=_daf.byId("submitButton"); _db4.set("disabled",true); _db4.changeStyle("subdued-alt"); setTimeout(function(){ _db4.set("disabled",false); _db4.changeStyle("emphasized"); },3000); if(dom.byId("errorContainerId")){ _dae.set(dom.byId("errorContainerId"),"display","none"); } if(dom.byId("srvrErrorContr")){ _dae.set(dom.byId("srvrErrorContr"),"display","none"); } sendForm(); }); } }}); return _db2; }); },"sce/api/Maps":function(){ define("sce/api/Maps",["dojo/_base/declare","dojo/_base/Deferred","dojo/io/script","dojo/ready","sce/api/_APIConstants"],function(_db5,_db6,_db7,_db8,_db9){ }); },"dojo/fx":function(){ define("dojo/fx",["./_base/lang","./Evented","./_base/kernel","./_base/array","./_base/connect","./_base/fx","./dom","./dom-style","./dom-geometry","./ready","require"],function(lang,_dba,dojo,_dbb,_dbc,_dbd,dom,_dbe,geom,_dbf,_dc0){ if(!dojo.isAsync){ _dbf(0,function(){ var _dc1=["./fx/Toggler"]; _dc0(_dc1); }); } var _dc2=dojo.fx={}; var _dc3={_fire:function(evt,args){ if(this[evt]){ this[evt].apply(this,args||[]); } return this; }}; var _dc4=function(_dc5){ this._index=-1; this._animations=_dc5||[]; this._current=this._onAnimateCtx=this._onEndCtx=null; this.duration=0; _dbb.forEach(this._animations,function(a){ this.duration+=a.duration; if(a.delay){ this.duration+=a.delay; } },this); }; _dc4.prototype=new _dba(); lang.extend(_dc4,{_onAnimate:function(){ this._fire("onAnimate",arguments); },_onEnd:function(){ _dbc.disconnect(this._onAnimateCtx); _dbc.disconnect(this._onEndCtx); this._onAnimateCtx=this._onEndCtx=null; if(this._index+1==this._animations.length){ this._fire("onEnd"); }else{ this._current=this._animations[++this._index]; this._onAnimateCtx=_dbc.connect(this._current,"onAnimate",this,"_onAnimate"); this._onEndCtx=_dbc.connect(this._current,"onEnd",this,"_onEnd"); this._current.play(0,true); } },play:function(_dc6,_dc7){ if(!this._current){ this._current=this._animations[this._index=0]; } if(!_dc7&&this._current.status()=="playing"){ return this; } var _dc8=_dbc.connect(this._current,"beforeBegin",this,function(){ this._fire("beforeBegin"); }),_dc9=_dbc.connect(this._current,"onBegin",this,function(arg){ this._fire("onBegin",arguments); }),_dca=_dbc.connect(this._current,"onPlay",this,function(arg){ this._fire("onPlay",arguments); _dbc.disconnect(_dc8); _dbc.disconnect(_dc9); _dbc.disconnect(_dca); }); if(this._onAnimateCtx){ _dbc.disconnect(this._onAnimateCtx); } this._onAnimateCtx=_dbc.connect(this._current,"onAnimate",this,"_onAnimate"); if(this._onEndCtx){ _dbc.disconnect(this._onEndCtx); } this._onEndCtx=_dbc.connect(this._current,"onEnd",this,"_onEnd"); this._current.play.apply(this._current,arguments); return this; },pause:function(){ if(this._current){ var e=_dbc.connect(this._current,"onPause",this,function(arg){ this._fire("onPause",arguments); _dbc.disconnect(e); }); this._current.pause(); } return this; },gotoPercent:function(_dcb,_dcc){ this.pause(); var _dcd=this.duration*_dcb; this._current=null; _dbb.some(this._animations,function(a){ if(a.duration<=_dcd){ this._current=a; return true; } _dcd-=a.duration; return false; }); if(this._current){ this._current.gotoPercent(_dcd/this._current.duration,_dcc); } return this; },stop:function(_dce){ if(this._current){ if(_dce){ for(;this._index+1this._animations.length){ this._fire("onEnd"); } },_call:function(_dd4,args){ var t=this._pseudoAnimation; t[_dd4].apply(t,args); },play:function(_dd5,_dd6){ this._finished=0; this._doAction("play",arguments); this._call("play",arguments); return this; },pause:function(){ this._doAction("pause",arguments); this._call("pause",arguments); return this; },gotoPercent:function(_dd7,_dd8){ var ms=this.duration*_dd7; _dbb.forEach(this._animations,function(a){ a.gotoPercent(a.duration\r\n
      \r\n \r\n
      \r\n
      \r\n
      ","url:sce/avm/templates/AddressValidationStreetlightHANA.html":"
      \r\n
      \r\n
      error
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmStreetlightPleaseZipCity}\r\n
      \r\n ${_bundle.hanaAvmCityOrZip}\r\n
      \r\n ${_bundle.invalidCityOrZip}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmCityOrZipSelect}\r\n \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.hanaAvmPleaseStreetName}\r\n
      \r\n
      \r\n ${_bundle.houseNumberLabelText}\r\n
      \r\n ${_bundle.invalidHouseNumber}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.streetNameLabelText}\r\n
      \r\n ${_bundle.invalidStreetName}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n What is the nearest Cross Street?\r\n
      \r\n ${_bundle.crossStreetNameLabelText}\r\n
      \r\n ${_bundle.invalidCrossStreet}\r\n ${_bundle.hanaAvmStreetNameExample}\r\n ${_bundle.avStreetNameErrorText2}\r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.zipCodeText}:

      \r\n
      \r\n
      \r\n

      ${_bundle.cityLabelText}:

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.avScreen4Text}\r\n
      \r\n
      \r\n
      \r\n
      \r\n ${_bundle.crossStreetLabel}:\r\n
      \r\n
      ${_bundle.notProvided}
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n

      ${_bundle.hanaAvmAssistanceText1}

      \r\n

      ${_bundle.hanaAvmAssistanceText2}

      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n \r\n \r\n \r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n
      \r\n
      ","sce/flow/outage/HomeBusiness/HBDuplicate":function(){ define("sce/flow/outage/HomeBusiness/HBDuplicate",["dojo/_base/declare","dojo/_base/window","dojo/dom-class","sce/flow/outage/_Outage"],function(_de0,win,_de1,_de2){ var _de3=_de0([_de2],{constructor:function(_de4){ this.initializeFormNavigation(_de4); this.inherited(arguments); _de1.add(win.body(),"promotional"); }}); return _de3; }); },"url:sce/templates/ScrollablePane.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","sce/CollapsableCarousel":function(){ require({cache:{"url:sce/templates/CollapsableCarousel.html":"
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n
      \r\n
      \r\n
      "}}); define("sce/CollapsableCarousel",["dojo/_base/declare","dojo/_base/config","dojo/_base/xhr","dojo/_base/json","dojo/_base/lang","dojo/_base/event","dojo/_base/connect","dojo/_base/Deferred","dojo/on","dojo/query","dojo/dom-construct","dojo/dom-class","dojo/dom-style","dojo/dom-attr","dojo/_base/fx","dojo/fx","dojo/keys","dojo/window","dojo/dom-geometry","dijit/registry","dijit/_WidgetBase","dijit/_TemplatedMixin","sce/layout/_ResponsiveLayout","dijit/focus","sce/Card","sce/TipCard","sce/Dialog","sce/TipGallery","dojo/i18n!sce/nls/common","dojo/text!./templates/CollapsableCarousel.html"],function(_de5,_de6,xhr,json,lang,_de7,_de8,_de9,on,_dea,_deb,_dec,_ded,_dee,fx,_def,keys,win,_df0,_df1,_df2,_df3,_df4,_df5,Card,_df6,_df7,_df8,i18n,_df9){ var _dfa=_de5("sce.CollapsableCarousel",[_df2,_df3,_df4],{templateString:_df9,_i18n:i18n,enableAutoScroll:false,timeInterval:5000,_rotationInterval:null,dataSourceUri:"",enableSwipeGestures:false,collapseForSingleTemplateD:true,swipeThreshold:20,currentCardIndex:0,_setCurrentCardIndexAttr:{node:"currentCardIndexNode",type:"innerHTML"},maxCardIndex:0,_setMaxCardIndexAttr:{node:"maxCardIndexNode",type:"innerHTML"},desktopCardWidth:150,desktopCardMargin:50,collapsedCardWidth:400,collapsedCardMargin:10,cardMarginLeeway:50,desktopPixelBreakPoint:767,checkForSingleTemplateD:function(){ var _dfb=this.getCards(); return ((_dfb.length===1)&&(_dfb[0].cardType==="D")); },refreshDisplayDesktopControls:function(){ var _dfc=_df0.getContentBox(this.containerNode); var _dfd=this.getCards(); var _dfe=Math.floor(_dfc.w/(this.desktopCardWidth+this.desktopCardMargin)); if((_dfc.w>this.desktopPixelBreakPoint)&&(_dfc.w>(_dfd.length*((this.desktopCardWidth-this.cardMarginLeeway)+this.desktopCardMargin)))){ this.hideControls(); }else{ if(_dfd.length>_dfe){ this.showControls(); }else{ this.hideControls(); } } },postCreate:function(){ this.set("currentCardIndex",this.currentCardIndex); this.set("maxCardIndex",this.maxCardIndex); this.registerResponsiveFunction(lang.hitch(this,this._resize,true),null,767); this.registerResponsiveFunction(lang.hitch(this,this._resize,false),768,null); },_doResize:function(){ this.refreshDisplayDesktopControls(); this._updateCardLeftPosition(); },_resize:function(e,a){ this._doResize(); },loadExistingCards:function(_dff,_e00,_e01){ var _e02=_dea("div.tipCard, div.imageCard, div.videoCard",_dff); for(var i=(_e02.length-1);i>=0;i--){ var _e03=_dea("div.title",_e02[i])[0]; var _e04=_dea("div.description",_e02[i])[0]; var _e05=_dea("img.image",_e02[i])[0]; var _e06=_dea("img.thumbnail",_e02[i])[0]; var _e07=_dea("div.videoid",_e02[i])[0]; var _e08=new _df6({tipIndex:(i+1),title:_e03.innerHTML,thumbnailSrc:_e06.src,imageSrc:_e05.src,video:(_e07?_dee.get(_e07,"data-videoid"):""),description:_e04.innerHTML}); _e08.on("cardFocus",lang.hitch(this,function(e){ var _e09=this.getCardIndexByCard(e.focussedCard); this.forceSelectedCard(_e09); })); _dee.set(_e08.domNode,"tabindex",0); this.conjoinGalleryCardLightBoxAndCarousel(_e00,_e08,_e01); this.addCard(_e08); _deb.destroy(_e02[i]); } },conjoinGalleryCardLightBoxAndCarousel:function(_e0a,card,_e0b){ var _e0c=this; on(card.domNode,"click",function(e){ var _e0d=_df1.byNode(e.currentTarget); _e0c.set("currentCardIndex",_e0d.tipIndex); _e0c.forceSelectedCard(_e0d.tipIndex-1); _e0a.displayCard(_e0d,_e0c.get("maxCardIndex"),_e0c.get("currentCardIndex")); _e0b.show(); }); },_determineCardLeftPosition:function(_e0e,_e0f){ _e0f=(_e0f|0); var _e10=0; var _e11=win.getBox(); var _e12=_df0.getContentBox(this.containerNode); var _e13=this.getCards().length; var _e14=0; if(_e11.w>750){ _e14=(_e12.w/(this.desktopCardWidth+this.desktopCardMargin)); if(_e0f<=_e14){ _e0f=0; }else{ _e0f=_e0f-_e14; } _e10=((((_e0e-_e0f)*this.desktopCardWidth)+this.desktopCardMargin)); }else{ var _e15=0.2; var _e16=_e15*_e12.w; var _e17=this.collapsedCardMargin; var _e18=(((1-(_e15*2))*_e12.w)-(_e17*2)); _e10=(((_e16+_e17)-((_e0f-_e0e)*(_e18)))); } return _e10; },_determineCardRightPosition:function(_e19,_e1a){ _e1a=(_e1a|0); var _e1b=0; var _e1c=_df0.getContentBox(this.containerNode); var _e1d=this.getCards().length; if(_e1c.w>767){ if(_e1a<=5){ _e1a=((_e1a+1)-(_e1d-1)); _e1a++; if((_e1a<0)||_e1d<=5){ _e1a=0; } }else{ _e1a=_e1a-5; } _e1b=(((((_e19-_e1a)*this.desktopCardWidth)+this.desktopCardMargin)+this.desktopCardWidth)); }else{ var _e1e=0.2; var _e1f=_e1e*_e1c.w; var _e20=this.collapsedCardMargin; var _e21=((1-(_e1e*2))*_e1c.w)-(_e20*2); _e1b=(_e21-this._determineCardLeftPosition(_e19,_e1a)); } return _e1b; },carouselFocusInHandler:function(e){ _dec.add(this.domNode,"sceuiCarouselFocused"); },carouselFocusOutHandler:function(){ _dec.remove(this.domNode,"sceuiCarouselFocused"); },carouselControlKeyHandler:function(e){ switch(e.keyCode){ case keys.RIGHT_ARROW: this.carouselNext(e); _df5.focus(this.nextCarousel); break; case keys.LEFT_ARROW: this.carouselPrev(e); _df5.focus(this.prevCarousel); break; case keys.ENTER: this.getCards()[this.get("currentCardIndex")-1].domNode.click(); _de7.stop(e); break; default: } },_updateCardLeftPosition:function(){ var _e22=this.getCards(); for(var i=0;i<_e22.length;i++){ _ded.set(_e22[i].domNode,{left:(this._determineCardLeftPosition(i,(this.get("currentCardIndex")-1))+"px"),right:(this._determineCardRightPosition(i,(this.get("currentCardIndex")-1))+"px")}); } },startup:function(){ var _e23=_deb.create("div",{},this.imageLightBox); var _e24=new _df8().placeAt(_e23); _e24.startup(); _e24.on("nextTip",lang.hitch(this,function(e){ this.carouselNext(); _e24.displayCard(this.getCards()[this.get("currentCardIndex")-1],this.get("maxCardIndex"),this.get("currentCardIndex")); })); _e24.on("prevTip",lang.hitch(this,function(e){ this.carouselPrev(); _e24.displayCard(this.getCards()[this.get("currentCardIndex")-1],this.get("maxCardIndex"),this.get("currentCardIndex")); })); var _e25=new _df7({srcNodeRef:_e23,mobileWidth:"90%",defaultWidth:"800px"}); var _e26=new _de9(); if(this.dataSourceUri){ var req=this._loadServiceCards(); req.addCallback(lang.hitch(this,function(_e27){ _e27=JSON.parse(_e27); for(var i=(_e27.tips.length-1);i>=0;i--){ var _e28=new _df6({tipIndex:(i+1),title:_e27.tips[i].title,thumbnailSrc:_e27.tips[i].images.small,imageSrc:_e27.tips[i].images.large,video:_e27.tips[i].videoid,description:_e27.tips[i].description}); _e28.on("cardFocus",lang.hitch(this,function(e){ var _e29=this.getCardIndexByCard(e.focussedCard); this.forceSelectedCard(_e29); })); _dee.set(_e28.domNode,"tabindex",0); this.conjoinGalleryCardLightBoxAndCarousel(_e24,_e28,_e25); this.addCard(_e28); } _e26.resolve(true); })); }else{ _e26.resolve(true); } _e26.then(lang.hitch(this,function(){ _e25.on("closeDialog",lang.hitch(this,function(e){ _e24.stopVideo(); _df5.focus(this.domNode); })); this.loadExistingCards(this.containerNode,_e24,_e25); var _e2a=this.getCards(); _dec.add(_e2a[0].domNode,"focusedCard"); this.set("currentCardIndex",1); this.set("maxCardIndex",_e2a.length); if(_e2a.length<2){ this.hideControls(); _e24.hideControls(); } this._resize(); })); this.inherited(arguments); },resetAutoScroll:function(){ clearInterval(this._rotationInterval); if(this.enableAutoScroll){ this.startAutoScroll(); } },stopAutoScroll:function(){ clearInterval(this._rotationInterval); this.enableAutoScroll=false; },startAutoScroll:function(){ this._rotationInterval=setInterval(lang.hitch(this,function(){ this.carouselNext(); }),this.timeInterval); },addCard:function(_e2b){ _e2b.placeAt(this.containerNode,"first").startup(); on.emit(this.domNode,"cardAdded",{bubbles:true}); },_loadServiceCards:function(){ var self=this; var _e2c=xhr.get({url:this.dataSourceUri,content:{all:true},headers:{"Content-Type":"application/json"},load:function(){ on.emit(self.domNode,"cardsLoadedSuccess",{bubbles:true}); },error:function(e){ on.emit(self.domNode,"cardsLoadedError",{error:e,bubbles:true}); },preventCache:true,failOk:true}); return _e2c; },getCards:function(){ var _e2d=this.getChildren(),_e2e=[]; for(var i=0;i<_e2d.length;i++){ if(_e2d[i].isInstanceOf(Card)){ _e2e.push(_e2d[i]); } } return _e2e; },slideCarousel:function(_e2f){ if(_e2f>0){ this.carouselNext(); }else{ if(_e2f<0){ this.carouselPrev(); } } },getCardIndexByCard:function(card){ var _e30=this.getCards(); for(var i=0;i<_e30.length;i++){ if(_e30[i]===card){ return i; } } return -1; },forceSelectedCard:function(_e31){ var _e32=this.getCards(); for(var i=0;i<_e32.length;i++){ if(_dec.contains(_e32[i].domNode,"focusedCard")){ _dec.remove(_e32[i].domNode,"focusedCard"); } } this.set("currentCardIndex",(_e31+1)); _dec.add(_e32[_e31].domNode,"focusedCard"); this._updateCardLeftPosition(); },carouselNext:function(e){ var _e33=this.getCards(),_e34=0; for(var i=0;i<_e33.length;i++){ if(_dec.contains(_e33[i].domNode,"focusedCard")){ _dec.remove(_e33[i].domNode,"focusedCard"); _e34=i; break; } } if((0<=_e34)&&(_e34<_e33.length)){ if(++_e34>=_e33.length){ _e34=0; } _dec.add(_e33[_e34].domNode,"focusedCard"); this.set("currentCardIndex",(_e34+1)); }else{ } this._updateCardLeftPosition(); if(e){ _de7.stop(e); } if(this.enableAutoScroll){ this.resetAutoScroll(); } },carouselPrev:function(e){ var _e35=this.getCards(),_e36=0; for(var i=(_e35.length-1);i>=0;i--){ if(_dec.contains(_e35[i].domNode,"focusedCard")){ _dec.remove(_e35[i].domNode,"focusedCard"); _e36=i; break; } } if((0<=_e36)&&(_e36<_e35.length)){ if(--_e36<0){ _e36=(_e35.length-1); } _dec.add(_e35[_e36].domNode,"focusedCard"); this.set("currentCardIndex",(_e36+1)); }else{ } this._updateCardLeftPosition(); if(e){ _de7.stop(e); } if(this.enableAutoScroll){ this.resetAutoScroll(); } },hideControls:function(){ _ded.set(this.carouselControls,"display","none"); _dec.add(this.domNode,"hiddenControls"); },showControls:function(){ _dee.remove(this.carouselControls,"style"); _dec.remove(this.domNode,"hiddenControls"); }}); return _dfa; }); },"sce/flow/outage/HomeBusiness/HBRequestorInfo":function(){ define("sce/flow/outage/HomeBusiness/HBRequestorInfo",["dojo/_base/declare","dojo/_base/array","dojo/on","dojo/dom","dojo/dom-style","dijit/registry","sce/flow/outage/_Outage"],function(_e37,_e38,on,dom,_e39,_e3a,_e3b){ var _e3c=_e37([_e3b],{constructor:function(_e3d){ var _e3e=_e3a.byId("phoneNumber"),_e3f=_e3a.byId("notificationSelect"),_e40=_e3a.byId("notifEmail"),_e41=_e3a.byId("notifSMS"),_e42=_e3a.byId("notifVoiceMsg"),_e43=_e3a.byId("notifTTY"),_e44=false; function _e45(_e46){ var _e47=[_e40,_e41,_e42,_e43]; var _e48=[]; _e38.forEach(_e47,function(_e49){ if(_e49){ _e48.push(_e49); } }); for(var i=0;i<_e48.length;i++){ _e39.set(_e48[i].domNode,"display","none"); } if((0<=_e46)&&(_e46<_e48.length)){ _e39.set(_e48[_e46].domNode,"display",""); } }; function _e4a(_e4b){ switch(_e4b){ case "Email": _e45(0); break; case "SMS": _e45(1); break; case "Phone": _e45(2); break; case "TTY": _e45(3); break; default: _e45(-1); break; } }; _e45(-1); _e3e.watch("value",function(attr,_e4c,_e4d){ if(!_e44){ _e41.set("value",_e3e.get("value")); _e42.set("value",_e3e.get("value")); _e43.set("value",_e3e.get("value")); } }); _e4a(_e3f._selectNode.options[_e3f.selectedIndex].value); on(_e3f.domNode,"change",function(){ _e4a(_e3f.get("value")); _e44=true; }); this.initializeFormNavigation(_e3d); this.inherited(arguments); }}); return _e3c; }); },"sce/Carousel":function(){ require({cache:{"url:sce/templates/Carousel.html":"
      \r\n
      \r\n
      \r\n
      \r\n 1\r\n of\r\n 99\r\n
      \r\n \r\n \r\n \r\n
      \r\n
      "}}); define("sce/Carousel",["dojo/_base/declare","dojo/_base/config","dojo/_base/xhr","dojo/_base/json","dojo/_base/lang","dojo/_base/event","dojo/_base/connect","dojo/mouse","dojo/on","dojo/query","dojo/_base/Deferred","dojo/dom-construct","dojo/dom-class","dojo/dom-style","dojo/dom-attr","dojo/_base/fx","dojo/fx","dojo/keys","dijit/registry","dijit/_WidgetBase","dijit/_TemplatedMixin","dijit/focus","sce/Card","sce/RestCard","dojo/i18n!sce/nls/common","dojo/text!./templates/Carousel.html"],function(_e4e,_e4f,xhr,json,lang,_e50,_e51,_e52,on,_e53,_e54,_e55,_e56,_e57,_e58,fx,_e59,keys,_e5a,_e5b,_e5c,_e5d,Card,_e5e,i18n,_e5f){ var _e60=_e4e("sce.Carousel",[_e5b,_e5c],{templateString:_e5f,_i18n:i18n,enableAutoScroll:false,timeInterval:5000,_rotationInterval:null,dataSourceUri:"",enableSwipeGestures:false,collapseForSingleTemplateD:true,swipeThreshold:20,currentCardIndex:0,cardHeadingLevel:2,_setCurrentCardIndexAttr:{node:"currentCardIndexNode",type:"innerHTML"},maxCardIndex:0,_setMaxCardIndexAttr:{node:"maxCardIndexNode",type:"innerHTML"},checkForSingleTemplateD:function(){ var _e61=this.getCards(); return ((_e61.length===1)&&(_e61[0].cardType==="D")); },loadExistingCards:function(_e62){ var _e63=_e53("div.unmanagedCard",_e62),_e64=null; topComponentArr=null,bottomComponentArr=null,topComponent=null,bottomComponent=null; for(var i=(_e63.length-1);i>=0;i--){ _e64=_e63[i]; topComponentArr=dojo.query("div.top",_e64); bottomComponentArr=dojo.query("div.bottom",_e64); if(topComponentArr.length>0){ topComponent=topComponentArr[0]; } if(bottomComponentArr.length>0){ bottomComponent=bottomComponentArr[0]; } var _e65=new _e5e({"headingLevel":this.cardHeadingLevel,"cardType":_e58.get(_e64,"data-card-type"),"templateTheme":_e58.get(_e64,"data-template-theme"),"title":_e58.get(_e64,"data-title"),"date":_e58.get(_e64,"data-date"),"topText":_e58.get(_e64,"data-top-text"),"bottomText":_e58.get(_e64,"data-bottom-text"),"topComponent":topComponent,"bottomComponent":bottomComponent,"image":_e58.get(_e64,"data-image"),"video":_e58.get(_e64,"data-video"),"shareBar":_e58.get(_e64,"data-share-bar"),"ctaLink":_e58.get(_e64,"data-cta-link"),"ctaLinkTarget":_e58.get(_e64,"data-cta-link-target"),"ctaLinkText":(_e58.get(_e64,"data-cta-link-text")||_e58.get(_e64,"data-link-text")),"ctaLinkButtonTheme":_e58.get(_e64,"data-cta-link-button-theme")}); this.addCard(_e65); _e55.destroy(_e63[i]); } },startup:function(){ var req=this._loadServiceCards(); req.addCallback(lang.hitch(this,function(_e66){ this.loadExistingCards(this.containerNode); if(_e66&&_e66.ads){ for(var i=0;i<_e66.ads.length;i++){ var _e67={headingLevel:this.cardHeadingLevel}; lang.mixin(_e67,_e66.ads[i]); var _e68=new _e5e(_e67); this.addCard(_e68); } } var _e69=this.getCards().length; if(_e69<=1){ this.hideControls(); this.stopAutoScroll(); if(_e69<=0){ _e57.set(this.domNode,"display","none"); } } this.set("currentCardIndex",1); this.set("maxCardIndex",this.getCards().length); })); if(this.enableSwipeGestures){ var self=this; require(["dojo/touch","dojo/has"],function(_e6a,has){ if(has("touch")){ var _e6b={startX:0,startY:0}; on(self.domNode,_e6a.press,function(e){ if(self.getCards().length>1){ if(e.touches&&e.touches.length>=2){ return; } _e6b.startX=e.screenX; _e6b.startY=e.screenY; } }); on(self.domNode,_e6a.release,function(e){ if(self.getCards().length>1){ var dx,dy; dx=e.screenX-_e6b.startX; dy=e.screenY-_e6b.startY; if(Math.abs(dx)>self.swipeThreshold){ if(dx>0){ self.carouselPrev(); }else{ if(dx<0){ self.carouselNext(); } } } } }); } }); } if(this.collapseForSingleTemplateD){ on(this.domNode,"cardAdded",lang.hitch(this,function(){ _e56.remove(this.domNode,"hide"); })); } req.addErrback(function(){ }); if(this.enableAutoScroll){ this.startAutoScroll(); this.enableMouseOverScrollPause(); }else{ _e57.set(this.pauseCarousel,"display","none"); } this.inherited(arguments); },enableMouseOverScrollPause:function(){ var self=this; on(this.domNode,_e52.enter,function(e){ self.pauseAutoScroll(); }); on(this.domNode,_e52.leave,function(e){ self.resetAutoScroll(); }); },resetAutoScroll:function(){ clearInterval(this._rotationInterval); if(this.enableAutoScroll){ this.startAutoScroll(); } },stopAutoScroll:function(){ clearInterval(this._rotationInterval); this.enableAutoScroll=false; },pauseAutoScroll:function(){ clearInterval(this._rotationInterval); },startAutoScroll:function(){ this._rotationInterval=setInterval(lang.hitch(this,function(){ this.carouselNext(); }),this.timeInterval); },addCard:function(_e6c){ _e6c.placeAt(this.containerNode,"first").startup(); on.emit(this.domNode,"cardAdded",{bubbles:true}); },_loadServiceCards:function(){ var self=this,_e6d=null; if(this.dataSourceUri){ _e6d=xhr.get({url:this.dataSourceUri,content:{all:true},handleAs:"json",headers:{"Content-Type":"application/json"},load:function(){ on.emit(self.domNode,"cardsLoadedSuccess",{bubbles:true}); },error:function(e){ on.emit(self.domNode,"cardsLoadedError",{error:e,bubbles:true}); },preventCache:true,failOk:true}); }else{ _e6d=new _e54(); _e6d.resolve({"ads":[]}); } return _e6d; },getCards:function(){ var _e6e=this.getChildren(),_e6f=[]; for(var i=0;i<_e6e.length;i++){ if(_e6e[i].isInstanceOf(Card)){ _e6f.push(_e6e[i]); } } return _e6f; },slideLeft:function(_e70,_e71){ var _e72=fx.animateProperty({node:_e70.domNode,duration:300,properties:{left:{start:0,end:-101,units:"%"}},onEnd:lang.hitch(this,function(){ this.resortTopCard(1); _e57.set(_e70.domNode,"left","0%"); })}); return _e72; },slideRight:function(_e73,_e74){ var _e75=fx.animateProperty({node:_e73.domNode,duration:300,properties:{left:{start:-101,end:0,units:"%"}},onBegin:lang.hitch(this,function(){ _e57.set(_e73.domNode,"left","-101%"); this.resortTopCard(-1); })}); return _e75; },resortTopCard:function(_e76){ if(_e76>0){ var _e77=this.getCards(); var _e78=_e77[0].domNode; var _e79=_e77[_e77.length-1].domNode; _e55.place(_e79,_e78,"before"); }else{ if(_e76<0){ var _e77=this.getCards(); var _e78=_e77[0].domNode; var _e79=_e77[_e77.length-1].domNode; _e55.place(_e78,_e79,"after"); } } },carouselControlKeyHandler:function(e){ switch(e.keyCode){ case keys.RIGHT_ARROW: this.carouselNext(e); _e5d.focus(this.nextCarousel); break; case keys.LEFT_ARROW: this.carouselPrev(e); _e5d.focus(this.prevCarousel); break; default: } },slideCarousel:function(_e7a){ if(_e7a>0){ this.carouselNext(); }else{ if(_e7a<0){ this.carouselPrev(); } } },carouselPause:function(e){ if(this.enableAutoScroll){ clearInterval(this._rotationInterval); _e58.set(this.pauseCarousel,{"alt":i18n.resumeText,"title":i18n.resumeText,"aria-pressed":"true"}); this.enableAutoScroll=false; }else{ this.enableAutoScroll=true; _e58.set(this.pauseCarousel,{"alt":i18n.pauseText,"title":i18n.pauseText,"aria-pressed":"false"}); this.resetAutoScroll(); } if(e){ _e50.stop(e); } },carouselNext:function(e){ var _e7b=this.getCards(); var _e7c=null; if(_e7b.length>0){ _e7c=_e7b[_e7b.length-1]; this.slideLeft(_e7c,(_e7b.length-1)).play(); var _e7d=this.get("currentCardIndex"); var _e7e=this.get("maxCardIndex"); _e7d=_e7d+1; if(_e7d>_e7e){ _e7d=1; } this.set("currentCardIndex",_e7d); if(this.enableAutoScroll){ this.resetAutoScroll(); } } if(e){ _e50.stop(e); } },carouselPrev:function(e){ var _e7f=this.getCards(),_e80=null; if(_e7f.length>0){ _e80=_e7f[0]; this.slideRight(_e80,1).play(); var _e81=this.get("currentCardIndex"); var _e82=this.get("maxCardIndex"); _e81=_e81-1; if(_e81<=0){ _e81=_e82; } this.set("currentCardIndex",_e81); if(this.enableAutoScroll){ this.resetAutoScroll(); } } if(e){ _e50.stop(e); } },hideControls:function(){ _e57.set(this.carouselControls,"display","none"); },showControls:function(){ _e58.remove(this.carouselControls,"style"); }}); return _e60; }); },"url:sce/templates/ContentPane.html":"
      \r\n
      \r\n <${headingElement}\r\n id=\"${id}_contentPaneTitle\" \r\n class=\"contentPaneTitle\" \r\n data-dojo-attach-point=\"contentPaneTitle\"\r\n tabindex=\"0\" \r\n aria-controls=\"${id}_contentPaneContentContainer\"\r\n >\r\n
      ${_i18n.showText}
      \r\n
      \r\n
      \r\n
      \r\n
      \r\n
      ","sce/analytics/_OutageSearch-Analytics":function(){ define("sce/analytics/_OutageSearch-Analytics",["dojo/_base/declare","dojo/_base/lang","dojo/string","dojo/i18n!sce/nls/analytics"],function(_e83,lang,_e84,_e85){ function _e86(_e87){ if(typeof _initJSMD==="function"){ var _e88=_initJSMD(),_e89; _e88.page.name=_e87.name; _e88.page.friendly_name=_e87.friendlyName; _e88.page.application=_e87.application; _e88.page.section=_e87.section; _e88.page.process=_e87.process; _e88.page.form=_e87.form; _e88.page.hierarchy=_e88.page.section+":"+_e88.page.application+":"+_e88.page.process; _e88.user.outage_info=_e84.substitute(_e85.outageSearch.idFormat,{outageid:_e87.outageNumber}); _e88.page.events=_e88.page.events||[]; if(Array.isArray(_e88.page.events)){ _e89=[_e85.outageSearch.baseEvent," "]; _e88.page.events.push(_e89); } _e88.loadMap(_mainAnalyticsMap); _e88.send(); }else{ } }; var _e8a=_e83(null,{analyticsName:_e85.outageSearch.name,analyticsFriendlyName:_e85.outageSearch.friendlyName,analyticsApplication:_e85.outageSearch.application,analyticsSection:_e85.outageSearch.section,analyticsProcess:_e85.outageSearch.process,analyticsForm:_e85.outageSearch.form,constructor:function(){ this.on("search",lang.hitch(this,function(e){ _e86({name:this.analyticsName,friendlyName:this.analyticsFriendlyName,application:this.analyticsApplication,section:this.analyticsSection,process:this.analyticsProcess,form:this.analyticsForm,outageNumber:e.searchTerm}); })); }}); return _e8a; }); },"sce/global/Utility":function(){ define("sce/global/Utility",["dojo/_base/array","dojo/dom","dojo/query","dojo/on","dojo/dom-style","dojo/dom-geometry","dojo/dom-attr","dojo/io-query"],function(_e8b,dom,_e8c,on,_e8d,_e8e,_e8f,_e90){ var _e91={truncateText:function(_e92){ _getInnerText=function(_e93){ var elem=dom.byId(_e93); var ret=elem.innerText||elem.textNode||elem.innerHTML; return ret.trim(); }; _setInnerText=function(_e94,_e95){ var elem=dom.byId(_e94); if(elem.innerText){ elem.innerText=_e95; }else{ if(elem.textNode){ elem.textNode=_e95; }else{ elem.innerHTML=_e95; } } }; var elem=dom.byId(_e92); if(elem==null){ return; } if(_e8f.get(elem,"title")!=null){ _setInnerText(elem,_e8f.get(elem,"title")); } _e8f.remove(elem,"title"); var _e96=_e8d.get(elem,"display"); var _e97=_e8d.get(elem,"visibility"); if(_e96!="block"){ _e8d.set(elem,"visibility","hidden"); _e8d.set(elem,"display","block"); } var _e98=_e8e.position(elem); var _e99=_e8e.position(elem.parentNode); var _e9a=null; if(elem.parentNode!=null&&elem.parentNode.parentNode!=null){ _e9a=_e8e.position(elem.parentNode.parentNode); } var dims=[_e98,_e99,_e9a]; for(var i=0;i=_e98.h&&(_e9a.w-40)>_e98.w&&_e9b_e98.w&&_e9b=4){ _ea0={month:parseInt(_e9f[1]),day:parseInt(_e9f[2]),year:parseInt(_e9f[3])}; ret=new Date(_ea0.year,(_ea0.month-1),_ea0.day); }else{ throw "Bad date string"; } return ret; },padNumberString:function(_ea1,_ea2,_ea3){ _ea3=(_ea3||"0"); _ea1=_ea1+""; return _ea1.length>=_ea2?_ea1:new Array(_ea2-_ea1.length+1).join(_ea3)+_ea1; },parseQueryString:function(){ var url=document.URL,_ea4=url.indexOf("?"); if(_ea4!==-1){ var _ea5=url.substring(_ea4+1,url.length); var _ea6=_e90.queryToObject(_ea5); return _ea6; }else{ return {}; } },calculateLuminance:function(r,g,b){ var a=_e8b.map([r,g,b],function(v){ v/=255; return (v<=0.03928)?v/12.92:Math.pow(((v+0.055)/1.055),2.4); }); return a[0]*0.2126+a[1]*0.7152+a[2]*0.0722; },calculateColorContrast:function(r1,g1,b1,r2,g2,b2){ var lum1=this.calculateLuminance(r1,g1,b1),lum2=this.calculateLuminance(r2,g2,b2),_ea7=((lum1+0.05)/(lum2+0.05)); return Math.max(_ea7,(1/_ea7)); },forceInternetExplorerRender:function(){ _e8d.set(_e8c("body")[0],{height:"auto"}); _e8d.set(_e8c("body")[0],{height:"100%"}); },createMailToLink:function(_ea8){ if(_ea8.to&&(_ea8.to instanceof Array)){ _ea8.to=_ea8.to.join(","); } if(_ea8.cc&&(_ea8.cc instanceof Array)){ _ea8.cc=_ea8.cc.join(","); } var _ea9="mailto:"+(_ea8.to?(encodeURI(_ea8.to)):"")+"?"+(_ea8.cc?("cc="+encodeURI(_ea8.cc)):"")+((_ea8.cc&&_ea8.subject)?"&":"")+(_ea8.subject?("subject="+encodeURI(_ea8.subject)):"")+(((_ea8.cc||_ea8.subject)&&_ea8.body)?"&":"")+(_ea8.body?("body="+encodeURI(_ea8.body)):""); return _ea9; }}; return _e91; }); },"sce/nls/common":function(){ define("sce/nls/common",{root:({selectedText:"Selected",aboutText:"about",expandText:"expand",expandTextCapital:"Expand",showText:"Show",hideText:"Hide",closeText:"Close",detailsText:"Details",expandCategoryText:"expand category",collapseText:"collapse",collapseTextCapital:"Collapse",collapseCategoryText:"collapse category",collapseDrawer:"Close Section",expandDrawer:"Open Section",informationAboutText:"information about",inputValidText:"input valid",invalidInputText:"invalid input",moreText:"More",seeMoreText:"Show More",lessText:"Less",seeLessText:"Show Less",progressText:"Progress",printText:"Print",closeDialogText:"Close Dialog",failText:"fail",passText:"pass",loaderDialogText1:"Just a few more seconds...",loaderDialogText2:"Thanks for waiting.",loaderDialogText3:"We appreciate your patience.",setupBarDescriptionText1:"",setupBarDescriptionText2:"We've noticed you have unfinished request(s). Select \"Finish Request\" when you're ready to continue.",closeSetupBarText:"Close Progress Bar",finishSetupText:"Finish Request",legendUnavailable:"Unavailable",legendToday:"Today",legendAvailable:"Available",readMoreText:"Read More",learnMoreText:"Learn More",loadingText:"Loading... Please Wait...",yourDetailsAreBeingVerifiedText:"Verifying",okText:"OK",cancelText:"Cancel",saveText:"Save",nextText:"Next",previousText:"Previous",continueText:"Continue",submitText:"Submit",stepText:"First",zipCodeText:"ZIP Code",houseNumberText:"street number",houseNumberLabelText:"Street Number",streetNameText:"street name",streetNameLabelText:"Street Name",crossStreetNameLabelText:"Cross Street",unitNumberText:"unit number",unitNumberLabelText:"Unit Number (if applicable)",turnOnText:"turn on",turnOffText:"turn off",meterText:"Meter",unitText:"Unit",assistanceText1:"It looks like you're having trouble entering your address.",assistanceText1OurProblem:"It looks like we're having some technical issues at the moment.",assistanceText2:"Call us at 1-800-655-4555 and we'll help you submit your request.",assistanceText3:"",avServiceErrorText:"We're having some technical issues at the moment. Please give us a call at 1-800-655-4555 to submit your request, or try again later.",avScreen1Text:"Please enter your {0}",avScreen2Text:"Now, enter the {0} and {1}",avScreen3Text:"We couldn't find the {0} you entered. Please select from similar street names below, or select \"Previous\" to re-enter your address.",avSelectStreetNameText:"Select a similar street name...",avScreen4Text:"If this is the correct address, select \"Next\" to continue.",notYourAddressButtonText:"Not Your Address?",duplicateAddressErrorText:"The address you have entered cannot be uniquely identified. Please give us a call at 1-800-655-4555 to submit your request.",reenterAddressButtonText:"Re-enter Your Address",avScreen6Text:"There are {0} located at the address you entered. Please select the correct meter from the list below. If you need to submit a service request for multiple meters at a single address, a separate request is required for each meter.",multipleMetersText:"multiple meters",avSelectMeterText:"Select a meter",enteredAddressText:"Entered Address",selectedAddressText:"Selected Address",cancelDialogText1:"Are you sure you want to cancel?",cancelDialogText2:"Your progress will not be saved.",cancelDialogButtonText1:"No, I want to continue",cancelDialogButtonText2:"Yes, I want to cancel",leftNavigationOverviewText:"Overview",searchingText:"Searching",searchCompleteText:"Search Complete",updatingResultsText:"Updating Results",resultsUpdatedText:"Results updated",evSelectFromDeliverableAddresses:"Deliverable Addresses",evSeeAvailableRanges:"Available Address Ranges",evNoDeliverableAddresses:"No deliverable addresses found",evNoAvailableRanges:"No available address ranges found",evChooseFromOptions:"Below, you can edit the address or continue with no changes.",evWeRecommendText:"We recommend",evYouEnteredText:"You entered",evEditThisAddress:"Edit this address",evUseAddressAsEntered:"Use address as shown",evUseThisAddress:"Use this address instead",evUndeliverableAddressText:"Note: If you use this address, we may be unable to mail important account information, such as your bill.",evUnableToFindAddressText:"We were unable to find the address you entered.",evAllPotentialMatchesText:"Similar Addresses",evScreenInitialAddressError:"Please enter an address.",evScreenInitialCityError:"Please enter a city.",evScreenInitialZipcodeError:"Please enter a ZIP code.",addressLabelText:"Address",cityLabelText:"City",provinceRegionStateLabelText:"Province/Region/State",evScreenInteractionRequiredText:"We found a similar address. Choose from the options below, edit the entire address, or continue with no changes.",evScreenInteractionRequiredText2:"We found the following address",evScreenInteractionRequiredText3:"Our records show that this address has not been recently confirmed to be deliverable, please verify it is correct",evShowOriginallyEnteredAddressText:"Show previously entered address",evScreenPartialText:"It looks like we need more information.",evScreenPremisesPartialText:"The address entered may require an apartment, suite or unit number. Please enter one, choose a similar address, or edit your address.",evScreenPremisesPartialText2:"Enter Apartment/Suite/Unit number",aptUnitSuiteLabelText:"Apt/Suite/Unit Number",buildingHouseLabelText:"Street Number",evScreenStreetPartialText:"We couldn't find the street number you entered. You can update your address, or continue with no changes.",evScreenStreetPartialText2:"Enter street number",aptUnitSuiteLabelErrorText:"We couldn't verify this apartment,suite/unit number. Please re-enter it or try again.",buildingHouseLabelErrorText:"We couldn't verify this street number. Please re-enter it or try again.",evScreenMultipleText:"We found more than one match for your address.",seeMoreResultsLabelText:"See More Results",evScreenValidatedText:"Address Verified!",evScreenValidatedText2:"Please review your selected address",evScreenValidatedText3:"If the address below isn't correct, select \"Re-enter Your Address\". Please note that if your mailing address is incorrect, we may be unable to mail important account information, such as your bill.",drawerError1Text:"We're having some technical issues at the moment. While we work to fix it, give us a call at 1-800-655-4555, or try again later. (WP-CS_Error_06_111) (WP-CS_06_111)",drawerError2Text:"We're having some technical issues at the moment. While we work to fix it, give us a call at 1-800-655-4555, or try again later. (WP-CS_Error_06_112) (WP-CS_06_112)",catalinaErrorText:"We're sorry, but we're unable to complete your request online for the {0} you entered. Please call us at 1-800-655-4555 and we'll help you submit your order. (WP-CS_Error_06_113) (WP-CS_06_113)",avZipCodeTextBoxError:"The {0} you entered is not in our service area. Please check it and try again. (WP-CS_Error_06_114) (WP-CS_06_114)",avHouseNumberErrorText:"The {0} you entered does not match the {1} you specified. Please check it and try again. (WP-CS_Error_06_115) (WP-CS_06_115)",avStreetNameErrorText:"The {0} (as you entered it) does not match one in the {1} you specified. Please check it and try again. Here are a few examples of correct formatting (WP-CS_Error_06_116) (WP-CS_06_116)",avStreetNameErrorText2:"If you need to re-enter your ZIP code, select \"Previous\" to go back and update it. (WP-CS_Error_06_117) (WP-CS_06_117)",avSimilarStreetNameError:"Please select a similar street name",avUnitNumberErrorText:"The {0} you entered does not match the {1} and {2} you specified. Please check it and try again. (WP-CS_Error_06_118) (WP-CS_06_118)",avSelectMeterErrorText:"Please select a meter for the address listed below. (WP-CS_Error_06_119) (WP-CS_06_119)",evAjaxError:"We were unable to find your address. Please try again, or just continue with the address you entered.",missingUnitNumber:"Please enter a unit number, if you are not sure what your unit number is please call us at 1-800-655-4555",missingStreetName:"Please enter a street name, if you are not sure what your street name is please call us at 1-800-655-4555",missingStreetNumber:"Please enter a street number, if you are not sure what your street number is please call us at 1-800-655-4555",missingZip:"Please enter a ZIP code.",invalidZip:"Please enter a valid ZIP code.",outOfTerritoryZip:"This ZIP code is not in SCE territory.",addressValidationIncompleteError:"Please complete the address check below.",expandInfoTip:"Open Info Tip",collapseInfoTip:"Close Info Tip",disconnectAction:"Disconnect",disconnectDialogText:"In order to continue to view your account information on MySCE we need you to register a SCE.com email log in before we can proceed with the disconnection of your Social ID.",disconnectConfirm:"Yes, I want to proceed",disconnectCancel:"No, do not disconnect",validateAddressText:"Validate Address",prevCarouselItem:"Previous carousel item",pauseCarousel:"Pause carousel",nextCarouselItem:"Next carousel item",usernameUnavailable:"That email is unavailable, please use a different email.",onlineBillingRegistrationError:"Please complete the registration process.",cisrText:"Authorization",cisrValidText:"Valid",revokeCisrText:"Revoke Authorization",thirdPartyText:"Third Party",authorizedToShareText:"Authorized to Share",usageDataText:"Usage Data",lastSuccessfulTransferText:"Last Successful transfer",saIncludedInCisrText:"All Service Accounts Included in this Authorization",pleaseMakeSelection:"Please select an option.",pleaseEnterInput:"Please provide appropriate input.",pleaseEnterValidURL:"Please enter a valid URL.",mustAcceptTnC:"You must agree to the Terms and Conditions.",fromDateMustBeLessThanToDate:"'From' date must be less than 'to' date",disposalDateMustBeGreaterThanToDate:"'Disposal' date can not be less than 'to' date",twitterAction:"Tweet",twitterText:"Learn more about Southern California Edison",socialDescription:"Like and Share",socialByEmail:"Share by Email",compatabilityText:"You need Flash player 8+ and JavaScript enabled to view this video.",playerControlsText:"Press b key to seek backward, press f key to seek forward",playerControlsPlay:"Play",playerControlsMute:"Mute",playerControlsCC:"CC",searchText:"Search Text",searchPage:"Page",searchLanguage:"Language",searchSelectLanguage:"Select a Language",searchButton:"Click to search",numResultsText:"Number of results:",forSearchTermText:"for search term:",searchResultsPerPage:"Number of results per page:",searchPreviousPage:"Previous Page",searchNextPage:"Next Page",searchShowing:"Showing",searchNoMatches:"Your search did not match any documents.",recommendedLinks:"Recommended Links",searchFeedLoadError:"Error loading feed",totalOutages:"Total Outages",customersImpacted:"Customers Impacted",outageSearchInputLabel:"Outage Number",outageSearchInfoTipAssociation:"Information about outage search",outageSearchTipContent:"Your outage number would have been provided when we notified you about your maintenance outage.",outageSearchErrorMessage:"Please enter a valid outage number, between 6 and 9 digits inclusively",outageMapSearchLegendText:"Search outage map by",outageMapSearchBy:"Address, County, City, or ZIP",outageMapClearSearchText:"Clear search",countyText:"County",cityText:"City",zipText:"Zip",totalOutagesLabel:"Total Outages",totalCustomersAffectedLabel:"Customers Impacted",outageTypeMaintenance:"Maintenance Outage",outageTypeRepair:"Repair Outage",outageMapByCounty:"By County",outageMapByCity:"By City",outageMapByZip:"By ZIP",outageMapModeMap:"Map",outageMapModeList:"List",outageMapMapRegionLabel:"Map",outageMapListRegionLabel:"List",outageMapReportOutage:"Report an Outage",outageMapReportOutageBy:"Report an Outage:",outageMapReportOutageHB:"Home or Business",outageMapReportOutageSL:"Street Light",outageMapLastUpdated:"Last updated:",outageMapSingleOutage:"Maintenance/Repair Outage",outageMapAreaOutage:"Multiple Outages in the Area",outageMapExpandAll:"Expand All",outageMapCollapseAll:"Collapse All",outageMapCustAffected:"Customers Affected",outageMapOutagesLabel:"Outages",outageMapDistrictGeoLabel:"This shows the area affected by significant power outages. Visit the Major Outages page for more details.",outageMapClusterTitle:"Click or zoom in to see outages in the area",outageMapUnknownPublishDate:"Not Available",partialOutageMessage:"Counties,cities and ZIP codes listed below are not impacted by the major outages",outageMapWidgetLoading:"Loading Outage Map Data",outageMapApiLoadingHeading:"Loading Outage Map",outageMapApiFailHeading:"Outage Map Unavailable",outageMapApiFailDescription:"We're sorry, but the map view is currently unavailable. You can still view the list of current outages by using the list control above or by clicking the button below.",outageMapListButtonLabel:"Show Outage List",outageMapErrorHeading:"Outage Map Unavailable",outageMapErrorBody:"We're having some technical issues at the moment. Please check back again later.",estimatedRestorationLabel:"Estimated Restoration",lastUpdatedLabel:"Last Updated",startTimeLabel:"Start Time",customersImpactedLabel:"Customers Impacted",causeLabel:"Cause",crewStatusLabel:"Crew Status",additionalInfoLabel:"Additional Info",oanLabel:"Outage Number",hanaAvmPleaseZipcode:"Enter your ZIP Code",hanaAvmPleaseStreetName:"Now enter the Street Number and Street Name",hanaAvmPleaseStreetOrCross:"Please enter a street number or cross street",hanaAvmStreetCrossCantMatch:"Street Name and Cross Street must not match",invalidAddress:"Please enter a valid address within our service territory.",invalidZipCode:"Please enter a valid ZIP code within our service territory.",invalidHouseNumber:"Please enter a valid street number.",invalidStreetName:"Please enter a valid street name.",invalidUnitNumber:"Please enter a valid unit number.",invalidCityOrZip:"Please enter a valid city or ZIP code within our service territory.",invalidCrossStreet:"Please enter a valid cross street name.",hanaAvmCityOrZip:"City or ZIP Code",hanaAvmCityOrZipSelect:"Make a selection",hanaAvmCityOrZipLabel:"- City or ZIP Code -",crossStreetLabel:"Cross Street",hanaAvmStreetNameExample:"
      • W Main St
      • S 3rd Ave
      ",havaAvmCouldntFind:"We couldn't find the exact address you entered. Please select from similar street names below, or select \"Previous\" to re-enter your address.",havaAvmOutOfServiceArea:"The city or ZIP code you entered is not in our service area. Please check it and try again. (WP-CS_Error_06_114) (WP-CS_06_114)",hanaAvmNextButtonLabel:"Next",hanaAvmPreviousButtonLabel:"Previous",hanaAvmNotYourAddress:"Incorrect Address?",hanaAvmOutOfAreaZip:"We're sorry, but we're unable to complete your request online for the ZIP code you entered. Please call us at 1-800-611-1911 and we'll help you submit your order. (WP-CS_Error_06_113) (WP-CS_06_113)",notProvided:"Not Provided",hanaAvmNoStreetMatch:"We couldn't find the street name you entered",hanaAvmNoNumberMatch:"The street number you entered does not match the street name you specified. Please check it and try again.",hanaAvmProbablyMissingUnitNumber:"The unit number you entered does not match the unit name you specified. Please check it and try again.",hanaUnavailable:"We're having some technical issues at the moment. Please give us a call at 1-800-611-1911 to submit your request, or try again later.",zipCityUnavailable:"One of our services is unavailable at the moment. Please give us a call at 1-800-611-1911 to submit your request, or try again later.",hanaAvmSimilarSelectLabel:"Please select a similar street name.",hanaAvmMultiMeterSelectLabel:"Please select a meter.",hanaAvmCityZipSelectLabel:"Please select a city or ZIP code",hanaAvmAssistanceText1:"It looks like you're having trouble entering your address.",hanaAvmAssistanceText2:"Call us at 1-800-611-1911 and we'll help you submit your request.",hanaAvmHomeBusinessPleaseZipcode:"Enter your ZIP Code",hanaAvmStreetlightPleaseZipCity:"Enter your City or ZIP Code",hanaAvmHomeBusinessZipNext:"Enter Street Number & Name",hanaAvmHomeBusinessAddressNext:"Validate Address",hanaAvmHomeBusinessAddressPrev:"Previous",hanaAvmHomeBusinessFuzzyNext:"Validate Address",hanaAvmHomeBusinessFuzzyPrev:"Previous",hanaAvmHomeBusinessConfirmPrev:"Previous",hanaAvmHomeBusinessMultiMeterLabel:"Please select your address",hanaAvmStreetlightZipNext:"Enter Street Number & Name",hanaAvmStreetlightAddressNext:"Validate Address",hanaAvmStreetlightAddressPrev:"Previous",hanaAvmStreetlightFuzzyNext:"Validate Address",hanaAvmStreetlightFuzzyPrev:"Previous",hanaAvmStreetlightConfirmPrev:"Previous",modeLoggerLabel:"Presentation Mode Logger",mobileMode:"Mobile Mode",tabletMode:"Tablet Mode",desktopMode:"Desktop Mode",pauseText:"Pause",resumeText:"Resume",customerNameText:"Enter the exact name as it appears on the customer's bill.",oniNameText:"Enter Name",oniNameMsg:"Please enter the name exactly how it appears on the bill. ",serviceAddress:"Service Address",selectCustomer:"Select a customer",selectcust:"Select customer",selectcusterr:"Please Select a Customer",residential:"Residential",selectRadio:"Please select the radio.",firstName:"First Name",firstNameErr:"Please enter the first name exactly how it appears on the bill.",middleName:"Middle Name",lastName:"Last Name",lastNameerr:"Please enter the last name exactly how it appears on the bill.",business:"Business",enterThe:"Please enter the",zipcdCaps:"ZIP CODE",streetxt1:"Now, enter the",streetxt2:"Street Number",streetxt3:"and",streetxt4:"Street Name:",streetExample1:"W Main St",streetExample2:"S 3rd Ave",selectMeter:"Select meter",error:"error",selectcusttxt:"- Select to search -",onienterZipCd:"Please enter the ZIP Code."}),"es":true,"ko":true,"vi":true,"zh":true}); },"*noref":1}}); define("dojo/_sce_customdata_resp_full",[],1); require(["dojo/i18n","sce/global/Initializer","sce/global/Navigation","sce/global/Session","sce/global/Utility","sce/form/Button","sce/form/CheckBox","sce/form/RadioButton","sce/form/Select","sce/form/TextBox","sce/form/Validator","sce/layout/_PaneLayout","sce/layout/_ResponsiveLayout","sce/mobile/FlyoutNavigation","sce/flow/Content","sce/_Validation","sce/Notification","sce/Carousel","sce/Card","sce/RestCard","sce/Dialog","sce/Drawer","sce/Espots","sce/LeftNavigation","sce/ProgressBar","sce/SetupBar","sce/ScrollablePane","sce/ContentPane","sce/VideoPlayer","sce/TooltipDialog","sce/ResponsiveTable","sce/ContentExpander","sce/ShareBar","sce/EspotsCarousel","sce/CollapsableCarousel","sce/TipGallery","sce/YoutubePlayer","sce/ToolRailCarousel","sce/flow/outage/HomeBusiness/HBConfirm","sce/flow/outage/HomeBusiness/HBDescribe","sce/flow/outage/HomeBusiness/HBDuplicate","sce/flow/outage/HomeBusiness/HBLocate","sce/flow/outage/HomeBusiness/HBRequestorInfo","sce/flow/outage/HomeBusiness/HBReview","sce/flow/outage/Streetlight/SLConfirm","sce/flow/outage/Streetlight/SLDescribe","sce/flow/outage/Streetlight/SLLocate","sce/flow/outage/Streetlight/SLRequestorInfo","sce/flow/outage/Streetlight/SLReview","sce/outage_map/OutageMap","sce/form/OutageSearch","sce/avm/AddressValidationHANA","sce/avm/AddressValidationStreetlightHANA"]); var _w=window;var _jsmd_default={version:"BASEJSMD-20111128-0",release:"0",dictionary:{init:{"page.language":"gDOM|document.getElementsByTagName('html')[0].lang;","user.segment.customer_type":"gCookie|_jsmd:ctype","user.segment.com_customer_type":"gCookie|_jsmd:cctype","user.segment.com_customer_size":"gCookie|_jsmd:ccsize","user.segment.rate":"gCookie|_jsmd:ratecode","user.id":"gCookie|_jsmd:id","user.segment.smartmeter":"gCookie|_jsmd:smartmeter","user.segment.myaccount_uid":"gCookie|_jsmd:myaccount_uid","user.segment.eaa_deptcode":"gCookie|_jsmd:deptcode","user.segment.eaa_medbaseline":"gCookie|_jsmd:medbaseline","user.segment.eaa_usertype":"gCookie|_jsmd:usertype","user.segment.eaa_int_ext":"gCookie|_jsmd:int_ext","user.segment.eaa_progproduct_type":"gCookie|_jsmd:progproduct_type","user.segment.eaa_stand_aggregator_type":"gCookie|_jsmd:stand_aggregator_type","user.segment.eaa_custname":"gCookie|_jsmd:custname","user.segment.eaa_sanum":"gCookie|_jsmd:sanum","user.segment.eaa_saname":"gCookie|_jsmd:saname","page.source_location":"gCookie|_jsmd:FromScreen|c","page.lastform":"gCookie|_jsmd:lastform|c","promo.external":"gQuery|ecid","promo.internal":"gQuery|icid","page.internal_search":"gQuery|q","page.outage.zip":"gQuery|zipcd","page.outage.id":"gQuery|oanum","page.name":"gDynPage|name","page.url":window.location.href,"page.friendly_name":"gDynPage|friendly","page.hierarchy":"gDynPage|hier","page.cookie_event":"gCookie|_jsmd:page_event|c","user.optout":"gCookie|_jsmd:OptOut|c",preinit:function(){this.mdata={page:{link:{},events:[],signup:{},programs:{},outage:{},paymentcycle:{}},product:{},user:{segment:{}},promo:{},process:{}};},postinit:function(){}}},map:{"main":{vendors:[{name:"Adobe SiteCatalyst H-code",account:"basic",settings:["basic"],variablemap:["basic"],eventmap:["basic"],match:window.location.hostname,prevendor:function(){var md=this.mdata;var _1=md.user.segment,_2=md.page.hierarchy,_3=md.page.cookie_event;_2=(_2?_2:"");if(_3!=null&&_3.length>0){md.page.events.push(_3);}_1.smartmeter=(_1.smartmeter=="true"?"smartconnect":"nonsmartconnect");if(!_1.customer_type||(_1.customer_type!=null&&(_1.customer_type!=="residential"&&_1.customer_type!=="commercial"))){_1.customer_type="notidentified";}_1.customer_type=(_1.customer_type);var _4="",_5=["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],d=new Date();d.setTime(d.getTime()+(d.getTimezoneOffset()*1000*60)+(-7*3600000));if(d.getHours()>9){_4=_5[d.getDay()]+":"+d.getHours();}else{if(d.getHours()>=0&&d.getHours()<=9){_4=_5[d.getDay()]+":"+"0"+d.getHours();}}this.set("page.daypart",_4);md.page.hierarchy=_2;var _6=md.page.application,_7=md.page.name,_2=md.page.hierarchy,_8=md.page.process,_9=md.page.form,_a=md.page.friendly_name;_6=(_6!=null?_6.toLowerCase():"");_7=(_7!=null?_7.toLowerCase():"");_2=(_2!=null?_2.toLowerCase():"");_9=_9!=null?_9.toLowerCase():"";_8=(_8!=null?_8.toLowerCase():"");if(_2.indexOf("cms")!=-1||_6.length==0){var h=_2.split(":");md.page.application=(_6="cms");md.page.process=(_8="cms");md.page.section=(h[1]);}if(_6=="online payment"){md.page.form=_6;if(_7.indexOf("op selection single ca step 1")>=0||_7.indexOf("op selection multiple ca step 1")>=0){md.page.events.push("online billing.start enrollment");md.page.events.push("online payment.start enrollment");md.page.events.push("direct payment.start enrollment");}if(_7.indexOf("op selection single ca success")>=0||_7.indexOf("op selection multiple ca success")>=0){md.page.events.push("online billing.complete enrollment");md.page.events.push("online payment.complete enrollment");md.page.events.push("direct payment.complete enrollment");}}if(_6=="esc bills and payment"){md.page.form=_6;if(_7.indexOf("esc bills and payment op dp ob enrollment")>=0){md.page.events.push("online billing.start enrollment");md.page.events.push("online payment.start enrollment");md.page.events.push("direct payment.start enrollment");}if(_7.indexOf("esc bills and payment op dp ob enrollment confirmation")>=0){md.page.events.push("online billing.complete enrollment");md.page.events.push("online payment.complete enrollment");md.page.events.push("direct payment.complete enrollment");}}if(_6=="online billing"){md.page.form=_6;if(_7.indexOf("step 1")>=0){md.page.events.push("online billing.start enrollment");}if(_7.indexOf("success")>=0){md.page.events.push("online billing.complete enrollment");}if(_7.indexOf("view bill")>=0){md.page.events.push("online billing.retrieve bill");}}if(_6=="auth"){if(_7.indexOf("find user name")>=0){md.page.events.push("username found");}if(_7.indexOf("reset password")>=0){md.page.events.push("reset password");}}if(_6=="my account registration"){if(_7.indexOf("step 1")>=0){md.page.events.push("my account registration.start");}if(_7.indexOf("success")>=0){md.page.events.push("my account registration.complete");}if(md.page.source_location!=null&&md.page.source_location.indexOf("onlinebilling")!=-1){md.page.events.push("online billing.complete enrollment");}if(md.user.optout!=null&&md.user.optout.length>0){md.page.events.push("email.optout");}}if(_2.indexOf("residential:rebates")!=-1||_2.indexOf("business:energy management")!=-1){md.page.events.push("ee program views");}if(_6.indexOf("form")!=-1&&_8.indexOf("thank")==-1){md.page.events.push("form.start");this.plugin.cookie.set("_jsmd:lastform",_9,0.02);}if(_6.indexOf("form")!=-1&&_8.indexOf("thank")!=-1){md.page.events.push("form.complete");_9=md.page.lastform;}if(_6=="secureauth"){if(md.user.optout!=null&&md.user.optout.length>0){md.page.events.push("email.optout");}}if(_6=="esc bills and payment"){if(_7.indexOf("esc bills and payment view pdf bill")>=0){md.page.events.push("online billing.retrieve bill");}}if(_6=="esc my profile"){if(md.user.optout!=null&&md.user.optout.length>0){md.page.events.push("email.optout");}}if(md.page.signup!=null){for(var ti in md.page.signup){md.page.events.push(["signup."+ti,md.page.signup[ti]]);}}this.set("m:page.hierarchy",_2);this.set("m:page.application",_6);this.set("m:page.name",_7);this.set("m:page.friendly_name",_a);this.set("m:page.process",_8);this.set("m:page.form",_9);},postvendor:function(){}}],basic:{filters:{"pdf-click":{include:["link."]}},account:function(){var sc=this.get("user.segment.smartmeter")||"";var _b=this.get("user.segment.customer_type")||"";function _c(){var rs=["sceproduction.global"];if(_b.indexOf("not")==-1){rs.push("sceproduction."+_b);}if(sc.indexOf("connect")!=-1){rs.push(sc=="nonsmartconnect"?"sceproduction.nsc":"sceproduction.sc");}return rs.join(",");};function _d(){var rs=["scestaging2.global"];if(_b.indexOf("not")==-1){rs.push("scestaging2."+_b);}if(sc.indexOf("connect")!=-1){rs.push(sc=="nonsmartconnect"?"scestaging2.nsc":"scestaging2.sc");}return rs.join(",");};function _e(){return "sceproductioninternal";};dynamic_accountmap={"www.sce.com|www.chat.sce.com|m.sce.com|sce.promo.eprize.com|savepowerandsave.com|energysavingpays.com|smartwaystosave.sce.com|save-now.sce.com|helpmelowermybill.net":_c,"wwwt10.sce.com|wwwt10.chat.sce.com|mt10.sce.com|sist710.sce.com|re:wwwtd+.sce.com|wwwst.sce.com":_d,"sisp563.sce.com":_e,"default":function(){return "scedev,sceproto1.global";}};defaultRS=dynamic_accountmap["default"]||"ignore";matchStr=window.location.hostname;var _f=[],i;_f.push((typeof (defaultRS)=="function"?defaultRS():defaultRS));for(i in dynamic_accountmap){var sa=i.split("|"),j,_10=false;for(j=sa.length-1;j>-1;j--){var s=sa[j];if((s.indexOf("re:")==0&&(new RegExp(s.substr(3))).test(matchStr))||(matchStr.indexOf(s)!=-1)){_10=true;}else{if(matchStr===s){_10=true;}}}if(_10==true){var _11=dynamic_accountmap[i];if(typeof (_11)=="function"){_f=[_11()];}else{_f=[_11];}}}return _f.join(",");},settings:{"trackDownloadLinks":true,"trackExternalLinks":true,"trackInlineStats":true,"linkDownloadFileTypes":"exe,zip,wav,mp3,mov,mpg,avi,wmv,xls,pdf","linkInternalFilters":"javascript:,sce.com,savepowerandsave.com,energysavingpays.com,smartwaystosave.sce.com,save-now.sce.com,helpmelowermybill.net","linkLeaveQueryString":false,"linkTrackVars":"events,prop35,eVar35,prop48,prop49","linkTrackEvents":"event2,event39,event35,event40,event37,event41,event64,event65,event66,event67","trackingServer":"metrics.sce.com","trackingServerSecure":"smetrics.sce.com","visitorNamespace":"socaledison","charSet":"UTF-8","currencyCode":"USD"},variablemap:{"m:promo.external":["campaign"],"m:promo.internal":["eVar9"],"m:page.friendly_name":["pageName","eVar1"],"m:page.application":["server","eVar5"],"m:page.process":["prop3","eVar6"],"m:page.language":["prop4","eVar8"],"m:user.segment.customer_type":["prop10","eVar10"],"m:user.segment.com_customer_type":["prop11","eVar11"],"m:user.segment.com_customer_size":["prop12","eVar12"],"m:user.segment.rate":["prop13","eVar13"],"m:user.segment.smartmeter":["prop14","eVar14"],"m:user.zip":["prop21","eVar21"],"m:page.formresults":["prop22","eVar22"],"m:page.daypart":["prop17","eVar17"],"m:page.form":["prop15","eVar15"],"m:page.outage_notify":["prop39"],"m:user.registered":["prop16","eVar16"],"m:page.paymentcycle.status":["eVar32"],"m:page.link.downloadfile":["prop6"],"m:page.internal_search":["prop18","eVar18"],"m:page.url":["prop50"],"m:user.segment.myaccount_uid":["prop19","eVar19"],"m:user.segment.eaa_deptcode":["prop20","eVar20"],"m:user.id":["prop23","eVar23"],"m:user.segment.eaa_medbaseline":["prop24","eVar24"],"m:user.segment.eaa_usertype":["prop25","eVar25"],"m:user.segment.eaa_int_ext":["prop26","eVar26"],"m:user.segment.eaa_progproduct_type":["prop27","eVar27"],"m:user.segment.eaa_stand_aggregator_type":["prop28","eVar28"],"m:user.segment.eaa_custname":["prop29","eVar29"],"m:user.segment.eaa_sanum":["prop30","eVar30"],"m:user.segment.eaa_saname":["prop31","eVar31"],"js:document.getElementsByName('keywords')[0].content":["prop34"],"m:link.url":["prop35","eVar35"],"m:user.outage_info":["prop5"],"m:pevmodule.res.name":["prop49"],"m:pevmodule.bus.name":["prop48"],"js:this.get('m:page.hierarchy').split(':').splice(0,2).join(':')":["channel","eVar2"],"js:this.get('m:page.hierarchy').split(':').splice(2,4).join(':')":["prop2","eVar3"],"m:page.hierarchy|m:page.name":["prop1","hier1","eVar4"],"js:if(typeof PhoneGap === 'undefined'){navigator.platform.split(' ')[0].toLowerCase()+': Web'} else {navigator.platform.split(' ')[0].toLowerCase()+': PhoneGap'}":["prop44","eVar44"],"delimiter":":","m:page.oni":["prop51"]},eventmap:{"online billing.start enrollment":["event1,event13"],"online billing.complete enrollment":["event2,event14"],"signup.ob_enroll":["event39"],"signup.ob_deenroll":["event40"],"online payment.start enrollment":["event34,event13"],"online payment.complete enrollment":["event35,event14"],"signup.op_enroll":["event41"],"signup.op_deenroll":["event42"],"direct payment.start enrollment":["event36,event13"],"direct payment.complete enrollment":["event37,event14"],"signup.dp_enroll":["event43"],"signup.dp_deenroll":["event44"],"paymentextension.start":["event61"],"paymentextension.declined":["event62"],"paymentextension.approved":["event27"],"paymentextension.amount":["event28"],"paymentarrangement.start":["event22"],"paymentarrangement.approved":["event23"],"paymentarrangement.declined":["event24"],"ee program views":["event12"],"my account registration.start":["event10"],"my account registration.complete":["event11"],"reset password":["event33"],"username found":["event32"],"email.optout":["event8"],"myaccount.login":["event9"],"carefera.enroll.start":["event13,event17"],"carefera.enroll.complete":["event14,event18"],"ee.enroll.start":["event13,event17"],"ee.enroll.complete":["event14,event18"],"rebate.form.start":["event17"],"rebate.form.complete":["event18"],"survey.start":["event15,event17"],"survey.complete":["event16,event18"],"form.start":["event17"],"form.complete":["event18"],"initiateservice.start":["event29"],"initiateservice.complete":["event38"],"outage.search":["event31"],"m:page.name":["event63"],"pevmodule.res.viewed":["event64"],"pevmodule.res.complete":["event65"],"pevmodule.bus.viewed":["event66"],"pevmodule.bus.complete":["event67"],"online billing.retrieve bill":["event3"]},postmap:function(){var i,v=this.v,imp=this.get("page.programs.imp"),sel=this.get("page.programs.selected"),src=this.get("page.source_location"),ev=this.get("page.events"),_12=(v.events==null?[]:v.events.split(",")),_13=(v.products==null?[]:v.products.split(",")),_14=(this.get("page.name")||"").toLowerCase(),_15=this.get("page.type"),oid=this.get("page.outage.id"),_16=this.get("page.outage.zip");if(_15=="404"){v.pageType="errorPage";v.pageName="";return;}v.eVar7=(src?(src+":"+v.prop3).toLowerCase():null);if(imp!=null){for(i=0;i0){for(i=ev.length-1;i>=0;i--){if(typeof ev[i]=="object"&&ev[i][0]=="payment.amount"){_12.push("purchase");if(_14!=null&&_14.indexOf("ssop")==-1){_13.push(";my account online payment;1;"+ev[i][1]);}else{_13.push(";guest online payment;1;"+ev[i][1]);}}if(typeof ev[i]=="object"&&ev[i][0]=="paymentarrangement.amount"){var j,ev2=ev[i],sum=0,cnt=0;for(j=ev2.length;j>=0;j--){if(typeof ev2[j]=="number"){sum+=ev2[j];cnt++;}}_12.push("event30");_13.push(";;;;event30="+sum);}}}v.events=_12.join(",");v.products=_13.join(",");var rc=v.prop10;c1=v.prop11||null;c2=v.prop12||null,sm=v.prop14,stack=[];stack.push(rc);stack.push(sm);stack.push(rc.indexOf("residential")>-1?"residential":c1+"-"+c2);stack.push(v.prop1.split("sce:").join(""));v.hier2=stack.join(":");v.eVar33=v.prop5;}}}},plugins:{gCookie:function(_17,_18){var r=this.cookie.get(_17);if(_18==="c"||_18===1){this.cookie.set(_17,"-",-1000);}return unescape(r);},gDOM:function(_19){return eval(_19);},gJObj:function(_1a,_1b){_1a=(typeof _1a=="string"?window[_1a]:_1a);var _1c=(_1a!=null&&_1b!=null&&_1b.indexOf(".")==-1&&_1b.indexOf("[")==-1?_1a[_1b]:_1a);if(_1c===_1a){var _1d=_1b.split("."),len=_1d.length,_1e=/([^\[]+)\[(\d+)\]/,t,t2,_1c=_1a;for(i=0;i0){b[c[i].name]=(c[i].content?c[i].content:"");}}this.metatags=b;}return (b[a]==null?"":b[a]);},gQueryOnce:function(){var i,_1f="";for(i=arguments.length-1;i>=0;i--){_1f+=arguments[i]+",";}return (!this[_1f]?this[_1f]=this.gQuery.call(this,_1f):null);},gQuery:function(){var s=(this==window?{}:this.support);var i,_20="";for(i=arguments.length-1;i>=0;i--){_20+=arguments[i]+",";}return s.query.call(s,_20);},support:{campstack:new Function("v","cn","ex","ct","dl","ev","dv",""+"var s=this,ce;if(typeof(dv)==='undefined')dv=0;if(s.events&&ev){var"+" ay=s.split(ev,',');var ea=s.split(s.events,',');for(var u=0;u0&&arry[arry.length-1][0]==v)arry[ar"+"ry.length-1]=[v,new Date().getTime()];else arry[arry.length]=[v,new"+" Date().getTime()];var start=arry.length-ct<0?0:arry.length-ct;var "+"td=new Date();for(var x=start;xdsts&&cd30){mint='30'}if(thish>=12){ap='PM';thish=thish-12};"+"if(thish==0){thish=12};if(thisd==6||thisd==0){dt='Weekend'};"+"var timestring=thish+':'+mint+ap;if(t=='h'){return timestring}"+"if(t=='d'){return dow};if(t=='w'){return dt}}};"),query:new Function("p","d","u",""+"var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati"+"on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p"+".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-"+"1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i="+"=p.length?i:i+1)}return v"),p_gpv:new Function("k","u",""+"var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v"+"=s.pt(q,'&','p_gvf',k)}return v"),p_gvf:new Function("t","k",""+"if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T"+"rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s."+"epa(v)}return ''"),rep:new Function("x","o","n","return s_jn(s_sp(x,o),n)"),pt:function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r){return r;}z+=y+d.length;t=x.substring(z,x.length);t=z=0){j=x.indexOf(d,i);a[a.length]=x.subst"+"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d"+"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i"+"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")"+"'+c.substring(e+1);s=c.indexOf('=function(')}return c;");return 0;}()},tCase:function(arg){var _21=arg,i;switch(typeof (arg)){case "string":_21=arg.toLowerCase();break;case "object":for(i in arg){if(typeof (arg[i])=="string"){arg[i]=arg[i].toLowerCase();}}}return _21;},tTrim:function(arg,_22){if(!(arg!=null&&arg.length>0)||typeof (arg)==="object"){return arg;}var a=_22,_23=arg;if(!_22){a=[[/\s+/g," "],/^\s+/,/\s+$/];}var i=a.length,_24="",r;while(i--){_24="";r=a[i];if(typeof (r.exec)==="undefined"){r=a[i][0];_24=a[i][1];}_23=_23.replace(r,_24);}return _23;},tSub:function(arg,_25,i){var r="";try{r=arg.split(_25)[i];}catch(err){}return r;},tAll:"tCase|tTrim",cookie:{get:function(k){var c=" "+document.cookie,s=c.indexOf(" "+k+"="),e=s<0?s:c.indexOf(";",s),v=s<0?"":c.substring(s+2+k.length,e<0?c.length:e);return unescape(v);},set:function(k,v,e,p,d){var exp=(typeof (e)=="object"?e:new Date((new Date().getTime())+(!e?0:e)*86400000));document.cookie=k+"="+escape(v)+(e!=null?"; expires="+exp.toGMTString():"")+"; path="+(!p?"/":p)+"; "+(d!=null?" domain="+d:"");}},gDynPage:function(_26,_27){function _28(loc,_29){function _2a(str,_2b,_2c){var i;if(typeof (str)=="string"){str=str.toLowerCase();for(i=_2b.length-1;i>=0;i--){str=str.replace(_2b[i],_2c[i]);}}return str;};function _2d(_2e){if(_2e.childNodes.length==0){return _2e.nodeValue;}var i,str="";for(i=_2e.childNodes.length-1;i>=0;i--){if(_2e.childNodes[i].childNodes.length==0){str=str+_2e.childNodes[i].nodeValue;}else{str=str+_2d(_2e.childNodes[i]);}}return str;};var _2f=_29;if(loc.indexOf("getElement")!=-1){var x,i,t,t2,ra=[];try{x=eval("document."+loc);}catch(err){}if(x!=null&&typeof x=="object"){for(i=x.childNodes.length-1;i>=0;i--){t=_2a(_2d(x.childNodes[i]),["&",">","<"],["&","",""]);t2=(t?t.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").replace("[Ws]+",""):"");if(t2.length>1){ra.unshift(t2);}}_2f=ra;}}return _2f;};if(_27==null){_27="unknown:"+window.location.href;}var x=_28("getElementById('breadcrumb')",_27),dt=document.title;dt=(dt!=null?dt.toLowerCase().replace(/sce\s+\-\s+/,""):"");dt=dt.split("|")[0];if(x!=_27){if(x[0]=="home"){x.shift();}x.unshift("cms");if(_26=="friendly"){return x.splice(0,3).join(" - ")+" - "+dt;}if(_26=="hier"){return x.join(":");}if(_26=="name"){return dt;}return x.join(":")+":"+dt;}return _27;}},dynamic:{actions:{"flashpv":function(_30){var nm=(!_30.name?this.get("page.name"):_30.name),e=this.get("page.events");this.set("page.name","flash:"+nm);this.set("page.friendly_name","flash - "+nm);if(_30.events!=null){this.set("page.events",e.concat(_30.events));}if(_30.zip!=null){this.set("user.zip",_30.zip);}if(_30.formresults!=null){this.set("page.formresults",_30.formresults);}this.send();},"whitefence":function(_31){var nm=(!_31.name?this.get("page.name"):_31.name),e=this.get("page.events");this.set("page.name","3rd:whitefence"+nm);this.set("page.friendly_name","3rd Party - whitefence - "+nm);if(_31.events!=null){this.set("page.events",e.concat(_31.events));}this.send();},"pdf-click":function(_32){var nm=(!_32.name?this.get("page.name"):_32.name),e=this.get("page.events");this.set("action","link");this.set("link.name","click:"+nm);this.set("link.type","download");this.set("link.url","url:"+_32.url.toLowerCase());if(_32.events!=null){this.set("page.events",e.concat(_32.events));}this.send();},"enroll-click":function(_33){var nm=(!_33.name?this.get("page.name"):_33.name),e=this.get("page.events");this.set("action","link");this.set("link.name","click:"+nm);this.set("link.type","custom");if(_33.events!=null){this.set("page.events",e.concat(_33.events));}this.send();},"pevmodule":function(_34){var nm=(!_34.name?this.get("page.name"):_34.name),e=this.get("page.events");this.set("action","link");this.set("link.name","click:"+nm);this.set("link.type","custom");this.set("m:pevmodule."+_34.type+".name",nm);if(_34.events!=null){this.set("page.events",e.concat(_34.events));}this.send();},"thirdparty":function(_35){},"dynamic-link":function(_36){this.set("action","link");this.set("link.type","custom");this.set("link.name",_36.link_name);this.send();},"dynamic-page":function(_37){this.send();},"flash-link":"alias:dynamic-link","flash-page":"alias:dynamic-page"}}};var __jsmd=function(){var _38=window;var _39=_jsmd_default.version||"BASE-VANILLA";var _3a=_jsmd_default.release||"ERR",ver=_39+":"+_3a;if(_jsmd_default.dictionary!=null){_jsmd_default.dictionary.init["code.version"]=ver;}var _3b=_jsmd_default.dictionary||{init:{"code.version":_39+":"+_3a}};var _3c=_jsmd_default.map||{"standard":{vendors:[{name:"Adobe SiteCatalyst H-code",account:"standard_omni",settings:["standard_omni"],variablemap:["standard_omni"],eventmap:["standard_omni"],prevendor:function(){},postvendor:function(){}},{name:"Google Analytics Code",account:"standard_ga"},{name:"Nielsen Code",account:"standard_nielsen",settings:["standard_nielsen"]}],standard_omni:{account:function(){var _3d=_38.location.hostname;return (_3d.indexOf("standard.com")!=-1?"sidstandardprod":"sidstandarddev");},settings:{"trackDownloadLinks":true,"trackExternalLinks":true,"trackInlineStats":true,"linkDownloadFileTypes":"exe,zip,wav,mp3,mov,mpg,avi,wmv,doc,pdf,xls","linkInternalFilters":"javascript:,.","linkLeaveQueryString":false,"linkTrackVars":"None","linkTrackEvents":"None","trackingServer":"standard.122.2o7.net","trackingServerSecure":"standard.122.2o7.net","visitorNamespace":"standard","charSet":"UTF-8","currencyCode":"USD"},variablemap:{"m:page.name":["pageName","eVar26"],"m:page.section[0]":["channel","eVar27"],"m:page.domain":["server","eVar29"],"delimiter":"|"},eventmap:{"m:page.name":["event26"],"page.view":["event26"]},premap:function(){},postmap:function(){}},standard_ga:{account:function(){var _3e=_38.location.hostname;return (_3e.indexOf("standard.com")!=-1?"UA-1244922-3":"UA-1244922-3");}},standard_nielsen:{account:function(){return ("us-204044h");},settings:{"charSet":"UTF-8"}}}};var _3f;var _40=_jsmd_default.plugins;_3f=_jsmd_default.vendor||{"Nielsen Code":{delimiter:":",initialize:function(_41,_42){var a=_41,o,va=this.get("action"),vc=this.config.vendor;if(typeof (_41)=="function"){a=_41.call(this)||"IGNORE";}vc.action.push([NielsenHybridTag,"push_nielsen",[a]]);return o;},destroy:function(_43){}},"Google Analytics Code":{delimiter:":",initialize:function(_44,_45){var a=_44,o,va=this.get("action"),vc=this.config.vendor;if(typeof (_44)=="function"){a=_44.call(this)||"IGNORE";}o=_gat._getTracker(a);vc.action.push([o,"_trackPageview",[]]);return o;},destroy:function(_46){}},"Adobe SiteCatalyst H-code":{delimiter:":",initialize:function(_47,_48){var a=_47,o,va=this.get("action"),vc=this.config.vendor;if(typeof (_47)=="function"){a=_47.call(this)||"IGNORE";}o=s_gi(a);if(va==="link"){var lnk=this.get("link");var t=lnk.type,n=lnk.name;t=(t==="download"?"d":(t==="exit"?"e":"o"));n=(!n?"defaultlink:"+t+":"+_38.location.pathname:n);vc.action.push([o,"tl",[_38,t,n]]);}else{events="event26";vc.action.push([o,"t",[]]);}o.doPlugins=function(){};o.products=null;return o;},destroy:function(_49){var _4a=_49._jsmd.unset_list;for(i=_4a.length-1;i>=0;i--){_49[_4a[i]]="";}_49.events="";_49.products="";},setEvent:function(obj,key,_4b){if(!_4b||!key){return;}var e=(obj.events&&obj.events.length>0?obj.events.split(","):[]),_4c=e.join(",");var k=(typeof (key)=="object"?key:[key]);for(i=k.length-1;i>=0;i--){if(_4c.indexOf(k[i])==-1){e.push(k[i]);_4c+=","+k[i];var v1=parseFloat(_4b);if(v1!=null&&typeof (v1)=="number"&&v1>0){obj.products=";;;;"+k[i]+"="+_4b;}}}obj.events=e.join(",");},setProducts:function(obj,_4d){var _4e=10;if(!_4d||(!_4d.list)){return;}var lst=_4d.list,dim=_4d.dimensions,p=[],tmp,tl,_4f="Missing Product",i;if(obj.products!=null){p=obj.products.split(",");}m=obj["client:merchandising_map"],re=/[\;\\,\|]+/g,rchar="-";for(var i=0;i=0;j--){var _50=m[j][0],_51=m[j][1];for(var k=dim.length-1;j>=0;j--){var _52=dim[k][_50];if(_52!=null){tmp2[k]=_51+"="+_52.replace(re,rchar);}}}tmp[5]=tmp2.join("|");}p.push(tmp.join(";"));}for(i=p.length-1;i>=0;i--){if(p[i].length<7){p.splice(i,1);}}obj.products=p.join(",");},setVariable:function(obj,key,_53,_54){if(!_53||_53.length==0){return;}function _55(key){var _56=key.split("eVar").join("v").split("prop").join("c").split("channel").join("ch");if(_56==="pageName"){return "pageName";}return (_56!==key?_56:null);};if(typeof (key)=="string"){obj[key]=_53;}else{var l=key.length,i,k,_57=_55(key[0]);for(i=0;i0&&_57!=null){obj[k]="D="+_57;}else{obj[k]=_53;_54.push(k);}}}}}}};function _58(_59,_5a,_5b){var me=this;me.version=_39;me.mdata={};me.config={};me.config.init=_59.init||_3b.init;me.config.map=_5a||_3c;me.config.vendor=_5b||_3f;me.plugin=_59.plugin||_40;me.init();};_58.prototype.init=function(){var i=this.config.init,j,p=this.plugin;if(p){if(p.tAll){j=p.tAll.split("|");p.tF=[];var k,t,l=j.length;for(k=0;k0?(_5c.length==1?_5c[0]:_5c):null);};_58.prototype.getnn=function(n){var a=this.get(n);return (!a?"":a);};_58.prototype.set=function(n,v){return (n==="preinit"||n==="postinit"?null:_61.call(this,n,v,"set"));};_58.prototype.push=function(n,v){return (n==="preinit"||n==="postinit"?null:_61.call(this,n,v,"push"));};_58.prototype.load=function(v){if(_jsmd_default.dynamic!=null&&typeof (_jsmd_default.dynamic.load)=="function"){_jsmd_default.dynamic.load.call(this,v);}else{this.mdata=v;}};_58.prototype.trackMetrics=function(_62,_63,map){var _64=(!_jsmd_default.dynamic?{}:_jsmd_default.dynamic.actions);var act=_64[_62];var t=_62.split("-"),c=(t.length>0?t[0]:null),_65=_64[c+"-common"];if(typeof (act)=="string"&&act.indexOf("alias:")==0){act=_64[act.split("alias:")[1]];}this.config.map.isDynamic=_62;try{if(typeof (_65)=="function"){_65.call(this,_63,map);}act.call(this,_63,map);}catch(e){}this.config.map.isDynamic=false;};_58.prototype.map=function(_66){if(_66){_66.dirty=1;this.config.map=_66;}var me=this,v1,v2,b1,m=this.config.map;if(m.dirty!=0){this.config.vendor.action=[];for(v1 in m){v2=m[v1];if(v2.vendors&&typeof (v2.vendors.forEach)=="function"){v2.vendors.forEach(_67);}}m.dirty=0;}function _67(map){var _68=me.config.vendor,n=map.name;if(!_68[n]){return;}var _69=_68[n].initialize,pre=map.prevendor,_6a=map.postvendor,_6b=map.account,_6c=map.eventmap,_6d=map.settings,_6e=map.variablemap,_6f=v2.delimiter,_70=me.config.map.isDynamic;if(_70!=null&&map.dynamic_actions!=null){var z,y,al=map.dynamic_actions,al2;for(z in al){if(_70.indexOf(z)!=-1){al2=al[z];_6d=al2.settings||_6d;_6e=al2.variablemap||_6e;_6c=al2.eventmap||_6c;_6b=al2.account||_6b;pre=al2.prevendor||pre;_6a=al2.postvendor||_6a;if(al2.ignore!=null){return;}}}}if(!_6b&&!v2[_6b]){return;}var _71=v2[_6b].account,_72=v2[_6b].premap,_73=v2[_6b].postmap;if(typeof (pre)=="function"){pre.call(me,map);}if(typeof (_69)=="function"&&typeof (_71)=="function"){vObj=_69.call(me,_71);me.v=vObj;var i,t,_74;if(_72&&_72.call){_72.call(me);}if(_6d!=null){for(i=0;i<_6d.length;i++){_74=v2[_6d[i]];if(_74&&_74.settings){_75.call(me,"settings",_74.settings);}}}if(_6e!=null){for(i=0;i<_6e.length;i++){_74=v2[_6e[i]];if(_74&&_74.variablemap){_75.call(me,"variables",_74.variablemap);}}}if(_6c!=null){for(i=0;i<_6c.length;i++){_74=v2[_6c[i]];if(_74&&_74.eventmap){_75.call(me,"events",_74.eventmap);}}}if(typeof (_68[n].setProducts)=="function"){_68[n].setProducts.call(me,vObj,me.mdata.product);}if(_73&&_73.call){_73.call(me);}}if(_6a&&_6a.call){_6a.call(me,map);}delete me.v;function _75(_76,_77){var me=this,i,vl=_68[n],_78=vl.setVariable,_79=vl.setEvent,_7a=vl.setConfig,v=vObj,_7b=null,_7c=null,_7d=false,_7e=_77.delimiter||_6f||vl.delimiter;if(_70!=null&&typeof (_70)=="string"){var tl1=_74["filters"],tl2;if((tl2=(tl1!=null&&tl1[_70]!=null?tl1[_70]:null))!=null){_7b=tl2["include"];_7c=tl2["exclude"];_7d=tl2["do-settings"];}}if(!v._jsmd){v._jsmd={unset_list:[]};if(vl.destroy!=null){v._jsmd.destroy=vl.destroy;}}var set=function(f,_7f){var i,m=_77,res,dof=(typeof (_7f)=="function"),_80,_81,_82,i2;var _83=(f!==_7a||(f===_7a&&_7d==true))&&(_7b!=null||_7c!=null);for(i in m){_80=false;if(_83){_82=false;_81=false;if(typeof (_7b)=="object"){for(i2=_7b.length;i2>=0;i2--){_81=_81||(i.indexOf(_7b[i2])!=-1?true:false);}}else{_81=(_7b!=null&&i.indexOf(_7b)!=-1?true:false);}if(typeof (_7c)=="object"){for(i2=_7c.length;i2>=0;i2--){_82=_82||(i.indexOf(_7c[i2])!=-1?true:false);}}else{_82=(_7c!=null&&i.indexOf(_7c)!=-1?true:false);}_80=(_81==false)||(_82==true);}if(!_80&&(res=(dof?_7f(i):i))!=null&&typeof (m[i])!="function"){f.call(me,v,m[i],res,v._jsmd.unset_list);}}};_79=(!_79?_78:_79);_7a=(!_7a?function(vo,k,v){return _78(vo,v,k);}:_7a);_7e=(!_7e?":":_7e);if(_76==="settings"&&typeof (_7a)=="function"){set(_7a,true);}if(_76==="variables"&&typeof (_78)=="function"){set(_78,_84);}if(_76==="events"&&typeof (_79)=="function"){set(_79,_85);}function _85(v){var e=me.mdata.page.events||[],_86=me.get(v),_87=null,c=e.cust_contains(v);if(c>-1){_87=(typeof (e[c])=="object"?e[c][1]:v);}if(_86!=null){_87=_86;}return _87;};function _84(v){var _88=v,i,t;_88=me.get(v);if(_88!=null&&typeof (_88)=="object"){if(!_88.join){t=[];for(i in _88){t.push(_88[i]);}_88=t;}_88=_88.join(_7e);}return _88;};};};};_58.prototype.send=function(_89){this.map(_89);var _8a=this.config.vendor.action,l=_8a.length,_8b,f,vo;while(l--){vo=_8a[l][0];f=_8a[l][1];_8b=_8a[l][2];if(vo&&vo[f].apply){try{vo[f].apply(vo,_8b);if(vo._jsmd.destroy!=null){vo._jsmd.destroy(vo);vo._jsmd=null;}}catch(err){}}}};function _61(n,v,_8c){var me=this,_8d=(typeof (v)=="string"&&v.indexOf("raw:")==0?true:false);if(n.indexOf("raw:")==0){n=n.substr(4);_8d=true;}me.config.map.dirty=1;function _8e(v){var _8f=me.plugin,_90=_8f.tF,_91=v;if(typeof (_90)=="object"){_91=_90.dosequential(_8f,_91);}if(typeof (_90)=="function"){_91=_90.call(_8f,_91);}return _91;};function _92(v){var _93=null,_94=me.plugin,pA=v.split("|"),t=pA[0].split("raw:"),_8d=(t.length>1?true:false),f;pA[0]=(!_8d?pA[0]:t[1]);if(pA[1]&&pA[1].indexOf(",")!=-1){t=pA.pop();pA=pA.concat(t.split(","));}try{f=pA.splice(0,1)[0];if(typeof (_94[f])=="function"){_94.md=me;_93=_94[f].apply(_94,pA);}}catch(err){}return _93;};n=(n.indexOf("m:")==0?n.substr(2):n);if(n.indexOf("mb:")==0){n="business."+this.get("business.name")+"."+n.substr(2);}var _95=n.split("."),_96,i,_97,_98=me.mdata,t1,z,are=/([^\[]+)\[(\d+)\]/;if(typeof (v)=="object"){_97=v;}if(typeof (v)=="function"){_97=v.call(me);}if(typeof (v)=="string"){_97=(v!=null&&v.indexOf!=null&&("gt".indexOf(v.substr(0,1))!=-1||v.indexOf("raw:")==0)&&v.indexOf("|")!=-1?_92(v):v);}_97=(!_8d?_8e(_97):_97);_8c=(!_8c?"set":_8c);_96=_95[_95.length-1];_98=me.mdata;z=_95.length-1;for(i=0;i=0;j--){var tmp="."+_b4[j];if(_b7.filecheck.indexOf(tmp)>0){s[i].setAttribute("onclick","try {trackMetrics({type: \"pdf-click\",data: {name:\""+_b7.path+"\",url:\""+_b7.url+"\"}});}catch(e){}");}}}}return;})();var s_code="",s_objectID;function s_gi(un,pg,ss){var c="s._c='s_c';s.wd=window;if(!s.wd.s_c_in){s.wd.s_c_il=new Array;s.wd.s_c_in=0;}s._il=s.wd.s_c_il;s._in=s.wd.s_c_in;s._il[s._in]=s;s.wd.s_c_in++;s"+".an=s_an;s.cls=function(x,c){var i,y='';if(!c)c=this.an;for(i=0;i=0)y+=n}return y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=func"+"tion(o){if(!o)return o;var n=new Object,x;for(x in o)if(x.indexOf('select')<0&&x.indexOf('filter')<0)n[x]=o[x];return n};s.num=function(x){x=''+x;for(var p=0;p127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%"+"16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}return y}else{x=s.rep(escape(''+x),'+','%2B');if(c&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if"+"(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00'+x.substring(i);i=x.indexOf('%',i)}}}}return x};s.epa=function(x){var s=this;if(x){x=''+x;return s.em==3?de"+"codeURIComponent(x):unescape(s.rep(x,'+',' '))}return x};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r;z+=y+d.l"+"ength;t=x.substring(z,x.length);t=z=0)a=a.substring(0,c);if(t.substring(0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.f"+"sf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf',f);return s.fsg};s.si=function(){var s=this,i,k,v,c="+"s_gi+'var s=s_gi(\"'+s.oun+'\");s.sa(\"'+s.un+'\");';for(i=0;i2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('"+".',p-1);n--}s.c_d=p>0&&s.pt(d,'.','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s."+"epa(c.substring(i+2+k.length,e<0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NON"+"E'){t=(v!=''?parseInt(l?l:0):-60);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()"+"+';':'')+(d?' domain='+d+';':'');return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i=5&&(!s.isopera||s.apv>=7)){tcf=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,"+"'onerror',0,o);r=s[f](a);s.eh(s.wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s"+".t();if(c)s.d.write(c);s.etfs=0;return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs="+"p;return s.gtfsf(s.tfs)}return s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,"+"l=s.rl[u],n,r;s.rl[u]=0;if(l)for(n=0;n=3"+"&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[un]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+']."+"mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;return ''}imn+='_'+s.rc[un];s.rc[un]++}im=s.wd[imn];if(!im)im=s.wd[imn]=new Image;im.s_l=0;im.onload=new Function('e',"+"'this.s_l=1;var wd=window,s;if(wd.s_c_il){s=wd.s_c_il['+s._in+'];s.mrq(\"'+un+'\");s.nrs--;if(!s.nrs)s.m_m(\"rr\")}');if(!s.nrs){s.nrs=1;s.m_m('rs')}else s.nrs++;im.src=rs;if((!ta||ta=='_self'||ta="+"='_top'||(s.wd.name&&ta==s.wd.name))&&rs.indexOf('&pe=')>=0){b=e=new Date;while(!im.s_l&&e.getTime()-b.getTime()<500)e=new Date}return ''}return ''};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)=='s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl="+"function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,l,a,b='',c='',t;if(x){y=''+x;i=y.indexOf('?');if(i>0){a=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase()"+";i=0;if(h.substring(0,7)=='http://')i+=7;else if(h.substring(0,8)=='https://')i+=8;h=h.substring(i);i=h.indexOf(\"/\");if(i>0){h=h.substring(0,i);if(h.indexOf('google')>=0){a=s.sp(a,'&');if(a.lengt"+"h>1){l=',q,ie,start,search_key,word,kw,cd,';for(j=0;j0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c){y+='?'+b+'&'"+"+c;if(''+x!=y)x=y}}}}}}return x};s.hav=function(){var s=this,qs='',fv=s.linkTrackVars,fe=s.linkTrackEvents,mn,i;if(s.pe){mn=s.pe.substring(0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].tr"+"ackVars;fe=s[mn].trackEvents}}fv=fv?fv+','+s.vl_l+','+s.vl_l2:'';for(i=0;i=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t"+")return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLowerCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExt"+"ernalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.substring(0,1)"+"!='#'&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','ltef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=s.co(this);s.t"+"();s.lnk=0;if(b)return this[b](e);return true');s.bc=new Function('e','var s=s_c_il['+s._in+'],f,tcf;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;s.eo=e.srcElement?e.srcElement:e.target;tcf=new Functi"+"on(\"s\",\"var e;try{if(s.eo&&(s.eo.tagName||s.eo.parentElement||s.eo.parentNode))s.t()}catch(e){}\");tcf(s);s.eo=0');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.inde"+"xOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o.protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'"+"')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE'"+")t='';if(t){if((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p"+"=o.protocol;c=o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' '"+",'');x=2}else if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100"+");o.s_oidt=x}}return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&"+"s.un.indexOf(',')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,'"+",','rq',0)};s.sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[u"+"n]=q;return 0};s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Ob"+"ject.prototype||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq"+"[x]+'='+s.ape(x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie|"+"|!s.ismac||s.apv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener)s.b.addEventListener('click',s.bc,false);else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=func"+"tion(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e)"+")return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.subst"+"ring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s.uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowe"+"rCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.toLowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};"+"s.sa=function(un){var s=this;s.un=un;if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_"+"l=new Object;if(!s.m_nl)s.m_nl=new Array;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Ar"+"ray('_c','_in','_il','_i','_e','_d','_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexO"+"f('function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i=0){g=n.substring(i+1);n=n.substring(0,i)}else "+"g=\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],"+"o=s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!"+"o.l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javas"+"cript\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,"+"f2)}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0');s.d"+"l=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.pt(s.vl_g,',','vo2',vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.t=fun"+"ction(vo,id){var s=this,trk=1,tm=new Date,sed=Math&&Math.random?Math.floor(Math.random()*10000000000000):tm.getTime(),sess='s'+Math.floor(tm.getTime()/10800000)%10+sed,y=tm.getYear(),vt=tm.getDate("+")+'/'+tm.getMonth()+'/'+(y<1900?y+1900:y)+' '+tm.getHours()+':'+tm.getMinutes()+':'+tm.getSeconds()+' '+tm.getDay()+' '+tm.getTimezoneOffset(),tcf,tfs=s.gtfs(),ta=-1,q='',qs='',code='',vb=new Objec"+"t;s.gl(s.vl_g);s.uns();s.m_ll();if(!s.td){var tl=tfs.location,a,o,i,x='',c='',v='',p='',bw='',bh='',j='1.0',k=s.c_w('s_cc','true',0)?'Y':'N',hp='',ct='',pn=0,ps;if(String&&String.prototype){j='1.1'"+";if(j.match){j='1.2';if(tm.setUTCDate){j='1.3';if(s.isie&&s.ismac&&s.apv>=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try"+"{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next)j='1.7'}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c="+"screen.pixelDepth;bw=s.wd.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWid"+"th;bh=s.d.documentElement.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp="+"tcf(s,tl);tcf=new Function('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn=0&&oc.indexOf(\".s_oc(\")<0)||oc.indexOf(\".tl(\")>=0)return ''}if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName"+";t=s.linkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l))q+='&pe=lnk_'+(t=='d'||t=='e'?s.ape(t):'o')+(h?'&pev1='+s.ape(h):'')+(l?'&pev2='+s.ape(l):'');else trk=0;if(s.trackInlineStats){if(!p){p="+"s.pageURL;w=0}t=s.ot(o);i=o.sourceIndex;if(s.gg('objectID')){n=s.gg('objectID');x=1;i=1}if(p&&n&&t)qs='&pid='+s.ape(s.fl(p,255))+(w?'&pidt='+w:'')+'&oid='+s.ape(s.fl(n,100))+(x?'&oidt='+x:'')+'&ot="+"'+s.ape(t)+(i?'&oi='+i:'')}}if(!trk&&!qs)return '';s.sampled=s.vs(sed);if(trk){if(s.sampled)code=s.mr(sess,(vt?'&t='+s.ape(vt):'')+s.hav()+q+(qs?qs:s.rq()),0,id,ta);qs='';s.m_m('t');if(s.p_r)s.p_r("+");s.referrer=''}s.sq(qs);}else{s.dl(vo);}if(vo)s.pt(s.vl_g,',','vo1',vb);s.lnk=s.eo=s.linkName=s.linkType=s.wd.s_objectID=s.ppu=s.pe=s.pev1=s.pev2=s.pev3='';if(s.pg)s.wd.s_lnk=s.wd.s_eo=s.wd.s_link"+"Name=s.wd.s_linkType='';if(!id&&!s.tc){s.tc=1;s.flushBufferedRequests()}return code};s.tl=function(o,t,n,vo){var s=this;s.lnk=s.co(o);s.linkType=t;s.linkName=n;s.t(vo)};if(pg){s.wd.s_co=function(o)"+"{var s=s_gi(\"_\",1,1);return s.co(o)};s.wd.s_gs=function(un){var s=s_gi(un,1,1);return s.t()};s.wd.s_dc=function(un){var s=s_gi(un,1);return s.t()}}s.ssl=(s.wd.location.protocol.toLowerCase().inde"+"xOf('https')>=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s.n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var ap"+"n=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft Internet Explorer');s.isns=(apn=='Netscape');s.isope"+"ra=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv="+"parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCharCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=="+"'%U0100'?1:0))}s.sa(un);s.vl_l='dynamicVariablePrefix,visitorID,vmk,visitorMigrationKey,visitorMigrationServer,visitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLi"+"fetime,pageName,pageURL,referrer,currencyCode';s.va_l=s.sp(s.vl_l,',');s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,products,linkName,"+"linkType';for(var n=1;n<76;n++)s.vl_t+=',prop'+n+',eVar'+n+',hier'+n+',list'+n;s.vl_l2=',tnt,pe,pev1,pev2,pev3,resolution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browse"+"rHeight,connectionType,homepage,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',trackingServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests"+",mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountMatch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadF"+"ileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,_1_referrer';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);if(!ss)s.wds()",w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf("MSIE "),m=u.indexOf("Netscape6/"),a,i,s;if(un){un=un.toLowerCase();if(l){for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.subst"+"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a");w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d"+"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x");w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")");w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i"+"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")"+"'+c.substring(e+1);s=c.indexOf('=function(')}return c;");c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3){a=parseFloat(i);}}else{if(m>0){a=parseFloat(u.substring(m+10));}else{a=parseFloat(v);}}if(a>=5&&v.indexOf("Opera")<0&&u.indexOf("Opera")<0){w.s_c=new Function("un","pg","ss","var s=this;"+c);return new s_c(un,pg,ss);}else{s=new Function("un","pg","ss","var s=new Object;"+s_ft(c)+";return s");}return s(un,pg,ss);};var mboxCopyright = "Copyright 1996-2011. Adobe Systems Incorporated. All rights reserved.";mboxUrlBuilder = function(a, b) { this.a = a; this.b = b; this.c = new Array(); this.d = function(e) { return e; }; this.f = null;};mboxUrlBuilder.prototype.addParameter = function(g, h) { var i = new RegExp('(\'|")'); if (i.exec(g)) { throw "Parameter '" + g + "' contains invalid characters"; } for (var j = 0; j < this.c.length; j++) { var k = this.c[j]; if (k.name == g) { k.value = h; return this; } } var l = new Object(); l.name = g; l.value = h; this.c[this.c.length] = l; return this;};mboxUrlBuilder.prototype.addParameters = function(c) { if (!c) { return this; } for (var j = 0; j < c.length; j++) { var m = c[j].indexOf('='); if (m == -1 || m == 0) { continue; } this.addParameter(c[j].substring(0, m), c[j].substring(m + 1, c[j].length)); } return this;};mboxUrlBuilder.prototype.setServerType = function(n) { this.o = n;};mboxUrlBuilder.prototype.setBasePath = function(f) { this.f = f;};mboxUrlBuilder.prototype.setUrlProcessAction = function(p) { this.d = p;};mboxUrlBuilder.prototype.buildUrl = function() { var q = this.f ? this.f : '/m2/' + this.b + '/mbox/' + this.o; var r = document.location.protocol == 'file:' ? 'http:' : document.location.protocol; var e = r + "//" + this.a + q; var s = e.indexOf('?') != -1 ? '&' : '?'; for (var j = 0; j < this.c.length; j++) { var k = this.c[j]; e += s + encodeURIComponent(k.name) + '=' + encodeURIComponent(k.value); s = '&'; } return this.t(this.d(e));};mboxUrlBuilder.prototype.getParameters = function() { return this.c;};mboxUrlBuilder.prototype.setParameters = function(c) { this.c = c;};mboxUrlBuilder.prototype.clone = function() { var u = new mboxUrlBuilder(this.a, this.b); u.setServerType(this.o); u.setBasePath(this.f); u.setUrlProcessAction(this.d); for (var j = 0; j < this.c.length; j++) { u.addParameter(this.c[j].name, this.c[j].value); } return u;};mboxUrlBuilder.prototype.t = function(v) { return v.replace(/\"/g, '"').replace(/>/g, '>');};mboxStandardFetcher = function() { };mboxStandardFetcher.prototype.getType = function() { return 'standard';};mboxStandardFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); document.write('<' + 'scr' + 'ipt src="' + w.buildUrl() + '" language="JavaScript"><' + '\/scr' + 'ipt>');};mboxStandardFetcher.prototype.cancel = function() { };mboxAjaxFetcher = function() { };mboxAjaxFetcher.prototype.getType = function() { return 'ajax';};mboxAjaxFetcher.prototype.fetch = function(w) { w.setServerType(this.getType()); var e = w.buildUrl(); this.x = document.createElement('script'); this.x.src = e; document.body.appendChild(this.x);};mboxAjaxFetcher.prototype.cancel = function() { };mboxMap = function() { this.y = new Object(); this.z = new Array();};mboxMap.prototype.put = function(A, h) { if (!this.y[A]) { this.z[this.z.length] = A; } this.y[A] = h;};mboxMap.prototype.get = function(A) { return this.y[A];};mboxMap.prototype.remove = function(A) { this.y[A] = undefined;};mboxMap.prototype.each = function(p) { for (var j = 0; j < this.z.length; j++ ) { var A = this.z[j]; var h = this.y[A]; if (h) { var B = p(A, h); if (B === false) { break; } } }};mboxFactory = function(C, b, D) { this.E = false; this.C = C; this.D = D; this.F = new mboxList(); mboxFactories.put(D, this); this.G = typeof document.createElement('div').replaceChild != 'undefined' && (function() { return true; })() && typeof document.getElementById != 'undefined' && typeof (window.attachEvent || document.addEventListener || window.addEventListener) != 'undefined' && typeof encodeURIComponent != 'undefined'; this.H = this.G && mboxGetPageParameter('mboxDisable') == null; var I = D == 'default'; this.J = new mboxCookieManager( 'mbox' + (I ? '' : ('-' + D)), (function() { return mboxCookiePageDomain(); })()); this.H = this.H && this.J.isEnabled() && (this.J.getCookie('disable') == null); if (this.isAdmin()) { this.enable(); } this.K(); this.L = mboxGenerateId(); this.M = mboxScreenHeight(); this.N = mboxScreenWidth(); this.O = mboxBrowserWidth(); this.P = mboxBrowserHeight(); this.Q = mboxScreenColorDepth(); this.R = mboxBrowserTimeOffset(); this.S = new mboxSession(this.L, 'mboxSession', 'session', 31 * 60, this.J); this.T = new mboxPC('PC', 1209600, this.J); this.w = new mboxUrlBuilder(C, b); this.U(this.w, I); this.V = new Date().getTime(); this.W = this.V; var X = this; this.addOnLoad(function() { X.W = new Date().getTime(); }); if (this.G) { this.addOnLoad(function() { X.E = true; X.getMboxes().each(function(Y) { Y.setFetcher(new mboxAjaxFetcher()); Y.finalize(); }); }); this.limitTraffic(100, 10368000); if (this.H) { this.Z(); this._ = new mboxSignaler(function(ab, c) { return X.create(ab, c); }, this.J); } }};mboxFactory.prototype.isEnabled = function() { return this.H;};mboxFactory.prototype.getDisableReason = function() { return this.J.getCookie('disable');};mboxFactory.prototype.isSupported = function() { return this.G;};mboxFactory.prototype.disable = function(bb, cb) { if (typeof bb == 'undefined') { bb = 60 * 60; } if (typeof cb == 'undefined') { cb = 'unspecified'; } if (!this.isAdmin()) { this.H = false; this.J.setCookie('disable', cb, bb); }};mboxFactory.prototype.enable = function() { this.H = true; this.J.deleteCookie('disable');};mboxFactory.prototype.isAdmin = function() { return document.location.href.indexOf('mboxEnv') != -1;};mboxFactory.prototype.limitTraffic = function(db, bb) {};mboxFactory.prototype.addOnLoad = function(eb) { if (this.isDomLoaded()) { eb(); } else { var fb = false; var gb = function() { if (fb) { return; } fb = true; eb(); }; this.hb.push(gb); if (this.isDomLoaded() && !fb) { gb(); } }};mboxFactory.prototype.getEllapsedTime = function() { return this.W - this.V;};mboxFactory.prototype.getEllapsedTimeUntil = function(ib) { return ib - this.V;};mboxFactory.prototype.getMboxes = function() { return this.F;};mboxFactory.prototype.get = function(ab, jb) { return this.F.get(ab).getById(jb || 0);};mboxFactory.prototype.update = function(ab, c) { if (!this.isEnabled()) { return; } if (!this.isDomLoaded()) { var X = this; this.addOnLoad(function() { X.update(ab, c); }); return; } if (this.F.get(ab).length() == 0) { throw "Mbox " + ab + " is not defined"; } this.F.get(ab).each(function(Y) { Y.getUrlBuilder() .addParameter('mboxPage', mboxGenerateId()); Y.load(c); });};mboxFactory.prototype.create = function( ab, c, kb) { if (!this.isSupported()) { return null; } var e = this.w.clone(); e.addParameter('mboxCount', this.F.length() + 1); e.addParameters(c); var jb = this.F.get(ab).length(); var lb = this.D + '-' + ab + '-' + jb; var mb; if (kb) { mb = new mboxLocatorNode(kb); } else { if (this.E) { throw 'The page has already been loaded, can\'t write marker'; } mb = new mboxLocatorDefault(lb); } try { var X = this; var nb = 'mboxImported-' + lb; var Y = new mbox(ab, jb, e, mb, nb); if (this.H) { Y.setFetcher( this.E ? new mboxAjaxFetcher() : new mboxStandardFetcher()); } Y.setOnError(function(ob, n) { Y.setMessage(ob); Y.activate(); if (!Y.isActivated()) { X.disable(60 * 60, ob); window.location.reload(false); } }); this.F.add(Y); } catch (pb) { this.disable(); throw 'Failed creating mbox "' + ab + '", the error was: ' + pb; } var qb = new Date(); e.addParameter('mboxTime', qb.getTime() - (qb.getTimezoneOffset() * 60000)); return Y;};mboxFactory.prototype.getCookieManager = function() { return this.J;};mboxFactory.prototype.getPageId = function() { return this.L;};mboxFactory.prototype.getPCId = function() { return this.T;};mboxFactory.prototype.getSessionId = function() { return this.S;};mboxFactory.prototype.getSignaler = function() { return this._;};mboxFactory.prototype.getUrlBuilder = function() { return this.w;};mboxFactory.prototype.U = function(e, I) { e.addParameter('mboxHost', document.location.hostname) .addParameter('mboxSession', this.S.getId()); if (!I) { e.addParameter('mboxFactoryId', this.D); } if (this.T.getId() != null) { e.addParameter('mboxPC', this.T.getId()); } e.addParameter('mboxPage', this.L); e.addParameter('screenHeight', this.M); e.addParameter('screenWidth', this.N); e.addParameter('browserWidth', this.O); e.addParameter('browserHeight', this.P); e.addParameter('browserTimeOffset', this.R); e.addParameter('colorDepth', this.Q); e.setUrlProcessAction(function(e) { e += '&mboxURL=' + encodeURIComponent(document.location); var rb = encodeURIComponent(document.referrer); if (e.length + rb.length < 2000) { e += '&mboxReferrer=' + rb; } e += '&mboxVersion=' + mboxVersion; return e; });};mboxFactory.prototype.sb = function() { return "";};mboxFactory.prototype.Z = function() { document.write('');};mboxFactory.prototype.isDomLoaded = function() { return this.E;};mboxFactory.prototype.K = function() { if (this.hb != null) { return; } this.hb = new Array(); var X = this; (function() { var tb = document.addEventListener ? "DOMContentLoaded" : "onreadystatechange"; var ub = false; var vb = function() { if (ub) { return; } ub = true; for (var i = 0; i < X.hb.length; ++i) { X.hb[i](); } }; if (document.addEventListener) { document.addEventListener(tb, function() { document.removeEventListener(tb, arguments.callee, false); vb(); }, false); window.addEventListener("load", function(){ document.removeEventListener("load", arguments.callee, false); vb(); }, false); } else if (document.attachEvent) { if (self !== self.top) { document.attachEvent(tb, function() { if (document.readyState === 'complete') { document.detachEvent(tb, arguments.callee); vb(); } }); } else { var wb = function() { try { document.documentElement.doScroll('left'); vb(); } catch (xb) { setTimeout(wb, 13); } }; wb(); } } if (document.readyState === "complete") { vb(); } })();};mboxSignaler = function(yb, J) { this.J = J; var zb = J.getCookieNames('signal-'); for (var j = 0; j < zb.length; j++) { var Ab = zb[j]; var Bb = J.getCookie(Ab).split('&'); var Y = yb(Bb[0], Bb); Y.load(); J.deleteCookie(Ab); }};mboxSignaler.prototype.signal = function(Cb, ab ) { this.J.setCookie('signal-' + Cb, mboxShiftArray(arguments).join('&'), 45 * 60);};mboxList = function() { this.F = new Array();};mboxList.prototype.add = function(Y) { if (Y != null) { this.F[this.F.length] = Y; }};mboxList.prototype.get = function(ab) { var B = new mboxList(); for (var j = 0; j < this.F.length; j++) { var Y = this.F[j]; if (Y.getName() == ab) { B.add(Y); } } return B;};mboxList.prototype.getById = function(Db) { return this.F[Db];};mboxList.prototype.length = function() { return this.F.length;};mboxList.prototype.each = function(p) { if (typeof p != 'function') { throw 'Action must be a function, was: ' + typeof(p); } for (var j = 0; j < this.F.length; j++) { p(this.F[j]); }};mboxLocatorDefault = function(g) { this.g = 'mboxMarker-' + g; document.write('');};mboxLocatorDefault.prototype.locate = function() { var Eb = document.getElementById(this.g); while (Eb != null) { if (Eb.nodeType == 1) { if (Eb.className == 'mboxDefault') { return Eb; } } Eb = Eb.previousSibling; } return null;};mboxLocatorDefault.prototype.force = function() { var Fb = document.createElement('div'); Fb.className = 'mboxDefault'; var Gb = document.getElementById(this.g); Gb.parentNode.insertBefore(Fb, Gb); return Fb;};mboxLocatorNode = function(Hb) { this.Eb = Hb;};mboxLocatorNode.prototype.locate = function() { return typeof this.Eb == 'string' ? document.getElementById(this.Eb) : this.Eb;};mboxLocatorNode.prototype.force = function() { return null;};mboxCreate = function(ab ) { var Y = mboxFactoryDefault.create( ab, mboxShiftArray(arguments)); if (Y) { Y.load(); } return Y;};mboxDefine = function(kb, ab ) { var Y = mboxFactoryDefault.create(ab, mboxShiftArray(mboxShiftArray(arguments)), kb); return Y;};mboxUpdate = function(ab ) { mboxFactoryDefault.update(ab, mboxShiftArray(arguments));};mbox = function(g, Ib, w, Jb, nb) { this.Kb = null; this.Lb = 0; this.mb = Jb; this.nb = nb; this.Mb = null; this.Nb = new mboxOfferContent(); this.Fb = null; this.w = w; this.message = ''; this.Ob = new Object(); this.Pb = 0; this.Ib = Ib; this.g = g; this.Qb(); w.addParameter('mbox', g) .addParameter('mboxId', Ib); this.Rb = function() {}; this.Sb = function() {}; this.Tb = null;};mbox.prototype.getId = function() { return this.Ib;};mbox.prototype.Qb = function() { if (this.g.length > 250) { throw "Mbox Name " + this.g + " exceeds max length of " + "250 characters."; } else if (this.g.match(/^\s+|\s+$/g)) { throw "Mbox Name " + this.g + " has leading/trailing whitespace(s)."; }};mbox.prototype.getName = function() { return this.g;};mbox.prototype.getParameters = function() { var c = this.w.getParameters(); var B = new Array(); for (var j = 0; j < c.length; j++) { if (c[j].name.indexOf('mbox') != 0) { B[B.length] = c[j].name + '=' + c[j].value; } } return B;};mbox.prototype.setOnLoad = function(p) { this.Sb = p; return this;};mbox.prototype.setMessage = function(ob) { this.message = ob; return this;};mbox.prototype.setOnError = function(Rb) { this.Rb = Rb; return this;};mbox.prototype.setFetcher = function(Ub) { if (this.Mb) { this.Mb.cancel(); } this.Mb = Ub; return this;};mbox.prototype.getFetcher = function() { return this.Mb;};mbox.prototype.load = function(c) { if (this.Mb == null) { return this; } this.setEventTime("load.start"); this.cancelTimeout(); this.Lb = 0; var w = (c && c.length > 0) ? this.w.clone().addParameters(c) : this.w; this.Mb.fetch(w); var X = this; this.Vb = setTimeout(function() { X.Rb('browser timeout', X.Mb.getType()); }, 15000); this.setEventTime("load.end"); return this;};mbox.prototype.loaded = function() { this.cancelTimeout(); if (!this.activate()) { var X = this; setTimeout(function() { X.loaded(); }, 100); }};mbox.prototype.activate = function() { if (this.Lb) { return this.Lb; } this.setEventTime('activate' + ++this.Pb + '.start'); if (this.show()) { this.cancelTimeout(); this.Lb = 1; } this.setEventTime('activate' + this.Pb + '.end'); return this.Lb;};mbox.prototype.isActivated = function() { return this.Lb;};mbox.prototype.setOffer = function(Nb) { if (Nb && Nb.show && Nb.setOnLoad) { this.Nb = Nb; } else { throw 'Invalid offer'; } return this;};mbox.prototype.getOffer = function() { return this.Nb;};mbox.prototype.show = function() { this.setEventTime('show.start'); var B = this.Nb.show(this); this.setEventTime(B == 1 ? "show.end.ok" : "show.end"); return B;};mbox.prototype.showContent = function(Wb) { if (Wb == null) { return 0; } if (this.Fb == null || !this.Fb.parentNode) { this.Fb = this.getDefaultDiv(); if (this.Fb == null) { return 0; } } if (this.Fb != Wb) { this.Xb(this.Fb); this.Fb.parentNode.replaceChild(Wb, this.Fb); this.Fb = Wb; } this.Yb(Wb); this.Sb(); return 1;};mbox.prototype.hide = function() { this.setEventTime('hide.start'); var B = this.showContent(this.getDefaultDiv()); this.setEventTime(B == 1 ? 'hide.end.ok' : 'hide.end.fail'); return B;};mbox.prototype.finalize = function() { this.setEventTime('finalize.start'); this.cancelTimeout(); if (this.getDefaultDiv() == null) { if (this.mb.force() != null) { this.setMessage('No default content, an empty one has been added'); } else { this.setMessage('Unable to locate mbox'); } } if (!this.activate()) { this.hide(); this.setEventTime('finalize.end.hide'); } this.setEventTime('finalize.end.ok');};mbox.prototype.cancelTimeout = function() { if (this.Vb) { clearTimeout(this.Vb); } if (this.Mb != null) { this.Mb.cancel(); }};mbox.prototype.getDiv = function() { return this.Fb;};mbox.prototype.getDefaultDiv = function() { if (this.Tb == null) { this.Tb = this.mb.locate(); } return this.Tb;};mbox.prototype.setEventTime = function(Zb) { this.Ob[Zb] = (new Date()).getTime();};mbox.prototype.getEventTimes = function() { return this.Ob;};mbox.prototype.getImportName = function() { return this.nb;};mbox.prototype.getURL = function() { return this.w.buildUrl();};mbox.prototype.getUrlBuilder = function() { return this.w;};mbox.prototype._b = function(Fb) { return Fb.style.display != 'none';};mbox.prototype.Yb = function(Fb) { this.ac(Fb, true);};mbox.prototype.Xb = function(Fb) { this.ac(Fb, false);};mbox.prototype.ac = function(Fb, bc) { Fb.style.visibility = bc ? "visible" : "hidden"; Fb.style.display = bc ? "block" : "none";};mboxOfferContent = function() { this.Sb = function() {};};mboxOfferContent.prototype.show = function(Y) { var B = Y.showContent(document.getElementById(Y.getImportName())); if (B == 1) { this.Sb(); } return B;};mboxOfferContent.prototype.setOnLoad = function(Sb) { this.Sb = Sb;};mboxOfferAjax = function(Wb) { this.Wb = Wb; this.Sb = function() {};};mboxOfferAjax.prototype.setOnLoad = function(Sb) { this.Sb = Sb;};mboxOfferAjax.prototype.show = function(Y) { var cc = document.createElement('div'); cc.id = Y.getImportName(); cc.innerHTML = this.Wb; var B = Y.showContent(cc); if (B == 1) { this.Sb(); } return B;};mboxOfferDefault = function() { this.Sb = function() {};};mboxOfferDefault.prototype.setOnLoad = function(Sb) { this.Sb = Sb;};mboxOfferDefault.prototype.show = function(Y) { var B = Y.hide(); if (B == 1) { this.Sb(); } return B;};mboxCookieManager = function mboxCookieManager(g, dc) { this.g = g; this.dc = dc == '' || dc.indexOf('.') == -1 ? '' : '; domain=' + dc; this.ec = new mboxMap(); this.loadCookies();};mboxCookieManager.prototype.isEnabled = function() { this.setCookie('check', 'true', 60); this.loadCookies(); return this.getCookie('check') == 'true';};mboxCookieManager.prototype.setCookie = function(g, h, bb) { if (typeof g != 'undefined' && typeof h != 'undefined' && typeof bb != 'undefined') { var fc = new Object(); fc.name = g; fc.value = escape(h); fc.expireOn = Math.ceil(bb + new Date().getTime() / 1000); this.ec.put(g, fc); this.saveCookies(); }};mboxCookieManager.prototype.getCookie = function(g) { var fc = this.ec.get(g); return fc ? unescape(fc.value) : null;};mboxCookieManager.prototype.deleteCookie = function(g) { this.ec.remove(g); this.saveCookies();};mboxCookieManager.prototype.getCookieNames = function(gc) { var hc = new Array(); this.ec.each(function(g, fc) { if (g.indexOf(gc) == 0) { hc[hc.length] = g; } }); return hc;};mboxCookieManager.prototype.saveCookies = function() { var ic = new Array(); var jc = 0; this.ec.each(function(g, fc) { ic[ic.length] = g + '#' + fc.value + '#' + fc.expireOn; if (jc < fc.expireOn) { jc = fc.expireOn; } }); var kc = new Date(jc * 1000); document.cookie = this.g + '=' + ic.join('|') + '; expires=' + kc.toGMTString() + '; path=/' + this.dc;};mboxCookieManager.prototype.loadCookies = function() { this.ec = new mboxMap(); var lc = document.cookie.indexOf(this.g + '='); if (lc != -1) { var mc = document.cookie.indexOf(';', lc); if (mc == -1) { mc = document.cookie.indexOf(',', lc); if (mc == -1) { mc = document.cookie.length; } } var nc = document.cookie.substring( lc + this.g.length + 1, mc).split('|'); var oc = Math.ceil(new Date().getTime() / 1000); for (var j = 0; j < nc.length; j++) { var fc = nc[j].split('#'); if (oc <= fc[2]) { var pc = new Object(); pc.name = fc[0]; pc.value = fc[1]; pc.expireOn = fc[2]; this.ec.put(pc.name, pc); } } }};mboxSession = function(qc, rc, Ab, sc, J) { this.rc = rc; this.Ab = Ab; this.sc = sc; this.J = J; this.tc = false; this.Ib = typeof mboxForceSessionId != 'undefined' ? mboxForceSessionId : mboxGetPageParameter(this.rc); if (this.Ib == null || this.Ib.length == 0) { this.Ib = J.getCookie(Ab); if (this.Ib == null || this.Ib.length == 0) { this.Ib = qc; this.tc = true; } } J.setCookie(Ab, this.Ib, sc);};mboxSession.prototype.getId = function() { return this.Ib;};mboxSession.prototype.forceId = function(uc) { this.Ib = uc; this.J.setCookie(this.Ab, this.Ib, this.sc);};mboxPC = function(Ab, sc, J) { this.Ab = Ab; this.sc = sc; this.J = J; this.Ib = typeof mboxForcePCId != 'undefined' ? mboxForcePCId : J.getCookie(Ab); if (this.Ib != null) { J.setCookie(Ab, this.Ib, sc); }};mboxPC.prototype.getId = function() { return this.Ib;};mboxPC.prototype.forceId = function(uc) { if (this.Ib != uc) { this.Ib = uc; this.J.setCookie(this.Ab, this.Ib, this.sc); return true; } return false;};mboxGetPageParameter = function(g) { var B = null; var vc = new RegExp(g + "=([^\&]*)"); var wc = vc.exec(document.location); if (wc != null && wc.length >= 2) { B = wc[1]; } return B;};mboxSetCookie = function(g, h, bb) { return mboxFactoryDefault.getCookieManager().setCookie(g, h, bb);};mboxGetCookie = function(g) { return mboxFactoryDefault.getCookieManager().getCookie(g);};mboxCookiePageDomain = function() { var dc = (/([^:]*)(:[0-9]{0,5})?/).exec(document.location.host)[1]; var xc = /[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}/; if (!xc.exec(dc)) { var yc = (/([^\.]+\.[^\.]{3}|[^\.]+\.[^\.]+\.[^\.]{2})$/).exec(dc); if (yc) { dc = yc[0]; } } return dc ? dc: "";};mboxShiftArray = function(zc) { var B = new Array(); for (var j = 1; j < zc.length; j++) { B[B.length] = zc[j]; } return B;};mboxGenerateId = function() { return (new Date()).getTime() + "-" + Math.floor(Math.random() * 999999);};mboxScreenHeight = function() { return screen.height;};mboxScreenWidth = function() { return screen.width;};mboxBrowserWidth = function() { return (window.innerWidth) ? window.innerWidth : document.documentElement ? document.documentElement.clientWidth : document.body.clientWidth;};mboxBrowserHeight = function() { return (window.innerHeight) ? window.innerHeight : document.documentElement ? document.documentElement.clientHeight : document.body.clientHeight;};mboxBrowserTimeOffset = function() { return -new Date().getTimezoneOffset();};mboxScreenColorDepth = function() { return screen.pixelDepth;};if (typeof mboxVersion == 'undefined') { var mboxVersion = 40; var mboxFactories = new mboxMap(); var mboxFactoryDefault = new mboxFactory('southerncaliforniaed.tt.omtrdc.net', 'southerncaliforniaed', 'default');};if (mboxGetPageParameter("mboxDebug") != null || mboxFactoryDefault.getCookieManager() .getCookie("debug") != null) { setTimeout(function() { if (typeof mboxDebugLoaded == 'undefined') { alert('Could not load the remote debug.\nPlease check your connection' + ' to Test&Target servers'); } }, 60*60); document.write('<' + 'scr' + 'ipt language="Javascript1.2" src=' + '"http://admin6.testandtarget.omniture.com/admin/mbox/mbox_debug.jsp?mboxServerHost=southerncaliforniaed.tt.omtrdc.net' + '&clientCode=southerncaliforniaed"><' + '\/scr' + 'ipt>');};/** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ (function(){ var w=window,i$=function(){ if(i$.qel){ return i$.qel.apply(this,arguments); } }; w.i$=i$; i$.global=w; if(typeof (console)=="undefined"){ var f=function(){ }; console={log:f,debug:f,info:f,warn:f,error:f,assert:f}; } i$.partial=function(f){ var _1=i$.toArray(arguments).slice(1); return function(){ var _2=_1.slice(0),_3=i$.toArray(arguments),i=0; for(;i<_2.length;i++){ if(_2[i]===undefined){ _2[i]=_3.shift(); } } _2.push.apply(_2,_3); return f.apply(this,_2); }; }; i$.scope=function(s,f){ var of=f; f=function(){ return (i$.isString(of)?s[of]:of).apply(s,arguments); }; return i$.partial.apply(this,i$.toArray(arguments).slice(1)); }; i$.error=function(_4,_5){ console.error(_5||new Error(_4)); }; i$.forEach=function(_6,f,_7){ if(_7==null){ _7=0; } for(var i=(_7>=0)?_7:0;i<_6.length;i++){ f(_6[i],i,_6); } }; i$.forIn=function(o,f){ for(var i in o){ f(o[i],i,o); } }; i$.each=function(o,f,s){ if(s){ f=i$.scope(s,f); } if(o){ if(o instanceof Array||typeof o.length==="number"){ i$.forEach(o,f); }else{ i$.forIn(o,f); } } }; i$.some=function(a,f,s){ if(s){ f=i$.scope(s,f); } for(var i=0;i1){ i$["is"+_1c[0]]=_19(m[1]); } }); })(navigator.userAgent); var _1d=document.documentMode; if(_1d&&_1d!=5&&Math.floor(i$.isIE)!=_1d){ i$.isIE=_1d; } i$.isNode=function(o){ return typeof o==="object"&&typeof o.nodeType==="number"&&typeof o.nodeName==="string"; }; i$.isFunction=function(o){ return typeof o==="function"||o instanceof Function; }; i$.isObject=function(o){ return typeof o==="object"; }; i$.isArray=function(o){ return o instanceof Array; }; i$.isString=function(o){ return typeof o==="string"; }; i$.isNumber=function(o){ return typeof o==="number"; }; i$.isBoolean=function(o){ return typeof o==="boolean"; }; i$.isLikeArray=function(o){ return o instanceof Array||typeof o.length==="number"; }; i$.toArray=function(o){ return Array.prototype.slice.call(o); }; if(i$.isIE){ var _1e=i$.toArray; i$.toArray=function(o){ try{ return _1e(o); } catch(err){ var a=new Array(o.length); for(var i=0;i0){ if(fn=_20.shift()){ try{ fn(); } catch(err){ console.log(err); } } } }; i$._exitPage=function(){ var fn; while(_21.length>0){ if(fn=_21.shift()){ try{ fn(); } catch(err){ console.log(err); } } } }; i$._addEvent=function(e,f,o){ var w=o?o:window; var s=w.attachEvent?e:e.substring(2); var a=w.attachEvent||w.addEventListener; a(s,function(){ f.apply(w,arguments); },false); }; if(!_1f){ i$._addEvent("onload",i$._initPage); if(document.addEventListener){ document.addEventListener("DOMContentLoaded",i$._initPage,false); } } i$._addEvent("onunload",i$._exitPage); i$.addOnLoad=function(f,o){ if(o){ f=i$.scope(o,f); } if(_1f){ f(); }else{ _20.push(f); } }; i$.addOnUnload=function(f,o){ if(o){ f=i$.scope(o,f); } _21.push(f); }; var mx=function(o,m){ for(var p in m){ if(m.hasOwnProperty(p)){ o[p]=m[p]; } } },mxn=function(o,m,_22){ i$.forEach(_22,function(p){ if(m.hasOwnProperty(p)){ o[p]=m[p]; } }); }; i$.mash=function(o){ i$.forEach(arguments,function(v){ mx(o,v); },1); return o; }; i$.mashSpec=function(n,o){ i$.forEach(arguments,function(v){ mxn(o,v,n); },2); return o; }; i$.augment=function(f){ var r=f; if(f&&f.prototype){ f=f.prototype; i$.mash.apply(i$,arguments); } return r; }; i$.make=(function(){ var l=function(){ }; return function(o){ l.prototype=o; o=new l(); return i$.mash.apply(i$,arguments); }; })(); var _23=/^\s+/g; i$.trim=function(str){ str=str.replace(_23,""); var i=str.length-1; while(str.charAt(i)==" "||str.charAt(i)=="\t"||str.charAt(i)=="\n"||str.charAt(i)=="\r"){ i--; } return str.substring(0,i+1); }; var _24=i$.isArray,_25=i$.isObject; i$.merge=function(_26,_27,_28){ var _28=_28||[],v,c; _27=_27||i$.global; if(_24(_26)&&_24(_27)){ _27.push.apply(_27,_26); }else{ for(var x in _26){ if(_26.hasOwnProperty(x)){ v=_26[x],c=_27[x]; if(c!=null&&((_24(v)&&_24(c))||(_25(v)&&_25(c)))){ _27[x]=i$.merge(v,c,_28.concat(x)); }else{ _27[x]=v; } } } } return _27; }; var _29; i$.isRTL=function(_2a){ if(!_29){ _29=i$.fromPath("ibmCfg.themeConfig.RTLMap"); } var _2b=_29||{"iw":1,"he":1,"ar":1}; return (_2a.substring(0,2) in _2b); }; })(); /** Licensed Materials - Property of IBM, 5724-E76 and 5724-E77, (C) Copyright IBM Corp. 2011, 2012 - All Rights reserved. **/ (function(){ i$.Promise=function(){ this._cbs=[]; this._stat=-1; }; i$.promise={}; i$.promise.Promise=i$.Promise; i$.mash(i$.promise,{isPromise:function(o){ return o&&i$.isFunction(o.then); },resolved:function(o){ var p=new i$.Promise(); p.resolve(o); return p; },rejected:function(_1){ var p=new i$.Promise(); p.reject(_1); return p; },join:function(_2){ var _3=new i$.Promise(),_4=new Array(_2.length),_5=0,_6=false,_7=function(){ if(++_5>=_4.length){ _3[_6?"reject":"resolve"](_4); } }; if(_2.length>0){ i$.each(_2,function(p,i){ p.then(function(v){ _4[i]=v; _7(); },function(e){ _6=true; _4[i]=e; _7(); }); }); }else{ _3.resolve([]); } return _3; }}); i$.mash(i$,{when:function(o){ return i$.promise.isPromise(o)?o:i$.promise.resolved(o); },whenAll:function(o){ var a=[]; i$.each(arguments,function(p){ a.push(i$.when(p)); }); return i$.promise.join(a); }}); i$.promise.when=i$.when; i$.promise.whenAll=i$.whenAll; i$.Promise.prototype={_fin:function(v,s){ if(this._stat!==-1){ throw new Error("Promise already resolved"); } this._v=v; this._stat=s; this._cbk(); return this; },_cbk:function(){ var st=this._stat,_8=this._cbs,v=this._v,f; if(st===0){ if(i$.promise.isPromise(v)){ while(_8.length>0){ v.then.apply(v,_8.shift()); } } } while(_8.length>0){ f=_8.shift()[st]; if(f){ try{ f(v); } catch(err){ } } } },_delegate:function(fn){ var p=new i$.Promise(); this.then(i$.partial(fn,p),i$.scope(p,"reject")); return p; },resolve:function(v){ return this._fin(v,0); },reject:function(e){ return this._fin(e,1); },progress:function(p){ i$.each(this._cbs,function(_9){ if(_9[2]){ _9[2](p); } }); return this; },then:function(_a,_b,_c){ var p=new i$.Promise(); this._cbs.push([function(v){ try{ if(_a){ var rv=_a(v); if(rv!==undefined){ v=rv; } } p.resolve(v); } catch(exc){ p.reject(exc); } },function(e){ var rv=e; try{ if(_b){ rv=_b(e); if(rv===undefined){ rv=e; } } } catch(exc){ rv=exc; } p.reject(rv); },_c]); if(this._stat!==-1){ this._cbk(); } return p; },call:function(_d,_e){ return this._delegate(function(p,_f){ if(_f&&i$.isFunction(_f[_d])){ p.resolve(_f[_d].apply(_f,_e)); }else{ p.reject(new Error(_d+" is not a function on "+o)); } }); },get:function(_10){ return this._delegate(function(p,_11){ if(_11){ p.resolve(_11[_10]); }else{ p.reject(new Error(_11+" is null or undefined")); } }); }}; })(); (function(){ i$.getXHR=typeof XMLHttpRequest!=="undefined"?function(){ return new XMLHttpRequest(); }:function(){ return new ActiveXObject("MSXML2.XMLHTTP.3.0"); }; i$.toQuery=function(o){ var q=[]; i$.each(o,function(v,k){ if(i$.isString(v)){ q.push(k+"="+v); }else{ if(i$.isArray(v)){ i$.each(v,function(av,i){ q.push(k+"="+av); }); } } }); return q.join("&"); }; i$.fromQuery=function(q){ var o={}; i$.each(q.split("&"),function(av,i){ var p=av.split("="),k=p[0],v=p[1],cv=o[k]; if(cv){ if(!i$.isArray(cv)){ cv=o[k]=[cv]; } cv.push(v); }else{ o[k]=v; } }); return o; }; i$.xhr=function(_12,_13){ var _12=_12||"GET",_14=new i$.Promise(),url=_13.url||"",_15=_13.sync||false,cb=_13.callback||function(){ },_16=_13.responseType||"text",_17=_13.postData||null,xhr=i$.getXHR(); var _18=function(){ if(xhr.readyState===4){ try{ xhr.onreadystatechange=i$.isIE<=8?new Function():null; } catch(xhrERR){ } if(xhr.status>=400){ var err=new Error(xhr.status+": "+xhr.responseText); try{ cb(err,xhr); } finally{ _14.reject({data:err,xhr:xhr}); } }else{ try{ var ret=""; if(i$.xhrFmts[_16]){ ret=i$.xhrFmts[_16](xhr); } } catch(err){ cb(err,xhr); return; } try{ cb(ret,xhr); } finally{ _14.resolve({data:ret,xhr:xhr}); } } } }; if(!_15){ xhr.onreadystatechange=_18; } xhr.open(_12,url,!_15); i$.each(_13.headers,function(v,k){ xhr.setRequestHeader(k,v); }); xhr.send(_17); if(_15){ _18(); } return _14; }; i$.each(["Get","Put","Post","Delete"],function(m){ i$["xhr"+m]=i$.partial(i$.xhr,m.toUpperCase()); }); i$.loadScript=function(_19){ var _1a=document.getElementsByTagName("head")[0],_1b=document.createElement("script"),_1c=new i$.Promise(),_1d=false,_1e=function(_1f,_20){ _1b.onreadystatechange=_1b.onload=null; _1d=true; _1c[_1f?"resolve":"reject"](_20); if(_19.callback){ _19.callback(_1f,_20); } _1a.removeChild(_1b); _1b=null; }; _1b.type="text/javascript"; _1b.onreadystatechange=function(){ if(this.readyState==="loaded"||this.readyState==="complete"){ _1e(true); } }; _1b.onload=function(){ _1e(true); }; i$.each(_19.scriptAttrs,function(v,k){ if(v!=null){ _1b.setAttribute(k,v); } }); _1b.src=_19.url; _1a.appendChild(_1b); if(_19.timeout){ setTimeout(function(){ if(!_1d){ _1e(false,new Error("Timeout exceeded")); } },_19.timeout); } return _1c; }; })(); (function(){ if(typeof (JSON)!="undefined"&&JSON.parse){ i$.fromJson=function(str){ return JSON.parse(str); }; i$.toJson=function(obj,_21){ return JSON.stringify(obj,null,_21?"\t":""); }; }else{ i$.fromJson=function(str){ return eval(["(",str,")"].join("")); }; var _22=function(str){ return ["\"",str.replace(/[\\]/g,"\\\\").replace(/["]/g,"\\\"").replace(/[\r]/g,"\\r").replace(/[\n]/g,"\\n").replace(/[\b]/g,"\\b").replace(/[\t]/g,"\\t").replace(/[\f]/g,"\\f"),"\""].join(""); },_23=function(obj,p,_24,_25){ var ap,_26; if(_24){ _25=_25||""; _26=_25+"\t"; } if(obj===null){ p.push("null"); }else{ if(obj===undefined){ p.push("undefined"); }else{ if(i$.isBoolean(obj)||i$.isNumber(obj)){ p.push(obj); }else{ if(i$.isString(obj)){ p.push(_22(obj)); }else{ if(i$.isFunction(obj.toJson)){ p.push(obj.toJson()); }else{ if(i$.isArray(obj)){ p.push("["); ap=[]; i$.each(obj,function(el){ var _27=[]; _23(el,_27,_24,_26); ap.push(_27.join("")); }); if(ap.length>0){ if(_24){ p.push("\n"+_26); } p.push(ap.join(_24?",\n"+_26:",")); if(_24){ p.push("\n"+_25); } } p.push("]"); }else{ if(i$.isObject(obj)){ p.push("{"); ap=[]; i$.each(obj,function(el,key){ var _28=[_22(key),": "]; _23(el,_28,_24,_26); ap.push(_28.join("")); }); if(ap.length>0){ if(_24){ p.push("\n"+_26); } p.push(ap.join(_24?",\n"+_26:",")); if(_24){ p.push("\n"+_25); } } p.push("}"); } } } } } } } }; i$.toJson=function(obj,_29){ var p=[]; _23(obj,p,_29); return p.join(""); }; } i$.xhrFmts.json=function(xhr){ return i$.fromJson(xhr.responseText); }; })(); (function(){ var _2a=function(){ this._evts={}; },_2b=function(_2c,_2d){ return _2c._evts[_2d]||(_2c._evts[_2d]={l:[],b:[]}); },add=function(_2e,_2f,_30,fn){ var e=_2b(_2e,_2f),c=e[_30].push(fn); return [_2f,_30,c-1]; },_31=function(_32,_33){ var e=_2b(_32,_33[0]); delete e[_33[1]][_33[2]]; },_34=function(evt,_35,_36){ var _37=evt.b,_36=_36||0,b,r; for(var i=_36;i<_37.length;i++){ b=_37[i]; if(b){ _35=typeof _35==="undefined"?[]:_35; r=b.apply(null,_35||[]); if(i$.promise.isPromise(r)){ return r.then(function(_38){ if(_38!==false){ return _34(evt,_35,i+1); } return _38; }); } } } },_39=function(evt,_3a){ var _3b=evt.l,l; for(var i=0;i<_3b.length;i++){ l=_3b[i]; if(l){ l.apply(null,_3a||[]); } } },_3c=function(_3d,_3e,_3f){ var e=_2b(_3d,_3e); return i$.when(_34(e,_3f)).then(function(_40){ if(_40!==false){ _39(e,_3f); } return _40; }); }; i$.augment(_2a,{addListener:function(_41,fn){ return add(this,_41,"l",fn); },removeListener:function(_42){ return _31(this,_42); },addBroker:function(_43,fn){ return add(this,_43,"b",fn); },removeBroker:function(_44){ return _31(this,_44); },fireEvent:function(_45,_46){ return _3c(this,_45,_46); }}); var _47=new _2a(); i$.each(["addListener","removeListener","addBroker","removeBroker","fireEvent"],function(n){ i$[n]=i$.scope(_47,n); }); })(); (function(){ var _48=document.createElement("div"); i$.byId=function(id){ if(i$.isNode(id)){ return id; }else{ return document.getElementById(id); } }; i$.createDom=function(_49,_4a,_4b){ var el=document.createElement(_49); i$.each(_4a,function(v,k){ el.setAttribute(k,v); }); if(_4b){ _4b.appendChild(el); } return el; }; var _4c=_48.addEventListener?function(n){ return n.indexOf("on")==0?n.substr(2):n; }:function(n){ return n.indexOf("on")!=0?"on"+n:n; },add=_48.addEventListener?function(_4d,_4e,f){ _4d.addEventListener(_4e,f,false); }:function(_4f,_50,f){ _4f.attachEvent(_50,f); },_51=_48.removeEventListener?function(_52,_53,f){ _52.removeEventListener(_53,f,false); }:function(_54,_55,f){ _54.detachEvent(_55,f); }; i$.isDescendant=function(_56,anc){ if(anc){ while(_56){ if(_56==anc){ return true; } _56=_56.parentNode; } } return false; }; i$.bindDomEvt=function(_57,_58,f){ _58=_4c(_58); if((_58=="mouseleave"||_58=="mouseenter")&&!i$.isIE){ var fp=f; _58=_58=="mouseleave"?"mouseout":"mouseover"; f=function(e){ if(!i$.isDescendant(e.relatedTarget,_57)){ return fp.call(this,e); } }; } add(_57,_58,f); return [_57,_58,f]; }; i$.unbindDomEvt=function(_59){ if(_59[0]){ _51(_59[0],_59[1],_59[2]); } _59.splice(0,3); }; if("classList" in _48){ i$.mash(i$,{addClass:function(_5a,_5b){ _5a&&_5a.classList&&_5a.classList.add(_5b); },removeClass:function(_5c,_5d){ _5c&&_5c.classList&&_5c.classList.remove(_5d); },hasClass:function(_5e,_5f){ return _5e&&_5e.classList&&_5e.classList.contains(_5f); },toggleClass:function(_60,_61){ _60&&_60.classList&&_60.classList.toggle(_61); }}); }else{ var _62=function(str,_63){ if(!str){ return -1; } var len=_63.length,i=str.indexOf(_63),_64,_65; while(i>-1){ _65=str.charAt(i+len); _64=str.charAt(i-1); if((!_65||_65==" ")&&(!_64||_64==" ")){ break; } i=str.indexOf(_63,i+1); } return i; }; i$.mash(i$,{addClass:function(_66,_67){ if(!_66){ return; } if(_62(_66.className,_67)<0){ _66.className+=" "+_67; } },removeClass:function(_68,_69){ if(!_68){ return; } var str=_68.className,len=_69.length,i=_62(str,_69),val=[]; if(i>-1){ if(i>0){ val.push(str.substring(0,i)); } if(str.length>i+len){ val.push(str.substr(i+len)); } _68.className=i$.trim(val.join()); } },hasClass:function(_6a,_6b){ if(!_6a){ return; } return _62(_6a.className,_6b)>-1; },toggleClass:function(_6c,_6d){ if(!_6c){ return; } i$[i$.hasClass(_6c,_6d)?"removeClass":"addClass"](_6c,_6d); }}); } })(); (function(){ var _6e=/([^_]+)_([^_]+)_deferred_?([\d]+)?/,_6f=/alternate/i,_70=function(t){ return document.getElementsByTagName(t); },_71=function(){ return _70("head")[0]; },_72=function(url){ i$.createDom("link",{rel:"stylesheet",type:"text/css",href:url},_71()); return i$.promise.resolved(); },_73=function(url){ return i$.loadScript({url:url}); },_74=function(mod){ return i$.xhrGet({url:mod.url,headers:{"X-IBM-XHR":"true"},responseType:"text"}).then(function(_75){ return {mod:mod,data:_75.data}; }); },_76=function(_77){ i$.each(_77,function(_78){ var m=_78.mod; var _79=m.node.parentNode; var _7a=m.p!="head"?m.node:null; var _7b=document.createDocumentFragment(),tmp=i$.createDom("div"); tmp.innerHTML=_78.data; while(tmp.firstChild){ _7b.appendChild(tmp.firstChild); } _79.insertBefore(_7b,_7a); }); },_7c=function(_7d){ if(_6f.test(_7d.rel)){ var id=_7d.id,_7e=id.match(_6e); if(_7e){ return {node:_7d,url:_7d.href,id:id,p:_7e[1],t:_7e[2],i:_7e[3]}; } } },_7f=function(){ var m={head:[],config:[]},_80={},_81={length:0},_82=_70("link"),_83=_70("a"); i$.each([_82,_83],function(_84){ i$.each(_84,function(_85){ var mod=_7c(_85); if(mod&&!_80[mod.id]){ _80[mod.id]=mod; if(!_81[mod.t]){ _81[mod.t]=[]; _81.length=_81.length+1; } _81[mod.t].push(mod); } }); }); return _81; },_86=function(_87){ var _88=[]; var _89=[]; i$.each(_87["markup"],function(mod){ _89.push(_74(mod)); }); return i$.whenAll.apply(this,_89).then(function(_8a){ _88=_8a; _89=[]; i$.each(_87["css"],function(mod){ _89.push(_72(mod.url)); }); return i$.whenAll.apply(this,_89); },function(err){ console.log("Error: ",err); }).then(function(_8b){ return _8c(_87["js"]); }).then(function(){ _76(_88); }); },_8c=function(_8d){ var m=_8d.shift(),p; if(m){ p=_73(m.url); } return i$.when(p).then(function(){ return _8d.length>0?_8c(_8d):true; },function(err){ console.log("Error: ",err); }); },_8e=false,_8f=null,_90=false,_91=false,_92=new i$.Promise(),_93=function(cbk){ i$.addOnLoad(function(){ if(!_8e){ _8f=_7f(); _90=_8f.length>0?false:true; if(_90){ _92.resolve(); } _8e=true; } if(cbk){ cbk(); } }); }; i$.modules={}; i$.mash(i$.modules,{areLoaded:function(){ return _90; },areLoading:function(){ return _91; },loadDeferred:function(){ if(_91){ return _92; } var cbk=function(){ if(!_90){ _91=true; _86(_8f).then(function(){ _90=true; _91=false; _92.resolve(); },function(e){ _92.reject(e); }); } }; _93(cbk); return _92; },addAfterLoaded:function(f){ var cbk=function(){ _92.then(f); }; _93(cbk); }}); var _94=i$.addOnLoad,_95=[]; i$.addOnLoad=function(f,o){ if(_91){ if(o){ f=i$.scope(o,f); } _95.push(f); }else{ _94(f,o); } }; i$.modules.addAfterLoaded(function(){ while(_95.length>0){ if(fn=_95.shift()){ fn(); } } }); })(); (function(){ i$.getCookie=function(n){ var cs=document.cookie.split(";"),c="",cn="",cv=null; for(var i=0;i1){ cv=i$.trim(c[1]); } return cv; } } return null; }; i$.setCookie=function(n,v,e,p,d,s){ if(!e){ var m=new Date().getTime(); m+=(1000*60*60*24*365*100); e=new Date(m); } var c=n+"="+v+((e)?"; e="+e.toGMTString():"")+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+((s)?"; secure":""); document.cookie=c; }; i$.deleteCookie=function(n,p,d){ if(i$.getCookie(n)){ document.cookie=n+"="+((p)?"; path="+p:"; path=/")+((d)?"; domain="+d:"")+"; expires=Thu, 01-Jan-70 00:00:01 GMT"; } }; })(); (function(){ if(i$.isIE){ document.createElement('article'); document.createElement('aside'); document.createElement('footer'); document.createElement('header'); document.createElement('hgroup'); document.createElement('nav'); document.createElement('section'); } if(i$.isIE == 7){ document.getElementsByTagName("html")[0].className+=" wptheme_ie7"; } if(i$.isIE == 8){ document.getElementsByTagName("html")[0].className+=" wptheme_ie8"; } })();