summaryrefslogtreecommitdiff
path: root/CS 1300_files/2335172194-trix_widgets.js
diff options
context:
space:
mode:
Diffstat (limited to 'CS 1300_files/2335172194-trix_widgets.js')
-rw-r--r--CS 1300_files/2335172194-trix_widgets.js41
1 files changed, 0 insertions, 41 deletions
diff --git a/CS 1300_files/2335172194-trix_widgets.js b/CS 1300_files/2335172194-trix_widgets.js
deleted file mode 100644
index 6093fb6..0000000
--- a/CS 1300_files/2335172194-trix_widgets.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
-
- Copyright The Closure Library Authors.
- SPDX-License-Identifier: Apache-2.0
-*/
-var g,n=this||self;function aa(a){var b=typeof a;b="object"!=b?b:a?Array.isArray(a)?"array":b:"null";return"array"==b||"object"==b&&"number"==typeof a.length}function p(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ba(a,b,c){return a.call.apply(a.bind,arguments)}
-function ca(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)}}function q(a,b,c){q=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ba:ca;return q.apply(null,arguments)}
-function r(a,b){function c(){}c.prototype=b.prototype;a.B=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Sa=function(d,e,f){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[e].apply(d,h)}};var t;var da=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,c);for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ea=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
-function fa(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]};var ha=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]};function u(a,b){return a<b?-1:a>b?1:0};function v(){var a=n.navigator;return a&&(a=a.userAgent)?a:""}function w(a){return-1!=v().indexOf(a)};function x(a){x[" "](a);return a}x[" "]=function(){};function ia(a,b,c,d){d=d?d(b):b;return Object.prototype.hasOwnProperty.call(a,d)?a[d]:a[d]=c(b)};var ja=w("Opera"),y=w("Trident")||w("MSIE"),ka=w("Edge"),la=w("Gecko")&&!(-1!=v().toLowerCase().indexOf("webkit")&&!w("Edge"))&&!(w("Trident")||w("MSIE"))&&!w("Edge"),z=-1!=v().toLowerCase().indexOf("webkit")&&!w("Edge"),A;
-a:{var B="",C=function(){var a=v();if(la)return/rv:([^\);]+)(\)|;)/.exec(a);if(ka)return/Edge\/([\d\.]+)/.exec(a);if(y)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(z)return/WebKit\/(\S+)/.exec(a);if(ja)return/(?:Version)[ \/]?(\S+)/.exec(a)}();C&&(B=C?C[1]:"");if(y){var D,ma=n.document;D=ma?ma.documentMode:void 0;if(null!=D&&D>parseFloat(B)){A=String(D);break a}}A=B}var na=A,oa={};
-function pa(a){return ia(oa,a,function(){for(var b=0,c=ha(String(na)).split("."),d=ha(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f<e;f++){var h=c[f]||"",k=d[f]||"";do{h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];k=/(\d*)(\D*)(.*)/.exec(k)||["","","",""];if(0==h[0].length&&0==k[0].length)break;b=u(0==h[1].length?0:parseInt(h[1],10),0==k[1].length?0:parseInt(k[1],10))||u(0==h[2].length,0==k[2].length)||u(h[2],k[2]);h=h[3];k=k[3]}while(0==b)}return 0<=b})};function qa(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function ra(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}var sa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function ta(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<sa.length;f++)c=sa[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};function E(a,b){this.ea=b===ua?a:""}E.prototype.toString=function(){return this.ea.toString()};E.prototype.oa=!0;E.prototype.ka=function(){return this.ea.toString()};var va=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,ua={};function wa(a,b){qa(b,function(c,d){c&&"object"==typeof c&&c.oa&&(c=c.ka());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:xa.hasOwnProperty(d)?a.setAttribute(xa[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})}
-var xa={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};
-function ya(a,b,c,d){function e(k){k&&b.appendChild("string"===typeof k?a.createTextNode(k):k)}for(;d<c.length;d++){var f=c[d];if(!aa(f)||p(f)&&0<f.nodeType)e(f);else{a:{if(f&&"number"==typeof f.length){if(p(f)){var h="function"==typeof f.item||"string"==typeof f.item;break a}if("function"===typeof f){h="function"==typeof f.item;break a}}h=!1}ea(h?fa(f):f,e)}}}function za(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)}
-function F(a){for(var b;b=a.firstChild;)a.removeChild(b)}function G(a){return 9==a.nodeType?a:a.ownerDocument||a.document}function Aa(a){return a.contentDocument||a.contentWindow.document}function H(a){this.o=a||n.document||document}g=H.prototype;g.getElementsByTagName=function(a,b){return(b||this.o).getElementsByTagName(String(a))};
-g.g=function(a,b,c){var d=this.o,e=arguments,f=e[1],h=za(d,String(e[0]));f&&("string"===typeof f?h.className=f:Array.isArray(f)?h.className=f.join(" "):wa(h,f));2<e.length&&ya(d,h,e,2);return h};g.createElement=function(a){return za(this.o,a)};g.createTextNode=function(a){return this.o.createTextNode(String(a))};g.la=function(){var a=this.o;return a.parentWindow||a.defaultView};g.appendChild=function(a,b){a.appendChild(b)};g.append=function(a,b){ya(G(a),a,arguments,1)};
-g.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};g.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null};
-g.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};function I(){this.O=this.O;this.Y=this.Y}I.prototype.O=!1;I.prototype.Da=function(){this.O||(this.O=!0,this.m())};I.prototype.m=function(){if(this.Y)for(;this.Y.length;)this.Y.shift()()};function J(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.J=!1}J.prototype.stopPropagation=function(){this.J=!0};J.prototype.preventDefault=function(){this.defaultPrevented=!0};var Ba=function(){if(!n.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{n.addEventListener("test",function(){},b),n.removeEventListener("test",function(){},b)}catch(c){}return a}();function K(a,b){J.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.s=null;a&&this.Ha(a,b)}r(K,J);var Ca={2:"touch",3:"pen",4:"mouse"};
-K.prototype.Ha=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(la){a:{try{x(b.nodeName);var e=!0;break a}catch(f){}e=!1}e||(b=null)}}else"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=
-d.screenY||0):(this.offsetX=z||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=z||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=
-a.pointerId||0;this.pointerType="string"===typeof a.pointerType?a.pointerType:Ca[a.pointerType]||"";this.state=a.state;this.s=a;a.defaultPrevented&&K.B.preventDefault.call(this)};K.prototype.stopPropagation=function(){K.B.stopPropagation.call(this);this.s.stopPropagation?this.s.stopPropagation():this.s.cancelBubble=!0};K.prototype.preventDefault=function(){K.B.preventDefault.call(this);var a=this.s;a.preventDefault?a.preventDefault():a.returnValue=!1};var Da="closure_listenable_"+(1E6*Math.random()|0);function L(a){return!(!a||!a[Da])};var Ea=0;function Fa(a,b,c,d,e,f){this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.T=f;this.key=++Ea;this.K=this.N=!1}Fa.prototype.X=function(){this.K=!0;this.T=this.src=this.proxy=this.listener=null};function M(a){this.src=a;this.h={};this.L=0}g=M.prototype;g.add=function(a,b,c,d,e){var f=a.toString();a=this.h[f];a||(a=this.h[f]=[],this.L++);var h=N(a,b,d,e);-1<h?(b=a[h],c||(b.N=!1)):(b=new Fa(b,null,this.src,f,!!d,e),b.N=c,a.push(b));return b};g.remove=function(a,b,c,d){a=a.toString();if(!(a in this.h))return!1;var e=this.h[a];b=N(e,b,c,d);return-1<b?(e[b].X(),Array.prototype.splice.call(e,b,1),0==e.length&&(delete this.h[a],this.L--),!0):!1};
-g.xa=function(a){var b=a.type;if(!(b in this.h))return!1;var c=this.h[b],d=da(c,a),e;(e=0<=d)&&Array.prototype.splice.call(c,d,1);e&&(a.X(),0==this.h[b].length&&(delete this.h[b],this.L--));return e};g.fa=function(a){a=a&&a.toString();var b=0,c;for(c in this.h)if(!a||c==a){for(var d=this.h[c],e=0;e<d.length;e++)++b,d[e].X();delete this.h[c];this.L--}return b};g.H=function(a,b,c,d){a=this.h[a.toString()];var e=-1;a&&(e=N(a,b,c,d));return-1<e?a[e]:null};
-g.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():"",e=void 0!==b;return ra(this.h,function(f){for(var h=0;h<f.length;++h)if(!(c&&f[h].type!=d||e&&f[h].capture!=b))return!0;return!1})};function N(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.K&&f.listener==b&&f.capture==!!c&&f.T==d)return e}return-1};var O="closure_lm_"+(1E6*Math.random()|0),Ga={},Ha=0;function P(a,b,c,d,e){if(d&&d.once)return Q(a,b,c,d,e);if(Array.isArray(b)){for(var f=0;f<b.length;f++)P(a,b[f],c,d,e);return null}c=R(c);return L(a)?a.j(b,c,p(d)?!!d.capture:!!d,e):Ia(a,b,c,!1,d,e)}
-function Ia(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var h=p(e)?!!e.capture:!!e,k=S(a);k||(a[O]=k=new M(a));c=k.add(b,c,d,h,f);if(c.proxy)return c;d=Ja();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Ba||(e=h),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Ka(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Ha++;return c}
-function Ja(){function a(c){return b.call(a.src,a.listener,c)}var b=La;return a}function Q(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Q(a,b[f],c,d,e);return null}c=R(c);return L(a)?a.ra(b,c,p(d)?!!d.capture:!!d,e):Ia(a,b,c,!0,d,e)}function Ma(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f<b.length;f++)Ma(a,b[f],c,d,e);return null}d=p(d)?!!d.capture:!!d;c=R(c);if(L(a))return a.ha(b,c,d,e);if(!a)return!1;if(a=S(a))if(b=a.H(b,c,d,e))return T(b);return!1}
-function T(a){if("number"===typeof a||!a||a.K)return!1;var b=a.src;if(L(b))return b.za(a);var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Ka(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ha--;(c=S(b))?(c.xa(a),0==c.L&&(c.src=null,b[O]=null)):a.X();return!0}function Ka(a){return a in Ga?Ga[a]:Ga[a]="on"+a}function La(a,b){if(a.K)a=!0;else{b=new K(b,this);var c=a.listener,d=a.T||a.src;a.N&&T(a);a=c.call(d,b)}return a}
-function S(a){a=a[O];return a instanceof M?a:null}var Na="__closure_events_fn_"+(1E9*Math.random()>>>0);function R(a){if("function"===typeof a)return a;a[Na]||(a[Na]=function(b){return a.handleEvent(b)});return a[Na]};function U(a){I.call(this);this.u=a;this.v={}}r(U,I);var Oa=[];g=U.prototype;g.j=function(a,b,c,d){return this.Ka(a,b,c,d)};g.Ka=function(a,b,c,d,e){Array.isArray(b)||(b&&(Oa[0]=b.toString()),b=Oa);for(var f=0;f<b.length;f++){var h=P(a,b[f],c||this.handleEvent,d||!1,e||this.u||this);if(!h)break;this.v[h.key]=h}return this};g.ra=function(a,b,c,d){return this.sa(a,b,c,d)};
-g.sa=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.sa(a,b[f],c,d,e);else{a=Q(a,b,c||this.handleEvent,d,e||this.u||this);if(!a)return this;this.v[a.key]=a}return this};g.ha=function(a,b,c,d,e){if(Array.isArray(b))for(var f=0;f<b.length;f++)this.ha(a,b[f],c,d,e);else c=c||this.handleEvent,d=p(d)?!!d.capture:!!d,e=e||this.u||this,c=R(c),d=!!d,b=L(a)?a.H(b,c,d,e):a?(a=S(a))?a.H(b,c,d,e):null:null,b&&(T(b),delete this.v[b.key]);return this};
-g.fa=function(){qa(this.v,function(a,b){this.v.hasOwnProperty(b)&&T(a)},this);this.v={}};g.m=function(){U.B.m.call(this);this.fa()};g.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};function Pa(a,b,c,d,e,f,h){this.u=h;this.ia=this.M=null;this.A=1;this.Ja=c;this.l=a?new H(G(a)):t||(t=new H);this.ja=new U(this);a=this.l;d=a.g("DIV",{className:"switcherOuter",style:"left:"+c+"px;top:"+d+"px;width:"+e+";height:"+f+";"});a.appendChild(b,d);this.ba=d;b=d.offsetWidth-13-2;this.P=a.g("DIV",{className:"switcherContent",style:"left:"+c+"px;top:0;width:"+(b-7-c)+"px;height:80%;"},a.g("TABLE","switcherTable",a.g("TBODY",null,this.aa=a.g("TR"))));d.appendChild(this.P);this.F=a.g("DIV",{className:"switcherArrows",
-style:"left:"+b+"px;top:0;width:13px;height:50%;"},a.g("B",null,">"));d.appendChild(this.F);this.D=a.g("DIV",{className:"switcherArrows",style:"left:"+b+"px;top:"+d.offsetHeight/2+"px;width:13px;height:50%;"},a.g("B",null,"<"));d.appendChild(this.D);this.ja.j(this.D,"mouseover",this.Oa).j(this.F,"mouseover",this.Pa).j(this.D,"mouseout",this.Ma).j(this.F,"mouseout",this.Na).j(this.D,"mousedown",this.wa).j(this.F,"mousedown",this.wa);this.G=0;this.U=null}g=Pa.prototype;
-g.clear=function(a){if(a){a=this.aa.cells.length;for(var b=0;b<a;b++)this.aa.deleteCell(0)}else F(this.ba),this.ba=null};g.Ca=function(a){var b=this.aa.cells.length,c=this.aa;c.insertCell(b);var d=c.cells[b];F(d);d.appendChild(this.l.createTextNode(a.name));d.item=a;d=c.cells[b];d.className="switcherItem";a.initialSheet&&this.C(a,d,!1);this.ja.j(d,"click",q(this.C,this,a,d,!0));return d};g.Aa=function(a,b){null==this.M&&this.C(a,b,!1)};
-g.C=function(a,b,c){a!=this.M&&(null!=this.M&&(this.ia.className="switcherItem"),this.M=a,this.ia=b,b.className="switcherItemActive",b=this.u,null!=b&&b(a,c))};g.Ra=function(){var a=this.ba.offsetWidth-13-2;this.P.style.width=a-7-this.Ja+"px";this.F.style.left=a+"px";this.D.style.left=a+"px"};g.ya=function(){this.P.scrollLeft+=1*this.A*this.G};g.Oa=function(){this.A=1;this.G=-1;this.U=window.setInterval(q(this.ya,this),10)};
-g.Pa=function(){this.G=this.A=1;this.U=window.setInterval(q(this.ya,this),10)};g.Ma=function(){window.clearInterval(this.U);this.G=0};g.Na=function(){window.clearInterval(this.U);this.G=0};g.wa=function(){4>this.A?this.A++:this.A=1};g.cleanup=function(){this.u=null};function V(){I.call(this);this.i=new M(this);this.Ba=this;this.da=null}r(V,I);V.prototype[Da]=!0;g=V.prototype;g.addEventListener=function(a,b,c,d){P(this,a,b,c,d)};g.removeEventListener=function(a,b,c,d){Ma(this,a,b,c,d)};
-g.dispatchEvent=function(a){var b=this.da;if(b){var c=[];for(var d=1;b;b=b.da)c.push(b),++d}b=this.Ba;d=a.type||a;if("string"===typeof a)a=new J(a,b);else if(a instanceof J)a.target=a.target||b;else{var e=a;a=new J(d,b);ta(a,e)}e=!0;if(c)for(var f=c.length-1;!a.J&&0<=f;f--){var h=a.currentTarget=c[f];e=h.S(d,!0,a)&&e}a.J||(h=a.currentTarget=b,e=h.S(d,!0,a)&&e,a.J||(e=h.S(d,!1,a)&&e));if(c)for(f=0;!a.J&&f<c.length;f++)h=a.currentTarget=c[f],e=h.S(d,!1,a)&&e;return e};
-g.m=function(){V.B.m.call(this);this.Qa();this.da=null};g.j=function(a,b,c,d){return this.i.add(String(a),b,!1,c,d)};g.ra=function(a,b,c,d){return this.i.add(String(a),b,!0,c,d)};g.ha=function(a,b,c,d){return this.i.remove(String(a),b,c,d)};g.za=function(a){return this.i.xa(a)};g.Qa=function(a){return this.i?this.i.fa(a):0};
-g.S=function(a,b,c){a=this.i.h[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,e=0;e<a.length;++e){var f=a[e];if(f&&!f.K&&f.capture==b){var h=f.listener,k=f.T||f.src;f.N&&this.za(f);d=!1!==h.call(k,c)&&d}}return d&&!c.defaultPrevented};g.H=function(a,b,c,d){return this.i.H(String(a),b,c,d)};g.hasListener=function(a,b){return this.i.hasListener(void 0!==a?String(a):void 0,b)};function W(a,b){V.call(this);this.I=a;this.na=!!b;this.qa=this.pa();this.qa||(this.Z=P(this.I,"load",this.ma,!1,this),this.ca=window.setInterval(q(this.ma,this),100))}r(W,V);g=W.prototype;g.Z=null;g.va=function(){this.ca&&(window.clearInterval(this.ca),this.ca=null)};g.m=function(){delete this.I;this.va();T(this.Z);W.B.m.call(this)};g.pa=function(){var a=!1;try{if(this.na||!y||pa("11")){var b=Aa(this.I).body;a=this.na?!!b&&!!b.firstChild:!!b}else a="complete"==this.I.readyState}catch(c){}return a};
-g.ma=function(){this.pa()&&(this.va(),T(this.Z),this.Z=null,this.qa=!0,this.dispatchEvent("ifload"))};function Qa(a,b,c,d,e,f,h,k){this.l=a?new H(G(a)):t||(t=new H);this.Ia=k;this.W=this.V=null;var l=this.l;f=l.g("TABLE",{style:"position:relative;left:"+c+"px;top:"+d+"px;width:"+e+";height:"+f+";",cellpadding:0,cellspacing:0},c=l.g("TBODY",null,l.g("TR",null,l.g("TD",null,e=l.g("DIV",{style:"left:0px;top:0px;width:100%;height:100%;overflow:auto"}))),l.g("TR",null,d=l.g("TD",{style:"height:26px;background-color:#eee"}))));l.appendChild(b,f);this.R=e;this.ga=a=new Pa(a,d,0,0,"100%","100%",q(this.La,
-this));k&&(k=l.g("DIV","element-link","\u00a0"),l.appendChild(c,l.g("TR",null,l.g("TD","element-link-container",k))),P(k,"click",function(){var m="http://www.google.com/webelements/";m instanceof E||(m="object"==typeof m&&m.oa?m.ka():String(m),va.test(m)||(m="about:invalid#zClosurez"),m=new E(m,ua));n.open(m instanceof E&&m.constructor===E?m.ea:"type_error:SafeUrl","")}));if(h.length){l=null;for(k=0;k<h.length;k++)b=a.Ca(h[k]),0==k&&(l=b);a.Aa(h[0],l)}P(this.l.la(),"message",q(this.Ga,this))}g=Qa.prototype;
-g.La=function(a,b){a=q(this.C,this,a,b);if("function"!==typeof a)if(a&&"function"==typeof a.handleEvent)a=q(a.handleEvent,a);else throw Error("Invalid listener argument");2147483647<Number(20)||n.setTimeout(a,20)};
-g.C=function(a,b){var c=a.pageUrl,d=this.R;F(d);this.W=null;var e=this.l;c=e.g("IFRAME",{id:"pageswitcher-content",style:"display: block; width: 100%; height:100%;",frameBorder:"0",marginHeight:"0",marginWidth:"0",src:c});var f=new W(c,!0);Q(f,"ifload",q(this.Ea,this));e.appendChild(d,c);b&&void 0!==a.gid&&(window.location.hash="#gid="+a.gid)};g.Ea=function(a){a=a.target;this.W=a.I;a.Da();this.V&&this.ta()};
-g.Ga=function(a){a=a.s;var b=a.origin,c=b.length-11;0<=c&&b.indexOf(".google.com",c)==c&&"SendKeyboardEvents"==a.data&&(this.V=a.origin,this.ua(this.l.o),this.ta())};g.ta=function(){this.W&&this.ua(Aa(this.W))};g.ua=function(a){P(a,["keydown","keyup","keypress"],q(this.Fa,this))};g.Fa=function(a){if(this.V){var b=this.l.la().parent;b&&b.postMessage&&b.postMessage(JSON.stringify({type:a.type,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,keyCode:a.keyCode}),this.V)}};
-g.resize=function(a,b){var c=this.R.style;c.width=a+"px";c.height=b-26-(this.Ia?24:0)+"px";this.ga.Ra()};g.cleanup=function(){this.ga.cleanup();this.ga=null;F(this.R);this.R=null};function Ra(a,b,c,d,e,f,h,k,l){return new Qa(b,c,d,e,f,h,k,l)}var X=["_getWGTPageSwitcher"],Y=n;X[0]in Y||"undefined"==typeof Y.execScript||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||void 0===Ra?Y=Y[Z]&&Y[Z]!==Object.prototype[Z]?Y[Z]:Y[Z]={}:Y[Z]=Ra;