//>>built define("dojox/secure/sandbox",["dijit","dojo","dojox","dojo/require!dojox/secure/DOM,dojox/secure/capability,dojo/NodeList-fx,dojo/_base/url"],function(_1,_2,_3){ _2.provide("dojox.secure.sandbox"); _2.require("dojox.secure.DOM"); _2.require("dojox.secure.capability"); _2.require("dojo.NodeList-fx"); _2.require("dojo._base.url"); (function(){ var _4=setTimeout; var _5=setInterval; if({}.__proto__){ var _6=function(_7){ var _8=Array.prototype[_7]; if(_8&&!_8.fixed){ (Array.prototype[_7]=function(){ if(this==window){ throw new TypeError("Called with wrong this"); } return _8.apply(this,arguments); }).fixed=true; } }; _6("concat"); _6("reverse"); _6("sort"); _6("slice"); _6("forEach"); _6("filter"); _6("reduce"); _6("reduceRight"); _6("every"); _6("map"); _6("some"); } var _9=function(){ return _2.xhrGet.apply(_2,arguments); }; _3.secure.sandbox=function(_a){ var _b=_3.secure.DOM(_a); _a=_b(_a); var _c=_a.ownerDocument; var _d,_2=_3.secure._safeDojoFunctions(_a,_b); var _e=[]; var _f=["isNaN","isFinite","parseInt","parseFloat","escape","unescape","encodeURI","encodeURIComponent","decodeURI","decodeURIComponent","alert","confirm","prompt","Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","Date","RegExp","Number","Object","Array","String","Math","setTimeout","setInterval","clearTimeout","clearInterval","dojo","get","set","forEach","load","evaluate"]; for(var i in _2){ _f.push(i); _e.push("var "+i+"=dojo."+i); } eval(_e.join(";")); function get(obj,_10){ _10=""+_10; if(_3.secure.badProps.test(_10)){ throw new Error("bad property access"); } if(obj.__get__){ return obj.__get__(_10); } return obj[_10]; }; function set(obj,_11,_12){ _11=""+_11; get(obj,_11); if(obj.__set){ return obj.__set(_11); } obj[_11]=_12; return _12; }; function _13(obj,fun){ if(typeof fun!="function"){ throw new TypeError(); } if("length" in obj){ if(obj.__get__){ var len=obj.__get__("length"); for(var i=0;i