[text] snowrider.java

Viewer

copydownloadembedprintName: snowrider.java
  1. document.write('Better spam filters … Now Drive automatically moves suspicious files shared with you to spam. You can still report spam on your own.Learn more');
  2. document.write('<html><head><script>(function(){(function(){function e(g){this.t={};this.tick=function(h,m,f){var n=void 0!=f?f:(new Date).getTime();this.t[h]=[n,m];if(void 0==f)try{window.console.timeStamp("CSI/"+h)}catch(q){}};this.getStartTickTime=function(){return this.t.start[0]};this.tick("start",null,g)}var a;if(window.performance)var d=(a=window.performance.timing)&&a.responseStart;var p=0<d?new e(d):new e;window.jstiming={Timer:e,load:p};if(a){var b=a.navigationStart;0<b&&d>=b&&(window.jstiming.srt=d-b)}if(a){var c=window.jstiming.load;');
  3. document.write('0<b&&d>=b&&(c.tick("_wtsrt",void 0,b),c.tick("wtsrt_","_wtsrt",d),c.tick("tbsd_","wtsrt_"))}try{var k=window.top!=window.self,l=window.location.href;a=null;window.chrome&&window.chrome.csi&&(a=Math.floor(window.chrome.csi().pageT),c&&0<b&&(c.tick("_tbnd",void 0,window.chrome.csi().startE),c.tick("tbnd_","_tbnd",b)));null==a&&window.gtbExternal&&(a=k?window.gtbExternal.frameT(l):window.gtbExternal.pageT());null==a&&window.external&&(k?a=window.external.frameT(l):(a=window.external.pageT,c&&0<b&&(c.tick("_tbnd",');
  4. document.write('void 0,window.external.startE),c.tick("tbnd_","_tbnd",b))));a&&(window.jstiming.pt=a)}catch(g){}})();}).call(this);');
  5. document.write('window["__csi"]={a:false,b:false,c:"default",v:"default",g:null,d:false};if(window.jstiming){window.jstiming.beaconImageReferences_={};window.jstiming.reportCounter_=1;var getTick=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],e=void 0!=c?c:e[0],a=d-e,Math.round(a)},getReportUri=function(a,b,c){var d="";window.jstiming.srt&&(d+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(d+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?d+="&tran="+window.external.tran:window.gtbExternal&&');
  6. document.write('window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(m){}var e=window.chrome;if(e&&(e=e.loadTimes)&&"function"===typeof e&&(e=e())){e.wasFetchedViaSpdy&&(d+="&p=s");if(e.wasNpnNegotiated){d+="&npn=1";var f=e.npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||escape)(f))}e.wasAlternateProtocolAvailable&&(d+="&apa=1")}var g=a.t,k=g.start;e=[];f=[];for(var l in g)if("start"!=l&&0!=l.indexOf("_")){var q=g[l][1];');
  7. document.write('q?g[q]&&f.push(l+"."+getTick(a,l,g[q][0])):k&&e.push(l+"."+getTick(a,l))}delete g.start;if(b)for(var h in b)d+="&"+h+"="+b[h];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return a=[b,"?v=3","&s="+(window.jstiming.sn||"opensocial-gadgets")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",e.join(",")].join("")},sendReport_=function(a,b,c){a=getReportUri(a,b,c);if(!a)return"";b=new Image;var d=window.jstiming.reportCounter_++;window.jstiming.beaconImageReferences_[d]=');
  8. document.write('b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.beaconImageReferences_[d]};b.src=a;b=null;return a};window.jstiming.report=function(a,b,c){var d=document.visibilityState,e="visibilitychange";d||(d=document.webkitVisibilityState,e="webkitvisibilitychange");if("prerender"==d){var f=!1,g=function(){if(!f){b?b.prerender="1":b={prerender:"1"};if("prerender"==(document.visibilityState||document.webkitVisibilityState))var k=!1;else sendReport_(a,b,c),k=!0;k&&(f=!0,document.removeEventListener(e,');
  9. document.write('g,!1))}};document.addEventListener(e,g,!1);return""}return sendReport_(a,b,c)}};/*');
  10. document.write('');
  11. document.write(' Copyright The Closure Library Authors.');
  12. document.write(' SPDX-License-Identifier: Apache-2.0');
  13. document.write('*/');
  14. document.write('var goog=goog||{};goog.global=this||self;goog.exportPath_=function(a,b,c,d){a=a.split(".");d=d||goog.global;a[0]in d||"undefined"==typeof d.execScript||d.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)if(a.length||void 0===b)d=d[e]&&d[e]!==Object.prototype[e]?d[e]:d[e]={};else if(!c&&goog.isObject(b)&&goog.isObject(d[e]))for(var f in b)b.hasOwnProperty(f)&&(d[e][f]=b[f]);else d[e]=b};goog.define=function(a,b){return a=b};goog.FEATURESET_YEAR=2012;goog.DEBUG=!0;goog.LOCALE="en";');
  15. document.write('goog.TRUSTED_SITE=!0;goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.readFlagInternalDoNotUseOrElse=function(a,b){var c=goog.getObjectByName(goog.FLAGS_OBJECT_);a=c&&c[a];return null!=a?a:b};goog.FLAGS_OBJECT_="CLOSURE_FLAGS";goog.FLAGS_STAGING_DEFAULT=!0;');
  16. document.write('goog.readToggleInternalDoNotCallDirectly=function(a){var b="object"===typeof CLOSURE_TOGGLE_ORDINALS?CLOSURE_TOGGLE_ORDINALS:void 0;a=b&&b[a];return"number"!==typeof a?!!a:!!(goog.TOGGLES_[Math.floor(a/30)]&1<<a%30)};goog.TOGGLE_VAR_="_F_toggles";goog.TOGGLES_=goog.global[goog.TOGGLE_VAR_]||[];goog.LEGACY_NAMESPACE_OBJECT_=goog.global;goog.provide=function(a){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(a)};');
  17. document.write('goog.constructNamespace_=function(a,b,c){goog.exportPath_(a,b,c,goog.LEGACY_NAMESPACE_OBJECT_)};goog.NONCE_PATTERN_=/^[\\w+/_-]+[=]{0,2}$/;goog.getScriptNonce_=function(a){a=(a||goog.global).document;return(a=a.querySelector&&a.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(a)?a:""};goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/;');
  18. document.write('goog.module=function(a){if("string"!==typeof a||!a||-1==a.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+a+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You\'re likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");');
  19. document.write('if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=a};goog.module.get=function(){return null};goog.module.getInternal_=function(){return null};goog.requireDynamic=function(){return null};goog.importHandler_=null;goog.uncompiledChunkIdHandler_=null;goog.setImportHandlerInternalDoNotCallOrElse=function(a){goog.importHandler_=a};');
  20. document.write('goog.setUncompiledChunkIdHandlerInternalDoNotCallOrElse=function(a){goog.uncompiledChunkIdHandler_=a};goog.maybeRequireFrameworkInternalOnlyDoNotCallOrElse=function(){};goog.ModuleType={ES6:"es6",GOOG:"goog"};goog.moduleLoaderState_=null;goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()};goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG};');
  21. document.write('goog.isInEs6ModuleLoader_=function(){var a=!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6;return a?!0:(a=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp)?"function"!=typeof a.getCurrentModulePath?!1:!!a.getCurrentModulePath():!1};goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0};');
  22. document.write('goog.declareModuleId=function(a){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=a;else{var b=goog.LEGACY_NAMESPACE_OBJECT_.$jscomp;if(!b||"function"!=typeof b.getCurrentModulePath)throw Error(\'Module with namespace "\'+a+\'" has been loaded incorrectly.\');b=b.require(b.getCurrentModulePath());goog.loadedModules_[a]={exports:b,type:goog.ModuleType.ES6,moduleId:a}}};');
  23. document.write('goog.setTestOnly=function(a){if(goog.DISALLOW_TEST_ONLY_CODE)throw a=a||"",Error("Importing test-only code into non-debug environment"+(a?": "+a:"."));};goog.forwardDeclare=function(){};goog.getObjectByName=function(a,b){a=a.split(".");b=b||goog.global;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b};goog.addDependency=function(){};goog.ENABLE_DEBUG_LOADER=!1;goog.logToConsole_=function(a){goog.global.console&&goog.global.console.error(a)};goog.require=function(){};');
  24. document.write('goog.requireType=function(){return{}};goog.basePath="";goog.abstractMethod=function(){throw Error("unimplemented abstract method");};goog.addSingletonGetter=function(a){a.instance_=void 0;a.getInstance=function(){if(a.instance_)return a.instance_;goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=a);return a.instance_=new a}};goog.instantiatedSingletons_=[];goog.LOAD_MODULE_USING_EVAL=!0;goog.SEAL_MODULE_EXPORTS=goog.DEBUG;goog.loadedModules_={};');
  25. document.write('goog.DEPENDENCIES_ENABLED=!1;goog.TRANSPILE="detect";goog.ASSUME_ES_MODULES_TRANSPILED=!1;goog.TRUSTED_TYPES_POLICY_NAME="goog";goog.hasBadLetScoping=null;');
  26. document.write('goog.loadModule=function(a){var b=goog.moduleLoaderState_;try{goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG};var c={},d=c;if("function"===typeof a)d=a.call(void 0,d);else if("string"===typeof a)d=goog.loadModuleFromSource_.call(void 0,d,a);else throw Error("Invalid module definition");var e=goog.moduleLoaderState_.moduleName;if("string"===typeof e&&e){goog.moduleLoaderState_.declareLegacyNamespace?(a=c!==d,goog.constructNamespace_(e,d,a)):goog.SEAL_MODULE_EXPORTS&&');
  27. document.write('Object.seal&&"object"==typeof d&&null!=d&&Object.seal(d);var f={exports:d,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};goog.loadedModules_[e]=f}else throw Error(\'Invalid module name "\'+e+\'"\');}finally{goog.moduleLoaderState_=b}};goog.loadModuleFromSource_=function(a,b){eval(goog.CLOSURE_EVAL_PREFILTER_.createScript(b));return a};');
  28. document.write('goog.normalizePath_=function(a){a=a.split("/");for(var b=0;b<a.length;)"."==a[b]?a.splice(b,1):b&&".."==a[b]&&a[b-1]&&".."!=a[b-1]?a.splice(--b,2):b++;return a.join("/")};goog.loadFileSync_=function(a){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(a);try{var b=new goog.global.XMLHttpRequest;b.open("get",a,!1);b.send();return 0==b.status||200==b.status?b.responseText:null}catch(c){return null}};');
  29. document.write('goog.typeOf=function(a){var b=typeof a;return"object"!=b?b:a?Array.isArray(a)?"array":b:"null"};goog.isArrayLike=function(a){var b=goog.typeOf(a);return"array"==b||"object"==b&&"number"==typeof a.length};goog.isDateLike=function(a){return goog.isObject(a)&&"function"==typeof a.getFullYear};goog.isObject=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b};');
  30. document.write('goog.getUid=function(a){return Object.prototype.hasOwnProperty.call(a,goog.UID_PROPERTY_)&&a[goog.UID_PROPERTY_]||(a[goog.UID_PROPERTY_]=++goog.uidCounter_)};goog.hasUid=function(a){return!!a[goog.UID_PROPERTY_]};goog.removeUid=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(goog.UID_PROPERTY_);try{delete a[goog.UID_PROPERTY_]}catch(b){}};goog.UID_PROPERTY_="closure_uid_"+(1E9*Math.random()>>>0);goog.uidCounter_=0;');
  31. document.write('goog.cloneObject=function(a){var b=goog.typeOf(a);if("object"==b||"array"==b){if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);b="array"==b?[]:{};for(var c in a)b[c]=goog.cloneObject(a[c]);return b}return a};goog.bindNative_=function(a,b,c){return a.call.apply(a.bind,arguments)};');
  32. document.write('goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){goog.bind=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bindNative_:goog.bindJs_;return goog.bind.apply(null,arguments)};');
  33. document.write('goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}};goog.now=function(){return Date.now()};goog.globalEval=function(a){(0,eval)(a)};');
  34. document.write('goog.getCssName=function(a,b){if("."==String(a).charAt(0))throw Error(\'className passed in goog.getCssName must not start with ".". You passed: \'+a);var c=function(e){return goog.cssNameMapping_[e]||e},d=function(e){e=e.split("-");for(var f=[],g=0;g<e.length;g++)f.push(c(e[g]));return f.join("-")};d=goog.cssNameMapping_?"BY_WHOLE"==goog.cssNameMappingStyle_?c:d:function(e){return e};a=b?a+"-"+d(b):d(a);return goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(a):a};');
  35. document.write('goog.setCssNameMapping=function(a,b){goog.cssNameMapping_=a;goog.cssNameMappingStyle_=b};goog.GetMsgOptions=function(){};goog.getMsg=function(a,b,c){c&&c.html&&(a=a.replace(/</g,"<"));c&&c.unescapeHtmlEntities&&(a=a.replace(/</g,"<").replace(/>/g,">").replace(/&apos;/g,"\'").replace(/"/g,\'"\').replace(/&/g,"&"));b&&(a=a.replace(/\\{\\$([^}]+)}/g,function(d,e){return null!=b&&e in b?b[e]:d}));return a};goog.getMsgWithFallback=function(a){return a};');
  36. document.write('goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,!0,c)};goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[e].apply(d,g)}};goog.scope=function(a){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");a.call(goog.global)};');
  37. document.write('goog.defineClass=function(a,b){var c=b.constructor,d=b.statics;c&&c!=Object.prototype.constructor||(c=function(){throw Error("cannot instantiate an interface (no constructor defined).");});c=goog.defineClass.createSealingConstructor_(c,a);a&&goog.inherits(c,a);delete b.constructor;delete b.statics;goog.defineClass.applyProperties_(c.prototype,b);null!=d&&(d instanceof Function?d(c):goog.defineClass.applyProperties_(c,d));return c};goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG;');
  38. document.write('goog.defineClass.createSealingConstructor_=function(a){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return a;var b=function(){var c=a.apply(this,arguments)||this;c[goog.UID_PROPERTY_]=c[goog.UID_PROPERTY_];return c};return b};goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");');
  39. document.write('goog.defineClass.applyProperties_=function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c]);for(var d=0;d<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;d++)c=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[d],Object.prototype.hasOwnProperty.call(b,c)&&(a[c]=b[c])};goog.identity_=function(a){return a};');
  40. document.write('goog.createTrustedTypesPolicy=function(a){var b=null,c=goog.global.trustedTypes;if(!c||!c.createPolicy)return b;try{b=c.createPolicy(a,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_})}catch(d){goog.logToConsole_(d.message)}return b};var google=window.google||{};');
  41. document.write('google.csi=function(){function a(h){var m=g?g:document.location.href;return(h=m.match(new RegExp("[?&]"+h+"=([^&#]+)")))?h[1]:null}function b(h){window.jstiming.load.tick(h);f[h]=(new Date).getTime()}function c(){if(!l){var h=a("url")||"default",m=window.__csi||{},r=m.c||"default",v=m.v||"default",p=window.encodeURIComponent?encodeURIComponent:escape;p={gadget:p(h),container:p(r),view:p(v)};var t=window.__dflags||{},u=[];m.g&&u.push(m.g);if(m.d)for(var n in t)"control"!==t[n]&&(p[n]=t[n],"true"===');
  42. document.write('t[n]&&u.push(n));p.e=u.join(",");n=k?k:document.location.protocol;n=e[n];window.jstiming.load.name=[r,"_",v].join("");window.jstiming.report(window.jstiming.load,p,n);(r=window.gadgets)&&r.rpc&&m.b&&(f.url=h,f.id=a("mid"),r.rpc.call(null,"time_iframe",void 0,f));l=!0}}function d(h){window.addEventListener?window.addEventListener("load",h,!1):window.attachEvent&&window.attachEvent("onload",h)}var e={"http:":"http://csi.gstatic.com/csi","https:":"https://gg.google.com/csi"},f={},g,k,l=!1,q=window.__csi||');
  43. document.write('{};q.a?(d(function(){b("prt")}),window.onbeforeunload=function(){c()}):d(function(){b("ol");b("prt");c()});return{reset_:function(){l=!1},mockHref_:function(h){g=h},mockProtocol_:function(h){k=h},report_:c,tickPrtAndReport:function(){b("prt");c()},tickDl:function(){b("dl")}}}();');
  44. document.write('</script><script>__dflags={"RefererProxy":"control","DynamicHeightGadgetRewriter":"true","CacheErrorThrottleCountLimit":"control","AnalyticsGadgetRewriter":"true","StyleAdjacencyGadgetRewriter":"true","CsiSample":"true","UseETags":"false","StyleTagExtractorGadgetRewriter":"true","LogResources":"false","ContentDivGadgetRewriter":"false","TimeSecsSinceEpochEnvGadgetRewriter":"true","AdsUrlGadgetRewriter":"true","ErrorCodesToLog":"control","YtVideoUrlGadgetRewriter":"true","ProxyingGadgetRewriter":"true","UseCajaSerializer":"false","CorpDomainSuffixes":"control","DflagsJsDebugGadgetRewriter":"true","GadgetBlacklist":"control","MiniMessageGadgetRewriter":"true","EnableJsErrorTracking":"true","TrackResources":"false","ClickTrackGadgetRewriter":"false","InjectClientId":"false","DisableLoggingJs":"false","UseBrowserSpecificJson":"false","HtmlParser":"control","UseUrlGadgetWhitelist":"false","ResourceUsageJsDebugGadgetRewriter":"true","UrlTranslations":"control","EnableContextCache":"false","UseNoVarGlobals":"false","Monkeypatch":"control","ValidateTypeUrl":"true","UseJsPipelineForRendering":"false"};');
  45. document.write('');
  46. document.write('/* mp-start */');
  47. document.write('window[\'___jsl\']=window[\'___jsl\']||{};');
  48. document.write('/* mp-end */');
  49. document.write('</script><style type="text/css">body,td,div,span,p{font-family:arial,sans-serif;}a {color:#0000cc;}a:visited {color:#551a8b;}a:active {color:#ff0000;}body{margin: 0px;padding: 0px;background-color:white;}</style><script>window[\'__isgadget\']=true;</script><script>window[\'___jsl\'] = window[\'___jsl\'] || {};(window[\'___jsl\'][\'ci\'] = (window[\'___jsl\'][\'ci\'] || [])).push({"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/gadgets/proxy/refresh=%refresh%&container=%container%%rewriteMime%&gadget=%gadget%/%rawurl%"},"shindig.auth":{"authToken":"","trustedJson":""},"core.util":{"core":{}}});var safeJSON=window.safeJSON;');
  50. document.write('var tamings___=window.tamings___||[];');
  51. document.write('var bridge___;');
  52. document.write('var caja___=window.caja___;');
  53. document.write('var ___=window.___;;');
  54. document.write('var gapi=window.gapi||{};gapi.client=window.gapi&&window.gapi.client||{};');
  55. document.write(';');
  56. document.write(';');
  57. document.write('var gadgets=window.gadgets||{},shindig=window.shindig||{},osapi=window.osapi=window.osapi||{};');
  58. document.write(';');
  59. document.write('window[\'___cfg\'] = window[\'___cfg\'] || window[\'___gcfg\'];;');
  60. document.write('if(!window.gadgets["config"]){gadgets.config=function(){var f;');
  61. document.write('var h={};');
  62. document.write('var b={};');
  63. document.write('function c(j,l){for(var k in l){if(!l.hasOwnProperty(k)){continue');
  64. document.write('}if(typeof j[k]==="object"&&typeof l[k]==="object"){c(j[k],l[k])');
  65. document.write('}else{j[k]=l[k]');
  66. document.write('}}}function i(){var j=document.scripts||document.getElementsByTagName("script");');
  67. document.write('if(!j||j.length==0){return null');
  68. document.write('}var m;');
  69. document.write('if(f.u){for(var k=0;');
  70. document.write('!m&&k<j.length;');
  71. document.write('++k){var l=j[k];');
  72. document.write('if(l.src&&l.src.indexOf(f.u)==0){m=l');
  73. document.write('}}}if(!m){m=j[j.length-1]');
  74. document.write('}if(!m.src){return null');
  75. document.write('}return m');
  76. document.write('}function a(j){var k="";');
  77. document.write('if(j.nodeType==3||j.nodeType==4){k=j.nodeValue');
  78. document.write('}else{if(j.innerText){k=j.innerText');
  79. document.write('}else{if(j.innerHTML){k=j.innerHTML');
  80. document.write('}else{if(j.firstChild){var l=[];');
  81. document.write('for(var m=j.firstChild;');
  82. document.write('m;');
  83. document.write('m=m.nextSibling){l.push(a(m))');
  84. document.write('}k=l.join("")');
  85. document.write('}}}}return k');
  86. document.write('}function e(k){if(!k){return{}');
  87. document.write('}var j;');
  88. document.write('while(k.charCodeAt(k.length-1)==0){k=k.substring(0,k.length-1)');
  89. document.write('}try{j=(new Function("return ("+k+"\\n)"))()');
  90. document.write('}catch(l){}if(typeof j==="object"){return j');
  91. document.write('}try{j=(new Function("return ({"+k+"\\n})"))()');
  92. document.write('}catch(l){}return typeof j==="object"?j:{}');
  93. document.write('}function g(n){var p=window.___cfg;');
  94. document.write('if(p){c(n,p)');
  95. document.write('}var o=i();');
  96. document.write('if(!o){return');
  97. document.write('}var k=a(o);');
  98. document.write('var j=e(k);');
  99. document.write('if(f.f&&f.f.length==1){var m=f.f[0];');
  100. document.write('if(!j[m]){var l={};');
  101. document.write('l[f.f[0]]=j;');
  102. document.write('j=l');
  103. document.write('}}c(n,j)');
  104. document.write('}function d(o){for(var l in h){if(h.hasOwnProperty(l)){var n=h[l];');
  105. document.write('for(var m=0,k=n.length;');
  106. document.write('m<k;');
  107. document.write('++m){o(l,n[m])');
  108. document.write('}}}}return{register:function(l,k,j,m){var n=h[l];');
  109. document.write('if(!n){n=[];');
  110. document.write('h[l]=n');
  111. document.write('}n.push({validators:k||{},callback:j,callOnUpdate:m})');
  112. document.write('},get:function(j){if(j){return b[j]||{}');
  113. document.write('}return b');
  114. document.write('},init:function(k,j){f=window.___jsl||{};');
  115. document.write('c(b,k);');
  116. document.write('g(b);');
  117. document.write('var l=window.___config||{};');
  118. document.write('c(b,l);');
  119. document.write('d(function(q,p){var o=b[q];');
  120. document.write('if(o&&!j){var m=p.validators;');
  121. document.write('for(var n in m){if(m.hasOwnProperty(n)){if(!m[n](o[n])){throw new Error(\'Invalid config value "\'+o[n]+\'" for parameter "\'+n+\'" in component "\'+q+\'"\')');
  122. document.write('}}}}if(p.callback){p.callback(b)');
  123. document.write('}})');
  124. document.write('},update:function(k,p){var o=(window.gapi&&window.gapi["config"]&&window.gapi["config"]["update"]);');
  125. document.write('if(!p&&o){o(k)');
  126. document.write('}var n=[];');
  127. document.write('d(function(q,j){if(k.hasOwnProperty(q)||(p&&b&&b[q])){if(j.callback&&j.callOnUpdate){n.push(j.callback)');
  128. document.write('}}});');
  129. document.write('b=p?{}:b||{};');
  130. document.write('c(b,k);');
  131. document.write('for(var m=0,l=n.length;');
  132. document.write('m<l;');
  133. document.write('++m){n[m](b)');
  134. document.write('}}}');
  135. document.write('}()');
  136. document.write('}else{gadgets.config=window.gadgets["config"];');
  137. document.write('gadgets.config.register=gadgets.config.register;');
  138. document.write('gadgets.config.get=gadgets.config.get;');
  139. document.write('gadgets.config.init=gadgets.config.init;');
  140. document.write('gadgets.config.update=gadgets.config.update');
  141. document.write('};;');
  142. document.write('gadgets.log=(function(){var e=1;');
  143. document.write('var a=2;');
  144. document.write('var f=3;');
  145. document.write('var c=4;');
  146. document.write('var d=function(i){b(e,i)');
  147. document.write('};');
  148. document.write('gadgets.warn=function(i){b(a,i)');
  149. document.write('};');
  150. document.write('gadgets.error=function(i){b(f,i)');
  151. document.write('};');
  152. document.write('gadgets.debug=function(i){};');
  153. document.write('gadgets.setLogLevel=function(i){h=i');
  154. document.write('};');
  155. document.write('function b(k,i){if(k<h||!g){return');
  156. document.write('}if(k===a&&g.warn){g.warn(i)');
  157. document.write('}else{if(k===f&&g.error){try{g.error(i)');
  158. document.write('}catch(j){}}else{if(g.log){g.log(i)');
  159. document.write('}}}}d.INFO=e;');
  160. document.write('d.WARNING=a;');
  161. document.write('d.NONE=c;');
  162. document.write('var h=e;');
  163. document.write('var g=window.console?window.console:window.opera?window.opera.postError:undefined;');
  164. document.write('return d');
  165. document.write('})();;');
  166. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets,"log"],[gadgets,"warn"],[gadgets,"error"],[gadgets,"setLogLevel"]]);');
  167. document.write('caja___.whitelistProps([[gadgets.log,"INFO"],[gadgets.log,"WARNING"],[gadgets.log,"ERROR"],[gadgets.log,"NONE"]])');
  168. document.write('});;');
  169. document.write(';');
  170. document.write('(function(){gadgets.config.EnumValidator=function(d){var c=[];');
  171. document.write('if(arguments.length>1){for(var b=0,a;');
  172. document.write('(a=arguments[b]);');
  173. document.write('++b){c.push(a)');
  174. document.write('}}else{c=d');
  175. document.write('}return function(f){for(var e=0,g;');
  176. document.write('(g=c[e]);');
  177. document.write('++e){if(f===c[e]){return true');
  178. document.write('}}return false');
  179. document.write('}');
  180. document.write('};');
  181. document.write('gadgets.config.RegExValidator=function(a){return function(b){return a.test(b)');
  182. document.write('}');
  183. document.write('};');
  184. document.write('gadgets.config.ExistsValidator=function(a){return typeof a!=="undefined"');
  185. document.write('};');
  186. document.write('gadgets.config.NonEmptyStringValidator=function(a){return typeof a==="string"&&a.length>0');
  187. document.write('};');
  188. document.write('gadgets.config.BooleanValidator=function(a){return typeof a==="boolean"');
  189. document.write('};');
  190. document.write('gadgets.config.LikeValidator=function(a){return function(c){for(var d in a){if(a.hasOwnProperty(d)){var b=a[d];');
  191. document.write('if(!b(c[d])){return false');
  192. document.write('}}}return true');
  193. document.write('}');
  194. document.write('}');
  195. document.write('})();;');
  196. document.write('gadgets.util=gadgets.util||{};');
  197. document.write('(function(){gadgets.util.makeClosure=function(d,f,e){var c=[];');
  198. document.write('for(var b=2,a=arguments.length;');
  199. document.write('b<a;');
  200. document.write('++b){c.push(arguments[b])');
  201. document.write('}return function(){var g=c.slice();');
  202. document.write('for(var k=0,h=arguments.length;');
  203. document.write('k<h;');
  204. document.write('++k){g.push(arguments[k])');
  205. document.write('}return f.apply(d,g)');
  206. document.write('}');
  207. document.write('};');
  208. document.write('gadgets.util.makeEnum=function(b){var c,a,d={};');
  209. document.write('for(c=0;');
  210. document.write('(a=b[c]);');
  211. document.write('++c){d[a]=a');
  212. document.write('}return d');
  213. document.write('}');
  214. document.write('})();;');
  215. document.write('gadgets.util=gadgets.util||{};');
  216. document.write('(function(){var c="http://www.w3.org/1999/xhtml";');
  217. document.write('function b(f,e){var h=e||{};');
  218. document.write('for(var g in h){if(h.hasOwnProperty(g)){f[g]=h[g]');
  219. document.write('}}}function d(g,f){var e=["<",g];');
  220. document.write('var i=f||{};');
  221. document.write('for(var h in i){if(i.hasOwnProperty(h)){e.push(" ");');
  222. document.write('e.push(h);');
  223. document.write('e.push(\'="\');');
  224. document.write('e.push(gadgets.util.escapeString(i[h]));');
  225. document.write('e.push(\'"\')');
  226. document.write('}}e.push("></");');
  227. document.write('e.push(g);');
  228. document.write('e.push(">");');
  229. document.write('return e.join("")');
  230. document.write('}function a(f){var g="";');
  231. document.write('if(f.nodeType==3||f.nodeType==4){g=f.nodeValue');
  232. document.write('}else{if(f.innerText){g=f.innerText');
  233. document.write('}else{if(f.innerHTML){g=f.innerHTML');
  234. document.write('}else{if(f.firstChild){var e=[];');
  235. document.write('for(var h=f.firstChild;');
  236. document.write('h;');
  237. document.write('h=h.nextSibling){e.push(a(h))');
  238. document.write('}g=e.join("")');
  239. document.write('}}}}return g');
  240. document.write('}gadgets.util.createElement=function(f){var e;');
  241. document.write('if((!document.body)||document.body.namespaceURI){try{e=document.createElementNS(c,f)');
  242. document.write('}catch(g){}}return e||document.createElement(f)');
  243. document.write('};');
  244. document.write('gadgets.util.createIframeElement=function(g){var i=gadgets.util.createElement("iframe");');
  245. document.write('try{var e=d("iframe",g);');
  246. document.write('var f=gadgets.util.createElement(e);');
  247. document.write('if(f&&((!i)||((f.tagName==i.tagName)&&(f.namespaceURI==i.namespaceURI)))){i=f');
  248. document.write('}}catch(h){}b(i,g);');
  249. document.write('return i');
  250. document.write('};');
  251. document.write('gadgets.util.getBodyElement=function(){if(document.body){return document.body');
  252. document.write('}try{var f=document.getElementsByTagNameNS(c,"body");');
  253. document.write('if(f&&(f.length==1)){return f[0]');
  254. document.write('}}catch(e){}return document.documentElement||document');
  255. document.write('};');
  256. document.write('gadgets.util.getInnerText=function(e){return a(e)');
  257. document.write('}');
  258. document.write('})();;');
  259. document.write('gadgets.util=gadgets.util||{};');
  260. document.write('(function(){gadgets.util.attachBrowserEvent=function(c,b,d,a){if(typeof c.addEventListener!="undefined"){c.addEventListener(b,d,a)');
  261. document.write('}else{if(typeof c.attachEvent!="undefined"){c.attachEvent("on"+b,d)');
  262. document.write('}else{gadgets.warn("cannot attachBrowserEvent: "+b)');
  263. document.write('}}};');
  264. document.write('gadgets.util.removeBrowserEvent=function(c,b,d,a){if(c.removeEventListener){c.removeEventListener(b,d,a)');
  265. document.write('}else{if(c.detachEvent){c.detachEvent("on"+b,d)');
  266. document.write('}else{gadgets.warn("cannot removeBrowserEvent: "+b)');
  267. document.write('}}}');
  268. document.write('})();;');
  269. document.write('gadgets.util=gadgets.util||{};');
  270. document.write('(function(){var a=[];');
  271. document.write('gadgets.util.registerOnLoadHandler=function(b){a.push(b)');
  272. document.write('};');
  273. document.write('gadgets.util.runOnLoadHandlers=function(){for(var c=0,b=a.length;');
  274. document.write('c<b;');
  275. document.write('++c){a[c]()');
  276. document.write('}}');
  277. document.write('})();;');
  278. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"registerOnLoadHandler"]])');
  279. document.write('});;');
  280. document.write('gadgets.util=gadgets.util||{};');
  281. document.write('(function(){var a={0:false,10:true,13:true,34:true,39:true,60:true,62:true,92:true,8232:true,8233:true,65282:true,65287:true,65308:true,65310:true,65340:true};');
  282. document.write('function b(c,d){return String.fromCharCode(d)');
  283. document.write('}gadgets.util.escape=function(c,g){if(!c){return c');
  284. document.write('}else{if(typeof c==="string"){return gadgets.util.escapeString(c)');
  285. document.write('}else{if(typeof c==="Array"){for(var f=0,d=c.length;');
  286. document.write('f<d;');
  287. document.write('++f){c[f]=gadgets.util.escape(c[f])');
  288. document.write('}}else{if(typeof c==="object"&&g){var e={};');
  289. document.write('for(var h in c){if(c.hasOwnProperty(h)){e[gadgets.util.escapeString(h)]=gadgets.util.escape(c[h],true)');
  290. document.write('}}return e');
  291. document.write('}}}}return c');
  292. document.write('};');
  293. document.write('gadgets.util.escapeString=function(g){if(!g){return g');
  294. document.write('}var d=[],f,h;');
  295. document.write('for(var e=0,c=g.length;');
  296. document.write('e<c;');
  297. document.write('++e){f=g.charCodeAt(e);');
  298. document.write('h=a[f];');
  299. document.write('if(h===true){d.push("&#",f,";")');
  300. document.write('}else{if(h!==false){d.push(g.charAt(e))');
  301. document.write('}}}return d.join("")');
  302. document.write('};');
  303. document.write('gadgets.util.unescapeString=function(c){if(!c){return c');
  304. document.write('}return c.replace(/&#([0-9]+);/g,b)');
  305. document.write('}');
  306. document.write('})();;');
  307. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"escape"],[gadgets.util,"escapeString"],[gadgets.util,"unescapeString"]])');
  308. document.write('});;');
  309. document.write('gadgets.util=gadgets.util||{};');
  310. document.write('(function(){var a=null;');
  311. document.write('function b(e){var f;');
  312. document.write('var c=e.indexOf("?");');
  313. document.write('var d=e.indexOf("#");');
  314. document.write('if(d===-1){f=e.substr(c+1)');
  315. document.write('}else{f=[e.substr(c+1,d-c-1),"&",e.substr(d+1)].join("")');
  316. document.write('}return f.split("&")');
  317. document.write('}gadgets.util.getUrlParameters=function(p){var d=typeof p==="undefined";');
  318. document.write('if(a!==null&&d){return a');
  319. document.write('}var l={};');
  320. document.write('var f=b(p||window.location.href);');
  321. document.write('var n=window.decodeURIComponent?decodeURIComponent:unescape;');
  322. document.write('for(var h=0,g=f.length;');
  323. document.write('h<g;');
  324. document.write('++h){var m=f[h].indexOf("=");');
  325. document.write('if(m===-1){continue');
  326. document.write('}var c=f[h].substring(0,m);');
  327. document.write('var o=f[h].substring(m+1);');
  328. document.write('o=o.replace(/\\+/g," ");');
  329. document.write('try{l[c]=n(o)');
  330. document.write('}catch(k){}}if(d){a=l');
  331. document.write('}return l');
  332. document.write('};');
  333. document.write('gadgets.util.getUrlParameters()');
  334. document.write('})();;');
  335. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getUrlParameters"]])');
  336. document.write('});;');
  337. document.write('gadgets.util=gadgets.util||{};');
  338. document.write('(function(){var b={};');
  339. document.write('var a={};');
  340. document.write('function c(d){b=d["core.util"]||{}');
  341. document.write('}if(gadgets.config){gadgets.config.register("core.util",null,c)');
  342. document.write('}gadgets.util.getFeatureParameters=function(d){return typeof b[d]==="undefined"?null:b[d]');
  343. document.write('};');
  344. document.write('gadgets.util.hasFeature=function(d){return typeof b[d]!=="undefined"');
  345. document.write('};');
  346. document.write('gadgets.util.getServices=function(){return a');
  347. document.write('}');
  348. document.write('})();;');
  349. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.util,"getFeatureParameters"],[gadgets.util,"hasFeature"]])');
  350. document.write('});;');
  351. document.write('shindig.Auth=function(){var authToken=null;');
  352. document.write('var trusted=null;');
  353. document.write('function addParamsToToken(urlParams){var args=authToken.split("&");');
  354. document.write('for(var i=0;');
  355. document.write('i<args.length;');
  356. document.write('i++){var nameAndValue=args[i].split("=");');
  357. document.write('if(nameAndValue.length===2){var name=nameAndValue[0];');
  358. document.write('var value=nameAndValue[1];');
  359. document.write('if(value==="$"){value=encodeURIComponent(urlParams[name]);');
  360. document.write('args[i]=name+"="+value');
  361. document.write('}}}authToken=args.join("&")');
  362. document.write('}function init(configuration){var urlParams=gadgets.util.getUrlParameters();');
  363. document.write('var config=configuration["shindig.auth"]||{};');
  364. document.write('if(config.authToken){authToken=config.authToken');
  365. document.write('}else{if(urlParams.st){authToken=urlParams.st');
  366. document.write('}}if(authToken!==null){addParamsToToken(urlParams)');
  367. document.write('}if(config.trustedJson){trusted=(eval("("+config.trustedJson+")"))');
  368. document.write('}}gadgets.config.register("shindig.auth",null,init);');
  369. document.write('return{getSecurityToken:function(){return authToken');
  370. document.write('},updateSecurityToken:function(newToken){authToken=newToken');
  371. document.write('},getTrustedData:function(){return trusted');
  372. document.write('}}');
  373. document.write('};;');
  374. document.write('shindig.auth=new shindig.Auth();;');
  375. document.write('if(window.JSON&&window.JSON.parse&&window.JSON.stringify){gadgets.json=(function(){var a=/___$/;');
  376. document.write('function b(d,e){var c=this[d];');
  377. document.write('return c');
  378. document.write('}return{parse:function(d){try{return window.JSON.parse(d)');
  379. document.write('}catch(c){return false');
  380. document.write('}},stringify:function(d){var h=window.JSON.stringify;');
  381. document.write('function f(e){return h.call(this,e,b)');
  382. document.write('}var g=(Array.prototype.toJSON&&h([{x:1}])===\'"[{\\\\"x\\\\": 1}]"\')?f:h;');
  383. document.write('try{return g(d,function(i,e){return !a.test(i)?e:void 0');
  384. document.write('})');
  385. document.write('}catch(c){return null');
  386. document.write('}}}');
  387. document.write('})()');
  388. document.write('};;');
  389. document.write(';');
  390. document.write('if(!(window.JSON&&window.JSON.parse&&window.JSON.stringify)){gadgets.json=function(){function f(n){return n<10?"0"+n:n');
  391. document.write('}Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",f(this.getUTCMonth()+1),"-",f(this.getUTCDate()),"T",f(this.getUTCHours()),":",f(this.getUTCMinutes()),":",f(this.getUTCSeconds()),"Z"].join("")');
  392. document.write('};');
  393. document.write('var m={"\\b":"\\\\b","\\t":"\\\\t","\\n":"\\\\n","\\f":"\\\\f","\\r":"\\\\r",\'"\':\'\\\\"\',"\\\\":"\\\\\\\\"};');
  394. document.write('function stringify(value){var a,i,k,l,r=/[\\"\\\\\\x00-\\x1f\\x7f-\\x9f]/g,v;');
  395. document.write('switch(typeof value){case"string":return r.test(value)?\'"\'+value.replace(r,function(a){var c=m[a];');
  396. document.write('if(c){return c');
  397. document.write('}c=a.charCodeAt();');
  398. document.write('return"\\\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)');
  399. document.write('})+\'"\':\'"\'+value+\'"\';');
  400. document.write('case"number":return isFinite(value)?String(value):"null";');
  401. document.write('case"boolean":case"null":return String(value);');
  402. document.write('case"object":if(!value){return"null"');
  403. document.write('}a=[];');
  404. document.write('if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){l=value.length;');
  405. document.write('for(i=0;');
  406. document.write('i<l;');
  407. document.write('i+=1){a.push(stringify(value[i])||"null")');
  408. document.write('}return"["+a.join(",")+"]"');
  409. document.write('}for(k in value){if(/___$/.test(k)){continue');
  410. document.write('}if(value.hasOwnProperty(k)){if(typeof k==="string"){v=stringify(value[k]);');
  411. document.write('if(v){a.push(stringify(k)+":"+v)');
  412. document.write('}}}}return"{"+a.join(",")+"}"');
  413. document.write('}return""');
  414. document.write('}return{stringify:stringify,parse:function(text){if(/^[\\],:{}\\s]*$/.test(text.replace(/\\\\["\\\\\\/b-u]/g,"@").replace(/"[^"\\\\\\n\\r]*"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,"]").replace(/(?:^|:|,)(?:\\s*\\[)+/g,""))){return eval("("+text+")")');
  415. document.write('}return false');
  416. document.write('}}');
  417. document.write('}()');
  418. document.write('};;');
  419. document.write('gadgets.json.flatten=function(c){var d={};');
  420. document.write('if(c===null||c===undefined){return d');
  421. document.write('}for(var a in c){if(c.hasOwnProperty(a)){var b=c[a];');
  422. document.write('if(null===b||undefined===b){continue');
  423. document.write('}d[a]=(typeof b==="string")?b:gadgets.json.stringify(b)');
  424. document.write('}}return d');
  425. document.write('};;');
  426. document.write('gadgets.io=function(){var config={};');
  427. document.write('var oauthState;');
  428. document.write('function makeXhr(){var x;');
  429. document.write('var wrapperXhr=window.shindig&&window.shindig["xhrwrapper"]&&window.shindig["xhrwrapper"]["createXHR"];');
  430. document.write('if(wrapperXhr){return wrapperXhr()');
  431. document.write('}else{if(typeof ActiveXObject!="undefined"){x=new ActiveXObject("Msxml2.XMLHTTP");');
  432. document.write('if(!x){x=new ActiveXObject("Microsoft.XMLHTTP")');
  433. document.write('}return x');
  434. document.write('}else{if(typeof XMLHttpRequest!="undefined"||window.XMLHttpRequest){return new window.XMLHttpRequest()');
  435. document.write('}else{throw ("no xhr available")');
  436. document.write('}}}}function hadError(xobj,callback){if(xobj.readyState!==4){return true');
  437. document.write('}try{if(xobj.status!==200){var error=(""+xobj.status);');
  438. document.write('if(xobj.responseText){error=error+" "+xobj.responseText');
  439. document.write('}callback({errors:[error],rc:xobj.status,text:xobj.responseText});');
  440. document.write('return true');
  441. document.write('}}catch(e){callback({errors:[e.number+" Error not specified"],rc:e.number,text:e.description});');
  442. document.write('return true');
  443. document.write('}return false');
  444. document.write('}function processNonProxiedResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return');
  445. document.write('}var data={body:xobj.responseText};');
  446. document.write('callback(transformResponseData(params,data))');
  447. document.write('}var UNPARSEABLE_CRUFT="throw 1; < don\'t be evil\' >";');
  448. document.write('function processResponse(url,callback,params,xobj){if(hadError(xobj,callback)){return');
  449. document.write('}var txt=xobj.responseText;');
  450. document.write('var offset=txt.indexOf(UNPARSEABLE_CRUFT)+UNPARSEABLE_CRUFT.length;');
  451. document.write('if(offset<UNPARSEABLE_CRUFT.length){return');
  452. document.write('}txt=txt.substr(offset);');
  453. document.write('var data=eval("("+txt+")");');
  454. document.write('data=data[url];');
  455. document.write('if(data.oauthState){oauthState=data.oauthState');
  456. document.write('}if(data.st){shindig.auth.updateSecurityToken(data.st)');
  457. document.write('}callback(transformResponseData(params,data))');
  458. document.write('}function transformResponseData(params,data){var resp={text:data.body,rc:data.rc||200,headers:data.headers,oauthApprovalUrl:data.oauthApprovalUrl,oauthError:data.oauthError,oauthErrorText:data.oauthErrorText,errors:[]};');
  459. document.write('if(resp.rc<200||resp.rc>=400){resp.errors=[resp.rc+" Error"]');
  460. document.write('}else{if(resp.text){if(resp.rc>=300&&resp.rc<400){params.CONTENT_TYPE="TEXT"');
  461. document.write('}switch(params.CONTENT_TYPE){case"JSON":case"FEED":resp.data=gadgets.json.parse(resp.text);');
  462. document.write('if(!resp.data){resp.errors.push("500 Failed to parse JSON");');
  463. document.write('resp.rc=500;');
  464. document.write('resp.data=null');
  465. document.write('}break;');
  466. document.write('case"DOM":var dom;');
  467. document.write('if(typeof ActiveXObject!="undefined"){dom=new ActiveXObject("Microsoft.XMLDOM");');
  468. document.write('dom.async=false;');
  469. document.write('dom.validateOnParse=false;');
  470. document.write('dom.resolveExternals=false;');
  471. document.write('if(!dom.loadXML(resp.text)){resp.errors.push("500 Failed to parse XML");');
  472. document.write('resp.rc=500');
  473. document.write('}else{resp.data=dom');
  474. document.write('}}else{var parser=new DOMParser();');
  475. document.write('dom=parser.parseFromString(resp.text,"text/xml");');
  476. document.write('if("parsererror"===dom.documentElement.nodeName){resp.errors.push("500 Failed to parse XML");');
  477. document.write('resp.rc=500');
  478. document.write('}else{resp.data=dom');
  479. document.write('}}break;');
  480. document.write('default:resp.data=resp.text;');
  481. document.write('break');
  482. document.write('}}}return resp');
  483. document.write('}function makeXhrRequest(realUrl,proxyUrl,callback,paramData,method,params,processResponseFunction,opt_headers){var xhr=makeXhr();');
  484. document.write('if(proxyUrl.indexOf("//")==0){proxyUrl=document.location.protocol+proxyUrl');
  485. document.write('}xhr.open(method,proxyUrl,true);');
  486. document.write('if(callback){xhr.onreadystatechange=gadgets.util.makeClosure(null,processResponseFunction,realUrl,callback,params,xhr)');
  487. document.write('}if(paramData!==null){var contentTypeHeader="Content-Type";');
  488. document.write('var contentType="application/x-www-form-urlencoded";');
  489. document.write('if(typeof opt_headers==="string"){contentType=opt_headers;');
  490. document.write('opt_headers={}');
  491. document.write('}var headers=opt_headers||{};');
  492. document.write('if(!headers[contentTypeHeader]){headers[contentTypeHeader]=contentType');
  493. document.write('}for(var headerName in headers){xhr.setRequestHeader(headerName,headers[headerName])');
  494. document.write('}}xhr.send(paramData)');
  495. document.write('}function respondWithPreload(postData,params,callback){if(gadgets.io.preloaded_&&postData.httpMethod==="GET"){for(var i=0;');
  496. document.write('i<gadgets.io.preloaded_.length;');
  497. document.write('i++){var preload=gadgets.io.preloaded_[i];');
  498. document.write('if(preload&&(preload.id===postData.url)){delete gadgets.io.preloaded_[i];');
  499. document.write('if(preload.rc!==200){callback({rc:preload.rc,errors:[preload.rc+" Error"]})');
  500. document.write('}else{if(preload.oauthState){oauthState=preload.oauthState');
  501. document.write('}var resp={body:preload.body,rc:preload.rc,headers:preload.headers,oauthApprovalUrl:preload.oauthApprovalUrl,oauthError:preload.oauthError,oauthErrorText:preload.oauthErrorText,errors:[]};');
  502. document.write('callback(transformResponseData(params,resp))');
  503. document.write('}return true');
  504. document.write('}}}return false');
  505. document.write('}function init(configuration){config=configuration["core.io"]||{}');
  506. document.write('}gadgets.config.register("core.io",null,init);');
  507. document.write('return{makeRequest:function(url,callback,opt_params){var params=opt_params||{};');
  508. document.write('var httpMethod=params.METHOD||"GET";');
  509. document.write('var refreshInterval=params.REFRESH_INTERVAL;');
  510. document.write('var auth,st;');
  511. document.write('if(params.AUTHORIZATION&&params.AUTHORIZATION!=="NONE"){auth=params.AUTHORIZATION.toLowerCase();');
  512. document.write('st=shindig.auth.getSecurityToken()');
  513. document.write('}else{if(httpMethod==="GET"&&refreshInterval===undefined){refreshInterval=3600');
  514. document.write('}}var signOwner=true;');
  515. document.write('if(typeof params.OWNER_SIGNED!=="undefined"){signOwner=params.OWNER_SIGNED');
  516. document.write('}var signViewer=true;');
  517. document.write('if(typeof params.VIEWER_SIGNED!=="undefined"){signViewer=params.VIEWER_SIGNED');
  518. document.write('}var headers=params.HEADERS||{};');
  519. document.write('if(httpMethod==="POST"&&!headers["Content-Type"]){headers["Content-Type"]="application/x-www-form-urlencoded"');
  520. document.write('}var urlParams=gadgets.util.getUrlParameters();');
  521. document.write('var paramData={url:url,httpMethod:httpMethod,headers:gadgets.io.encodeValues(headers,false),postData:params.POST_DATA||"",authz:auth||"",st:st||"",contentType:params.CONTENT_TYPE||"TEXT",numEntries:params.NUM_ENTRIES||"3",getSummaries:!!params.GET_SUMMARIES,signOwner:signOwner,signViewer:signViewer,gadget:urlParams.url,container:urlParams.container||urlParams.synd||"default",bypassSpecCache:gadgets.util.getUrlParameters()["nocache"]||"",getFullHeaders:!!params.GET_FULL_HEADERS};');
  522. document.write('if(auth==="oauth"||auth==="signed"){if(gadgets.io.oauthReceivedCallbackUrl_){paramData.OAUTH_RECEIVED_CALLBACK=gadgets.io.oauthReceivedCallbackUrl_;');
  523. document.write('gadgets.io.oauthReceivedCallbackUrl_=null');
  524. document.write('}paramData.oauthState=oauthState||"";');
  525. document.write('for(var opt in params){if(params.hasOwnProperty(opt)){if(opt.indexOf("OAUTH_")===0){paramData[opt]=params[opt]');
  526. document.write('}}}}var proxyUrl=config.jsonProxyUrl.replace("%host%",document.location.host);');
  527. document.write('if(!respondWithPreload(paramData,params,callback)){if(httpMethod==="GET"&&refreshInterval>0){var extraparams="?refresh="+refreshInterval+"&"+gadgets.io.encodeValues(paramData);');
  528. document.write('makeXhrRequest(url,proxyUrl+extraparams,callback,null,"GET",params,processResponse)');
  529. document.write('}else{makeXhrRequest(url,proxyUrl,callback,gadgets.io.encodeValues(paramData),"POST",params,processResponse)');
  530. document.write('}}},makeNonProxiedRequest:function(relativeUrl,callback,opt_params,opt_headers){var params=opt_params||{};');
  531. document.write('makeXhrRequest(relativeUrl,relativeUrl,callback,params.POST_DATA,params.METHOD,params,processNonProxiedResponse,opt_headers)');
  532. document.write('},clearOAuthState:function(){oauthState=undefined');
  533. document.write('},encodeValues:function(fields,opt_noEscaping){var escape=!opt_noEscaping;');
  534. document.write('var buf=[];');
  535. document.write('var first=false;');
  536. document.write('for(var i in fields){if(fields.hasOwnProperty(i)&&!/___$/.test(i)){if(!first){first=true');
  537. document.write('}else{buf.push("&")');
  538. document.write('}buf.push(escape?encodeURIComponent(String(i)):i);');
  539. document.write('buf.push("=");');
  540. document.write('buf.push(escape?encodeURIComponent(String(fields[i])):fields[i])');
  541. document.write('}}return buf.join("")');
  542. document.write('},getProxyUrl:function(url,opt_params){var params=opt_params||{};');
  543. document.write('var refresh=params.REFRESH_INTERVAL;');
  544. document.write('if(refresh===undefined){refresh="3600"');
  545. document.write('}var urlParams=gadgets.util.getUrlParameters();');
  546. document.write('var rewriteMimeParam=params.rewriteMime?"&rewriteMime="+encodeURIComponent(String(params.rewriteMime)):"";');
  547. document.write('var ret=config.proxyUrl.replace("%url%",encodeURIComponent(url)).replace("%host%",document.location.host).replace("%rawurl%",url).replace("%refresh%",encodeURIComponent(String(refresh))).replace("%gadget%",encodeURIComponent(urlParams.url)).replace("%container%",encodeURIComponent(urlParams.container||urlParams.synd||"default")).replace("%rewriteMime%",rewriteMimeParam);');
  548. document.write('if(ret.indexOf("//")==0){ret=window.location.protocol+ret');
  549. document.write('}return ret');
  550. document.write('}}');
  551. document.write('}();');
  552. document.write('gadgets.io.RequestParameters=gadgets.util.makeEnum(["METHOD","CONTENT_TYPE","POST_DATA","HEADERS","AUTHORIZATION","NUM_ENTRIES","GET_SUMMARIES","GET_FULL_HEADERS","REFRESH_INTERVAL","OAUTH_SERVICE_NAME","OAUTH_USE_TOKEN","OAUTH_TOKEN_NAME","OAUTH_REQUEST_TOKEN","OAUTH_REQUEST_TOKEN_SECRET","OAUTH_RECEIVED_CALLBACK"]);');
  553. document.write('gadgets.io.MethodType=gadgets.util.makeEnum(["GET","POST","PUT","DELETE","HEAD"]);');
  554. document.write('gadgets.io.ContentType=gadgets.util.makeEnum(["TEXT","DOM","JSON","FEED"]);');
  555. document.write('gadgets.io.AuthorizationType=gadgets.util.makeEnum(["NONE","SIGNED","OAUTH"]);;');
  556. document.write('tamings___.push(function(a){caja___.whitelistFuncs([[gadgets.io,"encodeValues"],[gadgets.io,"getProxyUrl"],[gadgets.io,"makeRequest"]])');
  557. document.write('});;');
  558. document.write('(function(){var i=null;');
  559. document.write('var j={};');
  560. document.write('var f=gadgets.util.escapeString;');
  561. document.write('var d={};');
  562. document.write('var h={};');
  563. document.write('var e="en";');
  564. document.write('var b="US";');
  565. document.write('var a=0;');
  566. document.write('function c(){var l=gadgets.util.getUrlParameters();');
  567. document.write('for(var k in l){if(l.hasOwnProperty(k)){if(k.indexOf("up_")===0&&k.length>3){j[k.substr(3)]=String(l[k])');
  568. document.write('}else{if(k==="country"){b=l[k]');
  569. document.write('}else{if(k==="lang"){e=l[k]');
  570. document.write('}else{if(k==="mid"){a=l[k]');
  571. document.write('}}}}}}}function g(){for(var k in h){if(typeof j[k]==="undefined"){j[k]=h[k]');
  572. document.write('}}}gadgets.Prefs=function(){if(!i){c();');
  573. document.write('g();');
  574. document.write('i=this');
  575. document.write('}return i');
  576. document.write('};');
  577. document.write('gadgets.Prefs.setInternal_=function(n,p){var o=false;');
  578. document.write('if(typeof n==="string"){if(!j.hasOwnProperty(n)||j[n]!==p){o=true');
  579. document.write('}j[n]=p');
  580. document.write('}else{for(var m in n){if(n.hasOwnProperty(m)){var l=n[m];');
  581. document.write('if(!j.hasOwnProperty(m)||j[m]!==l){o=true');
  582. document.write('}j[m]=l');
  583. document.write('}}}return o');
  584. document.write('};');
  585. document.write('gadgets.Prefs.setMessages_=function(k){d=k');
  586. document.write('};');
  587. document.write('gadgets.Prefs.setDefaultPrefs_=function(k){h=k');
  588. document.write('};');
  589. document.write('gadgets.Prefs.prototype.getString=function(k){if(k===".lang"){k="lang"');
  590. document.write('}return j[k]?f(j[k]):""');
  591. document.write('};');
  592. document.write('gadgets.Prefs.prototype.setDontEscape_=function(){f=function(l){return l');
  593. document.write('}');
  594. document.write('};');
  595. document.write('gadgets.Prefs.prototype.getInt=function(k){var l=parseInt(j[k],10);');
  596. document.write('return isNaN(l)?0:l');
  597. document.write('};');
  598. document.write('gadgets.Prefs.prototype.getFloat=function(k){var l=parseFloat(j[k]);');
  599. document.write('return isNaN(l)?0:l');
  600. document.write('};');
  601. document.write('gadgets.Prefs.prototype.getBool=function(k){var l=j[k];');
  602. document.write('if(l){return l==="true"||l===true||!!parseInt(l,10)');
  603. document.write('}return false');
  604. document.write('};');
  605. document.write('gadgets.Prefs.prototype.set=function(k,l){throw new Error("setprefs feature required to make this call.")');
  606. document.write('};');
  607. document.write('gadgets.Prefs.prototype.getArray=function(n){var o=j[n];');
  608. document.write('if(o){var k=o.split("|");');
  609. document.write('for(var m=0,l=k.length;');
  610. document.write('m<l;');
  611. document.write('++m){k[m]=f(k[m].replace(/%7C/g,"|"))');
  612. document.write('}return k');
  613. document.write('}return[]');
  614. document.write('};');
  615. document.write('gadgets.Prefs.prototype.setArray=function(k,l){throw new Error("setprefs feature required to make this call.")');
  616. document.write('};');
  617. document.write('gadgets.Prefs.prototype.getMsg=function(k){return d[k]||""');
  618. document.write('};');
  619. document.write('gadgets.Prefs.prototype.getCountry=function(){return b');
  620. document.write('};');
  621. document.write('gadgets.Prefs.prototype.getLang=function(){return e');
  622. document.write('};');
  623. document.write('gadgets.Prefs.prototype.getModuleId=function(){return a');
  624. document.write('}');
  625. document.write('})();;');
  626. document.write('tamings___.push(function(a){caja___.whitelistCtors([[gadgets,"Prefs",Object]]);');
  627. document.write('caja___.whitelistMeths([[gadgets.Prefs,"getArray"],[gadgets.Prefs,"getBool"],[gadgets.Prefs,"getCountry"],[gadgets.Prefs,"getFloat"],[gadgets.Prefs,"getInt"],[gadgets.Prefs,"getLang"],[gadgets.Prefs,"getMsg"],[gadgets.Prefs,"getString"],[gadgets.Prefs,"set"],[gadgets.Prefs,"setArray"]])');
  628. document.write('});;');
  629. document.write('var JSON=window.JSON||gadgets.json;');
  630. document.write('var _IG_Prefs=(function(){var a=null;');
  631. document.write('var b=function(){if(!a){a=new gadgets.Prefs();');
  632. document.write('a.setDontEscape_()');
  633. document.write('}return a');
  634. document.write('};');
  635. document.write('b._parseURL=gadgets.Prefs.parseUrl;');
  636. document.write('return b');
  637. document.write('})();');
  638. document.write('function _IG_Fetch_wrapper(b,a){b(a.data?a.data:"")');
  639. document.write('}function _IG_FetchContent(b,g,c){var f=c||{};');
  640. document.write('if(f.refreshInterval){f.REFRESH_INTERVAL=f.refreshInterval');
  641. document.write('}else{f.REFRESH_INTERVAL=3600');
  642. document.write('}for(var e in f){var d=f[e];');
  643. document.write('delete f[e];');
  644. document.write('f[e.toUpperCase()]=d');
  645. document.write('}var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,g);');
  646. document.write('gadgets.io.makeRequest(b,a,f)');
  647. document.write('}function _IG_FetchXmlContent(b,e,c){var d=c||{};');
  648. document.write('if(d.refreshInterval){d.REFRESH_INTERVAL=d.refreshInterval');
  649. document.write('}else{d.REFRESH_INTERVAL=3600');
  650. document.write('}d.CONTENT_TYPE="DOM";');
  651. document.write('var a=gadgets.util.makeClosure(null,_IG_Fetch_wrapper,e);');
  652. document.write('gadgets.io.makeRequest(b,a,d)');
  653. document.write('}function _IG_FetchFeedAsJSON(b,f,c,a,d){var e=d||{};');
  654. document.write('e.CONTENT_TYPE="FEED";');
  655. document.write('e.NUM_ENTRIES=c;');
  656. document.write('e.GET_SUMMARIES=a;');
  657. document.write('gadgets.io.makeRequest(b,function(j){j.data=j.data||{};');
  658. document.write('if(j.errors&&j.errors.length>0){j.data.ErrorMsg=j.errors[0]');
  659. document.write('}if(j.data.link){j.data.URL=b');
  660. document.write('}if(j.data.title){j.data.Title=j.data.title');
  661. document.write('}if(j.data.description){j.data.Description=j.data.description');
  662. document.write('}if(j.data.link){j.data.Link=j.data.link');
  663. document.write('}if(j.data.items&&j.data.items.length>0){j.data.Entry=j.data.items;');
  664. document.write('for(var h=0;');
  665. document.write('h<j.data.Entry.length;');
  666. document.write('++h){var i=j.data.Entry[h];');
  667. document.write('i.Title=i.title;');
  668. document.write('i.Link=i.link;');
  669. document.write('i.Summary=i.summary||i.description;');
  670. document.write('i.Date=i.pubDate');
  671. document.write('}}for(var g=0;');
  672. document.write('g<j.data.Entry.length;');
  673. document.write('++g){var i=j.data.Entry[g];');
  674. document.write('i.Date=(i.Date/1000)');
  675. document.write('}f(j.data)');
  676. document.write('},e)');
  677. document.write('}function _IG_GetCachedUrl(a,b){var c=b||{};');
  678. document.write('c.REFRESH_INTERVAL=3600;');
  679. document.write('if(c.refreshInterval){c.REFRESH_INTERVAL=c.refreshInterval');
  680. document.write('}return gadgets.io.getProxyUrl(a,c)');
  681. document.write('}function _IG_GetImageUrl(a,b){return _IG_GetCachedUrl(a,b)');
  682. document.write('}function _IG_GetImage(b){var a=document.createElement("img");');
  683. document.write('a.src=_IG_GetCachedUrl(b);');
  684. document.write('return a');
  685. document.write('}function _IG_RegisterOnloadHandler(a){gadgets.util.registerOnLoadHandler(a)');
  686. document.write('}function _IG_Callback(b,c){var a=arguments;');
  687. document.write('return function(){var d=Array.prototype.slice.call(arguments);');
  688. document.write('b.apply(null,d.concat(Array.prototype.slice.call(a,1)))');
  689. document.write('}');
  690. document.write('}var _args=gadgets.util.getUrlParameters;');
  691. document.write('function _gel(a){return document.getElementById?document.getElementById(a):null');
  692. document.write('}function _gelstn(a){if(a==="*"&&document.all){return document.all');
  693. document.write('}return document.getElementsByTagName?document.getElementsByTagName(a):[]');
  694. document.write('}function _gelsbyregex(d,f){var c=_gelstn(d);');
  695. document.write('var e=[];');
  696. document.write('for(var b=0,a=c.length;');
  697. document.write('b<a;');
  698. document.write('++b){if(f.test(c[b].id)){e.push(c[b])');
  699. document.write('}}return e');
  700. document.write('}function _esc(a){return window.encodeURIComponent?encodeURIComponent(a):escape(a)');
  701. document.write('}function _unesc(a){return window.decodeURIComponent?decodeURIComponent(a):unescape(a)');
  702. document.write('}function _hesc(a){return gadgets.util.escapeString(a)');
  703. document.write('}function _striptags(a){return a.replace(/<\\/?[^>]+>/g,"")');
  704. document.write('}function _trim(a){return a.replace(/^\\s+|\\s+$/g,"")');
  705. document.write('}function _toggle(a){a=(typeof a==="string")?_gel(a):a;');
  706. document.write('if(a!==null){if(a.style.display.length===0||a.style.display==="block"){a.style.display="none"');
  707. document.write('}else{if(a.style.display==="none"){a.style.display="block"');
  708. document.write('}}}}var _uid=(function(){var a=0;');
  709. document.write('return function(){return a++');
  710. document.write('}');
  711. document.write('})();');
  712. document.write('function _min(d,c){return(d<c?d:c)');
  713. document.write('}function _max(d,c){return(d>c?d:c)');
  714. document.write('}function _exportSymbols(a,c){var m=window;');
  715. document.write('var f=a.split(".");');
  716. document.write('for(var h=0,g=f.length;');
  717. document.write('h<g;');
  718. document.write('h++){var b=f[h];');
  719. document.write('m[b]=m[b]||{};');
  720. document.write('m=m[b]');
  721. document.write('}for(var e=0,d=c.length;');
  722. document.write('e<d;');
  723. document.write('e+=2){m[c[e]]=c[e+1]');
  724. document.write('}}function _IG_AddDOMEventHandler(c,b,a){gadgets.warn("_IG_AddDOMEventHandler not implemented - see SHINDIG-198")');
  725. document.write('};;');
  726. document.write('(function(){function f(b,c,a){b={msg:b||"",line:a||0,jsUrl:0==window.location.href.indexOf(c)?"-top-":c,fullUrl:window.location};try{if(++window._varz_numerrors,gadgets&&!(3<e)){c={};c[gadgets.io.RequestParameters.METHOD]=gadgets.io.MethodType.GET;a=encodeURIComponent||escape;var d=gadgets.util.getUrlParameters(),g=d.container||d.synd,h=d.gadget||d.url,l=["/gadgets/evthdlr?t=err&gadget=",a(h),"&container=",a(g),"&jsurl=",a(b.jsUrl),"&line=",a(b.line),"&session=",k,"&count=",e,"&msg=",a(b.msg)];gadgets.io.makeNonProxiedRequest(l.join(""),');
  727. document.write('null,c);e++}}catch(m){}}window._varz_numerrors=0;var k=(new Date).getTime(),e=0;-1==window.location.href.indexOf("&debug=1")&&-1==window.location.href.indexOf("?debug=1")&&(window.onerror=f)})();');
  728. document.write(';');
  729. document.write('(function(){var l=null,q=function(){function e(a){a=(""+a).match(w);return!a?l:new b(p(a[1]),p(a[2]),p(a[3]),p(a[4]),p(a[5]),p(a[6]),p(a[7]))}function x(a,e){return"string"==typeof a?encodeURI(a).replace(e,y):l}function y(a){a=a.charCodeAt(0);return"%"+"0123456789ABCDEF".charAt(a>>4&15)+"0123456789ABCDEF".charAt(a&15)}function u(a){if(a===l)return l;for(var a=a.replace(/(^|\\/)\\.(?:\\/|$)/g,"$1").replace(/\\/{2,}/g,"/"),e=z,m;(m=a.replace(e,"$1"))!=a;a=m);return a}function v(a,e){var m=a.R(),b=e.K();b?m.fa(e.j):');
  730. document.write('b=e.V();b?m.ca(e.n):b=e.W();b?m.da(e.k):b=e.Y();var s=e.g,g=u(s);if(b)m.ba(e.T()),g=g&&g.replace(j,"");else if(b=!!s){if(47!==g.charCodeAt(0))var g=u(m.g||"").replace(j,""),p=g.lastIndexOf("/")+1,g=u((p?g.substring(0,p):"")+u(s)).replace(j,"")}else g=g&&g.replace(j,""),g!==s&&m.G(g);b?m.G(g):b=e.Z();b?m.M(e.l):b=e.X();b&&m.ea(e.o);return m}function b(a,e,b,j,s,g,p){this.j=a;this.n=e;this.k=b;this.h=j;this.g=s;this.l=g;this.o=p}function p(a){return"string"==typeof a&&0<a.length?a:l}var z=RegExp(/(\\/|^)(?:[^./][^/]*|\\.{2,}(?:[^./][^/]*)|\\.{3,}[^/]*)\\/\\.\\.(?:\\/|$)/),');
  731. document.write('j=/^(?:\\.\\.\\/)*(?:\\.\\.$)?/;b.prototype.toString=function(){var a=[];l!==this.j&&a.push(this.j,":");l!==this.k&&(a.push("//"),l!==this.n&&a.push(this.n,"@"),a.push(this.k),l!==this.h&&a.push(":",this.h.toString()));l!==this.g&&a.push(this.g);l!==this.l&&a.push("?",this.l);l!==this.o&&a.push("#",this.o);return a.join("")};b.prototype.R=function(){return new b(this.j,this.n,this.k,this.h,this.g,this.l,this.o)};b.prototype.U=function(){return this.j&&decodeURIComponent(this.j).toLowerCase()};b.prototype.fa=');
  732. document.write('function(a){this.j=a?a:l};b.prototype.K=function(){return l!==this.j};b.prototype.ca=function(a){this.n=a?a:l};b.prototype.V=function(){return l!==this.n};b.prototype.da=function(a){this.k=a?a:l;this.G(this.g)};b.prototype.W=function(){return l!==this.k};b.prototype.T=function(){return this.h&&decodeURIComponent(this.h)};b.prototype.ba=function(a){if(a){a=Number(a);if(a!==(a&65535))throw Error("Bad port number "+a);this.h=""+a}else this.h=l};b.prototype.Y=function(){return l!==this.h};b.prototype.S=');
  733. document.write('function(){return this.g&&decodeURIComponent(this.g)};b.prototype.G=function(a){a?(a=""+a,this.g=!this.k||/^\\//.test(a)?a:"/"+a):this.g=l};b.prototype.M=function(a){this.l=a?a:l};b.prototype.Z=function(){return l!==this.l};b.prototype.aa=function(a){if("object"===typeof a&&!(a instanceof Array)&&(a instanceof Object||"[object Array]"!==Object.prototype.toString.call(a))){var e=[],b=-1,j;for(j in a){var s=a[j];"string"===typeof s&&(e[++b]=j,e[++b]=s)}a=e}for(var e=[],b="",g=0;g<a.length;)j=a[g++],');
  734. document.write('s=a[g++],e.push(b,encodeURIComponent(j.toString())),b="&",s&&e.push("=",encodeURIComponent(s.toString()));this.l=e.join("")};b.prototype.ea=function(a){this.o=a?a:l};b.prototype.X=function(){return l!==this.o};var w=/^(?:([^:/?#]+):)?(?:\\/\\/(?:([^/?#]*)@)?([^/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$/,B=/[#\\/\\?@]/g,C=/[\\#\\?]/g;b.parse=e;b.create=function(a,e,j,p,s,g,u){a=new b(x(a,B),x(e,B),"string"==typeof j?encodeURIComponent(j):l,0<p?p.toString():l,x(s,C),l,"string"==typeof u?encodeURIComponent(u):');
  735. document.write('l);g&&("string"===typeof g?a.M(g.replace(/[^?&=0-9A-Za-z_\\-~.%]/g,y)):a.aa(g));return a};b.$=v;b.ja=u;b.va={pa:function(a){return/\\.html$/.test(e(a).S())?"text/html":"application/javascript"},$:function(a,b){return a?v(e(a),e(b)).toString():""+b}};return b}();"undefined"!==typeof window&&(window.URI=q);var M={f:{NONE:0,URI:1,URI_FRAGMENT:11,SCRIPT:2,STYLE:3,HTML:12,ID:4,IDREF:5,IDREFS:6,GLOBAL_NAME:7,LOCAL_NAME:8,CLASSES:9,FRAME_TARGET:10,MEDIA_QUERY:13}};M.atype=M.f;');
  736. document.write('M.w={"*::class":9,"*::dir":0,"*::draggable":0,"*::hidden":0,"*::id":4,"*::inert":0,"*::itemprop":0,"*::itemref":6,"*::itemscope":0,"*::lang":0,"*::onblur":2,"*::onchange":2,"*::onclick":2,"*::ondblclick":2,"*::onerror":2,"*::onfocus":2,"*::onkeydown":2,"*::onkeypress":2,"*::onkeyup":2,"*::onload":2,"*::onmousedown":2,"*::onmousemove":2,"*::onmouseout":2,"*::onmouseover":2,"*::onmouseup":2,"*::onreset":2,"*::onscroll":2,"*::onselect":2,"*::onsubmit":2,"*::ontouchcancel":2,"*::ontouchend":2,"*::ontouchenter":2,');
  737. document.write('"*::ontouchleave":2,"*::ontouchmove":2,"*::ontouchstart":2,"*::onunload":2,"*::spellcheck":0,"*::style":3,"*::tabindex":0,"*::title":0,"*::translate":0,"a::accesskey":0,"a::coords":0,"a::href":1,"a::hreflang":0,"a::name":7,"a::onblur":2,"a::onfocus":2,"a::shape":0,"a::target":10,"a::type":0,"area::accesskey":0,"area::alt":0,"area::coords":0,"area::href":1,"area::nohref":0,"area::onblur":2,"area::onfocus":2,"area::shape":0,"area::target":10,"audio::controls":0,"audio::loop":0,"audio::mediagroup":5,');
  738. document.write('"audio::muted":0,"audio::preload":0,"audio::src":1,"bdo::dir":0,"blockquote::cite":1,"br::clear":0,"button::accesskey":0,"button::disabled":0,"button::name":8,"button::onblur":2,"button::onfocus":2,"button::type":0,"button::value":0,"canvas::height":0,"canvas::width":0,"caption::align":0,"col::align":0,"col::char":0,"col::charoff":0,"col::span":0,"col::valign":0,"col::width":0,"colgroup::align":0,"colgroup::char":0,"colgroup::charoff":0,"colgroup::span":0,"colgroup::valign":0,"colgroup::width":0,');
  739. document.write('"command::checked":0,"command::command":5,"command::disabled":0,"command::icon":1,"command::label":0,"command::radiogroup":0,"command::type":0,"data::value":0,"del::cite":1,"del::datetime":0,"details::open":0,"dir::compact":0,"div::align":0,"dl::compact":0,"fieldset::disabled":0,"font::color":0,"font::face":0,"font::size":0,"form::accept":0,"form::action":1,"form::autocomplete":0,"form::enctype":0,"form::method":0,"form::name":7,"form::novalidate":0,"form::onreset":2,"form::onsubmit":2,"form::target":10,');
  740. document.write('"h1::align":0,"h2::align":0,"h3::align":0,"h4::align":0,"h5::align":0,"h6::align":0,"hr::align":0,"hr::noshade":0,"hr::size":0,"hr::width":0,"iframe::align":0,"iframe::frameborder":0,"iframe::height":0,"iframe::marginheight":0,"iframe::marginwidth":0,"iframe::width":0,"img::align":0,"img::alt":0,"img::border":0,"img::height":0,"img::hspace":0,"img::ismap":0,"img::name":7,"img::src":1,"img::usemap":11,"img::vspace":0,"img::width":0,"input::accept":0,"input::accesskey":0,"input::align":0,"input::alt":0,');
  741. document.write('"input::autocomplete":0,"input::checked":0,"input::disabled":0,"input::inputmode":0,"input::ismap":0,"input::list":5,"input::max":0,"input::maxlength":0,"input::min":0,"input::multiple":0,"input::name":8,"input::onblur":2,"input::onchange":2,"input::onfocus":2,"input::onselect":2,"input::pattern":0,"input::placeholder":0,"input::readonly":0,"input::required":0,"input::size":0,"input::src":1,"input::step":0,"input::type":0,"input::usemap":11,"input::value":0,"ins::cite":1,"ins::datetime":0,"label::accesskey":0,');
  742. document.write('"label::for":5,"label::onblur":2,"label::onfocus":2,"legend::accesskey":0,"legend::align":0,"li::type":0,"li::value":0,"map::name":7,"menu::compact":0,"menu::label":0,"menu::type":0,"meter::high":0,"meter::low":0,"meter::max":0,"meter::min":0,"meter::optimum":0,"meter::value":0,"ol::compact":0,"ol::reversed":0,"ol::start":0,"ol::type":0,"optgroup::disabled":0,"optgroup::label":0,"option::disabled":0,"option::label":0,"option::selected":0,"option::value":0,"output::for":6,"output::name":8,"p::align":0,');
  743. document.write('"pre::width":0,"progress::max":0,"progress::min":0,"progress::value":0,"q::cite":1,"select::autocomplete":0,"select::disabled":0,"select::multiple":0,"select::name":8,"select::onblur":2,"select::onchange":2,"select::onfocus":2,"select::required":0,"select::size":0,"source::type":0,"table::align":0,"table::bgcolor":0,"table::border":0,"table::cellpadding":0,"table::cellspacing":0,"table::frame":0,"table::rules":0,"table::summary":0,"table::width":0,"tbody::align":0,"tbody::char":0,"tbody::charoff":0,');
  744. document.write('"tbody::valign":0,"td::abbr":0,"td::align":0,"td::axis":0,"td::bgcolor":0,"td::char":0,"td::charoff":0,"td::colspan":0,"td::headers":6,"td::height":0,"td::nowrap":0,"td::rowspan":0,"td::scope":0,"td::valign":0,"td::width":0,"textarea::accesskey":0,"textarea::autocomplete":0,"textarea::cols":0,"textarea::disabled":0,"textarea::inputmode":0,"textarea::name":8,"textarea::onblur":2,"textarea::onchange":2,"textarea::onfocus":2,"textarea::onselect":2,"textarea::placeholder":0,"textarea::readonly":0,"textarea::required":0,');
  745. document.write('"textarea::rows":0,"textarea::wrap":0,"tfoot::align":0,"tfoot::char":0,"tfoot::charoff":0,"tfoot::valign":0,"th::abbr":0,"th::align":0,"th::axis":0,"th::bgcolor":0,"th::char":0,"th::charoff":0,"th::colspan":0,"th::headers":6,"th::height":0,"th::nowrap":0,"th::rowspan":0,"th::scope":0,"th::valign":0,"th::width":0,"thead::align":0,"thead::char":0,"thead::charoff":0,"thead::valign":0,"tr::align":0,"tr::bgcolor":0,"tr::char":0,"tr::charoff":0,"tr::valign":0,"track::default":0,"track::kind":0,"track::label":0,');
  746. document.write('"track::srclang":0,"ul::compact":0,"ul::type":0,"video::controls":0,"video::height":0,"video::loop":0,"video::mediagroup":5,"video::muted":0,"video::poster":1,"video::preload":0,"video::src":1,"video::width":0};M.ATTRIBS=M.w;M.c={OPTIONAL_ENDTAG:1,EMPTY:2,CDATA:4,RCDATA:8,UNSAFE:16,FOLDABLE:32,SCRIPT:64,STYLE:128,VIRTUALIZED:256};M.eflags=M.c;');
  747. document.write('M.e={a:0,abbr:0,acronym:0,address:0,applet:272,area:2,article:0,aside:0,audio:0,b:0,base:274,basefont:274,bdi:0,bdo:0,big:0,blockquote:0,body:305,br:2,button:0,canvas:0,caption:0,center:0,cite:0,code:0,col:2,colgroup:1,command:2,data:0,datalist:0,dd:1,del:0,details:0,dfn:0,dialog:272,dir:0,div:0,dl:0,dt:1,em:0,fieldset:0,figcaption:0,figure:0,font:0,footer:0,form:0,frame:274,frameset:272,h1:0,h2:0,h3:0,h4:0,h5:0,h6:0,head:305,header:0,hgroup:0,hr:2,html:305,i:0,iframe:4,img:2,input:2,ins:0,isindex:274,');
  748. document.write('kbd:0,keygen:274,label:0,legend:0,li:1,link:274,map:0,mark:0,menu:0,meta:274,meter:0,nav:0,nobr:0,noembed:276,noframes:276,noscript:276,object:272,ol:0,optgroup:0,option:1,output:0,p:1,param:274,pre:0,progress:0,q:0,s:0,samp:0,script:84,section:0,select:0,small:0,source:2,span:0,strike:0,strong:0,style:148,sub:0,summary:0,sup:0,table:0,tbody:1,td:1,textarea:8,tfoot:1,th:1,thead:1,time:0,title:280,tr:1,track:2,tt:0,u:0,ul:0,"var":0,video:0,wbr:2};M.ELEMENTS=M.e;');
  749. document.write('M.O={a:"HTMLAnchorElement",abbr:"HTMLElement",acronym:"HTMLElement",address:"HTMLElement",applet:"HTMLAppletElement",area:"HTMLAreaElement",article:"HTMLElement",aside:"HTMLElement",audio:"HTMLAudioElement",b:"HTMLElement",base:"HTMLBaseElement",basefont:"HTMLBaseFontElement",bdi:"HTMLElement",bdo:"HTMLElement",big:"HTMLElement",blockquote:"HTMLQuoteElement",body:"HTMLBodyElement",br:"HTMLBRElement",button:"HTMLButtonElement",canvas:"HTMLCanvasElement",caption:"HTMLTableCaptionElement",center:"HTMLElement",');
  750. document.write('cite:"HTMLElement",code:"HTMLElement",col:"HTMLTableColElement",colgroup:"HTMLTableColElement",command:"HTMLCommandElement",data:"HTMLElement",datalist:"HTMLDataListElement",dd:"HTMLElement",del:"HTMLModElement",details:"HTMLDetailsElement",dfn:"HTMLElement",dialog:"HTMLDialogElement",dir:"HTMLDirectoryElement",div:"HTMLDivElement",dl:"HTMLDListElement",dt:"HTMLElement",em:"HTMLElement",fieldset:"HTMLFieldSetElement",figcaption:"HTMLElement",figure:"HTMLElement",font:"HTMLFontElement",footer:"HTMLElement",');
  751. document.write('form:"HTMLFormElement",frame:"HTMLFrameElement",frameset:"HTMLFrameSetElement",h1:"HTMLHeadingElement",h2:"HTMLHeadingElement",h3:"HTMLHeadingElement",h4:"HTMLHeadingElement",h5:"HTMLHeadingElement",h6:"HTMLHeadingElement",head:"HTMLHeadElement",header:"HTMLElement",hgroup:"HTMLElement",hr:"HTMLHRElement",html:"HTMLHtmlElement",i:"HTMLElement",iframe:"HTMLIFrameElement",img:"HTMLImageElement",input:"HTMLInputElement",ins:"HTMLModElement",isindex:"HTMLUnknownElement",kbd:"HTMLElement",keygen:"HTMLKeygenElement",');
  752. document.write('label:"HTMLLabelElement",legend:"HTMLLegendElement",li:"HTMLLIElement",link:"HTMLLinkElement",map:"HTMLMapElement",mark:"HTMLElement",menu:"HTMLMenuElement",meta:"HTMLMetaElement",meter:"HTMLMeterElement",nav:"HTMLElement",nobr:"HTMLElement",noembed:"HTMLElement",noframes:"HTMLElement",noscript:"HTMLElement",object:"HTMLObjectElement",ol:"HTMLOListElement",optgroup:"HTMLOptGroupElement",option:"HTMLOptionElement",output:"HTMLOutputElement",p:"HTMLParagraphElement",param:"HTMLParamElement",pre:"HTMLPreElement",');
  753. document.write('progress:"HTMLProgressElement",q:"HTMLQuoteElement",s:"HTMLElement",samp:"HTMLElement",script:"HTMLScriptElement",section:"HTMLElement",select:"HTMLSelectElement",small:"HTMLElement",source:"HTMLSourceElement",span:"HTMLSpanElement",strike:"HTMLElement",strong:"HTMLElement",style:"HTMLStyleElement",sub:"HTMLElement",summary:"HTMLElement",sup:"HTMLElement",table:"HTMLTableElement",tbody:"HTMLTableSectionElement",td:"HTMLTableDataCellElement",textarea:"HTMLTextAreaElement",tfoot:"HTMLTableSectionElement",');
  754. document.write('th:"HTMLTableHeaderCellElement",thead:"HTMLTableSectionElement",time:"HTMLTimeElement",title:"HTMLTitleElement",tr:"HTMLTableRowElement",track:"HTMLTrackElement",tt:"HTMLElement",u:"HTMLElement",ul:"HTMLUListElement","var":"HTMLElement",video:"HTMLVideoElement",wbr:"HTMLElement"};M.ELEMENT_DOM_INTERFACES=M.O;M.N={NOT_LOADED:0,SAME_DOCUMENT:1,NEW_DOCUMENT:2};M.ueffects=M.N;');
  755. document.write('M.J={"a::href":2,"area::href":2,"audio::src":1,"blockquote::cite":0,"command::icon":1,"del::cite":0,"form::action":2,"img::src":1,"input::src":1,"ins::cite":0,"q::cite":0,"video::poster":1,"video::src":1};M.URIEFFECTS=M.J;M.L={UNSANDBOXED:2,SANDBOXED:1,DATA:0};M.ltypes=M.L;M.I={"a::href":2,"area::href":2,"audio::src":2,"blockquote::cite":2,"command::icon":1,"del::cite":2,"form::action":2,"img::src":1,"input::src":1,"ins::cite":2,"q::cite":2,"video::poster":1,"video::src":2};M.LOADERTYPES=M.I;');
  756. document.write('"undefined"!==typeof window&&(window.html4=M);var Q=function(e){function x(d){if(D.hasOwnProperty(d))return D[d];var a=d.match(R);return a?String.fromCharCode(parseInt(a[1],10)):(a=d.match(S))?String.fromCharCode(parseInt(a[1],16)):E&&T.test(d)?(E.innerHTML="&"+d+";",a=E.textContent,D[d]=a):"&"+d+";"}function y(d,a){return x(a)}function u(d){return d.replace(U,y)}function v(d){return(""+d).replace(N,"&").replace(F,"<").replace(G,">").replace(V,""")}function b(d){return(""+d).replace(N,"&").replace(F,"<").replace(G,">")}');
  757. document.write('function p(d){return d.replace(W,"&$1").replace(F,"<").replace(G,">")}function z(d){var a={z:d.z||d.cdata,A:d.A||d.comment,B:d.B||d.endDoc,t:d.t||d.endTag,d:d.d||d.pcdata,F:d.F||d.rcdata,H:d.H||d.startDoc,v:d.v||d.startTag};return function(d,e){var f;var r=/(<\\/|<\\!--|<[!?]|[&<>])/g;f=d+"";if(X)f=f.split(r);else{for(var k=[],i=0,b;(b=r.exec(f))!==l;)k.push(f.substring(i,b.index)),k.push(b[0]),i=b.index+b[0].length;k.push(f.substring(i));f=k}w(a,f,0,{r:!1,C:!1},e)}}function j(d,a,c,e,f){return function(){w(d,');
  758. document.write('a,c,e,f)}}function w(d,a,c,h,f){try{d.H&&0==c&&d.H(f);for(var r,k,i,b=a.length;c<b;){var n=a[c++],g=a[c];switch(n){case "&":Y.test(g)?(d.d&&d.d("&"+g,f,t,j(d,a,c,h,f)),c++):d.d&&d.d("&",f,t,j(d,a,c,h,f));break;case "</":if(r=/^([-\\w:]+)[^\\\'\\"]*/.exec(g))if(r[0].length===g.length&&">"===a[c+1])c+=2,i=r[1].toLowerCase(),d.t&&d.t(i,f,t,j(d,a,c,h,f));else{var m=a,o=c,p=d,s=f,u=t,x=h,v=C(m,o);v?(p.t&&p.t(v.name,s,u,j(p,m,o,x,s)),c=v.next):c=m.length}else d.d&&d.d("</",f,t,j(d,a,c,h,f));break;case "<":if(r=');
  759. document.write('/^([-\\w:]+)\\s*\\/?/.exec(g))if(r[0].length===g.length&&">"===a[c+1]){c+=2;i=r[1].toLowerCase();d.v&&d.v(i,[],f,t,j(d,a,c,h,f));var w=e.e[i];w&O&&(c=B(a,{name:i,next:c,c:w},d,f,t,h))}else{var m=a,o=d,p=f,s=t,u=h,A=C(m,c);A?(o.v&&o.v(A.name,A.P,p,s,j(o,m,A.next,u,p)),c=A.c&O?B(m,A,o,p,s,u):A.next):c=m.length}else d.d&&d.d("<",f,t,j(d,a,c,h,f));break;case "<\\!--":if(!h.C){for(k=c+1;k<b&&!(">"===a[k]&&/--$/.test(a[k-1]));k++);if(k<b){if(d.A){var y=a.slice(c,k).join("");d.A(y.substr(0,y.length-2),f,');
  760. document.write('t,j(d,a,k+1,h,f))}c=k+1}else h.C=!0}h.C&&d.d&&d.d("<!--",f,t,j(d,a,c,h,f));break;case "<!":if(/^\\w/.test(g)){if(!h.r){for(k=c+1;k<b&&">"!==a[k];k++);k<b?c=k+1:h.r=!0}h.r&&d.d&&d.d("<!",f,t,j(d,a,c,h,f))}else d.d&&d.d("<!",f,t,j(d,a,c,h,f));break;case "<?":if(!h.r){for(k=c+1;k<b&&">"!==a[k];k++);k<b?c=k+1:h.r=!0}h.r&&d.d&&d.d("<?",f,t,j(d,a,c,h,f));break;case ">":d.d&&d.d(">",f,t,j(d,a,c,h,f));break;case "":break;default:d.d&&d.d(n,f,t,j(d,a,c,h,f))}}d.B&&d.B(f)}catch(z){if(z!==t)throw z;');
  761. document.write('}}function B(a,b,c,h,f,r){var k=a.length;H.hasOwnProperty(b.name)||(H[b.name]=RegExp("^"+b.name+"(?:[\\\\s\\\\/]|$)","i"));for(var i=H[b.name],g=b.next,n=b.next+1;n<k&&!("</"===a[n-1]&&i.test(a[n]));n++);n<k&&(n-=1);k=a.slice(g,n).join("");if(b.c&e.c.CDATA)c.z&&c.z(k,h,f,j(c,a,n,r,h));else if(b.c&e.c.RCDATA)c.F&&c.F(p(k),h,f,j(c,a,n,r,h));else throw Error("bug");return n}function C(a,b){var c=/^([-\\w:]+)/.exec(a[b]),h={};h.name=c[1].toLowerCase();h.c=e.e[h.name];for(var f=a[b].substr(c[0].length),r=b+');
  762. document.write('1,k=a.length;r<k&&">"!==a[r];r++)f+=a[r];if(!(k<=r)){for(var i=[];""!==f;)if(c=Z.exec(f))if(c[4]&&!c[5]||c[6]&&!c[7]){for(var c=c[4]||c[6],g=!1,f=[f,a[r++]];r<k;r++){if(g){if(">"===a[r])break}else 0<=a[r].indexOf(c)&&(g=!0);f.push(a[r])}if(k<=r)break;f=f.join("")}else{var g=c[1].toLowerCase(),n;if(c[2]){n=c[3];var j=n.charCodeAt(0);if(34===j||39===j)n=n.substr(1,n.length-2);n=u(n.replace($,""))}else n="";i.push(g,n);f=f.substr(c[0].length)}else f=f.replace(/^[\\s\\S][^a-z\\s]*/,"");h.P=i;h.next=r+1;');
  763. document.write('return h}}function a(a){function g(){var a=h[h.length-1];return a?e.e[a.m]:0}function c(a){var d=h[h.length-1];if(!d)throw Error("shouldn\'t happen: CDATA/RCDATA context without any start tag");return a.replace(RegExp("</"+d.m+"(?=[^A-Za-z])>?","i"),"</>")}var h,f;return z({startDoc:function(){h=[];f=!1},startTag:function(c,b,i){if(!f&&e.e.hasOwnProperty(c)){var g=e.e[c];if(!(g&e.c.FOLDABLE)){var n=a(c,b);if(n){if("object"!==typeof n)throw Error("tagPolicy did not return object (old API?)");if("attribs"in');
  764. document.write('n)b=n.attribs;else throw Error("tagPolicy gave no attribs");var j;"tagName"in n?(j=n.tagName,n=e.e[j]):(j=c,n=g);if(g&e.c.OPTIONAL_ENDTAG){var m=h[h.length-1];m&&m.D===c&&(m.m!==j||c!==j)&&i.push("</",m.m,">")}g&e.c.EMPTY||h.push({D:c,m:j});i.push("<",j);c=0;for(m=b.length;c<m;c+=2){var o=b[c],p=b[c+1];p!==l&&void 0!==p&&i.push(" ",o,\'="\',v(p),\'"\')}i.push(">");g&e.c.EMPTY&&!(n&e.c.EMPTY)&&i.push("</",j,">")}else f=!(g&e.c.EMPTY)}}},endTag:function(a,d){if(f)f=!1;else if(e.e.hasOwnProperty(a)){var c=');
  765. document.write('e.e[a];if(!(c&(e.c.EMPTY|e.c.FOLDABLE))){if(c&e.c.OPTIONAL_ENDTAG)for(c=h.length;0<=--c;){var b=h[c].D;if(b===a)break;if(!(e.e[b]&e.c.OPTIONAL_ENDTAG))return}else for(c=h.length;0<=--c&&h[c].D!==a;);if(!(0>c)){for(b=h.length;--b>c;){var g=h[b].m;e.e[g]&e.c.OPTIONAL_ENDTAG||d.push("</",g,">")}c<h.length&&(a=h[c].m);h.length=c;d.push("</",a,">")}}}},pcdata:function(a,d){f||(g()&(e.c.RCDATA|e.c.CDATA)?d.push(c(a)):d.push(a))},rcdata:function(a,d){f||(g()&(e.c.RCDATA|e.c.CDATA)?d.push(c(a)):d.push(a))},');
  766. document.write('cdata:function(a,d){f||(g()&e.c.CDATA?d.push(c(a)):d.push(b(a)))},endDoc:function(a){for(;h.length;h.length--)a.push("</",h[h.length-1].m,">")}})}function J(a,b,c,e,f){if(!f)return l;try{var g=q.parse(""+a);if(g&&(!g.K()||aa.test(g.U()))){var k=f(g,b,c,e);return k?k.toString():l}}catch(i){}return l}function m(a,b,c,e,f){c||a(b+" removed",{Q:"removed",tagName:b});if(e!==f){var g="changed";e&&!f?g="removed":!e&&f&&(g="added");a(b+"."+c+" "+g,{Q:g,tagName:b,ia:c,oldValue:e,newValue:f})}}function K(a,');
  767. document.write('b,c){b=b+"::"+c;if(a.hasOwnProperty(b))return a[b];b="*::"+c;if(a.hasOwnProperty(b))return a[b]}function s(a,b,c,h,f){for(var g=0;g<b.length;g+=2){var k=b[g],i=b[g+1],j=i,n=l,o;if((o=a+"::"+k,e.w.hasOwnProperty(o))||(o="*::"+k,e.w.hasOwnProperty(o)))n=e.w[o];if(n!==l)switch(n){case e.f.NONE:break;case e.f.SCRIPT:i=l;f&&m(f,a,k,j,i);break;case e.f.STYLE:if("undefined"===typeof I){i=l;f&&m(f,a,k,j,i);break}var p=[];I(i,{declaration:function(a,b){var d=a.toLowerCase();P(d,b,c?function(a){return J(a,');
  768. document.write('e.N.ga,e.L.ha,{TYPE:"CSS",CSS_PROP:d},c)}:l);b.length&&p.push(d+": "+b.join(" "))}});i=0<p.length?p.join(" ; "):l;f&&m(f,a,k,j,i);break;case e.f.ID:case e.f.IDREF:case e.f.IDREFS:case e.f.GLOBAL_NAME:case e.f.LOCAL_NAME:case e.f.CLASSES:i=h?h(i):i;f&&m(f,a,k,j,i);break;case e.f.URI:i=J(i,K(e.J,a,k),K(e.I,a,k),{TYPE:"MARKUP",XML_ATTR:k,XML_TAG:a},c);f&&m(f,a,k,j,i);break;case e.f.URI_FRAGMENT:i&&"#"===i.charAt(0)?(i=i.substring(1),i=h?h(i):i,i!==l&&void 0!==i&&(i="#"+i)):i=l;f&&m(f,a,k,j,i);break;');
  769. document.write('default:i=l,f&&m(f,a,k,j,i)}else i=l,f&&m(f,a,k,j,i);b[g+1]=i}return b}function g(a,b,c){return function(g,f){if(e.e[g]&e.c.UNSAFE)c&&m(c,g,void 0,void 0,void 0);else return{attribs:s(g,f,a,b,c)}}}function L(b,e){var c=[];a(e)(b,c);return c.join("")}var I,P;"undefined"!==typeof window&&(I=window.parseCssDeclarations,P=window.sanitizeCssProperty);var D={lt:"<",LT:"<",gt:">",GT:">",amp:"&",AMP:"&",quot:\'"\',apos:"\'",nbsp:"\\u00a0"},R=/^#(\\d+)$/,S=/^#x([0-9A-Fa-f]+)$/,T=/^[A-Za-z][A-Za-z0-9]+$/,E="undefined"!==');
  770. document.write('typeof window&&window.document?window.document.createElement("textarea"):l,$=/\\0/g,U=/&(#[0-9]+|#[xX][0-9A-Fa-f]+|\\w+);/g,Y=/^(#[0-9]+|#[xX][0-9A-Fa-f]+|\\w+);/,N=/&/g,W=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,F=/[<]/g,G=/>/g,V=/\\"/g,Z=/^\\s*([-.:\\w]+)(?:\\s*(=)\\s*((")[^"]*("|$)|(\')[^\']*(\'|$)|(?=[a-z][-\\w]*\\s*=)|[^"\'\\s]*))?/i,X=3==="a,b".split(/(,)/).length,O=e.c.CDATA|e.c.RCDATA,t={},H={},aa=/^(?:https?|geo|mailto|sms|tel)$/i,o={};o.ka=o.escapeAttrib=v;o.la=o.escapePcdata=b;o.ma=o.makeHtmlSanitizer=');
  771. document.write('a;o.na=o.makeSaxParser=z;o.oa=o.makeTagPolicy=g;o.qa=o.normalizeRCData=p;o.ra=o.sanitize=function(a,b,c,e){return L(a,g(b,c,e))};o.sa=o.sanitizeAttribs=s;o.ta=o.sanitizeWithPolicy=L;o.ua=o.unescapeEntities=u;return o}(M),ba=Q.sanitize;"undefined"!==typeof window&&(window.html=Q,window.html_sanitize=ba);})();');
  772. document.write(';');
  773. document.write('gadgets.config.init({"core.io":{"jsonProxyUrl":"//%host%/gadgets/makeRequest","proxyUrl":"//www.gmodules.com/gadgets/proxy/refresh=%refresh%&container=%container%%rewriteMime%&gadget=%gadget%/%rawurl%"},"shindig.auth":{"authToken":"","trustedJson":""},"core.util":{"core":{}}});');
  774. document.write('</script><script>gadgets.Prefs.setMessages_({});gadgets.Prefs.setDefaultPrefs_({});gadgets.io.preloaded_=[];</script><link href="https://cdn.jsdelivr.net/gh/drippy-cat/snowrider3D@c82fe583cbffafa502b0aa3ed2da0053972e0c80/TemplateData/style.css" rel="stylesheet">');
  775. document.write('');
  776. document.write('    ');
  777. document.write('    ');
  778. document.write('    </head><body dir="ltr"><script src="https://cdn.jsdelivr.net/gh/drippy-cat/snowrider3D@c82fe583cbffafa502b0aa3ed2da0053972e0c80/TemplateData/UnityProgress.js"></script><script src="https://cdn.jsdelivr.net/gh/drippy-cat/snowrider3D@c82fe583cbffafa502b0aa3ed2da0053972e0c80/Build/UnityLoader.js"></script><script>');
  779. document.write('      var gameInstance = UnityLoader.instantiate("gameContainer", "https://cdn.jsdelivr.net/gh/drippy-cat/snowrider3D@c82fe583cbffafa502b0aa3ed2da0053972e0c80/Build/SnowRider3D-gd-1.json", {onProgress: UnityProgress,Module:{onRuntimeInitialized: function() {UnityProgress(gameInstance, "complete")}}});');
  780. document.write('    </script><div class="webgl-content">');
  781. document.write('        <div id="gameContainer" style="width: 100%; height: 100%; margin: auto"></div>');
  782. document.write('        </div>');
  783. document.write('');
  784. document.write('<script>gadgets.util.runOnLoadHandlers();</script><script>window.google.csi.tickDl();');
  785. document.write('</script></body></html>');
  786.  

Editor

You can edit this paste and save as new:


File Description
  • snowrider.java
  • Paste Code
  • 26 Apr-2024
  • 81.93 Kb
You can Share it: