/* Copyright 2008 Google. */ (function() { var aa=' /> <label for="showBorderTitle">Include title:</label> <input jotId="borderTitle" size="40" value="',ba=' /> Include title: <input jotId="borderTitle" size="40" value="',ca=' />Include border around Google presentation<br/></p><p><input jotId="showBorderTitle" type="checkbox" ',ea=' />Include title: <input jotId="borderTitle" size="40" value="',fa=' />Include title:<input jotId="borderTitle" size="40" value="',ha=' />Restart slideshow after the last slide<br/></p><p><strong>Size:</strong> <select><option jotId="sizeSmall" ',
ia=' />Start slideshow as soon as the player loads<br/></p><p><input jotId="loop" type="checkbox" ',ja=' <span class="sites-gviz-datasource-help-icon goog-inline-block" title="',ka=" and communicationType=",la=" and hash=",na=" goog-inline-block",oa=" picker-navpaneitem-not-clickable",pa='" /> pixels (leave empty for 100% width)</p>',qa='" /> pixels</p><p><strong>Width:</strong>&nbsp;&nbsp;<input jotId="width" size="3" value="',ra='" /></p>',sa='" /></p></div>',ta='" /></p><p><input jotId="autoStart" type="checkbox" ',
ua='" /></p><p><strong>Height:</strong> <input jotId="height" size="3" value="',va='" data-tooltip-unhoverable="true"',wa='" is not registered',xa='" target="_blank"><span jotId="objectTitle">',ya='" value="',za='" with value "',Aa='">',Ba='"></span>',Ca="&#160;",Da="&&&START&&&",Ea="&nbsp;",Fa="' of type ",Ga=")([^>]*)( src| ",Ha="+BLOCKQUOTE",Ia="+backColor",Ja="+bold",Ka="+code_block",La="+defaultTag",Ma="+emoticon",Na="+fontName",Oa="+fontSize",Pa="+foreColor",Qa="+formatBlock",Ra="+indent",Sa=
"+insertColumnAfter",Ta="+insertColumnBefore",Ua="+insertHorizontalRule",Va="+insertOrderedList",Wa="+insertRowAfter",Xa="+insertRowBefore",Ya="+insertUnorderedList",Za="+italic",$a="+justifyCenter",ab="+justifyFull",bb="+justifyLeft",cb="+justifyRight",db="+link",eb="+outdent",fb="+redo",gb="+removeColumns",hb="+removeFormat",ib="+removeTable",jb="+splitBlockquote",kb="+strikeThrough",lb="+subscript",mb="+superscript",nb="+table",ob="+underline",pb="+undo",qb="-10000px",rb="-1000px",sb="-caption",
tb="-content",ub="-default",vb="-dialog-radio",wb="-disabled",xb="-dropdown",yb="-inner-box",zb="-menu-selected",Ab="-nextMonth",Bb="-none-btn",Cb="-outer-box",Db="-previousMonth",Eb="-today-btn",Fb="//ssl.gstatic.com/docs/picker/images/search-black.png",Gb="/picker",Hb="/resources/rpc_relay.html",Ib="/system/",Jb="/system/app/images/spinner.gif",Kb="/system/components/editor/static_files/",Lb="1.4.2",Mb="1.5.0",Nb="1.7.0",Ob="100%",Pb="<!DOCTYPE HTML>",Qb="</div>",Rb="</h3></th></tr>",Sb="</span>",
Tb='</span></a><div id="goog-edit-insert-presentation"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" ',Ub="</strong></td>",Vb="</td></tr></table>",Wb='<div class="apps-shortcutshelppopup-pref-component"></div>',Xb='<div id="',Yb='<input type="radio" id="',$b='<option id="maxDepth-opt-',ac='<p><div class="sites-clear goog-link-box command-sites-insert-presently-label"><span class="goog-toolbar-menu-item-icon" style="display:block;width:16px;height:15px;margin-left:5px;"></span><a jotId="objectUrlField" class="sites-embed-url" href="',
bc='<span aria-label="',cc='<span id="',dc=">Large (700px)</option></select></p>",ec='>Medium (555px)</option><option jotId="sizeLarge" ',fc='>Small (410px)</option><option jotId="sizeMed" ',gc="Actions",hc="Add a gadget to your page",ic="Add or remove link",jc="Align center",kc="Align left",lc="Align right",mc="An error occurred while updating: ",nc="An image type (.jpg, .jpeg, .gif, .png) is required.",oc="Apps Script Gadget",pc="Are you sure you want to discard your unsaved changes?",qc="BLOCKQUOTE",
rc="BODY",sc="BR",tc="BUTTON",vc="BackgroundImageCache",wc="Bad server config: ",xc="Blockquote",yc="CSS1Compat",zc="Can't combine significant digits and minimum fraction digits",Ac="Cancel",Bc='Cannot override "',Cc="Component already rendered",Dc="Components should not be created yet.",Ec="Confirm",Fc="Could not set focus",Gc="Ctrl+Shift+e",Hc="Ctrl+Shift+l",Ic="Ctrl+Shift+r",d="DIV",Jc="DOMAttrModified",Kc="Data spy excepton",Lc="Decrease indent",Mc="Deferred has already been called",Nc="DeleteAutoSaveNodes",
Oc="Dogfood Confidential",Pc="ERROR trying to fix copy",Qc="EVERYTHING",Rc="Edge",Sc="Edit HTML source",Tc="Embedded in IFRAME",Uc="EndToEnd",Vc="Event listener threw exception.",Wc="EventTarget.dispatchDataNodeEvent",Yc="EventTarget.dispatchPropertyEvent",Zc="Expected block type.",$c="Failed to draw image",ad="FormatBlock",bd="GMT+01:00 Svalbard and Jan Mayen Time",cd="GetEmbeddingUrl",dd="Google Calendar",ed="Google Docs Video",fd="Google Document",gd="Google Drawing",hd="Google Presentation",id=
"Google Spreadsheet",jd="Google Spreadsheet Form",kd="HEAD",ld="HTML_FORM",md="Horizontal Line",nd="HtmlUpdateCheck",od="IFRAME",pd="IMG",qd="INHERIT",rd="INPUT",sd="Image",ud="Inconsistent use of percent/permill characters",vd="Increase indent",wd="Initiating module load: ",xd="Insert column on the left",yd="Insert column on the right",zd="Invalid file type selected.",Ad="Invalid response from server.",Bd="Learn more",Cd="Left-to-right",Dd="MSXML2.DOMDocument",Ed="Must be lower case",Fd="Normal",
Gd="Not available",Hd="OPTION",Id="Opera",Jd="Or, if you prefer...",Kd="POST",Ld="Paragraph formatting",Md="Popular keyboard shortcuts",Nd="Progress Started",Od="Remove",Pd="Remove formatting",Qd="Right-to-left",Rd="SCRIPT",Sd="SELECT",Td="SPAN",Ud="STYLE",Vd="Search all shortcuts",Wd="Set up your gadget",Xd="Silverlight",Yd="Soy template may not be null.",Zd="StartToEnd",$d="StartToStart",ae="Storage mechanism: Invalid value was encountered",be="Storage mechanism: Quota exceeded",ce="Storage: Invalid value was encountered",
de="TABLE",ee="TBODY",fe="TD",ge="TEXTAREA",he="THIS_PAGE",ie="Text Box",je="Text background color",ke="Text formatting",le="The DOM element for the container cannot be null.",me="The element passed as a first parameter cannot be null.",ne="The label input element cannot be null.",oe="The menu button DOM element cannot be null.",pe="The progress bar DOM element cannot be null.",qe="This folder is read-only",re="This is not a folder",se="Too many percent/permill",te="Unable to insert object due to invalid url.",
ue="Unable to load Apps Scripts: ",ve="Unable to save: page content too large.",we="Unable to set parent component",xe="Unable to upload file (",ye="Undefined parameter - ",ze="Uneven number of arguments",Ae="Upload server error, please try again later.",Be="User initiated module already loading: ",Ce="User initiated module load: ",De="[goog.net.IframeIo] Unable to send, already active.",Ee="_blank",Fe="_protocol_://video.google.com/a/ife/_id_",Ge="_start_edit",He="_start_save",Ie="abort",Je="about:blank",
Ke="absolute",Le="action",Me="action_completed",Ne="active",Oe="activedescendant",Pe="afterhide",Qe="ajax.googleapis.com",Re="album",Se="all",Te="allPersonalCircles",Ue="allfilesadded",Ve="allowedItemTypes",We="appletfailedtoinitialize",Xe="appletfailedtoload",Ye="appletinsertedindom",Ze="application/octet-stream",$e="application/pdf",af="application/vnd.google-apps.document",bf="application/vnd.google-apps.folder",cf="application/vnd.google-apps.form",df="application/vnd.google-apps.freebird",ef=
"application/vnd.google-apps.kix",ff="application/vnd.google-apps.presentation",gf="application/vnd.google-apps.presentation,application/vnd.google-apps.punch",hf="application/vnd.google-apps.punch",jf="application/vnd.google-apps.ritz",kf="application/vnd.google-apps.rollupphotoalbum",lf="application/vnd.google-apps.spreadsheet",mf="application/x-shockwave-flash",nf="apps-shortcutshelppopup-empty-search",of="apps-shortcutshelppopup-input-button",pf="apps-shortcutshelppopup-reset-search-button",qf=
"apps-shortcutshelppopup-search-label",rf="aria-label",sf='aria-label="',tf="array",uf="assertive",vf="atomic",wf="audience",xf="authuser",yf="auto",zf="autocomplete",Af="back-to-template-listing",Bf="background-color",Cf="background-image",Df="backgroundColor",Ef="backgroundPosition",Ff="backoff",Gf="beforechange",Hf="beforefocus",Jf="beforehide",Kf="beforeselectionchange",Lf="beforeshow",Mf="black",Nf="block",Of="blog-templates",Pf="blogger",Qf="blur",Rf="book-search",Sf="borderTitle",Tf="bottom",
Uf="brokeLockAndSaved",Vf="button",Wf="calendar",Xf="calendars",Yf="camerasync",Zf="cancel",$f="category",ag="center",bg="change",cg="changeDrivePermissions",dg="character",eg="chartIndex",fg="chartSpec",gg="chartSpecs",hg="checkbox",ig="checked",l='checked="true"',jg="checked=true",kg="circle",lg="circles",mg="clearlorem",ng="click",og="close",pg="collapse",qg="color:red",rg="combobox",sg="command-",vg="complete",wg="configure",xg="contacts",yg="containingCosmoId",zg="contentId",Ag="contextmenu",
Bg="create-event",Cg="crop",Dg="cssFloat",Eg="cultural",Fg="data-tooltip",Gg="data-tooltip-contained",Hg="dblclick",Ig="deactivate",Jg="default",Kg="delayedchange",Lg="describedby",Mg="description",Ng="dialog",Og="dialogCancelembedding",Pg="dialogselect",Qg="dir",Rg="direction",Sg="disabled",Tg="display",Ug="displayColumns",n="div",Vg="docTypesDropDown",Wg="docs",Xg="docs-images",Yg="docs-images-and-videos",Zg="docs-videos",$g="document",ah="documents",bh="domainPublic",ch="downloadUrl",dh="drawings",
eh="drive-select",fh="drivepreopen",gh="earlycancel",hh="editHtml",ih="editable",jh="editorSetProps",kh="email",lh="embedUrl",mh="enableInlineTableEditing",nh="enableObjectResizing",oh="enableSizeEstimation",ph="enableWhiteCallout",qh="enabled",rh="end",sh="error",th="error_querying",uh="events",vh="exceeds_content_limit",wh="exception",xh="expand",yh="expanded",zh="extendedCircles",Ah="false",Bh="fancywindow.sel.",Ch="fava.base.Scheduler",Dh="fava.gloader.GoogleLoaderService",Eh="featured",Fh="file",
Gh="filedownsamplingcompleted",Hh="filedownsamplingstarted",Ih="filesscanfinished",Jh="filesscanstarted",Kh="filesselected",Lh="fixDocCopyError",Mh="fixed",Nh="focus",Oh="focusin",Ph="focusout",Qh="folders",Rh='font-family: "',Sh="fonts",Th="force-ctrl-key",Uh="forms",Vh="formsEnabled",Wh="freebird",Xh="full",Yh="function",Zh="g_editable",$h="gadget_border_title",ai="gadget_scrolling",bi="gadget_show_title",ci="gadget_width_units",di="gadgets",ei="gapi.iframes.getContext",fi="gapi.iframes.makeWhiteListIframesFilter",
gi="gapi.iframes:gapi.iframes.style.common",hi="getty",ii="ggs-gadget",ji="gmail",ki="gmailDelegatorId",li="goog-button",mi="goog-color-menu-button",ni="goog-control",oi="goog-custom-button",pi="goog-dimension-picker",ri="goog-edit-insert-map-change",si="goog-edit-insert-presentation",ti="goog-flat-button",ui="goog-flat-menu-button",vi="goog-inline-block",wi="goog-inline-block ",xi="goog-link-button",yi="goog-menu",zi="goog-menu-button",Ai="goog-menu-noaccel",Bi="goog-menuheader",Ci="goog-menuitem-accel",
Di="goog-menuitem-withicon",Ei="goog-menuseparator",Fi="goog-option",Gi="goog-option-selected",Hi="goog-selectionmenubutton-checkbox",Ii="goog-submenu",Ji="goog-submenu-arrow",Ki="goog-submenu-arrow-rtl",Li="goog-tabpane-tab",Mi="goog-tabpane-tabs",Ni="goog-toolbar-button",Oi="goog-toolbar-color-menu-button",Pi="goog-toolbar-menu-button",Qi="goog-toolbar-select",Ri="goog-toolbar-separator",Si="goog-tree-collapsed-folder-icon",Ti="goog-tree-expanded-folder-icon",Ui="goog-ws-editing-toolbar",Vi="goog-zippy-expanded",
Wi="grid",Xi="gridcell",Yi="groups",Zi="groups-discussion-forum",$i="gviz-chart",aj="hangout-button",bj="hangout-button-phone",cj="haspopup",dj="height",ej="hidden",fj="hide",gj="highlight",hj="highlights",ij="horizontal",jj="hostId",kj="http",lj="http://",mj="https",nj="https:",oj="https://about:blank",pj="https://apis.google.com/js/platform.js",qj="https://www.google.com/support/sites/bin/answer.py?answer=1680639",rj="id",sj="ids",tj="iframe",uj="iframes",vj="image",wj="image-search",xj="image/jpeg",
yj="img",zj="imgcolor",Aj="imgtype",Bj="includeFolders",Dj="inline",Ej="input",Fj="inqueue",Gj="insertModule",Hj="ioerror",Ij="isLocalProfilePhoto",Jj="isShared",Kj="itemIndex",Lj="jfk-activityIndicator-circle",Mj="jfk-activityIndicator-mask",Nj="jfk-butterBar-shown",Oj="jfk-button",Pj="jfk-button-primary",Qj="jfk-button-standard",Rj="jfk-checkbox-checkmark",Sj="jfk-tooltip",Tj="jfk-tooltip-hide",Uj="jot-toolbar-live",Vj="kansasVersionInfo",Wj="key",Xj="keydown",Yj="keypress",Zj="keyup",ak="label",
bk="labelledby",ck="large",dk="lastEditedUtc",ek="lastModifiedByMeUtc",fk="lastViewedByMeUtc",gk="latitude",hk="launchEditDialog",ik="launchEmbedDialog",jk="left",kk="left-sidebar-hf",lk="license",mk="link",nk="list",ok="listbox",pk="live",qk="load",rk="loaded",sk="localalbum",tk="longitude",uk="ltr",vk="lv",wk="maestro",xk="main/title",yk="maps",zk="maps-pro",Ak="markedForRemoval",Bk="mediaKey",Ck="mediacollection",Dk="mediacollections",Ek="medium",Fk="menuitemcheckbox",Gk="mimeType",Hk="mimeTypes",
Ik="minimal",Jk="mode",Kk="mousedown",Lk="mousemove",Mk="mouseout",Nk="mouseover",Ok="mouseup",Pk="mousewheel",Qk="move_offscreen",Rk="multipart/form-data",Sk="multiselectEnabled",Tk="must provide justification",Uk="must provide non-empty justification",Vk="native",Wk="navHidden",Xk="networkerror",Yk="none",Zk="none transparent",$k="null",al="numChildren",bl="number",cl="object",dl="ok",el="onCompleteData",fl="onPreviewReady",gl="onSecurityError",hl="opacity 1s linear",il="openEmbedBubble",jl="openLinkBubble",
kl="opp",ll="oppe",ml="oppu",nl="opt_onFulfilled should be a function.",ol="opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?",pl="option",ql="options",rl="organizeIntoTeamDrive",sl="origsrc",tl="other",xl="overflow-y",yl="overflow:hidden",zl="overflow:hidden;width:",Al="overlayElement must be defined",Bl="ownedByMe",Cl="ownerOnly",Dl="owns",El="padding-",Fl="panelSelect",Gl="parent",Hl="partial-error",Il="pdfs",Jl="people",Kl="photo",Ll="photo-albums",
Ml="photo-caption",Nl="photo-curation",Ol="photo-tagging",Pl="photo-upload",Ql="photos",Rl="picasa",Sl="picked",Tl="picker",Ul="picker modal-dialog",Vl="picker-actionpane-float-item",Wl="picker-actionpane-notice-error",Xl="picker-actionpane-notice-warning",Yl="picker-attributionbar-line",Zl="picker-dropdown-menu",$l="picker-header-text",am="picker-horizontal-navpane-more-selected",bm="picker-list-control-tablerow",cm="picker-min-bottom",dm="picker-min-top",em="picker-minew",fm="picker-navpane",gm=
"picker-pplnavpane-more goog-inline-block",hm="picker-pplnavpane-text",im="picker-promo-text",jm="picker-searchbar-input-logo",km="picker-searchbarimagefilter-colorbox",lm="picker-searchbarimagefilter-colorbox-inner",mm="picker-select-control-enabled",nm="picker-spr-arrow-dk-grey-down",om="picker-spr-circle",pm="picker-spr-circle-active",qm="picker-spr-circle-hover",rm="picker-sspr-close-tab",sm="picker-url-input-box-selected",tm="picker-urlview-error-icon goog-inline-block",um="picker-urlview-loading-icon goog-inline-block",
vm="picker-white-callout",wm="picker.api.DocsView",xm="picker.api.NativeMinimalPicker",ym="picker.api.NativePicker",zm="picker.api.PhotosView.Type",Am="picker:ap:",Bm="play-edu",Cm="polite",Dm="posinset",Em="position",Fm="presentation",Gm="presentations",Hm="preview",Im="profile",Jm="profilePhoto",Km="progress",Lm="progress-bar-thumb",Mm="props",Nm="protocol",Om="public",Pm="punch",q="px",Qm="px;height:",Rm="query",Sm="ready",Tm="readystatechange",Um="received",Vm="recently-picked",Wm="recovery",
Xm="refresh",Ym="relative",Zm="reset",$m="resize",an="right",bn="right-sidebar-hf",cn="role",dn="rollupAlbum",en="root",fn="rtl",gn="script",hn="scripts",jn="scroll",kn="scrolling",ln="sdv",mn="search",nn="search-api",on="securityerror",pn="select",qn="select-multiple",rn="selectButtonLabel",sn="selected",tn='selected="true"',un="selectionchange",vn="semicolon",wn="separator",xn="serverinvalidresponse",yn="serverrejected",zn="service",An="set-drive-options",Bn="set-max-items",Cn="set-max-size-bytes",
Dn="set-title",En="set-upload-album-id",Fn="set-view",Gn="set-view-options",Hn="setDescriptorObj",In="setGadgetConfigState",Jn="setTempIdToRetrieveImage",Kn="shadeDialog",Ln="sharedWithMe",Pn="sheetUrl",Qn="shortcut",Rn="should not reach default case",Sn="show",Tn="siets-debug-log-output",Un="simpleUploadEnabled",Vn="site",Wn="sites",Xn="sites-attachments-update-div",Yn="sites-canvas-main-content",Zn="sites-collaborator-bar",$n="sites-command-icon sites-command-menu-icon",ao="sites-edit-in-progress",
bo="sites-editable-content",co="sites-editor-bubble-align-center-icon",eo="sites-editor-bubble-align-left-icon",fo="sites-editor-bubble-align-right-icon",go="sites-gviz-build-chart",ho="sites-gviz-chart-border-selected",io="sites-layout-tile",jo="sites-menubutton-help",ko="sites-page-title-header",lo="sites.gvizloader.handleGvizLoaded_",mo="sites_100%_link",no="sites_center_align_tooltip_id",oo="sites_left_align_tooltip_id",po="sites_right_align_tooltip_id",qo="small",ro="sortKey",so="sortOrder",
to="sourceTeamDriveId",uo="sourceTeamDriveName",vo="span",wo="spreadsheet",xo="spreadsheet-form",yo="spreadsheetName",zo="spreadsheets",Ao="standard",Bo="starred",Co="start",Do="startsuccess",Eo="stats",Fo="status",Go="stemCellClicked",Ho="string",Io="strong",Jo="style",Ko="styleWithCSS",Lo="succeeded",Mo="success",No="suggestionsupdate",Oo="sys/layout",Po="tabindex",Qo="table",Ro="tables",So="target",To="tbody",Uo="td",Vo="teamDriveId",Wo="teamDrivesFolder",Xo="text",Yo="text-transform",Zo="text/javascript",
$o="textarea",ap="thumbnails",bp="tick",cp="title",dp="tmpTxtId",ep="to_config_id",fp="to_directory_id",gp="to_preview_id",hp="toggle",ip="toggle_display",jp="top",kp="touchend",lp="touchstart",mp="tr-rtl-mode",np="tr_bubble_tabbable",op="tr_image-dialog-external-image-input",pp="tr_image-dialog-external-image-preview",qp="tr_image-dialog-external-image-tab",rp="tr_image-dialog-image-list-nav-next",sp="tr_image-dialog-image-list-nav-prev",tp="tr_image-dialog-your-images-tab",up="tr_image-dialog-your-images-tab-content",
vp="tr_imagedialog-image-list-div",wp="tr_imagedialog-nav-item",xp="tr_imagedialog-navigation-area",yp="tr_imagedialog-navigation-links-shown",zp="tr_large_link",Ap="tr_medium_link",Bp="tr_multi_bubble",Cp="tr_original_link",Dp="tr_sizes-div",Ep="tr_small_link",Fp="tr_test-link-span",Gp="transfer",Hp="transparent",r="true",Ip="type",Jp="unhighlight",Kp="unknownerror",Lp="unload",Mp="unselectable",Np="updateLinkBubble",Op="updateUserPrefs",Pp="updatelorem",Qp="upload",Rp="upload-status-progress-",
Sp="upload-status-text-",Tp="uploadProgress",Up="uploadScheduled",Vp="uploadStateChange",Wp="uploaded",Xp="uploader-overlay-visible",Yp="uploaderinstalling",Zp="uploaderready",$p="uploaderuninstalling",aq="uploaderwithoutpermission",bq="uploadprogress",cq="uploadstatechanged",dq="url",eq="urlInputVisible",fq="use buildMinimal to build minimal picker",gq="username",hq="usinglorem",iq="value",jq="valuenow",kq="version",lq="vertical",mq="video",nq="video-albums",oq="video-search",pq="videos",qq="videos-camerasync",
rq="videos-uploaded",sq="viewChanged",tq="viewContentRendered",uq="viewToken",vq="viewUpdated",wq="visibility",xq="visibility:hidden",yq="visibilityFilter",zq="visible",Aq="web",Bq="webcam",Cq="webkitvisibilitychange",Dq="white",Eq="width",Fq="width:100%;height:100%",Gq="www.facebook.com",Hq="www.metacafe.com",Iq="www.youtube.com",Jq="youtu.be",Kq="youtube",Lq="youtube-banner-preview",Mq="youtube.com",t;var Nq=Nq||{},v=this,w=function(a){return void 0!==a},x=function(a,b,c){a=a.split(".");c=c||v;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&w(b)?c[e]=b:c=c[e]?c[e]:c[e]={}},Oq=function(a,b){for(var c=a.split("."),e=b||v,f;f=c.shift();)if(null!=e[f])e=e[f];else return null;return e},Pq=function(){},Qq=function(a){a.S=function(){return a.n7?a.n7:a.n7=new a}},Rq=function(a){var b=typeof a;if(b==cl)if(a){if(a instanceof Array)return tf;if(a instanceof
Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return cl;if("[object Array]"==c||typeof a.length==bl&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return tf;if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return Yh}else return $k;else if(b==Yh&&"undefined"==typeof a.call)return cl;return b},Sq=function(a){return Rq(a)==tf},
Tq=function(a){var b=Rq(a);return b==tf||b==cl&&typeof a.length==bl},z=function(a){return typeof a==Ho},Uq=function(a){return"boolean"==typeof a},Vq=function(a){return typeof a==bl},Wq=function(a){return Rq(a)==Yh},Xq=function(a){var b=typeof a;return b==cl&&null!=a||b==Yh},$q=function(a){return a[Yq]||(a[Yq]=++Zq)},Yq="closure_uid_"+(1E9*Math.random()>>>0),Zq=0,ar=function(a,b,c){return a.call.apply(a.bind,arguments)},br=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,
2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,e);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},A=function(a,b,c){A=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ar:br;return A.apply(null,arguments)},cr=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},B=Date.now||function(){return+new Date},
C=function(a,b){function c(){}c.prototype=b.prototype;a.g=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.BWa=function(a,c,g){for(var h=Array(arguments.length-2),k=2;k<arguments.length;k++)h[k-2]=arguments[k];return b.prototype[c].apply(a,h)}};var dr=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},er=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var fr={},gr=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,gr);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};C(gr,Error);gr.prototype.name="CustomError";var hr;var ir=function(a,b){return 0==a.lastIndexOf(b,0)},jr=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},kr=function(a,b){for(var c=a.split("%s"),e="",f=Array.prototype.slice.call(arguments,1);f.length&&1<c.length;)e+=c.shift()+f.shift();return e+c.join("%s")},lr=function(a){return/^[\s\xa0]*$/.test(a)},mr=function(a){return!/[^\t\n\r ]/.test(a)},nr=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")},or=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,
"")},pr=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},qr=function(a){return a.replace(/^[\s\xa0]+/,"")},rr=function(a){return a.replace(/[\s\xa0]+$/,"")},sr=function(a,b,c){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var e=a.toLowerCase().match(c),f=b.toLowerCase().match(c),g=Math.min(e.length,f.length),h=0;h<g;h++){c=e[h];var k=f[h];if(c!=k)return a=parseInt(c,10),!isNaN(a)&&(b=parseInt(k,10),!isNaN(b)&&a-b)?a-b:c<k?-1:1}return e.length!=
f.length?e.length-f.length:a<b?-1:1},tr=function(a){return decodeURIComponent(a.replace(/\+/g," "))},ur=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},Cr=function(a,b){if(b)a=a.replace(vr,"&amp;").replace(wr,"&lt;").replace(xr,"&gt;").replace(yr,"&quot;").replace(zr,"&#39;").replace(Ar,"&#0;");else{if(!Br.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(vr,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(wr,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(xr,"&gt;"));-1!=a.indexOf('"')&&(a=
a.replace(yr,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(zr,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ar,"&#0;"))}return a},vr=/&/g,wr=/</g,xr=/>/g,yr=/"/g,zr=/'/g,Ar=/\x00/g,Br=/[\x00&<>"']/,Gr=function(a){return Dr(a,"&")?$g in v?Er(a):Fr(a):a},Er=function(a,b){var c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},e;e=b?b.createElement(n):v.document.createElement(n);return a.replace(Hr,function(a,b){var h=c[a];if(h)return h;if("#"==b.charAt(0)){var k=Number("0"+b.substr(1));isNaN(k)||(h=String.fromCharCode(k))}h||
(e.innerHTML=a+" ",h=e.firstChild.nodeValue.slice(0,-1));return c[a]=h})},Fr=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if("#"==c.charAt(0)){var e=Number("0"+c.substr(1));if(!isNaN(e))return String.fromCharCode(e)}return a}})},Hr=/&([^;\s<&]+);?/g,Ir=function(a,b,c,e){c&&(a=Gr(a));e&&a.length>b?(e>b&&(e=b),a=a.substring(0,b-e)+"..."+a.substring(a.length-e)):a.length>b&&(e=Math.floor(b/
2),a=a.substring(0,e+b%2)+"..."+a.substring(a.length-e));c&&(a=Cr(a));return a},Dr=function(a,b){return-1!=a.indexOf(b)},Jr=function(a,b,c){var e=a;0<=b&&b<a.length&&0<c&&(e=a.substr(0,b)+a.substr(b+c,a.length-b-c));return e},Lr=function(a,b){var c=new RegExp(Kr(b),"");return a.replace(c,"")},Kr=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Mr=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},
Nr=function(a,b,c){a=w(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Mr("0",Math.max(0,b-c))+a},Or=function(a){return null==a?"":String(a)},Pr=function(a){return Array.prototype.join.call(arguments,"")},Qr=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^B()).toString(36)},Sr=function(a,b){for(var c=0,e=pr(String(a)).split("."),f=pr(String(b)).split("."),g=Math.max(e.length,f.length),h=0;0==c&&h<g;h++){var k=
e[h]||"",m=f[h]||"",p=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var y=p.exec(k)||["","",""],P=u.exec(m)||["","",""];if(0==y[0].length&&0==P[0].length)break;c=Rr(0==y[1].length?0:parseInt(y[1],10),0==P[1].length?0:parseInt(P[1],10))||Rr(0==y[2].length,0==P[2].length)||Rr(y[2],P[2])}while(0==c)}return c},Rr=function(a,b){return a<b?-1:a>b?1:0},Tr=2147483648*Math.random()|0,Ur=function(){return"goog_"+Tr++},Vr=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},
Wr=function(a,b){var c=z(b)?Kr(b):"\\s";return a.replace(new RegExp("(^"+(c?"|["+c+"]+":"")+")([a-z])","g"),function(a,b,c){return b+c.toUpperCase()})};var Xr=function(a,b){b.unshift(a);gr.call(this,kr.apply(null,b));b.shift()};C(Xr,gr);Xr.prototype.name="AssertionError";
var Yr=function(a,b,c,e){var f="Assertion failed";if(c)var f=f+(": "+c),g=e;else a&&(f+=": "+a,g=b);throw new Xr(""+f,g||[]);},D=function(a,b,c){a||Yr("",null,b,Array.prototype.slice.call(arguments,2));return a},Zr=function(a,b){throw new Xr("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},$r=function(a,b,c){Vq(a)||Yr("Expected number but got %s: %s.",[Rq(a),a],b,Array.prototype.slice.call(arguments,2));return a},as=function(a,b,c){z(a)||Yr("Expected string but got %s: %s.",[Rq(a),
a],b,Array.prototype.slice.call(arguments,2));return a},bs=function(a,b,c){Wq(a)||Yr("Expected function but got %s: %s.",[Rq(a),a],b,Array.prototype.slice.call(arguments,2));return a},cs=function(a,b,c){Xq(a)||Yr("Expected object but got %s: %s.",[Rq(a),a],b,Array.prototype.slice.call(arguments,2));return a},ds=function(a,b,c){Sq(a)||Yr("Expected array but got %s: %s.",[Rq(a),a],b,Array.prototype.slice.call(arguments,2));return a},es=function(a,b,c){Xq(a)&&1==a.nodeType||Yr("Expected Element but got %s: %s.",
[Rq(a),a],b,Array.prototype.slice.call(arguments,2));return a},gs=function(a,b,c,e){a instanceof b||Yr("Expected instanceof %s but got %s.",[fs(b),fs(a)],c,Array.prototype.slice.call(arguments,3));return a},fs=function(a){return a instanceof Function?a.displayName||a.name||"unknown type name":a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?$k:typeof a};var hs=function(a,b,c){this.oAa=c;this.Sk=a;this.Vn=b;this.xG=0;this.mc=null};hs.prototype.get=function(){var a;0<this.xG?(this.xG--,a=this.mc,this.mc=a.next,a.next=null):a=this.Sk();return a};hs.prototype.put=function(a){this.Vn(a);this.xG<this.oAa&&(this.xG++,a.next=this.mc,this.mc=a)};var is=function(){this.BJ=this.Pr=null},ls=new hs(function(){return new ks},function(a){a.reset()},100);is.prototype.add=function(a,b){var c=this.qua();c.set(a,b);this.BJ?this.BJ.next=c:(D(!this.Pr),this.Pr=c);this.BJ=c};is.prototype.remove=function(){var a=null;this.Pr&&(a=this.Pr,this.Pr=this.Pr.next,this.Pr||(this.BJ=null),a.next=null);return a};is.prototype.gGa=function(a){ls.put(a)};is.prototype.qua=function(){return ls.get()};var ks=function(){this.next=this.scope=this.gN=null};
ks.prototype.set=function(a,b){this.gN=a;this.scope=b;this.next=null};ks.prototype.reset=function(){this.next=this.scope=this.gN=null};var ms=function(a){return function(){return a}},ns=ms(!1),os=ms(!0),ps=ms(null),qs=function(a){return a},rs=function(a){return function(){throw Error(a);}},ss=function(a,b){b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}};var ts=function(a){return a[a.length-1]},us=Array.prototype.indexOf?function(a,b,c){D(null!=a.length);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(z(a))return z(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},vs=Array.prototype.lastIndexOf?function(a,b,c){D(null!=a.length);return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,
a.length+c));if(z(a))return z(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},E=Array.prototype.forEach?function(a,b,c){D(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=z(a)?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)},ws=function(a,b,c){for(var e=z(a)?a.split(""):a,f=a.length-1;0<=f;--f)f in e&&b.call(c,e[f],f,a)},xs=Array.prototype.filter?function(a,b,c){D(null!=a.length);return Array.prototype.filter.call(a,
b,c)}:function(a,b,c){for(var e=a.length,f=[],g=0,h=z(a)?a.split(""):a,k=0;k<e;k++)if(k in h){var m=h[k];b.call(c,m,k,a)&&(f[g++]=m)}return f},ys=Array.prototype.map?function(a,b,c){D(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=Array(e),g=z(a)?a.split(""):a,h=0;h<e;h++)h in g&&(f[h]=b.call(c,g[h],h,a));return f},zs=Array.prototype.reduce?function(a,b,c,e){D(null!=a.length);e&&(b=A(b,e));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,e){var f=
c;E(a,function(c,h){f=b.call(e,f,c,h,a)});return f},As=Array.prototype.some?function(a,b,c){D(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=z(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},Bs=Array.prototype.every?function(a,b,c){D(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=z(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0},Cs=function(a,
b,c){var e=0;E(a,function(a,g,h){b.call(c,a,g,h)&&++e},c);return e},Es=function(a,b,c){b=Ds(a,b,c);return 0>b?null:z(a)?a.charAt(b):a[b]},Ds=function(a,b,c){for(var e=a.length,f=z(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return g;return-1},Fs=function(a,b,c){for(var e=z(a)?a.split(""):a,f=a.length-1;0<=f;f--)if(f in e&&b.call(c,e[f],f,a))return f;return-1},Gs=function(a,b){return 0<=us(a,b)},Hs=function(a){return 0==a.length},Is=function(a){if(!Sq(a))for(var b=a.length-1;0<=b;b--)delete a[b];
a.length=0},Js=function(a,b){Gs(a,b)||a.push(b)},Ls=function(a,b){var c=us(a,b),e;(e=0<=c)&&Ks(a,c);return e},Ks=function(a,b){D(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},Ms=function(a,b,c){b=Ds(a,b,c);return 0<=b?(Ks(a,b),!0):!1},Ns=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},Os=function(a){var b=a.length;if(0<b){for(var c=Array(b),e=0;e<b;e++)c[e]=a[e];return c}return[]},Ps=function(a,b){for(var c=1;c<arguments.length;c++){var e=arguments[c];
if(Tq(e)){var f=a.length||0,g=e.length||0;a.length=f+g;for(var h=0;h<g;h++)a[f+h]=e[h]}else a.push(e)}},Rs=function(a,b,c,e){D(null!=a.length);return Array.prototype.splice.apply(a,Qs(arguments,1))},Qs=function(a,b,c){D(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Ss=function(a,b,c){b=b||a;var e=function(a){return Xq(a)?"o"+$q(a):(typeof a).charAt(0)+a};c=c||e;for(var e={},f=0,g=0;g<a.length;){var h=a[g++],k=c(h);Object.prototype.hasOwnProperty.call(e,
k)||(e[k]=!0,b[f++]=h)}b.length=f},Us=function(a,b){a.sort(b||Ts)},Vs=function(a,b){for(var c=Array(a.length),e=0;e<a.length;e++)c[e]={index:e,value:a[e]};var f=b||Ts;Us(c,function(a,b){return f(a.value,b.value)||a.index-b.index});for(e=0;e<a.length;e++)a[e]=c[e].value},Ts=function(a,b){return a>b?1:a<b?-1:0};var Ws;a:{var Xs=v.navigator;if(Xs){var Ys=Xs.userAgent;if(Ys){Ws=Ys;break a}}Ws=""}var Zs=function(a){return Dr(Ws,a)},$s=function(a){for(var b=RegExp("(\\w[\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g"),c=[],e;e=b.exec(a);)c.push([e[1],e[2],e[3]||void 0]);return c};var at=function(a,b,c){for(var e in a)b.call(c,a[e],e,a)},bt=function(a,b,c){var e={},f;for(f in a)b.call(c,a[f],f,a)&&(e[f]=a[f]);return e},ct=function(a,b,c){var e={},f;for(f in a)e[f]=b.call(c,a[f],f,a);return e},dt=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return!0;return!1},et=function(a,b,c){for(var e in a)if(!b.call(c,a[e],e,a))return!1;return!0},ft=function(a){var b=0,c;for(c in a)b++;return b},gt=function(a){var b=[],c=0,e;for(e in a)b[c++]=a[e];return b},ht=function(a){var b=
[],c=0,e;for(e in a)b[c++]=e;return b},it=function(a,b){return null!==a&&b in a},jt=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},kt=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return e},lt=function(a){for(var b in a)return!1;return!0},mt=function(a,b){var c;(c=b in a)&&delete a[b];return c},nt=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},ot=function(a){var b={},c;for(c in a)b[c]=a[c];return b},pt=function(a){var b=Rq(a);
if(b==cl||b==tf){if(Wq(a.clone))return a.clone();var b=b==tf?[]:{},c;for(c in a)b[c]=pt(a[c]);return b}return a},qt=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},rt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),st=function(a,b){for(var c,e,f=1;f<arguments.length;f++){e=arguments[f];for(c in e)a[c]=e[c];for(var g=0;g<rt.length;g++)c=rt[g],Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}},tt=function(a){var b=arguments.length;
if(1==b&&Sq(arguments[0]))return tt.apply(null,arguments[0]);if(b%2)throw Error(ze);for(var c={},e=0;e<b;e+=2)c[arguments[e]]=arguments[e+1];return c},ut=function(a){var b=arguments.length;if(1==b&&Sq(arguments[0]))return ut.apply(null,arguments[0]);for(var c={},e=0;e<b;e++)c[arguments[e]]=!0;return c};var vt=function(){return Zs("Trident")||Zs("MSIE")},wt=function(){return(Zs("Chrome")||Zs("CriOS"))&&!Zs(Rc)},yt=function(){function a(a){a=Es(a,e);return c[a]||""}var b=Ws;if(vt())return xt(b);var b=$s(b),c={};E(b,function(a){c[a[0]]=a[1]});var e=cr(it,c);return Zs(Id)?a(["Version",Id]):Zs(Rc)?a([Rc]):wt()?a(["Chrome","CriOS"]):(b=b[2])&&b[1]||""},xt=function(a){var b=/rv: *([\d\.]*)/.exec(a);if(b&&b[1])return b[1];var b="",c=/MSIE +([\d\.]+)/.exec(a);if(c&&c[1])if(a=/Trident\/(\d.\d)/.exec(a),"7.0"==
c[1])if(a&&a[1])switch(a[1]){case "4.0":b="8.0";break;case "5.0":b="9.0";break;case "6.0":b="10.0";break;case "7.0":b="11.0"}else b="7.0";else b=c[1];return b};var zt=function(a){v.setTimeout(function(){throw a;},0)},At,Bt=function(){var a=v.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Zs("Presto")&&(a=function(){var a=document.createElement(od);a.style.display=Yk;a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),e="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=A(function(a){if(("*"==e||a.origin==e)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,e)}}});if("undefined"!==typeof a&&!vt()){var b=new a,c={},e=c;b.port1.onmessage=function(){if(w(c.next)){c=c.next;var a=c.zZ;c.zZ=null;a()}};return function(a){e.next={zZ:a};e=e.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement(Rd)?function(a){var b=document.createElement(Rd);
b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){v.setTimeout(a,0)}};var Gt=function(a,b){Ct||Dt();Et||(Ct(),Et=!0);Ft.add(a,b)},Ct,Dt=function(){if(v.Promise&&v.Promise.resolve){var a=v.Promise.resolve(void 0);Ct=function(){a.then(Ht)}}else Ct=function(){var a=Ht;!Wq(v.setImmediate)||v.Window&&v.Window.prototype&&!Zs(Rc)&&v.Window.prototype.setImmediate==v.setImmediate?(At||(At=Bt()),At(a)):v.setImmediate(a)}},Et=!1,Ft=new is,Ht=function(){for(var a;a=Ft.remove();){try{a.gN.call(a.scope)}catch(b){zt(b)}Ft.gGa(a)}Et=!1};var Jt=function(a,b){this.ua=0;this.Wl=void 0;this.cs=this.Hk=this.Z=null;this.qE=this.NM=!1;if(a!=Pq)try{var c=this;a.call(b,function(a){c.Ku(2,a)},function(a){if(!(a instanceof It))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(b){}c.Ku(3,a)})}catch(e){this.Ku(3,e)}},Kt=function(){this.next=this.context=this.su=this.Fq=this.Po=null;this.HB=!1};Kt.prototype.reset=function(){this.context=this.su=this.Fq=this.Po=null;this.HB=!1};
var Lt=new hs(function(){return new Kt},function(a){a.reset()},100),Mt=function(a,b,c){var e=Lt.get();e.Fq=a;e.su=b;e.context=c;return e};Jt.prototype.then=function(a,b,c){null!=a&&bs(a,nl);null!=b&&bs(b,ol);return this.rja(Wq(a)?a:null,Wq(b)?b:null,c)};dr(Jt);t=Jt.prototype;t.iMa=function(a,b,c){null!=a&&bs(a,nl);null!=b&&bs(b,ol);this.JX(Mt(a||Pq,b||null,c))};t.cancel=function(a){0==this.ua&&Gt(function(){var b=new It(a);this.wZ(b)},this)};
t.wZ=function(a){0==this.ua&&(this.Z?(this.Z.vla(this,a),this.Z=null):this.Ku(3,a))};t.vla=function(a,b){if(this.Hk){for(var c=0,e=null,f=null,g=this.Hk;g&&(g.HB||(c++,g.Po==a&&(e=g),!(e&&1<c)));g=g.next)e||(f=g);e&&(0==this.ua&&1==c?this.wZ(b):(f?this.aFa(f):this.O$(),this.b2(e,3,b)))}};t.JX=function(a){this.Oxa()||2!=this.ua&&3!=this.ua||this.Dba();this.vEa(a)};
t.rja=function(a,b,c){var e=Mt(null,null,null);e.Po=new Jt(function(f,g){e.Fq=a?function(b){try{var e=a.call(c,b);f(e)}catch(m){g(m)}}:f;e.su=b?function(a){try{var e=b.call(c,a);!w(e)&&a instanceof It?g(a):f(e)}catch(m){g(m)}}:g});e.Po.Z=this;this.JX(e);return e.Po};t.LMa=function(a){D(1==this.ua);this.ua=0;this.Ku(2,a)};t.MMa=function(a){D(1==this.ua);this.ua=0;this.Ku(3,a)};
t.Ku=function(a,b){if(0==this.ua){this===b&&(a=3,b=new TypeError("Promise cannot resolve to itself"));this.ua=1;var c;a:{var e=b,f=this.LMa,g=this.MMa;if(e instanceof Jt)e.iMa(f,g,this),c=!0;else if(er(e))e.then(f,g,this),c=!0;else{if(Xq(e))try{var h=e.then;if(Wq(h)){Nt(e,h,f,g,this);c=!0;break a}}catch(k){g.call(this,k);c=!0;break a}c=!1}}c||(this.Wl=b,this.ua=a,this.Z=null,this.Dba(),3!=a||b instanceof It||Ot(this,b))}};
var Nt=function(a,b,c,e,f){var g=!1,h=function(a){g||(g=!0,c.call(f,a))},k=function(a){g||(g=!0,e.call(f,a))};try{b.call(a,h,k)}catch(m){k(m)}};t=Jt.prototype;t.Dba=function(){this.NM||(this.NM=!0,Gt(this.eD,this))};t.Oxa=function(){return!!this.Hk};t.vEa=function(a){D(null!=a.Fq);this.cs?this.cs.next=a:this.Hk=a;this.cs=a};t.O$=function(){var a=null;this.Hk&&(a=this.Hk,this.Hk=a.next,a.next=null);this.Hk||(this.cs=null);null!=a&&D(null!=a.Fq);return a};
t.aFa=function(a){D(this.Hk);D(null!=a);a.next==this.cs&&(this.cs=a);a.next=a.next.next};t.eD=function(){for(var a;a=this.O$();)this.b2(a,this.ua,this.Wl);this.NM=!1};t.b2=function(a,b,c){3==b&&a.su&&!a.HB&&this.pFa();if(a.Po)a.Po.Z=null,Pt(a,b,c);else try{a.HB?a.Fq.call(a.context):Pt(a,b,c)}catch(e){Qt.call(null,e)}Lt.put(a)};var Pt=function(a,b,c){2==b?a.Fq.call(a.context,c):a.su&&a.su.call(a.context,c)};Jt.prototype.pFa=function(){var a;for(a=this;a&&a.qE;a=a.Z)a.qE=!1};
var Ot=function(a,b){a.qE=!0;Gt(function(){a.qE&&Qt.call(null,b)})},Qt=zt,It=function(a){gr.call(this,a)};C(It,gr);It.prototype.name=Zf;var F=function(){this.Bs=this.Bs;this.Eq=this.Eq};t=F.prototype;t.Bs=!1;t.isDisposed=function(){return this.Bs};t.t3=F.prototype.isDisposed;t.dispose=function(){this.Bs||(this.Bs=!0,this.B())};t.wa=function(a){this.Pja(cr(Rt,a))};t.Pja=function(a,b){this.Bs?w(b)?a.call(b):a():(this.Eq||(this.Eq=[]),this.Eq.push(w(b)?A(a,b):a))};t.B=function(){if(this.Eq)for(;this.Eq.length;)this.Eq.shift()()};
var Rt=function(a){a&&typeof a.dispose==Yh&&a.dispose()},St=function(a){for(var b=0,c=arguments.length;b<c;++b){var e=arguments[b];Tq(e)?St.apply(null,e):Rt(e)}};var Tt=function(){return Zs("iPhone")&&!Zs("iPod")&&!Zs("iPad")},Ut=function(){return Tt()||Zs("iPad")||Zs("iPod")};var Vt=Zs(Id),G=vt(),Wt=Zs(Rc),Xt=Wt||G,H=Zs("Gecko")&&!(Dr(Ws.toLowerCase(),"webkit")&&!Zs(Rc))&&!(Zs("Trident")||Zs("MSIE"))&&!Zs(Rc),Yt=Dr(Ws.toLowerCase(),"webkit")&&!Zs(Rc),Zt=Yt&&Zs("Mobile"),$t=Zs("Macintosh"),au=Zs("Windows"),bu=Zs("Linux")||Zs("CrOS"),cu=v.navigator||null;cu&&Dr(cu.appVersion||"","X11");Zs("Android");Tt();Zs("iPad");Zs("iPod");var du=function(){var a=v.document;return a?a.documentMode:void 0},eu;
a:{var fu="",gu=function(){var a=Ws;if(H)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Wt)return/Edge\/([\d\.]+)/.exec(a);if(G)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Yt)return/WebKit\/(\S+)/.exec(a);if(Vt)return/(?:Version)[ \/]?(\S+)/.exec(a)}();gu&&(fu=gu?gu[1]:"");if(G){var hu=du();if(null!=hu&&hu>parseFloat(fu)){eu=String(hu);break a}}eu=fu}
var iu=eu,ju={},I=function(a){return ju[a]||(ju[a]=0<=Sr(iu,a))},lu=function(a){return Number(ku)>=a},mu=v.document,ku=mu&&G?du()||(mu.compatMode==yc?parseInt(iu,10):5):void 0;var nu=!G||lu(9),ou=!G||lu(9),pu=G&&!I("9");!Yt||I("528");H&&I("1.9b")||G&&I("8")||Vt&&I("9.5")||Yt&&I("528");H&&!I("8")||G&&I("9");var J=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Pq=!1;this.sba=!0};J.prototype.stopPropagation=function(){this.Pq=!0};J.prototype.preventDefault=function(){this.defaultPrevented=!0;this.sba=!1};var qu=function(a){a.preventDefault()};var ru=G?Oh:"DOMFocusIn",su=G?Ph:"DOMFocusOut";var tu=function(a){tu[" "](a);return a};tu[" "]=Pq;var uu=function(a,b){try{return tu(a[b]),!0}catch(c){}return!1};var vu=function(a,b){J.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.qz=!1;this.Vc=null;a&&this.BP(a,b)};C(vu,J);var wu=[1,4,2];t=vu.prototype;
t.BP=function(a,b){var c=this.type=a.type,e=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var f=a.relatedTarget;f?H&&(uu(f,"nodeName")||(f=null)):c==Nk?f=a.fromElement:c==Mk&&(f=a.toElement);this.relatedTarget=f;null===e?(this.offsetX=Yt||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Yt||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.clientX=void 0!==e.clientX?e.clientX:e.pageX,this.clientY=void 0!==e.clientY?e.clientY:e.pageY,this.screenX=e.screenX||0,this.screenY=e.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(c==Yj?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.qz=$t?a.metaKey:a.ctrlKey;this.state=a.state;this.Vc=a;a.defaultPrevented&&this.preventDefault()};
t.jza=function(a){return nu?this.Vc.button==a:this.type==ng?0==a:!!(this.Vc.button&wu[a])};t.qF=function(){return this.jza(0)&&!(Yt&&$t&&this.ctrlKey)};t.stopPropagation=function(){vu.g.stopPropagation.call(this);this.Vc.stopPropagation?this.Vc.stopPropagation():this.Vc.cancelBubble=!0};t.preventDefault=function(){vu.g.preventDefault.call(this);var a=this.Vc;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,pu)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};
t.qra=function(){return this.Vc};var xu="closure_listenable_"+(1E6*Math.random()|0),yu=function(a){return!(!a||!a[xu])},zu=0;var Au=function(a,b,c,e,f,g){this.listener=a;this.hH=b;this.src=c;this.type=e;this.es=!!f;this.JE=g;this.key=++zu;this.Iu=this.aC=!1};Au.prototype.XF=function(){this.Iu=!0;this.JE=this.src=this.hH=this.listener=null};var Bu=function(a){this.src=a;this.he={};this.QA=0};t=Bu.prototype;t.add=function(a,b,c,e,f){var g=a.toString();a=this.he[g];a||(a=this.he[g]=[],this.QA++);var h=Cu(a,b,e,f);-1<h?(b=a[h],c||(b.aC=!1)):(b=new Au(b,null,this.src,g,!!e,f),b.aC=c,a.push(b));return b};t.remove=function(a,b,c,e){a=a.toString();if(!(a in this.he))return!1;var f=this.he[a];b=Cu(f,b,c,e);return-1<b?(f[b].XF(),Ks(f,b),0==f.length&&(delete this.he[a],this.QA--),!0):!1};
t.Aaa=function(a){var b=a.type;if(!(b in this.he))return!1;var c=Ls(this.he[b],a);c&&(a.XF(),0==this.he[b].length&&(delete this.he[b],this.QA--));return c};t.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.he)if(!a||c==a){for(var e=this.he[c],f=0;f<e.length;f++)++b,e[f].XF();delete this.he[c];this.QA--}return b};t.XD=function(a,b){var c=this.he[a.toString()],e=[];if(c)for(var f=0;f<c.length;++f){var g=c[f];g.es==b&&e.push(g)}return e};
t.Lx=function(a,b,c,e){a=this.he[a.toString()];var f=-1;a&&(f=Cu(a,b,c,e));return-1<f?a[f]:null};t.hasListener=function(a,b){var c=w(a),e=c?a.toString():"",f=w(b);return dt(this.he,function(a){for(var h=0;h<a.length;++h)if(!(c&&a[h].type!=e||f&&a[h].es!=b))return!0;return!1})};var Cu=function(a,b,c,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.Iu&&g.listener==b&&g.es==!!c&&g.JE==e)return f}return-1};var Du="closure_lm_"+(1E6*Math.random()|0),Eu={},Fu=0,K=function(a,b,c,e,f){if(Sq(b)){for(var g=0;g<b.length;g++)K(a,b[g],c,e,f);return null}c=Gu(c);return yu(a)?a.o(b,c,e,f):Hu(a,b,c,!1,e,f)},Hu=function(a,b,c,e,f,g){if(!b)throw Error("Invalid event type");var h=!!f,k=Iu(a);k||(a[Du]=k=new Bu(a));c=k.add(b,c,e,f,g);if(c.hH)return c;e=Ku();c.hH=e;e.src=a;e.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),e,h);else if(a.attachEvent)a.attachEvent(Lu(b.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");
Fu++;return c},Ku=function(){var a=Mu,b=ou?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Nu=function(a,b,c,e,f){if(Sq(b)){for(var g=0;g<b.length;g++)Nu(a,b[g],c,e,f);return null}c=Gu(c);return yu(a)?a.qq(b,c,e,f):Hu(a,b,c,!0,e,f)},Ou=function(a,b,c,e,f){if(Sq(b)){for(var g=0;g<b.length;g++)Ou(a,b[g],c,e,f);return null}c=Gu(c);if(yu(a))return a.Ja(b,c,e,f);if(!a)return!1;if(a=Iu(a))if(b=a.Lx(b,c,!!e,f))return Pu(b);return!1},Pu=function(a){if(Vq(a)||
!a||a.Iu)return!1;var b=a.src;if(yu(b))return b.Jfa(a);var c=a.type,e=a.hH;b.removeEventListener?b.removeEventListener(c,e,a.es):b.detachEvent&&b.detachEvent(Lu(c),e);Fu--;(c=Iu(b))?(c.Aaa(a),0==c.QA&&(c.src=null,b[Du]=null)):a.XF();return!0},Qu=function(a,b){if(!a)return 0;if(yu(a))return a.removeAllListeners(b);var c=Iu(a);if(!c)return 0;var e=0,f=b&&b.toString(),g;for(g in c.he)if(!f||g==f)for(var h=c.he[g].concat(),k=0;k<h.length;++k)Pu(h[k])&&++e;return e},Lu=function(a){return a in Eu?Eu[a]:
Eu[a]="on"+a},Su=function(a,b,c,e){return yu(a)?a.kx(b,c,e):Ru(a,b,c,e)},Ru=function(a,b,c,e){var f=!0;if(a=Iu(a))if(b=a.he[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.es==c&&!g.Iu&&(g=Tu(g,e),f=f&&!1!==g)}return f},Tu=function(a,b){var c=a.listener,e=a.JE||a.src;a.aC&&Pu(a);return c.call(e,b)},Uu=function(a,b){D(yu(a),"Can not use goog.events.dispatchEvent with non-goog.events.Listenable instance.");return a.dispatchEvent(b)},Mu=function(a,b){if(a.Iu)return!0;if(!ou){var c=
b||Oq("window.event"),e=new vu(c,this),f=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var g=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(m){g=!0}if(g||void 0==c.returnValue)c.returnValue=!0}c=[];for(g=e.currentTarget;g;g=g.parentNode)c.push(g);for(var g=a.type,h=c.length-1;!e.Pq&&0<=h;h--){e.currentTarget=c[h];var k=Ru(c[h],g,!0,e),f=f&&k}for(h=0;!e.Pq&&h<c.length;h++)e.currentTarget=c[h],k=Ru(c[h],g,!1,e),f=f&&k}return f}return Tu(a,new vu(b,this))},Iu=function(a){a=a[Du];return a instanceof
Bu?a:null},Vu="__closure_events_fn_"+(1E9*Math.random()>>>0),Gu=function(a){D(a,"Listener can not be null.");if(Wq(a))return a;D(a.handleEvent,"An object listener must have handleEvent method.");a[Vu]||(a[Vu]=function(b){return a.handleEvent(b)});return a[Vu]};var M=function(){F.call(this);this.Ji=new Bu(this);this.mja=this;this.lS=null};C(M,F);M.prototype[xu]=!0;t=M.prototype;t.nt=function(){return this.lS};t.fo=function(a){this.lS=a};t.addEventListener=function(a,b,c,e){K(this,a,b,c,e)};t.removeEventListener=function(a,b,c,e){Ou(this,a,b,c,e)};
t.dispatchEvent=function(a){this.DY();var b,c=this.nt();if(c){b=[];for(var e=1;c;c=c.nt())b.push(c),D(1E3>++e,"infinite loop")}c=this.mja;e=a.type||a;if(z(a))a=new J(a,c);else if(a instanceof J)a.target=a.target||c;else{var f=a;a=new J(e,c);st(a,f)}var f=!0,g;if(b)for(var h=b.length-1;!a.Pq&&0<=h;h--)g=a.currentTarget=b[h],f=g.kx(e,!0,a)&&f;a.Pq||(g=a.currentTarget=c,f=g.kx(e,!0,a)&&f,a.Pq||(f=g.kx(e,!1,a)&&f));if(b)for(h=0;!a.Pq&&h<b.length;h++)g=a.currentTarget=b[h],f=g.kx(e,!1,a)&&f;return f};
t.B=function(){M.g.B.call(this);this.removeAllListeners();this.lS=null};t.o=function(a,b,c,e){this.DY();return this.Ji.add(String(a),b,!1,c,e)};t.qq=function(a,b,c,e){return this.Ji.add(String(a),b,!0,c,e)};t.Ja=function(a,b,c,e){return this.Ji.remove(String(a),b,c,e)};t.Jfa=function(a){return this.Ji.Aaa(a)};t.removeAllListeners=function(a){return this.Ji?this.Ji.removeAll(a):0};
t.kx=function(a,b,c){a=this.Ji.he[String(a)];if(!a)return!0;a=a.concat();for(var e=!0,f=0;f<a.length;++f){var g=a[f];if(g&&!g.Iu&&g.es==b){var h=g.listener,k=g.JE||g.src;g.aC&&this.Jfa(g);e=!1!==h.call(k,c)&&e}}return e&&0!=c.sba};t.XD=function(a,b){return this.Ji.XD(String(a),b)};t.Lx=function(a,b,c,e){return this.Ji.Lx(String(a),b,c,e)};t.hasListener=function(a,b){return this.Ji.hasListener(w(a)?String(a):void 0,b)};t.DY=function(){D(this.Ji,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var Wu=function(a,b){M.call(this);this.Sf=a||1;this.Bv=b||v;this.KK=A(this.mMa,this);this.HQ=B()};C(Wu,M);t=Wu.prototype;t.enabled=!1;t.Ma=null;t.setInterval=function(a){this.Sf=a;this.Ma&&this.enabled?(this.stop(),this.start()):this.Ma&&this.stop()};t.mMa=function(){if(this.enabled){var a=B()-this.HQ;0<a&&a<.8*this.Sf?this.Ma=this.Bv.setTimeout(this.KK,this.Sf-a):(this.Ma&&(this.Bv.clearTimeout(this.Ma),this.Ma=null),this.Noa(),this.enabled&&(this.Ma=this.Bv.setTimeout(this.KK,this.Sf),this.HQ=B()))}};
t.Noa=function(){this.dispatchEvent(bp)};t.start=function(){this.enabled=!0;this.Ma||(this.Ma=this.Bv.setTimeout(this.KK,this.Sf),this.HQ=B())};t.stop=function(){this.enabled=!1;this.Ma&&(this.Bv.clearTimeout(this.Ma),this.Ma=null)};t.B=function(){Wu.g.B.call(this);this.stop();delete this.Bv};var Xu=function(a,b,c){if(Wq(a))c&&(a=A(a,c));else if(a&&typeof a.handleEvent==Yh)a=A(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:v.setTimeout(a,b||0)},Yu=function(a){v.clearTimeout(a)};var Zu=function(a,b,c,e){this.cOa=a;this.iJ=b;this.uGa=c;this.wfa=e};t=Zu.prototype;t.create=function(){ga("create",this.cOa,{name:this.iJ,sampleRate:this.uGa})};t.vfa=function(){this.sU();var a={};a.hitCallback=A(function(){ga[this.wfa]=!0},this);ga(this.iJ+".send","pageview",a)};t.tfa=function(a,b,c,e){if(e&&e.hitCallback){var f=e.hitCallback;if(this.Ry()){var g=Xu(f,1E3);e.hitCallback=function(){Yu(g);f()}}else{f();return}}ga(this.iJ+".send","event",a,b,c,e)};t.sU=function(){};
t.set=function(a,b){ga(this.iJ+".set",a,b)};t.Ry=function(){return!!ga[this.wfa]};var $u=function(){Zu.call(this,"UA-38003561-1","SitesTracker",100,"__sites_ga_loaded__")};C($u,Zu);
$u.prototype.sU=function(){this.set("anonymizeIp",!0);this.set("page",webspace.page.path+window.location.search+window.location.hash);var a="Guest";"defaultdomain"==webspace.domain?a="Default domain":"nodomain"==webspace.domain?a="No domain":webspace.user.domainUser&&webspace.user.domain==webspace.domain&&(a="Domain user");var b=webspace.user.hasWriteAccess?"Write access":"No write access",c=webspace.user.hasAdminAccess?"Admin access":"No admin access",e=webspace.isPublic?"Public":"Restricted",f=
webspace.isConsumer?"Consumer":"Hosted",g="Not Embedded";if(window.self!=window.top)try{g=null!=window.top.location?"Embedded in Sites":Tc}catch(h){g=Tc}this.set("dimension1",a);this.set("dimension2",b);this.set("dimension3",c);this.set("dimension4",e);this.set("dimension5",f);this.set("dimension6",g);this.set("metric1",webspace.page.revision)};var av=function(){Zu.call(this,"UA-45214764-1","CorpSitesTracker",100,"__corp_sites_ga_loaded__")};C(av,Zu);
av.prototype.sU=function(){this.set("anonymizeIp",!0);this.set("dimension1",webspace.domain);this.set("dimension2",webspace.name);this.set("dimension3",webspace.page.path);this.set("dimension4",webspace.page.wuid);this.set("metric1",webspace.page.revision)};var bv=new $u,cv=new av,dv=function(){return"google.com"==webspace.domain};
x("sites.core.Analytics.createTracker",function(){window.GoogleAnalyticsObject="ga";window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(arguments)};window.ga.l=1*new Date;var a=document.createElement(gn),b=document.getElementsByTagName(gn)[0];a.async=1;a.src="//www.google-analytics.com/analytics.js";b.parentNode.insertBefore(a,b);bv.create();dv()&&cv.create()},void 0);x("sites.core.Analytics.trackPageview",function(){bv.vfa();dv()&&cv.vfa()},void 0);
var fv=function(a,b,c,e){dv()&&(ev(2,e),cv.tfa(a,b,c,e));bv.tfa(a,b,c,e)};x("sites.core.Analytics.trackEvent",fv,void 0);var ev=function(a,b){var c=b&&b.hitCallback;c&&(b.hitCallback=function(){var b=a;return function(){b--;b||c()}}())},gv=function(a,b,c,e){e=e||{};e.hitCallback=c;fv(a,b,void 0,e)};x("sites.core.Analytics.trackEventAndCall",gv,void 0);x("sites.core.Analytics.trackEventAndNavigate",function(a,b,c,e){gv(a,b,function(){window.location.href=c},e)},void 0);var hv={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var iv=/<[^>]*>|&[^;]+;/g,jv=function(a,b){return b?a.replace(iv,""):a},kv=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),lv=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),mv=RegExp("^[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]"),nv=RegExp("^[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),ov=RegExp("^[^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]"),
pv=/^http:\/\/.*/,qv=RegExp("[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff][^\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]*$"),rv=RegExp("[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc][^A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]*$"),sv=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,
tv=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,uv=function(a,b){var c=(void 0===b?kv.test(jv(a,void 0)):b)?"\u200f":"\u200e";return a.replace(tv,c+"$&"+c)},vv=/\s+/,wv=/[\d\u06f0-\u06f9]/,xv=function(a,b){for(var c=0,e=0,f=!1,g=jv(a,b).split(vv),h=0;h<g.length;h++){var k=g[h];ov.test(jv(k,void 0))?(c++,e++):pv.test(k)?f=!0:lv.test(jv(k,void 0))?e++:wv.test(k)&&(f=!0)}return 0==e?f?1:0:.4<c/e?-1:1};var zv=function(){this.NI="";this.Oia=yv};zv.prototype.qn=!0;zv.prototype.Qj=function(){return this.NI};zv.prototype.toString=function(){return"Const{"+this.NI+"}"};var Av=function(a){if(a instanceof zv&&a.constructor===zv&&a.Oia===yv)return a.NI;Zr("expected object of type Const, got '"+a+"'");return"type_error:Const"},yv={},Bv=function(a){var b=new zv;b.NI=a;return b};var Dv=function(){this.dH="";this.yia=Cv};Dv.prototype.qn=!0;var Cv={};Dv.prototype.Qj=function(){return this.dH};Dv.prototype.toString=function(){return"SafeStyle{"+this.dH+"}"};Dv.prototype.nl=function(a){this.dH=a;return this};
var Ev=(new Dv).nl(""),Gv=function(a){var b="",c;for(c in a){if(!/^[-_a-zA-Z0-9]+$/.test(c))throw Error("Name allows only [-_a-zA-Z0-9], got: "+c);var e=a[c];if(null!=e){if(e instanceof zv)e=Av(e),D(!/[{;}]/.test(e),"Value does not allow [{;}].");else if(Fv.test(e)){for(var f=!0,g=!0,h=0;h<e.length;h++){var k=e.charAt(h);"'"==k&&g?f=!f:'"'==k&&f&&(g=!g)}f&&g||(Zr("String value requires balanced quotes, got: "+e),e="zClosurez")}else Zr("String value allows only [-,.\"'%_!# a-zA-Z0-9], rgb() and rgba(), got: "+
e),e="zClosurez";b+=c+":"+e+";"}}if(!b)return Ev;D(!/[<>]/.test(b),"Forbidden characters in style string: "+b);return(new Dv).nl(b)},Fv=/^([-,."'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\([0-9.%, ]+\))$/;var Iv=function(){this.cH="";this.xia=Hv};Iv.prototype.qn=!0;var Hv={},Kv=function(a){var b="",c=function(a){Sq(a)?E(a,c):b+=Jv(a)};E(arguments,c);return(new Iv).nl(b)},Mv=function(a){a=Av(a);if(0===a.length)return Lv;D(!Dr(a,"<"),"Forbidden '<' character in style sheet string: "+a);return(new Iv).nl(a)};Iv.prototype.Qj=function(){return this.cH};Iv.prototype.toString=function(){return"SafeStyleSheet{"+this.cH+"}"};
var Jv=function(a){if(a instanceof Iv&&a.constructor===Iv&&a.xia===Hv)return a.cH;Zr("expected object of type SafeStyleSheet, got '"+a+Fa+Rq(a));return"type_error:SafeStyleSheet"};Iv.prototype.nl=function(a){this.cH=a;return this};var Lv=(new Iv).nl("");var Nv=function(){var a=w(v.URL)&&w(v.URL.createObjectURL)?v.URL:w(v.webkitURL)&&w(v.webkitURL.createObjectURL)?v.webkitURL:w(v.createObjectURL)?v:null;if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");};var Pv=function(){this.Ll="";this.zia=Ov};t=Pv.prototype;t.qn=!0;t.Qj=function(){return this.Ll};t.yP=!0;t.bl=function(){return 1};t.toString=function(){return"SafeUrl{"+this.Ll+"}"};
var Qv=function(a){if(a instanceof Pv&&a.constructor===Pv&&a.zia===Ov)return a.Ll;Zr("expected object of type SafeUrl, got '"+a+Fa+Rq(a));return"type_error:SafeUrl"},Rv=/^(?:(?:https?|mailto|ftp):|[^&:/?#]*(?:[/?#]|$))/i,Tv=function(a){if(a instanceof Pv)return a;a=a.qn?a.Qj():String(a);Rv.test(a)||(a="about:invalid#zClosurez");return Sv(a)},Ov={},Sv=function(a){var b=new Pv;b.Ll=a;return b};Sv(Je);var Vv=function(){this.eH="";this.Wia=Uv};t=Vv.prototype;t.qn=!0;t.Qj=function(){return this.eH};t.yP=!0;t.bl=function(){return 1};t.toString=function(){return"TrustedResourceUrl{"+this.eH+"}"};var Wv=function(a){if(a instanceof Vv&&a.constructor===Vv&&a.Wia===Uv)return a.eH;Zr("expected object of type TrustedResourceUrl, got '"+a+Fa+Rq(a));return"type_error:TrustedResourceUrl"},Uv={},Xv=function(a){var b=new Vv;b.eH=a;return b};var Zv=function(){this.Ll="";this.wia=Yv;this.gM=null};t=Zv.prototype;t.yP=!0;t.bl=function(){return this.gM};t.qn=!0;t.Qj=function(){return this.Ll};t.toString=function(){return"SafeHtml{"+this.Ll+"}"};
var $v=function(a){if(a instanceof Zv&&a.constructor===Zv&&a.wia===Yv)return a.Ll;Zr("expected object of type SafeHtml, got '"+a+Fa+Rq(a));return"type_error:SafeHtml"},bw=function(a){if(a instanceof Zv)return a;var b=null;a.yP&&(b=a.bl());return aw(Cr(a.qn?a.Qj():String(a)),b)},cw=function(a){if(a instanceof Zv)return a;a=bw(a);return aw(ur($v(a)),a.bl())},dw=function(a){if(a instanceof Zv)return a;a=bw(a);var b;b=$v(a);b=ur(b.replace(/  /g," &#160;"),void 0);return aw(b,a.bl())},ew=/^[a-zA-Z0-9-]+$/,
fw={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},gw={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},jw=function(a,b,c){hw(a);return iw(a,b,c)},hw=function(a){if(!ew.test(a))throw Error("Invalid tag name <"+a+">.");if(a.toUpperCase()in gw)throw Error("Tag name <"+a+"> is not allowed for SafeHtml.");},lw=function(a,b){var c=kw({type:"text/css"},{},b),e="";a=Ns(a);for(var f=0;f<a.length;f++)e+=Jv(a[f]);e=
aw(e,0);return iw(Jo,c,e)},mw=function(a){var b=0,c="",e=function(a){Sq(a)?E(a,e):(a=bw(a),c+=$v(a),a=a.bl(),0==b?b=a:0!=a&&b!=a&&(b=null))};E(arguments,e);return aw(c,b)},nw=function(a,b){var c=mw(Qs(arguments,1));c.gM=a;return c},Yv={},aw=function(a,b){return(new Zv).nl(a,b)};Zv.prototype.nl=function(a,b){this.Ll=a;this.gM=b;return this};
var iw=function(a,b,c){var e=null,f;f="<"+a+ow(a,b);null!=c?Sq(c)||(c=[c]):c=[];!0===hv[a.toLowerCase()]?(D(!c.length,"Void tag <"+a+"> does not allow content."),f+=">"):(e=mw(c),f+=">"+$v(e)+"</"+a+">",e=e.bl());(a=b&&b.dir)&&(e=/^(ltr|rtl|auto)$/i.test(a)?0:null);return aw(f,e)},ow=function(a,b){var c="";if(b)for(var e in b){if(!ew.test(e))throw Error('Invalid attribute name "'+e+'".');var f=b[e];if(null!=f){var g,h=a;g=e;if(f instanceof zv)f=Av(f);else if(g.toLowerCase()==Jo){if(!Xq(f))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof f+" given: "+f);f instanceof Dv||(f=Gv(f));f instanceof Dv&&f.constructor===Dv&&f.yia===Cv?f=f.dH:(Zr("expected object of type SafeStyle, got '"+f+Fa+Rq(f)),f="type_error:SafeStyle")}else{if(/^on/i.test(g))throw Error('Attribute "'+g+'" requires goog.string.Const value, "'+f+'" given.');if(g.toLowerCase()in fw)if(f instanceof Vv)f=Wv(f);else if(f instanceof Pv)f=Qv(f);else if(z(f))f=Tv(f).Qj();else throw Error('Attribute "'+g+'" on tag "'+h+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+
f+'" given.');}f.qn&&(f=f.Qj());D(z(f)||Vq(f),"String or number value expected, got "+typeof f+" with value: "+f);g=g+'="'+Cr(String(f))+'"';c+=" "+g}}return c},kw=function(a,b,c){var e={},f;for(f in a)D(f.toLowerCase()==f,Ed),e[f]=a[f];for(f in b)D(f.toLowerCase()==f,Ed),e[f]=b[f];for(f in c){var g=f.toLowerCase();if(g in a)throw Error(Bc+g+'" attribute, got "'+f+za+c[f]+'"');g in b&&delete e[g];e[f]=c[f]}return e};aw("<!DOCTYPE html>",0);var pw=aw("",0),qw=aw("<br>",0);var rw=function(a,b,c){as(Av(a),Tk);D(!lr(Av(a)),Uk);return aw(b,c||null)};var sw=function(a,b){this.x=w(a)?a:0;this.y=w(b)?b:0};sw.prototype.clone=function(){return new sw(this.x,this.y)};sw.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var tw=function(a,b){return new sw(a.x-b.x,a.y-b.y)};t=sw.prototype;t.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};t.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};t.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};
t.translate=function(a,b){a instanceof sw?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),Vq(b)&&(this.y+=b));return this};t.scale=function(a,b){var c=Vq(b)?b:a;this.x*=a;this.y*=c;return this};var uw=function(a,b){this.width=a;this.height=b},vw=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};t=uw.prototype;t.clone=function(){return new uw(this.width,this.height)};t.toString=function(){return"("+this.width+" x "+this.height+")"};t.Jka=function(){return this.width*this.height};t.CY=function(){return this.width/this.height};t.Zb=function(){return!this.Jka()};t.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
t.bN=function(a){return this.width<=a.width&&this.height<=a.height};t.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};t.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};t.scale=function(a,b){var c=Vq(b)?b:a;this.width*=a;this.height*=c;return this};t.HH=function(a){a=this.CY()>a.CY()?a.width/this.width:a.height/this.height;return this.scale(a)};var ww=!G||lu(9),xw=!H&&!G||G&&lu(9)||H&&I("1.9.1"),yw=G&&!I("9"),zw=G&&!lu(9);var Aw=function(a,b){a.innerHTML=$v(b)};var N=function(a){return a?new Bw(Cw(a)):hr||(hr=new Bw)},O=function(a){return z(a)?document.getElementById(a):a},Ew=function(a,b,c){return Dw(document,a,b,c)},Fw=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):Dw(document,"*",a,b)},Gw=function(a,b){var c=b||document;return(c.getElementsByClassName?c.getElementsByClassName(a)[0]:c.querySelectorAll&&c.querySelector?c.querySelector("."+a):Dw(document,"*",a,b)[0])||null},Dw=function(a,b,c,e){a=e||
a;b=b&&"*"!=b?b.toUpperCase():"";if(a.querySelectorAll&&a.querySelector&&(b||c))return a.querySelectorAll(b+(c?"."+c:""));if(c&&a.getElementsByClassName){a=a.getElementsByClassName(c);if(b){e={};for(var f=0,g=0,h;h=a[g];g++)b==h.nodeName&&(e[f++]=h);e.length=f;return e}return a}a=a.getElementsByTagName(b||"*");if(c){e={};for(g=f=0;h=a[g];g++)b=h.className,typeof b.split==Yh&&Gs(b.split(/\s+/),c)&&(e[f++]=h);e.length=f;return e}return a},Iw=function(a,b){at(b,function(b,e){e==Jo?a.style.cssText=b:
"class"==e?a.className=b:"for"==e?a.htmlFor=b:Hw.hasOwnProperty(e)?a.setAttribute(Hw[e],b):ir(e,"aria-")||ir(e,"data-")?a.setAttribute(e,b):a[e]=b})},Hw={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:dj,maxlength:"maxLength",nonce:"nonce",role:cn,rowspan:"rowSpan",type:Ip,usemap:"useMap",valign:"vAlign",width:Eq},Jw=function(a){a=(a||window).document;a=a.compatMode==yc?a.documentElement:a.body;return new uw(a.clientWidth,a.clientHeight)},Lw=
function(a){var b=Kw(a);a=a.parentWindow||a.defaultView;return G&&I("10")&&a.pageYOffset!=b.scrollTop?new sw(b.scrollLeft,b.scrollTop):new sw(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},Kw=function(a){return a.scrollingElement?a.scrollingElement:Yt||a.compatMode!=yc?a.body||a.documentElement:a.documentElement},Mw=function(a){return a?a.parentWindow||a.defaultView:window},Ow=function(a,b,c){return Nw(document,arguments)},Nw=function(a,b){var c=String(b[0]),e=b[1];if(!ww&&e&&(e.name||e.type)){c=
["<",c];e.name&&c.push(' name="',Cr(e.name),'"');if(e.type){c.push(' type="',Cr(e.type),'"');var f={};st(f,e);delete f.type;e=f}c.push(">");c=c.join("")}c=a.createElement(c);e&&(z(e)?c.className=e:Sq(e)?c.className=e.join(" "):Iw(c,e));2<b.length&&Pw(a,c,b,2);return c},Pw=function(a,b,c,e){function f(c){c&&b.appendChild(z(c)?a.createTextNode(c):c)}for(;e<c.length;e++){var g=c[e];!Tq(g)||Xq(g)&&0<g.nodeType?f(g):E(Qw(g)?Os(g):g,f)}},Rw=function(a){return document.createElement(String(a))},Sw=function(a,
b){var c=a.createElement(d);G?(Aw(c,mw(qw,b)),c.removeChild(c.firstChild)):Aw(c,b);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(var e=a.createDocumentFragment();c.firstChild;)e.appendChild(c.firstChild);c=e}return c},Tw=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case sc:case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case pd:case rd:case od:case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case Rd:case "SOURCE":case Ud:case "TRACK":case "WBR":return!1}return!0},
Uw=function(a,b){a.appendChild(b)},Vw=function(a,b){Pw(Cw(a),a,arguments,1)},Ww=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Xw=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)},Yw=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)},Zw=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},$w=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},ax=function(a){var b,c=a.parentNode;if(c&&11!=c.nodeType){if(a.removeNode)return a.removeNode(!1);
for(;b=a.firstChild;)c.insertBefore(b,a);return Zw(a)}},bx=function(a){return xw&&void 0!=a.children?a.children:xs(a.childNodes,function(a){return 1==a.nodeType})},dx=function(a){return w(a.firstElementChild)?a.firstElementChild:cx(a.firstChild,!0)},ex=function(a){return w(a.nextElementSibling)?a.nextElementSibling:cx(a.nextSibling,!0)},fx=function(a){return w(a.previousElementSibling)?a.previousElementSibling:cx(a.previousSibling,!1)},cx=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;
return a},gx=function(a){return Xq(a)&&1==a.nodeType},hx=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},kx=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if(G&&!lu(9)){if(9==a.nodeType)return-1;if(9==b.nodeType)return 1}if("sourceIndex"in a||a.parentNode&&"sourceIndex"in
a.parentNode){var c=1==a.nodeType,e=1==b.nodeType;if(c&&e)return a.sourceIndex-b.sourceIndex;var f=a.parentNode,g=b.parentNode;return f==g?ix(a,b):!c&&hx(f,b)?-1*jx(a,b):!e&&hx(g,a)?jx(b,a):(c?a.sourceIndex:f.sourceIndex)-(e?b.sourceIndex:g.sourceIndex)}e=Cw(a);c=e.createRange();c.selectNode(a);c.collapse(!0);e=e.createRange();e.selectNode(b);e.collapse(!0);return c.compareBoundaryPoints(v.Range.START_TO_END,e)},jx=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var e=b;e.parentNode!=c;)e=e.parentNode;
return ix(e,a)},ix=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1},lx=function(a){var b,c=arguments.length;if(!c)return null;if(1==c)return arguments[0];var e=[],f=Infinity;for(b=0;b<c;b++){for(var g=[],h=arguments[b];h;)g.unshift(h),h=h.parentNode;e.push(g);f=Math.min(f,g.length)}g=null;for(b=0;b<f;b++){for(var h=e[0][b],k=1;k<c;k++)if(h!=e[k][b])return g;g=h}return g},Cw=function(a){D(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||a.document},
mx=function(a){return a.contentDocument||a.contentWindow.document},nx=function(a,b){D(null!=a,"goog.dom.setTextContent expects a non-null value for node");if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{Ww(a);var c=Cw(a);a.appendChild(c.createTextNode(String(b)))}},ox=function(a){D(null!==a,"goog.dom.getOuterHtml expects a non-null value for element");
if("outerHTML"in a)return a.outerHTML;var b=Cw(a).createElement(d);b.appendChild(a.cloneNode(!0));return b.innerHTML},qx=function(a,b){var c=[];return px(a,b,c,!0)?c[0]:void 0},rx=function(a,b){var c=[];px(a,b,c,!1);return c},px=function(a,b,c,e){if(null!=a)for(a=a.firstChild;a;){if(b(a)&&(c.push(a),e)||px(a,b,c,e))return!0;a=a.nextSibling}return!1},sx={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},tx={IMG:" ",BR:"\n"},wx=function(a){return ux(a)&&vx(a)},xx=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,
a.removeAttribute("tabIndex"))},ux=function(a){a=a.getAttributeNode(Po);return null!=a&&a.specified},vx=function(a){a=a.tabIndex;return Vq(a)&&0<=a&&32768>a},zx=function(a){if(yw&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];yx(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");yw||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},Ax=function(a){var b=[];yx(a,b,!1);return b.join("")},yx=function(a,
b,c){if(!(a.nodeName in sx))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in tx)b.push(tx[a.nodeName]);else for(a=a.firstChild;a;)yx(a,b,c),a=a.nextSibling},Qw=function(a){if(a&&typeof a.length==bl){if(Xq(a))return typeof a.item==Yh||typeof a.item==Ho;if(Wq(a))return typeof a.item==Yh}return!1},Cx=function(a,b,c,e){if(!b&&!c)return null;var f=b?b.toUpperCase():null;return Bx(a,function(a){return(!f||a.nodeName==f)&&(!c||z(a.className)&&
Gs(a.className.split(/\s+/),c))},!0,e)},Bx=function(a,b,c,e){c||(a=a.parentNode);for(c=0;a&&(null==e||c<=e);){D("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null},Dx=function(a){try{return a&&a.activeElement}catch(b){}return null},Bw=function(a){this.kd=a||v.document||document};t=Bw.prototype;t.v=N;t.vca=function(a){this.kd=a};t.J=function(){return this.kd};t.b=function(a){return z(a)?this.kd.getElementById(a):a};t.dd=Bw.prototype.b;t.Bp=function(a,b,c){return Dw(this.kd,a,b,c)};
t.JD=function(a,b){return Fw(a,b||this.kd)};t.Md=function(a,b){return Gw(a,b||this.kd)};t.Pf=function(a,b){var c=Gw(a,b||this.kd);return D(c,"No element found with className: "+a)};t.setProperties=Iw;t.Zx=function(a){return Jw(a||this.getWindow())};t.j=function(a,b,c){return Nw(this.kd,arguments)};t.Xga=Bw.prototype.j;t.createElement=function(a){return this.kd.createElement(String(a))};t.createTextNode=function(a){return this.kd.createTextNode(String(a))};
t.Aj=function(a,b,c){var e=this.kd;c=!!c;for(var f=e.createElement(de),g=f.appendChild(e.createElement(ee)),h=0;h<a;h++){for(var k=e.createElement("TR"),m=0;m<b;m++){var p=e.createElement(fe);c&&nx(p,"\u00a0");k.appendChild(p)}g.appendChild(k)}return f};t.ij=function(a){return Sw(this.kd,a)};t.jq=function(){return this.kd.compatMode==yc};t.getWindow=function(){var a=this.kd;return a.parentWindow||a.defaultView};t.u3=function(){return Kw(this.kd)};t.Kj=function(){return Lw(this.kd)};
t.qx=function(a){return Dx(a||this.kd)};t.appendChild=Uw;t.append=Vw;t.canHaveChildren=Tw;t.wh=Ww;t.iq=Xw;t.rl=Yw;t.removeNode=Zw;t.fqa=ax;t.ih=bx;t.Ym=dx;t.hta=ex;t.Ny=gx;t.contains=hx;t.cE=Cw;t.Je=nx;
t.tl=function(a){var b;(b="A"==a.tagName||a.tagName==rd||a.tagName==ge||a.tagName==Sd||a.tagName==tc?!a.disabled&&(!ux(a)||vx(a)):wx(a))&&G?(a=!Wq(a.getBoundingClientRect)||G&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect(),a=null!=a&&0<a.height&&0<a.width):a=b;return a};t.gua=zx;var Ex=function(a){a=a.className;return z(a)&&a.match(/\S+/g)||[]},Fx=function(a,b){for(var c=Ex(a),e=Qs(arguments,1),f=c.length+e.length,g=c,h=0;h<e.length;h++)Gs(g,e[h])||g.push(e[h]);g=c.join(" ");a.className=g;return c.length==f},Hx=function(a,b){var c=Ex(a),e=Qs(arguments,1),f=Gx(c,e),g=f.join(" ");a.className=g;return f.length==c.length-e.length},Gx=function(a,b){return xs(a,function(a){return!Gs(b,a)})};var Ix="StopIteration"in v?v.StopIteration:{message:"StopIteration",stack:""},Jx=function(){};Jx.prototype.next=function(){throw Ix;};Jx.prototype.jf=function(){return this};
var Kx=function(a){if(a instanceof Jx)return a;if(typeof a.jf==Yh)return a.jf(!1);if(Tq(a)){var b=0,c=new Jx;c.next=function(){for(;;){if(b>=a.length)throw Ix;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Lx=function(a,b,c){if(Tq(a))try{E(a,b,c)}catch(e){if(e!==Ix)throw e;}else{a=Kx(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(e){if(e!==Ix)throw e;}}},Mx=function(a,b,c){var e=Kx(a);a=new Jx;a.next=function(){for(;;){var a=e.next();if(b.call(c,a,void 0,e))return a}};return a},
Nx=function(a,b,c){a=Kx(a);try{for(;;)if(b.call(c,a.next(),void 0,a))return!0}catch(e){if(e!==Ix)throw e;}return!1},Px=function(a){return Ox(arguments)},Ox=function(a){var b=Kx(a);a=new Jx;var c=null;a.next=function(){for(;;){if(null==c){var a=b.next();c=Kx(a)}try{return c.next()}catch(f){if(f!==Ix)throw f;c=null}}};return a},Qx=function(a){if(Tq(a))return Os(a);a=Kx(a);var b=[];Lx(a,function(a){b.push(a)});return b},Rx=function(a,b){try{return Kx(a).next()}catch(c){if(c!=Ix)throw c;return b}};var Q=function(a,b){this.Nb={};this.Tb=[];this.gB=this.Qb=0;var c=arguments.length;if(1<c){if(c%2)throw Error(ze);for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else a&&this.addAll(a)};t=Q.prototype;t.Ga=function(){return this.Qb};t.Cb=function(){this.hs();for(var a=[],b=0;b<this.Tb.length;b++)a.push(this.Nb[this.Tb[b]]);return a};t.vb=function(){this.hs();return this.Tb.concat()};t.Ic=function(a){return Sx(this.Nb,a)};
t.zm=function(a){for(var b=0;b<this.Tb.length;b++){var c=this.Tb[b];if(Sx(this.Nb,c)&&this.Nb[c]==a)return!0}return!1};t.$d=function(a,b){if(this===a)return!0;if(this.Qb!=a.Ga())return!1;var c=b||Tx;this.hs();for(var e,f=0;e=this.Tb[f];f++)if(!c(this.get(e),a.get(e)))return!1;return!0};var Tx=function(a,b){return a===b};t=Q.prototype;t.Zb=function(){return 0==this.Qb};t.clear=function(){this.Nb={};this.gB=this.Qb=this.Tb.length=0};
t.remove=function(a){return Sx(this.Nb,a)?(delete this.Nb[a],this.Qb--,this.gB++,this.Tb.length>2*this.Qb&&this.hs(),!0):!1};t.hs=function(){if(this.Qb!=this.Tb.length){for(var a=0,b=0;a<this.Tb.length;){var c=this.Tb[a];Sx(this.Nb,c)&&(this.Tb[b++]=c);a++}this.Tb.length=b}if(this.Qb!=this.Tb.length){for(var e={},b=a=0;a<this.Tb.length;)c=this.Tb[a],Sx(e,c)||(this.Tb[b++]=c,e[c]=1),a++;this.Tb.length=b}};t.get=function(a,b){return Sx(this.Nb,a)?this.Nb[a]:b};
t.set=function(a,b){Sx(this.Nb,a)||(this.Qb++,this.Tb.push(a),this.gB++);this.Nb[a]=b};t.addAll=function(a){var b;a instanceof Q?(b=a.vb(),a=a.Cb()):(b=ht(a),a=gt(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};t.forEach=function(a,b){for(var c=this.vb(),e=0;e<c.length;e++){var f=c[e],g=this.get(f);a.call(b,g,f,this)}};t.clone=function(){return new Q(this)};t.FV=function(){this.hs();for(var a={},b=0;b<this.Tb.length;b++){var c=this.Tb[b];a[c]=this.Nb[c]}return a};
t.jf=function(a){this.hs();var b=0,c=this.gB,e=this,f=new Jx;f.next=function(){if(c!=e.gB)throw Error("The map has changed since the iterator was created");if(b>=e.Tb.length)throw Ix;var f=e.Tb[b++];return a?f:e.Nb[f]};return f};var Sx=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Ux=function(a,b,c){b||(b={});c=c||window;var e;e=a instanceof Pv?a:Tv("undefined"!=typeof a.href?a.href:String(a));a=b.target||a.target;var f=[],g;for(g in b)switch(g){case Eq:case dj:case jp:case jk:f.push(g+"="+b[g]);break;case So:case "noreferrer":break;default:f.push(g+"="+(b[g]?1:0))}g=f.join(",");Ut()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a?(g=c.document.createElement("A"),e=e instanceof Pv?e:Tv(e),g.href=Qv(e),g.setAttribute(So,a),b.noreferrer&&g.setAttribute("rel","noreferrer"),
b=document.createEvent("MouseEvent"),b.initMouseEvent(ng,!0,!0,c,1),g.dispatchEvent(b),b={}):b.noreferrer?(b=c.open("",a,g),c=Qv(e),b&&(Xt&&Dr(c,";")&&(c="'"+c.replace(/'/g,"%27")+"'"),b.opener=null,c=rw(Bv("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+Cr(c)+Aa),b.document.write($v(c)),b.document.close())):b=c.open(Qv(e),a,g);return b};var Vx=function(a,b){if("FORM"==a.tagName)for(var c=a.elements,e=0;a=c[e];e++)Vx(a,b);else 1==b&&a.blur(),a.disabled=b},Wx=function(a){var b=a.type;if(!w(b))return null;switch(b.toLowerCase()){case hg:case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case qn:for(var b=[],c,e=0;c=a.options[e];e++)c.selected&&b.push(c.value);return b.length?b:null;default:return w(a.value)?a.value:null}},Xx=function(a,b){var c=a.type;if(w(c))switch(c.toLowerCase()){case hg:case "radio":a.checked=
b;break;case "select-one":a.selectedIndex=-1;if(z(b))for(var e=0;c=a.options[e];e++)if(c.value==b){c.selected=!0;break}break;case qn:c=b;z(c)&&(c=[c]);for(var f=0;e=a.options[f];f++)if(e.selected=!1,c)for(var g,h=0;g=c[h];h++)e.value==g&&(e.selected=!0);break;default:a.value=null!=b?b:""}};var Yx=function(a){if(a.altKey&&!a.ctrlKey||a.metaKey||112<=a.keyCode&&123>=a.keyCode)return!1;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!H;default:return 166>a.keyCode||183<a.keyCode}},ay=function(a,b,c,e,f){if(!(G||Wt||Yt&&I("525")))return!0;if($t&&f)return Zx(a);if(f&&!e)return!1;Vq(b)&&
(b=$x(b));if(!c&&(17==b||18==b||$t&&91==b))return!1;if((Yt||Wt)&&e&&c)switch(a){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(G&&e&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(Yt||Wt)}return Zx(a)},Zx=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Yt||Wt)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;
default:return!1}},$x=function(a){if(H)a=by(a);else if($t&&Yt)a:switch(a){case 93:a=91;break a}return a},by=function(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};var dy=function(a){M.call(this);this.G=a;K(a,cy,this.oh,!1,this);K(a,ng,this.Op,!1,this)};C(dy,M);var cy=H?Yj:Xj;dy.prototype.oh=function(a){(13==a.keyCode||Yt&&3==a.keyCode)&&this.k1(a)};dy.prototype.Op=function(a){this.k1(a)};dy.prototype.k1=function(a){var b=new ey(a);if(this.dispatchEvent(b)){b=new fy(a);try{this.dispatchEvent(b)}finally{a.stopPropagation()}}};dy.prototype.B=function(){dy.g.B.call(this);Ou(this.G,cy,this.oh,!1,this);Ou(this.G,ng,this.Op,!1,this);delete this.G};
var fy=function(a){vu.call(this,a.Vc);this.type=Le};C(fy,vu);var ey=function(a){vu.call(this,a.Vc);this.type="beforeaction"};C(ey,vu);var gy={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var ly=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(hy.test(c))return b.ME=iy(c),b.type="hex",b;c=jy(a);if(c.length){var e=c[0];a=c[1];c=c[2];e=Number(e);a=Number(a);c=Number(c);if(e!=(e&255)||a!=(a&255)||c!=(c&255))throw Error('"('+e+","+a+","+c+'") is not a valid RGB color');e=ky(e.toString(16));a=ky(a.toString(16));c=ky(c.toString(16));b.ME="#"+e+a+c;b.type="rgb";return b}if(gy&&(c=gy[a.toLowerCase()]))return b.ME=c,b.type="named",b;throw Error(a+" is not a valid color string");
},my=/#(.)(.)(.)/,iy=function(a){if(!hy.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(my,"#$1$1$2$2$3$3"));return a.toLowerCase()},hy=/^#(?:[0-9a-f]{3}){1,2}$/i,ny=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,jy=function(a){var b=a.match(ny);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]},ky=function(a){return 1==a.length?"0"+a:a};var py=function(a){oy();return aw(a,null)},qy=function(a){oy();return Xv(a)},oy=Pq;var ry=function(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=e};t=ry.prototype;t.Rf=function(){return this.right-this.left};t.Be=function(){return this.bottom-this.top};t.clone=function(){return new ry(this.top,this.right,this.bottom,this.left)};t.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
t.contains=function(a){return this&&a?a instanceof ry?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};t.expand=function(a,b,c,e){Xq(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(e));return this};
t.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};t.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};t.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
t.translate=function(a,b){a instanceof sw?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):($r(a),this.left+=a,this.right+=a,Vq(b)&&(this.top+=b,this.bottom+=b));return this};t.scale=function(a,b){var c=Vq(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};var sy=function(a,b,c,e){this.left=a;this.top=b;this.width=c;this.height=e};t=sy.prototype;t.clone=function(){return new sy(this.left,this.top,this.width,this.height)};t.qMa=function(){return new ry(this.top,this.left+this.width,this.top+this.height,this.left)};t.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
t.NP=function(a){var b=Math.max(this.left,a.left),c=Math.min(this.left+this.width,a.left+a.width);if(b<=c){var e=Math.max(this.top,a.top);a=Math.min(this.top+this.height,a.top+a.height);if(e<=a)return this.left=b,this.top=e,this.width=c-b,this.height=a-e,!0}return!1};t.contains=function(a){return a instanceof sw?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};
t.ce=function(){return new uw(this.width,this.height)};t.lua=function(){return new sw(this.left,this.top)};t.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};t.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
t.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};t.translate=function(a,b){a instanceof sw?(this.left+=a.x,this.top+=a.y):(this.left+=$r(a),Vq(b)&&(this.top+=b));return this};t.scale=function(a,b){var c=Vq(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var R=function(a,b,c){if(z(b))(b=ty(a,b))&&(a.style[b]=c);else for(var e in b){c=a;var f=b[e],g=ty(c,e);g&&(c.style[g]=f)}},uy={},ty=function(a,b){var c=uy[b];if(!c){var e=Vr(b),c=e;void 0===a.style[e]&&(e=(Yt?"Webkit":H?"Moz":G?"ms":Vt?"O":null)+Wr(e),void 0!==a.style[e]&&(c=e));uy[b]=c}return c},vy=function(a,b){var c=a.style[Vr(b)];return"undefined"!==typeof c?c:a.style[ty(a,b)]||""},wy=function(a,b){var c=Cw(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,
null))?c[b]||c.getPropertyValue(b)||"":""},xy=function(a,b){return a.currentStyle?a.currentStyle[b]:null},yy=function(a,b){return wy(a,b)||xy(a,b)||a.style&&a.style[b]},zy=function(a){return yy(a,Em)},By=function(a,b,c){var e;b instanceof sw?(e=b.x,b=b.y):(e=b,b=c);a.style.left=Ay(e,!1);a.style.top=Ay(b,!1)},Cy=function(a){return new sw(a.offsetLeft,a.offsetTop)},Dy=function(a){a=a?Cw(a):document;return!G||lu(9)||N(a).jq()?a.documentElement:a.body},Ey=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,
top:0,right:0,bottom:0}}G&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},Fy=function(a){if(G&&!lu(8))return D(a&&"offsetParent"in a),a.offsetParent;var b=Cw(a),c=yy(a,Em),e=c==Mh||c==Ke;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=yy(a,Em),e=e&&"static"==c&&a!=b.documentElement&&a!=b.body,!e&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||
c==Mh||c==Ke||c==Ym))return a;return null},Hy=function(a){for(var b=new ry(0,Infinity,Infinity,0),c=N(a),e=c.J().body,f=c.J().documentElement,g=c.u3();a=Fy(a);)if(!(G&&0==a.clientWidth||Yt&&0==a.clientHeight&&a==e)&&a!=e&&a!=f&&yy(a,"overflow")!=zq){var h=Gy(a),k=new sw(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}e=g.scrollLeft;g=g.scrollTop;b.left=Math.max(b.left,
e);b.top=Math.max(b.top,g);c=c.Zx();b.right=Math.min(b.right,e+c.width);b.bottom=Math.min(b.bottom,g+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null},Ky=function(a,b,c){var e=b||Kw(document),f=Gy(a),g=Gy(e),h=Iy(e);e==Kw(document)?(b=f.x-e.scrollLeft,f=f.y-e.scrollTop,G&&!lu(10)&&(b+=h.left,f+=h.top)):(b=f.x-g.x-h.left,f=f.y-g.y-h.top);h=Jy(a);a=e.clientWidth-h.width;h=e.clientHeight-h.height;g=e.scrollLeft;e=e.scrollTop;c?(g+=b-a/2,e+=f-h/2):(g+=Math.min(b,Math.max(b-
a,0)),e+=Math.min(f,Math.max(f-h,0)));return new sw(g,e)},Ly=function(a,b,c){b=b||Kw(document);a=Ky(a,b,c);b.scrollLeft=a.x;b.scrollTop=a.y},Gy=function(a){var b=Cw(a);cs(a,"Parameter is required");var c=new sw(0,0),e=Dy(b);if(a==e)return c;a=Ey(a);b=N(b).Kj();c.x=a.left+b.x;c.y=a.top+b.y;return c},Ny=function(a,b){var c=new sw(0,0),e=Mw(Cw(a));if(!uu(e,Gl))return c;var f=a;do{var g=e==b?Gy(f):My(D(f));c.x+=g.x;c.y+=g.y}while(e&&e!=b&&e!=e.parent&&(f=e.frameElement)&&(e=e.parent));return c},Py=function(a,
b){var c=Oy(a),e=Oy(b);return new sw(c.x-e.x,c.y-e.y)},My=function(a){a=Ey(a);return new sw(a.left,a.top)},Oy=function(a){D(a);if(1==a.nodeType)return My(a);a=a.changedTouches?a.changedTouches[0]:a;return new sw(a.clientX,a.clientY)},Ry=function(a,b,c){if(b instanceof uw)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");Qy(a,b);a.style.height=Ay(c,!0)},Ay=function(a,b){typeof a==bl&&(a=(b?Math.round(a):a)+q);return a},Qy=function(a,b){a.style.width=Ay(b,!0)},Sy=function(a){var b;
var c=Jy;if(yy(a,Tg)!=Yk)b=c(a);else{b=a.style;var e=b.display,f=b.visibility,g=b.position;b.visibility=ej;b.position=Ke;b.display=Dj;a=c(a);b.display=e;b.position=g;b.visibility=f;b=a}return b},Jy=function(a){var b=a.offsetWidth,c=a.offsetHeight,e=Yt&&!b&&!c;return w(b)&&!e||!a.getBoundingClientRect?new uw(b,c):(a=Ey(a),new uw(a.right-a.left,a.bottom-a.top))},Ty=function(a){var b=Gy(a);a=Sy(a);return new sy(b.x,b.y,a.width,a.height)},Uy=function(a,b){D(a);var c=a.style;"opacity"in c?c.opacity=b:
"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},S=function(a,b){a.style.display=b?"":Yk},Wy=function(a,b){oy();var c=(new Iv).nl(a),e=N(b),f,g=e.J();G&&g.createStyleSheet?(f=g.createStyleSheet(),Vy(f,c)):(g=e.Bp(kd)[0],g||(f=e.Bp(rc)[0],g=e.j(kd),f.parentNode.insertBefore(g,f)),f=e.j(Ud),Vy(f,c),e.appendChild(g,f));return f},Vy=function(a,b){var c=Jv(b);G&&w(a.cssText)?a.cssText=c:a.innerHTML=c},Xy=function(a){return fn==yy(a,Rg)},Yy=H?"MozUserSelect":
Yt||Wt?"WebkitUserSelect":null,Zy=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(Yy){if(b=b?Yk:"",a.style&&(a.style[Yy]=b),c){a=0;for(var e;e=c[a];a++)e.style&&(e.style[Yy]=b)}}else if(G||Vt)if(b=b?"on":"",a.setAttribute(Mp,b),c)for(a=0;e=c[a];a++)e.setAttribute(Mp,b)},$y=function(a){return new uw(a.offsetWidth,a.offsetHeight)},cz=function(a){var b=Cw(a),c=G&&a.currentStyle;if(c&&N(b).jq()&&c.width!=yf&&c.height!=yf&&!c.boxSizing)return b=az(a,c.width,Eq,"pixelWidth"),a=az(a,c.height,dj,
"pixelHeight"),new uw(b,a);c=$y(a);b=bz(a);a=Iy(a);return new uw(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)},dz=function(a,b,c){a=a.style;H?a.MozBoxSizing=c:Yt?a.WebkitBoxSizing=c:a.boxSizing=c;a.width=Math.max(b.width,0)+q;a.height=Math.max(b.height,0)+q},az=function(a,b,c,e){if(/^\d+px?$/.test(b))return parseInt(b,10);var f=a.style[c],g=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[e];a.style[c]=f;a.runtimeStyle[c]=g;return b},ez=
function(a,b){var c=xy(a,b);return c?az(a,c,jk,"pixelLeft"):0},fz=function(a,b){if(G){var c=ez(a,b+"Left"),e=ez(a,b+"Right"),f=ez(a,b+"Top"),g=ez(a,b+"Bottom");return new ry(f,e,g,c)}c=wy(a,b+"Left");e=wy(a,b+"Right");f=wy(a,b+"Top");g=wy(a,b+"Bottom");return new ry(parseFloat(f),parseFloat(e),parseFloat(g),parseFloat(c))},bz=function(a){return fz(a,"padding")},gz=function(a){return fz(a,"margin")},hz={thin:2,medium:4,thick:6},iz=function(a,b){if(xy(a,b+"Style")==Yk)return 0;var c=xy(a,b+"Width");
return c in hz?hz[c]:az(a,c,jk,"pixelLeft")},Iy=function(a){if(G&&!lu(9)){var b=iz(a,"borderLeft"),c=iz(a,"borderRight"),e=iz(a,"borderTop");a=iz(a,"borderBottom");return new ry(e,c,a,b)}b=wy(a,"borderLeftWidth");c=wy(a,"borderRightWidth");e=wy(a,"borderTopWidth");a=wy(a,"borderBottomWidth");return new ry(parseFloat(e),parseFloat(c),parseFloat(a),parseFloat(b))},jz=/[^\d]+$/;var kz=function(a){var b=a.offsetLeft,c=a.offsetParent;c||zy(a)!=Mh||(c=Cw(a).documentElement);if(!c)return b;if(H)var e=Iy(c),b=b+e.left;else lu(8)&&!lu(9)&&(e=Iy(c),b-=e.left);return Xy(c)?c.clientWidth-(b+a.offsetWidth):b};var lz=function(a,b,c){F.call(this);this.sh=a;this.Sf=b||0;this.Ua=c;this.Xd=A(this.Gj,this)};C(lz,F);t=lz.prototype;t.pa=0;t.B=function(){lz.g.B.call(this);this.stop();delete this.sh;delete this.Ua};t.start=function(a){this.stop();this.pa=Xu(this.Xd,w(a)?a:this.Sf)};t.stop=function(){this.Bc()&&Yu(this.pa);this.pa=0};t.Rs=function(){this.stop();this.Gj()};t.Ss=function(){this.Bc()&&this.Rs()};t.Bc=function(){return 0!=this.pa};t.Gj=function(){this.pa=0;this.sh&&this.sh.call(this.Ua)};var mz={},nz=null,oz=function(a){a=$q(a);delete mz[a];lt(mz)&&nz&&nz.stop()},qz=function(){nz||(nz=new lz(function(){pz(B())},20));var a=nz;a.Bc()||a.start()},pz=function(a){at(mz,function(b){b.PBa(a)});lt(mz)||qz()};var rz=function(){M.call(this);this.ua=0;this.endTime=this.startTime=null};C(rz,M);t=rz.prototype;t.tda=function(){this.ua=1};t.XJa=function(){this.ua=-1};t.CU=function(){this.ua=0};t.Sy=function(){return 1==this.ua};t.xn=function(){return-1==this.ua};t.j8=function(){return 0==this.ua};t.bi=function(){this.Fj("begin")};t.Il=function(){this.Fj(rh)};t.a$=function(){this.Fj("finish")};t.ECa=function(){this.Fj("pause")};t.l$=function(){this.Fj("play")};t.HCa=function(){this.Fj("resume")};t.r$=function(){this.Fj("stop")};
t.Fj=function(a){this.dispatchEvent(a)};var sz=function(a,b,c,e){rz.call(this);if(!Sq(a)||!Sq(b))throw Error("Start and end parameters must be arrays");if(a.length!=b.length)throw Error("Start and end points must be the same length");this.wv=a;this.tpa=b;this.duration=c;this.zX=e;this.coords=[];this.Ir=!1;this.hi=0;this.BQ=null};C(sz,rz);t=sz.prototype;
t.play=function(a){if(a||this.j8())this.hi=0,this.coords=this.wv;else if(this.Sy())return!1;oz(this);this.startTime=a=B();this.xn()&&(this.startTime-=this.duration*this.hi);this.endTime=this.startTime+this.duration;this.BQ=this.startTime;this.hi||this.bi();this.l$();this.xn()&&this.HCa();this.tda();var b=$q(this);b in mz||(mz[b]=this);qz();this.C0(a);return!0};t.stop=function(a){oz(this);this.CU();a&&(this.hi=1);this.Qfa(this.hi);this.r$();this.Il()};
t.pause=function(){this.Sy()&&(oz(this),this.XJa(),this.ECa())};t.B=function(){this.j8()||this.stop(!1);this.eCa();sz.g.B.call(this)};t.Y0=function(){this.dispose()};t.PBa=function(a){this.C0(a)};t.C0=function(a){$r(this.startTime);$r(this.endTime);$r(this.BQ);this.hi=(a-this.startTime)/(this.endTime-this.startTime);1<=this.hi&&(this.hi=1);this.BQ=a;this.Qfa(this.hi);1==this.hi?(this.CU(),oz(this),this.a$(),this.Il()):this.Sy()&&this.mz()};
t.Qfa=function(a){Wq(this.zX)&&(a=this.zX(a));this.coords=Array(this.wv.length);for(var b=0;b<this.wv.length;b++)this.coords[b]=(this.tpa[b]-this.wv[b])*a+this.wv[b]};t.mz=function(){this.Fj("animate")};t.eCa=function(){this.Fj("destroy")};t.Fj=function(a){this.dispatchEvent(new tz(a,this))};var tz=function(a,b){J.call(this,a);this.coords=b.coords;this.x=b.coords[0];this.y=b.coords[1];this.z=b.coords[2];this.duration=b.duration;this.hi=b.hi;this.state=b.ua};C(tz,J);var uz=function(a,b,c,e,f){sz.call(this,b,c,e,f);this.element=a};C(uz,sz);t=uz.prototype;t.Iv=Pq;t.qd=function(){w(this.hk)||(this.hk=Xy(this.element));return this.hk};t.mz=function(){this.Iv();uz.g.mz.call(this)};t.Il=function(){this.Iv();uz.g.Il.call(this)};t.bi=function(){this.Iv();uz.g.bi.call(this)};var vz=function(a,b,c,e,f){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");uz.apply(this,arguments)};C(vz,uz);
vz.prototype.Iv=function(){var a=this.Ir&&this.qd()?an:jk;this.element.style[a]=Math.round(this.coords[0])+q;this.element.style.top=Math.round(this.coords[1])+q};var wz=function(a,b,c,e){var f=[this.Ir?kz(a):a.offsetLeft,a.offsetTop];vz.call(this,a,f,b,c,e)};C(wz,vz);wz.prototype.bi=function(){this.wv=[this.Ir?kz(this.element):this.element.offsetLeft,this.element.offsetTop];wz.g.bi.call(this)};var xz=function(a,b,c,e,f){uz.call(this,a,[b],[c],e,f)};C(xz,uz);
xz.prototype.Iv=function(){this.element.style.height=Math.round(this.coords[0])+q};var yz=function(a,b,c,e,f){Vq(b)&&(b=[b]);Vq(c)&&(c=[c]);uz.call(this,a,b,c,e,f);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.HF=-1};C(yz,uz);var zz=1/1024;t=yz.prototype;t.Iv=function(){var a=this.coords[0];Math.abs(a-this.HF)>=zz&&(Uy(this.element,a),this.HF=a)};t.bi=function(){this.HF=-1;yz.g.bi.call(this)};t.Il=function(){this.HF=-1;yz.g.Il.call(this)};
t.show=function(){this.element.style.display=""};t.Xe=function(){this.element.style.display=Yk};var Az=function(a,b,c){yz.call(this,a,0,1,b,c)};C(Az,yz);var Bz=function(a,b,c){yz.call(this,a,1,0,b,c)};C(Bz,yz);Bz.prototype.bi=function(){this.show();Bz.g.bi.call(this)};Bz.prototype.Il=function(){this.Xe();Bz.g.Il.call(this)};var Cz=function(a,b,c){yz.call(this,a,0,1,b,c)};C(Cz,yz);Cz.prototype.bi=function(){this.show();Cz.g.bi.call(this)};var Dz=function(a){return 1-Math.pow(1-a,3)},Ez=function(a){return 3*a*a-2*a*a*a};var Fz={wha:["BC","AD"],vha:["Before Christ","Anno Domini"],cia:"JFMAMJJASOND".split(""),Jia:"JFMAMJJASOND".split(""),Zha:"January February March April May June July August September October November December".split(" "),nB:"January February March April May June July August September October November December".split(" "),Dia:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Lia:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),aja:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
Mia:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Fia:"Sun Mon Tue Wed Thu Fri Sat".split(" "),cX:"Sun Mon Tue Wed Thu Fri Sat".split(" "),CSa:"SMTWTFS".split(""),Kia:"SMTWTFS".split(""),Eia:["Q1","Q2","Q3","Q4"],pia:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Yga:["AM","PM"],HJ:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],jX:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],mha:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],IJ:6,uX:[5,6],JJ:5},
Gz=Fz,Gz=Fz;var Hz=function(a,b){switch(b){case 1:return 0!=a%4||0==a%100&&0!=a%400?28:29;case 5:case 8:case 10:case 3:return 30}return 31},Iz=function(a,b,c,e,f,g){z(a)?(this.Dh="y"==a?b:0,this.th="m"==a?b:0,this.bh="d"==a?b:0,this.Dg="h"==a?b:0,this.Lg="n"==a?b:0,this.Pg="s"==a?b:0):(this.Dh=a||0,this.th=b||0,this.bh=c||0,this.Dg=e||0,this.Lg=f||0,this.Pg=g||0)};
Iz.prototype.xr=function(a){var b=Math.min(this.Dh,this.th,this.bh,this.Dg,this.Lg,this.Pg),c=Math.max(this.Dh,this.th,this.bh,this.Dg,this.Lg,this.Pg);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.Dh||a)&&c.push(Math.abs(this.Dh)+"Y");(this.th||a)&&c.push(Math.abs(this.th)+"M");(this.bh||a)&&c.push(Math.abs(this.bh)+"D");if(this.Dg||this.Lg||this.Pg||a)c.push("T"),(this.Dg||a)&&c.push(Math.abs(this.Dg)+"H"),(this.Lg||a)&&c.push(Math.abs(this.Lg)+"M"),
(this.Pg||a)&&c.push(Math.abs(this.Pg)+"S");return c.join("")};Iz.prototype.$d=function(a){return a.Dh==this.Dh&&a.th==this.th&&a.bh==this.bh&&a.Dg==this.Dg&&a.Lg==this.Lg&&a.Pg==this.Pg};Iz.prototype.clone=function(){return new Iz(this.Dh,this.th,this.bh,this.Dg,this.Lg,this.Pg)};Iz.prototype.add=function(a){this.Dh+=a.Dh;this.th+=a.th;this.bh+=a.bh;this.Dg+=a.Dg;this.Lg+=a.Lg;this.Pg+=a.Pg};
var Jz=function(a,b,c){Vq(a)?(this.va=this.jZ(a,b||0,c||1),this.dG(c||1)):Xq(a)?(this.va=this.jZ(a.getFullYear(),a.getMonth(),a.getDate()),this.dG(a.getDate())):(this.va=new Date(B()),a=this.va.getDate(),this.va.setHours(0),this.va.setMinutes(0),this.va.setSeconds(0),this.va.setMilliseconds(0),this.dG(a))};t=Jz.prototype;t.jZ=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};t.vp=Gz.IJ;t.pD=Gz.JJ;
t.clone=function(){var a=new Jz(this.va);a.vp=this.vp;a.pD=this.pD;return a};t.getFullYear=function(){return this.va.getFullYear()};t.getYear=function(){return this.getFullYear()};t.getMonth=function(){return this.va.getMonth()};t.getDate=function(){return this.va.getDate()};t.getTime=function(){return this.va.getTime()};t.getDay=function(){return this.va.getDay()};t.Esa=function(){return(this.getDay()+6)%7};t.zua=function(){return(this.Esa()-this.vp+7)%7};t.getUTCFullYear=function(){return this.va.getUTCFullYear()};
t.getUTCMonth=function(){return this.va.getUTCMonth()};t.getUTCDate=function(){return this.va.getUTCDate()};t.getUTCDay=function(){return this.va.getDay()};t.getUTCHours=function(){return this.va.getUTCHours()};t.getUTCMinutes=function(){return this.va.getUTCMinutes()};t.f4=function(){return Hz(this.getFullYear(),this.getMonth())};t.getTimezoneOffset=function(){return this.va.getTimezoneOffset()};
t.xO=function(){var a;a=this.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+Nr(c,2)+":"+Nr(b,2)}return a};t.set=function(a){this.va=new Date(a.getFullYear(),a.getMonth(),a.getDate())};t.setFullYear=function(a){this.va.setFullYear(a)};t.setYear=function(a){this.setFullYear(a)};t.setMonth=function(a){this.va.setMonth(a)};t.setDate=function(a){this.va.setDate(a)};t.setTime=function(a){this.va.setTime(a)};t.setUTCFullYear=function(a){this.va.setUTCFullYear(a)};
t.setUTCMonth=function(a){this.va.setUTCMonth(a)};t.setUTCDate=function(a){this.va.setUTCDate(a)};t.Cca=function(a){this.vp=a};t.Dca=function(a){this.pD=a};
t.add=function(a){if(a.Dh||a.th){var b=this.getMonth()+a.th+12*a.Dh,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var e=Math.min(Hz(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.bh&&(b=new Date(this.getYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.bh),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),this.dG(a.getDate()))};
t.xr=function(a,b){return[this.getFullYear(),Nr(this.getMonth()+1,2),Nr(this.getDate(),2)].join(a?"-":"")+(b?this.xO():"")};t.$d=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};t.toString=function(){return this.xr()};t.dG=function(a){this.getDate()!=a&&(a=this.getDate()<a?1:-1,this.va.setUTCHours(this.va.getUTCHours()+a))};t.valueOf=function(){return this.va.valueOf()};
var Kz=function(a,b,c,e,f,g,h){this.va=Vq(a)?new Date(a,b||0,c||1,e||0,f||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():B())};C(Kz,Jz);t=Kz.prototype;t.getHours=function(){return this.va.getHours()};t.getMinutes=function(){return this.va.getMinutes()};t.getSeconds=function(){return this.va.getSeconds()};t.getMilliseconds=function(){return this.va.getMilliseconds()};t.getUTCDay=function(){return this.va.getUTCDay()};t.getUTCHours=function(){return this.va.getUTCHours()};t.getUTCMinutes=function(){return this.va.getUTCMinutes()};
t.getUTCSeconds=function(){return this.va.getUTCSeconds()};t.getUTCMilliseconds=function(){return this.va.getUTCMilliseconds()};t.setHours=function(a){this.va.setHours(a)};t.setMinutes=function(a){this.va.setMinutes(a)};t.setSeconds=function(a){this.va.setSeconds(a)};t.setMilliseconds=function(a){this.va.setMilliseconds(a)};t.setUTCHours=function(a){this.va.setUTCHours(a)};t.setUTCMinutes=function(a){this.va.setUTCMinutes(a)};t.setUTCSeconds=function(a){this.va.setUTCSeconds(a)};
t.setUTCMilliseconds=function(a){this.va.setUTCMilliseconds(a)};t.add=function(a){Jz.prototype.add.call(this,a);a.Dg&&this.setUTCHours(this.va.getUTCHours()+a.Dg);a.Lg&&this.setUTCMinutes(this.va.getUTCMinutes()+a.Lg);a.Pg&&this.setUTCSeconds(this.va.getUTCSeconds()+a.Pg)};
t.xr=function(a,b){var c=Jz.prototype.xr.call(this,a);return a?c+" "+Nr(this.getHours(),2)+":"+Nr(this.getMinutes(),2)+":"+Nr(this.getSeconds(),2)+(b?this.xO():""):c+"T"+Nr(this.getHours(),2)+Nr(this.getMinutes(),2)+Nr(this.getSeconds(),2)+(b?this.xO():"")};t.$d=function(a){return this.getTime()==a.getTime()};t.toString=function(){return this.xr()};t.clone=function(){var a=new Kz(this.va);a.Cca(this.vp);a.Dca(this.pD);return a};var Lz=function(){},Nz=function(a){if(typeof a==bl){var b=new Lz;b.Hea=a;var c;c=a;if(0==c)c="Etc/GMT";else{var e=["Etc/GMT",0>c?"-":"+"];c=Math.abs(c);e.push(Math.floor(c/60)%100);c%=60;0!=c&&e.push(":",Nr(c,2));c=e.join("")}b.DV=c;c=a;0==c?c="UTC":(e=["UTC",0>c?"+":"-"],c=Math.abs(c),e.push(Math.floor(c/60)%100),c%=60,0!=c&&e.push(":",c),c=e.join(""));a=Mz(a);b.OV=[c,c];b.Br={jVa:a,eX:a};b.Ev=[];return b}b=new Lz;b.DV=a.id;b.Hea=-a.std_offset;b.OV=a.names;b.Br=a.names_ext;b.Ev=a.transitions;return b},
Mz=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Nr(Math.floor(a/60)%100,2),":",Nr(a%60,2));return b.join("")};t=Lz.prototype;t.o3=function(a){a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes())/36E5;for(var b=0;b<this.Ev.length&&a>=this.Ev[b];)b+=2;return 0==b?0:this.Ev[b-1]};t.nsa=function(a){return Mz(this.jO(a))};t.hO=function(a){return this.OV[this.TP(a)?3:1]};t.jO=function(a){return this.Hea-this.o3(a)};
t.Eta=function(a){a=-this.jO(a);var b=[0>a?"-":"+"];a=Math.abs(a);b.push(Nr(Math.floor(a/60)%100,2),Nr(a%60,2));return b.join("")};t.Wta=function(a){return this.OV[this.TP(a)?2:0]};t.TP=function(a){return 0<this.o3(a)};t.osa=function(a){return this.TP(a)?w(this.Br.rha)?this.Br.rha:this.Br.DST_GENERIC_LOCATION:w(this.Br.eX)?this.Br.eX:this.Br.STD_GENERIC_LOCATION};var Oz=function(a,b){D(w(a),"Pattern must be defined");D(w(b)||w(Gz),"goog.i18n.DateTimeSymbols or explicit symbols must be defined");this.QG=[];this.Tc=b||Gz;typeof a==bl?this.JB(a):this.Ek(a)},Pz=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/],Qz=function(a){return a.getHours?a.getHours():0};
Oz.prototype.Ek=function(a){for(Rz&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<Pz.length;++c){var e=a.match(Pz[c]);if(e){e=e[0];a=a.substring(e.length);0==c&&("''"==e?e="'":(e=e.substring(1,e.length-1),e=e.replace(/\'\'/,"'")));this.QG.push({text:e,type:c});break}}if(b===a)throw Error("Malformed pattern part: "+a);}};
Oz.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.jO(a)):0,e=c?new Date(a.getTime()+c):a,f=e;b&&e.getTimezoneOffset()!=a.getTimezoneOffset()&&(f=6E4*(e.getTimezoneOffset()-a.getTimezoneOffset()),e=new Date(e.getTime()+f),c+=0<c?-864E5:864E5,f=new Date(a.getTime()+c));for(var c=[],g=0;g<this.QG.length;++g){var h=this.QG[g].text;1==this.QG[g].type?c.push(this.Bqa(h,a,e,f,b)):c.push(h)}return c.join("")};
Oz.prototype.JB=function(a){var b;if(4>a)b=this.Tc.HJ[a];else if(8>a)b=this.Tc.jX[a-4];else if(12>a)b=this.Tc.mha[a-8],b=b.replace("{1}",this.Tc.HJ[a-8]),b=b.replace("{0}",this.Tc.jX[a-8]);else{this.JB(10);return}this.Ek(b)};Oz.prototype.Kg=function(a){a=String(a);var b=this.Tc||Gz;if(void 0!==b.eja){for(var c=[],e=0;e<a.length;e++){var f=a.charCodeAt(e);c.push(48<=f&&57>=f?String.fromCharCode(b.eja+f-48):a.charAt(e))}a=c.join("")}return a};var Rz=!1;
Oz.prototype.Aqa=function(a,b){var c=0<b.getFullYear()?1:0;return 4<=a?this.Tc.vha[c]:this.Tc.wha[c]};Oz.prototype.Rqa=function(a,b){var c=b.getFullYear();0>c&&(c=-c);2==a&&(c%=100);return this.Kg(Nr(c,a))};Oz.prototype.Eqa=function(a,b){var c=b.getMonth();switch(a){case 5:return this.Tc.cia[c];case 4:return this.Tc.Zha[c];case 3:return this.Tc.Dia[c];default:return this.Kg(Nr(c+1,a))}};
var Sz=function(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");};t=Oz.prototype;t.wqa=function(a,b){Sz(b);var c=Qz(b)||24;return this.Kg(Nr(c,a))};t.Cqa=function(a,b){var c=b.getTime()%1E3/1E3;return this.Kg(c.toFixed(Math.min(3,a)).substr(2)+(3<a?Nr(0,a-3):""))};t.zqa=function(a,b){var c=b.getDay();return 4<=a?this.Tc.aja[c]:this.Tc.Fia[c]};
t.xqa=function(a,b){Sz(b);var c=Qz(b);return this.Tc.Yga[12<=c&&24>c?1:0]};t.vqa=function(a,b){Sz(b);var c=Qz(b)%12||12;return this.Kg(Nr(c,a))};t.tqa=function(a,b){Sz(b);var c=Qz(b)%12;return this.Kg(Nr(c,a))};t.uqa=function(a,b){Sz(b);var c=Qz(b);return this.Kg(Nr(c,a))};t.Kqa=function(a,b){var c=b.getDay();switch(a){case 5:return this.Tc.Kia[c];case 4:return this.Tc.Mia[c];case 3:return this.Tc.cX[c];default:return this.Kg(Nr(c,1))}};
t.Lqa=function(a,b){var c=b.getMonth();switch(a){case 5:return this.Tc.Jia[c];case 4:return this.Tc.nB[c];case 3:return this.Tc.Lia[c];default:return this.Kg(Nr(c+1,a))}};t.Fqa=function(a,b){var c=Math.floor(b.getMonth()/3);return 4>a?this.Tc.Eia[c]:this.Tc.pia[c]};t.yqa=function(a,b){return this.Kg(Nr(b.getDate(),a))};t.Dqa=function(a,b){Sz(b);return this.Kg(Nr(b.getMinutes(),a))};t.Hqa=function(a,b){Sz(b);return this.Kg(Nr(b.getSeconds(),a))};
t.Qqa=function(a,b){var c=b.getFullYear(),e=b.getMonth(),f=b.getDate(),g=this.Tc.JJ,c=new Date(c,e,f),g=w(g)?g:3,e=this.Tc.IJ||0,f=((c.getDay()+6)%7-e+7)%7,g=c.valueOf()+864E5*((g-e+7)%7-f),c=(new Date((new Date(g)).getFullYear(),0,1)).valueOf();return this.Kg(Nr(Math.floor(Math.round((g-c)/864E5)/7)+1,a))};t.Oqa=function(a,b,c){c=c||Nz(b.getTimezoneOffset());return 4>a?c.Eta(b):this.Kg(c.nsa(b))};t.Pqa=function(a,b,c){c=c||Nz(b.getTimezoneOffset());return 4>a?c.Wta(b):c.hO(b)};
t.Mqa=function(a,b){b=b||Nz(a.getTimezoneOffset());return b.DV};t.Nqa=function(a,b,c){c=c||Nz(b.getTimezoneOffset());return 2>=a?c.DV:c.osa(b)};
t.Bqa=function(a,b,c,e,f){var g=a.length;switch(a.charAt(0)){case "G":return this.Aqa(g,c);case "y":return this.Rqa(g,c);case "M":return this.Eqa(g,c);case "k":return this.wqa(g,e);case "S":return this.Cqa(g,e);case "E":return this.zqa(g,c);case "a":return this.xqa(g,e);case "h":return this.vqa(g,e);case "K":return this.tqa(g,e);case "H":return this.uqa(g,e);case "c":return this.Kqa(g,c);case "L":return this.Lqa(g,c);case "Q":return this.Fqa(g,c);case "d":return this.yqa(g,c);case "m":return this.Dqa(g,
e);case "s":return this.Hqa(g,e);case "v":return this.Mqa(b,f);case "V":return this.Nqa(g,b,f);case "w":return this.Qqa(g,e);case "z":return this.Pqa(g,b,f);case "Z":return this.Oqa(g,b,f);default:return""}};var Wz=function(a,b,c,e,f,g,h,k,m){D(c);var p=Tz(c),u=Ty(a),y=Hy(a);y&&u.NP(new sy(y.left,y.top,y.right-y.left,y.bottom-y.top));var y=N(a),P=N(c);if(y.J()!=P.J()){var L=y.J().body,P=Ny(L,P.getWindow()),P=tw(P,Gy(L));!G||lu(9)||y.jq()||(P=tw(P,y.Kj()));u.left+=P.x;u.top+=P.y}a=Uz(a,b);b=u.left;a&4?b+=u.width:a&2&&(b+=u.width/2);u=new sw(b,u.top+(a&1?u.height:0));u=tw(u,p);f&&(u.x+=(a&4?-1:1)*f.x,u.y+=(a&1?-1:1)*f.y);var ma;if(h)if(m)ma=m;else if(ma=Hy(c))ma.top-=p.y,ma.right-=p.x,ma.bottom-=p.y,ma.left-=
p.x;return Vz(u,c,e,g,ma,h,k)},Tz=function(a){var b;if(a=a.offsetParent){var c="HTML"==a.tagName||a.tagName==rc;c&&"static"==zy(a)||(b=Gy(a),c||(c=(c=Xy(a))&&H?-a.scrollLeft:!c||Xt&&I("8")||yy(a,"overflowX")==zq?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,b=tw(b,new sw(c,a.scrollTop))))}return b||new sw},Vz=function(a,b,c,e,f,g,h){a=a.clone();var k=Uz(b,c);c=Sy(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var m=0;if(e||0!=k)k&4?a.x-=h.width+(e?e.right:0):k&2?a.x-=h.width/2:e&&(a.x+=
e.left),k&1?a.y-=h.height+(e?e.bottom:0):e&&(a.y+=e.top);if(g){if(f){e=a;k=h;m=0;65==(g&65)&&(e.x<f.left||e.x>=f.right)&&(g&=-2);132==(g&132)&&(e.y<f.top||e.y>=f.bottom)&&(g&=-5);e.x<f.left&&g&1&&(e.x=f.left,m|=1);if(g&16){var p=e.x;e.x<f.left&&(e.x=f.left,m|=4);e.x+k.width>f.right&&(k.width=Math.min(f.right-e.x,p+k.width-f.left),k.width=Math.max(k.width,0),m|=4)}e.x+k.width>f.right&&g&1&&(e.x=Math.max(f.right-k.width,f.left),m|=1);g&2&&(m|=(e.x<f.left?16:0)|(e.x+k.width>f.right?32:0));e.y<f.top&&
g&4&&(e.y=f.top,m|=2);g&32&&(p=e.y,e.y<f.top&&(e.y=f.top,m|=8),e.y+k.height>f.bottom&&(k.height=Math.min(f.bottom-e.y,p+k.height-f.top),k.height=Math.max(k.height,0),m|=8));e.y+k.height>f.bottom&&g&4&&(e.y=Math.max(f.bottom-k.height,f.top),m|=2);g&8&&(m|=(e.y<f.top?64:0)|(e.y+k.height>f.bottom?128:0));f=m}else f=256;m=f}g=new sy(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;f=m;if(f&496)return f;By(b,g.lua());h=g.ce();vw(c,h)||(c=h,h=Cw(b),a=N(h).jq(),!G||I("10")||a&&I("8")?dz(b,
c,"border-box"):(h=b.style,a?(a=bz(b),b=Iy(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth=c.width,h.pixelHeight=c.height)));return f},Uz=function(a,b){return(b&8&&Xy(a)?b^4:b)&-9};var Xz,Yz={sOa:Oe,DOa:vf,HOa:zf,XOa:"busy",fha:ig,wPa:"controls",PPa:Lg,TPa:Sg,nQa:"dropeffect",DQa:yh,QQa:"flowto",eRa:"grabbed",iRa:cj,HIDDEN:ej,zRa:"invalid",Tha:ak,HRa:bk,QRa:"level",URa:pk,ySa:"multiline",zSa:"multiselectable",USa:"orientation",XSa:Dl,qTa:Dm,sTa:"pressed",READONLY:"readonly",NTa:"relevant",RTa:"required",SELECTED:sn,lUa:"setsize",XUa:"sort",WVa:"valuemax",XVa:"valuemin",YVa:jq,ZVa:"valuetext"};var Zz={xOa:"alert",yOa:"alertdialog",BOa:"application",COa:"article",Zga:"banner",YOa:Vf,fPa:hg,lPa:"columnheader",mPa:rg,qPa:"complementary",tPa:"contentinfo",NPa:"definition",RPa:Ng,SPa:"directory",DW:$g,FORM:"form",Dha:Wi,hRa:Xi,Eha:"group",jRa:"heading",uRa:yj,Rr:mk,Uha:nk,SRa:ok,TRa:"listitem",WRa:"log",YRa:"main",cSa:"marquee",dSa:"math",gSa:"menu",hSa:"menubar",iSa:"menuitem",jSa:Fk,kSa:"menuitemradio",DSa:"navigation",LSa:"note",SSa:pl,nia:Fm,vTa:"progressbar",BTa:"radio",CTa:"radiogroup",
KTa:"region",YTa:"row",ZTa:"rowgroup",$Ta:"rowheader",bUa:"scrollbar",cUa:mn,jUa:wn,VUa:"slider",$Ua:"spinbutton",iVa:Fo,mVa:"tab",oVa:"tablist",pVa:"tabpanel",tVa:"textbox",uVa:"textinfo",wVa:"timer",yVa:"toolbar",zVa:"tooltip",AVa:"tree",BVa:"treegrid",CVa:"treeitem"};var $z=[rg,Wi,"group",ok,"menu","menubar","radiogroup","row","rowgroup","tablist","textbox","toolbar","tree","treegrid"],aA=function(a,b){b?(D(jt(Zz,b),"No such ARIA role "+b),a.setAttribute(cn,b)):a.removeAttribute(cn)},T=function(a,b,c){Sq(c)&&(c=c.join(" "));var e=bA(b);""===c||void 0==c?(Xz||(Xz={atomic:!1,autocomplete:Yk,dropeffect:Yk,haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:lq,readonly:!1,relevant:"additions text",required:!1,sort:Yk,busy:!1,disabled:!1,hidden:!1,invalid:Ah}),
c=Xz,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)},cA=function(a,b){a.removeAttribute(bA(b))},fA=function(a,b){var c=a.getAttribute(bA(b));return null==c||void 0==c?"":String(c)},gA=function(a){var b=fA(a,Oe);return Cw(a).getElementById(b)},hA=function(a,b){var c="";b&&(c=b.id,D(c,"The active element should have an id."));T(a,Oe,c)},iA=function(a){return fA(a,ak)},jA=function(a,b){T(a,ak,b)},bA=function(a){D(a,"ARIA attribute cannot be empty.");D(jt(Yz,a),"No such ARIA attribute "+
a);return"aria-"+a};var kA=function(a){if(a.classList)return a.classList;a=a.className;return z(a)&&a.match(/\S+/g)||[]},lA=function(a,b){a.className=b},mA=function(a,b){return a.classList?a.classList.contains(b):Gs(kA(a),b)},U=function(a,b){a.classList?a.classList.add(b):mA(a,b)||(a.className+=0<a.className.length?" "+b:b)},nA=function(a,b){if(a.classList)E(b,function(b){U(a,b)});else{var c={};E(kA(a),function(a){c[a]=!0});E(b,function(a){c[a]=!0});a.className="";for(var e in c)a.className+=0<a.className.length?" "+
e:e}},oA=function(a,b){a.classList?a.classList.remove(b):mA(a,b)&&(a.className=xs(kA(a),function(a){return a!=b}).join(" "))},pA=function(a,b){a.classList?E(b,function(b){oA(a,b)}):a.className=xs(kA(a),function(a){return!Gs(b,a)}).join(" ")},qA=function(a,b,c){c?U(a,b):oA(a,b)};var rA=function(a){F.call(this);this.Ua=a;this.Tb={}};C(rA,F);var sA=[];t=rA.prototype;t.o=function(a,b,c,e){return this.NF(a,b,c,e)};t.wl=function(a,b,c,e,f){return this.NF(a,b,c,e,f)};t.NF=function(a,b,c,e,f){Sq(b)||(b&&(sA[0]=b.toString()),b=sA);for(var g=0;g<b.length;g++){var h=K(a,b[g],c||this.handleEvent,e||!1,f||this.Ua||this);if(!h)break;this.Tb[h.key]=h}return this};t.qq=function(a,b,c,e){return this.M8(a,b,c,e)};
t.M8=function(a,b,c,e,f){if(Sq(b))for(var g=0;g<b.length;g++)this.M8(a,b[g],c,e,f);else{a=Nu(a,b,c||this.handleEvent,e,f||this.Ua||this);if(!a)return this;this.Tb[a.key]=a}return this};t.rq=function(a,b,c,e){return this.xAa(a,b,c,e)};t.xAa=function(a,b,c,e,f){b.o(a,c,e,f||this.Ua||this,this);return this};
t.Ja=function(a,b,c,e,f){if(Sq(b))for(var g=0;g<b.length;g++)this.Ja(a,b[g],c,e,f);else c=c||this.handleEvent,f=f||this.Ua||this,c=Gu(c),e=!!e,b=yu(a)?a.Lx(b,c,e,f):a?(a=Iu(a))?a.Lx(b,c,e,f):null:null,b&&(Pu(b),delete this.Tb[b.key]);return this};t.removeAll=function(){at(this.Tb,function(a,b){this.Tb.hasOwnProperty(b)&&Pu(a)},this);this.Tb={}};t.B=function(){rA.g.B.call(this);this.removeAll()};t.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var tA=function(a,b,c){M.call(this);this.target=a;this.handle=b||a;this.NQ=c||new sy(NaN,NaN,NaN,NaN);this.kd=Cw(a);this.N=new rA(this);this.wa(this.N);this.deltaY=this.deltaX=this.Tea=this.Sea=this.screenY=this.screenX=this.clientY=this.clientX=0;this.ec=!0;this.ip=!1;this.V$=!0;this.B6=0;this.Ir=this.yya=!1;K(this.handle,[lp,Kk],this.Kea,!1,this)};C(tA,M);var uA=v.document&&v.document.documentElement&&!!v.document.documentElement.setCapture,vA={oQa:gh,oB:Co,LOa:"beforedrag",GW:"drag",HW:rh};t=tA.prototype;
t.C=function(){return this.N};t.hU=function(a){this.NQ=a||new sy(NaN,NaN,NaN,NaN)};t.ra=function(a){this.ec=a};t.B=function(){tA.g.B.call(this);Ou(this.handle,[lp,Kk],this.Kea,!1,this);this.NZ();this.handle=this.target=null};t.Y7=function(){w(this.hk)||(this.hk=Xy(this.target));return this.hk};
t.Kea=function(a){var b=a.type==Kk;if(!this.ec||this.ip||b&&!a.qF())this.dispatchEvent(gh);else{if(0==this.B6)if(this.A2(a))this.ip=!0,this.V$&&b&&a.preventDefault();else return;else this.V$&&b&&a.preventDefault();this.xKa();this.clientX=this.Sea=a.clientX;this.clientY=this.Tea=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.ema();this.jS=N(this.kd).Kj()}};
t.xKa=function(){var a=this.kd,b=a.documentElement,c=!uA;this.N.o(a,["touchmove",Lk],this.xwa,c);this.N.o(a,[kp,Ok],this.$C,c);uA?(b.setCapture(!1),this.N.o(b,"losecapture",this.$C)):this.N.o(Mw(a),Qf,this.$C);G&&this.yya&&this.N.o(a,"dragstart",qu);this.EGa&&this.N.o(this.EGa,jn,this.ICa,c)};t.A2=function(a){return this.dispatchEvent(new wA(Co,this,a.clientX,a.clientY,a))};t.NZ=function(){this.N.removeAll();uA&&this.kd.releaseCapture()};
t.$C=function(a,b){this.NZ();this.ip?(this.ip=!1,this.dispatchEvent(new wA(rh,this,a.clientX,a.clientY,a,this.G8(this.deltaX),this.H8(this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent(gh)};
t.xwa=function(a){if(this.ec){var b=(this.Ir&&this.Y7()?-1:1)*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;if(!this.ip){var e=this.Sea-this.clientX,f=this.Tea-this.clientY;if(e*e+f*f>this.B6)if(this.A2(a))this.ip=!0;else{this.isDisposed()||this.$C(a);return}}c=this.nZ(b,c);b=c.x;c=c.y;this.ip&&this.dispatchEvent(new wA("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(this.u1(a,b,c,!1),a.preventDefault())}};
t.nZ=function(a,b){var c=N(this.kd).Kj();a+=c.x-this.jS.x;b+=c.y-this.jS.y;this.jS=c;this.deltaX+=a;this.deltaY+=b;return new sw(this.G8(this.deltaX),this.H8(this.deltaY))};t.ICa=function(a){var b=this.nZ(0,0);a.clientX=this.clientX;a.clientY=this.clientY;this.u1(a,b.x,b.y,!0)};t.u1=function(a,b,c){this.J0(b,c);this.dispatchEvent(new wA("drag",this,a.clientX,a.clientY,a,b,c))};
t.G8=function(a){var b=this.NQ,c=isNaN(b.left)?null:b.left,b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};t.H8=function(a){var b=this.NQ,c=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};t.ema=function(){this.deltaX=this.Ir?kz(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop};
t.J0=function(a,b){this.Ir&&this.Y7()?this.target.style.right=a+q:this.target.style.left=a+q;this.target.style.top=b+q};var wA=function(a,b,c,e,f,g,h){J.call(this,a);this.clientX=c;this.clientY=e;this.jla=f;this.left=w(g)?g:b.deltaX;this.top=w(h)?h:b.deltaY};C(wA,J);var xA=G?'javascript:""':Je;var yA=function(a){M.call(this);this.G=a;a=G?Ph:Qf;this.uAa=K(this.G,G?Oh:Nh,this,!G);this.vAa=K(this.G,a,this,!G)};C(yA,M);yA.prototype.handleEvent=function(a){var b=new vu(a.Vc);b.type=a.type==Oh||a.type==Nh?Oh:Ph;this.dispatchEvent(b)};yA.prototype.B=function(){yA.g.B.call(this);Pu(this.uAa);Pu(this.vAa);delete this.G};var zA=function(){};Qq(zA);zA.prototype.tG=0;zA.prototype.be=function(){return":"+(this.tG++).toString(36)};var BA=function(a){M.call(this);this.M=a||N();this.hk=AA;this.pa=null;this.ba=!1;this.G=null;this.hn=void 0;this.Ci=this.Wa=this.Z=this.Pd=null;this.Hga=!1};C(BA,M);BA.prototype.wya=zA.S();var AA=null,CA=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?gj:Jp;case 4:return b?"activate":Ig;case 8:return b?pn:"unselect";case 16:return b?"check":"uncheck";case 32:return b?Nh:Qf;case 64:return b?"open":og}throw Error("Invalid component state");};t=BA.prototype;
t.getId=function(){return this.pa||(this.pa=this.wya.be())};t.ki=function(a){this.Z&&this.Z.Ci&&(mt(this.Z.Ci,this.pa),nt(this.Z.Ci,a,this));this.pa=a};t.b=function(){return this.G};t.ae=function(){var a=this.G;D(a,"Can not call getElementStrict before rendering/decorating.");return a};t.Ab=function(a){this.G=a};t.JD=function(a){return this.G?this.M.JD(a,this.G):[]};t.Md=function(a){return this.G?this.M.Md(a,this.G):null};
t.Pf=function(a){var b=this.Md(a);D(b,"Expected element in component with class: %s",a);return b};t.C=function(){this.hn||(this.hn=new rA(this));return this.hn};t.Va=function(a){if(this==a)throw Error(we);if(a&&this.Z&&this.pa&&this.Z.Um(this.pa)&&this.Z!=a)throw Error(we);this.Z=a;BA.g.fo.call(this,a)};t.getParent=function(){return this.Z};t.fo=function(a){if(this.Z&&this.Z!=a)throw Error("Method not supported");BA.g.fo.call(this,a)};t.v=function(){return this.M};t.j=function(){this.G=this.M.createElement(d)};
t.ha=function(a){this.TS(a)};t.Haa=function(a){this.TS(a.parentNode,a)};t.TS=function(a,b){if(this.ba)throw Error(Cc);this.G||this.j();a?a.insertBefore(this.G,b||null):this.M.J().body.appendChild(this.G);this.Z&&!this.Z.ba||this.H()};t.la=function(a){if(this.ba)throw Error(Cc);if(a&&this.gd(a)){this.Hga=!0;var b=Cw(a);this.M&&this.M.J()==b||(this.M=N(a));this.jb(a);this.H()}else throw Error("Invalid element to decorate");};t.gd=function(){return!0};t.jb=function(a){this.G=a};
t.H=function(){this.ba=!0;this.fc(function(a){!a.ba&&a.b()&&a.H()})};t.Ya=function(){this.fc(function(a){a.ba&&a.Ya()});this.hn&&this.hn.removeAll();this.ba=!1};t.B=function(){this.ba&&this.Ya();this.hn&&(this.hn.dispose(),delete this.hn);this.fc(function(a){a.dispose()});!this.Hga&&this.G&&Zw(this.G);this.Z=this.Pd=this.G=this.Ci=this.Wa=null;BA.g.B.call(this)};t.Zh=function(a){return this.getId()+"."+a};t.X8=function(a){var b={},c;for(c in a)b[c]=this.Zh(a[c]);return b};
t.lr=function(a){this.Pd=a};t.Wm=function(a){if(!this.ba)throw Error("Operation not supported while component is not in document");return this.M.b(this.Zh(a))};t.sa=function(a,b){this.vi(a,this.ub(),b)};
t.vi=function(a,b,c){D(!!a,"Provided element must not be null.");if(a.ba&&(c||!this.ba))throw Error(Cc);if(0>b||b>this.ub())throw Error("Child component index out of bounds");this.Ci&&this.Wa||(this.Ci={},this.Wa=[]);if(a.getParent()==this){var e=a.getId();this.Ci[e]=a;Ls(this.Wa,a)}else nt(this.Ci,a.getId(),a);a.Va(this);Rs(this.Wa,b,0,a);a.ba&&this.ba&&a.getParent()==this?(c=this.U(),b=c.childNodes[b]||null,b!=a.b()&&c.insertBefore(a.b(),b)):c?(this.G||this.j(),b=this.Fa(b+1),a.TS(this.U(),b?b.G:
null)):this.ba&&!a.ba&&a.G&&a.G.parentNode&&1==a.G.parentNode.nodeType&&a.H()};t.U=function(){return this.G};t.qd=function(){null==this.hk&&(this.hk=Xy(this.ba?this.G:this.M.J().body));return this.hk};t.Tg=function(a){if(this.ba)throw Error(Cc);this.hk=a};t.We=function(){return!!this.Wa&&0!=this.Wa.length};t.ub=function(){return this.Wa?this.Wa.length:0};t.Um=function(a){if(this.Ci&&a){var b=this.Ci;a=(null!==b&&a in b?b[a]:void 0)||null}else a=null;return a};
t.Fa=function(a){return this.Wa?this.Wa[a]||null:null};t.fc=function(a,b){this.Wa&&E(this.Wa,a,b)};t.Gg=function(a){return this.Wa&&a?us(this.Wa,a):-1};t.removeChild=function(a,b){if(a){var c=z(a)?a:a.getId();a=this.Um(c);c&&a&&(mt(this.Ci,c),Ls(this.Wa,a),b&&(a.Ya(),a.G&&Zw(a.G)),a.Va(null))}if(!a)throw Error("Child is not in parent component");return a};t.WEa=function(a,b){return this.removeChild(this.Fa(a),b)};t.wh=function(a){for(var b=[];this.We();)b.push(this.WEa(0,a));return b};var DA=function(a,b){this.G=a;this.M=b};DA.prototype.AHa=function(a){if(a){this.Ft||(this.Ft=[]);a=this.M.ih(this.M.J().body);for(var b=0;b<a.length;b++){var c=a[b];c==this.G||fA(c,ej)||(T(c,ej,!0),this.Ft.push(c))}}else if(this.Ft){for(b=0;b<this.Ft.length;b++)cA(this.Ft[b],ej);this.Ft=null}};var EA=function(a,b){M.call(this);this.Ua=new rA(this);this.cA(a||null);b&&this.dg(b)};C(EA,M);t=EA.prototype;t.G=null;t.SY=!0;t.QY=null;t.RY=null;t.nq=!1;t.FKa=!1;t.A8=-1;t.CQ=-1;t.p6=!1;t.gpa=!0;t.mb=ip;t.ta=function(){return this.mb};t.dg=function(a){this.mb=a};t.b=function(){return this.G};t.cA=function(a){this.DM();this.G=a};t.Xu=function(a){this.DM();this.SY=a};t.Jca=function(a){this.DM();this.p6=a};t.uI=function(a,b){this.qv=a;this.It=b};t.C=function(){return this.Ua};
t.DM=function(){if(this.nq)throw Error("Can not change this state of the popup while showing.");};t.V=function(){return this.nq};t.sF=function(){return this.nq||150>B()-this.CQ};t.K=function(a){this.qv&&this.qv.stop();this.It&&this.It.stop();a?this.XU():this.Jt()};t.oa=Pq;
t.XU=function(){if(!this.nq&&this.LR()){if(!this.G)throw Error("Caller must call setElement before trying to show the popup");this.oa();var a=Cw(this.G);this.p6&&this.Ua.o(a,Xj,this.gCa,!0);if(this.SY)if(this.Ua.o(a,Kk,this.AG,!0),G){var b;try{b=a.activeElement}catch(e){}for(;b&&b.nodeName==od;){try{var c=mx(b)}catch(e){break}a=c;b=a.activeElement}this.Ua.o(a,Kk,this.AG,!0);this.Ua.o(a,Ig,this.Z9)}else this.Ua.o(a,Qf,this.Z9);this.mb==ip?this.UU():this.mb==Qk&&this.oa();this.nq=!0;this.A8=B();this.CQ=
-1;this.qv?(Nu(this.qv,rh,this.ke,!1,this),this.qv.play()):this.ke()}};t.Jt=function(a){if(!this.nq||!this.SBa(a))return!1;this.Ua&&this.Ua.removeAll();this.nq=!1;this.CQ=B();this.It?(Nu(this.It,rh,cr(this.q_,a),!1,this),this.It.play()):this.q_(a);return!0};t.q_=function(a){this.mb==ip?this.FKa?Xu(this.NE,0,this):this.NE():this.mb==Qk&&this.wBa();this.ci(a)};t.UU=function(){this.G.style.visibility=zq;S(this.G,!0)};t.NE=function(){this.G.style.visibility=ej;S(this.G,!1)};
t.wBa=function(){this.G.style.top=qb};t.LR=function(){return this.dispatchEvent(Lf)};t.ke=function(){this.dispatchEvent(Sn)};t.SBa=function(a){return this.dispatchEvent({type:Jf,target:a})};t.ci=function(a){this.dispatchEvent({type:fj,target:a})};t.AG=function(a){a=a.target;hx(this.G,a)||this.T7(a)||!this.m8(a)||this.PU()||this.Jt(a)};t.gCa=function(a){27==a.keyCode&&this.Jt(a.target)&&(a.preventDefault(),a.stopPropagation())};
t.Z9=function(a){if(this.gpa){var b=Cw(this.G);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||hx(this.G,a)||a.tagName==rc)return}else if(a.target!=b)return;this.PU()||this.Jt()}};t.T7=function(a){return As(this.QY||[],function(b){return a===b||hx(b,a)})};t.m8=function(a){return this.RY?hx(this.RY,a):!0};t.PU=function(){return 150>B()-this.A8};t.B=function(){EA.g.B.call(this);this.Ua.dispose();Rt(this.qv);Rt(this.It);delete this.G;delete this.Ua;delete this.QY};var FA=function(a,b){BA.call(this,b);this.HNa=!!a;this.eu=null};C(FA,BA);t=FA.prototype;t.Ni=null;t.bc=!1;t.ig=null;t.mf=null;t.Sd=null;t.Jo=!1;t.W=function(){return"goog-modalpopup"};t.Tm=function(){return this.ig};t.j=function(){FA.g.j.call(this);var a=this.b();D(a);var b=pr(this.W()).split(" ");nA(a,b);xx(a,!0);S(a,!1);this.a9();this.i0()};
t.a9=function(){this.HNa&&!this.mf&&(this.mf=this.v().j(tj,{frameborder:0,style:"border:0;vertical-align:bottom;",src:xA}),this.mf.className=this.W()+"-bg",S(this.mf,!1),Uy(this.mf,0));this.ig||(this.ig=this.v().j(d,this.W()+"-bg"),S(this.ig,!1))};t.i0=function(){this.Sd||(this.Sd=this.v().createElement(Td),S(this.Sd,!1),xx(this.Sd,!0),this.Sd.style.position=Ke)};t.Pda=function(){this.Jo=!0;try{this.Sd.focus()}catch(a){}Xu(this.Fz,0,this)};t.Fz=function(){this.Jo=!1};
t.qFa=function(){D(!!this.ig,"Background element must not be null.");this.mf&&Xw(this.mf,this.b());Xw(this.ig,this.b())};t.gd=function(a){return!!a&&a.tagName==d};t.jb=function(a){FA.g.jb.call(this,a);a=pr(this.W()).split(" ");nA(D(this.b()),a);this.a9();this.i0();xx(this.b(),!0);S(this.b(),!1)};t.H=function(){this.qFa();FA.g.H.call(this);Yw(this.Sd,this.b());this.Ni=new yA(this.v().J());this.C().o(this.Ni,Oh,this.onFocus);this.zT(!1)};
t.Ya=function(){this.V()&&this.K(!1);Rt(this.Ni);FA.g.Ya.call(this);Zw(this.mf);Zw(this.ig);Zw(this.Sd)};t.K=function(a){D(this.ba,"ModalPopup must be rendered first.");a!=this.bc&&(this.Mq&&this.Mq.stop(),this.$r&&this.$r.stop(),this.Lq&&this.Lq.stop(),this.Zr&&this.Zr.stop(),this.ba&&this.zT(a),a?this.XU():this.Jt())};t.zT=function(a){this.B9||(this.B9=new DA(this.ae(),this.M));this.B9.AHa(a)};t.uI=function(a,b,c,e){this.Mq=a;this.Lq=b;this.$r=c;this.Zr=e};
t.XU=function(){if(this.dispatchEvent(Lf)){try{this.eu=this.v().J().activeElement}catch(a){}this.YS();this.oa();this.C().o(this.v().getWindow(),$m,this.YS);this.hea(!0);this.focus();this.bc=!0;this.Mq&&this.$r?(Nu(this.Mq,rh,this.ke,!1,this),this.$r.play(),this.Mq.play()):this.ke()}};t.Jt=function(){this.dispatchEvent(Jf)&&(this.C().Ja(this.v().getWindow(),$m,this.YS),this.bc=!1,this.Lq&&this.Zr?(Nu(this.Lq,rh,this.ci,!1,this),this.Zr.play(),this.Lq.play()):this.ci(),this.fGa())};
t.fGa=function(){try{var a=this.v(),b=a.J().body,c=a.J().activeElement||b;if(!this.eu||this.eu==b){this.eu=null;return}(c==b||a.contains(this.b(),c))&&this.eu.focus()}catch(e){}this.eu=null};t.hea=function(a){this.mf&&S(this.mf,a);this.ig&&S(this.ig,a);S(this.b(),a);S(this.Sd,a)};t.ke=function(){this.dispatchEvent(Sn)};t.ci=function(){this.hea(!1);this.dispatchEvent(fj)};t.V=function(){return this.bc};t.focus=function(){this.L2()};
t.YS=function(){this.mf&&S(this.mf,!1);this.ig&&S(this.ig,!1);var a=this.v().J(),b=Jw(Mw(a)||window),c=Math.max(b.width,Math.max(a.body.scrollWidth,a.documentElement.scrollWidth)),a=Math.max(b.height,Math.max(a.body.scrollHeight,a.documentElement.scrollHeight));this.mf&&(S(this.mf,!0),Ry(this.mf,c,a));this.ig&&(S(this.ig,!0),Ry(this.ig,c,a))};
t.oa=function(){var a=this.v().J(),b=Mw(a)||window;if(zy(this.b())==Mh)var c=a=0;else c=this.v().Kj(),a=c.x,c=c.y;var e=Sy(this.b()),b=Jw(b),a=Math.max(a+b.width/2-e.width/2,0),c=Math.max(c+b.height/2-e.height/2,0);By(this.b(),a,c);By(this.Sd,a,c)};t.onFocus=function(a){this.Jo?this.Fz():a.target==this.Sd&&Xu(this.L2,0,this)};t.L2=function(){try{G&&this.v().J().body.focus(),this.b().focus()}catch(a){}};
t.B=function(){Rt(this.Mq);this.Mq=null;Rt(this.Lq);this.Lq=null;Rt(this.$r);this.$r=null;Rt(this.Zr);this.Zr=null;FA.g.B.call(this)};var HA=function(a,b,c){FA.call(this,b,c);this.Jf=a||"modal-dialog";this.Qc=GA()};C(HA,FA);t=HA.prototype;t.JM=!0;t.vy=!0;t.tR=!0;t.RC=!0;t.QB=.5;t.Td="";t.hd=null;t.eh=null;t.Mf=!1;t.Ec=null;t.Ff=null;t.$I=null;t.gf=null;t.uc=null;t.se=null;t.sz=Ng;t.W=function(){return this.Jf};t.Xc=function(a){this.Td=a;this.Ff&&nx(this.Ff,a)};t.Ue=function(){return this.Td};t.Je=function(a){this.nI(cw(a))};t.nI=function(a){this.hd=a;this.uc&&Aw(this.uc,a)};t.xb=function(){return null!=this.hd?$v(this.hd):""};
t.an=function(){return this.sz};t.uU=function(a){this.sz=a};t.Vq=function(){this.b()||this.ha()};t.U=function(){this.Vq();return this.uc};t.Ip=function(){this.Vq();return this.Ec};t.jua=function(){this.Vq();return this.Ff};t.lE=function(){this.Vq();return this.gf};t.hh=function(){this.Vq();return this.se};t.Vm=function(){this.Vq();return this.b()};t.Tm=function(){this.Vq();return HA.g.Tm.call(this)};t.JT=function(a){this.QB=a;this.b()&&(a=this.Tm())&&Uy(a,this.QB)};t.Zca=function(a){a!=this.tR&&this.$ca(a)};
t.$ca=function(a){this.tR=a;if(this.ba){var b=this.v(),c=this.Tm(),e=this.mf;a?(e&&b.iq(e,this.b()),b.iq(c,this.b())):(b.removeNode(e),b.removeNode(c))}this.V()&&this.zT(a)};t.zra=function(){return this.W()};t.aIa=function(a){this.RC=a;this.TT(a&&this.ba)};t.Kma=function(){return new tA(this.b(),this.Ec)};
t.TT=function(a){var b=pr(this.Jf+"-title-draggable").split(" ");this.b()&&(a?nA(D(this.Ec),b):pA(D(this.Ec),b));a&&!this.eh?(this.eh=this.Kma(),nA(D(this.Ec),b),K(this.eh,Co,this.ST,!1,this)):!a&&this.eh&&(this.eh.dispose(),this.eh=null)};
t.j=function(){HA.g.j.call(this);var a=this.b();D(a,"getElement() returns null");var b=this.v();this.Ec=b.j(d,this.Jf+"-title",this.Ff=b.j(Td,{className:this.Jf+"-title-text",id:this.getId()},this.Td),this.gf=b.j(Td,this.Jf+"-title-close"));Vw(a,this.Ec,this.uc=b.j(d,this.Jf+tb),this.se=b.j(d,this.Jf+"-buttons"));aA(this.Ff,"heading");aA(this.gf,Vf);xx(this.gf,!0);jA(this.gf,"Close");this.$I=this.Ff.id;aA(a,this.an());T(a,bk,this.$I||"");this.hd&&Aw(this.uc,this.hd);S(this.gf,this.vy);this.Qc&&this.Qc.zK(this.se);
S(this.se,!!this.Qc);this.JT(this.QB)};
t.jb=function(a){HA.g.jb.call(this,a);a=this.b();D(a,"The DOM element for dialog cannot be null.");var b=this.Jf+tb;this.uc=Ew(null,b,a)[0];this.uc||(this.uc=this.v().j(d,b),this.hd&&Aw(this.uc,this.hd),a.appendChild(this.uc));var b=this.Jf+"-title",c=this.Jf+"-title-text",e=this.Jf+"-title-close";(this.Ec=Ew(null,b,a)[0])?(this.Ff=Ew(null,c,this.Ec)[0],this.gf=Ew(null,e,this.Ec)[0]):(this.Ec=this.v().j(d,b),a.insertBefore(this.Ec,this.uc));this.Ff?(this.Td=zx(this.Ff),this.Ff.id||(this.Ff.id=this.getId())):
(this.Ff=Ow(Td,{className:c,id:this.getId()}),this.Ec.appendChild(this.Ff));this.$I=this.Ff.id;T(a,bk,this.$I||"");this.gf||(this.gf=this.v().j(Td,e),this.Ec.appendChild(this.gf));S(this.gf,this.vy);b=this.Jf+"-buttons";(this.se=Ew(null,b,a)[0])?(this.Qc=new IA(this.v()),this.Qc.la(this.se)):(this.se=this.v().j(d,b),a.appendChild(this.se),this.Qc&&this.Qc.zK(this.se),S(this.se,!!this.Qc));this.JT(this.QB)};
t.H=function(){HA.g.H.call(this);this.C().o(this.b(),Xj,this.Gq).o(this.b(),Yj,this.Gq);this.C().o(this.se,ng,this.UBa);this.TT(this.RC);this.C().o(this.gf,ng,this.RCa);var a=this.b();D(a,"The DOM element for dialog cannot be null");aA(a,this.an());""!==this.Ff.id&&T(a,bk,this.Ff.id);this.tR||this.$ca(!1)};t.Ya=function(){this.V()&&this.K(!1);this.TT(!1);HA.g.Ya.call(this)};t.K=function(a){a!=this.V()&&(this.ba||this.ha(),HA.g.K.call(this,a))};t.ke=function(){HA.g.ke.call(this);this.dispatchEvent("aftershow")};
t.ci=function(){HA.g.ci.call(this);this.dispatchEvent(Pe);this.Mf&&this.dispose()};t.ST=function(){var a=this.v().J(),b=Jw(Mw(a)||window),c=Math.max(a.body.scrollWidth,b.width),a=Math.max(a.body.scrollHeight,b.height),e=Sy(this.b());zy(this.b())==Mh?this.eh.hU(new sy(0,0,Math.max(0,b.width-e.width),Math.max(0,b.height-e.height))):this.eh.hU(new sy(0,0,c-e.width,a-e.height))};t.RCa=function(){this.VO()};
t.VO=function(){if(this.vy){var a=this.Qc,b=a&&a.Jk;b?(a=a.get(b),this.dispatchEvent(new JA(b,a))&&this.K(!1)):this.K(!1)}};t.Ica=function(a){this.vy=a;this.gf&&S(this.gf,this.vy)};t.yca=function(a){this.JM=a};t.Zu=function(a){this.Mf=a};t.MN=function(){return this.Mf};t.B=function(){this.se=this.gf=null;HA.g.B.call(this)};t.co=function(a){this.Qc=a;this.se&&(this.Qc?this.Qc.zK(this.se):Aw(this.se,pw),S(this.se,!!this.Qc))};
t.UBa=function(a){if((a=this.Rpa(a.target))&&!a.disabled){a=a.name;var b=this.Qc.get(a);this.dispatchEvent(new JA(a,b))&&this.K(!1)}};t.Rpa=function(a){for(;null!=a&&a!=this.se;){if(a.tagName==tc)return a;a=a.parentNode}return null};
t.Gq=function(a){var b=!1,c=!1,e=this.Qc,f=a.target;if(a.type==Xj)if(this.JM&&27==a.keyCode){var g=e&&e.Jk,f=f.tagName==Sd&&!f.disabled;g&&!f?(c=!0,b=e.get(g),b=this.dispatchEvent(new JA(g,b))):f||(b=!0)}else 9==a.keyCode&&a.shiftKey&&f==this.b()&&this.Pda();else if(13==a.keyCode){if(f.tagName==tc&&!f.disabled)g=f.name;else if(f==this.gf)this.VO();else if(e){var h=e.Xo,k=h&&e.ux(h),f=(f.tagName==ge||f.tagName==Sd||"A"==f.tagName)&&!f.disabled;!k||k.disabled||f||(g=h)}g&&e&&(c=!0,b=this.dispatchEvent(new JA(g,
String(e.get(g)))))}else f==this.gf&&32==a.keyCode&&this.VO();if(b||c)a.stopPropagation(),a.preventDefault();b&&this.K(!1)};var JA=function(a,b){this.type=Pg;this.key=a;this.caption=b};C(JA,J);var IA=function(a){this.M=a||N();Q.call(this)},KA;C(IA,Q);t=IA.prototype;t.Jf="goog-buttonset";t.Xo=null;t.G=null;t.Jk=null;t.set=function(a,b,c,e){Q.prototype.set.call(this,a,b);c&&(this.Xo=a);e&&(this.Jk=a);return this};t.Gb=function(a,b,c){return this.set(a.key,a.caption,b,c)};t.zK=function(a){this.G=a;this.ha()};
t.ha=function(){if(this.G){Aw(this.G,pw);var a=N(this.G);this.forEach(function(b,c){var e=a.j(tc,{name:c},b);c==this.Xo&&(e.className=this.Jf+ub);this.G.appendChild(e)},this)}};t.la=function(a){if(a&&1==a.nodeType){this.G=a;a=this.G.getElementsByTagName(tc);for(var b=0,c,e,f;c=a[b];b++)if(e=c.name||c.id,f=zx(c)||c.value,e){var g=0==b;this.set(e,f,g,c.name==Zf);g&&U(c,this.Jf+ub)}}};t.b=function(){return this.G};t.v=function(){return this.M};
t.ux=function(a){for(var b=this.b3(),c=0,e;e=b[c];c++)if(e.name==a||e.id==a)return e;return null};t.b3=function(){return this.G.getElementsByTagName(tc)};t.lHa=function(a){for(var b=this.b3(),c=0,e;e=b[c];c++)e.disabled=!a};
var LA={WW:dl,si:Zf,uWa:"yes",JSa:"no",Rv:"save",vPa:"continue"},MA={key:dl,caption:"OK"},NA={key:Zf,caption:Ac},OA={key:"yes",caption:"Yes"},PA={key:"no",caption:"No"},QA={key:"save",caption:"Save"},RA={key:"continue",caption:"Continue"},GA=function(){return(new IA).Gb(MA,!0).Gb(NA,!1,!0)};"undefined"!=typeof document&&(KA=(new IA).Gb(MA,!0,!0),GA(),(new IA).Gb(OA,!0).Gb(PA,!1,!0),(new IA).Gb(OA).Gb(PA,!0).Gb(NA,!1,!0),(new IA).Gb(RA).Gb(QA).Gb(NA,!0,!0));var SA=function(a,b,c,e){M.call(this);this.M=c||N();this.Hs=a;this.Vf=[];this.aMa=b?b:0;this.rga=!!e;this.Sk()};C(SA,M);t=SA.prototype;
t.Sk=function(){this.Hs.className="goog-tabpane";var a=this.xra();this.rg=this.M.j("UL",{className:Mi,tabIndex:"0"});this.Ld=this.M.j(d,"goog-tabpane-cont");this.Hs.appendChild(this.Ld);var b=es(this.Hs);switch(this.aMa){case 0:b.insertBefore(this.rg,this.Ld);b.insertBefore(this.H_(),this.Ld);U(b,"goog-tabpane-top");break;case 1:b.appendChild(this.rg);b.appendChild(this.H_());U(b,"goog-tabpane-bottom");break;case 2:b.insertBefore(this.rg,this.Ld);U(b,"goog-tabpane-left");break;case 3:b.insertBefore(this.rg,
this.Ld);U(b,"goog-tabpane-right");break;default:throw Error("Invalid tab location");}this.rg.tabIndex=0;K(this.rg,this.rga?Kk:ng,this.CG,!1,this);K(this.rg,Xj,this.ru,!1,this);this.kna(a)};t.H_=function(){Wy(".goog-tabpane-clear { clear: both; height: 0px; overflow: hidden }");return this.M.j(d,"goog-tabpane-clear")};t.B=function(){SA.g.B.call(this);Ou(this.rg,this.rga?Kk:ng,this.CG,!1,this);Ou(this.rg,Xj,this.ru,!1,this);delete this.Hs;this.Ld=this.rg=null};
t.xra=function(){for(var a=[],b=dx(this.Hs);b;)a.push(b),b=ex(b);return a};t.kna=function(a){for(var b,c=0;b=a[c];c++)this.Yv(new TA(b))};
t.Yv=function(a,b){a.Z&&a.Z!=this&&a.Z instanceof SA&&a.Z.mFa(a);var c=this.Vf.length;w(b)&&b!=c?(c=b,this.Vf.splice(c,0,a),this.rg.insertBefore(a.Jm,this.rg.childNodes[c])):(this.Vf.push(a),this.rg.appendChild(a.Jm));a.iA(this,c);this.He||(this.He=a,this.dispatchEvent(new UA(bg,this,this.He)));this.Ld.appendChild(a.Ld);a.LU(a==this.He);for(var e=c+1;c=this.Vf[e];e++)c.tn=e};
t.mFa=function(a){Vq(a)&&(a=this.Vf[a]);this.Vf.splice(a.tn,1);a.iA(null);Zw(a.Jm);Zw(a.Ld);for(var b=0;a=this.Vf[b];b++)a.iA(this,b)};t.Ox=function(a){return this.Vf[a]};t.pI=function(a){!a.isEnabled()||this.He&&a==this.He||(this.He.LU(!1),a.LU(!0),this.He=a,this.dispatchEvent(new UA(bg,this,this.He)))};t.vd=function(a){0<=a&&a<this.Vf.length&&this.pI(this.Vf[a])};t.Bg=function(){return this.He?this.He.tn:-1};t.Ota=function(){return this.He||null};t.U=function(){return this.Ld||null};
t.b=function(){return this.Hs||null};t.CG=function(a){for(var b=a.target;b!=this.rg;){if("LI"==b.tagName){var c;for(c=0;b=b.previousSibling;c++);this.vd(c);break}b=b.parentNode}a.preventDefault()};t.ru=function(a){if(!(a.altKey||a.metaKey||a.ctrlKey))switch(a.keyCode){case 37:a=this.He.tn-1;this.vd(0>a?this.Vf.length-1:a);break;case 39:a=this.He.tn+1;this.vd(a>=this.Vf.length?0:a);break;case 36:this.vd(0);break;case 35:this.vd(this.Vf.length-1)}};
var TA=function(a,b,c){var e,f;if(z(a)&&!w(b))e=a;else if(b)e=b,f=a;else if(a){if(b=dx(a))e=zx(b),b.parentNode.removeChild(b);f=a}this.M=c||N();this.Ld=f||this.M.j(d);this.Jm=this.M.j("LI",null,e);this.tn=this.Z=null;this.ec=!0};t=TA.prototype;t.Ue=function(){return zx(this.Jm)};t.Xc=function(a){nx(this.Jm,a)};t.Ip=function(){return this.Jm};t.U=function(){return this.Ld};t.getParent=function(){return this.Z};t.select=function(){this.Z&&this.Z.pI(this)};
t.ra=function(a){this.ec=a;this.Jm.className=a?Li:"goog-tabpane-tab-disabled"};t.isEnabled=function(){return this.ec};t.LU=function(a){this.isEnabled()&&(this.Ld.style.display=a?"":Yk,this.Jm.className=a?"goog-tabpane-tab-selected":Li)};t.iA=function(a,b){this.Z=a;this.tn=w(b)?b:null};var UA=function(a,b,c){J.call(this,a,b);this.page=c};C(UA,J);var VA=function(){};VA.prototype.oa=function(){};var WA=function(a,b,c){this.element=a;this.Ro=b;this.jDa=c};C(WA,VA);WA.prototype.oa=function(a,b,c){Wz(this.element,this.Ro,a,b,void 0,c,this.jDa)};var XA=function(a,b,c,e){WA.call(this,a,b);this.pq=c?5:0;this.gS=e||void 0};C(XA,WA);XA.prototype.Hsa=function(){return this.pq};XA.prototype.bv=function(a){this.pq=a};XA.prototype.oa=function(a,b,c,e){var f=Wz(this.element,this.Ro,a,b,null,c,10,e,this.gS);if(f&496){var g=this.zB(f,this.Ro);b=this.zB(f,b);f=Wz(this.element,g,a,b,null,c,10,e,this.gS);f&496&&(g=this.zB(f,g),b=this.zB(f,b),Wz(this.element,g,a,b,null,c,this.pq,e,this.gS))}};XA.prototype.zB=function(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};var YA=function(a,b,c,e){XA.call(this,a,b,c||e);(c||e)&&this.bv(65|(e?32:132))};C(YA,XA);var ZA=function(a,b){this.Am=a instanceof sw?a:new sw(a,b)};C(ZA,VA);ZA.prototype.oa=function(a,b,c,e){D(a);var f;f=Cw(a);var g=f.body;f=f.documentElement;f=new sw(g.scrollLeft||f.scrollLeft,g.scrollTop||f.scrollTop);g=this.Am.x+f.x;f=this.Am.y+f.y;var h=Tz(a),g=g-h.x;f-=h.y;Vz(new sw(g,f),a,b,c,null,null,e)};var $A=function(a,b){ZA.call(this,a,b)};C($A,ZA);$A.prototype.pq=0;$A.prototype.bv=function(a){this.pq=a};$A.prototype.oa=function(a,b,c,e){var f=Dy(a),f=Hy(f),g=N(a).u3(),g=new sw(this.Am.x+g.scrollLeft,this.Am.y+g.scrollTop),h=b,k=Vz(g,a,h,c,f,10,e);if(0!=(k&496)){if(k&16||k&32)h^=4;if(k&64||k&128)h^=1;k=Vz(g,a,h,c,f,10,e);0!=(k&496)&&Vz(g,a,b,c,f,this.pq,e)}};var aB=function(a,b){M.call(this);a&&this.Zg(a,b)};C(aB,M);t=aB.prototype;t.G=null;t.BF=null;t.wQ=null;t.CF=null;t.Yh=-1;t.ul=-1;t.sK=!1;
var bB={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},cB={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},dB=G||Wt||Yt&&I("525"),eB=$t&&H;t=aB.prototype;
t.oh=function(a){(Yt||Wt)&&(17==this.Yh&&!a.ctrlKey||18==this.Yh&&!a.altKey||$t&&91==this.Yh&&!a.metaKey)&&this.$aa();-1==this.Yh&&(a.ctrlKey&&17!=a.keyCode?this.Yh=17:a.altKey&&18!=a.keyCode?this.Yh=18:a.metaKey&&91!=a.keyCode&&(this.Yh=91));dB&&!ay(a.keyCode,this.Yh,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.ul=$x(a.keyCode),eB&&(this.sK=a.altKey))};t.$aa=function(){this.ul=this.Yh=-1};t.hwa=function(a){this.$aa();this.sK=a.altKey};
t.handleEvent=function(a){var b=a.Vc,c,e,f=b.altKey;G&&a.type==Yj?(c=this.ul,e=13!=c&&27!=c?b.keyCode:0):(Yt||Wt)&&a.type==Yj?(c=this.ul,e=0<=b.charCode&&63232>b.charCode&&Zx(c)?b.charCode:0):Vt&&!Yt?(c=this.ul,e=Zx(c)?b.keyCode:0):(c=b.keyCode||this.ul,e=b.charCode||0,eB&&(f=this.sK),$t&&63==e&&224==c&&(c=191));var g=c=$x(c),h=b.keyIdentifier;c?63232<=c&&c in bB?g=bB[c]:25==c&&a.shiftKey&&(g=9):h&&h in cB&&(g=cB[h]);a=g==this.Yh;this.Yh=g;b=new fB(g,e,a,b);b.altKey=f;this.dispatchEvent(b)};t.b=function(){return this.G};
t.Zg=function(a,b){this.CF&&this.detach();this.G=a;this.BF=K(this.G,Yj,this,b);this.wQ=K(this.G,Xj,this.oh,b,this);this.CF=K(this.G,Zj,this.hwa,b,this)};t.detach=function(){this.BF&&(Pu(this.BF),Pu(this.wQ),Pu(this.CF),this.CF=this.wQ=this.BF=null);this.G=null;this.ul=this.Yh=-1};t.B=function(){aB.g.B.call(this);this.detach()};var fB=function(a,b,c,e){vu.call(this,e);this.type=Wj;this.keyCode=a;this.charCode=b;this.repeat=c};C(fB,vu);var hB=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!Wq(b))throw Error("Invalid decorator function "+b);gB[a]=b},iB=function(a){var b;D(a);a=kA(a);for(var c=0,e=a.length;c<e;c++)if(b=a[c],b=b in gB?gB[b]():null)return b;return null},jB={},gB={};var kB=function(a){this.Io=a};Qq(kB);t=kB.prototype;t.Qe=function(){return this.Io};t.BM=function(a,b){a&&(a.tabIndex=b?0:-1)};t.j=function(a){return a.v().j(d,this.ye(a).join(" "))};t.U=function(a){return a};t.gd=function(a){return a.tagName==d};t.la=function(a,b){b.id&&a.ki(b.id);var c=this.W(),e=!1,f=kA(b);f&&E(f,function(b){b==c?e=!0:b&&this.AU(a,b,c)},this);e||U(b,c);this.G0(a,this.U(b));return b};
t.AU=function(a,b,c){b==c+wb?a.ra(!1):b==c+"-horizontal"?a.setOrientation(ij):b==c+"-vertical"&&a.setOrientation(lq)};t.G0=function(a,b,c){if(b){c=c||b.firstChild;for(var e;c&&c.parentNode==b;){e=c.nextSibling;if(1==c.nodeType){var f=this.Ax(c);f&&(f.Ab(c),a.isEnabled()||f.ra(!1),a.sa(f),f.la(c))}else c.nodeValue&&""!=pr(c.nodeValue)||b.removeChild(c);c=e}}};t.Ax=function(a){return iB(a)};
t.Od=function(a){a=a.b();D(a,"The container DOM element cannot be null.");Zy(a,!0,H);G&&(a.hideFocus=!0);var b=this.Qe();b&&aA(a,b)};t.wc=function(a){return a.b()};t.W=function(){return"goog-container"};t.ye=function(a){var b=this.W(),c=a.Nj()==ij,c=[b,c?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+wb);return c};t.p3=function(){return lq};var lB=function(){},mB;Qq(lB);var nB=function(a,b){var c=new a;c.W=function(){return b};return c},oB={button:"pressed",checkbox:ig,menuitem:sn,menuitemcheckbox:ig,menuitemradio:ig,radio:ig,tab:sn,treeitem:sn};t=lB.prototype;t.Qe=function(){};t.j=function(a){return a.v().j(d,this.ye(a).join(" "),a.xb())};t.U=function(a){return a};t.Js=function(a,b,c){if(a=a.b?a.b():a){var e=[b];G&&!I("7")&&(e=this.uN(kA(a),b),e.push(b));(c?nA:pA)(a,e)}};t.G1=function(a,b,c){this.Js(a,b,c)};t.gd=function(){return!0};
t.la=function(a,b){b.id&&a.ki(b.id);var c=this.U(b);c&&c.firstChild?a.Yu(c.firstChild.nextSibling?Os(c.childNodes):c.firstChild):a.Yu(null);var e=0,f=this.W(),g=this.lh(),h=!1,k=!1,m=!1,p=Os(kA(b));E(p,function(a){h||a!=f?k||a!=g?e|=this.jE(a):k=!0:(h=!0,g==f&&(k=!0));1==this.jE(a)&&(es(c),wx(c)&&xx(c,!1))},this);a.BU(e);h||(p.push(f),g==f&&(k=!0));k||p.push(g);var u=a.Li;u&&p.push.apply(p,u);if(G&&!I("7")){var y=this.uN(p);0<y.length&&(p.push.apply(p,y),m=!0)}h&&k&&!u&&!m||lA(b,p.join(" "));return b};
t.Od=function(a){a.qd()&&this.Tg(a.b(),!0);a.isEnabled()&&this.ef(a,a.V())};t.FT=function(a,b){var c=b||this.Qe();if(c){D(a,me);var e=a.getAttribute(cn)||null;c!=e&&aA(a,c)}};t.jca=function(a,b){D(a);D(b);var c=a.wY;null!=c&&this.ET(b,c);a.V()||T(b,ej,!a.V());a.isEnabled()||this.wk(b,1,!a.isEnabled());a.Db(8)&&this.wk(b,8,a.ge());a.Db(16)&&this.wk(b,16,a.wn());a.Db(64)&&this.wk(b,64,a.Ee())};t.ET=function(a,b){jA(a,b)};t.Uu=function(a,b){Zy(a,!b,!G&&!Vt)};
t.Tg=function(a,b){this.Js(a,this.lh()+"-rtl",b)};t.tl=function(a){var b;return a.Db(32)&&(b=a.wc())?wx(b):!1};t.ef=function(a,b){var c;if(a.Db(32)&&(c=a.wc())){if(!b&&a.lF()){try{c.blur()}catch(e){}a.lF()&&a.Sh(null)}wx(c)!=b&&xx(c,b)}};t.K=function(a,b){S(a,b);a&&T(a,ej,!b)};t.setState=function(a,b,c){var e=a.b();if(e){var f=this.xx(b);f&&this.Js(a,f,c);this.wk(e,b,c)}};
t.wk=function(a,b,c){mB||(mB={1:Sg,8:sn,16:ig,64:yh});D(a,me);b=mB[b];var e=a.getAttribute(cn)||null;e&&(e=oB[e]||b,b=b==ig||b==sn?e:b);b&&T(a,b,c)};t.hb=function(a,b){var c=this.U(a);if(c&&(Ww(c),b))if(z(b))nx(c,b);else{var e=function(a){if(a){var b=Cw(c);c.appendChild(z(a)?b.createTextNode(a):a)}};Sq(b)?E(b,e):!Tq(b)||"nodeType"in b?e(b):E(Os(b),e)}};t.wc=function(a){return a.b()};t.W=function(){return ni};t.M3=function(){return[]};t.lh=function(){return this.W()};
t.ye=function(a){var b=this.W(),c=[b],e=this.lh();e!=b&&c.push(e);b=this.Ara(a.getState());c.push.apply(c,b);(a=a.Li)&&c.push.apply(c,a);G&&!I("7")&&c.push.apply(c,this.uN(c));return c};t.uN=function(a,b){var c=[];b&&(a=Ns(a,[b]));E(this.M3(),function(e){!Bs(e,cr(Gs,a))||b&&!Gs(e,b)||c.push(e.join("_"))});return c};t.Ara=function(a){for(var b=[];a;){var c=a&-a;b.push(this.xx(c));a&=~c}return b};t.xx=function(a){this.kC||this.G_();return this.kC[a]};
t.jE=function(a){this.Uea||this.yna();a=parseInt(this.Uea[a],10);return isNaN(a)?0:a};t.G_=function(){var a=this.lh(),b=!Dr(a.replace(/\xa0|\s/g," ")," ");D(b,"ControlRenderer has an invalid css class: '"+a+"'");this.kC={1:a+wb,2:a+"-hover",4:a+"-active",8:a+"-selected",16:a+"-checked",32:a+"-focused",64:a+"-open"}};t.yna=function(){this.kC||this.G_();this.Uea=qt(this.kC)};var pB=function(a,b,c){BA.call(this,c);if(!b){b=this.constructor;for(var e;b;){e=$q(b);if(e=jB[e])break;b=b.g?b.g.constructor:null}b=e?Wq(e.S)?e.S():new e:null}this.O=b;this.Yu(w(a)?a:null);this.wY=null};C(pB,BA);t=pB.prototype;t.hd=null;t.ua=0;t.FA=39;t.OB=255;t.II=0;t.bc=!0;t.Li=null;t.Rp=!0;t.GB=!1;t.sz=null;t.eI=function(a){this.ba&&a!=this.Rp&&this.L1(a);this.Rp=a};t.wc=function(){return this.O.wc(this)};t.Kx=function(){return this.Cc||(this.Cc=new aB)};
t.lf=function(a){a&&(this.Li?Gs(this.Li,a)||this.Li.push(a):this.Li=[a],this.O.G1(this,a,!0))};t.LS=function(a){a&&this.Li&&Ls(this.Li,a)&&(0==this.Li.length&&(this.Li=null),this.O.G1(this,a,!1))};t.Js=function(a,b){b?this.lf(a):this.LS(a)};t.j=function(){var a=this.O.j(this);this.Ab(a);this.O.FT(a,this.an());this.GB||this.O.Uu(a,!1);this.V()||this.O.K(a,!1)};t.an=function(){return this.sz};t.uU=function(a){this.sz=a};t.ET=function(a){this.wY=a;var b=this.b();b&&this.O.ET(b,a)};t.U=function(){return this.O.U(this.b())};
t.gd=function(a){return this.O.gd(a)};t.jb=function(a){a=this.O.la(this,a);this.Ab(a);this.O.FT(a,this.an());this.GB||this.O.Uu(a,!1);this.bc=a.style.display!=Yk};t.H=function(){pB.g.H.call(this);this.O.jca(this,this.ae());this.O.Od(this);if(this.FA&-2&&(this.Rp&&this.L1(!0),this.Db(32))){var a=this.wc();if(a){var b=this.Kx();b.Zg(a);this.C().o(b,Wj,this.zc).o(a,Nh,this.Cg).o(a,Qf,this.Sh)}}};
t.L1=function(a){var b=this.C(),c=this.b();a?(b.o(c,Nk,this.Th).o(c,Kk,this.Nd).o(c,Ok,this.ph).o(c,Mk,this.ny),this.dy!=Pq&&b.o(c,Ag,this.dy),G&&(I(9)||b.o(c,Hg,this.Z4),this.Ay||(this.Ay=new qB(this),this.wa(this.Ay)))):(b.Ja(c,Nk,this.Th).Ja(c,Kk,this.Nd).Ja(c,Ok,this.ph).Ja(c,Mk,this.ny),this.dy!=Pq&&b.Ja(c,Ag,this.dy),G&&(I(9)||b.Ja(c,Hg,this.Z4),Rt(this.Ay),this.Ay=null))};t.Ya=function(){pB.g.Ya.call(this);this.Cc&&this.Cc.detach();this.V()&&this.isEnabled()&&this.O.ef(this,!1)};
t.B=function(){pB.g.B.call(this);this.Cc&&(this.Cc.dispose(),delete this.Cc);delete this.O;this.Ay=this.Li=this.hd=null};t.xb=function(){return this.hd};t.hb=function(a){this.O.hb(this.b(),a);this.Yu(a)};t.Yu=function(a){this.hd=a};t.Qh=function(){var a=this.xb();if(!a)return"";a=z(a)?a:Sq(a)?ys(a,Ax).join(""):zx(a);return or(a)};t.er=function(a){this.hb(a)};t.Tg=function(a){pB.g.Tg.call(this,a);var b=this.b();b&&this.O.Tg(b,a)};t.Uu=function(a){this.GB=a;var b=this.b();b&&this.O.Uu(b,a)};t.V=function(){return this.bc};
t.K=function(a,b){if(b||this.bc!=a&&this.dispatchEvent(a?Sn:fj)){var c=this.b();c&&this.O.K(c,a);this.isEnabled()&&this.O.ef(this,a);this.bc=a;return!0}return!1};t.isEnabled=function(){return!this.Uh(1)};t.Gza=function(){var a=this.getParent();return!!a&&typeof a.isEnabled==Yh&&!a.isEnabled()};t.ra=function(a){!this.Gza()&&this.mq(1,!a)&&(a||(this.setActive(!1),this.Hd(!1)),this.V()&&this.O.ef(this,a),this.setState(1,!a,!0))};t.ZP=function(){return this.Uh(2)};
t.Hd=function(a){this.mq(2,a)&&this.setState(2,a)};t.Bc=function(){return this.Uh(4)};t.setActive=function(a){this.mq(4,a)&&this.setState(4,a)};t.ge=function(){return this.Uh(8)};t.cg=function(a){this.mq(8,a)&&this.setState(8,a)};t.wn=function(){return this.Uh(16)};t.Bf=function(a){this.mq(16,a)&&this.setState(16,a)};t.lF=function(){return this.Uh(32)};t.ir=function(a){this.mq(32,a)&&this.setState(32,a)};t.Ee=function(){return this.Uh(64)};t.Jb=function(a){this.mq(64,a)&&this.setState(64,a)};
t.getState=function(){return this.ua};t.Uh=function(a){return!!(this.ua&a)};t.setState=function(a,b,c){c||1!=a?this.Db(a)&&b!=this.Uh(a)&&(this.O.setState(this,a,b),this.ua=b?this.ua|a:this.ua&~a):this.ra(!b)};t.BU=function(a){this.ua=a};t.Db=function(a){return!!(this.FA&a)};t.Fb=function(a,b){if(this.ba&&this.Uh(a)&&!b)throw Error(Cc);!b&&this.Uh(a)&&this.setState(a,!1);this.FA=b?this.FA|a:this.FA&~a};t.qh=function(a){return!!(this.OB&a)&&this.Db(a)};
t.IT=function(a,b){this.OB=b?this.OB|a:this.OB&~a};t.$z=function(a,b){this.II=b?this.II|a:this.II&~a};t.mq=function(a,b){return this.Db(a)&&this.Uh(a)!=b&&(!(this.II&a)||this.dispatchEvent(CA(a,b)))&&!this.isDisposed()};t.Th=function(a){!rB(a,this.b())&&this.dispatchEvent("enter")&&this.isEnabled()&&this.qh(2)&&this.Hd(!0)};t.ny=function(a){!rB(a,this.b())&&this.dispatchEvent("leave")&&(this.qh(4)&&this.setActive(!1),this.qh(2)&&this.Hd(!1))};t.dy=Pq;
var rB=function(a,b){return!!a.relatedTarget&&hx(b,a.relatedTarget)};t=pB.prototype;t.Nd=function(a){this.isEnabled()&&(this.qh(2)&&this.Hd(!0),a.qF()&&(this.qh(4)&&this.setActive(!0),this.O&&this.O.tl(this)&&this.wc().focus()));!this.GB&&a.qF()&&a.preventDefault()};t.ph=function(a){this.isEnabled()&&(this.qh(2)&&this.Hd(!0),this.Bc()&&this.Ze(a)&&this.qh(4)&&this.setActive(!1))};t.Z4=function(a){this.isEnabled()&&this.Ze(a)};
t.Ze=function(a){this.qh(16)&&this.Bf(!this.wn());this.qh(8)&&this.cg(!0);this.qh(64)&&this.Jb(!this.Ee());var b=new J(Le,this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.qz=a.qz);return this.dispatchEvent(b)};t.Cg=function(){this.qh(32)&&this.ir(!0)};t.Sh=function(){this.qh(4)&&this.setActive(!1);this.qh(32)&&this.ir(!1)};t.zc=function(a){return this.V()&&this.isEnabled()&&this.Ce(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
t.Ce=function(a){return 13==a.keyCode&&this.Ze(a)};if(!Wq(pB))throw Error("Invalid component class "+pB);if(!Wq(lB))throw Error("Invalid renderer class "+lB);var sB=$q(pB);jB[sB]=lB;hB(ni,function(){return new pB(null)});var qB=function(a){F.call(this);this.vC=a;this.mC=!1;this.Ua=new rA(this);this.wa(this.Ua);a=this.vC.ae();this.Ua.o(a,Kk,this.wt).o(a,Ok,this.BE).o(a,ng,this.Op)};C(qB,F);var tB=!G||lu(9);qB.prototype.wt=function(){this.mC=!1};qB.prototype.BE=function(){this.mC=!0};
var uB=function(a,b){if(!tB)return a.button=0,a.type=b,a;var c=document.createEvent("MouseEvents");c.initMouseEvent(b,a.bubbles,a.cancelable,a.view||null,a.detail,a.screenX,a.screenY,a.clientX,a.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,a.relatedTarget||null);return c};qB.prototype.Op=function(a){if(this.mC)this.mC=!1;else{var b=a.Vc,c=b.button,e=b.type,f=uB(b,Kk);this.vC.Nd(new vu(f,a.currentTarget));f=uB(b,Ok);this.vC.ph(new vu(f,a.currentTarget));tB||(b.button=c,b.type=e)}};
qB.prototype.B=function(){this.vC=null;qB.g.B.call(this)};var vB=function(a,b,c){BA.call(this,c);this.O=b||kB.S();this.$c=a||this.O.p3()};C(vB,BA);t=vB.prototype;t.xQ=null;t.Cc=null;t.O=null;t.$c=null;t.bc=!0;t.ec=!0;t.hN=!0;t.yb=-1;t.le=null;t.lG=!1;t.jY=!1;t.v$=!0;t.Mk=null;t.wc=function(){return this.xQ||this.O.wc(this)};t.Kx=function(){return this.Cc||(this.Cc=new aB(this.wc()))};t.j=function(){this.Ab(this.O.j(this))};t.U=function(){return this.O.U(this.b())};t.gd=function(a){return this.O.gd(a)};
t.jb=function(a){this.Ab(this.O.la(this,a));a.style.display==Yk&&(this.bc=!1)};t.H=function(){vB.g.H.call(this);this.fc(function(a){a.ba&&this.raa(a)},this);var a=this.b();this.O.Od(this);this.K(this.bc,!0);this.C().o(this,"enter",this.HO).o(this,gj,this.JO).o(this,Jp,this.WO).o(this,"open",this.Bwa).o(this,og,this.GO).o(a,Kk,this.Nd).o(Cw(a),Ok,this.vva).o(a,[Kk,Ok,Nk,Mk,Ag],this.cva);this.tl()&&this.I1(!0)};
t.I1=function(a){var b=this.C(),c=this.wc();a?b.o(c,Nh,this.Cg).o(c,Qf,this.Sh).o(this.Kx(),Wj,this.zc):b.Ja(c,Nh,this.Cg).Ja(c,Qf,this.Sh).Ja(this.Kx(),Wj,this.zc)};t.Ya=function(){this.ad(-1);this.le&&this.le.Jb(!1);this.lG=!1;vB.g.Ya.call(this)};t.B=function(){vB.g.B.call(this);this.Cc&&(this.Cc.dispose(),this.Cc=null);this.O=this.le=this.Mk=this.xQ=null};t.HO=function(){return!0};
t.JO=function(a){var b=this.Gg(a.target);if(-1<b&&b!=this.yb){var c=this.el();c&&c.Hd(!1);this.yb=b;c=this.el();this.lG&&c.setActive(!0);this.v$&&this.le&&c!=this.le&&(c.Db(64)?c.Jb(!0):this.le.Jb(!1))}b=this.b();D(b,le);null!=a.target.b()&&T(b,Oe,a.target.b().id)};t.WO=function(a){a.target==this.el()&&(this.yb=-1);a=this.b();D(a,le);cA(a,Oe)};t.Bwa=function(a){(a=a.target)&&a!=this.le&&a.getParent()==this&&(this.le&&this.le.Jb(!1),this.le=a)};
t.GO=function(a){a.target==this.le&&(this.le=null);var b=this.b(),c=a.target.b();b&&a.target.ZP()&&c&&hA(b,c)};t.Nd=function(a){this.ec&&this.eo(!0);var b=this.wc();b&&wx(b)?b.focus():a.preventDefault()};t.vva=function(){this.eo(!1)};t.cva=function(a){var b=this.qta(a.target);if(b)switch(a.type){case Kk:b.Nd(a);break;case Ok:b.ph(a);break;case Nk:b.Th(a);break;case Mk:b.ny(a);break;case Ag:b.dy(a)}};
t.qta=function(a){if(this.Mk)for(var b=this.b();a&&a!==b;){var c=a.id;if(c in this.Mk)return this.Mk[c];a=a.parentNode}return null};t.Cg=function(){};t.Sh=function(){this.ad(-1);this.eo(!1);this.le&&this.le.Jb(!1)};t.zc=function(a){return this.isEnabled()&&this.V()&&(0!=this.ub()||this.xQ)&&this.Ce(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
t.Ce=function(a){var b=this.el();if(b&&typeof b.zc==Yh&&b.zc(a)||this.le&&this.le!=b&&typeof this.le.zc==Yh&&this.le.zc(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.tl())this.wc().blur();else return!1;break;case 36:this.yy();break;case 35:this.mya();break;case 38:if(this.$c==lq)this.jP();else return!1;break;case 37:if(this.$c==ij)this.qd()?this.iP():this.jP();else return!1;break;case 40:if(this.$c==lq)this.iP();else return!1;break;case 39:if(this.$c==
ij)this.qd()?this.jP():this.iP();else return!1;break;default:return!1}return!0};t.raa=function(a){var b=a.b(),b=b.id||(b.id=a.getId());this.Mk||(this.Mk={});this.Mk[b]=a};t.sa=function(a,b){gs(a,pB,"The child of a container must be a control");vB.g.sa.call(this,a,b)};t.vi=function(a,b,c){gs(a,pB);a.$z(2,!0);a.$z(64,!0);!this.tl()&&this.jY||a.Fb(32,!1);a.eI(!1);var e=a.getParent()==this?this.Gg(a):-1;vB.g.vi.call(this,a,b,c);a.ba&&this.ba&&this.raa(a);this.aNa(e,b)};
t.aNa=function(a,b){-1==a&&(a=this.ub());a==this.yb?this.yb=Math.min(this.ub()-1,b):a>this.yb&&b<=this.yb?this.yb++:a<this.yb&&b>this.yb&&this.yb--};t.removeChild=function(a,b){a=z(a)?this.Um(a):a;gs(a,pB);if(a){var c=this.Gg(a);-1!=c&&(c==this.yb?(a.Hd(!1),this.yb=-1):c<this.yb&&this.yb--);(c=a.b())&&c.id&&this.Mk&&mt(this.Mk,c.id)}a=vB.g.removeChild.call(this,a,b);a.eI(!0);return a};t.Nj=function(){return this.$c};t.setOrientation=function(a){if(this.b())throw Error(Cc);this.$c=a};t.V=function(){return this.bc};
t.K=function(a,b){if(b||this.bc!=a&&this.dispatchEvent(a?Sn:fj)){this.bc=a;var c=this.b();c&&(S(c,a),this.tl()&&this.O.BM(this.wc(),this.ec&&this.bc),b||this.dispatchEvent(this.bc?"aftershow":Pe));return!0}return!1};t.isEnabled=function(){return this.ec};
t.ra=function(a){this.ec!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.ec=!0,this.fc(function(a){a.Iga?delete a.Iga:a.ra(!0)})):(this.fc(function(a){a.isEnabled()?a.ra(!1):a.Iga=!0}),this.ec=!1,this.eo(!1)),this.tl()&&this.O.BM(this.wc(),a&&this.bc))};t.tl=function(){return this.hN};t.ef=function(a){a!=this.hN&&this.ba&&this.I1(a);this.hN=a;this.ec&&this.bc&&this.O.BM(this.wc(),a)};t.Eca=function(a){this.jY=a};t.dJa=function(a){this.v$=a};
t.ad=function(a){(a=this.Fa(a))?a.Hd(!0):-1<this.yb&&this.el().Hd(!1)};t.Hd=function(a){this.ad(this.Gg(a))};t.el=function(){return this.Fa(this.yb)};t.yy=function(){this.Kt(function(a,b){return(a+1)%b},this.ub()-1)};t.mya=function(){this.Kt(function(a,b){a--;return 0>a?b-1:a},0)};t.iP=function(){this.Kt(function(a,b){return(a+1)%b},this.yb)};t.jP=function(){this.Kt(function(a,b){a--;return 0>a?b-1:a},this.yb)};
t.Kt=function(a,b){for(var c=0>b?this.Gg(this.le):b,e=this.ub(),c=a.call(this,c,e),f=0;f<=e;){var g=this.Fa(c);if(g&&this.dC(g))return this.dU(c),!0;f++;c=a.call(this,c,e)}return!1};t.dC=function(a){return a.V()&&a.isEnabled()&&a.Db(2)};t.dU=function(a){this.ad(a)};t.eo=function(a){this.lG=a};var wB=function(){};C(wB,lB);Qq(wB);wB.prototype.W=function(){return Bi};var xB=function(a,b,c){pB.call(this,a,c||wB.S(),b);this.Fb(1,!1);this.Fb(2,!1);this.Fb(4,!1);this.Fb(32,!1);this.BU(1)};C(xB,pB);hB(Bi,function(){return new xB(null)});var yB=function(){this.aL=[]};C(yB,lB);Qq(yB);t=yB.prototype;t.Ys=function(a){var b=this.aL[a];if(!b){switch(a){case 0:b=this.lh()+"-highlight";break;case 1:b=this.lh()+"-checkbox";break;case 2:b=this.lh()+tb}this.aL[a]=b}return b};t.Qe=function(){return"menuitem"};t.j=function(a){var b=a.v().j(d,this.ye(a).join(" "),this.J_(a.xb(),a.v()));this.YT(a,b,a.Db(8)||a.Db(16));return b};t.U=function(a){return a&&a.firstChild};
t.la=function(a,b){D(b);this.Nxa(b)||b.appendChild(this.J_(b.childNodes,a.v()));mA(b,Fi)&&(a.ZH(!0),this.ZH(a,b,!0));return yB.g.la.call(this,a,b)};t.hb=function(a,b){var c=this.U(a),e=this.$O(a)?c.firstChild:null;yB.g.hb.call(this,a,b);e&&!this.$O(a)&&c.insertBefore(e,c.firstChild||null)};t.Nxa=function(a){a=dx(a);var b=this.Ys(2);return!!a&&mA(a,b)};t.J_=function(a,b){var c=this.Ys(2);return b.j(d,c,a)};t.kA=function(a,b,c){a&&b&&this.YT(a,b,c)};t.ZH=function(a,b,c){a&&b&&this.YT(a,b,c)};
t.$O=function(a){if(a=this.U(a)){a=a.firstChild;var b=this.Ys(1);return!!a&&gx(a)&&mA(a,b)}return!1};t.YT=function(a,b,c){this.FT(b,a.an());this.jca(a,b);c!=this.$O(b)&&(qA(b,Fi,c),b=this.U(b),c?(c=this.Ys(1),b.insertBefore(a.v().j(d,c),b.firstChild||null)):b.removeChild(b.firstChild))};t.xx=function(a){switch(a){case 2:return this.Ys(0);case 16:case 8:return Gi;default:return yB.g.xx.call(this,a)}};
t.jE=function(a){var b=this.Ys(0);switch(a){case Gi:return 16;case b:return 2;default:return yB.g.jE.call(this,a)}};t.W=function(){return"goog-menuitem"};var zB=function(a,b,c,e){pB.call(this,a,e||yB.S(),c);this.setValue(b)};C(zB,pB);t=zB.prototype;t.getValue=function(){var a=this.Pd;return null!=a?a:this.Qh()};t.setValue=function(a){this.lr(a)};t.Fb=function(a,b){zB.g.Fb.call(this,a,b);switch(a){case 8:this.CJa(b);break;case 16:this.FHa(b)}};t.kA=function(a){this.Fb(8,a)};t.CJa=function(a){this.wn()&&!a&&this.Bf(!1);var b=this.b();b&&this.O.kA(this,b,a)};t.ZH=function(a){this.Fb(16,a)};t.FHa=function(a){var b=this.b();b&&this.O.ZH(this,b,a)};
t.Qh=function(){var a=this.xb();return Sq(a)?(a=ys(a,function(a){return gx(a)&&(mA(a,Ci)||mA(a,"goog-menuitem-mnemonic-separator"))?"":Ax(a)}).join(""),or(a)):zB.g.Qh.call(this)};t.ph=function(a){var b=this.getParent();if(b){var c=b.x$;b.x$=null;if(b=c&&Vq(a.clientX))b=new sw(a.clientX,a.clientY),b=c==b?!0:c&&b?c.x==b.x&&c.y==b.y:!1;if(b)return}zB.g.ph.call(this,a)};t.Ce=function(a){return a.keyCode==this.sR&&this.Ze(a)?!0:zB.g.Ce.call(this,a)};t.Ysa=function(){return this.sR};
hB("goog-menuitem",function(){return new zB(null)});zB.prototype.an=function(){return this.Db(16)?Fk:this.Db(8)?"menuitemradio":zB.g.an.call(this)};zB.prototype.getParent=function(){return pB.prototype.getParent.call(this)};zB.prototype.nt=function(){return pB.prototype.nt.call(this)};var AB=function(){};C(AB,lB);Qq(AB);AB.prototype.j=function(a){return a.v().j(d,this.W())};AB.prototype.la=function(a,b){b.id&&a.ki(b.id);if("HR"==b.tagName){var c=b;b=this.j(a);Xw(b,c);Zw(c)}else U(b,this.W());return b};AB.prototype.hb=function(){};AB.prototype.W=function(){return Ei};var BB=function(a,b){pB.call(this,null,a||AB.S(),b);this.Fb(1,!1);this.Fb(2,!1);this.Fb(4,!1);this.Fb(32,!1);this.BU(1)};C(BB,pB);BB.prototype.H=function(){BB.g.H.call(this);var a=this.b();D(a,"The DOM element for the separator cannot be null.");aA(a,wn)};hB(Ei,function(){return new BB});var CB=function(a){this.Io=a||"menu"};C(CB,kB);Qq(CB);t=CB.prototype;t.gd=function(a){return"UL"==a.tagName||CB.g.gd.call(this,a)};t.Ax=function(a){return"HR"==a.tagName?new BB:CB.g.Ax.call(this,a)};t.wj=function(a,b){return hx(a.b(),b)};t.W=function(){return yi};t.Od=function(a){CB.g.Od.call(this,a);a=a.b();D(a,"The menu DOM element cannot be null.");T(a,cj,r)};var DB=function(a){BB.call(this,AB.S(),a)};C(DB,BB);hB(Ei,function(){return new BB});var EB=function(a,b){vB.call(this,lq,b||CB.S(),a);this.ef(!1)};C(EB,vB);t=EB.prototype;t.Go=!0;t.hka=!1;t.W=function(){return this.O.W()};t.wj=function(a){if(this.O.wj(this,a))return!0;for(var b=0,c=this.ub();b<c;b++){var e=this.Fa(b);if(typeof e.wj==Yh&&e.wj(a))return!0}return!1};t.T=function(a){this.sa(a,!0)};t.mm=function(a,b){this.vi(a,b,!0)};t.removeItem=function(a){(a=this.removeChild(a,!0))&&a.dispose()};t.Se=function(a){return this.Fa(a)};t.Ri=function(){return this.ub()};
t.it=function(){var a=[];this.fc(function(b){a.push(b)});return a};t.setPosition=function(a,b){var c=this.V();c||S(this.b(),!0);var e=this.b(),f=a,g=b,h=Gy(e);f instanceof sw&&(g=f.y,f=f.x);f=$r(f)-h.x;By(e,e.offsetLeft+f,e.offsetTop+(Number(g)-h.y));c||S(this.b(),!1)};t.getPosition=function(){return this.V()?Gy(this.b()):null};t.Tu=function(a){(this.Go=a)&&this.ef(!0)};
t.K=function(a,b,c){(b=EB.g.K.call(this,a,b))&&a&&this.ba&&this.Go&&this.wc().focus();this.x$=a&&c&&Vq(c.clientX)?new sw(c.clientX,c.clientY):null;return b};t.HO=function(a){this.Go&&this.wc().focus();return EB.g.HO.call(this,a)};t.dC=function(a){return(this.hka||a.isEnabled())&&a.V()&&a.Db(2)};t.jb=function(a){this.foa(a);EB.g.jb.call(this,a)};t.Ce=function(a){var b=EB.g.Ce.call(this,a);b||this.fc(function(c){!b&&c.Ysa&&c.sR==a.keyCode&&(this.isEnabled()&&this.Hd(c),b=c.zc(a))},this);return b};
t.ad=function(a){EB.g.ad.call(this,a);(a=this.Fa(a))&&Ly(a.b(),this.b())};t.foa=function(a){var b=this.O;a=this.v().Bp(d,b.W()+tb,a);for(var c=a.length,e=0;e<c;e++)b.G0(this,a[e])};var FB=function(a,b){EB.call(this,a,b);this.Tu(!0);this.K(!1,!0);this.rk=new Q};C(FB,EB);t=FB.prototype;t.rfa=!1;t.v8=0;t.jb=function(a){FB.g.jb.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.Zg(this.v().b(a),1)};t.H=function(){FB.g.H.call(this);this.rk.forEach(this.HY,this);var a=this.C();a.o(this,Le,this.LBa);a.o(this.v().J(),Kk,this.Y9,!0);Yt&&a.o(this.v().J(),Ag,this.Y9,!0)};
t.Zg=function(a,b,c,e,f){this.y7(a)||(b=this.zma(a,b,c,e,f),this.ba&&this.HY(b),a=cr(this.BCa,a),this.b()&&this.C().o(this.b(),Xj,a))};t.BCa=function(a,b){if(27==b.keyCode)a.focus();else{var c=this.Fa(this.yb);if(c){var c=c.b(),e=new vu(b.Vc,c);e.target=c;32!=b.keyCode&&13!=b.keyCode||Su(c,Xj,!1,e);32==b.keyCode&&this.Xe()}}};t.zma=function(a,b,c,e,f){if(!a)return null;b={G:a,hfa:b,hBa:c,KM:e?Ag:Kk,WF:f};this.rk.set($q(a),b);return b};t.y7=function(a){return a?this.rk.Ic($q(a)):!1};
t.HY=function(a){this.C().o(a.G,a.KM,this.t$);a.KM!=Ag&&this.C().o(a.G,Xj,this.OCa)};t.detach=function(a){if(!this.y7(a))throw Error("Menu not attached to provided element, unable to detach.");a=$q(a);this.ba&&this.uoa(this.rk.get(a));this.rk.remove(a)};t.uoa=function(a){this.C().Ja(a.G,a.KM,this.t$)};t.cKa=function(a){this.rfa=a};
t.tea=function(a,b,c){var e=this.V();this.sF()&&this.rfa?this.Xe():this.dispatchEvent(Lf)&&(b="undefined"!=typeof b?b:8,e||(this.b().style.visibility=ej),S(this.b(),!0),a.oa(this.b(),b,c),e||(this.b().style.visibility=zq),this.ad(-1),this.K(!0))};t.fea=function(a,b,c){b=w(a.hfa)?new XA(a.G,a.hfa,!0):new $A(b,c);b.bv&&b.bv(5);this.tea(b,a.hBa,a.WF,a.G)};t.PKa=function(a,b,c){this.tea(new YA(a,b,!0),c,null,a)};t.Xe=function(){this.V()&&(this.K(!1),this.V()||(this.v8=B()))};
t.sF=function(){return this.V()||this.aOa()};t.aOa=function(){return 150>B()-this.v8};t.LBa=function(){this.Xe()};t.t$=function(a){this.s$(a)};t.OCa=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||this.s$(a);40==a.keyCode&&this.yy()};t.s$=function(a){for(var b=this.rk.vb(),c=0;c<b.length;c++){var e=this.rk.get(b[c]);if(e.G==a.currentTarget){this.fea(e,a.clientX,a.clientY);a.preventDefault();a.stopPropagation();break}}};t.Y9=function(a){this.V()&&!this.wj(a.target)&&this.Xe()};
t.Sh=function(a){FB.g.Sh.call(this,a);this.Xe()};t.B=function(){FB.g.B.call(this);this.rk&&(this.rk.clear(),delete this.rk)};var GB=function(a,b){this.Jea=a;this.ZC=b},HB=new Jz(0,0,1),IB=new Jz(9999,11,31);GB.prototype.getStartDate=function(){return this.Jea};GB.prototype.contains=function(a){return a.valueOf()>=this.Jea.valueOf()&&a.valueOf()<=this.ZC.valueOf()};GB.prototype.iterator=function(){return new JB(this)};var JB=function(a){this.CR=a.getStartDate().clone();this.ZC=Number(a.ZC.xr())};C(JB,Jx);
JB.prototype.next=function(){if(Number(this.CR.xr())>this.ZC)throw Ix;var a=this.CR.clone();this.CR.add(new Iz("d",1));return a};var KB={wX:"y",sWa:"y G",tWa:"MMM y",cja:"MMMM y",$ha:"MMM d",uSa:"MMMM dd",vSa:"M/d",UW:"MMMM d",wSa:"MMM d, y",nWa:"EEE, MMM d",oWa:"EEE, MMM d, y",LPa:"d"},LB=KB,LB=KB;var MB=function(a,b){this.Yka=a;this.M=b||N()};t=MB.prototype;t.v=function(){return this.M};t.Ca=function(){return this.Yka};
t.wFa=function(a,b,c,e){b?(e=this.v().createElement(fe),e.colSpan=c?1:2,this.zj(e,"\u00ab",this.Ca()+Db),a.appendChild(e),e=this.v().createElement(fe),e.colSpan=c?6:5,e.className=this.Ca()+"-monthyear",a.appendChild(e),e=this.v().createElement(fe),this.zj(e,"\u00bb",this.Ca()+Ab),a.appendChild(e)):(c=this.v().createElement(fe),c.colSpan=5,this.zj(c,"\u00ab",this.Ca()+Db),this.zj(c,"",this.Ca()+"-month"),this.zj(c,"\u00bb",this.Ca()+Ab),b=this.v().createElement(fe),b.colSpan=3,this.zj(b,"\u00ab",this.Ca()+
"-previousYear"),this.zj(b,"",this.Ca()+"-year"),this.zj(b,"\u00bb",this.Ca()+"-nextYear"),e.indexOf("y")<e.indexOf("m")?(a.appendChild(b),a.appendChild(c)):(a.appendChild(c),a.appendChild(b)))};
t.tFa=function(a,b){var c=this.v().createElement(fe);c.colSpan=b?2:3;c.className=this.Ca()+"-today-cont";this.zj(c,"Today",this.Ca()+Eb);a.appendChild(c);c=this.v().createElement(fe);c.colSpan=b?4:3;a.appendChild(c);c=this.v().createElement(fe);c.colSpan=2;c.className=this.Ca()+"-none-cont";this.zj(c,"None",this.Ca()+Bb);a.appendChild(c)};
t.zj=function(a,b,c){var e=[this.Ca()+"-btn"];c&&e.push(c);c=this.v().createElement(tc);c.className=e.join(" ");c.appendChild(this.v().createTextNode(b));a.appendChild(c);return c};var NB=function(a,b,c,e){BA.call(this,c);this.Vg=b||Gz;this.bOa=this.Vg.cX;this.sya=new Oz("d",this.Vg);this.rya=new Oz("dd",this.Vg);this.uya=new Oz("w",this.Vg);this.pP=new Oz(LB.wX||"y",this.Vg);this.tya=new Oz(LB.cja||"MMMM y",this.Vg);this.O=e||new MB(this.Ca(),this.v());this.Zc=new Jz(a);this.Zc.Dca(this.Vg.JJ);this.Zc.Cca(this.Vg.IJ);this.zd=this.Zc.clone();this.zd.setDate(1);this.zJ="      ".split(" ");this.zJ[this.Vg.uX[0]]=this.Ca()+"-wkend-start";this.zJ[this.Vg.uX[1]]=this.Ca()+"-wkend-end";
this.bu={};this.Kp=[]};C(NB,BA);t=NB.prototype;t.SU=!0;t.cLa=!0;t.NNa=new GB(HB,IB);t.Jpa=!0;t.CI=!0;t.sea=!0;t.rK=!0;t.oea=!0;t.uea=!1;t.H0=null;t.MAa=!1;t.WC=null;t.VC=null;t.UC=null;t.yla=zA.S();t.Ca=function(){return"goog-date-picker"};t.OJa=function(a){this.SU=a;this.xk()};t.rQ=function(a){return this.NNa.contains(a)};t.SJa=function(a){this.CI=a;this.bga();this.Ufa();this.xk()};t.oNa=function(){S(this.D1,this.oea);S(this.C1,this.rK);S(this.ffa,this.oea||this.rK)};
t.Y$=function(){this.zd.add(new Iz("m",-1));this.xk();this.jx()};t.H9=function(){this.zd.add(new Iz("m",1));this.xk();this.jx()};t.iEa=function(){this.zd.add(new Iz("y",-1));this.xk();this.jx()};t.DBa=function(){this.zd.add(new Iz("y",1));this.xk();this.jx()};t.Qba=function(){this.setDate(new Jz)};t.Pba=function(){this.rK&&this.setDate(null)};t.cra=function(){return this.zd.clone()};t.getDate=function(){return this.Zc&&this.Zc.clone()};t.setDate=function(a){this.MT(a,!0)};
t.MT=function(a,b){var c=a==this.Zc||a&&this.Zc&&a.getFullYear()==this.Zc.getFullYear()&&a.getMonth()==this.Zc.getMonth(),e=a==this.Zc||c&&a.getDate()==this.Zc.getDate();this.Zc=a&&new Jz(a);a&&(this.zd.set(this.Zc),this.zd.setFullYear(this.Zc.getFullYear()),this.zd.setDate(1));this.xk();b&&this.dispatchEvent(new OB(pn,this,this.Zc));e||this.dispatchEvent(new OB(bg,this,this.Zc));c||this.jx()};
t.bga=function(){if(this.WC){for(var a=this.WC;a.firstChild;)a.removeChild(a.firstChild);this.O.wFa(a,this.uea,this.CI,this.Vg.HJ[0].toLowerCase());this.uea?(this.rj(a,this.Ca()+Db,this.Y$),this.rj(a,this.Ca()+Ab,this.H9),this.VC=Gw(this.Ca()+"-monthyear",a)):(this.rj(a,this.Ca()+Db,this.Y$),this.rj(a,this.Ca()+Ab,this.H9),this.rj(a,this.Ca()+"-month",this.aLa),this.rj(a,this.Ca()+"-previousYear",this.iEa),this.rj(a,this.Ca()+"-nextYear",this.DBa),this.rj(a,this.Ca()+"-year",this.lLa),this.jp=Gw(this.Ca()+
"-month",a),this.$w=N().Md(this.Ca()+"-year",a))}};t.rj=function(a,b,c){a=Gw(b,a);this.C().o(a,ng,function(a){a.preventDefault();c.call(this,a)})};t.Ufa=function(){if(this.UC){var a=this.UC;Ww(a);this.O.tFa(a,this.CI);this.rj(a,this.Ca()+Eb,this.Qba);this.rj(a,this.Ca()+Bb,this.Pba);this.D1=Gw(this.Ca()+Eb,a);this.C1=Gw(this.Ca()+Bb,a);this.oNa()}};
t.jb=function(a){NB.g.jb.call(this,a);D(a);U(a,this.Ca());var b=this.M.createElement(de),c=this.M.createElement("THEAD"),e=this.M.createElement(ee),f=this.M.createElement("TFOOT");aA(e,Wi);e.tabIndex="0";this.TI=e;this.ffa=f;var g=this.M.createElement("TR");g.className=this.Ca()+"-head";this.WC=g;this.bga();c.appendChild(g);var h;this.fh=[];for(var k=0;7>k;k++){g=this.M.createElement("TR");this.fh[k]=[];for(var m=0;8>m;m++)h=this.M.createElement(0==m||0==k?"th":Uo),0!=m&&0!=k||m==k||(h.className=
0==m?this.Ca()+"-week":this.Ca()+"-wday",aA(h,0==m?"rowheader":"columnheader")),g.appendChild(h),this.fh[k][m]=h;e.appendChild(g)}g=this.M.createElement("TR");g.className=this.Ca()+"-foot";this.UC=g;this.Ufa();f.appendChild(g);b.cellSpacing="0";b.cellPadding="0";b.appendChild(c);b.appendChild(e);b.appendChild(f);a.appendChild(b);this.MEa();this.xk();a.tabIndex=0};t.j=function(){NB.g.j.call(this);this.jb(this.b())};
t.H=function(){NB.g.H.call(this);var a=this.C();a.o(this.TI,ng,this.Pva);a.o(this.cO(this.b()),Wj,this.Qva)};t.Ya=function(){NB.g.Ya.call(this);this.xs();for(var a in this.bu)this.bu[a].dispose();this.bu={}};t.create=NB.prototype.la;t.B=function(){NB.g.B.call(this);this.C1=this.D1=this.$w=this.VC=this.jp=this.UC=this.WC=this.ffa=this.TI=this.fh=null};
t.Pva=function(a){if(a.target.tagName==fe){var b,c=-2,e=-2;for(b=a.target;b;b=b.previousSibling,c++);for(b=a.target.parentNode;b;b=b.previousSibling,e++);a=this.Kp[e][c];this.rQ(a)&&this.setDate(a.clone())}};
t.Qva=function(a){var b,c;switch(a.keyCode){case 33:a.preventDefault();b=-1;break;case 34:a.preventDefault();b=1;break;case 37:a.preventDefault();c=-1;break;case 39:a.preventDefault();c=1;break;case 38:a.preventDefault();c=-7;break;case 40:a.preventDefault();c=7;break;case 36:a.preventDefault(),this.Qba();case 46:a.preventDefault();this.Pba();break;case 13:case 32:a.preventDefault(),this.MT(this.Zc,!0);default:return}this.Zc?(a=this.Zc.clone(),a.add(new Iz(0,b,c))):(a=this.zd.clone(),a.setDate(1));
this.rQ(a)&&this.MT(a,!1)};t.aLa=function(a){a.stopPropagation();a=[];for(var b=0;12>b;b++)a.push(this.Vg.nB[b]);this.V_(this.jp,a,this.vwa,this.Vg.nB[this.zd.getMonth()])};t.lLa=function(a){a.stopPropagation();a=[];for(var b=this.zd.getFullYear(),c=this.zd.clone(),e=-5;5>=e;e++)c.setFullYear(b+e),a.push(this.pP.format(c));this.V_(this.$w,a,this.Jxa,this.pP.format(this.zd))};t.vwa=function(a){a=Number(a.getAttribute(Kj));this.zd.setMonth(a);this.xk();this.jp.focus&&this.jp.focus()};
t.Jxa=function(a){if(3==a.firstChild.nodeType){a=Number(a.getAttribute(Kj));var b=this.zd.getFullYear();this.zd.setFullYear(b+a-5);this.xk()}this.$w.focus()};
t.V_=function(a,b,c,e){this.xs();var f=this.M.createElement(d);f.className=this.Ca()+"-menu";this.ju=null;for(var g=this.M.createElement("UL"),h=0;h<b.length;h++){var k=this.M.j("LI",null,b[h]);k.setAttribute(Kj,h);b[h]==e&&(this.ju=k);g.appendChild(k)}f.appendChild(g);f.style.left=a.offsetLeft+a.parentNode.offsetLeft+q;f.style.top=a.offsetTop+q;f.style.width=a.clientWidth+q;this.jp.parentNode.appendChild(f);this.qa=f;this.ju||(this.ju=g.firstChild);this.ju.className=this.Ca()+zb;this.oR=c;a=this.C();
a.o(this.qa,ng,this.t5);a.o(this.cO(this.qa),Wj,this.u5);a.o(this.M.J(),ng,this.xs);f.tabIndex=0;f.focus()};t.t5=function(a){a.stopPropagation();this.xs();this.oR&&this.oR(a.target)};
t.u5=function(a){a.stopPropagation();var b,c=this.ju;switch(a.keyCode){case 35:a.preventDefault();b=c.parentNode.lastChild;break;case 36:a.preventDefault();b=c.parentNode.firstChild;break;case 38:a.preventDefault();b=c.previousSibling;break;case 40:a.preventDefault();b=c.nextSibling;break;case 13:case 9:case 0:a.preventDefault(),this.xs(),this.oR(c)}b&&b!=c&&(c.className="",b.className=this.Ca()+zb,this.ju=b)};
t.xs=function(){if(this.qa){var a=this.C();a.Ja(this.qa,ng,this.t5);a.Ja(this.cO(this.qa),Wj,this.u5);a.Ja(this.M.J(),ng,this.xs);Zw(this.qa);delete this.qa}};
t.xk=function(){if(this.b()){var a=this.zd.clone();a.setDate(1);this.VC&&nx(this.VC,this.tya.format(a));this.jp&&nx(this.jp,this.Vg.nB[a.getMonth()]);this.$w&&nx(this.$w,this.pP.format(a));var b=a.zua(),c=a.f4();a.add(new Iz("m",-1));a.setDate(a.f4()-(b-1));this.SU&&!this.Jpa&&33>c+b&&a.add(new Iz("d",-7));b=new Iz("d",1);this.Kp=[];for(c=0;6>c;c++){this.Kp[c]=[];for(var e=0;7>e;e++){this.Kp[c][e]=a.clone();var f=a.getFullYear();a.add(b);0==a.getMonth()&&1==a.getDate()&&f++;a.setFullYear(f)}}this.IEa()}};
t.IEa=function(){if(this.b())for(var a=this.zd.getMonth(),b=new Jz,c=b.getFullYear(),e=b.getMonth(),b=b.getDate(),f=0;6>f;f++){this.CI?(nx(this.fh[f+1][0],this.uya.format(this.Kp[f][0])),this.fh[f+1][0].className=this.Ca()+"-week"):(nx(this.fh[f+1][0],""),this.fh[f+1][0].className="");for(var g=0;7>g;g++){var h=this.Kp[f][g],k=this.fh[f+1][g+1];k.id||(k.id=this.yla.be());D(k,"The table DOM element cannot be null.");aA(k,Xi);var m=[this.Ca()+"-date"];this.rQ(h)||m.push(this.Ca()+"-unavailable-date");
if(this.cLa||h.getMonth()==a){h.getMonth()!=a&&m.push(this.Ca()+"-other-month");var p=(g+this.zd.vp+7)%7;this.zJ[p]&&m.push(this.zJ[p]);h.getDate()==b&&h.getMonth()==e&&h.getFullYear()==c&&m.push(this.Ca()+"-today");this.Zc&&h.getDate()==this.Zc.getDate()&&h.getMonth()==this.Zc.getMonth()&&h.getFullYear()==this.Zc.getFullYear()&&(m.push(this.Ca()+"-selected"),D(this.TI,"The table body DOM element cannot be null"),T(this.TI,Oe,k.id));this.H0&&(p=this.H0(h))&&m.push(p);h=this.MAa?this.rya.format(h):
this.sya.format(h);nx(k,h)}else nx(k,"");m=m.join(" ");k.className=m}4<=f&&S(this.fh[f+1][0].parentElement||this.fh[f+1][0].parentNode,this.Kp[f][0].getMonth()==a||this.SU)}};t.jx=function(){var a=new OB("changeActiveMonth",this,this.cra());this.dispatchEvent(a)};t.MEa=function(){if(this.b()){if(this.sea)for(var a=0;7>a;a++)nx(this.fh[0][a+1],this.bOa[((a+this.zd.vp+7)%7+1)%7]);S(this.fh[0][0].parentElement||this.fh[0][0].parentNode,this.sea)}};
t.cO=function(a){var b=$q(a);b in this.bu||(this.bu[b]=new aB(a));return this.bu[b]};var OB=function(a,b,c){J.call(this,a,b);this.va=c};C(OB,J);var PB=function(a,b){this.Kq=8;this.WG=b||void 0;EA.call(this,a)};C(PB,EA);t=PB.prototype;t.gda=function(a){this.Kq=a;this.V()&&this.oa()};t.getPosition=function(){return this.WG||null};t.setPosition=function(a){this.WG=a||void 0;this.V()&&this.oa()};t.Mx=function(){return this.WF||null};t.MIa=function(a,b,c,e){this.WF=null==a||a instanceof ry?a:new ry(a,b,c,e);this.V()&&this.oa()};
t.oa=function(){if(this.WG){var a=!this.V()&&this.ta()!=Qk,b=this.b();a&&(b.style.visibility=ej,S(b,!0));this.WG.oa(b,this.Kq,this.WF);a&&S(b,!1)}};var QB=function(a,b){BA.call(this,b);this.Lf=a||new NB};C(QB,BA);t=QB.prototype;t.Lf=null;t.Za=null;t.IF=null;t.Go=!0;t.j=function(){QB.g.j.call(this);this.b().className="goog-popupdatepicker";this.Za=new PB(this.b());this.Za.fo(this)};t.V=function(){return this.Za?this.Za.V():!1};t.H=function(){QB.g.H.call(this);if(!this.Lf.ba){var a=this.b();a.style.visibility=ej;S(a,!1);this.Lf.la(a)}this.C().o(this.Lf,bg,this.NR).o(this.Lf,pn,this.OR)};
t.B=function(){QB.g.B.call(this);this.Za&&(this.Za.dispose(),this.Za=null);this.Lf.dispose();this.IF=this.Lf=null};t.gd=function(){return!1};t.getDate=function(){return this.Lf.getDate()};t.setDate=function(a){this.Lf.setDate(a)};t.Zg=function(a){this.C().o(a,Kk,this.iea)};t.detach=function(a){this.C().Ja(a,Kk,this.iea)};t.Tu=function(a){this.Go=a};
t.dLa=function(a,b){this.IF=a;this.Za.setPosition(new WA(a,9,197));this.C().Ja(this.Lf,bg,this.NR).Ja(this.Lf,pn,this.OR);b||this.Lf.setDate(null);this.dispatchEvent(Sn);this.Za.K(!0);this.Go&&this.b().focus();this.C().o(this.Lf,bg,this.NR).o(this.Lf,pn,this.OR)};t.iea=function(a){this.dLa(a.currentTarget)};t.jya=function(){this.Za.K(!1);this.Go&&this.IF&&this.IF.focus()};t.OR=function(a){this.jya();this.dispatchEvent(a)};t.NR=function(a){this.dispatchEvent(a)};var RB=function(a,b){BA.call(this,b);this.Eb=a||""},SB;C(RB,BA);RB.prototype.Jj=null;RB.prototype.hAa=10;var TB=function(){null!=SB||(SB="placeholder"in document.createElement(rd));return SB};t=RB.prototype;t.Et=!1;t.j=function(){this.Ab(this.v().j(rd,{type:Xo}))};t.jb=function(a){RB.g.jb.call(this,a);this.Eb||(this.Eb=a.getAttribute(ak)||"");Dx(Cw(a))==a&&(this.Et=!0,a=this.b(),D(a),oA(a,this.Uy));TB()&&(this.b().placeholder=this.Eb);a=this.b();D(a,ne);T(a,ak,this.Eb)};
t.H=function(){RB.g.H.call(this);this.ew();this.vm();this.b().gAa=this};t.Ya=function(){RB.g.Ya.call(this);this.Zo();this.b().gAa=null};t.ew=function(){var a=new rA(this);a.o(this.b(),Nh,this.Qp);a.o(this.b(),Qf,this.cy);if(TB())this.N=a;else{H&&a.o(this.b(),[Yj,Xj,Zj],this.Dva);var b=Cw(this.b());a.o(Mw(b),qk,this.Gxa);this.N=a;this.IY()}};t.IY=function(){!this.qqa&&this.N&&this.b().form&&(this.N.o(this.b().form,"submit",this.Nva),this.qqa=!0)};t.Zo=function(){this.N&&(this.N.dispose(),this.N=null)};
t.B=function(){RB.g.B.call(this);this.Zo()};t.Uy="label-input-label";t.Qp=function(){this.Et=!0;var a=this.b();D(a);oA(a,this.Uy);if(!TB()&&!this.kn()&&!this.Bya){var b=this,a=function(){b.b()&&(b.b().value="")};G?Xu(a,10):a()}};t.cy=function(){TB()||(this.N.Ja(this.b(),ng,this.Qp),this.Jj=null);this.Et=!1;this.vm()};t.Dva=function(a){27==a.keyCode&&(a.type==Xj?this.Jj=this.b().value:a.type==Yj?this.b().value=this.Jj:a.type==Zj&&(this.Jj=null),a.preventDefault())};
t.Nva=function(){this.kn()||(this.b().value="",Xu(this.Mua,10,this))};t.Mua=function(){this.kn()||(this.b().value=this.Eb)};t.Gxa=function(){this.vm()};t.hasFocus=function(){return this.Et};t.kn=function(){return!!this.b()&&""!=this.b().value&&this.b().value!=this.Eb};t.clear=function(){this.b().value="";null!=this.Jj&&(this.Jj="")};t.reset=function(){this.kn()&&(this.clear(),this.vm())};t.setValue=function(a){null!=this.Jj&&(this.Jj=a);this.b().value=a;this.vm()};
t.getValue=function(){return null!=this.Jj?this.Jj:this.kn()?this.b().value:""};t.Hb=function(a){var b=this.b();TB()?(b&&(b.placeholder=a),this.Eb=a):this.kn()||(b&&(b.value=""),this.Eb=a,this.mba());b&&T(b,ak,this.Eb)};t.gl=function(){return this.Eb};
t.vm=function(){var a=this.b();D(a,ne);TB()?this.b().placeholder!=this.Eb&&(this.b().placeholder=this.Eb):this.IY();T(a,ak,this.Eb);this.kn()?(a=this.b(),D(a),oA(a,this.Uy)):(this.Bya||this.Et||(a=this.b(),D(a),U(a,this.Uy)),TB()||Xu(this.mba,this.hAa,this))};t.ra=function(a){this.b().disabled=!a;var b=this.b();D(b);qA(b,this.Uy+wb,!a)};t.isEnabled=function(){return!this.b().disabled};t.mba=function(){!this.b()||this.kn()||this.Et||(this.b().value=this.Eb)};var UB=Zs("Firefox"),VB=Tt()||Zs("iPod"),WB=Zs("iPad"),XB=Zs("Android")&&!(wt()||Zs("Firefox")||Zs(Id)||Zs("Silk")),YB=wt(),ZB=Zs("Safari")&&!(wt()||Zs("Coast")||Zs(Id)||Zs(Rc)||Zs("Silk")||Zs("Android"))&&!Ut();var $B=function(){};C($B,lB);Qq($B);t=$B.prototype;t.Qe=function(){return Vf};t.wk=function(a,b,c){switch(b){case 8:case 16:D(a,"The button DOM element cannot be null.");T(a,"pressed",c);break;default:case 64:case 1:$B.g.wk.call(this,a,b,c)}};t.j=function(a){var b=$B.g.j.call(this,a);this.Jd(b,a.nh());var c=a.getValue();c&&this.setValue(b,c);a.Db(16)&&this.wk(b,16,a.wn());return b};
t.la=function(a,b){b=$B.g.la.call(this,a,b);a.qKa(this.getValue(b));a.kv(this.nh(b));a.Db(16)&&this.wk(b,16,a.wn());return b};t.getValue=Pq;t.setValue=Pq;t.nh=function(a){return a.title};t.Jd=function(a,b){a&&(b?a.title=b:a.removeAttribute(cp))};t.bg=function(a,b){var c=a.qd(),e=this.lh()+"-collapse-left",f=this.lh()+"-collapse-right";a.Js(c?f:e,!!(b&1));a.Js(c?e:f,!!(b&2))};t.W=function(){return li};var aC=function(){};C(aC,$B);Qq(aC);t=aC.prototype;t.Qe=function(){};t.j=function(a){this.Cda(a);return a.v().j(tc,{"class":this.ye(a).join(" "),disabled:!a.isEnabled(),title:a.nh()||"",value:a.getValue()||""},a.Qh()||"")};t.gd=function(a){return a.tagName==tc||a.tagName==rd&&(a.type==Vf||"submit"==a.type||a.type==Zm)};t.la=function(a,b){this.Cda(a);if(b.disabled){var c=as(this.xx(1));U(b,c)}return aC.g.la.call(this,a,b)};t.Od=function(a){a.C().o(a.b(),ng,a.Ze)};t.Uu=Pq;t.Tg=Pq;t.tl=function(a){return a.isEnabled()};
t.ef=Pq;t.setState=function(a,b,c){aC.g.setState.call(this,a,b,c);(a=a.b())&&1==b&&(a.disabled=c)};t.getValue=function(a){return a.value};t.setValue=function(a,b){a&&(a.value=b)};t.wk=Pq;t.Cda=function(a){a.eI(!1);a.IT(255,!1);a.Fb(32,!1)};var bC=function(a,b,c){pB.call(this,a,b||aC.S(),c)};C(bC,pB);t=bC.prototype;t.getValue=function(){return this.ac};t.setValue=function(a){this.ac=a;this.O.setValue(this.b(),a)};t.qKa=function(a){this.ac=a};t.nh=function(){return this.Wb};t.Jd=function(a){this.Wb=a;this.O.Jd(this.b(),a)};t.kv=function(a){this.Wb=a};t.bg=function(a){this.O.bg(this,a)};t.B=function(){bC.g.B.call(this);delete this.ac;delete this.Wb};t.H=function(){bC.g.H.call(this);if(this.Db(32)){var a=this.wc();a&&this.C().o(a,Zj,this.Ce)}};
t.Ce=function(a){return 13==a.keyCode&&a.type==Wj||32==a.keyCode&&a.type==Zj?this.Ze(a):32==a.keyCode};hB(li,function(){return new bC(null)});var cC=function(){};C(cC,$B);Qq(cC);t=cC.prototype;t.j=function(a){var b={"class":wi+this.ye(a).join(" ")},b=a.v().j(d,b,this.Bw(a.xb(),a.v()));this.Jd(b,a.nh());return b};t.Qe=function(){return Vf};t.U=function(a){return a&&a.firstChild&&a.firstChild.firstChild};t.Bw=function(a,b){return b.j(d,wi+(this.W()+Cb),b.j(d,wi+(this.W()+yb),a))};t.gd=function(a){return a.tagName==d};t.b6=function(a,b){var c=a.v().Ym(b),e=this.W()+Cb;return c&&mA(c,e)&&(c=a.v().Ym(c),e=this.W()+yb,c&&mA(c,e))?!0:!1};
t.la=function(a,b){D(b);dC(b,!0);dC(b,!1);this.b6(a,b)||b.appendChild(this.Bw(b.childNodes,a.v()));nA(b,[vi,this.W()]);return cC.g.la.call(this,a,b)};t.W=function(){return oi};var dC=function(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,e;c&&c.parentNode==a;){e=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var f=c.nodeValue;if(""==pr(f))a.removeChild(c);else{c.nodeValue=b?qr(f):rr(f);break}}else break;c=e}};var eC=function(){};C(eC,cC);Qq(eC);eC.prototype.U=function(a){return eC.g.U.call(this,a&&a.firstChild)};eC.prototype.la=function(a,b){var c=Ew("*",yi,b)[0];if(c){S(c,!1);Cw(c).body.appendChild(c);var e=new EB;e.la(c);a.Rg(e)}return eC.g.la.call(this,a,b)};eC.prototype.Bw=function(a,b){return eC.g.Bw.call(this,[this.createCaption(a,b),this.yC(b)],b)};eC.prototype.createCaption=function(a,b){return fC(a,this.W(),b)};var fC=function(a,b,c){return c.j(d,wi+(b+sb),a)};
eC.prototype.yC=function(a){return a.j(d,wi+(this.W()+xb),"\u00a0")};eC.prototype.W=function(){return zi};var gC=function(a,b,c,e,f){bC.call(this,a,c||eC.S(),e);this.Fb(64,!0);this.vq=new YA(null,9);b&&this.Rg(b);this.iBa=null;this.Ma=new Wu(500);!VB&&!WB||I("533.17.9")||this.Fca(!0);this.jBa=f||CB.S()};C(gC,bC);t=gC.prototype;t.kF=!1;t.Kaa=!1;t.LGa=!1;t.H=function(){gC.g.H.call(this);this.MY(!0);this.qa&&this.MB(this.qa,!0);T(this.ae(),cj,!!this.qa)};t.Ya=function(){gC.g.Ya.call(this);this.MY(!1);if(this.qa){this.Jb(!1);this.qa.Ya();this.MB(this.qa,!1);var a=this.qa.b();a&&Zw(a)}};
t.B=function(){gC.g.B.call(this);this.qa&&(this.qa.dispose(),delete this.qa);delete this.QDa;this.Ma.dispose()};t.Nd=function(a){gC.g.Nd.call(this,a);this.Bc()&&(this.Jb(!this.Ee(),a),this.qa&&this.qa.eo(this.Ee()))};t.ph=function(a){gC.g.ph.call(this,a);this.qa&&!this.Bc()&&this.qa.eo(!1)};t.Ze=function(){this.setActive(!1);return!0};t.uva=function(a){this.qa&&this.qa.V()&&!this.wj(a.target)&&this.Jb(!1)};t.wj=function(a){return a&&hx(this.b(),a)||this.qa&&this.qa.wj(a)||!1};
t.Ce=function(a){if(32==a.keyCode){if(a.preventDefault(),a.type!=Zj)return!0}else if(a.type!=Wj)return!1;if(this.qa&&this.qa.V()){var b=13==a.keyCode||32==a.keyCode,c=this.qa.zc(a);return 27==a.keyCode||b?(this.Jb(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Jb(!0,a),!0):!1};t.ky=function(){this.Jb(!1)};t.uwa=function(){this.Bc()||this.Jb(!1)};t.Sh=function(a){this.kF||this.Jb(!1);gC.g.Sh.call(this,a)};
t.Da=function(){this.qa||this.Rg(new EB(this.v(),this.jBa));return this.qa||null};t.Rg=function(a){var b=this.qa;a!=b&&(b&&(this.Jb(!1),this.ba&&this.MB(b,!1),delete this.qa),this.ba&&T(this.ae(),cj,!!a),a&&(this.qa=a,a.Va(this),a.K(!1),a.Tu(this.kF),this.ba&&this.MB(a,!0)));return b};t.T=function(a){this.Da().sa(a,!0)};t.mm=function(a,b){this.Da().vi(a,b,!0)};t.removeItem=function(a){(a=this.Da().removeChild(a,!0))&&a.dispose()};t.Se=function(a){return this.qa?this.qa.Fa(a):null};
t.Ri=function(){return this.qa?this.qa.ub():0};t.K=function(a,b){var c=gC.g.K.call(this,a,b);c&&!this.V()&&this.Jb(!1);return c};t.ra=function(a){gC.g.ra.call(this,a);this.isEnabled()||this.Jb(!1)};t.v7=function(){var a=this.vq.Ro;return 9==a||8==a};t.vU=function(a){this.vq.bv&&this.vq.bv(1|(a?32:4))};t.vF=function(){return this.vq.Hsa&&!!(this.vq.pq&32)};t.Fca=function(a){this.kF=a};t.sJa=function(a){this.Kaa=a};t.fea=function(){this.Jb(!0)};
t.Jb=function(a,b){gC.g.Jb.call(this,a);if(this.qa&&this.Uh(64)==a){if(a){if(!this.qa.ba)if(this.Kaa){var c=ex(this.b());c?this.qa.Haa(c):this.qa.ha(this.b().parentNode)}else this.qa.ha();this.Ega=Hy(this.b());this.lZ=Ty(this.b());this.qS();c=!!b&&(13==b.keyCode||32==b.keyCode);b&&(40==b.keyCode||38==b.keyCode)||c&&this.LGa?this.qa.yy():this.qa.ad(-1)}else{this.setActive(!1);this.qa.eo(!1);if(c=this.b())T(c,Oe,""),T(c,Dl,"");null!=this.JG&&(this.JG=void 0,(c=this.qa.b())&&Ry(c,"",""))}this.qa.K(a,
!1,b);this.isDisposed()||this.Tka(a)}this.qa&&this.qa.b()&&cA(this.qa.ae(),ej)};t.qS=function(){if(this.qa.ba){var a=this.QDa||this.b(),b=this.vq;this.vq.element=a;a=this.qa.b();this.qa.V()||(a.style.visibility=ej,S(a,!0));!this.JG&&this.vF()&&(this.JG=Sy(a));b.oa(a,b.Ro^1,this.iBa,this.JG);this.qa.V()||(S(a,!1),a.style.visibility=zq)}};
t.tu=function(){var a=Ty(this.b()),b=Hy(this.b()),c;c=this.lZ;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.Ega,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.lZ=a,this.Ega=b,this.qS())};t.MB=function(a,b){var c=this.C(),e=b?c.o:c.Ja;e.call(c,a,Le,this.ky);e.call(c,a,og,this.GO);e.call(c,a,gj,this.JO);e.call(c,a,Jp,this.WO)};t.MY=function(a){var b=this.C();(a?b.o:b.Ja).call(b,this.b(),Xj,this.dwa)};
t.JO=function(a){(a=a.target.b())&&this.ica(a)};t.dwa=function(a){this.Db(32)&&this.wc()&&this.qa&&this.qa.V()&&a.stopPropagation()};t.WO=function(){if(!this.qa.el()){var a=this.b();D(a,oe);T(a,Oe,"");T(a,Dl,"")}};t.GO=function(a){if(this.Ee()&&a.target instanceof zB){a=a.target;var b=a.b();a.V()&&a.ZP()&&null!=b&&this.ica(b)}};t.ica=function(a){var b=this.b();D(b,oe);a=gA(a)||a;if(!a.id){var c=zA.S();a.id=c.be()}hA(b,a);T(b,Dl,a.id)};
t.Tka=function(a){var b=this.C(),c=a?b.o:b.Ja;c.call(b,this.v().J(),Kk,this.uva,!0);this.kF&&c.call(b,this.qa,Qf,this.uwa);c.call(b,this.Ma,bp,this.tu);a?this.Ma.start():this.Ma.stop()};hB(zi,function(){return new gC(null)});var hC=function(a){M.call(this);this.Fe=[];this.WX(a)};C(hC,M);t=hC.prototype;t.Rd=null;t.ji=null;t.HJa=function(a){this.ji=a};t.Ri=function(){return this.Fe.length};t.Gya=function(a){return a?us(this.Fe,a):-1};t.lsa=function(){return this.Fe[0]};t.Se=function(a){return this.Fe[a]||null};t.WX=function(a){a&&(E(a,function(a){this.Nu(a,!1)},this),Ps(this.Fe,a))};t.T=function(a){this.mm(a,this.Ri())};t.mm=function(a,b){a&&(this.Nu(a,!1),Rs(this.Fe,b,0,a))};
t.removeItem=function(a){a&&Ls(this.Fe,a)&&a==this.Rd&&(this.Rd=null,this.dispatchEvent(pn))};t.Xb=function(){return this.Rd};t.it=function(){return Os(this.Fe)};t.wd=function(a){a!=this.Rd&&(this.Nu(this.Rd,!1),this.Rd=a,this.Nu(a,!0));this.dispatchEvent(pn)};t.Bg=function(){return this.Gya(this.Rd)};t.vd=function(a){this.wd(this.Se(a))};t.clear=function(){Is(this.Fe);this.Rd=null};t.B=function(){hC.g.B.call(this);delete this.Fe;this.Rd=null};
t.Nu=function(a,b){a&&(typeof this.ji==Yh?this.ji(a,b):typeof a.cg==Yh&&a.cg(b))};var iC=function(a,b,c,e,f){gC.call(this,a,b,c,e,f||new CB(ok));this.WL=this.xb();this.EP=null;this.uU(ok)};C(iC,gC);t=iC.prototype;t.$=null;t.H=function(){iC.g.H.call(this);this.SV();this.N8()};t.jb=function(a){iC.g.jb.call(this,a);(a=this.Qh())?this.gr(a):this.Xb()||this.vd(0)};t.B=function(){iC.g.B.call(this);this.$&&(this.$.dispose(),this.$=null);this.WL=null};t.ky=function(a){this.wd(a.target);iC.g.ky.call(this,a);a.stopPropagation();this.dispatchEvent(Le)};
t.Sp=function(){var a=this.Xb();iC.g.setValue.call(this,a&&a.getValue());this.SV()};t.Rg=function(a){var b=iC.g.Rg.call(this,a);a!=b&&(this.$&&this.$.clear(),a&&(this.$?a.fc(function(a){this.bI(a);this.$.T(a)},this):this.FL(a)));return b};t.gr=function(a){this.WL=a;this.SV()};t.T=function(a){this.bI(a);iC.g.T.call(this,a);this.$?this.$.T(a):this.FL(this.Da());this.RV()};t.mm=function(a,b){this.bI(a);iC.g.mm.call(this,a,b);this.$?this.$.mm(a,b):this.FL(this.Da())};
t.removeItem=function(a){iC.g.removeItem.call(this,a);this.$&&this.$.removeItem(a)};t.wd=function(a){if(this.$){var b=this.Xb();this.$.wd(a);a!=b&&this.dispatchEvent(bg)}};t.vd=function(a){this.$&&this.wd(this.$.Se(a))};t.setValue=function(a){if(null!=a&&this.$)for(var b=0,c;c=this.$.Se(b);b++)if(c&&typeof c.getValue==Yh&&c.getValue()==a){this.wd(c);return}this.wd(null)};t.getValue=function(){var a=this.Xb();return a?a.getValue():null};t.Xb=function(){return this.$?this.$.Xb():null};
t.Bg=function(){return this.$?this.$.Bg():-1};t.FL=function(a){this.$=new hC;a&&a.fc(function(a){this.bI(a);this.$.T(a)},this);this.N8()};t.N8=function(){this.$&&this.C().o(this.$,pn,this.Sp)};t.SV=function(){var a=this.Xb();this.hb(a?a.Qh():this.WL);var b=this.O.U(this.b());b&&this.v().Ny(b)&&(null==this.EP&&(this.EP=iA(b)),a=a?a.b():null,jA(b,a?iA(a):this.EP),this.RV())};
t.RV=function(){var a=this.O;if(a&&(a=a.U(this.b()))){var b=this.ae();a.id||(a.id=zA.S().be());aA(a,pl);T(b,Oe,a.id);if(this.$){b=this.$.it();T(a,"setsize",this.e4(b));var c=this.$.Bg();T(a,Dm,0<=c?this.e4(Qs(b,0,c+1)):0)}}};t.e4=function(a){return Cs(a,function(a){return a instanceof zB})};t.bI=function(a){a.uU(a instanceof zB?pl:wn)};t.Jb=function(a,b){iC.g.Jb.call(this,a,b);this.Ee()?this.Da().ad(this.Bg()):this.RV()};hB("goog-select",function(){return new iC(null)});var jC=function(a){return a.Ga&&typeof a.Ga==Yh?a.Ga():Tq(a)||z(a)?a.length:ft(a)},kC=function(a){if(a.Cb&&typeof a.Cb==Yh)return a.Cb();if(z(a))return a.split("");if(Tq(a)){for(var b=[],c=a.length,e=0;e<c;e++)b.push(a[e]);return b}return gt(a)},lC=function(a){if(a.vb&&typeof a.vb==Yh)return a.vb();if(!a.Cb||typeof a.Cb!=Yh){if(Tq(a)||z(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return ht(a)}},mC=function(a,b,c){if(a.forEach&&typeof a.forEach==Yh)a.forEach(b,c);else if(Tq(a)||
z(a))E(a,b,c);else for(var e=lC(a),f=kC(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],e&&e[h],a)},nC=function(a,b,c){if(typeof a.every==Yh)return a.every(b,c);if(Tq(a)||z(a))return Bs(a,b,c);for(var e=lC(a),f=kC(a),g=f.length,h=0;h<g;h++)if(!b.call(c,f[h],e&&e[h],a))return!1;return!0};var oC=function(a){this.Nb=new Q;a&&this.addAll(a)},pC=function(a){var b=typeof a;return b==cl&&a||b==Yh?"o"+$q(a):b.substr(0,1)+a};t=oC.prototype;t.Ga=function(){return this.Nb.Ga()};t.add=function(a){this.Nb.set(pC(a),a)};t.addAll=function(a){a=kC(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};t.removeAll=function(a){a=kC(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};t.remove=function(a){return this.Nb.remove(pC(a))};t.clear=function(){this.Nb.clear()};t.Zb=function(){return this.Nb.Zb()};
t.contains=function(a){return this.Nb.Ic(pC(a))};t.NP=function(a){var b=new oC;a=kC(a);for(var c=0;c<a.length;c++){var e=a[c];this.contains(e)&&b.add(e)}return b};t.Cb=function(){return this.Nb.Cb()};t.clone=function(){return new oC(this)};t.$d=function(a){return this.Ga()==jC(a)&&this.Pza(a)};
t.Pza=function(a){var b=jC(a);if(this.Ga()>b)return!1;!(a instanceof oC)&&5<b&&(a=new oC(a));return nC(this,function(b){var e=a;return e.contains&&typeof e.contains==Yh?e.contains(b):e.zm&&typeof e.zm==Yh?e.zm(b):Tq(e)||z(e)?Gs(e,b):jt(e,b)})};t.jf=function(){return this.Nb.jf(!1)};var qC=function(a,b){var c=[],e=function(a,g,h){var k=g+"  ";h=new oC(h);try{if(w(a))if(null===a)c.push("NULL");else if(z(a))c.push('"'+a.replace(/\n/g,"\n"+g)+'"');else if(Wq(a))c.push(String(a).replace(/\n/g,"\n"+g));else if(Xq(a))if(h.contains(a))c.push("*** reference loop detected ***");else{h.add(a);c.push("{");for(var m in a)if(b||!Wq(a[m]))c.push("\n"),c.push(k),c.push(m+" = "),e(a[m],k,h);c.push("\n"+g+"}")}else c.push(a);else c.push("undefined")}catch(p){c.push("*** "+p+" ***")}};e(a,"",
new oC);return c.join("")},sC=function(a,b){try{var c;var e=Oq("window.location.href");if(z(a))c={message:a,name:"Unknown error",lineNumber:Gd,fileName:e,stack:Gd};else{var f,g,h=!1;try{f=a.lineNumber||a.line||Gd}catch(P){f=Gd,h=!0}try{g=a.fileName||a.filename||a.sourceURL||v.$googDebugFname||e}catch(P){g=Gd,h=!0}c=!h&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||Gd,name:a.name||"UnknownError",lineNumber:f,fileName:g,stack:a.stack||Gd}}var k;var m=c.fileName;null!=m||
(m="");if(/^https?:\/\//i.test(m)){var p=Tv(m),u=Bv("view-source scheme plus HTTP/HTTPS URL"),y="view-source:"+Qv(p);as(Av(u),Tk);D(!lr(Av(u)),Uk);k=Sv(y)}else k=Sv(Av(Bv("sanitizedviewsrc")));return mw(dw("Message: "+c.message+"\nUrl: "),jw("a",{href:k,target:"_new"},c.fileName),dw("\nLine: "+c.lineNumber+"\n\nBrowser stack:\n"+c.stack+"-> [end]\n\nJS stack traversal:\n"+rC(b)+"-> "))}catch(P){return dw("Exception trying to expose exception! You win, we lose. "+P)}},rC=function(a){var b;b=Error();
if(Error.captureStackTrace)Error.captureStackTrace(b,a||rC),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=tC(a||arguments.callee.caller,[]));return b},tC=function(a,b){var c=[];if(Gs(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(uC(a)+"(");for(var e=a.arguments,f=0;e&&f<e.length;f++){0<f&&c.push(", ");var g;g=e[f];switch(typeof g){case cl:g=g?cl:$k;break;case Ho:break;case bl:g=String(g);break;case "boolean":g=g?r:Ah;break;case Yh:g=
(g=uC(g))?g:"[fn]";break;default:g=typeof g}40<g.length&&(g=g.substr(0,40)+"...");c.push(g)}b.push(a);c.push(")\n");try{c.push(tC(a.caller,b))}catch(h){c.push("[exception trying to get caller]\n")}}else a?c.push("[...long stack...]"):c.push("[end]");return c.join("")},uC=function(a){if(vC[a])return vC[a];a=String(a);if(!vC[a]){var b=/function ([^\(]+)/.exec(a);vC[a]=b?b[1]:"[Anonymous]"}return vC[a]},vC={};var wC=function(a,b,c,e,f){this.reset(a,b,c,e,f)};wC.prototype.dD=null;var xC=0;t=wC.prototype;t.reset=function(a,b,c,e,f){typeof f==bl||xC++;this.mfa=e||B();this.rh=a;this.mG=b;this.U8=c;delete this.dD};t.eIa=function(a){this.dD=a};t.kr=function(a){this.rh=a};t.getMessage=function(){return this.mG};t.kU=function(a){this.mG=a};var yC=function(a){this.je=a;this.Ct=this.Wa=this.rh=this.Z=null},zC=function(a,b){this.name=a;this.value=b};zC.prototype.toString=function(){return this.name};
var AC=new zC("SHOUT",1200),BC=new zC("SEVERE",1E3),CC=new zC("WARNING",900),DC=new zC("INFO",800),EC=new zC("CONFIG",700),FC=new zC("FINE",500),GC=new zC("FINER",400),HC=[new zC("OFF",Infinity),AC,BC,CC,DC,EC,FC,GC,new zC("FINEST",300),new zC("ALL",0)],IC=null,JC=function(a){if(!IC){IC={};for(var b=0,c;c=HC[b];b++)IC[c.value]=c,IC[c.name]=c}return IC[a]||null},KC=function(a){v.console&&(v.console.timeStamp?v.console.timeStamp(a):v.console.markTimeline&&v.console.markTimeline(a));v.msWriteProfilerMark&&
v.msWriteProfilerMark(a)};t=yC.prototype;t.getName=function(){return this.je};t.TX=function(a){this.Ct||(this.Ct=[]);this.Ct.push(a)};t.iFa=function(a){var b=this.Ct;return!!b&&Ls(b,a)};t.getParent=function(){return this.Z};t.ih=function(){this.Wa||(this.Wa={});return this.Wa};t.kr=function(a){this.rh=a};t.w3=function(){if(this.rh)return this.rh;if(this.Z)return this.Z.w3();Zr("Root logger has no level set.");return null};t.Q7=function(a){return a.value>=this.w3().value};
t.log=function(a,b,c){this.Q7(a)&&(Wq(b)&&(b=b()),this.v1(this.V3(a,b,c)))};t.V3=function(a,b,c){a=new wC(a,String(b),this.je);c&&a.eIa(c);return a};t.Vda=function(a,b){this.log(BC,a,b)};t.Gga=function(a,b){this.log(CC,a,b)};t.info=function(a,b){this.log(DC,a,b)};t.Tpa=function(a,b){this.log(FC,a,b)};t.KAa=function(a){this.Q7(a.rh)&&this.v1(a)};t.v1=function(a){KC("log:"+a.getMessage());for(var b=this;b;)b.rla(a),b=b.getParent()};t.rla=function(a){if(this.Ct)for(var b=0,c;c=this.Ct[b];b++)c(a)};
t.iA=function(a){this.Z=a};t.sja=function(a,b){this.ih()[a]=b};var LC={},MC=null,NC=function(){MC||(MC=new yC(""),LC[""]=MC,MC.kr(EC))},OC=function(){NC();return MC},PC=function(a){NC();var b;if(!(b=LC[a])){b=new yC(a);var c=a.lastIndexOf("."),e=a.substr(c+1),c=PC(a.substr(0,c));c.sja(e,b);b.iA(c);LC[a]=b}return b};var QC=function(a,b){var c=PC(a);b&&c&&c.kr(b);return c},RC=function(a,b,c){a&&a.Vda(b,c)},SC=function(a,b,c){a&&a.Gga(b,c)},V=function(a,b,c){a&&a.info(b,c)},TC=function(a,b,c){a&&a.Tpa(b,c)};var UC=function(a,b){null!=a&&this.append.apply(this,arguments)};t=UC.prototype;t.Wd="";t.set=function(a){this.Wd=""+a};t.append=function(a,b,c){this.Wd+=String(a);if(null!=b)for(var e=1;e<arguments.length;e++)this.Wd+=arguments[e];return this};t.clear=function(){this.Wd=""};t.toString=function(){return this.Wd};var WC=function(a,b,c){BA.call(this,c);this.L=b||VC;this.SE=cw(a);this.tg=this.He=!1;this.AMa=null;this.aka=pw;this.yn=!0;this.LC=-1};C(WC,BA);var XC={};t=WC.prototype;t.B=function(){WC.g.B.call(this);this.Ar&&(this.Ar.removeNode(this),this.Ar=null);this.Ab(null)};
t.cF=function(){var a=this.b();if(a){var b=this.eO();b&&!b.id&&(b.id=this.getId()+".label");aA(a,"treeitem");T(a,sn,!1);T(a,yh,!1);T(a,"level",this.bt());b&&T(a,bk,b.id);(a=this.Hx())&&aA(a,Fm);(a=this.LD())&&aA(a,Fm);if(a=this.zp())if(aA(a,"group"),a.hasChildNodes())for(a=this.ub(),b=1;b<=a;b++){var c=this.Fa(b-1).b();D(c,"The child element cannot be null");T(c,"setsize",a);T(c,Dm,b)}}};t.j=function(){var a=this.v().ij(this.uo());this.Ab(a)};
t.H=function(){WC.g.H.call(this);XC[this.getId()]=this;this.cF()};t.Ya=function(){WC.g.Ya.call(this);delete XC[this.getId()]};t.vi=function(a,b){D(!a.getParent());gs(a,WC);var c=this.Fa(b-1),e=this.Fa(b);WC.g.vi.call(this,a,b);a.Qn=c;a.ak=e;c?c.ak=a:this.C2=a;e?e.Qn=a:this.t8=a;var f=this.Ve();f&&a.GU(f);a.OT(this.bt()+1);if(this.b()&&(this.Dr(),this.wf())){f=this.zp();a.b()||a.j();var g=a.b(),h=e&&e.b();f.insertBefore(g,h);this.ba&&a.H();e||(c?c.Dr():(S(f,!0),this.Cf(this.wf())))}};
t.add=function(a,b){D(!b||b.getParent()==this,"Can only add nodes before siblings");a.getParent()&&a.getParent().removeChild(a);this.vi(a,b?this.Gg(b):this.ub());return a};
t.removeChild=function(a){var b=this.Ve(),c=b?b.Xb():null;if(c==a||a.contains(c))b.hasFocus()?(this.select(),Xu(this.PCa,10,this)):this.select();WC.g.removeChild.call(this,a);this.t8==a&&(this.t8=a.Qn);this.C2==a&&(this.C2=a.ak);a.Qn&&(a.Qn.ak=a.ak);a.ak&&(a.ak.Qn=a.Qn);c=a.mF();a.Ar=null;a.LC=-1;if(b&&(b.removeNode(a),this.ba)){b=this.zp();if(a.ba){var e=a.b();b.removeChild(e);a.Ya()}c&&(c=this.Q3())&&c.Dr();this.We()||(b.style.display=Yk,this.Dr(),this.Wfa())}return a};t.remove=WC.prototype.removeChild;
t.PCa=function(){this.select()};t.bt=function(){var a=this.LC;0>a&&(a=this.dma(),this.OT(a));return a};t.dma=function(){var a=this.getParent();return a?a.bt()+1:0};t.OT=function(a){if(a!=this.LC){this.LC=a;var b=this.Oj();if(b){var c=this.k4()+q;this.qd()?b.style.paddingRight=c:b.style.paddingLeft=c}this.fc(function(b){b.OT(a+1)})}};t.contains=function(a){for(;a;){if(a==this)return!0;a=a.getParent()}return!1};t.ih=function(){var a=[];this.fc(function(b){a.push(b)});return a};t.Ex=function(){return this.Fa(0)};
t.Q3=function(){return this.Fa(this.ub()-1)};t.mF=function(){return!this.ak};t.ge=function(){return this.He};t.select=function(){var a=this.Ve();a&&a.wd(this)};t.zU=function(a){if(this.He!=a){this.He=a;this.TA();var b=this.b();b&&(T(b,sn,a),a&&(a=this.Ve().b(),D(a,"The DOM element for the tree cannot be null"),T(a,Oe,this.getId())))}};t.wf=function(){return this.tg};t.dA=function(a){this.tg=a};
t.Cf=function(a){var b=a!=this.tg;if(!b||this.dispatchEvent(a?"beforeexpand":"beforecollapse")){var c;this.tg=a;c=this.Ve();var e=this.b();if(this.We()){if(!a&&c&&this.contains(c.Xb())&&this.select(),e){if(c=this.zp())if(S(c,a),a&&this.ba&&!c.hasChildNodes()){var f=[];this.fc(function(a){f.push(a.uo())});Aw(c,mw(f));this.fc(function(a){a.H()})}this.Dr()}}else(c=this.zp())&&S(c,!1);e&&(this.Wfa(),T(e,yh,a));b&&this.dispatchEvent(a?xh:pg)}};t.toggle=function(){this.Cf(!this.wf())};t.expand=function(){this.Cf(!0)};
t.collapse=function(){this.Cf(!1)};t.aT=function(){var a=this.getParent();a&&(a.Cf(!0),a.aT())};t.GIa=function(a){(this.yn=a)||this.expand();this.b()&&this.Dr()};t.uo=function(){var a=this.Ve(),b=!a.vA||a==this.getParent()&&!a.wA?this.L.r0:this.L.q0,a=this.wf()&&this.We(),b={"class":b,style:this.Msa()},c=[];a&&this.fc(function(a){c.push(a.uo())});a=jw(n,b,c);return jw(n,{"class":this.L.PL,id:this.getId()},[this.Mta(),a])};t.k4=function(){return Math.max(0,(this.bt()-1)*this.L.V6)};
t.Mta=function(){var a={};a[El+(this.qd()?an:jk)]=this.k4()+q;var a={"class":this.Fp(),style:a},b=[this.y3(),this.xsa(),this.Fsa()];return jw(n,a,b)};t.Fp=function(){var a;a=this.ge()?" "+this.L.Wna:"";return this.L.Yna+a};t.Fsa=function(){var a=jw(vo,{"class":this.L.QL,title:this.AMa||null},this.SE);return mw(a,jw(vo,{},this.aka))};t.xsa=function(){return jw(vo,{style:{display:"inline-block"},"class":this.CD()})};t.y3=function(){return jw(vo,{type:xh,style:{display:"inline-block"},"class":this.QN()})};
t.QN=function(){var a=this.Ve(),b=!a.vA||a==this.getParent()&&!a.wA,c=this.L,e=new UC;e.append(c.ps," ",c.Ona," ");if(this.We()){var f=0;a.XKa&&this.yn&&(f=this.wf()?2:1);b||(f=this.mF()?f+4:f+8);switch(f){case 1:e.append(c.w0);break;case 2:e.append(c.v0);break;case 4:e.append(c.u0);break;case 5:e.append(c.Qna);break;case 6:e.append(c.Pna);break;case 8:e.append(c.x0);break;case 9:e.append(c.Sna);break;case 10:e.append(c.Rna);break;default:e.append(c.DC)}}else b?e.append(c.DC):this.mF()?e.append(c.u0):
e.append(c.x0);return e.toString()};t.Msa=function(){var a=this.wf()&&this.We();return Gv({"background-position":this.d3(),display:a?null:Yk})};t.d3=function(){return(this.mF()?"-100":(this.bt()-1)*this.L.V6)+"px 0"};t.b=function(){var a=WC.g.b.call(this);a||(a=this.v().b(this.getId()),this.Ab(a));return a};t.Oj=function(){var a=this.b();return a?a.firstChild:null};t.LD=function(){var a=this.Oj();return a?a.firstChild:null};t.Hx=function(){var a=this.Oj();return a?a.childNodes[1]:null};
t.eO=function(){var a=this.Oj();return a&&a.lastChild?a.lastChild.previousSibling:null};t.zp=function(){var a=this.b();return a?a.lastChild:null};t.DU=function(a){this.mI(bw(a))};t.getText=function(){return Gr($v(this.SE))};t.mI=function(a){this.SE=a;var b=this.eO();b&&Aw(b,a);(a=this.Ve())&&a.bda(this)};t.XN=function(){return $v(this.SE)};t.TA=function(){var a=this.Oj();a&&(a.className=this.Fp())};
t.Dr=function(){var a=this.LD();a&&(a.className=this.QN());if(a=this.zp())a.style.backgroundPosition=this.d3()};t.Wfa=function(){this.Hx().className=this.CD()};t.FG=function(a){a.target.getAttribute(Ip)==xh&&this.We()?this.yn&&this.toggle():(this.select(),this.TA())};t.MR=qu;t.PR=function(a){a.target.getAttribute(Ip)==xh&&this.We()||this.yn&&this.toggle()};
t.tCa=function(a){var b=!0;switch(a.keyCode){case 39:if(a.altKey)break;this.We()&&(this.wf()?this.Ex().select():this.Cf(!0));break;case 37:if(a.altKey)break;if(this.We()&&this.wf()&&this.yn)this.Cf(!1);else{var c=this.getParent(),e=this.Ve();c&&(e.oo||c!=e)&&c.select()}break;case 40:(c=this.a4())&&c.select();break;case 38:(c=this.l4())&&c.select();break;default:b=!1}b&&(a.preventDefault(),(e=this.Ve())&&e.Tla());return b};t.fO=function(){return this.wf()&&this.We()?this.Q3().fO():this};
t.a4=function(){if(this.We()&&this.wf())return this.Ex();for(var a=this,b;a!=this.Ve();){b=a.ak;if(null!=b)return b;a=a.getParent()}return null};t.l4=function(){var a=this.Qn;if(null!=a)return a.fO();var a=this.getParent(),b=this.Ve();return!b.oo&&a==b||this==b?null:a};t.GU=function(a){this.Ar!=a&&(this.Ar=a,a.bda(this),this.fc(function(b){b.GU(a)}))};
var VC={V6:19,Vna:"goog-tree-root goog-tree-item",Tna:"goog-tree-hide-root",PL:"goog-tree-item",q0:"goog-tree-children",r0:"goog-tree-children-nolines",Yna:"goog-tree-row",QL:"goog-tree-item-label",ps:"goog-tree-icon",Ona:"goog-tree-expand-icon",w0:"goog-tree-expand-icon-plus",v0:"goog-tree-expand-icon-minus",Sna:"goog-tree-expand-icon-tplus",Rna:"goog-tree-expand-icon-tminus",Qna:"goog-tree-expand-icon-lplus",Pna:"goog-tree-expand-icon-lminus",x0:"goog-tree-expand-icon-t",u0:"goog-tree-expand-icon-l",
DC:"goog-tree-expand-icon-blank",y0:Ti,s0:Si,EC:"goog-tree-file-icon",z0:Ti,t0:Si,Wna:sn};var YC=function(a,b,c){WC.call(this,a,b,c)};C(YC,WC);YC.prototype.Ve=function(){if(this.Ar)return this.Ar;var a=this.getParent();return a&&(a=a.Ve())?(this.GU(a),a):null};YC.prototype.CD=function(){var a=this.wf(),b=this.Epa;if(a&&b)return b;b=this.vya;if(!a&&b)return b;b=this.L;if(this.We()){if(a&&b.y0)return b.ps+" "+b.y0;if(!a&&b.s0)return b.ps+" "+b.s0}else if(b.EC)return b.ps+" "+b.EC;return""};var ZC=function(a){this.ac=void 0;this.te={};a&&this.kHa(a)};t=ZC.prototype;t.set=function(a,b){this.dda(a,b,!1)};t.add=function(a,b){this.dda(a,b,!0)};t.dda=function(a,b,c){for(var e=this,f=0;f<a.length;f++){var g=a.charAt(f);e.te[g]||(e.te[g]=new ZC);e=e.te[g]}if(c&&void 0!==e.ac)throw Error('The collection already contains the key "'+a+'"');e.ac=b};t.kHa=function(a){var b=lC(a);a=kC(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
t.wra=function(a){for(var b=this,c=0;c<a.length;c++)if(b=b.te[a.charAt(c)],!b)return;return b};t.get=function(a){return(a=this.wra(a))?a.ac:void 0};t.Cb=function(){var a=[];this.J4(a);return a};t.J4=function(a){void 0!==this.ac&&a.push(this.ac);for(var b in this.te)this.te[b].J4(a)};t.vb=function(a){var b=[];if(a){for(var c=this,e=0;e<a.length;e++){var f=a.charAt(e);if(!c.te[f])return[];c=c.te[f]}c.dO(a,b)}else this.dO("",b);return b};
t.dO=function(a,b){void 0!==this.ac&&b.push(a);for(var c in this.te)this.te[c].dO(a+c,b)};t.Ic=function(a){return void 0!==this.get(a)};t.zm=function(a){if(this.ac===a)return!0;for(var b in this.te)if(this.te[b].zm(a))return!0;return!1};t.clear=function(){this.te={};this.ac=void 0};
t.remove=function(a){for(var b=this,c=[],e=0;e<a.length;e++){var f=a.charAt(e);if(!b.te[f])throw Error('The collection does not have the key "'+a+'"');c.push([b,f]);b=b.te[f]}a=b.ac;for(delete b.ac;0<c.length;)if(f=c.pop(),b=f[0],f=f[1],b.te[f].Zb())delete b.te[f];else break;return a};t.clone=function(){return new ZC(this)};t.Ga=function(){return jC(this.Cb())};t.Zb=function(){return void 0===this.ac&&lt(this.te)};var $C=function(){this.Aq=new ZC;this.Wd="";this.ZF=this.iR=null;this.iu=this.cz=0};t=$C.prototype;t.ywa=function(a){var b=!1;switch(a.keyCode){case 40:case 38:a.ctrlKey&&(this.dAa(40==a.keyCode?1:-1),b=!0);break;case 8:a=this.Wd.length-1;b=!0;0<a?(this.Wd=this.Wd.substring(0,a),this.o8(this.Wd)):0==a?this.Wd="":b=!1;break;case 27:this.Wd="",b=!0}return b};
t.yxa=function(a){var b=!1;a.ctrlKey||a.altKey||(a=String.fromCharCode(a.charCode||a.keyCode).toLowerCase(),(1==a.length&&" "<=a&&"~">=a||"\u0080"<=a&&"\ufffd">=a)&&(" "!=a||this.Wd)&&(this.Wd+=a,b=this.o8(this.Wd)));return b};t.bJa=function(a){var b=a.getText();if(b&&!lr(Or(b))){var b=b.toLowerCase(),c=this.Aq.get(b);c?c.push(a):this.Aq.set(b,[a])}};
t.Daa=function(a){var b=a.getText();if(b&&!lr(Or(b))){var b=b.toLowerCase(),c=this.Aq.get(b);if(c){for(var e=a.ub(),f=0;f<e;f++)this.Daa(a.Fa(f));Ls(c,a);c.length||this.Aq.remove(b)}}};t.o8=function(a){var b=!1;(a=this.Aq.vb(a))&&a.length&&(this.cz=this.iu=0,b=this.Aq.get(a[0]),b=this.Nba(b))&&(this.iR=a);return b};
t.dAa=function(a){var b=!1,c=this.iR;if(c){var b=null,e=!1;if(this.ZF){var f=this.iu+a;0<=f&&f<this.ZF.length?(this.iu=f,b=this.ZF):e=!0}b||(f=this.cz+a,0<=f&&f<c.length&&(this.cz=f),c.length>this.cz&&(b=this.Aq.get(c[this.cz])),b&&b.length&&e&&(this.iu=-1==a?b.length-1:0));if(b=this.Nba(b))this.iR=c}return b};t.Nba=function(a){var b;a&&(this.iu<a.length&&(b=a[this.iu],this.ZF=a),b&&(b.aT(),b.select()));return!!b};t.clear=function(){this.Wd=""};var aD=function(a,b,c){WC.call(this,a,b,c);this.dA(!0);this.zU(!0);this.Rd=this;this.PA=new $C;this.Ni=this.Cc=null;this.D=QC("this");this.iN=!1;this.jqa=null;this.wA=this.oo=this.XKa=this.vA=!0;if(G)try{document.execCommand(vc,!1,!0)}catch(e){SC(this.D,"Failed to enable background image cache")}};C(aD,WC);t=aD.prototype;t.Ve=function(){return this};t.bt=function(){return 0};t.aT=function(){};t.Qp=function(){this.iN=!0;U(D(this.b()),"focused");this.Rd&&this.Rd.select()};
t.cy=function(){this.iN=!1;oA(D(this.b()),"focused")};t.hasFocus=function(){return this.iN};t.wf=function(){return!this.oo||aD.g.wf.call(this)};t.Cf=function(a){this.oo?aD.g.Cf.call(this,a):this.dA(a)};t.y3=function(){return pw};t.Hx=function(){var a=this.Oj();return a?a.firstChild:null};t.LD=function(){return null};t.Dr=function(){};t.Fp=function(){return aD.g.Fp.call(this)+(this.oo?"":" "+this.L.Tna)};
t.CD=function(){var a=this.wf(),b=this.Epa;if(a&&b)return b;b=this.vya;if(!a&&b)return b;b=this.L;return a&&b.z0?b.ps+" "+b.z0:!a&&b.t0?b.ps+" "+b.t0:""};t.wd=function(a){if(this.Rd!=a){var b=!1;this.Rd&&(b=this.Rd==this.jqa,this.Rd.zU(!1));if(this.Rd=a)a.zU(!0),b&&a.select();this.dispatchEvent(bg)}};t.Xb=function(){return this.Rd};t.PJa=function(a){this.vA!=a&&(this.vA=a,this.ba&&this.$fa())};
t.$fa=function(){function a(f){var g=f.zp();if(g){var h=!c||b==f.getParent()&&!e?f.L.r0:f.L.q0;g.className=h;if(g=f.LD())g.className=f.QN()}f.fc(a)}var b=this,c=b.vA,e=b.wA;a(this)};t.QJa=function(a){this.wA!=a&&(this.wA=a,this.ba&&this.$fa())};t.RJa=function(a){if(this.oo!=a){this.oo=a;if(this.ba){var b=this.Oj();b&&(b.className=this.Fp())}!a&&this.Xb()==this&&this.Ex()&&this.wd(this.Ex())}};
t.cF=function(){aD.g.cF.call(this);var a=this.b();D(a,"The DOM element for the tree cannot be null.");aA(a,"tree");T(a,bk,this.eO().id)};t.H=function(){aD.g.H.call(this);var a=this.b();a.className=this.L.Vna;a.setAttribute("hideFocus",r);this.ew();this.cF()};t.Ya=function(){aD.g.Ya.call(this);this.Zo()};t.ew=function(){var a=this.b();a.tabIndex=0;var b=this.Cc=new aB(a),c=this.Ni=new yA(a);this.C().o(c,Ph,this.cy).o(c,Oh,this.Qp).o(b,Wj,this.zc).o(a,Kk,this.OO).o(a,ng,this.OO).o(a,Hg,this.OO)};
t.Zo=function(){this.Cc.dispose();this.Cc=null;this.Ni.dispose();this.Ni=null};t.OO=function(a){TC(this.D,"Received event "+a.type);var b=this.kta(a);if(b)switch(a.type){case Kk:b.FG(a);break;case ng:b.MR(a);break;case Hg:b.PR(a)}};t.zc=function(a){var b;(b=this.PA.ywa(a)||this.Rd&&this.Rd.tCa(a)||this.PA.yxa(a))&&a.preventDefault();return b};t.kta=function(a){for(var b=a.target;null!=b;){if(a=XC[b.id])return a;if(b==this.b())break;b=b.parentNode}return null};
t.createNode=function(a){return new YC(a||pw,this.L,this.v())};t.bda=function(a){this.PA.bJa(a)};t.removeNode=function(a){this.PA.Daa(a)};t.Tla=function(){this.PA.clear()};var bD=VC;var cD=function(a,b){var c=a?N(a):b;BA.call(this,c);this.zu=a||this.v().J().body;this.KG={};this.jW=0;this.uu=this.zw=this.ym=null;this.A$=this.B$=0;this.fi=null;this.kT=!0;this.wp=this.Au=!1};C(cD,BA);var dD=[Em,jp,jk,Eq,Dg],eD=[Em,jp,jk,Tg,Dg,"marginTop","marginLeft","marginRight","marginBottom"];t=cD.prototype;t.j=function(){cD.g.j.call(this);this.jb(this.b())};t.jb=function(a){cD.g.jb.call(this,a);D(a);U(a,"goog-scrollfloater")};
t.H=function(){cD.g.H.call(this);this.fi||(this.fi=this.v().j(d,{style:xq}));this.update();this.wU(this.kT);var a=this.v().getWindow();this.C().o(a,jn,this.Bt).o(a,$m,this.update)};t.update=function(){if(this.ba){this.Cs();this.ym&&(this.zw=Ty(this.ym));var a=Gy(this.b());this.uu=Ty(this.b());this.B$=a.y;this.A$=a.x;this.Bt()}};t.B=function(){cD.g.B.call(this);this.fi=null};t.wU=function(a){(this.kT=a)?(this.Bka(),this.Bt()):this.Cs()};
t.Bt=function(){if(this.kT){var a=this.v().Kj().y;if(this.uu.top-a>=this.jW)this.Cs();else{var b=this.uu.height+this.jW;if(this.ym&&a>this.zw.top+this.zw.height-b)this.DDa();else{var c=this.v().Zx().height;this.rG()||b<c?this.J2(0):this.uu.height+this.B$>c+a?this.Cs():this.J2(1)}}}};t.DDa=function(){if((!this.wp||this.Cs())&&!this.Au&&this.dispatchEvent("pin")){var a=this.b();this.Zea();a.style.position=Ym;a.style.top=this.zw.height-this.uu.height-this.uu.top+this.zw.top+q;this.Au=!0}};
t.J2=function(a){a=0==a;if((!this.Au||this.Cs())&&this.dispatchEvent("float")){var b=Lw(document).x;if(this.wp)this.$Ma();else{var c=this.b(),e=Gy(c).x,f=cz(c).width;this.Zea();Ry(this.fi,c.offsetWidth,c.offsetHeight);R(c,{left:e-b+q,width:f+q,cssFloat:Yk});c.parentNode==this.zu?c.parentNode.insertBefore(this.fi,c):(c.parentNode.replaceChild(this.fi,c),this.zu.appendChild(c));this.rG()?(c.style.position=Ke,c.style.setExpression(jp,'document.compatMode=="CSS1Compat"?documentElement.scrollTop:document.body.scrollTop')):
(c.style.position=Mh,a?(c.style.top=this.jW+q,c.style.bottom=yf):(c.style.top=yf,c.style.bottom="0"));this.wp=!0}}};t.Cs=function(){if(!this.wp&&!this.Au||!this.dispatchEvent("dock"))return!1;var a=this.b();this.wp&&(this.nba(),this.rG()&&a.style.removeExpression(jp),this.fi.parentNode==this.zu?this.fi.parentNode.removeChild(this.fi):this.fi.parentNode.replaceChild(a,this.fi));this.Au&&this.nba();this.wp=this.Au=!1;return!0};
t.$Ma=function(){D(this.wp);var a=Lw(document).x;R(this.b(),{left:this.A$-a+q})};t.Zea=function(){var a=this.b();this.KG={};E(dD,function(b){this.KG[b]=a.style[b]},this);E(eD,function(b){this.fi.style[b]=a.style[b]||xy(a,b)||wy(a,b)},this)};t.nba=function(){var a=this.b(),b;for(b in this.KG)a.style[b]=this.KG[b]};t.rG=function(){return G&&!(I("7")&&this.v().jq())};
t.Bka=function(){if(this.rG()){var a=this.v().J(),a=Dy(a);a.currentStyle.backgroundImage==Yk&&(a.style.backgroundImage=this.v().getWindow().location.protocol==nj?"url(https:///)":"url(about:blank)",a.style.backgroundAttachment=Mh)}};var fD=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,gD=function(a,b){return a?b?decodeURI(a):decodeURIComponent(a):a},hD=function(a,b){return b.match(fD)[a]||null},iD=function(a){var b=a.match(fD);a=b[1];var c=b[2],e=b[3],b=b[4],f="";a&&(f+=a+":");e&&(f+="//",c&&(f+=c+"@"),f+=e,b&&(f+=":"+b));return f},jD=function(a,b){if(a)for(var c=a.split("&"),e=0;e<c.length;e++){var f=c[e].indexOf("="),g,h=null;0<=f?(g=c[e].substring(0,f),h=
c[e].substring(f+1)):g=c[e];b(g,h?tr(h):"")}},kD=function(a,b,c){a=[a,"&",b];null!=c&&a.push("=",encodeURIComponent(String(c)));a[1]&&(c=a[0],b=c.indexOf("#"),0<=b&&(a.push(c.substr(b)),a[0]=c=c.substr(0,b)),b=c.indexOf("?"),0>b?a[1]="?":b==c.length-1&&(a[1]=void 0));return a.join("")},lD=/#|$/,mD=function(a,b){var c=a.search(lD),e;a:{e=0;for(var f=b.length;0<=(e=a.indexOf(b,e))&&e<c;){var g=a.charCodeAt(e-1);if(38==g||63==g)if(g=a.charCodeAt(e+f),!g||61==g||38==g||35==g)break a;e+=f+1}e=-1}if(0>
e)return null;f=a.indexOf("&",e);if(0>f||f>c)f=c;e+=b.length+1;return tr(a.substr(e,f-e))},nD=function(a,b){var c=a;if(0<=c.indexOf("#")||0<=c.indexOf("?"))throw Error("goog.uri.utils: Fragment or query identifiers are not supported: ["+c+"]");jr(a,"/")&&(a=a.substr(0,a.length-1));ir(b,"/")&&(b=b.substr(1));return Pr(a,"/",b)};var oD=function(a,b){this.Zd=this.dB=this.$f="";this.On=null;this.ox=this.ei="";this.Vh=this.Mza=!1;var c;a instanceof oD?(this.Vh=w(b)?b:a.Vh,this.ho(a.$f),this.vI(a.dB),this.mk(a.Zd),this.jI(a.On),this.Ie(a.getPath()),this.mi(a.Ag().clone()),this.$u(a.ox)):a&&(c=String(a).match(fD))?(this.Vh=!!b,this.ho(c[1]||"",!0),this.vI(c[2]||"",!0),this.mk(c[3]||"",!0),this.jI(c[4]),this.Ie(c[5]||"",!0),this.mi(c[6]||"",!0),this.$u(c[7]||"",!0)):(this.Vh=!!b,this.Og=new pD(null,null,this.Vh))};t=oD.prototype;
t.toString=function(){var a=[],b=this.$f;b&&a.push(qD(b,rD,!0),":");var c=this.Zd;if(c||b==Fh)a.push("//"),(b=this.dB)&&a.push(qD(b,rD,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.On,null!=c&&a.push(":",String(c));if(c=this.getPath())this.aP()&&"/"!=c.charAt(0)&&a.push("/"),a.push(qD(c,"/"==c.charAt(0)?sD:tD,!0));(c=this.x3())&&a.push("?",c);(c=this.ox)&&a.push("#",qD(c,uD));return a.join("")};
t.resolve=function(a){var b=this.clone(),c=a.Zxa();c?b.ho(a.$f):c=a.eya();c?b.vI(a.dB):c=a.aP();c?b.mk(a.Zd):c=a.Wxa();var e=a.getPath();if(c)b.jI(a.On);else if(c=a.e6()){if("/"!=e.charAt(0))if(this.aP()&&!this.e6())e="/"+e;else{var f=b.getPath().lastIndexOf("/");-1!=f&&(e=b.getPath().substr(0,f+1)+e)}f=e;if(".."==f||"."==f)e="";else if(Dr(f,"./")||Dr(f,"/.")){for(var e=ir(f,"/"),f=f.split("/"),g=[],h=0;h<f.length;){var k=f[h++];"."==k?e&&h==f.length&&g.push(""):".."==k?((1<g.length||1==g.length&&
""!=g[0])&&g.pop(),e&&h==f.length&&g.push("")):(g.push(k),e=!0)}e=g.join("/")}else e=f}c?b.Ie(e):c=a.Xxa();c?b.mi(a.Ora()):c=a.Pxa();c&&b.$u(a.ox);return b};t.clone=function(){return new oD(this)};t.ho=function(a,b){this.Ii();if(this.$f=b?vD(a,!0):a)this.$f=this.$f.replace(/:$/,"");return this};t.Zxa=function(){return!!this.$f};t.vI=function(a,b){this.Ii();this.dB=b?vD(a):a;return this};t.eya=function(){return!!this.dB};t.mk=function(a,b){this.Ii();this.Zd=b?vD(a,!0):a;return this};t.aP=function(){return!!this.Zd};
t.jI=function(a){this.Ii();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.On=a}else this.On=null;return this};t.Wxa=function(){return null!=this.On};t.getPath=function(){return this.ei};t.Ie=function(a,b){this.Ii();this.ei=b?vD(a,!0):a;return this};t.e6=function(){return!!this.ei};t.Xxa=function(){return""!==this.Og.toString()};t.mi=function(a,b){this.Ii();a instanceof pD?(this.Og=a,this.Og.eU(this.Vh)):(b||(a=qD(a,wD)),this.Og=new pD(a,null,this.Vh));return this};
t.setQuery=function(a,b){return this.mi(a,b)};t.x3=function(){return this.Og.toString()};t.Ora=function(){return this.Og.rMa()};t.Ag=function(){return this.Og};t.getQuery=function(){return this.x3()};t.ia=function(a,b){this.Ii();this.Og.set(a,b);return this};t.tU=function(a,b){this.Ii();Sq(b)||(b=[String(b)]);this.Og.KU(a,b);return this};t.Of=function(a){return this.Og.Cb(a)};t.yc=function(a){return this.Og.get(a)};t.$u=function(a,b){this.Ii();this.ox=b?vD(a):a;return this};t.Pxa=function(){return!!this.ox};
t.Z8=function(){this.Ii();this.ia("zx",Qr());return this};t.gk=function(a){this.Ii();this.Og.remove(a);return this};t.Ii=function(){if(this.Mza)throw Error("Tried to modify a read-only Uri");};t.eU=function(a){this.Vh=a;this.Og&&this.Og.eU(a);return this};
var xD=function(a,b){return a instanceof oD?a.clone():new oD(a,b)},yD=function(a,b,c,e,f,g,h,k){k=new oD(null,k);a&&k.ho(a);b&&k.vI(b);c&&k.mk(c);e&&k.jI(e);f&&k.Ie(f);g&&k.mi(g);h&&k.$u(h);return k},vD=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},qD=function(a,b,c){return z(a)?(a=encodeURI(a).replace(b,zD),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},zD=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},rD=/[#\/\?@]/g,
tD=/[\#\?:]/g,sD=/[\#\?]/g,wD=/[\#\?@]/g,uD=/#/g,pD=function(a,b,c){this.Qb=this.sd=null;this.Lm=a||null;this.Vh=!!c};pD.prototype.Vk=function(){if(!this.sd&&(this.sd=new Q,this.Qb=0,this.Lm)){var a=this;jD(this.Lm,function(b,c){a.add(tr(b),c)})}};var AD=function(a,b,c){b=lC(a);if("undefined"==typeof b)throw Error("Keys are undefined");c=new pD(null,null,c);a=kC(a);for(var e=0;e<b.length;e++){var f=b[e],g=a[e];Sq(g)?c.KU(f,g):c.add(f,g)}return c};t=pD.prototype;t.Ga=function(){this.Vk();return this.Qb};
t.add=function(a,b){this.Vk();this.Rt();a=this.jt(a);var c=this.sd.get(a);c||this.sd.set(a,c=[]);c.push(b);this.Qb=$r(this.Qb)+1;return this};t.remove=function(a){this.Vk();a=this.jt(a);return this.sd.Ic(a)?(this.Rt(),this.Qb=$r(this.Qb)-this.sd.get(a).length,this.sd.remove(a)):!1};t.clear=function(){this.Rt();this.sd=null;this.Qb=0};t.Zb=function(){this.Vk();return 0==this.Qb};t.Ic=function(a){this.Vk();a=this.jt(a);return this.sd.Ic(a)};t.zm=function(a){var b=this.Cb();return Gs(b,a)};
t.vb=function(){this.Vk();for(var a=this.sd.Cb(),b=this.sd.vb(),c=[],e=0;e<b.length;e++)for(var f=a[e],g=0;g<f.length;g++)c.push(b[e]);return c};t.Cb=function(a){this.Vk();var b=[];if(z(a))this.Ic(a)&&(b=Ns(b,this.sd.get(this.jt(a))));else{a=this.sd.Cb();for(var c=0;c<a.length;c++)b=Ns(b,a[c])}return b};t.set=function(a,b){this.Vk();this.Rt();a=this.jt(a);this.Ic(a)&&(this.Qb=$r(this.Qb)-this.sd.get(a).length);this.sd.set(a,[b]);this.Qb=$r(this.Qb)+1;return this};
t.get=function(a,b){var c=a?this.Cb(a):[];return 0<c.length?String(c[0]):b};t.KU=function(a,b){this.remove(a);0<b.length&&(this.Rt(),this.sd.set(this.jt(a),Os(b)),this.Qb=$r(this.Qb)+b.length)};t.toString=function(){if(this.Lm)return this.Lm;if(!this.sd)return"";for(var a=[],b=this.sd.vb(),c=0;c<b.length;c++)for(var e=b[c],f=encodeURIComponent(String(e)),e=this.Cb(e),g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}return this.Lm=a.join("&")};t.rMa=function(){return vD(this.toString())};
t.Rt=function(){this.Lm=null};t.clone=function(){var a=new pD;a.Lm=this.Lm;this.sd&&(a.sd=this.sd.clone(),a.Qb=this.Qb);return a};t.jt=function(a){a=String(a);this.Vh&&(a=a.toLowerCase());return a};t.eU=function(a){a&&!this.Vh&&(this.Vk(),this.Rt(),this.sd.forEach(function(a,c){var e=c.toLowerCase();c!=e&&(this.remove(c),this.KU(e,a))},this));this.Vh=a};t.extend=function(a){for(var b=0;b<arguments.length;b++)mC(arguments[b],function(a,b){this.add(b,a)},this)};var BD=function(a){M.call(this);this.Ma=null;this.G=a;a=G||Wt||Yt&&!I("531")&&a.tagName==ge;this.N=new rA(this);this.N.o(this.G,a?[Xj,"paste","cut","drop",Ej]:Ej,this)};C(BD,M);
BD.prototype.handleEvent=function(a){if(a.type==Ej)G&&I(10)&&0==a.keyCode&&0==a.charCode||(this.XK(),this.dispatchEvent(this.T_(a)));else if(a.type!=Xj||Yx(a)){var b=a.type==Xj?this.G.value:null;G&&229==a.keyCode&&(b=null);var c=this.T_(a);this.XK();this.Ma=Xu(function(){this.Ma=null;this.G.value!=b&&this.dispatchEvent(c)},0,this)}};BD.prototype.XK=function(){null!=this.Ma&&(Yu(this.Ma),this.Ma=null)};BD.prototype.T_=function(a){a=new vu(a.Vc);a.type=Ej;return a};
BD.prototype.B=function(){BD.g.B.call(this);this.N.dispose();this.XK();delete this.G};var CD=function(a){BA.call(this,a)};C(CD,BA);t=CD.prototype;t.od=null;t.jb=function(a){CD.g.jb.call(this,a);this.Z6()};t.j=function(){this.Ab(this.v().j(rd,{type:Xo}));this.Z6()};t.Z6=function(){this.PT();this.od=new BD(this.b());K(this.od,Ej,this.PT,!1,this)};t.PT=function(){var a=this.b();if(a){var b=this.getValue();switch(xv(b)){case 1:a.dir=uk;break;case -1:a.dir=fn;break;default:a.removeAttribute(Qg)}}};t.bl=function(){var a=this.b().dir;""==a&&(a=null);return a};
t.setValue=function(a){var b=this.b();null!=b.value?b.value=a:nx(b,a);this.PT()};t.getValue=function(){var a=this.b();return null!=a.value?a.value:Ax(a)};t.B=function(){this.od&&(Qu(this.od),this.od.dispose(),this.od=null,CD.g.B.call(this))};var DD=function(a,b,c){for(var e=[],f=0;f<c.length;f++){var g=c[f],h=a.toLowerCase(),k=String(g).toLowerCase(),m=0;if(-1!=k.indexOf(h))m=parseInt((k.indexOf(h)/4).toString(),10);else for(var p=h.split(""),u=-1,y=10,P=0,L;L=p[P];P++)L=k.indexOf(L),L>u?(u=L-u-1,u>y-5&&(u=y-5),m+=u,u=L):(m+=y,y+=5);m<6*h.length&&e.push({RLa:g,Fba:m,index:f})}e.sort(function(a,b){var c=a.Fba-b.Fba;return 0!=c?c:a.index-b.index});a=[];for(P=0;P<b&&P<e.length;P++)a.push(e[P].RLa);return a};var ED=function(a,b,c){M.call(this);this.bz=a;this.ji=c;this.O=b;K(b,["hilite",pn,"canceldismiss","dismiss"],this.handleEvent,!1,this);this.R=null;this.jc=[];this.ml=-1;this.xg=0;this.dh=this.Ef=null;this.i7={}};C(ED,M);t=ED.prototype;t.ZAa=10;t.TY=!0;t.kY=!1;t.Pga=!1;t.Cfa=!1;t.getToken=function(){return this.R};
t.handleEvent=function(a){var b=this.bz;if(a.target==this.O)switch(a.type){case "hilite":this.ll(a.row);break;case pn:var c=!1;if(Vq(a.row)){a=a.row;var e=this.jc[this.Ix(a)],c=!!e&&b.kQ&&b.kQ(e);e&&!c&&this.ml!=a&&this.ll(a)}c||this.OH();break;case "canceldismiss":this.WK();break;case "dismiss":this.jM()}};t.vHa=function(a){this.TY=a};t.dKa=function(a,b){this.R!=a&&(this.R=a,this.bz.LFa(this.R,this.ZAa,A(this.VAa,this),b),this.WK())};t.$Ja=function(a){this.Ef=a};t.Ee=function(){return this.O.V()};
t.mP=function(){for(var a=this.xg+this.jc.length-1,b=this.ml,c=0;c<this.jc.length;c++){if(b>=this.xg&&b<a)b++;else if(-1==b)b=this.xg;else if(this.kY&&b==a){this.ll(-1);break}else if(this.Pga&&b==a)b=this.xg;else break;if(this.ll(b))return!0}return!1};t.v6=function(){for(var a=this.xg+this.jc.length-1,b=this.ml,c=0;c<this.jc.length;c++){if(b>this.xg)b--;else if(this.kY&&b==this.xg){this.ll(-1);break}else if(!this.Pga||-1!=b&&b!=this.xg)break;else b=a;if(this.ll(b))return!0}return!1};
t.ll=function(a){var b=this.Ix(a),c=this.jc[b];return c&&this.bz.kQ&&this.bz.kQ(c)?!1:(this.ml=a,this.O.ll(a),-1!=b)};t.OH=function(){var a=this.Ix(this.ml);if(-1!=a){var b=this.jc[a],c=this.ji.pT(b);this.Cfa?(this.R=null,this.jM()):this.Dj();c||(this.dispatchEvent({type:"update",row:b,index:a}),this.Cfa&&this.ji.update(!0));return!0}this.Dj();this.dispatchEvent({type:"update",row:null,index:null});return!1};t.Rxa=function(){return this.Ee()&&-1!=this.Ix(this.ml)};
t.Dj=function(){this.ml=-1;this.R=null;this.xg+=this.jc.length;this.jc=[];window.clearTimeout(this.dh);this.dh=null;this.O.Dj();this.dispatchEvent(No);this.dispatchEvent("dismiss")};t.jM=function(){this.dh||(this.dh=window.setTimeout(A(this.Dj,this),100))};t.R6=function(){return this.dh?(window.clearTimeout(this.dh),this.dh=null,!0):!1};t.WK=function(){this.R6()||window.setTimeout(A(this.R6,this),10)};t.B=function(){ED.g.B.call(this);delete this.i7;this.O.dispose();this.ji.dispose();this.bz=null};
t.VAa=function(a,b,c){this.R==a&&this.QS(b,c)};t.QS=function(a,b){var c=Rq(b)==cl&&b,e=(c?c.RWa():b)?this.Ix(this.ml):-1;this.xg+=this.jc.length;this.jc=a;for(var f=[],g=0;g<a.length;++g)f.push({id:this.L3(g),data:a[g]});g=null;this.Ef&&(g=this.i7[$q(this.Ef)]||this.Ef);this.O.ao(g);this.O.QS(f,this.R,this.Ef);g=this.TY;c&&void 0!==c.jra()&&(g=c.jra());this.ml=-1;(g||0<=e)&&0!=f.length&&this.R&&(0<=e?this.ll(this.L3(e)):this.mP());this.dispatchEvent(No)};
t.Ix=function(a){a-=this.xg;return 0>a||a>=this.jc.length?-1:a};t.L3=function(a){return this.xg+a};t.update=function(a){this.ji.update(a)};var HD=function(a,b){var c=0,e=0;if(FD(a))c=a.selectionStart,e=b?-1:a.selectionEnd;else if(G){var f=GD(a),g=f[0],f=f[1];if(g.inRange(f)){g.setEndPoint("EndToStart",f);if(a.type==$o){for(var c=f.duplicate(),h=g.text,e=h,k=f=c.text,m=!1;!m;)0==g.compareEndPoints(Zd,g)?m=!0:(g.moveEnd(dg,-1),g.text==h?e+="\r\n":m=!0);if(b)g=[e.length,-1];else{for(g=!1;!g;)0==c.compareEndPoints(Zd,c)?g=!0:(c.moveEnd(dg,-1),c.text==f?k+="\r\n":g=!0);g=[e.length,e.length+k.length]}return g}c=g.text.length;e=b?-1:g.text.length+
f.text.length}}return[c,e]},JD=function(a,b){if(FD(a))a.selectionStart=b,a.selectionEnd=b;else if(G){b=ID(a,b);var c=a.createTextRange();c.collapse(!0);c.move(dg,b);c.select()}},GD=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();a.type==$o?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]},ID=function(a,b){a.type==$o&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b},FD=function(a){try{return typeof a.selectionStart==
bl}catch(b){return!1}};var KD=function(a,b,c,e){F.call(this);e=e||150;this.mu=null!=c?c:!0;this.JJa(a||",;");this.xl=b||"";this.eEa=!1;this.dEa=this.mu;this.Ma=0<e?new Wu(e):null;this.Ne=new rA(this);this.$J=new rA(this);this.Cc=new aB;this.w8=-1};C(KD,F);var LD=(VB||WB)&&!I("533.17.9");t=KD.prototype;t.eOa=!0;t.Zqa=!0;t.mga=!1;t.$Ga=!0;t.ZGa=!0;t.cK=null;t.Fc=null;t.GQ="";t.Co=!1;t.eT=!1;t.ZMa=!0;t.Rka=function(a){this.lc=a};t.qx=function(){return this.Fc};t.getValue=function(){return this.Fc.value};
t.setValue=function(a){this.Fc.value=a};t.JN=function(){return HD(this.Fc,!0)[0]};t.rca=function(a){var b=this.Fc,c=a;if(FD(b))b.selectionStart=c;else if(G){var e=GD(b),f=e[0];f.inRange(e[1])&&(c=ID(b,c),f.collapse(!0),f.move(dg,c),f.select())}b=this.Fc;FD(b)?b.selectionEnd=a:G&&(e=GD(b),c=e[1],e[0].inRange(c)&&(a=ID(b,a),b=ID(b,HD(b,!0)[0]),c.collapse(!0),c.moveEnd(dg,a-b),c.select()))};
t.LY=function(a){gx(a)&&(aA(a,rg),T(a,zf,nk));this.Ne.o(a,Nh,this.Cg);this.Ne.o(a,Qf,this.Sh);if(!this.Fc&&(this.$J.o(a,Xj,this.uCa),gx(a))){var b=Cw(a);Dx(b)==a&&this.caa(a)}};t.pT=function(a,b){this.Fc&&this.eKa(a.toString(),b);return!1};
t.eKa=function(a,b){if(w(b)?b:this.mu){var c=this.z4(this.getValue(),this.JN()),e=this.dV(this.getValue()),f=a;this.YGa.test(f)||(f=rr(f)+this.hoa);this.eOa&&(0==c||lr(e[c-1])||(f=" "+f),c==e.length-1&&(f+=" "));if(f!=e[c]){e[c]=f;f=this.Fc;(H||G&&I("9"))&&f.blur();f.value=e.join("");for(var g=0,h=0;h<=c;h++)g+=e[h].length;f.focus();this.rca(g)}}else this.setValue(a);this.eT=!0};
t.B=function(){KD.g.B.call(this);null!=this.cK&&window.clearTimeout(this.cK);this.Ne.dispose();delete this.Ne;this.$J.dispose();this.Cc.dispose();Rt(this.Ma)};t.JJa=function(a,b){this.Vz=a;this.hoa=null!=b?b:this.Vz.substring(0,1);var c=this.mu?"[\\s"+this.Vz+"]+":"[\\s]+";this.Dfa=new RegExp("^"+c+"|"+c+"$","g");this.YGa=new RegExp("\\s*["+this.Vz+"]$")};
t.zc=function(a){switch(a.keyCode){case 40:if(this.lc.Ee())return this.vR(),a.preventDefault(),!0;if(!this.mu)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.lc.Ee())return this.wR(),a.preventDefault(),!0;break;case 9:if(!this.lc.Ee()||a.shiftKey||this.eEa)this.lc.Dj();else if(this.update(),this.lc.OH()&&this.dEa)return a.preventDefault(),!0;break;case 13:if(this.lc.Ee()){if(this.update(),this.lc.OH())return a.preventDefault(),a.stopPropagation(),!0}else this.lc.Dj();break;case 27:if(this.lc.Ee())return this.lc.Dj(),
a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.Co)return this.ILa(),!0;break;default:this.Ma&&!this.ZMa&&(this.Ma.stop(),this.Ma.start())}return this.K5(a)};t.K5=function(a){var b=this.mu&&a.charCode&&-1!=this.Vz.indexOf(String.fromCharCode(a.charCode));this.$Ga&&b&&this.update();return this.ZGa&&b&&this.lc.OH()?(a.preventDefault(),!0):!1};t.gy=function(){return!1};
t.uja=function(){this.Cc.Zg(this.Fc);this.Ne.o(this.Cc,Wj,this.Gq);this.Ne.o(this.Fc,Kk,this.GG);G&&this.Ne.o(this.Fc,Yj,this.e$)};t.cFa=function(){this.Ne.Ja(this.Cc,Wj,this.Gq);this.Cc.detach();this.Ne.Ja(this.Fc,Zj,this.gy);this.Ne.Ja(this.Fc,Kk,this.GG);G&&this.Ne.Ja(this.Fc,Yj,this.e$);this.Co&&this.nV()};t.Cg=function(a){this.caa(a.target||null)};
t.caa=function(a){this.$J.removeAll();this.lc&&this.lc.WK();a!=this.Fc&&(this.Fc=a,this.Ma&&(this.Ma.start(),this.Ne.o(this.Ma,bp,this.tu)),this.GQ=this.getValue(),this.uja())};t.Sh=function(){LD?this.cK=window.setTimeout(A(this.$$,this),0):this.$$()};t.$$=function(){this.Fc&&(this.cFa(),this.Fc=null,this.Ma&&(this.Ma.stop(),this.Ne.Ja(this.Ma,bp,this.tu)),this.lc&&this.lc.jM())};t.tu=function(){this.update()};t.uCa=function(a){this.Cg(a)};t.Gq=function(a){this.w8=a.keyCode;this.lc&&this.zc(a)};
t.f$=function(){this.Co&&229!=this.w8&&this.nV()};t.g$=function(a){this.Co&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&this.nV()};t.GG=function(a){this.lc&&this.Nd(a)};t.Nd=function(){};t.ILa=function(){this.Co||(this.Ne.o(this.Fc,Zj,this.g$),this.Ne.o(this.Fc,Yj,this.f$),this.Co=!0)};t.nV=function(){this.Co&&(this.Co=!1,this.Ne.Ja(this.Fc,Yj,this.f$),this.Ne.Ja(this.Fc,Zj,this.g$))};t.e$=function(a){this.K5(a)};
t.update=function(a){if(this.Fc&&(a||this.getValue()!=this.GQ)){if(a||!this.eT)a=this.vDa(),this.lc&&(this.lc.$Ja(this.Fc),this.lc.dKa(a,this.getValue()));this.GQ=this.getValue()}this.eT=!1};t.vDa=function(){return this.wDa()};t.wR=function(){return this.mga?this.lc.mP():this.lc.v6()};t.vR=function(){return this.mga?this.lc.v6():this.lc.mP()};t.wDa=function(){var a=this.JN(),b=this.getValue();return this.IMa(this.dV(b)[this.z4(b,a)])};
t.IMa=function(a){return this.Dfa?String(a).replace(this.Dfa,""):a};t.z4=function(a,b){var c=this.dV(a);if(b==a.length)return c.length-1;for(var e=0,f=0,g=0;f<c.length&&g<=b;f++)g+=c[f].length,e=f;return e};
t.dV=function(a){if(!this.mu)return[a];a=String(a).split("");for(var b=[],c=[],e=0,f=!1;e<a.length;e++)this.xl&&-1!=this.xl.indexOf(a[e])?(this.Zqa&&!f&&(b.push(c.join("")),c.length=0),c.push(a[e]),f=!f):f||-1==this.Vz.indexOf(a[e])?c.push(a[e]):(c.push(a[e]),b.push(c.join("")),c.length=0);b.push(c.join(""));return b};var MD=function(a,b,c,e){M.call(this);this.Z=a||document.body;this.M=N(this.Z);this.tH=!a;this.G=null;this.R="";this.jc=[];this.Yq=[];this.Nea=this.RE=-1;this.bc=!1;this.className="ac-renderer";this.CH="ac-row";this.D8=Ne;this.GX="ac-active";this.pya="ac-highlighted";this.ts=b||null;this.KNa=null!=e?e:!0;this.g9=!0;this.OE=!1;this.jGa=!!c;this.cJ=!1;this.fG=0;this.lea=!1};C(MD,M);t=MD.prototype;t.b=function(){return this.G};t.NIa=function(a){this.g9=a};t.ao=function(a){this.Ck=a};
t.QS=function(a,b,c){this.R=b;this.jc=a;this.RE=-1;this.Nea=B();this.Ef=c;this.Yq=[];this.HS()};t.Dj=function(){this.bc&&(this.bc=!1,this.pfa(!1),0<this.fG?(Rt(this.Ho),this.Ho=new Bz(this.G,this.fG),this.Ho.play()):S(this.G,!1))};t.show=function(){this.bc||(this.bc=!0,this.pfa(!0),0<this.fG?(Rt(this.Ho),this.Ho=new Cz(this.G,this.fG),this.Ho.play()):S(this.G,!0))};t.pfa=function(a){this.Ef&&(T(this.Ef,cj,a),T(D(this.G),yh,a),T(this.Ef,yh,a),a?T(this.Ef,Dl,this.G.id):(cA(this.Ef,Dl),hA(this.Ef,null)))};
t.V=function(){return this.bc};t.w6=function(a){var b=0<=a&&a<this.jc.length?this.jc[a]:void 0,c=0<=a&&a<this.Yq.length?this.Yq[a]:void 0;this.dispatchEvent({type:"rowhilite",kXa:c,row:b?b.data:null})&&(this.qya(),this.RE=a,c&&(nA(c,[this.GX,this.D8]),this.Ef&&hA(this.Ef,c),Ly(c,this.G)))};t.qya=function(){0<=this.RE&&pA(D(this.Yq[this.RE]),[this.GX,this.D8])};t.ll=function(a){if(-1==a)this.w6(-1);else for(var b=0;b<this.jc.length;b++)if(this.jc[b].id==a){this.w6(b);break}};
t.TIa=function(a){D(a);nA(a,pr(this.className).split(" "))};t.cBa=function(){if(!this.G){var a=this.M.j(d,{style:"display:none"});this.lea&&(a.style.overflowY=yf);this.G=a;this.TIa(a);aA(a,ok);a.id=zA.S().be();this.M.appendChild(this.Z,a);K(a,ng,this.Op,!1,this);K(a,Kk,this.wt,!1,this);K(a,Nk,this.x5,!1,this)}};
t.HS=function(){this.cBa();this.cJ&&(this.G.style.visibility=ej);this.fOa&&(this.G.style.minWidth=this.fOa.clientWidth+q);this.Yq.length=0;this.M.wh(this.G);if(this.ts&&this.ts.ha)this.ts.ha(this,this.G,this.jc,this.R);else{var a=null;E(this.jc,function(b){b=this.BFa(b,this.R);this.cJ?this.G.insertBefore(b,a):this.M.appendChild(this.G,b);a=b},this)}0==this.jc.length?this.Dj():(this.show(),this.oa(),Zy(this.G,!0))};t.gra=function(){var a=this.jGa?5:1;this.cJ&&(a^=1);return a};
t.oa=function(){if(this.Ef&&this.tH){var a=this.Ck||this.Ef,b=this.gra(),c=65;this.lea&&(this.G.style.height="",c|=32);Wz(a,b,this.G,b^1,null,null,c);this.cJ&&(this.G.style.visibility=zq)}};t.B=function(){this.G&&(Ou(this.G,ng,this.Op,!1,this),Ou(this.G,Kk,this.wt,!1,this),Ou(this.G,Nk,this.x5,!1,this),this.M.removeNode(this.G),this.G=null,this.bc=!1);Rt(this.Ho);this.Z=null;MD.g.B.call(this)};t.AFa=function(a,b,c){nx(c,a.data.toString())};t.CLa=function(a,b){this.Jga=!1;this.lP(a,b)};
t.lP=function(a,b){if(this.OE||!this.Jga)if(3==a.nodeType){var c=null;Sq(b)&&1<b.length&&!this.OE&&(c=Qs(b,1));var e=this.kua(b);if(0!=e.length){for(var f=a.nodeValue,g=this.g9?new RegExp("\\b(?:"+e+")","gi"):new RegExp(e,"gi"),e=[],h=0,k=g.exec(f),m=0;k;)m++,e.push(f.substring(h,k.index)),e.push(f.substring(k.index,g.lastIndex)),h=g.lastIndex,k=g.exec(f);e.push(f.substring(h));if(1<e.length){c=this.OE?m:1;for(f=0;f<c;f++)g=2*f,a.nodeValue=e[g],h=this.M.createElement("B"),h.className=this.pya,this.M.appendChild(h,
this.M.createTextNode(e[g+1])),h=a.parentNode.insertBefore(h,a.nextSibling),a.parentNode.insertBefore(this.M.createTextNode(""),h.nextSibling),a=h.nextSibling;e=Qs(e,2*c);a.nodeValue=e.join("");this.Jga=!0}else c&&this.lP(a,c)}}else for(e=a.firstChild;e;)c=e.nextSibling,this.lP(e,b),e=c};
t.kua=function(a){var b="";if(!a)return b;Sq(a)&&(a=xs(a,function(a){return!lr(Or(a))}));this.OE?Sq(a)?b=ys(a,Kr).join("|"):(b=a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,""),b=Kr(b),b=b.replace(/ /g,"|")):Sq(a)?b=0<a.length?Kr(a[0]):"":/^\W/.test(a)||(b=Kr(a));return b};t.BFa=function(a,b){var c=this.M.j(d,{className:this.CH,id:zA.S().be()});aA(c,pl);this.ts&&this.ts.zFa?this.ts.zFa(a,b,c):this.AFa(a,b,c);b&&this.KNa&&this.CLa(c,b);U(c,this.CH);this.Yq.push(c);return c};
t.t4=function(a){for(;a&&a!=this.G&&!mA(a,this.CH);)a=a.parentNode;return a?us(this.Yq,a):-1};t.Op=function(a){var b=this.t4(a.target);0<=b&&this.dispatchEvent({type:pn,row:this.jc[b].id});a.stopPropagation()};t.wt=function(a){a.stopPropagation();a.preventDefault()};t.x5=function(a){a=this.t4(a.target);0<=a&&!(300>B()-this.Nea)&&this.dispatchEvent({type:"hilite",row:this.jc[a].id})};var ND=function(a,b,c){F.call(this);this.sh=null!=c?A(a,c):a;this.Sf=b;this.Xd=A(this.QCa,this);this.wK=[]};C(ND,F);t=ND.prototype;t.mv=!1;t.pz=0;t.Ma=null;t.Rs=function(a){this.wK=arguments;this.Ma||this.pz?this.mv=!0:this.Gj()};t.stop=function(){this.Ma&&(Yu(this.Ma),this.Ma=null,this.mv=!1,this.wK=[])};t.pause=function(){this.pz++};t.resume=function(){this.pz--;this.pz||!this.mv||this.Ma||(this.mv=!1,this.Gj())};t.B=function(){ND.g.B.call(this);this.stop()};
t.QCa=function(){this.Ma=null;this.mv&&!this.pz&&(this.mv=!1,this.Gj())};t.Gj=function(){this.Ma=Xu(this.Xd,this.Sf);this.sh.apply(null,this.wK)};var OD=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},PD=function(a){return eval("("+a+")")},RD=function(a,b){return(new QD(b)).Zn(a)},QD=function(a){this.rH=a};
QD.prototype.Zn=function(a){var b=[];this.uT(a,b);return b.join("")};QD.prototype.uT=function(a,b){if(null==a)b.push($k);else{if(typeof a==cl){if(Sq(a)){this.aHa(a,b);return}if(a instanceof String||a instanceof Number||a instanceof Boolean)a=a.valueOf();else{this.cHa(a,b);return}}switch(typeof a){case Ho:this.cca(a,b);break;case bl:this.bHa(a,b);break;case "boolean":b.push(String(a));break;case Yh:b.push($k);break;default:throw Error("Unknown type: "+typeof a);}}};
var SD={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},TD=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;QD.prototype.cca=function(a,b){b.push('"',a.replace(TD,function(a){var b=SD[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),SD[a]=b);return b}),'"')};QD.prototype.bHa=function(a,b){b.push(isFinite(a)&&!isNaN(a)?String(a):$k)};
QD.prototype.aHa=function(a,b){var c=a.length;b.push("[");for(var e="",f=0;f<c;f++)b.push(e),e=a[f],this.uT(this.rH?this.rH.call(a,String(f),e):e,b),e=",";b.push("]")};QD.prototype.cHa=function(a,b){b.push("{");var c="",e;for(e in a)if(Object.prototype.hasOwnProperty.call(a,e)){var f=a[e];typeof f!=Yh&&(b.push(c),this.cca(e,b),b.push(":"),this.uT(this.rH?this.rH.call(a,e,f):f,b),c=",")}b.push("}")};var UD=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var VD=function(){};VD.prototype.mZ=null;VD.prototype.getOptions=function(){return this.mZ||(this.mZ=this.bza())};var WD,XD=function(){};C(XD,VD);XD.prototype.yL=function(){var a=this.m4();return a?new ActiveXObject(a):new XMLHttpRequest};XD.prototype.bza=function(){var a={};this.m4()&&(a[0]=!0,a[1]=!0);return a};
XD.prototype.m4=function(){if(!this.D6&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],b=0;b<a.length;b++){var c=a[b];try{return new ActiveXObject(c),this.D6=c}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.D6};WD=new XD;var YD=function(a){M.call(this);this.headers=new Q;this.DJ=a||null;this.Qa=!1;this.CJ=this.Pa=null;this.x8=this.Ig="";this.Lc=0;this.An="";this.cq=this.AP=this.ZE=this.FM=!1;this.fm=0;this.XI=null;this.Gz="";this.vJ=this.oEa=this.Or=!1};C(YD,M);YD.prototype.D=QC("goog.net.XhrIo");var ZD=/^https?$/i,$D=[Kd,"PUT"];YD.prototype.sI=function(a){this.fm=Math.max(0,a)};YD.prototype.xJa=function(a){this.Gz=a};YD.prototype.MU=function(a){this.Or=a};
YD.prototype.send=function(a,b,c,e){if(this.Pa)throw Error("[goog.net.XhrIo] Object is active with another request="+this.Ig+"; newUri="+a);b=b?b.toUpperCase():"GET";this.Ig=a;this.An="";this.Lc=0;this.x8=b;this.FM=!1;this.Qa=!0;this.Pa=this.KL();this.CJ=this.DJ?this.DJ.getOptions():WD.getOptions();this.Pa.onreadystatechange=A(this.o$,this);this.oEa&&"onprogress"in this.Pa&&(this.Pa.onprogress=A(function(a){this.m$(a,!0)},this),this.Pa.upload&&(this.Pa.upload.onprogress=A(this.m$,this)));try{TC(this.D,
this.al("Opening Xhr")),this.AP=!0,this.Pa.open(b,String(a),!0),this.AP=!1}catch(g){TC(this.D,this.al("Error opening Xhr: "+g.message));this.Ks(5,g);return}a=c||"";var f=this.headers.clone();e&&mC(e,function(a,b){f.set(b,a)});e=Es(f.vb(),aE);c=v.FormData&&a instanceof v.FormData;!Gs($D,b)||e||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.Pa.setRequestHeader(b,a)},this);this.Gz&&(this.Pa.responseType=this.Gz);"withCredentials"in this.Pa&&this.Pa.withCredentials!==
this.Or&&(this.Pa.withCredentials=this.Or);try{this.OZ(),0<this.fm&&(this.vJ=bE(this.Pa),TC(this.D,this.al("Will abort after "+this.fm+"ms if incomplete, xhr2 "+this.vJ)),this.vJ?(this.Pa.timeout=this.fm,this.Pa.ontimeout=A(this.sk,this)):this.XI=Xu(this.sk,this.fm,this)),TC(this.D,this.al("Sending request")),this.ZE=!0,this.Pa.send(a),this.ZE=!1}catch(g){TC(this.D,this.al("Send error: "+g.message)),this.Ks(5,g)}};
var bE=function(a){return G&&I(9)&&Vq(a.timeout)&&w(a.ontimeout)},aE=function(a){return"content-type"==a.toLowerCase()};t=YD.prototype;t.KL=function(){return this.DJ?this.DJ.yL():WD.yL()};t.sk=function(){"undefined"!=typeof Nq&&this.Pa&&(this.An="Timed out after "+this.fm+"ms, aborting",this.Lc=8,TC(this.D,this.al(this.An)),this.dispatchEvent("timeout"),this.abort(8))};t.Ks=function(a,b){this.Qa=!1;this.Pa&&(this.cq=!0,this.Pa.abort(),this.cq=!1);this.An=b;this.Lc=a;this.j1();this.lC()};
t.j1=function(){this.FM||(this.FM=!0,this.dispatchEvent(vg),this.dispatchEvent(sh))};t.abort=function(a){this.Pa&&this.Qa&&(TC(this.D,this.al("Aborting")),this.Qa=!1,this.cq=!0,this.Pa.abort(),this.cq=!1,this.Lc=a||7,this.dispatchEvent(vg),this.dispatchEvent(Ie),this.lC())};t.B=function(){this.Pa&&(this.Qa&&(this.Qa=!1,this.cq=!0,this.Pa.abort(),this.cq=!1),this.lC(!0));YD.g.B.call(this)};t.o$=function(){this.isDisposed()||(this.AP||this.ZE||this.cq?this.n$():this.FCa())};t.FCa=function(){this.n$()};
t.n$=function(){if(this.Qa&&"undefined"!=typeof Nq)if(this.CJ[1]&&4==this.Ep()&&2==this.dn())TC(this.D,this.al("Local request error detected and ignored"));else if(this.ZE&&4==this.Ep())Xu(this.o$,0,this);else if(this.dispatchEvent(Tm),this.gF()){TC(this.D,this.al("Request complete"));this.Qa=!1;try{this.Zt()?(this.dispatchEvent(vg),this.dispatchEvent(Mo)):(this.Lc=6,this.An=this.v4()+" ["+this.dn()+"]",this.j1())}finally{this.lC()}}};
t.m$=function(a,b){D(a.type===Km,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(cE(a,Km));this.dispatchEvent(cE(a,b?"downloadprogress":bq))};var cE=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};t=YD.prototype;
t.lC=function(a){if(this.Pa){this.OZ();var b=this.Pa,c=this.CJ[0]?Pq:null;this.CJ=this.Pa=null;a||this.dispatchEvent(Sm);try{b.onreadystatechange=c}catch(e){RC(this.D,"Problem encountered resetting onreadystatechange: "+e.message)}}};t.OZ=function(){this.Pa&&this.vJ&&(this.Pa.ontimeout=null);Vq(this.XI)&&(Yu(this.XI),this.XI=null)};t.Bc=function(){return!!this.Pa};t.gF=function(){return 4==this.Ep()};
t.Zt=function(){var a=this.dn(),b;a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:b=!0;break a;default:b=!1}return b||0===a&&!this.yza()};t.yza=function(){var a=hD(1,String(this.Ig));!a&&v.self&&v.self.location&&(a=v.self.location.protocol,a=a.substr(0,a.length-1));return ZD.test(a?a.toLowerCase():"")};t.Ep=function(){return this.Pa?this.Pa.readyState:0};t.dn=function(){try{return 2<this.Ep()?this.Pa.status:-1}catch(a){return-1}};
t.v4=function(){try{return 2<this.Ep()?this.Pa.statusText:""}catch(a){return TC(this.D,"Can not get status: "+a.message),""}};t.WD=function(){return String(this.Ig)};t.Te=function(){try{return this.Pa?this.Pa.responseText:""}catch(a){return TC(this.D,"Can not get responseText: "+a.message),""}};t.Rx=function(){try{if(this.Pa&&"responseBody"in this.Pa)return this.Pa.responseBody}catch(a){TC(this.D,"Can not get responseBody: "+a.message)}return null};
t.s4=function(a){if(this.Pa){var b=this.Pa.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));return OD(b)}};t.getResponseHeader=function(a){return this.Pa&&this.gF()?this.Pa.getResponseHeader(a):void 0};t.getAllResponseHeaders=function(){return this.Pa&&this.gF()?this.Pa.getAllResponseHeaders():""};t.VD=function(){return z(this.An)?this.An:String(this.An)};t.al=function(a){return a+" ["+this.x8+" "+this.Ig+" "+this.dn()+"]"};var dE=function(){};C(dE,cC);Qq(dE);var eE=[];t=dE.prototype;t.U=function(a){return a&&a.firstChild.firstChild.firstChild.lastChild};t.Bw=function(a,b){var c=this.lh();return b.j(d,wi+(c+Cb),b.j(d,wi+(c+yb),b.j(d,c+"-pos",b.j(d,c+"-top-shadow","\u00a0"),b.j(d,c+tb,a))))};t.b6=function(a,b){var c=this.lh(),e=a.v().Ym(b);return e&&mA(e,c+Cb)&&(e=a.v().Ym(e))&&mA(e,c+yb)&&(e=a.v().Ym(e))&&mA(e,c+"-pos")&&(e=a.v().Ym(e))&&mA(e,c+"-top-shadow")&&(e=a.v().hta(e))&&mA(e,c+tb)?!0:!1};t.W=function(){return li};
t.lh=function(){return"goog-button-base"};t.M3=function(){return eE};hB(li,function(){return new bC(null,dE.S())});var fE={oXa:!0},gE={rXa:!0},hE={qXa:!0},iE={mXa:!0},jE={pXa:!0},kE=function(){throw Error("Do not instantiate directly");};kE.prototype.xj=null;kE.prototype.xb=function(){return this.content};kE.prototype.toString=function(){return this.content};
kE.prototype.uo=function(){if(this.mg===jE)return bw(this.toString());if(this.mg!==fE)throw Error("Sanitized content was not of kind TEXT or HTML.");return rw(Bv("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value."),this.toString(),this.xj)};var lE=function(){kE.call(this)};C(lE,kE);var mE=function(){kE.call(this)};C(mE,kE);var pE=function(a,b,c,e){D(b,Yd);a.innerHTML=nE(b(c||oE,void 0,e))},rE=function(a,b,c,e){D(a,Yd);e=e||N();a=a(b||oE,void 0,c);b=nE(a);qE(b);a=a instanceof kE?a.uo():py(b);return e.ij(a)},sE=function(a,b,c,e){D(a,Yd);a:if(a=a(b||oE,void 0,c),e=(e||N()).createElement(d),a=nE(a),qE(a),e.innerHTML=a,1==e.childNodes.length&&(a=e.firstChild,1==a.nodeType)){e=a;break a}return e},nE=function(a){if(!Xq(a))return String(a);if(a instanceof kE){if(a.mg===fE)return as(a.xb());if(a.mg===jE)return Cr(a.xb())}Zr("Soy template output is unsafe for use as HTML: "+
a);return"zSoyz"},qE=function(a){var b=a.match(tE);D(!b,"This template starts with a %s, which cannot be a child of a <div>, as required by soy internals. Consider using goog.soy.renderElement instead.\nTemplate output: %s",b&&b[0],a)},tE=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i,oE={};var wE=function(a){return Gr(pr(a.replace(uE,function(a,c){return vE.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))},vE=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,uE=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;var xE=function(a,b){this.tc=a;this.Doa=!!b;this.zY={0:this.tc+"-arrowright",1:this.tc+"-arrowup",2:this.tc+"-arrowdown",3:this.tc+"-arrowleft"}};C(xE,VA);t=xE.prototype;t.z7=!1;t.xK=2;t.BY=20;t.WB=3;t.Fga=null;t.KR=-5;t.qK=!1;t.ao=function(a){this.Ck=a};t.setPosition=function(a,b,c,e){null!=a&&(this.WB=a);null!=b&&(this.xK=b);Vq(c)&&(this.BY=Math.max(c,15));Vq(e)&&(this.KR=e)};t.WT=function(a,b){this.tj=a;this.AY=b};t.CHa=function(a){this.qK=a};
t.oa=function(a,b,c){D(this.AY,"Must call setElements first.");this.tH(this.WB,this.csa(this.WB,this.xK),this.dsa(),0,c)};t.dsa=function(){return 2==this.xK?yE(this.WB)?this.tj.offsetHeight/2:this.tj.offsetWidth/2:this.BY};t.csa=function(a,b){2==b&&(b=0);return b};t.Xz=function(a){this.z7=a};
t.tH=function(a,b,c,e,f){if(this.Ck){var g=zE(a,b),h;h=this.Ck;var k=this.tj,m=this.Fga,p=Sy(h);a:{var p=(yE(a)?p.height/2:p.width/2)-c,u=Uz(h,g);if(m)m=m.clone(),k&&(k=Tz(k),m.left+=k.x,m.right+=k.x,m.top+=k.y,m.bottom+=k.y);else if(m=Hy(h),!m){h=p;break a}h=Ty(h).qMa();yE(a)?h.top<m.top&&!(u&1)?p-=m.top-h.top:h.bottom>m.bottom&&u&1&&(p-=h.bottom-m.bottom):h.left<m.left&&!(u&4)?p-=m.left-h.left:h.right>m.right&&u&4&&(p-=h.right-m.right);h=p}h=yE(a)?new sw(this.KR,h):new sw(h,this.KR);p=yE(a)?6:9;
this.qK&&2==e&&(p=yE(a)?4:1);u=a^3;yE(a)&&this.Ck.dir==fn&&(u=a);g=Wz(this.Ck,zE(u,b),this.tj,g,h,f,this.z7?p:0,void 0,this.Fga);if(2!=e&&g&496){this.tH(a^3,b,c,this.qK&&0==e?1:2,f);return}!this.Doa||g&496||(e=parseFloat(this.tj.style.left),f=parseFloat(this.tj.style.top),D(!isNaN(e)&&!isNaN(f),"Could not parse position."),isFinite(e)&&0==e%1&&isFinite(f)&&0==f%1||By(this.tj,Math.round(e),Math.round(f)))}this.PDa(a,b,c)};
t.PDa=function(a,b,c){var e=this.AY;at(this.zY,function(a){qA(e,a,!1)},this);U(e,this.zY[a]);e.style.top=e.style.left=e.style.right=e.style.bottom="";this.Ck?(b=Py(this.Ck,this.tj),c=AE(this.Ck,a),yE(a)?e.style.top=BE(b.y+c.y,15,this.tj.offsetHeight-15)+q:e.style.left=BE(b.x+c.x,15,this.tj.offsetWidth-15)+q):e.style[0==b?yE(a)?jp:jk:yE(a)?Tf:an]=c+q};
var BE=function(a,b,c){return b>c?b:Math.min(Math.max(a,b),c)},zE=function(a,b){switch(a){case 2:return 0==b?1:5;case 1:return 0==b?0:4;case 0:return 0==b?12:13;default:return 0==b?8:9}},AE=function(a,b){var c=0,e=0,f=Sy(a);switch(b){case 2:c=f.width/2;break;case 1:c=f.width/2;e=f.height;break;case 0:e=f.height/2;break;case 3:c=f.width,e=f.height/2}return new sw(c,e)},yE=function(a){return 0==a||3==a};var CE=function(a){F.call(this);this.dom=a||N()};C(CE,F);CE.prototype.W6=function(){aA(this.b(),this.Qe());T(this.b(),pk,Cm)};CE.prototype.Qe=function(){return"tooltip"};var DE=function(a){CE.call(this,a);this.uc=this.dom.j(n,"jfk-tooltip-contentId");this.yK=this.dom.j(n,"jfk-tooltip-arrow",this.dom.j(n,"jfk-tooltip-arrowimplbefore"),this.dom.j(n,"jfk-tooltip-arrowimplafter"));this.HV=this.dom.j(n,{"class":Sj,role:"tooltip"},this.uc,this.yK);this.W6()};C(DE,CE);DE.prototype.b=function(){return this.HV};DE.prototype.U=function(){return this.uc};DE.prototype.B=function(){this.HV&&Zw(this.HV)};var EE=function(a){DE.call(this,a)};C(EE,DE);EE.prototype.W6=function(){aA(this.b(),this.Qe())};var HE=function(a){a=a||N();var b=$q(a.J());FE[b]||(FE[b]=new GE(a))},JE=function(a,b,c){IE(a,b,c)},IE=function(a,b,c){c||(c=b instanceof Zv?wE($v(b)):b);a.removeAttribute(cp);a.removeAttribute(Gg);a.removeAttribute(Fg);b?(b instanceof Zv?a.Ty=b:(a.setAttribute(Fg,b),a.Ty=null),a.setAttribute(rf,c)):(a.Ty=null,a.removeAttribute(rf));HE(N(a))},FE={},GE=function(a){rA.call(this);this.ma=a;this.ve=new lz(this.jMa,0,this);this.wa(this.ve);var b=Mw();this.oG=Wq(b.MutationObserver)?new b.MutationObserver(A(this.Oua,
this)):null;a=a.J();this.o(a,[Mk,Kk,ng,Qf,su,Xj],this.Nla,!0);this.o(a,[Nk,Nh,ru],this.hHa,!0)};C(GE,rA);t=GE.prototype;t.B=function(){this.TZ();GE.g.B.call(this)};t.ufa=function(a){switch(a.type){case Kk:case Nk:case Mk:case ng:this.N7=!1;break;case Xj:this.N7=!0}};
t.hHa=function(a){this.oG&&this.oG.disconnect();this.ufa(a);var b=a.target;a=a.type==Nh||a.type==ru;var c=this.Wb&&hx(this.Wb.U(),b);if(this.N7||!a||c){this.sza=a;if(a=b&&b.getAttribute&&this.oG)a=b.getAttribute(cn)||null,a=Gs($z,a);a&&(this.JBa(b),(a=gA(b))&&(b=a));this.ed=b}else this.ed=null;this.XS()};t.JBa=function(a){this.oG.observe(a,{attributes:!0})};t.Nla=function(a){this.ufa(a);var b=a.target;a=a.type==Kk||a.type==ng;b=this.Wb&&hx(this.Wb.U(),b);a&&b||(this.ed=null,this.XS())};
t.Oua=function(a){E(a,A(function(a){var c=gA(a.target);c&&"aria-activedescendant"==a.attributeName&&(this.ed=c,this.XS())},this))};t.XS=function(){this.TZ();this.ve.start(this.Rj?50:300)};t.TZ=function(){this.JH&&(Yu(this.JH),this.JH=0,this.Rj=null)};
t.jMa=function(){if(!this.ed)this.r6();else if(!(this.Rj&&this.Wb&&hx(this.Wb.b(),this.ed))||this.Rj.getAttribute("data-tooltip-unhoverable")){var a=Bx(this.ed,function(a){return a.getAttribute&&(a.getAttribute(Gg)||a.getAttribute(Fg)||a.Ty)&&!a.getAttribute("data-tooltip-suspended")},!0),b=!1;this.Rj&&this.Rj!=a&&(this.r6(),b=!0);if(!this.Rj&&a&&(this.Rj=a,this.MKa(a))){var c=pw;if(a.getAttribute(Gg))for(var e=Fw("jfk-tooltip-data",a),f=0;f<e.length;f++){if(e[f].parentNode==a){c=e[f].cloneNode(!0);
break}}else c=a.Ty?a.Ty:cw(a.getAttribute(Fg));var e=a.getAttribute("data-tooltip-align"),f=a.getAttribute("data-tooltip-class"),g=a.getAttribute("data-tooltip-offset"),g=lr(Or(g))?-1:Number(g);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.JH=Xu(cr(this.pea,this.Rj,c,e,g,f),a,this);return}this.pea(this.Rj,c,e,g,f)}}};
t.MKa=function(a){return a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>=a.scrollHeight||this.sza&&"mouse"==a.getAttribute("data-tooltip-trigger")?!1:!0};var KE=function(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1};
GE.prototype.pea=function(a,b,c,e,f){this.JH=0;if(!this.Wb){this.Wb=new EE(this.ma);this.s6();var g=this.ma.J().body,h=this.Wb.b();g.appendChild(h);this.wa(this.Wb);this.Dv=new xE(Sj,!0);this.Dv.Xz(!0);this.Dv.CHa(!0);this.Dv.WT(this.Wb.b(),this.Wb.yK)}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.Dv.setPosition(KE(c),g,void 0,e);oA(this.Wb.b(),Tj);this.bJ!=f&&(this.bJ&&!lr(Or(this.bJ))&&oA(this.Wb.b(),this.bJ),lr(Or(f))||U(this.Wb.b(),f),this.bJ=
f);By(this.Wb.b(),0,0);if(b instanceof Zv)Aw(this.Wb.U(),b);else for(Ww(this.Wb.U());c=b.firstChild;)this.Wb.U().appendChild(c);this.Dv.ao(a);this.Dv.oa(null,0)};GE.prototype.s6=function(){this.Wb&&U(this.Wb.b(),Tj)};GE.prototype.r6=function(){this.s6();this.Rj=null};var LE=function(a,b,c){this.maa=null;D(a.length==b.length,"rangeArray and valueArray must have the same length.");this.QLa(a,c);this.values=b};LE.prototype.QLa=function(a,b){this.maa=a;for(var c=1;c<a.length;c++)null==a[c]?a[c]=a[c-1]+1:b&&(a[c]+=a[c-1])};LE.prototype.Qka=function(a){a=this.Isa(a);return 0>a?null:this.values[a]};LE.prototype.Isa=function(a){for(var b=this.maa,c=0,e=b.length;8<e-c;){var f=e+c>>1;b[f]<=a?c=f:e=f}for(;c<e&&!(a<b[c]);++c);return c-1};var ME=null,NE=function(a){if(44032<=a&&55203>=a)return 16==a%28?10:11;ME||(ME=new LE([0,10,1,2,1,18,95,33,13,1,594,112,275,7,263,45,1,1,1,2,1,2,1,1,56,5,11,11,48,21,16,1,101,7,1,1,6,2,2,1,4,33,1,1,1,30,27,91,11,58,9,34,4,1,9,1,3,1,5,43,3,136,31,1,17,37,1,1,1,1,3,8,4,1,2,1,7,8,2,2,21,8,1,2,17,39,1,1,1,2,6,6,1,9,5,4,2,2,12,2,15,2,1,17,39,2,3,12,4,8,6,17,2,3,14,1,17,39,1,1,3,8,4,1,20,2,29,1,2,17,39,1,1,2,1,6,6,9,6,4,2,2,13,1,16,1,18,41,1,1,1,12,1,9,1,41,3,17,37,4,3,5,7,8,3,2,8,2,30,2,17,39,1,1,1,1,
2,1,3,1,5,1,8,9,1,3,2,30,2,17,38,3,1,2,5,7,1,9,1,10,2,30,2,22,48,5,1,2,6,7,19,2,13,46,2,1,1,1,6,1,12,8,50,46,2,1,1,1,9,11,6,14,2,58,2,27,1,1,1,1,1,4,2,49,14,1,4,1,1,2,5,48,9,1,57,33,12,4,1,6,1,2,2,2,1,16,2,4,2,2,4,3,1,3,2,7,3,4,13,1,1,1,2,6,1,1,14,1,98,96,72,88,349,3,931,15,2,1,14,15,2,1,14,15,2,15,15,14,35,17,2,1,7,8,1,2,9,1,1,9,1,45,3,155,1,87,31,3,4,2,9,1,6,3,20,19,29,44,9,3,2,1,69,23,2,3,4,45,6,2,1,1,1,8,1,1,1,2,8,6,13,128,4,1,14,33,1,1,5,1,1,5,1,1,1,7,31,9,12,2,1,7,23,1,4,2,2,2,2,2,11,3,2,36,
2,1,1,2,3,1,1,3,2,12,36,8,8,2,2,21,3,128,3,1,13,1,7,4,1,4,2,1,203,64,523,1,2,2,24,7,49,16,96,33,3070,3,141,1,96,32,554,6,105,2,30164,4,1,10,33,1,80,2,272,1,3,1,4,1,23,2,2,1,24,30,4,4,3,8,1,1,13,2,16,34,16,1,27,18,24,24,4,8,2,23,11,1,1,12,32,3,1,5,3,3,36,1,2,4,2,1,3,1,69,35,6,2,2,2,2,12,1,8,1,1,18,16,1,3,6,1,5,48,1,1,3,2,2,5,2,1,1,32,9,1,2,2,5,1,1,201,14,2,1,1,9,8,2,1,2,1,2,1,1,1,18,11184,27,49,1028,1024,6942,1,737,16,16,7,216,1,158,2,89,3,513,1,2051,15,40,7,1,1472,1,1,1,53,14,1,57,2,1,45,3,4,2,1,
1,2,1,66,3,36,5,1,6,2,75,2,1,48,3,9,1,1,1258,1,1,1,2,6,1,1,22681,62,4,25042,1,1,3,3,1,5,8,8,2,7,30,4,148,3,8097,26,790017,255],[1,13,1,12,1,0,1,0,1,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,1,0,2,0,2,0,2,0,2,1,0,2,0,2,0,2,0,1,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,4,0,5,2,4,2,0,4,2,4,6,4,0,2,5,0,2,0,5,2,4,0,5,2,0,2,4,2,4,6,0,2,5,0,2,0,5,0,2,4,0,5,2,4,2,6,2,5,0,2,0,2,4,0,5,2,0,4,2,4,6,0,2,0,2,4,0,5,2,0,2,4,2,4,6,2,5,0,2,0,5,0,2,0,5,2,4,2,4,6,0,2,0,4,0,5,0,2,4,2,6,2,5,0,2,0,4,0,5,2,0,4,2,4,2,4,2,4,2,6,2,5,0,2,
0,4,0,5,0,2,4,2,4,6,0,2,0,2,0,4,0,5,6,2,4,2,4,2,4,0,5,0,2,0,4,2,6,0,2,0,5,0,2,0,4,2,0,2,0,5,0,2,0,2,0,2,0,2,0,4,5,2,4,2,6,0,2,0,2,0,2,0,5,0,2,4,2,0,6,4,2,5,0,5,0,4,2,5,2,5,0,5,0,5,2,5,2,0,4,2,0,2,5,0,2,0,7,8,9,0,2,0,5,2,6,0,5,2,6,0,5,2,0,5,2,5,0,2,4,2,4,2,4,2,6,2,0,2,0,2,0,2,0,5,2,4,2,4,2,4,2,0,5,0,5,0,4,0,4,0,5,2,4,0,5,0,5,4,2,4,2,6,0,2,0,2,4,2,0,2,4,0,5,2,4,2,4,2,4,2,4,6,5,0,2,0,2,4,0,5,4,2,4,2,6,4,5,0,5,0,5,0,2,4,2,4,2,4,2,6,0,5,4,2,4,2,0,5,0,2,0,2,4,2,0,2,0,4,2,0,2,0,1,2,1,0,1,0,1,0,2,0,2,0,6,
0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,6,5,2,5,4,2,4,0,5,0,5,0,5,0,5,0,4,0,5,4,6,0,2,0,5,0,2,0,5,2,4,6,0,7,2,4,0,5,0,5,2,4,2,4,2,4,6,0,5,2,4,2,4,2,0,2,0,2,4,0,5,0,5,0,5,0,5,2,0,2,0,2,0,2,0,2,0,5,4,2,4,0,4,6,0,5,0,5,0,5,0,4,2,4,2,4,0,4,6,0,11,8,9,0,2,0,2,0,2,0,2,0,1,0,2,0,1,0,2,0,2,0,2,6,0,4,2,4,0,2,6,0,2,4,0,4,2,4,6,2,0,1,0,2,0,2,4,2,6,0,2,4,0,4,2,4,6,0,2,4,2,4,2,6,2,0,4,2,0,2,4,2,0,4,2,1,2,0,2,0,2,0,2,0,14,0,1,2],!0));return ME.Qka(a)},OE=function(a,b,c){a=NE(a);b=NE(b);return(12==a&&13==b?!1:1==a||12==
a||13==a||1==b||12==b||13==b?!0:7==a&&(7==b||8==b||10==b||11==b)||!(10!=a&&8!=a||8!=b&&9!=b)||(11==a||9==a)&&9==b||2==b||6==b||6==a&&5==b?!1:!0)&&!(c&&(3==a||4==b))};var PE=function(a){return 32>=a||4096<=a&&(8192<=a&&8198>=a||8200<=a&&8203>=a||5760==a||6158==a||8232==a||8233==a||8287==a||12288==a)},RE=function(a,b,c){c=c||10;if(c>a.length)return a;for(var e=[],f=0,g=0,h=0,k=0,m=0;m<a.length;m++){var p=k,k=a.charCodeAt(m),p=768<=k&&!b(p,k,!0);f>=c&&!PE(k)&&!p&&(e.push(a.substring(h,m),QE),h=m,f=0);g?62==k&&60==g?g=0:59==k&&38==g&&(g=0,f++):60==k||38==k?g=k:PE(k)?f=0:8204<=k&&8207>=k||8234<=k&&8238>=k||f++}e.push(a.substr(h));return e.join("")},SE=G&&I(8),QE=Yt?
"<wbr></wbr>":Vt?"&shy;":SE?"&#8203;":"<wbr>";var TE=function(a,b){this.os=typeof a==bl?0<a?1:0>a?-1:null:null==a?null:a?-1:1;this.kka=!!b};t=TE.prototype;t.wpa=xv;t.Hka=function(a,b){return 0>Number(a)*Number(b)};t.xoa=function(a,b,c,e){return e&&(this.Hka(b,this.os)||1==this.os&&rv.test(jv(a,c))||-1==this.os&&qv.test(jv(a,c)))?1==this.os?"\u200e":"\u200f":""};t.Bea=function(a,b){return this.Cea(null,a,b)};t.Cea=function(a,b,c){null==a&&(a=this.wpa($v(b),!0));return this.uLa(a,b,c)};
t.uLa=function(a,b,c){c=c||void 0==c;var e;e=0!=a&&a!=this.os;if(this.kka||e){var f;e&&(f=-1==a?fn:uk);e=jw(vo,{dir:f},b)}else e=b;b=$v(b);return e=nw(0,e,this.xoa(b,a,!0,c))};t.mark=function(){switch(this.os){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var UE=function(a,b){return null!=a&&a.mg===b},VE=function(a){if(null!=a)switch(a.xj){case 1:return 1;case -1:return-1;case 0:return 0}return null},WE=function(){kE.call(this)};C(WE,kE);WE.prototype.mg=fE;var W=function(a){return null!=a&&a.mg===fE?(D(a.constructor===WE),a):a instanceof Zv?XE($v(a),a.bl()):XE(Cr(String(String(a))),VE(a))},YE=function(){kE.call(this)};C(YE,kE);YE.prototype.mg={nXa:!0};YE.prototype.xj=1;var ZE=function(){kE.call(this)};C(ZE,kE);ZE.prototype.mg=gE;ZE.prototype.xj=1;
var $E=function(){kE.call(this)};C($E,kE);$E.prototype.mg=hE;$E.prototype.xj=1;var aF=function(){kE.call(this)};C(aF,kE);aF.prototype.mg=iE;aF.prototype.xj=1;var bF=function(){kE.call(this)};C(bF,mE);bF.prototype.mg={lXa:!0};bF.prototype.xj=1;var cF=function(a,b){this.content=String(a);this.xj=null!=b?b:null};C(cF,lE);cF.prototype.mg=jE;
var dF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return new b(String(a))}},eF=function(a,b){return new cF(a,b)},XE=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,e){var f=new b(String(a));void 0!==e&&(f.xj=e);return f}}(WE);dF(YE);dF(ZE);dF($E);dF(aF);dF(bF);
var fF=function(a,b,c,e){return rE(a,b,e,new Bw(c))},gF=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},hF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return(a=String(a))?new b(a):""}},iF=function(a,b){var c=String(a);return c?new cF(c,b):""},jF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,e){var f=String(a);if(!f)return"";f=new b(f);void 0!==e&&(f.xj=e);return f}}(WE);hF(YE);hF($E);hF(ZE);var kF=hF(aF);hF(bF);
var lF=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/,sF=function(a,b){if(!b)return String(a).replace(mF,"").replace(nF,"&lt;");var c=String(a).replace(/\[/g,"&#91;"),e=[],f=[],c=c.replace(mF,function(a,c){if(c&&(c=c.toLowerCase(),b.hasOwnProperty(c)&&b[c])){var g=e.length,p="</",u="";if("/"!=a.charAt(1)){for(var p="<",y;y=oF.exec(a);)if(y[1]&&y[1].toLowerCase()==Qg){if(y=y[2]){if("'"==y.charAt(0)||'"'==y.charAt(0))y=y.substr(1,y.length-2);y=y.toLowerCase();
if(y==uk||y==fn||y==yf)u=' dir="'+y+'"'}break}oF.lastIndex=0}e[g]=p+c+">";f[g]=u;return"["+g+"]"}return""}),c=String(c).replace(pF,qF),g=rF(e),c=c.replace(/\[(\d+)\]/g,function(a,b){return f[b]&&e[b]?e[b].substr(0,e[b].length-1)+f[b]+">":e[b]});return c+g},rF=function(a){for(var b=[],c=0,e=a.length;c<e;++c){var f=a[c];"/"==f.charAt(1)?(f=vs(b,f),0>f?a[c]="":(a[c]=b.slice(f).reverse().join(""),b.length=f)):"<li>"==f&&0>vs(b,"</ol>")&&0>vs(b,"</ul>")?a[c]="":lF.test(f)||b.push("</"+f.substring(1))}return b.reverse().join("")},
tF=function(a){return UE(a,fE)?(D(a.constructor===WE),String(sF(a.xb())).replace(pF,qF)):Cr(String(a))},vF=function(a){if(UE(a,iE))return D(a.constructor===aF),a.xb().replace(/([^"'\s])$/,"$1 ");a=String(a);uF.test(a)||(Zr("Bad value `%s` for |filterHtmlAttributes",[a]),a="zSoyz");return a},zF=function(a){if(UE(a,gE))return D(a.constructor===ZE),String(a).replace(wF,xF);if(UE(a,hE))return D(a.constructor===$E),String(a).replace(wF,xF);a instanceof Pv?a=String(Qv(a)).replace(wF,xF):a instanceof Vv?
a=String(Wv(a)).replace(wF,xF):(a=String(a),yF.test(a)?a=a.replace(wF,xF):(Zr("Bad value `%s` for |filterNormalizeUri",[a]),a="about:invalid#zSoyz"));return a},AF=function(a){return UE(a,jE)?(Zr("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[a.xb()]),"zSoyz"):a},BF={},CF=function(a,b){var c=BF[a]||(BF[a]=new TE(a)),e=rw(Bv("Soy |bidiSpanWrap is applied on an autoescaped text."),String(b)),c=c.Cea(VE(b),e);return $v(c)},DF={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;",
"\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":Ca,"\u2028":"&#8232;","\u2029":"&#8233;"},qF=function(a){return DF[a]},EF={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13",
"\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89",
"\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},xF=function(a){return EF[a]},pF=/[\x00\x22\x27\x3c\x3e]/g,wF=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,yF=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,
uF=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,mF=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,nF=/</g,oF=/([a-zA-Z][a-zA-Z0-9:\-]*)[\t\n\r\u0020]*=[\t\n\r\u0020]*("[^"]*"|'[^']*')/g;var FF=function(a){var b;a=a||{};var c=XE,e='<div role="button"'+(a.id?' id="'+tF(a.id)+'"':"")+' class="',f,g;f=a||{};var h="goog-inline-block jfk-button ";switch(Xq(g=f.style)?g.toString():g){case 0:h+=Qj;break;case 2:h+="jfk-button-action";break;case 3:h+=Pj;break;case 1:h+="jfk-button-default";break;case 4:h+="jfk-button-flat";break;case 5:h+="jfk-button-mini";break;case 6:h+="jfk-button-contrast";break;default:h+=Qj}h+=(1==f.width?" jfk-button-narrow":"")+(f.checked?" jfk-button-checked":"")+
(f.ob?" "+f.ob:"")+(f.disabled?" jfk-button-disabled":"");return c(e+tF(eF(h))+'"'+(a.disabled?' aria-disabled="true"':' tabindex="'+(a.tabindex?tF(a.tabindex):"0")+'"')+(a.title?" "+(a.Mv?Fg:cp)+'="'+tF(a.title)+'"':"")+(a.value?' value="'+tF(a.value)+'"':"")+(a.attributes?" "+vF(a.attributes):"")+">"+W(null==(b=a.content)?"":b)+Qb)};FF.qb="jfk.templates.button.strict";var HF=function(a,b,c,e){bC.call(this,a,GF.S(),b);this.sV=c||0;this.Ch=e||0;this.hW=!1};C(HF,bC);t=HF.prototype;t.getStyle=function(){return this.sV};t.Rf=function(){return this.Ch};t.io=function(a){this.sV!=a&&(this.sV=a,this.nR())};t.oA=function(a){this.Ch!=a&&(this.Ch=a,this.nR())};t.wI=function(a){this.hW=a};t.Jd=function(a){this.kv(a);var b=this.b();b&&(this.hW?IE(b,a,void 0):a?b.title=a:b.removeAttribute(cp))};t.ra=function(a){this.isEnabled()!=a&&(HF.g.ra.call(this,a),this.nR())};
t.focus=function(){var a=this.ae();try{a.focus()}catch(b){}};t.ir=function(a){HF.g.ir.call(this,a);this.gv(!1)};t.Nd=function(a){HF.g.Nd.call(this,a);this.isEnabled()&&this.gv(!0)};t.ph=function(a){HF.g.ph.call(this,a);this.isEnabled()&&this.gv(!0)};t.gv=function(a){this.b()&&qA(this.b(),"jfk-button-clear-outline",a)};t.nR=function(){this.b()&&this.O.UMa(this)};
var IF=function(a,b){return new HF(a,b,4)},KF=function(a){var b=JF("//ssl.gstatic.com/ui/v1/button/search-white.png");return new HF(b,a,2)},JF=function(a,b){if(z(a)){var c=a;a=Ow(yj);a.src=c;Ry(a,21,21)}U(a,"jfk-button-img");c=[];c.push(a);if(b){var e=Ow(vo,"jfk-button-label",b);c.push(e)}return c},GF=function(){this.Fea=this.W()+"-standard";this.CX=this.W()+"-action";this.Z$=this.W()+"-primary";this.K0=this.W()+ub;this.I2=this.W()+"-flat";this.D9=this.W()+"-narrow";this.z9=this.W()+"-mini";this.s_=
this.W()+"-contrast"};C(GF,$B);Qq(GF);t=GF.prototype;t.yo=function(a,b,c){a&&c.io(a);b&&c.oA(b)};t.W=function(){return Oj};t.j=function(a){gs(a,HF,"Button is expected to be instance of jfk.Button");var b=a.v(),c=sE(FF,{disabled:!a.isEnabled(),checked:a.wn(),style:a.getStyle(),title:a.nh(),Mv:a.hW,value:a.getValue(),width:a.Rf()},void 0,b);b.append(c,a.xb());this.la(a,c);return c};
t.la=function(a,b){GF.g.la.call(this,a,b);this.MZ||(this.MZ=tt(this.Fea,cr(this.yo,0,null),this.CX,cr(this.yo,2,null),this.Z$,cr(this.yo,3,null),this.K0,cr(this.yo,1,null),this.I2,cr(this.yo,4,null),this.z9,cr(this.yo,5,null),this.s_,cr(this.yo,6,null),this.D9,cr(this.yo,null,1)));for(var c=kA(b),e=0;e<c.length;++e){var f=this.MZ[c[e]];f&&f(a)}if(c=b.getAttribute(Fg))a.kv(c),a.wI(!0);return b};t.getValue=function(a){return a.getAttribute(iq)||""};t.setValue=function(a,b){a&&a.setAttribute(iq,b)};
t.UMa=function(a){function b(a,b){(a?c:e).push(b)}D(a.b(),"Button element must already exist when updating style.");var c=[],e=[],f=a.getStyle();b(0==f,this.Fea);b(2==f,this.CX);b(3==f,this.Z$);b(4==f,this.I2);b(5==f,this.z9);b(1==f,this.K0);b(6==f,this.s_);b(1==a.Rf(),this.D9);b(!a.isEnabled(),this.W()+wb);pA(a.b(),e);nA(a.b(),c)};hB(Oj,function(){return new HF(null)});var MF=function(a,b){Sq(b)||(b=[b]);D(0<b.length,"At least one Css3Property should be specified.");var c=ys(b,function(a){if(z(a))return a;cs(a,"Expected css3 property to be an object.");var b=a.CS+" "+a.duration+"s "+a.timing+" "+a.ws+"s";D(a.CS&&Vq(a.duration)&&a.timing&&Vq(a.ws),"Unexpected css3 property value: %s",b);return b});LF(a,c.join(","))},NF=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(G)return I("10.0");var a=document.createElement(d),b=Yt?"-webkit":
H?"-moz":G?"-ms":Vt?"-o":null,c={transition:hl};b&&(c[b+"-transition"]=hl);Aw(a,jw(n,{style:c}));a=a.firstChild;D(a.nodeType==Node.ELEMENT_NODE);return""!=vy(a,"transition")}),LF=function(a,b){R(a,"transition",b)};var OF=function(a,b,c,e,f){rz.call(this);this.G=a;this.Ds=b;this.Rya=c;this.r2=e;this.Ev=Sq(f)?f:[f]};C(OF,rz);t=OF.prototype;t.play=function(){if(this.Sy())return!1;this.bi();this.l$();this.startTime=B();this.tda();if(NF())return R(this.G,this.Rya),this.so=Xu(this.HDa,void 0,this),!0;this.oV(!1);return!1};t.HDa=function(){Sy(this.G);MF(this.G,this.Ev);R(this.G,this.r2);this.so=Xu(A(this.oV,this,!1),1E3*this.Ds)};t.stop=function(){this.Sy()&&this.oV(!0)};
t.oV=function(a){LF(this.G,"");Yu(this.so);R(this.G,this.r2);this.endTime=B();this.CU();a?this.r$():this.a$();this.Il()};t.B=function(){this.stop();OF.g.B.call(this)};t.pause=function(){D(!1,"Css3 transitions does not support pause action.")};var PF=function(a,b,c,e,f){return new OF(a,b,{opacity:e},{opacity:f},{CS:"opacity",duration:b,timing:c,ws:0})},QF=function(a,b){return PF(a,b,"ease-out",0,1)},RF=function(a,b){return PF(a,b,"ease-in",1,0)};var UF=function(a,b){var c=cr(SF,a,b);a.ba?c():G?Nu(a,Sn,c):Nu(a,Lf,c);var e=null;K(a,Sn,function(){a.RC&&(e=new TF(a))});K(a,fj,function(){Rt(e)})},SF=function(a,b){a.JT(.75);var c=a.Qc;c&&b&&(c=c.ux(b))&&U(c,"goog-buttonset-action");var c=QF(a.b(),.13),e=RF(a.b(),.13),f=PF(a.Tm(),.13,"ease-out",0,.75),g=PF(a.Tm(),.13,"ease-in",.75,0);a.uI(c,e,f,g)},VF=function(a,b,c,e,f,g,h,k){g=g||"jfk-confirm";var m=new HA(void 0,!0,k);m.Xc(a);m.nI(b);m.co(h||GA());m.Zu(!0);m.ha();a=m.b();D(a,"The dialog element cannot be null");
U(a,g);UF(m,dl);b=m.Zh("msg");m.U().id=b;aA(a,"alertdialog");T(a,Lg,b);Nu(m,Pg,function(a){c&&a.key==m.Qc.Xo?c.call(f):e&&e.call(f)});m.K(!0);return m},WF=function(a,b,c,e,f,g,h,k){b=cw(b);return VF(a,b,c,e,f,g,h,k)},TF=function(a){tA.call(this,a.b());this.fa=a;K(this,Co,this.DKa,!1,this)};C(TF,tA);
TF.prototype.DKa=function(a){a=a.jla;if(this.fa.RC&&mA(a.target,this.fa.zra())){var b=Sy(this.fa.b()),b=new ry(0,b.width,b.height,0),c=bz(this.fa.b());b.expand(-1*c.top,-1*c.right,-1*c.bottom,-1*c.left);if(!b.contains(new sw(a.offsetX,a.offsetY)))return this.ST(),!0}return!1};
TF.prototype.ST=function(){var a=this.fa.v().J(),b=Jw(Mw(a)),c=Sy(this.fa.b());if(zy(this.fa.b())==Mh)a=b.width-c.width,b=b.height-c.height;else var e=Math.max(a.body.scrollHeight,b.height),a=Math.max(a.body.scrollWidth,b.width)-c.width,b=e-c.height;this.hU(new sy(0,0,Math.max(0,a),Math.max(0,b)))};var XF={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:rh,36:"home",37:jk,38:"up",39:an,40:"down",45:"insert",46:"delete",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:vn,61:"equals",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",93:"context",96:"num-0",
97:"num-1",98:"num-2",99:"num-3",100:"num-4",101:"num-5",102:"num-6",103:"num-7",104:"num-8",105:"num-9",106:"num-multiply",107:"num-plus",109:"num-minus",110:"num-period",111:"num-division",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",186:vn,187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};var YF=function(){};C(YF,$B);Qq(YF);t=YF.prototype;t.j=function(a){var b={"class":wi+this.ye(a).join(" ")},b=a.v().j(d,b,a.xb());this.Jd(b,a.nh());return b};t.Qe=function(){return Vf};t.gd=function(a){return a.tagName==d};t.la=function(a,b){D(b);U(b,vi);return YF.g.la.call(this,a,b)};t.getValue=function(){return""};t.W=function(){return ti};hB(ti,function(){return new bC(null,YF.S())});var ZF=function(){};C(ZF,YF);Qq(ZF);t=ZF.prototype;t.j=function(a){var b={"class":wi+this.ye(a).join(" ")},b=a.v().j(d,b,[this.createCaption(a.xb(),a.v()),this.yC(a.v())]);this.Jd(b,a.nh());return b};t.U=function(a){return a&&a.firstChild};
t.la=function(a,b){var c=Ew("*",yi,b)[0];if(c){S(c,!1);a.v().J().body.appendChild(c);var e=new EB;e.la(c);a.Rg(e)}Ew("*",this.W()+sb,b)[0]||b.appendChild(this.createCaption(b.childNodes,a.v()));Ew("*",this.W()+xb,b)[0]||b.appendChild(this.yC(a.v()));return ZF.g.la.call(this,a,b)};t.createCaption=function(a,b){return b.j(d,wi+(this.W()+sb),a)};t.yC=function(a){return a.j(d,{"class":wi+(this.W()+xb),"aria-hidden":!0},"\u00a0")};t.W=function(){return ui};hB(ui,function(){return new gC(null,null,ZF.S())});var aG=function(a,b,c){iC.call(this,a,b,ZF.S(),c);this.vz=new $F(1E3);this.wa(this.vz)};C(aG,iC);t=aG.prototype;t.j=function(){aG.g.j.call(this);U(this.b(),"jfk-select")};
t.qS=function(){if(this.Da().ba){var a=this.b();Oy(a);var b=this.v7()?8:12,c=this.Da().b(),e=!1;this.Da().V()||(e=!0,c.style.visibility=ej,S(c,!0));var f=Math.max(this.Bg(),0),f=this.Da().Fa(f),g=0;if(this.vF()){var h=c.scrollTop;c.style.overflowY=zq;c.style.height=yf;e||(g=Oy(f.b()).y-Oy(this.b()).y,g=h-g)}var e=f?f.b().offsetTop:0,h=Hy(a),k=0;h&&(k=Hy(c),k=Math.min(Math.max(h.top,k.top+2),k.bottom-2)-h.top);Wz(a,b,c,this.v7()?8:12,new sw(0,k-e),null,65|(this.vF()?32:132),null);this.vF()&&(a=Oy(f.b()).y-
Oy(this.b()).y,c.style.overflowY=yf,c.scrollTop=g+a);this.Da().V()||(S(c,!1),c.style.visibility=zq)}};t.Ce=function(a){var b=aG.g.Ce.call(this,a);return a.type!=Wj||!this.Da()||a.altKey||a.ctrlKey||a.metaKey||a.qz?b:this.Ee()||32!=a.keyCode?b?(!this.Ee()||38!=a.keyCode&&40!=a.keyCode||this.T1(),!0):Zx(a.keyCode)?(a=a.charCode?String.fromCharCode(a.charCode):" ",this.vz.add(a),b=this.vz.Iw,this.vz.HC?this.y2(a,!1):this.y2(b,1<b.length),!0):!1:(this.vz.Yaa(),b)};
t.T1=function(){var a=this.Da().el();a&&Ly(a.b(),this.Da().U())};t.y2=function(a,b){var c=this.Ee()?this.Da().yb:this.Bg(),e=new RegExp("^"+Kr(a),"i");b||++c;for(var c=0>c?0:c,f=this.Da(),g=0,h=f.ub();g<h;++g){var k=(c+g)%h,m=f.Fa(k),p=m.Qh();if(m.isEnabled()&&p&&e.test(p)){this.EJa(k);break}}};t.EJa=function(a){this.Ee()?(this.Da().ad(a),this.T1()):this.vd(a)};var $F=function(a){F.call(this);this.ve=new lz(this.Yaa,a,this);this.wa(this.ve)};C($F,F);
$F.prototype.add=function(a){D(1==a.length,"nextLetter: '"+a+"' must be a single character");a==this.Iw?this.HC=!0:this.HC||(this.Iw+=a);this.ve.start()};$F.prototype.Yaa=function(){this.Iw="";this.HC=!1};$F.prototype.HC=!1;$F.prototype.Iw="";var bG=function(){};C(bG,lB);Qq(bG);t=bG.prototype;t.j=function(a){var b=a.v().j(Td,this.ye(a).join(" "));this.nca(b,a.Lk);return b};t.la=function(a,b){b=bG.g.la.call(this,a,b);D(b);var c=kA(b),e=!1;Gs(c,this.wx(null))?e=null:Gs(c,this.wx(!0))?e=!0:Gs(c,this.wx(!1))&&(e=!1);a.HHa(e);D(b,"The element cannot be null.");T(b,ig,this.yY(e));return b};t.Qe=function(){return hg};
t.nca=function(a,b){if(a){D(a);var c=this.wx(b);D(c);D(a);mA(a,c)||(at(cG,function(b){b=this.wx(b);D(a);qA(a,b,b==c)},this),T(a,ig,this.yY(b)))}};t.yY=function(a){return null==a?"mixed":1==a?r:Ah};t.W=function(){return"goog-checkbox"};t.wx=function(a){var b=this.lh();if(1==a)return b+"-checked";if(0==a)return b+"-unchecked";if(null==a)return b+"-undetermined";throw Error("Invalid checkbox state: "+a);};var dG=function(a,b,c){c=c||bG.S();pB.call(this,null,c,b);this.Lk=w(a)?a:!1};C(dG,pB);var cG={fha:!0,DVa:!1,EVa:null};t=dG.prototype;t.Eb=null;t.wn=function(){return 1==this.Lk};t.Sza=function(){return null==this.Lk};t.Bf=function(a){a!=this.Lk&&(this.Lk=a,this.O.nca(this.b(),this.Lk))};t.HHa=function(a){this.Lk=a};t.Hb=function(a){if(this.ba){var b=this.lF();this.Ya();this.Eb=a;this.H();b&&this.ae().focus()}else this.Eb=a};t.toggle=function(){this.Bf(this.Lk?!1:!0)};
t.H=function(){dG.g.H.call(this);if(this.Rp){var a=this.C();this.Eb&&a.o(this.Eb,ng,this.FO).o(this.Eb,Nk,this.Th).o(this.Eb,Mk,this.ny).o(this.Eb,Kk,this.Nd).o(this.Eb,Ok,this.ph);a.o(this.b(),ng,this.FO)}a=this.ae();this.Eb&&a!=this.Eb&&lr(iA(a))&&(this.Eb.id||(this.Eb.id=this.Zh("lbl")),T(a,bk,this.Eb.id))};t.ra=function(a){dG.g.ra.call(this,a);if(a=this.b())a.tabIndex=this.isEnabled()?0:-1};
t.FO=function(a){a.stopPropagation();var b=this.Lk?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(bg))};t.Ce=function(a){32==a.keyCode&&(this.Ze(a),this.FO(a));return!1};hB("goog-checkbox",function(){return new dG});var eG=function(a,b,c){gC.call(this,null,null,a,c);this.c7=b||null};C(eG,gC);t=eG.prototype;t.Rz=2;t.ra=function(a){eG.g.ra.call(this,a);this.mca(a)};t.mca=function(a){this.Ws().disabled=!a};t.Nd=function(a){this.v().contains(this.Ws(),a.target)||eG.g.Nd.call(this,a)};t.Ws=function(){return this.v().Bp(rd,Hi,this.U())[0]};t.U4=function(){2==this.Rz?(this.mA(0),this.Se(0)&&this.Se(0).dispatchEvent(Le)):(this.mA(2),this.Se(1)&&this.Se(1).dispatchEvent(Le))};
t.twa=function(a){0==a.target.Pd?this.mA(0):this.mA(2)};t.jK=function(){this.Se(0)&&this.Se(1)&&(this.C().o(this.Da(),Le,this.twa),this.Se(0).lr(0),this.Se(1).lr(2))};t.fK=function(){this.C().o(this.Ws(),ng,this.U4)};t.j=function(){eG.g.j.call(this);this.E_();var a=new zB("All",null,this.v(),this.c7),b=new zB("None",null,this.v(),this.c7);this.T(a);this.T(b);this.fK();this.jK()};t.E_=function(){var a=this.v().createElement(rd);a.type=hg;a.className=Hi;this.hb(a)};
t.jb=function(a){eG.g.jb.call(this,a);this.fK();this.jK()};t.Rg=function(a){eG.g.Rg.call(this,a);this.jK()};t.mA=function(a){if(this.Rz!=a){var b=this.Ws();0==a?(b.checked=!0,Uy(b,1)):1==a?(b.checked=!0,Uy(b,.5)):(b.checked=!1,Uy(b,1));this.Rz=a}};hB("goog-selectionmenubutton-button",function(){return new eG});var fG=function(a){a=a||{};return XE('<span class="jfk-checkbox goog-inline-block'+(a.Ifa?" jfk-checkbox-undetermined":a.checked?" jfk-checkbox-checked":" jfk-checkbox-unchecked")+(a.disabled?" jfk-checkbox-disabled":"")+(a.ob?" "+tF(a.ob):"")+'" role="checkbox" aria-checked="'+(a.Ifa?"mixed":a.checked?r:Ah)+'"'+(a.Lka?'aria-labelledby="'+tF(a.Lka)+'"':a.Kka?sf+tF(a.Kka)+'"':"")+(a.id?'id="'+tF(a.id)+'"':"")+(a.disabled?'aria-disabled="true" tabindex="-1"':'tabindex="'+(a.tabindex?tF(a.tabindex):
"0")+'"')+(a.attributes?" "+vF(a.attributes):"")+'dir="ltr"><div class="jfk-checkbox-checkmark" role="presentation"></div></span>')};fG.qb="jfk.templates.checkbox.main";var gG=function(a,b){var c=nB(bG,"jfk-checkbox");dG.call(this,a,b,c);this.Fb(4,!0)};C(gG,dG);t=gG.prototype;t.j=function(){this.Ab(sE(fG,{checked:this.wn(),disabled:!this.isEnabled(),Ifa:this.Sza()},void 0,this.v()))};t.jb=function(a){gG.g.jb.call(this,a);U(a,vi);this.b().dir=uk;this.Md(Rj)||this.Cma();aA(this.Pf(Rj),Fm)};t.Cma=function(){var a=this.v().j(n,Rj);this.b().appendChild(a)};t.ir=function(a){gG.g.ir.call(this,a);this.gv(!1)};t.Nd=function(a){gG.g.Nd.call(this,a);this.isEnabled()&&this.gv(!0)};
t.gv=function(a){this.b()&&qA(this.b(),"jfk-checkbox-clearOutline",a)};var hG=function(a){eG.call(this,ZF.S(),null,a);this.Le=new gG;this.Le.Fb(32,!1)};C(hG,eG);t=hG.prototype;t.Ws=function(){return this.Le.b()};t.E_=function(){this.Le.ha();this.hb(this.Le.b())};t.jb=function(a){hG.g.jb.call(this,a);this.Le.la(this.Md("jfk-checkbox"))};t.mca=function(a){this.Le.ra(a)};t.fK=function(){this.C().o(this.Le,bg,this.U4)};t.mA=function(a){this.Rz!=a&&(0==a?this.Le.Bf(!0):1==a?this.Le.Bf(null):this.Le.Bf(!1),this.Rz=a)};t.B=function(){Rt(this.Le);hG.g.B.call(this)};hB("jfk-selectionmenubutton",function(){return new hG});var iG=function(a,b){this.Am=a instanceof sw?a:new sw(a,b)};C(iG,VA);iG.prototype.oa=function(a,b,c,e){Wz(Dy(a),0,a,b,this.Am,c,null,e)};var jG=function(a,b,c){this.M=c||(a?N(O(a)):N());PB.call(this,this.M.j(d,{style:"position:absolute;display:none;"}));this.TL=new sw(1,1);this.dc=new oC;this.yr=null;a&&this.Zg(a);null!=b&&this.DU(b)};C(jG,PB);var kG=[];t=jG.prototype;t.ed=null;t.className="goog-tooltip";t.bea=500;t.iya=0;t.v=function(){return this.M};t.Zg=function(a){a=O(a);this.dc.add(a);K(a,Nk,this.Th,!1,this);K(a,Mk,this.AE,!1,this);K(a,Lk,this.my,!1,this);K(a,Nh,this.Cg,!1,this);K(a,Qf,this.AE,!1,this)};
t.detach=function(a){if(a)a=O(a),this.$0(a),this.dc.remove(a);else{for(var b=this.dc.Cb(),c=0;a=b[c];c++)this.$0(a);this.dc.clear()}};t.$0=function(a){Ou(a,Nk,this.Th,!1,this);Ou(a,Mk,this.AE,!1,this);Ou(a,Lk,this.my,!1,this);Ou(a,Nh,this.Cg,!1,this);Ou(a,Qf,this.AE,!1,this)};t.NJa=function(a){this.bea=a};t.DU=function(a){nx(this.b(),a)};t.mI=function(a){var b=this.b();b&&Aw(b,a)};
t.cA=function(a){var b=this.b();b&&Zw(b);jG.g.cA.call(this,a);a?(b=this.M.J().body,b.insertBefore(a,b.lastChild),this.OEa()):(Rt(this.yr),this.yr=null)};t.OEa=function(){Rt(this.yr);this.yr=new yA(D(this.b()));this.wa(this.yr);K(this.yr,Oh,this.uw,void 0,this);K(this.yr,Ph,this.GI,void 0,this)};t.getText=function(){return zx(this.b())};t.XN=function(){return this.b().innerHTML};t.getState=function(){return this.pv?this.V()?4:1:this.xy?3:this.V()?2:0};
t.LR=function(){if(!EA.prototype.LR.call(this))return!1;if(this.anchor)for(var a,b=0;a=kG[b];b++)hx(a.b(),this.anchor)||a.K(!1);Js(kG,this);a=this.b();a.className=this.className;this.uw();K(a,Nk,this.Q5,!1,this);K(a,Mk,this.P5,!1,this);this.fL();return!0};t.ci=function(){Ls(kG,this);for(var a=this.b(),b,c=0;b=kG[c];c++)b.anchor&&hx(a,b.anchor)&&b.K(!1);this.J$&&this.J$.GI();Ou(a,Nk,this.Q5,!1,this);Ou(a,Mk,this.P5,!1,this);this.anchor=void 0;0==this.getState()&&(this.KH=!1);EA.prototype.ci.call(this)};
t.gBa=function(a,b){this.anchor==a&&this.dc.contains(this.anchor)&&(this.KH||!this.hXa?(this.K(!1),this.V()||this.ODa(a,b)):this.anchor=void 0);this.pv=void 0};t.Ap=function(){return this.dc};t.qx=function(){return this.ed};t.ODa=function(a,b){this.anchor=a;this.setPosition(b||this.lO(0));this.K(!0)};t.fBa=function(a){this.xy=void 0;if(a==this.anchor){a=this.v();var b=a.qx();a=b&&this.b()&&a.contains(this.b(),b);null!=this.ed&&(this.ed==this.b()||this.dc.contains(this.ed))||a||this.Lxa()||this.K(!1)}};
t.Lxa=function(){return!(!this.KZ||!this.KZ.ed)};t.Bba=function(a){var b=this.M.Kj();this.TL.x=a.clientX+b.x;this.TL.y=a.clientY+b.y};t.Th=function(a){var b=this.xD(a.target);this.ed=b;this.uw();b!=this.anchor&&(this.anchor=b,this.Oea(b),this.FZ(),this.Bba(a))};t.xD=function(a){try{for(;a&&!this.dc.contains(a);)a=a.parentNode;return a}catch(b){return null}};t.my=function(a){this.Bba(a);this.KH=!0};
t.Cg=function(a){this.ed=a=this.xD(a.target);this.KH=!0;if(this.anchor!=a){this.anchor=a;var b=this.lO(1);this.uw();this.Oea(a,b);this.FZ()}};t.lO=function(a){return 0==a?(a=this.TL.clone(),new lG(a)):new mG(this.ed)};t.FZ=function(){if(this.anchor)for(var a,b=0;a=kG[b];b++)hx(a.b(),this.anchor)&&(a.KZ=this,this.J$=a)};
t.AE=function(a){var b=this.xD(a.target),c=this.xD(a.relatedTarget);b!=c&&(b==this.ed&&(this.ed=null),this.fL(),this.KH=!1,!this.V()||a.relatedTarget&&hx(this.b(),a.relatedTarget)?this.anchor=void 0:this.GI())};t.Q5=function(){var a=this.b();this.ed!=a&&(this.uw(),this.ed=a)};t.P5=function(a){var b=this.b();this.ed!=b||a.relatedTarget&&hx(b,a.relatedTarget)||(this.ed=null,this.GI())};t.Oea=function(a,b){this.pv||(this.pv=Xu(A(this.gBa,this,a,b),this.bea))};
t.fL=function(){this.pv&&(Yu(this.pv),this.pv=void 0)};t.GI=function(){2==this.getState()&&(this.xy=Xu(A(this.fBa,this,this.anchor),this.iya))};t.uw=function(){this.xy&&(Yu(this.xy),this.xy=void 0)};t.B=function(){this.K(!1);this.fL();this.detach();this.b()&&Zw(this.b());this.ed=null;delete this.M;jG.g.B.call(this)};var lG=function(a,b){iG.call(this,a,b)};C(lG,iG);
lG.prototype.oa=function(a,b,c){b=Dy(a);b=Hy(b);c=c?new ry(c.top+10,c.right,c.bottom,c.left+10):new ry(10,0,0,10);Vz(this.Am,a,8,c,b,9)&496&&Vz(this.Am,a,8,c,b,5)};var mG=function(a){WA.call(this,a,5)};C(mG,WA);mG.prototype.oa=function(a,b,c){var e=new sw(10,0);Wz(this.element,this.Ro,a,b,e,c,9)&496&&Wz(this.element,4,a,1,e,c,5)};var nG=function(a,b,c,e,f){e=e||(b?N(O(b)):N());this.O=a;a=e.J().body;var g=this.O.b();a.appendChild(g);S(this.O.b(),!1);this.className=Sj;jG.call(this,b,c,e);this.wa(this.O);this.cA(this.O.b());b=QF(this.O.b(),.13);c=RF(this.O.b(),.13);this.uI(b,c);this.cw=new xE(Sj,!0);this.cw.setPosition(null!=f?f:1,void 0,void 0,-1);this.cw.WT(this.O.b(),this.O.yK);this.cw.Xz(!0);this.NJa(300)};C(nG,jG);t=nG.prototype;t.lO=function(){this.cw.ao(this.qx());return this.cw};t.U=function(){return this.O.U()};
t.DU=function(a){nx(this.U(),a)};t.mI=function(a){Aw(this.U(),a)};t.getText=function(){return zx(this.U())};t.XN=function(){return this.U().innerHTML};var oG=function(a){var b='<div class="jfk-bubble" role="alertdialog"'+(a.uid?' aria-describedby="'+tF(a.uid)+'"':"")+'><div class="jfk-bubble-content-id"'+(a.uid?' id="'+tF(a.uid)+'"':"")+"></div>";a.RKa&&(b+='<div class="jfk-bubble-closebtn-id jfk-bubble-closebtn" aria-label="'+"Close".replace(pF,qF)+'" role="button" tabindex=0></div>');return XE(b+'<div class="jfk-bubble-arrow-id jfk-bubble-arrow"><div class="jfk-bubble-arrowimplbefore"></div><div class="jfk-bubble-arrowimplafter"></div></div></div>')};
oG.qb="jfk.templates.bubble.main";var pG=function(a,b,c,e){c=c||(a?N(O(a)):N());var f=new DE(c);nG.call(this,f,a,b,c,e)};C(pG,nG);var qG=function(a){var b='<table width="500px">';a=a.xya;for(var c=a.length,e=0;e<c;e++)var f=a[e],b=b+('<tr><td width="16px" id="upload-icon-'+W(f)+'" style="background-repeat: no-repeat; background-position: center center;"></td><td width="184px" id="upload-name-'+W(f)+'"></td><td width="300px"><div id="upload-status-text-'+W(f)+'"></div><div id="upload-status-progress-'+W(f)+'"></div></td></tr>');return b+"</table>"};qG.qb="soy.sites.attachments.Dialog.content";var rG=function(){return'<div class="sites-image-dialog-alt-text-container"><label class="sites-image-dialog-alt-text-label">Alt text (optional):<input class="sites-image-dialog-alt-text-input" type="text" /></label></div>'};rG.qb="sites.editor.templates.imagedialog.altText";var sG=function(a){return"<p>"+W(a.text)+"</p>"},tG=function(a,b,c){return""+sG({text:W(a.user)+" broke your page lock while you were editing and saved changes to this page.  Your save will overwrite their changes.  Continue with save?"},null,c)},uG=function(a,b,c){return""+sG({text:W(a.user)+" broke your page lock while you were editing but has not saved any changes. Would you like to break their lock and save your changes?"},null,c)},vG=function(a,b,c){return""+sG({text:W(a.user)+" broke your page lock while you were editing and save changes to this page.  Your publish will overwrite their changes. Continue with publish?"},
null,c)},wG=function(a,b,c){return""+sG({text:W(a.user)+" broke your page lock while you were editing but has not saved any changes. Would you like to break their lock and publish your changes?"},null,c)};var xG=function(a){return cc+W(a.id)+'" class="sites-camelot-icon"></span>'};xG.qb="soy.sites.editor.sitesbubble.icon";var yG=function(a){return'<span class="sites-editor-bubble-text">'+W(a.text)+Sb};yG.qb="soy.sites.editor.sitesbubble.text";var zG=function(a){for(var b="<table><tbody><tr>",c=a.GBa,e=0;e<c;e++)b+='<td><div class="sites-gviz-chart-border"><div class="sites-gviz-chart-container"></div><div class="sites-gviz-chart-glasspane"></div></div></td>'+(3==e%4?"</tr><tr>":"");return b+='<td><div class="sites-gviz-chart-border"><div class="sites-gviz-chart-container sites-gviz-build-chart">'+W(a.mla)+'</div><div class="sites-gviz-chart-glasspane"></div></div></td></tr></tbody></table>'};zG.qb="sites.editor.embed.templates.gvizchart.chartsTable";
var AG=function(a){return'<div class="sites-gviz-datasource"><span class="sites-gviz-datasource-title">'+W(a.title)+' <span class="sites-gviz-datasource-hyphen">-</span></span><br><input type="text" title="'+W(a.f7)+'" label="'+W(a.f7)+'" class="sites-gviz-datasource-input" /><div class="goog-inline-block" style="width: 50%;overflow: hidden;"><div class="sites-gviz-datasource-trixname goog-inline-block"><a target="_blank" href="'+W(a.JMa)+'" title="'+W(a.Efa)+Aa+W(a.Efa)+'</a></div></div><div class="goog-inline-block" style="width: 50%;overflow: hidden;"><div class="sites-gviz-datasource-help goog-inline-block"><a target="_blank" href="'+
W(a.gya)+'" title="'+W(a.k6)+Aa+W(a.k6)+'</a></div></div><div style="height:7px;"></div><div class="sites-gviz-datasource-control"><div class="goog-inline-block" style="width:45%;overflow: hidden;"><input type="radio" name="sites-gviz-datasource-control-mode" id="sites-gviz-datasource-sync-radio"/><label for="sites-gviz-datasource-sync-radio">'+W(a.yAa)+ja+W(a.zAa)+'"></span></label></div><div class="goog-inline-block" style="width:45%;overflow: hidden;"><input type="radio" name="sites-gviz-datasource-control-mode" id="sites-gviz-datasource-snapshot-radio"/><label for="sites-gviz-datasource-snapshot-radio">'+
W(a.oLa)+ja+W(a.pLa)+'"></span></label></div></div></div>'};AG.qb="sites.editor.embed.templates.gvizchart.dataSourceInput";var BG=function(a){return'<div class="sites-clear goog-link-box command-sites-insert-maestro-label" id="maestro-insert-gadget-dialog-selected-script">'+(a.l7?"Apps Script:":'<a href="'+W(a.cpa)+xa+W(a.Dq)+"</span></a>:")+' <a jotId="objectUrlField" href="'+W(a.Ed)+'" target="_blank"><span>published URL</span></a><div id="goog-edit-insert-maestro-change" class="goog-inline-block"></div></div><hr/>'+(a.l7?"":'<div id="maestro-insert-gadget-dialog-publish"><p><strong>Publish your Apps Script as a service:</strong></p><p class="goog-ws-publish-apps-script-warning"><strong>Please read this carefully. It\'s not the usual yada yada.</strong></p><p>This is going to publish the script as a service, so it can be used in the gadget. By doing so, you are allowing users who access the url shown below to run the script AS YOU.<br/><br/><label><input jotId="restrictionMyself" type="radio" name="restriction"'+
W(a.dGa)+' id="maestro-gadget-restr-self" />Allow only myself ('+W(a.fpa)+") to invoke this service</label>"+(a.isConsumer?"":'<br/><label><input jotId="restrictionDomain" type="radio" name="restriction"'+W(a.cGa)+' id="maestro-gadget-restr-dom" />Allow only members of '+W(a.domain)+" to invoke this service</label>")+(a.canPublishScriptToAnyone?'<br/><label><input jotId="restrictionAnyone" type="radio" name="restriction"'+W(a.bGa)+' id="maestro-gadget-restr-any" />Allow anyone to invoke this service</label><br/><label id="maestro-gadget-restr-anonymous-label"><input jotId="allowAnonymous" type="checkbox"'+
W(a.gka)+' name="allowAnonymous" id="maestro-gadget-restr-anonymous" />Allow anonymous access</label>':"")+'</p><p><input size="52" value="'+W(a.Ed)+'" readonly="readonly"/><input type="hidden" value="'+W(a.Xy)+'" name="libId" jotId="libId" /></p></div><hr/>')+'<div id="maestro-insert-gadget-dialog-settings"><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(a.qr)+' />Include border around Apps Script gadget<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(a.rr)+fa+W(a.Mo)+'" /></p><p>Height: <input jotId="height" size="3" value="'+W(a.Wp)+'" /> pixels</p><p>Width:&nbsp;&nbsp;<input jotId="width" size="3" value="'+W(a.Nr)+'" /> pixels&nbsp;&nbsp;(leave empty for 100% width)</p></div>'};BG.qb="sites.editor.embed.templates.maestro.embedDialog";var CG=function(){return"<p id='maestro-embed-loading-error'>Google Sites encountered an error while editing the Apps Script Gadget. Please retry later.</p>"};CG.qb="sites.editor.embed.templates.maestro.errorDialog";var DG=function(a){return XE('<div class="maestro-embed-dialog-content"><p><strong>Select a script:</strong></p><p><div class="goog-ws-ig-maestro" id="maestro-embed-script-list">'+W(a.HAa)+"</div></p><p><small>Or paste the URL of your Apps Script already published as a service:</small><br/>"+(void 0==a.Ed?'<input id="manual-object-url-field" class="maestro-url-input-box" value="" />':'<input id="manual-object-url-field" class="maestro-url-input-box" value="'+tF(a.Ed)+'" />')+"</p></div>")},EG=function(a){return'<li><span class="goog-ws-ig-maestro-script">'+
W(a.title)+"</span></li>"};EG.qb="sites.editor.embed.templates.maestropicker.scriptLi";var FG=function(a){return'<p><div class="sites-clear goog-link-box command-sites-insert-'+W(a.doctype)+'-label"><span class="goog-toolbar-menu-item-icon" style="display:block;width:16px;height:15px;margin-left:5px;"> </span><a jotId="objectUrlField" class="sites-embed-url" href="'+W(a.Ed)+xa+W(a.Dq)+'</span></a><div id="goog-edit-insert-writely-change"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(a.qr)+' /> Include border around Google Document<br /></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(a.rr)+ba+W(a.Mo)+ua+W(a.Wp)+qa+W(a.Nr)+'" /> pixels&nbsp;&nbsp;(leave empty for 100% width)</p>'};var GG=function(a){return'<p><div class="sites-clear goog-link-box command-sites-insert-spreadsheet-label"><span class="goog-toolbar-menu-item-icon" style="display:block;width:16px;height:15px;margin-left:5px;"></span><a jotId="objectUrlField" class="sites-embed-url" href="'+W(a.Ed)+xa+W(a.Dq)+'</span></a><div id="goog-edit-insert-'+W(a.O9)+'"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(a.qr)+" />"+W(a.aea)+'<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(a.rr)+ea+W(a.Mo)+'" /></p><p><strong>Height: </strong><input jotId="height" size="3" value="'+W(a.Wp)+'" /> pixels</p><p><strong>Width: </strong><input jotId="width" size="3" value="'+W(a.Nr)+pa};var HG=function(){return'<div class="lp-panel-content"><div class="lp-panel-content-header">Text to display:</div><input id=\'lp-link-text\' type="text" dir="ltr"><div class="lp-panel-content-header">Link to this URL:</div><input id=\'lp-link-url\' type="text" dir="ltr"><div class="lp-panel-content-general-text">Example: www.google.com</div></div>'};HG.qb="soy.sites.editor.linkpicker.urlInputPanelContent";var IG=function(){};C(IG,YF);Qq(IG);IG.prototype.W=function(){return Oj};var JG=function(a,b,c){HA.call(this,a,b,c)};C(JG,HA);var KG=0;JG.prototype.K=function(a){a!=this.V()&&(JG.g.K.call(this,a),a?KG++:KG=Math.max(KG-1,0),this.focus())};JG.prototype.focus=function(){if(this.V()){var a=this.Vm();a&&(xx(a,!0),a.focus())}};
JG.prototype.oa=function(){var a=this.M.J(),b=Mw(a)||window,a=N((b||v||window).document).Kj(),c=a.x,a=a.y,e=Sy(this.b()),b=Jw(b),c=Math.max(c+b.width/2-e.width/2,0),f=O("gb"),g=20;f&&(g+=Sy(f).height);a=Math.max(a+b.height/2-e.height/2,g);By(this.b(),c,a)};x("gsites.components.JotDialog.prototype.reposition",JG.prototype.oa,void 0);JG.prototype.close=function(){this.K(!1);this.dispose()};var NG=function(a){M.call(this);this.SL=this.lv={};this.B8=0;this.Dua=ut(LG);this.gMa=ut(MG);this.mY=!0;this.hY=this.lka=!1;this.sBa=!0;this.ika=!1;this.bK=null;this.Vya(a)},OG;C(NG,M);var PG=function(a){this.NU=a||null;this.next=a?null:{}},LG=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],MG=["color","date","datetime","datetime-local",kh,"month",bl,"password",mn,"tel",Xo,"time",dq,"week"];t=NG.prototype;t.rHa=function(a){this.mY=a};t.mHa=function(a){this.hY=a};
t.taa=function(a,b){QG(this.lv,this.r7(1,arguments),a)};t.Lfa=function(a){RG(this.lv,this.r7(0,arguments))};t.r7=function(a,b){var c;if(z(b[a]))c=ys(SG(b[a]),function(a){$r(a.keyCode,"A non-modifier key is needed in each stroke.");return a.keyCode&255|a.tBa<<8});else{var e=b,f=a;Sq(b[a])&&(e=b[a],f=0);for(c=[];f<e.length;f+=2)c.push(e[f]&255|e[f+1]<<8)}return c};t.QMa=function(){this.lv={}};t.B=function(){NG.g.B.call(this);this.QMa();this.Pla()};
var SG=function(a){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ").toLowerCase();a=a.split(" ");for(var b=[],c,e=0;c=a[e];e++){var f=c.split("+"),g=null;c=0;for(var h,k=0;h=f[k];k++){switch(h){case "shift":c|=1;continue;case "ctrl":c|=2;continue;case "alt":c|=4;continue;case "meta":c|=8;continue}null===g||Zr("At most one non-modifier key can be in a stroke.");f=h;if(!OG){g={};k=void 0;for(k in XF)g[XF[k]]=$x(parseInt(k,10));OG=g}g=OG[f];$r(g,"Key name not found in goog.events.KeyNames: "+h);
break}b.push({keyCode:g,tBa:c})}return b};t=NG.prototype;t.Vya=function(a){this.vl=a;K(this.vl,Xj,this.oh,!1,this);H&&K(this.vl,Zj,this.j5,!1,this);au&&!H&&(K(this.vl,Yj,this.V5,!1,this),K(this.vl,Zj,this.W5,!1,this))};t.j5=function(a){if($t){if(224==a.keyCode){this.t9=!0;Xu(function(){this.t9=!1},400,this);return}var b=a.metaKey||this.t9;67!=a.keyCode&&88!=a.keyCode&&86!=a.keyCode||!b||(a.metaKey=b,this.oh(a))}32==this.bK&&32==a.keyCode&&a.preventDefault();this.bK=null};
t.fQ=function(a){return au&&!H&&a.ctrlKey&&a.altKey};t.V5=function(a){32<a.keyCode&&this.fQ(a)&&(this.W7=!0)};t.W5=function(a){!this.W7&&this.fQ(a)&&this.oh(a)};t.Pla=function(){Ou(this.vl,Xj,this.oh,!1,this);H&&Ou(this.vl,Zj,this.j5,!1,this);au&&!H&&(Ou(this.vl,Yj,this.V5,!1,this),Ou(this.vl,Zj,this.W5,!1,this));this.vl=null};
var QG=function(a,b,c){var e=b.shift(),f=a[e];if(f&&(0==b.length||f.NU))throw Error("Keyboard shortcut conflicts with existing shortcut");b.length?(e=e.toString(),f=new PG,f=e in a?a[e]:a[e]=f,QG(D(f.next,"An internal node must have a next map"),b,c)):a[e]=new PG(c)},RG=function(a,b){var c=b.shift(),e=a[c];e&&(0==b.length?e.NU&&delete a[c]:e.next&&(RG(e.next,b),lt(e.next)&&delete a[c]))};
NG.prototype.oh=function(a){if(this.sQ(a))if(a.type==Xj&&this.fQ(a))this.W7=!1;else{var b=$x(a.keyCode),c=b&255|((a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0))<<8;this.SL[c]&&!this.$xa()||this.LT(this.lv);if(c=this.SL[c])if(c.next)this.LT(c.next),a.preventDefault();else{this.LT(this.lv);this.mY&&a.preventDefault();this.lka&&a.stopPropagation();var c=as(c.NU,"A terminal node must have a string shortcut identifier."),e=a.target,f=this.dispatchEvent(new TG(Qn,c,e));(f&=this.dispatchEvent(new TG("shortcut_"+
c,c,e)))||a.preventDefault();H&&(this.bK=b)}}};NG.prototype.sQ=function(a){var b=a.keyCode;if(16==b||17==b||18==b)return!1;var c=a.target,e=c.tagName==ge||c.tagName==rd||c.tagName==tc||c.tagName==Sd,f=!e&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);return!e&&!f||this.Dua[b]||this.hY?!0:f?!1:this.sBa&&(a.altKey||a.ctrlKey||a.metaKey)?!0:c.tagName==rd&&this.gMa[c.type]?13==b:c.tagName==rd||c.tagName==tc?this.ika?!0:32!=b:!1};
NG.prototype.$xa=function(){return 1500<=B()-this.B8};NG.prototype.LT=function(a){this.SL=a;this.B8=B()};var TG=function(a,b,c){J.call(this,a,c);this.identifier=b};C(TG,J);var VG=function(a){a=a||{};HA.call(this,a.className,a.xXa,a.LWa);this.Xc(a.title||"");this.YJ=a.DX||null;this.iL=null;this.tm=a.vZ||null;this.g_={};this.$o=a.MC||"";this.VI=this.NAa(a);this.yI=this.Dea=this.Jk=this.Tv=null;this.rB=a.ija||null;this.$o&&(UG[this.$o]=this);this.reposition=this.oa;this.contentEl=this.U();this.setModal=this.Zca;this.setActionEnabled=this.fca};C(VG,JG);var UG={};t=VG.prototype;
t.j=function(){VG.g.j.call(this);var a=this.U(),b;b=this.VI;b='<div id="COMP_dialog'+AF(b.MC)+Aa+AF(b.voa)+'<div><div class="modal-dialog-buttons '+AF(b.Ola)+Aa+(b.Z5?'<a jotId="btnOk" id="'+AF(b.R9)+'"></a>&nbsp;':"")+'<a jotId="btnCancel" id="'+AF(b.yZ)+'"></a></div></div></div>';a.innerHTML=b};
t.H=function(){VG.g.H.call(this);lr(Or(this.VI.yB))||Fx(this.Vm(),this.VI.yB);Fx(this.Vm(),"legacy-jot-dialog");var a=this.U();R(a,"padding","0");this.Xla=this.lE();this.RAa();this.Kja();this.compParts=this.g_=JOT_getCompParts(a.firstChild)};t.fca=function(a,b){this.Tv.ra(a);S(this.Dea,void 0==b?!a:b)};
t.Kja=function(){var a=this.C();this.Tv&&a.o(this.Tv,Le,this.by);a.o(this.Jk,Le,this.Mp);this.iL=new dy(this.Xla);a.o(this.iL,Le,this.Mp);JOT_addListener("dialogCancel"+this.$o,A(this.Mp,this));if(this.rB){this.yI||(this.yI=new NG(this.Vm()),this.yI.taa("doAction",this.rB));var b=this;a.o(this.yI,Qn,function(a){"doAction"==a.identifier&&b.by(a)})}};
t.RAa=function(){var a=this.VI;this.co(null);S(this.hh(),!1);var b=this.v(),c=IG.S();if(a.Z5){var e=b.b(a.R9),f=new bC(a.qB,c);f.ha(e);Fx(f.b(),Pj);this.Tv=f;if(this.rB){var g=WG(this.rB),g=a.qB+" \u202a("+g+")\u202c",f=new pG(f.b(),g,this.v());this.wa(f)}f=webspace.getPath(webspace.baseUri,Jb);f=Ow(yj,{src:f,style:"display:none;",className:"sites-embed-dialog-spinner"});e.parentNode.insertBefore(f,e.nextSibling);this.Dea=f}b=b.b(a.yZ);f=new bC(a.xZ,c);f.ha(b);this.Jk=f;Fx(f.b(),Qj)};
t.by=function(a){var b=!0;this.YJ&&(a.eventSrc=a.eventSrc||a.target.b&&a.target.b()||a.target,b=this.YJ(a));if(b||void 0==b)this.K(!1),this.dispose()};t.Mp=function(a){var b=!0;this.tm&&(a.eventSrc=a.eventSrc||a.target,b=this.tm(a));if(b||"undefined"==typeof b)this.K(!1),this.dispose()};t.Gq=function(a){27==a.keyCode&&this.JM?this.Mp(a):VG.g.Gq.call(this,a)};
t.NAa=function(a){var b={};b.qB=a.qB||"OK";b.xZ=a.xZ||Ac;b.Ola="sites-clear";b.voa=this.Ira(a);b.MC=this.$o;b.yZ=this.Zh("cancelBtn");b.R9=this.Zh("okBtn");b.Z5=!!this.YJ;b.yB=a.yB;return b};t.Ira=function(a){var b=a.template,b=b instanceof kE?b.xb():b;return a.n8?this.DFa(b,a.n8):b};t.DFa=function(a,b){for(var c in b)a=a.replace(new RegExp("_"+c+"_","gi"),b[c]);return a};
t.B=function(){Rt(this.iL);JOT_removeAllListenersForName("dialogCancel"+this.$o);this.$o&&delete UG[this.$o];Rt(this.Tv);Rt(this.Jk);VG.g.B.call(this)};var XG=function(a,b){return b.Gra()-a.Gra()};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var YG=function(a,b){this.UH=[];this.T9=a;this.N0=b||null;this.ay=this.tp=!1;this.Wl=void 0;this.ZU=this.bZ=this.HK=!1;this.lJ=0;this.Z=null;this.LK=0};t=YG.prototype;t.cancel=function(a){if(this.tp)this.Wl instanceof YG&&this.Wl.cancel();else{if(this.Z){var b=this.Z;delete this.Z;a?b.cancel(a):b.ila()}this.T9?this.T9.call(this.N0,this):this.ZU=!0;this.tp||this.tf(new ZG(this))}};t.ila=function(){this.LK--;0>=this.LK&&this.cancel()};t.r_=function(a,b){this.HK=!1;this.YV(a,b)};
t.YV=function(a,b){this.tp=!0;this.Wl=b;this.ay=!a;this.lx()};t.vm=function(){if(this.tp){if(!this.ZU)throw new $G(this);this.ZU=!1}};t.Ad=function(a){this.vm();this.EY(a);this.YV(!0,a)};t.tf=function(a){this.vm();this.EY(a);this.YV(!1,a)};t.EY=function(a){D(!(a instanceof YG),"An execution sequence may not be initiated with a blocking Deferred.")};t.Ra=function(a,b){return this.Vv(a,null,b)};t.zk=function(a,b){return this.Vv(null,a,b)};
t.Vv=function(a,b,c){D(!this.bZ,"Blocking Deferreds can not be re-used");this.UH.push([a,b,c]);this.tp&&this.lx();return this};t.then=function(a,b,c){var e,f,g=new Jt(function(a,b){e=a;f=b});this.Vv(e,function(a){a instanceof ZG?g.cancel():f(a)});return g.then(a,b,c)};dr(YG);YG.prototype.isError=function(a){return a instanceof Error};YG.prototype.d6=function(){return As(this.UH,function(a){return Wq(a[1])})};
YG.prototype.lx=function(){if(this.lJ&&this.tp&&this.d6()){var a=this.lJ,b=aH[a];b&&(b.aba(),delete aH[a]);this.lJ=0}this.Z&&(this.Z.LK--,delete this.Z);for(var a=this.Wl,c=b=!1;this.UH.length&&!this.HK;){var e=this.UH.shift(),f=e[0],g=e[1],e=e[2];if(f=this.ay?g:f)try{var h=f.call(e||this.N0,a);w(h)&&(this.ay=this.ay&&(h==a||this.isError(h)),this.Wl=a=h);if(er(a)||typeof v.Promise===Yh&&a instanceof v.Promise)this.HK=c=!0}catch(k){a=k,this.ay=!0,this.d6()||(b=!0)}}this.Wl=a;c&&(h=A(this.r_,this,!0),
c=A(this.r_,this,!1),a instanceof YG?(a.Vv(h,c),a.bZ=!0):a.then(h,c));b&&(a=new bH(a),aH[a.pa]=a,this.lJ=a.pa)};var cH=function(a){var b=new YG;b.Ad(a);return b},dH=function(a){var b=new YG;b.tf(a);return b},$G=function(){gr.call(this)};C($G,gr);$G.prototype.message="Deferred has already fired";$G.prototype.name="AlreadyCalledError";var ZG=function(){gr.call(this)};C(ZG,gr);ZG.prototype.message="Deferred was canceled";ZG.prototype.name="CanceledError";
var bH=function(a){this.pa=v.setTimeout(A(this.kMa,this),0);this.Ks=a};bH.prototype.kMa=function(){D(aH[this.pa],"Cannot throw an error that is not scheduled.");delete aH[this.pa];throw this.Ks;};bH.prototype.aba=function(){v.clearTimeout(this.pa)};var aH={};var eH=function(a){this.CMa=a};eH.prototype.toString=function(){return this.CMa};var fH=new eH(wq),gH=new eH("selection"),hH=new eH(iq),iH=new eH(qh),jH=new eH(bg),kH=new eH(Le);var lH=function(a){this.data=a};var mH=function(a){F.call(this);this.oq=1;this.SG=[];this.iH=0;this.Ug=[];this.uk={};this.Oka=!!a};C(mH,F);mH.prototype.subscribe=function(a,b,c){var e=this.uk[a];e||(e=this.uk[a]=[]);var f=this.oq;this.Ug[f]=a;this.Ug[f+1]=b;this.Ug[f+2]=c;this.oq=f+3;e.push(f);return f};mH.prototype.unsubscribe=function(a,b,c){if(a=this.uk[a]){var e=this.Ug;if(a=Es(a,function(a){return e[a+1]==b&&e[a+2]==c}))return this.xo(a)}return!1};
mH.prototype.xo=function(a){var b=this.Ug[a];if(b){var c=this.uk[b];0!=this.iH?(this.SG.push(a),this.Ug[a+1]=Pq):(c&&Ls(c,a),delete this.Ug[a],delete this.Ug[a+1],delete this.Ug[a+2])}return!!b};
mH.prototype.Ml=function(a,b){var c=this.uk[a];if(c){for(var e=Array(arguments.length-1),f=1,g=arguments.length;f<g;f++)e[f-1]=arguments[f];if(this.Oka)for(f=0;f<c.length;f++){var h=c[f];nH(this.Ug[h+1],this.Ug[h+2],e)}else{this.iH++;try{for(f=0,g=c.length;f<g;f++)h=c[f],this.Ug[h+1].apply(this.Ug[h+2],e)}finally{if(this.iH--,0<this.SG.length&&0==this.iH)for(;c=this.SG.pop();)this.xo(c)}}return 0!=f}return!1};var nH=function(a,b,c){Gt(function(){a.apply(b,c)})};
mH.prototype.clear=function(a){if(a){var b=this.uk[a];b&&(E(b,this.xo,this),delete this.uk[a])}else this.Ug.length=0,this.uk={}};mH.prototype.Ga=function(a){if(a){var b=this.uk[a];return b?b.length:0}a=0;for(b in this.uk)a+=this.Ga(b);return a};mH.prototype.B=function(){mH.g.B.call(this);this.clear();this.SG.length=0};var oH=function(a){F.call(this);this.Qq=new mH(a);this.wa(this.Qq)};C(oH,F);t=oH.prototype;t.subscribe=function(a,b,c){return this.Qq.subscribe(a.toString(),b,c)};t.unsubscribe=function(a,b,c){return this.Qq.unsubscribe(a.toString(),b,c)};t.xo=function(a){return this.Qq.xo(a)};t.Ml=function(a,b){return this.Qq.Ml(a.toString(),b)};t.clear=function(a){this.Qq.clear(w(a)?a.toString():void 0)};t.Ga=function(a){return this.Qq.Ga(w(a)?a.toString():void 0)};var pH=function(a,b,c){this.CS=a;this.newValue=b;this.oldValue=c};var qH=function(a,b){F.call(this);this.pa=a;this.Tw={};this.jm=b?ot(b):{};this.Sya=ot(this.jm);this.Pca();this.Rq=new mH;this.wo=new oH;this.WJ=1E6};C(qH,F);t=qH.prototype;t.Pca=function(){w(this.jm["keys-enabled"])||(this.jm["keys-enabled"]=!0);this.isEnabled()||(this.Tw[Jg]=!0)};t.B=function(){qH.g.B.call(this);this.Rq.dispose();this.wo.dispose();delete this.Rq;delete this.wo;delete this.jm};t.getId=function(){return this.pa};t.isEnabled=function(){return!!this.getProperty(qh)};
t.ra=function(a,b){var c=b||Jg,e=!0;if(a){delete this.Tw[c];for(var f in this.Tw){e=!1;break}}else this.Tw[c]=!0,e=!1;this.setProperty(qh,e)};t.V=function(){return!!this.getProperty(zq)};t.K=function(a){this.setProperty(zq,a)};t.ge=function(){return!!this.getProperty(sn)};t.cg=function(a){this.setProperty(sn,a)};t.vx=function(){return this.getProperty($f)||""};t.lta=function(){return this.getProperty("node-label")||null};t.gl=function(){return this.getProperty(ak)||""};
t.Ssa=function(){return this.getProperty("long-label")||""};t.wN=function(){var a=this.Ssa();return a?a:(a=this.lta())?zx(a):this.gl()};t.YN=function(){return this.getProperty("icon")};t.vb=function(){return this.getProperty("keys")};t.getValue=function(){return this.getProperty(iq)};t.setValue=function(a){this.setProperty(iq,a)};t.getProperty=function(a){return this.jm[a]};
t.setProperty=function(a,b){var c=this.jm[a];if(b!==c){this.jm[a]=b;this.wo.Ml(jH,new pH(a,b,c));var e=rH(a);e&&this.wo.Ml(e,new pH(a,b,c))}};t.dua=function(){var a=this.getProperty("synonyms");if(a){for(var a=a.split("|"),b=a.length-1;0<=b;b--)a[b]&&(a[b]=pr(a[b])),a[b]||Ks(a,b);return a}return[]};t.Mi=function(a,b){if(this.isEnabled()){var c=this.jm.selected;null!=c&&this.cg(!c);this.Rq.Ml(Le,a,b);this.wo.Ml(kH,new lH(a,b))}};t.subscribe=function(a,b,c){return this.Rq.subscribe(a,b,c)};
t.WLa=function(a,b,c){return this.wo.subscribe(a,b,c)+this.WJ};t.unsubscribe=function(a,b,c){return this.Rq.unsubscribe(a,b,c)};t.xo=function(a){return a>this.WJ?this.wo.xo(a-this.WJ):this.Rq.xo(a)};t.reset=function(){this.Rq.clear();this.wo.clear();this.jm=ot(this.Sya);this.Tw={};this.Pca()};var rH=function(a){switch(a){case zq:return fH;case sn:return gH;case iq:return hH;case qh:return iH;default:return null}};var sH=Zs("Macintosh")||Ut();var uH=function(a,b){Sq(b)&&(b=b[0]);for(var c in tH)b.match(new RegExp("-"+c,"gi"))||(b=b.replace(new RegExp(c,"gi"),tH[c]));sH&&(c=!a.getProperty(Th),b.match(c?/(Meta|Ctrl)\+.(\+.*)?$/:/Meta\+.(\+.*)?$/)?(b=b.replace(/Meta\+/g,"\u2318"),c&&(b=b.replace(/Ctrl\+/g,"\u2318"))):(b=b.replace(/Meta\+/g,"\u2318+"),c&&(b=b.replace(/Ctrl\+/g,"\u2318+"))),b=b.replace(/(?=\w*Alt(?!Gr))(\w+)/g,"Option"));b=b.replace(/Ctrl/g,"Ctrl");b=b.replace(/Shift/g,"Shift");b=b.replace(/Alt/g,"Alt");b=b.replace(/Option/g,
"Option");b=b.replace(/Meta/g,"Meta");b=b.replace(/backspace/gi,"Backspace");b=b.replace(/tab/gi,"Tab");b=b.replace(/enter/gi,"Enter");b=b.replace(/pause/gi,"Pause");b=b.replace(/caps-lock/gi,"Caps-Lock");b=b.replace(/esc/gi,"Esc");b=b.replace(/space/gi,"Space");b=b.replace(/pg-up/gi,"Pg-Up");b=b.replace(/pg-down/gi,"Pg-Down");b=b.replace(/end/gi,"End");b=b.replace(/home/gi,"Home");b=b.replace(/insert/gi,"Insert");return b=b.replace(/delete/gi,"Delete")},tH={"close-square-bracket":"]",dash:"-",down:"\u2193",
equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};var vH=function(){this.aL=[]};C(vH,yB);Qq(vH);t=vH.prototype;t.j=function(a){var b=vH.g.j.call(this,a);D(b);U(b,Ii);this.HX(a,b);return b};t.la=function(a,b){b=vH.g.la.call(this,a,b);D(b);U(b,Ii);this.HX(a,b);var c=Ew(d,yi,b);if(c.length){var e=new EB(a.v()),c=c[0];S(c,!1);a.v().J().body.appendChild(c);e.la(c);a.Rg(e,!0)}return b};t.hb=function(a,b){var c=this.U(a),e=c&&c.lastChild;vH.g.hb.call(this,a,b);e&&c.lastChild!=e&&mA(e,Ji)&&c.appendChild(e)};
t.Od=function(a){vH.g.Od.call(this,a);var b=a.U(),c=a.v().Bp(Td,Ji,b)[0];wH(a,c);c!=b.lastChild&&b.appendChild(c);a=a.b();D(a,"The sub menu DOM element cannot be null.");T(a,cj,r)};t.HX=function(a,b){var c=a.v().j(Td);c.className=Ji;wH(a,c);this.U(b).appendChild(c)};var wH=function(a,b){D(b);a.qd()?(U(b,Ki),nx(b,a.EB?"\u25c4":"\u25ba")):(oA(b,Ki),nx(b,a.EB?"\u25ba":"\u25c4"))};var xH=function(a,b,c,e){zB.call(this,a,b,c,e||vH.S())};C(xH,zB);t=xH.prototype;t.dh=null;t.WU=null;t.pR=!1;t.oe=null;t.fD=!1;t.EB=!0;t.Jza=!1;t.H=function(){xH.g.H.call(this);this.C().o(this.getParent(),fj,this.k$);this.oe&&this.hI(this.oe,!0)};t.Ya=function(){this.C().Ja(this.getParent(),fj,this.k$);this.oe&&(this.hI(this.oe,!1),this.fD||(this.oe.Ya(),Zw(this.oe.b())));xH.g.Ya.call(this)};t.B=function(){this.oe&&!this.fD&&this.oe.dispose();this.oe=null;xH.g.B.call(this)};
t.Hd=function(a,b){xH.g.Hd.call(this,a);b&&this.Da().eo(!0);a||(this.dh&&Yu(this.dh),this.dh=Xu(this.Ej,218,this))};t.BI=function(){var a=this.getParent();a&&a.el()==this&&(this.uda(!0),this.f1())};t.Ej=function(){var a=this.oe;a&&a.getParent()==this&&(this.uda(!1),a.fc(function(a){typeof a.Ej==Yh&&a.Ej()}))};t.ms=function(){this.dh&&Yu(this.dh);this.WU&&Yu(this.WU)};t.K=function(a,b){var c=xH.g.K.call(this,a,b);c&&!this.V()&&this.Ej();return c};
t.f1=function(){this.getParent().fc(function(a){a!=this&&typeof a.Ej==Yh&&(a.Ej(),a.ms())},this)};t.zc=function(a){var b=a.keyCode,c=this.qd()?37:39,e=this.qd()?39:37;if(!this.pR){if(!this.isEnabled()||b!=c&&b!=this.sR)return!1;this.BI();this.Da().yy();this.ms()}else if(!this.Da().zc(a))if(b==e)this.Ej();else return!1;a.preventDefault();return!0};t.bCa=function(){this.oe.getParent()==this&&(this.ms(),this.nt().Hd(this),this.f1())};t.k$=function(a){a.target==this.nt()&&(this.Ej(),this.ms())};
t.Th=function(a){this.isEnabled()&&(this.ms(),this.WU=Xu(this.BI,218,this));xH.g.Th.call(this,a)};t.Ze=function(a){this.ms();if(this.Db(8)||this.Db(16))return xH.g.Ze.call(this,a);this.BI();return!0};t.uda=function(a){!a&&this.Da()&&this.Da().ad(-1);this.dispatchEvent(CA(64,a));var b=this.Da();a!=this.pR&&qA(D(this.b()),"goog-submenu-open",a);a!=b.V()&&(a&&(b.ba||b.ha(),b.ad(-1)),b.K(a),a&&this.RDa());this.pR=a};t.hI=function(a,b){var c=this.C();(b?c.o:c.Ja).call(c,a,"enter",this.bCa)};
t.RDa=function(){var a=new XA(this.b(),this.EB?12:8,this.Jza),b=this.Da(),c=b.b();b.V()||(c.style.visibility=ej,S(c,!0));a.oa(c,this.EB?8:12);b.V()||(S(c,!1),c.style.visibility=zq)};t.T=function(a){this.Da().sa(a,!0)};t.mm=function(a,b){this.Da().vi(a,b,!0)};t.removeItem=function(a){(a=this.Da().removeChild(a,!0))&&a.dispose()};t.Se=function(a){return this.Da().Fa(a)};t.Ri=function(){return this.Da().ub()};t.it=function(){return this.Da().it()};
t.Da=function(){this.oe?this.fD&&this.oe.getParent()!=this&&this.oe.Va(this):this.Rg(new EB(this.v()),!0);this.oe.b()||this.oe.j();return this.oe};t.Rg=function(a,b){var c=this.oe;a!=c&&(c&&(this.Ej(),this.ba&&this.hI(c,!1)),this.oe=a,this.fD=!b,a&&(a.Va(this),a.K(!1,!0),a.Tu(!1),a.ef(!1),this.ba&&this.hI(a,!0)))};t.wj=function(a){return this.Da().wj(a)};hB(Ii,function(){return new xH(null)});var yH=function(){},zH=new yH,AH=[ng,H?Yj:Xj,Zj];yH.prototype.o=function(a,b,c,e,f){var g=function(a){var c=Gu(b),f=gx(a.target)?a.target.getAttribute(cn)||null:null;a.type==ng&&a.qF()?c.call(e,a):13!=a.keyCode&&3!=a.keyCode||a.type==Zj?32!=a.keyCode||a.type!=Zj||f!=Vf&&"tab"!=f||(c.call(e,a),a.preventDefault()):(a.type=Yj,c.call(e,a))};g.sh=b;g.BGa=e;f?f.o(a,AH,g,c):K(a,AH,g,c)};
yH.prototype.Ja=function(a,b,c,e,f){for(var g,h=0;g=AH[h];h++){var k;var m=a;k=g;var p=!!c;k=yu(m)?m.XD(k,p):m?(m=Iu(m))?m.XD(k,p):[]:[];for(m=0;p=k[m];m++)if(p.listener.sh==b&&p.listener.BGa==e){f?f.Ja(a,g,p.listener,c,e):Ou(a,g,p.listener,c,e);break}}};var DH=function(a,b,c){return XE(Xb+tF(a.lma)+'" class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTAINER '+(a.enabled?"CSS_SHORTCUTS_HELP_POPUP_PREF_ENABLED":"")+'"><div class="CSS_SHORTCUTS_HELP_POPUP_PREF_CONTENT"><span id="'+tF(a.fMa)+Aa+BH(a,null,c)+'</span> <span id="'+tF(a.qAa)+'" role="link" class="CSS_SHORTCUTS_HELP_POPUP_PREF_LINK" tabindex="0">'+CH(a,null,c)+"</span></div></div>")};DH.qb="apps.action.shortcutPrefComponentTemplate";
var BH=function(a){var b="",b=a.enabled?b+"Keyboard shortcuts are enabled.":b+"Keyboard shortcuts are disabled.";return XE(b)};BH.qb="apps.action.prefTextTemplate";var CH=function(a){var b="",b=a.enabled?b+"Disable":b+"Enable";return XE(b)};CH.qb="apps.action.prefLinkTemplate";var EH=function(a,b,c){BA.call(this,c);this.ppa=a;this.vMa=b;this.ma=c};C(EH,BA);EH.prototype.j=function(){this.jb(this.M.createElement(n))};EH.prototype.jb=function(a){this.Ab(a);pE(a,DH,{enabled:this.ppa(),lma:this.Zh("spc_cont"),fMa:this.Zh("spc_text"),qAa:this.Zh("spc_link")})};EH.prototype.H=function(){this.C().rq(this.ma.b(this.Zh("spc_link")),zH,this.vMa)};var FH=function(a){var b='<div class="apps-shortcutshelppopup-dialog"><div class="apps-shortcutshelppopup-content-wrapper"></div>',b=a.INa?b+('<div class="apps-shortcutshelppopup-close"><span id="'+tF(a.a_)+'" class="modal-dialog-title-close" tabindex="0" role="button"></span></div>'):b+('<div class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER"><span id="'+tF(a.a_)+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK" tabindex="0" role="button">Close</span></div>');return XE(b+Qb)};FH.qb="apps.action.shortcutDialogContainerTemplate";
var GH=function(a,b,c){a=""+('<div class="apps-shortcutshelppopup-container'+(a.h6==Mf?" apps-shortcutshelppopup-hc-black":a.h6==Dq?" apps-shortcutshelppopup-hc-white":"")+'"><div class="apps-shortcutshelppopup-header" role="presentation"><div><div class="apps-shortcutshelppopup-title-container apps-shortcutshelppopup-header-element"><h2 id="'+tF(a.dM)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</h2><input type="text" class="apps-shortcutshelppopup-input jfk-textinput" role="combobox" aria-autocomplete="list" placeholder="'+
"Search all shortcuts".replace(pF,qF)+'"/><div class="apps-shortcutshelppopup-input-button jfk-button-action jfk-button" tabindex="0"><div class="apps-shortcutshelppopup-input-button-img"></div></div></div><div class="apps-shortcutshelppopup-tearoff-link-container apps-shortcutshelppopup-header-element"><a target="keyboard_shortcuts_help_window" href="'+tF(zF(a.OU))+'" class="apps-shortcutshelppopup-tearoff-link apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a></div></div></div><div class="apps-shortcutshelppopup-search-banner">'+
W(FF({ob:iF(pf),style:0,tabindex:0,content:jF('<div class="apps-shortcutshelppopup-reset-search-button-icon"><div class="apps-shortcutshelppopup-reset-search-button-img"></div></div>')},null,c))+'<h3 class="apps-shortcutshelppopup-search-label"></h3></div></div>');return XE(a)};GH.qb="apps.action.shortcutContainerTemplate";
var HH=function(a){var b=(a.aF?Wb:"")+'<div tabindex="-1" class="apps-shortcutshelppopup-result-container"><table cellpadding="0" tabindex="0" class="apps-shortcutshelppopup-content" aria-label="'+tF(a.cMa)+'"><tbody>';a=a.O4;for(var c=a.length,e=0;e<c;e++)for(var f=a[e],b=b+(f.title?'<tr><th colspan="2"><h3 class="apps-shortcutshelppopup-content-header'+(0==e?" apps-shortcutshelppopup-content-header-first":"")+Aa+W(f.title)+Rb:""),f=f.pk,g=f.length,h=0;h<g;h++)var k=f[h],b=b+('<tr><td class="apps-shortcutshelppopup-shortcut-desc apps-shortcutshelppopup-content-element">'+
W(k.description)+'</td><td class="apps-shortcutshelppopup-shortcut-key apps-shortcutshelppopup-content-element">'+W(k.keys)+"</td></tr>");return XE(b+"</tbody></table></div>")};HH.qb="apps.action.shortcutContentTemplate";
var IH=function(a){var b;b=""+('<div class="CSS_SHORTCUTS_HELP_POPUP_CONTAINER jfk-scrollbar-dark"><table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_HEADER"><tr><td class="CSS_SHORTCUTS_HELP_POPUP_TITLE CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT" id="'+tF(a.dM)+'" class="apps-shortcutshelppopup-dialog-title">Keyboard shortcuts</td><td class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_CONTAINER CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT"><a target="keyboard_shortcuts_help_window" href="'+
tF(zF(a.OU))+'" class="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK apps-shortcutshelppopup-help-center-link">View all shortcuts in Help Center</a> | <span class="CSS_SHORTCUTS_HELP_CLOSE_PLACEHOLDER"></span></td></tr></table>'+(a.aF?Wb:"")+'<table cellpadding="0" class="CSS_APP_TABLE CSS_SHORTCUTS_HELP_POPUP_CONTENT"><tr>');a=a.Kb;for(var c=a.length,e=0;e<c;e++){var f=a[e];b+='<td class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT"><table cellpadding="0" class="CSS_APP_TABLE"><tbody>';for(var g=f.length,h=
0;h<g;h++){var k=f[h];b+='<tr><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER" /><th class="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER"><h3>'+W(k.title)+Rb;for(var k=k.pk,m=k.length,p=0;p<m;p++){var u=k[p];b+='<tr><td class="CSS_SHORTCUTS_HELP_POPUP_KEY CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+W(u.keys)+'</td><td class="CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT">'+W(u.description)+"</td></tr>"}}b+="</tbody></table></td>"}return XE(b+"</tr></table></div>")};
IH.qb="apps.action.legacyShortcutBannerTemplate";var JH=null;var LH=function(a,b,c){this.Yj=a||null;this.SK=!!b;this.Y1=c;this.Nb=new Q;this.mc=new KH("",void 0);this.mc.next=this.mc.gi=this.mc};t=LH.prototype;t.u2=function(a){(a=this.Nb.get(a))&&this.SK&&(a.remove(),this.k7(a));return a};t.get=function(a,b){var c=this.u2(a);return c?c.value:b};t.set=function(a,b){var c=this.u2(a);c?c.value=b:(c=new KH(a,b),this.Nb.set(a,c),this.k7(c))};t.shift=function(){return this.P$(this.mc.next)};t.pop=function(){return this.P$(this.mc.gi)};
t.remove=function(a){return(a=this.Nb.get(a))?(this.removeNode(a),!0):!1};t.removeNode=function(a){a.remove();this.Nb.remove(a.key)};t.Ga=function(){return this.Nb.Ga()};t.Zb=function(){return this.Nb.Zb()};t.vb=function(){return this.map(function(a,b){return b})};t.Cb=function(){return this.map(function(a){return a})};t.contains=function(a){return this.some(function(b){return b==a})};t.Ic=function(a){return this.Nb.Ic(a)};t.clear=function(){this.Ffa(0)};
t.forEach=function(a,b){for(var c=this.mc.next;c!=this.mc;c=c.next)a.call(b,c.value,c.key,this)};t.map=function(a,b){for(var c=[],e=this.mc.next;e!=this.mc;e=e.next)c.push(a.call(b,e.value,e.key,this));return c};t.some=function(a,b){for(var c=this.mc.next;c!=this.mc;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};t.every=function(a,b){for(var c=this.mc.next;c!=this.mc;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
t.k7=function(a){this.SK?(a.next=this.mc.next,a.gi=this.mc,this.mc.next=a,a.next.gi=a):(a.gi=this.mc.gi,a.next=this.mc,this.mc.gi=a,a.gi.next=a);null!=this.Yj&&this.Ffa(this.Yj)};t.Ffa=function(a){for(;this.Ga()>a;){var b=this.SK?this.mc.gi:this.mc.next;this.removeNode(b);this.Y1&&this.Y1(b.key,b.value)}};t.P$=function(a){this.mc!=a&&this.removeNode(a);return a.value};var KH=function(a,b){this.key=a;this.value=b};
KH.prototype.remove=function(){this.gi.next=this.next;this.next.gi=this.gi;delete this.gi;delete this.next};var MH=function(a,b){KD.call(this,null,null,!1);this.uf=new M;this.wa(this.uf);a.o(Le,A(function(){var a=b.value;this.aN(a,a)},this));this.LY(b)};C(MH,KD);MH.prototype.Xm=function(){return this.uf};MH.prototype.pT=function(a,b){MH.g.pT.call(this,a,b);this.aN(a.toString(),this.getValue());return!1};MH.prototype.zc=function(a){return 13!=a.keyCode||this.lc.Rxa()?MH.g.zc.call(this,a):(a=this.getValue(),this.aN(a,a),!0)};MH.prototype.aN=function(a,b){this.lc.Dj();this.uf.dispatchEvent(new NH(a,b))};
var NH=function(a,b){J.call(this,"a");this.fAa=a;this.Ky=b};C(NH,J);var OH={Alt:"Option",Ctrl:"\u2318",Meta:"\u2318"},WG=function(a,b,c){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ");a=ys(a.match(/[+ ]|[^+ ]+/g),function(a){a=" "==a?"then":a;return(c&&"Ctrl"==a||!sH?"":OH[a])||a});return b?a:a.join(" ")},RH=function(a){a=ys(a,function(a){return ys(a,PH)});QH(a);return a},PH=function(a){var b=a.title;a=ys(a.pk,function(a){if(Sq(a)){var e=zA.S().be(),e=new qH(e);e.setProperty("keys",a[0]);e.setProperty(ak,a[1]);a[2]&&e.setProperty(Th,!0);e.setProperty($f,b);
a=e}return a});return{title:b,pk:a}},QH=function(a){for(var b=0;b<a.length;++b)for(var c=a[b],e=0;e<c.length;++e)for(var f=c[e],g=f.title,f=f.pk,h=0;h<f.length;++h){var k=f[h],m=k.vx();D(m,"Action "+k.getId()+" should have a CATEGORY property");D(g==m,"For action "+k.getId()+" category should be the same from data and from action")}};var SH;var TH=function(){SH||(SH="en");return SH},UH={};var VH=function(a){this.Uv=a};
VH.prototype.LFa=function(a,b,c){this.Uv.sEa(a).Ra(function(a){return xs(a,WH)}).Ra(function(c){var f=[],g;g=(g="en".match(/^\w{2,3}([-_]|$)/))?g[0].replace(/[_-]/g,""):"";if(-1=="ja ko lo my th zh".split(" ").indexOf(g)){for(g=0;g<c.length;++g){var h=c[g].px(),k=XH(h.wN());k&&(f=f.concat(k));h=h.dua();for(k=0;k<h.length;++k){var m=XH(h[k]);m&&(f=f.concat(m))}}Ss(f)}c=f;f=[];if(""!=a)for(g=Kr(a),g=new RegExp("(^|\\W+)"+g,"i"),h=0;h<c.length&&f.length<b;h++)k=c[h],String(k).match(g)&&f.push(k);0==
f.length&&(f=DD(a,b,c));return f}).Ra(cr(c,a))};var WH=function(a){a=a.px();return!!(a&&a.wN()&&a.vb())},XH=function(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};var YH=function(a,b,c,e,f,g){BA.call(this,c);this.sb=RH(a);this.l6=b;this.od=null;this.eM=zA.S().be();this.bF=!(!e||!f);this.ZL=null;this.Uv=g||null;this.yk=null!=this.Uv;this.jz=null;this.AR=!0;this.ym=this.Qo=null;this.bQ=!0;(this.XG=this.bF?new EH(e,f,this.v()):null)&&this.wa(this.XG);this.pl=null;this.yk&&(this.pl=KF(),this.sa(this.pl),this.pl.oA(0))};C(YH,BA);YH.prototype.gd=function(){return!1};
YH.prototype.j=function(){YH.g.j.call(this);var a=this.ae();if(this.yk){var b=this.eM,c=this.l6;if(null==JH){var e=N(),f=e.J(),g=e.createElement(n);g.style.backgroundColor="rgb(1, 2, 3)";e.appendChild(f.body,g);f=wy(g,Df);f=f.replace(/ /g,"");f="rgb(0,0,0)"===f?Mf:"rgb(255,255,255)"===f?Dq:Yk;e.removeNode(g);JH=f}this.ym=sE(GH,{dM:b,OU:c,h6:JH});this.v().appendChild(a,this.ym);this.SS();D(this.pl);this.pl.la(this.Pf(of))}else pE(a,IH,this.Ksa())};
YH.prototype.Ksa=function(){var a=ys(this.sb,function(a){return ZH(a,!1)});return{dM:this.eM,OU:this.l6,Kb:a,aF:this.bF}};YH.prototype.Sra=function(){this.ZL||(this.ZL={O4:zs(this.sb,function(a,b){return Ns(a,ZH(b,!0))},[]),aF:this.bF});return this.ZL};
var aI=function(a){for(var b=new LH,c=[],e=0;e<a.length;++e){var f=a[e].px(),g=$H(f,!0),f=f.vx();""==f?c.push(g):(b.Ic(f)||b.set(f,[]),b.get(f).push(g))}a=b.map(function(a,b){return{title:b,pk:a}});c.length&&(a.length?a.push({title:"More shortcuts",pk:c}):a.push({pk:c}));return a},ZH=function(a,b){return ys(a,function(a){var e=ys(a.pk,function(a){return $H(a,b)});return{title:a.title,pk:e}})},$H=function(a,b){var c=a.wN(),e=bI(a),f;f=e.replace(/pg-up/i,"page up");f=f.replace(/pg-down/i,"page down");
f=f.replace("`","backtick");f=f.replace("~","tilde");f=f.replace("-","hyphen");f=f.replace("_","underscore");f=f.replace("=","equals");f=f.replace("[","left bracket");f=f.replace("]","right bracket");f=f.replace(";",vn);f=f.replace(":","colon");f=f.replace(",","comma");f=f.replace(".","period");f=f.replace("/","slash");f=f.replace("\\","backslash");f=f.replace(tH.up,"up");f=f.replace(tH.down,"down");f=f.replace(tH.left,jk);f=f.replace(tH.right,an);f="shortcut "+f+".";return{keys:b?XE(bc+tF(f)+Aa+
CF(1,W(e))+Sb):XE(bc+tF(f)+'" class="CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC">'+CF(1,W(e))+Sb),description:c}},bI=function(a){var b=a.vb();return Sq(b)?(b=ys(b,function(b){return uH(a,b)}),b.join(" or ")):uH(a,b)};t=YH.prototype;t.H=function(){YH.g.H.call(this);this.yk&&this.hKa();this.jz=this.Pf("apps-shortcutshelppopup-help-center-link");this.nU(this.AR);this.XG&&this.XG.ha(this.Pf("apps-shortcutshelppopup-pref-component"));this.C().o(this.jz,ng,this.zE)};
t.hKa=function(){var a=this.Pf(pf);IE(a,"Clear search",void 0);this.C().rq(a,zH,this.Rwa);a=this.Pf("apps-shortcutshelppopup-input");jA(a,Vd);D(this.pl);this.pl.ra(!0);var b=this.pl.ae();IE(b,Vd,void 0);a=new MH(this.pl,a);a.Xm().o("a",A(this.Xwa,this));this.od=a;var b=new VH(D(this.Uv)),c=new MD;c.NIa(!1);c.className="apps-shortcutshelppopup-ac-renderer";c.CH="apps-shortcutshelppopup-ac-row";b=new ED(b,c,a);b.vHa(!1);a.Rka(b)};
t.reset=function(){this.QFa();this.jea(!1);this.SS();this.Pf(of).value=""};t.QFa=function(){var a=this.Pf(qf);nx(a,Md)};t.Ya=function(){YH.g.Ya.call(this);this.jz=null};t.zE=function(){this.dispatchEvent(og)};t.Xwa=function(a){a.Ky?(a=a.fAa,this.Uv.sEa(a).Ra(A(this.vFa,this,a))):this.bQ||this.reset()};t.Rwa=function(){this.reset();this.Pf(of).focus()};t.jea=function(a){S(this.Pf(pf),a)};t.nU=function(a){this.AR=a;this.jz&&S(this.jz,this.AR)};t.ira=function(){return this.od?this.od.lc.O.b():null};
t.vFa=function(a,b){var c='Search results for "'+(a+'"'),e='No search results for "'+(a+'"'),f=xs(b,WH);Vs(f,XG);b=f.slice(0,30);f=this.Pf(qf);c=0==b.length?e:c;nx(f,c);this.jea(!0);this.SS(aI(b),c);0==b.length?this.Pf(pf).focus():this.v().Md("apps-shortcutshelppopup-content").focus()};
t.SS=function(a,b){var c;a?(c={O4:a,aF:this.bF},this.bQ=!1):(c=this.Sra(),this.bQ=!0);c.cMa=b?b:Md;this.Qo&&this.ym.removeChild(this.Qo);this.Qo=sE(HH,c);this.ym.appendChild(this.Qo);(c=this.Pf(pf))&&(a&&0==a.length?U(c,nf):oA(c,nf))};var cI=function(a,b,c,e,f,g,h){FA.call(this,c,e);this.lo=new YH(a,b,e,f,g,h);this.sa(this.lo);this.b_=zA.S().be();this.yk=null!=h};C(cI,FA);t=cI.prototype;t.W=function(){return this.yk?"apps-shortcutshelppopup":"shortcuts-modalpopup"};t.gd=function(){return!1};
t.j=function(){cI.g.j.call(this);var a=this.v(),b=this.ae();S(b,!1);pE(b,FH,{a_:this.b_,INa:this.yk});var c=this.Pf("apps-shortcutshelppopup-content-wrapper");this.lo.j();a.appendChild(c,this.lo.ae());aA(b,Ng);T(b,bk,this.lo.eM);this.yk||U(b,"CSS_SHORTCUTS_HELP_POPUP")};t.H=function(){cI.g.H.call(this);var a=this.v(),b=a.b(this.b_);this.yk&&IE(b,"Close",void 0);this.C().rq(b,zH,this.zE);a=a.cE(this.b());this.C().o(a,Kk,this.AG,!0);this.C().o(this.b(),Xj,this.UR);this.C().o(this.lo,og,this.zE)};
t.K=function(a){this.yk&&this.ba&&!this.V()&&a&&this.lo.reset();cI.g.K.call(this,a)};t.zE=function(){this.K(!1)};t.nU=function(a){this.lo.nU(a)};t.oa=function(){cI.g.oa.call(this);var a=this.b();if(a&&!this.yk){var b;this.V()?(b=Dy(a),b=Hy(b),b=.9*(b.bottom-b.top)):(b=this.v().J(),b=.9*Jw(Mw(b)||window).height);R(a,"maxHeight",b+q);R(a,jk,"10%");R(a,jp,"10%")}};t.AG=function(a){var b=this.lo.ira();b&&hx(b,a.target)||hx(this.b(),a.target)||this.K(!1)};
t.UR=function(a){27==a.keyCode?(this.K(!1),a.stopPropagation(),a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.Pda()};var dI=function(){F.call(this);this.Lh={};this.d_={};this.Za=null;this.wF=!0};C(dI,F);var eI=new oD("https://support.google.com/sites/bin/answer.py?answer=189191");dI.prototype.kf=function(a){var b=a.o1;b&&(this.Lh[b]=this.Lh[b]||[],this.Lh[b].push(a),this.wF=!0)};dI.prototype.addAction=dI.prototype.kf;dI.prototype.addAction=dI.prototype.kf;dI.prototype.Tq=function(a){for(var b in this.Lh)Ms(this.Lh[b],function(b){return b.getId()==a.getId()}),0==this.Lh[b].length&&delete this.Lh[b];this.wF=!0};
dI.prototype.removeAction=dI.prototype.Tq;t=dI.prototype;t.aI=function(a,b){this.d_[a]=b};t.Era=function(a){return this.d_[a]||0};t.getData=function(){var a=[],b;for(b in this.Lh){for(var c=[],e=0;e<this.Lh[b].length;++e){var f=this.Lh[b][e];f.isEnabled()&&c.push([f.WN(),f.gl()])}e=this.Era(b);a[e]=a[e]||[];a[e].push({title:b,pk:c})}return a};t.aya=function(){for(var a in this.Lh)for(var b=this.Lh[a],c=0;c<b.length;c++)if("showHelpPopup"!=b[c].getId())return!0;return!1};
t.TAa=function(){var a=this.Za;Rt(a);a=eI.ia("hl",webspace.page.locale);a=new cI(this.getData(),a.toString());a.ha();this.Za=a;this.wF=!1;for(var a=Fw("CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT",this.Za.b()),b=0;b<a.length;b++)xx(a[b],!0)};t.V=function(){return!!this.Za&&this.Za.V()};dI.prototype.isVisible=dI.prototype.V;dI.prototype.K=function(a,b){a&&this.wF&&this.TAa();this.aya()&&(this.Za.K(a),this.Za.b().focus(),b&&Nu(this.Za,fj,b))};dI.prototype.setVisible=dI.prototype.K;
dI.prototype.B=function(){Rt(this.Za);this.Za=null};var gI=function(a,b,c,e,f,g,h,k){h={};h.label=b;h.hint=b;$t&&e&&0<=e.search(/Ctrl/i)&&!k?h.keys=e.replace(/Ctrl/ig,"Meta"):h.keys=e;h[Th]=k||!1;qH.call(this,a,h);this.ra(!!c);g&&this.WLa(kH,fI(g));this.o1=f||null};C(gI,qH);
var hI=function(a,b,c){var e=c||0;return function(c){KG==e&&a.call(b,c)}},fI=function(a){return function(b){(b=b.data)&&b.preventDefault();a(b)}},iI={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};
gI.prototype.WN=function(){var a=this.getProperty("helpKeys"),a=a||this.vb();Sq(a)&&(a=a.join(" "));if(z(a))for(var b in iI)a=a.replace(new RegExp(b,"gi"),iI[b]);return a};gI.prototype.bY=function(a){if(this.Wb)this.Wb.Zg(a);else{var b=this.getProperty("hint"),c;webspace.user.keyboardShortcuts&&!webspace.user.renderMobile&&(c=this.vb());Sq(c)&&(c=c[0]);this.Wb=new pG(a,c?b+" ("+c+")":b)}};gI.prototype.Rja=function(a){var b=this.vb()||[];Sq(b)||(b=[b]);b.push(a);this.setProperty("keys",b)};
gI.prototype.B=function(){Rt(this.Wb);gI.g.B.call(this)};var jI=function(a,b,c,e){gI.call(this,"showHelpPopup","Open shortcut help",a,c,e,A(this.mJa,this,!0));this.Za=b};C(jI,gI);jI.prototype.mJa=function(a,b){this.Za.K(a);b&&b.preventDefault()};var kI=function(a){NG.call(this,a||document);this.pj={};this.ec=!0;this.nn=new dI;this.Yda={};this.rHa(!1)};C(kI,NG);t=kI.prototype;t.Dja=function(a){a=new jI(!0,this.nn,"Ctrl + /",a);this.kf(a,a.Mi)};t.kf=function(a,b,c){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){this.pj[a.getId()]=a;var e=a.vb()||[];Sq(e)||(e=[e]);if(!c)for(c=0;c<e.length;c++)this.taa(a.getId(),e[c]);a.o1&&this.nn.kf(a);this.Jja(a,b)}};
t.Jja=function(a,b){this.Yda[a.getId()]=K(this,"shortcut_"+a.getId(),A(b,a))};t.Tq=function(a){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){var b=a.vb();if(Sq(b))for(var c=b.length,e=0;e<c;++e)this.Lfa(b[e]);else this.Lfa(b);this.nn.Tq(a);this.kFa(a);delete this.pj[a.getId()]}};t.kFa=function(a){var b=this.Yda;Pu(b[a.getId()]);b[a.getId()]=null};t.isEnabled=function(){return this.ec};t.ra=function(a){this.ec=a};t.sQ=function(a){return this.ec?kI.g.sQ.call(this,a):!1};
t.B=function(){var a=this.pj,b;for(b in a)this.Tq(a[b]);Rt(this.nn);this.nn=null;kI.g.B.call(this)};var lI={mX:pb,aX:fb,Rr:db,Pv:Qa,PW:Ra,YW:eb,bX:hb,fX:kb,LJ:Ua,gX:lb,hX:mb,lX:ob,uW:Ja,QW:Za,LW:Oa,KW:Na,JW:Pa,tha:Ma,xQa:"+equation",tW:Ia,XW:Va,nX:Ya,iX:nb,kB:$a,Qha:ab,mB:cb,lB:bb,bha:Ha,AW:uk,BW:fn,IMAGE:vj,sha:hh,IVa:Np,MPa:La,jPa:mg,JVa:Pp,VVa:hq,qSa:mk};var mI=function(){kI.call(this,this);this.Dja(gc);var a=this.nn;a.aI(gc,0);a.aI("Menus",0);a.aI(ke,1);a.aI(Ld,2);this.mHa(!0)};C(mI,kI);var nI=function(a,b,c){gI.call(this,"discardEdit",Ac,b,"Esc",gc,hI(a,void 0,c))};C(nI,gI);var oI=function(a,b){gI.call(this,"nextField","Move to next field",b,"Ctrl + Down",gc,hI(a,this))};C(oI,gI);var pI=function(a,b,c,e){gI.call(this,"openEditorMenu"+b,"Open "+(b+" menu"),e,(sH?"Ctrl + Alt + ":"Alt + Shift +")+c,"Menus",hI(a,this),null,!0);YB&&!sH&&this.Rja("Alt + "+c)};C(pI,gI);var qI=function(a,b){gI.call(this,"previousField","Move to previous field",b,"Ctrl + Up",gc,hI(a,this))};C(qI,gI);var vI=function(a,b,c,e){gI.call(this,"saveEdit",e||"Save page",b,"Ctrl + s",gc,hI(a,this,c))};C(vI,gI);var wI=function(a){return(a.kLa?'<p class="plus-page-url-dialog-warning">You must link your Google+ page to the site before you can add a badge.</p>':"")+"<p>Google+ Direct Connect helps visitors find your Google+ page and add it to their circles from directly within Google Search. Once you've created your Google+ page, finish connecting it to your site by adding the page ID below.</p>"+(a.hLa?'<p class="plus-page-url-dialog-warning">This setting will affect your entire site.</p>':"")+'<p class="plus-page-url-prefix">https://plus.google.com/<input type="text" id="'+
tF(a.Xya)+ya+tF(a.id)+'" class="plus-page-id-input" aria-label="Your Google+ page ID"/>/</p>'};wI.qb="sites.pages.settings.templates.PlusPageDialog.content";var BI=function(a,b){var c=b||{},e=c.document||document,f=Rw(Rd),g={Gba:f,sk:void 0},h=new YG(xI,g),k=null,m=null!=c.timeout?c.timeout:5E3;0<m&&(k=window.setTimeout(function(){yI(f,!0);h.tf(new zI(1,"Timeout reached for loading script "+a))},m),g.sk=k);f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!=rk&&f.readyState!=vg||(yI(f,c.Mla||!1,k),h.Ad(null))};f.onerror=function(){yI(f,!0,k);h.tf(new zI(0,"Error while loading script "+a))};g=c.attributes||{};st(g,{type:Zo,charset:"UTF-8",
src:a});Iw(f,g);AI(e).appendChild(f);return h},AI=function(a){var b=a.getElementsByTagName(kd);return!b||Hs(b)?a.documentElement:b[0]},xI=function(){if(this&&this.Gba){var a=this.Gba;a&&a.tagName==Rd&&yI(a,!0,this.sk)}},yI=function(a,b,c){null!=c&&v.clearTimeout(c);a.onload=Pq;a.onerror=Pq;a.onreadystatechange=Pq;b&&window.setTimeout(function(){Zw(a)},0)},zI=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);gr.call(this,c);this.code=a};C(zI,gr);var CI=function(a,b){this.rb=new oD(a);this.sla=b?b:"callback";this.sk=5E3;this.K9=""},DI=0;CI.prototype.vJa=function(a){this.sk=a};CI.prototype.send=function(a,b,c,e){a=a||null;e=e||"_"+(DI++).toString(36)+B().toString(36);var f="_callbacks___"+e,g=this.rb.clone();if(a)for(var h in a)a.hasOwnProperty&&!a.hasOwnProperty(h)||g.tU(h,a[h]);b&&(v[f]=EI(e,b),g.tU(this.sla,f));b={timeout:this.sk,Mla:!0};this.K9&&(b.attributes={nonce:this.K9});b=BI(g.toString(),b);b.zk(FI(e,a,c));return{pa:e,S0:b}};
CI.prototype.cancel=function(a){a&&(a.S0&&a.S0.cancel(),a.pa&&GI(a.pa,!1))};var FI=function(a,b,c){return function(){GI(a,!1);c&&c(b)}},EI=function(a,b){return function(c){GI(a,!0);b.apply(void 0,arguments)}},GI=function(a,b){var c="_callbacks___"+a;if(v[c])if(b)try{delete v[c]}catch(e){v[c]=void 0}else v[c]=Pq};var II=function(a,b){var c=Array.prototype.slice.call(arguments),e=c.shift();if("undefined"==typeof e)throw Error("[goog.string.format] Template required");return e.replace(/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,e,k,m,p,u,y){if("%"==p)return"%";var P=c.shift();if("undefined"==typeof P)throw Error("[goog.string.format] Not enough arguments");arguments[0]=P;return HI[p].apply(null,arguments)})},HI={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?
a+Mr(" ",Number(c)-a.length):Mr(" ",Number(c)-a.length)+a},f:function(a,b,c,e,f){e=a.toString();isNaN(f)||""==f||(e=parseFloat(a).toFixed(f));var g;g=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(e=g+e);if(isNaN(c)||e.length>=Number(c))return e;e=isNaN(f)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(f);a=Number(c)-e.length-g.length;0<=b.indexOf("-",0)?e=g+e+Mr(" ",a):(b=0<=b.indexOf("0",0)?"0":" ",e=g+Mr(b,a)+e);return e},d:function(a,b,c,e,f,g,h,k){return HI.f(parseInt(a,
10),b,c,e,0,g,h,k)}};HI.i=HI.d;HI.u=HI.d;var JI=!1,KI=[],LI=function(){JI=!1;E(KI,function(a){a()});KI=[]};x(lo,LI,void 0);var MI=function(){this.TNa=new RegExp(this.Yia)};t=MI.prototype;t.MJ="^https?://";t.KJ="(?:\\.sandbox\\d?|-qa\\d?\\.corp)?\\.google\\.com/";t.zW="a/(?:(?:[A-Za-z0-9_-]+)\\.)+(?:[A-Za-z0-9_-]+)/";t.rX="[A-Za-z0-9_-]+";t.oX="[^/]+=[^/]+";t.kX="(?:"+MI.prototype.zW+")?spreadsheet/(?:ccc|pub|tq)\\?(?:"+MI.prototype.oX+"&)*key="+MI.prototype.rX+"(?:&"+MI.prototype.oX+")*";
t.Yia="(?:"+MI.prototype.MJ+"spreadsheets\\d?"+MI.prototype.KJ+MI.prototype.kX+"$)|(?:"+MI.prototype.MJ+"docs\\d?"+MI.prototype.KJ+MI.prototype.kX+"$)|(?:"+MI.prototype.MJ+"docs\\d?"+MI.prototype.KJ+"(?:"+MI.prototype.zW+")?spreadsheets/d/(?:"+MI.prototype.rX+")/(?:edit|gviz/tq)(?:\\?[^/]*)?$)";t.lha="dataSourceUrl";t.QNa=function(a){return this.TNa.test(a)};t.PNa=function(a){var b;try{b=OD(a)}catch(c){return!1}return!(!b||!this.QNa(b[this.lha]))};var NI=function(){this.N=new rA},OI=/^[A-Z]+[0-9]+\:[A-Z]+[0-9]+$/i,PI={dataSourceInput:null,dataSuggest:!1,isSpreadsheetUrls:!0,isModal:!0,helpUrl:qj,templateUrl:"http://goo.gl/newcharts"};t=NI.prototype;t.gs=null;t.Mw=null;t.D0=null;t.Vo=null;t.fka=function(){alert("The data source URL for this chart is corrupted.")};
t.openDialog=function(a,b){var c=a.KE()?a.HN():a.Rra();if(webspace.features.validateClientGvizDataSourceUrls&&!(new MI).PNa(c))this.fka();else{var e=this.Jya();google.visualization.events.addListener(e,dl,A(this.sE,this,a,dl,b));google.visualization.events.addListener(e,Zf,A(this.sE,this,a,Zf,b));c=new google.visualization.ChartWrapper(c);c.setChartName(a.pra());var f=ot(PI);f.dataSourceInput=this.Fma(e,c,a.$ta());f.newUi=!0;this.XMa(c);e.openDialog(c,f)}};
t.sE=function(a,b,c){google.visualization.events.removeAllListeners(this.gs);var e=null;b==dl&&(e=this.gs.getChartWrapper(),a.KT(e));this.Roa();c?a.wGa():(a.mo(!0),e&&(b=a.sO(),a=a.x4(),D(b<a.length,"invalid thumb index"),a=a[b],Hx(a,go),Ww(a),this.vM(e,a)))};t.Jya=function(){null===this.gs?this.gs=new google.visualization.ChartEditor:google.visualization.events.removeAllListeners(this.gs);return this.gs};
t.Fma=function(a,b,c){b=b.getDataSourceUrl();var e=this.mua(b);c=fF(AG,{title:"Select sheet and range",JMa:e,Efa:c,f7:'ex. "Sheet5!B2:B10" or "A1:C4"',gya:qj,k6:"help",yAa:"Live",oLa:"Snapshot",zAa:"Chart reads the most recent spreadsheet data every time it is loaded.",pLa:"Chart uses a snapshot of the data now which does not update when it is loaded."});var e=Gw("sites-gviz-datasource-input",c),f=mD(b,"sheet")||"";b=mD(b,"range")||"";var g=this.Mw=new RB;g.la(e);g.setValue(this.nna(f,b));this.Kya(c,
a);this.Ska(e,a);return c};t.Ska=function(a,b){var c=A(this.HE,this,b,this.Mw);this.N.o(a,Qf,c);var e=new aB(a);this.D0=e;this.N.o(e,Wj,function(a){13==a.keyCode&&c()})};t.Kya=function(a,b){var c=Gw("sites-gviz-datasource-control",a);this.Vo=Os(Ew(rd,null,c));D(2==this.Vo.length,"There should be two radio buttons");this.N.o(new dy(this.Vo[0]),Le,A(this.Y4,this,b));this.N.o(new dy(this.Vo[1]),Le,A(this.Y4,this,b))};
t.Y4=function(a){var b=this.Vo[1].checked;this.Mw.ra(!b);var c=a.getChartWrapper();b?c.sendQuery(A(this.Gwa,this,c,a)):(c.setDataTable(null),a.setChartWrapper(c))};t.Gwa=function(a,b,c){c.isError()||(a.setDataTable(c.getDataTable()),b.setChartWrapper(a))};t.XMa=function(a){(a=null!==a.getDataTable())?this.Vo[1].checked=!0:this.Vo[0].checked=!0;this.Mw.ra(!a)};
t.HE=function(a,b){var c=a.getChartWrapper(),e=b.getValue(),f=this.n4(e)[0],e=this.n4(e)[1],g=c.getDataSourceUrl(),g=xD(g);this.nA(g,"sheet",f,!0);this.nA(g,"range",e,!0);this.nA(g,"ogid",g.yc("gid"),!1);f?this.nA(g,"gid",null,!0):this.nA(g,"gid",g.yc("ogid"),!1);g=g.toString();e?c.getDataSourceUrl()!=g&&(c.setDataSourceUrl(g),a.setChartWrapper(c)):b.setValue("")};t.nA=function(a,b,c,e){lr(Or(c))?e&&a.gk(b):a.ia(b,c)};
t.mua=function(a){var b=gD(hD(5,a),!0),b=b.replace("/tq","/ccc");a=xD(a);a.Ie(b).gk("range").gk("gid").gk("ogid").gk("sheet").gk("tq");return a.toString()};t.nna=function(a,b){return lr(Or(a))?b:a+"!"+b};t.n4=function(a){a=a||"";var b=a.lastIndexOf("!"),c="",e=a;-1!=b&&(e=a.substring(b+1),c=a.substring(0,b));e=OI.test(e)?e:"";lr(Or(c))||"'"!=c.charAt(0)||"'"!=c.charAt(c.length-1)||(c=c.substr(1,c.length-2));return[c,e]};t.vM=function(a,b){a.setOption(Eq,QI.width);a.setOption(dj,QI.height);a.draw(b)};
t.Roa=function(){this.N.removeAll();Rt(this.Mw);Rt(this.D0)};var RI=function(a,b,c){this.sf=a;this.Kz=b;this.tm=c;this.BV=Gw("sites-gviz-charts-list",a.contentEl)};C(RI,F);t=RI.prototype;t.x4=function(){return Fw("sites-gviz-chart-container",this.BV)};t.HN=function(){return this.Ti(fg)};t.KE=function(){return!lr(Or(this.HN()))};t.Rra=function(){var a=this.Ti(Pn);D(!lr(Or(a)),"sheet url is empty");return'{"dataSourceUrl":"'+a+'"}'};t.uO=function(){var a=this.Ti(gg),b=[];lr(Or(a))||(b=OD(a));return b};
t.KT=function(a){if(null===a)this.Df("objectUrl",""),this.Df(Sf,""),this.Df(fg,"");else{var b=a.toJSON();this.Df("objectUrl",google.visualization.createUrl(b));a=a.getChartName()||"Google Chart";this.Df(Sf,a);this.Df(fg,b);a=this.uO();var c=parseInt(this.Ti(eg),10);a[c]=OD(b);this.Df(gg,RD(a))}};t.nNa=function(){var a=this.KE();if(a){var b=this.HN(),b=new google.visualization.ChartWrapper(b);b.setOption(Eq,this.Ti(Eq));b.setOption(dj,this.Ti(dj));b.setChartName(this.Ti(Sf));this.Df(fg,b.toJSON())}return a};
t.MDa=function(a,b,c){this.Df(gg,RD(a));this.Df(Pn,b);this.Df(yo,c);this.Df(eg,"0");this.KT(null)};t.c6=function(){return!Hs(this.uO())};t.cya=function(){return!lr(Or(this.Ti(Pn)))};t.$ta=function(){return this.Ti(yo)};t.pra=function(){return this.Ti(Sf)};t.mo=function(a){a&&(this.xMa(),this.yMa());S(this.sf.contentEl.parentNode,a);this.sf.setModal(a);a&&(a=this.sf.compParts.borderTitle,Xq(a)&&0<a.nodeType&&a.focus())};
t.xMa=function(){var a=Gw("sites-gviz-no-charts",this.sf.contentEl),b=Fw("sites-gviz-has-charts"),c=this.c6();S(a,!c);E(b,function(a){S(a,c)})};t.yMa=function(){var a=this.KE(),b=this.sf.compParts.btnOk,c=zx(b),b=qx(b,function(a){return 3==a.nodeType&&c==zx(a)}),b=b.parentNode;Xq(b)&&0<b.nodeType&&nx(b,a?"Save":"Next")};t.wGa=function(){this.mo(!1);this.Kz()};t.ula=function(){this.mo(!1);this.tm()};t.sO=function(){return parseInt(this.Ti(eg),10)};t.DJa=function(a){this.Df(eg,String(a))};
t.B=function(){this.tm=this.Kz=this.sf=null};t.Ti=function(a){return Gr(this.sf.compParts[a].value||"")};t.Df=function(a,b){Iw(this.sf.compParts[a],{value:Cr(b||"")});if(a==yo){var c=Gw("sites-gviz-spreadsheetname",this.sf.contentEl);nx(c,b)}};var SI=function(){};SI.prototype.tra=function(a,b,c){a=xD(a);var e=a.getPath(),f;switch(b){case lf:f=e.replace("/ccc","/oids");e=e.replace("/ccc","/chartSpec");break;case jf:f=e.replace("/edit","/gviz/chartIds");e=e.replace("/edit","/gviz/chartSpecs");break;default:console.log("Unsupported Mime Type: "+b);return}var g=a.Ag();g.remove("usp");f=yD(mj,null,a.Zd,a.On,f,g);a=yD(mj,null,a.Zd,a.On,e,g);f=new CI(f);b=A(this.sra,this,b,a,c);f.send(null,b,b)};
SI.prototype.sra=function(a,b,c,e){var f=[];null!==e&&Sq(e.objects)&&(f=e.objects);if(Hs(f))c([]);else{c=A(this.mxa,this,c);switch(a){case lf:b.ia("oid",f.join(","));break;case jf:b.tU("oid",f);break;default:return}(new CI(b)).send(null,c,c)}};SI.prototype.mxa=function(a,b){null!==b&&Xq(b.specs)?a(b.specs):a([])};var TI=function(){this.BV=null};TI.prototype.Bma=function(a){var b=a.uO(),c=a.BV,e=Sq(b)?b.length:0;a.sf.contentEl.parentNode.style.width="950px";pE(c,zG,{GBa:e,mla:"Build a chart"});c=a.x4();for(e=0;e<c.length;e++){var f=b[e],g=c[e],h=g.parentNode;Fx(h,ni);var k=h,m=iB(k);m&&m.la(k);m.Fb(8,!0);f&&(f=new google.visualization.ChartWrapper(f),this.vM(f,g));g=Gs(Ex(g),go);K(new dy(h),Le,A(this.T4,this,e,c,b[e],a,g))}a.sf.reposition();e=a.sO();this.T4(e,c,b[e],a,!1)};
TI.prototype.T4=function(a,b,c,e,f){var g=b[e.sO()].parentNode;Hx(g,ho);e.DJa(a);Fx(b[a].parentNode,ho);a=null;c&&(a=new google.visualization.ChartWrapper(c));e.KT(a);f&&Uu(e.sf,"edit-chart")};TI.prototype.vM=function(a,b){a.setOption(Eq,QI.width);a.setOption(dj,QI.height);a.draw(b)};var UI=function(){F.call(this)};C(UI,F);var VI=QC("goog.dom.SavedRange");UI.prototype.restore=function(a){this.isDisposed()&&RC(VI,"Disposed SavedRange objects cannot be restored.");var b=this.AH();a||this.dispose();return b};var WI=function(a){F.call(this);this.Iea=Ur();this.O1=Ur();this.bT=a.Uj();this.M=N(a.J());a.GA(this.D_(!0),this.D_(!1))};C(WI,UI);t=WI.prototype;t.EV=function(){var a=null,b=this.Re(!0),c=this.Re(!1);b&&c&&(a=XI(b,0,c,0));return a};t.Re=function(a){return this.M.b(a?this.Iea:this.O1)};t.Uq=function(a){Zw(this.Re(!0));Zw(this.Re(!1));return a};
t.AH=function(){var a=null,b=this.Re(!this.bT),c=this.Re(this.bT);if(b&&c){var a=b.parentNode,b=us(a.childNodes,b),e=c.parentNode,c=us(e.childNodes,c);e==a&&(this.bT?b--:c--);a=XI(a,b,e,c);a=this.Uq(a);a.select()}else this.Uq();return a};t.B=function(){this.Uq();this.M=null};t.D_=function(a){return this.M.j(Td,{id:a?this.Iea:this.O1})};var YI=function(a,b,c,e,f){this.af=!!b;this.node=null;this.Ke=0;this.hV=!1;this.tC=!c;a&&this.setPosition(a,e);this.depth=void 0!=f?f:this.Ke||0;this.af&&(this.depth*=-1)};C(YI,Jx);t=YI.prototype;t.setPosition=function(a,b,c){if(this.node=a)this.Ke=Vq(b)?b:1!=this.node.nodeType?0:this.af?-1:1;Vq(c)&&(this.depth=c)};t.Qk=function(a){this.node=a.node;this.Ke=a.Ke;this.depth=a.depth;this.af=a.af;this.tC=a.tC};t.clone=function(){return new YI(this.node,this.af,!this.tC,this.Ke,this.depth)};
t.bV=function(){var a=this.af?-1:1;this.Ke==a&&(this.Ke=-1*a,this.depth+=this.Ke*(this.af?-1:1))};t.VFa=function(){var a=this.af?1:-1;this.Ke==a&&(this.Ke=-1*a,this.depth+=this.Ke*(this.af?-1:1))};
t.next=function(){var a;if(this.hV){if(!this.node||this.tC&&0==this.depth)throw Ix;a=this.node;var b=this.af?-1:1;if(this.Ke==b){var c=this.af?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.af?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.Ke*(this.af?-1:1)}else this.hV=!0;a=this.node;if(!this.node)throw Ix;return a};t.i8=function(){return 1==this.Ke};t.jF=function(){return-1==this.Ke};
t.$d=function(a){return a.node==this.node&&(!this.node||a.Ke==this.Ke)};t.splice=function(a){var b=this.node;this.VFa();this.af=!this.af;YI.prototype.next.call(this);this.af=!this.af;for(var c=Tq(arguments[0])?arguments[0]:arguments,e=c.length-1;0<=e;e--)Yw(c[e],b);Zw(b)};var ZI=function(){},$I=function(a){if(a.getSelection)return a.getSelection();a=a.document;var b=a.selection;if(b){try{var c=b.createRange();if(c.parentElement){if(c.parentElement().document!=a)return null}else if(!c.length||c.item(0).document!=a)return null}catch(e){return null}return b}return null};t=ZI.prototype;t.fn=function(){for(var a=[],b=0,c=this.Hp();b<c;b++)a.push(this.mh(b));return a};t.md=function(){var a=this.getContainer();return 1==a.nodeType?a:a.parentNode};
t.sN=function(){return this.Uj()?this.Oa():this.ka()};t.tN=function(){return this.Uj()?this.gc():this.wb()};t.PD=function(){return this.Uj()?this.ka():this.Oa()};t.QD=function(){return this.Uj()?this.wb():this.gc()};t.Uj=function(){return!1};t.J=function(){return Cw(G?this.getContainer():this.ka())};t.getWindow=function(){return Mw(this.J())};t.containsNode=function(a,b){return this.Pk(aJ(a,void 0),b)};t.qH=function(a){this.isCollapsed()||this.fk();return this.insertNode(a,!0)};
t.Lz=function(){return this.ka()&&this.Oa()?new WI(this):null};var bJ=function(a,b){YI.call(this,a,b,!0)};C(bJ,YI);var cJ=function(){};C(cJ,ZI);cJ.prototype.Pk=function(a,b){var c=this.fn(),e=a.fn();return(b?As:Bs)(e,function(a){return As(c,function(c){return c.Pk(a,b)})})};cJ.prototype.insertNode=function(a,b){b?Xw(a,this.ka()):Yw(a,this.Oa());return a};cJ.prototype.GA=function(a,b){this.insertNode(a,!0);this.insertNode(b,!1)};var dJ=function(a,b,c,e,f){this.Ta=this.$a=null;this.Ka=this.La=0;var g;a&&(this.$a=a,this.La=b,this.Ta=c,this.Ka=e,1==a.nodeType&&a.tagName!=sc&&(a=a.childNodes,(b=a[b])?(this.$a=b,this.La=0):(a.length&&(this.$a=ts(a)),g=!0)),1==c.nodeType&&((this.Ta=c.childNodes[e])?this.Ka=0:this.Ta=c));YI.call(this,f?this.Ta:this.$a,f,!0);if(g)try{this.next()}catch(h){if(h!=Ix)throw h;}};C(dJ,bJ);t=dJ.prototype;t.iE=function(){return 3!=this.node.nodeType?-1:this.node==this.$a?this.La:0};
t.KD=function(){return 3!=this.node.nodeType?-1:this.node==this.Ta?this.Ka:this.node.nodeValue.length};t.ka=function(){return this.$a};t.Oa=function(){return this.Ta};t.Qy=function(){return this.hV&&this.node==this.Ta&&(!this.Ka||!this.i8())};t.next=function(){if(this.Qy())throw Ix;return dJ.g.next.call(this)};t.bV=function(){dJ.g.bV.apply(this);if(hx(this.node,this.Ta))throw Ix;};t.Qk=function(a){this.$a=a.$a;this.Ta=a.Ta;this.La=a.La;this.Ka=a.Ka;this.Yi=a.Yi;dJ.g.Qk.call(this,a)};
t.clone=function(){var a=new dJ(this.$a,this.La,this.Ta,this.Ka,this.Yi);a.Qk(this);return a};var eJ=function(){};eJ.prototype.Pk=function(a,b){var c=b&&!a.isCollapsed(),e=a.aa;try{return c?0<=this.Hh(e,0,1)&&0>=this.Hh(e,1,0):0<=this.Hh(e,0,0)&&0>=this.Hh(e,1,1)}catch(f){if(!G)throw f;return!1}};eJ.prototype.containsNode=function(a,b){return this.Pk(fJ(a),b)};
eJ.prototype.Gx=function(){var a=new UC;Lx(this,function(b,c,e){3==b.nodeType?a.append(Cr(b.nodeValue.substring(e.iE(),e.KD()))):1==b.nodeType&&(e.jF()?Tw(b)&&a.append("</"+b.tagName+">"):(c=b.cloneNode(!1),c=ox(c),G&&"LI"==b.tagName?a.append(c):(b=c.lastIndexOf("<"),a.append(b?c.substr(0,b):c))))},this);return a.toString()};eJ.prototype.jf=function(){return new dJ(this.ka(),this.wb(),this.Oa(),this.gc())};var gJ=function(a){this.aa=a};C(gJ,eJ);var iJ=function(a){var b=Cw(a).createRange();if(3==a.nodeType)b.setStart(a,0),b.setEnd(a,a.length);else if(hJ(a)){for(var c,e=a;(c=e.firstChild)&&hJ(c);)e=c;b.setStart(e,0);for(e=a;(c=e.lastChild)&&hJ(c);)e=c;b.setEnd(e,1==e.nodeType?e.childNodes.length:e.length)}else c=a.parentNode,a=us(c.childNodes,a),b.setStart(c,a),b.setEnd(c,a+1);return b},jJ=function(a,b,c,e){var f=Cw(a).createRange();f.setStart(a,b);f.setEnd(c,e);return f};t=gJ.prototype;t.clone=function(){return new this.constructor(this.aa.cloneRange())};
t.getContainer=function(){return this.aa.commonAncestorContainer};t.ka=function(){return this.aa.startContainer};t.wb=function(){return this.aa.startOffset};t.Oa=function(){return this.aa.endContainer};t.gc=function(){return this.aa.endOffset};t.Hh=function(a,b,c){return this.aa.compareBoundaryPoints(1==c?1==b?v.Range.START_TO_START:v.Range.START_TO_END:1==b?v.Range.END_TO_START:v.Range.END_TO_END,a)};t.isCollapsed=function(){return this.aa.collapsed};t.getText=function(){return this.aa.toString()};
t.gn=function(){var a=N(this.aa.startContainer).j(d);a.appendChild(this.aa.cloneContents());a=a.innerHTML;if(ir(a,"<")||!this.isCollapsed()&&!Dr(a,"<"))return a;var b=this.getContainer(),b=1==b.nodeType?b:b.parentNode;return ox(b.cloneNode(!1)).replace(">",">"+a)};t.select=function(a){var b=Mw(Cw(this.ka()));this.Qz(b.getSelection(),a)};t.Qz=function(a){a.removeAllRanges();a.addRange(this.aa)};
t.fk=function(){var a=this.aa;a.extractContents();if(a.startContainer.hasChildNodes()){var b=a.startContainer.childNodes[a.startOffset];if(b){var c=b.previousSibling;""==Ax(b)&&Zw(b);c&&""==Ax(c)&&Zw(c)}}if(Xt){var b=this.ka(),c=this.wb(),e=this.Oa(),f=this.gc(),g=b.nextSibling;b==e&&b.parentNode&&3==b.nodeType&&g&&3==g.nodeType&&(b.nodeValue+=g.nodeValue,Zw(g),a.setStart(b,c),a.setEnd(e,f))}};t.surroundContents=function(a){this.aa.surroundContents(a);return a};
t.insertNode=function(a,b){var c=this.aa.cloneRange();c.collapse(b);c.insertNode(a);c.detach();return a};
t.GA=function(a,b){var c=Mw(Cw(this.ka()));if(c=kJ(c))var e=c.ka(),f=c.Oa(),g=c.wb(),h=c.gc();var k=this.aa.cloneRange(),m=this.aa.cloneRange();k.collapse(!1);m.collapse(!0);k.insertNode(b);m.insertNode(a);k.detach();m.detach();if(c){if(3==e.nodeType)for(;g>e.length;){g-=e.length;do e=e.nextSibling;while(e==a||e==b)}if(3==f.nodeType)for(;h>f.length;){h-=f.length;do f=f.nextSibling;while(f==a||f==b)}XI(e,g,f,h).select()}};t.collapse=function(a){this.aa.collapse(a)};var lJ=function(a){this.aa=a};C(lJ,gJ);lJ.prototype.Qz=function(a,b){!b||this.isCollapsed()?lJ.g.Qz.call(this,a,b):(a.collapse(this.Oa(),this.gc()),a.extend(this.ka(),this.wb()))};var mJ=function(a,b){this.Ta=this.$a=this.Ng=null;this.Ka=this.La=-1;this.aa=a;this.Mh=b};C(mJ,eJ);var nJ=QC("goog.dom.browserrange.IeRange"),oJ=function(a){var b=Cw(a).body.createTextRange();if(1==a.nodeType)b.moveToElementText(a),hJ(a)&&!a.childNodes.length&&b.collapse(!1);else{for(var c=0,e=a;e=e.previousSibling;){var f=e.nodeType;if(3==f)c+=e.length;else if(1==f){b.moveToElementText(e);break}}e||b.moveToElementText(a.parentNode);b.collapse(!e);c&&b.move(dg,c);b.moveEnd(dg,a.length)}return b};
t=mJ.prototype;t.clone=function(){var a=new mJ(this.aa.duplicate(),this.Mh);a.Ng=this.Ng;a.$a=this.$a;a.Ta=this.Ta;return a};t.lg=function(){this.Ng=this.$a=this.Ta=null;this.La=this.Ka=-1};
t.getContainer=function(){if(!this.Ng){var a=this.aa.text,b=this.aa.duplicate(),c=a.replace(/ +$/,"");(c=a.length-c.length)&&b.moveEnd(dg,-c);c=b.parentElement();b=nr(b.htmlText).length;if(this.isCollapsed()&&0<b)return this.Ng=c;for(;b>nr(c.outerHTML).length;)c=c.parentNode;for(;1==c.childNodes.length&&c.innerText==pJ(c.firstChild)&&hJ(c.firstChild);)c=c.firstChild;0==a.length&&(c=this.w2(c));this.Ng=c}return this.Ng};
t.w2=function(a){for(var b=a.childNodes,c=0,e=b.length;c<e;c++){var f=b[c];if(hJ(f)){var g=oJ(f),h=g.htmlText!=f.outerHTML;if(this.isCollapsed()&&h?0<=this.Hh(g,1,1)&&0>=this.Hh(g,1,0):this.aa.inRange(g))return this.w2(f)}}return a};t.ka=function(){this.$a||(this.$a=this.Bx(1),this.isCollapsed()&&(this.Ta=this.$a));return this.$a};t.wb=function(){0>this.La&&(this.La=this.h4(1),this.isCollapsed()&&(this.Ka=this.La));return this.La};
t.Oa=function(){if(this.isCollapsed())return this.ka();this.Ta||(this.Ta=this.Bx(0));return this.Ta};t.gc=function(){if(this.isCollapsed())return this.wb();0>this.Ka&&(this.Ka=this.h4(0),this.isCollapsed()&&(this.La=this.Ka));return this.Ka};t.Hh=function(a,b,c){return this.aa.compareEndPoints((1==b?"Start":"End")+"To"+(1==c?"Start":"End"),a)};
t.Bx=function(a,b){var c=b||this.getContainer();if(!c||!c.firstChild)return c;for(var e=1==a,f=0,g=c.childNodes.length;f<g;f++){var h=e?f:g-f-1,k=c.childNodes[h],m;try{m=fJ(k)}catch(u){continue}var p=m.aa;if(this.isCollapsed())if(!hJ(k)){if(0==this.Hh(p,1,1)){this.La=this.Ka=h;break}}else{if(m.Pk(this))return this.Bx(a,k)}else{if(this.Pk(m)){if(!hJ(k)){e?this.La=h:this.Ka=h+1;break}return this.Bx(a,k)}if(0>this.Hh(p,1,0)&&0<this.Hh(p,0,1))return this.Bx(a,k)}}return c};
t.cma=function(a,b,c){return this.aa.compareEndPoints((1==b?"Start":"End")+"To"+(1==c?"Start":"End"),fJ(a).aa)};t.h4=function(a,b){var c=1==a,e=b||(c?this.ka():this.Oa());if(1==e.nodeType){for(var e=e.childNodes,f=e.length,g=c?1:-1,h=c?0:f-1;0<=h&&h<f;h+=g){var k=e[h];if(!hJ(k)&&0==this.cma(k,a,a))return c?h:h+1}return-1==h?0:h}f=this.aa.duplicate();g=oJ(e);f.setEndPoint(c?Uc:$d,g);f=f.text.length;return c?e.length-f:f};var pJ=function(a){return 3==a.nodeType?a.nodeValue:a.innerText};t=mJ.prototype;
t.Xt=function(){var a=this.Mh.body.createTextRange();a.moveToElementText(this.Mh.body);return this.Pk(new mJ(a,this.Mh),!0)};t.isCollapsed=function(){return 0==this.aa.compareEndPoints(Zd,this.aa)};t.getText=function(){return this.aa.text};t.gn=function(){return this.aa.htmlText};t.select=function(){this.aa.select()};
t.fk=function(){if(!this.isCollapsed()&&this.aa.htmlText){var a=this.ka(),b=this.Oa(),c=this.aa.text,e=this.aa.duplicate();e.moveStart(dg,1);e.moveStart(dg,-1);e.text==c&&(this.aa=e);this.aa.text="";this.lg();c=this.ka();e=this.wb();try{var f=a.nextSibling;a==b&&a.parentNode&&3==a.nodeType&&f&&3==f.nodeType&&(a.nodeValue+=f.nodeValue,Zw(f),this.aa=oJ(c),this.aa.move(dg,e),this.lg())}catch(g){}}};
var qJ=function(a,b,c){c=c||N(a.parentElement());var e,f=e=b.id;e||(e=b.id=Ur());a.pasteHTML(b.outerHTML);(b=c.b(e))&&(f||b.removeAttribute(rj));return b};mJ.prototype.surroundContents=function(a){Zw(a);a.innerHTML=this.aa.htmlText;(a=qJ(this.aa,a))&&this.aa.moveToElementText(a);this.lg();return a};var rJ=function(a,b,c,e){e=e||N(a.parentElement());var f;1!=b.nodeType&&(f=!0,b=e.j(d,null,b));a.collapse(c);b=qJ(a,b,e);f&&(a=b.firstChild,e.fqa(b),b=a);return b};
mJ.prototype.insertNode=function(a,b){var c=rJ(this.aa.duplicate(),a,b);this.lg();return c};mJ.prototype.GA=function(a,b){var c=this.aa.duplicate(),e=this.aa.duplicate();rJ(c,a,!0);rJ(e,b,!1);this.lg()};mJ.prototype.collapse=function(a){this.aa.collapse(a);a?(this.Ta=this.$a,this.Ka=this.La):(this.$a=this.Ta,this.La=this.Ka)};var sJ=function(a){this.aa=a};C(sJ,gJ);sJ.prototype.Qz=function(a){a.collapse(this.ka(),this.wb());this.Oa()==this.ka()&&this.gc()==this.wb()||a.extend(this.Oa(),this.gc());0==a.rangeCount&&a.addRange(this.aa)};var tJ=function(a){this.aa=a};C(tJ,gJ);tJ.prototype.Hh=function(a,b,c){return I("528")?tJ.g.Hh.call(this,a,b,c):this.aa.compareBoundaryPoints(1==c?1==b?v.Range.START_TO_START:v.Range.END_TO_START:1==b?v.Range.START_TO_END:v.Range.END_TO_END,a)};tJ.prototype.Qz=function(a,b){b?a.setBaseAndExtent(this.Oa(),this.gc(),this.ka(),this.wb()):a.setBaseAndExtent(this.ka(),this.wb(),this.Oa(),this.gc())};var uJ=function(a){return zw?new mJ(a,Cw(a.parentElement())):Yt?new tJ(a):H?new lJ(a):Vt?new sJ(a):new gJ(a)},fJ=function(a){if(G&&!lu(9)){var b=new mJ(oJ(a),Cw(a));if(hJ(a)){for(var c,e=a;(c=e.firstChild)&&hJ(c);)e=c;b.$a=e;b.La=0;for(e=a;(c=e.lastChild)&&hJ(c);)e=c;b.Ta=e;b.Ka=1==e.nodeType?e.childNodes.length:e.length;b.Ng=a}else b.$a=b.Ta=b.Ng=a.parentNode,b.La=us(b.Ng.childNodes,a),b.Ka=b.La+1;a=b}else a=Yt?new tJ(iJ(a)):H?new lJ(iJ(a)):Vt?new sJ(iJ(a)):new gJ(iJ(a));return a},hJ=function(a){return Tw(a)||
3==a.nodeType};var vJ=function(){this.Ka=this.Ta=this.La=this.$a=this.rm=null;this.Yi=!1};C(vJ,ZI);var wJ=function(a,b){var c=new vJ;c.rm=a;c.Yi=!!b;return c},aJ=function(a,b){return wJ(fJ(a),b)},XI=function(a,b,c,e){var f=new vJ;f.Yi=xJ(a,b,c,e);if(gx(a)&&!Tw(a)){var g=a.parentNode;b=us(g.childNodes,a);a=g}gx(c)&&!Tw(c)&&(g=c.parentNode,e=us(g.childNodes,c),c=g);f.Yi?(f.$a=c,f.La=e,f.Ta=a,f.Ka=b):(f.$a=a,f.La=b,f.Ta=c,f.Ka=e);return f};t=vJ.prototype;
t.clone=function(){var a=new vJ;a.rm=this.rm&&this.rm.clone();a.$a=this.$a;a.La=this.La;a.Ta=this.Ta;a.Ka=this.Ka;a.Yi=this.Yi;return a};t.ta=function(){return Xo};t.Nf=function(){return this.xe().aa};t.lg=function(){this.$a=this.La=this.Ta=this.Ka=null};t.Hp=function(){return 1};t.mh=function(){return this};
t.xe=function(){var a;if(!(a=this.rm)){a=this.ka();var b=this.wb(),c=this.Oa(),e=this.gc();if(G&&!lu(9)){var f=a,g=b,h=c,k=e,m=!1;1==f.nodeType&&(g>f.childNodes.length&&RC(nJ,"Cannot have startOffset > startNode child count"),g=f.childNodes[g],m=!g,f=g||f.lastChild||f,g=0);var p=oJ(f);g&&p.move(dg,g);f==h&&g==k?p.collapse(!0):(m&&p.collapse(!1),m=!1,1==h.nodeType&&(k>h.childNodes.length&&RC(nJ,"Cannot have endOffset > endNode child count"),h=(g=h.childNodes[k])||h.lastChild||h,k=0,m=!g),f=oJ(h),f.collapse(!m),
k&&f.moveEnd(dg,k),p.setEndPoint(Uc,f));k=new mJ(p,Cw(a));k.$a=a;k.La=b;k.Ta=c;k.Ka=e;a=k}else a=Yt?new tJ(jJ(a,b,c,e)):H?new lJ(jJ(a,b,c,e)):Vt?new sJ(jJ(a,b,c,e)):new gJ(jJ(a,b,c,e));a=this.rm=a}return a};t.getContainer=function(){return this.xe().getContainer()};t.ka=function(){return this.$a||(this.$a=this.xe().ka())};t.wb=function(){return null!=this.La?this.La:this.La=this.xe().wb()};t.Oa=function(){return this.Ta||(this.Ta=this.xe().Oa())};
t.gc=function(){return null!=this.Ka?this.Ka:this.Ka=this.xe().gc()};t.Uj=function(){return this.Yi};t.Pk=function(a,b){var c=a.ta();return c==Xo?this.xe().Pk(a.xe(),b):"control"==c?(c=a.Ap(),(b?As:Bs)(c,function(a){return this.containsNode(a,b)},this)):!1};var yJ=function(a){if(G&&!lu(9)){var b=!1;try{b=a.parentNode}catch(c){}return!!b}return hx(a.ownerDocument.body,a)};t=vJ.prototype;t.Xt=function(){return(!this.$a||yJ(this.$a))&&(!this.Ta||yJ(this.Ta))&&(!(G&&!lu(9))||this.xe().Xt())};
t.isCollapsed=function(){return this.xe().isCollapsed()};t.getText=function(){return this.xe().getText()};t.Gx=function(){return this.xe().Gx()};t.gn=function(){return this.xe().gn()};t.jf=function(){return new dJ(this.ka(),this.wb(),this.Oa(),this.gc())};t.select=function(){this.xe().select(this.Yi)};t.fk=function(){this.xe().fk();this.lg()};t.surroundContents=function(a){a=this.xe().surroundContents(a);this.lg();return a};t.insertNode=function(a,b){var c=this.xe().insertNode(a,b);this.lg();return c};
t.GA=function(a,b){this.xe().GA(a,b);this.lg()};t.Mz=function(){return new zJ(this)};t.collapse=function(a){a=this.Uj()?!a:a;this.rm&&this.rm.collapse(a);a?(this.Ta=this.$a,this.Ka=this.La):(this.$a=this.Ta,this.La=this.Ka);this.Yi=!1};var zJ=function(a){F.call(this);this.oY=a.sN();this.mka=a.tN();this.M2=a.PD();this.hqa=a.QD()};C(zJ,UI);zJ.prototype.AH=function(){return XI(this.oY,this.mka,this.M2,this.hqa)};zJ.prototype.B=function(){zJ.g.B.call(this);this.M2=this.oY=null};var AJ=function(){this.AA=this.dc=this.aa=null};C(AJ,cJ);var BJ=function(a){var b=new AJ;b.aa=a;return b},CJ=function(a){for(var b=Cw(arguments[0]).body.createControlRange(),c=0,e=arguments.length;c<e;c++)b.addElement(arguments[c]);return BJ(b)};t=AJ.prototype;t.lg=function(){this.AA=this.dc=null};t.clone=function(){return CJ.apply(this,this.Ap())};t.ta=function(){return"control"};t.Nf=function(){return this.aa||document.body.createControlRange()};t.Hp=function(){return this.aa?this.aa.length:0};
t.mh=function(a){return aJ(this.aa.item(a))};t.getContainer=function(){return lx.apply(null,this.Ap())};t.ka=function(){return this.hE()[0]};t.wb=function(){return 0};t.Oa=function(){var a=this.hE(),b=ts(a);return Es(a,function(a){return hx(a,b)})};t.gc=function(){return this.Oa().childNodes.length};t.Ap=function(){if(!this.dc&&(this.dc=[],this.aa))for(var a=0;a<this.aa.length;a++)this.dc.push(this.aa.item(a));return this.dc};
t.hE=function(){this.AA||(this.AA=this.Ap().concat(),this.AA.sort(function(a,b){return a.sourceIndex-b.sourceIndex}));return this.AA};t.Xt=function(){var a=!1;try{a=Bs(this.Ap(),function(a){return G?!!a.parentNode:hx(a.ownerDocument.body,a)})}catch(b){}return a};t.isCollapsed=function(){return!this.aa||!this.aa.length};t.getText=function(){return""};t.Gx=function(){return ys(this.hE(),ox).join("")};t.gn=function(){return this.Gx()};t.jf=function(){return new DJ(this)};
t.select=function(){this.aa&&this.aa.select()};t.fk=function(){if(this.aa){for(var a=[],b=0,c=this.aa.length;b<c;b++)a.push(this.aa.item(b));E(a,Zw);this.collapse(!1)}};t.qH=function(a){a=this.insertNode(a,!0);this.isCollapsed()||this.fk();return a};t.Mz=function(){return new EJ(this)};t.collapse=function(){this.aa=null;this.lg()};var EJ=function(a){this.dc=a.Ap()};C(EJ,UI);
EJ.prototype.AH=function(){for(var a=(this.dc.length?Cw(this.dc[0]):document).body.createControlRange(),b=0,c=this.dc.length;b<c;b++)a.addElement(this.dc[b]);return BJ(a)};EJ.prototype.B=function(){EJ.g.B.call(this);delete this.dc};var DJ=function(a){this.dc=this.Ta=this.$a=null;a&&(this.dc=a.hE(),this.$a=this.dc.shift(),this.Ta=ts(this.dc)||this.$a);YI.call(this,this.$a,!1,!0)};C(DJ,bJ);t=DJ.prototype;t.iE=function(){return 0};t.KD=function(){return 0};t.ka=function(){return this.$a};t.Oa=function(){return this.Ta};
t.Qy=function(){return!this.depth&&!this.dc.length};t.next=function(){if(this.Qy())throw Ix;if(!this.depth){var a=this.dc.shift();this.setPosition(a,1,1);return a}return DJ.g.next.call(this)};t.Qk=function(a){this.dc=a.dc;this.$a=a.$a;this.Ta=a.Ta;DJ.g.Qk.call(this,a)};t.clone=function(){var a=new DJ(null);a.Qk(this);return a};var FJ=function(){this.D=QC("goog.dom.MultiRange");this.Bi=[];this.Fu=[];this.pf=this.uv=null};C(FJ,cJ);var GJ=function(a){var b=new FJ;b.Fu=a;b.Bi=ys(a,function(a){return a.Nf()});return b};t=FJ.prototype;t.lg=function(){this.Fu=[];this.pf=this.uv=null};t.clone=function(){var a=this.Bi,b=new FJ;b.Bi=Os(a);return b};t.ta=function(){return"mutli"};t.Nf=function(){1<this.Bi.length&&SC(this.D,"getBrowserRangeObject called on MultiRange with more than 1 range");return this.Bi[0]};t.Hp=function(){return this.Bi.length};
t.mh=function(a){this.Fu[a]||(this.Fu[a]=wJ(uJ(this.Bi[a]),void 0));return this.Fu[a]};t.getContainer=function(){if(!this.pf){for(var a=[],b=0,c=this.Hp();b<c;b++)a.push(this.mh(b).getContainer());this.pf=lx.apply(null,a)}return this.pf};t.Ux=function(){this.uv||(this.uv=this.fn(),this.uv.sort(function(a,b){var c=a.ka(),e=a.wb(),f=b.ka(),g=b.wb();return c==f&&e==g?0:xJ(c,e,f,g)?1:-1}));return this.uv};t.ka=function(){return this.Ux()[0].ka()};t.wb=function(){return this.Ux()[0].wb()};t.Oa=function(){return ts(this.Ux()).Oa()};
t.gc=function(){return ts(this.Ux()).gc()};t.Xt=function(){return Bs(this.fn(),function(a){return a.Xt()})};t.isCollapsed=function(){return 0==this.Bi.length||1==this.Bi.length&&this.mh(0).isCollapsed()};t.getText=function(){return ys(this.fn(),function(a){return a.getText()}).join("")};t.Gx=function(){return this.gn()};t.gn=function(){return ys(this.fn(),function(a){return a.gn()}).join("")};t.jf=function(){return new HJ(this)};
t.select=function(){var a=$I(this.getWindow());a.removeAllRanges();for(var b=0,c=this.Hp();b<c;b++)a.addRange(this.mh(b).Nf())};t.fk=function(){E(this.fn(),function(a){a.fk()})};t.Mz=function(){return new IJ(this)};t.collapse=function(a){if(!this.isCollapsed()){var b=a?this.mh(0):this.mh(this.Hp()-1);this.lg();b.collapse(a);this.Fu=[b];this.uv=[b];this.Bi=[b.Nf()]}};var IJ=function(a){this.iT=ys(a.fn(),function(a){return a.Mz()})};C(IJ,UI);
IJ.prototype.AH=function(){var a=ys(this.iT,function(a){return a.restore()});return GJ(a)};IJ.prototype.B=function(){IJ.g.B.call(this);E(this.iT,function(a){a.dispose()});delete this.iT};var HJ=function(a){this.Vj=null;this.qs=0;a&&(this.Vj=ys(a.Ux(),function(a){return Kx(a)}));bJ.call(this,a?this.ka():null,!1)};C(HJ,bJ);t=HJ.prototype;t.iE=function(){return this.Vj[this.qs].iE()};t.KD=function(){return this.Vj[this.qs].KD()};t.ka=function(){return this.Vj[0].ka()};t.Oa=function(){return ts(this.Vj).Oa()};
t.Qy=function(){return this.Vj[this.qs].Qy()};t.next=function(){try{var a=this.Vj[this.qs],b=a.next();this.setPosition(a.node,a.Ke,a.depth);return b}catch(c){if(c!==Ix||this.Vj.length-1==this.qs)throw c;this.qs++;return this.next()}};t.Qk=function(a){this.Vj=Os(a.Vj);HJ.g.Qk.call(this,a)};t.clone=function(){var a=new HJ(null);a.Qk(this);return a};var kJ=function(a){return(a=$I(a||window))&&JJ(a)},JJ=function(a){var b,c=!1;if(a.createRange)try{b=a.createRange()}catch(f){return null}else if(a.rangeCount){if(1<a.rangeCount){b=new FJ;for(var c=0,e=a.rangeCount;c<e;c++)b.Bi.push(a.getRangeAt(c));return b}b=a.getRangeAt(0);c=xJ(a.anchorNode,a.anchorOffset,a.focusNode,a.focusOffset)}else return null;return KJ(b,c)},KJ=function(a,b){return a&&a.addElement?BJ(a):wJ(uJ(a),b)},LJ=function(a,b){return XI(a,b,a,b)},MJ=function(a){if(a=$I(a||window))if(a.empty)try{a.empty()}catch(b){}else try{a.removeAllRanges()}catch(b){}},
xJ=function(a,b,c,e){if(a==c)return e<b;var f;if(1==a.nodeType&&b)if(f=a.childNodes[b])a=f,b=0;else if(hx(a,c))return!0;if(1==c.nodeType&&e)if(f=c.childNodes[e])c=f,e=0;else if(hx(c,a))return!1;return 0<(kx(a,c)||b-e)};var NJ=function(){};NJ.prototype.hc=function(){return{}};var OJ=RegExp(";","g"),PJ=RegExp(":","g"),QJ=RegExp("#59","g"),RJ=RegExp("#58","g"),SJ=RegExp("#","g"),TJ=RegExp("#35","g"),UJ=function(a){var b={};if(a){a=a.split(";");for(var c=0;c<a.length;c++){var e=a[c].split(":");if(e&&2==e.length){var f=pr(e[1]).replace(QJ,";"),f=f.replace(RJ,":"),f=f.replace(TJ,"#");b[pr(e[0])]=f}}}return b},VJ=function(a){var b=new UC;if(a)for(var c in a){var e=a[c];z(e)&&(e=e.replace(SJ,"#35"),e=e.replace(OJ,"#59"),e=e.replace(PJ,"#58"));b.append(";",c,":",e)}a=b.toString();
return 1<a.length?a.substring(1):a},WJ=function(a,b){return a.getAttribute("data-"+b)},XJ=function(a,b,c){a.setAttribute("data-"+b,c)},ZJ=function(){YJ.Ov="data-igsrc"},$J=function(a,b){var c=O(a),e=new HF("Change");e.ha(c);K(e,Le,b);return e};var aK=function(a){this.fb=a};C(aK,NJ);t=aK.prototype;t.BO=null;t.re=Wg;t.Ha=zo;t.Ud=/(?:https?:\/\/spreadsheets[0-9]?(?:\.sandbox[0-9]?|-qa[0-9]?\.corp)?\.google\.com\/.*(?:ccc|pub)\?(?:.+=.*&)*key=.+)|(?:https?:\/\/docs[0-9]?(?:\.sandbox[0-9]?|-qa[0-9]?\.corp)?\.google\.com\/.*spreadsheet\/(?:ccc|pub)\?(?:.+=.*&)*key=.+)|(?:https:\/\/docs[0-9]?(?:\.sandbox[0-9]?|-qa[0-9]?\.corp)?\.google\.com\/.*spreadsheets\/d\/.*\/edit)/;t.hf="https://spreadsheets.google.com/a/_domain_/spreadsheet/ccc?key=_id_";
t.uia="https://docs.google.com/a/_domain_/spreadsheets/d/_id_/htmlembed";t.yd="https://spreadsheets.google.com/spreadsheet/ccc?key=_id_";t.via="https://docs.google.com/spreadsheets/d/_id_/htmlembed";t.xd=/(?:key=|\/spreadsheets\/d\/)([^#&?\\\/]*)/;t.ti=/(?:spreadsheets|docs).google.com\/a\/(.*?)\//;t.Qv=/application\/vnd\.google-apps\.(?:ritz|spreadsheet)/;t.Yg={authkey:/authkey=([^&#]*)/,gid:/gid=([0-9]*)/,doctype:/\.google\.com\/(?:a\/[^\/]+\/)?sp(r)eadsheets\/d/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""},view:function(a,b){"published"==a?b.viewSelectedPublishedSheet=tn:a==nk?b.viewSelectedList=tn:b.viewSelectedSheet=tn}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:id,objectTitle:id,heightValue:"600",widthValue:"",viewSelectedSheet:tn}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a},viewList:function(a,b){a&&(b.view=nk)},viewPublishedSheet:function(a,b){a&&(b.view="published")},viewSheet:function(a,b){a&&(b.view="sheet")}};
t.qc=function(a){a={Ed:a.objectUrl,Dq:a.objectTitle,qr:a.showBorder,rr:a.showBorderTitle,Mo:a.borderTitle,Wp:a.heightValue,Nr:a.widthValue,XNa:a.viewSelectedSheet,WNa:a.viewSelectedPublishedSheet,VNa:a.viewSelectedList,webspace:webspace};return GG(gF({O9:wo,aea:"Include border around Google Spreadsheet"},a),null,void 0)+'<p><strong>View as:</strong> <select><option jotId="viewSheet" '+W(a.XNa)+' >Spreadsheet</option><option jotId="viewPublishedSheet" '+W(a.WNa)+' >Spreadsheet (Published)</option><option jotId="viewList" '+
W(a.VNa)+" >List</option></select></p>"};t.Kw=function(a,b){var c=a.gid;c&&(this.BO=c,b.objectUrl+="#gid="+c)};t.fy=function(){return this.BO?{gid:this.BO}:null};t.ON=function(a){return this.Z7(a)?this.uia:this.hf};t.mO=function(a){return this.Z7(a)?this.via:this.yd};t.Ac=function(){$J("goog-edit-insert-spreadsheet",A(this.fb.Jg,this.fb,wo))};t.Z7=function(a){return"r"==a.doctype};var bK=function(a){this.lMa=new TI;this.dpa=new NI;this.BKa=new SI;this.yLa=new aK(a);this.fb=a};C(bK,NJ);var QI=new uw(200,125);t=bK.prototype;
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:" "},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:" "},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},height:function(a,b){b.height=a||""},width:function(a,b){b.width=a||""},chartIndex:function(a,b){b.chartIndex=a||""},chartSpec:function(a,b){b.chartSpec=a?Cr(a):""},chartSpecs:function(a,b){b.chartSpecs=a?Cr(a):""},spreadsheetName:function(a,b){b.spreadsheetName=a?uv(a):""},sheetUrl:function(a,b){b.sheetUrl=Cr(a||"")},embedMode:function(a,
b){b.embedMode=a||""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Google Chart",height:"371",width:"600",chartIndex:"0",chartSpec:"",chartSpecs:"",spreadsheetName:"No spreadsheet",sheetUrl:"",embedMode:Jg}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},height:function(a,b){b.height=a},width:function(a,b){b.width=a},chartIndex:function(a,b){b.chartIndex=a},chartSpec:function(a,b){b.chartSpec=Gr(a)},chartSpecs:function(a,b){b.chartSpecs=Gr(a)},spreadsheetName:function(a,b){b.spreadsheetName=a},sheetUrl:function(a,b){b.sheetUrl=Gr(a)}};t.re="gviz-charts";t.Ha="gviz-charts";t.Kz=Pq;t.tm=Pq;t.ng=null;
t.d0=function(a){a=a||{};a.embedMode="edit";return a};t.uca=function(a,b){this.Kz=a;this.tm=b};
t.qc=function(a){var b=a.objectUrl,c=a.sheetUrl,e=a.showBorder,f=a.showBorderTitle,g=a.borderTitle,h=a.height,k=a.width,m=a.chartIndex,p=a.chartSpec,u=a.spreadsheetName;a=a.chartSpecs;return'<p><div class="sites-clear goog-link-box command-sites-insert-gviz-chart-label"><span class="goog-toolbar-menu-item-icon sites-gviz-chart-icon"></span> '+(u?"<span class='sites-gviz-spreadsheetname'>"+W(u)+Sb:"")+' (<a class="sites-gviz-change-url" target="_blank" tabIndex="0">change</a>)</div></p><hr class=\'sites-gviz-hr\'/><div class="sites-gviz-no-charts">'+W("No charts exist yet for this data source - Next step: Build a chart")+
'</div><p class="sites-gviz-has-charts"><span class="sites-gviz-charts-title">Available charts</span></p><span class="sites-gviz-charts-text sites-gviz-has-charts">The chart settings are copied from the spreadsheet and can be customized using the <a class="sites-gviz-open-editor" tabIndex="0">chart editor</a>.</span><div class="sites-gviz-charts-list sites-gviz-has-charts"></div><hr style="height:1px;background-color:#C5D9FD;"/><p><span class="sites-gviz-charts-title">Chart display</span></p><p><input jotId="showBorder" type="checkbox" '+
W(e)+' />Include border around Google Chart<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+W(f)+ea+W(g)+'" /></p><p><strong>Width: </strong><input jotId="width" size="3" value="'+W(k)+'" /> pixels</p><p><strong>Height: </strong><input jotId="height" size="3" value="'+W(h)+'" /> pixels</p><p style="display:none;"><input jotId="chartSpec" size="10" value="'+W(p)+'" /><input jotId="chartSpecs" size="10" value="'+W(a)+'" /><input jotId="objectUrl" size="10" value="'+W(b)+'" /><input jotId="sheetUrl" size="10" value="'+
W(c)+'" /><input jotId="chartIndex" size="10" value="'+W(m)+'" /><input jotId="spreadsheetName" size="10" value="'+W(u)+ra};t.Ac=function(a,b,c){this.ng=new RI(a,this.Kz,this.tm);a=a.contentEl;K(a,Hg,ss(MJ));b=Gw("sites-gviz-change-url",a);K(new dy(b),Le,A(this.C8,this,c));c=Gw("sites-gviz-open-editor",a);K(new dy(c),Le,A(this.Wy,this,!1));K(this.ng.sf,"edit-chart",A(this.Wy,this,!1))};
t.DO=function(a,b,c){this.ng.mo(!1);a=A(this.Kua,this,a,b,c);KI.push(a);Xq(Oq("google.visualization.ChartEditor"))?LI():JI||(JI=!0,a=II("//www.google.com/jsapi?client=google-gviz&autoload={modules:[%s]}",RD({name:"visualization",packages:["charteditor_base"],version:webspace.gvizVersion||"1",language:webspace.page.locale||"en",callback:lo})),ResourceLoader.loadResource(a))};t.Kua=function(a,b,c){a=b.embedMode;"init"==a?this.C8(c):"edit"==a?this.Wy(!0):(this.Maa(),this.ng.mo(!0))};
t.C8=function(a){this.ng.mo(!1);a.Jg($i,void 0,Sl)};t.Wy=function(a){this.ng.mo(!1);this.dpa.openDialog(this.ng,a)};t.$R=function(a,b,c){c&&c.action==Sl?(a=c.docs)&&!Hs(a)&&this.yLa.Ud.test(a[0].url)?this.BKa.tra(a[0].url,a[0].mimeType,A(this.KDa,this,b,a)):(this.fb.oK(),this.y5(b)):c&&c.action==Zf&&this.y5(b)};t.y5=function(a){this.W4(a,!1)};t.KDa=function(a,b,c){var e=b[0].url;b=b[0].name||"";null===c&&(c=[]);this.ng.MDa(c,e,b);this.W4(a,!0)};
t.W4=function(a,b){this.fb.q1(a);var c=this.ng;c.cya()?(b&&this.Maa(),c.c6()?c.mo(!0):this.Wy(!1)):c.ula()};t.Maa=function(){this.lMa.Bma(this.ng)};t.IE=function(){var a=this.ng,b=!1;a&&a.KE()?(b=a.nNa(),Rt(a),this.ng=null):this.Wy(!1);return b};t.Pp=function(){Rt(this.ng);this.ng=null;return!0};var cK=/^[\w+/]+[=]{0,2}$/;var dK=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||v,f=e.document,g;(g=(g=(g=(e||v).document.querySelector("script[nonce]"))&&g.getAttribute("nonce"))&&cK.test(g)?g:void 0)&&(a.nonce=g);if("help"==a.flow){var h=Oq("document.location.href",e);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var k=JSON.stringify(b);(h=1200>=k.length)&&(a.psdJson=k)}h||(b={invalidPsd:!0})}b=[a,b,c];e.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.serverUri||
"//www.google.com/tools/feedback";if(h=e.GOOGLE_FEEDBACK_START)h.apply(e,b);else{var e=c+"/load.js?",m;for(m in a)b=a[m],null!=b&&!Xq(b)&&(e+=encodeURIComponent(m)+"="+encodeURIComponent(b)+"&");a=f.createElement(gn);g&&a.setAttribute("nonce",g);a.src=e;f.body.appendChild(a)}};x("userfeedback.api.startFeedback",dK,void 0);var eK=function(a,b,c){try{c=c||"en";if(0<=b.indexOf("/")){var e=b.split("?#",2)[0];"/"==e.slice(-1)&&(e=e.slice(0,-1));b=e.slice(e.lastIndexOf("/")+1);if(!b||0<=b.indexOf(".")||b==Vn||b==Wn)b="dashboard"}dK({productId:"70",flow:"help",helpCenterContext:b,helpCenterPath:"/sites",anchor:O(a),locale:c})}catch(f){window.open("http://support.google.com/sites/?hl="+c)}};x("sites.util.helpBox",eK,void 0);var fK=function(a){this.Dd=a};t=fK.prototype;t.value=function(){return this.Dd};t.oA=function(a){this.Dd.width=a;return this};t.Rf=function(){return this.Dd.width};t.tIa=function(a){this.Dd.height=a;return this};t.Be=function(){return this.Dd.height};t.io=function(a){this.Dd.style=a;return this};t.getStyle=function(){return this.Dd.style};var gK=function(a){this.Dd=a||{}};t=gK.prototype;t.value=function(){return this.Dd};t.bm=function(a){this.Dd.url=a;return this};t.getUrl=function(){return this.Dd.url};t.sKa=function(a){this.Dd.where=a;return this};t.io=function(a){this.Dd.style=a;return this};t.getStyle=function(){return this.Dd.style};t.ki=function(a){this.Dd.id=a;return this};t.getId=function(){return this.Dd.id};t.rO=function(){return this.Dd.rpctoken};t.getContext=function(){return this.Dd.context};
t.$m=function(){this.Dd.attributes=this.Dd.attributes||{};return new fK(this.Dd.attributes)};var hK=function(a){this.action=a;this.wfv=!1},iK={si:Zf,aPa:"cancel-upload",JTa:Xm,fUa:"select-contacts",gUa:"select-fonts",hUa:"select-people",mUa:"set-album-sort-order",nUa:An,oUa:Bn,pUa:Cn,qUa:Dn,rUa:En,sUa:Fn,tUa:Gn,tX:wq};var jK=function(){hK.call(this,Zf)};C(jK,hK);var kK=function(a){hK.call(this,"cancel-upload");this.id=a};C(kK,hK);var lK=function(){hK.call(this,Xm)};C(lK,hK);var mK=function(a,b){hK.call(this,An);this.appId=a;this.appOrigin=b};C(mK,hK);var nK=function(a){hK.call(this,Cn);this.wfv=!0;this.maxSizeBytes=a};C(nK,hK);var oK=function(a){hK.call(this,Bn);this.wfv=!0;this.maxItems=a};C(oK,hK);var pK=function(a){hK.call(this,Dn);this.wfv=!0;this.title=a};C(pK,hK);var qK={pha:Se,VPa:Xg,WPa:Yg,XPa:Zg,qha:ah,dQa:dh,SQa:Qh,UQa:Uh,cTa:Il,rTa:Gm,aUa:hn,CUa:Wn,cVa:zo,nVa:Ro,HPa:Cg,tRa:wj,hTa:Ll,iTa:Ml,jia:Nl,kTa:Pl,kia:Ol,iia:Ql,lWa:Bq,wWa:Lq,dWa:oq,$Va:pq,cWa:nq,dja:Kq,Vha:yk,aSa:zk,wW:kg,jha:xg,PJ:Jl,Fha:Yi,AQa:uh,xha:"et",FOa:"attachments",ROa:Of,WOa:Rf,ZOa:Xf,zha:Sh,OW:"icon",lia:Bm,wTa:"promo",tTa:Im,ETa:Vm,KVa:Qp,URL:dq,mWa:Aq,FPa:Bg,zTa:"quota"},rK=function(a){switch(a){case Se:case Xg:case Yg:case Zg:case ah:case dh:case Qh:case Uh:case Il:case Gm:case Wn:case zo:case Ro:return!0}return!1};var sK=function(a){this.pa=a;this.ca={}};t=sK.prototype;t.Hb=function(a){this.Eb=a||void 0;return this};t.setQuery=function(a){this.ca.query=a;return this};t.Ib=function(a){this.ca.mimeTypes=a;return this};t.kc=function(a){this.ca.hideBc=a?r:null;return this};t.cc=function(a,b){var c=this.ca.data||{};c[a]=b;this.ca.data=c;return this};t.Va=function(a){this.ca.parent=a;return this};t.oc=function(a){this.ca.cRename=a;return this};
t.KA=function(){var a=bt(this.ca,function(a){return null!==a}),a=lt(a)?null:a,a=[this.pa,this.Eb,a],b=Fs(a,qs);return a=a.slice(0,b+1)};t.toString=function(){var a=this.KA();return"("+ys(a,function(a){return RD(a)}).join(",")+")"};t.getId=function(){return this.pa};t.gl=function(){return this.Eb};t.getOptions=function(){return ot(this.ca)};t.getQuery=function(){return this.ca.query};var tK=function(a){hK.call(this,Fn);this.view=a.KA()};C(tK,hK);var uK=function(a){hK.call(this,Gn);this.viewOptions=a};C(uK,hK);var vK=function(a){hK.call(this,wq);this.visible=a};C(vK,hK);var wK={si:Zf,lTa:Sl,OVa:Tp,PVa:Up,RVa:Vp,LOADED:rk,TOa:"blurred",wQa:ph,eWa:sq,jWa:vq,fWa:tq,DTa:Um};var xK=[void 0,Cl,"limited",zh,bh,Om,Te];var yK=function(a){sK.call(this,Qp);this.ca.query=a};C(yK,sK);t=yK.prototype;t.setQuery=function(){throw Error("Query cannot be set for upload views.");};t.jKa=function(a){this.ca.notifications=a?r:null;return this};t.Hb=function(a){yK.g.Hb.call(this,a);return this};t.Ib=function(a){yK.g.Ib.call(this,a);return this};t.kc=function(a){yK.g.kc.call(this,a);return this};t.cc=function(a,b){yK.g.cc.call(this,a,b);return this};t.Va=function(a){yK.g.Va.call(this,a);return this};
t.oc=function(a){yK.g.oc.call(this,a);return this};var zK=function(){yK.call(this,Wg)};C(zK,yK);t=zK.prototype;t.gU=function(a){this.ca.includeFolders=a;return this};t.Hb=function(a){zK.g.Hb.call(this,a);return this};t.setQuery=function(a){zK.g.setQuery.call(this,a);return this};t.Ib=function(a){zK.g.Ib.call(this,a);return this};t.kc=function(a){zK.g.kc.call(this,a);return this};t.cc=function(a,b){zK.g.cc.call(this,a,b);return this};t.Va=function(a){zK.g.Va.call(this,a);return this};t.oc=function(a){zK.g.oc.call(this,a);return this};var AK=function(a){a&&D(rK(a),"opt_viewId must be a docs view type");sK.call(this,a||Se)};C(AK,sK);t=AK.prototype;t.UJa=function(a,b){this.ca.sortKey=a;b&&(this.ca.ff=b);return this};t.lU=function(a){this.ca.mode=a;return this};t.hJa=function(a){w(a)?this.ca.ownedByMe=a:delete this.ca.ownedByMe;return this};t.VJa=function(a){this.ca.starred=a;return this};t.gU=function(a){this.ca.includeFolders=a;return this};t.oda=function(a){this.ca.selectFolder=a;return this};
t.ZHa=function(a){this.ca.docTypesDropDown=a;return this};t.Dda=function(a){this.ca.upload=a;return this};t.PHa=function(a){this.ca.createFolder=a;return this};t.OIa=function(a){this.ca.maxPrefetchCollections=a;return this};t.Hb=function(a){AK.g.Hb.call(this,a);return this};t.setQuery=function(a){AK.g.setQuery.call(this,a);return this};t.Ib=function(a){AK.g.Ib.call(this,a);return this};t.kc=function(a){AK.g.kc.call(this,a);return this};t.cc=function(a,b){AK.g.cc.call(this,a,b);return this};
t.Va=function(a){AK.g.Va.call(this,a);return this};t.oc=function(a){AK.g.oc.call(this,a);return this};t.gJa=function(a){this.ca.ops=a;return this};t.HIa=function(a){this.ca.items=a;return this};t.YIa=function(a){this.ca.mbl=a;return this};t.nda=function(a){this.ca.sblois=a;return this};t.iHa=function(a){this.ca.eai=a;return this};t.jHa=function(a){this.ca.ail=a;return this};t.fJa=function(a){this.ca.sou=a;return this};t.Boa=function(a){this.ca.drois=a;return this};
t.IHa=function(a){this.ca.cv=a.KA();return this};t.Coa=function(a){this.ca.drdis=a;return this};t.yJa=function(a){this.ca.rdem=a;return this};var BK={kPa:"cwpc",fQa:"daape",hQa:"driveGridViewSwitcherHidden",lQa:"driveSortHidden",sQa:"showAttach",uQa:"emci",vQa:oh,tQa:"edbe",yQa:"esUsersOnly",HQa:"faceRecoPromo",VQa:Vh,lRa:"horizNav",nSa:"mineOnly",oSa:Ik,pSa:"minew",ASa:Sk,ESa:Wk,FSa:"newDriveView",GSa:"newHorizNav",HSa:"newPhotoGridView",ISa:"npuv",RSa:"odv",fTa:"pcpfe",oia:Jm,iUa:"swue",uUa:Kn,vUa:"shapeSuggestions",yUa:"showroomNav",zUa:"sodw",BUa:Un,SVa:eq,pWa:Dq};var CK=function(){sK.call(this,wj)};C(CK,sK);t=CK.prototype;t.pr=function(a){this.ca.site=a;return this};t.dg=function(a){this.ca.type=a;return this};t.JIa=function(a){"*"==a?delete this.ca.license:this.ca.license=a;return this};t.Ub=function(a){this.ca.imgsz=a;return this};t.fU=function(a){this.ca.imgtype=a;return this};t.jA=function(a){this.ca.safe=a;return this};t.Hb=function(a){CK.g.Hb.call(this,a);return this};t.setQuery=function(a){CK.g.setQuery.call(this,a);return this};
t.Ib=function(a){CK.g.Ib.call(this,a);return this};t.kc=function(a){CK.g.kc.call(this,a);return this};t.cc=function(a,b){CK.g.cc.call(this,a,b);return this};t.Va=function(a){CK.g.Va.call(this,a);return this};t.oc=function(a){CK.g.oc.call(this,a);return this};var DK=function(){sK.call(this,Ll)};C(DK,sK);t=DK.prototype;t.dg=function(a){this.ca.type=a;return this};t.Hb=function(a){DK.g.Hb.call(this,a);return this};t.setQuery=function(a){DK.g.setQuery.call(this,a);return this};t.Ib=function(a){DK.g.Ib.call(this,a);return this};t.kc=function(a){DK.g.kc.call(this,a);return this};t.cc=function(a,b){DK.g.cc.call(this,a,b);return this};t.Va=function(a){DK.g.Va.call(this,a);return this};t.oc=function(a){DK.g.oc.call(this,a);return this};var EK=function(){sK.call(this,Ql)};C(EK,sK);var FK={Zga:"banner",JOa:"bannergallery",$Oa:Yf,KQa:Eh,bRa:"gmail_themes",PQa:"flat",Cha:hi,kRa:hj,Xha:Ck,tSa:"moment",QSa:"ofuser",lVa:"streamid",qVa:"tpp",LVa:Wp,aWa:qq,bWa:rq,qWa:sk,vWa:"ytbanner"};t=EK.prototype;t.lU=function(a){this.ca.mode=a;return this};t.dg=function(a){this.ca.type=a;return this};t.Dda=function(a){this.ca.upload=a?r:null;return this};t.lKa=function(a){this.ca.uploadpos=a;return this};t.Hb=function(a){EK.g.Hb.call(this,a);return this};
t.setQuery=function(a){EK.g.setQuery.call(this,a);return this};t.Ib=function(a){EK.g.Ib.call(this,a);return this};t.kc=function(a){EK.g.kc.call(this,a);return this};t.cc=function(a,b){EK.g.cc.call(this,a,b);return this};t.Va=function(a){EK.g.Va.call(this,a);return this};t.oc=function(a){EK.g.oc.call(this,a);return this};var GK={DoclistBlob:Fh,doc:$g,drawing:"drawing",folder:"folder",kix:$g,pres:Fm,spread:wo};var HK=function(a){switch(a){case Wg:case "DoclistBlob":case "doc":case "drawing":case "drive":case eh:case "form":case Wh:case "kix":case "pres":case Pm:case "ritz":case "spread":return!0;default:return!1}};var IK=function(){sK.call(this,oq)};C(IK,sK);t=IK.prototype;t.pr=function(a){this.ca.site=a;return this};t.jA=function(a){this.ca.safe=a;return this};t.Hb=function(a){IK.g.Hb.call(this,a);return this};t.setQuery=function(a){IK.g.setQuery.call(this,a);return this};t.Ib=function(a){IK.g.Ib.call(this,a);return this};t.kc=function(a){IK.g.kc.call(this,a);return this};t.cc=function(a,b){IK.g.cc.call(this,a,b);return this};t.Va=function(a){IK.g.Va.call(this,a);return this};
t.oc=function(a){IK.g.oc.call(this,a);return this};var JK=function(){sK.call(this,yk)};C(JK,sK);t=JK.prototype;t.lU=function(a){this.ca.mode=a;return this};t.EHa=function(a,b){this.ca.center=[a,b];return this};t.uKa=function(a){this.ca.zoom=a;return this};t.Hb=function(a){JK.g.Hb.call(this,a);return this};t.setQuery=function(a){JK.g.setQuery.call(this,a);return this};t.Ib=function(a){JK.g.Ib.call(this,a);return this};t.kc=function(a){JK.g.kc.call(this,a);return this};t.cc=function(a,b){JK.g.cc.call(this,a,b);return this};
t.Va=function(a){JK.g.Va.call(this,a);return this};t.oc=function(a){JK.g.oc.call(this,a);return this};var KK=function(){sK.call(this,dq)};C(KK,sK);t=KK.prototype;t.pr=function(a){this.ca.site=a;return this};t.dg=function(a){this.ca.type=a;return this};t.Hb=function(a){KK.g.Hb.call(this,a);return this};t.setQuery=function(a){KK.g.setQuery.call(this,a);return this};t.Ib=function(a){KK.g.Ib.call(this,a);return this};t.kc=function(a){KK.g.kc.call(this,a);return this};t.cc=function(a,b){KK.g.cc.call(this,a,b);return this};t.Va=function(a){KK.g.Va.call(this,a);return this};
t.oc=function(a){KK.g.oc.call(this,a);return this};var LK=function(){sK.call(this,Aq)};C(LK,sK);t=LK.prototype;t.pr=function(a){this.ca.site=a;return this};t.QHa=function(a){this.ca.cse=a;return this};t.BJa=function(a){this.ca.cseLabel=a;return this};t.wIa=function(a){this.ca.inUrl=a;return this};t.jA=function(a){this.ca.safe=a;return this};t.Hb=function(a){LK.g.Hb.call(this,a);return this};t.setQuery=function(a){LK.g.setQuery.call(this,a);return this};t.Ib=function(a){LK.g.Ib.call(this,a);return this};t.kc=function(a){LK.g.kc.call(this,a);return this};
t.cc=function(a,b){LK.g.cc.call(this,a,b);return this};t.Va=function(a){LK.g.Va.call(this,a);return this};t.oc=function(a){LK.g.oc.call(this,a);return this};var MK=function(a){this.bf=z(a)?new sK(a):a;this.Fe=[];this.ca={}};t=MK.prototype;t.rma=function(a){switch(a){case wj:return new CK;case yk:return new JK;case Ql:return new EK;case dq:return new KK;case oq:return new IK;case Aq:return new LK}return new sK(a)};t.Hc=function(a){this.Fe.push(z(a)?this.rma(a):a);return this};t.nm=function(a){this.Fe.push((new sK(null)).Hb(a));return this};t.Ak=function(a){this.Fe.push(a);return this};
t.UD=function(){return"("+ys(this.Fe,function(a){return a.toString()}).join(",")+")"};t.nta=function(){var a=bt(this.ca,function(a){return null!==a});return(a=lt(a)?null:a)?RD(ct(a,function(a){return a.toString()})):""};t.toString=function(){if(this.bf){var a=["{root:",this.bf.toString(),",items:",this.UD()],b=this.nta();b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return this.UD()};
t.FV=function(){var a=ys(this.Fe,function(a){return a instanceof MK?a.FV():a.KA()});return this.bf?{root:this.bf.KA(),items:a,options:this.getOptions()}:a};t.wy=function(a){for(var b=this.Fe,c=0;c<b.length;c++){var e=b[c];if(e instanceof MK&&e.wy(a)||e instanceof sK&&e.getId()==a)return!0}return!1};t.nE=function(a,b){b=b||[];for(var c=this.Fe,e=0;e<c.length;e++){var f=c[e];f instanceof MK?f.nE(a,b):f.getId()==a&&b.push(f)}return b};t.getOptions=function(){return ot(this.ca)};
t.MHa=function(a){this.ca.collapsible=a;return this};var NK=function(a,b){sK.call(this,Bq);a&&(this.ca.type=a);b&&(this.ca.query=b)};C(NK,sK);t=NK.prototype;t.setQuery=function(){throw Error("Query cannot be set for web camera views.");};t.Hb=function(a){NK.g.Hb.call(this,a);return this};t.Ib=function(a){NK.g.Ib.call(this,a);return this};t.kc=function(a){NK.g.kc.call(this,a);return this};t.cc=function(a,b){NK.g.cc.call(this,a,b);return this};t.Va=function(a){NK.g.Va.call(this,a);return this};t.oc=function(a){NK.g.oc.call(this,a);return this};x("picker.api.Action",wK,void 0);x("picker.api.Action.CANCEL",Zf,void 0);x("picker.api.Action.PICKED",Sl,void 0);x("picker.api.Audience",{WSa:Cl,RRa:"limited",zOa:Te,EQa:zh,YPa:bh,xTa:Om},void 0);x("picker.api.Audience.PUBLIC",Om,void 0);x("picker.api.Audience.DOMAIN_PUBLIC",bh,void 0);x("picker.api.Audience.EXTENDED_CIRCLES",zh,void 0);x("picker.api.Audience.ALL_PERSONAL_CIRCLES",Te,void 0);x("picker.api.Audience.LIMITED","limited",void 0);x("picker.api.Audience.OWNER_ONLY",Cl,void 0);
x("picker.api.Document",{GOa:wf,POa:"blobId",gPa:"children",uPa:zg,xPa:"copyable",DPa:"coverPhotoId",IPa:Cg,QPa:Mg,aQa:ch,mQa:"driveSuccess",gQa:"driveError",EMAIL:kh,qQa:lh,nRa:"iconUrl",oRa:rj,ARa:Ij,BRa:"isNew",CRa:"isRoot",DRa:Jj,FRa:Vj,KRa:dk,LRa:ek,MRa:fk,ORa:gk,XRa:tk,bSa:Ak,fSa:Bk,mSa:Gk,BSa:"name",MSa:al,OSa:"numTagged",PSa:"numUntagged",TSa:rl,VSa:"otherParents",ZSa:"parentId",PJ:Jl,nTa:"placeId",READ_ONLY:"readOnly",OTa:"rpt",QTa:"rptn",WTa:"rotation",XTa:"rotationDegree",kUa:"serviceId",
OUa:"sizeBytes",YUa:to,ZUa:uo,rVa:Vo,sVa:"teamDriveName",vVa:ap,TYPE:Ip,FVa:"undoable",MVa:"uploadId",NVa:"uploadMetadata",QVa:"uploadState",URL:dq,VERSION:kq,tX:wq},void 0);x("picker.api.Document.ADDRESS_LINES","addressLines",void 0);x("picker.api.Document.AUDIENCE",wf,void 0);x("picker.api.Document.DESCRIPTION",Mg,void 0);x("picker.api.Document.DURATION","duration",void 0);x("picker.api.Document.EMBEDDABLE_URL",lh,void 0);x("picker.api.Document.ICON_URL","iconUrl",void 0);
x("picker.api.Document.ID",rj,void 0);x("picker.api.Document.IS_NEW","isNew",void 0);x("picker.api.Document.LAST_EDITED_UTC",dk,void 0);x("picker.api.Document.LATITUDE",gk,void 0);x("picker.api.Document.LONGITUDE",tk,void 0);x("picker.api.Document.MIME_TYPE",Gk,void 0);x("picker.api.Document.NAME","name",void 0);x("picker.api.Document.NUM_CHILDREN",al,void 0);x("picker.api.Document.PARENT_ID","parentId",void 0);x("picker.api.Document.PHONE_NUMBERS","phoneNumbers",void 0);
x("picker.api.Document.SERVICE_ID","serviceId",void 0);x("picker.api.Document.THUMBNAILS",ap,void 0);x("picker.api.Document.TYPE",Ip,void 0);x("picker.api.Document.URL",dq,void 0);x("picker.api.DocsUploadView",zK,void 0);zK.prototype.setIncludeFolders=zK.prototype.gU;sK.prototype.setParent=zK.prototype.Va;x(wm,AK,void 0);AK.prototype.setIncludeFolders=AK.prototype.gU;AK.prototype.setSelectFolderEnabled=AK.prototype.oda;AK.prototype.setMode=AK.prototype.lU;sK.prototype.setParent=AK.prototype.Va;
AK.prototype.setOwnedByMe=AK.prototype.hJa;AK.prototype.setStarred=AK.prototype.VJa;AK.prototype.setDocTypesDropDownEnabled=AK.prototype.ZHa;x("picker.api.DocsViewMode",{Dha:Wi,Uha:nk},void 0);x("picker.api.DocsViewMode.GRID",Wi,void 0);x("picker.api.DocsViewMode.LIST",nk,void 0);x("picker.api.Feature",BK,void 0);x("picker.api.Feature.MULTISELECT_ENABLED",Sk,void 0);x("picker.api.Feature.NAV_HIDDEN",Wk,void 0);x("picker.api.Feature.MINE_ONLY","mineOnly",void 0);
x("picker.api.Feature.SIMPLE_UPLOAD_ENABLED",Un,void 0);x("picker.api.ImageSearchView",CK,void 0);x("picker.api.ImageSearchView.License",{NONE:"*",STa:"r",oPa:"cr",TTa:"rwm",pPa:"crwm"},void 0);x("picker.api.ImageSearchView.License.COMMERCIAL_REUSE","cr",void 0);x("picker.api.ImageSearchView.License.COMMERCIAL_REUSE_WITH_MODIFICATION","crwm",void 0);x("picker.api.ImageSearchView.License.NONE","*",void 0);x("picker.api.ImageSearchView.License.REUSE","r",void 0);
x("picker.api.ImageSearchView.License.REUSE_WITH_MODIFICATION","rwm",void 0);x("picker.api.ImageSearchView.Size",{PUa:"qsvga",RUa:"vga",QUa:"svga",UUa:"xga",SUa:"wxga",TUa:"wxga2",IUa:"2mp",KUa:"4mp",LUa:"6mp",NUa:"8mp",DUa:"10mp",EUa:"12mp",GUa:"15mp",HUa:"20mp",JUa:"40mp",MUa:"70mp",FUa:"140mp"},void 0);x("picker.api.ImageSearchView.Size.SIZE_10MP","10mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_12MP","12mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_140MP","140mp",void 0);
x("picker.api.ImageSearchView.Size.SIZE_15MP","15mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_20MP","20mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_2MP","2mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_40MP","40mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_4MP","4mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_6MP","6mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_70MP","70mp",void 0);x("picker.api.ImageSearchView.Size.SIZE_8MP","8mp",void 0);
x("picker.api.ImageSearchView.Size.SIZE_QSVGA","qsvga",void 0);x("picker.api.ImageSearchView.Size.SIZE_SVGA","svga",void 0);x("picker.api.ImageSearchView.Size.SIZE_VGA","vga",void 0);x("picker.api.ImageSearchView.Size.SIZE_WXGA","wxga",void 0);x("picker.api.ImageSearchView.Size.SIZE_WXGA2","wxga2",void 0);x("picker.api.ImageSearchView.Size.SIZE_XGA","xga",void 0);CK.prototype.setLicense=CK.prototype.JIa;CK.prototype.setSite=CK.prototype.pr;CK.prototype.setSize=CK.prototype.Ub;
CK.prototype.setSafeSearch=CK.prototype.jA;x("picker.api.MapsView",JK,void 0);JK.prototype.setCenter=JK.prototype.EHa;JK.prototype.setZoom=JK.prototype.uKa;x("picker.api.PhotoAlbumsView",DK,void 0);x("picker.api.PhotosView",EK,void 0);x(zm,FK,void 0);x("picker.api.PhotosView.Type.FEATURED",Eh,void 0);x("picker.api.PhotosView.Type.GETTY",hi,void 0);x("picker.api.PhotosView.Type.UPLOADED",Wp,void 0);sK.prototype.setParent=EK.prototype.Va;EK.prototype.setType=EK.prototype.dg;
x("picker.api.ResourceId.generate",function(a){return a?[a.mimeType==$e?"pdf":GK[a.serviceId]||Fh,":",a.id].join(""):null},void 0);x("picker.api.Response",{rOa:Le,FQa:"extraUserInputs",qha:Wg,YSa:"parents",sX:"view",iWa:uq},void 0);x("picker.api.Response.ACTION",Le,void 0);x("picker.api.Response.DOCUMENTS",Wg,void 0);x("picker.api.Response.PARENTS","parents",void 0);x("picker.api.Response.VIEW",uq,void 0);
x("picker.api.ServiceId",{cha:Pf,VOa:"books",eha:Wf,jha:xg,gRa:"gready",EPa:"cportal",KPa:Eg,pha:Wg,ZPa:Kl,bQa:"dragonflyphotos",eQa:"drive",kQa:eh,JQa:"feag",zha:Sh,CQa:"et",$Qa:"geodiscussion",Fha:Yi,Vha:yk,$Ra:"mapspro",eSa:"media",$Sa:"party",iia:Rl,mTa:"places",lia:Bm,LTa:"relatedcontent",hVa:"static_themes",kVa:"stories",dja:Kq,kWa:Aq,PJ:Jl,dUa:nn,URL:dq,qia:"recent",CPa:"cosmo",UPa:"DoclistBlob",DW:"doc",cQa:"drawing",FORM:"form",WQa:Wh,GRa:"kix",nia:"pres",yTa:Pm,VTa:"ritz",bVa:"spread"},
void 0);x("picker.api.ServiceId.DOCS",Wg,void 0);x("picker.api.ServiceId.MAPS",yk,void 0);x("picker.api.ServiceId.PHOTOS",Rl,void 0);x("picker.api.ServiceId.SEARCH_API",nn,void 0);x("picker.api.ServiceId.URL",dq,void 0);x("picker.api.ServiceId.YOUTUBE",Kq,void 0);x("picker.api.Thumbnail",{MW:dj,URL:dq,vX:Eq,TYPE:Ip},void 0);x("picker.api.Thumbnail.HEIGHT",dj,void 0);x("picker.api.Thumbnail.WIDTH",Eq,void 0);x("picker.api.Thumbnail.URL",dq,void 0);
x("picker.api.Type",{vOa:Re,AOa:"android-app",EOa:"attachment",QOa:"blogger-template",UOa:"book",eha:Wf,hPa:"chrome-app",wW:kg,rPa:"contact",DW:$g,zQa:"event",xha:"et",GQa:"faces",LQa:Fh,yha:"folder",FONT:"font",Eha:"group",LOCATION:"location",ZRa:"map",Xha:Ck,dTa:"person",eTa:Kl,URL:dq,VIDEO:mq},void 0);x("picker.api.Type.ALBUM",Re,void 0);x("picker.api.Type.DOCUMENT",$g,void 0);x("picker.api.Type.LOCATION","location",void 0);x("picker.api.Type.PHOTO",Kl,void 0);x("picker.api.Type.URL",dq,void 0);
x("picker.api.Type.VIDEO",mq,void 0);x("picker.api.VideoSearchView",IK,void 0);x("picker.api.VideoSearchView.YOUTUBE",Mq,void 0);IK.prototype.setSite=IK.prototype.pr;IK.prototype.setSafeSearch=IK.prototype.jA;x("picker.api.View",sK,void 0);sK.prototype.getId=sK.prototype.getId;sK.prototype.setLabel=sK.prototype.Hb;sK.prototype.setMimeTypes=sK.prototype.Ib;sK.prototype.setQuery=sK.prototype.setQuery;sK.prototype.getQuery=sK.prototype.getQuery;sK.prototype.getLabel=sK.prototype.gl;
x("picker.api.ViewGroup",MK,void 0);MK.prototype.addLabel=MK.prototype.nm;MK.prototype.addView=MK.prototype.Hc;MK.prototype.addViewGroup=MK.prototype.Ak;MK.prototype.setCollapsible=MK.prototype.MHa;x("picker.api.ViewId.DOCS",Se,void 0);x("picker.api.ViewId.DOCS_IMAGES",Xg,void 0);x("picker.api.ViewId.DOCS_IMAGES_AND_VIDEOS",Yg,void 0);x("picker.api.ViewId.DOCS_VIDEOS",Zg,void 0);x("picker.api.ViewId.DOCUMENTS",ah,void 0);x("picker.api.ViewId.DRAWINGS",dh,void 0);x("picker.api.ViewId.FOLDERS",Qh,void 0);
x("picker.api.ViewId.FORMS",Uh,void 0);x("picker.api.ViewId.IMAGE_SEARCH",wj,void 0);x("picker.api.ViewId.MAPS",yk,void 0);x("picker.api.ViewId.PDFS",Il,void 0);x("picker.api.ViewId.PHOTO_ALBUMS",Ll,void 0);x("picker.api.ViewId.PHOTOS",Ql,void 0);x("picker.api.ViewId.PHOTO_UPLOAD",Pl,void 0);x("picker.api.ViewId.PRESENTATIONS",Gm,void 0);x("picker.api.ViewId.RECENTLY_PICKED",Vm,void 0);x("picker.api.ViewId.SPREADSHEETS",zo,void 0);x("picker.api.ViewId.VIDEO_SEARCH",oq,void 0);
x("picker.api.ViewId.WEBCAM",Bq,void 0);x("picker.api.ViewId.YOUTUBE",Kq,void 0);x("picker.api.ViewToken",{gWa:0,Tha:1,hWa:2},void 0);x("picker.api.ViewToken.LABEL",1,void 0);x("picker.api.ViewToken.VIEW_ID",0,void 0);x("picker.api.ViewToken.VIEW_OPTIONS",2,void 0);x("picker.api.WebCamView",NK,void 0);x("picker.api.WebCamViewType.STANDARD",Ao,void 0);var OK=function(a,b,c){HA.call(this,a,b,c)};C(OK,HA);var PK=Xv(Av(Bv("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick"))),QK=Xv(Av(Bv("//apis.google.com/js/rpc.js"))),SK=function(a,b){if(!RK(b)){var c=b||N(document),e=c.createElement(gn);e.src=Wv(a);e.type=Zo;c.J().body.appendChild(e)}},RK=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},TK=null,UK=function(a,b){var c=b&&b.getWindow()||window;if(RK(b))a();else if(TK)TK.push(a);else var e=TK=[a],f=c.setInterval(function(){if(RK(b)){c.clearInterval(f);
for(var a=0;a<e.length;a++)e[a]();TK=null}},100)};var VK=function(a,b){M.call(this);this.G=a;var c=gx(this.G)?this.G:this.G?this.G.body:null;this.a8=!!c&&Xy(c);this.L8=K(this.G,H?"DOMMouseScroll":Pk,this,b)};C(VK,M);
VK.prototype.handleEvent=function(a){var b=0,c=0,e=a.Vc;e.type==Pk?(a=WK(-e.wheelDelta,40),w(e.wheelDeltaX)?(b=WK(-e.wheelDeltaX,40),c=WK(-e.wheelDeltaY,40)):c=a):(a=e.detail,100<a?a=3:-100>a&&(a=-3),w(e.axis)&&e.axis===e.HORIZONTAL_AXIS?b=a:c=a);Vq(this.h9)&&(b=Math.min(Math.max(b,-this.h9),this.h9));Vq(this.i9)&&(c=Math.min(Math.max(c,-this.i9),this.i9));this.a8&&(b=-b);b=new XK(a,e,b,c);this.dispatchEvent(b)};var WK=function(a,b){return Yt&&($t||bu)&&0!=a%b?a:a/b};
VK.prototype.B=function(){VK.g.B.call(this);Pu(this.L8);this.L8=null};var XK=function(a,b,c,e){vu.call(this,b);this.type=Pk;this.detail=a;this.deltaX=c;this.deltaY=e};C(XK,vu);var YK=function(a){for(;a;){if(1==a.nodeType){var b=yy(a,"overflowY");if(b==yf||b==jn)return a}a=a.parentNode}return null};var $K=function(a,b){var c=new VK(a);b.wa(c);b.o(c,Pk,A(ZK,void 0,a)).o(a,jn,A(ZK,void 0,a))},ZK=function(a,b){var c=YK(b.target);if(!c||!hx(a,c)||c.scrollHeight==c.clientHeight||0<b.deltaY&&1>=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)b.preventDefault(),b.stopPropagation()};var aL,bL=function(a,b){var c=Jw(a),e=c.width-80,c=c.height-40;b&&(e-=b.left?b.left:0,e-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);return new uw(0<e?e:0,0<c?c:0)},cL=function(a,b,c){var e;b?(b=Math.max(320,Math.min(1051,b)),c||(c=Jw(a),c=.85*c.height),e=Math.max(320,Math.min(650,c))):(c=Jw(a),b=.618*c.width,e=b<c.height?Math.round(Math.max(320,Math.min(650,.85*b))):Math.round(Math.max(320,Math.min(650,.85*c.height))),b=Math.round(e/.618));c=Jw(a);b=Math.min(b,Math.max(c.width,320));
e=Math.min(e,Math.max(c.height,320));return new uw(b,e)};var dL=function(a,b,c,e,f,g){HA.call(this,g?g+" "+this.tc:this.tc,!0,c);mD(a,Nm);this.fg=Qr();this.hj=Qr();this.bm(a);this.VDa=e;this.UDa=f;w(void 0)?c=void 0:w(e)||w(f)?c=!0:(c=xD(a).yc(jj),aL||(aL=new oC(["DocVerse","fusiontables","geo","geowiki","gm","gmail-gadget","gws","hotpot","jointly",Gm,"pwa",Wn,"templates","trix","trix-copy-sheet","webstore"])),c=!aL.contains(c));this.Wka=c;b&&(xD(a).yc(jj),b=this.v(),c=this.fW(),SK(c?QK:PK,b));this.NT(a);this.yca(!1);this.co(null)};C(dL,OK);t=dL.prototype;
t.tc=Ul;t.ib="";t.Aa=null;t.$p=!1;t.$y=!1;t.Xd=Pq;t.H=function(){dL.g.H.call(this);$K(this.Tm(),this.C())};t.ha=function(a){dL.g.ha.call(this,a);this.ena();U(this.b(),"picker-dialog");this.Aa.src=this.ib;this.Yk(A(function(a){a.setAuthToken(this.fg,this.hj)},this));(a=xD(this.ib).yc(cp))&&this.Xc(a)};t.ena=function(){this.Aa=this.M.j(tj,{id:this.fg,name:this.fg,"class":"picker-frame",src:this.rx(),onload:A(this.KO,this),frameBorder:"0"});this.U().appendChild(this.Aa)};
t.rx=function(){return G&&I("7")&&ir(this.ib,mj)?oj:xA};t.KO=function(){this.Aa.src!=this.rx()&&(this.$p=!0,this.C().Ja(this.v().getWindow(),Xj,this.vt),xx(this.Aa,!0),this.V()&&this.focus())};t.vt=function(a){27==a.keyCode&&(this.K(!1),this.Xd({action:Zf}),a.stopPropagation(),a.preventDefault())};t.Yk=function(a){var b=this.v();UK(function(){a(b.getWindow().gadgets.rpc)},b)};
t.bm=function(a){a=(new oD(a)).ia("rpctoken",this.hj).ia("rpcService",this.fg);a.ho(mj);this.ib=a.toString();this.Aa&&(this.Aa.src=this.ib)};t.Vu=function(a){this.pm=a;this.$y&&this.bA()};t.dr=function(a){this.Xd=a;this.Yk(A(function(a){a.register(this.fg,A(this.RO,this))},this))};t.RO=function(a){var b=a.action;b==rk&&(this.$y=!0,this.me(new vK(this.V())),this.bA(),this.Ica(!1));b!=Sl&&b!=Zf||this.K(!1);this.Xd(a)};t.Dt=function(a){return xD(this.ib).yc(a)==r};
t.bA=function(){this.pm&&this.me(new mK(this.pm,window.location.protocol+"//"+window.location.host))};t.setRelayUrl=function(a){this.Yk(A(function(b){b.setRelayUrl(this.fg,a)},this))};t.NT=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):jr(a,Gb)&&(b=a);b&&this.setRelayUrl(b+Hb)};t.me=function(a){this.Yk(A(function(b){b.call(this.fg,Tl,null,a)},this))};
t.ZS=function(){var a=this.v().J(),a=Mw(a)||window;if(this.Dt(Kn))var b=gz(this.Vm()),a=bL(a,b);else a=cL(a,this.VDa,this.UDa);Ry(this.U(),a);this.oa()};t.oa=function(){if(this.Dt(Kn)){var a=Sy(this.b()),b=Jw(this.v().getWindow()),a=Math.floor(b.width/2-a.width/2);if(b=gz(this.Vm())){var c;c=0+(b.left?b.left:0);c+=b.right?b.right:0;a=Math.floor(a-c/2)}a=0<a?a:0;b=this.v().Kj().y;By(this.b(),a,b)}else dL.g.oa.call(this)};
t.K=function(a){if(a!=this.V()&&this.Wka){var b=this.v().getWindow();a?(this.ZS(),this.C().o(b,$m,this.ZS),this.$p||this.C().o(b,Xj,this.vt)):(this.C().Ja(b,$m,this.ZS),this.$p||this.C().Ja(b,Xj,this.vt))}dL.g.K.call(this,a);this.me(new vK(a))};t.focus=function(){dL.g.focus.call(this);if(this.Aa&&this.$p)try{this.Aa.focus()}catch(a){}};t.fW=function(){return xD(this.ib).yc("grugl")==r};var eL=function(a){this.lBa=a.metadata;this.ne=a.serviceId;this.ib=a.url};eL.prototype.getMetadata=function(){return this.lBa};eL.prototype.getUrl=function(){return this.ib};var fL=function(a){this.Yr=a||"https://docs.google.com/picker";this.Ju()};t=fL.prototype;t.vh=null;t.ma=null;t.nm=function(a){this.vh.nm(a);return this};t.Hc=function(a){this.vh.Hc(a);return this};t.Ak=function(a){this.vh.Ak(a);return this};t.v=function(){return this.ma};t.Mj=function(){return this.vh.UD()};t.cta=function(){return this.vh.FV()};t.nE=function(a){return this.vh.nE(a)};t.wy=function(a){return this.vh.wy(a)};t.Ht=function(){return this.Xc("")};t.Ju=function(){this.vh=new MK;return this};
t.Vu=function(a){this.pm=a;return this};t.dr=function(a){this.Xd=a;return this};t.vca=function(a){this.ma=new Bw(a);return this};t.QT=function(a){this.ma=a;return this};var gL=function(a){fL.call(this,a)};C(gL,fL);var hL=function(a){BA.call(this,a)};C(hL,BA);hL.prototype.j=function(){var a=this.v(),b=a.j(n);this.Ab(b);var c=a.j(n,"picker-min-arrow-inner"),e=a.j(n,"picker-min-arrow-border");a.appendChild(b,c);a.appendChild(b,e)};hL.prototype.gga=function(a,b){var c=this.b();R(c,jk,"");R(c,an,"");oA(a,dm);oA(a,cm);b=Uz(a,b);b&1?(c.className="picker-min-arrow-down",U(a,cm)):(c.className="picker-min-arrow-up",U(a,dm))};
hL.prototype.update=function(a,b,c){this.ba&&(c||(c=new ry(0,0,0,0)),this.gga(a,b),a=this.b(),b&4?R(a,an,-c.right+q):R(a,jk,-c.left+q))};hL.prototype.BZ=function(a,b,c){if(this.ba){this.gga(b,c);c=this.b();var e=Py(a,b),f=$y(c).width,e=e.x+$y(a).width/2-f/2,e=Math.max(0,e),g=$y(b).width;g-f&&(f=g-f,e>f&&(e=f,b.getBoundingClientRect().left+f/2>a.getBoundingClientRect().left&&(e=Math.min(e,f/2))));R(c,jk,e+q)}};var iL=function(a,b){PB.call(this,a);xx(a,!0);aA(a,Ng);this.ma=b||N();this.kq=!1;this.Sd=this.ma.createElement(vo);xx(this.Sd,!0);this.Sd.style.position=Ke;T(this.Sd,ej,!0);this.Jo=!1};C(iL,PB);t=iL.prototype;t.Ni=null;t.v=function(){return this.ma};t.vKa=function(){this.Jo=!0;this.focus(this.Sd);Xu(this.Fz,0,this)};t.Fz=function(){this.Jo=!1};t.q$=function(){Yw(this.Sd,this.b());this.Ni=new yA(this.v().J());this.C().o(this.Ni,Oh,this.oCa).o(this.b(),Xj,this.UR)};t.d$=function(){Rt(this.Ni);Zw(this.Sd)};
t.UR=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.vKa()};t.oCa=function(a){this.Jo?this.Fz():a.target==this.Sd&&Xu(A(this.focus,this,this.b()),0)};t.focus=function(a){try{a&&a.focus()}catch(b){}};
t.fY=function(){this.oa();if(this.kq){var a=this.getPosition();if(a instanceof WA&&Wq(this.b().getBoundingClientRect)){var b=this.Kq,c=this.v().Zx().height,e=this.v().Zx().width,f=null,g=a.Ro,h=this.$Na?this.$Na.getBoundingClientRect():void 0,k=h?h.top:0,c=h?Math.min(h.bottom,c):c,e=h?Math.min(h.right,e):e,h=h?h.left:0,m=a.element.getBoundingClientRect(),p=this.b().getBoundingClientRect();if(!this.U7(g)&&p.top<k||this.U7(g)&&p.bottom>c&&m.top>k+(p.bottom-p.top))g^=1,f=new WA(a.element,g),b^=1;if(!this.V7(g)&&
p.left<h||this.V7(g)&&p.right>e&&m.right>h+(p.right-p.left))f=new WA(a.element,g^4),b^=4;f&&(this.setPosition(f),this.gda(b),this.oa())}}};t.U7=function(a){return!!(a&1)};t.V7=function(a){return!(a&4)};t.oa=function(){iL.g.oa.call(this);var a=this.getPosition();a&&a.oa(this.Sd,this.Kq,this.Mx())};var jL=function(a,b,c,e,f,g){var h=c||N(),k=h.j(n,"picker-iframe picker-min goog-menu"),m=new oD(a),p=m.yc("minew")==r;p&&U(k,em);U(k,vm);h.appendChild(h.J().body,k);iL.call(this,k,h);this.kq=p;this.V()?this.UU():this.NE();this.M=h;this.fg=Qr();this.hj=Qr();this.bm(a);this.XDa=e||248;this.WDa=f||p?311:300;this.Sw=!!g;b&&(xD(a).yc(jj),b=this.v(),SK(PK,b));this.NT(a);this.Jca(!1);this.Xu(!1);m.yc("hl");this.Ik=new hL(c);this.wa(this.Ik);this.Ik.ha(k)};C(jL,iL);t=jL.prototype;t.ib="";t.Aa=null;
t.rZ=!1;t.$p=!1;t.$y=!1;t.Xd=Pq;t.Sk=function(){if(!this.Aa){this.C().o(this.v().getWindow(),Xj,this.vt);this.Aa=this.M.j(tj,{id:this.fg,name:this.fg,"class":"picker-frame",src:this.rx(),onload:A(this.KO,this),frameBorder:"0"});this.b().appendChild(this.Aa);aA(this.Aa,Ng);var a=xD(this.ib).yc(cp);a&&jA(this.Aa,a);U(this.b(),"picker-min-popup");Ry(this.Aa,this.XDa,this.WDa);this.Aa.src=this.ib;this.Yk(A(function(a){a.setAuthToken(this.fg,this.hj)},this))}};
t.oa=function(){if(this.Aa){jL.g.oa.call(this);var a=this.getPosition(),b=this.Kq;a instanceof WA?this.Ik.BZ(a.element,this.b(),b):this.Ik.update(this.b(),b,this.Mx());Uz(this.b(),b)&1?this.Aa.className="picker-min-frame-down":this.Aa.className="picker-min-frame-up"}};t.rx=function(){return G&&I("7")&&ir(this.ib,mj)?oj:xA};t.KO=function(){this.Aa.src!=this.rx()&&(this.$p=!0,this.C().Ja(this.v().getWindow(),Xj,this.vt),xx(this.Aa,!0),this.V()&&Xu(A(this.focus,this,this.Aa),0))};
t.vt=function(a){27==a.keyCode&&(this.nC(),a.stopPropagation(),a.preventDefault())};t.Yk=function(a){var b=this.v();UK(function(){a(b.getWindow().gadgets.rpc)},b)};t.bm=function(a){a=(new oD(a)).ia("rpctoken",this.hj).ia("rpcService",this.fg);a.ho(mj);this.ib=a.toString();this.Aa&&(this.Aa.src=this.ib)};t.Vu=function(a){this.pm=a;this.$y&&this.bA()};t.dr=function(a){this.Xd=a;this.Yk(A(function(a){a.register(this.fg,A(this.RO,this))},this))};
t.RO=function(a){switch(a.action){case vq:case sq:this.oa();return;case ph:a=a.extraUserInputs;qA(this.b(),vm,a&&a.ewc);return;case rk:this.$y=!0;this.me(new vK(this.V()));this.bA();break;case "blurred":this.b()!=this.v().J().activeElement&&this.V()&&(this.K(!1),this.Xd({action:Zf}));return;case Sl:case Zf:this.K(!1)}this.Xd(a)};t.bA=function(){this.pm&&this.me(new mK(this.pm,window.location.protocol+"//"+window.location.host))};
t.setRelayUrl=function(a){this.Yk(A(function(b){b.setRelayUrl(this.fg,a)},this))};t.NT=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):jr(a,Gb)&&(b=a);b&&this.setRelayUrl(b+Hb)};t.me=function(a){a.action==Xm?(this.Aa&&!this.V()&&(this.b().removeChild(this.Aa),this.Aa=null),this.Sk()):this.Yk(A(function(b){b.call(this.fg,Tl,null,a)},this))};
t.ke=function(){jL.g.ke.call(this);this.q$();this.Sk();if(!this.Sw){var a=this.v().J();this.C().o(a,Kk,this.b5,!0);if(G){var b;try{b=a.activeElement}catch(e){}for(;b&&b.nodeName==od;){try{var c=mx(b)}catch(e){break}a=c;b=a.activeElement}this.C().o(a,Kk,this.b5,!0)}}this.me(new vK(!0));Vz(new sw(0,0),this.b(),0,this.Mx());this.fY();this.$p?this.focus(this.Aa):this.focus(this.b())};t.ci=function(a){jL.g.ci.call(this,a);this.d$();this.me(new vK(!1))};
t.b5=function(a){a=a.target;hx(this.b(),a)||this.T7(a)||!this.m8(a)||this.PU()||this.nC()};t.nC=function(){this.V()&&(this.K(!1),this.Xd({action:Zf}))};t.B=function(){this.rZ?(Zw(this.b()),jL.g.B.call(this)):Xu(function(){this.rZ=!0;this.B()},0,this)};var X=function(a){fL.call(this,a);this.rb=new oD(this.Yr);this.or(di);(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.hv(a);this.Xf=[];this.Xja=""};C(X,gL);t=X.prototype;t.UQ=!0;t.Mf=!1;t.$v=function(a,b){this.Xf.push([a,b||{}]);return this};t.mw=function(){this.getRelayUrl()||this.setRelayUrl(xD(window.location.href).mi(void 0).$u("").Ie("/favicon.ico").toString())};
t.Gk=function(){this.mw();if(this.rb.yc(Ik))throw Error(fq);var a=new dL(this.tk().toString(),this.UQ,this.v(),this.fM,this.cM,this.Xja);a.Zu(this.Mf);a.Vu(this.pm);a.dr(this.Xd);return a};t.OK=function(){this.Hi(Ik);this.mw();var a=new jL(this.tk().toString(),this.UQ,this.v(),this.fM,this.cM,this.Sw);a.Vu(this.pm);a.dr(this.Xd);return a};t.iM=function(a){this.Sw=a;return this};t.zs=function(a){this.rb.gk(a);return this};t.Hi=function(a){this.rb.ia(a,r);return this};t.MN=function(){return this.Mf};
t.Be=function(){return this.cM};t.Px=function(){return this.rb.yc(Nm)};t.getRelayUrl=function(){return this.rb.yc("relayUrl")};t.Gp=function(){return this.rb.yc(rn)};t.Ue=function(){return this.rb.yc(cp)};t.Rf=function(){return this.fM};t.XP=function(a){return this.rb.yc(a)==r};t.SHa=function(a){this.rb.ia("developerKey",a);return this};t.Wu=function(a){this.rb.ia(xf,a);return this};t.dI=function(a){this.rb.ia("cropMode",a);return this};t.Zu=function(a){this.Mf=a;return this};
t.fI=function(a){this.rb.ia("maxSizeBytes",a);return this};t.Uca=function(a){this.rb.ia("maxSizeBytesPerItem",a);return this};t.gA=function(a){this.rb.ia("maxItems",a);return this};t.Vca=function(a){this.rb.ia("maxVD",a);return this};t.Hca=function(a){this.rb.ia("groupId",a);return this};t.$l=function(a){this.rb.ia(jj,a);return this};t.hv=function(a){a&&this.rb.ia("origin",a);return this};t.jr=function(a){a instanceof sK?this.rb.ia("view",a.toString()):this.rb.ia("view",a);return this};
t.Sca=function(a){this.rb.ia("learnMore",a);return this};t.KIa=function(a){this.UQ=a;return this};t.dv=function(a){this.rb.ia("hl",a);return this};t.oU=function(a){this.rb.ia("oauth_token",a);return this};t.or=function(a){this.rb.ia(Nm,a);return this};t.setRelayUrl=function(a){this.rb.ia("relayUrl",a);return this};t.iv=function(a){this.rb.ia(rn,a);return this};t.pda=function(a){this.rb.ia("selectableMimeTypes",a);return this};t.Ub=function(a,b){this.fM=a;this.cM=b;return this};
t.jv=function(a){this.rb.ia("thumbs",a);return this};t.jo=function(a){this.rb.ia("uploadToAlbumId",a);return this};t.Xc=function(a){this.rb.ia(cp,a);return this};t.HU=function(a){this.rb.ia("ui",a);return this};t.zI=function(a){this.rb.ia("srum",a);return this};t.tk=function(){this.Xf.length&&this.rb.ia("pp",RD(this.Xf));return this.rb.ia("nav",this.Mj()).clone()};x("picker.api.Picker",dL,void 0);dL.prototype.isVisible=HA.prototype.V;dL.prototype.setAppId=dL.prototype.Vu;dL.prototype.setCallback=dL.prototype.dr;dL.prototype.setRelayUrl=dL.prototype.setRelayUrl;dL.prototype.setVisible=dL.prototype.K;dL.prototype.dispose=dL.prototype.dispose;x("picker.api.PickerBuilder",X,void 0);X.prototype.addView=X.prototype.Hc;X.prototype.addViewGroup=X.prototype.Ak;X.prototype.build=X.prototype.Gk;X.prototype.disableFeature=X.prototype.zs;X.prototype.enableFeature=X.prototype.Hi;
X.prototype.getRelayUrl=X.prototype.getRelayUrl;X.prototype.getTitle=X.prototype.Ue;X.prototype.hideTitleBar=X.prototype.Ht;X.prototype.isFeatureEnabled=X.prototype.XP;X.prototype.setAppId=X.prototype.Vu;X.prototype.setAuthUser=X.prototype.Wu;X.prototype.setCallback=X.prototype.dr;X.prototype.setDeveloperKey=X.prototype.SHa;X.prototype.setDocument=X.prototype.vca;X.prototype.setInitialView=X.prototype.jr;X.prototype.setLocale=X.prototype.dv;X.prototype.setMaxItems=X.prototype.gA;
X.prototype.setOAuthToken=X.prototype.oU;X.prototype.setOrigin=X.prototype.hv;X.prototype.setRelayUrl=X.prototype.setRelayUrl;X.prototype.setSelectableMimeTypes=X.prototype.pda;X.prototype.setSize=X.prototype.Ub;X.prototype.setTitle=X.prototype.Xc;X.prototype.setUploadToAlbumId=X.prototype.jo;X.prototype.toUri=X.prototype.tk;var kL=function(){sK.call(this,xg)};C(kL,sK);kL.prototype.setQuery=function(a){kL.g.setQuery.call(this,a);return this};kL.prototype.AJa=function(){this.ca.scgh=!0;return this};var lL=function(){sK.call(this,Jl)};C(lL,sK);t=lL.prototype;t.dg=function(a){this.ca.type=a;return this};t.Bca=function(a){this.ca.peopleFilter=a?a.Dn:void 0;return this};t.aJa=function(a){this.ca.noEmailInput=a;return this};t.Hb=function(a){lL.g.Hb.call(this,a);return this};t.setQuery=function(a){lL.g.setQuery.call(this,a);return this};t.Ib=function(a){lL.g.Ib.call(this,a);return this};t.kc=function(a){lL.g.kc.call(this,a);return this};t.cc=function(a,b){lL.g.cc.call(this,a,b);return this};
t.Va=function(a){lL.g.Va.call(this,a);return this};t.oc=function(a){lL.g.oc.call(this,a);return this};var mL=function(a){this.Dn=a};mL.prototype.Cja=function(a){this.Dn|=a;return this};mL.prototype.hFa=function(a){this.Dn&=~a;return this};mL.prototype.Usa=function(){return this.Dn};mL.prototype.Qxa=function(a){return 1023==a&&this.Dn!=a?!1:!!(this.Dn&a)};var nL=function(){sK.call(this,Pl)};C(nL,sK);t=nL.prototype;t.Hb=function(a){nL.g.Hb.call(this,a);return this};t.setQuery=function(a){nL.g.setQuery.call(this,a);return this};t.Ib=function(a){nL.g.Ib.call(this,a);return this};t.kc=function(a){nL.g.kc.call(this,a);return this};t.cc=function(a,b){nL.g.cc.call(this,a,b);return this};t.Va=function(a){nL.g.Va.call(this,a);return this};t.oc=function(a){nL.g.oc.call(this,a);return this};var Y=function(a){X.call(this,a)};C(Y,X);t=Y.prototype;t.nm=function(a){return Y.g.nm.call(this,a)};t.Hc=function(a){return Y.g.Hc.call(this,a)};t.Ak=function(a){return Y.g.Ak.call(this,a)};t.zs=function(a){return Y.g.zs.call(this,a)};t.Hi=function(a){return Y.g.Hi.call(this,a)};t.Ht=function(){return Y.g.Ht.call(this)};t.Ju=function(){return Y.g.Ju.call(this)};t.Wu=function(a){return Y.g.Wu.call(this,a)};t.dI=function(a){return Y.g.dI.call(this,a)};t.dv=function(a){return Y.g.dv.call(this,a)};
t.$l=function(a){return Y.g.$l.call(this,a)};t.jr=function(a){return Y.g.jr.call(this,a)};t.oU=function(a){return Y.g.oU.call(this,a)};t.or=function(a){return Y.g.or.call(this,a)};t.setRelayUrl=function(a){return Y.g.setRelayUrl.call(this,a)};t.iv=function(a){return Y.g.iv.call(this,a)};t.jv=function(a){return Y.g.jv.call(this,a)};t.Xc=function(a){return Y.g.Xc.call(this,a)};t.jo=function(a){return Y.g.jo.call(this,a)};t.toString=function(){return this.tk().toString()};x("picker.api.Action.LOADED",rk,void 0);x("picker.api.Action.UPLOAD_PROGRESS",Tp,void 0);x("picker.api.Action.UPLOAD_SCHEDULED",Up,void 0);x("picker.api.Action.UPLOAD_STATE_CHANGE",Vp,void 0);x("picker.api.Document.CONTENT_ID",zg,void 0);x("picker.api.Feature.FORMS_ENABLED",Vh,void 0);x("picker.api.Feature.PROFILE_PHOTO",Jm,void 0);x("picker.api.Feature.URL_INPUT_VISIBLE",eq,void 0);x("picker.api.Feature.WHITE_STYLE",Dq,void 0);x("picker.api.Feature.MINIMAL_MODE",Ik,void 0);
x("picker.api.ContactsView",kL,void 0);kL.prototype.setSaveContactsGroupHiddenOption=kL.prototype.AJa;x("picker.api.ImageSearchView.Type",{Cha:hi,cRa:"gis",xVa:"life"},void 0);x("picker.api.ImageSearchView.Type.TIME_LIFE","life",void 0);CK.prototype.setType=CK.prototype.dg;x("picker.api.PeopleView",lL,void 0);lL.prototype.setType=lL.prototype.dg;lL.prototype.setNoEmailInput=lL.prototype.aJa;x(wm,AK,void 0);AK.prototype.setSortKey=AK.prototype.UJa;AK.prototype.setCreateFolderEnabled=AK.prototype.PHa;
AK.prototype.setMaxCollectionsToPrefetch=AK.prototype.OIa;AK.prototype.setOtherParents=AK.prototype.gJa;AK.prototype.setItems=AK.prototype.HIa;AK.prototype.setMoveButtonLabel=AK.prototype.YIa;AK.prototype.setAddItemEnabled=AK.prototype.iHa;AK.prototype.setAddItemLabel=AK.prototype.jHa;AK.prototype.setOpenUrlShown=AK.prototype.fJa;AK.prototype.disableReadOnlyItemSelection=AK.prototype.Boa;AK.prototype.disableRestrictedDownloadItemSelection=AK.prototype.Coa;
AK.prototype.setRestrictedDownloadErrorMessage=AK.prototype.yJa;AK.prototype.setChildView=AK.prototype.IHa;AK.prototype.setSelectButtonLabelOnItemSelected=AK.prototype.nda;AK.prototype.setSelectButtonLabelOnViewSelected=AK.prototype.nda;x("picker.api.DocsSortKey",{vRa:1,NRa:2,sSa:3,MTa:5,gVa:6,pB:7,TQa:8,wUa:9,TVa:10,ATa:11,yha:12,GPa:13,UVa:14,qia:15,ITa:16,HTa:17,GTa:18},void 0);x("picker.api.DocsSortKey.IMPORTANCE",1,void 0);x("picker.api.DocsSortKey.LAST_VIEWED_DATE",2,void 0);
x("picker.api.DocsSortKey.MODIFICATION_DATE",3,void 0);x("picker.api.DocsSortKey.RELEVANCE",5,void 0);x("picker.api.DocsSortKey.STARRED",6,void 0);x("picker.api.DocsSortKey.TITLE",7,void 0);x("picker.api.DocsSortKey.FOLDER_TITLE",8,void 0);x("picker.api.DocsSortKey.SHARE_DATE",9,void 0);x("picker.api.DocsSortKey.USER_MODIFICATION_DATE",10,void 0);x("picker.api.DocsSortKey.QUOTA_BYTES_USED",11,void 0);x("picker.api.PeopleViewType",{ALL:Se,iPa:lg,XQa:"frequent",aRa:ji,PJ:Jl,SELECTED:sn},void 0);
x("picker.api.PeopleViewType.ALL",Se,void 0);x("picker.api.PeopleViewType.CIRCLES",lg,void 0);x("picker.api.PeopleViewType.GMAIL",ji,void 0);x("picker.api.PeopleViewType.PEOPLE",Jl,void 0);x("picker.api.PeopleViewType.SELECTED",sn,void 0);x("picker.api.SafeSearch.OFF","off",void 0);x("picker.api.SafeSearch.STRICT",Ne,void 0);x("picker.api.SafeSearch.MODERATE","moderate",void 0);x("picker.api.PeopleViewFilter",mL,void 0);x("picker.api.PeopleViewFilter.Group",{ALL:1023,NONE:0,dRa:1,KSa:2,oTa:4},void 0);
x("picker.api.PeopleViewFilter.Group.ALL",1023,void 0);x("picker.api.PeopleViewFilter.Group.NONE",0,void 0);x("picker.api.PeopleViewFilter.Group.GOOGLE_PLUS_USERS",1,void 0);x("picker.api.PeopleViewFilter.Group.NON_GOOGLE_PLUS_USERS",2,void 0);x("picker.api.PeopleViewFilter.Group.PLUS_PAGES",4,void 0);mL.prototype.addGroup=mL.prototype.Cja;mL.prototype.removeGroup=mL.prototype.hFa;mL.prototype.getMask=mL.prototype.Usa;mL.prototype.hasGroup=mL.prototype.Qxa;
x("picker.api.PhotosView.UploadPosition",{NQa:"first",JRa:"last"},void 0);x("picker.api.PhotosView.UploadPosition.FIRST","first",void 0);x("picker.api.PhotosView.UploadPosition.LAST","last",void 0);EK.prototype.setParent=EK.prototype.Va;EK.prototype.setType=EK.prototype.dg;EK.prototype.setUploadEnabled=EK.prototype.Dda;EK.prototype.setUploadPosition=EK.prototype.lKa;x(zm,FK,void 0);x("picker.api.PhotosView.Type.FLAT","flat",void 0);x("picker.api.PickerAction",wK,void 0);
x("picker.api.PickerAction.CANCEL",Zf,void 0);x("picker.api.PickerAction.LOADED",rk,void 0);x("picker.api.PickerAction.PICKED",Sl,void 0);x("picker.api.PickerAction.UPLOAD_PROGRESS",Tp,void 0);x("picker.api.PickerAction.UPLOAD_SCHEDULED",Up,void 0);x("picker.api.PickerAction.UPLOAD_STATE_CHANGE",Vp,void 0);x("picker.api.PickerUriBuilder",Y,void 0);Y.prototype.addLabel=Y.prototype.nm;Y.prototype.addView=Y.prototype.Hc;Y.prototype.addViewGroup=Y.prototype.Ak;Y.prototype.disableFeature=Y.prototype.zs;
Y.prototype.enableFeature=Y.prototype.Hi;Y.prototype.getNav=Y.prototype.Mj;Y.prototype.getProtocol=Y.prototype.Px;Y.prototype.getRelayUrl=Y.prototype.getRelayUrl;Y.prototype.getSelectButtonLabel=Y.prototype.Gp;Y.prototype.getTitle=Y.prototype.Ue;Y.prototype.hideTitleBar=Y.prototype.Ht;Y.prototype.isFeatureEnabled=Y.prototype.XP;Y.prototype.resetNav=Y.prototype.Ju;Y.prototype.setHostId=Y.prototype.$l;Y.prototype.setInitialView=Y.prototype.jr;Y.prototype.setProtocol=Y.prototype.or;
Y.prototype.setRelayUrl=Y.prototype.setRelayUrl;Y.prototype.setSelectButtonLabel=Y.prototype.iv;Y.prototype.setThumbs=Y.prototype.jv;Y.prototype.setTitle=Y.prototype.Xc;Y.prototype.setMaxSizeBytes=Y.prototype.fI;Y.prototype.setMaxSizeBytesPerItem=Y.prototype.Uca;Y.prototype.setUploadToAlbumId=Y.prototype.jo;Y.prototype.toString=Y.prototype.toString;Y.prototype.toUri=Y.prototype.tk;
x("picker.api.PostProcessorId",{uOa:"atec",cha:Pf,cPa:"caa",dPa:cg,ePa:"cpaa",wW:kg,sPa:"contactPhoto",yPa:"copyphoto",zPa:"ctpa",APa:"ctpf",JPa:"cropphoto",iQa:"dow",jQa:fh,wRa:"ipfd",xSa:"mdisamb",aia:"mtp",gTa:Re,jia:"photocuration",jTa:"photosharing",kia:"bulkTag",pTa:"polls",uTa:"profileBanner",oia:Im,xUa:"sptm",fVa:"sqprofile"},void 0);x("picker.api.PostProcessorId.CHANGE_ALBUM_ATTRIBUTES","caa",void 0);x("picker.api.PostProcessorId.CHANGE_PARENT_ALBUM_ATTRIBUTES","cpaa",void 0);
x("picker.api.PostProcessorOption",{wOa:"albumName",BPa:"ctta",rQa:"eata",BQa:"evid",MQa:"finalizeAlbum",pRa:sj,xRa:"includeAllDocs",rSa:Jk,aia:"mtp",NSa:"ni",PTa:"rps",eVa:"sqid",tX:wq},void 0);x("picker.api.PostProcessorOption.VISIBILITY",wq,void 0);x("picker.api.Protocol",{YQa:di,ZQa:"gapi_iframes",qRa:"ifpc",rRa:uj,yRa:"injected"},void 0);x("picker.api.Protocol.GADGETS",di,void 0);x("picker.api.Protocol.IFPC","ifpc",void 0);x("picker.api.UploadConfigurationId.PHOTOS",Ql,void 0);
x("picker.api.UploadView",yK,void 0);yK.prototype.setUploadNotificationsEnabled=sK.prototype.jKa;x("picker.api.UrlView",KK,void 0);KK.prototype.setSite=KK.prototype.pr;KK.prototype.setType=KK.prototype.dg;KK.prototype.setLabel=KK.prototype.Hb;KK.prototype.setQuery=KK.prototype.setQuery;KK.prototype.setMimeTypes=KK.prototype.Ib;KK.prototype.setBreadcrumbsBarHidden=KK.prototype.kc;KK.prototype.addUploadMetadata=KK.prototype.cc;KK.prototype.setParent=KK.prototype.Va;
KK.prototype.setContainerRenameableType=KK.prototype.oc;x("picker.api.UrlViewType.ALL",Se,void 0);x("picker.api.UrlViewType.IMAGE",vj,void 0);x("picker.api.UrlViewType.VIDEO",mq,void 0);x("picker.api.VideoSearchView.GOOGLE_VIDEO","video.google.com",void 0);sK.prototype.addUploadMetadata=sK.prototype.cc;sK.prototype.setBreadcrumbsBarHidden=sK.prototype.kc;MK.prototype.getItemsString=MK.prototype.UD;x("picker.api.ViewId.PEOPLE",Jl,void 0);x("picker.api.ViewId.UPLOAD",Qp,void 0);
x("picker.api.commands.CancelUploadCommand",kK,void 0);x("picker.api.commands.RefreshCommand",lK,void 0);x("picker.api.commands.SetMaxItemsCommand",oK,void 0);x("picker.api.commands.SetMaxSizeBytesCommand",nK,void 0);x("picker.api.commands.SetTitleCommand",pK,void 0);x("picker.api.commands.SetViewCommand",tK,void 0);x("picker.api.commands.SetViewOptionsCommand",uK,void 0);x("picker.api.WebSearchView",LK,void 0);LK.prototype.setSite=LK.prototype.pr;LK.prototype.setSearchLabel=LK.prototype.BJa;
LK.prototype.setInUrl=LK.prototype.wIa;LK.prototype.setSafeSearch=LK.prototype.jA;LK.prototype.setCustomSearchEngine=LK.prototype.QHa;x("picker.api.PhotoUploadView",nL,void 0);dL.prototype.sendCommand=dL.prototype.me;dL.prototype.setUrl=dL.prototype.bm;X.prototype.addLabel=X.prototype.nm;X.prototype.addPostProcessor=X.prototype.$v;X.prototype.getNav=X.prototype.Mj;X.prototype.getProtocol=X.prototype.Px;X.prototype.getSelectButtonLabel=X.prototype.Gp;X.prototype.resetNav=X.prototype.Ju;X.prototype.setHostId=X.prototype.$l;X.prototype.setLoadGadgetsLibrary=X.prototype.KIa;X.prototype.setProtocol=X.prototype.or;X.prototype.setSelectButtonLabel=X.prototype.iv;
X.prototype.setThumbs=X.prototype.jv;X.prototype.setGroupId=X.prototype.Hca;X.prototype.shouldReturnUploadMetadata=X.prototype.zI;X.prototype.buildMinimal=X.prototype.OK;X.prototype.disableAutoHide=X.prototype.iM;X.prototype.setMaxVideoDurationSec=X.prototype.Vca;var oL=function(a){this.Al=a.hl;this.zBa=!!a[Vk];this.Cq=a.oAuthToken;this.CDa=a.pimm;this.TEa=a.relayUrl;this.xba=a.rpcService;this.hj=a.rpcToken;this.qGa=a.rpcUrl;this.rGa=sv.test(this.Al);this.AV=(new Boolean(a.thirdParty)).valueOf();this.nga=a.uriPrefix||"picker/";this.hpa=!!a.ecsi;this.AM=!!a.ecmh},pL=null,qL=function(){D(!!pL,"Flags not initialized");return pL};t=oL.prototype;t.getRelayUrl=function(){return this.TEa};t.rO=function(){return this.hj};t.isNative=function(){return this.zBa};
t.Uf=function(){return this.rGa};t.lpa=function(a){this.AM=a};var rL={1:"picker-spr-google-photos-24"};var sL=function(a){F.call(this);a&&(pL=new oL(a));this.pj=a.actions||{};this.hja=a.apt;this.zi=a.appContext||null;this.Is=a.email;this.Fla=a.chrome;this.Lna=a.cropMode;this.doa=a.de;this.YG=a.prefetchQueryRequest;this.ZG=a.prefetchUriParams;this.uz=a.prefetchUriQuery;this.YDa=a.prefetchEnabled;this.ioa=a.defaultView;this.c_=!!a.cwpc;this.x1=!a.driveGridViewSwitcherHidden;this.G=a.element;this.X1=a.eventId;this.k9=a.maxSizeBytes||null;this.opa=!!a.enableSizeEstimation;this.ipa=!!a.edbe;this.j9=a.maxItems||
null;this.nBa=a.minItems||0;this.zpa=new oC(a.excludeIds?a.excludeIds.split(","):[]);new oC(a.e?a.e.split(","):[]);this.lp=(!!a.endv||!!a.newDriveView)&&!a.odv;this.Sw=!!a.noAutoHide;this.JNa=!!a.upvid;this.hM=!!a.dav;this.nP=!!a.horizNav||this.lp;this.pn=a.hostId;this.qj=!!a.addMode;this.lAa=a.learnMore;this.IAa=a.loadingStatusElement;this.Foa=!!a.dnif;this.Eoa=a.dnife;this.PGa=!!a.swue;var b=a.selectableMimeTypes;z(b)&&(this.Rba=this.rua(b));this.eHa=a.serviceIds||[];this.oBa=a.mineOnly;this.nG=
!!a.multiselectEnabled;b=a.nav;if(z(b))b=PD(b);else if(!Sq(b))throw Error("nav must be an array");this.vh=b;this.xq=(this.iG=!!a.minimal)&&!!a.minew;this.qG=this.iG||!!a.navHidden;this.dDa=a.origin;this.D$=a.outerElement;this.Jq=!1;PD(a.puv);b=a.pp;z(b)&&(b=PD(b));b&&b.length?(Sq(b[0])||(b=[b]),E(b,function(a){a[1]||(a[1]={})})):b=[];this.Xf=b;this.gaa=a.profilePhoto;this.rEa=a.protocol;this.JGa=a.selectButtonLabel;this.DI=!!a.showroomNav;this.oMa=a.titleBarIconId;this.WI=Sq(a.thumbs)?a.thumbs:a.thumbs&&
PD(a.thumbs);this.Av=Sq(a.tt)?a.tt:a.tt&&PD(a.tt);this.Td=a.title;this.tV=a.subTitle;this.Woa=a.dfc;this.gja=a.actionPaneText;var c=a.uploadConfigs;z(c)&&(c=PD(c),at(c,function(a,b){c[b]=new eL(a)}));this.pJ=c||{};b=a.uploadButton;z(b)&&OD(b);this.cW=a.uploaders?a.uploaders:void 0;this.QU=!!a.srum;this.DNa=!!a.urlInputVisible;this.ZNa=a.vg||tl;this.apa=!a.driveSortHidden;this.GNa=!!a.grugl};C(sL,F);
var tL={"application/vnd.google-apps.document":[ef],"application/vnd.google-apps.form":[df],"application/vnd.google-apps.presentation":[hf],"application/vnd.google-apps.spreadsheet":[jf]};t=sL.prototype;t.rua=function(a){a=new oC(PD(a));for(var b in tL)a.contains(b)&&a.addAll(tL[b]);return a};t.Sm=function(){return this.zi};t.getEmail=function(){return this.Is};t.Kza=function(){return!!this.YDa};t.b=function(){return this.G};t.xM=function(a){this.qj=a};t.Mj=function(){return this.vh};
t.getOrigin=function(){return this.dDa};t.mt=function(){return this.D$||(this.D$=Gw("picker-main-container",this.G))};t.Px=function(){return this.rEa};t.Gp=function(){return this.JGa||(this.gaa?"Set as profile photo":"Select")};t.iua=function(){return rL[this.oMa]};t.Ue=function(){return this.Td};t.zI=function(){return this.QU};t.u7=function(a){return this.pj[a]};t.J7=function(){return!!this.pn&&("og"==this.pn||ir(this.pn,"es-"))};t.zza=function(a){return!this.Rba||this.Rba.contains(a)};t.De=function(){return this.iG};
t.E4=function(){return this.iG?18E4:0};t.$v=function(a){this.Xf=this.Xf||[];this.Xf.push(a)};t.Rw=function(a){this.hM=a};t.lJa=function(a){this.Jq=a};t.gA=function(a){this.j9=a};t.fI=function(a){this.k9=a};t.jo=function(){};t.eQ=function(){return!(!this.vh.length||1!=this.vh.length||this.vh[0][0]!=Jl)};t.fW=function(){return this.GNa};t.B=function(){sL.g.B.call(this);delete this.G;delete this.IAa};var uL=function(a){for(var b=[],c=0,e=0;e<a.length;e++){for(var f=a.charCodeAt(e);255<f;)b[c++]=f&255,f>>=8;b[c++]=f}return b},vL=function(a){return ys(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};var wL=null,xL=null;Object.freeze&&Object.freeze([]);var Z=function(a){return Z.q7(a)};Z.q7=function(a){return a+"_"};Z.ZWa=function(){throw Error("xid.literal must not be used in COMPILED mode.");};Z.object=function(a){if(a&&a.constructor&&a.constructor.toString()===Object.toString()){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[Z.q7(c)]=a[c]);return b}throw Error("xid.object must be called with an object literal.");};Z.uha=!0;
Z.AWa=function(a,b){if(!Z.uha||Z.R7())return a;D(a&&typeof a==Ho&&"_"==a.substr(a.length-1),b||"The string <"+a+"> does not look like it was passed through xid. Did you forget to use xid?");return a};Z.R7=function(){return"a_"!=Z("a")};var yL=function(a,b){z(b)?(D(b,"NamespacedType does not allow empty type string"),D(!/[:]/.test(b),'NamespacedType does not allow ":" in type string: '+b)):D(0<=b,"NamespacedType does not allow negative type number");D(a,"NamespacedType does not accept undefined or null namespace");this.xBa=a;this.mb=b;this.constructor.pK||(this.constructor.pK={});var c=this.toString();D(!this.constructor.pK[c],"Registering duplicate namespaced type "+c);this.constructor.pK[c]=this};yL.prototype.Zn=function(){return this.toString()};
yL.prototype.toString=function(){this.ofa||(this.ofa=this.xBa.hO()+":"+this.mb);return this.ofa};yL.prototype.ta=function(){return this.mb};var zL=function(a,b){yL.call(this,a,b)};C(zL,yL);var BL=function(a){D(!AL.hasOwnProperty(a),"Attempt to create a second Namespace with name: "+a);D(!/[^0-9a-zA-Z._]/.test(a),"Attempt to create a Namespace with invalid characters: "+a);this.je=a;AL[a]=this},AL;AL={};BL.prototype.hO=function(){return this.je};new BL("lib");var CL=function(a,b,c){D(a,"Invalid service id + "+a);if(c)for(var e=0;e<c.length;e++)D(c[e],"Invalid dependency "+c[e]+" (index in dependency array: "+e+") for service "+a);this.ne=a;this.yq=b||null;this.noa=c||[]};CL.prototype.toString=function(){return this.ne};CL.prototype.LN=function(){return this.noa};Z.pd={};Z.pd.UJ="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";Z.pd.GJ=Z.pd.UJ+"0123456789";Z.pd.VJ=Z.pd.UJ.length;Z.pd.RJ=Z.pd.GJ.length;Z.pd.RW=-2147483648;Z.pd.uXa=function(a){D(6>=a.length,"Xids should not be longer than 6 characters");for(var b=0,c=a.length-1;0<=c;c--)var e=Z.pd.GJ.indexOf(a.charAt(c)),b=b*(0==c?Z.pd.VJ:Z.pd.RJ)+e;return b+Z.pd.RW};
Z.pd.toString=function(a){var b=[],c=0;a-=Z.pd.RW;b[c++]=Z.pd.UJ.charAt(a%Z.pd.VJ);for(a=Math.floor(a/Z.pd.VJ);0<a;)b[c++]=Z.pd.GJ.charAt(a%Z.pd.RJ),a=Math.floor(a/Z.pd.RJ);return b.join("")};Z.hash={};Z.hash.yW=2654435769;Z.hash.Cia=314159265;
Z.hash.sMa=function(a){a=Z.hash.SLa(a);for(var b=Z.hash.yW,c=Z.hash.yW,e=Z.hash.Cia,f=a.length,g=f,h=0,k=function(){b-=c;b-=e;b^=e>>>13;c-=e;c-=b;c^=b<<8;e-=b;e-=c;e^=c>>>13;b-=c;b-=e;b^=e>>>12;c-=e;c-=b;c^=b<<16;e-=b;e-=c;e^=c>>>5;b-=c;b-=e;b^=e>>>3;c-=e;c-=b;c^=b<<10;e-=b;e-=c;e^=c>>>15};12<=g;g-=12,h+=12)b+=Z.hash.$M(a,h),c+=Z.hash.$M(a,h+4),e+=Z.hash.$M(a,h+8),k();e+=f;switch(g){case 11:e+=a[h+10]<<24;case 10:e+=a[h+9]<<16;case 9:e+=a[h+8]<<8;case 8:c+=a[h+7]<<24;case 7:c+=a[h+6]<<16;case 6:c+=
a[h+5]<<8;case 5:c+=a[h+4];case 4:b+=a[h+3]<<24;case 3:b+=a[h+2]<<16;case 2:b+=a[h+1]<<8;case 1:b+=a[h+0]}k();return Z.pd.toString(e)};Z.hash.tMa=function(a){return Z.R7()||!/_$/.test(a)?a:Z.hash.sMa(a.replace(/_$/,""))};Z.hash.SLa=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b};Z.hash.$M=function(a,b){return a[b+0]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};new CL(Z("goog.ui.ActivityMonitor"));new CL(Z("fava.app.AppLifetimeService"));new CL(Z("fava.base.AsyncOperationServices"));new CL(Z("fava.net.BrowserChannelServices"));new CL(Z("fava.canvas.CanvasService"));new CL(Z("fava.canvas.CanvasConfiguration"));new CL(Z("fava.diagnostics.CsiService"));var DL=new CL(Z("fava.data.DataServices"));new CL(Z("fava.data.DataStoreUpdaterService"));new CL(Z("fava.locale.DateTimeFormatService"));new CL(Z("fava.debug.DeobfuscationService"));new CL(Z("fava.diagnostics.Diagnostics"));
var EL=new CL(Z("fava.component.DomServices"));new CL(Z("fava.app.DragDropService"));new CL(Z("fava.browser.ExportService"));new CL(Z("fava.layout.FixedLayoutHelper"));new CL(Z("fava.gbar.GbarService"));new CL(Z(Dh),Z.hash.tMa(Z(Dh)));new CL(Z("fava.controls.help.HelpOverlayService"));new CL(Z("fava.view.HistoryInterface"));new CL(Z("fava.view.HistoryManager"));new CL(Z("fava.view.HistoryRegistry"));new CL(Z("fava.identity.IdentityService"));new CL(Z("fava.browser.IeCutCopyHandle"));new CL(Z("fava.diagnostics.Impressions"));
new CL(Z("fava.browser.KeyboardShortcutHandler"));new CL(Z("fava.browser.KeyboardShortcutRegistry"));new CL(Z("fava.controls.mole.MoleManager"));new CL(Z("fava.app.NavBarService"));new CL(Z("fava.view.NavigationServices"));new CL(Z("fava.net.NetworkDiagnosticsService"));new CL(Z("fava.app.NotificationService"));new CL(Z("fava.request.OauthService"));new CL(Z("fava.net.OfflineServices"));new CL(Z("fava.modules.PrefetchService"));new CL(Z("fava.controls.RelativeDateControl"));new CL(Z("fava.request.RequestService"));
new CL(Z(Ch));new CL(Z("fava.net.ServerErrorService"));var FL=new CL(Z("fava.dom.SoyRenderer")),GL=new CL(Z("fava.dom.SoyRendererConfig"));new CL(Z("fava.app.TitleBar"));new CL(Z("fava.controls.Toast"));new CL(Z("fava.app.UserActionService"));new CL(Z("fava.browser.ViewportServices"));new CL(Z("fava.diagnostics.ViewDiagnostics"));new CL(Z("fava.view.ViewManagerInterface"));new CL(Z("fava.view.ViewRegistry"));new CL(Z("fava.browser.WindowService"));new CL(Z("fava.browser.WindowOpenerUtil"));new CL(Z("fava.app.WindowWidget"));
new CL(Z("fava.request.XsrfService"));var IL=function(a){F.call(this);this.id=HL++;this.fHa=[];this.kk={};this.IQ={};this.wT={};this.cr={};this.FY={};this.I9={};this.uf=a?a.Xm():new M;this.CKa=!a;this.oz=null;a?(this.oz=a,this.wT=a.wT,this.cr=a.cr,this.IQ=a.IQ,this.FY=a.FY):B();a=this.qO();this!=a&&(a.hC?a.hC.push(this):a.hC=[this])};C(IL,F);var HL=1;t=IL.prototype;t.qO=function(){for(var a=this;a.oz;)a=a.oz;return a};t.qoa=function(a){for(var b=this;b;){if(b==a)return!0;b=b.oz}return!1};
t.get=function(a){var b=this.i4(a);null==b&&this.KWa&&(b={BOGUS:"Service "+a+" was not registered"});if(null==b)throw new JL(a);return b};t.i4=function(a){for(var b=this;b;b=b.oz){if(b.isDisposed())throw Error("AppContext is disposed.");if(b.kk[a])return b.kk[a][0];if(b.I9[a])break}if(b=this.Tta(a)){b=b(this);if(null==b)throw Error("Factory method for service "+a+" returned null or undefined.");this.registerService(a,b);return b}return null};
t.registerService=function(a,b,c){if(this.isDisposed())c||Rt(b);else{D(!this.kk[a],'Service for "%s" is already registered',a);this.fHa.push(a);this.kk[a]=[b,!c];c=this.Spa(this,a);for(var e=0;e<c.length;e++)c[e].Ad(null);delete this.IQ[a];return b}};t.unregisterService=function(a){if(!this.kk[a])throw Error('Service for "'+a+wa);var b=this.kk[a];delete this.kk[a];b[1]&&Rt(b[0])};t.Tta=function(a){return this.wT[a]};
t.Spa=function(a,b){var c=[],e=this.cr[b];e&&(ws(e,function(b){b.rka.qoa(a)&&(c.push(b.d),Ls(e,b))}),0==e.length&&delete this.cr[b]);return c};t.Rla=function(a){this.cr&&mC(this.cr,function(b,c,e){ws(b,function(c){c.rka==a&&Ls(b,c)});0==b.length&&delete e[c]})};
t.B=function(){if(this.qO()==this){var a=this.hC;if(a)for(;a.length;)a[0].dispose()}else for(var a=this.qO().hC,b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}for(var c in this.kk)a=this.kk[c],a[1]&&a[0].dispose&&a[0].dispose();this.kk=null;this.CKa&&this.uf.dispose();this.Rla(this);this.cr=null;Rt(this.kDa);this.I9=this.kDa=null;IL.g.B.call(this)};t.Xm=function(){return this.uf};var JL=function(a){gr.call(this);this.id=a;this.message='Service for "'+a+wa};C(JL,gr);var KL=new BL("fva");
new zL(KL,1);QC("fava.core.Timer");var LL=function(){F.call(this)};C(LL,F);LL.prototype.D=QC("fava.debug.ErrorReporter");LL.prototype.BP=function(){this.hT=[]};LL.prototype.GFa=function(a,b){if(this.isDisposed())V(this.D,"reportException was called but ErrorReporter already disposed. Message: "+a,b);else if(b instanceof ZG)V(this.D,a||"CancelledError",b);else{if(this.D){var c=this.D.V3(BC,a||"Exception",b);c.MWa=!0;this.D.KAa(c)}this.sXa||this.hT&&10>this.hT.length&&this.hT.push([a,b])}};var ML=new LL;var NL=function(){this.Oi=[];this.sj=[]};t=NL.prototype;t.eBa=function(){Hs(this.Oi)&&(this.Oi=this.sj,this.Oi.reverse(),this.sj=[])};t.enqueue=function(a){this.sj.push(a)};t.Yo=function(){this.eBa();return this.Oi.pop()};t.Ga=function(){return this.Oi.length+this.sj.length};t.Zb=function(){return Hs(this.Oi)&&Hs(this.sj)};t.clear=function(){this.Oi=[];this.sj=[]};t.contains=function(a){return Gs(this.Oi,a)||Gs(this.sj,a)};
t.remove=function(a){var b;b=this.Oi;var c=vs(b,a);0<=c?(Ks(b,c),b=!0):b=!1;return b||Ls(this.sj,a)};t.Cb=function(){for(var a=[],b=this.Oi.length-1;0<=b;--b)a.push(this.Oi[b]);for(var c=this.sj.length,b=0;b<c;++b)a.push(this.sj[b]);return a};var OL=function(a,b){M.call(this);this.Bd=[];this.ENa=!!b;this.N=new rA(this);this.uza=window.parent!=window;if(a)if(Sq(a))for(var c=0;c<a.length;c++)this.vB(a[c].J());else this.vB(a.J());else this.vB(N().J());B()};C(OL,M);OL.prototype.w9=0;var PL=[ng,Hg,Kk,Lk,Ok],QL=[kp,"touchmove",lp],RL=[Xj,Zj];t=OL.prototype;t.B=function(){OL.g.B.call(this);this.N.dispose();this.N=null;delete this.Bd};
t.vB=function(a){if(!Gs(this.Bd,a)){this.Bd.push(a);var b=!this.ENa,c=Ns(RL,PL);this.uza||Ps(c,QL);this.N.o(a,c,this.ey,b)}};t.ey=function(a){var b=!1;switch(a.type){case Lk:if(typeof this.y8==bl&&this.y8!=a.clientX||typeof this.z8==bl&&this.z8!=a.clientY)b=!0;this.y8=a.clientX;this.z8=a.clientY;break;default:b=!0}b&&(a=as(a.type),this.Xfa(B(),a))};t.aba=function(){this.Xfa(B(),"manual")};t.Xfa=function(a){a>this.w9&&(this.dispatchEvent("activity"),this.w9=a+3E3)};new oC;var SL=function(){F.call(this);this.tP=null;this.Nka=new NL;this.qaa=new Q};C(SL,F);SL.prototype.Ma=null;SL.prototype.D=QC(Ch);SL.prototype.dispose=function(){SL.g.dispose.call(this);this.Ma&&(v.clearTimeout(this.Ma),this.Ma=null);this.Nka.clear();for(var a=this.qaa.Cb(),b=0;b<a.length;b++)a[b].dispose();this.qaa.clear();this.tP&&(this.tP.dispose(),this.tP=null)};var TL=function(a){M.call(this);this.Do=a||window;this.SQ=K(this.Do,$m,this.zt,!1,this);this.cb=Jw(this.Do)};C(TL,M);TL.prototype.ce=function(){return this.cb?this.cb.clone():null};TL.prototype.B=function(){TL.g.B.call(this);this.SQ&&(Pu(this.SQ),this.SQ=null);this.cb=this.Do=null};TL.prototype.zt=function(){var a=Jw(this.Do);vw(a,this.cb)||(this.cb=a,this.dispatchEvent($m))};var UL=function(a){M.call(this);this.Do=a?a.getWindow():window;this.u8=this.r3();this.sh=A(this.swa,this);this.eG=this.Do.matchMedia?this.Do.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};C(UL,M);UL.prototype.start=function(){this.eG&&this.eG.addListener(this.sh)};UL.prototype.r3=function(){return 1.5<=this.Do.devicePixelRatio?2:1};UL.prototype.swa=function(){var a=this.r3();this.u8!=a&&(this.u8=a,this.dispatchEvent("d"))};
UL.prototype.B=function(){this.eG&&this.eG.removeListener(this.sh);UL.g.B.call(this)};var VL=function(a,b){F.call(this);this.zi=a;b&&this.iJa(b)};C(VL,F);t=VL.prototype;t.iJa=function(a){if(this.MG)throw Error("[fava.component.DomServices] Owner document already initialized");this.MG=a;this.ma=N(a);this.iB=new TL(Mw(a));this.iB.fo(this.zi.Xm());this.oS=new UL(this.ma);this.oS.start()};t.cE=function(){cs(this.MG,Dc);return this.MG};t.v=function(){cs(this.ma,"Tried to use dom services without an owner document; possibly missing 'multiple: true' in a fava.extension.register?");return this.ma};
t.Zx=function(){D(this.ma,Dc);return this.iB.ce()};t.B=function(){this.ma=this.MG=null;this.iB&&(this.iB.dispose(),this.iB=null);Rt(this.oS);this.oS=null};var WL=function(a,b){F.call(this);this.cT=b||null};C(WL,F);WL.prototype.B=function(){this.cT&&(this.cT.dispose(),this.cT=null)};var XL=function(a,b){F.call(this);this.t1=this.$_=null;this.Yj=b;this.Pe=[];this.Tma(a)};C(XL,F);t=XL.prototype;t.il=function(){return this.Pe.length?this.Pe.pop():this.Rk()};t.Ul=function(a){this.Pe.length<this.Yj?this.Pe.push(a):this.gp(a)};t.Tma=function(a){if(a>this.Yj)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.Pe.push(this.Rk())};t.Rk=function(){return this.$_?this.$_():{}};
t.gp=function(a){if(this.t1)this.t1(a);else if(Xq(a))if(Wq(a.dispose))a.dispose();else for(var b in a)delete a[b]};t.B=function(){XL.g.B.call(this);for(var a=this.Pe;a.length;)this.gp(a.pop());delete this.Pe};var $L=function(){this.we=[];this.Kn=new Q;this.sfa=this.gJ=this.hJ=this.xv=0;this.Yc=new Q;this.f_=this.IV=0;this.tG=1;this.dx=new XL(0,4E3);this.dx.Rk=function(){return new YL};this.kV=new XL(0,50);this.kV.Rk=function(){return new ZL};var a=this;this.zy=new XL(0,2E3);this.zy.Rk=function(){return String(a.tG++)};this.zy.gp=function(){};this.P0=3};$L.prototype.D=QC("goog.debug.Trace");$L.prototype.OJ=1E3;var ZL=function(){this.fB=this.time=this.count=0};
ZL.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.fB&&a.push(" [VarAlloc = ",this.fB,"]");return a.join("")};var YL=function(){};
YL.prototype.uMa=function(a,b,c){var e=[];-1==b?e.push("    "):e.push(aM(this.cD-b));e.push(" ",bM(this.cD-a));0==this.ex?e.push(" Start        "):1==this.ex?(e.push(" Done "),e.push(aM(this.OLa-this.startTime)," ms ")):e.push(" Comment      ");e.push(c,this);0<this.OA&&e.push("[VarAlloc ",this.OA,"] ");return e.join("")};YL.prototype.toString=function(){return null==this.type?this.ww:"["+this.type+"] "+this.ww};t=$L.prototype;
t.reset=function(a){this.P0=a;this.waa();this.Kn.clear();this.xv=B();this.f_=this.IV=this.sfa=this.gJ=this.hJ=0;a=this.Yc.vb();for(var b=0;b<a.length;b++){var c=this.Yc.get(a[b]);c.count=0;c.time=0;c.fB=0;this.kV.Ul(c)}this.Yc.clear()};t.waa=function(){for(var a=0;a<this.we.length;a++){var b=this.we[a];b.id&&this.zy.Ul(b.id);this.dx.Ul(b)}this.we.length=0};
t.Qea=function(a,b){var c=B(),e=this.D4(),f=this.Kn.Ga();this.we.length+f>this.OJ&&(SC(this.D,"Giant thread trace. Clearing to avoid memory leak."),this.we.length>this.OJ/2&&this.waa(),f>this.OJ/2&&this.Kn.clear());KC("Start : "+a);f=this.dx.il();f.OA=e;f.ex=0;f.id=Number(this.zy.il());f.ww=a;f.type=b;this.we.push(f);this.Kn.set(String(f.id),f);this.IV++;e=B();f.startTime=f.cD=e;this.hJ+=e-c;return f.id};
t.Wea=function(a,b){var c=B(),e;e=0===b?0:b?b:this.P0;var f=this.Kn.get(String(a));if(null==f)return null;this.Kn.remove(String(a));var g,h=c-f.startTime;if(h<e)for(e=this.we.length-1;0<=e;e--){if(this.we[e]==f){this.we.splice(e,1);this.zy.Ul(f.id);this.dx.Ul(f);break}}else g=this.dx.il(),g.ex=1,g.startTime=f.startTime,g.ww=f.ww,g.type=f.type,g.OLa=g.cD=c,this.we.push(g);e=f.type;var k=null;e&&(k=this.bua(e),k.count++,k.time+=h);g&&(KC("Stop : "+g.ww),g.OA=this.D4(),k&&(k.fB+=g.OA-f.OA));f=B();this.gJ+=
f-c;return h};t.D4=function(){var a=this.QWa;return a&&a.isTracing()?a.totalVarAlloc:-1};t.bua=function(a){var b=this.Yc.get(a);b||(b=this.kV.il(),b.type=a,this.Yc.set(a,b));return b};
t.toString=function(){for(var a=[],b=-1,c=[],e=0;e<this.we.length;e++){var f=this.we[e];1==f.ex&&c.pop();a.push(" ",f.uMa(this.xv,b,c.join("")));b=f.cD;a.push("\n");0==f.ex&&c.push("|  ")}if(0!=this.Kn.Ga()){var g=B();a.push(" Unstopped timers:\n");Lx(this.Kn,function(b){a.push("  ",b," (",g-b.startTime," ms, started at ",bM(b.startTime),")\n")})}b=this.Yc.vb();for(e=0;e<b.length;e++)c=this.Yc.get(b[e]),1<c.count&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",this.IV,"\n","Total comments created ",
this.f_,"\n","Overhead start: ",this.hJ," ms\n","Overhead end: ",this.gJ," ms\n","Overhead comment: ",this.sfa," ms\n");return a.join("")};var aM=function(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a},bM=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)},cM=new $L;var dM=function(a,b){this.oq=a;this.ac=b};dM.prototype.getKey=function(){return this.oq};dM.prototype.getValue=function(){return this.ac};dM.prototype.clone=function(){return new dM(this.oq,this.ac)};var eM=function(a){this.Ge=[];a&&this.Yya(a)};t=eM.prototype;t.JP=function(a,b){var c=this.Ge;c.push(new dM(a,b));this.wR(c.length-1)};t.Yya=function(a){var b;if(a instanceof eM){if(b=a.vb(),a=a.Cb(),0>=this.Ga()){for(var c=this.Ge,e=0;e<b.length;e++)c.push(new dM(b[e],a[e]));return}}else b=ht(a),a=gt(a);for(e=0;e<b.length;e++)this.JP(b[e],a[e])};t.remove=function(){var a=this.Ge,b=a.length,c=a[0];if(!(0>=b))return 1==b?Is(a):(a[0]=a.pop(),this.vR(0)),c.getValue()};
t.vR=function(a){for(var b=this.Ge,c=b.length,e=b[a];a<c>>1;){var f=this.Jsa(a),g=this.Lta(a),f=g<c&&b[g].getKey()<b[f].getKey()?g:f;if(b[f].getKey()>e.getKey())break;b[a]=b[f];a=f}b[a]=e};t.wR=function(a){for(var b=this.Ge,c=b[a];0<a;){var e=this.uta(a);if(b[e].getKey()>c.getKey())b[a]=b[e],a=e;else break}b[a]=c};t.Jsa=function(a){return 2*a+1};t.Lta=function(a){return 2*a+2};t.uta=function(a){return a-1>>1};t.Cb=function(){for(var a=this.Ge,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getValue());return b};
t.vb=function(){for(var a=this.Ge,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getKey());return b};t.zm=function(a){return As(this.Ge,function(b){return b.getValue()==a})};t.Ic=function(a){return As(this.Ge,function(b){return b.getKey()==a})};t.clone=function(){return new eM(this)};t.Ga=function(){return this.Ge.length};t.Zb=function(){return Hs(this.Ge)};t.clear=function(){Is(this.Ge)};var fM=function(){eM.call(this)};C(fM,eM);fM.prototype.enqueue=function(a,b){this.JP(a,b)};fM.prototype.Yo=function(){return this.remove()};var gM=function(){F.call(this);this.ES=new Q};C(gM,F);t=gM.prototype;t.D=QC("fava.data.Reaper");t.B=function(){this.paa&&(this.paa.dispose(),this.paa=null);this.j6&&(this.j6.dispose(),this.j6=null);gM.g.B.call(this)};t.Mra=function(){return B()};t.Qja=function(a){this.ES.set(a.rf,a)};t.oFa=function(a){this.ES.remove(a.rf)};t.Ga=function(){return this.ES.Ga()};var hM=function(){M.call(this);this.Ko=0};C(hM,M);t=hM.prototype;t.D=QC("fava.data.EventTarget");t.lM=function(a,b){var c=cM.Qea(Wc,Wc);this.m1(a,a.rf,w(b)?b:65535);cM.Wea(c)};t.oM=function(a,b){var c=cM.Qea(Yc,Yc),e=a.rf+":"+b;this.nD(e,e);this.m1(a,e);cM.Wea(c)};t.m1=function(a,b,c){for(var e=0;null!=a;)a.getOptions()&32||(0==e&&this.nD(a.rf,b,c),1==e&&this.nD(a.aua(),b,c),0<e&&this.nD(a.Zra(),b,c)),a=a.getParent(),e++};
t.nD=function(a,b,c){if(0<this.Ko){var e;yu(this)?e=this.hasListener(a,!1):(e=Iu(this),e=!!e&&e.hasListener(a,!1));e&&this.ala(a,b,c)}else e=null,w(c)&&(e={},e[b]=c),Su(this,a,!1,new iM(a,[b],e))};t.FI=function(){this.Ko++;1==this.Ko&&hM.g.dispatchEvent.call(this,"e")};
t.YC=function(){this.Ko--;if(0==this.Ko){if(this.Kv){var a=this.Kv;this.Kv=null;for(var b=a.vb(),c=0;c<b.length;c++){var e=b[c],f=a.get(e),f=new iM(e,f.aW,f.Mr);try{Su(this,e,!1,f)}catch(g){ML.GFa("Exception firing listeners in Data EventTarget",g)}}}hM.g.dispatchEvent.call(this,"f")}else if(-1==this.Ko)throw this.Ko=0,Error("fava.data.EventTarget : Unmatched endBatchUpdate, cannot go negative");};
t.ala=function(a,b,c){this.Kv||(this.Kv=new Q);var e=this.Kv.get(a);e?Js(e.aW,b):(e={aW:[b],Mr:null},this.Kv.set(a,e));w(c)&&((a=e.Mr)?a[b]|=c:(e.Mr={},e.Mr[b]=c))};var iM=function(a,b,c){this.type=a;this.aW=b;this.Mr=c||null};C(iM,J);var jM=function(a,b){F.call(this);this.je=a;D(this.uF&&!b||!this.uF&&b,"[fava.data.BaseNode] rootNode parameter inconsistent with whether this is the RootNode class");this.uF?(this.rf="$"+this.je,this.bf=this):this.bf=b};C(jM,F);t=jM.prototype;t.Y=QC("fava.data.BaseNode");t.Ng=null;t.B=function(){TC(this.Y,"Disposing node: "+this.rf);this.N&&(this.N.dispose(),this.N=null)};t.Cx=function(){this.Fh();this.N||(this.N=new rA(this));return this.N};t.getParent=function(){return this.Ng};
t.Va=function(a){if(null!=this.Ng&&null!=a)throw Error("Node must be removed from parent before added to another one");D(!this.uF,"[fava.data.BaseNode] Root node cannot have a parent");if(a&&a.bf!=this.bf)throw Error("Node cannot be added to a different data store tree");this.uM=this.fV=null;null!=a?(this.Fh(),this.rf=a.rf+"/"+this.je):this.rf=null;return this.Ng=a};t.aua=function(){this.fV||(this.fV=this.rf+"/*");return this.fV};t.Zra=function(){this.uM||(this.uM=this.rf+"/...");return this.uM};
t.getOptions=function(){return 4};t.Fh=function(){if(this.isDisposed())throw Error("Invalid operation for a disposed fava.data.Node.  Error on node: "+this.rf);};var kM=function(a,b,c){jM.call(this,a,b?b.bf:null);b&&b.sa(this);if(this.X7=!!c)a=this.bf.Bz,a.Qja(this),a.Mra()};C(kM,jM);var lM=new Q;t=kM.prototype;t.Y=QC("fava.data.Node");t.yl="NOT LOADED";t.RK="VALID";t.getOptions=function(){var a=kM.g.getOptions.call(this),a=a|26;this.X7&&(a|=1);return a};t.get=function(){this.Fh();return this.Ei};t.ih=function(){this.Fh();return this.Wa?this.Wa:lM};t.kt=function(){this.Fh();return this.Wa?this.Wa.Ga():0};t.Um=function(a){return this.vra(a)};
t.vra=function(a){this.Fh();return this.Wa?this.Wa.get(a):null};t.upa=function(){this.Wa||(this.Wa=new Q)};t.Rsa=function(){this.Fh();return this.yl};t.rra=function(){this.Fh();return this.RK};t.fe=function(){this.Fh();return"LOADED"==this.Rsa()};t.Ye=function(){this.Fh();return"VALID"==this.rra()};t.Sm=function(){return this.bf.Sm()};
t.B=function(){kM.g.B.call(this);if(this.Wa){for(var a=this.Wa.Cb(),b=0;b<a.length;b++)a[b].dispose();this.Wa.clear()}var a=this.getParent(),b=this.bf,c=this.rf;b.Bz.oFa(this);this.sca(null);a&&a.removeChild(this);b&&b.i$(c,a)};t.sa=function(a){var b=a.je;this.upa();if(this.Wa.Ic(b))throw Error("Node: "+this.rf+" already has a child with name "+b);if(a.getParent())throw Error("Node: "+a.rf+" already has a parent set.");a.Va(this);this.Wa.set(b,a)};
t.removeChild=function(a){var b=a.je;if(!this.Wa||!this.Wa.Ic(b))throw Error("Node: "+this.rf+" does not have a child with name "+b);a.Va(null);this.Wa.remove(b)};t.set=function(a){this.Fh();this.yl="LOADED";this.RK="VALID";this.sca(a);this.kM()};t.sca=function(a){B();if(this.Ei)if(this.Ei instanceof M){var b=this.N;b&&b.Ja(this.Ei,"g",this.S5)}else Wq(this.Ei.rU)&&this.Ei.rU(null);(this.Ei=a)&&(this.Ei instanceof M?this.Cx().o(this.Ei,"g",this.S5):Wq(this.Ei.rU)&&this.Ei.rU(this))};
t.s7=function(){this.RK="INVALID";this.bf.j$(this)};t.kM=function(a){this.Fh();this.bf.lM(this,a)};t.S5=function(a){a.Mr?this.kM(a.Mr):this.kM()};var mM=function(a,b){kM.call(this,a,null);this.Bz=b;this.uf=new hM;this.IC=[]};C(mM,kM);t=mM.prototype;t.B=function(){this.uf.dispose();mM.g.B.call(this);this.Bz&&(this.Bz.dispose(),this.Bz=null)};t.Y=QC("fava.data.RootNode");t.uF=!0;t.Xm=function(){return this.uf};t.FI=function(){this.uf.FI()};t.YC=function(){this.uf.YC()};t.fF=function(){for(var a=this.ih().Cb(),b;b=a.pop();)if(b.s7&&b.s7(),b.getOptions()&8){b=b.ih().Cb();for(var c=0;c<b.length;c++)a.push(b[c])}};t.Sm=function(){return this.zi};
t.lM=function(a,b){this.uf.lM(a,b)};t.oM=function(a,b){this.uf.oM(a,b)};t.i$=function(a,b){for(var c=0;c<this.IC.length;c++)try{this.IC[c].i$(a,b)}catch(e){SC(this.Y,Kc,e)}};t.j$=function(a){for(var b=0;b<this.IC.length;b++)try{this.IC[b].j$(a)}catch(c){SC(this.Y,Kc,c)}};var nM=function(a){Q.call(this);this.Bq=a};C(nM,Q);t=nM.prototype;t.clear=function(){this.p7(!0)};t.dispose=function(){this.p7(!1)};t.p7=function(a){for(var b=this.vb(),c=0;c<b.length;c++)this.EK(b[c]);nM.g.clear.call(this);if(a){a=this.Bq.bf;a.FI();try{for(c=0;c<b.length;c++)this.PC(b[c])}finally{a.YC()}}};t.remove=function(a){as(a);this.EK(a);var b=nM.g.remove.call(this,a);b&&this.PC(a);return b};t.set=function(a,b){as(a);this.get(a)!==b&&(this.EK(a),nM.g.set.call(this,a,b),this.dka(a,b),this.PC(a))};
t.dka=function(a,b){if(b&&b instanceof M){var c=K(b,"g",A(this.PC,this,a));this.cx||(this.cx=new Q);this.cx.set(a,c)}};t.EK=function(a){if(this.cx){var b=this.cx.get(a);b&&(Pu(b),this.cx.remove(a))}};t.addAll=function(a){var b=this.Bq.bf;b.FI();try{nM.g.addAll.call(this,a)}finally{b.YC()}};t.PC=function(a){this.Bq.bf.oM(this.Bq,a)};var oM=function(a,b){jM.call(this,a,b);this.gH=new nM(this)};C(oM,jM);t=oM.prototype;t.get=function(){return this.gH};t.B=function(){oM.g.B.call(this);this.gH.dispose()};t.getOptions=function(){return oM.g.getOptions.call(this)|16};t.getValue=function(a){return this.gH.get(a)};t.setValue=function(a,b){this.gH.set(a,b)};var pM=function(a){oM.call(this,"user",a)};C(pM,oM);var qM=function(a,b){this.M=b||N();this.cfa=a||null;this.zGa=[]};t=qM.prototype;t.Gaa=function(a,b){this.FH(a,b);var c=rE(a,b,this.Jx(),this.M);this.yt(c);return c};t.Faa=function(a,b){this.FH(a,b);var c=sE(a,b,this.Jx(),this.M);this.yt(c);return c};t.ha=function(a,b){var c=a(b||{},void 0,this.Jx());D(!(c instanceof kE)||c.mg===fE,'render was called with a strict template of kind other than "html" (consider using renderText or renderStrict)');this.FH(a,b);this.yt();return String(c)};
t.Un=function(a,b){var c=a(b||{},void 0,this.Jx());gs(c,kE,"renderText cannot be called on a non-strict soy template");D(c.mg===jE,'renderText was called with a template of kind other than "text"');this.FH(a,b);this.yt();return String(c)};t.yt=Pq;t.FH=function(a,b){this.zGa.push({template:a.qb,data:b||null,XWa:this.Jx()})};t.Jx=function(){return this.cfa?this.cfa.getData():{}};var rM=function(a){qM.call(this,this,a.get(EL).v());this.zi=a;this.uf=new M};C(rM,qM);rM.prototype.getData=function(){if(!w(this.e7)){var a=this.zi.i4(GL);this.e7=a?a.kS:null}return this.e7};rM.prototype.Xm=function(){return this.uf};rM.prototype.yt=function(a){rM.g.yt.call(this);this.uf.dispatchEvent(new J("h",a))};var sM=function(a){this.kS=a||null};if(window.jstiming){window.jstiming.aZ={};window.jstiming.EFa=1;var tM=function(a,b,c){var e=a.t[b],f=a.t.start;if(e&&(f||c))return e=a.t[b][0],void 0!=c?f=c:f=f[0],Math.round(e-f)},uM=function(a,b,c){var e="";window.jstiming.srt&&(e+="&srt="+window.jstiming.srt,delete window.jstiming.srt);window.jstiming.pt&&(e+="&tbsrt="+window.jstiming.pt,delete window.jstiming.pt);try{window.external&&window.external.tran?e+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?e+="&tran="+
window.gtbExternal.tran():window.chrome&&window.chrome.csi&&(e+="&tran="+window.chrome.csi().tran)}catch(y){}var f=window.chrome;if(f&&(f=f.loadTimes)){f().wasFetchedViaSpdy&&(e+="&p=s");if(f().wasNpnNegotiated){var e=e+"&npn=1",g=f().npnNegotiatedProtocol;g&&(e+="&npnv="+(encodeURIComponent||escape)(g))}f().wasAlternateProtocolAvailable&&(e+="&apa=1")}var h=a.t,k=h.start,f=[],g=[],m;for(m in h)if(m!=Co&&0!=m.indexOf("_")){var p=h[m][1];p?h[p]&&g.push(m+"."+tM(a,m,h[p][0])):k&&f.push(m+"."+tM(a,m))}delete h.start;
if(b)for(var u in b)e+="&"+u+"="+b[u];(b=c)||(b=nj==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstiming.sn||"_s")+"&action=",a.name,g.length?"&it="+g.join(","):"",e,"&rt=",f.join(",")].join("")},vM=function(a,b,c){a=uM(a,b,c);if(!a)return"";b=new Image;var e=window.jstiming.EFa++;window.jstiming.aZ[e]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.aZ[e]};b.src=a;b=null;return a};window.jstiming.report=
function(a,b,c){if("prerender"==document.webkitVisibilityState){var e=!1,f=function(){if(!e){b?b.prerender="1":b={prerender:"1"};var g;"prerender"==document.webkitVisibilityState?g=!1:(vM(a,b,c),g=!0);g&&(e=!0,document.removeEventListener(Cq,f,!1))}};document.addEventListener(Cq,f,!1);return""}return vM(a,b,c)}};var wM=function(a,b,c){this.zga=a;this.xv=b||B();this.HFa=!!c||!1;this.aD=null};C(wM,F);wM.prototype.xca=function(a){this.aD=a||B()};var xM=function(a){this.jja=a;this.xv=B();this.we=new Q};C(xM,F);t=xM.prototype;t.RX=function(a){this.we.set(a.zga,a)};t.px=function(){return this.jja};t.Zb=function(){return this.we.Zb()};t.Fra=function(){var a=new Q;this.we.forEach(function(b,c){b.aD&&a.set(c,b)},this);return a};t.PN=function(a){return this.we.get(a)};t.bFa=function(a){this.we.remove(a)};var yM=function(){F.call(this);this.Zy=new xM(qk);this.JA=new Q;this.N=new rA(this);this.wa(this.N);this.sH=new Wu(6E4);this.wa(this.sH);this.N.o(this.sH,bp,A(this.Raa,this));this.ra(!0)};C(yM,F);t=yM.prototype;t.R8=qk;t.LIa=function(a){this.R8=a};t.$l=function(a){this.pn=a};t.ra=function(a){a?this.sH.start():this.sH.stop()};t.zh=function(a,b,c){b=new wM(b,c);c=this.JA.get(a);c||(c=new xM(a),this.JA.set(a,c));c.RX(b)};t.kH=function(a,b){if(this.Zy){var c=new wM(a,void 0,!0);c.xca(b);this.Zy.RX(c)}};
t.Hj=function(a,b,c){(a=this.JA.get(a))&&a.PN(b)&&null==a.PN(b).aD&&a.PN(b).xca(c)};t.FFa=function(a,b){var c=b.zga,e=b.xv,f=b.aD;b.HFa?a.tick(c,void 0,f):(a.tick("_"+c,void 0,e),a.tick(c,"_"+c,f))};t.Saa=function(a){var b=a.px(),c=a.Fra();if(c.Zb())return!1;var e;if(b==qk){if(e=window.jstiming.load,b=this.R8,!e)return!1}else e=new window.jstiming.Timer(a.xv);e.name=b;c.forEach(function(b,c){this.FFa(e,b);a.bFa(c)},this);window.jstiming.report(e,{hostId:this.pn});return!0};
t.Raa=function(){if(!v.jstiming)return!1;this.JA.forEach(function(a,b){this.Saa(a);a.Zb()&&this.JA.remove(b)},this);return!0};t.US=function(){if(!v.jstiming||!this.Zy)return!1;this.Saa(this.Zy);this.Zy=null;return!0};var AM=function(){F.call(this);this.pa=zM++};C(AM,F);AM.prototype.$B=null;AM.prototype.c3=!1;var zM=0,BM=null,CM=null;t=AM.prototype;t.getAll=function(){return this.c3};t.sIa=function(a){this.c3=a};t.gh=ms(new oD("stat"));t.Cp=function(){var a=this.gh().clone(),b=qL(),c=b.nga;c&&a.Ie(c+a.getPath());a.ia("hl",b.Al);b.isNative()&&a.ia(Vk,1);(b=b.Cq)&&a.ia("oauth_token",b);return a};t.getId=function(){return this.pa};t.vc=function(){return 9};t.Of=function(){return new Q};t.xb=function(){return this.Ag().toString()};
t.VN=function(){return null};t.Ag=function(){var a=new pD,b=this.Of();b&&mC(b,function(b,c){a.set(c,b)});(b=BM)&&a.set("token",b);a.set(kq,4);if(b=CM)for(var c in b)a.set(c,b[c]);return a};t.jh=function(){this.$B||(this.$B=this.Fx().toString());return this.$B};t.Fx=function(){var a=this.Cp(),b=this.Ag();a.mi(b);b.remove("token");b.remove(kq);b.remove("tzo");b.remove("tzfp");var c=CM;if(c)for(var e in c)b.remove(e);return a};t.eza=function(){this.$B=null};
var DM=function(a,b,c,e){null!=c&&c!=e&&a.set(b,c)};var EM=function(a){this.xla=a.actionCategory;this.ib=a.url;this.hz=(a=a.supportedMimeTypes)?new oC(a):null};EM.prototype.vx=function(){return this.xla};EM.prototype.getUrl=function(){return this.ib};EM.prototype.isSupported=function(a){return!this.hz||this.hz.contains("*")||this.hz.contains(a)};var FM=function(a,b,c,e,f){this.ib=a;this.Ch=b;this.kl=c;this.bba=!!e;this.mb=f},GM=RegExp("{size}","g"),HM=RegExp("/{size}/","g"),IM=RegExp("={size}","g");t=FM.prototype;t.getUrl=function(){return this.ib};t.Rf=function(){return this.Ch};t.Be=function(){return this.kl};t.ta=function(){return this.mb};
t.ft=function(a,b,c,e){var f=this.getUrl();if(!w(a))return b=f.replace(HM,"/"),b=b.replace(IM,""),b.replace(GM,"");if(a instanceof uw)return a&&2<=v.devicePixelRatio&&!e&&(a=new uw(2*a.width,2*a.height)),f.replace(GM,"h"+a.height+"-w"+a.width+(b&&b.length?"-"+b.join("-"):""));a&&2<=v.devicePixelRatio&&!e&&(a*=2);return f.replace(GM,(c||"s")+a+(b&&b.length?"-"+b.join("-"):""))};
t.hua=function(){if(!this.Ch||!this.kl)return new FM(this.ib,this.Ch,this.kl,!1,this.mb);var a=new uw(this.Ch,this.kl);if(2048<this.Ch||2048<this.kl)a=a.HH(new uw(2048,2048));return new FM(this.ib,Math.ceil(a.width),Math.ceil(a.height),!1,this.mb)};
t.gE=function(a,b,c){var e=this.Ch,f=this.kl,g=this.mb;if(this.bba){if(a instanceof uw)return new FM(this.ft(a,b,void 0,c),e,f,!1,g);2048<a&&(a=2048);if(b&&b.length)return new FM(this.ft(a,b,void 0,c),a,a,!1,g);if(!e||!f)return new FM(this.ft(a,b,void 0,c),void 0,void 0,!1,g);if(!w(a)||0<a)b=this.Kta(a),e=b.width,f=b.height;return new FM(this.ft(a,void 0,void 0,c),e,f,!1,g)}return this.hua()};
t.Kta=function(a){var b=this.Ch,c=this.kl;a instanceof uw||(a=a||512,a=new uw(a,a));var e=b/c;b>c?(b=Math.min(a.width,b),c=Math.ceil(b/e),c>a.height&&(c=a.height,b=Math.ceil(c*e))):(c=Math.min(a.height,c),b=Math.ceil(c*e),b>a.width&&(b=a.width,c=Math.ceil(b/e)));return new uw(b,c)};var JM=function(a,b,c){var e=qL().Cq;if(!e)throw Error("oauth_token is not set");FM.call(this,a+"?access_token="+e,b,c,!0)};C(JM,FM);var KM=function(a){this.nGa=a.r;this.mGa=a.rdeg};var LM=function(a){this.pa=a.id;this.je=a.name};LM.prototype.getId=function(){return this.pa};LM.prototype.getName=function(){return this.je};var MM=function(a,b,c){this.ib=a;this.mN=b;this.cb=c};MM.prototype.getUrl=function(){return this.ib};MM.prototype.ce=function(){return this.cb};MM.prototype.bya=function(){return!!this.cb};var NM=function(a,b,c,e,f,g,h){this.Aw=a;this.Ds=b;this.rV=e;this.LB=f;this.fC=g;this.xJ=h},OM=function(a){var b=a.cid,c=a.d,e=!!a.p,f=a.ar,g=a.cn,h=a.nv;a=a.s;var k;if(a){k=[];for(var m=0;m<a.length;m++){var p=a[m];k.push(new MM(p.u,p.f,new uw(p.w,p.h)))}}if(b||c||k)return new NM(b,c,e,k,f,g,h)};NM.prototype.q9=function(a){a&&(this.Aw=a.Aw||this.Aw,this.Ds=a.Ds||this.Ds,this.ADa=a.ADa,this.rV=a.rV||this.rV,this.LB=a.LB||this.LB,this.fC=a.fC||this.fC,this.xJ=a.xJ||this.xJ)};var PM=function(a){F.call(this);this.ne=a.serviceId;this.vv=a.sourceId||"0";this.zb=a.id;this.ib=a.url;this.ax=a.embedUrl;this.mb=a.type;this.aj=a.mimeType;this.je=a.name;this.em=this.GL(a.thumbs);this.hL=this.GL(a.cThumbs);this.ZK=this.GL(a.childThumbs);this.Xh=a.lastEditedUtc||null;var b={},c=a.actions;if(c)for(var e=0;e<c.length;e++){var f=new EM(c[e]);b[f.vx()]=f}this.pj=b;b=null;(c=a.owners)&&c.length&&(b=ys(c,function(a){return new LM(a)}));this.iS=b;this.sA=null;this.ER=a.nChildren;this.Pw=
a.description||"";this.Iq=a.parent;this.xP=(b=a.imageData)?new KM(b):null;this.wJ=(b=a.videoData)&&OM(b)||null;this.AF=a.kansasVersionInfo;this.Aea=a.sortIndex||0;this.rv=a.sizeBytes;this.Vt=!!a.isNew;this.fw=a.attrs||{}};C(PM,F);
var QM=function(a){return a?ys(a,function(a){return new PM(a)}):[]},RM=function(a){return ys(a,function(a){var c={};c.serviceId=a.ne;c.sourceId=a.vv;c.id=a.zb;c.url=a.getUrl();c.embedUrl=a.ax;c.type=a.ta();c.name=a.getName();c.parent=a.Iq;c.mimeType=a.getAttribute(Gk);c=new PM(c);c.setAttribute("ico",a.getAttribute("iconUrl"));c.setAttribute("isr",a.getAttribute("isRoot"));c.setAttribute("iss",a.getAttribute(Jj));c.setAttribute("lmbm",a.getAttribute(ek));c.setAttribute("lvbm",a.getAttribute(fk));
c.setAttribute("op",a.getAttribute("otherParents"));c.setAttribute("ro",a.getAttribute("readOnly"));c.setAttribute(wq,a.getAttribute(wq));c.setAttribute("tdid",a.getAttribute(Vo));c.setAttribute("tdcac",a.getAttribute("tdcac"));c.setAttribute("tdcrc",a.getAttribute("tdcrc"));c.setAttribute("ce",a.getAttribute("ce"));c.JHa(RM(a.ih()));return c})};
PM.prototype.GL=function(a){if(!a)return null;var b=[];if(qL().Cq&&HK(this.ne))for(var c=0;c<a.length;c++){var e=a[c];b.push(new JM(e.u,e.w,e.h))}else for(c=0;c<a.length;c++)e=a[c],b.push(new FM(e.u,e.w,e.h,e.r,e.t));return b};PM.prototype.pa=null;PM.prototype.Wa=null;var SM=function(a,b,c){return z(c)&&-1!=c.indexOf(".")?c:Pr(a,".",b,".",c)};t=PM.prototype;t.getId=function(){return this.pa||(this.pa=SM(this.ne,this.vv,this.zb))};t.qI=function(a){this.ne=a};t.ta=function(){return this.mb};
t.dg=function(a){this.mb=a};t.CIa=function(a){this.zb=a;this.pa=null};t.getUrl=function(){return this.ib};t.getName=function(){return this.je};t.YN=function(){var a=this.getAttribute("ico");return a?a:"application/vnd.google-apps.calendar"==this.aj?"//ssl.gstatic.com/docs/picker/images/icon_calendar_small-v1.gif":this.aj==bf?this.getAttribute("iss")?"//ssl.gstatic.com/docs/doclist/images/icon_11_shared_collection_list.png":"//ssl.gstatic.com/docs/doclist/images/icon_11_collection_list.png":"//ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"};
t.EU=function(a){this.em=a};t.Cra=function(){return this.hL&&this.hL.length?this.hL:this.em};t.S3=function(){return this.getAttribute("lmbm")};t.o4=function(){return this.getAttribute("rDate")};t.T3=function(){return this.getAttribute("lvbm")};t.px=function(a){return this.pj[a]};t.kf=function(a){this.pj[a.vx()]=a};t.Vta=function(){var a=this.getAttribute("shu");!this.sA&&Xq(a)&&(this.sA=new LM(a));return this.sA};
t.SP=function(){var a=this.aj;return"application/chromium-bookmark-folder"==a||"application/chromium-root-folder"==a||a==bf||"application/vnd.google-apps.photoalbum"==a||a==kf};t.kt=function(){return this.ER};t.ih=function(){return this.Wa};t.JHa=function(a){this.Wa=a};t.getImageData=function(){return this.xP};t.kq=function(){return this.Vt};t.EIa=function(a){this.Vt=a};t.getAttribute=function(a){return this.fw[a]};t.setAttribute=function(a,b){this.fw[a]=b};
t.dra=function(){var a=this.getAttribute("op");if(a){if(z(a))return a.split(",");if(Sq(a))return a}return[]};t.Eza=function(a){if(null!=a&&this.getId()==a.getId()&&null!=this.Xh&&null!=a.Xh)return this.Xh>=a.Xh?!0:!1};t.Yt=function(){return this.zb==en||!!this.getAttribute("isr")};
t.q9=function(a){this.ne=a.ne||this.ne;this.vv=a.vv||this.vv;this.zb=a.zb||this.zb;this.ib=a.getUrl()||this.ib;this.ax=a.ax||this.ax;this.mb=a.ta()||this.mb;this.aj=a.aj||this.aj;this.je=a.getName()||this.je;this.em=a.em||this.em;this.ZK=a.ZK||this.ZK;this.Xh=a.Xh||this.Xh;if(a.UI||this.UI)this.UI=a.UI||this.UI;st(this.pj,a.pj);this.iS=a.iS||this.iS;this.sA=a.Vta()||this.sA;this.ER=w(a.kt())?a.kt():this.ER;this.Pw=a.Pw||this.Pw;this.Iq=a.Iq||this.Iq;this.xP=a.getImageData()||this.xP;this.wJ=a.wJ||
this.wJ;this.AF=a.AF||this.AF;this.rv=w(a.rv)?a.rv:this.rv;this.Vt=a.kq();st(this.fw,a.fw);this.Wa=a.ih()||this.Wa;if(a.XA||this.XA)this.XA=a.XA||this.XA};t.toString=function(){return this.getName()};t.B=function(){PM.g.B.call(this);delete this.fw};var TM=function(a){F.call(this);this.tD=new Q;this.M0=a};C(TM,F);TM.prototype.set=function(a,b){this.tD.set(a,b)};TM.prototype.Ki=function(a,b){var c=this.tD.get(a)||this.M0;if(c)return c.apply(void 0,Array.prototype.slice.call(arguments,1))};TM.prototype.B=function(){TM.g.B.call(this);this.tD.clear();this.M0=this.tD=null};var VM=function(a){F.call(this);this.UFa=(this.dk=null!=a&&null!=a.response)?a.response:null;this.Ks=!!a.error;this.IM=a.errorMessage;this.pa=UM++;this.Xw=[];this.ah=null};C(VM,F);var UM=0;t=VM.prototype;t.aA=function(a){this.Xw=a};t.Rx=function(){return this.UFa};t.vc=function(){return 9};t.getError=function(){return this.Ks};t.getId=function(){return this.pa};t.Kc=function(){return this.Xw};t.FIa=function(a){this.dk=a};t.Vp=function(){return null!=this.ah};t.fr=function(a){this.ah=a};
t.B=function(){VM.g.B.call(this);this.Xw=[]};var WM=function(a){if(a instanceof VM)return a;var b={};b.error=a.getError();b.errorMessage=a.IM;b.errorCode=a.IM;b=new VM(b);b.aA(RM(a.Kc()));b.FIa(a.dk);a.Vp()&&a.ah&&b.fr(a.ah);return b},XM=new TM(function(a){return new VM(a)});var YM=function(){F.call(this)};C(YM,F);YM.prototype.ac="";YM.prototype.setValue=function(a){this.ac=a};YM.prototype.getValue=function(){return this.ac};var ZM=function(a,b){BA.call(this,b);this.X=a};C(ZM,BA);ZM.prototype.getContext=function(){return this.X};ZM.prototype.jb=function(a){ZM.g.jb.call(this,a);a.id&&this.ki(a.id)};var $M=function(a,b){ZM.call(this,a,b);this.C().o(a.xf,wq,this.UO)};C($M,ZM);t=$M.prototype;t.Qa=!1;t.setActive=function(a){this.Qa!=a&&(this.Qa=a,this.ba&&this.K(a))};t.K=function(a){S(this.b(),a)};t.gd=function(){return!1};t.ii=function(){};t.ct=function(){return new oC};t.ID=function(){return-1};t.am=function(){return!1};t.UO=function(a){a.data.visible&&this.Qa&&this.am()};t.pY=function(a,b,c,e){e()};t.Xea=Pq;t.Zs=ps;t.zh=function(a){var b=this.getContext().Zi,c=this.Zs();b&&c&&b.zh(c,a)};
t.Hj=function(a){var b=this.getContext().Zi,c=this.Zs();b&&c&&b.Hj(c,a)};var aN=function(){M.call(this)};C(aN,M);t=aN.prototype;t.Pc=null;t.Gc=null;t.Ooa=function(a){this.dispatchEvent(new bN("o",a))};t.Ioa=function(a){this.dispatchEvent(new bN("j",a))};t.Dc=function(a,b){this.dispatchEvent(new cN(a,b))};t.Ru=function(a,b){this.Pc=a;this.Gc=b;this.dispatchEvent(new dN(b))};t.hca=function(a){this.dispatchEvent(new eN(a))};t.B=function(){aN.g.B.call(this);this.Gc=null};var bN=function(a,b,c){J.call(this,a,c);this.MA=b};C(bN,J);
var cN=function(a,b,c){bN.call(this,"k",a,c);this.Aoa=b};C(cN,bN);var eN=function(a){J.call(this,"m");this.nla=a};C(eN,J);var dN=function(a){J.call(this,"l");this.YNa=a};C(dN,J);var fN=["opb","opl","opr","opdr",ll,ml,kl,"opt","opu","opv","opm","opmd"],gN=function(a,b){if(b.De()){if(!rK(a.xa))throw Error("Minimal UI only supports docs folder picker.");return"opmd"}var c=a.getOption(Jk);switch(a.xa){case uh:case "et":case wj:case Ll:case Ml:case Im:case "quota":case Lq:return kl;case Ql:var e=a.getOption(Gl),f=a.getOption(Ip);return f==rq||f==qq?"opv":a.getOption(Qp)||"edit"==c&&(e||a.getOption(sj))?ml:kl;case Nl:case Pl:case Bq:return ml;case Ol:return"opt";case Cg:return"opr";
case Qp:return a.aQ()?ml:"opu";case oq:case pq:case nq:case Kq:return"opv";case yk:case zk:return"opm";case Xf:case Bg:return"opl";case kg:case xg:case Yi:case Jl:return ll;case Of:return"opb";case Vm:if(c==Ql)return kl;if(c==pq)return"opv"}return rK(a.xa)?a.Ba(Zg)&&c!=nk?"opv":b.lp?"opdr":kl:"opc"};var hN=function(){};Qq(hN);t=hN.prototype;t.qW=0;t.rW=0;t.VZ=0;t.tAa=function(){D(void 0===this.N);this.N=new rA(this);this.N.rq(window,zH,function(){this.VZ++});this.N.wl(window,Lp,this.TCa,!1,this)};t.TCa=function(){this.N.dispose()};t.Kra=function(){return{xc:this.qW,xec:this.rW,click:this.VZ}};var iN=function(a,b){F.call(this);this.v9=a||0;this.Yj=b||10;if(this.v9>this.Yj)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Pe=new NL;this.rn=new oC;this.ws=0;this.yQ=null;this.AB()};C(iN,F);t=iN.prototype;t.il=function(){var a=B();if(!(null!=this.yQ&&a-this.yQ<this.ws)){var b=this.fFa();b&&(this.yQ=a,this.rn.add(b));return b}};t.Ul=function(a){return this.rn.remove(a)?(this.iK(a),!0):!1};
t.fFa=function(){for(var a;0<this.K3()&&(a=this.Pe.Yo(),!this.JR(a));)this.AB();!a&&this.Ga()<this.Yj&&(a=this.Rk());return a};t.iK=function(a){this.rn.remove(a);this.JR(a)&&this.Ga()<this.Yj?this.Pe.enqueue(a):this.gp(a)};t.AB=function(){for(var a=this.Pe;this.Ga()<this.v9;)a.enqueue(this.Rk());for(;this.Ga()>this.Yj&&0<this.K3();)this.gp(a.Yo())};t.Rk=function(){return{}};t.gp=function(a){if(typeof a.dispose==Yh)a.dispose();else for(var b in a)a[b]=null};
t.JR=function(a){return typeof a.tla==Yh?a.tla():!0};t.contains=function(a){return this.Pe.contains(a)||this.rn.contains(a)};t.Ga=function(){return this.Pe.Ga()+this.rn.Ga()};t.Asa=function(){return this.rn.Ga()};t.K3=function(){return this.Pe.Ga()};t.Zb=function(){return this.Pe.Zb()&&this.rn.Zb()};t.B=function(){iN.g.B.call(this);if(0<this.Asa())throw Error("[goog.structs.Pool] Objects not released");delete this.rn;for(var a=this.Pe;!a.Zb();)this.gp(a.Yo());delete this.Pe};var jN=function(a,b){this.T0=void 0;this.uH=new fM;iN.call(this,a,b)};C(jN,iN);t=jN.prototype;t.il=function(a,b){if(!a){var c=jN.g.il.call(this);c&&this.ws&&(this.T0=v.setTimeout(A(this.CE,this),this.ws));return c}this.uH.enqueue(w(b)?b:100,a);this.CE()};t.CE=function(){for(var a=this.uH;0<a.Ga();){var b=this.il();if(b)a.Yo().apply(this,[b]);else break}};t.iK=function(a){jN.g.iK.call(this,a);this.CE()};t.AB=function(){jN.g.AB.call(this);this.CE()};
t.B=function(){jN.g.B.call(this);v.clearTimeout(this.T0);this.uH.clear();this.uH=null};var kN=function(a,b,c,e){this.fP=a;this.Or=!!e;jN.call(this,b,c)};C(kN,jN);kN.prototype.Rk=function(){var a=new YD,b=this.fP;b&&b.forEach(function(b,e){a.headers.set(e,b)});this.Or&&a.MU(!0);return a};kN.prototype.JR=function(a){return!a.isDisposed()&&!a.Bc()};var lN=function(a,b,c,e,f,g){M.call(this);this.kR=w(a)?a:1;this.fm=w(f)?Math.max(0,f):0;this.Nv=new kN(b,c,e,g);this.Qd=new Q;this.N=new rA(this)};C(lN,M);var mN=[Sm,vg,Mo,sh,Ie,"timeout"];t=lN.prototype;t.sI=function(a){this.fm=Math.max(0,a)};t.pta=function(){return this.Qd.Ga()};t.send=function(a,b,c,e,f,g,h,k,m,p){if(this.Qd.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new nN(b,A(this.ey,this,a),c,e,f,h,w(k)?k:this.kR,m,p);this.Qd.set(a,b);a=A(this.Pua,this,a);this.Nv.il(a,g);return b};
t.abort=function(a,b){var c=this.Qd.get(a);if(c){var e=c.jB;c.gHa(!0);b&&(e&&(this.Eaa(e,c.sW),Nu(e,Sm,function(){this.Nv.Ul(e)},!1,this)),this.Qd.remove(a));e&&e.abort()}};t.Pua=function(a,b){var c=this.Qd.get(a);c&&!c.jB?(this.Wja(b,c.sW),b.sI(this.fm),b.xJa(c.Gz),b.MU(c.Or),c.jB=b,this.dispatchEvent(new oN(Sm,this,a,b)),this.rba(a,b),c.yX&&b.abort()):this.Nv.Ul(b)};
t.ey=function(a,b){var c=b.target;switch(b.type){case Sm:this.rba(a,c);break;case vg:return this.jva(a,c,b);case Mo:this.qy(a,c);break;case "timeout":case sh:this.ee(a,c);break;case Ie:this.Iua(a,c)}return null};t.rba=function(a,b){var c=this.Qd.get(a);!c||c.i_||c.bP()?(c&&(this.Eaa(b,c.sW),this.Qd.remove(a)),this.Nv.Ul(b)):(c.Fya(),b.send(c.getUrl(),c.mBa,c.xb(),c.VN()))};
t.jva=function(a,b,c){var e=this.Qd.get(a);if(7==b.Lc||b.Zt()||e.bP())if(this.dispatchEvent(new oN(vg,this,a,b)),e&&(e.OHa(!0),e.h_))return e.h_.call(b,c);return null};t.Iua=function(a,b){this.dispatchEvent(new oN(Ie,this,a,b))};t.qy=function(a,b){this.dispatchEvent(new oN(Mo,this,a,b))};t.ee=function(a,b){this.Qd.get(a).bP()&&this.dispatchEvent(new oN(sh,this,a,b))};t.Eaa=function(a,b,c){this.N.Ja(a,c||mN,b)};t.Wja=function(a,b,c){this.N.o(a,c||mN,b)};
t.B=function(){lN.g.B.call(this);this.Nv.dispose();this.Nv=null;this.N.dispose();this.N=null;this.Qd.clear();this.Qd=null};var oN=function(a,b,c,e){J.call(this,a,b);this.id=c;this.jB=e};C(oN,J);var nN=function(a,b,c,e,f,g,h,k,m){this.ib=a;this.mBa=c||"GET";this.hd=e;this.fP=f||null;this.kR=w(h)?h:1;this.NY=0;this.yX=this.i_=!1;this.sW=b;this.h_=g;this.Gz=k||"";this.Or=!!m;this.jB=null};t=nN.prototype;t.getUrl=function(){return this.ib};t.xb=function(){return this.hd};t.VN=function(){return this.fP};
t.Fya=function(){this.NY++};t.bP=function(){return this.NY>this.kR};t.OHa=function(a){this.i_=a};t.gHa=function(a){this.yX=a};var pN=function(a,b,c,e){J.call(this,a,b);this.request=c;this.response=e||null};C(pN,J);var qN=function(a,b,c,e,f,g,h){J.call(this,a,b);this.request=c;this.response=e;this.zEa=h};C(qN,pN);var rN=function(){M.call(this);this.Xr=QC("picker.net.BaseCommunicationsManager");this.Wh=!1;this.GR=0;this.Uz=new Q;this.TG=new Q;this.vH=new Q;this.N=new rA(this);this.naa=new Wu(6E4);this.N.o(this.naa,bp,this.Hwa)};C(rN,M);t=rN.prototype;t.cC=function(){return!1};t.Cx=function(){return this.N};t.initialize=function(){V(this.Xr,"Initializing...");this.Wh=!0;for(var a=this.vH,b=a.Cb(),c=0;c<b.length;c++)this.Tz(b[c]);a.clear();this.naa.start()};
t.Tz=function(a){gs(a,AM);this.Wh?(V(this.Xr,"sendRequest with id="+a.getId()+la+a.jh()+ka+a.vc()),this.TG.set(a.getId(),a),this.Zba(a),this.GR++):(V(this.Xr,"sendRequest before initialization with id="+a.getId()+la+a.jh()+ka+a.vc()),this.vH.set(a.getId(),a))};t.faa=function(a){var b=this.TG,c=b.get(a);c&&(V(this.Xr,"processReady with id="+a+la+c.jh()+ka+c.vc()),this.dispatchEvent(new qN(Sm,this,c)),b.remove(a),this.Uz.set(a,c))};
t.AS=function(a,b){var c=this.Uz,e=c.get(a);e&&(V(this.Xr,"processSuccess with id="+a+la+e.jh()+ka+e.vc()),c.remove(a),c=XM.Ki(e.vc(),b),this.dispatchEvent(new qN(Mo,this,e,c||void 0,b)))};t.yS=function(a,b,c){var e=this.Uz,f=e.get(a);f&&(SC(this.Xr,"processError with id="+a+ka+f.vc()+" and opt_errorCode="+b),e.remove(a),this.Loa(f,b,c))};t.Loa=function(a,b,c){a=Sq(a)?a:[a];for(var e=0;e<a.length;e++)this.dispatchEvent(new qN(sh,this,a[e],void 0,void 0,b,c))};
t.Hwa=function(){45<this.GR&&window.location.reload(!0);this.GR=0};t.B=function(){this.TG.clear();this.TG=null;this.Uz.clear();this.Uz=null;this.vH.clear();this.vH=null;this.N.dispose();this.N=null;rN.g.B.call(this)};var sN=QC("picker.net.JsonResponseUtil"),tN=function(a,b){var c;try{var e=b;0==e.indexOf(Da)&&(e=e.substring(11));c=PD(e)}catch(f){return SC(sN,"response could not be parsed for id="+a,f),null}return Xq(c)?c:(SC(sN,"response not an object for id="+a),null)};var uN=function(a){rN.call(this);this.L=a;a=new Q;a.set("Content-control","no-cache");a.set("X-Same-Domain","explorer");a=new lN(0,a,0,4,2E4);this.Cx().o(a,[Sm,Mo,sh],this.ey);this.Qr=a};C(uN,rN);t=uN.prototype;t.D=QC("picker.net.CommunicationsManager");t.sI=function(a){this.Qr.sI(a)};t.cC=os;t.Zba=function(a){hN.S().qW++;var b=a.Cp();b.ia(jj,this.L.pn);this.Qr.send(a.getId()+"",b.toString(),Kd,a.xb(),a.VN(),100)};
t.ey=function(a){var b;b=a.id;var c=Number(b);b=0==c&&lr(b)?NaN:c;c=a.jB;switch(a.type){case Sm:this.Iwa(b,c);break;case Mo:this.qy(b,c);break;case sh:this.ee(b,c)}};t.Iwa=function(a){this.faa(a)};t.qy=function(a,b){var c=tN(a,b.Te());c?this.AS(a,c):this.yS(a)};t.ee=function(a,b){hN.S().rW++;this.yS(a,b.dn(),b)};t.B=function(){this.Qr&&(this.Qr.pta()?this.Cx().qq(this.Qr,[Mo,sh],function(){Xu(this.B,0,this)}):(uN.g.B.call(this),this.Qr.dispose(),this.Qr=null))};var vN=function(a){VM.call(this,a);this.dk&&(a=this.Rx(),this.aA(QM(a.docs||[])))};C(vN,VM);vN.prototype.vc=function(){return 3};XM.set(3,function(a){return new vN(a)});var wN=function(a,b,c){AM.call(this);this.ne=a;this.tM=b;this.pb=c};C(wN,AM);wN.prototype.gh=ms(new oD("fetch"));wN.prototype.vc=function(){return 3};wN.prototype.getOptions=function(){return this.pb};wN.prototype.Of=function(){var a=new Q;DM(a,sj,RD(this.tM));DM(a,zn,this.ne);DM(a,ql,RD(this.pb));return a};var xN=function(a){VM.call(this,a);this.dk&&(a=this.Rx(),this.aA(QM(a.docs||[])))};C(xN,VM);xN.prototype.vc=function(){return 5};XM.set(5,function(a){return new xN(a)});var yN=function(a,b,c,e){AM.call(this);this.$Ca=a;this.ne=b;this.tM=c;this.pb=e};C(yN,AM);t=yN.prototype;t.gh=ms(new oD("mutate"));t.vc=function(){return 5};t.getOptions=function(){return this.pb};t.Of=function(){var a=new Q;DM(a,sj,RD(this.tM));DM(a,zn,this.ne);DM(a,"operation",this.$Ca);DM(a,ql,RD(this.pb));return a};t.Fx=function(){var a=yN.g.Fx.call(this);a.ia("requestid",this.getId());return a};var zN=function(a){VM.call(this,a);this.dk&&(a=this.Rx(),this.aA(QM(a.docs||[])),this.Kf=a.cursor,a.cToken&&this.fr(a.cToken))};C(zN,VM);zN.prototype.vc=function(){return 10};zN.prototype.ln=function(){return void 0!=this.Kf};zN.prototype.getCursor=function(){return this.Kf};XM.set(10,function(a){return new zN(a)});var AN=function(a){VM.call(this,a);a=this.Rx()||{};this.aA(QM(a.docs||[]));this.Kf=a.cursor};C(AN,VM);AN.prototype.vc=function(){return 13};AN.prototype.ln=function(){return void 0!=this.Kf};AN.prototype.getCursor=function(){return this.Kf};XM.set(13,function(a){return new AN(a)});var BN=function(a,b,c,e){AM.call(this);this.aoa=a;"c"==a&&this.sIa(!0);this.Az=b;this.Z=c;this.dm=0;this.ZM=e||new mL(1023)};C(BN,AM);t=BN.prototype;t.gh=ms(new oD("ppl"));t.vc=function(){return 13};t.getQuery=function(){return this.Az};t.getParent=function(){return this.Z};t.Of=function(){var a=new Q;DM(a,"d",this.aoa);DM(a,"q",this.Az);DM(a,"p",this.Z);return a};t.setStart=function(a){this.dm=a};t.getCursor=function(){return this.Kf};t.setCursor=function(a){this.Kf=a};var CN=function(a){AM.call(this);this.dm=a.start||0;this.sLa=a.sort||3;this.poa=void 0==a.desc||!!a.desc;this.Az=a.query||a.q;this.Kf=a.cursor;this.ah=a.continuationToken||"";this.uEa=a.queryNameOnly};C(CN,AM);t=CN.prototype;t.setStart=function(a){this.dm=a};t.getQuery=function(){return this.Az};t.setCursor=function(a){this.Kf=a};t.getCursor=function(){return this.Kf};t.fr=function(a){this.ah=a||""};
t.Of=function(){var a=new Q;DM(a,Co,this.dm);DM(a,"numResults",50);DM(a,"sort",this.sLa);DM(a,"desc",this.poa);DM(a,"q",this.Az);DM(a,"qNameOnly",this.uEa);DM(a,"cursor",this.Kf);this.ah&&DM(a,"cToken",this.ah);return a};t.Fx=function(){var a=CN.g.Fx.call(this),b=a.Ag();b.remove(Co);b.remove("numResults");b.remove("cursor");b.remove("cToken");return a};var DN=function(a){CN.call(this,a);this.hz=a.mimeTypes;this.pBa=a.mine;this.Z=a.parent;this.Is=a.email;var b={};b.opts=a;this.aca=b};C(DN,CN);t=DN.prototype;t.gh=ms(new oD("vr"));t.vc=function(){return 10};t.XZ=function(a){var b=this.aca.opts;if(!b)return a||{};b=ot(b);if(a)for(var c in a)b[c]=a[c];return b};t.clone=function(a){return new DN(this.XZ(a))};t.Zn=function(){return RD(this.aca)};t.getParent=function(){return this.Z};t.Va=function(a){this.Z=a;this.eza()};t.getEmail=function(){return this.Is};
t.Of=function(){var a=DN.g.Of.call(this);DM(a,Hk,this.hz);DM(a,Gl,this.Z);DM(a,kh,this.Is);DM(a,"mine",this.pBa);return a};var EN=function(a){DN.call(this,a);this.eca=a.service;this.mb=a.type;this.wga=a.username;this.pb=a.options};C(EN,DN);t=EN.prototype;t.gh=ms(new oD("pvr"));t.Of=function(){var a=EN.g.Of.call(this);DM(a,zn,this.eca);DM(a,Ip,this.mb);this.wga&&DM(a,"userName",this.wga);DM(a,ql,RD(this.pb));return a};t.KJa=function(a){this.eca=a};t.ta=function(){return this.mb};t.getOptions=function(){return this.pb};t.setOption=function(a,b){this.pb||(this.pb={});b?this.pb[a]=b:delete this.pb[a]};
t.npa=function(a){this.pb||(this.pb={});this.pb[a]=!0};QC("goog.debug.ErrorReporter");var FN=function(a){M.call(this);this.YG=a.YG;this.ZG=a.ZG;this.uz=a.uz;this.G7=!0;this.nc=null};C(FN,M);FN.prototype.cC=function(a){return this.G7&&a instanceof EN&&(this.G7=!1,this.Ika(a))?!0:!1};FN.prototype.initialize=Pq;var GN=function(a,b){return a===b||(void 0===a||null===a)&&(void 0===b||null===b)};t=FN.prototype;
t.Ika=function(a){var b=new Q(this.uz.options),c=new Q(a.getOptions()),e=b.get(Hk);e&&(e=e.split(","),Us(e),b.set(Hk,e.join()));if(e=c.get(Hk))e=e.split(","),Us(e),c.set(Hk,e.join());if(!b.$d(c,GN))return!1;var b=new oD("picker/pvr"),f;for(f in this.ZG)b.ia(f,this.ZG[f]);c=new pD;for(f in this.uz)c.set(f,this.uz[f]);b.mi(c);c.remove(ql);f=a.Cp();a=a.Ag();f.mi(a);a.remove(ql);return b.toString()==f.toString()};t.Tz=function(a){gs(a,EN);this.nc=a;this.YG.addCallback(A(this.Ewa,this))};
t.Ewa=function(a,b){if(200==a&&b){var c=tN(this.nc.getId(),b);if(c){this.nEa(c);this.nc=null;return}}this.jEa();this.nc=null};t.nEa=function(a){var b=XM.Ki(this.nc.vc(),a);this.dispatchEvent(new qN(Mo,this,this.nc,b,a))};t.jEa=function(){this.dispatchEvent(new qN(sh,this,this.nc))};var HN=function(a){AM.call(this);this.Yc=a};C(HN,AM);HN.prototype.gh=ms(new oD("stat"));HN.prototype.Cp=function(){var a=HN.g.Cp.call(this);E(this.Yc,function(b){a.Ag().add("stat",b)});return a};HN.prototype.vc=function(){return 8};HN.prototype.jh=function(){return HN.g.jh.call(this)+"/"+this.getId()};var IN=function(){F.call(this)};C(IN,F);IN.prototype.initialize=function(){};var JN=function(a,b){this.uD=a;this.Ua=b};JN.prototype.Ki=function(a){this.uD&&(this.uD.call(this.Ua||null,a),this.uD=this.Ua=null)};JN.prototype.abort=function(){this.Ua=this.uD=null};var KN=function(a,b){F.call(this);this.ooa=a;this.pa=b;this.aS=[];this.QR=[];this.y1=[]};C(KN,F);t=KN.prototype;t.uBa=IN;t.Hl=null;t.LN=function(){return this.ooa};t.getId=function(){return this.pa};t.lH=function(a,b){return this.mH(this.aS,a,b)};t.PEa=function(a,b){return this.mH(this.QR,a,b)};t.mH=function(a,b,c){b=new JN(b,c);a.push(b);return b};t.fe=function(){return!!this.Hl};
t.EG=function(a){var b=new this.uBa;b.initialize(a());this.Hl=b;b=(b=!!this.UK(this.y1,a()))||!!this.UK(this.aS,a());b||(this.QR.length=0);return b};t.iCa=function(a){(a=this.UK(this.QR,a))&&window.setTimeout(rs("Module errback failures: "+a),0);this.y1.length=0;this.aS.length=0};t.UK=function(a,b){for(var c=[],e=0;e<a.length;e++)try{a[e].Ki(b)}catch(f){zt(f),c.push(f)}a.length=0;return c.length?c:null};t.B=function(){KN.g.B.call(this);Rt(this.Hl)};var LN=function(){F.call(this);this.En={};this.zl=[];this.Vl=[];this.Ez=[];this.Zf=[];this.eB=[];this.bC={};this.B0=this.RB=new KN([],"");this.Qya=new YG;this.D=QC("goog.module.ModuleManager");this.gma=this.$Y=!1;this.S8=null;this.sC=0;this.vga=this.r8=!1;this.ku=null};C(LN,F);Qq(LN);t=LN.prototype;t.kh=function(a){return this.En[a]};t.$sa=function(){return this.ku};t.XIa=function(a){this.ku=a;this.dBa()};t.Bc=function(){return 0<this.zl.length};t.Vza=function(){return 0<this.eB.length};
t.ep=function(){var a=this.r8,b=this.Bc();b!=a&&(this.eD(b?Ne:"idle"),this.r8=b);a=this.Vza();a!=this.vga&&(this.eD(a?"userActive":"userIdle"),this.vga=a)};t.S$=function(a,b){var c=new YG;window.setTimeout(A(this.Lja,this,a,c),b||0);return c};t.Lja=function(a,b){var c=this.kh(a);c.fe()?b.Ad(this.ku):(this.saa(a,c,!1,b),this.pF(a)||this.VQ([a]))};
t.EAa=function(a,b){var c=[];Ss(a,c);for(var e=[],f={},g=0;g<c.length;g++){var h=c[g],k=this.kh(h);if(!k)throw Error("Unknown module: "+h);var m=new YG;f[h]=m;k.fe()?m.Ad(this.ku):(this.saa(h,k,!!b,m),this.pF(h)||e.push(h))}0<e.length&&this.VQ(e);return f};t.saa=function(a,b,c,e){b.lH(e.Ad,e);b.PEa(function(a){e.tf(Error(a))});this.pF(a)?c&&(V(this.D,Be+a),this.xB(a),this.ep()):c?(V(this.D,Ce+a),this.xB(a)):V(this.D,wd+a)};
t.VQ=function(a){this.gma?this.Qya.Ra(A(this.QF,this,a)):Hs(this.zl)?this.QF(a):(this.Zf.push(a),this.ep())};t.kra=function(){return 5E3*Math.pow(this.sC,2)};t.QF=function(a,b,c){b||(this.sC=0);b=this.kEa(a);V(this.D,"Loading module(s): "+b);this.zl=b;this.Vl=this.$Y?a:Os(b);this.ep();Hs(b)||(this.Ez.push.apply(this.Ez,b),a=A(this.S8.$Wa,this.S8,Os(b),this.En,null,A(this.lwa,this,this.Vl,b),A(this.nwa,this),!!c),(c=this.kra())?window.setTimeout(a,c):a())};
t.kEa=function(a){for(var b=0;b<a.length;b++)if(this.En[a[b]].fe())throw Error("Module already loaded: "+a[b]);for(var c=[],b=0;b<a.length;b++)c=c.concat(this.d4(a[b]));Ss(c);return!this.$Y&&1<c.length?(b=c.shift(),V(this.D,"Must load "+b+" module before "+a),this.Zf=ys(c,function(a){return[a]}).concat(this.Zf),[b]):c};
t.d4=function(a){var b=[];Gs(this.Ez,a)||b.push(a);for(a=Os(this.kh(a).LN());a.length;){var c=a.pop();this.kh(c).fe()||Gs(this.Ez,c)||(b.unshift(c),Array.prototype.unshift.apply(a,this.kh(c).LN()))}Ss(b);return b};t.dBa=function(){this.B0==this.RB&&(this.B0=null,this.RB.EG(A(this.$sa,this))&&this.nM(4),this.ep())};t.pF=function(a){if(Gs(this.zl,a))return!0;for(var b=0;b<this.Zf.length;b++)if(Gs(this.Zf[b],a))return!0;return!1};
t.Ls=function(a,b,c,e,f,g){var h=this.En[a];h.fe()?(V(this.D,a+" module already loaded"),b=new JN(b,c),g?b.Ki(this.ku):window.setTimeout(A(b.Ki,b),0)):this.pF(a)?(V(this.D,a+" module already loading"),b=h.lH(b,c),f&&(V(this.D,Be+a),this.xB(a),this.ep())):(V(this.D,"Registering callback for module: "+a),b=h.lH(b,c),e||(f&&(V(this.D,Ce+a),this.xB(a)),V(this.D,wd+a),this.VQ([a])));return b};t.load=function(a,b){return this.EAa([a],b)[a]};t.xB=function(a){Gs(this.eB,a)||this.eB.push(a)};
t.lwa=function(a,b,c){this.sC++;this.Vl=a;E(b,cr(Ls,this.Ez),this);401==c?(V(this.D,"Module loading unauthorized"),this.nM(0),this.Zf.length=0):410==c?(this.VS(3),this.WQ()):3<=this.sC?(V(this.D,"Aborting after failure to load: "+this.zl),this.VS(1),this.WQ()):(V(this.D,"Retrying after failure to load: "+this.zl),this.QF(this.Vl,!0,8001==c))};t.nwa=function(){V(this.D,"Aborting after timeout: "+this.zl);this.VS(2);this.WQ()};
t.VS=function(a){1<this.Vl.length?this.Zf=ys(this.Vl,function(a){return[a]}).concat(this.Zf):this.nM(a)};
t.nM=function(a){var b=this.Vl;this.zl.length=0;for(var c=[],e=0;e<this.Zf.length;e++){var f=xs(this.Zf[e],function(a){var c=this.d4(a);return As(b,function(a){return Gs(c,a)})},this);Ps(c,f)}for(e=0;e<b.length;e++)Js(c,b[e]);for(e=0;e<c.length;e++){for(f=0;f<this.Zf.length;f++)Ls(this.Zf[f],c[e]);Ls(this.eB,c[e])}var g=this.bC.error;if(g)for(e=0;e<g.length;e++)for(var h=g[e],f=0;f<c.length;f++)h(sh,c[f],a);for(e=0;e<b.length;e++)this.En[b[e]]&&this.En[b[e]].iCa(a);this.Vl.length=0;this.ep()};
t.WQ=function(){for(;this.Zf.length;){var a=xs(this.Zf.shift(),function(a){return!this.kh(a).fe()},this);if(0<a.length){this.QF(a);return}}this.ep()};t.lH=function(a,b){Sq(a)||(a=[a]);for(var c=0;c<a.length;c++)this.mH(a[c],b)};t.mH=function(a,b){var c=this.bC;c[a]||(c[a]=[]);c[a].push(b)};t.eD=function(a){for(var b=this.bC[a],c=0;b&&c<b.length;c++)b[c](a)};t.B=function(){LN.g.B.call(this);St(gt(this.En),this.RB);this.bC=this.Zf=this.eB=this.Vl=this.zl=this.En=null};var MN=function(a){F.call(this);this.LV=a||0;this.Bd={};this.Hm=[];this.Hg=!1;this.Kf="0";this.ah="";this.TQ=[];this.Dga=this.UM=0};C(MN,F);t=MN.prototype;t.qL=function(a){return!!this.Bd[a]};t.Kc=function(){return Os(this.Hm)};t.ce=function(){return this.Hm.length};t.Jda=function(){this.Dga=B()};
t.km=function(a){var b=[],c=[],e=[],f=this.Bd,g=this.Hm,h=[],k={};E(a,function(a){var b=a.getId(),c=k[b];void 0!==c?h[c]=a:(k[b]=h.length,h.push(a))});a=h;if(this.Ye())E(a,function(a){var c=a.getId(),h=f[c];f[c]=a;h?(g[us(g,h)]=a,e.push(c)):(g.push(a),b.push(c))});else{var m=f;this.Bd=f={};this.Hm=g=[];E(a,function(a){var c=a.getId();f[c]=a;g.push(a);m[c]?(delete m[c],e.push(c)):b.push(c)});at(m,function(a,b){c.push(b)});this.Hg=!0;this.UM=B()}Vs(this.Hm,this.qLa);B();this.n1(b,c,e)};
t.mj=function(a,b){for(var c=0;c<this.Hm.length;c++)this.Hm[c].getId()==a&&(this.Hm[c]=b);mt(this.Bd,a);this.Bd[b.getId()]=b;this.n1([],[],[a])};t.Ye=function(){return this.Hg&&(!this.LV||this.Dga-this.UM<this.LV)};t.fF=function(a){if(a||!this.LV)this.Hg=!1};t.ln=function(){return void 0!=this.Kf};t.getCursor=function(){return this.Kf};t.setCursor=function(a){this.Kf=a};t.Vp=function(){return!!this.ah};t.fr=function(a){this.ah=a||""};t.addListener=function(a){this.TQ.push(a)};
t.removeListener=function(a){Ls(this.TQ,a)};t.n1=function(a,b,c){E(this.TQ,function(e){e(a,b,c)})};t.qLa=function(a,b){return a.Aea-b.Aea};var NN=function(a){F.call(this);this.L=a;this.Bd={};this.us={}};C(NN,F);var ON=0;t=NN.prototype;t.J=function(a){var b=this.Bd[a];if(b)return b;if(!z(a))return null;b=a.split(".");if(3!=b.length)return null;var c=b[0],e=b[1];return b[2]==en&&(b=Es(this.Kc(),function(a){return a.Yt()&&a.ne==c&&a.vv==e}))?this.Bd[a]=b:null};
t.km=function(a){var b=this.Bd;E(a,function(a){0!=a.Eza(b[a.getId()])&&(b[a.getId()]?b[a.getId()].q9(a):b[a.getId()]=a)});at(this.us,function(b){if(b.Ye()){var e=xs(a,function(a){return b.qL(a.getId())});e.length&&(e=ys(e,function(a){return this.J(a.getId())},this),b.km(e))}},this)};t.mj=function(a,b){this.Bd[b.getId()]=b;at(this.us,function(c){c.Ye()&&c.qL(a)&&c.mj(a,b)})};t.Kc=function(){return gt(this.Bd)};t.ze=function(a){a=a.jh();var b=this.us[a];b||(b=this.us[a]=new MN(this.L.E4()));return b};
t.zR=function(){return this.us["_newnodes_"+ON++]=new MN(this.L.E4())};t.dza=function(a){at(this.us,function(b){b.fF(a)})};var PN=function(a){F.call(this);this.na=a;this.Qd=new Q;this.CV=100;this.X6=this.AQ=0;this.so=null};C(PN,F);t=PN.prototype;t.Gd=function(a,b,c,e,f){b=new QN(a,b,c,e,f);this.Qd.Ic(a)?Js(this.Qd.get(a),b):this.Qd.set(a,[b]);this.FU()};t.FU=function(){var a=this.AQ;this.AQ=B();null===this.so&&(this.CV=this.dta(this.CV,4E3<this.AQ-a),this.so=Xu(this.uxa,this.CV,this))};t.uxa=function(){this.so=null;this.na.Gd(new wN(Rl,this.Qd.vb(),{includeProtoPhoto:r,includeFaceData:r}),A(this.Nwa,this),A(this.FU,this))};
t.Nwa=function(a){this.isDisposed()||(E(a.Kc(),function(a){for(var c=this.Qd.get(a.zb,[]),e=0;e<c.length;){var f=c[e];if(!f.context.isDisposed())if(f.SDa.call(f.context,a)){f.Ad.call(f.context,a);Ks(c,e);continue}else if(60>f.Bfa)f.Bfa++;else{Ks(c,e);continue}e++}c.length||this.Qd.remove(a.zb)},this),this.Qd.Ga()&&this.FU())};t.dta=function(a,b){var c=B()-5E3;return b||this.X6<c?(this.X6=B(),100):50*a};t.B=function(){PN.g.B.call(this);null===this.so||Yu(this.so)};
var QN=function(a,b,c,e,f){this.context=b;this.Ad=c;this.SDa=e||os;this.Bfa=f||0};var RN=function(a){F.call(this);this.na=a;this.Yc=[];this.lj=new ND(this.lx,15E3,this)};C(RN,F);RN.prototype.D=QC("picker.base.StatManager");RN.prototype.add=function(a){V(this.D,"Queuing stat: "+a);this.Yc.push(a);this.lj.Rs()};RN.prototype.flush=function(){this.lj.stop();this.lx()};RN.prototype.lx=function(){this.Yc.length&&(V(this.D,"Sending stats: "+this.Yc.join(",")),this.na.Gd(new HN(this.Yc),Pq,Pq),Is(this.Yc))};var SN=function(a){F.call(this);this.L=a;this.Dm=new NN(a);this.wa(this.Dm);this.N=new rA(this);this.wa(this.N);this.Hq=new Q;this.qC=[];this.Gea=new uN(a);this.uB(this.Gea);a.YG&&a.Kza()&&this.uB(new FN(a));this.boa=new PN(this);this.wa(this.boa);this.jV=new RN(this);this.wa(this.jV)};C(SN,F);var TN=function(a,b,c){this.Ad=a;this.tf=b;this.WMa=c};t=SN.prototype;t.D=QC("picker.base.DataHub");t.Zz=function(a){this.X=a};t.uB=function(a){this.qC.push(a);this.N.o(a,[Mo,sh],this.Mwa)};
t.Gd=function(a,b,c,e){if(!this.isDisposed())if(a instanceof BN&&!this.Hza)LN.S().Ls(ll,A(function(){this.isDisposed()||(LN.S().kh(ll).Hl.xta(this.X),this.Hza=!0,this.Gd(a,b,c,e))},this));else{var f=new TN(b,c,!!e),g=a.jh(),h=this.Hq.get(g);h?h.push(f):(this.Hq.set(g,[f]),this.VLa(a))}};t.VLa=function(a){var b=this.qC;this.L.De()&&a instanceof EN&&(a.KJa(eh),a.npa("isMinimalMode"));for(var c=b.length-1;0<=c;c--)if(b[c].cC(a)){b[c].Tz(a);return}throw Error("Communications manager not found.");};
t.Mwa=function(a){if(!this.isDisposed()){var b=a.type,c=gs(a.request,AM),e=a.response&&WM(a.response),f=c.jh(),g=this.Hq.get(f);if(g){b==Mo&&e.dk&&e.Kc?(b=As(g,function(a){return a.WMa}),(a=e.Kc())&&b&&(0==a.length&&this.WGa(c),this.km(a),b=e.ln&&e.ln()?e.getCursor():void 0,this.ze(c).setCursor(b),b=e.Vp&&e.Vp()?e.ah:void 0,this.ze(c).fr(b),this.ze(c).km(ys(a,function(a){return this.J(a.getId())},this)))):b==Mo&&e&&!e.dk?c instanceof DN?this.ud(50):c instanceof yN?this.ud(60):c instanceof wN&&this.ud(57):
b==sh&&this.SGa(a);for(c=0;c<g.length;c++)e&&!e.getError()&&e.dk?g[c].Ad(e):g[c].tf(e);this.isDisposed()||this.Hq.remove(f)}}};t.SGa=function(a){var b=gs(a.request,AM);b instanceof HN||(a=this.Bua(a))&&this.XGa(b,a)||(b instanceof DN?this.ud(52):b instanceof yN?this.ud(61):b instanceof wN&&this.ud(58))};t.Bua=function(a){return a instanceof qN&&(a=a.zEa)&&a.Lc?a:null};
t.XGa=function(a,b){if(8==b.Lc){if(a instanceof DN)return this.ud(55),!0;if(a instanceof yN)return this.ud(62),!0;if(a instanceof wN)return this.ud(59),!0}return!1};t.WGa=function(a){a instanceof DN?this.ud(54):a instanceof wN&&this.ud(56)};t.J=function(a,b){b&&(a=b+".0."+a.substring(a.lastIndexOf(".")+1));return this.Dm.J(a)};t.Kc=function(){return this.Dm.Kc()};t.km=function(a){this.Dm.km(a)};t.mj=function(a,b){this.Dm.mj(a,b)};t.ze=function(a){return this.Dm.ze(a)};t.zR=function(){return this.Dm.zR()};
t.ud=function(a){this.jV.add(a)};t.K2=function(){this.jV.flush()};t.reset=function(a){this.Dm.dza(a);this.Hq.clear()};t.B=function(){SN.g.B.call(this);E(this.qC,function(a){a.dispose()});delete this.qC;this.Hq.clear();delete this.Hq};var UN=function(a,b){AM.call(this);this.Xw=a;this.Jr=b};C(UN,AM);UN.prototype.gh=ms(new oD("pick"));UN.prototype.vc=function(){return 6};UN.prototype.Of=function(){var a=new Q;DM(a,Wg,RD(this.Xw));this.Jr&&DM(a,uq,RD(this.Jr.Zn()));return a};var VN=function(a){switch(a){case "atec":case Pf:case "caa":case "cpaa":case "contactPhoto":case "copyphoto":case "ctpa":case "cropphoto":case "ipfd":case "sptm":case "mtp":case Re:case "photocuration":case "photosharing":case "polls":case "profileBanner":case Im:case "sqprofile":return kl;case "bulkTag":return"opt";case fh:case cg:return"opd";case kg:return ll;case "ctpf":case "dow":case "mdisamb":return"opmd"}},WN=function(a,b){var c=new YG,e;null!=a[0]&&(e=VN(a[0]));if(null!=e&&null!=a[1]){var f=
LN.S();f.Ls(e,function(){c.Ad(f.kh(e).Hl.IWa(a[0],a[1],b))})}else c.tf("Postprocessor not found: "+a[0]);return c};var XN,ZN=function(a,b){if(!XN){var c=Rw(gn);c.src="https://apis.google.com/js/api.js";c.type=Zo;c.async=!0;document.body.appendChild(c);XN=!0}YN(a,b)},YN=function(a,b){window.gapi&&window.gapi.load?window.gapi.load(a,{callback:b}):Xu(A(YN,void 0,a,b),100)};var $N=function(a,b){M.call(this);this.L=a;this.ea=b;this.DS=[];Nu(b,"o",this.Exa,!1,this)};C($N,M);t=$N.prototype;t.D=QC("picker.base.IncomingStream");t.Cga=!1;t.Exa=function(){this.Cga=!0;E(this.DS,function(a){this.Uw(a)},this);Is(this.DS)};
t.Uw=function(a){var b=a&&a.action,c=jt(iK,b);V(this.D,"Received "+(c?"":"invalid ")+'"'+b+'" action from host: '+qC(a));if(c)if(!this.Cga&&a.wfv)this.DS.push(a);else{switch(b){case En:this.hxa(a);break;case An:this.fxa(a);break;case wq:this.jxa(a)}(!qL().Cq||b!=Fn&&b!=Gn)&&this.dispatchEvent(new aO(b,a))}};
t.hxa=function(a){a=a.albumId;null===a||z(a)?(this.L.jo(a),V(this.D,'Set the default upload album id to: "'+a+'"')):SC(this.D,'Unable to set upload album id to non-null, non-string value: "'+a+'"')};t.fxa=function(a){this.L.$v([fh,a])};t.jxa=function(a){a=a.visible;Uq(a)?(this.L.lJa(a),a&&this.L.De()&&(a=this.ea.Pc)&&a.ii(!0)):SC(this.D,"Invalid value for visible: "+a)};var aO=function(a,b){J.call(this,a);this.data=b};C(aO,J);var bO=function(a,b,c){F.call(this);this.xf=a;this.Wh=!1;this.fd=[];c?ZN("rpc",A(this.ol,this)):this.DAa(b)};C(bO,F);t=bO.prototype;t.D=QC("picker.base.GadgetsChannel");t.xT="";
t.DAa=function(a){var b=qL(),c=b.qGa;c||(c=!b.AV&&a?a.replace(/[^a-z0-9]/gi,""):"onepick",c=kr("//www-%s-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=%s",c,c));a=Rw(gn);a.src=c;a.type=Zo;document.body.appendChild(a);var e=window.setInterval(A(function(){try{window.gadgets&&window.gadgets.rpc&&window.gadgets.config.get("rpc")&&(window.clearInterval(e),this.ol())}catch(a){}},this),100)};
t.ol=function(){var a=qL();this.xT=a.xba||Tl;V(this.D,"Set service name to "+this.xT);var b=a.getRelayUrl();window.gadgets.rpc.setRelayUrl("..",b);V(this.D,"Set gadgets relay url to "+b);if(a=a.rO())window.gadgets.rpc.setAuthToken("..",a),V(this.D,"Set gadgets auth token to "+a);a=this.xf;window.gadgets.rpc.register(Tl,A(a.Uw,a));V(this.D,"Gadgets channel type = "+window.gadgets.rpc.getRelayChannel());this.Wh=!0;E(this.fd,function(a){a()})};t.a2=function(a){this.Wh?a():this.fd.push(a)};
t.call=function(a){this.a2(A(function(){window.gadgets.rpc.call("..",this.xT,null,a)},this))};t.B=function(){bO.g.B.call(this);delete this.fd};var cO=function(a){F.call(this);this.Wh=!1;this.fd=[];this.xf=a;ZN(gi,A(this.ol,this))};C(cO,F);cO.prototype.ol=function(){var a=qL();a.getRelayUrl()&&(a=iD(a.getRelayUrl()),this.I6=Oq(fi)([a]));var a={},b=this.xf;a.sendCommand=A(b.Uw,b);Oq(ei)().ready({},a,void 0,this.I6);this.Wh=!0;E(this.fd,function(a){a()})};cO.prototype.call=function(a){this.Wh?Oq(ei)().getParentIframe().send("response",a,void 0,this.I6):this.fd.push(A(this.call,this,a))};cO.prototype.B=function(){cO.g.B.call(this);delete this.fd};var dO=function(a,b,c){c=c||{};return XE('<div><iframe onload="'+(c.ML?"/*"+c.ML+"*/":"")+'this.poolLocked=false"></iframe></div>')};dO.qb="picker.base.templates.ifpciframepool.iframeTemplate";var eO=function(){F.call(this);this.fj=[]};C(eO,F);eO.prototype.wL=function(a){var b=sE(dO),c=b.getElementsByTagName(od)[0];c.style.visibility=ej;c.style.width=c.style.height="0px";c.style.border="0px";c.style.position=Ke;c.N$=a;this.fj[this.fj.length]=c;b.removeChild(c);return c};
eO.prototype.fl=function(a){var b=this;Xu(function(){for(var c=null,e=b.fj.length-1;0<=e;e--){var f=b.fj[e];if(f&&!f.N$)if(f.parentNode.removeChild(f),G)b.fj[e]=null,b.fj.splice(e,1);else{f.N$=!0;c=f;break}}c=c?c:b.wL(!0);c.src=a;document.body.appendChild(c)},0)};eO.prototype.clear=function(){for(var a=0;a<this.fj.length;a++)this.fj[a].onload=null,this.fj[a]=null;this.fj.length=0};eO.prototype.B=function(){eO.g.B.call(this);this.clear();this.fj=null};var fO=function(){F.call(this);var a=qL();this.E6=Gl;this.EZ=a.xba||Tl;V(this.D,"Set ifpc channel name to "+this.EZ);this.UE=a.getRelayUrl();V(this.D,"Set ifpc relay url to "+this.UE);this.hj=a.rO()||"";V(this.D,"Set ifpc rpctoken to "+this.hj);this.uP=new eO};C(fO,F);t=fO.prototype;t.D=QC("picker.base.IfpcChannel");t.oZ=0;
t.call=function(a){this.hj&&(a.rpctoken=this.hj);if(this.UE){var b=[a];b.unshift("");b.unshift(null);b.unshift(this.EZ);b.unshift(this.E6);a=4095-this.UE.length;a=parseInt(a/3,10);var b=this.M1(b),c=parseInt(b.length/a,10);0<b.length%a&&(c+=1);for(var e=0;e<c;e++)this.uP.fl(this.UE+"#"+this.M1([this.E6,this.oZ,c,e,b.substr(e*a,a),!1]));this.oZ++}else V(this.D,"No relay URL. Not sending data.")};t.M1=function(a){for(var b=[],c=0;c<a.length;c++){var e=RD(a[c]);b.push(encodeURIComponent(e))}return b.join("&")};
t.B=function(){fO.g.B.call(this);this.uP.dispose();this.uP=null};var gO=function(a){F.call(this);this.Wh=!1;this.fd=[];this.xf=a;a=window.location.href.match(/.*(\?|#|&)usegapi=([^&#]+)/)||[];this.uJ="1"===decodeURIComponent(a[a.length-1]||"");ZN(this.uJ?gi:uj,A(this.ol,this))};C(gO,F);t=gO.prototype;t.D=QC("picker.base.IframesChannel");
t.ol=function(){var a={getHealthc:function(){return dl}};hN.S().tAa();a.getVarc=function(){return hN.S().Kra()};var b=this.xf;a.sendCommand=A(b.Uw,b);if(this.uJ){var b=qL(),c,e;b.getRelayUrl()&&(e=xD(b.getRelayUrl()))&&e.$f&&(c=e.$f+"://"+e.Zd,c=Oq(fi)([c]));Oq(ei)().ready({},a,void 0,c)}else window.iframes.ready({},a);this.Wh=!0;E(this.fd,function(a){a()})};t.a2=function(a){this.Wh?a():this.fd.push(a)};
t.call=function(a){if(this.Wh){var b=a.action;b==Sl||b==Zf?this.uJ?Oq(ei)().closeSelf(a):window.iframes.close(a):(b=this.uJ?A(this.UGa,this):window.iframer.message,Wq(b)?b(a):V(this.D,"Interim data not sent since no listening function exists."))}else this.fd.push(A(this.call,this,a))};t.UGa=function(a){var b=Oq(ei)(),c=Oq("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER");b.addOnOpenerHandler(function(b){b.send("message",a,void 0,c)},c)};t.B=function(){gO.g.B.call(this);delete this.fd};var hO=function(a,b,c,e){F.call(this);this.WI=c;this.Av=e;this.QU=a;this.qQ=b};C(hO,F);var iO=["32-c","64-c","72-c","400",Jg],jO=/<\/?b>/g;t=hO.prototype;t.bca=function(a,b){b(ys(a,this.VH,this))};
t.VH=function(a){var b={};b.id=a.zb;var c;c=a.ne;c=this.qQ?"kix"==c?"doc":c==Pm?"pres":"ritz"==c?"spread":c:c;b.serviceId=c;var e=a.aj;b.mimeType=this.qQ?e==ef?af:e==hf?ff:e==jf?lf:e==df?cf:e:e;var e=a.getName(),f=a.Pw;c==Aq&&(e=null!=e?e.replace(jO,""):null,f=null!=f?f.replace(jO,""):null);this.ya(b,"name",e);this.ya(b,Mg,f);this.ya(b,Ip,a.ta());this.ya(b,dk,a.Xh);if(c=a.YN())c=(new oD(window.location.href)).resolve(new oD(c)),b.iconUrl=c.toString();this.ya(b,dq,a.getUrl());a.ne==Rl&&a.ta()==mq||
this.ya(b,lh,a.ax);this.ya(b,ch,a.getAttribute(ch));this.ya(b,"copyable",a.getAttribute("cpy"));this.ya(b,"blobId",a.getAttribute("blobId"));this.ya(b,ap,this.Bna(a));this.ya(b,"driveSuccess",a.getAttribute("ds"));this.ya(b,"driveError",a.getAttribute("de"));this.ya(b,Vj,a.AF);this.ya(b,Cg,a.getAttribute("c"));this.ya(b,kh,a.getAttribute(kh));this.ya(b,rj,a.getAttribute("cid"));this.ya(b,"sizeBytes",a.rv);this.ya(b,"rpt",a.getAttribute("rpt"));this.ya(b,"rptn",a.getAttribute("rptn"));this.ya(b,Vo,
a.getAttribute("tdid"));this.ya(b,"teamDriveName",a.getAttribute("tdname"));this.ya(b,to,a.getAttribute("stdid"));this.ya(b,uo,a.getAttribute("stdn"));this.ya(b,"undoable",a.getAttribute("undo"));this.ya(b,rl,a.getAttribute("oitd"));if(c=a.getImageData())b.rotation=c.nGa,b.rotationDegree=c.mGa;(c=a.XA)&&this.tka(c,b);(c=a.wJ)&&this.uka(c,b);(c=a.Iq)&&(b.parentId=c.substring(c.lastIndexOf(".")+1));c=a.getAttribute("aa");null!=c&&(b.audience=xK[c]);this.ya(b,"coverPhotoId",a.getAttribute("cpid"));this.ya(b,
gk,a.getAttribute("lat"));this.ya(b,tk,a.getAttribute("lng"));this.ya(b,kq,a.getAttribute("v"));(c=a.ih())&&(b.children=ys(c,this.VH,this));this.ya(b,al,a.kt());a.kq()&&(b.isNew=!0);this.ya(b,"numTagged",a.getAttribute("nft"));this.ya(b,"numUntagged",a.getAttribute("nfu"));this.ya(b,Ij,a.getAttribute("ilpp"));this.ya(b,Ak,a.getAttribute("mfr"));this.ya(b,wq,a.getAttribute(wq));this.ya(b,Bk,a.getAttribute(Bk));this.ya(b,Jj,a.getAttribute("iss"));return b};
t.tka=function(a,b){b.uploadId=a.getId();b.uploadState=a.getState();this.ya(b,zg,a.Aw);if(this.QU){var c=a.lD;c&&(b.uploadMetadata=c)}};t.uka=function(a,b){this.ya(b,"video_cid",a.Aw);this.ya(b,"duration",a.Ds);this.ya(b,"aspectRatio",a.LB);this.ya(b,"channel",a.fC);this.ya(b,"view_count",a.xJ)};t.ya=function(a,b,c){null!=c&&(a[b]=c)};t.Bna=function(a){if(!HK(a.ne)||!this.qQ){if(a=a.Cra()){if(this.Av){for(var b=[],c=0;c<a.length;c++){var e=a[c];e.ta()&&!Gs(this.Av,e.ta())||Ps(b,this.k0([e]))}return b}return this.k0(a)}return null}};
t.k0=function(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];if(e&&e.bba)return this.rna(e);if(e){var f={},g=e.getUrl();g&&ir(g,"data:")||(f.url=e.getUrl(),f.width=e.Rf(),f.height=e.Be(),this.Av&&e.ta()&&(f.type=e.ta()),b.push(f))}}return b};
t.rna=function(a){for(var b=[],c={},e=this.WI||iO,f=0;f<e.length;f++){var g=e[f],h;if(g==Jg)h=a.gE(void 0,void 0,!0);else if("orig"==g)h=a.gE(0,void 0,!0);else{var k,m,p;h=[];for(var g=g.split("-"),u=0;u<g.length;u++){var y=g[u],P=parseInt(y,10);P?k=P:ir(y,"h")&&1<y.length?m=parseInt(Jr(y,0,1),10):ir(y,"w")&&1<y.length?p=parseInt(Jr(y,0,1),10):h.push(y)}var L;p&&m?L=new uw(p,m):k&&(L=k);h=a.gE(L,h,!0)}g=h.Rf()+"x"+h.Be();if(this.WI||!c[g])u={},u.url=h.getUrl(),u.width=h.Rf(),u.height=h.Be(),this.Av&&
h.ta()&&(u.type=h.ta()),b.push(u),c[g]=!0}return b};var kO=function(a){D(a,"null context found");this.X=a;a=this.X.L.zI();var b=this.X&&this.X.L.WI||void 0,c=this.X&&this.X.L.Av||void 0;D(!!pL,"flags not initialized");var e=qL();hO.call(this,a,!!e.Cq||e.AV,b,c)};C(kO,hO);kO.prototype.VH=function(a){var b=kO.g.VH.call(this,a);if((a=a.getAttribute("si"))&&a.length){var c=[];E(a,function(a){a=this.X.na.J(a);var b={};b.name=a.getAttribute("tdn");b.email=a.getAttribute("te");b.userId=a.getAttribute("tuid");c.push(b)},this);b.people=c}return b};var lO=function(a,b,c){M.call(this);K(b,Zf,this.vk,!0,this);if(!c)if(c=a.Px(),"injected"==c)c=function(a){var b=window._pickerCallback;if(b)b(a);else throw Error("Injected callback function not defined");};else{switch(c){case di:b=new bO(b,a.pn,a.fW());break;case "gapi_iframes":b=new cO(b);break;case uj:b=new gO(b);break;default:b=new fO}c=A(b.call,b)}this.Xd=c;this.Bu=[];this.Oq=0;this.dK=qL().isNative()?null:new OL(N(a.b()));this.wa(this.dK);this.L$=!1};C(lO,M);t=lO.prototype;t.D=QC("picker.base.HostManager");
t.Zz=function(a){D(!this.X);this.X=a;this.Q8()};t.Sz=function(a){this.isDisposed()||(V(this.D,"Sending data to host: "+qC(pt(a))),this.Xd(a))};t.jJ=function(a){var b={};b.action=a;this.Sz(b)};t.vk=function(){this.X.na.ud(6);this.Xaa();this.jJ(Zf);this.X.L.c_&&this.X.Sm().get(EL).v().getWindow().close()};t.DMa=function(){this.jJ("blurred")};t.EMa=function(){this.jJ(rk)};t.zfa=function(){this.X.L.u7(tq)&&this.jJ(tq)};
t.KV=function(a){var b=this.X;if((a=b.bb.Qf(a))&&a.length)this.zr(ys(a,function(a){return b.na.J(a)},this));else if(a=b.Hr.getValue())this.yfa(a);else throw a=(a=b.ea.Gc)?a.SD():"unknown",Error('E31337: No documents selected in "'+a+'"');b.L.c_&&b.Sm().get(EL).v().getWindow().close()};
t.zr=function(a,b){w(b)&&b!=Sl&&b!=Zf||this.X.ea.hca(!0);var c=A(function(a,b){this.X.BDa.Ra(A(function(){var c=new kO(this.X);c.bca(a,A(function(h){w(b)&&b!=Sl||this.vGa(a,h);this.X.L.xq&&this.X.L.De()&&this.fda(!0);var k=this.vta(a);k.length?c.bca(k,A(function(a){this.JV(h,b,a)},this)):this.JV(h,b)},this))},this))},this);b&&b!=Sl?c(a,b):this.zba(a,c)};t.yfa=function(a){this.JV([{url:a}])};
t.JV=function(a,b,c){b=b||Sl;var e=this.lt(),f={};f.action=b;f.viewToken=e.Zn();f.docs=a;c&&(f.parents=c);a=this.X.bb.Ipa;lt(a)||(f.extraUserInputs=a);qL().AV||(f.view=e.SD());this.Sz(f);b==Sl&&this.Xaa()};
t.zba=function(a,b){this.Q8();if(this.Oq==this.Bu.length)b(a);else{var c=A(function(a){this.Oq++;this.Oq==this.Bu.length?b(a):this.zba(a,b)},this),e=A(function(a){alert(a||"Sorry! An unexpected error occurred while processing your selection.  Please try again later.");this.vk()},this),f=this.Bu[this.Oq];f.Ra(function(b){V(this.D,"Running post processor "+this.Oq+": "+qC(pt(this.X.L.Xf[this.Oq])));b.fXa(a,c,e)},this);f.zk(function(a){RC(this.D,a);e()},this)}};
t.Q8=function(){for(var a=this.X.L.Xf,b=this.Bu.length;b<a.length;b++)Sq(a[b])&&this.Bu.push(WN(a[b],this.X))};t.vGa=function(a,b){for(var c=this.X,e=c.ea.Pc,f=[],g=0;g<a.length&&b.length;g++){var h=ot(b[g]),k=a[g];h.docIndex=e.ID(k);k.Xh&&(h.lastEdited=k.Xh);k.S3()&&(h.lastModifiedByMe=k.S3());k.o4()&&(h.recentTime=k.o4());k.T3()&&(h.lastViewedByMe=k.T3());f.push(h)}g=c.ea.Gc;for(e=0;null!=g.Fd;)g=g.Fd,e++;g=g.clone();g.nb("viewTokenDepth",e);c.na.Gd(new UN(f,g),Pq,Pq)};
t.T5=function(){var a=this.X.ea.Pc;a&&a.ii(!0)};t.vta=function(a){var b=[],c={};E(a,function(a){(a=a.Iq)&&!c[a]&&(c[a]=!0,(a=this.X.na.J(a))&&b.push(a))},this);return b};t.lt=function(){var a=this.X.ea.Gc;if(this.X.L.De()){var a=a.lt()||a,b=a.getOption(Gl);z(b)&&(b=rK(a.xa)?this.X.na.J(b,Wg):this.X.na.J(b))&&b.getName()&&a.nb("parentName",b.getName());return a}for(;null!=a.Fd;)a=a.Fd;return a};
t.Xaa=function(){if(!this.isDisposed()){var a=this.X;a.na.K2();var b=a.Zi;b&&(b.US(),b.Raa(),b.ra(!1));Xu(function(){this.isDisposed()||(a.ea.hca(!1),this.dispatchEvent(Zm),a.bb.wm(!0),a.na.reset(),this.dK&&Nu(this.dK,"activity",A(this.T5,this),!1,this),E(this.Bu,function(a){a.Ra(function(a){a.reset()})}),this.Oq=0)},500,this)}};t.fda=function(a){this.L$=a};var mO={xW:{1E3:{other:"0K"},1E4:{other:"00K"},1E5:{other:"000K"},1E6:{other:"0M"},1E7:{other:"00M"},1E8:{other:"000M"},1E9:{other:"0B"},1E10:{other:"00B"},1E11:{other:"000B"},1E12:{other:"0T"},1E13:{other:"00T"},1E14:{other:"000T"}},iha:{1E3:{other:"0 thousand"},1E4:{other:"00 thousand"},1E5:{other:"000 thousand"},1E6:{other:"0 million"},1E7:{other:"00 million"},1E8:{other:"000 million"},1E9:{other:"0 billion"},1E10:{other:"00 billion"},1E11:{other:"000 billion"},1E12:{other:"0 trillion"},1E13:{other:"00 trillion"},
1E14:{other:"000 trillion"}}},nO=mO,nO=mO;var pO=function(a,b){var c=["0"],e=oO[b][0]&7;if(0<e){c.push(".");for(var f=0;f<e;f++)c.push("0")}return a.replace(/0.00/g,c.join(""))},oO={AED:[2,"dh","\u062f.\u0625.","DH"],ALL:[0,"Lek","Lek"],AUD:[2,"$","AU$"],BDT:[2,"\u09f3","Tk"],BGN:[2,"lev","lev"],BRL:[2,"R$","R$"],CAD:[2,"$","C$"],CDF:[2,"FrCD","CDF"],CHF:[2,"CHF","CHF"],CLP:[0,"$","CL$"],CNY:[2,"\u00a5","RMB\u00a5"],COP:[32,"$","COL$"],CRC:[0,"\u20a1","CR\u20a1"],CZK:[50,"K\u010d","K\u010d"],DKK:[50,"kr.","kr."],DOP:[2,"RD$","RD$"],EGP:[2,
"\u00a3","LE"],ETB:[2,"Birr","Birr"],EUR:[2,"\u20ac","\u20ac"],GBP:[2,"\u00a3","GB\u00a3"],HKD:[2,"$","HK$"],HRK:[2,"kn","kn"],HUF:[34,"Ft","Ft"],IDR:[0,"Rp","Rp"],ILS:[34,"\u20aa","IL\u20aa"],INR:[2,"\u20b9","Rs"],IRR:[0,"Rial","IRR"],ISK:[0,"kr","kr"],JMD:[2,"$","JA$"],JPY:[0,"\u00a5","JP\u00a5"],KRW:[0,"\u20a9","KR\u20a9"],LKR:[2,"Rs","SLRs"],LTL:[2,"Lt","Lt"],MNT:[0,"\u20ae","MN\u20ae"],MVR:[2,"Rf","MVR"],MXN:[2,"$","Mex$"],MYR:[2,"RM","RM"],NOK:[50,"kr","NOkr"],PAB:[2,"B/.","B/."],PEN:[2,"S/.",
"S/."],PHP:[2,"\u20b1","PHP"],PKR:[0,"Rs","PKRs."],PLN:[50,"z\u0142","z\u0142"],RON:[2,"RON","RON"],RSD:[0,"din","RSD"],RUB:[50,"\u20bd","RUB"],SAR:[2,"Rial","Rial"],SEK:[50,"kr","kr"],SGD:[2,"$","S$"],THB:[2,"\u0e3f","THB"],TRY:[2,"TL","YTL"],TWD:[2,"NT$","NT$"],TZS:[0,"TSh","TSh"],UAH:[2,"\u0433\u0440\u043d.","UAH"],USD:[2,"$","US$"],UYU:[2,"$","$U"],VND:[48,"\u20ab","VN\u20ab"],YER:[0,"Rial","Rial"],ZAR:[2,"R","ZAR"]};var qO={DECIMAL_SEP:".",GROUP_SEP:",",ZW:"%",XJ:"0",mia:"+",Yha:"-",IW:"E",$W:"\u2030",NJ:"\u221e",bia:"NaN",DECIMAL_PATTERN:"#,##0.###",Aia:"#E0",hia:"#,##0%",kha:"\u00a4#,##0.00",nha:"USD"},rO=qO,rO=qO;var sO=function(a,b,c){this.Ly=b||rO.nha;this.Zna=c||0;this.bG=40;this.bj=1;this.tr=0;this.tq=3;this.hG=this.Fl=0;this.qea=this.sga=!1;this.rz=this.Nq="";this.Gn="-";this.ou="";this.$h=1;this.zq=!1;this.Lp=[];this.tJ=this.E0=!1;this.xw=0;this.ZY=null;typeof a==bl?this.JB(a):this.Ek(a)};t=sO.prototype;t.WIa=function(a){if(0<this.tr&&0<a)throw Error(zc);this.Fl=a;return this};t.RIa=function(a){this.tq=a;return this};t.TJa=function(a){if(0<this.Fl&&0<=a)throw Error(zc);this.tr=a;return this};
t.Ek=function(a){a.replace(/ /g,"\u00a0");var b=[0];this.Nq=this.OG(a,b);var c=b[0];this.xDa(a,b);c=b[0]-c;this.rz=this.OG(a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.$h&&(this.zq=!0),this.Gn=this.OG(a,b),b[0]+=c,this.ou=this.OG(a,b)):(this.Gn=this.Nq+this.Gn,this.ou+=this.rz)};
t.JB=function(a){switch(a){case 1:this.Ek(rO.DECIMAL_PATTERN);break;case 2:this.Ek(rO.Aia);break;case 3:this.Ek(rO.hia);break;case 4:this.Ek(pO(rO.kha,this.Ly));break;case 5:this.uY(1);break;case 6:this.uY(2);break;default:throw Error("Unsupported pattern type.");}};t.uY=function(a){this.xw=a;this.Ek(rO.DECIMAL_PATTERN);this.WIa(0);this.RIa(2);this.TJa(2)};
t.parse=function(a,b){var c=b||[0];if(0!=this.xw)throw Error("Parsing of compact numbers is unimplemented");var e;a=a.replace(/ /g,"\u00a0");var f=a.indexOf(this.Nq,c[0])==c[0],g=a.indexOf(this.Gn,c[0])==c[0];f&&g&&(this.Nq.length>this.Gn.length?g=!1:this.Nq.length<this.Gn.length&&(f=!1));f?c[0]+=this.Nq.length:g&&(c[0]+=this.Gn.length);a.indexOf(rO.NJ,c[0])==c[0]?(c[0]+=rO.NJ.length,e=Infinity):e=this.qDa(a,c);if(f){if(a.indexOf(this.rz,c[0])!=c[0])return NaN;c[0]+=this.rz.length}else if(g){if(a.indexOf(this.ou,
c[0])!=c[0])return NaN;c[0]+=this.ou.length}return g?-e:e};
t.qDa=function(a,b){var c=!1,e=!1,f=!1,g=1,h=rO.DECIMAL_SEP,k=rO.GROUP_SEP,m=rO.IW;if(0!=this.xw)throw Error("Parsing of compact style numbers is not implemented");for(var p="";b[0]<a.length;b[0]++){var u=a.charAt(b[0]),y=this.s3(u);if(0<=y&&9>=y)p+=y,f=!0;else if(u==h.charAt(0)){if(c||e)break;p+=".";c=!0}else if(u==k.charAt(0)&&("\u00a0"!=k.charAt(0)||b[0]+1<a.length&&0<=this.s3(a.charAt(b[0]+1)))){if(c||e)break}else if(u==m.charAt(0)){if(e)break;p+="E";e=!0}else if("+"==u||"-"==u)p+=u;else if(1==
this.$h&&u==rO.ZW.charAt(0)){if(1!=g)break;g=100;if(f){b[0]++;break}}else if(1==this.$h&&u==rO.$W.charAt(0)){if(1!=g)break;g=1E3;if(f){b[0]++;break}}else break}1!=this.$h&&(g=this.$h);return parseFloat(p)/g};
t.format=function(a){if(isNaN(a))return rO.bia;var b=[],c=this.oua(null===this.ZY?a:this.ZY,a);a/=Math.pow(10,c.rM);b.push(c.prefix);var e=0>a||0==a&&0>1/a;b.push(e?this.Gn:this.Nq);isFinite(a)?(a=a*(e?-1:1)*this.$h,this.tJ?this.ULa(a,b):this.uV(a,this.bj,b)):b.push(rO.NJ);b.push(e?this.ou:this.rz);b.push(c.bfa);return b.join("")};
t.wba=function(a){var b=Math.pow(10,this.tq),c=0>=this.tr?Math.round(a*b):Math.round(this.oGa(a*b,this.tr,this.tq));isFinite(c)?(a=Math.floor(c/b),b=Math.floor(c-a*b)):b=0;return{o7:a,Tqa:b}};
t.uV=function(a,b,c){if(this.Fl>this.tq)throw Error("Min value must be less than max value");c||(c=[]);a=this.wba(a);var e=Math.pow(10,this.tq),f=a.o7,g=a.Tqa,h=0==f?0:this.eF(f)+1,k=0<this.Fl||0<g||this.qea&&h<this.tr;a=this.Fl;k&&(a=this.qea&&0<this.tr?this.tr-h:this.Fl);for(var m="",h=f;1E20<h;)m="0"+m,h=Math.round(h/10);var m=h+m,p=rO.DECIMAL_SEP,h=rO.XJ.charCodeAt(0),u=m.length,y=0;if(0<f||0<b){for(f=u;f<b;f++)c.push(String.fromCharCode(h));if(2<=this.Lp.length)for(b=1;b<this.Lp.length;b++)y+=
this.Lp[b];b=u-y;if(0<b)for(var f=this.Lp,y=u=0,P,L=rO.GROUP_SEP,ma=m.length,da=0;da<ma;da++){if(c.push(String.fromCharCode(h+1*Number(m.charAt(da)))),1<ma-da)if(P=f[y],da<b){var Zb=b-da;(1===P||0<P&&1===Zb%P)&&c.push(L)}else y<f.length&&(da===b?y+=1:P===da-b-u+1&&(c.push(L),u+=P,y+=1))}else{b=m;m=this.Lp;f=rO.GROUP_SEP;P=b.length;L=[];for(u=m.length-1;0<=u&&0<P;u--){y=m[u];for(ma=0;ma<y&&0<=P-ma-1;ma++)L.push(String.fromCharCode(h+1*Number(b.charAt(P-ma-1))));P-=y;0<P&&L.push(f)}c.push.apply(c,L.reverse())}}else k||
c.push(String.fromCharCode(h));(this.E0||k)&&c.push(p);e=""+(g+e);for(g=e.length;"0"==e.charAt(g-1)&&g>a+1;)g--;for(f=1;f<g;f++)c.push(String.fromCharCode(h+1*Number(e.charAt(f))))};t.SX=function(a,b){b.push(rO.IW);0>a?(a=-a,b.push(rO.Yha)):this.sga&&b.push(rO.mia);for(var c=""+a,e=rO.XJ,f=c.length;f<this.hG;f++)b.push(e);b.push(c)};
t.ULa=function(a,b){if(0==a)this.uV(a,this.bj,b),this.SX(0,b);else{var c;c=Math.log(a)/Math.log(10);D(!w(void 0)||!1);c=Math.floor(c+2E-15);a/=Math.pow(10,c);var e=this.bj;if(1<this.bG&&this.bG>this.bj){for(;0!=c%this.bG;)a*=10,c--;e=1}else 1>this.bj?(c++,a/=10):(c-=this.bj-1,a*=Math.pow(10,this.bj-1));this.uV(a,e,b);this.SX(c,b)}};t.s3=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=rO.XJ.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
t.OG=function(a,b){for(var c="",e=!1,f=a.length;b[0]<f;b[0]++){var g=a.charAt(b[0]);if("'"==g)b[0]+1<f&&"'"==a.charAt(b[0]+1)?(b[0]++,c+="'"):e=!e;else if(e)c+=g;else switch(g){case "#":case "0":case ",":case ".":case ";":return c;case "\u00a4":if(b[0]+1<f&&"\u00a4"==a.charAt(b[0]+1))b[0]++,c+=this.Ly;else switch(this.Zna){case 0:c+=oO[this.Ly][1];break;case 2:var g=this.Ly,h=oO[g],c=c+(g==h[1]?g:g+" "+h[1]);break;case 1:c+=oO[this.Ly][2]}break;case "%":if(!this.zq&&1!=this.$h)throw Error(se);if(this.zq&&
100!=this.$h)throw Error(ud);this.$h=100;this.zq=!1;c+=rO.ZW;break;case "\u2030":if(!this.zq&&1!=this.$h)throw Error(se);if(this.zq&&1E3!=this.$h)throw Error(ud);this.$h=1E3;this.zq=!1;c+=rO.$W;break;default:c+=g}}return c};
t.xDa=function(a,b){for(var c=-1,e=0,f=0,g=0,h=-1,k=a.length,m=!0;b[0]<k&&m;b[0]++)switch(a.charAt(b[0])){case "#":0<f?g++:e++;0<=h&&0>c&&h++;break;case "0":if(0<g)throw Error('Unexpected "0" in pattern "'+a+'"');f++;0<=h&&0>c&&h++;break;case ",":0<h&&this.Lp.push(h);h=0;break;case ".":if(0<=c)throw Error('Multiple decimal separators in pattern "'+a+'"');c=e+f+g;break;case "E":if(this.tJ)throw Error('Multiple exponential symbols in pattern "'+a+'"');this.tJ=!0;this.hG=0;b[0]+1<k&&"+"==a.charAt(b[0]+
1)&&(b[0]++,this.sga=!0);for(;b[0]+1<k&&"0"==a.charAt(b[0]+1);)b[0]++,this.hG++;if(1>e+f||1>this.hG)throw Error('Malformed exponential pattern "'+a+'"');m=!1;break;default:b[0]--,m=!1}0==f&&0<e&&0<=c&&(f=c,0==f&&f++,g=e-f,e=f-1,f=1);if(0>c&&0<g||0<=c&&(c<e||c>e+f)||0==h)throw Error('Malformed pattern "'+a+'"');g=e+f+g;this.tq=0<=c?g-c:0;0<=c&&(this.Fl=e+f-c,0>this.Fl&&(this.Fl=0));this.bj=(0<=c?c:g)-e;this.tJ&&(this.bG=e+this.bj,0==this.tq&&0==this.bj&&(this.bj=1));this.Lp.push(Math.max(0,h));this.E0=
0==c||c==g};var tO={prefix:"",bfa:"",rM:0};sO.prototype.G4=function(a,b){var c=1==this.xw?nO.xW:nO.iha;null==c&&(c=nO.xW);if(3>a)return tO;a=Math.min(14,a);for(var e=c[Math.pow(10,a)],f=a-1;!e&&3<=f;)e=c[Math.pow(10,f)],f--;if(!e)return tO;c=e[b];return c&&"0"!=c?(c=/([^0]*)(0+)(.*)/.exec(c))?{prefix:c[1],bfa:c[3],rM:f+1-(c[2].length-1)}:tO:tO};
sO.prototype.oua=function(a){if(0==this.xw)return tO;a=Math.abs(a);var b=this.G4(1>=a?0:this.eF(a),tl).rM;return this.G4(b+this.eF(this.wba(a/Math.pow(10,b)).o7),tl)};sO.prototype.eF=function(a){for(var b=0;1<=(a/=10);)b++;return b};sO.prototype.oGa=function(a,b,c){if(!a)return a;b=b-this.eF(a)-1;if(b<-c)return c=Math.pow(10,c),Math.round(a/c)*c;c=Math.pow(10,b);return Math.round(a*c)/c};var uO=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":tl},vO=uO,vO=uO;var wO=function(a){a+="";var b=a.indexOf(".");return-1==b?0:a.length-b-1},xO=function(a,b){var c,e=a|0;c=void 0===b?Math.min(wO(a),3):b;return 1==e&&0==c?"one":tl},yO=xO,yO=xO;var zO=function(a){this.xl=[];this.nS=[];this.IR=new sO(1);this.sDa(a)},AO=RegExp("'([{}#].*?)'","g"),BO=RegExp("''","g");t=zO.prototype;t.format=function(a){return this.mN(a,!1)};t.Ph=function(a){return this.mN(a,!0)};t.mN=function(a,b){if(0==this.nS.length)return"";var c=[];this.lN(this.nS,a,b,c);c=c.join("");for(b||D(-1==c.search("#"),"Not all # were replaced.");0<this.xl.length;)c=c.replace(this.PK(this.xl),this.xl.pop());return c};
t.lN=function(a,b,c,e){for(var f=0;f<a.length;f++)switch(a[f].type){case 4:e.push(a[f].value);break;case 3:var g=a[f].value;this.Jqa(g,b,e);break;case 2:g=a[f].value;this.Iqa(g,b,c,e);break;case 0:g=a[f].value;this.R2(g,b,yO,c,e);break;case 1:g=a[f].value;this.R2(g,b,vO,c,e);break;default:Zr("Unrecognized block type: "+a[f].type)}};t.Jqa=function(a,b,c){b=b[a];w(b)?(this.xl.push(b),c.push(this.PK(this.xl))):c.push(ye+a)};
t.Iqa=function(a,b,c,e){var f=a.KB;w(b[f])?(f=a[b[f]],w(f)||(f=a.other,ds(f,"Invalid option or missing other option for select block.")),this.lN(f,b,c,e)):e.push(ye+f)};
t.R2=function(a,b,c,e,f){var g=a.KB,h=a.vY,k=+b[g];isNaN(k)?f.push("Undefined or invalid parameter - "+g):(h=k-h,g=a[b[g]],w(g)||(D(0<=h,"Argument index smaller than offset."),c=this.IR.Xsa?c(h,this.IR.Xsa()):c(h),as(c,"Invalid plural key."),g=a[c],w(g)||(g=a.other),ds(g,"Invalid option or missing other option for plural block.")),a=[],this.lN(g,b,e,a),b=a.join(""),as(b,"Empty block in plural."),e?f.push(b):(e=this.IR.format(h),f.push(b.replace(/#/g,e))))};
t.sDa=function(a){a&&(a=this.aza(a),this.nS=this.PG(a))};t.aza=function(a){var b=this.xl,c=A(this.PK,this);a=a.replace(BO,function(){b.push("'");return c(b)});return a=a.replace(AO,function(a,f){b.push(f);return c(b)})};
t.hD=function(a){var b=0,c=[],e=[],f=/[{}]/g;f.lastIndex=0;for(var g;g=f.exec(a);){var h=g.index;"}"==g[0]?(g=c.pop(),D(w(g)&&"{"==g,"No matching { for }."),0==c.length&&(g={type:1},g.value=a.substring(b,h),e.push(g),b=h+1)):(0==c.length&&(b=a.substring(b,h),""!=b&&e.push({type:0,value:b}),b=h+1),c.push("{"))}D(0==c.length,"There are mismatched { or } in the pattern.");b=a.substring(b);""!=b&&e.push({type:0,value:b});return e};
var CO=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,DO=/^\s*(\w+)\s*,\s*selectordinal\s*,/,EO=/^\s*(\w+)\s*,\s*select\s*,/;t=zO.prototype;t.oDa=function(a){return CO.test(a)?0:DO.test(a)?1:EO.test(a)?2:/^\s*\w+\s*/.test(a)?3:5};
t.PG=function(a){var b=[];a=this.hD(a);for(var c=0;c<a.length;c++){var e={};if(0==a[c].type)e.type=4,e.value=a[c].value;else if(1==a[c].type)switch(this.oDa(a[c].value)){case 2:e.type=2;e.value=this.uDa(a[c].value);break;case 0:e.type=0;e.value=this.tDa(a[c].value);break;case 1:e.type=1;e.value=this.rDa(a[c].value);break;case 3:e.type=3;e.value=a[c].value;break;default:Zr("Unknown block type for pattern: "+a[c].value)}else Zr("Unknown part of the pattern.");b.push(e)}return b};
t.uDa=function(a){var b="";a=a.replace(EO,function(a,c){b=c;return""});var c={};c.KB=b;a=this.hD(a);for(var e=0;e<a.length;){var f=a[e].value;as(f,"Missing select key element.");e++;D(e<a.length,"Missing or invalid select value element.");if(1==a[e].type)var g=this.PG(a[e].value);else Zr(Zc);c[f.replace(/\s/g,"")]=g;e++}ds(c.other,"Missing other key in select statement.");return c};
t.tDa=function(a){var b="",c=0;a=a.replace(CO,function(a,e,f){b=e;f&&(c=parseInt(f,10));return""});var e={};e.KB=b;e.vY=c;a=this.hD(a);for(var f=0;f<a.length;){var g=a[f].value;as(g,"Missing plural key element.");f++;D(f<a.length,"Missing or invalid plural value element.");if(1==a[f].type)var h=this.PG(a[f].value);else Zr(Zc);e[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;f++}ds(e.other,"Missing other key in plural statement.");return e};
t.rDa=function(a){var b="";a=a.replace(DO,function(a,c){b=c;return""});var c={};c.KB=b;c.vY=0;a=this.hD(a);for(var e=0;e<a.length;){var f=a[e].value;as(f,"Missing ordinal key element.");e++;D(e<a.length,"Missing or invalid ordinal value element.");if(1==a[e].type)var g=this.PG(a[e].value);else Zr(Zc);c[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}ds(c.other,"Missing other key in selectordinal statement.");return c};
t.PK=function(a){D(0<a.length,"Literal array is empty.");return"\ufddf_"+(a.length-1).toString(10)+"_"};var FO=function(){M.call(this);this.Wn=new LH;this.Ipa={}};C(FO,M);t=FO.prototype;t.Zz=function(a){this.X=a;this.C().o(this.X.xf,Bn,this.PIa);this.C().o(this.X.xf,Cn,this.QIa)};t.C=function(){this.N||(this.N=new rA(this));return this.N};t.QIa=function(a){a=a.data.maxSizeBytes;if(this.C4()<=a)this.X.L.fI(a);else throw Error("Selection must be cleared before setting new size cap.  (Or cap was never initialized.)");};
t.PIa=function(a){a=a.data.maxItems;if(this.B4()<=a)this.X.L.gA(a);else throw Error("Selection must be cleared before setting new items cap. (Or cap was never initialized.)");};t.Bca=function(a){this.ZM=a};t.YHa=function(){};t.qda=function(a,b,c,e){if(b==this.ge(a))return!1;b?this.oT(a,c):this.aM(a);e&&this.dispatchEvent(new GO(b,[a]));return!0};t.Qf=function(a){var b=this.ZM,c=this.Wn.vb();return b&&!a?b(c):c};
t.oI=function(a,b){var c=[];mC(a,function(a){b!=this.ge(a)&&c.push(a)},this);mC(c,function(a){b?this.oT(a,"cb"):this.aM(a)},this);0<c.length&&this.dispatchEvent(new GO(b,c));return!0};t.wm=function(a){this.oI(this.Qf(a),!1)};t.LA=function(a,b){var c=this.Wn;c.Ic(a)?(this.aM(a),this.dispatchEvent(new GO(!1,[a]))):("cl"==b&&(c=c.vb(),this.roa(),c.length&&this.dispatchEvent(new GO(!1,c))),this.oT(a),this.dispatchEvent(new GO(!0,[a])));return!0};t.oT=function(a,b){this.Wn.set(a,b)};t.aM=function(a){this.Wn.remove(a)};
t.roa=function(){this.Wn.clear()};t.B4=function(){return this.Qf().length};t.C4=function(){var a=this.Qf(),b=0,c=this.X.na;mC(a,function(a){(a=c.J(a).rv)&&(b+=a)},this);return b};t.ge=function(a){return this.Wn.Ic(a)};t.lNa=function(){this.dispatchEvent("s")};t.B=function(){FO.g.B.call(this);this.Wn.clear();delete this.Wn;delete this.ZM};var GO=function(a,b){J.call(this,"r");this.selected=a;this.Eg=b};C(GO,J);var HO=function(a){M.call(this);this.X=a;this.vNa=[];this.p2=new LH;this.ANa=[];this.Ua=new rA(this);this.wa(this.Ua);this.Ua.o(a.Mb,Zm,A(this.RFa,this))};C(HO,M);t=HO.prototype;t.wG=0;t.QK=0;t.Rc=0;t.D=QC("picker.base.UploadService");t.RFa=function(){this.isDisposed()||(E(this.ANa,function(a){a.reset()},this),this.VK())};t.yF=function(){return this.aE()!=this.wG};t.aE=function(){return this.p2.Ga()};t.Dta=function(){return this.Rc?this.QK/this.Rc:0};
t.VK=function(){E(this.vNa,function(a){a.VK(!0)});this.Vn()};t.Vn=function(){this.Rc=this.QK=this.wG=0;this.p2.clear();this.Wpa()};t.Wpa=function(){V(this.D,"Upload status changed (numFiles="+this.aE()+", numCompleted="+this.wG+", bytesUploaded = "+this.QK+" / "+this.Rc+")");this.dispatchEvent("t")};var IO=function(a){VM.call(this,a);this.Qoa=a.response&&a.response.displayname};C(IO,VM);IO.prototype.vc=function(){return 20};XM.set(20,function(a){return new IO(a)});var JO=function(){AM.call(this)};C(JO,AM);JO.prototype.gh=ms(new oD("displayname"));JO.prototype.vc=function(){return 20};var KO=function(a){this.na=a};KO.prototype.Ra=function(a){this.gW||(this.gW=new YG,this.na.Gd(new JO,A(function(a){this.gW.Ad(a.Qoa)},this),ps));this.gW.Ra(a)};var MO=function(){F.call(this);var a={},b=new LO(function(a){var b=a.Zd,f=a.getPath(),g;(g=a.toString())?(g=xD(g).Zd,g=g==Mq||g==Iq||"m.youtube.com"==g):g=!1;if(g){if("/"==f||"/watch"==f)return a.yc("v")}else if(b==Jq&&ir(f,"/"))return f.substr(1)},(ir(window.location.href,mj)?mj:kj)+"://www.youtube.com/v/{$VIDEO_ID}?fs=1","https://www.youtube.com/embed/{$VIDEO_ID}?origin="+window.location.href);a[Iq]=b;a[Mq]=b;a["m.youtube.com"]=b;a[Jq]=b;b=new LO(function(a){var b=a.Zd;if(a.$f==mj&&(b==Gq||"facebook.com"==
b))return a.yc("v")},"https://www.facebook.com/v/{$VIDEO_ID}","https://www.facebook.com/video/embed?video_id={$VIDEO_ID}");a[Gq]=b;a["facebook.com"]=b;b=new LO(function(a){var b=a.getPath(),f=a.Zd;if(a.$f==mj&&ir(b,"/")&&("www.vimeo.com"==f||"vimeo.com"==f)&&(a=b.split("/")[1],!isNaN(parseInt(a,10))))return a},"https://vimeo.com/moogaloop.swf?clip_id={$VIDEO_ID}","https://player.vimeo.com/video/{$VIDEO_ID}");a["www.vimeo.com"]=b;a["vimeo.com"]=b;b=new LO(function(a){var b=a.getPath(),f=a.Zd;if(a.$f==
kj&&(f==Hq||"metacafe.com"==f)&&ir(b,"/watch/"))return b="/"==b[b.length-1]?b.substr(7,b.length-7-1):b.substr(7),b=b.split("/")[0]},"http://www.metacafe.com/fplayer/{$VIDEO_ID}.swf","http://www.metacafe.com/embed/{$VIDEO_ID}/");a[Hq]=b;a["metacafe.com"]=b;this.$U=a};C(MO,F);Qq(MO);MO.prototype.$za=function(a){return this.tQ(a,a.Zd)};MO.prototype.tQ=function(a,b){var c=this.$U[b];return c&&c.Fza(a)};MO.prototype.$N=function(a){var b=this.$U[a.Zd];return b&&b.$N(a)};
MO.prototype.M4=function(a){try{var b=xD(a);return this.$U[Iq].K4(b)}catch(c){}};var LO=function(a,b,c){this.g2=a;this.G6=c};LO.prototype.Fza=function(a){return!!this.g2(a)};LO.prototype.$N=function(a){if((a=this.K4(a))&&this.G6)return this.G6.replace("{$VIDEO_ID}",a)};LO.prototype.K4=function(a){return this.g2(a)};var NO=function(a){this.St=ir(window.location.href,mj);var b=new Q,c=a.responseData||{};a=c.results||[];var c=this.ona(a,c,b),e={},f=e.response={};f.docs=c;a.length&&(f.cursor=a.length);zN.call(this,e);a=this.Kc();for(c=0;c<a.length;c++)(e=b.get(a[c].zb))&&a[c].EU(e)};C(NO,zN);t=NO.prototype;
t.ona=function(a,b,c){var e=[];E(a,function(a){var b={};b.name=a.titleNoFormatting;b.description=a.content;b.serviceId=nn;var h=this.mE(a);b.url=h;h=xD(h);b.id=MO.S().M4(h)||$q(b).toString();switch(a.GsearchResultClass){case "GbookSearch":b.type="book";b.id=h.yc(rj);h={};h.au=a.authors;h.pc=a.pageCount;h.py=a.publishedYear;b.attrs=h;c.set(b.id,this.wO(a));break;case "GimageSearch":b.type=Kl;this.Cka(a,b);c.set(b.id,this.wO(a));break;case "GvideoSearch":b.type=mq;b.embedUrl=this.wua(a);b.mimeType=
mf;b.lastEditedUtc=a.published;var k={},m=a.duration;m&&m!=$k&&(k.d=m);b.videoData=k;MO.S().tQ(h,Iq)&&(k.ar="16:9");c.set(b.id,this.wO(a));break;case "GwebSearch":b.type=dq,h={},h.vu=a.visibleUrl,b.attrs=h}e.push(b)},this);return e};t.mE=function(a){a=a.originalContextUrl||a.unescapedUrl||a.url||a.postUrl;return a.match("^https?://www.google.com/url")?xD(a).yc("q"):a};
t.wua=function(a){a=xD(a.playUrl).gk("autoPlay").toString().replace(/&autoplay=\d+/,"");this.St&&(ir(a,"http://www.youtube.com/v/")||ir(a,"http://youtube.googleapis.com/v/"))&&(a=a.replace(/^http:\/\//,"https://"));return a};
t.wO=function(a){var b=a.tbUrl,c=b.match(/^(http(?:s)?:\/\/[0-9]+\.gvt[0-9]+\.com\/vi\/[^\/]+\/).*/)||b.match(/^(http(?:s)?:\/\/img\.youtube\.com\/vi\/[^\/]+\/).*/);if(c)return a=c[1],this.St&&(a=xD(a).ho(mj).mk("ytimg.googleusercontent.com").toString()),[new FM(a+"default.jpg",120,90),new FM(a+"hqdefault.jpg",480,360)];c=[];c.push(new FM(b,parseInt(a.tbWidth,10),parseInt(a.tbHeight,10)));"GimageSearch"==a.GsearchResultClass&&c.push(new FM(a.unescapedUrl,parseInt(a.width,10),parseInt(a.height,10)));
return c};t.Cka=function(a,b){var c=a.titleNoFormatting,e=a.contentNoFormatting;0==c.indexOf(lj)&&e?(b.name=e,b.description=void 0):(b.name=c,b.description=e);b.id=a.imageId||b.id;b.mimeType=xj};t.vc=function(){return 7};XM.set(7,function(a){return new NO(a)});var OO=function(a,b){DN.call(this,b);this.Iba=a;var c=b.site;c&&/[^a-zA-Z0-9\.]/.test(c)&&(c=null);this.ur=c;this.U6=b.inUrl;this.nAa=b.license;this.P6=b.imgsz;this.p0=b.cse;this.o0=b.cseLabel;this.K6=b.imgcolor;this.L6=b.imgc;this.Ot=b.imgtype;this.Aba=b.safe||Ne};C(OO,DN);t=OO.prototype;t.gh=ms((new oD).mk(Qe).Ie("/ajax/services/search/"));t.vc=function(){return 7};t.Cp=function(){var a=this.gh().clone();a.Ie(Pr(a.getPath(),this.Iba));return a};
t.Ag=function(){var a=new pD,b=OO.g.Ag.call(this);b.get("hl")&&a.set("hl",b.get("hl"));(b=this.Of())&&mC(b,function(b,e){a.set(e,b)});return a};
t.Of=function(){var a=new UC(this.getQuery());this.ur&&a.append(" site:"+this.ur);this.U6&&a.append(" inurl:"+this.U6);this.o0&&a.append(" more:"+this.o0);var b=new Q;b.set("q",a.toString());b.set("v","1.0");b.set(Wj,"internal-onepick");b.set(Co,this.dm);b.set("rsz",ck);this.K6&&b.set(zj,this.K6);this.L6&&b.set("imgc",this.L6);this.Ot&&b.set(Aj,this.Ot);this.P6&&b.set("imgsz",this.P6);this.Aba&&b.set("safe",this.Aba);this.p0&&b.set("cx",this.p0);var c;switch(this.nAa){case "r":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial|cc_nonderived)";
break;case "cr":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_nonderived).-(cc_noncommercial)";break;case "rwm":c="(cc_publicdomain|cc_attribute|cc_sharealike|cc_noncommercial).-(cc_nonderived)";break;case "crwm":c="(cc_publicdomain|cc_attribute|cc_sharealike).-(cc_noncommercial|cc_nonderived)"}c&&b.set("as_rights",c);return b};t.clone=function(a){return new OO(this.Iba,this.XZ(a))};var PO=function(a,b,c){F.call(this);this.xa=a;this.Td=b;this.pb=c||{}},QO,RO;C(PO,F);
var SO=["application/vnd.oasis.opendocument.graphics","image/vnd.adobe.photoshop","image/x-photoshop","application/illustrator","application/vnd.google-apps.drawing"],TO=[cf,df],UO=[xj,"image/gif","image/png","image/tiff","image/bmp"],VO=[$e],WO=["application/mspowerpoint",ff,hf,"application/vnd.ms-powerpoint","application/vnd.ms-powerpoint.presentation.macroEnabled.12","application/vnd.ms-powerpoint.slideshow.macroEnabled.12","application/vnd.ms-powerpoint.template.macroEnabled.12","application/vnd.oasis.opendocument.presentation",
"application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.openxmlformats-officedocument.presentationml.slideshow","application/vnd.openxmlformats-officedocument.presentationml.template"],XO=["application/vnd.google-apps.script"],YO=["application/vnd.google-apps.drive-sdk.897606708560","application/vnd.google-apps.site"],ZO=["application/msexcel",cf,jf,lf,"application/vnd.ms-excel","application/vnd.ms-excel.sheet.macroEnabled.12","application/vnd.ms-excel.template.macroEnabled.12",
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template","application/vnd.oasis.opendocument.spreadsheet"],$O=["application/vnd.google-apps.fusiontable"],aP=["text/plain","application/msword",af,ef,"application/vnd.ms-word","application/vnd.ms-word.document.macroEnabled.12","application/vnd.ms-word.template.macroEnabled.12","application/vnd.oasis.opendocument.text","application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"application/vnd.openxmlformats-officedocument.wordprocessingml.template"],bP="application/vnd.google-apps.video video/3gpp video/3gpp2 video/avi video/flv video/mp2t video/mp4 video/mp4v-es video/mpeg video/ogg video/quicktime video/webm video/x-flv video/x-m4v video/x-ms-asf video/x-ms-wm video/x-ms-wmv video/x-ms-wvx video/x-msvideo video/x-quicktime video/vnd.mts".split(" "),cP=["flat",hj,Ck];PO.prototype.bs=null;PO.prototype.Fd=null;PO.prototype.LG=null;var dP=!1,eP=!1,fP=!1;t=PO.prototype;
t.aQ=function(){var a=this.getOption(Rm);return this.xa==Qp&&(a==Eg||a==Kl||a==Ql||a==Im||a==pq||"youtubebanner"==a)};t.cQ=function(){var a=this.getOption(Bl),b=this.getOption(Gl);return rK(this.xa)&&Uq(a)&&!a&&!b&&!this.getQuery()};t.dfa=function(){return this.xa==Jl||this.xa==Sh};t.WP=function(){return 15==this.getOption(ro)&&this.xa!=Zg&&rK(this.xa)};
t.Qx=function(){var a=this.bs;if(a)return a;a=this.Xra();if(!a){var b=this.getQuery(),c=this.ta();switch(this.xa){case Of:a=new EN({service:Pf});break;case Rf:a=new OO("books",{query:b});break;case Xf:var e={service:Wf};QO&&(e.mine=0);a=new EN(e);break;case xg:a={service:xg};c=this.getOption(Gl);b?a.query=b:c&&(a.parent=c);a=new EN(a);break;case uh:a={service:"party",type:uh};a=new EN(a);break;case "et":a={service:"party",type:"themes"};(b=this.getOption($f)||this.ta())&&(a.options={category:b});
a=new EN(a);break;case Sh:a={options:{sortOrder:this.getOption(so)||"p"},service:Sh,type:this.ta()};b&&(a.query=b);a=new EN(a);break;case Yi:a={service:Yi};(c=this.getOption(Gl))&&(a.parent=c);a=new EN(a);break;case wj:if(c==hi){a=this.VF();break}a=this.kO();break;case zk:a=new EN({type:this.ta(),service:"mapspro"});break;case kg:(c=this.getOption(Gl))&&"hem"!=this.getOption(Jk)&&(a=new BN("p",void 0,c));break;case Jl:switch(this.ta()){case Se:a="a";break;case lg:a="c";break;case "frequent":a="f";
break;case ji:a=this.getQuery()?"p":"g";break;case sn:a=this.getQuery()?"p":"s";break;default:a="p"}c=this.getOption("peopleFilter");a=new BN(a,b||void 0,this.getOption(Gl),c?new mL(c):void 0,!!this.getOption("noEmailInput"));break;case Ql:case Ol:a=this.VF();break;case nq:case Ll:a=c==Dk?this.UF("your_collections"):this.VF();break;case Nl:this.getOption(Gl)&&!this.getOption("che")&&(a=this.VF());break;case Bm:a=new EN({type:c,query:b,service:Bm});break;case Vm:a=new EN({service:"recent"});break;
case oq:a=this.getOption(Vn);a==Mq?(a={},a.safe=this.getOption("safe")||Ne,a=new EN({service:Kq,type:mn,options:a,query:b})):a=RO?this.kO():new OO(mq,{site:a,query:b});break;case pq:this.getOption("rdv")&&c==Wp?a=this.UF("your_videos"):(e={},a=new EN({service:Rl,parent:this.getOption(Gl),safe:this.getOption("safe"),type:"videos-"+(c||Wp),options:e}),w(this.getOption(yq))&&(e.visibilityFilter=this.getOption(yq)));break;case Aq:a=this.kO();break;case Kq:e={service:Kq},b?(e.query=b,e.type=mn):e.type=
"uploads",a=new EN(e)}}return this.bs=a};
t.Xra=function(){if(this.getOption(vk)||this.getOption(ln)&&!this.getOption(Gl))return null;var a=this.getOption(sj);if(a&&rK(this.xa))return new wN(Wg,a.split(","),{});var a={},b={service:Wg,query:this.getQuery(),options:a},c=this.getOption(Gl),e=this.getOption(Bl);if(e)a.ownedByMe=!0;else if(0==e||c==Ln)a.ownedByMe=!1;b.mine=QO?0:0==QO?1:2;fP&&(a.edbe=!0);var e=Qc,f=!1,g=[];switch(this.xa){case Xg:case Yg:case Zg:if(this.xa==Xg||this.xa==Yg)g=g.concat(UO);if(this.xa==Zg||this.xa==Yg)g=g.concat(bP);
this.xa==Zg&&(f=!0);if(!this.getQuery()&&!this.cQ()){a.sortKey=8;a.ascending=!0;break}case Se:e="NOT_COLLECTION";break;case ah:g=aP;break;case dh:g=SO;break;case Qh:c||(g=[bf]);break;case Uh:g=TO;break;case Il:g=VO;break;case Gm:g=WO;break;case hn:g=XO;break;case Wn:g=YO;break;case zo:g=ZO;break;case Ro:g=$O;break;default:return null}var h=this.getOption(Hk);h&&h&&z(h)&&(h=h.split(","));g=g.length&&h&&h.length?(new oC(g)).NP(h).Cb():h||g;this.getOption(Bj)&&!f&&(e=Qc,g.length&&!Gs(g,bf)&&(g=g.concat([bf])),
a.notInFolder=!0);if(this.getOption(Bo)||c==Bo)a.starred=!0;(f=this.getOption(yg))&&(a.containingCosmoId=f);g.length&&(a.mimeTypes=g.join(","),e=Qc);b.type=e;c&&c!=Bo&&c!=Ln&&c!=Wo&&(b.parent=c);if(c==Wo||this.pQ())a.tdquery=!0;if(this.getOption("tdv")||this.getOption(Uo))a.tdEnabled=!0;if(c=this.getOption(ro))a.sortKey=c,8==c||7==c?a.ascending=!0:delete a.ascending;c=this.getOption("ff");Uq(c)||(c=eP);c&&(a.ff=c);this.WP()&&(b.service=eh);return new EN(b)};
t.VF=function(){var a=this.ta();if("gmail_themes"==a){var b=new EN({service:"static_themes"});return b}if("moment"==a)return b=new EN({parent:this.getOption(Gl),query:this.getQuery(),service:"stories",type:a}),this.getOption(Ve)&&b.setOption(Ve,as(this.getOption(Ve))),b;b=!!this.getOption("rdv");if(Gs(cP,a))return this.UF("flat"==a?"your_photos":a);if(b&&a==rq)return this.UF("your_videos");var c=this.getOption(sj);if(c)return b={},(a=this.getOption(gq))&&(b.username=a),this.xa==Ll&&(b.type=Re),new wN(Rl,
c.split(","),b);b={};c=b.options={};switch(this.xa){case Ol:a="faces";this.getOption("eid")&&(c.eid=this.getOption("eid"));break;case Nl:a="tpp"}var e=this.getQuery();b.service=Rl;b.type=a;b.username=this.getOption(gq);c.excludeLabels=this.getOption("excludeLabels");a==sk&&(c.localAlbum=this.getOption(sk),c.localUser=this.getOption("localuser"));var f=this.getOption(Gl);e?b.query=e:(f&&(b.parent=f),this.getOption(Ve)?c.allowedItemTypes=this.getOption(Ve):f&&this.xa==nq&&(c.allowedItemTypes=mq));this.xa==
Ll&&(c.snippets="12");if("ofuser"==a||this.xa==Ol)a=this.getOption("userId"),null!=a&&(c.userId=a);(a=this.getOption("shapeType"))&&(c.shapeType=a);this.getOption("excludeEvAlbums")&&(c.excludeEvAlbums=!0);w(this.getOption(yq))&&(c.visibilityFilter=this.getOption(yq));return new EN(b)};
t.UF=function(a){var b={query:this.getQuery(),service:"media",type:a},c=this.getOption(Bl);if(QO||c)b.mine=0;b=new EN(b);this.getOption(Ve)?b.setOption(Ve,as(this.getOption(Ve))):"your_photos"!=a&&b.setOption(Ve,Kl);dP&&b.setOption(oh,r);(a=this.getOption(Gl))&&b.Va(a);(a=this.getOption("ipl"))&&b.setOption("ipl",a);(a=this.getOption(gq))&&b.setOption(gq,a);(a=this.getOption("userId"))&&b.setOption("userId",a);return b};
t.kO=function(){var a={service:Aq},b={};b.safe=this.getOption("safe")||Ne;switch(this.xa){case Aq:var c=new UC(this.getQuery());this.getOption(Vn)&&c.append(" site:"+this.getOption(Vn));this.getOption("inUrl")&&c.append(" inurl:"+this.getOption("inUrl"));this.getOption("cseLabel")&&c.append(" more:"+this.getOption("cseLabel"));this.ya(b,"cse","cse");a.query=c.toString();a.options=b;break;case wj:a.type=Kl;"life"==this.ta()?a.query=this.getQuery()+" source:life":(a.query=this.getQuery(),this.ya(b,
"imgsz","imgsz"),this.ya(b,lk,lk),this.ya(b,Vn,Vn),this.ya(b,"imgc","imgc"),this.ya(b,zj,zj),this.ya(b,Aj,Aj),a.options=b);break;case oq:a.type=mq,this.ya(b,lk,lk),this.ya(b,Vn,Vn),a.query=this.getQuery(),a.options=b}return new EN(a)};t.SD=function(){var a=new UC(this.xa),b=this.getQuery();lr(Or(b))||a.append("/",encodeURIComponent(String(b)));return a.toString()};var gP=function(a,b,c){a=a.split("/");var e=a[0];return jt(qK,e)?(c=c||{},c.query=a[1]?tr(a[1]):c.query,new PO(e,b,c)):null};t=PO.prototype;
t.ta=function(){return this.getOption(Ip)};
t.getName=function(){if(this.Td)return this.Td;if(this.xa==Se||this.xa==Xg||this.xa==Yg||this.xa==Zg){var a=this.getOption(Bl);if(!0===a)return"My Drive";if(!1===a)return"Shared with Me";if(this.WP())return"Recent"}a=this.ta();switch(this.xa){case Of:return"Blog templates";case Rf:return"Book search";case Xf:return"Calendars";case kg:return this.getOption(Gl)?"Edit your circle":"Create a circle";case xg:return"Contacts";case Bg:return"Create";case Cg:return"Photo crop";case Se:return"Google Drive";
case Xg:return"Images";case Yg:return"Images and videos";case Zg:return"Videos";case ah:return"Documents";case dh:return"Drawings";case uh:return"Events";case Qh:return"Folders";case Sh:return"Fonts";case Uh:return"Forms";case Yi:return"Groups";case "icon":return"homepage"==a?"No background":"Icon";case wj:return this.getOption("comboTypes")?"Image search":"life"==a?"LIFE Photo Archive":a==hi?"Stock photos":"Google Image Search";case yk:return"Maps";case zk:return"Maps Engine Lite";case Il:return"PDFs";
case Jl:switch(this.ta()){case lg:return"Circles";default:return"People"}case Ml:return"Add text to photo";case Nl:return"Organize photos";case Ol:return"Tag people";case Ql:return"banner"==a?"Cover photos":a==Eh?"Featured photos":a==hi?"Stock photos":a==Yf?"Photos from phone":"flat"==a?"Your photos":"ofuser"==a?"Photos of you":a==Wp?"Uploaded photos":"Your photos";case Ll:return"Photo albums";case Bm:return"Play for Education";case Gm:return"Presentations";case Im:return"np"==a?"No photo":"Profile photo";
case "quota":return"Quota";case Vm:return"Previously selected";case hn:return"Scripts";case zo:return"Spreadsheets";case Wn:return"Sites";case Ro:return"Tables";case Pl:case Qp:var b;return this.xa==Pl||(b=this.aQ())&&this.getQuery()!=pq&&this.getQuery()!=Eg?"Upload photos":b&&this.getQuery()!=Eg?"Upload videos":"Upload";case oq:return"Video search";case nq:return"Albums";case pq:return a==Yf?"Videos from phone":"Videos";case Bq:switch(this.ta()){case Ao:return"Take a snapshot";default:return"Web camera"}case Aq:return"Web search";
case dq:return"URL";case Kq:return"Your YouTube videos";case Lq:return"YouTube banner preview"}return""};t.Ba=function(a){return a==this.xa};t.Ue=function(){return this.Td};t.getOptions=function(){return this.pb};t.getOption=function(a){return this.pb[a]};t.$d=function(a){return!!a&&this.Ba(a.xa)&&this.getQuery()==a.getQuery()&&ft(this.getOptions())==ft(a.getOptions())&&this.getOption(Gl)==a.getOption(Gl)&&this.ta()==a.ta()&&this.getOption(rj)==a.getOption(rj)&&this.getOption(Bl)==a.getOption(Bl)};
t.clone=function(){var a=new PO(this.xa,this.Td,ot(this.pb));a.li(this.Fd);a.eda(this.lt()||this);return a};t.jh=function(){var a=[];hP(a,this);this.LG&&hP(a,this.LG);return a.join("/")};var hP=function(a,b){a.push(b.xa);at(b.pb,function(b,e){void 0!=b&&a.push(e+"="+b)})};t=PO.prototype;t.setQuery=function(a){this.bs=null;this.nb(Rm,a)};t.getQuery=function(){return this.getOption(Rm)};t.setOptions=function(a){this.pb=a;this.bs=null};t.nb=function(a,b){this.pb[a]=b;this.bs=null};
t.vw=function(a){null!=this.getOption(a)&&(delete this.pb[a],this.bs=null)};t.li=function(a){this.Fd=a};t.eda=function(a){this.LG=a};t.lt=function(){return this.LG};
t.jta=function(){switch(this.xa){case Of:return"No templates found.";case Rf:return"No books found.";case Xf:return"No calendars found.";case xg:return this.getQuery()?"No contacts matched your search.":"No contacts found.";case Se:case ah:return this.getQuery()?"No items matched your search.":0==this.getOption(Bl)?"No one's shared any files with you yet!":"No documents.";case Xg:return"No images.";case Yg:return"No images or videos.";case Zg:return"No videos.";case dh:return"No drawings.";case uh:return"No events found.";
case Qh:return this.getOption(Gl)?"No items in this folder.":"No folders.";case Sh:return"No fonts found.";case Uh:return"No forms.";case Yi:return this.getOption(Gl)?"No contacts in this group. Please ensure that you are allowed to view group members.":"No groups found.";case wj:return"No images found.";case yk:case zk:return"No maps found.";case Il:return"No PDFs.";case kg:case Jl:switch(this.ta()){case lg:return"No circles found.";default:return this.getOption(Gl)?this.getOption("peopleFilter")?
"No matching people found in this circle.":"There's no one in this circle.":"No people found."}case Ql:case Ll:case Nl:return this.getQuery()||this.ta()||this.getOption(Gl)?this.ta()==Dk?"No albums.":"No photos.":"No photo albums.";case Bm:return"No Play for Education content.";case Gm:return"No presentations.";case Vm:return"You haven't recently picked anything!";case hn:return"No scripts.";case zo:return"No spreadsheets.";case Wn:return"No sites.";case Ro:return"No tables.";case oq:case pq:case nq:case Kq:return"No videos found.";
case Aq:return"No results found.";default:return"No items matched your criteria."}};t.ya=function(a,b,c){c=this.getOption(c);w(c)&&(a[b]=c)};t.Zn=function(){return[this.xa,this.Td,this.pb]};t.pQ=function(){return!(!this.getOption(Uo)||this.getOption(Gl))};t.B=function(){PO.g.B.call(this);delete this.xa;delete this.Td;delete this.pb};var iP=function(a,b,c,e,f,g,h,k,m,p,u,y,P,L,ma){F.call(this);this.bb=a;this.L=u;this.ea=e;this.Mb=b;this.Hr=c;this.xf=f;this.na=g;this.pJ=h;this.BDa=k;this.df=m;this.uga=p;this.td=y;this.zi=P;this.uh=null;this.om=L;this.Zi=ma||null;this.zMa=this.$L=null;this.bDa=this.Fka=this.Gka=!1;this.Wda=this.e1=0;this.K1=!0};C(iP,F);t=iP.prototype;t.$Ia=function(a){this.uh=a};t.Yx=function(){this.rJ||(this.rJ=new HO(this));return this.rJ};t.Pj=function(){return this.zi.get(FL)};t.Sm=function(){return this.zi};
t.Tra=function(){null===this.$L&&(this.$L=new YG);return this.$L};t.B=function(){iP.g.B.call(this);Rt(this.bb);delete this.bb;Rt(this.L);delete this.L;Rt(this.ea);delete this.ea;Rt(this.Mb);delete this.Mb;Rt(this.Hr);delete this.Hr;Rt(this.xf);delete this.xf;Rt(this.uga);delete this.uga;Rt(this.na);delete this.na;Rt(this.pJ);delete this.pJ;Rt(this.rJ);delete this.rJ;Rt(this.zi);delete this.zi;delete this.df};t.MJa=function(a){this.Wda=a};t.XHa=function(a){this.e1=a};t.wca=function(a){this.K1=a};var jP=function(){rN.call(this);this.fS=new Q;this.Lu=new Q;var a=(new oD(document.location.href)).$f,a=String(a).toLowerCase();this.tza=0==(a<kj?-1:a==kj?0:1);this.initialize()};C(jP,rN);t=jP.prototype;t.cC=function(a){return 7==a.vc()};t.wta=function(a){var b={},c=a.Ag();mC(c.vb(),function(a){b[a]=c.get(a)});return b};
t.Zba=function(a){for(var b=Math.ceil(6.25),b=Math.min(b,4),c=a.dm,e=0;e<b;e++){var f=a.clone();f.setStart(c+8*e);var g=f.Cp();this.tza&&g.mk(Pr(f.getId(),".",Qe));hN.S().qW++;g=new CI(g);g.vJa(1E4);g.send(this.wta(f),A(this.qy,this,a,f),A(this.ee,this,a,f))}a=a.getId();this.faa(a);this.Lu.remove(a);this.fS.set(a,b)};t.I0=function(a){var b=this.fS,c=b.get(a)-1;b.set(a,c);return c};
t.qy=function(a,b,c){var e=a.getId(),f=c.responseData,f=(f=f?f.cursor:void 0)?f.currentPageIndex:void 0;if(Math.floor(b.dm/8)==f||void 0==f){var f=this.Lu,g=f.get(e);null==g&&(g=new eM,f.set(e,g));g.JP(b.dm,c)}0==this.I0(e)&&(this.AS(e,this.k3(a)),this.PZ(e))};t.ee=function(a){hN.S().rW++;var b=a.getId();0==this.I0(b)&&(this.Lu.get(b)?this.AS(b,this.k3(a)):this.yS(b),this.PZ(b))};
t.k3=function(a){var b=this.Lu.get(a.getId());if(!b)return{};var c=b.remove(),e=c.responseData||{},f=e.results||[],g=e.cursor,g=g&&g.estimatedResultCount;if(8<g)for(;b.Ga();){var h=b.remove().responseData||{},f=f.concat(h.results||[]);e.results=f}50<f.length&&(e.results=f=f.slice(0,50));b=g?Math.min(g,64):64;e.more=(50==f.length||32==f.length)&&a.dm+f.length<b;return c};t.PZ=function(a){var b=this.Lu.get(a);b&&b.clear();this.Lu.remove(a);this.fS.remove(a)};var kP=function(a,b,c,e,f,g){$M.call(this,a,g);this.lGa=b;this.Uqa=c;this.nma=e;this.pN=f;qL().Uf()&&(f==jk?f=an:f==an&&(f=jk));this.oN=f;this.U2=[];this.uC=[];this.uc=this.gb=null;this.bc=!0;this.cb=null;this.n_="0"};C(kP,$M);t=kP.prototype;t.U=function(){return this.uc};
t.j=function(){var a=this.v(),b=this.gb=a.j(n,{className:function(a){switch(a){case jp:return"picker-framepane-top";case Tf:return"picker-framepane-bottom";case jk:return"picker-framepane-left";case an:return"picker-framepane-right"}return""}(this.pN)+" "+this.Uqa}),c=this.uc=a.j(n,{className:"picker-framepane-content "+this.nma});E(this.uC,function(a){a.j();c.appendChild(a.b())});var e=this.pN==Tf||this.pN==an,a=a.j(n,{className:"picker-framepane-root "+this.lGa},e?c:b,e?b:c);this.Ab(a)};
t.H=function(){this.UV();kP.g.H.call(this)};t.Wv=function(a,b){this.sa(a);this.U2.push(a);b&&a.ha(this.gb)};t.gg=function(a){this.sa(a);this.uC.push(a)};t.removeChild=function(a,b){var c=kP.g.removeChild.call(this,a,b);Ls(this.uC,a);return c};t.Gca=function(a){var b=this.b();b&&qA(b,"picker-framepane-hidden",!a);this.gb&&this.bc!=a&&(this.bc=a,this.eea(a),a=a?this.n_:0,G&&!I(7)?R(this.b(),El+this.oN,a):R(this.uc,this.oN,a))};t.eea=function(a){S(this.gb,a)};t.Ub=function(a){this.cb=a;this.ba&&this.UV()};
t.ce=function(){return this.cb};t.UV=function(){var a=this.cb,b=this.oN,c=b==jp||b==Tf,e=G&&!I(7),f=this.gb,g=bz(f);if(isNaN(g.top))Xu(A(this.UV,this),200);else{g=c?g.top+g.bottom:g.left+g.right;if(0<a||this.getContext().L.De()&&0==a){var h=(e?a+g:a)+q;c?f.style.height=h:f.style.width=h}else 0==a&&R(f,"padding",0);h=0;a&&(h=a+g,e||(a=Iy(f),h+=c?a.top+a.bottom:a.left+a.right));this.n_=h+=q;e?R(this.b(),El+b,h):R(this.uc,b,h)}};t.B=function(){kP.g.B.call(this);this.uC=this.U2=null};var lP=function(a){return!!a&&!!a.getOption(Gl)&&ir(a.getOption(Gl),"newFolderId")};var mP=function(a,b){var c=b.getOption(Gl);c||b.getOption("cv")||(c=en);return c},nP=function(a,b){var c=mP(a,b);return c?a.na.J(c,Wg):null},oP=function(a,b,c,e){var f=a.na.J(c,Wg);f?e(a,b,f):a.na.Gd(new wN(eh,[c],{isMinimalMode:!0}),function(c){e(a,b,c.Kc()[0])},Pq,!0)},pP=function(a,b,c){var e=a.Mb.lt().getOption(Gl),f=[];b.getOption("ops")&&(f=b.getOption("ops").split(","));b=f;e&&(b=b.concat(e));e=ys(b,function(b){var c=SM(Wg,"0",b);return b==en&&(b=a.na.J(c))?b.getId():c});return Gs(e,c)},rP=
function(a,b){var c=qP(a,b);return c?c:b.getOption(ln)&&!b.getOption(Gl)||b.getOption(vk)?null:nP(a,b)},qP=function(a){var b=a.bb.Qf();return Hs(b)?null:(D(1==b.length,"Only one doc should be selected"),a.na.J(b[0]))},sP=function(a,b,c,e,f){a.ra(b);b=a.b();IE(b,c,e);f&&cA(a.b(),ak)},tP=function(a){return Hs(a.bb.Qf())?"Add here":"Add"},uP=function(a,b){IE(a,b,void 0);cA(a,ak)};var vP=function(a,b){BA.call(this,b);this.hd=a};C(vP,BA);vP.prototype.mb="info";vP.prototype.rR=!1;var wP={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};t=vP.prototype;t.ta=function(){return this.mb};t.dg=function(a){if(this.U()){var b=this.b(),c=wP[a];oA(b,wP[this.mb]);U(b,c)}this.mb=a};t.hb=function(a){this.hd=a;if(a=this.b()){var b=this.v();b.wh(a);b.append(a,this.hd)}};t.V=function(){var a=this.b();return null!=a&&mA(a,Nj)};
t.K=function(a){D(this.ba,"setVisible must only be called after the butter bar is rendered.");qA(this.b(),Nj,a)};t.Xca=function(a){this.rR=a;(a=this.b())&&qA(a,"jfk-butterBar-mini",this.rR)};t.j=function(){this.Ab(this.v().j(n,"jfk-butterBar"));D(this.b(),"The DOM element for the butter bar cannot be null.");this.vka();this.hb(this.hd);this.Xca(this.rR);this.dg(this.mb)};t.vka=function(){var a=this.b();a&&(T(a,pk,uf),T(a,vf,r))};var xP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Very few items selected. Please select more.}male{Very few items selected. Please select more.}other{Very few items selected. Please select more.}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};xP.qb="picker.ui.templates.messages.lackItemsSelected";
var yP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Back}male{Back}other{Back}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)},zP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Close}male{Close}other{Close}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};var BP=function(a,b,c){return XE(Xb+tF(a.Eg.Tia)+'" class="picker-title-container">'+W(FF({id:a.Eg.BACK,style:4,content:jF('<div class="'+(a.Uf?"picker-sspr-minpicker-forward-button":"picker-sspr-minpicker-back-button")+' picker-header-icon" ></div>'),Mv:!0,title:iF(""+yP(null,null,c)),attributes:kF(sf+tF(yP(null,null,c))+va)},null,c))+Xb+tF(a.Eg.OW)+'" class="picker-header-icon picker-sspr-drive-logo-black"></div><div role="status" aria-live="polite" class="picker-header-folder"><div id="'+tF(a.Eg.pB)+
'" role="heading" class="picker-header-folder-name" data-tooltip-only-on-overflow="true" data-tooltip-unhoverable="true"></div></div><input id="'+tF(a.Eg.fia)+'" class="picker-title-new-folder-input" /><div class="picker-title-new-folder-btn">'+W(FF({id:a.Eg.eia,style:2,content:jF('<div class="picker-spr-white-checkmark"></div>'),Mv:!0,title:iF(""+AP(null,null,c)),attributes:kF(sf+tF(AP(null,null,c))+'"'),width:1},null,c))+'</div></div><div class="picker-header-close">'+W(FF({id:a.Eg.gha,style:4,
content:jF('<div class="picker-sspr-close-tab"></div>'),Mv:!0,title:iF(""+zP(null,null,c)),attributes:kF(sf+tF(zP(null,null,c))+va)},null,c))+Qb)};BP.qb="picker.ui.minimal.template.title";
var DP=function(a,b,c){return XE(Xb+tF(a.Eg.ERROR)+'" class="picker-min-footer-error"></div><div class="picker-min-footer-ok-button">'+W(FF({id:a.Eg.WW,style:2,Mv:!1},null,c))+'</div><div class="picker-min-footer-new-folder-button">'+W(FF({id:a.Eg.dia,style:0,width:1,content:jF('<div class="picker-sspr-folder-new"></div>'),Mv:!0,title:iF(""+CP(null,null,c)),attributes:kF(sf+tF(CP(null,null,c))+va)},null,c))+Qb)};DP.qb="picker.ui.minimal.template.footer";
var CP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{New Folder}male{New Folder}other{New Folder}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};CP.qb="picker.ui.minimal.template.newFolderLabel";
var AP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Create folder}male{Create folder}other{Create folder}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)},EP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Creating {FOLDER_NAME} failed.}male{Creating {FOLDER_NAME} failed.}other{Creating {FOLDER_NAME} failed.}}")).Ph({VIEWER_GENDER:c.nj,FOLDER_NAME:""+a.kqa});return eF(""+a)};EP.qb="picker.ui.minimal.template.folderErrorMsg";
var FP=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}male{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}other{{NUM_ITEMS,plural,=1{File is already in a Team Drive. You can't add it to My Drive.}other{Some files are already in Team Drives. You can't add them to My Drive.}}}}")).Ph({VIEWER_GENDER:c.nj,NUM_ITEMS:a.HBa});
return eF(""+a)};FP.qb="picker.ui.minimal.template.cantAddFromTeamDrives";var GP=function(a,b){kP.call(this,a,"picker-min-footer-root","picker-min-footer-frame","picker-min-footer-content",Tf,b)};C(GP,kP);t=GP.prototype;t.j=function(){GP.g.j.call(this);var a={};a.Eg=this.X8(HP);a=this.getContext().Pj().Gaa(DP,a);this.gb.appendChild(a);this.Ub(29);this.pu=this.getContext().Pj().Un(CP)};
t.H=function(){GP.g.H.call(this);this.Mg=new HF(null);this.Mg.la(this.Wm("__mp-fo"));this.wa(this.Mg);this.$j=new HF(null);this.$j.la(this.Wm("__mp-fnf"));this.wa(this.$j);this.Wk=new vP(null,this.v());this.Wk.dg("warning");this.Wk.Xca(!0);this.Wk.ha(this.Wm("__mp-fe"));this.wa(this.Wk);this.C().o(this.getContext().ea,"o",this.YO).o(this.getContext().bb,"r",this.oy).o(this.Mg,Le,this.QO).o(this.$j,Le,this.zwa)};
t.vxa=function(){this.pU();this.Mg.io(this.getContext().L.qj&&!this.getContext().ea.Gc.getOption(vk)?1:2);var a=this.getContext(),b=a.ea.Gc;if(b){var c=rP(a,b);this.cG(a,b,c)}};t.YO=function(){var a=this.getContext(),b=D(a.ea.Gc);this.pU();var c=null;b.getOption(vk)||b.getOption(ln)&&!b.getOption(Gl)||(c=mP(a,b));this.$j.K(!!c&&c!=Wo);var e=rP(a,b);e||lP(b)||!c||b.getOption("sodc")?this.cG(a,b,e):(c=A(this.cG,this),e=b.getOption(Gl)||en,oP(a,b,e,c));b.$d(this.vpa)||this.Wk.K(!1)};
t.pU=function(){var a=this.getContext().ea.Gc;if(a&&!a.getOption("sodc"))if(a.getOption(vk)){var a=a.getOption("idto"),b=0;z(a)&&(b=a.split(",").length);a=(new zO("{numIds, plural, =0 {unused plural form}=1 {Move this item}other {Move these items}}")).format({numIds:b});this.Mg.hb(a)}else this.getContext().L.qj?this.Mg.hb(tP(this.getContext())):this.Mg.hb(IP(this.getContext(),a))};t.oy=function(){var a=this.getContext(),b=D(a.ea.Gc);this.pU();this.cG(a,b,rP(a,b))};
t.QO=function(){var a=this.getContext(),b=D(a.ea.Gc);if(b.getOption(vk))b=b.clone(),a.na.ud(78),b.vw(vk),a.ea.Dc(b);else if(b.getOption("cv")){if(b.getOption("cv")){var c;(c=b.getOption("cv"))&&Sq(c)&&c[0]?(c=gP(c[0],c[1],c[2]),c.li(b)):c=null;if(c){var e=qP(a,b);if(e){if(c&&e){var b=c.clone(),f="_addItemId_"==e.zb;f?b.vw(Gl):e.getId()&&b.nb(Gl,e.zb);f&&(b.nb("sblovs","Add here"),b.nb("sblois","Add"));e=b.getOption("ops");f=c.Fd.getOption("items");z(e)&&z(f)&&(e=e.split(",").concat(f.split(",")),
Ss(e),b.nb("ops",e.join(",")));c=c.Fd.getOption("idto");z(c)&&b.nb("idto",c);b.eda(b)}else b=null;a.ea.Dc(b)}}}}else{if(c=b)a:{if((c=rP(a,b))&&c.zb!=Bo&&c.zb!=Ln&&c.zb!=Wo&&(a.L.qj&&c.setAttribute("rpt",""),e=b.getOption("drois"),b.getOption("sp")||!(pP(a,b,c.getId())||e&&c&&c.getAttribute("ro")))&&(b.getOption("ers")||!c.Yt())){b=a.bb;b.wm(!0);b.qda(c.getId(),!0,"cl",!0);a.Mb.KV(!0);c=!0;break a}c=!1}c||this.getContext().Mb.vk()}};
t.zwa=function(){var a=this.getContext(),b=a.ea,c=b.Gc;if(c){var e=qP(a,c),a=c.clone(),f=c.getOption(Gl);e&&(f=e.zb);a.li(c);c="newFolderId";f&&(c+=f);a.nb(Gl,c);b.Dc(a)}};t.WKa=function(a,b){this.vpa=b;this.Wk.hb(a);this.Wk.K(!0);Xu(function(){this.Wk.V()&&this.Wk.K(!1)},1E4,this)};
var IP=function(a,b){var c=nP(a,b);if(c&&c.Yt()&&!b.getOption("ers"))return"Done";c=b.getOption("mbl");if(z(c))return c;if(Hs(a.bb.Qf()))c=b.getOption("sblovs");else{if((c=qP(a,b))&&"_addItemId_"==c.zb)return"Add new location";c=b.getOption("sblois")}return z(c)?c:a.L.Gp()};
GP.prototype.cG=function(a,b,c){if(lP(b)||b.getOption("cv")&&!c||b.getOption("sodc"))sP(this.Mg,!1,"","",!0),sP(this.$j,!1,this.pu);else{var e=!!b.getOption(ln)&&!b.getOption(vk)&&!b.getOption(Gl)&&(!c||!c.Yt()),f=c&&(c.zb==Bo||c.zb==Ln);e||f?(sP(this.Mg,!1,re,"",!0),sP(this.$j,!1,this.pu)):b&&c&&pP(a,b,c.getId())?(sP(this.Mg,!1,"Item is already in this folder","",!0),!c.getAttribute("tdid")||c.getAttribute("tdcac")?sP(this.$j,!0,this.pu):sP(this.$j,!1,this.pu)):c&&c.getAttribute("ro")&&!b.getOption(vk)?
(b&&b.getOption("drois")&&sP(this.Mg,!1,qe,"",!0),sP(this.$j,!1,qe,this.pu)):c&&(c.zb==Wo||this.getContext().L.qj&&c.getAttribute("tdid"))?sP(this.Mg,!1,this.getContext().L.qj?"Files can't be added to Team Drive, they must be moved":re,"",!0):this.getContext().L.qj&&this.getContext().bDa?(a=b.getOption("idto"),b=0,z(a)&&(b=a.split(",").length),a=this.getContext().Pj().Un(FP,{HBa:b}),sP(this.Mg,!1,a,"",!0)):(sP(this.Mg,!0,""),sP(this.$j,!0,this.pu))}};var HP={ERROR:"__mp-fe",dia:"__mp-fnf",WW:"__mp-fo"};var JP=function(a,b){kP.call(this,a,"picker-min-title-root","picker-min-title-frame","picker-min-title-content",jp,b);this.S_=!1;this.Cc=new aB;this.lz=this.Vw=this.In=null;this.wa(this.Cc)};C(JP,kP);t=JP.prototype;t.mIa=function(a){this.$k=a};t.rE=function(){this.$k.vxa();qA(this.b(),"picker-minimal-add-mode",this.getContext().L.qj&&!this.getContext().ea.Gc.getOption(vk))};
t.j=function(){JP.g.j.call(this);var a={};a.Eg=this.X8(KP);a.Uf=qL().Uf();a=this.getContext().Pj().Gaa(BP,a);this.gb.appendChild(a);this.Ub(48);this.getContext().L.xq&&U(this.b(),em)};
t.H=function(){JP.g.H.call(this);this.Wi=this.Wm("__mp-ti");this.Ec=this.Wm("__mp-tt");this.Nk=this.rL("__mp-tc");this.wa(this.Nk);this.qm=this.rL("__mp-tb");this.wa(this.qm);this.Af=this.Wm("__mp-tnfi");this.Cc.Zg(this.Af);this.Hn=this.rL("__mp-tnfc");this.wa(this.Hn);this.Hn.bg(qL().Uf()?2:1);this.Gt();this.od=new BD(this.Af);this.C().o(this.Nk,Le,this.nC).o(this.getContext().ea,"k",this.WA).o(this.getContext().ea,"o",this.rE).o(this.qm,Le,this.l9).o(this.Hn,Le,this.Z_).o(this.Cc,Wj,this.gwa).o(this.od,
Ej,this.Xva).o(this.v().getWindow(),$m,this.fba)};t.Ya=function(){JP.g.Ya.call(this);this.od.dispose();this.od=null};t.rL=function(a){var b=new HF(null);b.la(this.Wm(a));return b};
t.WA=function(a){if(a=a.MA){var b=!!a.getOption(vk);qA(this.gb,"picker-locate-view",b);if(a.getOption("sodc"))this.Gt(),this.Nk.K(!0);else if(b)this.Gt(),a=a.getOption("idto"),z(a)&&(this.lz=a.split(",").length),null===this.In?this.getContext().Tra().Ra(this.bKa,this):this.zda(),this.Nk.K(!0);else if(this.Ub(48),a.getOption(ln)&&!a.getOption(Gl))this.Gt(),this.tI("Drive"),uP(this.Ec,"Drive"),this.Nk.K(!0);else if(a.getOption("cv")||a.getOption("sp")){this.Gt();if(a=a.Ue())this.tI(a),uP(this.Ec,a);
this.Nk.K(!0)}else if(b=lP(a),S(this.Af,b),this.Hn.K(b),S(this.Ec,!b),this.Nk.K(!b),b)this.qm.K(!0),S(this.Wi,!1),this.fba(),this.cI(!1);else{var b=this.getContext(),c=A(this.tNa,this),e=a.getOption(Gl)||en;oP(b,a,e,c)}}else this.Gt(),this.Nk.K(!0)};t.bKa=function(a){a.IBa&&(this.In=a.IBa);a.Voa&&(this.Vw=Ir(a.Voa,12,!1,2));this.zda()};
t.zda=function(){var a=qL().Cq;this.Vw&&a&&null!==this.lz?1==this.lz?a=(new zO("{numParents, plural, =1 {{docName} is in 1 folder:}other {{docName} is in # folders:}}")).format({numParents:this.In,docName:this.Vw}):2==this.lz?a=(new zO("{numParents, plural, =1 {{docName} and 1 other file is in 1 folder:}other {{docName} and 1 other file is in # folders:}}")).format({numParents:this.In,docName:this.Vw}):(a=this.lz-1,a=(new zO("{numParents, plural, =1 {{docName} and {numDocsToBeMoved} other files are in 1 folder:}other {{docName} and {numDocsToBeMoved} other files are in # folders:}}")).format({numParents:this.In,
docName:this.Vw,numDocsToBeMoved:a})):a=this.getContext().Fka?(new zO("{numParents, plural, =1 {This file is in 1 folder:}other {This file is in # folders:}}")).format({numParents:this.In}):this.getContext().Gka?(new zO("{numParents, plural, =1 {This folder is in 1 folder:}other {This folder is in # folders:}}")).format({numParents:this.In}):(new zO("{numParents, plural, =1 {This item is in 1 folder:}other {This item is in # folders:}}")).format({numParents:this.In});this.tI(a,!0);uP(this.Ec,a)};
t.tNa=function(a,b,c){a=a.uh.OD();b=c&&c.Yt()&&!b.getOption(ln);this.qm.K(!b||!!a&&!!a.getOption("cv"));S(this.Wi,!this.qm.V());c=c?c.getName():"";this.tI(c);uP(this.Ec,c)};t.Gt=function(){S(this.Ec,!1);this.qm.K(!1);S(this.Wi,!1);S(this.Af,!1);this.Hn.K(!1);this.Nk.K(!1)};
t.fba=function(){var a=cz(this.Wm("__mp-ttc")),b=$y(this.qm.b()),c=$y(this.Hn.b()),a=a.width-1-b.width-c.width;(b=gz(this.qm.b()))&&(a-=b.left+b.right);(b=Iy(this.Af))&&(a-=b.left+b.right);(b=bz(this.Af))&&(a-=b.left+b.right);(b=gz(this.Af))&&(a-=b.left+b.right);Qy(this.Af,Math.floor(0<a?a:0))};
t.l9=function(){var a=this.getContext().ea.Gc;if(a){var b=this.getContext();if((lP(a)||a.getOption(ln))&&a.Fd)b.ea.Dc(a.Fd);else{var c=nP(b,a);if(c)if(!c.Yt()||a.getOption(ln)){var e=a.clone(),f=c.Iq;f||(c=c.dra(),1==c.length&&(f=c[0]));f?(a.getOption(ln)||e.li(a),e.nb(Gl,f)):e.vw(Gl);e.setQuery(null);b.ea.Dc(e)}else a=b.uh.OD(),a.getOption(vk)||b.ea.Dc(a)}}};t.nC=function(){Xu(this.getContext().Mb.vk,0,this.getContext().Mb)};t.gwa=function(a){13==a.keyCode&&this.Z_()};t.Xva=function(){this.Hn.ra(!!pr(this.Af.value))};
t.Z_=function(){var a=this.Af.value;if(pr(a)){this.getContext().bb.wm(!0);this.cI(!0);var b=this.getContext().ea.Gc,c=b&&b.getOption(Gl).substring(11),a={title:a};c&&(a.parent=c);this.getContext().na.Gd(new yN("createFolder",eh,null,a),A(this.kva,this,b),A(this.X4,this,b))}};
t.kva=function(a,b){if(b.Kc().length){var c=this.getContext(),e=c.na,c=c.ea,f=c.Gc,g=b.Kc()[0];g.EIa(!0);e.km([g]);var h=a.clone(),k=a.Fd.clone();k.getOption(Gl)!=a.getOption(Gl).substring(11)&&(k.li(a.Fd),k.nb(Gl,a.getOption(Gl).substring(11)));e.ze(k.Qx()).fF(!0);h.li(k);h.nb(Gl,g.zb);e=e.ze(h.Qx());e.km([]);e.setCursor(void 0);f&&a&&f.$d(a)&&this.S_&&(this.cI(!1),c.Dc(h,!0))}else this.X4(a,b)};
t.X4=function(a,b){var c=this.Af.value;this.cI(!1);if(this.$k){var c=b.IM||this.getContext().Pj().Un(EP,{kqa:c}),e=this.getContext().ea.Gc;this.$k.WKa(c,e&&e.Fd)}this.l9()};t.cI=function(a){this.S_=a;this.Hn.ra(!a);if(a)this.Af.setAttribute(Sg,r);else{this.Af.value="Untitled folder";this.Af.removeAttribute(Sg);try{this.Af.focus(),this.Af.setSelectionRange(0,15)}catch(b){}}};
t.tI=function(a,b){nx(this.Ec,a);S(this.Ec,!0);if(b){var c=$y(this.Ec).height,e=this.Ec.getBoundingClientRect();e.top&&(c+=2*e.top);this.Ub(Math.max(c,48))}else this.Ub(48)};var KP={BACK:"__mp-tb",gha:"__mp-tc",OW:"__mp-ti",fia:"__mp-tnfi",eia:"__mp-tnfc",pB:"__mp-tt",Tia:"__mp-ttc"};var LP=function(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b},MP=function(a,b){var c=[],e=a||document.styleSheets,f=w(b)?b:!1;if(e.imports&&e.imports.length)for(var g=0,h=e.imports.length;g<h;g++)Ps(c,MP(e.imports[g]));else if(e.length)for(g=0,h=e.length;g<h;g++)Ps(c,MP(e[g]));else{var k=LP(e);if(k&&k.length)for(var g=0,h=k.length,m;g<h;g++)m=k[g],m.styleSheet&&Ps(c,MP(m.styleSheet))}!(e.type||e.rules||e.cssRules)||e.disabled&&!f||c.push(e);return c},
NP=function(a,b){var c=b?b.J():document,e=c.createElement(Ud);e.type="text/css";c.getElementsByTagName(kd)[0].appendChild(e);e.styleSheet?e.styleSheet.cssText=a:e.appendChild(c.createTextNode(a));return e};var OP=function(a,b){var c=this.Ca();kP.call(this,a,c+"-root",c+"-frame",c+tb,this.UN(),b);c=this.C();c.o(a.xf,Fn,this.ixa);c.o(a.ea,"n",this.rKa)};C(OP,kP);t=OP.prototype;t.NK=function(a,b){var c=a||this.getContext().L.Mj();if(Sq(c))for(var e=c.length,f=0;f<e;f++){var g=c[f];if(Sq(g))this.AL(g,b);else if(Xq(g)&&Sq(g.root)){var h=this.AL(g.root,b,g.options,!0);h&&this.NK(g.items,h)}}};t.Uo=function(a){var b=a[0];return b?gP(b,a[1],a[2]):null};
t.T$=function(a){a&&(a=gN(a,this.getContext().L),"opc"!=a&&LN.S().S$(a))};t.gl=function(a,b){return z(b[1])?b[1]:a&&a.getName()||""};t.ixa=function(a){a=this.Uo(a.data.view);(a=this.D3(a))&&this.yA(a)};t.D3=function(a,b){var c=b||this.getContext().L.Mj();if(Sq(c))for(var e=c.length,f=0;f<e;f++){var g=c[f];if(Sq(g)){if(g=this.Uo(g),g.$d(a))return g}else if(Xq(g)){var h=g.root;if((h=h?this.Uo(h):null)&&a.$d(h))return h;if(g=this.D3(a,g.items))return g}}return null};
t.yA=function(a){a&&(this.getContext().ea.Dc(a),this.Xp(a),this.Gca(!0))};t.OD=function(a){a=a||this.getContext().L.Mj();for(var b=0;b<a.length;b++){var c=a[b],e=null;Sq(c)?e=this.Uo(c):Xq(c)&&(e=this.Uo(c.root)||this.OD(c.items));if(e)return e}return null};t.rKa=function(a){this.Gca(a.visible)};var PP=function(a){return"@"+W(a.prefix)+"-keyframes "+W(a.Tba)+" {0% {background-position: 0 0;} 100% {background-position: -20px 0;}} .picker-photosuploadview-progress .progress-bar-thumb, .picker-photosuploadview-actionpane .progress-bar-thumb, .picker-doc-upload-control-progress .progress-bar-thumb, .picker-actionpane-frame .progress-bar-thumb, .new-upload-box .progress-bar-thumb {-webkit-animation-name: "+W(a.Tba)+"; -moz-animation-name: "+W(a.Tba)+";}"};PP.qb="picker.ui.templates.appview.progressBar";
var QP=function(){return XE('<div id="docs-aria-speakable" class="picker-offscreen" aria-live="assertive" role="region" aria-atomic="true"></div>')};QP.qb="picker.ui.templates.appview.ariaLiveRegion";var RP=function(){};C(RP,lB);Qq(RP);t=RP.prototype;t.W=function(){return"goog-tab"};t.Qe=function(){return"tab"};t.j=function(a){var b=RP.g.j.call(this,a);(a=a.nh())&&this.Jd(b,a);return b};t.la=function(a,b){b=RP.g.la.call(this,a,b);var c=this.nh(b);c&&a.kv(c);a.ge()&&(c=a.getParent())&&Wq(c.jj)&&(a.setState(8,!1),c.jj(a));return b};t.nh=function(a){return a.title||""};t.Jd=function(a,b){a&&(a.title=b||"")};var SP=function(a,b,c){pB.call(this,a,b||RP.S(),c);this.Fb(8,!0);this.$z(9,!0)};C(SP,pB);SP.prototype.nh=function(){return this.Wb};SP.prototype.Jd=function(a){this.O.Jd(this.b(),a);this.kv(a)};SP.prototype.kv=function(a){this.Wb=a};hB("goog-tab",function(){return new SP(null)});var TP=function(){this.Io="tablist"};C(TP,kB);Qq(TP);t=TP.prototype;t.W=function(){return"goog-tab-bar"};t.AU=function(a,b,c){this.T8||this.Zma();var e=this.T8[b];e?a.jU(e):TP.g.AU.call(this,a,b,c)};t.ye=function(a){var b=TP.g.ye.call(this,a);this.jC||this.F_();b.push(this.jC[a.JAa]);return b};t.F_=function(){var a=this.W();this.jC={top:a+"-top",bottom:a+"-bottom",start:a+"-start",end:a+"-end"}};t.Zma=function(){this.jC||this.F_();this.T8=qt(this.jC)};var UP=function(a,b,c){this.jU(a||jp);vB.call(this,this.Nj(),b||TP.S(),c);this.O8()};C(UP,vB);t=UP.prototype;t.VY=!0;t.Xn=null;t.H=function(){UP.g.H.call(this);this.O8()};t.B=function(){UP.g.B.call(this);this.Xn=null};t.removeChild=function(a,b){this.bM(a);return UP.g.removeChild.call(this,a,b)};t.jU=function(a){this.setOrientation(a==Co||a==rh?lq:ij);this.JAa=a};t.yHa=function(a){this.VY=a};t.dU=function(a){UP.g.dU.call(this,a);this.VY&&this.FJa(a)};t.rt=function(){return this.Xn};
t.jj=function(a){a?a.cg(!0):this.rt()&&this.rt().cg(!1)};t.FJa=function(a){this.jj(this.Fa(a))};t.bM=function(a){if(a&&a==this.rt()){for(var b=this.Gg(a),c=b-1;a=this.Fa(c);c--)if(this.b8(a)){this.jj(a);return}for(b+=1;a=this.Fa(b);b++)if(this.b8(a)){this.jj(a);return}this.jj(null)}};t.b8=function(a){return a.V()&&a.isEnabled()};t.sxa=function(a){this.Xn&&this.Xn!=a.target&&this.Xn.cg(!1);this.Xn=a.target};t.txa=function(a){a.target==this.Xn&&(this.Xn=null)};t.qxa=function(a){this.bM(a.target)};
t.rxa=function(a){this.bM(a.target)};t.Cg=function(){this.el()||this.Hd(this.rt()||this.Fa(0))};t.O8=function(){this.C().o(this,pn,this.sxa).o(this,"unselect",this.txa).o(this,"disable",this.qxa).o(this,fj,this.rxa)};hB("goog-tab-bar",function(){return new UP});var VP=function(a,b){ZM.call(this,a,b);this.$Z=this.$g=null};C(VP,ZM);VP.prototype.Dra=function(){return this.getContext().L.De()?"picker-min-close-icon":rm};VP.prototype.j=function(){var a=this.v(),b=a.j(n,"picker-header-close");this.Ab(b);this.$Z=a.j(n,this.Dra(!1));this.$g=IF(this.$Z,a);this.$g.ha(b);this.$g.wI(!0);this.$g.Jd("Close")};VP.prototype.H=function(){VP.g.H.call(this);this.C().o(this.$g,Le,this.gva)};VP.prototype.gva=function(){this.getContext().Mb.vk()};var WP=function(a,b){OP.call(this,a,b);this.qo=[];this.ie=new gC(void 0,void 0,void 0,b)};C(WP,OP);t=WP.prototype;t.Ca=function(){return"picker-navpane-horizontal"};t.UN=function(){return jp};
t.j=function(){WP.g.j.call(this);var a=this.v();this.Yp=a.j(n,{"class":"picker-navpane-horizontal-tab-bar-wrapper",id:zA.S().be()});var b=this.O0=this.h0();this.NK(void 0,b);this.jG=a.createTextNode("More");this.ie.j();this.ie.hb(a.j(n,void 0,this.jG,a.j(n,nm)));b.sa(this.ie,!0);this.ie.K(!1);aA(this.ie.b(),"tab");this.Ub(50);this.gb.appendChild(this.Yp);b=this.getContext().L;!b.Ue()&&b.lp&&(this.$g=new VP(this.getContext(),a),this.sa(this.$g,!1),this.$g.j(),a.append(this.gb,this.$g.b()))};
t.H=function(){WP.g.H.call(this);this.fma();this.TU(this.O0);this.VG();this.C().o(this.ie.Da(),Le,this.ly).o(this.v().getWindow(),$m,this.zt);E(this.qo,function(a){var b=a.b();this.C().o(a,Le,this.pxa).o(b,Nh,A(this.Qp,this,!0)).o(b,Qf,A(this.Qp,this,!1))},this)};t.Qp=function(a,b){qA(b.target,"picker-navpane-horizontal-focused",a)};t.AL=function(a,b,c,e){var f=this.X_(a,b,c);if(f&&e){e=this.h0();f.lr(e);if(a=this.X_(a,e,c,!0))U(a.b(),"picker-navpane-horizontal-parent-tab"),a.lr(b);return e}return f};
t.X_=function(a,b,c,e){c=this.Uo(a);this.getContext();this.T$(c);var f;f=this.v();a=this.gl(c,a);if("-"==a)f=new SP("",void 0,f),f.ra(!1),f.lf("picker-navpane-horizontal-divider"),f.j(),f.b().removeAttribute(cn);else{var g=qL().Uf()?"picker-spr-back-folder-rtl":"picker-spr-back-folder-ltr",g=f.j(n,"picker-navpane-horizontal-back-icon "+g),g=f.j(n,"picker-navpane-horizontal-tabcontent",e?g:a);f=new SP(g,void 0,f);f.j();e&&a&&(e="Return from "+a,a=f.b(),IE(a,e,void 0))}f.lr(c);b&&(b.sa(f,!0),1==b.ub()&&
f.cg(!0));return f};t.Xp=function(a){a&&(E(this.qo,function(b){b.fc(function(c){if(c.V()&&c.isEnabled()){var e=c.Pd;e instanceof PO&&a.$d(e)&&b.jj(c)}})},this),this.ie.b()&&(this.Waa(),this.ie.Da().fc(function(b){var c=b.getValue().Pd;c&&c instanceof PO&&a.$d(c)&&(b.cg(!0),nx(this.jG,b.Qh()),qA(this.ie.b(),am,!0),(b=this.AO())&&b.jj(null))},this)))};t.pxa=function(a){this.N5(a.target)};t.ly=function(a){this.N5(a.target.getValue())};
t.N5=function(a){a=a.Pd;if(a instanceof UP){var b=a;this.TU(b);b=b.Fa(b==this.O0?0:1);b instanceof SP&&(a=b.Pd);this.Waa()}a instanceof PO&&(this.yA(a),this.Xp(a));this.VG()};t.zt=function(){this.zv[this.Yp.id]=Sy(this.Yp).width;this.VG();this.Xp(this.getContext().ea.Gc)};t.eea=function(a){var b=a?"":"0px";this.gb.style.height=Ay(b,!0);Qy(this.gb,b);By(this.gb,a?"":"-9500px","");(b=this.AO())&&b.ef(a)};
t.h0=function(){var a=this.v(),b=new UP(void 0,void 0,a);b.yHa(!1);b.j();a.appendChild(this.Yp,b.b());this.Wv(b);this.qo.push(b);return b};t.TU=function(a){E(this.qo,function(b){b.K(b==a)},this);var b=this.ie.getParent();b!=a&&(b.removeChild(this.ie,!0),a.sa(this.ie,!0))};
t.VG=function(){var a=this.AO();if(a){a.fc(function(a){a.K(!0)});this.ie.K(!1);var b=this.ie.Da();b.wh(!0);var c=this.zv[this.Yp.id];if(c){for(var e=0,f=0,g=a.ub()-1;0<=g;--g){var h=a.Fa(g);if(h.V())if(XP(a,this.zv,e,c)){var k=h.b();h.K(!1);k=new zB(zx(k),h);k.kA(!0);b.mm(k,0);f=Math.max(f,this.zv[h.getId()]);h=gz(this.ie.b());isNaN(h.left)||isNaN(h.right)||(e=f+h.left+h.right)}else break}0<b.Ri()?(this.ie.K(!0),U(b.b(),"picker-horizontal-navpane-more-menu")):this.ie.K(!1)}}};
var XP=function(a,b,c,e){var f=0;a.fc(function(a){a.V()&&(f+=b[a.getId()])});f+=c;return f>=e};t=WP.prototype;t.AO=function(){for(var a=0;a<this.qo.length;++a){var b=this.qo[a];if(b.V())return b}return null};t.fma=function(){this.zv={};E(this.qo,function(a){a.fc(function(a){var c=a.b(),e=Sy(c).width,c=gz(c);isNaN(c.left)||isNaN(c.right)||(e=e+c.left+c.right);this.zv[a.getId()]=e},this)},this);this.zv[this.Yp.id]=Sy(this.Yp).width};
t.Waa=function(){this.jG&&this.ie.b()&&(nx(this.jG,"More"),qA(this.ie.b(),am,!1))};t.yA=function(a){a&&(this.iLa(a),this.VG(),WP.g.yA.call(this,a))};t.iLa=function(a){E(this.qo,function(b){b.fc(function(c){c=c.Pd;c instanceof PO&&a.$d(c)&&this.TU(b)},this)},this)};var YP=function(a,b,c){bC.call(this,a,b||cC.S(),c)};C(YP,bC);hB(oi,function(){return new YP(null)});var ZP=function(){};C(ZP,YF);Qq(ZP);ZP.prototype.W=function(){return xi};hB(xi,function(){return new bC(null,ZP.S())});var aQ=function(a,b){ZM.call(this,a,b);this.Cd=null;this.ib=$P(a.L)};C(aQ,ZM);aQ.prototype.j=function(){if(this.ib){var a=this.v(),b=a.j(n,"picker-learnmore",a.j(vo,"picker-spr-questionmark"));this.Ab(b);this.Cd=new YP(Bd,ZP.S(),a);this.sa(this.Cd,!0)}else aQ.g.j.call(this)};aQ.prototype.H=function(){aQ.g.H.call(this);this.Cd&&this.C().o(this.Cd,Le,this.iwa)};aQ.prototype.getUrl=function(){return this.ib};aQ.prototype.iwa=function(){this.ib&&Ux(this.ib,{target:Ee})};
var $P=function(a){a=a.lAa;var b="&hl="+qL().Al;if(!isNaN(parseInt(a,10)))return"https://www.google.com/support/websearch/bin/answer.py?answer="+a+b;if(z(a)){var c=/\/support\/\w+\?p=\w+$/;if(c.test(a))return"https://www.google.com"+a+b;c=/^[a-z]+\/\?p=[a-z_]+$/;if(c.test(a))return"https://support.google.com/"+a+b}return null};var bQ=!1,cQ="",dQ=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(bQ=!0,a.description)){cQ=dQ(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){bQ=!0;cQ="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes[mf],bQ=!(!a||!a.enabledPlugin))){cQ=dQ(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");bQ=!0;cQ=dQ(b.GetVariable("$version"));return}catch(c){}try{b=
new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");bQ=!0;cQ="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),bQ=!0,cQ=dQ(b.GetVariable("$version"))}catch(c){}})();var eQ=bQ,fQ=cQ;var gQ=function(){this.Qaa={};this.Paa=0};t=gQ.prototype;t.format=function(a){var b=[];a=Cr(a).replace(/\{SafeHtmlFormatter:\w+\}/g,A(this.CFa,this,b));D(0==b.length,"Expected no unclosed tags, got <"+b.join(">, <")+">.");return aw(a,null)};
t.CFa=function(a,b){var c=this.Qaa[b];if(!c)return b;var e="";c.vr&&(e+="<"+c.vr+c.attributes+">",!0===hv[c.vr.toLowerCase()]||a.push(c.vr.toLowerCase()));c.y6&&(e+=c.y6);if(c.np){var e=e+("</"+c.np+">"),f=a.pop();D(f==c.np.toLowerCase(),"Expected </"+f+">, got </"+c.np+">.")}return e};t.vr=function(a,b){hw(a);return this.qV({vr:a,attributes:ow(a,b)})};t.np=function(a){hw(a);return this.qV({np:a})};t.text=function(a){return this.qV({y6:Cr(a)})};
t.qV=function(a){this.Paa++;var b="{SafeHtmlFormatter:"+this.Paa+"_"+Qr()+"}";this.Qaa[b]=a;return b};var hQ=function(a,b,c,e){pB.call(this,null,c,e);this.X=a;this.Mh=b;this.Fb(16,!0);this.$z(16,!0)};C(hQ,pB);t=hQ.prototype;t.J=function(){return this.Mh};t.getContext=function(){return this.X};t.H=function(){hQ.g.H.call(this);this.C().o(this.b(),Hg,this.uE)};t.update=function(){this.X.na.J(this.Mh.getId())&&this.mj(this.Mh.getId())};t.mj=function(a){this.Mh=this.X.na.J(a)};t.uE=function(){this.dispatchEvent(Hg)};t.XR=Pq;var iQ=function(a,b){J.call(this,"v",a);this.ul=b||0};C(iQ,J);var jQ=function(a,b){var c=YK(a),e=Ky(a,c);sz.call(this,[0,c.scrollTop],[0,e.y],b||200,Dz);this.pf=c};C(jQ,sz);jQ.prototype.mz=function(){jQ.g.mz.call(this);this.pf.scrollTop=this.coords[1]};var kQ=function(a,b,c,e){hQ.call(this,a,b,c,e);this.$E=!1};C(kQ,hQ);t=kQ.prototype;t.H=function(){kQ.g.H.call(this);this.C().o(this.Kx(),Wj,this.cwa)};t.YF=function(){this.$E=!0};t.d9=function(){this.$E=!1};t.vza=function(){return this.$E};t.KFa=function(){this.dispatchEvent(new iQ(this));(new jQ(this.b())).play()};
t.cwa=function(a){switch(a.keyCode){case 38:case 40:case 37:case 39:return this.Nua(a),!0;case 32:return this.lxa(a),!0;case 13:if(!this.Bva(a))return a.preventDefault(),a.stopPropagation(),!0}return!1};t.Nua=function(a){this.dispatchEvent(new iQ(this,a.keyCode));a.preventDefault();a.stopPropagation()};t.lxa=function(a){this.isEnabled()&&this.LA();a.preventDefault()};t.Bva=function(){return this.Db(64)?(this.Jb(!0),this.Jb(!1),!1):!0};
t.LA=function(){if(this.Db(16)){var a=this.getContext();a.bb.LA(this.J().getId(),a.L.nG?"cb":"cl")}};t.Ce=function(a){return 13!=a.keyCode?kQ.g.Ce.call(this,a):!1};var lQ=function(){M.call(this)};C(lQ,M);t=lQ.prototype;t.ac=0;t.cj=0;t.Zj=100;t.Ij=0;t.mV=1;t.sl=!1;t.xR=!1;t.setValue=function(a){a=this.Hz(a);this.ac!=a&&(this.ac=a+this.Ij>this.Zj?this.Zj-this.Ij:a<this.cj?this.cj:a,this.sl||this.xR||this.dispatchEvent(bg))};t.getValue=function(){return this.Hz(this.ac)};
t.iI=function(a){if(this.cj!=a){var b=this.sl;this.sl=!0;this.cj=a;a+this.Ij>this.Zj&&(this.Ij=this.Zj-this.cj);a>this.ac&&this.setValue(a);a>this.Zj&&(this.Ij=0,this.gI(a),this.setValue(a));(this.sl=b)||this.xR||this.dispatchEvent(bg)}};t.$D=function(){return this.Hz(this.cj)};
t.gI=function(a){a=this.Hz(a);if(this.Zj!=a){var b=this.sl;this.sl=!0;this.Zj=a;a<this.ac+this.Ij&&this.setValue(a-this.Ij);a<this.cj&&(this.Ij=0,this.iI(a),this.setValue(this.Zj));a<this.cj+this.Ij&&(this.Ij=this.Zj-this.cj);(this.sl=b)||this.xR||this.dispatchEvent(bg)}};t.YD=function(){return this.Hz(this.Zj)};t.Hz=function(a){return null==this.mV?a:this.cj+Math.round((a-this.cj)/this.mV)*this.mV};var mQ=function(a){BA.call(this,a);this.Rn=new lQ;K(this.Rn,bg,this.ava,!1,this)};C(mQ,BA);var nQ={vertical:"progress-bar-vertical",horizontal:"progress-bar-horizontal"};t=mQ.prototype;t.j=function(){this.Bh=this.j0();var a=nQ[this.$c];this.Ab(this.v().j(d,a,this.Bh));this.Ida();this.Yca();this.Wca()};t.H=function(){mQ.g.H.call(this);this.ew();this.zo();var a=this.b();D(a,pe);aA(a,"progressbar");T(a,pk,Cm)};t.Ya=function(){mQ.g.Ya.call(this);this.Zo()};t.j0=function(){return this.v().j(d,Lm)};
t.ew=function(){G&&7>iu&&K(this.b(),$m,this.zo,!1,this)};t.Zo=function(){G&&7>iu&&Ou(this.b(),$m,this.zo,!1,this)};t.jb=function(a){mQ.g.jb.call(this,a);U(D(this.b()),nQ[this.$c]);a=Ew(null,Lm,this.b())[0];a||(a=this.j0(),this.b().appendChild(a));this.Bh=a};t.getValue=function(){return this.Rn.getValue()};t.setValue=function(a){this.Rn.setValue(a);this.b()&&this.Ida()};t.Ida=function(){var a=this.b();D(a,pe);T(a,jq,this.getValue())};t.$D=function(){return this.Rn.$D()};
t.iI=function(a){this.Rn.iI(a);this.b()&&this.Yca()};t.Yca=function(){var a=this.b();D(a,pe);T(a,"valuemin",this.$D())};t.YD=function(){return this.Rn.YD()};t.gI=function(a){this.Rn.gI(a);this.b()&&this.Wca()};t.Wca=function(){var a=this.b();D(a,pe);T(a,"valuemax",this.YD())};t.$c=ij;t.ava=function(){this.zo();this.dispatchEvent(bg)};
t.zo=function(){if(this.Bh){var a=this.$D(),b=this.YD(),a=(this.getValue()-a)/(b-a),b=Math.round(100*a);this.$c==lq?G&&7>iu?(this.Bh.style.top="0",this.Bh.style.height=Ob,b=this.Bh.offsetHeight,a=Math.round(a*b),this.Bh.style.top=b-a+q,this.Bh.style.height=a+q):(this.Bh.style.top=100-b+"%",this.Bh.style.height=b+"%"):this.Bh.style.width=b+"%"}};t.Wya=function(){var a=this.Bh.style;this.$c==lq?(a.left="0",a.width=Ob):(a.top=a.left="0",a.height=Ob)};
t.setOrientation=function(a){if(this.$c!=a){var b=nQ[this.$c],c=nQ[a];this.$c=a;if(a=this.b())mA(a,b)&&(oA(a,b),U(a,c)),this.Wya(),this.zo()}};t.Nj=function(){return this.$c};t.B=function(){this.Zo();mQ.g.B.call(this);this.Bh=null;this.Rn.dispose()};var oQ=function(a,b){mQ.call(this,b);this.Una=G&&!eQ?"picker-progress-bar-spinner":a};C(oQ,mQ);oQ.prototype.H=function(){oQ.g.H.call(this);U(this.b(),this.Una);aA(this.b(),Fo)};oQ.prototype.j=function(){oQ.g.j.call(this);var a=this.b();a&&(cA(a,jq),T(a,vf,!0),T(a,pk,Cm),jA(a,Nd))};oQ.prototype.setValue=function(a){oQ.g.setValue.call(this,a);var b=this.b();if(b)switch(cA(b,jq),T(b,vf,!0),T(b,pk,Cm),a){case 0:jA(b,Nd);break;case 100:jA(b,"Progress Completed")}};var pQ=function(a){this.Nna=a;this.FK=null};C(pQ,lB);t=pQ.prototype;t.gd=function(){return!1};t.W=function(){return this.Nna};t.Od=function(a){pQ.g.Od.call(this,a);a.Db(16)&&T(a.b(),ig,!1)};t.Qe=function(){return pl};t.e3=function(){this.FK||(this.FK=new TE(qL().Uf()));return this.FK};Sr(fQ,"9.0.0");var qQ=["transform","WebkitTransform","msTransform","OTransform","MozTransform"],sQ=function(a,b,c){var e,f=!1;E(qQ,function(b){e||c&&"MozTransform"==b||(e=a.style[b])});e||b||(e=a.style.filter,f=!0);if(e&&(b=e.search("rotat"),0<=b)){b=e.substr(b);var g=b.search("[)]"),f=f?90:1,f=b.substr(0,g).replace(/\D/g,"")*f;return rQ(f)}return 0},rQ=function(a){0>a?a+=360:360<=a&&(a-=360);return a};var tQ=function(a,b,c,e){a=bw(a);WC.call(this,a,c,e);this.$P=this.PP=!1;this.Jr=b};C(tQ,YC);t=tQ.prototype;t.FX=function(a){this.Jr?this.dispatchEvent("z"):this.We()&&this.yn&&a.target.getAttribute(Ip)!=xh&&(this.w7()&&this.wf()?this.collapse():(this.expand(),this.Fa(0).FX(a)))};t.w7=function(){return As(this.ih(),function(a){return a instanceof tQ&&(a.PP||a.w7())})};t.H=function(){tQ.g.H.call(this);this.C().o(this.Oj(),Nk,this.HG);this.C().o(this.Oj(),Mk,this.WR)};
t.a4=function(){if(this.We()&&this.wf()){for(var a=this.Ex();a&&!a.qt();)a=a.ak;return a?a:this}for(var a=this,b=this;a!=this.Ve();){do if((b=b.ak)&&b.qt())return b;while(b);b=a=a.getParent()}return null};t.l4=function(){var a=this;do if(a=a.Qn){var b=a.fO();if(b&&b.qt())return b}while(a);a=this.getParent();b=this.Ve();return b.oo||a!=b?a:null};
t.Fp=function(){var a=tQ.g.Fp.call(this);this.getParent()==this.Ve()&&(a+=" picker-navpaneitem-root");this.qt()?(this.PP&&(a+=" picker-navpaneitem-active"),this.$P&&(a+=" picker-navpaneitem-hover")):a+=oa;return a};t.qt=function(){return!!this.Jr&&z(this.XN())||this.We()};t.getToken=function(){return this.Jr};t.FG=function(a){this.qt()&&(tQ.g.FG.call(this,a),this.FX(a))};t.PR=function(a){!this.Jr&&this.We()&&this.yn||tQ.g.PR.call(this,a)};t.HG=function(){this.$P=!0;this.TA()};
t.WR=function(){this.$P=!1;this.TA()};
t.select=function(){tQ.g.select.call(this);var a=this.Oj(),b=YK(a);if(b){var c;if(a&&b&&a.parentNode&&b.parentNode&&1==a.parentNode.nodeType&&1==b.parentNode.nodeType){c=Sy(a);var e=Oy(a),f=Oy(b),g=sQ(a,!0,!1);if(90==g||270==g)if(g=c.height,c.height=c.width,c.width=g,H&&!I("12")){var g=Math.round(c.width/2),h=Math.round(c.height/2);e.x=e.x+h-g;e.y=e.y-h+g}e=new sw(e.x-f.x,e.y-f.y);f=b.clientWidth;qL().Uf()&&(e.x=f-e.x-c.width);104>c.width&&(e.x+104>f&&(e.x=e.x+c.width-104),e.x-=(104-c.width)/2,c.width=
104);c=new sy(e.x,e.y,c.width,c.height)}else c=new sy(0,0,0,0);a=gz(a);c.height+=a.top+a.bottom;c.top+c.height>b.offsetHeight&&(b.scrollTop+=c.top+c.height-b.offsetHeight+5);0>c.top&&(b.scrollTop+=c.top)}};t.setActive=function(a){this.PP=a;this.TA()};var uQ=function(){tQ.call(this,"",null)};C(uQ,tQ);uQ.prototype.H=function(){uQ.g.H.call(this);this.mI(jw("hr",{"class":"picker-nav-hr"}));U(this.b(),"picker-navpanedivider")};uQ.prototype.qt=function(){return!1};uQ.prototype.CD=function(){return"picker-navpanedivider-icon"};var vQ=function(a,b,c){aD.call(this,a,b,c)};C(vQ,aD);vQ.prototype.zc=function(a){return 13==a.keyCode&&this.Xb()&&this.Xb().FG(a)?(a.preventDefault(),!0):vQ.g.zc.call(this,a)};var wQ=function(a,b){OP.call(this,a,b);this.Cd=new aQ(a,b);this.wa(this.Cd)};C(wQ,OP);t=wQ.prototype;t.l_=!1;t.Ca=function(){return fm};t.UN=function(){return jk};
t.j=function(){wQ.g.j.call(this);var a=this.getContext(),b=this.v(),c={};st(c,bD);c.DWa="//ssl.gstatic.com/docs/picker/images/cleardot-v1.gif";c.PL+=" picker-navpaneitem";c.QL+=na;c.DC+=oa;c.EC+=oa;c.v0=nm;c.w0="picker-spr-arrow-dk-grey";this.pe=new vQ(bw(en),c,b);this.pe.PJa(!1);this.pe.QJa(!1);this.pe.RJa(!1);this.Wv(this.pe);this.pe.j();var e=this.gb;e.appendChild(this.pe.b());this.NK();a.df.Ra(function(a){if(a.D7){var c=b.j(n,"picker-buildlabel");this.Cd.getUrl()&&R(c,Tf,"50px");if(qL().isNative())c.appendChild(b.createTextNode(Vk));
else{var h=a.vba;h&&(c.appendChild(b.createTextNode(h)),c.appendChild(b.j("br")));if(a=a.kZ)c.appendChild(b.createTextNode(a)),c.appendChild(b.j("br"));a=(new oD(window.location.href)).ia("clientdebugon",r).toString();c.appendChild(b.j("a",{href:a,"class":"picker-buildlabel-a",tabIndex:-1},"DEBUG"))}e.appendChild(c);this.No=c}},this);this.Cd.getUrl()&&(this.Cd.j(),this.Wv(this.Cd),e.appendChild(this.Cd.b()));this.Ub(180)};
t.AL=function(a,b,c){var e=this.Uo(a);this.getContext();this.T$(e);a=this.gl(e,a);if("-"==a)return b=new uQ,this.pe.add(b),b;e=new tQ(a,e,this.pe.L,this.v());!c||c.collapsible!=yh&&"collapsed"!=c.collapsible?e.GIa(!1):(this.l_=!0,c.collapsible==yh&&e.expand());this.C().wl(e,"z",this.bwa,!1,this);b?b.add(e):this.pe.add(e);return e};t.H=function(){wQ.g.H.call(this);this.hu()};
t.hu=function(){var a=cz(this.gb);if(0>=a.height)Xu(A(this.hu,this),10);else{var b=bz(this.pe.b());a.height-=b.top+b.bottom;this.Cd.getUrl()&&(b=$y(this.Cd.b()),a.height-=b.height);this.No&&(a.height-=$y(this.No).height);this.pe.b().style.height=Ay(a.height,!0);this.l_&&U(this.pe.b(),"picker-navpane-hascollapse")}};t.Xp=function(a){this.kP(a)};
t.kP=function(a,b){if(this.pe)if(!b&&this.pe.ih().length)this.pe.fc(function(b){this.kP(a,b)},this);else{var c=b.getToken();a&&c&&a.$d(c)&&a.getName()==c.getName()?((c=this.pe.Xb())&&c!=this.pe&&c.setActive(!1),b.setActive(!0),this.pe.wd(b)):c&&b.setActive(!1);b.fc(function(b){this.kP(a,b)},this)}};t.bwa=function(a){(a=a.target)&&a!=this.pe&&(this.getContext().ea.Dc(a.getToken()),this.Xp(a.getToken()))};var xQ=function(a,b,c,e,f){e?(this.kg=c.j(n,"goog-inline-block picker-spr-circle"),a=[this.kg,a]):a=f?[c.j(n,wi+f),a]:[a];zB.call(this,a,b,c)};C(xQ,zB);xQ.prototype.cg=function(a){this.ba&&(qA(this.b(),"picker-selected",a),this.kg&&(a?(oA(this.kg,om),oA(this.kg,qm),U(this.kg,pm)):(oA(this.kg,pm),oA(this.kg,qm),U(this.kg,om))))};xQ.prototype.Th=function(){this.Hd(!0);if(this.kg&&!mA(this.kg,pm)){var a=this.kg;oA(a,om);U(a,qm)}};
xQ.prototype.ny=function(){this.Hd(!1);if(this.kg&&!mA(this.kg,pm)){var a=this.kg;oA(a,qm);U(a,om)}};xQ.prototype.HMa=function(){this.Ze(null)};var yQ=function(a,b,c,e,f){function g(a){a&&(a.tabIndex=0,aA(a,h.Qe()),U(a,"goog-zippy-header"),h.zM(a),h.kpa(a))}M.call(this);this.M=f||N();this.Tk=this.M.b(a)||null;this.Gs=this.M.b(e||null);this.Ld=(this.KF=Wq(b)?b:null)||!b?null:this.M.b(b);this.tg=1==c;w(c)||this.KF||(this.Gs?this.tg=this.Gs.style.display!=Yk:this.Tk&&(this.tg=mA(this.Tk,Vi)));this.q8=new rA(this);this.uR=new rA(this);var h=this;g(this.Tk);g(this.Gs);this.Cf(this.tg)};C(yQ,M);t=yQ.prototype;t.Rp=!0;
t.B=function(){yQ.g.B.call(this);Rt(this.q8);Rt(this.uR)};t.Qe=function(){return"tab"};t.U=function(){return this.Ld};t.expand=function(){this.Cf(!0)};t.collapse=function(){this.Cf(!1)};t.toggle=function(){this.Cf(!this.tg)};t.Cf=function(a){this.Ld?S(this.Ld,a):a&&this.KF&&(this.Ld=this.KF());this.Ld&&U(this.Ld,"goog-zippy-content");this.Gs?(S(this.Tk,!a),S(this.Gs,a)):this.XV(a);this.dA(a);this.dispatchEvent(new zQ(hp,this,this.tg))};t.dA=function(a){this.tg=a};
t.XV=function(a){this.Tk&&(qA(this.Tk,Vi,a),qA(this.Tk,"goog-zippy-collapsed",!a),T(this.Tk,yh,a))};t.eI=function(a){this.Rp!=a&&((this.Rp=a)?(this.zM(this.Tk),this.zM(this.Gs)):this.uR.removeAll())};t.kpa=function(a){a&&this.q8.o(a,Xj,this.ru)};t.zM=function(a){a&&this.uR.o(a,ng,this.CG)};t.ru=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.g1(),a.preventDefault(),a.stopPropagation()};t.CG=function(){this.toggle();this.g1()};t.g1=function(){this.dispatchEvent(new J(Le,this))};
var zQ=function(a,b,c){J.call(this,a,b);this.Dpa=c};C(zQ,J);var AQ=function(a,b,c,e){e=e||N();var f=e.j(d,{style:yl});b=e.b(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.XC=f;this.yi=null;yQ.call(this,a,b,c,void 0,e);a=this.tg;this.XC.style.display=a?"":Yk;this.XV(a)};C(AQ,yQ);t=AQ.prototype;t.pka=500;t.oka=Dz;t.iza=function(){return null!=this.yi};
t.Cf=function(a){if(this.tg!=a||this.yi){this.XC.style.display==Yk&&(this.XC.style.display="");var b=this.U().offsetHeight,c;this.yi?(a=this.tg,Qu(this.yi),this.yi.stop(!1),c=parseInt(this.U().style.marginTop,10),c=b-Math.abs(c)):c=a?0:b;this.XV(a);this.yi=new sz([0,c],[0,a?b:0],this.pka,this.oka);K(this.yi,["begin","animate",rh],this.NBa,!1,this);K(this.yi,rh,A(this.OBa,this,a));this.yi.play(!1)}};t.NBa=function(a){var b=this.U();b.style.marginTop=a.y-b.offsetHeight+q};
t.OBa=function(a){a&&(this.U().style.marginTop="0");Qu(this.yi);this.dA(a);this.yi=null;a||(this.XC.style.display=Yk);this.dispatchEvent(new zQ(hp,this,a))};var BQ=function(a){var b="",c=(new zO("{NUM_SELECTED,plural,=1{ selected \u00bb}other{ selected \u00bb}}")).Ph({NUM_SELECTED:a.N9}),b=b+('<div class="goog-inline-block"><span class="goog-inline-block picker-selnavitem-count-slide"></span><span class="goog-inline-block picker-selnavitem-count">'+W(a.N9)+'</span></div><span class="goog-inline-block picker-selnavitem-label">'+c+"</span></div>");return XE(b)};BQ.qb="picker.ui.templates.selectednavpaneitem.itemsSelected";var CQ=function(a,b,c,e){BA.call(this,e);this.X=a;this.bAa=b;this.$=c;this.Dl=this.FJ=null};C(CQ,BA);t=CQ.prototype;t.j=function(){var a=this.v();this.Dl=new xQ("",this.bAa,a);this.sa(this.Dl);this.Dl.j();this.aga(0);this.Ab(a.j(n,"picker-selnavitem",a.j(n,"picker-selnavitem-wrapper",this.Dl.b())))};t.aga=function(a){var b=this.v();a=this.X.Pj().Faa(BQ,{N9:a});this.cV=b.Md("picker-selnavitem-count-slide",a);this.tma=b.Md("picker-selnavitem-count",a);By(this.cV,0,-14);this.Dl.hb(a)};
t.H=function(){CQ.g.H.call(this);this.FJ=new AQ(null,this.b());this.C().o(this.X.bb,"r",this.oy).o(this.FJ,hp,this.Tfa).o(this.Dl,Le,A(function(){this.$.wd(this.Dl);var a=new PO(Jl);a.nb(Ip,sn);var b=this.X.ea;b.Dc(a);b.Pc.setActive(!0)},this));this.$.T(this.Dl)};t.oy=function(){var a=LN.S().kh(ll).Hl.xta(this.X,this.v()).SWa();a!=this.Qb&&(this.Qb=a,this.VMa(a),this.Tfa());0==this.Qb&&this.$.Xb()==this.Dl&&this.dispatchEvent("A")};
t.VMa=function(a){this.v().Je(this.cV,String(a));(new wz(this.tma,[0,14],218,Ez)).play();var b=new wz(this.cV,[0,0],218,Ez);this.C().o(b,rh,function(){this.aga(a)});b.play()};t.Tfa=function(){this.FJ.iza()||this.FJ.Cf(!!this.Qb)};var DQ=function(a){EB.call(this,a)};C(DQ,EB);t=DQ.prototype;t.Ce=function(a){var b=DQ.g.Ce.call(this,a);b||9!=a.keyCode||(b=a.shiftKey?this.oya():this.nya())||this.ad(-1);return b};t.Cg=function(){this.C().qq(this.b(),Zj,this.Ce)};t.Nd=function(){};t.nya=function(){return this.Kt(function(a,b){a++;return a<b?a:-b-2},this.yb)};t.oya=function(){return this.Kt(function(a){return a-1},0>this.yb?this.ub():this.yb)};
t.dC=function(a){return Gy(a.b()).y-Gy(this.b()).y<Sy(this.b()).height&&DQ.g.dC.call(this,a)};var EQ=function(a,b){OP.call(this,a,b);this.Yd=new DQ(b);this.Yd.Tu(!1);this.Yd.ef(!0);this.sa(this.Yd);this.wi=new EB;this.wi.Tu(!1);this.wi.ef(!0);this.sa(this.wi);this.$=new hC;a.na.Gd(new BN("c"),A(this.kwa,this),Pq,!0);var c=a.ea;this.C().o(c,"l",this.exa);this.PH=new CQ(a,3,this.$,b);this.sa(this.PH);this.lL=(this.DI=a.L.DI)?167:153;this.Q0=null};C(EQ,OP);t=EQ.prototype;t.Ca=function(){return fm};t.UN=function(){return jk};
t.j=function(){EQ.g.j.call(this);this.Yd.b()||this.Yd.j();this.wi.b()||this.wi.j();var a=this.v();this.PH.j();a.appendChild(this.gb,a.j(n,null,this.PH.b(),this.Yd.b(),this.kG=a.j(n,gm,a.j(n,hm,"More","\u00a0","\u25be")),this.LQ=a.j(n,gm,a.j(n,hm,"Less","\u00a0","\u25b4")),this.wi.b()));S(this.kG,!1);S(this.LQ,!1);this.Ub(180)};
t.H=function(){EQ.g.H.call(this);this.C().o(this.Yd,Le,this.v5).o(this.wi,Le,this.v5).o(this.kG,ng,A(this.OM,this,!0)).o(this.LQ,ng,A(this.OM,this,!1)).o(this.PH,"A",function(){this.Yd.Fa(0).HMa()});U(this.gb,"picker-pplnavpane");this.DI&&U(this.gb,"picker-peoplesearchbar-showroom");U(this.wi.b(),"picker-pplnavpane-additional");this.m9();var a=this.$.Xb();a&&a.cg(!0)};
t.UKa=function(a){this.Q0=a;var b=a.parent;b?this.getContext().na.Gd(new BN("c"),A(function(a){for(var b=0;b<this.$.Ri();b++){var f=this.$.Se(b),g=f.Pd;if(g instanceof PM&&g.zb==a){5<b&&(this.OM(!0),(new jQ(f.b())).play());this.Oba(f);return}}this.getContext().ea.Dc(new PO(Jl))},this,b),Pq,!1):this.getContext().ea.Dc(new PO(Jl,void 0,a))};t.m9=function(){this.ba&&6<this.Yd.ub()&&(this.d2=Sy(this.Yd.b()).height-bz(this.Yd.b()).top,S(this.kG,!0),R(this.Yd.b(),xl,ej),R(this.Yd.b(),dj,this.lL+q))};
t.OM=function(a){S(this.kG,!a);S(this.LQ,a);var b=a?this.lL:this.d2,c=a?this.d2:this.lL,b=new xz(this.Yd.b(),b,c,150);a?this.C().o(b,rh,A(function(){R(this.Yd.b(),xl,zq)},this)):R(this.Yd.b(),xl,ej);b.play()};t.kwa=function(a){this.Yd.b()||this.Yd.j();this.wi.b()||this.wi.j();var b=this.KX("Everyone",1);U(b.b(),"picker-pplnavpane-all");E(a.Kc(),function(a){this.KX(a.getName(),a,!0)},this);this.$.wd(b);this.m9();this.getContext().na.Gd(new BN("g"),A(function(a){a.Kc().length&&this.Bja()},this),Pq)};
t.Bja=function(){this.getContext().df.Ra(function(a){this.oja(a.Eua,2,"picker-spr-gmail")},this)};t.Y_=function(a,b,c,e){a=new xQ(a,b,this.v(),c,e);this.$.T(a);return a};t.oja=function(a,b,c){a=this.Y_(a,b,!1,c);this.wi.sa(a,!0);return a};t.KX=function(a,b,c){a=this.Y_(a,b,c);this.Yd.sa(a,!0);return a};t.v5=function(a){this.Oba(a.target)};
t.Oba=function(a){var b=this.$.Xb();this.$.wd(a);var c=this.getContext().ea.Gc,c=c?c.clone():new PO(Jl,void 0,this.Q0);c.setQuery(null);if((a=a.Pd)&&a instanceof PM)c.nb(Gl,a.zb),c.nb(Ip,void 0);else switch(a){case 1:c.nb(Gl,void 0);c.nb(Ip,Jl);break;case 2:c.nb(Ip,ji)}this.getContext().ea.Dc(c);b||this.getContext().ea.Pc.setActive(!0)};t.exa=function(a){a=a.YNa;this.Xp(a.getQuery()?null:a)};
t.Xp=function(a){if(a&&a.xa==Jl){var b=a.getOption(Gl),c=a.ta()==ji,e=a.ta()==Jl&&!b,f=a.ta()==sn;E(this.$.it(),function(a){var h=a.Pd,k=h instanceof PM?h.zb:void 0;(b&&b==k||c&&2===h||e&&1===h||f&&3===h)&&this.$.wd(a)},this)}else this.$.wd(null)};var FQ=function(a,b){var c=a.L.De()?"picker-min-header":"picker-header";kP.call(this,a,c+"-root",c+"-frame",c+tb,jp,b);this.Td=this.getContext().L.Ue();this.tV=this.getContext().L.tV||this.Td;this.No=null};C(FQ,kP);t=FQ.prototype;
t.l0=function(a){if(a){var b=this.v(),c=this.gb,e=b.j(n,{id:"picker:ht","class":$l,role:"heading"},a);this.getContext().L.De()||e.setAttribute("aria-level","1");var f=this.getContext().L.iua();f&&c.appendChild(b.j(n,"picker-header-icon "+f));c.appendChild(e);this.getContext().L.Woa&&(e=b.j(n,"picker-header-text picker-dogfood-confidential-text",Oc),c.appendChild(e));this.$g=new VP(this.getContext(),b);this.sa(this.$g,!1);this.$g.j();b.append(c,this.$g.b())}this.iba(a)};
t.j=function(){FQ.g.j.call(this);this.l0(this.Td);this.getContext().L.nP&&this.pja()};t.pja=function(){var a=this.v(),b=this.gb;this.getContext().df.Ra(function(c){if(c.D7&&!qL().isNative()){this.No=a.j(n,"picker-debug-build-label");var e=c.vba;e&&this.No.appendChild(a.createTextNode(e+":"));(c=c.kZ)&&this.No.appendChild(a.createTextNode(c));b.appendChild(this.No)}},this)};
t.H=function(){FQ.g.H.call(this);this.getContext().L.De()&&(this.C().o(this.getContext().xf,Dn,this.gxa),this.C().o(this.getContext().ea,"j",this.Uua))};t.Ada=function(a){var b=this.v(),c=b.Md($l,this.b()),e=this.Td;(a=a||this.getContext().ea.Gc)&&a.getOption(Gl)&&(e=this.tV);c?(b.wh(c),e&&b.appendChild(c,b.createTextNode(e)),this.iba(e)):this.l0(e)};
t.iba=function(a){if(a)if(this.getContext().L.De()){var b=this.v().Md($l,this.b());a=$y(b).height;b=gz(b);b.top&&(a+=b.top);b.bottom&&(a+=b.bottom);this.Ub(Math.max(a,28))}else this.Ub(20);else this.Ub(0)};t.gxa=function(a){a=a.data.title;z(a)&&(this.Td=a,this.Ada());(a=this.getContext().ea.Pc)&&a.ii()};t.Uua=function(a){this.Ada(a.MA)};var GQ=function(a,b){if(b.xq)return"vmd";if(b.De())return null;if(rK(a.xa))return"vd";var c=a.getOption(Gl),e=a.getQuery();switch(a.xa){case xg:return"vco";case wj:return"vis";case Ql:var f=a.getOption(Jk),g=a.getOption(Ip);if(a.getOption(Qp)||g==hi||"moment"==g&&c)break;return g==Yf?"vpcs":g==hj?"vph":g==sk&&!c||!g&&(!c&&!e||f==dn)?"vpa":"vpf";case Ll:return a.getOption("enableAlbumNavigation")&&c?"vph":"vpa";case Qp:return a.aQ()?null:"vup";case dq:return"vurl";case oq:return"vvs";case nq:return c||
e?"vv":"vva";case pq:return"vv";case Kq:return"vyt"}return null},HQ=function(a){if(rK(a.xa))return!0;switch(a.xa){case Of:case Xf:case kg:case xg:case uh:case "et":case Sh:case Yi:case zk:case Jl:case Ll:case Nl:case Ol:case Vm:case nq:case pq:case Kq:return!0;case Ql:return a.getOption(Qp)?!1:!0}return!1},IQ=function(a){switch(a){case "opb":return"opb";case "opl":return"opl";case "opr":return"opr";case "opd":return"opd";case "opdr":return"opdr";case "opm":return"opm";case "opmd":return"opmd";case ll:return ll;
case kl:return kl;case "opt":return"opt";case ml:return ml;case "opu":return"opu";case "opv":return"opv"}return null},JQ=function(a,b){if(b.xq)return"load_mindrive";var c=a.xa;if(rK(c))return"load_drive";switch(c){case Ql:if(!a.getOption(Qp))return"load_photos";break;case Ll:case Ml:case Nl:case Ol:case pq:case nq:return"load_photos"}return qk};var KQ=function(a,b,c){$M.call(this,a,c);this.Me=(this.nc=b)?a.na.ze(b):a.na.zR();this.Lw=A(this.mva,this);this.Fm=[];this.fs=[];this.C().o(a.bb,"r",this.oy);this.U1=!1;this.a7=!0;this.Lr=this.wH=!1;this.Jv=null};C(KQ,$M);t=KQ.prototype;t.yM=function(a){this.a7=a};t.ze=function(){return this.Me};t.H=function(){KQ.g.H.call(this);if(!this.U1){this.U1=!0;var a=this.Me;a&&a.addListener(this.Lw);this.a7&&this.Nx()}};t.YM=function(a){var b=this.getContext().L.zpa;return xs(a,function(a){return!b.contains(a.zb)})};
t.QC=function(){this.getContext().na.ud(53)};t.Poa=function(){this.QC();this.getContext().na.ud(51)};t.ov=Pq;t.dga=Pq;t.ii=function(a){!this.Lr&&this.Me&&(a&&(this.Me.Jda(),this.Me.fF()),this.Me.Ye()||this.Nx())};
t.Nx=function(a){var b=this.nc;if(b&&!this.Lr){var c=this.Me;!c.Ye()||c.ln()||c.Vp()?(b.setStart&&(b=c.Ye()&&c.ln()?c.getCursor():"",parseInt(b,10)?this.nc.setStart(parseInt(b,10)):this.nc.setStart(0),this.nc.setCursor(b),this.nc.fr&&(c=c.Ye()&&c.Vp()?c.ah:"",this.nc.fr(c))),this.Lr=!0,this.Qa&&this.ov(!0),c=A(this.ix,this,a),a=A(this.Lpa,this,a),this.zh("vdl"),(b=this.getContext().Zi)&&b.kH("lfdls"),this.getContext().na.Gd(this.nc,c,a,!0)):this.ix(a)}};
t.ix=function(a){this.Hj("vdl");var b=this.getContext().Zi;b&&(b.kH("lfdle"),b.US());if(this.Qa){this.WA(a);if(this.isDisposed())return;this.getContext().Mb.zfa()}else this.wH=!0;this.Lr=!1;this.ov(!1)};t.Lpa=function(a){this.Lr=!1;this.ov(!1);this.Kpa(a);!this.isDisposed()&&this.getContext().Mb.zfa()};t.Kpa=function(a){this.ix(a)};t.setActive=function(a,b){KQ.g.setActive.call(this,a,b);if(this.Qa){var c=this.Me;c&&c.Jda();c&&!c.Ye()?this.ii():this.wH?this.WA(!0):this.dispatchEvent(bg);this.Lr&&this.ov(!0)}else this.ov(!1)};
t.WA=function(a){this.wH=!1;var b=this.Jv;null!==b&&(Yu(b),this.Jv=null);var b=this.YM(this.Me.Kc()),c=this.Fm,e=c.length,f=!a&&0<e&&e<=b.length&&Bs(b,function(a,b){return!!(b>=e||a.getId()==c[b].getId()||a.getAttribute("oid")==c[b].getId())});this.fs.length&&this.JEa();this.Fm=b;f?(a=b.slice(e),a.length?this.appendData(a):this.Y5()):(a||b.length)&&this.HS(b);b.length||(this.Me.Ye()?f||!this.Me.Vp()&&!this.Me.ln()?this.QC():this.Y5():this.Poa());this.fs=[];this.dispatchEvent("i");this.dispatchEvent(bg)};
t.Y5=Pq;t.JEa=function(){var a=this.fs;Ss(a);E(a,function(a){As(this.Fm,function(c){return c.getId()==a})&&this.LEa(a)},this);this.fs=[]};t.ct=function(){return new oC(ys(this.Fm,function(a){return a.getId()}))};t.ID=function(a){return us(this.Fm,a)};
t.mva=function(a,b,c){var e=ys(this.Fm,function(a){return a.getId()});this.fs=Ns(this.fs,xs(c,function(a){return Gs(e,a)},this));this.Qa?!b.length||a.length||c.length?null===this.Jv&&(this.Jv=Xu(A(this.WA,this,!1),0,this)):E(b,function(a){this.ZEa(a);Ms(this.Fm,function(b){return b.getId()==a})},this):this.wH=!0};t.oy=function(a){E(a.Eg,this.dga,this)};t.uJa=function(a){this.nc=a;this.Lr=!1;this.Me.removeListener(this.Lw);this.Me=this.getContext().na.ze(a);this.Me.addListener(this.Lw)};
t.B=function(){KQ.g.B.call(this);var a=this.Me;a&&a.removeListener(this.Lw);this.nc=this.Me=null;delete this.Lw;delete this.Fm;null!==this.Jv&&Yu(this.Jv)};var LQ=function(){this.Io=void 0};C(LQ,kB);Qq(LQ);LQ.prototype.W=function(){return"picker-dataview"};LQ.prototype.j=function(a){a=a.v();return a.j(n,this.W()+tb,a.j(vo))};LQ.prototype.U=function(a){return a.firstChild};LQ.prototype.Qe=function(){return ok};var MQ=function(a,b,c){vB.call(this,a,b||LQ.S(),c);this.Eca(!0);this.ef(!1);this.dJa(!1);this.yg=-1;this.oP=null};C(MQ,vB);t=MQ.prototype;t.zta=function(){if(0<=this.Gg(this.oP)){var a=this.oP.b();if(Py(a,this.b()).x==this.x6)return this.R$}(a=this.Fa(this.yg))&&this.ida(a);return this.R$};t.ida=function(a){this.oP=a;a=a.b();this.x6=Py(a,this.b()).x;this.R$=this.x6+a.offsetWidth/2};
t.vi=function(a,b,c){MQ.g.vi.call(this,a,b,c);if(a instanceof hQ&&(a.XR(this.Gg(a)),b<this.ub()-1))for(c=b+1;c<this.ub();c++){var e=this.Fa(c);e instanceof hQ&&e.XR(c)}a.Db(32)&&(a=a.wc(),-1==this.yg?(this.yg=b,a.tabIndex=0):(b<=this.yg&&this.yg++,a.tabIndex=-1))};
t.removeChild=function(a,b){var c=z(a)?this.Um(a):a;if(c){var e=this.Gg(c);if(c instanceof hQ&&e<this.ub()-1)for(c=e+1;c<this.ub();c++){var f=this.Fa(c);f instanceof hQ&&f.XR(c-1)}e==this.yg?((c=this.ht(e,!0))||(c=this.ht(e,!1)),c?(this.Fn(c,!1),0<c&&this.yg--):this.yg=-1):e<this.yg&&this.yg--}return MQ.g.removeChild.call(this,a,b)};t.H=function(){MQ.g.H.call(this);this.C().o(this,"v",this.wwa)};
t.wwa=function(a){var b=a.target;switch(a.ul){case 0:a=this.Gg(b);var c=this.yg;a==c&&b.lF()||this.Fn(a-c,!0);break;case 38:this.Nj()==lq?this.Fn(-1,!1):(b=this.Bsa(b))&&this.Fn(b,!1);break;case 40:this.Nj()==lq?this.Fn(1,!1):(b=this.Csa(b))&&this.Fn(b,!1);break;case 37:this.Nj()==ij&&this.Fn(this.ht(b,qL().Uf()),!0);break;case 39:this.Nj()==ij&&this.Fn(this.ht(b,!qL().Uf()),!0)}};
t.ht=function(a,b){for(var c=typeof a==bl?a:this.Gg(a),e=b?this.ub():-1,f=b?1:-1,g=c+f;g!=e;g+=f){var h=this.Fa(g);if(h.isEnabled()&&h.Db(32))return g-c}return 0};t.Bsa=function(a){a=this.Gg(a);if(-1==a)return 0;var b=this.C3(a);if(0!=b){var c=this.ht(b,!1);if(c)return c=b+c,b=this.C3(c),this.x2(b,c)-a}return 0};t.Csa=function(a){a=this.Gg(a);if(-1==a)return 0;var b=this.R3(a);if(b!=this.ub()-1){var c=this.ht(b,!0);if(c)return c=b+c,b=this.R3(c),this.x2(c,b)-a}return 0};
t.C3=function(a){var b=this.Fa(a).b(),b=Oy(b).y;for(--a;0<=a;a--){var c=this.Fa(a);if(c.isEnabled()&&(c=c.b(),Oy(c).y+c.offsetHeight<=b))return a+1}return 0};t.R3=function(a){var b=this.ub(),c=this.Fa(a).b(),c=Oy(c).y+c.offsetHeight;for(a+=1;a<b;a++){var e=this.Fa(a);if(e.isEnabled()&&(e=e.b(),Oy(e).y>=c))return a-1}return b-1};
t.x2=function(a,b){for(var c=Oy(this.b()),e=Number.MAX_VALUE,f=a,g=this.zta(),h=a;h<=b;h++){var k=this.Fa(h);if(k.isEnabled())if(k=k.b(),k=Oy(k).x-c.x+k.offsetWidth/2,k=Math.abs(g-k),k<e)e=k,f=h;else if(k>e)break}return f};t.Fn=function(a,b){try{if(!hx(this.b(),Dx(this.v().J())))return}catch(g){return}var c=this.yg;if(0<=c){var e=c+a,f=this.Fa(e);if(f){this.yg=e;c=this.Fa(c);c=c.O.wc(c);xx(c,!1);c=f.O.wc(f);xx(c,!0);try{c.focus(),b&&this.ida(f)}catch(g){}}}};
t.am=function(){var a=this.Fa(this.yg);if(a){a=a.O.wc(a);try{return a.focus(),!0}catch(b){}}return!1};var NQ=function(a,b){BA.call(this,b);this.X=a};C(NQ,BA);NQ.prototype.getContext=function(){return this.X};NQ.prototype.j=function(){var a=this.v(),b,c=a.j(Qo,null,a.j(To,null,a.j("tr",null,a.j(Uo,null,this.Hx()),a.j(Uo,null,b=a.j(vo,im))))),e=this.getMessage();gx(e)?b.appendChild(e):a.appendChild(b,a.ij(py(e)));a=a.j(Qo,"picker-promo-table",a.j(To,null,a.j("tr",null,a.j(Uo,{align:ag},c))));this.Ab(a)};
NQ.prototype.setActive=function(){var a=this.b();S(a,!0);a=Ew("a",void 0,a);if(a=0<a.length?a[0]:null)try{a.focus()}catch(b){}};var OQ=function(a,b){NQ.call(this,a,b)};C(OQ,NQ);OQ.prototype.getMessage=function(){var a=this.v(),b=this.getContext().L.J7();return a.j(n,void 0,a.j(n,"picker-promo-title",b?"Share photos from Google Drive on Google+":"Goodbye attachments. Hello Google Drive."),a.j(n,im,b?"Google Drive is the single place to keep all your files so you can access them from anywhere, any device.  Once you have photos in Google Drive, you can instantly share them with your circles here.":"With Google Drive, you never have to send another email attachment again.  Just share a link to any file you store in Google Drive.  That way everyone has access to the same file, same version - automatically."))};
OQ.prototype.Hx=function(){return this.v().j(yj,{"class":"picker-promo-logo",width:"64",height:"64",src:"//ssl.gstatic.com/docs/picker/images/db07825265y.png"})};var PQ=function(a,b){var c=a.getOption(Jk),e=b.L.x1,f=!1;b.df.Ra(function(a){f=!a.xga.nra("dl")});return c==Wi||null==c&&!e&&(a.Ba(Xg)||a.Ba(Yg))||null==c&&e&&f},QQ=function(a){if(null==a)return null;var b=a.Zd;return"drive.google.com"==b||"docs.google.com"==b?(b=a.getPath(),"/open"==b&&a.yc(rj)?a.yc(rj):(a=b.match(/\/file\/d\/([\w|\d]+)\/(edit|preview|view)/))?a[1]:null):null},RQ=function(a){var b=gP(a).getName();switch(a){case Se:b="All file types"}return b},SQ=function(a,b,c){b=b||a.xa;var e=new PO(b,
a.Ue(),ot(a.getOptions()));c&&e.setQuery(null);var f=e;for(a=a.Fd;a;){var g=new PO(b,a.Ue(),ot(a.getOptions()));c&&g.setQuery(null);f.li(g);f=g;a=a.Fd}return e},TQ=function(a){switch(a){case 10:return"Last modified by me";case 3:return"Last modified";case 2:return"Last opened by me";case 8:return"Name";case 15:return"Recent";case 5:return"Relevance";case 9:return"Share date"}return""},UQ=function(a){a=a.aj;return a==bf?"Folder":Gs(UO,a)?sd:Gs(bP,a)?"Video":Gs(aP,a)?"Document":Gs(WO,a)?"Presentation":
Gs(ZO,a)?"Spreadsheet":Gs(SO,a)?"Drawing":Gs(VO,a)?"PDF":Gs(TO,a)?"Form":Gs($O,a)?"Table":Gs(YO,a)?"Site":Gs(XO,a)?"Script":""},VQ=function(a){if(a.getOption(ro))return a.getOption(ro);if(a.getQuery())return 5;if(a.cQ())return 9;switch(a.xa){case Se:case ah:case dh:case Qh:case Uh:case Il:case Gm:case Wn:case zo:case Ro:return 3;case Xg:case Yg:case Zg:return 8;default:return 3}};new Oz("EEEE, "+LB.UW+", HH:mm a");new Oz("EEEE, "+LB.UW+", HH:mm a "+LB.wX);new Oz(2);var WQ=new Oz(3);new Oz(1);var XQ=new Oz(7),YQ=new Oz(LB.$ha),ZQ=function(a){var b;a?(b=new Kz,b.setTime(a)):b=null;if(432E5>B()-a)b=b?XQ.format(b,void 0):"";else{a=b;var c=new Date(B());b=a.getFullYear()==c.getFullYear()?b?YQ.format(b,void 0):"":b?WQ.format(b,void 0):""}return b};var $Q=function(a){pQ.call(this,"picker-list-control");this.nG=a};C($Q,pQ);
$Q.prototype.j=function(a){var b=a.J(),c=a.v(),e=c.j("tr",bm);qA(e,"picker-list-control-unselectable",!a.Db(16)&&!a.Db(64));xx(e,!0);var f=c.j(Uo,"picker-list-control-checkbox-cell picker-list-control-cell");if(a.Db(16)){var g=new gG(void 0,c);g.Fb(32,!1);g.ha(f);a.GHa(g);xx(g.b(),!1);U(e,"picker-list-control-tablerow-with-checkbox")}a=c.j(Uo,"picker-list-control-icon-cell picker-list-control-cell");(g=b.YN())?(g=c.j(yj,{"class":"picker-list-control-icon-img",src:g}),a.appendChild(c.j(vo,"picker-list-control-icon",
g))):a.appendChild(c.createTextNode("\u00a0"));jA(a,UQ(b));g=c.j(Uo,"picker-list-control-name-cell picker-list-control-cell");Aw(g,mw(this.e3().Bea(bw(b.getName()||"")),"\u00a0"));var h=c.j(Uo,"picker-list-control-lastedited-cell picker-list-control-cell");(b=b.Xh)?c.Je(h,ZQ(b)):c.Je(h,"\u2013");c.append(e,f,a,g,h);return e};$Q.prototype.setState=function(a,b,c){$Q.g.setState.call(this,a,b,c);if(16==b){var e=a.Le;e&&Xu(function(){e.Bf(c)})}};
$Q.prototype.mj=function(a){var b=a.b(),c=a.J();a=a.v();if(c.getName()){var e=a.Md("picker-list-control-name-cell",b);a.Md(bm);e&&Aw(e,mw(this.e3().Bea(bw(c.getName()||"")),"\u00a0"))}var e=a.Md("picker-list-control-lastedited-cell",b),f=c.Xh;f?a.Je(e,ZQ(f)):e&&a.Je(e,"\u2013");(b=a.Md("picker-list-control-icon-cell",b))&&jA(b,UQ(c))};var aR=function(a,b,c,e){kQ.call(this,a,b,c,e);this.Le=null};C(aR,kQ);aR.prototype.ph=function(a){!this.Db(64)||!this.isEnabled()||this.Le&&a.target.className==Rj?aR.g.ph.call(this,a):(this.Jb(!0),this.Jb(!1))};aR.prototype.GHa=function(a){this.Le=a};aR.prototype.Ws=function(){return this.Le&&this.Le.b()};aR.prototype.mj=function(a){aR.g.mj.call(this,a);this.O.mj(this)};var bR=function(){M.call(this);this.ua=Yk};C(bR,M);bR.prototype.setState=function(a){this.ua!=a&&(this.ua=a,this.dispatchEvent(bg))};bR.prototype.getState=function(){return this.ua};var cR=function(a,b){BA.call(this,b);this.PB="#fff";this.cb=0;this.JI=a};C(cR,BA);var dR={HVa:0,UTa:1,$Pa:2,PRa:3};t=cR.prototype;t.Ub=function(a){D(!this.b(),"Cannot setSize after activity indicator is rendered.");this.cb=a};t.j=function(){cR.g.j.call(this);var a=this.v();this.Qo=a.j(d);this.C6=a.j(d,"jfk-activityIndicator-icon");var b=["jfk-activityIndicator"];1==this.cb&&b.push("jfk-activityIndicator-small");this.Ab(a.j(d,b,this.Qo,this.C6))};t.U=function(){return this.Qo};
t.H=function(){cR.g.H.call(this);this.C().o(this.JI,bg,this.yba)};t.yba=function(){if(!this.JF||this.JF.complete){this.wh(!0);var a=this.gna();this.GDa(a);Rt(this.JF);this.JF=a;this.cda()}};t.GDa=function(a){this.sa(a,!0);this.C().qq(a,"B",this.GE);Xu(cr(this.Lla,a),0,this)};t.Lla=function(a){this.ba&&(a.play(),Xu(function(){!this.isDisposed()&&this.ba&&this.JLa&&!this.complete&&this.GE()},500,a))};t.GE=function(a){a=a.target;var b=this.JI.getState();b==a.state&&"loading"!=b||this.yba();this.cda()};
t.cda=function(){this.C6.style.opacity="offline"==this.JI.getState()?1:0};t.gna=function(){var a=this.PB,b=this.PB,c=2,e=this.JF;e&&(a=e.P1,b=e.R1,c=e.direction,D(Gs(gt(dR),c)),c=(c+1)%4,D(Gs(gt(dR),c)));var e=this.JI.getState(),f,g;switch(e){case "loading":g=eR[c];f=g[0];g=g[1];break;case Yk:g=f=this.PB;break;case "offline":f="#999";g="#777";break;default:Zr(Rn)}D(f);D(g);return new fR(e,c,f,a,a,b,f,g,this.cb,this.v())};
var eR={0:["#00B15F","#008948"],1:["#3C78F8","#2159bd"],2:["#FA2424","#9e1212"],3:["#FFD34B","#dea11a"]},fR=function(a,b,c,e,f,g,h,k,m,p){BA.call(this,p);this.state=a;this.complete=!1;this.direction=b;this.zLa=c;this.qpa=e;this.BLa=f;this.FLa=g;this.P1=h;this.R1=k;this.iC=1==m?16:19};C(fR,BA);t=fR.prototype;
t.j=function(){fR.g.j.call(this);var a=this.b(),b=this.v();U(a,"jfk-activityIndicator-circle-transition");var c=b.j(d,Mj),e=b.j(d,Mj);D(a);b.append(a,c,e);a=b.j(d,Lj);b.appendChild(c,a);R(a,Df,this.zLa);var f=b.j(d,Lj);b.appendChild(e,f);R(f,Df,this.qpa);var g=b.j(d,Lj),h=b.j(d,Lj);b.appendChild(c,g);b.appendChild(e,h);R(g,Df,this.BLa);R(h,Df,this.R1);this.Zk=g;this.jk=h;this.oD=a;this.nT=f;this.mx=c;this.Oz=e;this.WJa(this.direction);U(g,"jfk-activityIndicator-transition");U(h,"jfk-activityIndicator-transition-second")};
t.WJa=function(a){var b=this.iC+q,c=Math.ceil(this.iC/2)+q,e="-"+c;switch(a){case 1:R(this.mx,{left:0,top:0});R(this.Oz,{left:c,top:0});R(this.Zk,{left:0,top:0});R(this.jk,{width:0,left:0});R(this.oD,{left:0,top:0});R(this.nT,{left:e});break;case 3:R(this.mx,{left:c,top:0});R(this.Oz,{left:0,top:0});R(this.Zk,{left:e,top:0});R(this.jk,{width:0,left:c});R(this.oD,{left:e,top:0});break;case 0:R(this.mx,{left:0,top:c});R(this.Oz,{left:0,top:0});R(this.Zk,{left:0,top:e});R(this.jk,{top:c,height:0});R(this.oD,
{left:0,top:e});break;case 2:R(this.mx,{left:0,top:0});R(this.Oz,{left:0,top:c});R(this.Zk,{left:0,top:0});R(this.jk,{left:0,height:0});R(this.oD,{left:0,top:0});R(this.nT,{top:e});break;default:Zr(Rn)}a=this.direction;b=0==a||2==a?{width:b,height:c}:{width:c,height:b};R(this.mx,b);R(this.Oz,b)};
t.dIa=function(a){var b=this.iC+q,c=Math.ceil(this.iC/2)+q,e="-"+c;switch(a){case 1:R(this.Zk,{width:0,left:c});R(this.jk,{left:e,width:b});break;case 3:R(this.Zk,{width:0,left:0});R(this.jk,{width:b,left:0});break;case 0:R(this.Zk,{top:0,height:0});R(this.jk,{top:0,height:b});break;case 2:R(this.Zk,{top:c,height:0});R(this.jk,{top:e,height:b});break;default:Zr(Rn)}};
t.play=function(){D(this.ba,"Must be in document at this point.");H&&Sy(this.b());this.JLa=!0;R(this.Zk,Df,this.FLa);R(this.jk,Df,this.P1);this.dIa(this.direction);this.sAa(this.jk,["webkitTransitionEnd","transitionend"],this.GE)};t.sAa=function(a,b,c){var e=!1,f=this;this.C().qq(a,b,function(){e||(e=!0,c.call(f))})};t.GE=function(){this.complete=!0;this.dispatchEvent("B");S(this.nT,!1)};var gR=function(a){BA.call(this,a);this.tB=new bR;this.wa(this.tB);this.TW=new cR(this.tB,a);this.wa(this.TW)};C(gR,BA);gR.prototype.j=function(){gR.g.j.call(this);var a=this.RF=this.v().j(n,"picker-loadingstatusbox");this.tB.setState(Yk);this.TW.ha(a);this.b().appendChild(this.RF);S(this.RF,!1);jA(this.RF,"Loading data");aA(this.b(),Fo);T(this.b(),pk,Cm)};gR.prototype.K=function(a){this.tB.setState(a?"loading":Yk);S(this.RF,a)};var hR=function(a,b,c,e,f){BA.call(this,f);this.R=a;this.X=b;this.ic=c;this.mza=!!e;this.cp=null};C(hR,BA);
hR.prototype.j=function(){hR.g.j.call(this);var a=this.b();a.id=zA.S().be();var b=this.v();U(a,"picker-doctype-chip");var c=RQ(this.R.xa);b.appendChild(a,b.j(n,"picker-doctype-chip-label",c));jA(a,"Filter by "+(c+" on"));this.mza&&(this.cp=new pB(b.j(n,"picker-spr-close-box-tiny-black")),this.cp.lf("picker-doctype-chip-dismiss"),this.sa(this.cp,!0),aA(this.cp.b(),Vf),a="Remove filter: "+c,jA(this.cp.b(),a))};hR.prototype.H=function(){hR.g.H.call(this);this.cp&&this.C().o(this.cp,Le,this.rva)};
hR.prototype.rva=function(){var a=SQ(this.R,Se);a.setQuery(this.ic.value);a.nb(Vg,!0);this.X.ea.Dc(a)};var iR=function(a,b,c){FB.call(this,c);this.X=a;this.ic=b};C(iR,FB);iR.prototype.j=function(){iR.g.j.call(this);var a=new zB("File type");this.sa(a,!0);a.Fb(2,!1);a.Fb(4,!1);U(a.b(),"picker-dropdown-menuitem-header");a.b().removeAttribute(cn);E(this.X.L.lp?[Se,Qh,ah,zo,Gm,Il,Xg,Zg]:[Se,Qh,dh,Xg,Il,Gm,zo,Uh,ah,Zg,Ro],function(a){this.zja(a)},this);this.cKa(!0);U(this.b(),Zl);U(this.b(),"picker-doctypes-dropdown-menu")};iR.prototype.H=function(){iR.g.H.call(this);this.C().o(this,Le,this.ly)};
iR.prototype.ly=function(a){a=SQ(this.X.ea.Gc,a.target.Pd);a.setQuery(this.ic.value);a.nb(Vg,!0);this.X.ea.Dc(a)};iR.prototype.zja=function(a){var b=RQ(a);a=new zB(b,a);this.sa(a,!0)};var jR=function(a,b){BA.call(this,b);this.R=a};C(jR,BA);jR.prototype.Lsa=function(){if(this.R.ta()==hi)return"Results shown are available for personal or commercial use only in Google Drive, and may not be independently redistributed or sold.";switch(this.R.getOption(lk)){case "r":return"Results shown are labeled for reuse.";case "cr":return"Results shown are labeled commercial for reuse.";case "rwm":return"Results shown are labeled for reuse with modification.";case "crwm":return"Results shown are labeled for commercial reuse with modification."}return null};
jR.prototype.j=function(){jR.g.j.call(this);var a=this.v(),b=zA.S().be(),c=this.R.getOption("learnmoreurl")||"https://support.google.com/drive/?p=docs_image_search&hl="+qL().Al;this.Ab(a.j(n,"picker-licensebar",a.j(ak,{id:b},a.createTextNode(this.Lsa()+" ")),a=a.j("a",{target:Ee,href:c},Bd)));T(a,bk,b)};var kR=function(a,b,c){ZM.call(this,b,c);this.FGa=a;this.Gfa=this.NV=null;this.Ot=""};C(kR,ZM);var lR=["red","orange","yellow","green","teal","blue","purple","pink",Dq,"gray",Mf,"brown"];kR.prototype.j=function(){var a=this.v().j(n,"picker-searchbarimagefilter");this.Hja(a);this.Fja(a);this.Ab(a)};
ZM.prototype.Hja=function(a){var b=this.v(),c=this.NV=new EB(b),e=function(a,e){c.sa(new zB(e,a,b),!0)};e("","Any type");e("face","Face");e(Kl,"Photo");e("clipart","Clip art");e("lineart","Line drawing");e=b.j(n,"picker-menu-container");b.appendChild(b.J().body,e);c.ha(e);e=this.Gfa=new gC("Any type",c,ZF.S());e.Fca(!0);e.ha(a);a=e.b();b.setProperties(a,{title:"Image filter"});U(a,"picker-searchbarimagefilter-type-button")};
ZM.prototype.Fja=function(a){var b=this.v(),c=function(a,c){var e=b.j(n,"picker-searchbarimagefilter-colorbox goog-inline-block",b.j(n,a));aA(e,Vf);T(e,ak,c);T(e,sn,!1);return e},e=function(a,b){return c({"class":"picker-searchbarimagefilter-colorbox-inner "+b,title:a},a)};a.appendChild(e("Full color","picker-spr-imagefilter-all-colors"));a.appendChild(e("Monochrome","picker-spr-imagefilter-monochrome"));e=function(a,b){return c({"class":lm,title:a,style:"background-color: "+b},a)};a.appendChild(e("Red",
"#c00"));a.appendChild(e("Orange","#fb940b"));a.appendChild(e("Yellow","yellow"));a.appendChild(e("Green","#0c0"));a.appendChild(e("Teal","#03c0c6"));a.appendChild(e("Blue","blue"));a.appendChild(e("Purple","#762ca7"));a.appendChild(e("Pink","#ff98bf"));a.appendChild(e("White",Dq));a.appendChild(e("Gray","#999"));a.appendChild(e("Black",Mf));a.appendChild(e("Brown","#885418"))};t=kR.prototype;
t.kja=function(a){var b=this.b().childNodes,c=this.zsa(a.getOption(Aj));this.fU(c.Pd);this.Gfa.hb(c.Qh());var c=1,e=a.getOption(zj);"mono"==a.getOption("imgc")?c=2:e&&(c=us(lR,e)+3);for(a=1;a<b.length;a++){var e=a==c,f=b[a];T(f,sn,e);this.qU(f,e);xx(f,e)}};t.fU=function(a){this.Ot=a};t.zsa=function(a){for(var b=this.NV,c,e=b.ub();0<e&&(c=b.Fa(--e),c.Pd!=a););return c};
t.H=function(){ZM.g.H.call(this);var a=this.C(),b=this.b();a.o(this.NV,Le,this.SCa);a.o(b,Nk,this.DCa);a.o(b,Mk,this.WR);a.o(b,Ok,this.CCa);a.o(b,Yj,this.wCa);a.o(b,Xj,this.vCa)};t.SCa=function(a){var b=this.Ot;a=a.target.Pd;this.fU(a);b!=a&&this.Dz()};t.DCa=function(a){this.HG(a,!0)};t.WR=function(a){this.HG(a,!1)};t.HG=function(a,b){var c=this.ED(a);!c||a.relatedTarget&&hx(c,a.relatedTarget)||fA(c,sn)==r||this.qU(c,b)};t.CCa=function(a){(a=this.ED(a))&&this.V9(a)};
t.V9=function(a){for(var b=this.b().childNodes,c=!1,e=1;e<b.length;e++){var f=b[e],g=f==a,h=fA(f,sn)==r;g!=h&&(T(f,sn,g),this.qU(f,g),xx(f,g),c=!0)}c&&this.Dz()};t.ED=function(a){return mA(a.target,lm)?a.target.parentNode:mA(a.target,km)?a.target:null};t.wCa=function(a){var b=this.ED(a);return b?13==a.keyCode||32==a.keyCode?(this.V9(b),a.cancelBubble=!0,a.returnValue=!1):!0:!0};
t.vCa=function(a){var b=a.keyCode;if(37==b||39==b){var c=this.ED(a);if(c){var b=37==b,e=qL().Uf();(b=b^e?c.previousSibling:c.nextSibling)&&mA(b,km)&&(xx(b,!0),b.focus(),xx(c,!1));a.preventDefault();a.stopPropagation()}}};t.qU=function(a,b){a.style.opacity=b?1:.5;a.style.filter=b?"alpha(opacity=100)":"alpha(opacity=50)"};
t.Dz=function(){var a=this.b().childNodes,b=null,c=null;if(fA(a[1],sn)!=r)if(fA(a[2],sn)==r)b="mono";else for(var e=3;e<a.length;e++)if(fA(a[e],sn)==r){c=lR[e-3];break}this.FGa(this.Ot,b,c)};var mR=function(a,b,c){BA.call(this,c);this.X=a;this.R=b;this.Kba=new CD;this.sa(this.Kba);this.WE=!b.getQuery()||!b.Ba(wj)||b.ta()&&"gis"!=b.ta()?null:new kR(A(this.Taa,this),a,c);this.D=QC("picker.ui.SearchBar");this.Bl=this.po=this.Iy=this.jR=this.aR=this.g7=this.ic=this.AK=this.yu=null;this.UZ=!0;this.hp=this.Nh=this.Ww=null};C(mR,BA);t=mR.prototype;t.e8=function(){return this.R.Ba(Rf)||this.R.Ba(wj)||this.R.Ba(oq)||this.R.Ba(Aq)};
t.d8=function(){var a=this.R;return!!a.getOption(Vg)||!a.getOption(Hk)&&a.Ba(Se)};t.IKa=function(){return rK(this.R.xa)&&this.R.xa!=Se};
t.$ma=function(a){this.v();var b=this.R,c=b.getOption(Vn),e=b.getOption("comboTypes");e&&z(e)&&(e=e.split(","));c=this.W3(b.ta(),c);if(!b.Ba(wj)||!e||2>e.length)return c;U(a,"picker-searchbar-combobox");this.Bl=new gC(c,null,ZF.S());this.Bl.sJa(!0);E(e,function(a){var c=new zB(this.W3(a));c.lf("picker-searchbar-menuitem");this.Bl.T(c);this.C().o(c,Le,function(){var c=b.clone();c.nb(Ip,a);this.X.bb.wm();this.X.ea.Dc(c)})},this);this.Bl.lf("picker-searchbar-combobox-dropdown");this.Bl.j();return this.Bl.b()};
t.W3=function(a,b){var c,e=this.v();switch(a){case hi:c=e.j(vo,"picker-searchbar-stock-photos");jA(c,"Stock images");nx(c,"Stock");break;case "life":c=e.j(vo,"picker-spr-life-photo-archive");jA(c,"Life images");break;default:c=e.j(yj,{src:"https://www.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_52x20dp.png","class":"picker-googlelogo-small"}),jA(c,"Google search images")}b&&-1!=b.indexOf(Mq)&&(c=e.j(vo,"picker-spr-youtube"));U(c,vi);U(c,"picker-searchbar-input-item");return c};
t.Oda=function(a){this.AK=LN.S().kh("opd").Hl.HWa(this.X,A(this.Bpa,this),this.R,qL().Uf(),this.yu,a);this.AK.LY(this.ic)};t.jJa=function(a){this.yu=a};t.KHa=function(a){this.UZ=a};var nR=function(a){T(a,zf,nk);T(a,cj,!0)};t=mR.prototype;
t.j=function(){var a=this.v(),b=a.j(n,"picker-searchbar"+(this.e8()?" picker-searchbar-logo":""));this.Ab(b);var c=this.R,e=c.getQuery(),e=this.ic=a.j(Ej,{type:Xo,"class":"picker-searchbar-input-box jfk-textinput",value:e?e:""});T(e,ak,"Search terms");var f=new HF(JF(Fb),a);f.j();f.wI(!0);f.Jd("Search");this.po=f;var g=null;if(this.e8()){var h=this.$ma(b),g=a.j(n,jm,h,e,f.b());this.aR=h}else this.d8()?(qA(e,"picker-searchbar-dropdownmenu-padding",!0),g=a.j(n,jm,e),this.Nh=IF(a.j(n,nm),a),this.Nh.ha(g),
qA(this.Nh.b(),"picker-flat-menu-button",!0),JE(this.Nh.b(),"Advanced Search options"),T(this.Nh.b(),cj,!0),this.Ww=new iR(this.X,e),this.sa(this.Ww,!1),this.Ww.Zg(this.Nh.b(),13,12),this.Ww.ha(this.X.L.mt()),g.appendChild(f.b())):g=a.j(n,"picker-searchbar-input",e,f.b());b.appendChild(g);this.g7=g;this.IKa()&&(this.hp=new hR(this.R,this.X,e,this.d8(),a),this.sa(this.hp,!1),this.hp.j(),f=this.hp.b(),Yw(f,e),T(e,Lg,f.id));switch(c.xa){case Se:case ah:case dh:case Qh:case Uh:case Il:case Gm:case zo:e.setAttribute(zf,
"off");nR(e);LN.S().Ls("opd",A(this.Oda,this,!1));break;case wj:var k=!1;this.X.df.Ra(function(a){k=a.jpa});k&&null!=c.getOption(yg)&&(e.setAttribute(zf,"off"),nR(e),LN.S().Ls("opd",A(this.Oda,this,k)))}(f=this.WE)&&f.ha(b);c.getOption(lk)&&(new jR(c,a)).ha(b);this.Kba.la(e)};
t.H=function(){mR.g.H.call(this);this.po.H();this.Bl&&this.Bl.H();var a=this.C();a.o(this.v().getWindow(),$m,this.zt).o(this.po,Le,this.afa).o(this.ic,Yj,this.iy).o(this.ic,Nh,A(function(){this.dispatchEvent("C")},this)).o(this.ic,Qf,A(function(){this.dispatchEvent("D")},this));this.Nh&&a.o(this.Nh,Le,this.yva);this.Iy=this.rta(this.ic);this.jR=this.EN(this.ic).width;this.zt();var b=new BD(this.ic);this.wa(b);a.o(b,Ej,this.Wwa)};
t.zt=function(){if(!(0>this.EN(this.ic).width)){var a=this.ora(this.ic),a=a.left+a.right,b=this.Iy.left+this.Iy.right,c=this.Vsa()-b-a;c>this.jR&&(c=this.jR);var e=null;this.hp&&(e=this.AD(this.hp.b()).width,c-=e,b+=e);0>c&&(c=0);Qy(this.ic,c);if(this.hp){var f=qL().Uf();R(this.ic,f?"padding-right":"padding-left",e+(f?this.Iy.right:this.Iy.left)+q)}this.Nh&&(a=c+b+a-this.AD(this.Nh.b()).width,By(this.Nh.b(),a))}};
t.Vsa=function(){var a=this.EN(this.g7).width-100-100-this.AD(this.po.b()).width;this.aR&&(a-=this.AD(this.aR).width);return a};t.yva=function(){this.Ww.PKa(this.Nh.b(),13,12)};t.ot=function(){return pr(this.ic.value)};t.Zb=function(){return!this.ic.value};t.Wwa=function(){var a=this.ot(),b=this.po,c=b.getStyle();a&&2!=c?b.io(2):a||0==c||(b.io(0),b.hb(JF(Fb)));this.dispatchEvent(new oR(a))};t.iy=function(a){if(13==a.keyCode)return this.R.dfa()||this.afa(),a.preventDefault(),a.stopPropagation(),!1};
t.afa=function(){var a=this.ot();a!=(this.R.getQuery()||"")&&(this.ic.value="",a?(this.po.io(0),this.po.hb(JF(Fb)),this.Dz(a)):this.Taa(null,null,null))};t.Bpa=function(){this.Dz(this.ot())};t.Dz=function(a){var b=this.R.clone();b.setQuery(a);b.vw(ro);this.UZ&&this.X.bb.wm();this.X.ea.Dc(b)};t.Taa=function(a,b,c){var e=this.R.clone();e.setQuery(this.ot());e.vw(ro);var f=e.lt();f&&f.WP()&&e.nb(ro,15);e.nb(Aj,a);e.nb("imgc",b);e.nb(zj,c);this.X.bb.wm();this.X.ea.Dc(e)};
t.setActive=function(a){a&&this.ot()!=this.R.getQuery()&&(this.ic.value=this.R.getQuery()||"",this.dispatchEvent(new oR(this.ot())))};t.ZR=function(a){a&&this.WE&&this.WE.kja(this.R)};t.focus=function(){try{return this.ic.focus(),!0}catch(a){return SC(this.D,Fc),!1}};t.B=function(){Rt(this.R);Rt(this.AK);Rt(this.ic);Rt(this.po);Rt(this.WE);Rt(this.Bl);mR.g.B.call(this)};var oR=function(a){J.call(this,"E");this.Ky=a};C(oR,J);t=mR.prototype;
t.AD=function(a){a=$y(a);a.width||(a.width=0);a.height||(a.height=0);return a};t.EN=function(a){a=cz(a);a.width||(a.width=0);a.height||(a.height=0);return a};t.rta=function(a){return this.c4(bz(a))};t.ora=function(a){return this.c4(Iy(a))};t.c4=function(a){a.top=a.top||0;a.bottom=a.bottom||0;a.right=a.right||0;a.left=a.left||0;return a};var pR=function(a,b){if(w(b)){switch(b){case 3:return"Too many items selected. Please deselect one or more.";case 5:return"Maximum file size exceeded. Please deselect one or more.";case 4:return"Maximum file size exceeded.";case 1:return zd;case 7:return zd;case 2:return a.Pj().Un(xP);case 6:return"The owner of one or more of these files has disabled downloading."}return"An error occurred. Please try again."}return""},qR=function(a){var b=a.L,c=b.j9,e=b.nBa,b=b.k9,f=[];a=a.bb;var g=a.B4();b&&a.C4()>
b&&f.push(5);c&&g>c&&f.push(3);e&&g<e&&f.push(2);return f};var rR=function(a,b,c,e){EB.call(this,e);this.X=a;this.R=b;this.rLa=VQ(b);this.nF=c;this.ZI=null};C(rR,EB);t=rR.prototype;t.j=function(){rR.g.j.call(this);var a;a=this.R;a=a.getQuery()?[3,5]:a.cQ()?[3,10,2,8,9]:[3,10,2,8];for(var b=0;b<a.length;b++)this.Nja(TQ(a[b]),a[b]);U(this.b(),Zl);U(this.b(),"picker-sort-dropdown-menu")};t.H=function(){rR.g.H.call(this);this.C().o(this,Le,this.ly)};t.sNa=function(a){this.nF=a;this.ZI&&(this.ZI.K(!a),this.ZI.ra(!a))};
t.ly=function(a){var b=this.R.clone();b.nb(ro,a.target.Pd);this.X.ea.Dc(b)};t.Nja=function(a,b){var c=new zB(a,b);b==this.rLa&&(c.kA(!0),c.cg(!0));this.sa(c,!0);8==b&&(this.ZI=c,this.sNa(this.nF))};var sR=function(a){this.Io=void 0;this.q6=a};C(sR,kB);sR.prototype.j=function(a){return a.v().j(n,this.ye(a))};sR.prototype.Od=function(a){sR.g.Od.call(this,a);a=a.yN();if(!this.q6){a[0].bg(2);for(var b=1;b<a.length-1;++b)a[b].bg(3);a[a.length-1].bg(1)}};sR.prototype.mNa=function(a){a=a.yN();if(this.q6){for(var b,c=0;c<a.length;c++){var e=a[c];e.K(!e.ge());e.ge()||(b=e)}b.ir(!0)}};sR.prototype.W=function(){return"picker-segmentedbuttonbar"};var tR=function(a,b,c,e){D(1<=a.length,"The button bar should have at least 1 button");vB.call(this,ij,e||new sR,c);this.ef(!1);this.Eca(!0);this.$=new hC;E(a,this.qja,this);b?this.rda(b):(a=this.$.lsa(),D(a,"First button cannot be null"),this.yU(a))};C(tR,vB);t=tR.prototype;t.H=function(){tR.g.H.call(this);this.C().o(this.$,pn,A(this.dispatchEvent,this,bg))};t.qja=function(a){a.Fb(8,!0);this.$.T(a);this.C().o(a,Le,this.by);this.sa(a,!0)};t.yU=function(a){this.$.Xb()!=a&&(this.$.wd(a),this.O.mNa(this))};
t.Nta=function(){return this.$.Xb()};t.Qta=function(){return this.Nta().getValue()};t.rda=function(a){var b=Es(this.yN(),function(b){return a==b.getValue()},this);b&&this.yU(b)};t.yN=function(){return this.$.it()};t.by=function(a){this.yU(a.target)};var uR=function(a,b,c){ZM.call(this,a,c);this.R=b;this.xh=new mR(a,b,c);this.wa(this.xh);this.TC=this.Yw=this.$i=null};C(uR,ZM);t=uR.prototype;
t.j=function(){var a=this.v().j(n,"picker-toolbar");this.Ab(a);this.xh.jJa(a);this.sa(this.xh,!0);this.KKa()&&(a=PQ(this.R,this.getContext())?Wi:nk,this.$i=new tR([this.xL("List view",nk,"picker-spr-list-view"),this.xL("Grid view",Wi,"picker-spr-grid-view")],a,this.v(),new sR(!0)),this.wa(this.$i),this.sa(this.$i,!0),U(this.$i.b(),"picker-drive-view-switcher"));this.JKa()&&(this.tja(),this.$i&&U(this.$i.b(),"picker-drive-view-switcher-with-drive-sort"))};
t.H=function(){uR.g.H.call(this);this.$i&&this.C().o(this.$i,bg,A(this.jwa,this))};t.jwa=function(){var a=this.$i.Qta()==Wi;this.getContext().df.Ra(function(b){b.xga.BHa("dl",!a)});this.getContext().om.jT(a?"Changed to grid view.":"Changed to list view.",Cm)};t.xL=function(a,b,c){var e=this.v();c=e.j(n,{"class":c+" picker-drive-view-switcher-button"},"\u00a0");e=new HF([c],e);e.setValue(b);e.oA(1);e.j();e.wI(!0);e.Jd(a);return e};
t.setActive=function(a,b){this.xh.setActive(a,b);this.$i&&this.$i.rda(PQ(this.R,this.getContext())?Wi:nk)};t.ZR=function(a){this.xh.ZR(a)};t.focus=function(){return this.xh.focus()};t.KKa=function(){return this.getContext().L.x1&&rK(this.R.xa)&&this.R.xa!=Zg&&!this.R.getOption(Jk)&&!this.R.pQ()};t.JKa=function(){var a=this.getContext().L;return a.lp&&a.apa&&rK(this.R.xa)&&15!=this.R.getOption(ro)&&!this.R.pQ()};
t.tja=function(){var a=this.v();this.TC=new rR(this.getContext(),this.R,!1,a);this.wa(this.TC);this.TC.ha(this.b());this.Yw=new gC(a.j(n,"picker-spr-sort picker-docsortoptions-menu-button-content"),this.TC,ZF.S(),a);this.wa(this.Yw);this.sa(this.Yw,!0);a=this.Yw.b();IE(a,"Sort options",void 0);qA(this.Yw.b(),"picker-docsortoptions-menu-button",!0)};var vR=function(a,b,c,e,f){this.Fw=GQ(b,a.L);KQ.call(this,a,b.Qx(),f);this.R=b.clone();(this.Ea=this.LKa()?new uR(a,b,f):null)&&this.sa(this.Ea);this.pf=this.Ema(e,c,f);this.pL=null;this.Gm={};this.Hba=new ND(this.c9,400,this);this.Cn=null;this.Y=QC("picker.ui.PickerDataView");this.Jba=this.ik=this.gz=this.zf=this.XL=null;this.yh="";this.MP=this.uy=!1;this.SC=null};C(vR,KQ);t=vR.prototype;
t.LKa=function(){var a=this.R;if(a.Ba(Ql)){var b=a.ta();return b==hi?!0:!b&&!a.getOption(Gl)&&!a.getOption(sj)}return a.getOption(sj)?!1:a.Ba(Rf)||a.Ba(Se)||a.Ba(Xg)||a.Ba(Yg)||a.Ba(Zg)||a.Ba(ah)||a.Ba(dh)||a.Ba(Qh)||a.Ba(Uh)||a.Ba(wj)||a.Ba(Il)||a.Ba(Jl)||a.Ba(Gm)||a.Ba(zo)||a.Ba(Wn)||a.Ba(Ro)||a.Ba(oq)||a.Ba(nq)||a.Ba(Aq)};
t.j=function(){var a=this.v(),b=this.pf;b.j();this.Cn||this.Yma();this.pL=a.j(n,"picker-content-container",b.b());b=a.j(n,"picker-content picker-dataview",this.pL);this.Ab(b);if(b=this.Ea)b.j(),a.iq(b.b(),this.pL);this.K(this.Qa)};t.hNa=function(a){this.R.li(a)};t.Yma=function(){this.Cn=new gR(this.v());this.wa(this.Cn);this.Cn.j()};
t.H=function(){this.ik=this.ik||YK(this.b());vR.g.H.call(this);this.Cn&&this.b().parentNode.appendChild(this.Cn.b());this.R.dfa()&&(this.Jba=new lz(this.Rfa,200,this),this.Ea&&this.K8(this.Ea.xh));var a=this.pf;a.H();this.C().o(a,["check","uncheck"],this.cxa).o(a,"open",this.Awa).o(a,Hg,this.uE);this.ik&&this.C().o(this.ik,jn,A(this.Hba.Rs,this.Hba))};t.K8=function(a){this.C().o(a,"E",function(a){((this.yh=a.Ky)||this.R.getQuery())&&this.yh!=this.R.getQuery()&&(this.MP=!0,this.Jba.start())})};
t.Ya=function(){vR.g.Ya.call(this);this.pf.Ya()};t.EKa=function(){var a=this.v();try{if(this.Ea&&a.contains(this.Ea.b(),a.qx()))return!1}catch(b){}return!0};t.Dla=function(){this.uy||this.am()};t.am=function(){var a=this.R;return this.EKa()?this.Ea&&!a.getQuery()&&(a.Ba(Aq)||a.Ba(Rf)||a.Ba(wj)||a.Ba(oq))?(this.uy=!0,Xu(function(){this.Ea.focus()},0,this),!0):this.uy=this.getContainer().am():this.uy=!0};
t.setActive=function(a,b){vR.g.setActive.call(this,a,b);this.Ea&&this.Ea.setActive(a,b);a&&(this.MP&&(this.yh="",this.Rfa()),this.MP=!1)};t.K=function(a){var b=this.b();b.style.top=a?"":qb;b.style.left=a?"":qb;b.style.right=a?"":"9500px";this.Ea&&this.Ea.ZR(a);G&&I("7")};t.getToken=function(){return this.R};t.Ema=function(a,b,c){return new MQ(a,b||LQ.S(),c)};t.getContainer=function(){return this.pf};t.$Ha=function(a){this.Gm=a};
t.HS=function(a){this.zh("vdr");this.gz&&(Zw(this.gz),delete this.gz);this.SC&&(this.removeChild(this.SC,!0),delete this.SC);for(var b=this.Gm,c={},e,f=0;f<a.length;f++)e=a[f].getId(),c[e]=b[e],c[e]&&c[e].d9&&c[e].d9(),delete b[e];this.$Ha(c);this.soa(b);this.KEa(a);this.Hj("vdr")};t.soa=function(a){var b=this.getContainer();at(a,function(a){a&&a.dispose&&(b.removeChild(a,!0),a.dispose())})};t.KEa=function(a){this.getContainer().wh(!0);this.b().scrollTop=0;this.appendData(a)};
t.LEa=function(a){var b=this.FD(a),c=this.getContext().bb;if(b){var e=b.J();if(this.ze().qL(a))b.update();else for(var f=this.YM(this.ze().Kc()),g=0;g<f.length;g++){var h=f[g];if(h.getAttribute("oid")==e.getId()){mt(this.Gm,a);it(this.Gm,h.getId())?(this.getContainer().removeChild(b,!0),b&&b.dispose&&b.dispose()):(nt(this.Gm,h.getId(),b),b.mj(h.getId()),this.hF(b)&&b.YF&&b.YF(),b.update());c.ge(e.getId())&&(c.oI([e.getId()],!1),c.oI([h.getId()],!0));break}}}else RC(this.Y,"redrawData on doc not in view.")};
t.appendData=function(a){var b=this.getContext(),c=b.bb,e=this.Gm;E(a,function(a){var g=a.getId(),h=e[g]=e[g]||this.xC(a);a.SP()||b.L.zza(a.aj)||h.Fb(16,!1);this.Ur(h);h.Bf(c.ge(g))},this);b.L.u7(Um)&&b.Mb.zr(a,Um);this.hR();this.Dla();a=this.getContainer().ub();(0==a||this.hF(this.getContainer().Fa(a-1))&&this.ze().ln())&&Xu(this.Nx,0,this);this.dispatchEvent("dataAppended")};t.ii=function(a){vR.g.ii.call(this,a);this.mR()};t.Ur=function(a){this.getContainer().sa(a,!a.ba)};
t.ZEa=function(a){var b=this.FD(a);b&&(this.pf.removeChild(b,!0),b.dispose(),delete this.Gm[a],this.hR())};t.ov=function(a){this.Cn&&this.Cn.K(a)};t.ix=function(a){vR.g.ix.call(this,a);this.mR()};t.mR=function(){if(this.Qa&&this.getContext().L.Jq&&this.ze()&&this.ze().Ye()){var a=this.getToken().getOption("maxPrefetchCollections")||0;if(!(0>=a))for(var b=this.YM(this.ze().Kc()),c=this.getContext().na,e=0,f=0;f<b.length&&e<a;f++)if(b[f].SP()){e++;var g=this.y4(b[f]).Qx();c.ze(g).UM||c.Gd(g,Pq,Pq,!0)}}};
t.xC=function(a){var b=this.XL;b||(b=this.XL=new $Q(this.getContext().L.nG));b=new aR(this.getContext(),a,b,this.v());a.SP()&&!this.R.Ba(Vm)&&(b.Fb(64,!0),b.Fb(16,!1),b.IT(64,!1));return b};t.QC=function(){this.p1(this.R.jta());if((this.R.Ba(Se)||this.R.Ba(Xg)||this.R.Ba(Yg)||this.R.Ba(Zg))&&et(this.R.getOptions(),function(a,c){return c==Bl?!1!==a:c==Bj?!0:null==a})){var a=this.getContext();a.df.Ra(A(function(b){b.$oa&&this.sa(this.SC=new OQ(a,this.v()),!0)},this))}vR.g.QC.call(this)};
t.p1=function(a){var b=this.v();this.gz||(this.getContainer().U().appendChild(this.gz=b.j("tr",null,b.j(Uo,null,this.zf=b.j(n,"picker-dataview-message")))),aA(this.zf,Fo),T(this.zf,pk,uf));z(a)?b.Je(this.zf,a):(b.wh(this.zf),this.zf.appendChild(a))};t.dga=function(a){var b=this.FD(a);b&&b.Bf(this.getContext().bb.ge(a))};t.FD=function(a){return this.Gm[a]};
t.cxa=function(a){var b=a.target.J(),c=this.getContext(),b=b.getId(),e=c.bb;if(e.ge(b)!=("check"==a.type)){if(!e.LA(b,c.L.nG?"cb":"cl"))return!1;(a=this.FD(b))&&a.KFa()}return!0};t.Awa=function(a){a=a.target.J();a=this.y4(a);this.getContext().ea.Dc(a)};t.y4=function(a){var b=this.R.clone();this.getContext().L.xq?b.nb(Gl,a.zb):b.nb(Gl,a.getId());b.setQuery(null);b.li(this.R);a.aj==kf?b.nb(Jk,dn):b.getOption(Jk)==dn&&b.nb(Jk,void 0);return b};
t.uE=function(a){a=a.target;if(a.Db(16)&&a.isEnabled()){a=a.J();var b=this.getContext(),c=b.bb;c.ge(a.getId())&&c.wm();c.LA(a.getId(),"cl")&&(c=qR(b),Hs(c)&&b.Mb.zr([a]))}};t.hR=function(a){a=a||1;5<a||(this.ik&&!this.ik.offsetHeight?Xu(A(this.hR,this,a+1),20):this.c9())};t.c9=function(){for(var a=this.getContainer(),b=a.ub(),c=this.msa();c<b;c++){var e=a.Fa(c);e&&this.hF(e)&&e.YF&&e.vza&&!e.$E&&(e.YF(),c==b-1&&this.Nx())}};
t.msa=function(){if(!this.ik)return 0;for(var a=this.ik,b=a.scrollTop+a.offsetHeight,c=this.getContainer(),e=0,f=c.ub()-1;e<f;){var g=e+f>>1,h=c.Fa(g),h=h.b();if(h.offsetTop+h.offsetHeight<a.scrollTop)e=g+1;else if(h.offsetTop>b)f=g-1;else{for(h=c.Fa(g-1);0<g&&h&&this.hF(h);)g--,h=c.Fa(g-1);return g}}return 0};
t.hF=function(a){if(!this.Qa)return!1;if(!this.ik)return!0;var b=this.ik,c=b.scrollTop-b.offsetHeight,b=b.scrollTop+2*b.offsetHeight;a=a.b();return a.offsetTop<b&&a.offsetTop+a.offsetHeight>=c};t.Rfa=function(){this.R.setQuery(this.yh);this.uJa(this.R.Qx());this.getContext().ea.Ru(this.getContext().ea.Pc,this.R);this.Nx(!0)};t.UO=function(a){a.data.visible&&this.Qa&&(this.uy=!1);vR.g.UO.call(this,a);this.mR()};t.B=function(){vR.g.B.call(this);this.R.dispose();this.pf.dispose();this.XL=null};
t.Zs=function(){return this.Fw};var wR=function(a,b){$M.call(this,a,b);this.kW=new Q;this.C().o(a.ea,"k",this.Owa);var c=a.bb;c.Bca(A(this.Opa,this));c.YHa(A(this.Wra,this))};C(wR,$M);t=wR.prototype;t.D=QC("picker.ui.ViewManager");t.Pc=null;t.Wr=null;t.az=null;t.Ho=null;var xR=[];t=wR.prototype;t.j=function(){wR.g.j.call(this);var a=this.Pc;a&&(a.j(),this.v().appendChild(this.b(),a.b()))};t.gd=function(){return!0};t.jb=function(a){wR.g.jb.call(this,a);a=this.v().Ym(a);var b=this.Pc;b&&(a?b.la(a):b.ha(this.b()))};
t.Owa=function(a){if(a.Aoa){var b=this.getContext().L,c=b.hM;b.Rw(!0);this.Ru(a.MA);b.Rw(c)}else this.Ru(a.MA);RD(a.MA.Zn())};t.xua=function(a){var b=this.kW,c=a.jh(),e=b.get(c);if(!e){var f=this.getContext(),e=GQ(a,f.L);(f=f.Zi)&&e&&f.zh(e,"vup");e=this.m3(a).create(a,this.getContext(),this.v());this.C().o(e,bg,this.YO).o(e,"i",this.Fxa);b.set(c,e);this.sa(e)}return e};
t.m3=function(a){for(var b=this.getContext().L,c=0;c<xR.length;c++)if(xR[c].qZ(a,b))return xR[c];throw Error("No creator registered for view creation.");};t.Ru=function(a,b){V(this.D,"SetActiveView initial history string: "+a.SD());this.az=a;var c=this.m3(a),e=LN.S().kh(ll);if(e&&!e.Hl&&a.Ba(Ol))LN.S().Ls(ll,A(this.Ru,this,a,b));else if(c.Vaa(a,this.getContext().L)){var f=2,e=A(function(){0==--f&&this.AT(a)},this);c.load(e);this.getContext().df.Ra(e)}else c.fe()?this.AT(a):c.load(A(this.AT,this,a))};
t.AT=function(a){if(this.az&&this.az.$d(a)){this.az=null;var b=this.getContext(),c=b.ea,e=a.getOptions(),f=this.xua(a);a.getOption(ln)&&f instanceof vR&&f.hNa(a.Fd);if(f!=this.Pc){var g=b.Zi;g&&!this.Pc&&g.LIa(JQ(a,b.L));this.ba&&!f.ba&&f.ha(this.b());this.Wr&&this.Wr.Xea&&(this.Wr.Xea(),this.Wr=null);var h;this.Pc&&this.Pc.b()&&(h=cz(this.Pc.b()));c.Ioa(a);f.setActive(!0,e);g&&!this.Pc&&(g.kH("livr"),HQ(a)||g.US());!b.L.hM&&this.Pc&&f.pY?(this.Wr=f,f.pY(this,this.Pc,h,A(this.t2,this,f,a))):this.t2(f,
a)}}};t.t2=function(a,b){this.Wr=null;var c=this.getContext().ea,e=this.Pc;e&&e.setActive(!1);this.Pc=a;c.Ru(a,b);this.getContext().L.Jq&&a.am();this.ega();this.dispatchEvent(bg);c.Ooa(b);V(this.D,"SetActiveView final history string: "+b.SD())};t.Opa=function(a){var b=this.Pc;if(b){for(var c=[],b=b.ct().Cb(),e=0;e<a.length;e++)Gs(b,a[e])&&c.push(a[e]);return c}return a};t.YO=function(a){a.target instanceof $M&&a.target.Qa&&this.ega()};
t.Fxa=function(a){var b=this.getContext();a.currentTarget instanceof $M&&(a=a.currentTarget.Zs(),(b=b.Zi)&&a&&b.Hj(a,"vup"))};t.ega=function(){this.getContext().bb.lNa()};t.Wra=function(){var a=this.Pc;return a?a.ct():new oC};t.B=function(){wR.g.B.call(this);this.kW.clear();this.az=this.Pc=this.kW=null};var yR=function(a,b){$M.call(this,a,b);var c=a.L,e=c.eQ()?new EQ(a,b):c.nP?new WP(a,b):new wQ(a,b);this.wa(e);this.uh=e;this.hB=new wR(a,b);this.qG=e=c.qG;this.$k=(c=c.xq)?new GP(a,b):null;this.wa(this.$k);this.Wg=c?new JP(a,b):new FQ(a,b);this.wa(this.Wg);this.sa(this.Wg);this.$k?(this.Wg.gg(this.$k),this.Wg.mIa(this.$k),this.$k.gg(this.hB)):this.uh&&!e?(this.Wg.gg(this.uh),this.uh.gg(this.hB)):this.Wg.gg(this.hB);HE(this.v());this.nw=null};C(yR,$M);t=yR.prototype;
t.yra=function(a){switch(a){case Dj:return"picker-chrome-inline";case Yk:return"picker-chrome-none";default:return""}};
t.j=function(){var a=this.getContext().L,b=a.nP,c=this.v(),e=this.nw=c.j(n,"picker-main-overlay",c.j(n,"picker-main-overlay picker-busy"));S(e,!1);c=c.j(n,"picker-main-container "+this.yra(a.Fla),e);a.De()&&U(c,"picker-min-container");qA(c,"picker-navhidden",this.qG);qA(c,"picker-navhorizontal-new",b&&a.lp);qA(c,"picker-ie",G);qA(c,"picker-people-picker",a.eQ());qA(c,"picker-gplus",a.J7());this.Ab(c);c.setAttribute("guidedhelpid","ghid-pmc");a=this.getContext().Pj().Faa(QP);c.appendChild(a);this.Wg?
(this.Wg.j(),c.appendChild(this.Wg.b())):this.qG?(this.hB.j(),c.appendChild(this.hB.b())):(this.uh.j(),c.appendChild(this.uh.b()));this.Zya()};
t.H=function(){yR.g.H.call(this);var a=this.getContext().Zi;a&&(a.kH("lav"),a.Hj("ev","evavc"));a=this.getContext().L;this.getContext().om.jT(a.Ue(),uf);var b=this.v().J(),c=qL().isNative();c||$K(b.body,this.C());this.C().o(b,Xj,A(this.o6,this,!1),!0).o(b,Kk,A(this.o6,this,!0),!0);this.C().o(b,Xj,this.oh,c&&a.De()).o(b,Zj,this.NO).o(this.getContext().ea,"m",this.QBa).o(this.getContext().xf,wq,this.YCa);if(a.De()&&!a.Sw)if(c)if(this.C().o(b,Kk,this.c5,!0),G){var e;try{e=b.activeElement}catch(g){}for(;e&&
e.nodeName==od;){try{var f=mx(e)}catch(g){break}b=f;e=b.activeElement}this.C().o(b,Kk,this.c5,!0);this.C().o(b,Ig,this.a5)}else this.C().o(b,Qf,this.a5);else G||this.C().o(b,Qf,this.tva,!0);a.eQ()?(e=this.getContext().L.Mj()[0][2]||{},e.type=e.type||Jl,this.uh.UKa(e)):this.uh.yA(this.q3());a.Lna&&LN.S().S$("opr")};t.q3=function(){var a=this.uh,b=this.getContext().L.ioa;b?b instanceof sK?a=gP(b.getId(),b.gl(),b.getOptions()):(a=PD(b),a=gP(a[0],a[1],a[2])):a=a.OD();return a};
t.QBa=function(a){a.nla&&this.nw.style.display==Yk?(S(this.nw,!0),(new Az(this.nw,500,function(a){return a/2})).play()):S(this.nw,!1)};t.YCa=function(a){a=a.data.visible;var b=this.getContext();if(b.L.xq&&b.L.De()&&Uq(a)&&!a){if(b.Mb.L$)b.na.ud(80),b.Mb.fda(!1);else{b.na.ud(73);var c=b.ea.Gc;c&&c.getOption(vk)?b.na.ud(75):1==b.e1?b.na.ud(74):1==b.Wda&&b.na.ud(76)}b.MJa(0);b.XHa(0);b.na.K2()}b.L.De()&&a&&(c=(c=b.zMa)||this.q3(),b.ea.Dc(c,!0));(b=b.Zi)&&a&&b.ra(!0)};
t.oh=function(a){if(27==a.keyCode&&!this.Iza()){var b=this.getContext().L.De(),c=qL().isNative();b&&c?this.getContext().L.Jq&&(this.getContext().Mb.vk(),a.preventDefault(),a.stopPropagation()):this.getContext().Mb.vk()}(13==a.keyCode||3==a.keyCode)&&(b=a.target)&&mA(b,"picker-disambiguation-radio-internal-link")&&this.getContext().wca(!1);(b=this.getContext().ea.Gc)&&!b.getOption(vk)&&b.getOption("emak")&&this.Wg instanceof JP&&(a.keyCode==($t?18:17)?(this.getContext().L.xM(!0),this.Wg.rE(),a.preventDefault(),
a.stopPropagation()):this.getContext().L.qj&&13!=a.keyCode&&3!=a.keyCode&&(this.getContext().L.xM(!1),this.Wg.rE()))};t.NO=function(a){var b=this.getContext().ea.Gc;b&&!b.getOption(vk)&&b.getOption("emak")&&this.Wg instanceof JP&&this.getContext().L.qj&&(this.getContext().L.xM(!1),this.Wg.rE(),a.preventDefault(),a.stopPropagation())};t.c5=function(a){if(this.getContext().L.Jq){var b=this.getContext().L.mt()||this.b();hx(b,a.target)||this.getContext().Mb.vk()}};
t.tva=function(){if(this.getContext().L.Jq){if(!this.getContext().K1){var a=this.v().J();if(a.hasFocus&&!a.hasFocus()){this.getContext().wca(!0);return}}Xu(function(){var a=this.v().J();a.hasFocus&&!a.hasFocus()&&this.getContext().Mb.DMa()},0,this)}};t.a5=function(a){if(this.getContext().L.Jq){var b=this.getContext().L.mt()||this.b(),c=Cw(b);if("undefined"!=typeof document.activeElement){if(a=c.activeElement,!a||hx(b,a)||a.tagName==rc)return}else if(a.target!=c)return;this.getContext().Mb.vk()}};
t.o6=function(a){qA(this.ae(),"hideable-focus-shown",!a);qA(this.ae(),"hideable-focus-hidden",a)};t.Zya=function(){var a=Yt?"-webkit":H?"-moz":void 0;a&&NP(this.getContext().Pj().ha(PP,{prefix:a,selector:"picker-progressbar-anim"}),this.v())};t.Iza=function(){var a=this.getContext().ea.Gc;return!!a&&a.Ba(Nl)};var zR=function(a){var b=XE;a=W(a.Mga);var c=RE(String(a),OE,10);a=UE(a,fE)?XE(c,VE(a)):c;return b(a)};zR.qb="picker.ui.templates.bookcontrolrenderer.insertWordBreaksTemplate";var AR=function(){pQ.call(this,"picker-book-control")};C(AR,pQ);Qq(AR);
AR.prototype.j=function(a){var b=a.v(),c=a.J(),e=c.getUrl(),f=c.getName(),g=c.getAttribute("au")||"",h="unknown"==g||""==g,k=b.j(n,"picker-book-control-author");pE(k,zR,{Mga:h?"author unknown":g});h&&U(k,"picker-book-control-field-unknown");var g=c.getAttribute("py")||"",g="unknown"==g||""==g?"":b.j(n,"picker-book-control-year",b.j(n,"picker-book-control-year-text",g)),h=(new zO("{numPages, plural, =0 {}=1 {1 page}other {# pages}}")).format({numPages:c.getAttribute("pc")||0}),m=c.em,c=m?m[0].Rf()||
64:64,p=m?m[0].Be()||64:64,m=m?m[0].ft():null;ir(m,"/")&&(m="http://books.google.com"+m);m=Lr(m,"&edge=curl");m=m.replace("/no_cover_thumb_with_curl.gif","/no_cover_thumb.gif");e=b.j(n,"picker-book-control-thumb",b.j(n,"picker-book-control-thumb-anchor",b.j("a",{href:e,target:Ee,tabIndex:-1},b.j(yj,{src:m,width:c,height:p,"class":"picker-book-control-thumb-img"}))));b=b.j(n,this.ye(a).join(" "),b.j(n,"picker-book-control-inner",b.j(Qo,{cellPadding:0,cellSpacing:0,width:Ob},b.j(To,null,b.j("tr",null,
b.j(Uo,{valign:jp},e),b.j(Uo,{width:Ob,valign:jp},b.j(n,"picker-book-control-metadata",a=b.j(n,"picker-book-control-title"),k,g,b.j(n,"picker-book-control-pages",h))))))));a.id=zA.S().be();pE(a,zR,{Mga:f||""});T(b,bk,a.id);return b};AR.prototype.wc=function(a){return a.b().firstChild};AR.prototype.setState=function(a,b,c){AR.g.setState.call(this,a,b,c);32==b&&(Ew("a",null,a.b())[0].tabIndex=c?0:-1)};var BR=function(){this.Io=void 0};C(BR,LQ);BR.prototype.j=function(a){a=a.v();return a.j(Qo,this.W()+"-content picker-listrenderer-table",a.j(To))};var CR=function(a,b,c){vR.call(this,a,b,new BR,lq,c)};C(CR,vR);CR.prototype.xC=function(a){return new kQ(this.getContext(),a,AR.S(),this.v())};var DR=function(){pQ.call(this,"picker-font-control")};C(DR,pQ);DR.prototype.j=function(a){var b=a.J();a=a.v();var c=a.j("tr","picker-font-control-tablerow"),b=b.zb,b=a.j(Uo,{"class":"picker-font-control-name-cell",style:Rh+b+'::Menu"'},a.j(vo,"picker-spr-added-check"),b);a.append(c,b);return c};var ER=function(){this.jN={};this.Ts=null};Qq(ER);ER.prototype.NX=function(a,b){for(var c=[],e=0;e<a.length&&!(4093<ft(this.jN));e++){var f=a[e],g=f.zb,f=f.getAttribute("affr");null==f||w(this.jN[g])||(c.push(f),this.jN[g]=!0)}if(0<c.length)if(this.Ts)if(this.Ts.styleSheet)for(e=0;e<c.length;e++)this.Ts.styleSheet.insertRule(c[e],this.Ts.styleSheet.cssRules.length);else this.Ts.firstChild.appendData(c.join("\n"));else this.Ts=NP(c.join("\n"),b)};var FR=function(a,b,c){vR.call(this,a,b,new BR,lq,c);this.oqa=new DR};C(FR,vR);FR.prototype.appendData=function(a){ER.S().NX(a,this.v());FR.g.appendData.call(this,a)};FR.prototype.xC=function(a){return new kQ(this.getContext(),a,this.oqa,this.v())};FR.prototype.uE=Pq;var GR=function(a){BA.call(this,a);this.dw=new xE(this.tc,!0);this.Za=new PB;this.t6=0;this.f2=[]};C(GR,BA);t=GR.prototype;t.tc="jfk-bubble";t.RU=!0;t.Mf=!1;t.ao=function(a){this.dw.ao(a);this.oa()};t.setPosition=function(a,b,c,e){D(!this.ba,"Must call setPosition() before rendering");this.dw.setPosition(a,b,c,e)};t.SKa=function(a){D(!this.ba,"Must call setShowClosebox() before rendering");this.RU=a};t.lf=function(a){D(!this.ba,"Must call addClassName() before rendering");this.f2.push(a)};
t.hb=function(a){D(z(a)||a.nodeType||a instanceof WE||a instanceof Zv,"Content must be a string or HTML.");this.hd=a;this.oca(a)};t.oca=function(a){var b=this.U();a&&b&&(z(a)?nx(b,a):a instanceof WE?Aw(b,a.uo()):a instanceof Zv?Aw(b,a):(Aw(b,pw),b.appendChild(a)))};t.Xu=function(a){this.Za.Xu(a)};t.Xz=function(a){this.dw.Xz(a)};t.Zu=function(a){this.Mf=a};t.U=function(){return this.Md(this.tc+"-content-id")};
t.j=function(){this.Ab(sE(oG,{RKa:this.RU,uid:"bubble-"+$q(this)},void 0,this.v()));this.oca(this.hd);S(this.b(),!1);this.Za.cA(this.b());this.jma(this.Za);nA(this.b(),this.f2)};t.jma=function(a){Zt||a.uI(QF(this.b(),.218),RF(this.b(),.218))};
t.H=function(){GR.g.H.call(this);this.C().o(this.Za,[Lf,Sn,Jf,fj],this.Cwa);this.RU&&this.C().rq(this.Md(this.tc+"-closebtn-id"),zH,cr(this.K,!1));var a=this.b();D(a,"getElement() returns null.");var b=this.Md(this.tc+"-arrow-id");D(b,"No arrow element is found!");this.dw.WT(a,b);this.Za.setPosition(this.dw)};t.K=function(a){this.Za.K(a)};t.V=function(){return this.Za.V()};t.sF=function(){return this.Za.sF()};t.oa=function(){this.V()&&this.Za.oa()};
t.B=function(){this.Za.dispose();delete this.Za;GR.g.B.call(this)};t.Bt=function(){var a=Oy(this.b());this.t6&&a.y<this.t6&&this.K(!1);return!1};t.Cwa=function(a){if(a.type==Sn||a.type==fj){var b=this.C(),c=this.v(),c=G?c.getWindow():c.J();a.type==Sn?b.o(c,jn,this.Bt):b.Ja(c,jn,this.Bt)}b=this.dispatchEvent(a.type);this.Mf&&a.type==fj&&this.dispose();return b};var HR=function(a,b,c,e){kP.call(this,a,"picker-actionpane-root","picker-actionpane-frame","picker-actionpane-content",Tf,e);this.Xl=this.vna();this.wa(this.Xl);this.Mba=b;this.vj=this.Ama();this.wa(this.vj);this.ZB=new BA;this.Wv(this.ZB);this.Bk=null;this.tZ=c;this.D=QC("picker.ui.ActionPane");this.kga=this.lga=this.bW=this.Er=this.sg=this.DR=this.kz=this.dj=null;this.Cd=new aQ(a,e);this.wa(this.Cd);a.L.hja&&a.df.Ra(A(function(a){w(a.EX)&&this.cJa(a.EX,a.fja)},this));this.C().o(this.getContext().Yx(),
"t",this.update)};C(HR,kP);var IR=0;t=HR.prototype;t.vna=function(){return this.A_(this.getContext().L.Gp(),!0)};t.Ama=function(){return this.A_(Ac)};t.A_=function(a,b){var c;if(b){c=this.getContext().L.Gp();var e=this.v();c=new HF(c,e,2)}else c=new HF(a,this.v());return c};t.xL=function(a,b,c){var e=this.v();c=e.j(n,{"class":c+" picker-actionpane-imagebutton-icon"},"\u00a0");a=e.j(n,"picker-actionpane-imagebutton-text",a);e=new HF([c,a],e);e.setValue(b);return e};
t.Gb=function(a){var b=this.v();b.iq(b=b.j(vo),this.vj.b());a.ha(b)};
t.cJa=function(a,b,c){var e=this.v();this.dj?(e.wh(this.kz),e.appendChild(this.kz,e.ij(py(a)))):(this.kz=e.j(Uo,"picker-actionpane-notice-td",e.ij(py(a))),this.dj=e.j(Qo,c?c:"picker-actionpane-notice",e.j(To,null,e.j("tr",null,this.kz))),this.gb&&(e.rl(this.dj,this.gb.lastChild),this.yH()));a=this.kz.getElementsByTagName("a");if(a.length&&b){b=bw(b);if(!this.DR){var f=this.DR=new GR(e);f.hb(b);f.ao(a[0]);f.SKa(!1);f.setPosition(2,0);f.ha(this.getContext().L.mt());U(f.b(),"picker-actionpane-notice-popup");
this.C().o(a[0],Kk,function(a){f.K(!0);a.stopPropagation();a.preventDefault()})}this.DR.hb(b)}};t.yH=function(){Xu(function(){if(this.dj){var a=$y(this.gb).width,b=this.JD(Vl);E(b,function(b){var c=gz(b);c&&(a-=c.right?c.right:0,a-=c.left?c.left:0);(b=$y(b))&&b.width&&(a-=b.width)});0<a&&R(this.dj,"max-width",a+q)}if(this.sg){this.v();var b=Sy(this.gb).height,c=cz(this.sg).height;b>c?R(this.sg,"margin-top",(b-c)/2+q):R(this.sg,"margin-top","0px")}},0,this)};
t.j=function(){HR.g.j.call(this);var a=this.v(),b=this.gb,c=this.ZB;c.j();b.appendChild(a.j(n,Vl,c.b()));c=this.ZB.b();this.Xl.ha(c);this.Xl.b().id=Am+IR++;this.Xl.b().setAttribute("guidedhelpid","ghid-psc");this.vj&&(this.vj.ha(c),this.vj.b().id=Am+IR++,S(this.vj.b(),!this.UWa));this.Bk&&(this.Bk.j(),b.appendChild(this.Bk.b()));this.Er&&(c=a.j(n,"picker-actionpane-upload-button-float-item"),b.appendChild(c),this.Er.ha(c),this.Er.b().id=Am+IR++,U(this.Er.b(),"picker-actionpane-upload-button"));this.Cd.getUrl()&&
(this.Cd.j(),this.Wv(this.Cd),b.appendChild(this.Cd.b()));(c=this.getContext().L.gja)&&b.appendChild(a.j(n,"picker-actionpane-actionpanetext",a.createTextNode(c)));this.sg=a.j(n,Wl);S(this.sg,!1);aA(this.sg,Fo);T(this.sg,pk,Cm);b.appendChild(this.sg);this.dj&&(b.appendChild(this.dj),this.yH());this.update();this.Ub(G?72:69)};t.setActive=function(a,b){HR.g.setActive.call(this,a,b);this.Bk&&this.Bk.setActive(a,b)};
t.H=function(){HR.g.H.call(this);var a=this.C();a.o(this.Xl,Le,this.Zwa);this.vj&&a.o(this.vj,Le,this.Yua);a.o(this.v().getWindow(),$m,this.yH)};t.focus=function(){try{return this.MH||!this.vj?this.Xl.b().focus():this.vj.b().focus(),!0}catch(a){return SC(this.D,Fc),!1}};t.Zwa=function(){this.Mba?this.Mba():this.getContext().Mb.KV()};t.Yua=function(){this.tZ?this.tZ():this.getContext().Mb.vk()};t.ni=function(a){this.MH=a;this.ba&&this.update()};
t.update=function(){var a=this.getContext(),b=a.Yx().yF();this.f6=this.f6||b;this.Xl.ra(this.MH&&(!b||a.L.PGa));this.MH?this.Xl.lf(mm):this.Xl.LS(mm);this.Er&&(a=this.f6&&!b,S(this.Er.b(),a),this.Er.b().style.visibility=a?"":ej);this.dj&&S(this.dj,!b);this.qNa()};t.Gv=function(a){this.ni(a);this.Bk&&this.Bk.Gv()};
t.qNa=function(){var a=this.v(),b=this.getContext().Yx(),c=b.yF(),e=this.bW;if(!c||this.VWa)e&&(S(e,!1),e.style.visibility=ej);else{var c=this.lga,f=this.kga;if(!e){var g;this.gb.appendChild(e=this.bW=a.j(n,"picker-actionpane-upload-status",c=this.lga=a.j(n,"picker-actionpane-upload-status-text"),g=a.j(n,vi)));f=this.kga=new oQ("picker-progress-bar",a);f.iI(0);f.gI(100);f.setValue(0);f.la(g);S(e,!1);g=Sy(this.ZB.b()).width;R(this.bW,qL().Uf()?an:jk,g+30+q)}g=b.wG;var h=b.aE();g="Uploading "+((g<h?
g+1:g)+(" of "+h));a.wh(c);a.append(D(c),g+"\u00a0\u00a0\u00a0");f.setValue(100*b.Dta());S(e,!0);e.style.visibility=""}};t.gea=function(a,b,c){if(a&&b)switch(this.v().Je(this.sg,b),pA(this.sg,[Wl,Xl]),c){case 1:U(this.sg,Xl);break;default:U(this.sg,Wl)}S(this.sg,a);this.bLa(!a);a&&this.yH()};t.bLa=function(a){this.dj&&S(this.dj,a);this.Bk&&this.Bk.aXa(a);this.Cd.b()&&S(this.Cd.b(),a)};var JR=function(a,b,c){zB.call(this,a,b,c);this.kA(!0)};C(JR,zB);JR.prototype.Ze=function(){return this.dispatchEvent(Le)};hB(Fi,function(){return new JR(null)});var KR=function(a,b,c,e){kP.call(this,a,"picker-fontbar-root","picker-fontbar-frame","picker-fontbar-content",jp,e);this.xh=new mR(a,b,e);this.R=b;this.Yy=c;this.kD=this.R.ta()||"a";this.EI=this.R.getOption(so)||"p";this.tv=this.Ps=null};C(KR,kP);var LR={a:"All fonts",d:"Display",h:"Handwriting",m:"Monospace",s:"Serif",ss:"Sans Serif"},MR={p:"Popularity",a:"Alphabetical",da:"Date added",t:"Trending"};t=KR.prototype;
t.j=function(){KR.g.j.call(this);this.Ub(75);var a=this.v();this.xh.KHa(!1);this.xh.j();var b=a.j(n,vi);this.Ps=new iC("",void 0,ZF.S());this.XX(this.Ps,LR);this.Ps.ha(b);var c=a.j(n,vi);this.tv=new iC("",void 0,ZF.S());this.XX(this.tv,MR);this.tv.ha(c);this.gb.appendChild(a.j(n,"picker-fontbar-container",this.xh.b(),a.j(n,"picker-fontbar-menu-container",b,c)));this.C().o(this.Ps,Le,this.Kva).o(this.tv,Le,this.kxa);this.WS()};t.XX=function(a,b){for(var c in b)a.T(new JR(b[c],c,this.v()))};
t.Kva=function(a){var b=new PO(Sh);b.li(this.R.Fd||this.R);b.nb(Ip,a.target.getValue());b.nb(so,this.EI);this.getContext().ea.Dc(b);this.WS();this.kD=a.target.getValue()};t.kxa=function(a){var b=new PO(Sh);b.li(this.R.Fd||this.R);b.nb(Ip,this.kD);b.nb(so,a.target.getValue());this.getContext().ea.Dc(b);this.WS();this.EI=a.target.getValue()};t.WS=function(){var a="Show: "+LR[this.kD];this.Ps.setValue(this.kD);this.Ps.er(a);a="Sort: "+MR[this.EI];this.tv.setValue(this.EI);this.tv.er(a)};
t.H=function(){KR.g.H.call(this);this.xh.H()};var NR=function(a,b,c,e){hQ.call(this,a,b,c,e)};C(NR,hQ);NR.prototype.H=function(){NR.g.H.call(this);var a=this.O.j3(this);this.C().o(a,Nk,A(this.V4,this,!0)).o(a,Mk,A(this.V4,this,!1))};NR.prototype.V4=function(a,b){Uy(b.target,a?.8:.5)};var OR=function(){};C(OR,lB);Qq(OR);OR.prototype.j=function(a){var b=a.v(),c=a.J().zb;a=zA.S().be();b=b.j(n,{"class":"picker-font-chip goog-inline-block",name:c},b.j(vo,{"class":"picker-font-chip-name",style:Rh+c+'::Menu"',id:a},c),b.j(vo,{"class":"picker-font-chip-x",role:Vf,"aria-label":Od,tabIndex:0},b.j(vo,"picker-spr-close-box-tiny-black goog-inline-block")));T(b,bk,a);b.style.paddingRight=G?b.style.paddingLeft="7px":b.style.paddingLeft="15px";return b};OR.prototype.j3=function(a){return a.b().children[1]};var PR=function(a,b,c){kP.call(this,a,"picker-fontbin-root","picker-fontbin-frame","picker-fontbin-content",an,c);this.sw=new Q;this.C().o(a.bb,"r",this.Mva);this.rw=null};C(PR,kP);t=PR.prototype;t.j=function(){PR.g.j.call(this);this.Ub(200);var a=this.v();this.rw=a.j(n,"picker-fontbin-chip-holder");a=a.j(n,"picker-fontbin-to",a.j(n,"picker-fontbin-header","My fonts"));this.gb.appendChild(a).appendChild(this.rw)};t.Mva=function(a){E(a.Eg,A(this.Pfa,this))};
t.V0=function(a){this.getContext().bb.oI([a.J().getId()],!1)};t.iy=function(a,b){if(13==b.keyCode||32==b.keyCode)this.V0(a),b.stopPropagation(),b.preventDefault();return!0};
t.Pfa=function(a){if(this.getContext().bb.ge(a)&&!this.sw.Ic(a)){var b=this.getContext().na.J(a);if(b){var c=new NR(this.getContext(),b,OR.S(),this.v());this.sw.set(a,c);a=this.v().JD("picker-font-chip",this.rw);for(var e=!0,f=0;f<a.length;f++)if(a[f].name>b.zb){c.Haa(a[f]);e=!1;break}e&&c.ha(this.rw);b=c.O.j3(c);this.C().o(b,ng,A(this.V0,this,c)).o(b,Yj,A(this.iy,this,c))}}else!this.getContext().bb.ge(a)&&this.sw.Ic(a)&&(c=this.sw.get(a),this.rw.removeChild(c.b()),c.B(),this.sw.remove(a))};var QR=function(a,b,c,e){$M.call(this,a,e);this.R=b;this.Yy=c;var f=new KR(a,b,c,e);f.gg(c);this.mqa=f;b=new PR(a,b,e);b.gg(f);this.nqa=b;a=new HR(a,A(this.oxa,this),void 0,e);a.gg(b);this.sa(a);this.sc=a};C(QR,$M);t=QR.prototype;t.H=function(){QR.g.H.call(this);this.C().o(this.getContext().bb,"r",this.ut).wl(this.Yy,bg,this.ut,!1,this).o(this.getContext().xf,"select-fonts",this.$wa).o(this.getContext().Mb,Zm,A(this.Vn,this,0));this.Yy.K8(this.mqa.xh)};t.lQ=function(){return!!this.getContext().bb.Qf(!0)};
t.oxa=function(){for(var a=this.getContext(),b=a.na,c=a.bb.Qf(!0),e=[],f=0;f<c.length;f++){var g=b.J(c[f]);"font"==g.ta()&&e.push(g)}a.Mb.zr(e);this.sc.ni(!1)};t.setActive=function(a,b){QR.g.setActive.call(this,a,b);a&&this.GZ();this.Yy.setActive(a)};t.ut=function(){this.Qa&&this.GZ()};t.j=function(){var a=this.sc;a.ni(!1);a.j();this.Ab(a.b());U(this.b(),"picker-fontsview")};
t.GZ=function(){for(var a=this.getContext().na,b=this.getContext().bb,c=this.nqa,b=b.Qf(!0),e=!1,f=0;f<b.length;f++)"font"==a.J(b[f]).ta()&&(e=!0,c.Pfa(b[f]));this.sc.ni(e)};t.$wa=function(a){if(this.Qa&&(a=a.data.fonts)&&a.length){var b=ys(a,function(a){return a.fontName});this.getContext().na.Gd(new wN(Sh,b,{}),A(this.Pwa,this,a),A(this.Qwa,this),!0)}};
t.Pwa=function(a,b){if(G){var c=this.getContext().L.b();c.style.display=Yk;c.style.display=Nf}for(var c=this.getContext().bb,e=new oC(ys(a,function(a){return a.fontName})),f=b.Kc(),g=0;g<f.length;g++)e.contains(f[g].zb)&&c.qda(f[g].getId(),!0,"cb",!0);ER.S().NX(f,this.v())};t.Qwa=function(){alert("Sorry!  We could not find the fonts you previously selected.")};t.Vn=function(){if(this.Qa){var a=this.R.Fd;a&&this.getContext().ea.Dc(a)}};t.ii=function(a){this.Yy.ii(a)};var RR=function(a,b,c){$M.call(this,a,c);this.R=b;this.sc=new HR(a,A(this.Vba,this),void 0,c);this.sa(this.sc)};C(RR,$M);RR.prototype.j=function(){var a=this.v(),b,c=a.j(n,"picker-content",b=a.j(n,"picker-iconview-container")),e=null;"homepage"==this.R.ta()&&b.appendChild(e=a.j(yj,{"class":"picker-iconview-img",src:"//ssl.gstatic.com/docs/picker/images/google-homepage-v1.gif",width:"374",height:"244"}));a=this.sc;a.ni(!0);a.j();a.U().appendChild(c);this.Ab(a.b());this.C().o(e,Hg,A(this.Vba,this))};
RR.prototype.Vba=function(){this.getContext().Mb.zr([])};var SR=function(a,b,c,e){vR.call(this,a,b,void 0,void 0,e);this.yM(!1);this.message=c};C(SR,vR);SR.prototype.j=function(){SR.g.j.call(this);this.p1(this.message)};SR.prototype.H=function(){SR.g.H.call(this);U(this.b(),"picker-messagelist")};SR.prototype.ii=function(){};var TR=function(a,b,c){$M.call(this,a,c);this.R=b};C(TR,$M);TR.prototype.j=function(){TR.g.j.call(this);this.R.getQuery()};TR.prototype.H=function(){TR.g.H.call(this);this.R.getQuery()};var UR=function(a){VM.call(this,a);this.dk&&(this.oma=a.response.contentUrl||"")};C(UR,VM);UR.prototype.vc=function(){return 23};XM.set(23,function(a){return new UR(a)});var VR=function(a,b){AM.call(this);this.ib=a;this.c1=b};C(VR,AM);VR.prototype.gh=ms(new oD("getcu"));VR.prototype.vc=function(){return 23};VR.prototype.Of=function(){var a=new Q;DM(a,dq,this.ib);DM(a,"h",this.c1.height);DM(a,"w",this.c1.width);return a};var WR=function(a){M.call(this);this.Dy={};this.Cy={};this.Ua=new rA(this);this.Z=a};C(WR,M);var XR=[G&&!I("11")?Tm:qk,Ie,sh];t=WR.prototype;t.Eja=function(a,b,c){(b=z(b)?b:b.src)&&(this.Dy[a]={src:b,x_:w(c)?c:null})};t.jFa=function(a){delete this.Dy[a];var b=this.Cy[a];b&&(delete this.Cy[a],this.Ua.Ja(b,XR,this.h$),lt(this.Cy)&&lt(this.Dy)&&this.dispatchEvent(vg))};t.start=function(){var a=this.Dy;E(ht(a),function(b){var c=a[b];c&&(delete a[b],this.PF(c,b))},this)};
t.PF=function(a,b){if(!this.isDisposed()){var c;c=this.Z?N(this.Z).j(pd):new Image;a.x_&&(c.crossOrigin=a.x_);this.Ua.o(c,XR,this.h$);this.Cy[b]=c;c.id=b;c.src=a.src}};t.h$=function(a){var b=a.currentTarget;if(b){if(a.type==Tm)if(b.readyState==vg)a.type=qk;else return;"undefined"==typeof b.naturalWidth&&(a.type==qk?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.isDisposed()||this.jFa(b.id)}};
t.B=function(){delete this.Dy;delete this.Cy;Rt(this.Ua);WR.g.B.call(this)};var YR=function(a,b){F.call(this);this.fT=this.Sf=0;this.sh=a;this.Ua=b;this.ve=new lz(A(this.tu,this),0,this)};C(YR,F);t=YR.prototype;t.B=function(){this.ve.dispose();delete this.sh;delete this.Ua;YR.g.B.call(this)};t.start=function(a,b){this.stop();var c=b||0;this.Sf=Math.max(a||0,0);this.fT=0>c?-1:B()+c;this.ve.start(0>c?this.Sf:Math.min(this.Sf,c))};t.stop=function(){this.ve.stop()};t.Bc=function(){return this.ve.Bc()};
t.tu=function(){if(!this.sh.call(this.Ua))if(0>this.fT)this.ve.start(this.Sf);else{var a=this.fT-B();0>=a||this.ve.start(Math.min(this.Sf,a))}};var ZR=function(a,b){return 4==a.readyState?(at(a,function(b){try{Wq(a[b])&&(a[b]=null)}catch(e){}}),b.removeNode(a),!0):!1};var $R=function(a,b,c,e,f){BA.call(this,f);this.UNa=a;this.cb=b;this.VR=c;this.hCa=e};C($R,BA);$R.prototype.j=function(){var a=this.v(),b=Qr(),a=a.j(tj,{id:b,name:b,"class":"picker-iframe-player",src:this.UNa,width:this.cb.width,height:this.cb.height,onload:this.VR?this.VR:Pq,onerror:this.VR?this.hCa:Pq,frameBorder:"0"});this.Ab(a)};QC("apps.photos.imagurl.ImageUrlOptionsBuilderBase");var aS=/^((http(s)?):)?\/\/((((lh[3-6](-tt|-d[a-g,z])?\.((ggpht)|(googleusercontent)|(google)))|(([1-4]\.bp\.blogspot)|(bp[0-3]\.blogger))|((((cp|ci|gp)[3-6])|(ap[1-2]))\.(ggpht|googleusercontent))|(gm[1-4]\.ggpht)|(((yt[3-4])|(sp[1-3]))\.(ggpht|googleusercontent)))\.com)|(dp[3-6]\.googleusercontent\.cn)|(lh[3-6]\.(googleadsserving\.cn|xn--9kr7l\.com))|(photos\-image\-(dev|qa)(-auth)?\.corp\.google\.com)|((dev|dev2|dev3|qa|qa2|qa3|qa-red|qa-blue|canary)[-.]lighthouse\.sandbox\.google\.com\/image)|(image\-dev\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\//i,
bS=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,cS=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,dS=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,eS=function(a){return aS.test(a)||bS.test(a)||cS.test(a)||dS.test(a)};var fS=window.location.protocol==nj,gS=function(a){return hD(1,a)!=mj&&fS?!0:eS(a)||jr(gD(hD(3,a),!0),".gstatic.com")||ir(a,"https://googledrive.com/thumb/")?!1:!0},hS=function(a,b,c,e,f){eS(a)&&(a=fS?a.replace(/^http:/i,nj):a);gS(a)?c.na.Gd(new VR(a,b),function(a){e(a.oma)},f):e(a)};var iS=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Paste a URL here:}male{Paste a URL here:}other{Paste a URL here:}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};iS.qb="picker.ui.templates.urlview.anyUrl";var jS=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Paste an image URL here:}male{Paste an image URL here:}other{Paste an image URL here:}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};jS.qb="picker.ui.templates.urlview.imageUrl";
var kS=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Paste a video URL here:}male{Paste a video URL here:}other{Paste a video URL here:}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};kS.qb="picker.ui.templates.urlview.videoUrl";var lS=function(a,b,c){a=(new zO("{VIEWER_GENDER,select,female{Paste YouTube URL here:}male{Paste YouTube URL here:}other{Paste YouTube URL here:}}")).Ph({VIEWER_GENDER:c.nj});return eF(""+a)};lS.qb="picker.ui.templates.urlview.youTubeUrl";var mS=function(a,b,c){$M.call(this,a,c);this.Fw=GQ(b,a.L);this.zh("vc");this.R=b;this.sc=new HR(a,A(this.Sz,this),void 0,c);this.sa(this.sc);this.mb=b.ta()||vj;this.ur=b.getOption(Vn);this.bB=new CD;this.sa(this.bB)};C(mS,$M);var nS=new uw(800,600),oS=new uw(640,480);t=mS.prototype;t.D=QC("picker.ui.UrlView");t.YL=null;t.gQ=!1;t.hQ=!1;t.iF=!1;t.Ey=null;
t.j=function(){var a=this.v(),b;b=zA.S();var c=b.be(),e=b.be(),c=this.uc=a.j(n,"picker-content picker-urlview",b=a.j(ak,{"class":"picker-urlview-header","for":c}),this.nd=a.j(Ej,{"class":"picker-urlview-input",id:c}),this.Wi=a.j(n,{"class":um,style:"visibility: hidden"}),this.vS=a.j(Qo,"picker-urlview-preview",a.j(To,null,a.j("tr",null,this.Cu=a.j(Uo,{"class":"picker-urlview-preview-td",id:e},this.YL=this.Qra())))));T(this.nd,"controls",e);aA(this.Cu,Fo);T(this.Cu,pk,Cm);e=this.getContext().Pj();
switch(this.mb){case vj:a.Je(b,e.Un(jS));break;case mq:this.ur==Mq||this.ur==Iq||this.ur==Jq?a.Je(b,e.Un(lS)):a.Je(b,e.Un(kS));break;default:a.Je(b,e.Un(iS))}a=this.sc;a.j();a.U().appendChild(c);this.Ab(a.b());this.bB.la(this.nd)};
t.H=function(){mS.g.H.call(this);this.hu();var a=this.nd;this.od=new BD(a);this.Ey=new WR(this.uc);a=this.C().o(this.od,Ej,this.HE).o(a,Yj,this.iy).o(this.Ey,qk,this.Sva).o(this.getContext().Mb,Zm,this.Vn).o(this.v().getWindow(),$m,this.hu);this.mb==vj?a.o(this.Ey,sh,this.n5):a.o(this.Ey,sh,this.Fwa);this.Hj("vc");this.dispatchEvent("i")};t.am=function(){Xu(function(){try{this.nd.focus()}catch(a){SC(this.D,Fc)}this.nd.select()},0,this);return!0};
t.hu=function(){var a=this.vN();if(0>=a.width||0>=a.height)Xu(A(this.hu,this),100);else{Ry(this.vS,a);var a=a.width,b=this.nd,c=this.fya;if(!c)var c=function(){var a=gz(b);return a.left+a.right},e=fx(b),f=this.Wi,c=this.fya=c(b)+e.offsetWidth+c(e)+f.offsetWidth+c(f);b.style.width=a-c+q}};t.iy=function(a){13==a.keyCode&&this.sc.MH&&this.Sz()};
t.HE=function(){this.gQ=!1;var a=pr(this.nd.value),b=!!a,c=b?this.JL(a):void 0;this.sc.ni(!1);qA(this.nd,"picker-urlview-selected",b);this.Wi.style.visibility=ej;var e=this.mb,f=this.ur;c?(b=MO.S(),this.no("Loading preview..."),e==Se||e==mq?f&&b.tQ(c,f)||b.$za(c)?this.Dxa(a):e==Se?this.o5(a):this.XO():this.o5(a)):b?this.no("The URL is not valid.  Make sure it starts with http:// or https://.",!0):this.YL?this.no(this.YL):this.no("If your URL is correct, you'll see a preview here.  Large images may take a few minutes to appear.");
e==Se&&c&&this.sc.ni(!0)};t.JL=function(a){var b;try{b=xD(a)}catch(c){return}a=(b.$f||"").toLowerCase();return a!=kj&&a!=mj||!b.Zd?void 0:b};t.o5=function(a){var b=this.Wi;b.className=um;b.style.visibility="";this.zh("vdl");(b=(a=this.JL(a))&&QQ(a))?(this.iF=!0,this.getContext().na.Gd(new wN(Wg,[b],{}),A(this.xva,this),A(this.g5,this))):(this.iF=!1,hS(a.toString(),nS,this.getContext(),A(this.PF,this),A(this.n5,this)))};t.PF=function(a){var b=this.Ey;b.Eja(this.wS=zA.S().be(),a);b.start()};
t.Dxa=function(a){a=xD(a);if(a=MO.S().$N(a)){var b=this.vN();oS.bN(b)||oS.HH(b);a=new $R(a,oS,A(this.Cxa,this),A(this.XO,this),this.v());b=this.Cu;Ww(b);a.ha(b)}else this.XO()};t.Cxa=function(){this.hQ=!0;this.sc.ni(!0)};
t.Qra=function(){if(this.mb!=vj&&this.mb!=mq)return null;var a="If your URL is correct, you'll see an image preview here.  Large images may take a few minutes to appear.",b="Remember: Using others' images on the web without their permission may be bad manners, or worse, copyright infringement.";this.mb==mq&&(a="If your URL is correct, you'll see a video preview here.  Large videos may take a few minutes to appear.",b="Remember: Using others' videos on the web without their permission may be bad manners, or worse, copyright infringement.");
var c=this.v(),a=c.j(n,"picker-urlview-preview-content",a),b=c.j(n,null,b);return c.j(n,null,a,b)};t.no=function(a,b){qA(this.vS,"picker-urlview-error",!!b);qA(this.Cu,"picker-urlview-error-td",!!b);this.Naa(z(a)?this.v().createTextNode(a):a)};t.vN=function(){var a=this.uc,b=bz(a);return new uw(a.offsetWidth-b.left-b.right,a.parentNode.offsetHeight-this.vS.offsetTop-b.top-b.bottom)};
t.Sva=function(a){a=a.target;if(a.id==this.wS){this.Hj("vdl");this.Wi.className="picker-urlview-success-icon goog-inline-block";this.sc.ni(!0);if(a.naturalWidth&&a.naturalHeight){var b=this.vN(),c=new uw(a.naturalWidth,a.naturalHeight);c.bN(b)||Ry(a,c.HH(b))}this.Naa(a);this.gQ=!0}};t.Naa=function(a){if(this.hQ&&this.wS){var b=this.v(),c=b.b(this.wS);G&&au?(S(c,!1),(new YR(A(ZR,void 0,c,b))).start(50,1E4)):b.removeNode(c);this.hQ=!1}b=this.Cu;Ww(b);b.appendChild(a)};
t.n5=function(){this.Wi.className=tm;var a=this.v();this.no(a.j(n,{style:"text-align: left;"},"We can't find the image at that URL.",a.j("ul",null,a.j("li",null,"Please check the address for typing errors."),a.j("li",null,"Make sure the image is public. If your image is protected by a password, or on an internal network, we will not be able to read it."))),!0)};t.XO=function(){this.no("The video URL you entered above can't be loaded.  Please make sure it is correct and is from a supported site.")};
t.Fwa=function(){this.Wi.className=tm;this.no("Preview unavailable.")};t.Sz=function(){var a=this.getContext(),b=a.na,c=pr(this.nd.value);if(a.L.gaa)this.sc.ni(!1),b.Gd(new yN("importPhoto",Rl,[],{url:c,label:"profile_photos.draft"}),A(this.Uva,this),A(this.Tva,this),!0);else if(this.gQ)this.VGa(c);else{var e=MO.S().M4(c);e?b.Gd(new wN(Kq,[e],{}),A(this.Kxa,this),A(this.X5,this)):a.Mb.yfa(c)}};
t.VGa=function(a){var b={};b.url=a;b.name=xD(a).getPath().split("/").pop();b.type=Kl;b.serviceId=dq;b=new PM(b);if(this.iF){var c=this.JL(a);(c=c&&QQ(c))&&b.CIa(c)}(c=this.Cu.getElementsByTagName(yj)[0])&&b.EU([new FM(this.iF?c.src:a,c.naturalWidth,c.naturalHeight)]);this.getContext().Mb.zr([b])};t.Kxa=function(a){(a=a.Kc())&&0<a.length?this.getContext().Mb.zr(a):this.X5()};t.X5=function(){alert("The video you selected no longer exists.  The owner may have removed it.");this.Vn()};
t.Uva=function(a){a=a.Kc()[0];var b=new PO(Cg);b.nb(rj,a.zb);b.nb(zn,a.ne);b.li(this.R);this.getContext().ea.Dc(b);this.sc.ni(!0)};t.Tva=function(){alert("The image URL you specified could not be retrieved.  It may be a private URL that our servers cannot access.  Please try a different URL.");this.sc.ni(!0)};t.Vn=function(){this.nd.value="";this.HE()};t.xva=function(a){if((a=a.Kc())&&0<a.length&&a[0].ta()==Kl&&(a=a[0].em)&&0<a.length){this.PF(a[0].gE(400).getUrl());return}this.g5()};
t.g5=function(){this.Wi.className=tm;this.no("The image URL you have entered above is incorrect or can't be loaded.")};t.Zs=function(){return this.Fw};var pS=function(a,b,c){kP.call(this,a,"picker-attributionbar-root","picker-attributionbar-frame","picker-attributionbar-content",Tf,c);this.Kr=b};C(pS,kP);t=pS.prototype;t.j=function(){pS.g.j.call(this);var a=this.v(),b=this.gb,c=zA.S().be();b.appendChild(a.j(n,void 0,this.hMa=a.j(n,{"class":Yl,id:c},a.createTextNode("The image you highlighted was found by Google Image Search on this page:")),a.j(n,Yl,this.nY=a.j("a",{href:"#",target:Ee}))));T(this.nY,bk,c);this.Ub(0)};
t.H=function(){pS.g.H.call(this);this.C().o(this.getContext().bb,"r",this.dxa)};t.zo=function(){this.v();var a=this.getContext().bb.Qf(),a=a&&a.length?this.getContext().na.J(a[0]):null;this.Kr.getToken().getOption(Ip)==hi&&(a=null);if(a){var b=this.nY,c=a.getUrl();Cr(c);b.href=c;nx(b,c);jA(this.hMa,"The image you highlighted was found by Google Image Search on this page: "+c)}S(this.gb,!!a);this.Ub(a?29:0)};t.setActive=function(a,b){pS.g.setActive.call(this,a,b);a&&this.zo()};
t.dxa=function(){this.Kr.Qa&&this.zo()};var qS=function(a,b){kP.call(this,a,"picker-bloggerinstructions-root","picker-bloggerinstructions-frame","picker-bloggerinstructions-content",jp,b)};C(qS,kP);
qS.prototype.j=function(){qS.g.j.call(this);var a=new gQ,b="These images are also available to view and share in "+(a.vr("a",{href:"https://picasaweb.google.com/home?hl="+qL().Al,target:Ee})+("Picasa Web Albums"+(a.np("a")+", Google's free photo hosting service."))),c=this.v(),a=c.j(n,"picker-bloggerinstructions-text",c.ij(a.format(b)));this.gb.appendChild(a);this.Ub(42)};var rS=function(a,b,c,e){kP.call(this,a,"picker-breadcrumbs-root","picker-breadcrumbs-frame","picker-breadcrumbs-content",jp,e);this.R=b;this.JZ=c};C(rS,kP);t=rS.prototype;
t.j=function(){rS.g.j.call(this);for(var a=this.v(),b,c=a.j(Qo,{"class":"picker-breadcrumbs-table",cellSpacing:"0",cellPadding:"0"},a.j(To,null,b=a.j("tr"))),e=this.Zsa(),f=e.pop(),g=0;g<e.length;g++){var h=e[g];this.rFa(b,h[0],h[1],0==g,g==e.length-1)}a=a.j(Uo,{"class":"picker-breadcrumbs-child"},f[0]);jA(a,this.ura(f[0]));xx(a,!0);b.appendChild(a);this.gb.appendChild(c);this.Ub(40)};
t.rFa=function(a,b,c,e,f){var g=this.v();e=g.j(Uo,"picker-breadcrumbs-parent"+(e?" picker-breadcrumbs-first-parent":"")+(c?" picker-breadcrumbs-clickable":""),b);e.rBa=c;f&&(this.s8=e);xx(e,!!c);jA(e,this.tta(b));aA(e,mk);a.appendChild(e);a.appendChild(g.j(Uo,"picker-breadcrumbs-triangle"+(f?" picker-breadcrumbs-last-triangle":""),g.j(n,"picker-breadcrumbs-triangle1 goog-inline-block"),g.j(n,"picker-breadcrumbs-triangle2 goog-inline-block")))};
t.Zsa=function(){for(var a=[],b=this.getContext().na,c=this.R.Fd;c;){var e=c.getName(),f=c.getOption(Gl);f&&(f=b.J(f))&&(e=f.getName());a.unshift([e,c]);c=c.Fd}a.push([this.JZ.getName(),null]);return a};t.H=function(){rS.g.H.call(this);this.C().o(this.gb,Xj,this.Vua).o(this.gb,ng,this.R4)};t.focus=function(){return this.s8?(this.s8.focus(),!0):!1};t.R4=function(a){(a=a.target.rBa)&&this.getContext().ea.Dc(a)};t.Vua=function(a){if(32==a.keyCode||13==a.keyCode)this.R4(a),a.preventDefault(),a.stopPropagation()};
t.B=function(){rS.g.B.call(this);delete this.R;delete this.JZ};t.tta=function(a){return"Switch to folder "+a};t.ura=function(a){return"Selected folder "+a};var sS=function(a,b,c){kP.call(this,a,"picker-butterbar-root","picker-butterbar-frame","picker-butterbar-content",jp,c);this.mG=b};C(sS,kP);sS.prototype.j=function(){sS.g.j.call(this);var a=this.gb,b=this.v();a.appendChild(b.j(n,"picker-butterbar",this.mG));this.Ub(20)};var tS=function(a,b,c,e){HR.call(this,a,b,c,e);this.El=null};C(tS,HR);t=tS.prototype;t.j=function(){tS.g.j.call(this);var a=this.v(),b=this.El=a.j(n,"goog-inline-block picker-actionpane-evph-message");Uy(this.El,0);a.rl(b,this.gb.lastChild);a=new EN({service:"party",type:wf,options:{evid:this.getContext().L.X1,maxSize:22}});b=this.getContext().na.ze(a);b.Ye()&&b.ce()?this.P8(b.Kc(),!1):this.getContext().na.Gd(a,A(function(a){this.P8(a.Kc(),!0)},this),Pq,!0)};
t.bna=function(a,b){var c;c=a==Om?"Photos will be visible to anyone (public on the web).":"wide"==a?"Photos will be shared with a wide audience.":(new zO("{audienceCount, plural, =0 {Photos will be shared with all event guests} =1 {Photos will be shared with {startTag}one person{endTag}.}other {Photos will be shared with {startTag}{audienceCount} people{endTag}.}}")).format({audienceCount:b,startTag:'<span class="picker-evph-plain-link">',endTag:Sb});return this.v().ij(py(c))};
t.P8=function(a,b){var c=a[0];this.El.appendChild(this.bna(c.getAttribute(wq),c.kt()));b?(new Az(this.El,218)).play():Uy(this.El,1);var e=this.v().Md("picker-evph-plain-link",this.El);if(e){var f=new GR(this.v());this.wa(f);f.setPosition(2);f.Xz(!0);f.ha(this.getContext().L.mt());f.hb(this.Gna(a.slice(1),c.kt()));U(f.b(),"picker-evph-people-jfk-bubble");f.ao(e);this.C().rq(e,zH,A(f.K,f,!0))}};
t.Gna=function(a,b){for(var c=this.v(),e=Math.min(a.length,22),f=b-e,g=f?(new zO("{moreCount, plural, =0 {unused plural form}=1 {+ 1 more}other {+ {moreCount} more}}")).format({moreCount:f}):void 0,g=c.j(n,"picker-actionpane-evph-people",c.j(n,"picker-actionpane-evph-people-title","Visible to:"),f=c.j(n),g),h=0;h<e;h++){var k=a[h],m=c.j(yj,{src:k.em[0].ft(24,["c"]),"class":"picker-actionpane-evph-people-img"});qL().isNative();m.setAttribute("oid",k.zb);f.appendChild(k.getUrl()?c.j("a",{href:k.getUrl(),
target:Ee},m):m)}return g};t.update=function(){tS.g.update.call(this);this.El&&S(this.El,!this.getContext().Yx().yF())};t.B=function(){tS.g.B.call(this);this.El=null};var uS=function(a,b,c,e){HR.call(this,a,b,c,e);this.zf=null};C(uS,HR);uS.prototype.j=function(){uS.g.j.call(this);var a=this.v(),b=this.zf=a.j(Qo,"picker-actionpane-legal-text",a.j(To,null,a.j("tr",null,a.j(Uo,"picker-actionpane-legal-text-td","Only select images that you have confirmed that you have the license to use."))));a.rl(b,this.gb.lastChild)};uS.prototype.update=function(){uS.g.update.call(this);var a=this.zf;if(a){var b=this.getContext().Yx();S(a,!b.yF())}};
uS.prototype.B=function(){uS.g.B.call(this);this.zf=null};var vS=function(a,b,c){kP.call(this,a,"picker-url-input-root","picker-url-input-frame","picker-url-input-content",Tf,c);this.iAa=b;this.bB=new CD;this.sa(this.bB);this.ic=null;this.Ui=!1;this.od=null};C(vS,kP);vS.prototype.j=function(){vS.g.j.call(this);var a=this.v(),b=this.gb;b.appendChild(a.j(n,"picker-url-input-text",this.iAa||"Or paste a web address here:"));b.appendChild(a.j(n,null,this.ic=a.j(Ej,{type:Xo,"class":"picker-url-input-box"})));this.Ub(46);this.bB.la(this.ic)};
vS.prototype.H=function(){vS.g.H.call(this);this.od=new BD(this.ic);this.C().o(this.od,Ej,this.Vva)};vS.prototype.setValue=function(a){var b=this.ic;b.value!=a&&(b.value=a);this.Ui=0<a.length;qA(b,sm,this.Ui);this.Ui||b.blur()};vS.prototype.Vva=function(){var a=this.getContext(),b=this.ic,c=b.value;this.getContext().Hr.setValue(c);!this.Ui&&0<c.length?(a.bb.wm(),this.Ui=!0,this.dispatchEvent(new wS)):this.Ui&&0==c.length&&(this.Ui=!1,this.dispatchEvent(new wS));qA(b,sm,this.Ui)};
var wS=function(){J.call(this,"F")};C(wS,J);var xS=function(a,b,c,e,f){$M.call(this,a,f);this.Fw=GQ(b,a.L);this.zh("vc");this.R=b;this.Em=c;var g=null;qL().CDa&&b.Ba(Ql)&&b.getOption(Qp)&&(g=new sS(a,"Upload problems?  We're doing maintenance, but things should be back to normal soon.",f),g.gg(c),c=g);this.ola=g;g=null;Gs(e,"bi")&&(g=new qS(a,f),g.gg(c),c=g);this.gla=g;var g=a.L,h=null,k=b.getOption(Gl),m=b.getOption("hideBc")||Gs(e,"dbbimv");k&&!b.getQuery()&&!m&&(k=a.na.J(k))&&(h=new rS(a,b,k,f),h.gg(c),c=h);this.XB=h;b=null;Gs(e,"at")&&
(b=new pS(a,this,f),b.gg(c),c=b);this.OY=b;e=null;g.DNa&&(e=new vS(a,void 0,f),e.gg(c),c=e);this.Lv=e;f=this.uma();f.gg(c);this.sa(f);this.sc=f;this.C().o(a.bb,"r",this.ut).wl(this.Em,bg,this.ut,!1,this)};C(xS,$M);t=xS.prototype;t.Ywa=function(){this.sc.getContext().Mb.KV()};
t.uma=function(){var a=this.getContext(),b=this.v(),c=A(this.Ywa,this),e=a.L.X1;return!this.R.Ba(wj)||this.R.getOption(Ip)&&"gis"!=this.R.getOption(Ip)?this.R.Ba(Ql)&&e?new tS(a,c,void 0,b):new HR(a,c,void 0,b):new uS(a,c,void 0,b)};t.j=function(){this.sc.j();this.Ab(this.sc.b())};t.H=function(){xS.g.H.call(this);var a=this.Lv;a&&this.C().o(a,"F",this.ut);this.C().o(this.getContext().bb,"s",this.Gv);this.Hj("vc")};
t.K=function(a){var b=this.b();b.style.top=a?"":qb;b.style.left=a?"":qb;b.style.right=a?"":"9500px"};t.yM=function(a){this.Em.yM(a)};t.getToken=function(){return this.R};t.ct=function(){return this.Em.ct()};t.ID=function(a){return this.Em.ID(a)};
t.setActive=function(a,b){xS.g.setActive.call(this,a,b);var c=function(c){c&&c.setActive(a,b)};c(this.sc);c(this.Em);c(this.OY);c(this.ola);c(this.XB);c(this.Lv);a&&(this.Lv&&this.Lv.setValue(this.getContext().Hr.getValue()),this.Gv(),G&&this.R.Ba(oq)&&0==Sr(iu,"7")&&Xu(function(){R(this.b(),"zoom","1")},0,this))};t.ii=function(a){this.Em.ii(a)};t.ut=function(a){if(this.Qa){var b=this.getContext().Hr,c=this.Lv;c&&"r"==a.type&&this.lQ()&&(c.setValue(""),b.setValue(""));this.Gv()}};
t.Gv=function(){var a=this.ONa(),a=this.lQ()&&a||!!this.getContext().Hr.getValue();this.sc.Gv(a)};t.lQ=function(){var a=this.ct(),b=this.getContext().bb.Qf(!0);return As(b,a.contains,a)};t.ONa=function(){var a=qR(this.getContext()),b;Hs(a)||(b=a[0]);this.sc.gea(!!b,pR(this.getContext(),b),0);return!b};t.B=function(){xS.g.B.call(this);delete this.sc;delete this.OY;delete this.gla;delete this.XB;delete this.Em;delete this.Lv};
t.am=function(){var a=this.Em.am();!a&&this.XB&&(a=this.XB.focus());a||this.sc.focus();return!0};t.Zs=function(){return this.Fw};var yS=function(){pQ.call(this,"picker-web-control")};C(yS,pQ);Qq(yS);yS.prototype.j=function(a){var b=a.J(),c=b.getUrl(),e=b.getName(),f=RE(b.Pw,OE,void 0),b=b.getAttribute("vu"),g=a.v(),c=g.j("a",{href:c,target:Ee,tabIndex:-1},g.ij(py(e))),f=g.j(n,"picker-web-control-content",g.ij(py(f)));return g.j(n,this.ye(a).join(" "),g.j(n,"picker-web-control-title",c),f,g.j(n,"picker-web-control-url",b))};yS.prototype.wc=function(a){return a.b().firstChild};
yS.prototype.setState=function(a,b,c){yS.g.setState.call(this,a,b,c);32==b&&(Ew("a",null,a.b())[0].tabIndex=c?0:-1)};var zS=function(a,b,c){vR.call(this,a,b,void 0,lq,c)};C(zS,vR);zS.prototype.xC=function(a){return new kQ(this.getContext(),a,yS.S(),this.v())};var AS=function(){F.call(this)};C(AS,F);t=AS.prototype;t.fe=function(){return!0};t.qZ=function(){return!0};
t.create=function(a,b,c){if(a.Ba(Aq)){var e=a.getQuery()?new zS(b,a,c):new SR(b,a,"Type your search in the box above to find web results using Google Web Search.",c);return new xS(b,a,e,[],c)}if(a.Ba(Rf))return e=a.getQuery()?new CR(b,a,c):new SR(b,a,"Type your search in the box above to find eBook results using Google Books.",c),new xS(b,a,e,[],c);if(a.Ba(dq))return new mS(b,a,c);if(a.Ba("icon"))return new RR(b,a,c);if(a.Ba(Sh))return new QR(b,a,new FR(b,a,c),c);if(a.Ba("promo"))return new TR(b,
a,c);e=new vR(b,a,new BR,void 0,c);return new xS(b,a,e,[],c)};t.Vaa=function(){return!1};t.load=function(a,b){a.call(b)};var BS=function(a,b){F.call(this);this.yq=a;this.X=b};C(BS,F);t=BS.prototype;t.D=QC("picker.ui.ModuleViewCreator");t.fe=function(){return LN.S().kh(this.yq).fe()};t.load=function(a,b){V(this.D,"Loading module id="+this.yq);var c=IQ(this.yq),e=this.X.Zi;e&&c&&e.zh("ml",c);LN.S().Ls(this.yq,function(){e&&c&&e.Hj("ml",c);a.call(b||null)},void 0,void 0,!0,!0)};t.create=function(a,b,c){var e=LN.S().kh(this.yq).Hl;return e&&e.JWa(a,b,c)};t.qZ=function(a,b){return this.yq==gN(a,b)};
t.Vaa=function(a,b){var c=gN(a,b);return"opu"==c||c==ml||rK(a.xa)};var CS=function(a){F.call(this);this.ma=a||N();this.OF={}};C(CS,F);CS.prototype.B=function(){at(this.OF,this.ma.removeNode,this.ma);this.ma=this.OF=null;CS.g.B.call(this)};CS.prototype.jT=function(a,b){var c=this.Qsa(b||Cm);nx(c,"");Xu(function(){nx(c,a)},1)};
CS.prototype.Qsa=function(a){var b=this.OF[a];if(b)return cA(b,ej),b;b=this.ma.createElement(d);b.style.position=Ke;b.style.top=rb;b.style.height="1px";b.style.overflow=ej;T(b,pk,a);T(b,vf,r);this.ma.J().body.appendChild(b);return this.OF[a]=b};var DS=function(a){this.qu=0;this.lR=a||100;this.Fk=[]};t=DS.prototype;t.add=function(a){var b=this.Fk[this.qu];this.Fk[this.qu]=a;this.qu=(this.qu+1)%this.lR;return b};t.get=function(a){a=this.L9(a);return this.Fk[a]};t.set=function(a,b){a=this.L9(a);this.Fk[a]=b};t.Ga=function(){return this.Fk.length};t.Zb=function(){return 0==this.Fk.length};t.clear=function(){this.qu=this.Fk.length=0};t.Cb=function(){return this.eta(this.Ga())};
t.eta=function(a){var b=this.Ga(),c=[];for(a=this.Ga()-a;a<b;a++)c.push(this.get(a));return c};t.vb=function(){for(var a=[],b=this.Ga(),c=0;c<b;c++)a[c]=c;return a};t.Ic=function(a){return a<this.Ga()};t.zm=function(a){for(var b=this.Ga(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};t.L9=function(a){if(a>=this.Fk.length)throw Error("Out of bounds exception");return this.Fk.length<this.lR?a:(this.qu+Number(a))%this.lR};var ES=function(){this.vaa=B()},FS=new ES;ES.prototype.set=function(a){this.vaa=a};ES.prototype.reset=function(){this.set(B())};ES.prototype.get=function(){return this.vaa};var GS=function(a){this.ck=a||"";this.GLa=FS};t=GS.prototype;t.ska=!0;t.NKa=!0;t.eLa=!0;t.$Ka=!0;t.dea=!1;t.gLa=!1;
var IS=function(a){a=new Date(a.mfa);return HS(a.getFullYear()-2E3)+HS(a.getMonth()+1)+HS(a.getDate())+" "+HS(a.getHours())+":"+HS(a.getMinutes())+":"+HS(a.getSeconds())+"."+HS(Math.floor(a.getMilliseconds()/10))},HS=function(a){return 10>a?"0"+a:String(a)},JS=function(a,b){var c=(a.mfa-b)/1E3,e=c.toFixed(3),f=0;if(1>c)f=2;else for(;100>c;)f++,c*=10;for(;0<f--;)e=" "+e;return e},KS=function(a){GS.call(this,a)};C(KS,GS);KS.prototype.dea=!0;KS.prototype.Gqa=function(a){return a?this.S2(a).Qj():""};
KS.prototype.S2=function(a){if(!a)return pw;var b;switch(a.rh.value){case AC.value:b="dbg-sh";break;case BC.value:b="dbg-sev";break;case CC.value:b="dbg-w";break;case DC.value:b="dbg-i";break;default:b="dbg-f"}var c=[];c.push(this.ck," ");this.NKa&&c.push("[",IS(a),"] ");this.eLa&&c.push("[",JS(a,this.GLa.get()),"s] ");this.$Ka&&c.push("[",a.U8,"] ");this.gLa&&c.push("[",a.rh.name,"] ");var c=dw(c.join("")),e=pw;this.dea&&a.dD&&(e=mw(qw,sC(a.dD)));a=dw(a.getMessage());b=jw(vo,{"class":b},mw(a,e));
return this.ska?mw(c,b,qw):mw(c,b)};var MS=function(a,b){this.identifier=a||"";this.outputBuffer=[];this.ck=b||"";this.GH=new DS(500);this.haa=A(this.Mja,this);this.Sqa=new KS(this.ck);this.Ppa={};this.lca(!0);this.ec="1"==LS(this.identifier,qh);v.setInterval(A(this.xGa,this),7500)};t=MS.prototype;t.Lga="LOGGING";t.mpa=!1;t.qe=null;t.lW=!1;var NS=t.C7=!1;t=MS.prototype;t.hZ=null;t.zQ=B();t.BP=function(){this.ec&&this.dS()};t.isEnabled=function(){return this.ec};t.ra=function(a){(this.ec=a)&&this.dS();this.pca(qh,a?"1":"0")};
t.lca=function(a){if(a!=this.C7){this.C7=a;var b=OC();a?b.TX(this.haa):b.iFa(this.haa)}};t.Eh=function(){this.Sga(jw("hr"))};t.Tp=function(){return!!this.qe&&!this.qe.closed};t.clear=function(){this.GH.clear();this.Tp()&&this.oW()};t.Mja=function(a){if(!this.Ppa[a.U8]){var b=this.Sqa.S2(a);this.Sga(b);this.mpa&&a.rh.value>=BC.value&&this.ra(!0)}};t.Sga=function(a){this.ec?(this.dS(),this.GH.add(a),this.pW(a)):this.GH.add(a)};
t.pW=function(a){this.outputBuffer.push(a);v.clearTimeout(this.hZ);750<B()-this.zQ?this.nW():this.hZ=v.setTimeout(A(this.nW,this),250)};t.nW=function(){this.zQ=B();if(this.Tp()){var a=this.qe.document.body,a=a&&100>=a.scrollHeight-(a.scrollTop+a.clientHeight),b=mw(this.outputBuffer);this.qe.document.write($v(b));this.outputBuffer.length=0;a&&this.qe.scrollTo(0,1E6)}};t.Rga=function(){for(var a=this.GH.Cb(),b=0;b<a.length;b++)this.pW(a[b])};
t.dS=function(){if(!this.Tp()&&!this.lW){var a=this.Jra("dbg","0,0,800,500").split(","),b=Number(a[0]),c=Number(a[1]),e=Number(a[2]),a=Number(a[3]);this.lW=!0;this.qe=window.open("",this.Aua(),"width="+e+",height="+a+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+b+",screeny="+c);this.qe||NS||(alert("Logger popup was blocked"),NS=!0);this.lW=!1;this.qe&&this.oW()}};t.Aua=function(){return G?this.identifier.replace(/[\s\-\.\,]/g,"_"):this.identifier};t.kE=function(){return Mv(Bv("*{font:normal 14px monospace;}.dbg-sev{color:#F00}.dbg-w{color:#E92}.dbg-sh{background-color:#fd4;font-weight:bold;color:#000}.dbg-i{color:#666}.dbg-f{color:#999}.dbg-ev{color:#0A0}.dbg-m{color:#990}"))};
t.oW=function(){if(this.Tp()){this.qe.document.open();var a=jw(n,{"class":"dbg-ev",style:Bv("text-align:center;")},mw(this.Lga,qw,jw(qo,{},"Logger: "+this.identifier))),a=mw(lw(this.kE()),jw("hr"),a,jw("hr"));this.pW(a);this.Rga()}};t.pca=function(a,b){var c=(a+this.identifier).replace(/[;=\s]/g,"_");document.cookie=c+"="+encodeURIComponent(b)+";path=/;expires="+(new Date(B()+2592E6)).toUTCString()};t.Jra=function(a,b){return LS(this.identifier,a,b)};
var LS=function(a,b,c){a=(b+a).replace(/[;=\s]/g,"_");b=String(document.cookie);var e=b.indexOf(a+"=");return-1!=e?(c=b.indexOf(";",e),decodeURIComponent(b.substring(e+a.length+1,-1==c?b.length:c))):c||""};MS.prototype.xGa=function(){this.Tp()&&this.pca("dbg",(this.qe.screenX||this.qe.screenLeft||0)+","+(this.qe.screenY||this.qe.screenTop||0)+","+(this.qe.outerWidth||800)+","+(this.qe.outerHeight||500))};var OS=function(a,b){this.AEa();MS.call(this,a,b);this.og=null};C(OS,MS);var PS;a:{try{PS=!!window.localStorage.getItem;break a}catch(a){}PS=!1}var QS=PS;t=OS.prototype;t.nW=function(){this.zQ=B();if(this.Tp()){for(var a=this.og.b("log"),b=100>=a.scrollHeight-(a.scrollTop+a.offsetHeight),c=0;c<this.outputBuffer.length;c++){var e=this.og.j(d,"logmsg");Aw(e,this.outputBuffer[c]);a.appendChild(e)}this.outputBuffer.length=0;this.gba();b&&(a.scrollTop=a.scrollHeight)}};
t.oW=function(){if(this.Tp()){var a=this.qe.document;a.open();var b=this.wsa();a.write($v(b));a.close();(G?a.body:this.qe).onresize=A(this.gba,this);this.og=new Bw(a);this.og.b("openbutton").onclick=A(this.ZCa,this);this.og.b("closebutton").onclick=A(this.Yla,this);this.og.b("clearbutton").onclick=A(this.clear,this);this.og.b("exitbutton").onclick=A(this.Cpa,this);this.Rga()}};
t.ZCa=function(){var a=D(this.og.b("optionsarea"));Aw(a,pw);for(var b=RS(),c=this.og,e=0;e<b.length;e++){var f=b[e],g=f.rh?f.rh.name:qd,f=c.j(d,{},this.$ra("sel"+f.getName(),g),c.j(Td,{},f.getName()||"(root)"));a.appendChild(f)}this.og.b(ql).style.display=Nf;return!1};t.$ra=function(a,b){for(var c=this.og,e=c.j(Sd,{id:a}),f=0;f<HC.length;f++){var g=HC[f],h=c.j(Hd,{},g.name);b==g.name&&(h.selected=!0);e.appendChild(h)}e.appendChild(c.j(Hd,{selected:b==qd},qd));return e};
t.Yla=function(){this.og.b(ql).style.display=Yk;for(var a=RS(),b=this.og,c=0;c<a.length;c++){var e=a[c],f=b.b("sel"+e.getName()),f=f.options[f.selectedIndex].text;f==qd?e.kr(null):e.kr(JC(f))}this.mOa();return!1};t.gba=function(){var a=this.og,b=a.b("log"),c=a.b("head");b.style.top=c.offsetHeight+q;b.style.height=a.J().body.offsetHeight-c.offsetHeight-(G?4:0)+q};t.Cpa=function(){this.ra(!1);this.qe&&this.qe.close()};
t.kE=function(){var a=OS.g.kE.call(this),b=Mv(Bv("html,body{height:100%;width:100%;margin:0px;padding:0px;background-color:#FFF;overflow:hidden}*{}.logmsg{border-bottom:1px solid #CCC;padding:2px;font:90% monospace}#head{position:absolute;width:100%;font:x-small arial;border-bottom:2px solid #999;background-color:#EEE;}#head p{margin:0px 5px;}#log{position:absolute;width:100%;background-color:#FFF;}#options{position:absolute;right:0px;width:50%;height:100%;border-left:1px solid #999;background-color:#DDD;display:none;padding-left: 5px;font:normal small arial;overflow:auto;}#openbutton,#closebutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:5px;font:x-small arial;}#clearbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:80px;font:x-small arial;}#exitbutton{text-decoration:underline;color:#00F;cursor:pointer;position:absolute;top:0px;right:50px;font:x-small arial;}select{font:x-small arial;margin-right:10px;}hr{border:0;height:5px;background-color:#8c8;color:#8c8;}"));return Kv(a,
b)};t.wsa=function(){var a=jw("head",{},mw(jw(cp,{},"Logging: "+this.identifier),lw(this.kE()))),b=jw("body",{},mw(jw(n,{id:"log",style:Bv("overflow:auto")}),jw(n,{id:"head"},mw(jw("p",{},jw("b",{},"Logging: "+this.identifier)),jw("p",{},this.Lga),jw(vo,{id:"clearbutton"},"clear"),jw(vo,{id:"exitbutton"},"exit"),jw(vo,{id:"openbutton"},ql))),jw(n,{id:ql},mw(jw("big",{},jw("b",{},"Options:")),jw(n,{id:"optionsarea"}),jw(vo,{id:"closebutton"},"save and close")))));return jw("html",{},mw(a,b))};
t.mOa=function(){if(QS)for(var a=RS(),b=SS(),c=0;c<a.length;c++){var e=Bh+a[c].getName(),f=a[c].rh;e in b?f?window.localStorage.getItem(e)!=f.name&&window.localStorage.setItem(e,f.name):window.localStorage.removeItem(e):f&&window.localStorage.setItem(e,f.name)}};t.AEa=function(){if(QS){var a=SS(),b;for(b in a){var a=b.replace(Bh,""),a=PC(a),c=a.rh,e=window.localStorage.getItem(b).toString();c&&c.toString()==e||a.kr(JC(e))}}};
var SS=function(){for(var a={},b=0,c=window.localStorage.length;b<c;b++){var e=window.localStorage.key(b);null!=e&&ir(e,Bh)&&(a[e]=!0)}return a},RS=function(){var a=gt(LC);Us(a,function(a,c){return Ts(a.getName(),c.getName())});return a};var TS=function(a){F.call(this);this.na=a;this.Bd=new Q;this.fd=[]};C(TS,F);t=TS.prototype;t.vB=function(a){this.Bd.set(a.getId(),a);this.ELa=B();this.lj||(this.lj=new ND(this.MFa,1E3,this),this.lj.Rs())};t.Ra=function(a){this.lj?this.fd.push(a):a()};t.MFa=function(){this.na.Gd(new wN(Rl,this.Bd.vb(),{}),A(function(a){this.TO(a);this.B2()},this),A(this.B2,this))};t.B2=function(){this.Bd.Ga()&&B()<=this.ELa+1E4?this.lj.Rs():(delete this.lj,E(this.fd,function(a){a()}),Is(this.fd))};
t.TO=function(a){E(a.Kc(),function(a){var c=a.em;if(c&&0<c.length){var e=ts(c);0<e.Rf()&&0<e.Be()&&(a=a.getId(),this.Bd.get(a).EU(c),this.Bd.remove(a))}},this)};t.B=function(){this.lj&&(this.lj.dispose(),delete this.lj)};var US=function(a,b){AM.call(this);this.oq=a;this.ac=b};C(US,AM);US.prototype.gh=ms(new oD("setuserpref"));US.prototype.vc=function(){return 16};US.prototype.Of=function(){var a=new Q;a.set(Wj,this.oq);a.set(iq,this.ac);return a};var VS=function(a,b){M.call(this);this.X=a;this.rS=b};C(VS,M);VS.prototype.get=function(a){return this.rS[a]};VS.prototype.set=function(a,b,c,e){this.rS[a]=b;this.X.na.Gd(new US(a,b),A(function(){c&&c()},this),A(function(){e&&e()},this));this.dispatchEvent(new WS(a,this))};VS.prototype.nra=function(a){a=this.rS[a];if(a==r)return!0;if(a==Ah)return!1};VS.prototype.BHa=function(a,b,c,e){this.set(a,String(b),c,e)};var WS=function(a,b){J.call(this,"prefUpdate",b);this.key=a};C(WS,J);var XS=function(a,b){this.EX=b.apn;this.fja=b.apnl;this.kZ=b.buildLabel;this.$oa=b.dpm;this.Is=b.email;this.Eua=b.gdn;this.D7=b.dip;this.vba=b.rig;this.eR(b.sis);this.R=b.token;this.BNa=b.uriParams;this.xga=new VS(a,b.pref||{});this.LNa=b.userId;this.eR(b.wcs);this.eR(b.wcvs);this.jpa=!!b.cac;this.AM=!!b.ecmh};XS.prototype.eR=function(a){return(qL().nga+a).replace("picker/picker",Tl)};XS.prototype.getEmail=function(){return this.Is};XS.prototype.getToken=function(){return this.R};var YS=function(a,b,c){F.call(this);this.df=new YG;AA=qL().Uf();var e=new SN(a),f=new FO,g=new YM,h=new aN,k=new $N(a,h),m=new TS(e);b=new lO(a,k,b);var p=new KO(e),u=this.lla(a),y;qL().hpa&&(y=new yM,y.$l(a.pn),y.zh("ev","evavc"));this.om=new CS(c);var P=LN.S();P.ku||P.XIa(u);g=new iP(f,b,g,h,k,e,a.pJ,m,this.df,p,a,this,u,this.om,y);b.Zz(g);e.Zz(g);f.Zz(g);if(window.top!=window.parent&&!qL().Cq&&(e.ud(45),a.Foa))throw Error(a.Eoa);if(!qL().isNative()&&window.location.ancestorOrigins&&0<window.location.ancestorOrigins.length&&
(f=window.location.ancestorOrigins[window.location.ancestorOrigins.length-1],(h=a.getOrigin())&&(h=xD(h).Ie("").$u("").mi(void 0).toString()),h!=f))throw e.ud(0),Error("Incorrect origin value. Please set it to - (window.location.protocol + '//' + window.location.host) of the top-most page");this.X=g;this.VL=a.doa?new OS(Tl):null;this.Kr=new yR(g,c);this.X.$Ia(this.Kr.uh);a=this.X;for(c=0;c<fN.length;c++)e=new BS(fN[c],a),xR.push(e);a=new AS;xR.push(a);this.initializeFromServer=this.FP;this.dispose=
this.dispose;Xu(b.EMa,0,b)};C(YS,F);t=YS.prototype;t.initialize=function(){var a=this.X.L,b=this.VL;b&&(b.ra(!0),b.Eh());try{document.execCommand(vc,!1,!0)}catch(e){}QO=a.oBa;dP=a.opa;eP=a.lp;fP=a.ipa;RO=a.JNa;this.df.Ra(function(a){pL&&qL().lpa(a.AM)});var c=this.X.na;c.uB(new jP);E(a.eHa,function(a){c.uB(this.Sm().get(a))},this.X);this.df.Ra(function(a){BM=a.getToken();var b=CM||{};st(b,a.BNa);CM=b;c.Gea.initialize()});this.Kr.ha(a.b());G&&0==Sr(iu,"7")&&Xu(function(){R(a.b(),"zoom","1")},0,this)};
t.lla=function(a){var b=new IL(a.Sm()),c=N(a.mt()),c=new VL(b,c.J());b.registerService(EL,c);c=new rM(b);b.registerService(FL,c);a={locale:qL().Al,nj:a.ZNa};b.registerService(GL,new sM(a));a=new gM(new SL(void 0,31536E6));a=new mM(en,a);var e=new pM(a);a.sa(e);this.df.Ra(function(a){e.setValue("oid",a.LNa)});a=new WL(b,a);b.registerService(DL,a);return b};t.FP=function(a){this.df.tp||this.df.Ad(new XS(this.X,a))};t.me=function(a){this.X.xf.Uw(a)};t.getContext=function(){return this.X};
t.B=function(){YS.g.B.call(this);Rt(this.Kr);delete this.Kr;Rt(this.om);delete this.om;Rt(this.X);delete this.X;var a=this.VL;a&&(a.ra(!1),a.lca(!1),delete this.VL)};var ZS=function(a,b){if(window.google&&window.google.maps)a();else{x("picker.api.ExternalCodeLoader.onMapsApiLoaded",a,void 0);var c=Rw(gn);c.src="//maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=true&language="+qL().Al+"&callback=picker.api.ExternalCodeLoader.onMapsApiLoaded";c.type=Zo;document.body.appendChild(c);NP(".pac-container{z-index:20000 !important; background-color: #fff; border: 1px solid #bbb;} .pac-item{padding:6px 8px;}",b)}};var $S=function(a,b){var c=b||N(),e=c.j(n,"picker-native picker-min goog-menu"),f=a.bn().minew;f&&U(e,em);var g=a.Rf()||248,h=a.Be()||f?311:300;Ry(e,g,h);a.Ue()&&jA(e,a.Ue());c.appendChild(c.J().body,e);iL.call(this,e,c);this.kq=f;this.V()?this.UU():this.NE();this.M=c;this.If=a;this.CP=this.aw(a.Yr)+"pir";this.Jca(!1);this.Xu(!1);this.CC=!1;this.Ik=new hL(b);this.wa(this.Ik);this.Ik.ha(e);this.Yba()};C($S,iL);var aT=[jj,"hl"];t=$S.prototype;t.D=QC(xm);t.$n=null;
t.Sk=function(){if(!this.CC){this.CC=!0;var a=this.If.bn();a.outerElement||(a.outerElement=this.b());a.element=this.b();a.loadingStatusElement=this.b();a.uriPrefix=this.aw(this.If.Yr);a[Vk]=!0;a=new sL(a);this.If.wy(yk)?ZS(A(this.Jy,this,a),this.v()):this.Jy(a)}};
t.Yba=function(){var a=new YD,b=this.If.tk();b.mk("").Ie(this.CP).ia("app","2").ia("subapp","5");var c=this.If.bn(),e=c.authuser;e&&b.ia(xf,e);(e=c.groupId)&&b.ia("groupId",e);(e=c.gmailDelegatorId)&&b.ia(ki,e);(e=c.apt)&&b.ia("apt",e);at(BK,function(a){c[a]&&b.ia(a,!0)});var f={};E(aT,function(a){f[a]=b.yc(a);b.gk(a)});e=b.getQuery();b.mi(AD(f));Nu(a,Mo,A(this.LO,this,a));a.send(b,Kd,e)};
t.LO=function(a){var b=this.If.bn();a=a.Te();try{var c=Lr(a,Da);this.$n=PD(c);this.dz()}catch(e){RC(this.D,wc+a),(b=b.serverConfigErrback)&&b(a)}};t.Dt=function(a){return!!this.If.bn()[a]};t.dz=function(){this.td&&this.$n&&this.td.FP(this.$n)};t.aw=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};t.Jy=function(a){this.td||(this.td=new YS(a,A(this.hP,this,this.If.Xd),this.v()),this.td.initialize(),this.dz())};
t.hP=function(a,b){var c=b.action;if(c==vq||c==sq)this.oa();else if(c!=Zf||this.V())c!=Sl&&c!=Zf||this.K(!1),a(b)};t.me=function(a){a.action==Xm?(this.td&&!this.V()&&(this.td.dispose(),this.td=void 0,this.$n=null,this.CC=!1,this.Yba()),this.Sk()):this.td.me(a)};t.ke=function(){$S.g.ke.call(this);this.q$();this.wAa();this.Sk();this.me(new vK(!0));Vz(new sw(0,0),this.b(),0,this.Mx());this.fY()};
t.oa=function(){if(this.CC){$S.g.oa.call(this);var a=this.getPosition();a instanceof WA?this.Ik.BZ(a.element,this.b(),this.Kq):this.Ik.update(this.b(),this.Kq,this.Mx())}};t.Rw=function(a){this.td&&this.td.getContext().L.Rw(a)};t.ci=function(a){$S.g.ci.call(this,a);this.d$();this.me(new vK(!1))};t.B=function(){Rt(this.td);Zw(this.b());$S.g.B.call(this)};
t.wAa=function(){this.C().wl(this.b(),Hg,this.MI,!1,this).wl(this.b(),ng,this.MI,!1,this).wl(this.b(),Kk,this.MI,!1,this).wl(this.b(),Ok,this.MI,!1,this)};t.MI=function(a){a.stopPropagation()};var bT=function(a,b){HA.call(this,this.tc,!0,b);this.If=a;this.Zu(a.Mf);this.CP=this.aw(a.Yr)+"pir";this.yca(!1)};C(bT,OK);var cT=[jj,"hl"];t=bT.prototype;t.D=QC(ym);t.b1="picker-modal-dialog";t.$n=null;t.tc="picker "+bT.prototype.b1;t.H=function(){bT.g.H.call(this);var a=this.Qc,b=a.Xo;if(a=b&&a.ux(b))a.disabled=!0;a=this.lE();a=this.C().o(a,Nk,A(this.w5,this,!0)).o(a,Mk,A(this.w5,this,!1)).o(this,Pg,A(this.Zua,this));$K(this.b(),a);$K(this.Tm(),a)};t.Zua=function(a){a.key==this.Qc.Jk&&this.me(new jK)};
t.w5=function(a){qA(this.lE(),this.b1+"-title-close-hover",a)};
t.ha=function(a){bT.g.ha.call(this,a);U(this.lE(),rm);this.fga();this.C().o(this.v().getWindow(),$m,this.fga);a=this.If;var b=a.bn(),c=a.Ue();c?(this.Xc(c),b.dfc&&(c=this.v().j(vo,this.tc+"-dogfood-confidential-text",Oc),this.Ip().appendChild(c)),a.Ht()):S(this.Ip(),!1);var c=new YD,e=a.tk();e.mk("").Ie(this.CP).ia("app","2").ia("subapp","5");var f=b.authuser;f&&e.ia(xf,f);(f=b.groupId)&&e.ia("groupId",f);(f=b.gmailDelegatorId)&&e.ia(ki,f);(f=b.apt)&&e.ia("apt",f);at(BK,function(a){b[a]&&e.ia(a,!0)});
this.C().qq(c,Mo,A(this.LO,this,c));var g={};E(cT,function(a){g[a]=e.yc(a);e.gk(a)});f=e.getQuery();e.mi(AD(g));c.send(e,Kd,f);b.outerElement||(b.outerElement=this.Vm());b.element=this.U();b.loadingStatusElement=this.U();b.uriPrefix=this.aw(a.Yr);b[Vk]=!0;c=new sL(b);a.wy(yk)?ZS(A(this.Jy,this,c),this.v()):this.Jy(c)};t.oa=function(){if(this.Dt(Kn)){var a=Sy(this.b()),b=Jw(this.v().getWindow()),a=Math.max(b.width/2-a.width/2,0),b=this.v().Kj().y;By(this.b(),a,b)}else bT.g.oa.call(this)};
t.Ub=function(a,b){this.v().getWindow();var c=this.b(),e=bz(c),c=a-e.right-e.left,e=b-e.top-e.bottom;Ry(this.U(),c,e);if(this.Ip().style.display!=Yk){var f=Sy(this.Ip()),e=e-f.height;Qy(this.jua(),c-50)}Ry(this.U(),c,e);this.oa()};t.fga=function(){var a=this.Dt(Kn)?bL(this.v().getWindow()):cL(this.v().getWindow(),this.If.Rf(),this.If.Be());this.Ub(a.width,a.height)};
t.LO=function(a){var b=this.If.bn();a=a.Te();try{var c=Lr(a,Da);this.$n=PD(c);this.dz()}catch(e){RC(this.D,wc+a),(b=b.serverConfigErrback)&&b(a)}};t.Dt=function(a){return!!this.If.bn()[a]};t.dz=function(){this.td&&this.$n&&this.td.FP(this.$n)};t.aw=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};t.Jy=function(a){this.td=new YS(a,A(this.hP,this,this.If.Xd),this.v());this.td.initialize();this.dz()};t.hP=function(a,b){var c=b.action;c!=Sl&&c!=Zf||this.K(!1);a(b)};t.me=function(a){this.td.me(a)};
t.K=function(a){this.td&&!this.td.t3()?this.Kda(a,0):bT.g.K.call(this,a)};t.Kda=function(a,b){if(a){this.ba||this.ha();var c=Sy(this.b());10>b&&(0>=c.width||0>=c.height)&&Xu(A(this.Kda,this,a,b++),10);bT.g.K.call(this,!0);this.td&&this.td.getContext().Mb.T5()}!a&&this.Mf||this.me(new vK(a));a||bT.g.K.call(this,!1)};t.B=function(){Rt(this.td);bT.g.B.call(this)};var dT=function(a){fL.call(this,a||Gb);this.lb={};this.DP=new oD(this.Yr);this.Xf=[];this.cW={};this.lb.uploadConfigs=[];(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.hv(a)};C(dT,gL);t=dT.prototype;t.Mf=!1;t.$v=function(a,b){this.Xf.push([a,b||{}]);return this};t.Vja=function(a,b){this.lb.uploadConfigs[a]=b;return this};
t.mw=function(){this.lb.pp=this.Xf.length?this.Xf:void 0;this.lb.uploaders=lt(this.cW)?void 0:this.cW;var a=this.lb;if(!a.hl)throw Error("locale must be set");if(!a.hostId)throw Error("host id must be set");this.SNa()};t.Gk=function(){this.mw();if(this.lb.minimal)throw Error(fq);return new bT(this,this.v())};t.OK=function(){this.Hi(Ik);this.mw();return new $S(this,this.v())};t.iM=function(a){this.lb.noAutoHide=a;return this};t.zs=function(a){mt(this.lb,a);return this};
t.Hi=function(a){this.lb[a]=!0;a==Jm&&this.dI("square").$v(Im);return this};t.MN=function(){return this.Mf};t.Be=function(){return this.kl};t.bn=function(){this.lb.nav=this.cta();return this.lb};t.Ue=function(){return this.lb.title};t.Rf=function(){return this.Ch};t.Wu=function(a){this.lb.authuser=a;return this};t.dI=function(a){this.lb.cropMode=a;return this};t.Zu=function(a){this.Mf=a;return this};t.fI=function(a){this.lb.maxSizeBytes=a;return this};
t.Uca=function(a){this.lb.maxSizeBytesPerItem=a;return this};t.gA=function(a){this.lb.maxItems=a;return this};t.Vca=function(a){this.lb.maxVD=a;return this};t.Hca=function(a){this.lb.groupId=a;return this};t.$l=function(a){if(!a.match("^[a-zA-Z0-9_\\-\\.]+$"))throw Error("Illegal host id");this.lb.hostId=a;this.DP.ia(jj,a);return this};t.hv=function(a){a&&(this.lb.origin=a);return this};t.jr=function(a){this.lb.defaultView=a;return this};t.Sca=function(a){this.lb.learnMore=a;return this};
t.dv=function(a){this.lb.hl=a;this.DP.ia("hl",a);return this};t.pda=function(a){this.lb.selectableMimeTypes=RD(a.split(","));return this};t.iv=function(a){this.lb.selectButtonLabel=a;return this};t.Ub=function(a,b){this.Ch=a;this.kl=b;return this};t.jv=function(a){var b=[];a=a.split(",");for(var c=0;c<a.length;c++)b.push(a[c]);this.lb.thumbs=b;return this};t.Xc=function(a){this.lb.title=a;return this};t.ZJa=function(a){this.lb.subTitle=a;return this};t.HU=function(a){this.lb.ui=a;return this};
t.jo=function(a){this.lb.uploadToAlbumId=a;return this};t.tk=function(){var a=this.DP.ia("nav",this.Mj()).ia(Vk,"1");a.ia("origin",this.lb.origin);this.Xf.length&&a.ia("pp",RD(this.Xf));return a.clone()};t.zI=function(a){this.lb.srum=a;return this};t.qI=function(a){this.lb.serviceIds||(this.lb.serviceIds=[]);this.lb.serviceIds.push(a);return this};
t.SNa=function(){for(var a=this.nE(Qp),b=0;b<a.length;b++){var c=a[b],e=c.getQuery();if(!e||!this.lb.uploadConfigs[e])throw Error("missing upload configuration for: "+c);}};var eT=function(){this.ai={}};t=eT.prototype;t.qHa=function(a){this.ai.at=a;return this};t.RT=function(a){this.ai.det=a;return this};t.VT=function(a){this.ai.dzt=a;return this};t.UT=function(a){this.ai.dzat=a;return this};t.zca=function(a){this.ai.text=a;return this};t.SIa=function(a){this.ai.mechanisms=a;return this};t.VIa=function(a){this.ai.metadata=a;return this};t.xU=function(a){this.ai.selectLabel=a;return this};t.qI=function(a){this.ai.serviceId=a;return this};
t.Eda=function(a){this.ai.uet=a;return this};t.bm=function(a){this.ai.url=a;return this};t.Gk=function(){var a=this.ai;if(!a.url)throw Error("url must be specified");return new eL(a)};
var fT=function(a){a=a.replace("_","-");"en-us"==a.toLowerCase()&&(a="en_us");return"https://picasa.google.com/intl/{locale}/web/privacy.html".replace("{locale}",a)},gT=function(a){a='When you upload photos, they\'ll be stored  in an online album in Picasa Web Albums, Google\'s free photo sharing service.\n <a target="_blank" class="upload-text-a" href="'+(fT(a)+'">View Picasa program policies and privacy notice</a>');return(new eT).zca(a).Eda("There was an upload error.<br>Make sure to upload a JPG, GIF, or PNG file and try again.").RT("Oops, you dragged more than one photo!<br>Please only drag your desired photo.").qI(Rl).VT("Drag photos here").UT(Jd).xU("Select photos from your computer").SIa(["XHR",
ld]).bm("/upload/photos/resumable").VIa({disable_asbe_notification:r})};x(ym,bT,void 0);bT.prototype.render=bT.prototype.ha;bT.prototype.setVisible=bT.prototype.K;bT.prototype.getDisposeOnHide=bT.prototype.MN;bT.prototype.listen=bT.prototype.o;bT.prototype.dispose=bT.prototype.dispose;x(xm,$S,void 0);$S.prototype.setMargin=$S.prototype.MIa;$S.prototype.setPinnedCorner=$S.prototype.gda;$S.prototype.sendCommand=$S.prototype.me;$S.prototype.disableAnimateView=$S.prototype.Rw;x("picker.api.NativePickerBuilder",dT,void 0);dT.prototype.addLabel=dT.prototype.nm;
dT.prototype.addUploadConfiguration=dT.prototype.Vja;dT.prototype.addView=dT.prototype.Hc;dT.prototype.addViewGroup=dT.prototype.Ak;dT.prototype.build=dT.prototype.Gk;dT.prototype.buildMinimal=dT.prototype.OK;dT.prototype.disableFeature=dT.prototype.zs;dT.prototype.disableAutoHide=dT.prototype.iM;dT.prototype.enableFeature=dT.prototype.Hi;dT.prototype.getNav=dT.prototype.Mj;dT.prototype.getProtocol=dT.prototype.Px;dT.prototype.getRelayUrl=dT.prototype.getRelayUrl;
dT.prototype.getSelectButtonLabel=dT.prototype.Gp;dT.prototype.getTitle=dT.prototype.Ue;dT.prototype.hideTitleBar=dT.prototype.Ht;dT.prototype.isFeatureEnabled=dT.prototype.XP;dT.prototype.resetNav=dT.prototype.Ju;dT.prototype.setAuthUser=dT.prototype.Wu;dT.prototype.setCallback=dT.prototype.dr;dT.prototype.setHostId=dT.prototype.$l;dT.prototype.setInitialView=dT.prototype.jr;dT.prototype.setLearnMore=dT.prototype.Sca;dT.prototype.setLocale=dT.prototype.dv;dT.prototype.setMaxItems=dT.prototype.gA;
dT.prototype.setOrigin=dT.prototype.hv;dT.prototype.setProtocol=dT.prototype.or;dT.prototype.setRelayUrl=dT.prototype.setRelayUrl;dT.prototype.setSelectButtonLabel=dT.prototype.iv;dT.prototype.setThumbs=dT.prototype.jv;dT.prototype.setTitle=dT.prototype.Xc;dT.prototype.setSubTitle=dT.prototype.ZJa;dT.prototype.setUiVersion=dT.prototype.HU;dT.prototype.setUploadToAlbumId=dT.prototype.jo;dT.prototype.toUri=dT.prototype.tk;x("picker.api.UploadConfigurationBuilder",eT,void 0);eT.prototype.build=eT.prototype.Gk;
eT.prototype.setUploadErrorText=eT.prototype.Eda;eT.prototype.setDragErrorText=eT.prototype.RT;eT.prototype.setDropZoneText=eT.prototype.VT;eT.prototype.setDropZoneAltText=eT.prototype.UT;eT.prototype.setSelectFilesLabel=eT.prototype.xU;eT.prototype.setServiceId=eT.prototype.qI;eT.prototype.setUrl=eT.prototype.bm;x("picker.api.UploadConfigurationBuilder.createPhotosBuilder",gT,void 0);
x("picker.api.UploadConfigurationBuilder.createVideosBuilder",function(a){var b='By uploading videos, you agree to the <a target="_blank" class="upload-text-a" href="'+(fT(a)+'">Upload Terms and Conditions</a>.');return gT(a).qHa([mq]).zca(b).xU("Choose videos to upload").RT("Oops, you dragged more than one image!").VT("Drag videos here").UT(Jd)},void 0);var hT=function(a){switch(a){case 6:case 9:case 8:case 1:return Xk;case 2:return Hj;case 7:return Ie;case 5:return wh;case 0:return"noerror";default:return Kp}},iT=function(a){switch(a){case Ie:return"Canceled";case Xk:return"Lost connection to server";case Hj:return"Unable to read file";case on:return"Security error";case yn:return"Server rejected";case xn:return"Server returned invalid response";default:return"Unexpected error"}};var jT=function(a){M.call(this);this.wg=a;this.Xq=this.Ig="";this.N=new rA(this)};C(jT,M);t=jT.prototype;t.Y=QC("apps.uploader.net.FileIo");t.dispatchEvent=function(a){try{return jT.g.dispatchEvent.call(this,a)}catch(b){RC(this.Y,Vc,b)}};t.getFile=function(){return this.wg};t.WD=function(){return this.Ig};t.Te=function(){return this.Xq};t.wJa=function(a){this.Xq=a};t.send=function(a){this.Ig=a;this.Yn(a)};
t.jn=function(a){TC(this.Y,"Got upload response:\n"+a);this.Xq=a||"";var b;try{b=PD(this.Xq)}catch(c){this.handleError(xn,Ad);return}void 0!=b.sessionStatus?(null!=this.wg.Rc&&this.bk(this.wg.Rc),this.dispatchEvent(Mo)):void 0!=b.errorMessage?this.handleError(yn,"Server rejected upload."):this.handleError(xn,Ad)};t.handleError=function(a,b){this.wg.$T(a,z(b)?b:b.message);this.dispatchEvent(sh)};t.bk=function(a){this.wg.kca(a);this.dispatchEvent(Km)};
t.nL=function(){throw Error("computeMd5() not implemented");};t.C=function(){return this.N};t.B=function(){jT.g.B.call(this);Rt(this.N)};var kT=function(a,b,c){jT.call(this,a);this.E2=b;this.fN=c;this.YA=!1};C(kT,jT);kT.prototype.Y=QC("apps.uploader.net.FlashFileIo");kT.prototype.abort=function(){this.YA&&Wq(this.fN.cancelUpload)&&this.fN.cancelUpload(this.E2.id)};kT.prototype.Yn=function(a){this.fN.startUpload(this.E2.id,a);this.YA=!0};
kT.prototype.Lva=function(a){switch(a.type){case "onOpen":TC(this.Y,"Flash:onOpen "+this.getFile());break;case "onProgress":this.bk(a.bytesLoaded);break;case el:this.jn(a.data);break;case "onHttpError":this.handleError(Xk,"HTTP Error "+a.code);break;case gl:this.handleError(on,a.error);break;case "onIoError":this.handleError(Hj,"An error occured while reading the file.")}};var lT=["classid","data","movie",Ip,"typemustmatch"],mT=function(a,b){var c={},e;for(e in a)D(e.toLowerCase()==e,Ed),c[e]=a[e];for(e in b){var f=e.toLowerCase();f in a&&delete c[f];c[e]=b[e]}f=[];for(e in c)f.push(iw("param",{name:e,value:c[e]}));return f},nT=function(a,b,c){var e=function(a,b,c){for(var e in b)for(var m=e.toLowerCase(),p=0;p<a.length;p++){var u=a[p];D(u.toLowerCase()==u);if(m==u)throw Error(Bc+u+'" '+c+', got "'+e+za+b[e]+'"');}};e(a,b,"attribute");e(a,c,"param")};var oT=function(){};var pT=function(){};C(pT,oT);pT.prototype.Ga=function(){var a=0;Lx(this.jf(!0),function(b){as(b);a++});return a};pT.prototype.clear=function(){var a=Qx(this.jf(!0)),b=this;E(a,function(a){b.remove(a)})};var qT=function(a){this.pi=a};C(qT,pT);t=qT.prototype;t.QP=function(){if(!this.pi)return!1;try{return this.pi.setItem("__sak","1"),this.pi.removeItem("__sak"),!0}catch(a){return!1}};t.set=function(a,b){try{this.pi.setItem(a,b)}catch(c){if(0==this.pi.length)throw"Storage mechanism: Storage disabled";throw be;}};t.get=function(a){a=this.pi.getItem(a);if(!z(a)&&null!==a)throw ae;return a};t.remove=function(a){this.pi.removeItem(a)};t.Ga=function(){return this.pi.length};
t.jf=function(a){var b=0,c=this.pi,e=new Jx;e.next=function(){if(b>=c.length)throw Ix;var e=as(c.key(b++));if(a)return e;e=c.getItem(e);if(!z(e))throw ae;return e};return e};t.clear=function(){this.pi.clear()};t.key=function(a){return this.pi.key(a)};var rT=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.pi=a};C(rT,qT);var tT=function(a,b){this.Yea=a;this.eg=null;if(G&&!lu(9)){sT||(sT=new Q);this.eg=sT.get(a);this.eg||(b?this.eg=document.getElementById(b):(this.eg=document.createElement("userdata"),this.eg.addBehavior("#default#userData"),document.body.appendChild(this.eg)),sT.set(a,this.eg));try{this.FAa()}catch(c){this.eg=null}}};C(tT,pT);var uT={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},sT=null,vT=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return uT[a]})};
t=tT.prototype;t.QP=function(){return!!this.eg};t.set=function(a,b){this.eg.setAttribute(vT(a),b);this.gT()};t.get=function(a){a=this.eg.getAttribute(vT(a));if(!z(a)&&null!==a)throw ae;return a};t.remove=function(a){this.eg.removeAttribute(vT(a));this.gT()};t.Ga=function(){return this.iO().attributes.length};
t.jf=function(a){var b=0,c=this.iO().attributes,e=new Jx;e.next=function(){if(b>=c.length)throw Ix;var e=D(c[b++]);if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!z(e))throw ae;return e};return e};t.clear=function(){for(var a=this.iO(),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);this.gT()};t.FAa=function(){this.eg.load(this.Yea)};t.gT=function(){try{this.eg.save(this.Yea)}catch(a){throw be;}};t.iO=function(){return this.eg.XMLDocument.documentElement};var wT=function(a,b){this.ez=a;this.ck=b+"::"};C(wT,pT);wT.prototype.set=function(a,b){this.ez.set(this.ck+a,b)};wT.prototype.get=function(a){return this.ez.get(this.ck+a)};wT.prototype.remove=function(a){this.ez.remove(this.ck+a)};wT.prototype.jf=function(a){var b=this.ez.jf(!0),c=this,e=new Jx;e.next=function(){for(var e=b.next();e.substr(0,c.ck.length)!=c.ck;)e=b.next();return a?e.substr(c.ck.length):c.ez.get(e)};return e};var xT=function(a){var b=new rT;(b=b.QP()?a?new wT(b,a):b:null)||(a=new tT(a||"UserDataSharedStore"),b=a.QP()?a:null);return b};var yT=function(a){this.Cl=a};yT.prototype.set=function(a,b){w(b)?this.Cl.set(a,RD(b)):this.Cl.remove(a)};yT.prototype.get=function(a){var b;try{b=this.Cl.get(a)}catch(c){return}if(null!==b)try{return OD(b)}catch(c){throw ce;}};yT.prototype.remove=function(a){this.Cl.remove(a)};var zT=function(a){this.Vla=a;this.sb={};this.Nn={};this.Wo=null;this.N=new rA;this.wa(this.N);if(a=xT("google-upload"))this.Wo=new yT(a),this.DEa()};C(zT,F);var AT=function(){this.Ao=[];this.Hu=null};t=zT.prototype;t.D=QC("apps.uploader.common.Stats");t.oC=function(a,b,c,e,f){a&&b&&(f=f||B(),V(this.D,"Collect: "+b+", "+c+", "+e+", "+f),c={time:f,type:c},e&&(c.details=e),this.sb[a]||(this.sb[a]={}),this.sb[a][b]||(this.sb[a][b]=new AT),this.sb[a][b].Ao.push(c))};
t.Hua=function(a,b,c,e){if(b&&!(1>=b.length)){var f=b[0];V(this.D,"Grouped uploads with group id: "+f);b={upload_id:b};c&&(b.latency_ms=c);e&&(b.total_size=e);this.sb[a]||(this.sb[a]={});this.sb[a][f]||(this.sb[a][f]=new AT);this.sb[a][f].Hu=b}};
t.report=function(){if(!lt(this.sb))for(var a in this.sb)if(!lt(this.sb[a])){var b=RD(this.$qa(this.sb[a]));V(this.D,"Sending stats report:\n"+b);this.Nn[a]=this.sb[a];this.sb[a]={};var c=this.qna();this.N.o(c,Mo,A(this.Lwa,this,a));this.N.o(c,sh,A(this.Kwa,this,a));c.send(a,Kd,b)}};
t.$qa=function(a){var b=[],c=[],e;for(e in a)a[e].Ao&&0<a[e].Ao.length&&b.push({upload_id:e,events:a[e].Ao,client_version:this.Vla}),a[e].Hu&&c.push(a[e].Hu);a={};0<b.length&&(a.upload_events=b);0<c.length&&(a.related_uploads=c);return a};t.qR=function(a,b){for(var c in b)a[c]?(a[c].Ao=a[c].Ao.concat(b[c].Ao),b[c].Hu&&(a[c].Hu=b[c].Hu)):a[c]=b[c]};t.qna=function(){return new YD};t.Lwa=function(a){this.Nn[a]={}};t.Kwa=function(a){this.qR(this.Nn[a],this.sb[a]);this.sb[a]=this.Nn[a];this.Nn[a]={}};
t.oQ=function(){return!!this.Wo};t.PLa=function(){if(this.oQ()){var a=null;try{a=this.Wo.get(Eo)}catch(e){return}a||(a={});for(var b in this.Nn){var c=a[b]||{};this.qR(c,this.Nn[b]);a[b]=c}for(b in this.sb)c=a[b]||{},this.qR(c,this.sb[b]),a[b]=c;this.Wo.set(Eo,a);this.Nn={};this.sb={}}};t.DEa=function(){if(this.oQ())try{this.sb=this.Wo.get(Eo),this.RNa(),this.sb?this.Wo.remove(Eo):this.sb={}}catch(a){this.sb={}}};
t.RNa=function(){if(this.sb)if(this.sb instanceof Object)for(var a in this.sb)if(this.sb[a]instanceof Object){var b=this.sb[a],c;for(c in b)b[c].Ao||delete b[c]}else delete this.sb[a];else this.sb={}};t.clear=function(){this.oQ()&&this.Wo.set(Eo,{})};var BT=function(a){this.Cl=a};C(BT,yT);var CT=function(a){this.data=a},DT=function(a){return!w(a)||a instanceof CT?a:new CT(a)},ET=function(a){a=a.data;if(!w(a))throw ce;return a};BT.prototype.set=function(a,b){BT.g.set.call(this,a,DT(b))};BT.prototype.Jp=function(a){a=BT.g.get.call(this,a);if(!w(a)||a instanceof Object)return a;throw ce;};BT.prototype.get=function(a){return(a=this.Jp(a))?ET(a):void 0};var FT=function(a){this.Cl=a};C(FT,BT);var GT=function(a){var b=a.creation;a=a.expiration;return!!a&&a<B()||!!b&&b>B()};FT.prototype.set=function(a,b,c){if(b=DT(b)){if(c){if(c<B()){FT.prototype.remove.call(this,a);return}b.expiration=c}b.creation=B()}FT.g.set.call(this,a,b)};FT.prototype.Jp=function(a,b){var c=FT.g.Jp.call(this,a);if(c)if(!b&&GT(c))FT.prototype.remove.call(this,a);else return c};var HT=function(a){this.Cl=a};C(HT,FT);HT.prototype.gsa=function(a,b){var c=[];Lx(a,function(a){var f;try{f=HT.prototype.Jp.call(this,a,!0)}catch(g){if(g==ce){b&&c.push(a);return}throw g;}if(!w(f))c.push(a);else if(GT(f))c.push(a);else if(b)try{ET(f)}catch(g){if(g==ce)c.push(a);else throw g;}},this);return c};HT.prototype.$la=function(a,b){var c=this.gsa(a,b);E(c,function(a){HT.prototype.remove.call(this,a)},this);return c};HT.prototype.oC=function(a){this.$la(this.Cl.jf(!0),a)};var IT=function(){this.ua=[];this.Hy=this.Gy=0};IT.prototype.IIa=function(a,b){ds(a,"Key parameter must be a byte array");b||(b=a.length);for(var c=this.ua,e=0;256>e;++e)c[e]=e;for(var f=0,e=0;256>e;++e){var f=f+c[e]+a[e%b]&255,g=c[e];c[e]=c[f];c[f]=g}this.Hy=this.Gy=0};IT.prototype.Goa=function(a){for(var b=this.Gy,c=this.Hy,e=this.ua,f=0;f<a;++f){var b=b+1&255,c=c+e[b]&255,g=e[b];e[b]=e[c];e[c]=g}this.Gy=b;this.Hy=c};
IT.prototype.Mna=function(a,b){b||(b=a.length);for(var c=this.Gy,e=this.Hy,f=this.ua,g=0;g<b;++g){var c=c+1&255,e=e+f[c]&255,h=f[c];f[c]=f[e];f[e]=h;a[g]^=f[f[c]+f[e]&255]}this.Gy=c;this.Hy=e};var JT=function(){this.nf=-1};var KT=function(){this.nf=64;this.eb=[];this.MK=[];this.bja=[];this.NG=[];this.NG[0]=128;for(var a=1;a<this.nf;++a)this.NG[a]=0;this.fJ=this.Pt=0;this.reset()};C(KT,JT);KT.prototype.reset=function(){this.eb[0]=1732584193;this.eb[1]=4023233417;this.eb[2]=2562383102;this.eb[3]=271733878;this.eb[4]=3285377520;this.fJ=this.Pt=0};
KT.prototype.xm=function(a,b){b||(b=0);var c=this.bja;if(z(a))for(var e=0;16>e;e++)c[e]=a.charCodeAt(b)<<24|a.charCodeAt(b+1)<<16|a.charCodeAt(b+2)<<8|a.charCodeAt(b+3),b+=4;else for(e=0;16>e;e++)c[e]=a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3],b+=4;for(e=16;80>e;e++){var f=c[e-3]^c[e-8]^c[e-14]^c[e-16];c[e]=(f<<1|f>>>31)&4294967295}for(var g=this.eb[0],h=this.eb[1],k=this.eb[2],m=this.eb[3],p=this.eb[4],u,e=0;80>e;e++)40>e?20>e?(f=m^h&(k^m),u=1518500249):(f=h^k^m,u=1859775393):60>e?(f=h&k|m&(h|k),u=2400959708):
(f=h^k^m,u=3395469782),f=(g<<5|g>>>27)+f+p+u+c[e]&4294967295,p=m,m=k,k=(h<<30|h>>>2)&4294967295,h=g,g=f;this.eb[0]=this.eb[0]+g&4294967295;this.eb[1]=this.eb[1]+h&4294967295;this.eb[2]=this.eb[2]+k&4294967295;this.eb[3]=this.eb[3]+m&4294967295;this.eb[4]=this.eb[4]+p&4294967295};
KT.prototype.update=function(a,b){if(null!=a){w(b)||(b=a.length);for(var c=b-this.nf,e=0,f=this.MK,g=this.Pt;e<b;){if(0==g)for(;e<=c;)this.xm(a,e),e+=this.nf;if(z(a))for(;e<b;){if(f[g]=a.charCodeAt(e),++g,++e,g==this.nf){this.xm(f);g=0;break}}else for(;e<b;)if(f[g]=a[e],++g,++e,g==this.nf){this.xm(f);g=0;break}}this.Pt=g;this.fJ+=b}};
KT.prototype.digest=function(){var a=[],b=8*this.fJ;56>this.Pt?this.update(this.NG,56-this.Pt):this.update(this.NG,this.nf-(this.Pt-56));for(var c=this.nf-1;56<=c;c--)this.MK[c]=b&255,b/=256;this.xm(this.MK);for(c=b=0;5>c;c++)for(var e=24;0<=e;e-=8)a[b]=this.eb[c]>>e&255,++b;return a};var LT=function(a,b){this.Cl=a;this.Lba=uL(b);this.Ula=new QD};C(LT,HT);t=LT.prototype;
t.dP=function(a){var b=new KT;b.update(uL(a));b.update(this.Lba);a=b.digest();D(Tq(a),"encodeByteArray takes an array as a parameter");if(!wL)for(wL={},xL={},b=0;65>b;b++)wL[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(b),xL[b]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(b);for(var b=xL,c=[],e=0;e<a.length;e+=3){var f=a[e],g=e+1<a.length,h=g?a[e+1]:0,k=e+2<a.length,m=k?a[e+2]:0,p=f>>2,f=(f&3)<<4|h>>4,h=(h&15)<<2|m>>6,m=m&63;k||(m=64,
g||(h=64));c.push(b[p],b[f],b[h],b[m])}return c.join("")};t.N1=function(a,b,c){if(!(0<a.length))throw Error("Non-empty salt must be provided");var e=new KT;e.update(uL(b));e.update(a);e.update(this.Lba);a=new IT;a.IIa(e.digest());a.Goa(1536);c=uL(c);a.Mna(c);if(8192>=c.length)c=String.fromCharCode.apply(null,c);else{e="";for(a=0;a<c.length;a+=8192)b=Qs(c,a,a+8192),e+=String.fromCharCode.apply(null,b);c=e}return c};t.goa=function(a,b,c){return this.N1(a,b,c)};
t.set=function(a,b,c){if(w(b)){for(var e=[],f=0;8>f;++f)e[f]=Math.floor(256*Math.random());b=new CT(this.N1(e,a,this.Ula.Zn(b)));b.salt=e;LT.g.set.call(this,this.dP(a),b,c)}else LT.prototype.remove.call(this,a)};t.Jp=function(a,b){var c=LT.g.Jp.call(this,this.dP(a),b);if(c){var e=ET(c),f=c.salt;if(!z(e)||!Sq(f)||!f.length)throw ce;e=this.goa(f,a,e);try{c.data=OD(e)}catch(g){throw"Storage: The value could not be decrypted";}return c}};t.remove=function(a){LT.g.remove.call(this,this.dP(a))};var OT=function(a,b){w(a.name)?(this.name=a.name,this.code=MT[a.name]):(this.code=a.code,this.name=NT(a.code));gr.call(this,kr("%s %s",this.name,b))};C(OT,gr);var NT=function(a){var b=kt(MT,function(b){return a==b});if(!w(b))throw Error("Invalid code: "+a);return b},MT={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};var PT=function(a,b){J.call(this,a.type,b);this.Vc=a};C(PT,J);var QT=function(){M.call(this);this.Yf=new FileReader;this.Yf.onloadstart=A(this.As,this);this.Yf.onprogress=A(this.As,this);this.Yf.onload=A(this.As,this);this.Yf.onabort=A(this.As,this);this.Yf.onerror=A(this.As,this);this.Yf.onloadend=A(this.As,this)};C(QT,M);t=QT.prototype;t.abort=function(){try{this.Yf.abort()}catch(a){throw new OT(a,"aborting read");}};t.Ep=function(){return this.Yf.readyState};t.getError=function(){return this.Yf.error&&new OT(this.Yf.error,"reading file")};
t.As=function(a){this.dispatchEvent(new PT(a,this))};t.B=function(){QT.g.B.call(this);delete this.Yf};t.readAsBinaryString=function(a){this.Yf.readAsBinaryString(a)};t.readAsArrayBuffer=function(a){this.Yf.readAsArrayBuffer(a)};var ST=function(a){var b=new QT,c=RT(b);b.readAsArrayBuffer(a);return c};QT.prototype.readAsText=function(a,b){this.Yf.readAsText(a,b)};
var RT=function(a){var b=new YG;a.o("loadend",cr(function(a,b){var f=b.Yf.result,g=b.getError();null==f||g?a.tf(g):a.Ad(f);b.dispose()},b,a));return b};var TT=function(a){var b=v.BlobBuilder||v.WebKitBlobBuilder;if(w(b)){for(var b=new b,c=0;c<arguments.length;c++)b.append(arguments[c]);return b.getBlob()}b=Os(arguments);c=v.BlobBuilder||v.WebKitBlobBuilder;if(w(c)){for(var c=new c,e=0;e<b.length;e++)c.append(b[e],void 0);b=c.getBlob(void 0)}else if(w(v.Blob))b=new Blob(b,{});else throw Error("This browser doesn't seem to support creating Blobs");return b},UT=function(a,b,c){w(c)||(c=a.size);return a.webkitSlice?a.webkitSlice(b,c):a.mozSlice?a.mozSlice(b,
c):a.slice?H&&!I("13.0")||Yt&&!I("537.1")?(0>b&&(b+=a.size),0>b&&(b=0),0>c&&(c+=a.size),c<b&&(c=b),a.slice(b,c-b)):a.slice(b,c):null};var VT=function(a,b){for(var c=[a],e=b.length-1;0<=e;--e)c.push(typeof b[e],b[e]);return c.join("\x0B")};var WT=function(a,b){var c=b||VT;return function(){var b=this||v,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),f=c($q(a),arguments);return b.hasOwnProperty(f)?b[f]:b[f]=a.apply(this,arguments)}}(function(){if(!v.Blob)return!1;var a=new Uint8Array(100),b;try{b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var ZT=function(a,b,c,e,f,g){M.call(this);this.pa=XT++;this.QGa=B();this.ei=YT(a)||"";this.Rc=null!=b?b:null;this.s9=new Q;this.nH=YT(c);this.Qg=e;this.Hpa={};new Q;this.aj=g||null;V(this.D,"Created new "+this)};C(ZT,M);var $T={DEFAULT:Jg,Pha:Fj,FTa:Wm,oB:Co,Via:Gp,Qia:Mo,ERROR:sh,gia:Hl,si:Zf};t=ZT.prototype;t.D=QC("apps.uploader.File");t.as=0;t.Lc="noerror";t.FF="";t.lk=null;t.CA=null;t.LL=null;t.Fr=null;t.A7=!1;t.eGa=0;t.sZ=!1;
var XT=0,YT=function(a){if(!a)return a;au&&(a=a.replace(/\\/g,"/"));jr(a,"/")&&(a=a.substring(0,a.length-1));return a};t=ZT.prototype;t.getId=function(){return String(this.pa)};t.getName=function(){var a=this.yD();return this.nH?this.nH+"/"+a:a};t.getExtension=function(){var a=this.getName(),b=a.lastIndexOf(".");return 0>b?null:a.substr(b+1)};t.Dsa=function(){if(!this.Rc)return null;var a=new KT;a.update(uL(this.ei+"|"+this.Rc));return vL(a.digest())};t.yD=function(){return this.ei.split("/").pop()};
t.qJa=function(a){this.nH=YT(a)};t.Ie=function(a){this.ei=YT(a)};t.getPath=function(){return this.ei};t.kca=function(a){this.as=a};t.$T=function(a,b){this.Lc=a;this.FF=b||""};t.Yz=function(a){this.Rc=a};t.Qca=function(a){this.A7=a};t.UIa=function(a){this.s9=new Q(a)};t.sda=function(a){this.lk=a};t.YJa=function(a){this.CA=a};t.qca=function(a){this.LL=a};t.zO=function(){return this.LL?this.LL:this.lk};t.IU=function(a){this.Fr=a};
t.DIa=function(a){var b={};a=a.replace(/\r/g,"").split("\n");for(var c=0;c<a.length;c++){var e=a[c],f=e.indexOf(":");0>f||(b[e.substring(0,f)]=e.substring(f+2,e.length))}new Q(b)};t.lza=function(){return"."==this.yD()};t.gca=function(a){if(this.jka=a)this.Rc=a.size};t.DHa=function(a){this.sZ=a};t.toString=function(){return["File(id:",this.pa,", path:",this.ei,", relativeDirectoryPath:",this.nH,", selectionId:",this.Qg,", bytesTransferred:",this.as,", bytesTotal:",this.Rc,")"].join("")};var aU=function(a,b,c,e,f,g,h){ZT.call(this,a,b,c,e,g);this.l2=f;this.d1=h;this.bx=[];this.V1={};this.yoa=[]};C(aU,ZT);t=aU.prototype;t.addEntry=function(a){a.lza()?this.yoa.push(a):(this.bx.push(a),this.V1[a.yD()]=this.bx.length-1)};t.esa=function(a){a=this.V1[a];return void 0!=a?this.bx[a]:null};t.getEntries=function(){return this.bx};
t.j_=function(){for(var a=0,b=1,c=0,e=this.bx,f=0;f<e.length;f++){var g=e[f];if(g instanceof aU){var h=g;h.j_();a+=h.l2;b+=h.d1}else a+=1;c+=g.Rc}this.Yz(c);this.iIa(a);this.THa(b)};t.iIa=function(a){this.l2=a};t.THa=function(a){this.d1=a};var bU=function(a,b,c){J.call(this,a,c);this.files=b};C(bU,J);var cU=function(a,b,c){J.call(this,a,c);this.file=b};C(cU,J);var dU=function(a,b,c){cU.call(this,"uploadmessagechanged",a,c);this.message=b};C(dU,cU);var eU=function(a,b,c,e){cU.call(this,"filepreviewready",a,e);this.eXa=b};C(eU,cU);var fU=function(a,b,c){J.call(this,a,c);this.Bo=b};C(fU,J);var gU=function(a){this.file=a};t=gU.prototype;t.yT=null;t.Om=null;t.FS=null;t.blob=null;t.pza=!1;t.state=Jg;var hU=function(a){this.file=a};C(hU,gU);hU.prototype.cN=null;hU.prototype.G2="";var iU=function(a,b){M.call(this);this.wg=a.file;this.Mpa=a.Om;this.lk=b;this.$Q=this.pH=this.zaa=this.oH=null;this.Sn=!1;this.Y=QC("apps.uploader.Recovery")};C(iU,M);
iU.prototype.start=function(){if(this.Sn)RC(this.Y,"A recovery process is already running");else{this.Sn=!0;var a=new YD;K(a,vg,A(function(){if(this.Sn){if(308==a.dn()){var b=a.getResponseHeader("Range");this.oH=a.getResponseHeader("X-Range-MD5")||null;var c=a.Te(),e=null,f=null;try{e=PD(c).sessionStatus,f=e.externalFieldTransfers[0].formPostInfo||e.externalFieldTransfers[0].putInfo}catch(g){}if(b&&this.oH&&e&&f&&(b=/^bytes=(\d+)-(\d+)$/.exec(b))&&(this.zaa=Number(b[1]),this.pH=Number(b[2])+1,0==
this.zaa&&0<this.pH)){this.Mpa.nL(this.pH,A(function(a){this.Sn&&(this.$Q=a,this.$Q==this.oH?(this.wg.sda(f.url||this.lk),this.wg.qca(f.cross_domain_url),this.wg.kca(this.pH),this.wg.IU(e.upload_id||mD(this.lk,"upload_id")),this.Sn=!1,this.dispatchEvent(Mo)):(this.Sn=!1,V(this.Y,"Hash mismatch, local: "+this.$Q+", remote: "+this.oH),this.dispatchEvent("error_hashing")))},this));this.dispatchEvent("hashing");return}}this.Sn=!1;V(this.Y,"Query error, status: "+a.dn());this.dispatchEvent(th)}},this));
a.send(this.lk,Kd,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.wg.Rc});this.dispatchEvent("querying")}};iU.prototype.cancel=function(){this.Sn=!1;this.dispatchEvent("canceled")};var jU=function(a,b){M.call(this);this.wg=a;this.ua="INITIALIZING";this.gL=this.lD=this.s2=null;this.xfa=b;this.N=new rA(this)};C(jU,M);t=jU.prototype;t.D=QC("apps.uploader.Session");t.cB=!1;t.getFile=function(){return this.wg};t.setState=function(a){this.ua=a};t.getState=function(){return this.ua};t.LHa=function(a){this.gL=a};t.Xs=function(){return this.gL};t.Hda=function(a){this.cB=a};
t.start=function(a){var b=this.xma(A(this.nxa,this),A(this.EE,this)),c=this.xna();try{var e={};st(e,this.getFile().Hpa);var f={};f["X-GUploader-Client-Info"]="mechanism="+this.gL+"; clientVersion=125118363";st(e,f);var g=RD(c);TC(this.D,"Sending create session request to: "+a+"\n"+g);b.send(a,Kd,g,e)}catch(h){throw RC(this.D,"Failed to send create session request",h),h;}};t.xma=function(a,b){var c=new YD;c.MU(!0);this.N.o(c,Mo,a).o(c,sh,b);return c};
t.nxa=function(a){try{var b=a.target.Te();TC(this.D,"Got create session response:\n"+b);var c=PD(b);if(void 0!=c.sessionStatus){var e=c.sessionStatus,f;switch(this.xfa){case 0:f="formPostInfo";break;case 1:f="putInfo";break;default:f="formPostInfo"}this.setState(e.state);var g=e.upload_id,h=e.externalFieldTransfers[0],k=h[f].url;this.cB&&(k=xD(k).ho("").mk("").toString());var m=h[f].cross_domain_url,p=this.getFile();p.sda(k);p.qca(m);p.IU(g);p.YJa(a.target.getResponseHeader("X-GUploader-Stats-URL"));
p.DIa(a.target.getAllResponseHeaders());this.dispatchEvent(Do,a.target)}else if(void 0!=c.errorMessage){var u=c.errorMessage,g=u.upload_id,p=this.getFile();p.IU(g);this.CT(u);this.EE(a,yn)}else this.EE(a,xn)}catch(y){SC(this.D,"Invalid response to the create session request",y),this.EE(a,xn)}};t.baa=function(a){a=PD(a);void 0!=a.sessionStatus?(this.setState(a.sessionStatus.state),this.CT(a.sessionStatus)):void 0!=a.errorMessage&&(this.setState("FAILED"),this.CT(a.errorMessage))};
t.CT=function(a){a=a.additionalInfo["uploader_service.GoogleRupioAdditionalInfo"];this.s2=a.completionInfo.status;this.lD=a.completionInfo.customerSpecificInfo};t.EE=function(a,b,c){this.setState("FAILED");b||(b=hT(a.target.Lc),c=a.target.VD());this.wg.$T(b,c);this.dispatchEvent("starterror",a.target)};t.dispatchEvent=function(a,b){z(a)?a=new kU(a,this,b):a.request=b;try{return jU.g.dispatchEvent.call(this,a)}catch(c){RC(this.D,Vc,c)}};
t.xna=function(){var a={protocolVersion:"0.8",createSessionRequest:{fields:[]}};this.JFa(a,this.getFile());return a};t.JFa=function(a,b){this.IFa(a.createSessionRequest,b);lU(a,b.s9)};t.IFa=function(a,b){var c={external:{name:Fh,filename:b.yD()}},e;switch(this.xfa){case 0:e="formPost";break;case 1:e="put";break;default:e="formPost"}c.external[e]={};e=b.Rc;null==e||b.A7||(c.external.size=e);a.fields.push(c)};
var lU=function(a,b){mC(b,function(b,e){a.createSessionRequest.fields.push({inlined:{name:e,content:b,contentType:"text/plain"}})})};jU.prototype.toString=function(){return"Session(state:"+this.getState()+")"};jU.prototype.B=function(){jU.g.B.call(this);Rt(this.N)};var kU=function(a,b,c){J.call(this,a,b);this.request=c||null};C(kU,J);var mU=function(){M.call(this);this.ug=[];this.Os=new Q;this.uaa={};this.pE={};this.jga={};this.Gr=new NL;this.N=new rA(this);this.wa(this.N);this.Yc=new zT("125118363");this.wa(this.Yc);try{this.N.o(window,Lp,this.Ixa)}catch(a){V(this.Y,"Failed to add unload listener",a)}this.Yc.report()};C(mU,M);t=mU.prototype;t.Y=QC("apps.uploader.BaseUploader");t.Fo=!0;t.FB=!1;t.FEa=cr(function(){return cH(!0)});t.Qu="";t.GC=0;t.aBa=1;t.WY=!0;t.lu=!0;t.Pm=null;t.iY=!1;t.lY=!1;t.cB=!1;t.x9=51200;
t.LJa=function(a){this.Qu=a};t.zHa=function(a){this.WY=a};t.fv=function(a){this.lu=a};t.WH=function(a){this.iY=a};t.Us=function(){return this.iY&&this.UP()};t.Hda=function(a){this.cB=a};t.v3=function(a){return this.Zoa?this.Zoa(a):this.OWa};t.oKa=function(a){if(this.FB&&this.iQ()){var b=xT("google-upload-recovery");b&&(this.ek=new LT(b,a))}};t.oHa=function(a){this.FB=a};t.C=function(){return this.N};t.dispatchEvent=function(a){try{return mU.g.dispatchEvent.call(this,a)}catch(b){SC(this.Y,Vc,b)}};
t.getFile=function(a){return(a=this.Os.get(a))?a.file:null};t.Ae=function(a){var b=this.Os.get(a.getId());b||(b=this.vL(a),this.Os.set(a.getId(),b));return b};t.Eu=function(a){this.Gr.contains(a)||this.st(a)||this.cl(a)!=Jg||(a instanceof aU||this.Gr.enqueue(a),this.nk(a,Fj),this.Npa())};t.st=function(a){return this.Ae(a).yT};t.TN=function(a){return this.Ae(a).Om};
t.ds=function(a,b){switch(this.cl(a)){case Mo:case sh:case Zf:return}var c=this.TN(a),e=this.st(a),f=this.Ae(a).FS,g=B(),h=b||!1;e&&this.N.Ja(e,Do,this.p$,!1,this);c&&(c.abort(),this.Ae(a).Om=null,h||this.RGa(a));f&&(f.cancel(),this.Ae(a).FS=null);this.Gr.remove(a);this.Cz(a,Zf);this.mL(a,g);this.Ae(a).yT=null;this.bU(a,Ie);this.nk(a,Zf);if(a instanceof aU)for(c=a.getEntries(),e=0;e<c.length;e++)this.ds(c[e],h)};t.aE=function(){return this.ug.length};
t.Vr=function(a){this.ug.push(a);this.Os.get(a.getId())||this.Os.set(a.getId(),this.vL(a));this.dispatchEvent(new cU("fileadded",a));this.hK(a)};t.tw=function(){E(Os(this.ug),function(a){switch(this.cl(a)){case Jg:case Mo:case Hl:case sh:case Zf:this.Tn(a)}},this)};t.VK=function(a){var b=a||!1;E(Os(this.ug),function(a){switch(this.cl(a)){case Jg:case Fj:this.ds(a,b)}},this);E(Os(this.ug),function(a){this.ds(a,b)},this)};t.bU=function(a,b,c){a.$T(b,c)};
t.nk=function(a,b){var c=this.cl(a);if(b!=c&&jt($T,b)){this.Ae(a).state=b;a.DHa(this.jQ()&&!(a instanceof aU)&&(b==sh||b==Zf));var e="";if(b==sh||b==Zf)e=iT(a.Lc);this.dispatchEvent(new dU(a,e));V(this.Y,"File state changed from ["+c+"] to ["+b+"]. "+a);this.dispatchEvent(new cU(cq,a));nU(c)&&!nU(b)&&(a.gca(void 0),this.GC--,this.uG())}};t.cl=function(a){return this.Ae(a).state};t.reset=function(){E(Os(this.ug),this.Tn,this)};t.ty=function(){return this.Gr.Zb()&&0==this.GC};t.UP=function(){return!1};
t.lq=function(){return!1};t.iQ=function(){return!1};t.MD=function(){return Os(this.ug)};t.Tn=function(a){this.ds(a);this.Os.remove(a.getId());Ls(this.ug,a);this.dispatchEvent(new cU("fileremoved",a))};t.RA=function(){};t.xn=function(){return!1};var nU=function(a){return Gs([Wm,Co,Gp],a)};t=mU.prototype;t.laa=function(a){this.Eu(a);if(a instanceof aU){a=a.getEntries();for(var b=0;b<a.length;b++)this.laa(a[b])}};t.wEa=function(a){this.WY&&this.laa(a)};t.Ny=function(a){return!!a.tagName};
t.fx=function(a){return this.Ny(a)?a:a.b()};t.vL=function(a){return new gU(a)};
t.uG=function(){this.ty()&&this.dispatchEvent("allfilescompleted");if(!this.GY()&&!this.Gr.Zb()){if(lr(this.Qu))throw Error("session server url has not been set");var a=this.Gr.Yo();if(!(a instanceof aU)){this.GC++;if(this.ek){var b=this.eE(a),c=null,e=null;try{e=(c=this.ek.Jp(b))?ET(c):void 0}catch(g){}if(c&&z(e)){var f=e;if(b=mD(e,"upload_id")){this.FEa(b).Vv(function(b){b?this.EEa(a,f,c.creation):this.oi(a)},function(){this.oi(a)},this);return}}}this.oi(a)}}};
t.oi=function(a){var b=this.wma(a);this.Ae(a).yT=b;var c=a.zO();c&&b.setState("OPEN");this.dispatchEvent(new cU("filesessioncreated",a,this));c?this.Rea(a,c):(b.start(this.Qu),this.nk(a,Co))};t.So=function(a){return new jT(a)};
t.YR=function(a){a=a.target;var b=a.getFile(),c=this.st(b),e=B();try{c.baa(a.Te());var f=c.getState(),g=c.s2;"FINALIZED"!=f||"SUCCESS"!=g&&"QUEUED"!=g?(this.bU(b,yn),this.nk(b,sh)):this.nk(b,Mo)}catch(h){RC(this.Y,"Invalid response to the upload request",h),this.bU(b,xn),this.nk(b,sh)}this.ek&&(this.ek.remove(this.eE(b)),this.ek instanceof HT&&this.cl(b)==Mo&&this.ek.oC());this.Cz(b,Mo);this.mL(b,e)};t.hK=function(a){this.wEa(a)};t.jQ=function(){return!1};t.yO=function(){return 0};
t.Ixa=function(){this.tw();for(var a=0;a<this.ug.length;a++){var b=this.ug[a];b&&b.CA&&b.Fr&&this.Yc.oC(b.CA,b.Fr,Lp,"",B())}this.Yc.PLa()};t.GY=function(){return this.GC>=this.aBa};t.Npa=function(){for(;!this.GY()&&!this.Gr.Zb();)this.uG()};
t.EEa=function(a,b,c){var e=this,f=this.Ae(a);f.Om||(f.Om=this.So(a));b=new iU(f,b,c);this.N.o(b,Mo,A(this.oi,this,a)).o(b,th,A(this.oi,this,a)).o(b,"error_hashing",A(this.oi,this,a)).o(b,"hashing",function(){e.dispatchEvent(new cU("filehashingstarted",a,e))});f.FS=b;b.start();this.nk(a,Wm)};
t.Rea=function(a,b){if(a.Lc!=Ie){if(this.ek){var c=this.eE(a);try{this.ek.set(c,a.lk,B()+864E6)}catch(k){}}c=this.Ae(a);c.Om||(c.Om=this.So(a));c=c.Om;this.nk(a,Gp);this.N.o(c,Mo,this.YR).o(c,sh,this.VCa).o(c,Km,this.WCa).o(c,Ff,this.UCa);if(!this.pE[a.getId()]){var e=a.Fr,f=[];this.jga[e]=B();for(var g=0;g<this.ug.length;g++){var h=this.ug[g];h&&!this.pE[h.getId()]&&(this.pE[h.getId()]=e,f.push(h))}this.uaa[e]=f}this.Cz(a,pn,""+(a.eGa||""),a.QGa);this.Cz(a,Co);this.dispatchEvent(new cU("fileiocreated",
a,this));c.send(b)}};t.Cz=function(a,b,c,e){e=e||B();var f=a.CA;a=a.Fr;f&&a&&(this.Yc.oC(f,a,b,c,e),this.Yc.report())};t.mL=function(a,b){var c=this.pE[a.getId()];if(c){var e=this.uaa[c];if(!(2>e.length||e[e.length-1]!=a)){var f=e[0].CA,g=0;if(f){var h=[],k;for(k in e)null!=e[k]&&null!=e[k].Fr&&(h.push(e[k].Fr),g+=e[k].Rc);this.Yc.Hua(f,h,parseInt(b-this.jga[c],10),g);this.Yc.report()}}}};t.eE=function(a){return this.Qu+":"+a.Dsa()};
t.wma=function(a){a=new jU(a,this.yO());a.LHa(this.Xs());this.cB&&a.Hda(!0);this.N.o(a,Do,this.p$).o(a,"starterror",this.JCa);return a};t.p$=function(a){a=a.target.getFile();var b=a.zO();if(b)this.Rea(a,b);else throw Error("no upload URL for "+a);};t.JCa=function(a){a=a.target.getFile();SC(this.Y,"SessionError: "+a.Lc+" "+a.FF+" "+a);this.nk(a,sh)};t.WCa=function(a){a=a.target.getFile();this.dispatchEvent(new cU(bq,a))};
t.VCa=function(a){a=a.target;var b=a.getFile(),c=B();SC(this.Y,"UploadError:"+b.Lc+" "+b.FF+" "+b);var e=this.st(b);try{e.baa(a.Te())}catch(f){SC(this.Y,"Invalid response to the upload request: ",a.Te())}this.nk(b,sh);this.Cz(b,sh,b.FF,B());this.mL(b,c);this.ek&&this.ek.remove(this.eE(b))};t.UCa=function(a){a=a.target.getFile();this.dispatchEvent(new cU("uploadbackoff",a))};t.RGa=function(a){(a=a.lk)&&(new YD).send(a,"DELETE")};var oU=function(){mU.call(this);this.wu=new Q;this.dN=new Q;this.m2=new Q;this.k2=new Q;this.eN=new Q;this.yz=new oC;this.Sq=new oC;this.nx=[]};C(oU,mU);var pU=Xv(Av(Bv("static/uploaderapi.swf"))),qU=1,rU=new Q;t=oU.prototype;t.vn="";t.gj=!1;t.qD=!1;t.kIa=function(a){this.rD=a};t.lIa=function(a){this.qD=a};t.fv=function(a){oU.g.fv.call(this,a);this.pqa(this.ada,this)};t.Zm=function(a){return this.dt(a).b(a||this.vn)};t.E3=function(a){return this.Zm(a||this.vn).parentNode};
t.I7=function(a){return this.eN.Ic(a||this.vn)};t.install=function(a){if(!a)throw Error(Al);this.dispatchEvent(new fU(Yp,this));this.GK(a)};t.SA=function(a){if(!a)throw Error(Al);this.dispatchEvent(new fU($p,this));this.RA(a)};t.Xs=function(){return"scotty flash"};t.Tt=function(){return this.I7()};t.vL=function(a){return new hU(a)};t.lm=function(a){this.gj=a||this.gj;this.I7()&&this.Fo&&this.Zm(this.vn).browse(this.lu,this.I3())};
t.RA=function(a){a=this.fx(a);var b=$q(a),c=this.dN.get(b);c&&c!=this.vn&&(this.ty()?this.dt(c).removeNode(this.E3(c)):this.nx.push(c),this.dN.remove(b),this.wu.remove(a))};t.uG=function(){oU.g.uG.call(this);if(this.ty()){for(var a=0;a<this.nx.length;a++)this.dt(this.nx[a]).removeNode(this.E3(this.nx[a]));this.nx=[]}};t.ds=function(a,b){this.Sq.remove(a.getId());oU.g.ds.call(this,a,b)};t.Eu=function(a){this.yz.contains(a.getId())?this.Sq.add(a.getId()):oU.g.Eu.call(this,a)};
t.oi=function(a){this.yz.contains(a.getId())||this.Yoa(a)};t.So=function(a){var b=this.Ae(a).cN;a=new kT(a,b,this.G3(a));this.m2.set(b.id,a);return a};t.ty=function(){return this.Sq.Zb()&&oU.g.ty.call(this)};t.nHa=function(a){var b=this.Fo;a=this.Zm(a);a.setAllowAddingFiles(b);qA(a,"uploader-overlay-hidden",!b)};t.pqa=function(a,b){E(this.eN.vb(),a,b)};t.ada=function(a){this.Zm(a).setMultiSelect(this.lu)};t.pHa=function(a){this.Zm(a).setAllowedFileTypes(this.I3())};
t.Pma=function(){return"FLASH_UPLOADER_"+qU++};t.G3=function(a){a=this.Ae(a).G2;return this.Zm(a)};t.dt=function(a){a=this.wu.get(a||this.vn);return N(a)};
t.GK=function(a){a=this.fx(a);var b=this.Pma();this.wu.set(b,a);this.dN.set($q(a),b);var c=this.dt(b);this.vn||(this.vn=b,c.getWindow().onUploaderApiReady=sU);rU.set(b,A(this.c$,this));U(a,Xp);var e=Sy(a),f=c.j(n,{"class":"upload-uploader-flash-content"});c.rl(f,a);R(f,Em,Ke);R(f,wq,zq);a.parentNode&&R(a.parentNode,Em,Ym);By(f,Cy(a));this.Oma(pU,f,b,e.width,e.height,{allowscriptaccess:"always",allownetworking:Se,wmode:this.qD?"window":Hp,flashvars:"apiId="+b+(this.rD?"&"+this.rD:"")})};
t.Oma=function(a,b,c,e,f,g){e={id:c,width:e,height:f};b=this.dt(c).b(b);G?(nT(lT,e,g),a=mT({allownetworking:Yk,allowscriptaccess:"never",movie:a},g),g=kw({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},e),a=iw(cl,g,a)):(nT(lT,e,g),g=mT({allownetworking:Yk,allowscriptaccess:"never"},g),a=kw({data:a,type:mf,typemustmatch:""},{},e),a=iw(cl,a,g));Aw(b,a);this.dispatchEvent(new fU(Ye,this))};
t.c$=function(a){var b=this.dt(a),c=this.Zm(a);if(c.addListener){this.eN.set(a,!0);var e=a+"flashFileSelection",b=b.getWindow();b[e]=A(this.RR,this);c.addListener("onSelected",e);e=a+"flashMouseEvent";b[e]=A(this.nCa,this);c.addListener("onMouseOver",e);c.addListener("onMouseOut",e);c.addListener("onMouseClick",e);e=a+"flashToFileIo";b[e]=A(this.eqa,this);c.addListener("onOpen",e);c.addListener("onProgress",e);c.addListener(el,e);c.addListener("onHttpError",e);c.addListener(gl,e);c.addListener("onIoError",
e);e=a+"flashImageEvent";b[e]=A(this.qCa,this);c.addListener(fl,e);c.addListener("onResizeReady",e);c.addListener("onLoadError",e);this.ada(a);this.pHa(a);this.nHa(a);this.dispatchEvent(new fU(Zp,this))}else Xu(A(this.c$,this,a))};
t.RR=function(a){this.dispatchEvent(new J(Jh));var b=a.apiId;this.Zm(b);this.gj&&this.tw();var c=a.files;this.lY&&Us(c,function(a,b){return sr(a.name,b.name,/\d+|\.\d+|\D+/g)});a=ys(c,function(a){return new ZT(a.name,a.size,void 0,void 0,a.modificationDate)});E(a,function(a,f){var g=this.Ae(a);g.G2=b;g.cN=c[f];this.k2.set(c[f].id,a)},this);this.dispatchEvent(new J(Ih));this.dispatchEvent(new bU(Kh,a))&&(E(a,function(a){this.Vr(a)},this),this.dispatchEvent(new bU(Ue,a)))};
t.Yoa=function(a){var b=this.v3(a);if(b){this.dispatchEvent(new cU(Hh,a));var c=this.G3(a);c.setMaxPixelDimension(Math.min(b.ce().width,b.ce().height));c.setMinImageByteCountForRescale(this.x9);c.resizeImage(this.Ae(a).cN.id,a.zO())}else oU.g.oi.call(this,a)};
t.qCa=function(a){var b=this.k2.get(a.file);switch(a.type){case fl:this.yz.remove(b.getId());this.dispatchEvent(new eU(b,"data:image/jpg;base64,"+a.data,a.version));this.Sq.contains(b.getId())&&(this.Sq.remove(b.getId()),this.Eu(b));break;case "onResizeReady":b.Yz(a.fileSize);this.dispatchEvent(new cU(Gh,b));oU.g.oi.call(this,b);break;case "onLoadError":this.yz.contains(b.getId())?(this.yz.remove(b.getId()),this.dispatchEvent(new cU("filepreviewerror",b)),this.Sq.contains(b.getId())&&(this.Sq.remove(b.getId()),
this.Eu(b))):(this.dispatchEvent(new cU(Gh,b)),oU.g.oi.call(this,b))}};t.eqa=function(a){this.m2.get(a.file).Lva(a)};t.nCa=function(a){var b;switch(a.type){case "onMouseOver":b="flashmouseover";break;case "onMouseOut":b="flashmouseout";break;case "onMouseClick":b="flashmouseclick"}a=this.wu.get(a.apiId);this.dispatchEvent({type:b,sourceOverlay:a})};t.I3=function(){var a=this.Pm;if(Sq(a)&&a.length)return[{description:"Allowed files",extension:"*"+a.join(";*")}]};var sU=function(a){rU.get(a)(a)};var vU=function(){M.call(this);this.je="closure_frame"+tU++;this.wP=[];uU[this.je]=this},wU;C(vU,M);var uU={},tU=0,xU=function(a,b){var c=N(a);mC(b,function(b,f){Sq(b)||(b=[b]);E(b,function(b){b=c.j(rd,{type:ej,name:f,value:b});a.appendChild(b)})})};t=vU.prototype;t.D=QC("goog.net.IframeIo");t.Jc=null;t.Aa=null;t.aq=null;t.CBa=0;t.Qa=!1;t.yw=!1;t.QI=!1;t.Ig=null;t.Vy=null;t.Lc=0;t.Zp=null;t.By=!1;
t.send=function(a,b,c,e){if(this.Qa)throw Error(De);this.Ig=a=new oD(a);b=b?b.toUpperCase():"GET";c&&a.Z8();V(this.D,"Sending iframe request: "+a+" ["+b+"]");wU||(wU=Ow("FORM"),wU.acceptCharset="utf-8",c=wU.style,c.position=Ke,c.visibility=ej,c.top=c.left="-10px",c.width=c.height="10px",c.overflow=ej,document.body.appendChild(wU));this.Jc=wU;"GET"==b&&xU(this.Jc,a.Ag());e&&xU(this.Jc,e);this.Jc.action=a.toString();this.Jc.method=b;this.Wba();this.SZ()};
t.Xba=function(a,b,c){if(this.Qa)throw Error(De);b=new oD(b||a.action);c&&b.Z8();V(this.D,"Sending iframe request from form: "+b);this.Ig=b;this.Jc=a;this.Jc.action=b.toString();this.Wba()};t.abort=function(a){if(this.Qa){V(this.D,"Request aborted");var b=this.fE();D(b);Qu(b);this.QI=this.Qa=this.yw=!1;this.Lc=a||7;this.dispatchEvent(Ie);this.fR()}};
t.B=function(){TC(this.D,"Disposing iframeIo instance");this.Qa&&(TC(this.D,"Aborting active request"),this.abort());vU.g.B.call(this);this.Aa&&this.Eba();this.r1();delete this.W1;this.Ig=this.Vy=this.Jc=null;this.Lc=0;delete uU[this.je]};t.gF=function(){return this.yw};t.Zt=function(){return this.QI};t.Bc=function(){return this.Qa};t.Te=function(){return this.Vy};t.s4=function(){return OD(this.Vy)};t.WD=function(){return this.Ig};t.VD=function(){return UD(this.Lc)};
t.Wba=function(){this.Qa=!0;this.yw=!1;this.Lc=0;this.wL();if(G&&!I("11")){this.Jc.target=this.aq||"";this.sY();this.By||K(this.Aa,Tm,this.SR,!1,this);try{this.GM=!1,this.Jc.submit()}catch(y){this.By||Ou(this.Aa,Tm,this.SR,!1,this),this.ee(1)}}else{TC(this.D,"Setting up iframes and cloning form");this.sY();var a=this.aq+"_inner",b=mx(this.Aa),c;document.baseURI?(c=Cr(a),c=rw(Bv("Short HTML snippet, input escaped, safe URL, for performance"),'<head><base href="'+Cr(document.baseURI)+'"></head><body><iframe id="'+
c+'" name="'+c+'"></iframe>')):(c=Cr(a),c=rw(Bv("Short HTML snippet, input escaped, for performance"),'<body><iframe id="'+c+'" name="'+c+'"></iframe>'));Vt&&!Yt?Aw(b.documentElement,c):b.write($v(c));this.By||K(b.getElementById(a),qk,this.DG,!1,this);var e=this.Jc.getElementsByTagName(ge);c=0;for(var f=e.length;c<f;c++){var g=e[c].value;Ax(e[c])!=g&&(nx(e[c],g),e[c].value=g)}e=b.importNode(this.Jc,!0);e.target=a;e.action=this.Jc.action;b.body.appendChild(e);var g=this.Jc.getElementsByTagName(Sd),
h=e.getElementsByTagName(Sd);c=0;for(f=g.length;c<f;c++)for(var k=g[c].getElementsByTagName(Hd),m=h[c].getElementsByTagName(Hd),p=0,u=k.length;p<u;p++)m[p].selected=k[p].selected;g=this.Jc.getElementsByTagName(rd);h=e.getElementsByTagName(rd);c=0;for(f=g.length;c<f;c++)if(g[c].type==Fh&&g[c].value!=h[c].value){TC(this.D,"File input value not cloned properly.  Will submit using original form.");this.Jc.target=a;e=this.Jc;break}TC(this.D,"Submitting form");try{this.GM=!1,e.submit(),b.close(),H&&Xu(this.kfa,
250,this)}catch(y){c=this.D,f=sC(y,void 0),f=$v(f),RC(c,"Error when submitting form: "+f),this.By||Ou(b.getElementById(a),qk,this.DG,!1,this),b.close(),this.ee(2)}}};t.SR=function(){if(this.Aa.readyState==vg){Ou(this.Aa,Tm,this.SR,!1,this);var a;try{if(a=mx(this.Aa),G&&a.location==Je&&!navigator.onLine){this.ee(9);return}}catch(b){this.ee(1);return}this.jy(a)}};t.DG=function(){if(!Vt||Yt||this.FN().location!=Je){Ou(this.fE(),qk,this.DG,!1,this);try{this.jy(this.FN())}catch(a){this.ee(1)}}};
t.jy=function(a){TC(this.D,"Iframe loaded");this.yw=!0;this.Qa=!1;var b;try{var c=a.body;this.Vy=c.textContent||c.innerText}catch(f){b=1}var e;b||typeof this.W1!=Yh||(e=this.W1(a))&&(b=4);(a=this.D)&&a.log(GC,"Last content: "+this.Vy,void 0);(a=this.D)&&a.log(GC,"Last uri: "+this.Ig,void 0);b?(TC(this.D,"Load event occurred but failed"),this.ee(b,e)):(TC(this.D,"Load succeeded"),this.QI=!0,this.Lc=0,this.dispatchEvent(vg),this.dispatchEvent(Mo),this.fR())};
t.ee=function(a,b){this.GM||(this.Qa=this.QI=!1,this.yw=!0,this.Lc=a,4==a&&D(w(b)),this.dispatchEvent(vg),this.dispatchEvent(sh),this.fR(),this.GM=!0)};t.fR=function(){V(this.D,"Ready for new requests");this.Eba();this.r1();this.dispatchEvent(Sm)};
t.wL=function(){TC(this.D,"Creating iframe");this.aq=this.je+"_"+(this.CBa++).toString(36);var a={name:this.aq,id:this.aq};G&&7>Number(iu)&&(a.src='javascript:""');this.Aa=N(this.Jc).j(od,a);a=this.Aa.style;a.visibility=ej;a.width=a.height="10px";a.display=Yk;Yt?a.marginTop=a.marginLeft="-10px":(a.position=Ke,a.top=a.left="-10px")};t.sY=function(){N(this.Jc).J().body.appendChild(this.Aa)};
t.Eba=function(){var a=this.Aa;a&&(a.onreadystatechange=null,a.onload=null,a.onerror=null,this.wP.push(a));this.Zp&&(Yu(this.Zp),this.Zp=null);H||Vt&&!Yt?this.Zp=Xu(this.s1,2E3,this):this.s1();this.aq=this.Aa=null};t.s1=function(){this.Zp&&(Yu(this.Zp),this.Zp=null);for(;0!=this.wP.length;){var a=this.wP.pop();V(this.D,"Disposing iframe");Zw(a)}};t.SZ=function(){this.Jc&&this.Jc==wU&&Ww(this.Jc)};t.r1=function(){this.SZ();this.Jc=null};t.FN=function(){return this.Aa?mx(this.fE()):null};
t.fE=function(){return this.Aa?G&&!I("11")?this.Aa:mx(this.Aa).getElementById(this.aq+"_inner"):null};t.kfa=function(){if(this.Qa){var a=this.FN();a&&!uu(a,"documentUri")?(this.By||Ou(this.fE(),qk,this.DG,!1,this),navigator.onLine?(SC(this.D,"Silent Firefox error detected"),this.ee(3)):(SC(this.D,"Firefox is offline so report offline error instead of silent error"),this.ee(9))):Xu(this.kfa,250,this)}};var yU=function(a,b,c){jT.call(this,a);this.Jc=b;this.nc=null;this.DA=15E3;this.Xpa=5E3;this.qY=500;this.Du=null;this.im=c||0;this.EQ=this.FQ=0};C(yU,jT);t=yU.prototype;t.Y=QC("apps.uploader.net.HtmlFormFileIo");t.abort=function(){this.nc.abort()};
t.Yn=function(a){var b=this.Uma();this.nc=b;this.C().o(b,Mo,this.m5).o(b,sh,function(b){var e;var f=window.location.href;e=hD(1,a);var g=gD(hD(3,a),!0),h=Number(hD(4,a))||null;if(e||g||h){var k=hD(1,f),m=gD(hD(3,f),!0),f=Number(hD(4,f))||null;e=k||m||f?e==k&&g==m&&h==f:!0}else e=!0;e?this.l5(b):this.TGa()});b.Xba(this.Jc,a);0<this.DA&&Xu(this.RH,this.Xpa,this);this.EQ=(new Date).getTime()};t.Uma=function(){return new vU};
t.m5=function(a){try{var b=a.target.Te(),c=(b&&PD(b)).sessionStatus;if(c){var e=c.externalFieldTransfers[0],f=this.getFile();null==f.Rc&&(f.Yz(e.bytesTotal),f.Qca(!1))}}catch(g){RC(this.Y,"Error while setting file size on success",g)}this.jn(a.target.Te()||"")};t.l5=function(a){this.handleError(hT(a.target.Lc),a.target.VD())};t.$ba=function(a,b){var c=new YD;this.C().o(c,Mo,a).o(c,sh,b);try{var e=this.getFile().lk;c.send(e,"GET")}catch(f){SC(this.Y,"Error while sending status query",f)}};
t.RH=function(){this.nc.Bc()&&this.$ba(A(this.awa,this),A(this.$va,this))};t.TGa=function(){this.$ba(A(this.m5,this),A(this.l5,this))};
t.awa=function(a){if(this.nc.Bc()){try{var b=a.target.Te(),c=PD(b).sessionStatus.externalFieldTransfers[0],e=c.bytesTransferred,f=this.getFile();if(null==f.Rc)if(0<c.bytesTotal)f.Yz(c.bytesTotal),f.Qca(!0);else{SC(this.Y,"Status query response missing bytes total.");Xu(this.RH,this.DA,this);return}var g=f.Rc;null!=this.Du&&this.Du.stop(!1);var h=(new Date).getTime();if(0<this.FQ||0==this.im)this.im=Math.round((e-this.FQ)/(h-this.EQ));this.FQ=e;this.EQ=h;var k=this.DA+this.qY,m=f.as,p=Math.round(e+
k*this.im);p>g&&(p=g,k=Math.round((g-e)/this.im)+this.qY);this.Du=new sz([m],[p],k,Ez);this.C().o(this.Du,"animate",A(function(a){this.bk(Math.round(a.x))},this));this.Du.play();V(this.Y,"Status query reports "+Math.round(e/g*100)+"% transferred. Animating from "+Math.round(m/g*100)+"% to "+Math.round(p/g*100)+"% over next "+Math.round(k/1E3)+" seconds. Upload speed is "+this.im+"KBps")}catch(u){SC(this.Y,"Error while processing status query",u)}this.nc.Bc()&&Xu(this.RH,this.DA,this)}};
t.$va=function(){SC(this.Y,"Status query reports error.");this.nc.Bc()&&Xu(this.RH,this.DA,this)};t.B=function(){yU.g.B.call(this);Rt(this.Du)};var zU=function(a){mU.call(this);this.kN=new Q;this.Q2=new Q;this.vD=new Q;this.lDa=new Q;this.ap=a||!1};C(zU,mU);t=zU.prototype;t.Y=QC("apps.uploader.HtmlFormUploader");t.L7=!1;t.im=0;t.zF=!1;t.mCa=function(a,b,c){this.dispatchEvent(new J(Jh));a=new ZT(a);c=this.Q2.get(c);this.kN.set(a.getId(),c);Ry(c.childNodes[0],0,0);this.U_(b);this.dispatchEvent(new J(Ih));this.dispatchEvent(new bU(Kh,[a]))&&(this.Vr(a),this.dispatchEvent(new bU(Ue,[a])))};
t.install=function(a){a&&(this.zF=!0);this.dispatchEvent(new fU(Yp,this));a&&this.U_(a,this.ap);this.L7=!0;this.dispatchEvent(new fU(Zp,this));a||Xu(function(){this.lm(!1)},1,this)};t.SA=function(a){this.dispatchEvent(new fU($p,this));a&&(a=this.vD.get($q(a)))&&S(a,!1)};t.Xs=function(){return"scotty html form"};t.Tt=function(){return this.L7};t.MD=function(){var a=zU.g.MD.call(this);return xs(a,function(a){return!this.qza(a)},this)};t.RA=function(a){a=$q(this.fx(a));(a=this.vD.get(a))&&S(a,!1)};
t.YR=function(a){this.im=a.target.im;zU.g.YR.call(this,a)};t.lm=function(a){this.Fo&&!this.zF&&(a?this.tw():this.Vr(new ZT))};t.Tn=function(a){zU.g.Tn.call(this,a);this.kN.remove(a.getId());0!=this.ug.length||this.zF||this.lm(!1)};t.jQ=function(){return!0};t.hK=function(a){this.zF&&zU.g.hK.call(this,a)};t.So=function(a){var b=this.kN.get(a.getId());return new yU(a,b,this.im)};t.qza=function(a){return""==a.getPath()};
t.U_=function(a,b){var c=$q(a);this.lDa.set(c,a);var e=N(a);U(a,Xp);var f=Sy(a),g={type:Fh,name:"Filedata",size:20,"class":"uploader-upload-input",style:["opacity:0;filter:alpha(opacity=0)","font-size:"+f.height+q,"height:"+f.height+q,"position:absolute",Xy(a)?"left:0px":"right:0px","top:0px"].join(";"),tabIndex:b?-1:0};this.Pm&&(g.accept=this.Pm.join(","));var g=e.j(Ej,g),h=e.j("form",{method:Kd,enctype:Rk,encoding:Rk},g);this.Q2.set(c,h);var k=this.vD.get(c);k||(k=e.j(n,{style:zl+f.width+Qm+f.height+
q}),this.vD.set(c,k),e.rl(k,a),R(k,Em,Ke),a.parentNode&&R(a.parentNode,Em,Ym),By(k,Cy(a)));e.append(k,h);this.C().o(g,bg,function(b){this.mCa(this.TLa(b.target.value),a,c)})};t.TLa=function(a){a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12));return a};var DU=function(){if(G){if(AU(Nb))return Nb;if(AU("1.6.0"))return"1.6.0";if(AU(Mb))return Mb;if(AU(Lb))return Lb}else if(H||Vt||Yt){var a;a:{for(a=0;a<navigator.mimeTypes.length;++a){var b=navigator.mimeTypes[a].type.match(/^application\/x-java-applet;jpi-version=(.*)$/);if(null!=b){a=b[1];break a}}a=null}if(null!=a)return a;if(BU("1.7"))return Nb;if(BU("1.6"))return"1.6.0";if(BU("1.5"))return Mb;if(BU(Lb))return Lb;if(Yt){if(CU(Nb))return Nb;if(CU("1.6"))return"1.6.0";if(CU("1.5"))return Mb;if(CU(Lb))return Lb}}return null},
AU=function(a){if(!ActiveXObject)return!1;try{return null!=new ActiveXObject("JavaWebStart.isInstalled."+a+".0")}catch(b){return!1}},BU=function(a){if(!navigator.mimeTypes)return!1;for(var b=/^application\/x-java-applet\x3Bversion=(1\.8|1\.7|1\.6|1\.5|1\.4\.2)$/,c=0;c<navigator.mimeTypes.length;++c){var e=navigator.mimeTypes[c].type.match(b);if(null!=e&&0<=Sr(e[1],a))return!0}return!1},CU=function(a){if(!navigator.plugins||!navigator.plugins.length)return!1;for(var b=0;b<navigator.plugins.length;++b){var c=
navigator.plugins[b].description;if(-1!=c.search(/^Java Switchable Plug-in (Cocoa)/)){if(0<=Sr(Mb,a))return!0}else if(-1!=c.search(/^Java/)&&au&&0<=Sr(Mb,a))return!0}return Sr(Mb,a)?!0:!1};var EU=function(a,b){jT.call(this,a);this.Vd=b;this.YA=!1;this.zz=null;this.WZ="There was a client error with the upload.";this.$Aa=5242880};C(EU,jT);EU.prototype.abort=function(){this.YA&&(this.Vd.abortUpload(this.getFile().Qg),window.clearInterval(this.zz))};
EU.prototype.Yn=function(a){switch(String(this.Vd.startUpload(a,this.getFile().Qg,this.$Aa))){case "SUCCESS":this.JDa();this.YA=!0;break;case "INVALID_URL":this.handleError(wh,"A Url with an invalid domain was detected: "+a);break;case "UNKNOWN_ERROR":case "MISSING_SELECTION":this.handleError(wh,this.WZ)}};
EU.prototype.kNa=function(){var a=this.getFile(),b=OD(this.Vd.getProgress(a.Qg));b||(window.clearTimeout(this.zz),this.handleError(wh,"Unable to obtain file upload progress from java plugin."),this.Vd.freeResources(a.Qg));var c=b.state,e=b.bytesTransfered;b.bytesTotal&&a.Yz(b.bytesTotal);switch(c){case "COMPLETE":window.clearTimeout(this.zz);this.bk(e);this.jn(this.Vd.readServerResponse(a.Qg));this.Vd.freeResources(a.Qg);break;case "IN_PROGRESS":this.bk(e);break;case "CLIENT_ERROR":window.clearTimeout(this.zz),
this.handleError(wh,this.WZ),this.Vd.freeResources(a.Qg)}};EU.prototype.JDa=function(){this.zz=window.setInterval(A(EU.prototype.kNa,this),50)};var FU=function(a,b){mU.call(this);this.tY=a;this.Al=b||"en_US";this.Vd=null;this.gj=!1;this.oF=null;this.Qa=this.ZQ=!1;this.YQ=0;this.woa="Upload";this.MGa="Select";this.bw="1";this.yBa=!bu;this.WH(!0)};C(FU,mU);var GU=1;t=FU.prototype;t.Y=QC("apps.uploader.JavaUploader");
t.install=function(){this.dispatchEvent(new fU(Yp,this));var a=this.yma(),b=N(document.body),c=b.j("applet",{id:a,archive:this.tY,code:"com.google.uploader.service.client.applet.UploaderApplet",width:this.bw,height:this.bw,style:"position: absolute; top: -"+this.bw+"px; left: -"+this.bw+"px;"});b.appendChild(document.body,c);this.Vd=c;V(this.Y,"Inserted applet into DOM with id: "+a);this.dispatchEvent(new fU(Ye,this));this.oF=window.setInterval(A(function(){var a=!1;try{this.Vd&&(this.Qa=this.Vd.isActive())?
(this.ZQ=this.Vd.isLoaded())?(V(this.Y,"Successfully loaded JAVA mechanism."),this.dispatchEvent(new fU(Zp,this)),window.clearTimeout(this.oF)):a=!0:this.YQ++}catch(b){this.YQ++}a?(V(this.Y,"No security permission for JAVA mechanism."),this.dispatchEvent(new fU(aq,this)),window.clearTimeout(this.oF)):10<=this.YQ&&(V(this.Y,"Failed to load JAVA mechanism."),this.dispatchEvent(new fU(Xe,this)),window.clearTimeout(this.oF))},this),50)};t.SA=function(){this.dispatchEvent(new fU($p,this));Zw(this.Vd)};
t.lm=function(a){this.gj=a||this.gj;this.ZQ&&this.Fo&&(this.Fo=!1,this.zla(),window.setTimeout(A(function(){this.Vd.setLocale(this.Al);var a=this.Vd.selectFiles(this.woa,this.MGa,this.lu,this.Pm||[],this.Us(),this.yBa);this.vBa();this.RR(a);this.Fo=!0},this),50))};t.Tn=function(a){FU.g.Tn.call(this,a);this.Vd.freeResources(a.Qg)};t.Xs=function(){return"scotty java"};t.Tt=function(){return this.ZQ};t.lq=function(){return!0};t.UP=function(){return!0};t.So=function(a){return new EU(a,this.Vd)};
t.yO=function(){return 1};t.yma=function(){return"JAVA_UPLOADER_"+GU++};t.vBa=function(){var a="-"+this.bw+q;R(this.Vd,{top:a,left:a})};t.zla=function(){R(this.Vd,{top:"50%",left:"50%"})};t.RR=function(a){this.dispatchEvent(new J(Jh));this.gj&&this.tw();a=OD(a);a=ys(a,A(function(a){var c=this.M_(a);c instanceof aU&&this.QX(a.c,c,c);return c},this));this.dispatchEvent(new J(Ih));this.dispatchEvent(new bU(Kh,a))&&(E(a,function(a){this.Vr(a)},this),this.dispatchEvent(new bU(Ue,a)))};
t.QX=function(a,b,c){for(var e=0;e<a.length;e++){var f=a[e],g=this.M_(f);g instanceof aU&&((f=f.c)?this.QX(f,g,c):(f=g.getName()+"/",f=new ZT(f+".",0,f),g.addEntry(f)));b.addEntry(g)}};t.M_=function(a){var b=a.r;return null!=a.f?new aU(a.n,a.s,b,a.i,a.f):new ZT(a.n,a.s,b,a.i)};var HU=function(a,b){jT.call(this,a);this.hg=b;this.Y=QC("apps.uploader.net.SilverlightFileIo")};C(HU,jT);HU.prototype.Yn=function(a){this.hg.HintedUpload(this.getFile().Qg,a,this.getFile().as)};HU.prototype.abort=function(){this.hg.Abort(this.getFile().Qg)};HU.prototype.nL=function(a,b){this.hg.ComputeMd5(this.getFile().Qg,a,b)};
HU.prototype.NCa=function(a){var b=a.StatusAsString;switch(b){case "UPLOADING":case "RECOVERABLE_ERROR":case "SEVERE_ERROR":(a=a.UploadedBytesAsString)&&this.bk(Number(a));break;case "SUCCEEDED":this.jn(a.ResponseString);break;case "FAILED":a=a.LastErrorAsString;SC(this.Y,"Silverlight returned error: "+a);b=Kp;switch(a){case "NETWORK_ERROR":b=Xk;break;case "IO_ERROR":b=Hj;break;case "RESOURCE_ERROR":b=wh;break;case "SECURITY_ERROR":b=on;break;case "SERVER_REJECTED":b=yn;break;case "INVALID_RESPONSE":case "SERVER_ERROR":b=
xn;break;case "UNKNOWN_ERROR":b=Kp;break;default:RC(this.Y,"Unhandled Silverlight upload error: "+a)}this.handleError(b,a);break;case "ABORTED":break;default:RC(this.Y,"Unhandled Silverlight upload status: "+b)}};var IU=["data","source",Ip,"typemustmatch"];var KU=function(a,b){mU.call(this);this.pa=b||"silverlightObject";var c;a instanceof Vv?c=a:(c=Tv(a),c=qy(Qv(c)));this.oOa=c;this.hg=this.vK=null;this.WM=new Q;this.Y=QC("apps.uploader.SilverlightUploader");JU||(JU=new Q)};C(KU,mU);var JU=null;t=KU.prototype;
t.install=function(){var a=JU;if(a.Ic(this.pa))throw Error("A Silverlight uploader with the same tag already exists");this.dispatchEvent(new fU(Yp,this));var b={id:this.pa,width:128,height:32},c=document,e=N(c.body);v.silverlightOnLoad=LU;v.silverlightOnError=MU;var f=e.j(n);R(f,{position:Ke,top:"-32px",left:"-128px",width:128,height:32});e.appendChild(c.body,f);var c=this.oOa,g={onload:"silverlightOnLoad",onerror:"silverlightOnError",debug:r};nT(IU,b,g);c=mT({source:c},g);g={data:Xv(Av(Bv("data:application/x-silverlight-2,"))),
type:"application/x-silverlight-2",typemustmatch:""};b=kw(g,{},b);b=iw(cl,b,c);Aw(f,b);V(this.Y,"Inserted the Silverlight object into DOM: "+this.pa);this.dispatchEvent(new fU(Ye,this));this.vK=e.b(this.pa);a.set(this.pa,this)};t.SA=function(){var a=JU;this.dispatchEvent(new fU($p,this));Zw(this.vK);a.remove(this.pa)};t.Xs=function(){return"scotty silverlight"};t.Tt=function(){return!!this.hg};t.lq=function(){return!0};t.iQ=function(){return!0};
t.lm=function(){if(this.ol()){var a=this.hg.Browse();if(a&&a.length){this.dispatchEvent(new J(Jh));for(var b=[],c=0;c<a.length;++c){var e=a[c];b[c]=new ZT(e.FileName,Number(e.SizeBytesAsString),"",e.FileId)}this.dispatchEvent(new J(Ih));this.dispatchEvent(new bU(Kh,b));E(b,function(a){this.Vr(a)},this);this.dispatchEvent(new bU(Ue,b))}}};t.Tn=function(a){var b=a.Qg;KU.g.Tn.call(this,a);this.hg.Discard(b);this.WM.remove(b)};
t.So=function(a){if(!this.hg)throw Error("The Silverlight application has not yet loaded");var b=new HU(a,this.hg);this.WM.set(a.Qg,b);return b};
t.ol=function(){if(this.hg)return!0;var a=this.vK.Content;if(!a)return RC(this.Y,"Error accessing Silverlight application"),this.dispatchEvent(new fU(We,this)),!1;try{this.hg=a.Uploader}catch(b){}if(!this.hg)return RC(this.Y,"The Silverlight application did not load properly"),this.dispatchEvent(new fU(We,this)),!1;this.hg.OnStateUpdate=NU;V(this.Y,"The Silverlight application has loaded: "+this.pa);this.dispatchEvent(new fU(Zp,this));return!0};
t.h2=function(a){RC(this.Y,"The Silverlight application has failed: "+this.pa);this.hg||this.dispatchEvent(new fU(Xe,this));E(this.ug,function(b){this.cl(b)==Gp&&this.TN(b).handleError(wh,a)},this)};
var OU=function(a){var b=JU;try{var c=a.Id;if(c)return b.get(c)}catch(f){}try{var e=a.GetHost();return b.get(e.id)}catch(f){}throw Error("Failed to obtain the Silverlight host element ID");},LU=function(a){(a=OU(a))&&a.ol()},NU=function(a,b){OU(a).WM.get(b.FileId).NCa(b)},MU=function(a,b){var c=b.errorMessage||b.Message||"";if(c){var e=QC("apps.uploader.SilverlightUploader[App]");RC(e,c)}e=null;if(a)try{e=OU(a)}catch(f){}e?e.h2(c):E(JU.Cb(),function(a){a.h2(c)})};var PU=function(a,b){M.call(this);this.cP=a;this.eP=this.Kd=null;this.sm=0;this.g6=Infinity;this.ela=b||5E6;this.Oe=null;this.D=QC("goog.crypt.BlobHasher")};C(PU,M);t=PU.prototype;t.hash=function(a){this.abort();this.cP.reset();this.Kd=a;this.eP=null;this.sm=0;this.dispatchEvent("started");this.eaa()};t.abort=function(){this.Oe&&(this.Oe.abort(),this.Oe=null);this.Kd&&(this.Kd=null,this.dispatchEvent(Ie))};t.jh=function(){return this.eP};
t.eaa=function(){D(this.Kd,"A hash computation must be in progress.");if(this.sm<this.Kd.size)if(this.g6<=this.sm)this.dispatchEvent("throttled");else{this.Oe=new FileReader;this.Oe.onload=A(this.ACa,this);this.Oe.onerror=A(this.BG,this);var a=Math.min(Math.min(this.g6,this.Kd.size)-this.sm,this.ela),b=UT(this.Kd,this.sm,this.sm+a);b&&b.size==a?this.Oe.readAsArrayBuffer?this.Oe.readAsArrayBuffer(b):this.Oe.readAsBinaryString?this.Oe.readAsBinaryString(b):(RC(this.D,"Failed calling the chunk reader"),
this.BG()):(RC(this.D,"Failed slicing the blob"),this.BG())}else this.eP=this.cP.digest(),this.Kd=null,this.dispatchEvent(vg)};t.ACa=function(){V(this.D,"Successfully loaded a chunk");var a=null;this.Oe.result instanceof Array||z(this.Oe.result)?a=this.Oe.result:v.ArrayBuffer&&v.Uint8Array&&this.Oe.result instanceof ArrayBuffer&&(a=new Uint8Array(this.Oe.result));a?(this.cP.update(a),this.sm+=a.length,this.Oe=null,this.dispatchEvent(Km),this.eaa()):(RC(this.D,"Failed reading the chunk"),this.BG())};
t.BG=function(){this.Kd=this.Oe=null;this.dispatchEvent(sh)};var QU=function(){this.nf=64;this.eb=Array(4);this.fla=Array(this.nf);this.dJ=this.gw=0;this.reset()};C(QU,JT);QU.prototype.reset=function(){this.eb[0]=1732584193;this.eb[1]=4023233417;this.eb[2]=2562383102;this.eb[3]=271733878;this.dJ=this.gw=0};
QU.prototype.xm=function(a,b){b||(b=0);var c=Array(16);if(z(a))for(var e=0;16>e;++e)c[e]=a.charCodeAt(b++)|a.charCodeAt(b++)<<8|a.charCodeAt(b++)<<16|a.charCodeAt(b++)<<24;else for(e=0;16>e;++e)c[e]=a[b++]|a[b++]<<8|a[b++]<<16|a[b++]<<24;var e=this.eb[0],f=this.eb[1],g=this.eb[2],h=this.eb[3],k;k=e+(h^f&(g^h))+c[0]+3614090360&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[1]+3905402710&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[2]+606105819&4294967295;g=h+(k<<17&4294967295|
k>>>15);k=f+(e^g&(h^e))+c[3]+3250441966&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[4]+4118548399&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[5]+1200080426&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[6]+2821735955&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[7]+4249261313&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[8]+1770035416&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[9]+2336552879&4294967295;h=e+(k<<12&4294967295|
k>>>20);k=g+(f^h&(e^f))+c[10]+4294925233&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[11]+2304563134&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(h^f&(g^h))+c[12]+1804603682&4294967295;e=f+(k<<7&4294967295|k>>>25);k=h+(g^e&(f^g))+c[13]+4254626195&4294967295;h=e+(k<<12&4294967295|k>>>20);k=g+(f^h&(e^f))+c[14]+2792965006&4294967295;g=h+(k<<17&4294967295|k>>>15);k=f+(e^g&(h^e))+c[15]+1236535329&4294967295;f=g+(k<<22&4294967295|k>>>10);k=e+(g^h&(f^g))+c[1]+4129170786&4294967295;e=f+(k<<
5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[6]+3225465664&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[11]+643717713&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[0]+3921069994&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[5]+3593408605&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[10]+38016083&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[15]+3634488961&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[4]+3889429448&4294967295;f=
g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[9]+568446438&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[14]+3275163606&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[3]+4107603335&4294967295;g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[8]+1163531501&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(g^h&(f^g))+c[13]+2850285829&4294967295;e=f+(k<<5&4294967295|k>>>27);k=h+(f^g&(e^f))+c[2]+4243563512&4294967295;h=e+(k<<9&4294967295|k>>>23);k=g+(e^f&(h^e))+c[7]+1735328473&4294967295;
g=h+(k<<14&4294967295|k>>>18);k=f+(h^e&(g^h))+c[12]+2368359562&4294967295;f=g+(k<<20&4294967295|k>>>12);k=e+(f^g^h)+c[5]+4294588738&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[8]+2272392833&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[11]+1839030562&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[14]+4259657740&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[1]+2763975236&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[4]+1272893353&4294967295;h=e+(k<<11&4294967295|
k>>>21);k=g+(h^e^f)+c[7]+4139469664&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[10]+3200236656&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[13]+681279174&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[0]+3936430074&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[3]+3572445317&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[6]+76029189&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(f^g^h)+c[9]+3654602809&4294967295;e=f+(k<<4&4294967295|k>>>28);k=h+(e^f^g)+c[12]+
3873151461&4294967295;h=e+(k<<11&4294967295|k>>>21);k=g+(h^e^f)+c[15]+530742520&4294967295;g=h+(k<<16&4294967295|k>>>16);k=f+(g^h^e)+c[2]+3299628645&4294967295;f=g+(k<<23&4294967295|k>>>9);k=e+(g^(f|~h))+c[0]+4096336452&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[7]+1126891415&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[14]+2878612391&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[5]+4237533241&4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[12]+1700485571&
4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[3]+2399980690&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[10]+4293915773&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[1]+2240044497&4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[8]+1873313359&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[15]+4264355552&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[6]+2734768916&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[13]+1309151649&
4294967295;f=g+(k<<21&4294967295|k>>>11);k=e+(g^(f|~h))+c[4]+4149444226&4294967295;e=f+(k<<6&4294967295|k>>>26);k=h+(f^(e|~g))+c[11]+3174756917&4294967295;h=e+(k<<10&4294967295|k>>>22);k=g+(e^(h|~f))+c[2]+718787259&4294967295;g=h+(k<<15&4294967295|k>>>17);k=f+(h^(g|~e))+c[9]+3951481745&4294967295;this.eb[0]=this.eb[0]+e&4294967295;this.eb[1]=this.eb[1]+(g+(k<<21&4294967295|k>>>11))&4294967295;this.eb[2]=this.eb[2]+g&4294967295;this.eb[3]=this.eb[3]+h&4294967295};
QU.prototype.update=function(a,b){w(b)||(b=a.length);for(var c=b-this.nf,e=this.fla,f=this.gw,g=0;g<b;){if(0==f)for(;g<=c;)this.xm(a,g),g+=this.nf;if(z(a))for(;g<b;){if(e[f++]=a.charCodeAt(g++),f==this.nf){this.xm(e);f=0;break}}else for(;g<b;)if(e[f++]=a[g++],f==this.nf){this.xm(e);f=0;break}}this.gw=f;this.dJ+=b};
QU.prototype.digest=function(){var a=Array((56>this.gw?this.nf:2*this.nf)-this.gw);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.dJ,b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var e=0;32>e;e+=8)a[c++]=this.eb[b]>>>e&255;return a};var RU=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};RU.prototype.clone=function(){return new RU(this.start,this.end)};RU.prototype.toString=function(){return"["+this.start+", "+this.end+"]"};var SU=function(a){jT.call(this,a);this.request=null;this.vT=0;this.ua=Jg;this.Jh=null;this.BK=!1;this.IA=null};C(SU,jT);t=SU.prototype;t.Y=QC("apps.uploader.net.ResumableFileIo");t.wHa=function(a){this.BK=a};t.xn=function(){return"paused"==this.ua};t.abort=function(){this.xX();this.ua=Jg};t.xX=function(){V(this.Y,"aborting...");this.Mfa();this.request&&(this.request.abort(),this.request=null)};
t.Yn=function(a){var b=new Q;b.set("X-HTTP-Method-Override","PUT");b.set("Content-Type",Ze);b.set("X-GUploader-No-308","yes");var c=this.getFile().Rc,e=this.getFile().as,f=Math.min(e+104857600,c)-1,g=c?new RU(e,f):null;e<=f&&(0==e&&f==c-1||b.set("Content-Range","bytes "+e+"-"+f+"/"+c));this.Tz(a,b,g);this.ua=Gp};t.pause=function(){if(this.ua==Jg)throw Error("Cannot pause an upload that is not started");this.xX();this.ua="paused";V(this.Y,"Paused file "+this.getFile())};
t.resume=function(){if(!this.xn())throw Error("Cannot resume an upload that is not paused");this.Jh=null;this.SH();V(this.Y,"Manually resuming file "+this.getFile())};t.AGa=function(a,b){this.Mfa();this.IA=Xu(function(){this.IA=null;a.call(this)},b,this)};t.Mfa=function(){null!=this.IA&&(Yu(this.IA),this.IA=null)};
t.SH=function(){this.request=new YD;this.C().o(this.request,Tm,this.D5);this.ua=Rm;V(this.Y,"Sending query request.");this.request.send(this.getFile().lk,Kd,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.getFile().Rc})};t.D5=function(){switch(this.Hta()){case 1:case 2:case 3:case 0:break;case 4:this.SO();break;default:this.handleError(wh,"Unknown request state")}};
t.SO=function(){var a=this.Ita();this.wJa(a);var b=this.r4(),c=this.Jta();switch(b){case 308:this.Swa();break;case 200:this.jn(a);break;case 408:case 500:case 502:case 503:case 504:this.BK?(TC(this.Y,"Handling retryable HTTP "+b+" error"),this.G5()):this.handleError(Xk,c);break;default:this.handleError(Xk,c)}};t.G5=function(){switch(this.ua){case Gp:this.SH();break;case Rm:this.YY(A(this.SH,this));break;default:this.handleError(wh,"Illegal state while handling retryable error")}};
t.Swa=function(){TC(this.Y,"Handling 308 (Resume Incomplete)");var a=!1,b=this.q4("Range");if(b){var c=/^bytes=(\d+)-(\d+)$/.exec(b);c||this.handleError(xn,"Illegal Range header: "+b);b=Number(c[2]);b>=this.vT&&(this.Jh=null,a=!0);this.vT=b+1;this.bk(b+1)}else if(this.ua==Rm)this.vT=0,this.bk(0);else{V(this.Y,"Could not read Range header.");this.SH();return}a?this.Yn(this.WD()):this.YY(A(this.Yn,this,this.WD()))};
t.YY=function(a){null==this.Jh?(this.Jh=5E3,this.dispatchEvent(Ff)):(this.Jh*=2,6E4<=this.Jh&&(this.Jh=6E4));TC(this.Y,"Backoff for "+this.Jh/1E3+" s");this.AGa(a,this.Jh)};t.jn=function(a){SU.g.jn.call(this,a);this.ua=Jg;this.Jh=null};t.handleError=function(a,b){SU.g.handleError.call(this,a,b);this.ua=Jg;this.Jh=null};t.Hta=function(){return this.request.Ep()};t.q4=function(a){return this.request.getResponseHeader(a)||null};t.Ita=function(){return this.request.Te()};
t.r4=function(){var a;try{a=this.q4("X-HTTP-Status-Code-Override")}catch(b){a=null}a=parseInt(a,10);return isFinite(a)?a:this.request.dn()};t.Jta=function(){return this.request.v4()};var TU=function(a,b){jT.call(this,a);this.Kd=b};C(TU,jT);t=TU.prototype;t.Y=QC("apps.uploader.net.XhrFileIo");t.nc=null;t.Yn=function(a){var b=this.Hna();this.nc=b;this.C().o(b,Mo,function(){this.jn(b.Te())}).o(b,sh,function(){this.handleError(hT(b.Lc),b.VD())}).o(b,Km,function(a){this.bk(a.Vc.loaded)});b.send(a,Kd,this.Kd,{"Content-Type":this.Kd.type||Ze})};t.abort=function(){this.nc.abort()};t.Hna=function(){return new UU};var UU=function(){YD.call(this);this.N=new rA(this)};C(UU,YD);
UU.prototype.KL=function(){var a=UU.g.KL.call(this);this.N.o(a.upload,Km,this.dispatchEvent);return a};UU.prototype.B=function(){UU.g.B.call(this);Rt(this.N)};var VU=function(a,b){SU.call(this,a);this.Kd=b;this.Lo=null};C(VU,SU);t=VU.prototype;t.Y=QC("apps.uploader.net.ResumableXhrFileIo");t.Tz=function(a,b,c){this.request=new UU;var e=c?c.start:0;this.C().o(this.request,Tm,this.D5).o(this.request,Km,function(a){this.bk(e+a.Vc.loaded)});var f=this.Kd;c&&(f=UT(this.Kd,c.start,c.end+1),D(f),V(this.Y,"Sending partial blob: "+c));this.request.send(a,Kd,f,b)};
t.SO=function(){0==this.r4()?this.BK?(TC(this.Y,"Handling retryable network error"),this.G5()):this.handleError(Xk,"network error"):VU.g.SO.call(this)};t.abort=function(){this.Lo&&this.Lo.abort();VU.g.abort.call(this)};t.nL=function(a,b){var c=new QU;this.Lo=new PU(c);var e=this;K(this.Lo,vg,function(){var a=e.Lo.jh();e.Lo=null;b(vL(a))});c=UT(this.Kd,0,a);D(c);this.Lo.hash(c)};var WU=function(a){if(0==a.length)return null;for(var b={},c=[],e=[],f=0;f<a.length;f++){var g=a[f],h=g.getPath(),k=h.substring(0,h.indexOf("/"));if(0==k.length)e.push(g);else{var m=b[k];m||(m=new aU(k),b[k]=m,c.push(m));h=h.substring(0,h.lastIndexOf("/"));g.qJa(h);h=h.split("/");for(k=1;k<h.length;k++){var p=h[k],u=m.esa(p);u||(u=new aU(p,void 0,h.slice(0,k).join("/")),m.addEntry(u));m=u}m.addEntry(g)}}for(f=0;f<c.length;f++)c[f].j_();return c.concat(e)};var XU=function(a){return(a=a.exec(Ws))?a[1]:""},YU=function(){if(UB)return XU(/Firefox\/([0-9.]+)/);if(G||Wt||Vt)return iu;if(YB)return XU(/Chrome\/([0-9.]+)/);if(ZB&&!Ut())return XU(/Version\/([0-9.]+)/);if(VB||WB){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ws);if(a)return a[1]+"."+a[2]}else if(XB)return(a=XU(/Android\s+([0-9.]+)/))?a:XU(/Version\/([0-9.]+)/);return""}();var ZU=QC("apps.photos.processing.resizer"),$U=function(a,b,c){if(YB&&0<=Sr(YU,18)){for(var e=!1,f=0;100>f;f++){var g;try{g=b.getImageData(Math.floor(Math.random()*a.width),Math.floor(Math.random()*a.height),1,1).data}catch(h){V(ZU,"Canvas getImageData() failed: "+(c?c+": ":"")+h);break}if(g&&(0!=g[0]||0!=g[1]||0!=g[2])){e=!0;break}}return e}return!0},aV=function(){};aV.prototype.dba=function(a,b,c){var e=b.getContext("2d");e.drawImage(a,0,0,b.width,b.height);return $U(b,e,c)?cH():dH(Error($c))};for(var bV=Array(256),cV=0;256>cV;cV++)bV[cV]=Math.pow(cV/255,1.6);var dV=Array(24576),eV;for(eV=-8192;0>eV;++eV)dV[8192+eV]=0;for(var fV=1/8191;8191>=eV;++eV){var gV=Math.pow(fV*eV,.625);dV[8192+eV]=1<=gV?255:Math.round(255*gV)}for(;16384>eV;++eV)dV[8192+eV]=255;
var hV=function(a,b,c,e,f,g,h){var k=1+f;f*=.25;for(var m=4*e-5,p=4*e-1;p>m;--p)e=k*b[p]-f*(b[p-4]+b[p]+a[p]+c[p]),g[p+h]=dV[8192.5+e|0];for(;3<p;--p)e=k*b[p]-f*(b[p-4]+b[p+4]+a[p]+c[p]),g[p+h]=dV[8192.5+e|0];for(;0<=p;--p)e=k*b[p]-f*(b[p]+b[p+4]+a[p]+c[p]),g[p+h]=dV[8192.5+e|0]},iV=function(a){var b=Array(a);for(--a;0<=a;--a)b[a]=0;return b},jV=function(a,b,c,e,f,g,h,k,m,p,u){if(0>=m||0>=p||0>=c||0>=e)throw Error("Negative dimension");if(4*m>u||4*c>f)throw Error("Incoherent stride");if(m>c||p>e)throw Error("Cannot upscale");
if(3>m||3>p)throw Error("Destination is too small");if(-1>g||1<g)throw Error("Invalid sharpening");this.Ky=a;this.T6=b;this.Eya=c;this.Cya=e;this.Dya=f;this.AKa=g;this.nz=h;this.C$=k;this.iDa=m;this.gDa=p;this.hDa=u;this.aqa=1/m;this.cqa=1/p;this.bqa=m*p*8191/(c*e);this.AX=iV(u);this.T2=iV(u);this.Uga=e;this.Wga=this.Vga=0;this.jc=this.Jz=this.Iz=this.BH=null;0!=g&&(this.jc=[iV(u),iV(u),iV(u)],this.BH=this.Iz=this.Jz=this.jc[2])};jV.prototype.getTime=function(){return B()};
jV.prototype.sGa=function(a){var b=this.Ky,c=this.T6,e=this.Eya,f=this.Cya,g=this.Dya,h=this.AKa,k=this.nz,m=this.C$,p=this.iDa,u=this.gDa,y=this.hDa,P=this.aqa,L=this.cqa,ma=this.bqa,da=this.AX,Zb=this.T2,Xc=this.Uga,tg=this.Vga,Cj,Mn=w(a)?a:50;0>=Mn?(a=0,Cj=1):(a=this.getTime(),Cj=a+Mn);for(var Nn=this.Wga;Nn<f&&a<Cj;++Nn){var td=c,Xc=Xc-u,uc=0>=Xc,If=0;uc&&(If=L*-Xc,Xc+=f);for(var ug=bV,qi=0,dA=0,eA=0,rI=0,sI=0,tI=0,uI=0,EV=p;0<EV;--EV){for(eA+=e-p;0<eA;)rI+=ug[b[td++]],sI+=ug[b[td++]],tI+=ug[b[td++]],
uI+=ug[b[td++]],eA-=p;var On=P*-eA,Ju=ug[b[td++]],ul=Ju*On,Ju=rI+Ju-ul;da[qi++]+=Ju;var rI=ul,ul=ug[b[td++]],vl=ul*On,ul=sI+ul-vl;da[qi++]+=ul;var sI=vl,vl=ug[b[td++]],wl=vl*On,vl=tI+vl-wl;da[qi++]+=vl;tI=wl;wl=ug[b[td++]];On*=wl;wl=uI+wl-On;da[qi++]+=wl;uI=On;uc&&(Zb[dA++]=Ju*If,Zb[dA++]=ul*If,Zb[dA++]=vl*If,Zb[dA++]=wl*If)}if(uc){td=4*p;uc=0;if(0==h)for(If=dV;uc<td;)k[uc+m]=If[8192.5+(da[uc]-Zb[uc])*ma|0],++uc;else{D(this.BH,"this.row1_");D(this.Iz,"this.row2_");D(this.Jz,"this.row3_");D(this.jc,
"this.rows_");If=this.BH;ug=this.Iz;for(qi=this.Jz;uc<td;)qi[uc]=(da[uc]-Zb[uc])*ma,++uc;0<tg&&(hV(If,ug,qi,p,h,k,m-y),tg==u-1&&hV(ug,qi,qi,p,h,k,m));this.BH=ug;this.Iz=qi;this.Jz=this.jc[tg%3]}td=da;da=Zb;Zb=td;m+=y;++tg}c+=g;0>=Mn?a++:a=this.getTime()}this.T6=c;this.C$=m;this.AX=da;this.T2=Zb;this.Uga=Xc;this.Vga=tg;this.Wga=Nn;return Nn>=f};
var kV=function(a,b,c,e,f,g,h,k,m,p,u,y){var P=new jV(a,b,c,e,f,g,h,k,m,p,u),L=!1,ma=new YG(function(){L=!0}),da=function(){if(!L)try{P.sGa(y)?ma.Ad(null):Xu(da)}catch(a){ma.tf(a)}};da();return ma},lV=function(){};
lV.prototype.dba=function(a,b,c){var e=N(a).createElement("canvas");e.width=a.width;e.height=a.height;var f=e.getContext("2d");f.drawImage(a,0,0);if(!$U(e,f,c))return dH(Error($c));c=f.getImageData(0,0,a.width,a.height);var g=b.getContext("2d"),h=g.createImageData(b.width,b.height);if(!c.data||!h.data)return dH(Error("Failed to access pixel data"));a=kV(c.data,0,a.width,a.height,4*a.width,.3,h.data,0,b.width,b.height,4*b.width);a.Ra(function(){g.putImageData(h,0,0)},this);return a};var qV=function(a,b,c,e,f){var g=new Uint8Array(a);a=mV(g);if(0==a.length)return null;var h=0;E(a,function(a){h+=a.length});var k=0,m=new Uint8Array(h);E(a,function(a){m.set(g.subarray(a.offset,a.offset+a.length),k);if(a.oza){for(var h,y=73==m[k+10],P=nV(m,k+14,y)+10,L=2+P,P=L+12*oV(m,P,y);L<P;L+=12){var ma=oV(m,L,y);switch(ma){case 256:pV(m,L+8,e,y);break;case 257:pV(m,L+8,f,y);break;case 282:case 283:var da=nV(m,L+8,y)+10,Zb=m,Xc=da,tg=y;ma=nV(m,da,y)/nV(m,da+4,y)*(282==ma?e/b:f/c);if(isFinite(ma)&&
0==ma%1)ma=[ma,1];else{for(var da=0>ma,ma=Math.abs(ma),Cj=1,Mn=1,Nn=0,td=0,uc;1E7>=td*(uc=Math.floor(ma))+Mn;){var If=Cj*uc+Nn,Nn=Cj,Cj=If,If=td*uc+Mn,Mn=td,td=If;uc=ma-uc;if(1E-6>uc)break;ma=1/uc;if(2147483647<uc)break}ma=[da?-Cj:Cj,td]}pV(Zb,Xc,ma[0],tg);pV(Zb,Xc+4,ma[1],tg);break;case 34665:h=nV(m,L+8,y)+10}}if(h)for(y=73==m[k+10],L=2+h,h=L+12*oV(m,h,y);L<h;L+=12)switch(oV(m,L,y)){case 40962:pV(m,L+8,e,y);break;case 40963:pV(m,L+8,f,y)}}k+=a.length});return m},mV=function(a){var b=[];if(2>a.byteLength||
255!=a[0]||216!=a[1])return[];for(var c=2;c<a.byteLength;){var e=a[c++];if(255!=e)return[];var e=a[c++],f=(a[c]<<8)+a[c+1];switch(e){case 225:var g=a[c+8];b.push({sq:e,offset:c-2,length:f+2,oza:69==a[c+2]&&120==a[c+3]&&105==a[c+4]&&102==a[c+5]&&0==a[c+6]&&0==a[c+7]&&g==a[c+9]&&(73==g||77==g)&&42==oV(a,c+10,73==g)});break;case 236:b.push({sq:e,offset:c-2,length:f+2});break;case 218:return b;case 216:return[];case 217:return[]}c+=f}return b},oV=function(a,b,c){c=c?1:0;return(a[b+c]<<8)+a[b+1-c]},nV=
function(a,b,c){c=c?1:0;return(a[b+3*c]<<24)+(a[b+1+c]<<16)+(a[b+2-c]<<8)+a[b+3-3*c]},pV=function(a,b,c,e){e=e?1:0;a[b+3-3*e]=c&255;a[b+2-e]=c>>8&255;a[b+1+e]=c>>16&255;a[b+3*e]=c>>24&255};var rV=function(a,b){J.call(this,a);this.cAa=b};C(rV,J);rV.prototype.getItem=function(){return this.cAa};var sV=function(){F.call(this);this.FR=0;this.vQ=new NL;this.N=new rA(this);this.wa(this.N)},tV;C(sV,F);sV.prototype.start=function(a,b){var c=new uV(a,b);this.vQ.enqueue(c);this.Mea();return c};sV.prototype.Mea=function(){if(!this.vQ.Zb()&&1>this.FR){var a=this.vQ.Yo();this.N.o(a,["G","H","I"],this.sCa);this.FR++;Xu(A(a.start,a),0)}};sV.prototype.sCa=function(a){if("H"==a.type||"I"==a.type)this.FR--,this.N.removeAll(),Xu(function(){a.getItem().dispose();this.Mea()},0,this)};
var uV=function(a,b){M.call(this);this.Kd=a;this.pb=b;this.pa=vV++};C(uV,M);var vV=0;t=uV.prototype;t.D=QC("apps.uploader.ImageProcessor.Item");t.ys=!1;t.cb=void 0;t.start=function(){this.dispatchEvent(new rV("G",this));var a=this.bq=document.createElement(yj);a.onload=A(this.rCa,this);a.onerror=A(this.pCa,this);var b;b=this.Kd;b=Nv().createObjectURL(b);a.src=b};t.rCa=function(){V(this.D,"Image loaded: "+this.pa);this.Tya().zk(this.QH,this).Ra(this.XBa,this)};
t.XBa=function(){if(this.pb.bEa&&this.ys){var a=ST(this.Kd);a.Ra(function(a){var c;try{var e=this.ce();this.c2=(c=qV(a,this.bq.width,this.bq.height,e.width,e.height))?c:void 0}catch(f){V(this.D,"APP1 extraction failed: "+this.pa+": "+f)}this.QH()},this);a.zk(this.QH,this)}else this.QH()};t.pCa=function(){V(this.D,"Image load failed: "+this.pa);this.dispatchEvent(new rV("I",this))};t.QH=function(){this.Kd=null;this.dispatchEvent(new rV("H",this))};
t.Tya=function(){V(this.D,"initializeCanvas_ started: "+this.pa);var a=new uw(this.bq.width,this.bq.height);this.pb.bya()&&!a.bN(this.pb.ce())&&(a.HH(this.pb.ce()).round(),this.ys=!0);if(this.pb.TWa()){var b=(0,this.pb.iXa)(a);this.ys=!vw(b,a);a=b}var c=document.createElement("canvas");c.width=a.width;c.height=a.height;b=(1==this.pb.NWa?new lV:new aV).dba(this.bq,c,this.pa);b.Ra(function(){this.vs=c.toDataURL(xj,this.pb.gXa/100);this.cb=a},this);b.zk(function(){this.ys=!1},this);return b};t.ce=function(){return this.cb};
t.getBlob=function(){V(this.D,"getBlob started: "+this.pa);this.pb.bEa&&!this.ys&&Zr("You asked us to preserve EXIF data, but this method would lose them.");if(this.vs&&"data:"==this.vs.substr(0,5)){var a=this.vs.indexOf(",");if(0<a){var b=this.vs.substr(5,a-5).split(";"),a=this.vs.substr(a+1);"base64"===b[b.length-1]&&(a=window.atob(a));try{var c;a:{var b=a,e=this.c2,f=a=0,g;if(e){for(g=0;g<b.length;){var h=b.charCodeAt(g++);if(255!=h)break;h=b.charCodeAt(g++);if(216==h)a=f=g;else if(224==h)a=f=
g+=((b.charCodeAt(g)&255)<<8)+(b.charCodeAt(g+1)&255);else{225==h&&(a=g-2,f=g+((b.charCodeAt(g)&255)<<8)+(b.charCodeAt(g+1)&255));break}}if(0==a){c=null;break a}}var k=e?e.length:0,m=new Uint8Array(b.length+k);g=0;var p;for(p=0;p<a;p++,g++)m[g]=b.charCodeAt(p)&255;for(p=0;p<k;p++,g++)m[g]=e[p]&255;for(p=f;p<b.length;p++,g++)m[g]=b.charCodeAt(p)&255;c=TT(m.buffer)}return c}catch(u){V(this.D,"blobFromData_ failed: "+this.pa+": "+u)}}}return null};
t.B=function(){var a=this.bq,b=a.src;a.onload=a.onerror=null;Nv().revokeObjectURL(b);delete this.pb;delete this.bq;delete this.vs;delete this.c2};var wV=function(a,b){mU.call(this);this.hq=new Q;this.wu=new Q;this.hS=new oC;this.E$=cr(this.lm,!1);this.O6=new sV;this.wa(this.O6);this.NF=a||!1;this.ap=b||!1};C(wV,mU);t=wV.prototype;t.D=QC("apps.uploader.XhrUploader");t.gj=!1;t.fv=function(a){wV.g.fv.call(this,a);this.hq.forEach(function(a){a&&(this.lu?a.multiple=r:a.removeAttribute("multiple"))},this)};t.WH=function(a){wV.g.WH.call(this,a);this.hq.forEach(function(a){a&&(this.Us()?a.webkitdirectory=r:a.removeAttribute("webkitdirectory"))},this)};
t.yja=function(a,b,c,e){if(Hs(a))return b||this.dispatchEvent(new J(Ih)),[];this.gj&&this.tw();var f=ys(a,function(a){var b=this.Us()?a.webkitRelativePath||a.relativePath||a.name:a.name||a.fileName;return new ZT(b,a.size||a.fileSize,void 0,void 0,a.lastModifiedDate&&a.lastModifiedDate.getTime(),a.type)},this);e&&this.Us()&&E(e,function(a){f.push(new ZT(a+"."))});E(f,function(b,e){var f=this.Ae(b);f.blob=a[e];c&&(f.pza=!0)},this);this.Us()&&(f=WU(f));this.lY&&Us(f,function(a,b){var c=a.getName(),e=
b.getName();return sr(c,e,/\d+|\.\d+|\D+/g)});if(!b&&(this.dispatchEvent(new J(Ih)),!this.dispatchEvent(new bU(Kh,f))))return[];E(f,function(a){this.Vr(a)},this);b||this.dispatchEvent(new bU(Ue,f));return f};t.install=function(a){if(!a)throw Error(Al);this.dispatchEvent(new fU(Yp,this));this.GK(a,this.NF,this.ap)};t.SA=function(a){if(!a)throw Error(Al);this.dispatchEvent(new fU($p,this));this.RA(a)};t.Xs=function(){return this.lq()?"scotty xhr resumable":"scotty xhr non-resumable"};t.Tt=function(){return!0};
t.UP=function(){return void 0!=(this.ND()||Ow(Ej,{type:Fh})).webkitdirectory};t.lq=function(){return!!File.prototype.slice||!!File.prototype.webkitSlice&&!Zt||!!File.prototype.mozSlice};t.iQ=function(){return this.lq()};t.So=function(a){var b=a.jka||this.Ae(a).blob;D(b);return this.lq()?(a=new VU(a,b),a.wHa(!0),a):new TU(a,b)};t.lm=function(a){this.Fo&&(this.gj=a||this.gj,this.ND().click())};
t.RA=function(a){var b=$q(this.fx(a));Wq(this.Wt)&&this.Wt()?(this.C().Ja(a,this.Ny(a)?ng:Le,this.E$),this.hS.remove(b)):(a=this.hq.get(b))&&S(a.parentNode,!1);this.hq.remove(b)};t.oi=function(a){var b=A(wV.g.oi,this,a),c=this.v3(a),e;a:{if(!w(tV)){tV=!1;try{if(WT()&&document.createElement("canvas").getContext){Nv().revokeObjectURL("");e=tV=!0;break a}}catch(f){}}e=tV}e&&c&&a.Rc>=this.x9?(e=this.Ae(a).blob,c=this.O6.start(e,c),this.C().o(c,["G","H","I"],A(this.Rva,this,a,b))):b()};t.jQ=function(){return!0};
t.xn=function(a){return this.cl(a)!=Gp?!1:(a=this.TN(a))&&a.xn&&a.xn()};t.B=function(){wV.g.B.call(this);Yu(this.wja)};t.yO=function(){return this.lq()?1:0};t.ND=function(){return this.hq.Cb()[0]};t.Wt=function(){return Yt||G&&I(10)||H&&I(12)};
t.xja=function(a,b){var c=O(a);this.wu.set($q(c),c);var e={},f=null,g=N(c);if(Wq(this.Wt)&&this.Wt()&&!this.ND())e={type:Fh,style:"height:0;visibility:hidden;position:absolute"},this.Pm&&(e.accept=this.Pm.join(",")),f=g.j(Ej,e),g.rl(f,c);else{U(c,Xp);var h=Sy(c),e={type:Fh,style:"opacity:0;font-size:"+h.height+Qm+h.height+"px;position:absolute;right:0px;top:0px",tabIndex:b?-1:0};this.Pm&&(e.accept=this.Pm.join(","));f=g.j(Ej,e);e=g.j(n,{style:zl+h.width+Qm+h.height+q},f);g.rl(e,c);R(e,Em,Ke);R(c.parentNode,
Em,Ym);By(e,Cy(c))}f&&(this.hq.set($q(c),f),this.C().o(f,bg,function(){this.dispatchEvent(new J(Jh));this.yja(f.files);f.value=""}))};t.GK=function(a,b,c){var e=this.fx(a),f=$q(e);if(Wq(this.Wt)&&this.Wt()&&(!this.hS.contains(f)&&b&&(this.C().o(a,this.Ny(a)?ng:Le,this.E$),this.hS.add(f)),this.ND()))return;(a=this.hq.get(f))?S(a.parentNode,!0):this.wja=Xu(function(){this.xja(e,c);this.dNa();this.dispatchEvent(new fU(Zp,this))},void 0,this)};t.dNa=function(){this.fv(this.lu);this.WH(this.Us())};
t.Rva=function(a,b,c){var e=c.getItem();switch(c.type){case "G":this.dispatchEvent(new cU(Hh,a));break;case "H":case "I":"H"==c.type&&(e.ys&&a.gca(e.getBlob()),this.dispatchEvent(new cU(Gh,a))),this.PMa(e),b()}};t.PMa=function(a){this.C().Ja(a,["G","H","I"])};var xV=function(a,b,c,e){M.call(this);if(lr(Or(a)))throw Error("sessionServerUrl can't be empty");this.Qu=a;this.Ai=[];this.Na=null;this.$A=void 0;this.qD=c?!0:!1;0<=Ws.indexOf("Firefox/2.")&&(c=window.location,c instanceof oD||(c=xD(c)),a instanceof oD||(a=xD(a)),c.resolve(a));!WD.yL().upload||H&&!I("1.9.2")||this.Ai.push("XHR");if(e){var f;if("undefined"==typeof ActiveXObject)f=null;else try{f=(new ActiveXObject("AgControl.AgControl")).IsVersionSupported("3.0")}catch(g){f=null}Uq(f)?e=f:(f=navigator.plugins?
(f=navigator.plugins["Silverlight Plug-In"])?f.description:"":null,e=z(f)?3<=parseInt(f,10):!1)}e&&this.Ai.push(Xd);b&&(!navigator.javaEnabled()||YB&&!au||ZB&&au||Vt?b=!1:(b=DU(),b=!!b&&0<=Sr(b,"1.5.0_0")));b&&this.Ai.push("JAVA");eQ&&(!bu&&0<=Sr(fQ,"10")||0<=Sr(fQ,"11"))&&this.Ai.push("FLASH");this.Ai.push(ld);V(this.D,"Available mechanisms: "+this.Ai)};C(xV,M);t=xV.prototype;t.D=QC("apps.uploader.UploadManager2");t.yta=function(){return this.Ai[0]};
t.$Fa=function(a,b){V(this.D,"Restricting mechanisms to: "+a);if(!a)throw Error("allowedMechanisms must be defined");Sq(a)||(a=[a]);if(Hs(a))throw Error("allowedMechanisms must not be empty");E(a,function(a){if(!this.xza(a))throw Error("Unknown upload mechanism: "+a);},this);var c;c=b?xs(a,function(a){return Gs(this.Ai,a)},this):xs(this.Ai,function(b){return Gs(a,b)});if(Hs(c))throw new yV("No allowed mechanism is currently available");this.Ai=c;V(this.D,"Available mechanisms now: "+c)};
t.xza=function(a){return jt(zV,a)};t.uIa=function(a,b){this.sqa=a;this.ap=b};t.tKa=function(a,b,c){this.qOa=a;this.pOa=b;this.ap=c};
t.m0=function(a){var b=null,c=this.yta();c?V(this.D,"Creating uploader for mechanism "+c):V(this.D,"No mechanisms left to create an uploader");switch(c){case "JAVA":this.Na=new FU(this.tY,this.zWa);break;case "XHR":this.Na=new wV(this.pOa,this.ap);b=this.qOa;break;case Xd:this.Na=new KU(this.tXa);break;case "FLASH":this.dqa&&(b=this.dqa,b instanceof Vv?pU=b:(b=Qv(Tv(b)),pU=qy(b)));this.Na=new oU;this.rD&&this.Na.kIa(this.rD);this.Na.lIa(this.qD);b=this.PWa;break;case ld:this.Na=new zU(this.ap);b=
this.sqa;break;default:this.Na=null}if(!this.Na)return a&&a(null),null;this.Na.fo(this);b=O(b);a&&(this.$A=a,K(this.Na,[Xe,aq,"applettimedout",We],A(this.qwa,this,c,b)),K(this.Na,Zp,A(this.rwa,this,c,b)));this.Na.install(b);this.Na.LJa(this.Qu);Uq(this.FB)&&this.Na.oHa(this.FB);this.MNa&&this.Na.oKa(this.MNa);return a?null:this.Na};t.rwa=function(a,b,c){c.Bo==this.Na&&this.$A&&(this.$A(this.Na),this.$A=void 0)};t.qwa=function(a,b,c){c.Bo==this.Na&&(this.Na.SA(b),Ls(this.Ai,a),this.m0(this.$A))};
var zV={ERa:"JAVA",OQa:"FLASH",mRa:ld,rWa:"XHR",AUa:Xd},yV=function(){};C(yV,Error);var AV=new OS("apps.uploader");AV.ra(!1);x("apps.uploader.showDebugWindow",function(){AV.ra(!0)},void 0);var BV=function(a){this.FNa=a||!1};C(BV,lB);var CV=null;t=BV.prototype;t.A4=function(){return this.FNa?n:"tr"};t.j=function(a){var b=this.ye(a);return a.v().j(this.A4(),b?{"class":b.join(" ")}:null)};t.gd=function(a){return a.tagName.toLowerCase()==this.A4()};t.la=function(a,b){return BV.g.la.call(this,a,b)};
t.i3=function(a){switch(a){case Jg:return"upload-state-default";case Fj:return"upload-state-inqueue";case Co:return"upload-state-start";case Gp:return"upload-state-upload";case "pause":return"upload-state-pause";case Ff:return"upload-state-backoff";case Mo:return"upload-state-complete";case sh:return"upload-state-error";case Zf:return"upload-state-cancel";default:return""}};t.Od=function(a){BV.g.Od.call(this,a);Zy(a.b(),!1,H);a.kU("");a.zN().K(!1);a.pO().K(!1)};
t.oJ=function(a){var b=a.getMessage();a=a.Wsa();b?(a.hb(" ("+b+")"),a.K(!0)):(a.hb(""),a.K(!1))};t.JU=function(a,b,c){a.LS(this.i3(b));a.lf(this.i3(c));a.p4().K(c==Jg||c==Fj);a.zN().K(c==Co||c==Gp||c==Ff);b=a.getValue();a.pO().K(b.sZ)};t.W=function(){return"upload-file"};var DV=function(a,b,c){pB.call(this,a,b||CV||(CV=new BV),c);this.YK=new Q;this.Uu(!0)};C(DV,pB);DV.prototype.dispatchEvent=function(a){try{return DV.g.dispatchEvent.call(this,a)}catch(b){RC(this.D,Vc,b)}};var FV={DEFAULT:Jg,Pha:Fj,oB:Co,Via:Gp,bTa:"pause",IOa:Ff,Qia:Mo,gia:Hl,ERROR:sh,si:Zf};t=DV.prototype;t.D=QC("apps.uploader.ui.FileItem");t.ZA=Jg;t.Baa=null;t.uZ=null;t.qba=null;t.r9=null;t.gG="";t.p4=function(){return this.Baa||(this.Baa=new bC(null,YF.S(),this.v()))};
t.zN=function(){return this.uZ||(this.uZ=new bC(null,YF.S(),this.v()))};t.pO=function(){return this.qba||(this.qba=new bC(null,YF.S(),this.v()))};t.Wsa=function(){return this.r9||(this.r9=new pB("",void 0,this.v()))};t.setValue=function(a){this.lr(a);this.oJ()};t.getValue=function(){return this.Pd};t.oJ=function(){this.O.oJ(this)};t.JU=function(a){if(a!=this.ZA){if(jt(FV,a)){var b=this.ZA;this.ZA=a;this.O.JU(this,b,a);return!0}throw Error("Unsupported upload state: "+a);}return!1};t.gea=function(a){this.kU(a)};
t.getMessage=function(){return this.gG};t.kU=function(a){a!=this.gG&&(this.gG=a,this.oJ())};t.Ze=function(a){a.target!=this.b()&&this.bva(a);return DV.g.Ze.call(this,a)};t.bva=function(a){var b=a.target.id;this.YK.Ic(b)&&this.YK.get(b)(a)};t.JS=function(a,b){this.YK.set(a.getId(),b)};t.H=function(){DV.g.H.call(this);this.b().id=this.Zh(Fh);this.O.JU(this,this.ZA,this.ZA);this.JS(this.p4(),A(this.Jwa,this));this.JS(this.zN(),A(this.Xua,this));this.JS(this.pO(),A(this.Twa,this))};t.Jwa=function(){this.dispatchEvent("removeclicked")};
t.Xua=function(){this.dispatchEvent("cancelclicked")};t.Twa=function(){this.dispatchEvent("retryclicked")};hB("upload-file",function(){return new DV(null)});QC("apps.uploader.ui.DirectoryItem");QC("apps.uploader.ui.Thumbnail");var GV=function(){if(!G)return!1;try{return new ActiveXObject(Dd),!0}catch(a){return!1}},HV=G&&GV();var IV=G&&!lu(9),JV=H||Yt||Vt||Wt||G&&lu(9),KV=G||Yt||Vt||Wt||!1,LV=Yt||!1,MV=G||Yt||Vt,NV=H||Yt,OV=H||Yt||Vt,PV=Yt&&!I("534.16")||Vt,QV=H&&!0,RV=H||Yt||Vt,SV=H||Vt;G&&I("7.0");var TV=H&&I("1.8")||Yt||Vt,UV=Yt||G&&I("9");G||Wt||Vt||H&&I("1.9");var VV=H||Yt&&!I("527"),WV=G||Vt,XV=G||Wt||Yt&&I("525"),YV=Yt&&!I("531"),ZV=Yt&&!I("528");H&&I("1.9")||G||Wt||Vt||Yt&&I("531");var $V=G||Wt||H||Vt,aW=H||Yt&&!I("526"),bW=G||Vt,cW=!G&&!Vt,dW=!Yt&&!Wt;
YB&&0<=Sr(YU,"4")||ZB&&I("533")||H&&I("2.0")||G&&I("10")||Vt&&Sr(yt(),"15");var eW=Vt&&I("11.10");YB&&Sr(YU,"12");var fW=function(a,b,c){this.Bq=a;this.hGa=!!c;a&&!b&&this.next()};C(fW,Jx);fW.prototype.next=function(){var a=this.Bq;if(!a)throw Ix;this.Bq=this.hGa?a.previousSibling:a.nextSibling;return a};var gW=function(a,b,c){w(c)||(c=b&&a.childNodes.length?a.childNodes.length-1:0);fW.call(this,a.childNodes[c],!0,b)};C(gW,fW);var hW={ADDRESS:!0,ARTICLE:!0,ASIDE:!0,BLOCKQUOTE:!0,BODY:!0,CAPTION:!0,CENTER:!0,COL:!0,COLGROUP:!0,DETAILS:!0,DIR:!0,DIV:!0,DL:!0,DD:!0,DT:!0,FIELDSET:!0,FIGCAPTION:!0,FIGURE:!0,FOOTER:!0,FORM:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEADER:!0,HGROUP:!0,HR:!0,ISINDEX:!0,OL:!0,LI:!0,MAP:!0,MENU:!0,NAV:!0,OPTGROUP:!0,OPTION:!0,P:!0,PRE:!0,SECTION:!0,SUMMARY:!0,TABLE:!0,TBODY:!0,TD:!0,TFOOT:!0,TH:!0,THEAD:!0,TR:!0,UL:!0},iW={IMG:!0,IFRAME:!0,EMBED:!0},jW=function(a){return N(a).jq()},lW=function(a){for(var b;b=
kW(a);)a=b;return a},nW=function(a){for(var b;b=mW(a);)a=b;return a},mW=function(a){return a&&1==a.nodeType?oW(Mx(new gW(a,!1),pW)):null},kW=function(a){return a&&1==a.nodeType?oW(Mx(new gW(a,!0),pW)):null},qW=function(a){return oW(Mx(new fW(a,!1,!0),pW))},rW=function(a){return oW(Mx(new fW(a),pW))},oW=function(a){try{return a.next()}catch(b){return null}},pW=function(a){return 1==a.nodeType||3==a.nodeType&&!mr(a.nodeValue)},sW=function(a,b){var c=Ax(a);if(a.getElementsByTagName)for(var e in iW)if(a.tagName==
e||0<a.getElementsByTagName(e).length)return!1;return!b&&"\u00a0"==c||mr(c)},tW=function(a){return a.length||a.childNodes.length},uW=function(a,b){for(var c=0,e=a.childNodes.length;c<e;c++)if(b(a.childNodes[c]))return c;return null},vW=function(a,b){for(var c=a.parentNode,e=null;c&&b(c);)e=c,c=c.parentNode;return e},wW=function(a){return!!hW[a.tagName]},xW=function(a){for(;a&&3==a.nodeType&&!a.nodeValue;)a=a.nextSibling;return a},yW=function(a){return a.getAttribute&&a.getAttribute(Zh)==r},zW=function(a,
b){for(var c=null;a&&!yW(a);)b(a)&&(c=a),a=a.parentNode;return c},AW=function(a,b,c){for(var e;a!=c&&(e=a.parentNode);){for(var f=e.cloneNode(!1);a.nextSibling;)f.appendChild(a.nextSibling);b&&f.insertBefore(b,f.firstChild);b=f;a=e}return b},BW=function(a,b){G&&Ww(a);a.innerHTML=b};var CW=function(a){var b=a&&a.nodeName,c;(c=!a)||(c=(1!=a.nodeType?null:G?xy(a,Tg):wy(a,Tg))!=Nf&&b!=fe&&b!=de&&"LI"!=b);return!c},DW=function(a){return Bx(a,CW,!0)},EW={text:!0,file:!0,url:!0},FW=function(a){var b=a.target.tagName;b!=ge&&b!=rd&&a.preventDefault()},HW=function(a,b){NV&&b.o(a,Kk,FW,!0);Zy(a,!0);for(var c=a.getElementsByTagName(rd),e=0,f=c.length;e<f;e++){var g=c[e];g.type in EW&&GW(g)}E(a.getElementsByTagName(ge),GW)},GW=function(a){Zy(a,!1);if(NV){var b=a;for(a=a.parentNode;a&&"HTML"!=
a.tagName;){if(Yy?a.style[Yy].toLowerCase()==Yk:(G||Vt)&&"on"==a.getAttribute(Mp)){Zy(a,!1,!0);for(var c=0,e=a.childNodes.length;c<e;c++){var f=a.childNodes[c];f!=b&&1==f.nodeType&&Zy(a.childNodes[c],!0)}}b=a;a=a.parentNode}}};var JW=function(a,b){var c=IW(a,1,b),c=IW(c,0,b),e=c.ka(),f=c.Oa(),g=c.wb(),c=c.gc();if(e==f){for(;f!=b&&0==g&&c==tW(f);)e=f.parentNode,g=us(e.childNodes,f),c=g+1,f=e;e=f}return XI(e,g,f,c)},IW=function(a,b,c){for(var e=(b=1==b)?a.ka():a.Oa(),f=b?a.wb():a.gc(),g=a.md();e!=g&&e!=c&&!(b&&0!=f||!b&&f!=tW(e));)var h=e.parentNode,f=us(h.childNodes,e),f=b?f:f+1,e=h;c=b?e:a.ka();g=b?f:a.wb();e=b?a.Oa():e;a=b?a.gc():f;return XI(c,g,e,a)},LW=function(a,b){var c=a.parentNode,e=us(c.childNodes,a)+(b?0:1),c=
KW(c,e,b,!0),c=LJ(c.node,c.offset);c.select();return c},MW=function(a){for(var b=null,c=a.firstChild;c;){var e=c.nextSibling;3==c.nodeType?""==c.nodeValue?a.removeChild(c):b?(b.nodeValue+=c.nodeValue,a.removeChild(c)):b=c:(MW(c),b=null);c=e}},OW=function(a,b){if(b)var c=NW(b),e=DW(b.md());e?(e=lx(e,a),G?MW(e):e.normalize()):a&&(G?MW(a):a.normalize());return c?c():null},PW=function(a,b){return b?KW(a.ka(),a.wb()):KW(a.Oa(),a.gc())},NW=function(a){var b=a.Uj(),c=QW(PW(a,!b)),e=c.j4(),f=c.node.previousSibling;
3==c.node.nodeType&&(c.node=null);var g=QW(PW(a,b)),h=g.j4(),k=g.node.previousSibling;3==g.node.nodeType&&(g.node=null);return function(){!c.node&&f&&(c.node=f.nextSibling,c.node||(c=new RW(f,tW(f))));!g.node&&k&&(g.node=k.nextSibling,g.node||(g=new RW(k,tW(k))));return XI(c.node||e.node.firstChild||e.node,c.offset,g.node||h.node.firstChild||h.node,g.offset)}},QW=function(a){var b;if(3==a.node.nodeType)for(b=a.node.previousSibling;b&&3==b.nodeType;b=b.previousSibling)a.offset+=tW(b);else b=a.node.previousSibling;
var c=a.node.parentNode;a.node=b?b.nextSibling:c.firstChild;return a},SW=function(a){var b=a.md();return a.ka()!=b.parentElement&&yW(b)||!!Bx(b,yW)},RW=function(a,b){this.node=a;this.offset=b};RW.prototype.j4=function(){var a=this.node.parentNode;return new RW(a,us(a.childNodes,this.node))};
var KW=function(a,b,c,e){for(;1==a.nodeType;){var f=a.childNodes[b];if(f||a.lastChild)if(f){var g=f.previousSibling;if(c&&g){if(e&&TW(g))break;a=g;b=tW(a)}else{if(e&&TW(f))break;a=f;b=0}}else{if(e&&TW(a.lastChild))break;a=a.lastChild;b=tW(a)}else break}return new RW(a,b)},TW=function(a){return 1==a.nodeType&&!Tw(a)},UW=function(a){WI.call(this,a)};C(UW,WI);
UW.prototype.Uq=function(a){var b=this.Re(!0),c=this.Re(!1),b=b&&c?lx(b,c):b||c;UW.g.Uq.call(this);if(a)return OW(b,a);b&&(a=Cw(b),a=kJ(Mw(a)),(a=OW(b,a))&&a.select())};var VW=function(a,b,c,e,f){this.j2=a;this.eV=b;this.UB=c;this.D2=e;this.SM=f||{}},WW=function(a,b){this.kOa=a;this.A0=b},XW=function(a,b,c,e){var f=[];a.UB&&a.eV&&f.push(Pb);f.push('<html style="background:none transparent;min-width:0;');a.UB&&f.push("height:",a.D2?Ob:yf);f.push(Aa);f.push("<head><style>");c&&c.A0&&f.push(c.A0);H&&a.eV&&f.push(" img {-moz-force-broken-image-icon: 1;}");f.push("</style></head>");f.push('<body g_editable="true" hidefocus="true" ');KV&&f.push("contentEditable ");f.push('class="editable ');
f.push('" id="',a.j2,'" style="min-width:0;');H&&a.UB&&(f.push(";width:100%;border:0;margin:0;background:none transparent;",";height:",a.eV?Ob:yf),a.D2?f.push(";overflow:auto"):f.push(";overflow-y:hidden;overflow-x:auto"));Vt&&f.push(";outline:hidden");for(var g in a.SM)f.push(";"+g+":"+a.SM[g]);f.push(Aa,b,"</body></html>");a=f.join("");e=mx(e);e.open();e.write(a);e.close()};var YW=function(){M.call(this);this.ec=this.aK();this.tb=null;this.PY=!0;this.Y=QC("goog.editor.Plugin")};C(YW,M);t=YW.prototype;t.Lb=function(){return this.F()&&this.F().kb};t.F=function(){return this.tb};t.eA=function(a){this.tb=a};t.Tl=function(a){this.eA(a)};t.hm=function(){this.F()&&(this.disable(this.F()),this.eA(null))};t.enable=function(a){this.F()==a?this.ec=!0:RC(this.Y,"Trying to enable an unregistered field with this plugin.")};t.disable=function(a){this.F()==a?this.ec=!1:RC(this.Y,"Trying to disable an unregistered field with this plugin.")};
t.isEnabled=function(a){return this.F()==a?this.ec:!1};t.uHa=function(a){this.PY=a};t.aK=ns;t.f8=ns;t.B=function(){this.F()&&this.hm(this.F());YW.g.B.call(this)};var ZW=qt({MO:1,p5:2,gy:3,Sp:4,hy:5,execCommand:6,queryCommandValue:7,wz:8,bL:10,Hla:11}),$W={8:!0,10:!0,11:!0};YW.prototype.execCommand=function(a,b){var c=this.f8(a);c||(H&&this.F().yv(!0,!0),this.F().Kh());try{var e=this.ld.apply(this,arguments)}finally{c||(this.F().jd(),this.F().Fi())}return e};YW.prototype.rd=function(){return!1};
YW.prototype.Cba=function(){if(this.F()&&Wt){var a=this.F().kb.getWindow();return a.scrollTo.bind(a,a.scrollX,a.scrollY)}return function(){}};var bX=function(a,b){M.call(this);this.Vi=this.id=a;this.kb=null;this.Wf={};this.un={};for(var c in ZW)this.un[c]=[];this.Bj="";this.pV={};this.KI(bg);this.KI(Kg);this.KC=new lz(this.i1,250,this);this.JC={};for(var e in aX)this.JC[aX[e]]=0;H&&(this.Gh=new lz(this.Np,15,this));this.Uc=new rA(this);this.lOa=[];this.yl=0;this.di=N(b||document);this.Mc=this.di.b(this.id);this.lqa=UV;this.Dk=this.di.getWindow()};C(bX,M);bX.prototype.gx=null;bX.prototype.Y=QC("goog.editor.Field");
var aX={nPa:"cvc",VRa:qk,GVa:Lp,KOa:Gf,bPa:bg,OPa:Kg,MOa:Hf,RQa:Nh,SOa:Qf,OOa:"beforetab",sRa:"ifrsz",NOa:Kf,eUa:un},cX=null;t=bX.prototype;t.S6=!1;t.tga=!1;t.yJ=!1;t.fq=function(){return this.S6};t.ev=function(a){this.S6=a};t.b=function(){return this.gx};t.addListener=function(a,b,c,e){var f=this.b();QV&&f&&this.$b()&&(f=f.ownerDocument);e?this.Uc.wl(f,a,b,c,e):this.Uc.o(f,a,b,c)};t.Si=function(a){return this.Wf[a]};
t.Nc=function(a){var b=a.Yb();this.Wf[b]&&RC(this.Y,"Cannot register the same class of plugin twice.");this.Wf[b]=a;for(var c in ZW)a[ZW[c]]&&this.un[c].push(a);a.Tl(this);this.fe()&&a.enable(this)};t.Kfa=function(a){var b=a.Yb();this.Wf[b]||RC(this.Y,"Cannot unregister a plugin that isn't registered.");delete this.Wf[b];for(var c in ZW)a[ZW[c]]&&Ls(this.un[c],a);a.hm(this)};t.zIa=function(a){this.cssText=a};
t.PFa=function(){var a=this.Mc;a.removeAttribute("contentEditable");a.removeAttribute(Zh);a.removeAttribute(cn);this.id?a.id=this.id:a.removeAttribute(rj);a.className=this.yGa||"";var b=this.cssText;b?Iw(a,{style:b}):a.removeAttribute(Jo);z(this.eS)&&(R(a,"lineHeight",this.eS),this.eS=null)};t.$b=os;t.Oy=os;t.$da=ns;var dX={46:!0,8:!0};G||(dX[9]=!0);var eX={86:!0,88:!0};au&&!H&&(dX[229]=!0);
var fX=function(a){var b=!(a.ctrlKey||a.metaKey)&&a.keyCode in dX;return(a.ctrlKey||a.metaKey)&&a.keyCode in eX||b};t=bX.prototype;t.sHa=function(a){this.Dk=a};t.bo=function(a){this.TB=a};t.zD=function(){return this.TB||0};t.Qda=function(a){this.yl=2;this.gx=a;this.kb=N(a);a.setAttribute(Zh,r);aA(a,"textbox")};t.ifa=function(){this.yl=0;for(var a in this.Wf){var b=this.Wf[a];b.aK()||b.disable(this)}this.kb=this.gx=null};
t.wKa=function(){if((VB||WB)&&this.$b()&&this.$da()){var a=this.kb.getWindow();this.iw=A(a.focus,a);a.addEventListener(Xj,this.iw,!1);a.addEventListener(kp,this.iw,!1)}Vt&&this.$b()?(this.JK=A(this.mM,this),this.IK=A(this.OC,this),a=this.kb.getWindow(),a.addEventListener(Nh,this.JK,!1),a.addEventListener(Qf,this.IK,!1)):(WV?(this.addListener(Nh,this.l1),this.addListener(ru,this.h1)):this.addListener(Nh,this.mM),this.addListener(Qf,this.OC,H));H?this.rA():(this.addListener(["beforecut","beforepaste",
"drop","dragend"],this.Kh),this.addListener(["cut","paste"],ss(this.jd)),this.addListener("drop",this.h5));this.addListener(Yt?"dragend":"dragdrop",this.h5);this.addListener(Xj,this.oh);this.addListener(Yj,this.ewa);this.addListener(Zj,this.NO);this.tT=new lz(this.bxa,250,this);this.lqa&&this.addListener(ng,gX);this.addListener(Kk,this.wt);this.tga?(this.Uc.o(this.kb.J(),Ok,this.BE),this.addListener("dragstart",this.vE)):this.addListener(Ok,this.BE)};
t.ls=function(){this.Uc&&this.Uc.removeAll();if((VB||WB)&&this.$b()&&this.$da()){try{var a=this.kb.getWindow();a.removeEventListener(Xj,this.iw,!1);a.removeEventListener(kp,this.iw,!1)}catch(b){}delete this.iw}if(Vt&&this.$b()){try{a=this.kb.getWindow(),a.removeEventListener(Nh,this.JK,!1),a.removeEventListener(Qf,this.IK,!1)}catch(b){}delete this.JK;delete this.IK}this.Gh&&this.Gh.stop();this.KC.stop()};
t.B=function(){(this.P7()||this.fe())&&SC(this.Y,"Disposing a field that is in use.");this.Mc&&this.execCommand(mg);this.ifa();this.ls();this.dL();this.di=null;this.Uc&&(this.Uc.dispose(),this.Uc=null);this.UEa();cX==this.id&&(cX=null);for(var a in this.Wf){var b=this.Wf[a];b.PY&&b.dispose()}delete this.Wf;bX.g.B.call(this)};t.UEa=function(){for(var a;a=this.lOa.pop();)a.dispose()};var hX=["DOMNodeInserted","DOMNodeRemoved","DOMNodeRemovedFromDocument","DOMNodeInsertedIntoDocument","DOMCharacterDataModified"];
bX.prototype.rA=function(){if(LV||!this.$b())this.Uc.o(this.b(),"DOMSubtreeModified",this.PO);else{var a=this.kb.J();this.Uc.o(a,hX,this.PO,!0);this.Uc.o(a,Jc,A(this.d5,this,this.PO),!0)}};bX.prototype.Q4=function(a){if(9==a.keyCode&&!this.Hoa(a)||H&&a.metaKey&&!I(29)&&(37==a.keyCode||39==a.keyCode))return a.preventDefault(),!1;(this.CO=a.charCode||(fX(a)?!0:!(!H||a.ctrlKey||a.metaKey||H&&!a.charCode)))&&this.Kh();return!0};
var iX={8:1,9:1,13:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,46:1},jX={65:!0,86:!0,88:!0},kX={8:1,9:1,13:1,27:1,33:1,34:1,37:1,38:1,39:1,40:1};t=bX.prototype;t.My=function(a,b){for(var c=this.un[a],e=Qs(arguments,1),f=0;f<c.length;++f){var g=c[f];if((g.isEnabled(this)||$W[a])&&g[ZW[a]].apply(g,e))return!0}return!1};t.gza=function(a,b){for(var c=this.un[a],e=Qs(arguments,1),f=0;f<c.length;++f){var g=c[f];(g.isEnabled(this)||$W[a])&&g[ZW[a]].apply(g,e)}};
t.IS=function(a,b,c){for(var e=this.un[a],f=Qs(arguments,1),g=0;g<e.length;++g){var h=e[g];if(h.isEnabled(this)||$W[a])f[0]=h[ZW[a]].apply(h,f)}return f[0]};t.d7=function(a,b){var c={},e=this.O3(a,c);R(b,c);BW(b,e)};t.O3=function(a,b){return this.IS(8,a||"",b)};t.oh=function(a){$t&&65==a.keyCode&&this.n9(a);(H||this.Q4(a))&&!this.My(1,a)&&XV&&this.q5(a)};t.ewa=function(a){if(H){if(!this.Q4(a))return}else this.CO=!0,this.Kh();this.My(2,a)||XV||this.q5(a)};
t.NO=function(a){H||!this.CO&&!fX(a)||this.Np();this.My(3,a);this.n9(a)};t.n9=function(a){!this.Tf(un)&&(iX[a.keyCode]||(a.ctrlKey||a.metaKey)&&jX[a.keyCode])&&(this.dispatchEvent(Kf),this.tT.start())};t.q5=function(a){if(!a.altKey){var b=$t?a.metaKey:a.ctrlKey;if(b||kX[a.keyCode]){var c=a.charCode||a.keyCode;17!=c&&(c=String.fromCharCode(c).toLowerCase(),$t&&H&&"`"==c&&" "==a.Vc.key&&(c=" "),this.My(5,a,c,b)&&a.preventDefault())}}};
t.execCommand=function(a,b){for(var c=arguments,e,f=this.un[6],g=0;g<f.length;++g){var h=f[g];if(h.isEnabled(this)&&h.rd(a)){e=h.execCommand.apply(h,c);break}}return e};t.queryCommandValue=function(a){var b=this.fe()&&this.mQ;if(z(a))return this.jH(a,b);for(var c={},e=0;e<a.length;e++)c[a[e]]=this.jH(a[e],b);return c};t.jH=function(a,b){for(var c=this.un[7],e=0;e<c.length;++e){var f=c[e];if(f.isEnabled(this)&&f.rd(a)&&(b||f.aK()))return f.queryCommandValue(a)}return b?null:!1};
t.d5=function(a,b){if(!this.Tf(bg)){var c=b.Vc;try{if(c.originalTarget.prefix||"scrollbar"==c.originalTarget.nodeName)return}catch(e){return}c.prevValue!=c.newValue&&a.call(this,c)}};t.PO=function(a){this.Tf(bg)||(a=a.qra?a.Vc:a,a.target.firebugIgnore||this.Gh.start())};t.h5=function(){G&&this.execCommand(mg,!0);H&&this.mM();this.jd()};t.Lj=function(){var a;return this.$b()&&(a=this.kb)?(a=a.getWindow())&&a.frameElement:null};t.getRange=function(){var a=this.kb&&this.kb.getWindow();return a&&kJ(a)};
t.Fi=function(a,b){if(!this.Tf(un)){var c=this.getRange(),c=c&&c.md();this.mQ=!!c&&hx(this.b(),c);this.Joa();this.dispatchEvent({type:un,cXa:a&&a.type});this.My(4,a,b)}};t.bxa=function(){var a=this.Sba;this.Sba=null;this.Fi(void 0,a)};t.Kh=function(){this.Tf(Gf)||this.dispatchEvent(Gf)};t.Hoa=function(a){return this.dispatchEvent({type:"beforetab",shiftKey:a.shiftKey,altKey:a.altKey,ctrlKey:a.ctrlKey})};t.yv=function(a,b){a&&(this.Gh&&this.Gh.Ss(),this.KI(bg));b&&(this.ks(),this.KI(Kg))};
t.BA=function(a,b){!a&&this.Gh&&this.Gh.Ss();this.zh(bg);this.zh(Kg);a&&this.Np();b&&this.i1()};t.KI=function(a){this.pV[a]=1};t.zh=function(a){this.pV[a]=0};t.coa=function(a){this.JC[a]=B()};t.Tf=function(a){return!!this.pV[a]||this.JC[a]&&500>=B()-this.JC[a]};t.Joa=function(a){a?this.dispatchEvent({type:"cvc",e_:a}):this.dispatchEvent("cvc")};t.jd=function(a){this.BA(!0,a)};t.Np=function(){this.Tf(bg)||(this.Gh&&this.Gh.stop(),this.Tf(Kg)||this.KC.start())};
t.i1=function(){this.Tf(Kg)||(this.KC.stop(),this.dispatchEvent(Kg))};t.ks=function(){this.Gh&&this.Gh.Ss();this.KC.Ss()};t.mM=function(){this.h1();this.l1()};t.h1=function(){this.Tf(Hf)||(this.execCommand(mg,!0),this.dispatchEvent(Hf))};t.l1=function(){if(!this.Tf(Nh)){cX=this.id;this.mQ=!0;this.dispatchEvent(Nh);if(H){var a=this.b(),b=this.getRange();if(b){var c=b.PD();0!=b.QD()||c&&c!=a&&c.tagName!=rc||LJ(nW(a),0).select()}}!MV&&this.$b()&&this.kb.getWindow().parent.getSelection().removeAllRanges()}};
t.OC=function(){this.Tf(Qf)||(cX==this.id&&(cX=null),this.mQ=!1,this.dispatchEvent(Qf))};var gX=function(a){Cx(a.target,"A")&&a.preventDefault()};t=bX.prototype;t.wt=function(a){cX=this.id;if(G){var b=a.target;b&&"A"==b.tagName&&a.ctrlKey&&this.di.getWindow().open(b.href)}this.yJ=!0};t.vE=function(){this.yJ=!1};t.BE=function(a){if(!this.tga||this.yJ)this.yJ=!1,this.dispatchEvent(Kf),this.Fi(a),G&&(this.Sba=a.target,this.tT.start())};
t.AN=function(){if(this.queryCommandValue(hq))return"\u00a0";if(!this.fe()){var a=this.Mc;if(!a){var b=this.Y;b&&b.log(AC,"Couldn't get the field element to read the contents",void 0)}return a.innerHTML}a=this.isa();this.gza(11,a);return this.IS(10,a.innerHTML)};t.isa=function(){var a=this.b(),b=a.cloneNode(!1),a=a.innerHTML;G&&a.match(/^\s*<script/i)&&(a="\u00a0"+a);b.innerHTML=a;return b};
t.av=function(a,b,c,e){this.P7()?RC(this.Y,"Can't set html while loading Trogedit"):(e&&this.execCommand(mg),b&&a&&(b="<p>"+b+"</p>"),c&&this.yv(!1,!0),this.BIa(b),e&&this.execCommand(Pp),this.fe()&&(c?(H&&this.Gh.Ss(),this.BA()):this.jd()))};t.BIa=function(a){var b=this.b();if(b){if(this.$b()&&Yt)for(var c=b.ownerDocument.getElementsByTagName(kd),e=c.length-1;1<=e;--e)c[e].parentNode.removeChild(c[e])}else b=this.Mc;b&&this.d7(a,b)};
t.MV=function(){var a=this.kb.J();a.designMode="on";TV&&a.execCommand(Ko,!1,!1)};t.m7=function(){this.Bj&&this.uA()&&Wy(this.Bj,this.b())};t.Moa=function(){this.b();this.m7();this.BA();V(this.Y,"Dispatching load "+this.id);this.dispatchEvent(qk)};t.k8=function(){return 0==this.yl};t.fe=function(){return 2==this.yl};t.P7=function(){return 1==this.yl};
t.focus=function(){if(!KV&&this.$b())this.kb.getWindow().focus();else{if(Vt)var a=this.Dk.pageXOffset,b=this.Dk.pageYOffset;this.b().focus();Vt&&this.Dk.scrollTo(a,b)}};t.gqa=function(){!IV&&H||this.UG();this.focus()};t.UG=function(){this.EDa(!0)};t.EDa=function(a){var b=this.b();if(b){var c=a?nW(b):lW(b);b==c?LJ(b,0).select():LW(c,a);this.Fi()}};t.XFa=function(a){a&&a.restore();this.focus()};
t.SF=function(a){this.yl=1;var b=this.Mc;this.nodeName=b.nodeName;this.yGa=b.className;this.zIa(b.style.cssText);U(b,ih);this.cR(a)};t.cR=function(a){this.QAa(a)};t.wE=function(){G&&MJ(this.kb.getWindow());cX!=this.id&&this.execCommand(Pp);this.wKa();this.Moa();for(var a in this.Wf)this.Wf[a].enable(this)};
t.Y8=function(a){if(this.k8())throw Error("makeUneditable: Field is already uneditable");this.ks();this.tT.Ss();this.execCommand(mg);var b=null;!a&&this.b()&&(b=this.AN());this.dL();a=this.Mc;cX==a.id&&(cX=null);this.ls();z(b)&&(BW(a,b),this.PFa());this.lba();this.ifa();Yt&&a.blur();this.execCommand(Pp);this.dispatchEvent(Lp)};t.lba=function(){var a=this.Mc;if(a){var b=this.Lj();b&&$w(a,b)}};
t.uA=function(){if(!w(this.St)&&(this.St=!1,G&&this.$b())){for(var a=this.di.getWindow();a!=a.parent;)try{a=a.parent}catch(b){break}a=a.location;this.St=a.protocol==nj&&-1==a.search.indexOf("nocheckhttps")}return this.St};t.QAa=function(a){var b=this.Mc;if(b){var b=b.innerHTML,c={},b=this.IS(8,b,c),e=this.di.j(od,this.$m());if(this.uA()){var f=A(this.Mt,this,e,b,c);this.VM=K(e,qk,f,!0);a&&(e.src=a)}this.KY(e);this.uA()||this.Mt(e,b,c)}};
t.KY=function(a){var b=this.Mc;a.className=b.className;a.id=b.id;$w(a,b)};t.RN=function(a){var b=jW(this.Mc);return new VW(this.id,b,!1,!1,a)};t.Qga=function(a,b,c){c=this.RN(c);if(this.uA())a=mx(a).body,KV&&(a.contentEditable=!0),a.className=ih,a.setAttribute(Zh,!0),a.hideFocus=!0,a.id=c.j2,R(a,c.SM),a.innerHTML=b;else{var e=new WW(this.b(),this.Bj);XW(c,b,e,a)}};t.Mt=function(a,b,c){this.dL();a.allowTransparency=r;this.Qga(a,b,c);this.Qda(mx(a).body);!KV&&this.$b()&&this.MV();this.wE()};
t.dL=function(){this.VM&&(Pu(this.VM),this.VM=null)};t.$m=function(){var a="padding:0;"+this.Mc.style.cssText;jr(a,";")||(a+=";");a+="background-color:white;";G&&(a+="overflow:visible;");return{frameBorder:0,style:a}};var lX=function(){YW.call(this);this.rF=!0;this.vV=this.wV=!1};C(lX,YW);t=lX.prototype;t.Yb=function(){return"FirstStrong"};t.queryCommandValue=function(){return!1};t.Sp=function(){this.rF=!0;return!1};
t.p5=function(a){if(iX[a.keyCode])return this.rF=!0,!1;if(!this.rF||a.ctrlKey||a.metaKey)return!1;var b;b=a.charCode;b=null!=b&&0<=b&&1114111>=b?65536<=b&&1114111>=b?String.fromCharCode((b>>10)+55232)+String.fromCharCode((b&1023)+56320):String.fromCharCode(b):null;b&&a.charCode||(a=a.Vc)&&(b=G&&a.getAttribute?a.getAttribute("fs-input"):a["fs-input"]);if(!b)return!1;a=mv.test(b);b=!a&&nv.test(b);if(!a&&!b)return!1;this.rF=!1;this.Cza()&&(this.wV=b,this.vV=a);return!1};
t.gy=function(){if(this.wV){var a=this.F();a.jd(!0);a.execCommand(fn);this.wV=!1}else this.vV&&(a=this.F(),a.jd(!0),a.execCommand(uk),this.vV=!1);return!1};t.mra=function(){for(var a=this.F().getRange().ka();!mX(a);)a=a.parentNode;return a};t.Cza=function(){var a=this.mra(),b=PW(this.F().getRange(),!1).node,c=H&&!this.nF(a)?nX:mX,a=this.fua(a,b,c);return!lv.test(jv(a,void 0))&&!kv.test(jv(a,void 0))};t.nF=function(a){if(!a)return!1;a=a.tagName;return"UL"==a||"OL"==a};
t.fua=function(a,b,c){var e=[],f=!1;a&&b&&Nx(new YI(a),function(a){if(a==b)f=!0;else if(c(a)){if(f)return!0;e=[]}3==a.nodeType&&e.push(a.nodeValue);return!1});return e.join("")};var mX=function(a){return!!a&&wW(a)&&"LI"!=a.tagName},nX=function(a){return!!a&&(a.tagName==sc||mX(a))};var oX=function(a){this.nMa=a&&0<a?a:0},pX=/(?:\x3c!--.*?--\x3e|<!.*?>|<(\/?)(\w+)[^<>]*>|[^<]+|<)/g,qX={SCRIPT:!0,STYLE:!0,PRE:!0,XMP:!0},rX={ADDRESS:!0,APPLET:!0,AREA:!0,BASE:!0,BASEFONT:!0,BLOCKQUOTE:!0,BODY:!0,CAPTION:!0,CENTER:!0,COL:!0,COLGROUP:!0,DIR:!0,DIV:!0,DL:!0,FIELDSET:!0,FORM:!0,FRAME:!0,FRAMESET:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0,HEAD:!0,HR:!0,HTML:!0,IFRAME:!0,ISINDEX:!0,LEGEND:!0,LINK:!0,MENU:!0,META:!0,NOFRAMES:!0,NOSCRIPT:!0,OL:!0,OPTGROUP:!0,OPTION:!0,P:!0,PARAM:!0,TABLE:!0,
TBODY:!0,TD:!0,TFOOT:!0,TH:!0,THEAD:!0,TITLE:!0,TR:!0,UL:!0},sX={BR:!0,DD:!0,DT:!0,BR:!0,LI:!0,NOFRAMES:!0},tX={BR:!0,HR:!0,ISINDEX:!0};
oX.prototype.format=function(a){a=a.replace(/^\s*?( *\S)/,"$1");a=a.replace(/\s+$/,"");for(var b=this.nMa,c=b?B():0,e=new uX,f=0,g=[],h;h=pX.exec(a);){var k=h[0];if(3==h.length){var m=h[2];m&&(m=m.toUpperCase());qX.hasOwnProperty(m)?"/"==h[1]?(h=g.length,(h?g[h-1]:null)==m?(g.pop(),e.Nl(!1,k,!g.length)):e.Nl(!1,k,!1)):(e.Nl(!g.length,k,!1),g.push(m)):g.length?e.Nl(!1,k,!1):rX.hasOwnProperty(m)?(m=tX.hasOwnProperty(m),h="/"==h[1],e.Nl(m||!h,k,m||h)):sX.hasOwnProperty(m)?(m=tX.hasOwnProperty(m),h="/"==
h[1],e.Nl(!1,k,h||m)):e.Nl(!1,k,!1)}else e.Nl(!1,k,!1);h=pX.lastIndex;if(!k||h<=f)throw Error("Regex failed to make progress through source html.");f=h;if(b&&B()-c>b){e.Nl(!1,a.substring(pX.lastIndex),!1);pX.lastIndex=0;break}}e.I8();b=String(e);if(b.length!=a.length+e.dZ)throw Error("Lost data pretty printing html.");return b};var uX=function(){this.nz=new UC};t=uX.prototype;t.dZ=0;t.RP=!0;t.E9=!1;
t.Nl=function(a,b,c){!this.E9&&!a||/^\r?\n/.test(b)||/\/ul/i.test(b)||this.I8();this.nz.append(b);this.RP=/\r?\n$/.test(b);this.E9=c&&!this.RP};t.I8=function(){this.RP||(this.nz.append("\n"),++this.dZ)};t.toString=function(){return this.nz.toString()};var vX=function(a,b,c,e){YI.call(this,a,b,c,null,e)};C(vX,YI);vX.prototype.next=function(){do vX.g.next.call(this);while(this.jF());return this.node};var wX=function(){};C(wX,lB);Qq(wX);var xX=0;t=wX.prototype;t.j=function(a){var b=this.ye(a);a=a.v().j(d,b?b.join(" "):null,this.Qma(a.xb(),a.ce(),a.v()));aA(a,Wi);return a};t.Qma=function(a,b,c){for(var e=[],f=0,g=0;f<b.height;f++){for(var h=[],k=0;k<b.width;k++){var m=a&&a[g++];h.push(this.sL(m,c))}e.push(this.EL(h,c))}return this.Aj(e,c)};t.Aj=function(a,b){var c=b.j(de,this.W()+"-table",b.j(ee,this.W()+"-body",a));c.cellSpacing=0;c.cellPadding=0;return c};
t.EL=function(a,b){var c=b.j("TR",this.W()+"-row",a);aA(c,"row");return c};t.sL=function(a,b){var c=b.j(fe,{"class":this.W()+"-cell",id:this.W()+"-cell-"+xX++},a);aA(c,Xi);T(c,sn,!1);if(!zx(c)&&!iA(c)){var e=this.Qpa(c);e&&jA(c,e)}return c};t.Qpa=function(a){a=new vX(a);for(var b="",c;!b&&(c=Rx(a,null));)1==c.nodeType&&(b=iA(c)||c.title);return b};t.gd=function(){return!1};t.la=function(){return null};
t.hb=function(a,b){if(a){var c=Ew(ee,this.W()+"-body",a)[0];if(c){var e=0;E(c.rows,function(a){E(a.cells,function(a){Ww(a);if(b){var c=b[e++];c&&a.appendChild(c)}})});if(e<b.length){for(var f=[],g=N(a),h=c.rows[0].cells.length;e<b.length;){var k=b[e++];f.push(this.sL(k,g));f.length==h&&(k=this.EL(f,g),c.appendChild(k),f.length=0)}if(0<f.length){for(;f.length<h;)f.push(this.sL("",g));k=this.EL(f,g);c.appendChild(k)}}}Zy(a,!0,H)}};
t.DN=function(a,b){for(var c=a.b();b&&1==b.nodeType&&b!=c;){if(b.tagName==fe&&mA(b,this.W()+"-cell"))return b.firstChild;b=b.parentNode}return null};t.lya=function(a,b,c){b&&(b=this.h3(b),D(b),qA(b,this.W()+"-cell-hover",c),c?T(a.ae(),Oe,b.id):b.id==fA(a.ae(),Oe)&&cA(a.ae(),Oe))};t.h3=function(a){return a?a.parentNode:null};t.KGa=function(a,b,c){b&&(a=b.parentNode,qA(a,this.W()+"-cell-selected",c),T(a,sn,c))};t.W=function(){return"goog-palette"};var zX=function(a,b,c){pB.call(this,a,b||wX.S(),c);this.IT(88,!1);this.Gw=new yX;this.Gw.fo(this);this.DQ=-1};C(zX,pB);t=zX.prototype;t.cb=null;t.yb=-1;t.$=null;t.B=function(){zX.g.B.call(this);this.$&&(this.$.dispose(),this.$=null);this.cb=null;this.Gw.dispose()};t.Yu=function(a){zX.g.Yu.call(this,a);this.gY();this.$?(this.$.clear(),this.$.WX(a)):(this.$=new hC(a),this.$.HJa(A(this.Nu,this)),this.C().o(this.$,pn,this.Sp));this.yb=-1};t.Qh=function(){return""};t.er=function(){};
t.Th=function(a){zX.g.Th.call(this,a);var b=this.O.DN(this,a.target);b&&a.relatedTarget&&hx(b,a.relatedTarget)||b!=this.RD()&&this.Kca(b)};t.Nd=function(a){zX.g.Nd.call(this,a);this.Bc()&&(a=this.O.DN(this,a.target),a!=this.RD()&&this.Kca(a))};t.Ze=function(a){var b=this.RD();return b?(a&&this.HKa(a)&&this.wd(b),zX.g.Ze.call(this,a)):!1};t.HKa=function(a){return this.Xb()?a.type!=Ok?!0:!!this.O.DN(this,a.target):!0};
t.zc=function(a){var b=this.xb(),b=b?b.length:0,c=this.cb.width;if(0==b||!this.isEnabled())return!1;if(13==a.keyCode||32==a.keyCode)return this.Ze(a);if(36==a.keyCode)return this.ad(0),!0;if(35==a.keyCode)return this.ad(b-1),!0;var e=0>this.yb?this.Bg():this.yb;switch(a.keyCode){case 37:if(-1==e||0==e)e=b;this.ad(e-1);a.preventDefault();return!0;case 39:return e==b-1&&(e=-1),this.ad(e+1),a.preventDefault(),!0;case 38:-1==e&&(e=b+c-1);if(e>=c)return this.ad(e-c),a.preventDefault(),!0;break;case 40:if(-1==
e&&(e=-c),e<b-c)return this.ad(e+c),a.preventDefault(),!0}return!1};t.Sp=function(){};t.ce=function(){return this.cb};t.Ub=function(a,b){if(this.b())throw Error(Cc);this.cb=Vq(a)?new uw(a,b):a;this.gY()};t.RD=function(){var a=this.xb();return a&&a[this.yb]};t.tsa=function(){return this.O.h3(this.RD())};t.ad=function(a){a!=this.yb&&(this.u6(this.yb,!1),this.DQ=this.yb,this.yb=a,this.u6(a,!0),this.dispatchEvent("J"))};t.Kca=function(a){var b=this.xb();this.ad(b&&a?us(b,a):-1)};
t.Bg=function(){return this.$?this.$.Bg():-1};t.Xb=function(){return this.$?this.$.Xb():null};t.vd=function(a){this.$&&this.$.vd(a)};t.wd=function(a){this.$&&this.$.wd(a)};t.u6=function(a,b){if(this.b()){var c=this.xb();if(c&&0<=a&&a<c.length){var e=this.tsa();this.Gw.b()!=e&&this.Gw.Ab(e);this.Gw.KMa(b)&&this.O.lya(this,c[a],b)}}};t.Hd=function(a){a&&-1==this.yb?this.ad(-1<this.DQ?this.DQ:0):a||this.ad(-1);zX.g.Hd.call(this,a)};t.Nu=function(a,b){this.b()&&this.O.KGa(this,a,b)};
t.gY=function(){var a=this.xb();if(a)if(this.cb&&this.cb.width){if(a=Math.ceil(a.length/this.cb.width),!Vq(this.cb.height)||this.cb.height<a)this.cb.height=a}else a=Math.ceil(Math.sqrt(a.length)),this.cb=new uw(a,a);else this.cb=new uw(0,0)};var yX=function(){pB.call(this,null);this.$z(2,!0)};C(yX,pB);yX.prototype.KMa=function(a){this.Hd(a);return this.ZP()==a};var AX=function(a,b,c){this.pC=a||[];zX.call(this,null,b||wX.S(),c);this.NHa(this.pC)};C(AX,zX);t=AX.prototype;t.vG=null;t.EF=null;t.NHa=function(a,b){this.pC=a;this.EF=b||null;this.vG=null;this.hb(this.Dma())};t.tO=function(){var a=this.Xb();return a?(a=vy(a,Bf),BX(a)):null};t.lA=function(a){a=BX(a);this.vG||(this.vG=ys(this.pC,function(a){return BX(a)}));this.vd(a?us(this.vG,a):-1)};
t.Dma=function(){return ys(this.pC,function(a,b){var c=this.v().j(d,{"class":this.O.W()+"-colorswatch",style:"background-color:"+a}),e;this.EF&&this.EF[b]?e=this.EF[b]:"#"==a.charAt(0)?(e=iy(a),e="RGB ("+[parseInt(e.substr(1,2),16),parseInt(e.substr(3,2),16),parseInt(e.substr(5,2),16)].join(", ")+")"):e=a;c.title=e;return c},this)};var BX=function(a){if(a)try{return ly(a).ME}catch(b){}return null};var CX=function(){this.om=new CS};C(CX,lB);Qq(CX);t=CX.prototype;t.nua=function(a){return a.firstChild.childNodes[1]};t.ssa=function(a){return a.firstChild.lastChild};t.cua=function(a){return a.lastChild};t.ata=function(a){return a.firstChild.firstChild};t.gd=function(a){return a.tagName==d&&!a.firstChild};t.la=function(a,b){CX.g.la.call(this,a,b);this.PX(a,b);this.Hv(a,b);return b};
t.Hv=function(a,b){var c=a.ce();b.style.width=c.width+"em";var e=this.nua(b);e.style.width=c.width+"em";e.style.height=c.height+"em";a.qd()&&this.Yja(a,b)};t.PX=function(a,b){var c=a.v().j(d,this.W()+"-mousecatcher"),e=a.v().j(d,{"class":this.W()+"-unhighlighted",style:Fq}),f=a.v().j(d,this.W()+"-highlighted");b.appendChild(a.v().j(d,{style:Fq},c,e,f));b.appendChild(a.v().j(d,this.W()+"-status"))};
t.j=function(a){var b=this.ye(a),b=a.v().j(d,{"class":b?b.join(" "):"","aria-hidden":r});this.PX(a,b);this.Hv(a,b);return b};t.Od=function(a){CX.g.Od.call(this,a);var b=a.getValue();this.Lca(a,b.width,b.height);this.Q$(a)};t.Y3=function(a){return a.b().firstChild};t.psa=function(a,b){return Math.min(a.$F,Math.ceil(b/18))};t.qsa=function(a,b){return Math.min(a.aG,Math.ceil(b/18))};
t.Lca=function(a,b,c){var e=a.b();if(e){var f=this.ssa(e).style;f.width=b+"em";f.height=c+"em";a.qd()&&(f.right="0");this.om.jT(b+(" by "+c),uf);nx(this.cua(e),"\u202a"+(b+" x "+c)+"\u202c")}};
t.Q$=function(a){var b=this.ata(a.b()),c=Cw(b),e=c.body,f=Py(b,e);b.style.display=Yk;var g=a.qd()&&0<f.x?Math.floor(f.x/18):Math.floor((e.scrollWidth-f.x)/18),c=G?Dy(e).scrollHeight-20:Math.max(Mw(c).innerHeight,e.scrollHeight)-20,f=Math.floor((c-f.y)/18);b.style.width=Math.min(a.$F,g)+"em";b.style.height=Math.min(a.aG,f)+"em";b.style.display="";a.qd()&&(b.style.right="0")};t.W=function(){return pi};
t.Yja=function(a,b){var c=a.getParent();if(c){var c=c.b(),e=vy(c,an);if(""==e){var e=Cy(c),f=Sy(c);0!=f.width&&0!=e.x&&(e=Ty(Dy()).width-e.x-f.width,R(c,an,e+q))}""!=vy(c,jk)&&R(c,jk,"")}else R(b,an,"0px")};var DX=function(a,b){pB.call(this,null,a||CX.S(),b);this.cb=new uw(this.u9,this.y9)};C(DX,pB);t=DX.prototype;t.u9=5;t.y9=5;t.$F=20;t.aG=20;t.QE=1;t.PE=1;t.H=function(){DX.g.H.call(this);var a=this.C();a.o(this.O.Y3(this),Lk,this.my).o(this.v().getWindow(),$m,this.U5);var b=this.getParent();b&&a.o(b,Sn,this.L5)};t.Ya=function(){DX.g.Ya.call(this);var a=this.C();a.Ja(this.O.Y3(this),Lk,this.my).Ja(this.v().getWindow(),$m,this.U5);var b=this.getParent();b&&a.Ja(b,Sn,this.L5)};
t.L5=function(){this.V()&&this.setValue(1,1)};t.B=function(){DX.g.B.call(this);delete this.cb};t.my=function(a){var b=this.O.psa(this,this.qd()?a.target.offsetWidth-a.offsetX:a.offsetX);this.setValue(b,this.O.qsa(this,a.offsetY))};t.U5=function(){this.O.Q$(this)};
t.zc=function(a){var b=this.QE,c=this.PE;switch(a.keyCode){case 40:b++;break;case 38:b--;break;case 37:if(this.qd())c++;else{if(1==c)return!1;c--}break;case 39:if(this.qd()){if(1==c)return!1;c--}else c++;break;default:return DX.g.zc.call(this,a)}this.setValue(c,b);return!0};t.ce=function(){return this.cb};t.getValue=function(){return new uw(this.PE,this.QE)};
t.setValue=function(a,b){w(b)||(b=a.height,a=a.width);a=Math.max(1,a);b=Math.max(1,b);a=Math.min(this.$F,a);b=Math.min(this.aG,b);if(this.PE!=a||this.QE!=b){var c=this.O;this.cb.width=Math.max(Math.min(a+1,this.$F),this.u9);this.cb.height=Math.max(Math.min(b+1,this.aG),this.y9);c.Hv(this,this.b());this.PE=a;this.QE=b;c.Lca(this,a,b)}};hB(pi,function(){return new DX});var EX=function(){};C(EX,AB);Qq(EX);EX.prototype.j=function(a){return a.v().j(d,this.ye(a).join(" ")+na,"\u00a0")};EX.prototype.la=function(a,b){b=EX.g.la.call(this,a,b);D(b);U(b,vi);return b};EX.prototype.W=function(){return Ri};var FX=function(){this.Io="toolbar"};C(FX,kB);Qq(FX);FX.prototype.Ax=function(a){return"HR"==a.tagName?new BB(EX.S()):FX.g.Ax.call(this,a)};FX.prototype.W=function(){return"goog-toolbar"};FX.prototype.p3=function(){return ij};var GX=function(a,b,c){vB.call(this,b,a||FX.S(),c)};C(GX,vB);GX.prototype.Cg=function(a){GX.g.Cg.call(this,a);this.lG||this.yy()};var HX=function(){};C(HX,cC);Qq(HX);HX.prototype.W=function(){return Ni};var IX=function(a,b,c){bC.call(this,a,b||HX.S(),c)};C(IX,bC);hB(Ni,function(){return new IX(null)});var JX=function(){};C(JX,eC);Qq(JX);JX.prototype.createCaption=function(a,b){return JX.g.createCaption.call(this,KX(a,b),b)};var KX=function(a,b){return b.j(d,"goog-color-menu-button-indicator",a)};JX.prototype.setValue=function(a,b){a&&LX(this.U(a),b)};var LX=function(a,b){if(a&&a.firstChild){var c;if(c=b)c=!!(hy.test("#"==b.charAt(0)?b:"#"+b)||jy(b).length||gy&&gy[b.toLowerCase()]);c=c?ly(b).ME:null;a.firstChild.style.borderBottomColor=c||(G?"":Hp)}};
JX.prototype.Od=function(a){var b=a.b();D(b);this.setValue(b,a.getValue());U(b,mi);JX.g.Od.call(this,a)};var MX=function(a,b,c,e){gC.call(this,a,b,c||JX.S(),e)};C(MX,gC);
var NX={fRa:"#000 #444 #666 #999 #ccc #eee #f3f3f3 #fff".split(" "),WUa:"#f00 #f90 #ff0 #0f0 #0ff #00f #90f #f0f".split(" "),aTa:"#f4cccc #fce5cd #fff2cc #d9ead3 #d0e0e3 #cfe2f3 #d9d2e9 #ead1dc #ea9999 #f9cb9c #ffe599 #b6d7a8 #a2c4c9 #9fc5e8 #b4a7d6 #d5a6bd #e06666 #f6b26b #ffd966 #93c47d #76a5af #6fa8dc #8e7cc3 #c27ba0 #cc0000 #e69138 #f1c232 #6aa84f #45818e #3d85c6 #674ea7 #a64d79 #990000 #b45f06 #bf9000 #38761d #134f5c #0b5394 #351c75 #741b47 #660000 #783f04 #7f6000 #274e13 #0c343d #073763 #20124d #4c1130".split(" ")},OX=
function(a,b){var c=new EB(b);a&&E(a,function(a){c.sa(a,!0)});at(NX,function(a){a=new AX(a,null,b);a.Ub(8);c.sa(a,!0)});return c};t=MX.prototype;t.tO=function(){return this.getValue()};t.lA=function(a){this.setValue(a)};t.setValue=function(a){for(var b=0,c;c=this.Se(b);b++)typeof c.lA==Yh&&c.lA(a);MX.g.setValue.call(this,a)};t.ky=function(a){typeof a.target.tO==Yh?this.setValue(a.target.tO()):a.target.getValue()==Yk&&this.setValue(null);MX.g.ky.call(this,a);a.stopPropagation();this.dispatchEvent(Le)};
t.Jb=function(a,b){a&&0==this.Ri()&&(this.Rg(OX(null,this.v())),this.setValue(this.getValue()));MX.g.Jb.call(this,a,b)};hB(mi,function(){return new MX(null)});var PX=function(){};C(PX,eC);Qq(PX);PX.prototype.W=function(){return Pi};var QX=function(){};C(QX,PX);Qq(QX);QX.prototype.createCaption=function(a,b){return fC(KX(a,b),this.W(),b)};QX.prototype.setValue=function(a,b){a&&LX(this.U(a),b)};QX.prototype.Od=function(a){this.setValue(a.b(),a.getValue());U(D(a.b()),Oi);QX.g.Od.call(this,a)};var RX=function(a,b,c,e){MX.call(this,a,b,c||QX.S(),e)};C(RX,MX);hB(Oi,function(){return new RX(null)});var SX=function(a,b,c,e){gC.call(this,a,b,c||PX.S(),e)};C(SX,gC);hB(Pi,function(){return new SX(null)});var TX=function(a,b,c,e){iC.call(this,a,b,c||PX.S(),e)};C(TX,iC);hB(Qi,function(){return new TX(null)});var UX=function(a,b){BB.call(this,a||EX.S(),b)};C(UX,BB);hB(Ri,function(){return new UX});var VX=function(a,b,c){bC.call(this,a,b||cC.S(),c);this.Fb(16,!0)};C(VX,bC);hB("goog-toggle-button",function(){return new VX(null)});var WX=function(a,b,c){VX.call(this,a,b||HX.S(),c)};C(WX,VX);hB("goog-toolbar-toggle-button",function(){return new WX(null)});var XX=function(a){M.call(this);this.dom=a;this.pg=null};C(XX,M);XX.prototype.show=function(){this.pg||(this.pg=this.Cw(),this.pg.o(fj,this.Lua,!1,this));this.pg.K(!0)};XX.prototype.Xe=function(){this.pg&&this.pg.K(!1)};XX.prototype.Ee=function(){return!!this.pg&&this.pg.V()};XX.prototype.lEa=function(){this.jl(new JA(dl,null))&&this.Xe()};var YX=function(a){this.Fs=a;this.Eo=new HA("",!0,this.Fs.dom);this.pw=new IA(this.Fs.dom);this.ow={};this.lf("tr-dialog")};t=YX.prototype;
t.Xc=function(a){this.Eo.Xc(a);return this};t.ZX=function(a){this.pw.set(dl,a||"OK",!0);this.ow.ok=A(this.Fs.jl,this.Fs);return this};t.eK=function(a){this.pw.set(Zf,a||Ac,!1,!0);this.ow.cancel=A(this.Fs.Wua,this.Fs);return this};t.Gb=function(a,b,c){c=c||Ur();this.pw.set(c,a);this.ow[c]=b;return this};t.lf=function(a){U(D(this.Eo.Vm()),a);return this};t.hb=function(a){this.Eo.U().appendChild(a);return this};
t.Gk=function(){this.pw.Zb()&&(this.ZX(),this.eK());this.Eo.co(this.pw);var a=this.ow;this.ow=null;this.Eo.o(Pg,function(b){if(a[b.key])return a[b.key](b)});this.Eo.Zca(!0);var b=this.Eo;this.Eo=null;return b};t=XX.prototype;t.zg=function(){return this.hh(dl)};t.hh=function(a){return this.pg.Qc.ux(a)};t.jl=function(a){return(a=this.BL(a))?this.dispatchEvent(a):!1};t.Wua=function(){return this.dispatchEvent(Zf)};t.B=function(){this.pg&&(this.Xe(),this.pg.dispose(),this.pg=null);XX.g.B.call(this)};
t.Lua=function(){this.dispatchEvent(Pe)};var ZX=/a(:(link|visited|active|hover))?/,$X=function(){this.Ow="";this.Zl=[]};t=$X.prototype;t.Uya=function(a){var b=a.style;if(!b)return!1;var c,e="";b&&(c=a.selectorText)&&(e=b.cssText)?G&&(e+="/* */"):a.cssText&&(b=/([^\{]+)\{/,c=b.exec(a.cssText)[1],e=a.cssText.replace(b,"").replace(/\}[^\}]*$/g,""));return c?(this.IJa(c),this.Ow=e,!0):!1};t.IJa=function(a){this.Zl=[];a=a.split(/,\s*/gm);for(var b=0;b<a.length;b++){var c=a[b];0<c.length&&this.Zl.push(new aY(c))}};
t.clone=function(){var a=new $X;a.Zl=this.Zl.concat();a.Ow=this.Ow;return a};t.tca=function(a,b){var c=[],e;for(e in a){var f=a[e];f&&c.push(e,":",f,b?" !important":"",";")}this.Ow=c.join("")};t.nOa=function(a){for(var b=this.Zl.length,c=!1,e=0;e<b;e++){for(var f=this.Zl[e].Mn,g=f.length,h=0;h<g;h++)a.push(f[h].h7," ");e<b-1&&a.push(",");H&&!I("1.9a")&&(c=c||ZX.test(f[g-1].h7))}b=this.Ow;c&&(b=b.replace(bY,"$1 color: $2 ! important; "));a.push("{",b,"}\n")};
var bY=/(^|;|{)\s*color:([^;]+);/g,aY=function(a){this.tK={};a&&this.kJa(a)};aY.prototype.kJa=function(a){var b=[];a=a.split(/\s+/gm);for(var c=0;c<a.length;c++)if(a[c]){var e=new cY(a[c]);b.push(e)}this.Mn=b};aY.prototype.UAa=function(a){var b=a.uid;if(this.tK[b])return this.tK[b];for(var c=0,e=null,f=null,g=a.J9,h=g.length,k=0;k<=this.Mn.length;k++){for(a=this.Mn[k];c<h;){var m=g[c];if(a&&a.jfa(m)){e={E1:c,Uba:k};c++;break}else f&&f.jfa(m)&&(e={E1:c,Uba:k-1});c++}f=a}return this.tK[b]=e};
var cY=function(a){var b=dY[a];if(b)return b;for(var b=a.match(/[#\.]/)?a.split(/(?=[#\.])/):[a],c={},e=0;e<b.length;e++){var f=b[e];"."==f.charAt(0)?c.className=f.substring(1,f.length):"#"==f.charAt(0)?c.id=f.substring(1,f.length):c.tagName=f.toUpperCase()}this.h7=a;this.WAa=c;this.lfa={};dY[a]=this},dY={};
cY.prototype.jfa=function(a){var b=a.uid,c=this.lfa[b];if("undefined"!=typeof c)return c;var e=this.WAa,c=e.tagName,f=e.className,e=e.id,g=!0;c&&"*"!=c&&c!=a.nodeName?g=!1:e&&e!=a.id?g=!1:f&&!a.Gla[f]&&(g=!1);return this.lfa[b]=g};
var fY=function(a){var b=$q(a),c=eY[b];if(c)return c;c=[];do{var e={id:a.id,nodeName:a.nodeName};e.uid=$q(e);var f={};if(a.className)for(var g=kA(es(a)),h=0;h<g.length;h++)f[g[h]]=1;e.Gla=f;c.unshift(e)}while(a=a.parentNode);this.J9=c;this.uid=$q(this);eY[b]=this},eY={},gY=function(a){var b=[];a=MP(a.styleSheets);for(var c=0,e;e=a[c];c++)if((e=LP(e))&&e.length)for(var f=0,g=e.length;f<g;f++){var h=new $X;h.Uya(e[f])&&b.push(h)}return b},hY={},iY=["color",wq,"quotes","list-style-type","list-style-image",
"list-style-position","list-style","page-break-inside","orphans","widows","font-family","font-style","font-variant","font-weight","text-indent","text-align",Yo,"white-space","caption-side","border-collapse","border-spacing","empty-cells","cursor"],jY=["font-family","font-size","font-weight","font-variant","font-style","color","text-align","text-decoration","text-indent",Yo,"letter-spacing","white-space","word-spacing"],nY=function(a,b,c){var e=a.ownerDocument;b&&(b=$q(e),hY[b]=gY(e));b=$q(e);if(!hY[b]){var f=
$q(e);hY[f]=gY(e)}b=hY[b];e=[];for(f=0;f<b.length;f++)e.push(b[f].clone());for(var f=new fY(a),g=new cY("body"),h=0;h<e.length;h++){var k=e[h].Zl;b=k.length;for(var m=0;m<b;m++){var p=k[m],u=p.UAa(f);if(u){var y=u.Uba,p=p.Mn,P=p.length-1;u.E1==f.J9.length-1||y<P?(u=p.concat(),u.splice(0,y+1,g),y=new aY,y.Mn=u,k.push(y)):0<y&&y==P&&(y=new aY,y.Mn=[g,p[P]],k.push(y))}}}f=new $X;b=kY(a);g=new aY;g.Mn=[new cY("html")];f.Zl=[g];g={};for(h=0;m=iY[h];h++)g[m]=b[Vr(m)];f.tca(g);e.push(f);f=new $X;g=new aY;
g.Mn=[new cY("body")];k={position:Ym,top:"0",left:"0",right:yf,display:Nf,visibility:zq};for(h=0;m=jY[h];h++)k[m]=b[Vr(m)];if(c&&lY(b.backgroundColor)){c={backgroundImage:Yk};for(var h=a,L;(h=h.parentNode)&&1==h.nodeType;){y=kY(h);m=y.backgroundColor;lY(m)||(c.backgroundColor=m);if(y.backgroundImage&&y.backgroundImage!=Yk){c.backgroundImage=y.backgroundImage;c.backgroundRepeat=y.backgroundRepeat;L?(m=Ny(a,L),p=L.frameElement,u=Py(p,h),p=Iy(p),m.x+=u.x+p.left,m.y+=u.y+p.top):m=Py(a,h);y=y.backgroundPositionY?
[y.backgroundPositionX,y.backgroundPositionY]:(y.backgroundPosition||"0 0").split(" ");for(u=0;2>u;u++){var ma=y[u],p=0==u?"X":"Y",P=Ef+p,da=mY.exec(ma);if(da){ma=parseInt(da[1]+da[2],10);da=da[3];if(0==ma||da==q)ma-="X"==p?m.x:m.y;ma+=da}c[P]=ma}c.backgroundPosition=c.backgroundPositionX+" "+c.backgroundPositionY}if(c.backgroundColor)break;if("HTML"==h.tagName)try{if(L=Mw(h.parentNode),h=L.frameElement,!h)break}catch(Zb){break}}k[Bf]=c.backgroundColor;a=b.backgroundImage;a&&a!=Yk||(k[Cf]=c.backgroundImage,
k["background-repeat"]=c.backgroundRepeat,k["background-position"]=c.backgroundPosition)}f.tca(k,!0);f.Zl=[g];e.push(f);a=[];b=e.length;for(h=0;h<b;h++)e[h].nOa(a);return a.join("")},lY=function(a){return a==Hp||"rgba(0, 0, 0, 0)"==a},kY=function(a){return a.currentStyle||Cw(a).defaultView.getComputedStyle(a,"")||{}},mY=/^(-?)([0-9]+)([a-z]*|%)/;var oY=function(a){var b=a.indexOf(",");a:for(a=(-1!=b?a.substring(0,b):a).toLowerCase(),b=0;2>b;b++){var c="\"'".charAt(b);if(a.charAt(0)==c&&a.charAt(a.length-1)==c){a=a.substring(1,a.length-1);break a}}return a},pY=function(a,b){E(b,function(b){var e=b.caption;b=b.value;var f=oY(b),e=new JR(e,b,a.v());e.ki(f);a.T(e);e.U().style.fontFamily=b})},rY=function(a,b){E(b,function(b){var e=b.value;b=new JR(b.caption,e,a.v());a.T(b);b=b.U();b.style.fontSize=(qY[e]||10)+q;b.firstChild.style.height="1.1em"})},
qY=[10,10,13,16,18,24,32,48],sY=function(a,b){E(b,function(b){var e=b.caption;b=b.Ia;var f=a.v(),e=new JR(f.j(d,null,e),b,f);e.ki(b);a.T(e)})},uY=function(a,b,c,e,f,g){c=new IX(tY(c,e,g),f,g);c.ki(a);c.Jd(b);return c},vY=function(a,b,c,e,f,g){a=uY(a,b,c,e,f,g);a.Fb(16,!0);return a},wY=function(a,b,c,e,f,g){f=new TX(null,null,f,g);e&&E(e.split(/\s+/),f.lf,f);f.lf(Qi);f.gr(c);f.ki(a);f.Jd(b);return f},xY=function(a,b,c,e,f,g){c=new RX(tY(c,e,g),null,f,g);c.ki(a);c.Jd(b);return c},tY=function(a,b,c){a&&
""!=a||!H||I("1.9a")||(a="\u00a0");return(c||N()).j(d,b?{"class":b}:null,a)};var yY=function(a,b){this.xi=a;this.Vt=b;this.Gpa=[]};t=yY.prototype;t.$s=function(){if(!this.RL){var a=nW(this.xi);this.RL=a.tagName&&a.tagName==pd?a.getAttribute("alt"):Ax(this.xi)}return this.RL};t.kq=function(){return this.Vt};t.GP=function(a){this.xi.href=a};
t.xda=function(a,b){var c=this.xi;c.href=b;var e=this.$s();if(a!=e){var f=nW(c);f.tagName&&f.tagName==pd?f.setAttribute("alt",a?a:""):(3==f.nodeType&&(f=f.parentNode),Ax(f)!=e&&(f=c),Ww(f),c=N(f),f.appendChild(c.createTextNode(a)));this.RL=null}this.Vt=!1};t.FDa=function(){var a=this.xi;if(ZV){var b;b=a.nextSibling;b&&3==b.nodeType&&(ir(b.data,"\u00a0")||ir(b.data," "))||(b=N(a).createTextNode("\u00a0"),Yw(b,a));LJ(b,1).select()}else LW(a,!1)};t.fNa=function(a,b){this.GP(b);this.FDa();a.execCommand(Np)};
t.I4=function(){var a=pr(this.$s());return zY(a)?0>a.search(/:/)?lj+qr(a):a:AY.test(a)?"mailto:"+a:null};t.Vpa=function(a){var b=this.I4();b?this.fNa(a,b):a.execCommand(mk,this)};
var BY=function(a,b,c,e){var f=new yY(a,!0);f.GP(b);c&&(a.target=c);e&&(f.Gpa=e);return f},CY=function(a,b){var c=new yY(a,!0),e=c.I4();c.GP(e?e:"");b&&(a.target=b);return c},zY=function(a){if(/\s/.test(a)||AY.test(a))return!1;var b=!1;/^[^:\/?#.]+:/.test(a)||(a=lj+a,b=!0);a=a.match(fD);if(-1!=us(["mailto","aim"],a[1]))return!0;var c=a[3];if(!c||b&&-1==c.indexOf(".")||/[^\w\d\-\u0100-\uffff.%]/.test(c))return!1;b=a[5];return!b||0==b.indexOf("/")},AY=/^[\w-]+(\.[\w-]+)*\@([\w-]+\.)+(\d+|\w\w+)$/i,
DY=function(a){return!!a&&ir(a,"mailto:")};var EY=function(a,b){M.call(this);this.M=N(a);this.N=new rA(this);this.iW=new TL(this.M.getWindow());this.Wc={};this.jg=this.M.j(d,{className:"tr_bubble"});S(this.jg,!1);a.appendChild(this.jg);R(this.jg,"zIndex",b);this.lw=this.z_(this.M,this.jg);this.YZ=this.M.j(d,{className:"tr_bubble_closebox",innerHTML:Ea});this.lw.appendChild(this.YZ);HW(this.jg,this.N);this.Za=new EA(this.jg)};C(EY,M);t=EY.prototype;t.z_=function(a,b){return b};t.Y=QC("goog.ui.editor.Bubble");
t.B=function(){EY.g.B.call(this);Zw(this.jg);this.jg=null;this.N.dispose();this.N=null;this.iW.dispose();this.iW=null};t.U=function(){return this.lw};t.md=function(){return this.jg};t.Cx=function(){return this.N};t.Hxa=function(){this.V()&&this.oa()};t.Xu=function(a){this.Za.Xu(a)};t.Txa=function(a){return dt(this.Wc,function(b){return b.type==a})};
t.Zv=function(a,b,c,e,f){var g=Ur();b=new FY(this.M,g,a,b,c,!f);this.Wc[g]=b;var h;c=0;for(f=this.lw.childNodes.length-1;c<f;c++){var k=this.lw.childNodes[c];if(this.Wc[k.id].type>a){h=k;break}}Xw(b.element,h||this.lw.lastChild);e(b.U());HW(b.element,this.N);a=ft(this.Wc);1==a?this.cS():2==a&&U(D(this.jg),Bp);this.oa();return g};t.nFa=function(a){Zw(this.Wc[a].element);delete this.Wc[a];a=ft(this.Wc);1>=a&&oA(D(this.jg),Bp);0==a?this.ZZ():this.oa()};
t.cS=function(){this.N.o(this.YZ,ng,this.ZZ).o(this.iW,$m,this.Hxa).o(this.Za,fj,this.Dwa);this.Za.K(!0);this.oa()};t.ZZ=function(){this.Za.K(!1)};t.Dwa=function(){for(var a in this.Wc)Zw(this.Wc[a].element);this.Wc={};oA(D(this.jg),Bp);this.N.removeAll();this.dispatchEvent(fj)};t.V=function(){return this.Za.V()};var GY=G?4:2,HY=new ry(GY,0,GY,0);EY.prototype.Tsa=function(){return HY};
EY.prototype.oa=function(){var a=null,b=!0,c;for(c in this.Wc)var e=this.Wc[c],a=e.zV,b=b&&e.TDa;c=496;a=Xy(this.jg)!=Xy(a);b&&(c=this.pS(a?13:9,8,9));c&496&&(c=this.pS(a?12:8,9,9));c&496&&(c=this.pS(a?13:9,8,5),c&496&&SC(this.Y,"reposition(): positionAtAnchor() failed with "+c))};EY.prototype.pS=function(a,b,c){var e=null,f;for(f in this.Wc){var g=this.Wc[f].zV;if(!e||hx(g,e))e=this.Wc[f].zV}return Wz(e,a,this.jg,b,null,this.Tsa(),c,null,this.yua())};EY.prototype.yua=ps;
var FY=function(a,b,c,e,f,g){this.type=c;this.zV=f;this.TDa=g;this.element=a.j(d,{className:"tr_bubble_panel",id:b},a.j(d,{className:"tr_bubble_panel_title"},e?e+":":""),a.j(d,{className:"tr_bubble_panel_content"}))};FY.prototype.U=function(){return this.element.lastChild};var IY=function(){YW.call(this);this.Uc=new rA(this);this.kla=null};C(IY,YW);var JY=function(a,b){return new EY(a,b)},KY={};t=IY.prototype;t.Ln=null;t.DF=!1;t.J1=function(a){this.DF=a};t.f3=function(){return KY};t.Yb=ms("AbstractBubblePlugin");t.Bb=function(){return this.Ah};t.gy=function(){this.V()&&this.Sp();return!1};
t.Sp=function(a,b){var c;if(a)c=a.target;else if(b)c=b;else{var e=this.F().getRange();if(e){var f=e.ka(),g=e.Oa(),h=e.wb(),k=e.gc();G&&e.isCollapsed()&&f!=g&&(e=LJ(f,h));1==f.nodeType&&f==g&&h==k-1&&(f=f.childNodes[h],1==f.nodeType&&(c=f))}c=c||e&&e.md()}return this.DE(c)};t.DE=function(a){if(a&&(a=this.sx(a)))return a==this.Ah&&this.Ln||(this.Ln&&this.Ok(),this.y_(a)),!1;this.Ln&&this.Ok();return!1};
t.disable=function(a){if(a.k8()){var b=this.f3(),c=b[a.id];c&&(a==this.F()&&this.Ok(),c.dispose(),delete b[a.id])}};t.Sx=function(){var a=this.CWa||this.F().Dk.document.body;this.M=N(a);var b=this.f3(),c=b[this.F().id];c||(c=(this.kla||JY).call(null,a,this.F().zD()),b[this.F().id]=c);return c};t.y_=function(a){var b=this.Sx();b.Txa(this.tx())||(this.Ah=a,this.Ln=b.Zv(this.tx(),this.BD(),a,A(this.wC,this),this.Zda()),this.Uc.o(b,fj,this.C5),this.ke(),this.DF&&this.Uc.o(b.U(),Xj,this.TBa))};t.tx=function(){return""};
t.BD=function(){return""};t.Zda=ns;t.NEa=function(a,b){this.Uc.rq(a,zH,b)};t.Ok=function(){this.Ln&&(this.Sx().nFa(this.Ln),this.C5())};t.ke=Pq;t.Ila=Pq;t.C5=function(){this.Ln=this.Ah=null;this.Uc.removeAll();this.Ila()};t.MO=function(a){if(this.DF&&this.V()&&9==a.keyCode&&!a.shiftKey){var b=this.Sx().U();if(b=Gw(np,b))return b.focus(),a.preventDefault(),!0}return!1};t.TBa=function(a){if(this.V()&&9==a.keyCode){var b=this.Sx().U(),b=Fw(np,b);(a.shiftKey?b[0]:ts(b))==a.target&&(this.F().focus(),a.preventDefault())}};
t.V=function(){return!!this.Ln};t.oa=function(){var a=this.Sx();a&&a.oa()};t.zL=function(a){return this.M.j(Td,{id:a,className:"tr_option-link"},this.M.createTextNode("\u00a0-\u00a0"))};t.To=function(a,b,c,e){a=this.Vma(a,b,!1,e);c&&this.NEa(a,c);return a};t.Vma=function(a,b,c,e){b=this.M.j(c?"A":Td,{className:"tr_bubble_link"},b);this.DF&&this.vda(b);b.setAttribute(cn,mk);this.Rda(b,a,e);HW(b,this.Uc);return b};t.vda=function(a){a.hasAttribute(Po)||a.setAttribute(Po,0);U(a,np)};
t.Rda=function(a,b,c){c?c.appendChild(a):(c=this.M.b(b))&&$w(a,c);a.id=b};var LY=function(a){IY.call(this);this.gD=Os(arguments);this.sB=[];this.tGa=[kj,mj,"ftp"]};C(LY,IY);t=LY.prototype;t.NLa=!1;t.dla=!0;t.Yb=function(){return"LinkBubble"};t.rd=function(a){return a==Np};t.ld=function(a){a==Np&&this.gNa()};t.gNa=function(){var a=this.Bb();a&&(this.Ok(),this.y_(a))};t.sx=function(a){a=Cx(a,"A");if(!a){var b=this.F().getRange();b&&b.isCollapsed()&&0==b.wb()&&(b=b.ka().previousSibling)&&"A"==b.tagName&&(a=b)}return a};
t.Wx=function(){return this.Bb().getAttribute("href")||""};t.tx=function(){return"A"};t.BD=function(){return"Link"};
t.wC=function(a){var b=this.Psa(),c=b.valid?Mf:"red",e=this.GKa(b.LF);if(!AY.test(b.LF)&&b.valid&&e){var f=this.M.j(Td,{id:Fp},"Go to link: "),c=this.M.j(Td,{id:"tr_link-text",style:"color:"+c},""),b=Ir(b.LF,48);this.To("tr_test-link",this.M.createTextNode(b).data,this.dMa,c)}else c=this.M.j(Td,{id:"tr_link-text",style:"color:"+c},this.M.createTextNode(b.LF));e=this.zL("tr_change-link-span");this.To("tr_change-link","Change",this.ZKa,e);this.sB=[];for(b=0;b<this.gD.length;b++){var g=this.gD[b],h=
this.zL(g.tLa);this.sB.push(h);this.To(g.YWa,g.gG,function(){g.yWa(this.Wx())},h)}h=this.zL("tr_delete-link-span");this.To("tr_delete-link",Od,this.moa,h);this.ke();f=this.M.j(d,{id:"tr_link-div"},f||"",c,e);for(b=0;b<this.sB.length;b++)f.appendChild(this.sB[b]);f.appendChild(h);a.appendChild(f)};t.dMa=function(a){Ux(this.eua(),{target:Ee,noreferrer:this.NLa},this.F().Dk);a&&(a.stopPropagation(),a.preventDefault())};t.M7=ns;
t.Psa=function(){var a,b=this.Wx();this.M7(b)?(b="invalid url",a=!0):DY(b)&&(b=b.substring(7));return{LF:b,valid:!a}};t.ZKa=function(a){a.preventDefault();this.F().execCommand(mk,new yY(this.Bb(),!1));this.Ok()};t.moa=function(a){a.preventDefault();this.F().Kh();var b=this.Bb();a=b.lastChild;ax(b);b=this.Cba();a=aJ(a,void 0);a.collapse(!1);a.select();this.Ok();this.F().jd();this.F().focus();b()};
t.ke=function(){if(this.M.b("tr_link-div")){var a=this.M.b(Fp);if(a){var b=this.Wx();S(a,!DY(b))}for(a=0;a<this.gD.length;a++){var b=this.gD[a],c=this.M.b(b.tLa);c&&S(c,b.vXa(this.Wx()))}}};t.eua=function(){var a=this.Wx();return this.eMa?this.eMa(a):a};t.GKa=function(a){return!this.dla||this.Oza(a)};t.Oza=function(a){a=hD(1,a)||kj;return Gs(this.tGa,a.toLowerCase())};var MY={IMAGE:vj,dVa:"spChar",sha:hh,pQa:"editImage",Rr:mk,Mha:Gj};var NY=function(a){var b=a.match(/^([a-zA-Z]+):(.*)$/);b&&(this.protocol=b[1].toLowerCase(),a=b[2],"mailto"==this.protocol||"javascript"==this.protocol||0!=a.indexOf("//")||(a=a.substring(2)),b=a.match(/^([^\/]+)/))&&(this.domain=b[1],a=a.substring(this.domain.length));a.match(/^(\/|[^?#])/)&&(this.path=a.match(/^(.[^?#]*)/)[1],a=a.substring(this.path.length));"?"==a.charAt(0)?this.query=a:"#"==a.charAt(0)&&(this.hash=a)};
NY.prototype.getUrl=function(){var a=[],b=function(b){b&&a.push(b);return b};b(this.protocol)&&b("://");b(this.domain);b(this.path);b(this.hash);b(this.query);return a.join("")};NY.prototype.t7=function(){return!!this.protocol&&""!=this.protocol};NY.prototype.bR=function(a){if(!this.t7()&&(this.protocol=a.protocol,this.domain=a.domain,this.path)){a=a.path||"/";var b=this.path;b.match(/^\//)?a=b:(0<a.length&&!a.match(/\/$/)&&(a+="/"),a+=b);this.path=a}};
NY.prototype.$ea=function(){this.path&&(this.path="/"==this.path?void 0:this.path.replace(/\/$/,""))};var OY=function(a){this.nKa(a)},PY=function(a){a=a.location.toString();a=a.substring(0,a.lastIndexOf("/")+1);return new OY({base:a,draft:a,preview:a,live:a,edit:a})};OY.prototype.nKa=function(a){this.Xg=a;this.Xg.site=QY(this.Xg.base)};var QY=function(a){return a.substring(0,a.indexOf("/",9))};OY.prototype.getUrl=function(a,b){this.Py(a)&&(a=(this.Xg[b]||this.Xg.base)+RY(a));return a};OY.prototype.Fta=function(a){if(this.Py(a)){if(0==a.search(/[^:\/\s]+:\/\//))return RY(a);0==a.indexOf(Je)&&(a=a.substring(11))}return a};
var SY={thumb:96,small:96,medium:200,large:420};OY.prototype.Tx=function(a,b){return this.Ut(a)?TY[b]:UY[b]};OY.prototype.gt=function(a,b,c){if(this.Ut(a))return this.gO(a,b);"thumb"==b&&(b=qo);a=this.bE(a);var e=RY(a);return this.getUrl("/"+a+"/"+e.substring(0,e.lastIndexOf("."))+"-"+b+(c?";"+c:"")+".jpg",pk)};OY.prototype.bE=function(a){if(this.Ut(a))return this.gO(a,Xh);this.Py(a)&&VY(a)&&(a=this.getUrl(a,pk),a=a.substring(0,a.lastIndexOf("/")));return a};
OY.prototype.TF=function(a){a=a.getElementsByTagName(yj);for(var b=0,c=a.length;b<c;b++)a[b].src=this.getUrl(a[b].src,pk)};
var RY=function(a){var b;b=a.lastIndexOf("/");VY(a)&&(b=a.lastIndexOf("/",b-1));0==a.indexOf(Je,b+1)&&(b+=11);b+=1;var c=a.lastIndexOf("?");return-1==c?decodeURIComponent(a.substring(b)):decodeURIComponent(a.substring(b,c))},VY=function(a){a:{if(a=a.match(/.*\/([^\/]+)\.\w{1,4}\/([^\/]+)-(small|medium|large|full|custom).*(?:\.\w{1,4})?$/)){var b=a[3];if(a[1]==a[2]){a=b;break a}}a=null}return!!a},WY=!1;
OY.prototype.Py=function(a){if(WY){if(DY(a))return!1;var b=!1,c;for(c in this.Xg)""!=this.Xg[c]&&(b|=0==a.search(this.Xg[c]));return b||0!=a.search(/[^:\/\s]+:\/\//)||0==a.search("/")}return!1};
var XY=[/(http:\/\/lighthouse-dev\.corp\.google\.com\/image)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,/(http:\/\/lh[3-6]+\.google\.[.a-z]+)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,/(https:\/\/lh[3-6]+\.google\.com)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,/(http:\/\/lh[3-6]+\.ggpht\.com)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,/(https?:\/\/lh[3-6]+\.googleusercontent\.com)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,
/(https?:\/\/[1-4]+\.bp\.blogspot\.[.a-z]+)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/,/(https?:\/\/bp[0-3]+\.blogger\.[.a-z]+)\/([^/]+)\/([^/]+\/[^/]+\/[^/]+)\/(s\d+)(-?[hR]?)\/([^/]+)/],TY={thumb:72,small:200,medium:320,large:400,"x-large":640,full:1600},UY={thumb:96,small:200,medium:320,large:400,"x-large":640};OY.prototype.f9=function(a){for(var b=0;b<XY.length;++b){var c=a.match(XY[b]);if(c)return c}return null};OY.prototype.Ut=function(a){return!!this.f9(a)};
OY.prototype.gO=function(a,b){var c=this.f9(a);return[c[1],c[2],c[3],"s"+TY[b]+c[5],c[6]].join("/")};OY.prototype.tF=function(a){return this.Ut(a)?!0:this.Py(a)};var YY=!1;var ZY=String.fromCharCode(160);PC("TR_EventUtil");var $Y=function(a,b){b.target=a;a.dispatchEvent(b)};var aZ=function(){YW.call(this)};C(aZ,YW);PC("TR_Node");var bZ=function(a,b,c){for(;b&&b!=c;){var e=b.nextSibling;a.appendChild(b);b=e}b&&a.appendChild(b)},cZ=function(a,b){var c=a.ownerDocument.createTextNode(b);a.appendChild(c);return c},dZ=function(a,b,c,e){var f=N(a).j(Td,{className:"tr_pseudo-link"});c.o(f,ng,b);a.appendChild(f);e&&cZ(f,e);return f};var eZ=["clear","marginBottom","marginLeft","marginRight",Dg,"styleFloat"],fZ=function(a,b){var c=a.parentNode;c&&(Zw(a),"P"==c.nodeName&&c.className==wn?sW(c)?Zw(c):c.getElementsByTagName(b).length||(c.className=""):"A"==c.nodeName&&sW(c)&&Zw(c))};var gZ=function(a){a.removeAttribute(Eq);a.removeAttribute(dj);a.style.width="";a.style.height=""},iZ=function(a,b,c){return a.width>b||a.height>c?(hZ(a,b,c),!0):!1},hZ=function(a,b,c){c=c?c:b;var e=a.width,f=a.height,g=b/e,h=c/f;h>g?(e=b,f*=g):(f=c,e*=h);a.width=e;a.height=f},mZ=function(a,b,c,e){if(c.tF(a.src)){var f=jZ?e:function(){gZ(a);e&&e()},g=cr(kZ,a,a.src,c);lZ(a,f,g);a.src=c.gt(a.src,b)}},kZ=function(a,b,c){lZ(a,cr(nZ,!1),cr(nZ,!0));a.src=b;(b=oZ(a))&&b.href==c.gt(a.src,Xh)&&pZ(a,c,c.bE(a.src))},
nZ=function(a){a&&alert("Oops! The image could not be found")},qZ=function(a,b){var c;if(a.height&&a.width){c=Math.max(a.height,a.width);var e=a.src,f=null,g,h=TY,k;for(k in h)"thumb"!=k&&(h=b.Tx(e,k),h>=c&&(!f||h-c<g)&&(f=k,g=h-c));c=f}else c=null;return c},rZ=!1,jZ=!1,sZ=function(a,b,c,e){gZ(a);var f=a.src;rZ&&b.tF(f)&&(f=c?b.bE(f):b.gt(f,Xh));var g,h;e&&(g=e.EG,h=e.jCa);a.src==f?g&&g():(g&&lZ(a,g,h),a.src=f)},tZ={},uZ={},vZ={},lZ=function(a,b,c){var e=$q(a);if(b){var f=G&&!I("11");b=cr(wZ,b);tZ[e]=
K(a,f?Tm:qk,b,!1)}c&&(c=cr(wZ,c),uZ[e]=K(a,sh,c,!1))},wZ=function(a,b){var c=b.currentTarget,e=c.readyState;e&&e!=vg||(e=$q(c),Pu(tZ[e]),delete tZ[e],Pu(uZ[e]),delete uZ[e],vZ[e]&&(v.clearInterval(vZ[e]),delete vZ[e]),a(c))},yZ=function(a,b,c){lZ(a,cr(xZ,a,b,c))},xZ=function(a,b,c){var e=b.Tx(a.src,Ek);rZ&&iZ(a,e,e)?(hZ(a,b.Tx(a.src,Ek)),rZ?mZ(a,Ek,b,c):c&&c()):c&&c(a)},oZ=function(a){var b=Cx(a,"A");if(b){for(var c=b.firstChild;c;)if(c==a||3==c.nodeType&&0==c.nodeValue.length)c=c.nextSibling;else return null;
return b}return null},pZ=function(a,b,c){var e=oZ(a);e||(e=N(a).createElement("A"),e.setAttribute("imageanchor",1));c||(c=a.src,rZ&&b.tF(c)&&(c=b.gt(c,Xh)));b.Py(c)&&(c=b.Fta(c));e.href=c;a.border="0";for(b=0;b<eZ.length;b++)c=eZ[b],e.style[c]=a.style[c];for(b=0;b<eZ.length;b++)a.style[eZ[b]]="";a.parentNode!=e&&($w(e,a),e.appendChild(a));return e};var zZ=function(a){this.M=a};zZ.prototype.Aj=function(a){a=this.f0(a,"tr_feedback",!0);a.align=ag;return a};zZ.prototype.Sda=function(a,b,c,e,f){a=a.cells;this.pA(a[0],b,f);this.pA(a[1],c,f);this.pA(a[2],e,f)};
zZ.prototype.f0=function(a,b,c){var e=this.M.Aj(3,3,!0);Iw(e,{"class":b,border:0,cellSpacing:0,cellPadding:0});b=e.rows;this.Sda(b[0],"tr_tl",c?null:"tr_t","tr_tr",c?null:2);var f=b[1].cells;this.pA(f[0],c?null:"tr_l");Iw(f[1],a);this.pA(f[2],c?null:"tr_r");this.Sda(b[2],"tr_bl",c?null:"tr_b","tr_br",c?null:2);return e};zZ.prototype.pA=function(a,b,c){Ww(a);a.className=b||"tr_sidebar";c&&(a.width=c,a.height=c);a.appendChild(this.M.j(pd,{height:1,width:1,alt:""}))};var AZ=function(a,b){EY.call(this,a,b)};C(AZ,EY);AZ.prototype.z_=function(a,b){var c=new zZ(a),e="tr_bubble-content-"+Ur(),c=c.f0({className:"tr_body",id:e},"tr_bubble");b.appendChild(c);e=a.b(e);e.innerHTML="";return e};var BZ=function(a){IY.call(this);this.gZ=a};C(BZ,IY);BZ.prototype.rd=function(a){return a==this.gZ};BZ.prototype.execCommand=function(a,b){return this.ld.apply(this,arguments)};BZ.prototype.ld=function(a,b){if(a==this.gZ)return this.DE(b)};BZ.prototype.Zda=function(){this.Bb();return!1};JY=function(a,b){return new AZ(a,b)};var CZ=function(a){LY.apply(this,arguments)};C(CZ,LY);t=CZ.prototype;t.rd=function(a){return CZ.g.rd.call(this,a)||a==jl};t.ld=function(a,b){return a==jl?this.DE(b):CZ.g.ld.call(this,a,b)};t.disable=function(a){CZ.g.disable.call(this,a);this.ab=null};t.M7=function(a){var b;if(b=!DY(a)){b=this.vua().Xg.base;var c;(c=YY)&&!(c=a==lj||"http:///"==a||""==a||"/"==a)&&(b=QY(b),c=a==b+"/"||a==b);b=c}return b};t.vua=function(){this.ab||(this.ab=PY(this.Lb().getWindow()));return this.ab};var DZ=function(a){this.gOa=a;this.iD={}};t=DZ.prototype;t.Sja=function(a,b){this.iD[a]=b};t.gFa=function(a){this.iD[a]=null};t.L4=function(a){var b=(a=a||cX)?this.Dx(a):null;return a&&b.$b()&&this.iD[a]?b.N3():this.gOa};t.J=function(a){return this.L4(a).J()};t.v=function(a){return N(this.J(a))};t.getWindow=function(a){return this.L4(a).getWindow()};t.Dx=function(a){return this.iD[a]};t.bra=function(){var a=cX;return a?this.Dx(a):null};var EZ=function(a,b){M.call(this);this.Aa=a;this.Ui=!!b;this.Ry=this.O7();if(!this.Ry){var c=G&&!I("7")?Tm:qk;this.ej=K(this.Aa,c,this.jy,!1,this);this.OP=window.setInterval(A(this.jy,this),100)}};C(EZ,M);t=EZ.prototype;t.ej=null;t.fe=function(){return this.Ry};t.o9=function(){this.OP&&(window.clearInterval(this.OP),this.OP=null)};t.fl=function(){return this.Aa};t.B=function(){delete this.Aa;this.o9();Pu(this.ej);EZ.g.B.call(this)};
t.O7=function(){var a=!1;try{if(this.Ui||!G||I("11"))var b=mx(this.Aa).body,a=this.Ui?!!b&&!!b.firstChild:!!b;else a=this.Aa.readyState==vg}catch(c){}return a};t.jy=function(){this.O7()&&(this.o9(),Pu(this.ej),this.ej=null,this.Ry=!0,this.dispatchEvent("ifload"))};var FZ=top;var GZ=function(a){this.I$=a};t=GZ.prototype;t.D=PC("TR_WindowUtil");t.getWindow=function(){return this.I$};t.J=function(){this.Mh||(this.Mh=this.getWindow().document);return this.Mh};t.xN=function(){this.cZ||(this.cZ=this.J().body);return this.cZ};t.usa=function(){this.z6||(this.z6=this.xN().parentNode);return this.z6};t.Rf=function(){return this.g4().clientWidth};t.Be=function(){return this.g4().clientHeight};t.g4=function(){this.P9||(this.P9=jW(this.J())?this.J().documentElement:this.xN());return this.P9};
t.jU=function(a){try{this.getWindow().location=a}catch(b){}};t.iqa=function(){this.getWindow().focus()};t.getRange=function(){return kJ(this.getWindow())};var HZ=function(){FZ.status="";return!0};GZ.prototype.refresh=function(){this.getWindow().location.reload(!0)};var IZ=function(a,b){this.VE=new EZ(a,b);this.bS=[];try{var c=a.contentWindow}catch(e){}finally{c?this.Uda():this.load()}};C(IZ,GZ);t=IZ.prototype;t.Y=PC("TR_IframeUtil");t.Y0=function(){this.ej&&(Pu(this.ej),this.ej=null);this.VE.dispose()};t.Uda=function(){this.I$=this.fl().contentWindow;this.aAa=!0};t.load=function(a){a&&this.bS.push(a);this.ej||(this.ej=K(this.VE,"ifload",this.w1,!0,this));this.VE.fe()&&this.w1()};
t.w1=function(){for(this.aAa||this.Uda();this.bS.length;)this.bS.pop()();Pu(this.ej);this.ej=null};t.fl=function(){return this.VE.fl()};t.cE=function(){return this.fl().ownerDocument};t.resize=function(a,b){var c=Vq(a)?a:parseInt(a,10),e=Vq(b)?b:parseInt(b,10);this.fl().width=c;this.fl().height=e};t.qEa=function(a,b){a.o(this.cE(),Nk,A(this.BEa,this),!0);var c=A(this.pEa,this),e=this.J();Vt&&(e=e.documentElement);for(var f=!!b,g=0;g<JZ.length;g++)a.o(e,JZ[g],c,f)};
t.BEa=function(a){this.CGa=a.screenX-a.clientX;this.DGa=a.screenY-a.clientY};var KZ=[So,"originalTarget"],JZ=[Kk,Ok,Lk,Nk,Mk,ng];
IZ.prototype.pEa=function(a){var b=this.fl();if(b&&b.parentNode){var c,e=this.J();c=this.CGa;var f=this.DGa,g=a.Vc,h=null;e.createEvent?(e=e.createEvent("MouseEvents"),e.initMouseEvent(g.type,g.bubbles,g.cancelable,g.view,g.detail,g.screenX,g.screenY,w(c)?g.screenX-c:g.clientX,w(f)?g.screenY-f:g.clientY,g.ctrlKey,g.altKey,g.shiftKey,g.metaKey,g.button,g.relatedTarget),h=e):e.createEventObject&&(e=e.createEventObject(g),w(c)&&(e.clientX=g.screenX-c),w(f)&&(e.clientY=g.screenY-f),h=e);c=h;for(f=0;f<
KZ.length;f++)g=KZ[f],b[g]=a[g];c&&(b.dispatchEvent?b.dispatchEvent(c):b.fireEvent("on"+c.type,c))}};var YJ={QJ:"igms",C9:null,J6:"http://<mid>.gmodules.com/ig/ifr?mid=<mid>",bpa:null,zoa:null,zya:"http://www.google.com/ig/directory",Ria:"trogedit",Sia:"synd",Uia:"tpl",Xia:dq,IRa:"hl",tJa:function(a){YJ.C9=a},WHa:function(a){YJ.zoa=a},bIa:function(a){YJ.bpa=a},oJa:function(a){YJ.J6=lj+a+"/ig/ifr?mid=<mid>"},VHa:function(a){YJ.WWa=a},UHa:function(a){YJ.zya=a},ita:function(){return Math.floor(256*Math.random())},dY:function(a,b){a=kD(a,YJ.Xia,b.url);var c=b.params;c&&(a+="&"+c);(c=b.height)&&(a=kD(a,
"h",c));(c=b.width)&&(a=kD(a,"w",c));return a},dna:function(a){var b=YJ.J6,b=b.replace(/<mid>/g,String(YJ.ita())),b=kD(b,YJ.Sia,YJ.Ria),b=YJ.dY(b,a);(a=YJ.C9)&&(b=kD(b,YJ.Uia,a));return b},F0:function(a){a=OD(YJ.eoa(a));var b=a.params;typeof b!=Ho&&(a.params=YJ.v_(b));return a},eoa:function(a){try{var b=a.split(" ");a=[];for(var c=b[0],e="U"==c?2:1,f=parseInt(b[e],10),g=parseInt(b[e+1],10),h="U"==c?parseInt(b[1],10):0,c=e+2;c<b.length;c++){var k=parseInt(b[c],10)+g,h=h+k;a.push(String.fromCharCode(k))}return f!=
h%256?null:a.join("")}catch(m){return null}},X3:function(a){if(!a.Rb){var b=a.getAttribute(YJ.QJ);a.Rb=b?YJ.F0(b):YJ.Gma(a)}return a.Rb},Gma:function(a){var b={},c=a.getAttribute(kn);c&&(b.scrolling=c);b.screenshot=a.getAttribute("src");a=a.getAttribute(YJ.Ov);a=xD(a).Ag();for(var c=a.vb(),e={},f=0,g=c.length;f<g;f++){var h=c[f];switch(h){case dq:b[h]=a.get(h);break;case "w":b.width=a.get(h);break;case "h":b.height=a.get(h);break;default:ir(h,"up_")&&(e[h]=a.get(h))}}b.params=YJ.v_(e);return b},v_:function(a){var b=
[],c;for(c in a)b.push(c+"="+encodeURIComponent(a[c]));return 0!=b.length?b.join("&"):""},mU:function(a,b){a.Rb=b},Aza:function(a){return"igm"==a.className},pma:function(a){return YJ.u_(a,!1)},FWa:function(a){return YJ.u_(a,!0)},Ov:"igsrc",u_:function(a,b){var c=b?yj:tj,e=b?tj:yj,f="<("+c+Ga+YJ.Ov+Ga+YJ.Ov+")([^>]*)/?>";c==tj&&(f+="</"+c+">");c="<"+e+"$2$5$4$3$6>";e==tj&&(c+="</"+e+">");return a.replace(new RegExp(f,"gi"),c)},EWa:function(a){return null!=a.match(/<(iframe|img).*igms=/gi)},GWa:function(a,
b){for(var c=b.getElementsByTagName(tj),e=b.getElementsByTagName(yj),f=[],g=0,h=c.length;g<h;g++)f.push(c[g]);g=0;for(h=e.length;g<h;g++)f.push(e[g]);for(;f.length;)if(c=f.pop(),e=c.getAttribute(YJ.QJ))c.tagName==od?(e=YJ.F0(e),e=YJ.W_(a,e),Xw(e,c),Zw(c)):(YJ.rC(c),c.removeAttribute(YJ.QJ))},W_:function(a,b){var c=N(a).j(yj,{src:b.screenshot,"class":"igm",frameborder:0}),e=b.scrolling;w(e)&&c.setAttribute(kn,e);c.setAttribute("allowTransparency",!0);YJ.mU(c,b);YJ.rC(c);return c},rC:function(a){var b=
YJ.X3(a);a.width=parseInt(b.width,10);a.height=parseInt(b.height,10);a.setAttribute(YJ.Ov,YJ.dna(b))}};x("TR_IGModule",YJ,void 0);YJ.setRenderTplFile=YJ.tJa;YJ.setDirectoryTplFile=YJ.WHa;YJ.setEditTplFile=YJ.bIa;YJ.setDirectoryServer=YJ.UHa;YJ.setProxyServer=YJ.oJa;var LZ=function(a,b){this.A6=a;this.Xq=b};LZ.prototype.Te=function(){return this.Xq};LZ.prototype.Zt=function(){return 200==this.A6};var MZ=function(a,b){this.A6=a;this.Xq=b;this.mb=sh;if(200==a&&b){var c=OD(b);c&&(this.mb=c.type,this.a1=c.details)}};C(MZ,LZ);t=MZ.prototype;t.ta=function(){return this.mb};t.Zt=function(){return this.ta()==dl};t.Yza=function(){return"verbatim_error"==this.ta()};t.Lza=function(){return"quota"==this.ta()};t.Tza=function(){return"unsupported_file_type"==this.ta()};
t.nza=function(){return"exceeded_max_file_size"==this.ta()};var NZ=function(a,b){this.Xg=a;this.cd=[];this.SB=b;for(var c in this.Xg)this.cd.push(c)};t=NZ.prototype;t.indexOf=function(a){return us(this.cd,a)};t.forEach=function(a,b){for(var c=0;c<this.cd.length;c++){var e=this.Xg[this.cd[c]];if(!b||!Gs(b,this.cd[c]))if(e=a(this.cd[c],e))return e}};t.find=function(a,b){return a.url||a.title?this.forEach(A(function(b,e){if(!(a.url&&!this.Uza(a.url,b)||a.title&&a.title!=e))return{url:b,title:e}},this),b):void 0};t.add=function(a,b){this.Xg[a]=b;this.cd.push(a)};
t.slice=function(a,b){var c={},e=this.cd.length;w(b)&&b<e&&(e=b);for(var f=a;f<e;f++)c[this.cd[f]]=this.Xg[this.cd[f]];return new NZ(c,this.SB)};t.Uza=function(a,b){var c;if(a)if(this.CNa)c=this.CNa(a,b,this.SB);else{var e=c=this.SB,f=new NY(a),g=new NY(b);c&&f.bR(new NY(c));e&&g.bR(new NY(e));f.$ea();g.$ea();c=f.getUrl()==g.getUrl()}else c=!1;return c};t.Zb=function(){return!this.cd.length};t.length=function(){return this.cd.length};var OZ=function(a,b){M.call(this);this.Q6={};this.Im=new GZ(a);var c=this.Im.getWindow();this.Dk=window;this.LLa=b+"static_files";this.Zka=this.LLa+"/blank_"+(G||c.document.compatMode!=yc?"quirks":"standards")+".html";this.ab=PY(c);this.Es=new DZ(this.Im);this.Zw=new rA(this);this.Sb={};this.qp={}};C(OZ,M);t=OZ.prototype;t.D=PC("TR_Editor");t.uua=function(){return this.ab};t.$x=function(){return this.Im};t.bo=function(a){this.$ka=a};t.lra=function(){return this.$ka||0};
t.SF=function(a){if(Sq(a))for(var b=0;b<a.length;++b)this.W8(a[b]);else this.W8(a)};t.F=function(a){return this.Sb[a]};t.dR=function(a,b){if(Sq(a))for(var c=0;c<a.length;++c)a[c].Y8(b);else a.Y8(b)};t.Iva=function(a){a=a.target;var b=a.id;this.qp[b]&&(this.qp[b].dispose(),this.qp[b]=null);this.Es.gFa(b);delete this.Sb[a.Vi];lt(this.Sb)&&(this.Zw&&this.Zw.removeAll(),this.qp={})};t.Pl=function(){this.dispose()};
t.B=function(){this.M6&&(this.M6.dispose(),this.M6=null);for(var a in this.Sb){var b=this.Sb[a];this.dR(b,!0);b.dispose()}this.Zw&&(this.Zw.dispose(),this.Zw=null);OZ.g.B.call(this)};t.Gu=function(a,b,c,e){var f=a.id;this.qp[f]||(this.qp[f]=new rA(this));this.qp[f].o(a,b,c,e)};t.aU=function(a,b,c,e,f){a.Mc||a.mD(this.Im.J());a.av(!1,c,e,f)};t.hIa=function(a,b,c){this.aU(this.Es.Dx(a),!1,b,c,!0)};t.SN=function(a){a.Mc||a.mD(this.Im.J());return a.AN()};t.hsa=function(a){return this.SN(this.Es.Dx(a))};
t.Gva=function(a){this.dispatchEvent({type:Nh,tb:a.target})};t.Fva=function(a){var b=!0;if(G){var c=a.b(),e=a.$b()?Mw(Cw(c)).frameElement:c,f=Cw(e);e.contains(Dx(f))?b=!1:(e=(e=a.getRange())&&e.md())&&hx(c,e)&&MJ(a.kb.getWindow())}this.dispatchEvent({type:Qf,tb:a});b&&a.execCommand(Pp)};
t.W8=function(a){a.sHa(this.Dk);var b=this.lra();b&&!a.zD()&&a.bo(b);b=a.id;a.mD(this.Im.J());a.Mc&&(a.execCommand(mg,!0),this.Es.Sja(b,a),this.Gu(a,qk,this.Hva),this.Gu(a,"cvc",cr($Y,this)),a.SF(this.Zka),this.Sb[a.Vi]=a)};t.Hva=function(a){a=a.target;this.Mka(a);var b=a.Lj();b&&(new IZ(b)).qEa(a.Uc,!0)};t.Mka=function(a){a.b();this.Gu(a,Lp,this.Iva);this.Gu(a,Nh,this.Gva);this.Gu(a,Qf,A(this.Fva,this,a));this.Gu(a,un,cr($Y,this))};t.openDialog=function(a,b){var c=this.dl();c&&c.execCommand(a,b)};
t.et=function(){return this.Es.bra()};t.dl=function(){var a=this.et();if(!a&&!lt(this.Sb)){a:{var a=this.Sb,b;for(b in a){a=a[b];break a}a=void 0}this.xp(a)}return a};t.l3=function(a){var b=this.et();return b?b.queryCommandValue(a):{}};var PZ=qt(MY);t=OZ.prototype;t.Ki=function(a,b){var c,e=this.dl();if(!e)return null;c=e.execCommand(a,b);a==db&&c&&c.Vpa(e);return c};t.xp=function(a){cX==a.id?kJ(this.Im.getWindow())||a.UG():(cX=a.id,this.Im.iqa(),a.gqa())};t.N2=function(a){this.xp(this.Es.Dx(a))};
t.Oca=function(a){this.Q6=a};t.iKa=function(a){this.qJ=a};t.kKa=function(a){this.yNa=a};x("TR_Editor",OZ,void 0);var QZ=OZ.prototype;QZ.execute=QZ.Ki;QZ.getCommandValues=QZ.l3;QZ.makeEditable=QZ.SF;QZ.makeNotEditable=QZ.dR;QZ.getFieldContentsById=QZ.hsa;QZ.openDialog=QZ.openDialog;QZ.quit=QZ.Pl;QZ.dispose=QZ.dispose;QZ.focusOnField=QZ.N2;QZ.setFieldContentsById=QZ.hIa;QZ.setBaseZindex=QZ.bo;QZ.getFieldHTML=QZ.SN;QZ.setFieldHTML=QZ.aU;OZ.setInvalidUrlCheck=function(a){YY=a};
OZ.setInternalUrlCheck=function(a){WY=a};x("TR_EditorCommand",lI,void 0);OZ.COMMAND=lI;lI.UNDO=pb;lI.REDO=fb;lI.LINK=db;lI.FORMAT_BLOCK=Qa;lI.INDENT=Ra;lI.OUTDENT=eb;lI.REMOVE_FORMAT=hb;lI.STRIKE_THROUGH=kb;lI.HORIZONTAL_RULE=Ua;lI.SUBSCRIPT=lb;lI.SUPERSCRIPT=mb;lI.UNDERLINE=ob;lI.BOLD=Ja;lI.ITALIC=Za;lI.FONT_SIZE=Oa;lI.FONT_FACE=Na;lI.FONT_COLOR=Pa;lI.EMOTICON=Ma;lI.BACKGROUND_COLOR=Ia;lI.ORDERED_LIST=Va;lI.UNORDERED_LIST=Ya;lI.TABLE=nb;lI.JUSTIFY_CENTER=$a;lI.JUSTIFY_FULL=ab;lI.JUSTIFY_RIGHT=cb;
lI.JUSTIFY_LEFT=bb;lI.BLOCKQUOTE=Ha;lI.DIR_LTR=uk;lI.DIR_RTL=fn;x("TR_DialogType",MY,void 0);OZ.DIALOG=MY;MY.IMAGE=vj;MY.SP_CHAR="spChar";MY.EDIT_HTML=hh;MY.EDIT_IMAGE="editImage";MY.LINK=mk;MY.INSERT_MODULE=Gj;QZ.setImages=QZ.Oca;QZ.getUrlUtil=QZ.uua;QZ.setUploadFileUrl=QZ.iKa;QZ.setUploadParams=QZ.kKa;var VZ=function(a,b,c){M.call(this);this.D=null;this.Ua=new rA(this);this.za=a;this.Ea=b;this.Ol=[];E(RZ,function(a){var b=this.Ea.Um(this.CN(a));if(b)switch(this.Ol.push(a),a){case Na:0==b.Ri()&&(SZ(b,c),b.gr(Fd),Fx(b.Da().U(),Ai));break;case Oa:0==b.Ri()&&(TZ(b),b.gr(Fd),Fx(b.Da().U(),Ai));break;case Pa:b.lA("#000000");break;case Ia:b.lA("#FFFFFF");break;case Qa:0==b.Ri()&&(UZ(b),b.gr(Fd),Fx(b.Da().U(),Ai))}},this);this.Ea.ef(!1);this.Ua.o(this.za,"cvc",this.pNa);this.Ua.o(this.Ea,Le,this.Jua)};
C(VZ,M);t=VZ.prototype;t.CN=function(a){return a};t.BN=function(a){return a};t.C=function(){return this.Ua};t.V=function(){return!!this.Ea&&this.Ea.V()};t.K=function(a){this.Ea&&this.Ea.K(a)};t.isEnabled=function(){return!!this.Ea&&this.Ea.isEnabled()};t.ra=function(a){this.Ea&&this.Ea.ra(a)};t.blur=function(){this.Ea.Sh(null)};t.B=function(){VZ.g.B.call(this);this.Ua&&(this.Ua.dispose(),this.Ua=null);this.Ea&&(this.Ea.dispose(),this.Ea=null);this.D=null;delete this.za;this.Ol=null};
t.pNa=function(a){if(this.Ea.isEnabled()&&this.dispatchEvent(bg)){var b;try{b=this.za.l3(a.e_||this.Ol)}catch(c){b={}}this.VA(b)}};
t.VA=function(a){for(var b in a){var c=this.Ea.Um(this.CN(b));if(c){var e=a[b];switch(b){case pb:case fb:c.ra(e);break;case Na:var f=null;e&&0<e.length&&(f=c.Da().Um(oY(e)));f!=c.Xb()&&c.wd(f);break;case Oa:if(f=z(e))f=e.match(jz),f=(f&&f[0]||null)==q;f&&(e=vs(qY,parseInt(e,10)));e=0<e?e:null;e!=c.getValue()&&c.setValue(e);break;case Pa:case Ia:try{if(G)var g="000000"+e.toString(16),h=g.substr(g.length-6,6),e=(new UC("#",h.substring(4,6),h.substring(2,4),h.substring(0,2))).toString();e!=c.getValue()&&
c.setValue(e)}catch(k){}break;case fn:e=!!e;this.zJa(e);c.Bf(e);break;case Qa:e=e&&0<e.length?e:null;e!=c.getValue()&&c.setValue(e);break;default:c.Bf(!!e)}}}};t.zJa=function(a){var b=this.Ea.b();a?Fx(b,mp):Hx(b,mp)};t.Jua=function(a){var b=this.BN(a.target.getId());b in PZ?this.za.openDialog(b):this.za.Ki(b,a.target.getValue())};
var SZ=function(a,b){var c=b?b.replace(/_/,"-").toLowerCase():"en-us",e=[];c in WZ&&(e=WZ[c]);0<e.length&&pY(a,e);pY(a,XZ)},TZ=function(a){rY(a,YZ)},UZ=function(a){sY(a,ZZ)},a_=function(a,b,c){for(var e=N(b),f=[],g=0,h;h=a[g];g++)f[g]=z(h)?$Z(h,e):h;a=N(b);a=new GX(FX.S(),ij,a);c=c||Xy(b);a.Tg(c);a.ef(!1);for(e=0;g=f[e];e++)g.Fb(32,!1),g.Tg(c),a.sa(g,!0);a.ha(b);return a},$Z=function(a,b){var c,e=b_[a];if(e){c=e.vf||vY;var f=e.Ia,g=e.Ob,h=e.caption,e=e.ob,k=b||N();c=c(f,g,h,e,null,k)}return c},RZ=
[Na,Oa,Ja,Za,ob,kb,Pa,Ia,Ya,Va,bb,$a,cb,ab,lb,mb,pb,fb];RZ.push(uk);RZ.push(fn);RZ.push(Ha);RZ.push(Qa);
var XZ=[{caption:Fd,value:"arial,sans-serif"},{caption:"Normal / serif",value:"times new roman,serif"},{caption:"Courier New",value:"courier new,monospace"},{caption:"Georgia",value:"georgia,serif"},{caption:"Trebuchet",value:"trebuchet ms,sans-serif"},{caption:"Verdana",value:"verdana,sans-serif"}],WZ={ja:[{caption:"\uff2d\uff33 \uff30\u30b4\u30b7\u30c3\u30af",value:"ms pgothic,sans-serif"},{caption:"\uff2d\uff33 \uff30\u660e\u671d",value:"ms pmincho,serif"},{caption:"\uff2d\uff33 \u30b4\u30b7\u30c3\u30af",
value:"ms gothic,monospace"}],ko:[{caption:"\uad74\ub9bc",value:"gulim,sans-serif"},{caption:"\ubc14\ud0d5",value:"batang,serif"},{caption:"\uad74\ub9bc\uccb4",value:"gulimche,monospace"}],"zh-tw":[{caption:"\u65b0\u7d30\u660e\u9ad4",value:"pmingliu,serif"},{caption:"\u7d30\u660e\u9ad4",value:"mingliu,serif"}],"zh-cn":[{caption:"\u5b8b\u4f53",value:"simsun,serif"},{caption:"\u9ed1\u4f53",value:"simhei,sans-serif"},{caption:"MS Song",value:"ms song,monospace"}]},YZ=[{caption:"Small",value:1},{caption:Fd,
value:2},{caption:"Large",value:4},{caption:"Huge",value:6}],ZZ=[{caption:"Heading",Ia:"H2"},{caption:"Subheading",Ia:"H3"},{caption:"Minor heading",Ia:"H4"},{caption:Fd,Ia:"P"}],c_=[vj,db,Ja,Za,Ya,Pa,Na,Oa,bb,$a,cb],d_=[vj,db,Ja,Za,Ya,Pa,Na,Oa,cb,$a,bb,fn,uk];c_.push(uk);c_.push(fn);c_.push(hh);d_.push(hh);var b_={};
VZ.oj=[{Ia:pb,Ob:"Undo",ob:"tr-icon tr-undo",vf:uY},{Ia:fb,Ob:"Redo",ob:"tr-icon tr-redo",vf:uY},{Ia:Na,Ob:"Font",ob:"tr-fontName",vf:wY},{Ia:Oa,Ob:"Font size",ob:"tr-fontSize",vf:wY},{Ia:Ja,Ob:"Bold",ob:"tr-icon tr-bold"},{Ia:Za,Ob:"Italic",ob:"tr-icon tr-italic"},{Ia:ob,Ob:"Underline",ob:"tr-icon tr-underline"},{Ia:Pa,Ob:"Text color",ob:"tr-icon tr-foreColor",vf:xY},{Ia:Ia,Ob:je,ob:"tr-icon tr-backColor",vf:xY},{Ia:db,Ob:ic,caption:"Link",ob:"tr-link",vf:uY},{Ia:Va,Ob:"Numbered list",ob:"tr-icon tr-insertOrderedList"},
{Ia:Ya,Ob:"Bulleted list",ob:"tr-icon tr-insertUnorderedList"},{Ia:eb,Ob:Lc,ob:"tr-icon tr-outdent",vf:uY},{Ia:Ra,Ob:vd,ob:"tr-icon tr-indent",vf:uY},{Ia:bb,Ob:kc,ob:"tr-icon tr-justifyLeft"},{Ia:$a,Ob:jc,ob:"tr-icon tr-justifyCenter"},{Ia:cb,Ob:lc,ob:"tr-icon tr-justifyRight"},{Ia:ab,Ob:"Justify",ob:"tr-icon tr-justifyFull"},{Ia:hb,Ob:Pd,ob:"tr-icon tr-removeFormat",vf:uY},{Ia:vj,Ob:"Insert image",ob:"tr-icon tr-image",vf:uY},{Ia:kb,Ob:"Strikethrough",ob:"tr-icon tr-strikeThrough"},{Ia:lb,Ob:"Subscript",
ob:"tr-icon tr-subscript"},{Ia:mb,Ob:"Superscript",ob:"tr-icon tr-superscript"}];VZ.oj.push({Ia:uk,Ob:Cd,ob:"tr-icon tr-ltr"});VZ.oj.push({Ia:fn,Ob:Qd,ob:"tr-icon tr-rtl"});VZ.oj.push({Ia:Ha,Ob:"Quote",ob:"tr-icon tr-BLOCKQUOTE"});VZ.oj.push({Ia:Qa,Ob:"Format",caption:"Format",ob:"tr-formatBlock",vf:wY});VZ.oj.push({Ia:Gj,Ob:"Insert gadget",ob:"tr-icon tr-insertModule",vf:uY});VZ.oj.push({Ia:hh,Ob:Sc,caption:"Edit HTML",ob:"tr-editHtml",vf:uY});
VZ.oj.push({Ia:"+newDrawing",Ob:"Insert drawing",ob:"tr-icon tr-newDrawing",vf:uY});VZ.oj.push({Ia:"+equation",Ob:"Insert equation",ob:"tr-icon tr-equation",vf:uY});for(var e_=0,f_;f_=VZ.oj[e_];e_++)b_[f_.Ia]=f_;delete VZ.oj;x("TR_EditorToolbar",VZ,void 0);VZ.prototype.isVisible=VZ.prototype.V;VZ.prototype.setVisible=VZ.prototype.K;VZ.prototype.isEnabled=VZ.prototype.isEnabled;VZ.prototype.setEnabled=VZ.prototype.ra;VZ.prototype.blur=VZ.prototype.blur;VZ.prototype.dispose=VZ.prototype.dispose;
VZ.addDefaultFonts=SZ;VZ.addDefaultFontSizes=TZ;VZ.addDefaultFormatOptions=UZ;VZ.decorateToolbar=function(a){var b=new GX;b.ef(!1);b.la(a);return b};VZ.makeDefaultToolbar=function(a,b){var c=b||Xy(a)?d_:c_;return a_(c,a)};VZ.makeToolbar=a_;VZ.makeBuiltInToolbarButton=$Z;VZ.DEFAULT_BUTTONS=c_;VZ.DEFAULT_BUTTONS_RTL=d_;var g_=function(a,b){bX.call(this,a,b)},h_;C(g_,bX);t=g_.prototype;t.Y=QC("goog.editor.SeamlessField");t.hA=function(a){a!=this.wq&&(this.wq=a,this.$b()&&this.sM())};t.H7=!1;t.rza=!1;t.Oy=function(){return this.H7};t.Uka=function(){if(!this.rza){var a=this.Mc;a&&(this.H7=yy(a,"overflowY")==yf)}};t.A5=function(){this.Tf(bg)||this.yea()};
t.aV=function(){if(this.BX()){var a=!1,b=this.Lj();if(b){var c=this.ysa();this.wq&&(c=Math.max(c,this.wq));parseInt(vy(b,dj),10)!=c&&(b.style.height=c+q,a=!0)}this.yaa();a&&this.dispatchEvent("ifrsz")}};
t.ysa=function(){var a=this.Lj(),b=a.contentDocument.body,c=b.parentNode;0===parseInt(vy(a,dj),10)&&R(a,dj,"1px");jW(b)?a=c.offsetHeight:(a=c.scrollHeight,c.clientHeight!=c.offsetHeight&&(c=a,(a=h_)||(a=Rw(d),a.style.cssText="overflow:auto;position:absolute;top:0;width:100px;height:100px",b=Rw(d),Ry(b,"200px","200px"),a.appendChild(b),document.body.appendChild(a),b=a.offsetWidth-a.clientWidth,Zw(a),a=h_=b),a=c+a));return a};
t.yea=function(){if(this.BX()){var a=this.Lj(),b=this.b(),c=!1;if(a&&b){var e,f=a.parentNode,g=f.offsetWidth;parseInt(vy(a,Eq),10)!=g&&(e=bz(b),a.style.width=g+q,b.style.width=g-e.left-e.right+q,c=!0);f=f.offsetHeight;this.Oy()&&parseInt(vy(a,dj),10)!=f&&(e||(e=bz(b)),a.style.height=f+q,b.style.height=f-e.top-e.bottom+q,c=!0)}this.yaa();c&&this.dispatchEvent("ifrsz")}};t.sM=function(){this.b()&&(this.yea(),this.Oy()||this.aV())};t.BX=function(){return this.xea?!1:this.xea=!0};
t.yaa=function(){this.xea=!1};t.vP="";t.aO=function(a){if(!this.vP||a){var b=this.Mc;b&&(this.vP=nY(b,a))}return this.vP};var i_=!1;t=g_.prototype;t.$b=function(){return!KV};t.rA=function(){g_.g.rA.call(this);if(this.$b()){var a=this.Lj().ownerDocument;this.Uc.o(a,hX,this.A5,!0);this.RQ=Nu(this.kb.getWindow(),qk,this.aV,!0,this);this.Uc.o(a,Jc,A(this.d5,this,this.A5),!0)}};t.Np=function(){this.Tf(bg)||(g_.g.Np.call(this),this.$b()&&this.aV())};
t.OC=function(){if(!this.Tf(Qf)&&(g_.g.OC.call(this),!KV&&!MV)){var a=this.kb.getWindow(),b=!1;Pu(this.J8);this.J8=Nu(a.document.body,"dragover",function(){b=!0});v.setTimeout(A(function(){if(!b&&this.kb){var a=this.getRange(),e=this.kb.getWindow();MJ(e);a&&(a.collapse(!0),a.select())}},this),0)}};t.MV=function(){g_.g.MV.call(this);var a=this.kb.J();a.execCommand(mh,!1,Ah);a.execCommand(nh,!1,Ah)};t.m7=function(){this.$b()||i_||(this.Bj&&Wy(this.Bj,this.b()),i_=!0)};
t.cR=function(a){if(this.$b())g_.g.cR.call(this,a);else if(a=this.Mc)this.Qda(a),a.contentEditable=!0,this.d7(a.innerHTML,a),this.wE()};t.wE=function(){if(this.$b()){var a=this;v.setTimeout(function(){a.sM()},0)}g_.g.wE.call(this)};t.$m=function(){return{frameBorder:0,style:"padding:0;"}};
t.KY=function(a){this.Uka();var b=this.Mc,c=N(b),e=b.style.width,f=b.style.height;R(b,wq,ej);var c=c.j(d,{style:"height:0;clear:both",innerHTML:Ea}),g=c.cloneNode(!0);b.insertBefore(c,b.firstChild);b.appendChild(g);var g=cz(b),c=g.width,g=g.height,h="";this.Oy()&&(h=Ea,R(b,Em,Ym),R(b,"overflow",zq),R(a,Em,Ke),R(a,jp,"0"),R(a,jk,"0"));Ry(b,c,g);jW(b)&&(this.eS=b.style.lineHeight,R(b,"lineHeight","0"));BW(b,h);Ry(a,c,g);Ry(b,e,f);R(b,wq,"");b.appendChild(a);this.uA()||(b=a.contentWindow.document,jW(a.ownerDocument)&&
(b.open(),a=rw(Bv("HTML from constant string"),"<!DOCTYPE HTML><html></html>"),b.write($v(a)),b.close()))};t.RN=function(a){var b=this.Mc;if(b)return new VW(this.id,jW(b),!0,this.Oy(),a);throw Error("no field");};t.Qga=function(a,b,c){R(a,wq,ej);c=this.RN(c);var e=new WW(this.Mc,this.Bj+this.aO());if(c.UB){var f=bz(e.kOa);(f.top||f.left||f.right||f.bottom)&&R(a,"margin",-f.top+"px "+-f.right+"px "+-f.bottom+"px "+-f.left+q)}XW(c,b,e,a);this.sM();R(a,wq,zq)};t.lba=function(){this.$b()&&Zw(this.Lj())};
t.ls=function(){Pu(this.J8);Pu(this.RQ);g_.g.ls.call(this)};var j_=function(a,b){F.call(this);this.yG=[];for(this.pG=[];a&&a.nodeName!=rc&&a!=b;){for(var c=0,e=a.previousSibling;e;)e=e.previousSibling,++c;this.yG.unshift(c);this.pG.unshift(a.nodeName);a=a.parentNode}};C(j_,F);j_.prototype.toString=function(){for(var a=[],b,c=0;b=this.pG[c];c++)a.push(this.yG[c]+","+b);return a.join("\n")};j_.prototype.Qs=function(a){for(var b=a,c=0;a=this.pG[c];++c)if(b=b.childNodes[this.yG[c]],!b||b.nodeName!=a)return null;return b};
j_.prototype.B=function(){delete this.yG;delete this.pG};var k_=function(a,b){this.Hg=!1;if(a){var c=a.sN(),e=a.PD();if(c&&e){var f=a.tN(),c=new j_(c,b),g=a.QD(),e=new j_(e,b);a.Uj()?(this.La=e,this.cm=g,this.Ka=c,this.Uk=f):(this.La=c,this.cm=f,this.Ka=e,this.Uk=g);this.Hg=!0}}};t=k_.prototype;t.D=PC("TR_CursorPosition");t.collapse=function(a){a?(this.Ka=this.La,this.Uk=this.cm):(this.La=this.Ka,this.cm=this.Uk)};t.Ye=function(){return this.Hg};t.toString=function(){return"MOZ:"+this.La.toString()+"\n"+this.cm+":"+this.Ka.toString()+"\n"+this.Uk};
t.getRange=function(a){var b=this.La.Qs(a);a=this.Ka.Qs(a);return b&&a?XI(b,this.cm,a,this.Uk).Nf():null};var m_=function(a,b){this.Hg=!1;if(a&&hx(b,a.parentElement())){var c=b.ownerDocument.body.createTextRange();c.moveToElementText(b);var e=a.duplicate();e.collapse(!0);e.setEndPoint($d,c);this.La=l_(e);e=a.duplicate();e.setEndPoint($d,c);this.Ka=l_(e);this.Hg=!0}};m_.prototype.Ye=function(){return this.Hg};m_.prototype.toString=function(){return"IE:"+this.La+","+this.Ka};
var l_=function(a){var b=a.duplicate(),c=a.text,e=c.length;b.collapse(!0);b.moveEnd(dg,e);for(var f,g=10;(f=b.compareEndPoints(Uc,a))&&(e-=f,b.moveEnd(dg,-f),--g,0!=g););a=0;for(b=c.indexOf("\n\r");-1!=b;)++a,b=c.indexOf("\n\r",b+1);return e+a};m_.prototype.getRange=function(a){var b=a.ownerDocument.body.createTextRange();b.moveToElementText(a);b.collapse(!0);b.moveEnd(dg,this.Ka);b.moveStart(dg,this.La);return b};var n_=!1;var o_=function(a,b,c){bX.call(this,a,c);b&&!z(b)&&(b.cssStyles&&(this.Bj+=b.cssStyles),b.className&&(this.tc=b.className,this.Uc.o(this,qk,this.gK)))};C(o_,bX);t=o_.prototype;t.gK=function(){this.tc&&Fx(this.b(),this.tc)};t.Qi=function(){return this.gx||this.Mc};t.mD=function(a){this.di=N(a);this.Mc=this.di.b(this.id)};t.Xm=function(){var a=this.b();return a&&QV?a.ownerDocument:a};t.fq=function(){return o_.g.fq.call(this)||n_};t.ev=function(a){o_.g.ev.call(this,a);n_=a};
t.Si=function(a){return o_.g.Si.call(this,a)};t.$x=function(){var a=this.Lj();return a&&new IZ(a)};t.N3=function(){if(!this.$b())throw"No iframe!";return this.$x()};t.av=function(a,b,c,e){o_.g.av.call(this,!1,b,c,e)};t.J=function(){return this.kb?this.kb.J():null};t.JN=function(){var a=this.getRange(),b;if(b=a)b=this.b(),a=JV?new k_(a,b):new m_(a.mh(0).Nf(),b),a.Ye()||(a=null),b=a;return b};t.rca=function(a){var b=this.b();if(a=a.getRange(b))IV&&b.focus(),KJ(a).select()};
t.Mt=function(a,b,c){o_.g.Mt.call(this,a,b,c);KV||PY(this.di.getWindow()).TF(mx(a))};x("TR_EditableField",o_,void 0);var p_=o_.prototype;p_.registerPlugin=p_.Nc;p_.getPluginByClassId=p_.Si;var q_=function(a,b,c){bX.call(this,a,c);b&&!z(b)&&(this.wq=b.minHeight,b.cssStyles&&(this.Bj+=b.cssStyles),b.className&&(this.tc=b.className,this.Uc.o(this,qk,this.gK)))};C(q_,g_);t=q_.prototype;t.gK=function(){this.tc&&Fx(this.b(),this.tc)};t.rA=function(){q_.g.rA.call(this);this.$b()&&(this.RQ=Nu(this.kb.getWindow(),qk,A(this.dispatchEvent,this,bg),!0))};t.Np=function(){this.Tf(bg)||(q_.g.Np.call(this),this.$b()&&this.dispatchEvent(bg))};
t.$x=function(){if(this.$b()){var a=this.Lj();return a&&new IZ(a)}return this.kb&&new GZ(this.kb.getWindow())};t.Qi=function(){return this.gx||this.Mc};t.mD=function(a){this.di=N(a);this.Mc=this.di.b(this.id)};t.Xm=function(){var a=this.b();return a&&QV?a.ownerDocument:a};t.N3=function(){if(!this.$b())throw"No iframe!";var a=this.Lj();return a&&new IZ(a)};t.av=function(a,b,c,e){q_.g.av.call(this,!1,b,c,e)};t.J=function(){return this.kb?this.kb.J():null};
t.Mt=function(a,b,c){q_.g.Mt.call(this,a,b,c);KV||PY(this.di.getWindow()).TF(mx(a))};t.fq=function(){return q_.g.fq.call(this)||n_};t.ev=function(a){q_.g.ev.call(this,a);n_=a};t.ls=function(){Pu(this.RQ);q_.g.ls.call(this)};x("TR_BlendedEditableField",q_,void 0);var r_=q_.prototype;r_.registerPlugin=r_.Nc;r_.getPluginByClassId=r_.Si;var s_=function(a,b,c){this.MCa=a;this.LCa=b;this.state=c};s_.prototype.setState=function(a){this.state!=a&&(this.pZ(this.MCa),this.state=a,this.pZ(this.LCa))};s_.prototype.pZ=function(a){this.state&&a(this.state)};s_.prototype.getState=function(){return this.state};var t_=function(){M.call(this);var a=this;this.Oh=new rA(this);this.ry=new s_(function(b){a.IB(b,0)},function(b){a.IB(b,2);a.dispatchEvent({type:pn,element:b})});this.zea=new s_(function(b){b!=a.ry.getState()&&a.IB(b,0)},function(b){b!=a.ry.getState()&&a.IB(b,1)})};C(t_,M);t=t_.prototype;t.B=function(){this.Oh.dispose();this.Oh=null;t_.g.B.call(this)};t.IB=function(a,b){a.style.background=["","#FFFFE0","#FFFFCC"][b]};t.Qf=function(){return this.ry.getState()};t.cg=function(a){this.ry.setState(a)};
t.add=function(a,b){var c=b&&b.ondblclick?b.ondblclick:function(){},e=b&&b.onmouseover?b.onmouseover:u_(this,a),f=b&&b.onmouseout?b.onmouseout:v_(this);this.Oh.o(a,ng,b&&b.onclick?b.onclick:w_(this,a),!0);this.Oh.o(a,Hg,c,!0);this.Oh.o(a,Nk,e,!0);this.Oh.o(a,Mk,f,!0)};var w_=function(a,b){return function(){a.ry.setState(b)}},u_=function(a,b){return function(){a.zea.setState(b)}},v_=function(a){return function(){a.zea.setState(null)}};var x_=function(a,b,c){this.Uoa=b;this.M=N(b);c&&(this.SI=this.Ana(c));this.gfa=[];b=this.M.Aj(1,2);b.cellPadding=0;b.cellSpacing=0;this.HA=b.rows[0].cells[0];this.HA.className="tr_tabbed-pane-tabs";this.HA.className+=" tr_vertical-tab";this.HA.innerHTML="<p class=tr_tabbed-pane-caption>"+a.efa+"</p>";this.p_=b.rows[0].cells[1];for(this.p_.className="tr_tabbed-pane-tab-content";a.childNodes.length;)this.Tja(a);a.appendChild(b);a.className+=" tr_tabbed-pane"};
x_.prototype.Tja=function(a){if(1==a.childNodes[0].nodeType){a=a.childNodes[0];a.style.display=Yk;this.p_.appendChild(a);var b=a.YLa;this.gfa.push({id:b,Toa:a});a.id=b+tb;a=this.zna(b,a.$La,a.bMa);this.HA.appendChild(a)}else a.removeChild(a.firstChild)};var y_=function(a,b,c,e,f){a=N(e).j(d,{YLa:a,$La:b,bMa:c});f&&(a.Q9=f);return a};
x_.prototype.zna=function(a,b,c){a=this.M.j(d,{id:a,innerHTML:"<table cellpadding=0><tr valign=top><td><input type=radio id="+a+"-dialog-radio name="+a+" class=tr_radio /></td><td class=tr_tabbed-pane-tab-label>"+b+Vb,title:c,SI:this.SI});a.onclick=function(){this.SI.setState(this.id)};return a};
x_.prototype.Ana=function(a){var b=this.Uoa;return new s_(function(a){b.getElementById(a).className="";b.getElementById(a+vb).checked="";b.getElementById(a+tb).style.display=Yk},function(c){b.getElementById(c).className="tr_selected-tab-in-tabbed-pane";b.getElementById(c+vb).checked=ig;b.getElementById(c+tb).style.display="";a&&a(c)})};x_.prototype.jj=function(a){this.SI.setState(a)};
x_.prototype.rt=function(){for(var a,b=this.gfa,c=0;c<b.length;c++)if(a=b[c].id+vb,a=this.M.b(a),""!=a.checked)return b[c].Toa;return null};var z_=function(){M.call(this);this.Kl=[];this.Ms=[];this.Oh=new rA(this)};C(z_,M);t=z_.prototype;t.yIa=function(a,b,c,e,f,g){this.M=a;this.ib=b;this.Eb=c;this.qP=e;this.kS=f||{};this.Zza=!!g};t.tua=function(){return this.Hfa||(this.Hfa=this.Fna())};t.Uxa=function(){return 0<this.Kl.length};t.kma=function(){return this.Uxa()?confirm("Pending uploads will be canceled. Do you want to continue?"):!0};t.BBa=function(a){a.Xe();this.Jla(a)&&a.Ija(this.qP,this.Hya);this.YX();this.cY(a)};
t.zNa=function(a,b){this.Cj.removeAll();this.NS(a);var c=new J(Lo);c.jD=b;this.dispatchEvent(c);a.remove(!0);this.HI()};t.xNa=function(a,b,c,e){this.Cj.removeAll();this.NS(a);var f=new J("failed");f.jXa=b;this.dispatchEvent(f);this.Ms.push(a);a.GT(c,e?A(function(){Ls(this.Ms,a);this.cY(a)},this):null,this.Oh);this.HI()};t.uNa=function(a){this.Cj.removeAll();this.NS(a);a.remove(!0);this.HI()};
t.B=function(){this.Oh&&(this.Oh.dispose(),this.Oh=null);this.Cj&&(this.Cj.dispose(),this.Cj=null);this.Hfa=null;z_.g.B.call(this)};t.Jla=function(a){for(var b,c=0;c<this.Ms.length;c++)if(this.Ms[c].filename==a.filename&&(b=this.Ms[c],this.Ms.splice(c,1),b.remove(!1),b=b.gq))return a.xIa(b),!1;return!0};
t.Fna=function(){var a=this.M.j(de,{width:Ob},this.M.j(ee)),b=this.M.j(de,{width:Ob});this.wNa=b.insertRow(0).insertCell(0);this.Zza&&b.insertRow(0);var c=b.rows[0].insertCell(0);c.innerHTML=this.Eb+Ea;Fx(c,"tr_abstractuploader-label-cell");this.Hya=a.firstChild;this.YX();return this.M.j(d,null,a,b)};t.cY=function(a){this.Kl.push(a);a.HT();this.dispatchEvent("addedtoqueue");1==this.Kl.length&&this.HI()};t.YX=function(){this.Xka=this.sua();this.Xka.add(this.wNa,this.ib,this.kS,this.Oh)};
t.HI=function(){0<this.Kl.length&&(this.Cj?this.Cj.removeAll():this.Cj=new rA(this),this.Kl[0].tHa(this.Cj),this.Kl[0].start(this.Cj))};t.NS=function(a){for(var b=0;b<this.Kl.length;b++)if(this.Kl[b]==a){this.Kl.splice(b,1);break}};var A_=function(a,b,c){this.filename=a;this.qP=b;this.Ena(c)};t=A_.prototype;t.remove=function(){Zw(this.G)};t.TMa=function(){this.rP.innerHTML='<img width="16" height="16" src="'+this.qP+'pie.gif">';nx(this.yR,this.filename);Ww(this.EA)};
t.Fpa=function(a,b){a&&dZ(this.EA,a,b,"cancel upload")};t.HT=function(){Ww(this.rP);nx(this.yR,this.filename);this.EA.innerHTML="[<i>queued</i>]"};t.GT=function(a,b,c){Ww(this.rP);this.yR.innerHTML='<font color="#FF0000">[<i><nobr>failed</nobr></i>]</font>&nbsp;'+Cr(this.filename)+"<br />"+a;Ww(this.EA);b&&dZ(this.EA,b,c,"retry")};
t.Ena=function(a){var b=N(a);this.G=b.j("TR",null,b.j(fe,null,"  "),b.j(fe,{style:"width:20px"}),b.j(fe),b.j(fe,{align:an}),b.j(fe,null," "));this.rP=this.G.childNodes[1];this.yR=this.G.childNodes[2];this.EA=this.G.childNodes[3];a.appendChild(this.G)};var B_=function(a){this.Bo=a};t=B_.prototype;t.remove=function(a){a&&this.gq.remove()};t.Ija=function(a,b){this.gq=new A_(this.tA,a,b)};t.xIa=function(a){this.gq=a};t.tHa=function(a){this.gq.TMa();this.gq.Fpa(this.ara(),a)};t.HT=function(){this.gq.HT()};
t.GT=function(a,b,c){this.gq.GT(a,b,c)};t.jIa=function(a){a=this.filename=a;a=a.substring(Math.max(a.lastIndexOf("/"),a.lastIndexOf("\\"))+1);20<a.length&&(a=a.substring(0,17)+"...");this.tA=a};t.Cua=function(){return"The file you uploaded ("+(this.tA+")  has zero size.  Please check the file path and try again.")};t.pua=function(){return"Unable to upload unsupported file type of file: "+this.tA};t.fsa=function(){return xe+(this.tA+") because the site has exceeded its file upload quota.")};
t.ksa=function(){return xe+(this.tA+") because it exceeds the maximum file size.")};var C_={Pia:Lo,IQa:"failed",tOa:"addedtoqueue"};var D_=function(a,b){YW.call(this);this.Uaa=a;this.tc=b||"tr_bq"};C(D_,YW);t=D_.prototype;t.Y=QC("goog.editor.plugins.Blockquote");t.Yb=function(){return xc};t.f8=os;t.g8=function(a){return a.tagName!=qc?!1:this.Uaa?mA(a,this.tc):!0};t.nQ=function(a){return a.tagName==qc&&mA(a,this.tc)};t.xF=function(a){return a.tagName==qc&&!this.nQ(a)};var E_=function(a,b){var c=vW(a,function(a){return a!=b&&1==a.childNodes.length});c||(c=a);Zw(c)},F_=function(a){for(var b=0;b<a.length;++b)sW(a[b],!0)&&Zw(a[b])};
t=D_.prototype;t.rd=function(a){return a==jb};t.ld=function(a,b){if(a==jb&&b&&(this.tc||!this.Uaa))return JV?this.xLa(b):this.wLa(b)};
t.xLa=function(a){var b=a.node,c=zW(b.parentNode,A(this.g8,this)),e,f,g=!1;c?3==b.nodeType?a.offset==b.length?(e=b.nextSibling)&&e.tagName==sc?(b=e,e=e.nextSibling):e=f=b.splitText(a.offset):e=b.splitText(a.offset):b.tagName==sc?e=b.nextSibling:g=!0:this.nQ(b)&&(c=b,g=!0);g&&(b=this.j7(),e=this.j7());if(!c)return!1;e=AW(b,e,c);Yw(e,c);a=this.Lb();b=this.F().queryCommandValue(La)||d;b=a.createElement(b);b.innerHTML=Ea;c.parentNode.insertBefore(b,e);a.getWindow().getSelection().collapse(b,0);f&&E_(f,
e);F_([c,e]);return!0};t.j7=function(){var a=this.F().getRange(),b=this.Lb().createTextNode("");a.insertNode(b,!0);return b};
t.wLa=function(a){var b=this.Lb(),c=zW(a.parentNode,A(this.g8,this));if(!c)return!1;var e=a.cloneNode(!1);a.nextSibling&&a.nextSibling.tagName==sc&&(a=a.nextSibling);var f=AW(a,e,c);Yw(f,c);var g=this.F().queryCommandValue(La)||d,g=b.createElement(g);c.parentNode.insertBefore(g,f);g.innerHTML=Ea;b=b.J().selection.createRange();b.moveToElementText(a);b.move(dg,2);b.select();Ww(g);b.pasteHTML("");E_(e,f);F_([c,f]);return!0};var G_=function(){YW.call(this)};C(G_,YW);t=G_.prototype;t.tag=d;t.Yb=function(){return"EnterHandler"};t.enable=function(a){G_.g.enable.call(this,a);!eW||"P"!=this.tag&&this.tag!=d||this.Lb().J().execCommand("opera-defaultBlock",!1,this.tag)};t.wz=function(a){return!a||mr(a)?RV?this.mta():"":a};t.mta=ms("<br>");t.Sua=function(a,b){var c=this.F().b(),e=b&&b.ka();c.firstChild==e&&sW(e)&&(a.preventDefault(),a.stopPropagation())};
t.mEa=function(a,b){if(G||Vt)this.S1(d);else if(!b&&Yt){var c=this.F().getRange(),e;if(e=c)a:{for(e=c.md();e;e=e.parentNode)if(wW(e)){e=e.tagName==qc;break a}e=!1}if(e){e=this.Lb();var f=e.createElement(sc);c.insertNode(f,!0);wW(f.parentNode)&&!xW(f.nextSibling)&&Xw(e.createElement(sc),f);LW(f,!1);a.preventDefault()}}};t.ova=function(a){this.joa(a)};
t.joa=function(a){var b=this.F().getRange();if(b.isCollapsed()){var c=b.Oa();if(1==c.nodeType&&(b=c.childNodes[b.gc()])&&b.tagName==sc){var e=qW(b),f=b.nextSibling;c.removeChild(b);a.preventDefault();f&&wW(f)&&(e&&e.tagName!=sc&&!wW(e)?LJ(e,tW(e)).select():(a=nW(f),LJ(a,0).select()))}}};
t.p5=function(a){if(H&&this.F().fq())return!1;if(8==a.keyCode)this.Sua(a,this.F().getRange());else if(13==a.keyCode)if(H)a.shiftKey||this.Ava(a);else{this.F().Kh();var b=this.W0(),c=!!this.F().execCommand(jb,b);c&&(a.preventDefault(),a.stopPropagation());this.xaa(b);Yt&&this.Cva(a);this.mEa(a,c);this.F().jd()}else H&&46==a.keyCode&&this.ova(a);return!1};t.gy=function(a){if(H&&this.F().fq())return!1;this.fwa(a);return!1};t.fwa=function(a){(G||Vt)&&13==a.keyCode&&this.S1(d,!0)};
t.Ava=function(a){var b=this.F().getRange(),c=!b||b.isCollapsed(),e=this.W0(),f=this.F().execCommand(jb,e);f&&(a.preventDefault(),a.stopPropagation());this.xaa(e);f||this.zva(a,c,b)};t.Cva=Pq;t.zva=Pq;var H_={LI:!0,DIV:!0,H1:!0,H2:!0,H3:!0,H4:!0,H5:!0,H6:!0};t=G_.prototype;
t.S1=function(a,b){for(var c=this.F().getRange(),e=c.getContainer(),f=this.F().b(),g;e&&e!=f;){var h=e.nodeName,k;(k=h==a)||!(k=H_[h])||(k=!b)||(k=e,k=!(sW(k)&&1==k.getElementsByTagName(sc).length));if(k){if(Vt&&g){h==a&&g==e.lastChild&&sW(g)&&(Yw(g,e),aJ(g,void 0).select());break}return}Vt&&b&&"P"==h&&h!=a&&(g=e);e=e.parentNode}if(G&&!I(9)){var m=!1,c=c.Nf(),e=c.duplicate();e.moveEnd(dg,1);e.text.length&&(m=e.parentElement(),e=e.duplicate(),e.collapse(!1),e=e.parentElement(),m=m!=e&&e!=c.parentElement())&&
(c.move(dg,-1),c.select())}this.F().kb.J().execCommand(ad,!1,"<"+a+">");m&&(c.move(dg,1),c.select())};t.W0=function(){return JV?this.loa():this.koa()};t.xaa=function(a){JV||a.removeNode(!0)};t.koa=function(){var a=this.Lb().J(),b=a.selection.createRange(),c=Ur();b.pasteHTML(cc+c+Ba);a=a.getElementById(c);a.id="";return a};
t.loa=function(){var a=this.F().getRange();if(a&&!a.isCollapsed()){var b=!0;if(Vt){var c=a.ka(),e=a.wb();c==a.Oa()&&c.lastChild&&c.lastChild.tagName==sc&&e==c.childNodes.length-1&&(b=!1)}if(b){var f=a;if(f&&!f.isCollapsed()){var g=!0,b=f.md(),c=new j_(f.ka(),b),e=f.wb(),h;h=f;var k=h.ka();CW(k)&&(k=k.childNodes[h.wb()]||k);var k=DW(k),m=h.Oa();CW(m)&&(m=m.childNodes[h.gc()]||m);m=DW(m);h=k==m;if(k=!h)a:{var m=f,k=m.Oa(),m=m.gc(),p=k;if(CW(p)){var u=p.childNodes[m];if(!u||1==u.nodeType&&CW(u)){k=!1;
break a}}for(u=DW(p);u!=p;){if(rW(p)){k=!0;break a}p=p.parentNode}k=m!=tW(k)}f.fk();(f=c.Qs(b))?f=LJ(f,e):(f=LJ(b,b.childNodes.length),g=!1);f.select();h&&(h=DW(f.ka()),sW(h,!0)&&(g=Ea,Vt&&"LI"==h.tagName&&(g="<br>"),BW(h,g),LJ(nW(h.firstChild),0).select(),g=!1));k&&(f=DW(f.ka()),h=rW(f),f&&h&&(Vw(f,h.childNodes),Zw(h)));g&&(f=LJ(c.Qs(b),e),f.select())}}}return PW(a,!0)};var I_=function(){YW.call(this)};C(I_,YW);t=I_.prototype;t.Yb=function(){return"EnterHandlerInstaller"};t.Mma=function(){return new G_};t.bD=null;t.hw=null;t.Tl=function(a){I_.g.Tl.call(this,a);this.bD=this.bD||this.Mma();a.Nc(this.bD);a.Si(xc)||(this.hw=this.hw||new D_(J_,K_),a.Nc(this.hw))};t.hm=function(a){I_.g.hm.call(this,a);a.Kfa(this.bD);this.hw&&a.Kfa(this.hw)};var K_="tr_bq",J_=!0;var L_=function(){YW.call(this)};C(L_,aZ);L_.prototype.Yb=function(){return"BasicTextFormatter"};L_.prototype.Y=PC("trog.plugins.BasicTextFormatter");L_.prototype.Tl=function(a){L_.g.Tl.call(this,a)};L_.prototype.hm=function(a){L_.g.hm.call(this,a)};var M_=qt({Rr:db,Pv:Qa,PW:Ra,YW:eb,fX:kb,LJ:Ua,gX:lb,hX:mb,lX:ob,uW:Ja,QW:Za,LW:Oa,KW:Na,JW:Pa,tha:Ma,tW:Ia,XW:Va,nX:Ya,kB:$a,Qha:ab,mB:cb,lB:bb,bha:Ha});t=L_.prototype;t.rd=function(a){return a in M_};t.Rh=function(){return this.F().getRange()};
t.Pi=function(){return this.Lb().J()};
t.ld=function(a,b){var c,e,f,g,h,k=b;switch(a){case Ia:null===k||(VV?this.wka(k):Vt?this.Xk("hiliteColor",k):this.Xk(a,k));break;case db:h=this.wMa("/",k);break;case $a:case ab:case cb:case bb:this.eAa(a);break;case Ha:this.jOa();break;case Ma:break;default:if(G&&a==Qa&&k&&(k="<"+k+">"),a!=Pa||null!==k){switch(a){case Ra:case eb:TV&&(H&&(e=!0),Vt&&(e=a==eb?!this.Pi().queryCommandEnabled("outdent"):!0));case Va:case Ya:bW&&this.kaa(this.Pi(),a)?f=!0:cW||this.t_(),H&&aW&&!this.queryCommandValue(a)&&
(g|=this.bla());case Qa:c=!!this.F().Si("Bidi");break;case lb:case mb:$V&&this.Eka(a);break;case ob:case Ja:case Za:e=H&&TV&&this.queryCommandValue(a);break;case Pa:case Na:e=TV&&H}this.Xk(a,k,c,!!e);g&&this.Pi().execCommand("Delete",!1,!0);f&&this.Pi().execCommand(ad,!1,"<div>")}}H&&this.Lb().getWindow().focus();return h};
t.queryCommandValue=function(a){var b;switch(a){case db:return this.Dza("a");case $a:case ab:case cb:case bb:return this.wza(a);case Qa:return N_(this.F().getRange());case Ha:case Ra:case eb:case Ua:return!1;case Oa:case Na:case Pa:case Ia:return this.jH(this.Pi(),a,TV&&H);case ob:case Ja:case Za:b=TV&&H;default:return this.kaa(this.Pi(),a,b)}};t.wz=function(a){RV&&a.match(/^\s*<script/i)&&(a=Ea+a);SV&&(a=a.replace(/<(\/?)strong([^\w])/gi,"<$1b$2"),a=a.replace(/<(\/?)em([^\w])/gi,"<$1i$2"));return a};
t.Hla=function(a){a=Ew(pd,null,a);for(var b=0,c;c=a[b];b++)if(G){c.removeAttribute("tabIndex");c.removeAttribute("tabIndexSet");var e=c;null!==e&&"removeAttribute"in e&&e.removeAttribute(Yq);try{delete e[Yq]}catch(f){}c.S9&&(c.tabIndex=c.S9)}};t.bL=function(a){if(Yt){for(var b=this.F().kb.Bp(kd),c=[],e=b.length,f=1;f<e;++f)for(var g=Ew(Ud,null,b[f]),h=g.length,k=0;k<h;++k)c.push(g[k].outerHTML);return c.join("")+a}return a};
t.hy=function(a,b,c){if(!c)return!1;var e;switch(b){case "b":e=Ja;break;case "i":e=Za;break;case "u":e=ob;break;case "s":return!0}return e?(this.F().execCommand(e),!0):!1};var O_=G?/<br([^\/>]*)\/?>/gi:/<br([^\/>]*)\/?>(?!<\/(div|p)>)/gi;
L_.prototype.t_=function(){if(!G&&!Vt)return!1;var a=this.Rh(),b=a.md(),c=this.Pi();O_.lastIndex=0;return O_.test(b.innerHTML)?(a=a.Lz(),"P"==b.tagName?P_(b,!0):(b.innerHTML=b.innerHTML.replace(O_,'<p$1 trtempbr="temp_br">'),b=Os(b.getElementsByTagName("P")),Lx(b,function(a){"temp_br"==a.getAttribute("trtempbr")&&(a.removeAttribute("trtempbr"),mr(zx(a))&&a.appendChild(G?c.createTextNode("\u00a0"):c.createElement(sc)),P_(a))})),a.restore(),!0):!1};
var P_=function(a,b){if(G||Vt){var c=a.outerHTML.replace(/<(\/?)p/gi,"<$1div");b&&(c=c.replace(O_,"</div><div$1>"));Vt&&!/<\/div>$/i.test(c)&&(c+=Qb);a.outerHTML=c}},Q_=function(a){return 0==a.indexOf("+")?a.substring(1):a};L_.prototype.eAa=function(a){this.Xk(a,null,!1,!0);H&&this.Xk(a,null,!1,!0);TV&&H||Lx(this.F().getRange(),R_)};var R_=function(a){a=DW(a);a.align&&(a.style.textAlign=a.align,a.removeAttribute("align"))};t=L_.prototype;
t.Xk=function(a,b,c,e){var f=null;c&&(f=this.F().queryCommandValue(fn)?fn:this.F().queryCommandValue(uk)?uk:null);a=Q_(a);var g,h;G&&(h=this.zka(a),g=h[0],h=h[1]);Yt&&(g=this.Aka(a));H&&this.yka(a);dW&&"fontsize"==a.toLowerCase()&&this.dFa();c=this.Pi();e&&TV&&(c.execCommand(Ko,!1,!0),Vt&&this.fza());c.execCommand(a,!1,b);e&&TV&&c.execCommand(Ko,!1,!1);Yt&&!I("526")&&"formatblock"==a.toLowerCase()&&b&&/^[<]?h\d[>]?$/i.test(b)&&this.Kla();/insert(un)?orderedlist/i.test(a)&&(Yt&&!I(534)&&this.$pa(),
G&&(this.Zpa(),h&&Zw(h)));g&&Zw(g);f&&this.F().execCommand(f)};t.wka=function(a){var b=this.F().getRange(),c,e;b&&b.isCollapsed()&&(c=this.Lb().createTextNode(H?" ":""),e=b.ka(),e=1==e.nodeType?e:e.parentNode,""==e.innerHTML?(e.style.textIndent=qb,e.appendChild(c)):(e=this.Lb().j(vo,{style:"text-indent:-10000px"},c),b.qH(e)),aJ(c,void 0).select());this.Xk("hiliteColor",a,!1,!0);c&&(H&&(c.data=""),e.style.textIndent="")};
t.wMa=function(a,b){var c=this.Rh();c&&!hx(this.F().b(),c.md())&&(c=null);var e=c&&c.md();if((e=Cx(e,"a"))&&Bx(e,yW))ax(e);else return this.Wma(c,a,b);return null};
t.Wma=function(a,b,c){var e=null,f=[],g=a&&a.md();if(g&&g.tagName==pd)return null;if(a&&a.isCollapsed())a=a.mh(0).Nf(),JV?(e=this.Lb().createElement("A"),a.insertNode(e)):IV&&(a.pasteHTML("<a id='newLink'></a>"),e=this.Lb().b("newLink"),e.removeAttribute(rj));else if(a){var h=Ur();this.Xk("CreateLink",h);E(this.F().Qi().getElementsByTagName("A"),function(a){jr(a.href,h)&&f.push(a)});f.length&&(e=f.pop());a=function(a){return zY(Ax(a))};if(f.length&&Bs(f,a)){for(a=0;g=f[a];a++)CY(g,c);f=null}}else e=
this.Lb().createElement("A"),this.F().b().appendChild(e);return BY(e,b,c,f)};
t.jOa=function(){var a=this.F().Si(xc);if(null!=a){var b=this.F().getRange(),c=a.tc,e,f,g=this.Lb(),h=this.F().b();this.F().queryCommandValue(fn)?f=e=void 0:e=void 0;if(OV){if(Vt&&(e||c)&&!b.isCollapsed()&&(g=DW(b.ka()),b=DW(b.Oa()),g!=b&&hx(h,g)&&hx(h,b)&&XI(g,0,b,b.childNodes.length).select()),this.Xk(ad,"blockquote"),b=this.F().getRange(),e||c)PV?this.xka(b.ka(),b.Oa(),a,c,f,e):(g=b.ka(),a=Bx(g,A(a.xF,a),!0),a||g!=h||(a=g.firstChild),a&&hx(h,a)&&S_(a,c,f,e))}else a=g.j("blockquote"),S_(a,c,f,e),
b.isCollapsed()?(c=b.insertNode(g.j(Td),!1),this.t_()&&LW(c,!0),this.Xk(ad,"<div>"),b=this.F().getRange(),b=b.md(),b==c&&(b=c.parentNode),Xw(a,b),a.appendChild(b),ax(b),LW(c,!1),Zw(c)):b.surroundContents(a)}};var S_=function(a,b,c,e){b&&(Fx(a,b),c&&Fx(a,c));e&&Iw(a,{style:e})};
L_.prototype.xka=function(a,b,c,e,f,g){if(e||g)if(a=Bx(a,A(c.xF,c),!0),b=Bx(b,A(c.xF,c),!0),Vt&&a&&a.parentNode!=this.F().b()&&a.parentNode.tagName==d&&1==a.parentNode.childNodes.length&&ax(a.parentNode),b||(b=a),a)for(a=xW(a);a&&a!=b.nextSibling;a=xW(a.nextSibling))if(Vt&&a.tagName==d&&1==a.childNodes.length&&a.firstChild.tagName==qc&&(a=a.firstChild,ax(a.parentNode)),c.xF(a))S_(a,e,f,g);else break};
var T_={indent:1,outdent:1,insertOrderedList:1,insertUnorderedList:1,justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,ltr:1,rtl:1},U_={insertOrderedList:1,insertUnorderedList:1},V_={insertOrderedList:1,insertUnorderedList:1};t=L_.prototype;t.Eka=function(a){if(!this.queryCommandValue(a)){a=a==lb?mb:lb;var b=Q_(a);this.queryCommandValue(a)||this.Pi().execCommand(b,!1,null);this.Pi().execCommand(b,!1,null)}};
t.dFa=function(){var a=JW(this.F().getRange(),this.F().b());Lx(Mx(a,function(b,c,e){return e.i8()&&a.containsNode(b)}),function(a){R(a,"font-size","");H&&0==a.style.length&&null!=a.getAttribute(Jo)&&a.removeAttribute(Jo)})};
t.zka=function(a){var b=[],c=null,e=this.Rh(),f=this.Lb();if(a in V_){var g=e&&e.md();if(g){for(var h=Ew(qc,null,g),k,m=0;m<h.length;m++)if(e.containsNode(h[m])){k=h[m];break}if(g=k||Cx(g,qc))c=f.j(n,{style:"height:0"}),g.appendChild(c),b.push(c),k?e=XI(k,0,c,0):e.containsNode(c)&&(k=e.ka(),e=e.wb(),e=XI(k,e,c,0)),e.select()}}!c&&!this.F().$b()&&a in T_&&(a=this.F().b(),e&&e.isCollapsed()&&!dx(a)&&(c=e.mh(0).Nf(),e=c.duplicate(),e.moveToElementText(a),e.collapse(!1),e.isEqual(c)&&(e=f.createTextNode("\u00a0"),
a.appendChild(e),c.move(dg,1),c.move(dg,-1),c.select(),b.push(e))),c=f.j(n,{style:"height:0"}),a.appendChild(c),b.push(c));return b};t.Kla=function(){Lx(this.Rh(),function(a){"Apple-style-span"==a.className&&(a.style.fontSize="",a.style.fontWeight="")})};
t.$pa=function(){var a=!1;Lx(this.Rh(),function(b){var c=b.tagName;if("UL"==c||"OL"==c)if(a){if(c=fx(b)){var e=b.ownerDocument.createRange();e.setStartAfter(c);e.setEndBefore(b);if(lr(e.toString())&&c.nodeName==b.nodeName){for(;c.lastChild;)b.insertBefore(c.lastChild,b.firstChild);c.parentNode.removeChild(c)}}}else a=!0})};var W_={1:1,a:1,A:1,i:1,I:1},X_={disc:1,circle:1,square:1};
L_.prototype.Zpa=function(){for(var a=this.Rh(),a=a&&a.getContainer();a&&"UL"!=a.tagName&&"OL"!=a.tagName;)a=a.parentNode;a&&(a=a.parentNode);if(a){var b=Os(a.getElementsByTagName("UL"));Ps(b,Os(a.getElementsByTagName("OL")));E(b,function(a){var b=a.type;b&&!("UL"==a.tagName?X_:W_)[b]&&(a.type="")})}};var Y_={justifyCenter:1,justifyFull:1,justifyRight:1,justifyLeft:1,formatBlock:1},Z_={insertOrderedList:1,insertUnorderedList:1};
L_.prototype.Aka=function(a){var b;Y_[a]&&(b=this.Lb().j(n,{style:"height: 0"},"x"),this.F().Qi().appendChild(b));!I(534)&&Z_[a]&&(a=this.F().Qi(),b=this.Lb().j(n,{style:"height: 0"},"x"),a.insertBefore(b,a.firstChild));return b};L_.prototype.yka=function(a){if(I("1.9")&&"formatblock"==a.toLowerCase()){a=this.Rh();var b=a.ka();if(a.isCollapsed()&&b&&b.tagName==rc){var c=a.wb();(b=b.childNodes[c])&&b.tagName==sc&&(a=a.Nf(),a.setStart(b,0),a.setEnd(b,0))}}};
L_.prototype.fza=function(){var a=[],b=this.F().getRange().md();do a.push(b);while(b=b.parentNode);a=Px(Kx(this.F().getRange()),Kx(a));a=Mx(a,CW);Lx(a,function(a){var b=a.style.outline;a.style.outline="0px solid red";a.style.outline=b})};L_.prototype.bla=function(){var a=this.Rh();if(a.isCollapsed()&&3!=a.getContainer().nodeType){var b=this.Lb().createTextNode("\u00a0");a.insertNode(b,!1);aJ(b,void 0).select();return!0}return!1};
var N_=function(a){var b=null;Lx(a,function(a,e,f){if(!f.jF()){a=DW(a).tagName;b=b||a;if(b!=a)throw b=null,Ix;f.bV()}});return b},$_={center:1,justify:1,right:1,left:1};L_.prototype.wza=function(a){a=a.replace("+justify","").toLowerCase();a==Xh&&(a="justify");var b=this.F().Si("Bidi");if(b)return a==b.Rta();var c=this.Rh();if(!c)return!1;for(var e=c.md(),b=xs(e.childNodes,function(a){return pW(a)&&c.containsNode(a,!0)}),b=b.length?b:[e],e=0;e<b.length;e++){var f=DW(b[e]);if(a!=a0(f))return!1}return!0};
var a0=function(a){var b=yy(a,"textAlign"),b=b.replace(/^-(moz|webkit)-/,"");$_[b]||(b=a.align||jk);return b};t=L_.prototype;t.Dza=function(a){var b=this.Rh(),b=b&&b.md();a=Cx(b,a);return!!a&&!!Bx(a,yW)};t.kaa=function(a,b,c){return this.jaa(!0,a,b,c)};t.jH=function(a,b,c){return this.jaa(!1,a,b,c)};t.jaa=function(a,b,c,e){c=Q_(c);if(e){var f=this.Pi();f.execCommand(Ko,!1,!0)}a=a?this.tEa(c,b):b.queryCommandValue(c);e&&f.execCommand(Ko,!1,!1);return a};
t.tEa=function(a,b){var c=null;if(H&&a in U_)try{c=b.queryCommandState(a)}catch(e){}else c=b.queryCommandState(a);return c};var b0=function(){BZ.call(this,"openImageBubble")};C(b0,BZ);var c0=[Ep,Ap,zp,Cp],d0={tr_small_link:"Small",tr_medium_link:"Medium",tr_large_link:"Large",tr_original_link:"Original size"};t=b0.prototype;t.Yb=function(){return"ImageBubble"};t.sx=function(a){if(!a)return null;var b=null;if(a.nodeName==pd&&!YJ.Aza(a))b=a;else if(a.getAttribute&&a.getAttribute("imageanchor")){var c=uW(a,function(a){return a.nodeName==pd});null===c||(b=a.childNodes[c])}b&&Gs(Ex(b),"tr_noresize")&&(b=null);return b};
t.U3=function(){return this.M.b(Dp)};t.wC=function(a){this.ab=PY(this.Lb().getWindow());var b=this.M.j(d,{id:Dp});a.appendChild(b);this.vma(b)};t.tx=function(){return pd};t.BD=function(){return sd};t.vma=function(a){this.sna(a);cZ(a,"\u00a0-\u00a0");this.pna(a)};t.sna=function(a){for(var b=0;b<c0.length;b++)0<b&&cZ(a,"\u00a0-\u00a0"),this.Q_(c0[b],!1,a)};t.pna=function(a){this.To("tr_delete-image",Od,this.X0,a)};t.ke=function(){b0.g.ke.call(this);this.VV()};
t.VV=function(){if(this.U3())for(var a=this.Bb(),a=qZ(a,this.ab),b=0;b<c0.length;b++)this.iU(c0[b],a);this.oa()};t.ge=function(a,b){var c=this.sy();return!c&&a==Cp||c&&a.split("_")[1]==b};t.iU=function(a,b){var c=this.ge(a,b);this.Q_(a,c)};t.sy=function(){if(G)var a=this.Ah.getAttribute(Eq,2),b=this.Ah.getAttribute(dj,2);else a=this.Ah.getAttribute(Eq),b=this.Ah.getAttribute(dj);return a||b?!0:!1};
t.Q_=function(a,b,c){var e=d0[a];b?this.wna(a,e):(b=a==Cp?A(this.cba,this):A(this.eba,this,a.split("_")[1]),this.To(a,e,b,c))};t.wna=function(a,b){var c=this.M.j("b",{innerHTML:b});this.Rda(c,a);HW(c,this.Uc)};t.eba=function(a){var b=this.Bb();this.F().Kh();var c=this.ab;hZ(b,c.Tx(b.src,a));rZ&&mZ(b,a,c,void 0);this.VV();this.F().jd()};t.X0=function(){this.F().Kh();fZ(this.Bb(),pd);this.F().Fi();this.F().jd()};t.TFa=function(a,b,c){sZ(a,b,!1,c)};
t.cba=function(){this.F().Kh();var a=this.Bb(),b=A(this.uba,this),c=A(this.iGa,this,a,a.src);this.TFa(a,this.ab,{EG:b,jCa:c})};t.uba=function(){this.ke();this.F().jd()};t.iGa=function(a,b){var c=A(this.uba,this);a.src=b;sZ(a,this.ab,!0,{EG:c})};var e0=function(){YW.call(this)};C(e0,aZ);e0.prototype.Yb=function(){return"TabHandler"};e0.prototype.hy=function(a){return H&&this.F().fq()?!1:9!=a.keyCode||a.metaKey||a.ctrlKey?!1:this.FE(a)};var f0=function(){YW.call(this)};C(f0,e0);f0.prototype.Yb=function(){return"ListTabHandler"};f0.prototype.FE=function(a){var b=this.F().getRange();return Cx(b.md(),"LI")||Nx(b,function(a){return"LI"==a.tagName})?(this.F().execCommand(a.shiftKey?eb:Ra),a.preventDefault(),!0):!1};var g0=function(){YW.call(this);this.aDa=null};C(g0,YW);var h0=/^(DIV|TR|LI|BLOCKQUOTE|H\d|PRE|XMP)/,i0=function(a){a.push("<br>")};t=g0.prototype;t.Yb=function(){return"RemoveFormatting"};t.rd=function(a){return a==hb};t.ld=function(a){a==hb&&this.eFa()};t.hy=function(a,b,c){return c?" "==b?(this.F().execCommand(hb),!0):!1:!1};
t.eFa=function(){if(!this.F().getRange().isCollapsed()){var a=this.aDa||A(this.Caa,this);this.w_(a);this.Lb().J().execCommand("RemoveFormat",!1,void 0);YV&&this.w_(function(a){var c=I("528")?/&nbsp;/g:/\u00A0/g;return a.replace(c," ")})}};t.w4=function(a){for(var b=this.F().b();a&&a!=b;){if(a.tagName==de)return a;a=a.parentNode}return null};
t.zDa=function(a){var b=this.F().getRange(),c=this.Lb(),e=Ur(),f=Ur();a=cc+e+Ba+a+cc+f+Ba;var g=Ur(),h=cc+g+Ba;if(IV){var k=b.mh(0).Nf();k.pasteHTML(h);for(var m;(m=k.parentElement())&&sW(m)&&!yW(m);){b=m.nodeName;if(b==fe||"TR"==b||"TH"==b)break;Zw(m)}k.pasteHTML(a);(g=c.b(g))&&Zw(g)}else if(JV){c.J().execCommand("insertImage",!1,g);b=new RegExp("<[^<]*"+g+"[^>]*>");m=this.F().getRange().md();3==m.nodeType&&(m=m.parentNode);for(;!b.test(m.innerHTML);)m=m.parentNode;if(H)BW(m,m.innerHTML.replace(b,
a.replace(/\$/g,"$$$$")));else{BW(m,m.innerHTML.replace(b,h));for(m=g=c.b(g);(m=g.parentNode)&&sW(m)&&!yW(m);){b=m.nodeName;if(b==fe||"TR"==b||"TH"==b)break;Yw(g,m);Zw(m)}BW(m,m.innerHTML.replace(new RegExp(h,"i"),a.replace(/\$/g,"$$$$")))}}a=c.b(e);c=c.b(f);XI(a,0,c,c.childNodes.length).select();Zw(a);Zw(c)};
t.vsa=function(a){var b=this.Lb().j(d),c=a.Nf();if(JV)b.appendChild(c.cloneContents());else if(IV){var e=a.getText(),e=e.replace(/\r\n/g,"\r"),f=e.length;a=f-qr(e).length;e=f-rr(e).length;c.moveStart(dg,a);c.moveEnd(dg,-e);a=c.htmlText;"Formatted"==c.queryCommandValue("formatBlock")&&(a=ur(c.htmlText));b.innerHTML=a}return b.innerHTML};
t.Zja=function(a,b,c){var e=new UW(a),f=a.ka(),g=a.wb(),h=a.Oa();a=a.gc();var k=this.Lb();if(b){var m=k.createTextNode("");Yw(m,b);f=m;g=0}c&&(m=k.createTextNode(""),Xw(m,c),h=m,a=0);XI(f,g,h,a).select();return e};t.iaa=function(a,b){var c=Zw(a.Re(b));b?this.gV=c:this.CM=c};t.WFa=function(){var a=this.F().b();this.gV&&(a.insertBefore(this.gV,a.firstChild),this.gV=null);this.CM&&(a.appendChild(this.CM),this.CM=null)};
t.w_=function(a){var b=this.F().getRange();if(!(1<b.Hp())){if(H||Wt){var c=JW(b,this.F().b()),e=this.w4(c.ka()),f=this.w4(c.Oa());if(e||f){if(e==f)return;var g=this.Zja(b,e,f);e||this.iaa(g,!0);f||this.iaa(g,!1);b=this.F().getRange();c=JW(b,this.F().b())}c.select();b=c}b=this.vsa(b);this.zDa(a(b));(H||Wt)&&g&&(b=this.F().getRange(),this.WFa(),a=g.EV(),e=e?a:b,b=f?a:b,f=e.ka(),e=e.wb(),a=b.Oa(),b=b.gc(),XI(f,e,a,b).select(),g.dispose())}};
t.Caa=function(a){var b=Rw(d);b.innerHTML=a;a=[];for(var b=[b.childNodes,0],c=[],e=0,f=[],g=0,h=0;0<=h;h-=2){for(var k=!1;0<g&&h<=f[g-1];)g--,k=!0;k&&i0(a);for(k=!1;0<e&&h<=c[e-1];)e--,k=!0;k&&i0(a);for(var k=b[h],m=b[h+1];m<k.length;){var p=k[m++],u=p.nodeName;switch(u){case "#text":p=0<e?p.nodeValue:nr(p.nodeValue);p=Cr(p);a.push(p);continue;case "P":i0(a);i0(a);break;case sc:i0(a);continue;case de:i0(a);f[g++]=h;break;case "PRE":case "XMP":c[e++]=h;break;case Ud:case Rd:case Sd:continue;case "A":if(p.href&&
""!=p.href){a.push("<a href='");a.push(p.href);a.push("'>");a.push(this.Caa(p.innerHTML));a.push("</a>");continue}else break;case pd:a.push("<img src='");a.push(p.src);a.push("'");"0"==p.border&&a.push(" border='0'");a.push(">");continue;case fe:p.previousSibling&&a.push(" ");break;case "TR":p.previousSibling&&i0(a);break;case d:var y=p.parentNode;if(y.firstChild==p&&h0.test(y.tagName))break;default:h0.test(u)&&i0(a)}p=p.childNodes;0<p.length&&(b[h++]=k,b[h++]=m,k=p,m=0)}}return a.join("").replace(/\xa0|[ \t]+/g,
" ")};var j0=function(a){(this.element=Cx(a,de))||RC(this.D,"Can't create Table based on a node that isn't a table, or descended from a table.");this.M=N(this.element);this.refresh()};t=j0.prototype;t.D=QC("goog.editor.Table");
t.refresh=function(){var a=this.rows=[],b=this.element.getElementsByTagName(ee)[0];if(b){for(var c=[],b=b.firstChild;b;b=b.nextSibling)"TR"==b.nodeName&&c.push(b);for(var b=0,e;e=c[b];b++){for(var f=a[b],g=[],h=0,k;k=e.childNodes[h];h++)k.nodeName!=fe&&"TH"!=k.nodeName||g.push(k);e=g;for(h=g=0;k=e[h];h++){for(;f&&f.Kb[g];)g++;k=new k0(k,b,g);for(var m=0;m<k.rowSpan;m++){var p=b+m,u=a[p];u||a.push(u=new l0(c[p],p));p=g+k.colSpan;u.Kb.length<p&&(u.Kb.length=p);for(p=0;p<k.colSpan;p++)u.Kb[g+p]=k}g+=
k.colSpan}}}};t.insertRow=function(a){a=null!=a?a:this.rows.length;var b,c;0==a?(b=this.rows[0],c=!1):(b=this.rows[a-1],c=!0);for(var e=this.M.createElement("TR"),f=0,g;g=b.Kb[f];f+=1)c&&g.Nm>a||!c&&g.kj<a?(g.lI(g.rowSpan+1),1<g.colSpan&&(f+=g.colSpan-1)):e.appendChild(this.uL()),c?Yw(e,b.element):Xw(e,b.element);this.refresh();return e};
t.insertColumn=function(a){a=null!=a?a:this.rows[0]&&this.rows[0].Kb.length||0;for(var b=[],c=0,e;e=this.rows[c];c++)(e=e.Kb[a])&&e.Mm>=a&&e.qk<a?(e.$H(e.colSpan+1),c+=e.rowSpan-1):(e=this.uL(),e.style.width="60px",this.KP(e,c,a),b.push(e));this.refresh();return b};
t.removeRow=function(a){var b=this.rows[a];b||SC(this.D,"Can't remove row at position "+a+": no such row.");for(var c=0,e;e=b.Kb[c];c+=e.colSpan)1<e.rowSpan&&(e.lI(e.rowSpan-1),e.kj==a&&this.KP(e.element,a+1,e.qk));b.element.parentNode.removeChild(b.element);this.refresh()};
t.removeColumn=function(a){for(var b=0,c;c=this.rows[b];b++)(c=c.Kb[a])||RC(this.D,"Can't remove cell at position "+b+", "+a+": no such cell."),1<c.colSpan?c.$H(c.colSpan-1):c.element.parentNode.removeChild(c.element),b+=c.rowSpan-1;this.refresh()};
t.kBa=function(a,b,c,e){var f=[],g;if(a==c&&b==e)return SC(this.D,"Can't merge single cell"),!1;for(var h=a;h<=c;h++)for(var k=b;k<=e;k++){g=this.rows[h].Kb[k];if(g.kj<a||g.Nm>c||g.qk<b||g.Mm>e)return SC(this.D,"Can't merge cells: the cell in row "+h+", column "+k+"extends outside the supplied rectangle."),!1;f.push(g)}for(var k=f[0],m=k.element,p=this.M.J(),h=1;g=f[h];h++)if(g=g.element,g.parentNode&&g!=m){m.lastChild&&3==m.lastChild.nodeType&&m.appendChild(p.createTextNode(" "));for(var u;u=g.firstChild;)m.appendChild(u);
g.parentNode.removeChild(g)}k.$H(e-b+1);k.lI(c-a+1);e>b&&(m.removeAttribute(Eq),m.style.width=null);this.refresh();return!0};t.vLa=function(a,b){for(var c=this.rows[a].Kb[b],e=[],f=0;f<c.rowSpan;f++)for(var g=0;g<c.colSpan;g++)if(0<f||0<g){var h=this.uL();this.KP(h,a+f,b+g);e.push(h)}c.$H(1);c.lI(1);this.refresh();return e};t.KP=function(a,b,c){for(var e=this.rows[b],f=null,g;g=e.Kb[c];c+=g.colSpan)if(g.kj==b){f=g.element;break}e.element.insertBefore(a,f)};t.uL=function(){return this.M.j(fe,{},"\u00a0")};
var l0=function(a,b){this.index=b;this.element=a;this.Kb=[]},k0=function(a,b,c){this.element=a;this.colSpan=parseInt(a.colSpan,10)||1;this.rowSpan=parseInt(a.rowSpan,10)||1;this.kj=b;this.qk=c;this.TV()};k0.prototype.TV=function(){this.Mm=this.qk+this.colSpan-1;this.Nm=this.kj+this.rowSpan-1};k0.prototype.$H=function(a){a!=this.colSpan&&(1<a?this.element.colSpan=a:(this.element.colSpan=1,this.element.removeAttribute("colSpan")),this.colSpan=a,this.TV())};
k0.prototype.lI=function(a){a!=this.rowSpan&&(1<a?this.element.rowSpan=a.toString():(this.element.rowSpan="1",this.element.removeAttribute("rowSpan")),this.rowSpan=a,this.TV())};var m0=function(){YW.call(this);this.Qza=[];this.Wza=A(this.Xza,this)};C(m0,YW);m0.prototype.Yb=function(){return String($q(this.constructor))};var n0={iX:nb,Nha:Wa,Oha:Xa,Kha:Sa,Lha:Ta,sia:"+removeRows",ria:gb,aVa:"+splitCell",lSa:"+mergeCells",tia:ib},o0=qt(n0);t=m0.prototype;t.rd=function(a){return a in o0};t.enable=function(a){m0.g.enable.call(this,a);H&&this.Lb().J().execCommand(nh,!1,r)};t.IN=function(){var a=this.F().getRange().getContainer();return this.wD(a)};
t.wD=function(a){a=Bx(a,this.Wza,!0);return Bx(a,yW)?a:null};t.queryCommandValue=function(a){if(a==nb)return!!this.IN()};
t.ld=function(a,b){var c=null,e=this.F().getRange();if(a==nb){if(!SW(e))return null;var f=b||{width:4,height:2},g=this.Lb().J(),h=f.width,k=f.height,f={borderWidth:"1",borderColor:"#888"},m;for(m in void 0)f[m]=(void 0)[m];g=(new Bw(g)).Aj(k,h,!0);h=Math.max(10,Math.min(60,600/h));m=g.getElementsByTagName(fe);for(var k=0,p;p=m[k];k++)p.style.width=h+q;R(g,{borderCollapse:pg,borderColor:f.borderColor,borderWidth:f.borderWidth+q});g.border=f.borderWidth;g.setAttribute("bordercolor",f.borderColor);g.setAttribute("cellspacing",
"0");f=g;e.qH(f);G||(c=f.getElementsByTagName(fe)[0])}else{g=new p0(e,A(this.wD,this));f=g.nDa;if(!f)return null;switch(a){case Xa:f.insertRow(g.Rm);break;case Wa:f.insertRow(g.fu+1);break;case Ta:f.insertColumn(g.Qm);break;case Sa:f.insertColumn(g.du+1);break;case "+removeRows":e=g.Rm;m=g.fu;if(0==e&&m==f.rows.length-1)return this.ld(ib);h=g.Qm;m=m-e+1;for(g=0;g<m;g++)f.removeRow(e);0<f.rows.length&&(c=f.rows[Math.min(e,f.rows.length-1)].Kb[h].element);break;case gb:h=g.Qm;m=g.du;if(0==h&&m==f.rows[0].Kb.length-
1)return this.ld(ib);e=g.Rm;m=m-h+1;for(g=0;g<m;g++)f.removeColumn(h);if(e=f.rows[e])c=e.Kb[Math.min(h,e.Kb.length-1)].element;break;case "+mergeCells":g.Nza()&&f.kBa(g.Rm,g.Qm,g.fu,g.du);break;case "+splitCell":g.mma()&&f.vLa(g.Rm,g.Qm);break;case ib:f.element.parentNode.removeChild(f.element)}}c&&(e=aJ(c,void 0),e.collapse(!1),e.select());return null};t.Xza=function(a){return a.tagName!=de?!1:Bs(this.Qza,function(b){return b(a)})};
var p0=function(a,b){this.Kk=[];var c=a.md(),e=c&&b(c);if(e&&(e=new j0(e),e.rows.length&&e.rows[0].Kb.length)){for(var f=0,g;g=e.rows[f];f++)for(var h=0,k;k=g.Kb[h];h++){var m=k.element;if(c==m||c.parentNode==m||a.containsNode(m,!1))this.Kk.length?(this.Rm=Math.min(this.Rm,k.kj),this.fu=Math.max(this.fu,k.Nm),this.Qm=Math.min(this.Qm,k.qk),this.du=Math.max(this.du,k.Mm)):(this.Rm=k.kj,this.fu=k.Nm,this.Qm=k.qk,this.du=k.Mm),this.Kk.push(k)}this.nDa=e}};
p0.prototype.Nza=function(){if(!this.Kk.length)return!1;var a=this.Kk[0],b=this.Kk[this.Kk.length-1];return!(this.Rm<a.kj||this.fu>b.Nm||this.Qm<a.qk||this.du>b.Mm)};p0.prototype.mma=function(){var a=this.Kk.length;return 0<a&&this.Kk[0]==this.Kk[a-1]};m0.hha=n0;var q0=function(){YW.call(this)};C(q0,e0);q0.prototype.Yb=function(){return"SpacesTabHandler"};q0.prototype.FE=function(a){var b=this.Lb(),c=this.F().getRange();return Cx(c.md(),"LI")||Nx(c,function(a){return"LI"==a.tagName})?!1:(a.shiftKey||(this.F().yv(!0,!0),c.isCollapsed()||(b.J().execCommand("delete",!1,null),c=this.F().getRange()),b=b.j(vo,null,"\u00a0\u00a0 \u00a0"),b=c.insertNode(b,!1),this.F().jd(),LW(b,!1),this.F().Fi()),a.preventDefault(),!0)};var r0=function(a){M.call(this);this.Pka=a};C(r0,M);r0.prototype.x7=function(){return this.Pka};var s0=function(){M.call(this);this.bBa=100;this.Gf=[];this.Sl=[];this.RG=[]};C(s0,M);var t0={dX:"state_change",Nia:"state_added",aha:"before_undo",$ga:"before_redo"};t=s0.prototype;t.YE=null;t.aY=function(a){if(0==this.Gf.length||!a.$d(this.Gf[this.Gf.length-1])){this.Gf.push(a);this.Gf.length>this.bBa&&this.Gf.shift();var b=this.Sl.length;this.Sl.length=0;this.dispatchEvent({type:t0.Nia,state:a});(1==this.Gf.length||b)&&this.pM()}};t.pM=function(){this.dispatchEvent(t0.dX)};
t.undo=function(){this.Xda(this.Gf,this.Sl)};t.redo=function(){this.Xda(this.Sl,this.Gf)};t.dya=function(){return 0<this.Gf.length};t.Yxa=function(){return 0<this.Sl.length};t.Xda=function(a,b){if(a.length){var c=a.pop();b.push(c);this.nja({type:a==this.Gf?t0.aha:t0.$ga,W2:a==this.Gf?c.undo:c.redo,state:c});0!=a.length&&1!=b.length||this.pM()}};t.nja=function(a){this.RG.push(a);1==this.RG.length&&this.Gj()};
t.Gj=function(){if(!this.YE&&0!=this.RG.length){var a=this.RG.shift();this.dispatchEvent({type:a.type,state:a.state})&&(a.state.x7()?(this.YE=K(a.state,Me,this.Upa,!1,this),a.W2.call(a.state)):(a.W2.call(a.state),this.Gj()))}};t.Upa=function(){Pu(this.YE);this.YE=null;this.Gj()};t.clearHistory=function(){if(0<this.Gf.length||0<this.Sl.length)this.Gf.length=0,this.Sl.length=0,this.pM()};t.OMa=function(){return this.Gf[this.Gf.length-1]};t.HEa=function(){return this.Sl[this.Sl.length-1]};var u0=function(a){YW.call(this);this.fKa(a||new s0);this.op={};this.Jw={};this.b7=null;this.hla=A(this.ZFa,this)};C(u0,YW);u0.prototype.Y=QC("goog.editor.plugins.UndoRedo");u0.prototype.Fy=null;var v0=qt({mX:pb,aX:fb});t=u0.prototype;t.fKa=function(a){this.b9&&Pu(this.b9);this.ri=a;this.b9=K(this.ri,t0.dX,this.Koa,!1,this)};t.rd=function(a){return a in v0};t.hm=function(a){this.disable(a);this.eA(null)};t.GN=function(){return this.F()};t.A3=function(){return this.F()};t.n3=function(){return this.F()};
t.enable=function(a){if(!this.isEnabled(a)){a.ks();var b=new rA(this);H||b.o(a,Gf,this.Tua);b.o(a,Kg,this.nva);b.o(a,Qf,this.cy);this.op[a.Vi]=b;this.WV(a)}};t.disable=function(a){a.ks();var b=this.op[a.Vi];b&&(b.dispose(),delete this.op[a.Vi]);this.Jw[a.Vi]&&delete this.Jw[a.Vi]};t.isEnabled=function(a){return!!this.op[a.Vi]};t.B=function(){u0.g.B.call(this);for(var a in this.op)this.op[a].dispose(),delete this.op[a];this.eA(null);this.ri&&(this.ri.dispose(),delete this.ri)};t.Yb=function(){return"UndoRedo"};
t.execCommand=function(a){a==pb?this.ri.undo():a==fb&&this.ri.redo()};t.queryCommandValue=function(a){var b=null;a==pb?b=this.ri.dya():a==fb&&(b=this.ri.Yxa());return b};t.Koa=function(){this.n3().dispatchEvent({type:"cvc",e_:[fb,pb]})};
t.ZFa=function(a,b,c){var e=this.A3(a.Ns);if(e){e.yv(!0,!0);try{e.Kh();e.execCommand(mg,!0);BW(e.b(),b);c&&c.select();var f=this.GN();e.focus();f&&f.Vi!=a.Ns&&f.execCommand(Pp);this.Jw[a.Ns].Bda(b,c)}catch(g){RC(this.Y,"Error while restoring undo state",g)}finally{this.Fy=a,e.jd(),e.Fi()}}};t.hy=function(a,b,c){if(c){var e;"z"==b?e=a.shiftKey?fb:pb:"y"==b&&(e=fb);if(e)return(a=e==pb?this.ri.OMa():this.ri.HEa())&&a.Ns?this.GN().execCommand(e):this.execCommand(e),!0}return!1};
t.clearHistory=function(){this.F().yv(!0,!0);this.ri.clearHistory();this.F().BA()};t.Tua=function(a){if(!this.Fy){a=a.target;var b=a.Vi;this.b7!=b&&(this.b7=b,this.WV(a))}};t.nva=function(a){this.Fy?(a=this.Fy,this.Fy=null,a.dispatchEvent(Me)):this.WV(a.target)};t.cy=function(a){(a=a.target)&&a.ks()};t.Nra=function(a){a=new w0(a);return a.Ye()?a:null};
t.WV=function(a){var b=a.Vi,c,e;a.queryCommandValue(hq)?(c="",e=null):(c=a.b().innerHTML,e=this.Nra(a));var f=this.Jw[b];if(f){if(f.Cr==c)return;if(""==c||""==f.Cr)if(a=a.O3("",{}),c==a&&""==f.Cr||f.Cr==a&&""==c)return;f.pJa(c,e);this.ri.aY(f)}this.Jw[b]=new x0(b,c,e,this.hla)};var x0=function(a,b,c,e){r0.call(this,!0);this.Ns=a;this.pba=e;this.Bda(b,c)};C(x0,r0);t=x0.prototype;t.undo=function(){this.pba(this,this.Cr,this.NMa)};t.redo=function(){this.pba(this,this.GS,this.GEa)};
t.Bda=function(a,b){this.Cr=a;this.NMa=b};t.pJa=function(a,b){this.GS=a;this.GEa=b};t.$d=function(a){return this.Ns==a.Ns&&this.Cr==a.Cr&&this.GS==a.GS};var w0=function(a){this.sp=a;var b=a.kb.getWindow();a=(a=a.getRange())&&a.Xt()&&a.getWindow()==b?a:null;JV?this.Pya(a):IV&&this.Mya(a)};t=w0.prototype;
t.Pya=function(a){this.Hg=!1;if(a){var b=a.sN(),c=a.PD();if(b&&c){var e=a.tN(),b=new j_(b,this.sp.b()),f=a.QD(),c=new j_(c,this.sp.b());a.Uj()?(this.La=c,this.cm=f,this.Ka=b,this.Uk=e):(this.La=b,this.cm=e,this.Ka=c,this.Uk=f);this.Hg=!0}}};
t.Mya=function(a){this.Hg=!1;if(a){var b=a.mh(0).Nf();if(hx(this.sp.b(),b.parentElement())){a=this.sp.kb.J().body.createTextRange();a.moveToElementText(this.sp.b());var c=b.duplicate();c.collapse(!0);c.setEndPoint($d,a);this.La=y0(c);b=b.duplicate();b.setEndPoint($d,a);this.Ka=y0(b);this.Hg=!0}}};t.Ye=function(){return this.Hg};t.toString=function(){return JV?"W3C:"+this.La.toString()+"\n"+this.cm+":"+this.Ka.toString()+"\n"+this.Uk:"IE:"+this.La+","+this.Ka};
t.select=function(){var a=this.Rh(this.sp.b());a&&(IV&&this.sp.b().focus(),KJ(a).select())};t.Rh=function(a){if(JV){var b=this.La.Qs(a);a=this.Ka.Qs(a);return b&&a?XI(b,this.cm,a,this.Uk).Nf():null}b=a.ownerDocument.body.createTextRange();b.moveToElementText(a);b.collapse(!0);b.moveEnd(dg,this.Ka);b.moveStart(dg,this.La);return b};
var y0=function(a){var b=a.duplicate(),c=a.text,e=c.length;b.collapse(!0);b.moveEnd(dg,e);for(var f,g=10;(f=b.compareEndPoints(Uc,a))&&(e-=f,b.moveEnd(dg,-f),--g,0!=g););a=0;for(b=c.indexOf("\n\r");-1!=b;)++a,b=c.indexOf("\n\r",b+1);return e+a};var z0=function(a){u0.call(this,a)};C(z0,u0);t=z0.prototype;t.Tl=function(a){this.rp||z0.g.Tl.call(this,a)};t.GN=function(){return this.rp?this.rp.et():this.F()};t.A3=function(a){return this.rp?this.rp.F(a):this.F()};t.n3=function(){return this.rp||this.F()};t.B=function(){z0.g.B.call(this);this.rp=null};t.QEa=function(a){this.rp=a;this.eA(null)};var A0=function(){YW.call(this)};C(A0,aZ);var B0={NB:Qg,NL:Rg,qga:!1},C0={NB:"align",NL:"textAlign",qga:!0};A0.prototype.PM=!1;var D0=/^[^<]*<DIV\s+(?:xmlns[\S^>]*\s+)?DIR\s*=\s*.?(LTR|RTL).?(?:\s+xmlns[\S^>]*)?>([\s\S]*)<\/DIV>[^>]*$/i,E0=/^[^<]*<DIV([^<]+TRBIDI\s*=\s*.?ON.?[^<]*)>([\s\S]*)<\/DIV>[^>]*$/i,F0=/DIR\s*=\s*.?(LTR|RTL).?/i,G0=!!Date.now;t=A0.prototype;t.Yb=function(){return"Bidi"};t.rd=function(a){return a==uk||a==fn};t.ld=function(a){this.rd(a)&&this.GJa(a)};
t.queryCommandValue=function(a){return this.rd(a)&&this.Sta()==a};t.wz=function(a,b){var c=this.Pra(),e=E0.exec(a);if(e){var f=F0.exec(e[1]);f&&(c=f[1]);a=e[2]}else if(e=D0.exec(a))c=e[1],a=e[2];b&&(b.direction=c,this.PM&&(b.textAlign=H0(c)));return a};t.bL=function(a){var b=this.F().b(),c=I0(b,B0,!0);c&&(b=new UC('<div dir="',c),this.PM&&(c=H0(c),b.append('" trbidi="on" style="text-align:').append(c)),b.append(Aa).append(a).append(Qb),a=b.toString());return a};
t.Pra=function(){if(!this.L0){var a=this.F();this.L0=(a=a.b()||a.Mc)&&Xy(a)?fn:uk}return this.L0};var J0=function(a){var b=a.style;if(!b)return 0;var c=parseInt(b.marginLeft,10),b=parseInt(b.marginRight,10);return a.tagName==qc?(0==b)-(0==c):!b-!c},K0=function(a){a=a.tagName;return"UL"==a||"OL"==a},L0=function(a,b){var c;if(!(c=wW(a)&&mW(a)||a!=b&&rW(a)))a:{c=a;if(c!=b)for(;(c=c.parentNode)&&c!=b;){var e=rW(c);if(e){c=e;break a}}c=null}return c};t=A0.prototype;
t.Eea=function(a,b){var c=a.parentNode,e,f;c==this.F().b()||H&&c.tagName==qc?(f=a,e=N(c).createElement(d)):(f=c,e=c.cloneNode(!1));bZ(e,b?c.firstChild:a.nextSibling,b?a.previousSibling:c.lastChild);b?Xw(e,f):Yw(e,f);return e};
t.v2=function(a,b,c,e){if(a==this.F().b())return a;var f=b?qW:rW;if(c&&(c=zW(a,K0)))return c;if(H&&e){c=b?kW:mW;e=a;do if(e.tagName==sc){b&&(e=a);do a=e,f(e)&&this.Eea(e,b);while((e=e.parentNode)&&!wW(e))}else if(a=e,(e=f(e))&&!wW(e))for(var g=c(e);g;g=c(e))e=g;else e=a.parentNode;while(e&&!wW(e))}else if(!wW(a))for(b=2;b;)e=2==b?a.parentNode:f(a),!e||wW(e)?b--:a=e;return a};t.a6=function(a,b){var c=this.F().b(),e=Bx(a,function(a){return a==c||a.tagName==b},!0);return e!=c&&null!=e};
t.GJa=function(a){var b=this.F().getRange();if(b){var c=b.ka(),e=b.Oa(),f;if(!this.a6(c,de)&&!this.a6(e,de)){var g=b.Mz(),h=!1;if(c==e){var k=PW(b,!0).node;if((H||Yt&&I(534))&&b.isCollapsed()&&k.tagName==sc)f=k,c=(c=k.previousSibling)&&3==c.nodeType?c:k,e=k;else if(c==this.F().b()){if(!c.firstChild){c.innerHTML="<div>&nbsp;</div>";f=mW(c);this.rI(f,a);LJ(f,0).select();return}c=mW(c);e=kW(e);h=!0}}b=[this.v2(c,!0,!0,!0),this.v2(e,!1,!0,!0)];if(e=lx(b[0],b[1])){wW(e)||(e=e.parentNode);for(var m=Array(2),
p=e!=this.F().b(),u=0;2>u;u++){hx(b[1-u],b[u])&&(b[u]=b[1-u]);for(var y=u?qW:rW,P=u?rW:qW,L=null,ma=null,da=null,Zb=b[u]==e,k=b[u];k!=this.F().b();k=k.parentNode)k.parentNode==e&&(Zb=!0,m[u]=ma?y(k):k),ma?J0(k)&&(L=k,da=!Zb&&k):P(k)&&(ma=k,da=!Zb&&k),k.parentNode==e&&(p=p&&!ma);if(L)for(k=ma;k&&k!=L;k=k.parentNode)this.Eea(k,!u);for(k=da;k&&k.parentNode!=e;k=k.parentNode)k==da?(P=u?mW(k.parentNode):k,L=u?k:kW(k.parentNode)):(P=u?mW(k.parentNode):y(k),L=u?y(k):kW(k.parentNode)),P&&L&&this.lda(P,L,
a)}p?this.rI(e,a):qW(m[0])!=m[1]&&this.lda(m[0],m[1],a);this.qBa(nW(b[0]),lW(b[1]),a);if(f){a=f.parentNode;for(g=0;a.childNodes[g]!=f;g++);LJ(a,g).select()}else h?LJ(c.parentNode,0).select():g.restore().select()}}}};t.qBa=function(a,b,c){var e=a;if(e!=this.F().b())for(;(e=e.parentNode)&&e!=this.F().b();)this.A9(e,c);do this.A9(a,c);while(a!=b&&(a=L0(a)))};
t.A9=function(a,b){var c=a.style;if(c){var e=this.F().Si(xc);if(e&&e.nQ(a)){var c=a.style.direction,e=a.style.textAlign,f;this.oO(a.firstChild,a,B0)==uk?(f=void 0,Hx(a,void 0)):(f=void 0,Fx(a,void 0));Iw(a,{style:f});a.style.direction=c;a.style.textAlign=e}else 0<J0(a)*(b==fn?1:-1)&&(e=a.style.marginLeft,c.marginLeft=c.marginRight,c.marginRight=e)}};t.lda=function(a,b,c){var e,f;do wW(a)?(e&&(this.V8(e,f,c),e=null),this.rI(a,c)):(e=e||a,f=a);while(a!=b&&(a=rW(a)));e&&this.V8(e,f,c)};
t.V8=function(a,b,c){if(I0(a.parentNode,B0,!0)!=c){var e=N(a).createElement(d);Xw(e,a);bZ(e,a,b);this.rI(e,c)}};var I0=function(a,b,c){var e=b.NL,f;c&&(f=G?xy(a,e):wy(a,e));f=f||a.style[e]||a[b.NB];H||!c||f&&"inherit"!=f||(e=a.parentNode)&&1==e.nodeType&&(f=I0(e,b,!0));if(b==C0)switch(f){case Co:return M0(a,b);case rh:return M0(a,b,!0);case "-moz-left":return jk;case "-moz-right":return an;case "-moz-center":return ag;case yf:case "-webkit-auto":return M0(a,b)}return f||(c?M0(a,b):null)};
A0.prototype.Df=function(a,b,c,e){!e&&c&&a!=this.F().b()&&I0(a.parentNode,b,!0)==c&&(c="");b.qga||!c?a.removeAttribute(b.NB):(a.setAttribute(b.NB,c),c="");R(a,b.NL,c)};var M0=function(a,b,c){switch(b){case C0:return a=I0(a,B0,!0),H0(a,c);case B0:return c?fn:uk}return""};A0.prototype.rI=function(a,b){for(var c=H0(b),e=H0(b,!0),f=a;f;f=L0(f,a))if(wW(f)){this.Df(f,B0,b);b="";var g=I0(f,C0,f==a);(g==e||this.PM&&g==c)&&this.Df(f,C0,c,!0)}};var H0=function(a,b){return(!a||a==uk)!=!!b?jk:an};t=A0.prototype;
t.oO=function(a,b,c){var e=null,f=lx(a,b);if(!f)return null;a==b&&(a=mW(a)||a);var g;this.HLa();do if(!wW(a)&&g!=a.parentNode){g=a.parentNode;var h=I0(g,c,!0);if(e&&h!=e)return null;e=h}while(a!=b&&(a=L0(a,f))&&!this.sk());return e};t.Sta=function(){var a=this.F().getRange();return this.c8(a)?this.oO(a.ka(),a.Oa(),B0):null};t.Rta=function(){var a=this.F().getRange();return this.c8(a)?this.oO(a.ka(),a.Oa(),C0):null};t.c8=function(a){return!!a&&this.K7(a.ka())&&this.K7(a.Oa())};
t.K7=function(a){for(;a;){if(a==this.F().b())return!0;a=a.parentNode}return!1};t.HLa=function(){this.FBa=0;G0||(this.gC=40);this.KLa=B()};t.sk=function(){if(G0||++this.FBa>this.gC){var a=B()-this.KLa;if(20<=a)return!0;G0||(this.gC*=1+2*(1-a/20),this.gC++)}return!1};var N0=function(){z_.call(this)};C(N0,z_);N0.prototype.sua=function(){return new O0(this)};var O0=function(a){this.Bo=a;this.Xi=new vU};C(O0,B_);O0.prototype.start=function(a){this.Xi||(this.Xi=new vU);a.o(this.Xi,vg,A(this.b$,this));a.o(this.Xi,Ie,A(this.b$,this));this.Xi.Xba(this.G)};
O0.prototype.add=function(a,b,c,e){this.Aja(b,a);a='<input type="file" name="file">';if(c)for(var f in c)a+='<input type="hidden" name="'+f+ya+c[f]+Aa;this.G.innerHTML=a;c=this.G.childNodes[0];Zy(c,!0);e.o(c,bg,A(this.lCa,this));G&&I(9)&&e.o(c,Yj,P0)};var P0=function(a){13==a.keyCode&&(a.preventDefault(),a.target.click())};t=O0.prototype;t.Xe=function(){this.G.parentNode.style.display=Yk};t.remove=function(a){O0.g.remove.call(this,a);Zw(this.G.parentNode)};
t.ara=function(){return A(this.Xi.abort,this.Xi,7)};t.Aja=function(a,b){var c=b.ownerDocument.createElement(n);b.appendChild(c);c.style.overflow=yf;c.innerHTML=['<form method="post" enctype="multipart/form-data" accept-charset="utf-8" style="margin-bottom: 0px" onsubmit="return false" action="',a,'"></form>'].join("");this.G=c.firstChild};t.lCa=function(){this.jIa(this.G.childNodes[0].value);this.Bo.BBa(this)};
t.b$=function(){var a,b=7==this.Xi.Lc;try{a=new MZ(200,this.Xi.Te()||void 0)}catch(e){a=new MZ(200,"")}this.Xi.dispose();this.Xi=null;if(a.Zt())this.Bo.zNa(this,a.a1);else if(0==a.size&&alert(this.Cua()),b)this.Bo.uNa(this);else{var b=!0,c="";a.Tza()?(c=this.pua(),b=!1):a.Lza()?c=this.fsa():a.nza()?(c=this.ksa(),b=!1):a.Yza()&&(c=a.a1);this.Bo.xNa(this,a,c,b)}};var Q0=function(a,b,c,e,f,g,h){XX.call(this,a);this.ab=b;this.rs=0;this.cd=new NZ(c,this.ab.Xg.base);this.qJ=e;this.N=new rA(this);this.Pu=new t_;this.qJ&&z(f)&&(this.Na=h||new N0,this.Na.yIa(this.dom,this.qJ,"Upload an image",f,g),this.N.o(this.Na,C_.Pia,this.zxa));this.a8=Xy(this.dom.J().body)};C(Q0,XX);Q0.prototype.Nda=function(a){this.sr=a};Q0.prototype.Mda=function(a){this.EJ=a};Q0.prototype.show=function(){Q0.g.show.call(this);this.yV.jj(this.sr?tp:qp)};
var R0=function(a,b,c){this.url=a;this.nka=b||null;this.N6=c||null};C(R0,J);R0.prototype.type=dl;t=Q0.prototype;t.Cw=function(){this.hd=this.dom.j(d,null,this.Hma());var a;a:{a=this.dom.J();for(var b=A(this.$ua,this),c=this.hd.childNodes,e=0;e<c.length;e++)if(1==c[e].nodeType&&c[e].efa){a=new x_(c[e],a,b);break a}a=null}this.yV=a;a=new YX(this);a.Xc("Add an Image").hb(this.hd).lf("tr-imagedialog");this.pg=a.Gk();this.sr&&this.yV.jj(tp);return this.pg};
t.Hma=function(){var a=[];this.sr&&a.push(this.Jna());a.push(this.jna());return this.dom.j(d,{efa:Ea},a)};t.BL=function(){var a=this.yV.rt();return a&&a.Q9?a.Q9():null};t.$ua=function(a){this.OFa(a);a==tp&&0==this.Fg.childNodes.length?this.q2():a==qp&&(a=this.dom.b(op),a.focus(),JD(a,a.value.length))};t.B=function(){this.N.dispose();this.N=null;this.QM.dispose();this.QM=null;this.Pu.dispose();this.Pu=null;this.Na&&(this.Na.dispose(),this.Na=null);this.ve&&(this.ve.dispose(),this.ve=null);Q0.g.B.call(this)};
t.sr=!0;var S0={};t=Q0.prototype;t.D=PC("trog.dialogs.ImageDialog");t.Jna=function(){var a=y_(tp,this.EJ||"Uploaded images","Add one of your images to your page",this.dom.J(),A(this.ina,this));this.Fg=this.dom.j(d);a.appendChild(this.Fg);var b=this.Ina();a.appendChild(b);this.cd.Zb()&&(this.Fg.style.display=Yk);this.Na&&(b=this.Na.tua(),a.appendChild(b));return a};t.q2=function(){var a=8*this.rs,b=a+8;Ww(this.Fg);this.cd.slice(a,b).forEach(A(this.Gja,this))};
t.Gja=function(a){var b=this.dom.createElement(pd);rZ?(lZ(b,Pq,A(this.hba,this,b,a)),b.src=this.ab.gt(a,"thumb")):this.hba(b,a);Zy(b,!0);var c=this.dom.Aj(1,1);c.className="tr_imagedialog-image-list-table";var e=c.rows[0].cells[0];e.className="tr_imagedialog-image-list-td";e.appendChild(b);a=this.dom.j(d,{style:yl,url:a,className:vp,tabIndex:0},c);b=SY.thumb;b+=2;Ry(c,b,b);G&&!jW(this.dom.J())&&(b+=16);Ry(a,b,b);this.Pu.add(a,{onclick:A(this.Pz,this,a),ondblclick:A(this.IGa,this,a)});0==this.Fg.childNodes.length%
4&&(a.style.clear=jk);this.Fg.appendChild(a)};t.hba=function(a,b){lZ(a,A(T0,null,a,this.ab));a.src=this.ab.getUrl(b,pk)};
t.Ina=function(){var a=this.dom.j(fe,{id:sp,className:wp,style:xq,tabIndex:0,innerHTML:"&laquo;&nbsp;Prev"});this.N.o(new dy(a),Le,this.eva);var b=this.dom.j(fe,{id:rp,className:wp,style:this.dQ()?xq:"",tabIndex:0,innerHTML:"Next&nbsp;&raquo;"});this.N.o(new dy(b),Le,this.dva);var c=this.dom.Aj(1,1);Iw(c,{width:Ob,height:Ob});Iw(c.rows[0].cells[0],{width:Ob});this.dom.iq(a,c.rows[0].cells[0]);this.dom.rl(b,c.rows[0].cells[1]);Fx(c,xp,this.dQ()?void 0:yp);return this.dom.j(d,{style:"clear: both"},
c)};t.jna=function(){var a=y_(qp,"Web address (URL)","Add an image from the web",this.dom.J(),A(this.hna,this)),b=this.dom.Aj(2,1);Iw(b,{width:Ob,height:Ob});var c=this.Nma();b.rows[0].cells[0].appendChild(c);c=this.lna();b.rows[1].cells[0].appendChild(c);a.appendChild(b);return a};
t.Nma=function(){var a=this.dom.Aj(1,2);a.width=Ob;a.rows[0].cells[0].innerHTML='<span style="white-space:nowrap; font-size:10pt;">Image URL&nbsp;</span>';var b=a.rows[0].cells[1];b.width=Ob;var c=this.dom.j(rd,{value:"",id:op,className:"tr_imagedialog-external-image-input"});c.style.width=G&&jW(this.dom.J())?"99%":Ob;b.appendChild(c);this.QM=new BD(c);K(this.QM,Ej,A(this.i5,this));G&&this.N.o(c,Zj,A(this.i5,this));return a};
t.lna=function(){return this.dom.j(d,{id:pp,className:"tr_imagedialog-external-image-preview",innerHTML:U0()})};var U0=function(){return"If your URL is correct, you'll see an image preview here. Large images may take a few minutes to appear.<p><font size=-2>Remember: Using others' images on the web without their permission may be bad manners, or worse, copyright infringement.</font></p>"},T0=function(a,b){hZ(a,b.Tx(a.src,"thumb"))};t=Q0.prototype;
t.OFa=function(a){a==tp?(a=this.Pu.Qf(),this.zg().disabled=!a):a==qp&&(this.zg().disabled=!this.e2)};t.eva=function(){this.oE(this.rs-1);this.Fg.hasChildNodes()&&this.Fg.firstChild.focus()};t.dva=function(){this.oE(this.rs+1);this.Fg.hasChildNodes()&&this.Fg.firstChild.focus()};t.oE=function(a){this.zg().disabled=!0;this.rs=a;this.cNa();this.q2()};
t.cNa=function(){var a=this.dom.b(sp),b=0==this.rs;R(a,wq,b?ej:"");var c=this.dom.b(rp),a=this.dQ();R(c,wq,a?ej:"");c=this.dom.Md(xp);b&&a?Hx(c,yp):Fx(c,yp)};t.dQ=function(){return!(8*(this.rs+1)<this.cd.length())};t.Pz=function(a){this.Pu.cg(a);this.zg().disabled=!1};t.IGa=function(a){this.Pz(a);this.lEa()};
t.zxa=function(a){var b=a.jD.fileName,c=a.jD.fileUrl||b,e=a.jD.anchorUrl,f=a.jD.contentType;if(f&&0!=f.indexOf("image/"))alert("Your file has been uploaded.  However, most browsers do not support images of this file type.");else{this.cd.Zb()&&(this.Fg.style.display="");f=this.cd.indexOf(c);-1==f&&(this.cd.add(c,b),S0[c]=e,f=this.cd.length()-1);this.oE(Math.floor(f/8));b=this.Fg.childNodes[f%8];this.Pz(b);c=b.parentNode;e=b.offsetTop-c.firstChild.offsetTop;f=e-c.scrollTop;if(0>f||f+b.offsetHeight>=
c.offsetHeight)c.scrollTop=e;this.dispatchEvent(a)}};t.i5=function(){this.ve||(this.ve=new lz(A(this.fEa,this),200));this.ve.start()};t.fEa=function(){var a=this.z3(),b=this.dom.b(pp);if(a!=b.childNodes[0].src&&-1!=a.search(/[^:\/]\//)){b.removeChild(b.childNodes[0]);b.innerHTML=U0();this.zg().disabled=!0;this.e2=!1;var c=this.dom.createElement(pd),b=A(this.mwa,this,c,b);lZ(c,b);c.src=a}};
t.mwa=function(a,b){var c=b.offsetWidth;a.style.visibility=ej;b.replaceChild(a,b.childNodes[0]);iZ(a,c,400);a.style.visibility="";this.zg().disabled=!1;this.e2=!0};t.ina=function(){var a=this.Pu.Qf();if(a){if(this.Na&&!this.Na.kma())return null;var b=this.cd.find({url:a.url});return new R0(a.url,S0[a.url],b?b.title:null)}return null};t.hna=function(){return new R0(this.z3())};t.z3=function(){var a=this.dom.b(op).value;(new NY(a)).t7()||(a=lj+a);return a};var V0=function(a,b,c,e,f){XX.call(this,a);this.ab=b;this.h8=!!c;this.uS=e||"";this.cEa=f||new oX;this.$G=new rA(this);this.X$={}};C(V0,XX);V0.prototype.mda=function(a){this.oaa=a;this.Laa()};V0.prototype.nJa=function(a){this.X$=a};V0.prototype.show=function(){V0.g.show.call(this);this.z1.select();this.Ql.focus();JD(this.Ql,0)};var W0=function(a){this.o_=a};C(W0,J);W0.prototype.type=dl;t=V0.prototype;t.Cw=function(){return(new YX(this)).Xc("Edit HTML").Gb("Update",A(this.jl,this),dl).eK().lf("tr-new-raw-html-dialog").hb(this.Ima()).Gk()};
t.BL=function(){return new W0(this.Ql.value)};t.Qla=function(){R(this.Pn.J().body,{border:"0",margin:"0",background:Zk});R(this.Pn.usa(),"background",Zk)};t.B=function(){V0.g.B.call(this);this.Oc.dispose();this.$G.dispose();this.Pn.Y0();delete this.Oc;delete this.ab;delete this.$G;delete this.Pn};t.jda=function(a,b){a.innerHTML=b};t.oaa="";t.h8=!1;t.uS="";t.Laa=function(){this.Ql&&(this.Ql.value=this.cEa.format(this.oaa))};t.iNa=function(a){var b=this.Pn.J(),c=b.body;this.jda(c,a);R(c,this.X$);this.ab.TF(b)};
t.ZBa=function(){this.Oc.Ota()==this.W$&&this.iNa(this.Ql.value)};t.Ima=function(){var a=this.dom.j(d);this.Oc=new SA(a,0,this.dom);this.Oc.Yv(this.Rma());this.Oc.Yv(this.mna());K(this.Oc,bg,this.ZBa,!1,this);this.Laa();return a};t.c0=function(a,b,c){a=new TA(a,b,this.dom);a.Ip().title=c;return a};t.Rma=function(){this.Ql=this.dom.j(ge,{style:"height:294px;width:99%;direction:ltr"});return this.z1=this.c0(this.Ql,"HTML","Edit your HTML here")};
t.mna=function(){var a={style:"height:294px;width:99%"};G&&(a.src=xA);a=this.dom.j(od,a);this.Pn=new IZ(a);this.Pn.load(A(this.yKa,this));return this.W$=this.c0(a,"Preview","Preview your changes here")};t.yKa=function(){var a=this.Pn.J();a.open();this.h8&&a.write(Pb);a.write("<html><head></head><body></body></html>");a.close();this.$G.o(this.Pn.xN(),[Kk,ng],X0,!1);this.$G.o(a,[Lk,Nk,Mk],HZ);this.uS&&Wy(this.uS,a);this.Qla()};var X0=function(a){HZ();a.preventDefault();a.stopPropagation()};var Y0=function(a){YW.call(this);this.bma=a;this.oba=function(){};this.fa=null;this.VP=this.tba=!1;this.cf=null};C(Y0,YW);t=Y0.prototype;t.rd=function(a){return a==this.bma};t.execCommand=function(a,b){return this.ld.apply(this,arguments)};
t.ld=function(a,b){this.tba||this.qM();this.fa||(this.fa=this.tL(N(this.F().Dk),b));var c=this.F().getRange();this.oba=this.Cba();this.cf=c&&new UW(c);MJ(this.F().kb.getWindow());Nu(this.fa,Pe,this.EO,!1,this);this.F().ev(!0);this.fa.show();this.dispatchEvent("dialogOpened");this.F().Fi();return!0};t.EO=function(){this.F().ev(!1);this.$S();this.oba();this.tba||this.qM();this.dispatchEvent("dialogClosed");this.F().Fi();this.F().coa(un)};t.$S=function(){this.F().XFa(this.cf);this.cf=null};
t.Soa=function(){this.cf&&(this.cf.dispose(),this.cf=null)};t.B=function(){this.qM();Y0.g.B.call(this)};t.qM=function(){this.fa&&!this.VP&&(this.VP=!0,this.fa.dispose(),this.fa=null,this.VP=!1)};var Z0=function(a){Y0.call(this,a)};C(Z0,Y0);Z0.prototype.ld=function(a,b){this.uj=b;return Z0.g.ld.call(this,a,b)};Z0.prototype.EO=function(a){Z0.g.EO.call(this,a);this.uj=null};var $0=function(a){this.ab=a};
$0.prototype.Qt=function(a,b,c,e,f,g){var h;a:{h=this.ab;f=A(this.Yva,this,a,!!f);var k=a.kb.createElement(yj);yZ(k,h,f);k.removeAttribute(dj);k.removeAttribute(Eq);if(g)$w(k,g);else{if(a.getRange()&&!SW(a.getRange())){alert("Select a paragraph to insert the image into.");h=null;break a}k.setAttribute(rj,Jn);a.getRange().qH(k);(k=a.kb.b(Jn))&&k.removeAttribute(rj)}if(G){g=k;var m=$q(g);h=cr(xZ,g,h,f);vZ[m]=v.setInterval(cr(wZ,h,{currentTarget:g}),300)}h=k}h&&(G&&(f=h,f.ZLa||(f.tabIndex&&(f.S9=f.tabIndex),
f.tabIndex="-1",f.ZLa=!0)),h.src=this.ab.getUrl(b,pk),e||pZ(h,this.ab,c),a.jd());return h};$0.prototype.Yva=function(a,b){a.jd();b||a.Fi()};var a1=function(a){Y0.call(this,vj);this.ab=a.ab;this.Gi=a;this.XE=new $0(a.ab)};C(a1,Z0);a1.prototype.Yb=ms("NewImageDialogPlugin");a1.prototype.Nda=function(a){this.sr=a};a1.prototype.Mda=function(a){this.EJ=a};var b1=function(a,b,c){this.Aya=a;this.url=b;this.N6=c||null};C(b1,J);b1.prototype.type="imageInserted";t=a1.prototype;
t.tL=function(a){a=this.P_(a,this.ab,this.Gi.Q6,this.Gi.qJ,this.Gi.yNa,this.wXa);a.Nda(this.sr);this.EJ&&a.Mda(this.EJ);a.addEventListener(dl,this.jl,!1,this);a.addEventListener(Lo,this.dispatchEvent,!1,this);return a};t.P_=function(a,b,c,e,f,g){return new Q0(a,b,c,e,"//ssl.gstatic.com/editor/",f,g)};t.sr=!0;t.KBa=!1;
t.jl=function(a){this.$S();var b=a.url;this.ab.tF(a.url)&&(b=rZ?this.ab.gt(a.url,Ek,"init:"):this.ab.bE(a.url));this.uj=this.XE.Qt(this.F(),b,a.nka,this.KBa,!0);this.dispatchEvent(new b1(this.uj,b,a.N6));LW(oZ(this.uj)||this.uj,!1)};var c1=function(a){Y0.call(this,hh);this.ab=a};C(c1,Y0);t=c1.prototype;t.Yb=ms("NewRawHtmlDialogPlugin");t.tL=function(a,b){var c=this.F().aO?this.F().aO():null,c=this.e0(a,this.ab,jW(this.F().b()),c);if(b)c.mda(b);else{var e={};c.mda(this.Bra(e));c.nJa(e)}c.addEventListener(dl,this.jl,!1,this);return c};t.e0=function(a,b,c,e,f){return new V0(a,b,c,e,f)};t.Bra=function(a){var b=this.F(),c=b.AN();(b=b.Si("Bidi"))&&(c=b.wz(c,a));return c};
t.jl=function(a){this.Soa();this.F().execCommand(mg,!0);this.F().av(!1,a.o_,!1,!0);H&&this.ab.TF(Cw(this.F().Qi()));this.F().UG();this.F().jd()};var d1=function(){YW.call(this)};C(d1,YW);d1.prototype.Yb=function(){return"HeaderFormatter"};var e1={Gha:"H1",Hha:"H2",Iha:"H3",Jha:"H4"};d1.prototype.hy=function(a,b,c){if(!c)return!1;c=null;switch(b){case "1":c=e1.Gha;break;case "2":c=e1.Hha;break;case "3":c=e1.Iha;break;case "4":c=e1.Jha}return c?(this.F().execCommand(Qa,c),H&&a.stopPropagation(),!0):!1};var f1=function(){this.fd=[];this.EM=[];this.Oo=!1;this.result=this.RI=null},g1;f1.prototype.Ra=function(a,b){if(typeof a!=Yh)throw"Callback must be a function";b&&(a=A(a,b));this.fd.push(a);this.Oo&&this.RI&&this.fH(this.result)};f1.prototype.addCallback=f1.prototype.Ra;t=f1.prototype;t.zk=function(a,b){if(typeof a!=Yh)throw"Errback must be a function";b&&(a=A(a,b));this.EM.push(a);this.Oo&&!this.RI&&this.aaa(this.result)};
t.Ad=function(a){fr&&this.Dp().info("Got result: "+a);if(this.Oo)throw Mc;this.RI=this.Oo=!0;this.fH(a)};
t.fH=function(a){this.result=a;if(this.fd.length){var b=this.fd.shift();try{fr&&this.Dp().info("Passing result to callback handler");var c=b(a)}catch(e){fr&&this.Dp().Gga("Caught error running callback:"+e,e);this.Oo=!1;this.tf(e);return}c instanceof f1?(fr&&this.Dp().info("Callback returned Deferred, waiting for result"),c.Ra(this.fH,this),c.zk(this.tf,this)):this.fd.length?(fr&&this.Dp().info(this.fd.length+" callbacks remaining."),this.fH(c)):this.result=c}};
t.tf=function(a){fr&&this.Dp().info("Got error: "+a,a);if(this.Oo)throw Mc;this.Oo=!0;this.RI=!1;this.aaa(a)};t.aaa=function(a){this.result=a;var b;if(this.EM.length)for(;b=this.EM.shift();)try{b(a)}catch(c){}else fr&&this.Dp().Vda("Unhandled error: "+a,a)};t.Dp=function(){g1||(g1=PC("goog.deferred.Deferred"));return g1};var i1=function(){if(h1)return h1;this.D=OC();this.D.kr(CC);this.D.TX(A(this.pwa,this));this.LAa=new KS;h1=this},h1=null;i1.prototype.enabled=!0;i1.prototype.ota=function(){var a=document.getElementById(Tn);a||(a=document.createElement(n),a.id=Tn,document.body.appendChild(a));return a};i1.prototype.pwa=function(a){if(this.enabled){var b=this.ota().appendChild(document.createElement(n));b.className="sites-debug-log-logrecord";b.innerHTML=this.LAa.Gqa(a)}};x("DebugLogDisplay",i1,void 0);var j1=function(a){a=pr(a);if(0>a.indexOf(":"))if(0<a.indexOf("@"))a="mailto:"+a;else if(0<a.indexOf(".")||0<a.indexOf("/"))a=lj+a;else return null;var b=a.match(/^([a-zA-Z]+):([^\s<>]+)$/);if(!b||!b[1]||!b[2])return null;b=b[1].toLowerCase();return"javascript"==b||b==Fh?null:a};var k1=function(a,b,c){this.Na=a;this.fa=new JG;this.U9=c;this.o2=b.length;this.fa.Xc("Uploading...");this.fa.co((new IA).set(LA.si,"Close",!0,!0));UF(this.fa,LA.si);this.BS={};c=[];for(a=0;a<b.length;a++)if(b[a]){var e=b[a].getId();c[a]=e;this.BS[e]=new mQ}pE(this.fa.U(),qG,{xya:c});this.fa.aIa(!0);this.fa.K(!0);for(a=0;a<b.length;a++)e=c[a],this.Sg(e,"Queued..."),this.BS[e].ha(O(Rp+e));for(a=0;a<b.length;a++)if(c=b[a])this.ZIa(c.getId(),c.getName(),c.Rc),this.update(c);K(this.fa,Pg,A(this.fva,this))};
x("sites.attachments.Dialog",k1,void 0);t=k1.prototype;t.update=function(a){var b=a.getId(),c=this.Na.cl(a);c==Fj?this.Sg(b,"Queued..."):c==Co?(this.Nca(b,"url("+webspace.getPath(webspace.baseUri,Jb)+")"),this.kda(b,0)):c==Gp?(a=100*a.as/a.Rc,isNaN(a)&&(a=0),this.kda(b,a)):c==Mo?(this.eL(b),this.Sg(b,"Complete."),this.o2--,0==this.o2&&(b=this.fa.Qc,b.ux(b.Jk).click())):c==sh||c==Hl?(this.eL(b),this.ee(a)):(this.eL(b),this.Sla(b))};
t.ee=function(a){var b=a.getId();(a=this.Na.st(a))?(a=a.lD)?1==a.error?this.Sg(b,Ae):2==a.error?this.Sg(b,"You do not have permission to upload to this area."):3==a.error?this.Sg(b,"The file you are trying to upload is too large."):4==a.error?this.Sg(b,"You are attempting to upload a file with a reserved name or an unsafe extension. Please rename your file and try again."):5==a.error?this.Sg(b,"The file you are trying to upload is empty."):6==a.error?this.Sg(b,"A webpage exists with this file name. Please rename your file and try again."):
7==a.error?this.Sg(b,"You have exceeded your storage quota. Please delete some existing files and try again."):this.Sg(b,Ae):this.Sg(b,Ae):this.Sg(b,Ae)};t.fva=function(){this.U9&&this.U9()};t.ZIa=function(a,b,c){b=18<b.length?b.slice(0,15)+"...":b;null!=c&&(b+=" ("+Math.ceil(c/1024)+"k)");nx(O("upload-name-"+a),b)};t.Nca=function(a,b){var c=O("upload-icon-"+a);c&&R(c,Cf,b)};t.eL=function(a){this.Nca(a,"")};t.Sla=function(a){this.Sg(a,"")};
t.Sg=function(a,b){var c=O(Rp+a),e=O(Sp+a);nx(e,b);S(c,!1);S(e,!0)};t.kda=function(a,b){var c=O(Rp+a),e=O(Sp+a);this.BS[a].setValue(b);S(e,!1);S(c,!0)};var l1=function(a,b,c,e,f){this.Zd=webspace.domain;this.dOa=webspace.name;this.ei=webspace.page.path;this.Z2=!1;this.n2=this.XM=this.fa=null;this.iV=0;this.B1=!1;this.fp=null;c&&(this.fp=new HF(f),this.fp.ra(!1),e?this.fp.ha(O(a)):this.fp.la(O(a)));e=webspace.scottyUrl;webspace.user.sessionIndex&&(e+="?authuser="+webspace.user.sessionIndex);e=new xV(e);e.$Fa(["XHR",ld]);e.tKa(a);e.uIa(a);this.Na=e.m0();this.Na.fv(b);this.Na.zHa(!1);c?K(this.fp,Le,A(this.S4,this)):K(O(a),ng,A(this.S4,this));K(this.Na,
Kh,A(this.Jva,this));K(this.Na,cq,A(this.R5,this));K(this.Na,bq,A(this.R5,this))};x("sites.attachments.UploadButton",l1,void 0);t=l1.prototype;t.Fda=function(a){this.ei=a};t.Aca=function(a,b){this.XM=a;this.n2=b};t.rIa=function(a){this.Z2=a};t.cIa=function(a){this.B1=a};t.ra=function(a){null!=this.fp&&this.fp.ra(a)};t.S4=function(){this.iV=this.B3();this.Na.lm(!1)};t.R5=function(a){this.fa&&a.file&&this.fa.update(a.file)};
t.yDa=function(a){if(null!=this.XM)for(var b=0;b<a.files.length;b++)if(!a.files[b].getName().match(this.XM))return!1;return!0};t.Jva=function(a,b){if(this.yDa(a)){!b&&a.files&&(this.fa=new k1(this.Na,a.files,A(this.zG,this)));var c=Ah;this.Z2&&(c=r);var e=Ah;this.B1&&(e=r);c={domain:this.Zd,webspace:this.dOa,path:this.ei,generateFileName:c,editorAdded:e};for(e=0;e<a.files.length;e++)a.files[e].UIa(c),this.Na.Eu(a.files[e])}else alert(this.n2)};
t.B3=function(){var a=this.Na.MD();return a?a.length:0};t.Z3=function(){var a=[],b=this.Na.MD();if(b)for(var c=0,e=this.iV;e<b.length;e++)if(b[e]){var f=this.Na.st(b[e]);f&&(f=f.lD)&&f.path&&(a[c]=f.path,c++)}return a};t.zG=function(){window.location.reload()};var m1=/.*?\.(gif|jpg|jpeg|png)\s*$/i;x("sites.attachments.UploadButton.initFileCabinetButton",function(a){a=new l1(a,!0,!0,!1);a.ra(!0);return a},void 0);
x("sites.attachments.UploadButton.initAttachmentManagementButton",function(a){a=new l1(a,!0,!0,!1);a.Fda("/");a.ra(!0);return a},void 0);x("sites.attachments.UploadButton.initColorsAndFontsButton",function(a,b){var c=new l1(a,!1,!0,!1);c.Fda("/config");c.rIa(!0);c.Aca(m1,nc);c.zG=function(){var a=c.Z3();1==a.length&&b(a[0]);G&&(c.iV=c.B3())};c.ra(!0);return c},void 0);
var n1=function(a,b){var c=new l1(a,!0,!0,!0,"Upload Images");c.cIa(!0);c.Aca(m1,nc);c.zG=function(){var a=c.Z3();0!=a.length&&b(a)};c.ra(!0);return c};x("sites.attachments.UploadButton.initTrogEditImageUploadButton",n1,void 0);var o1=0,r1=function(a,b){if(a==o1){S(O(Xn),!1);var c=b.target.s4();if(c.error)p1(b);else{var e=O("sites-attachments-container"),c=c.html;Ww(e);c="<doc>"+c+"</doc>";if("undefined"!=typeof DOMParser)c=(new DOMParser).parseFromString(c,"application/xml");else if(HV){var f=new ActiveXObject(Dd);f.resolveExternals=!1;f.validateOnParse=!1;try{f.setProperty("ProhibitDTD",!0),f.setProperty("MaxXMLSize",2048),f.setProperty("MaxElementDepth",256)}catch(g){}f.loadXML(c);c=f}else throw Error("Your browser does not support loading xml documents");
for(c=c.documentElement;f=c.firstChild;)e.appendChild(f);q1("sites-attachments-add-file-btn")}}},q1=function(a){a=new l1(a,!0,!1,!1);a.ra(!0);a.zG=function(){o1++;JOT_callGateway("RenderAttachments",{page:webspace.page.path},cr(r1,o1),p1);S(O(Xn),!0)};return a};x("sites.attachments.PageAttachmentsUtils.initUploadButton",q1,void 0);var p1=function(){JOT_setStatusMsg("Error retrieving attachment list.")};var s1=function(a,b){this.Kna=a;this.ZV=this.Ge=null;this.zH=[];this.zP=!1;b&&JOT_addListener("clear"+b,A(function(){this.ZV=0},this))};s1.prototype.YAa=6E4;s1.prototype.search=function(a){var b=new f1;!this.Ge||this.ABa()||a?(this.zH.push(b),this.zP||(webspace.shallowSearch(this.Kna,A(this.TO,this)),this.zP=!0)):b.Ad(this.Ge);return b};s1.prototype.ABa=function(){var a=new Date;return!this.Ge||a-this.ZV>=this.YAa};
s1.prototype.TO=function(a){this.Ge=a.target.getResponseJson();for(a=0;a<this.zH.length;a++)this.zH[a].Ad(this.Ge);this.zH.length=0;this.zP=!1;this.ZV=(new Date).getTime()};var t1=function(a){this.Tga=a};t1.prototype.open=function(a,b){var c=new f1,e={wuid:this.Tga};a&&(e.force=!0);b&&(e.recover=!0);window.jstiming.load.tick("beforeXhr",Ge);JOT_callGateway("LockNode",e,A(c.Ad,c),A(c.tf,c));c.Ra(this.zS,this);return c};t1.prototype.open=t1.prototype.open;t1.prototype.zS=function(a){window.jstiming.load.tick("afterXhr",Ge);return PD(a.target.getResponseText())};
t1.prototype.close=function(){var a=new f1;JOT_callGateway("UnlockNode",{wuid:this.Tga},A(a.Ad,a),A(a.tf,a));return a};t1.prototype.close=t1.prototype.close;x("JOT_DRAFTMAN_showRecoverDraftDialog",function(){JOT_createDialog("Recover Draft","<p>We have your draft from your prior unsaved edit; however, the page has been edited since then.</p><p>Please select one of the options below to proceed.</p>",null,"View Draft",u1,"Discard Draft",v1).setVisible(!0)},void 0);
var v1=function(){JOT_callGateway(Nc,{pageWuid:webspace.page.wuid});webspace.page.hasAutosave=!1;webspace.page.autosave=null},u1=function(){var a=Ux(webspace.baseUri+"/system/components/editor/static_files/blank_standards.html",{target:"_viewDraft",width:800,height:600,location:!1,menubar:!1,scrollbars:!0,status:!1,toolbar:!1,resizable:!0});if(a){var b;b='<html><head><title>Recovered Draft</title></head><body style="background-color: white; margin: 0px;"><div style="background-color: orange; color: white; text-align: center;">This is a read-only view of your recovered edit. Please close this window once you are done manually resolving changes on the page.</div><div style="padding: 4px;">'+
AF(webspace.page.autosave.text)+"</div></body></html>";a.document.writeln(b);a.document.close();v1()}else JOT_setStatusMsg("The draft preview window failed to open. Please ensure a pop-up blocker isn't preventing it from opening."),v.setTimeout(JOT_clearStatusMsg,1E4)};var w1=function(a,b,c,e,f,g,h,k){this.Z=a;this.qg=Ow(n,{className:"goog-sites-pagefinder goog-ws-lp-list"});this.Z.appendChild(this.qg);this.ro=[];this.eJ=0;this.ji=b;this.xpa=!!e;this.LM=!!f;this.MM=!!g;this.Apa=!!h;this.Z1=!!k;this.xV=[];this.eq={};this.IH=!1;this.k_="goog-ws-tree-wrapper jfk-scrollbar";this.Z1||this.una();this.Xma();c&&this.show()};t=w1.prototype;t.Sr=1;t.Tr=0;t.Wha=5;t.show=function(){lt(this.eq)&&(this.kJ?this.QQ||this.XQ():this.g0());this.Z1||this.yh.focus()};
t.GGa=function(){this.lT&&this.mT(this.yh.value);return this.lT};t.una=function(){var a=Ow(n);this.qg.appendChild(a);Ww(a);Uw(a,Ow(Ej,{type:Xo,size:"15"}));this.yh=a.firstChild;K(this.yh,Yj,function(a){13==a.keyCode&&(this.mT(this.yh.value),a.stopPropagation())},!1,this);K(this.yh,Nh,function(){this.lT=!0},!1,this);K(this.yh,Qf,function(){this.lT=!1},!1,this);var b=KF();b.ha(a);K(b,Le,function(){this.mT(this.yh.value)},!1,this)};t.HZ=function(a){return B()-a>6E4*this.Wha?!0:!1};
t.XQ=function(){if(this.eq.recentChanges||this.QQ&&!this.HZ(this.QQ))return!1;this.eq.recentChanges=!0;JOT_callGateway("LoadRecentChanges",{excludeCurrentPath:this.LM,currentPath:webspace.page.path},A(this.CEa,this),null);return!0};
t.g0=function(){this.eq.siteMap||this.kJ&&!this.HZ(this.kJ)||(this.eq.siteMap=!0,webspace.shallowSearch(this.LM?{forAll:!0,includeReadOnly:!this.MM,includePermissionsMetaData:!0,filterName:"pageFinderExcludeCurrent",filterVars:{$path:webspace.page.path}}:{forAll:!0,includeReadOnly:!this.MM,includePermissionsMetaData:!0,filterName:"pageFinderIncludeCurrent"},A(this.GMa,this)))};
t.Xma=function(){var a=Ow(n);this.qg.appendChild(a);this.Oc=new SA(a,0);K(this.Oc,bg,function(){var a=this.xV[this.Oc.Bg()];a&&a()},!1,this);this.mK("Site map",this.Tr);this.xV[this.Tr]=A(this.g0,this);this.Apa||(this.mK("My Recent Changes",this.Sr),this.xV[this.Sr]=A(this.XQ,this));this.Oc.Ox(this.Tr).U().className=this.k_};t.CEa=function(a){a=a.target.getResponseJson();a.error?JOT_setStatusMsg("Error finding recent changes."):(this.eq.recentChanges=!1,this.QQ=B(),this.Jaa(a.myChanges,this.Sr))};
t.GMa=function(a){a=a.target.getResponseJson();if(a.error)JOT_setStatusMsg("Error finding Site Tree.");else{this.eq.siteMap=!1;this.kJ=B();this.ro[this.Tr]={};var b=this.Oc.Ox(this.Tr).U();Ww(b);var c=Ow(n);b.appendChild(c);this.zA=JOT_addTreeToDialog(a,void 0,c,null,A(this.FMa,this),function(a){var b=-1==xv(a[xk],void 0)?fn:uk;return'<span title="'+Cr(a.path)+'" dir="'+b+Aa+Cr(a[xk])+Sb},!0,this.ji);this.VU()}};
t.mLa=function(a){this.IH=!1;a=a.target.getResponseJson();a.error?JOT_setStatusMsg("Error searching site."):(w(this.vea)||(this.vea=this.mK("Search results")),this.Jaa(a,this.vea,!0))};
t.mK=function(a,b){var c=!1,e=a;if(65<a.length+this.eJ){var f=65-this.eJ;a=a.substring(0,2<f?f:2);c=!0}else 20<a.length&&(a=a.substring(0,20),c=!0);this.eJ+=a.length;f=new TA(null,a);c&&f.Ip().setAttribute(cp,e);this.Oc.Yv(f,b);Ww(f.U());e=f.U();c=Ow("ul",null,Ow("li",null,Ow(Io,null,"Loading...")));e.appendChild(c);return f.tn};
t.Jaa=function(a,b,c){this.ro[b]={};var e=this.Oc.Ox(b).U();Ww(e);e=e.appendChild(Ow("ul"));if(0==a.length)a=Ow(n,{style:"margin:10px"},"No results found"),e.appendChild(a);else{e.className=this.k_;for(var f=0;f<a.length;f++)a[f].path&&e.appendChild(this.Iaa(a[f],b))}c&&this.Oc.vd(b);this.VU();this.nN&&this.hga(this.nN)};
t.Iaa=function(a,b){var c=Ow("li"),e=c.appendChild(Ow("a"));e.href="#";var f=-1==xv(a[xk],void 0)?fn:uk,g=Gr(a[xk]),h=e.appendChild(Ow(vo));h.setAttribute(Qg,f);nx(h,g);e.onclick=function(){return!1};e.title=a.path;e.wuid=a.wuid;K(e,Kk,this.bO(a.path));var k=this,m=a.path;K(e,Xj,function(a){13==a.keyCode&&(k.Ou(m),k.ji&&k.ji(a),a.preventDefault())});this.ro[b]||(this.ro[b]={});this.ro[b][a.path]=e;return c};t.bO=function(a){return A(function(){this.Ou(a)},this)};
t.FMa=function(){var a=this.zA.getSelectedItem(!0);a&&this.Ou(a.getClientData().path)};t.mT=function(a){a&&!this.IH&&(this.IH=!0,JOT_callGateway("KeywordSearch",{excludeCurrentPath:this.LM,currentPath:webspace.page.path,excludeAttachments:this.xpa,excludeNonEditablePages:this.MM,keywords:a,limit:100},A(this.mLa,this),A(function(){this.IH=!1},this)))};t.$V=function(a){this.kJ=null;var b=this.Oc.Ox(this.Sr);this.XQ()?(this.nN=a,this.Oc.pI(b)):this.hga(a)};
t.hga=function(a){this.nN=null;var b=this.Oc.Ox(this.Sr);if(!this.Ou(a.path)){var c=b.U(),e=this.Iaa(a,this.Sr);c.firstChild?c.insertBefore(e,c.firstChild):c.appendChild(e);this.Ou(a.path)}this.Oc.pI(b)};t.Nsa=function(){if(this.Yl&&this.ag&&0<this.ag.length){var a=webspace.baseUri+this.Yl,b=zx(this.ag[0]);return[a,b]}return null};t.Pta=function(){return this.Yl&&this.ag&&0<this.ag.length?zx(this.ag[0]):null};
t.Ou=function(a,b){this.Nfa();this.Yl=a;this.VU();0!=this.ag.length||b||(this.sT=this.Yl=null);return null!=this.Yl};
t.VU=function(){var a=null;if(this.Yl){var b=this.Oc.Bg(),c=null;this.ag=[];for(var e=0;e<this.ro.length;e++){if(e==this.Tr){var f=null;if(this.zA){var g=this.zA.setSelectedPageByPath(this.Yl);g&&(f=g.getLabelElement().parentNode,a=a||g.getClientData().wuid)}}else this.ro[e]&&(f=this.ro[e][this.Yl])&&(a=a||f.wuid);f&&(Fx(f,sn),this.ag.push(f),e==b&&(c=f))}0<this.ag.length&&(f=c?c:this.ag[0],f!=c&&G||f.focus())}this.sT=a};
t.Nfa=function(){if(this.ag&&0!=this.ag.length){for(var a=0;a<this.ag.length;a++)Hx(this.ag[a],sn);this.sT=this.Yl=this.ag=null}};t.dispose=function(){this.zA&&this.zA.dispose()};var x1=function(a,b){this.ma=a||N();aG.call(this,null,null,a);this.T(new zB("Choose a timezone...",""));this.vd(0);var c=webspace.page.locale;SH=c=("en_PS"==c?"en":c).replace(/-/g,"_");var c=(c=TH())?c:TH(),c=("TimeZoneAllLongNames"in UH?UH.TimeZoneAllLongNames[c]:void 0)||[],e=0;for(;e<c.length;e++){var f=c[e].id,g=uv(c[e].name),g=new zB(g,f);this.T(g);f==b&&this.wd(g)}this.vU(!0)};C(x1,aG);var y1=function(a,b,c){HA.call(this,a,b,c);this.Xc("Google+ Page URL");this.C().o(this,Pg,this.iva);UF(this,this.Qc.Xo)};C(y1,JG);var z1=/^\d+$/;t=y1.prototype;t.IP=null;t.nd=null;t.RM=null;t.j=function(){y1.g.j.call(this);this.IP=this.Zh("plusPageInput");var a=this.U(),b={id:webspace.plusPageId,Xya:this.IP};this.RM&&st(b,this.RM);this.v().appendChild(a,fF(wI,b))};t.H=function(){y1.g.H.call(this);this.b().style.width="475px";var a=this.v().b(this.IP);this.C().o(a,[Zj,bg],this.Wva);this.nd=a};
t.Wva=function(){this.nd.style.color=this.l8(pr(this.nd.value))?Mf:"red"};t.ZT=function(a){this.Ica(a);Vx(this.nd,!a);this.Qc.lHa(a)};t.mE=function(){var a=this.ZN();return null!==a&&""!==a?(a=encodeURIComponent(String(a)),"https://plus.google.com/"+a+"/"):""};t.ZN=function(){if(this.nd){var a=pr(this.nd.value);if(this.l8(a))return a}return null};t.l8=function(a){return""===a||z1.test(a)};t.gIa=function(a){this.RM=a};
t.iva=function(a){if(a.key!=this.Qc.Xo)return!0;a=this.ZN();if(null===a)return JOT_setStatusMsg("Invalid page ID"),Xu(JOT_clearStatusMsg,5E3),!1;if(this.mE()==webspace.plusPageUrl)return!0;JOT_callGateway("SaveConfig",{properties:{"config/plusPageId":a}},A(this.Uwa,this),A(this.At,this));this.ZT(!1);return!1};t.Uwa=function(a){a.target.getResponseJson().error?this.At(a):this.Vwa(a)};t.Vwa=function(){webspace.plusPageUrl=this.mE();webspace.plusPageId=this.ZN();JOT_clearStatusMsg();this.ZT(!0);this.K(!1)};
t.At=function(){JOT_setStatusMsg("Unable to save the setting. Please try again later.");this.ZT(!0)};t.B=function(){this.nd=null;y1.g.B.call(this)};var A1=/.*\/macros\/sites\?action=run&lib=(.+)&funcName=(.+)/,B1={key:dl,caption:"Discard changes"},C1={key:Zf,caption:"Continue editing"};var D1=function(){this.text=this.url=null;this.target="";this.Oaa=!1};D1.prototype.eJa=function(a){this.target=a?Ee:""};var E1=function(a){M.call(this);this.qg=a};C(E1,M);t=E1.prototype;t.mJ=function(){};t.refresh=function(){};t.reset=function(){};t.xI=function(){return!1};t.yda=function(){};t.S7=function(){return!0};var F1=function(a){E1.call(this,null);this.ma=a||N();this.qg=this.ma.j(n,{className:"goog-sites-pagefinder goog-ws-lp-list goog-ws-lp-maestro"},this.ma.j(Io,null,"Select script:"),this.ma.j("br",null),this.ma.j("br",null),this.ma.j(n,null));this.OQ=this.qg.getElementsByTagName(n)[0];this.MF=this.OQ.appendChild(this.ma.j("ul"));this.MF.className="goog-ws-tree-wrapper goog-ws-lp-maestro-list";this.yp=[];this.qN=new Q;JOT_callGateway("ListScripts",{listFunctions:!0},A(this.PQ,this))};C(F1,E1);t=F1.prototype;
t.PQ=function(a){this.ma.wh(this.MF);a=a.target.getResponseJson();if(a.error)this.ma.Je(this.OQ,ue+a.error);else if(0==a.length)this.ma.Je(this.OQ,"No Apps Script for this Site");else for(var b=0;b<a.length;b++)a[b].funcName?this.MF.appendChild(this.uFa(a[b].id,a[b].funcName)):this.MF.appendChild(this.RS(a[b].id,a[b].name))};t.RS=function(a,b){var c=this.ma.j("li"),e=-1==xv(b,void 0)?fn:uk,f=Gr(b),g=c.appendChild(this.ma.j(vo));g.setAttribute(Qg,e);this.ma.Je(g,f);return c};
t.uFa=function(a,b){var c=this.ma.j("li"),e=-1==xv(b,void 0)?fn:uk,f=Gr(b),g=this.ma.j(vo);c.appendChild(g);g.className="goog-ws-lp-maestro-function";g.setAttribute(Qg,e);this.ma.Je(g,f);e=this.yp.length;this.yp.push(g);this.qN.set(a+"#"+b,e);K(g,Kk,this.bO(a,b,e),!1,this);return c};t.bO=function(a,b,c){return A(function(){this.NH(a,b,c)},this)};t.NH=function(a,b,c){this.$q=a;this.qT=b;for(a=0;a<this.yp.length;a++)Hx(this.yp[a],sn);Fx(this.yp[c],sn)};
t.mJ=function(a){null!=this.$q&&null!=this.qT&&(a.url="/macros/sites?action=run&lib="+this.$q+"&funcName="+this.qT);a.url||(a.error="Please select a function.")};t.reset=function(){this.qT=this.$q=null;for(var a=0;a<this.yp.length;a++)Hx(this.yp[a],sn)};t.xI=function(a){if(A1.test(a)){var b=a.match(A1);a=b[1];var b=b[2],c=a+"#"+b;if(this.qN.Ic(c))return this.NH(a,b,this.qN.get(c)),!0}return!1};t.refresh=function(){};var G1=function(){E1.call(this,null);this.qg=sE(HG,void 0,void 0,new Bw(void 0));this.ql=this.qg.getElementsByTagName(Ej)[1];this.Sj=this.qg.getElementsByTagName(Ej)[0];K(this.ql,Zj,A(this.Bxa,this));K(this.Sj,Zj,A(this.O5,this))};C(G1,E1);t=G1.prototype;t.aB=!0;t.mJ=function(a){a.url=j1(this.ql.value);a.url||(a.error="Please enter a valid URL or email address.");this.Sj.value&&(a.text=this.Sj.value,a.Oaa=!0)};t.reset=function(){this.ql.value="";this.Sj.value="";this.aB=!0};
t.xI=function(a,b){if(A1.test(a))return!1;this.ql.value=a;this.Sj.value=b||a;this.aB=this.ql.value==this.Sj.value;return!0};t.yda=function(a){this.Sj.value=a;this.aB=this.ql.value==this.Sj.value};t.refresh=function(){this.ql.focus()};t.Bxa=function(a){this.aB&&(this.Sj.value=this.ql.value);this.O5(a)};t.O5=function(a){this.aB=this.ql.value==this.Sj.value;a&&13==a.keyCode&&this.dispatchEvent(Fl)};var H1=function(a){E1.call(this,null);this.Z=a;this.qg=Ow(n);var b=this;this.xu=new w1(this.qg,function(){b.dispatchEvent(Fl)});a=Ow(n,{href:"javascript:;",className:"lp-list-createpage-btn"});var c=new HF;c.er("Create new page");c.ha(a);this.qg.appendChild(a);K(c,Le,A(this.TKa,this));this.LDa();a=Ow("a",{style:"display:none; float:left; margin-top:5px;margin-right:10px;",tabIndex:"0"});a.innerHTML="&#171;&#160;Back";K(new dy(a),Le,A(this.gP,this));Xw(a,this.Z.fa.YB);this.XY=a;c=Ow("a",{id:"lp-createpage-btn",
style:"display:none"});this.Dw=new HF;this.Dw.er("Create page");this.Dw.ha(c);K(this.Dw,Le,this.O_,!1,this);this.fZ=c;Yw(c,a);K(O(this.Ew),Yj,function(a){13==a.keyCode&&this.O_()},!1,this);this.rAa=new s1({forAll:!0,order:xk,includePermissionsMetaData:!0,filterName:"pagelistpanel"});a=(new oD(new String(window.location))).resolve(new oD(webspace.baseUri)).toString();this.Kga=new RegExp("^"+a)};C(H1,E1);t=H1.prototype;
t.LDa=function(){this.AC=this.Z.V2;var a=new UC;this.nfa="lp-parentnode-title"+this.Z.gm;var b="Put page under "+('<strong id="'+this.nfa+'">...</strong>');this.Afa="lp-createpage-tree"+this.Z.gm;this.N_="lp-createForm"+this.Z.gm;this.Ew="lp-createpage-title"+this.Z.gm;this.b0="lp-createpage-warning"+this.Z.gm;this.a0="lp-createpage-type"+this.Z.gm;this.CL="lp-createpage-toplevel"+this.Z.gm;this.BC="lp-createpage-parentnode"+this.Z.gm;var c=0!=webspace.page.path.indexOf(Ib)?webspace.page.path:"";
a.append('<form id="'+this.N_+'" action="javascript:;">','<table style="border:0;width:100%;"><tr><td style="width:30%;">','<strong style="margin-top:4px">',"New page title",Ub,'<td><input id="',this.Ew,'" type="text" size="30" ','    style="margin-right:5px;" />',cc,this.b0,'" style="display: none">',"&#8656;","Invalid",Sb,"</td>","<tr><td>",'<strong style="margin-top:9px">',"Page type",Ub,"<td>");a.append(Xb,this.a0,'" />');a.append(Vb,"<hr />","<div>",Yb,this.CL,'" name="pageLoc" ','  checked="true" value="" />',
Ca,"Put page at the <strong>top level</strong>",Qb,'<div style="margin-top:5px;">',Yb,this.BC,ya,Cr(c),'"','    style="float:left" name="pageLoc" value="" />','<p style="padding-top: 2px; margin-bottom:0; ','    white-space:nowrap; overflow:hidden; text-overflow:ellipsis">',Ca,b,"</p>",Qb,"</form>",Xb,this.Afa,'" ','class="lp-createpage-tree jfk-scrollbar" ','style="overflow-x:hidden; width:425px;">',Qb);this.AC.innerHTML=a.toString();var e=O(this.Ew);this.H$={};this.Cm=new aG;this.Cm.ha(O(this.a0));
K(this.Cm,Le,A(this.axa,this));var f=O(this.b0);K(e,Zj,function(){for(var a=[123,125],b=[],c=0;c<a.length;c++)b.push(String.fromCharCode(a[c]));a=new RegExp("(\\"+b.join("|\\")+")","g");e.value.match(a)&&(e.value=e.value.replace(a,""),a=new Cz(f,50),a.play(),K(a,rh,function(){(new Bz(f,2E3)).play()},!1))})};t.TKa=function(){this.rAa.search().Ra(this.Uja,this);return!0};
t.B5=function(a){var b={"/system/app/pagetemplates/text":"Web page","/system/app/pagetemplates/announcements":"Announcements","/system/app/pagetemplates/filecabinet":"File cabinet","/system/app/pagetemplates/list":"List"};webspace.isStartPageEnabled&&(b["/system/app/pagetemplates/startpage"]="User Start Page");this.Sfa(this.Cm,b);alert("Unable to load page type list: "+a);this.z2()};t.Sfa=function(a,b){a.Rg(null);for(var c in b)a.T(new zB(b[c],c));Fx(this.Cm.Da().b(),"sites-lp-page-type-select")};
t.sta=function(a){a=a.target.getResponseJson();if(a.error)this.B5(a.error);else{a=a.templates;if(0<a.length){for(var b={},c=0;c<a.length;c++){var e=a[c].path,f=a[c].defaultLocation;b[e]=a[c].title;f&&(this.H$[e]=f)}this.Sfa(this.Cm,b)}this.z2()}};t.axa=function(){var a=this.H$[this.Cm.Xb().getValue()];if(a){var b=O(this.BC);b.checked=!0;b.value=a;this.Jl.setSelectedPageByPath(a);a=this.Jl.getTreeControl().getSelectedItem().getClientData();this.kI(a)}};
t.z2=function(){var a=O(this.Ew);a.value="";this.Cm.vd(0);O(this.CL).checked=!0;this.Zaa();this.AC.style.display="";a.focus();this.Z.fa.YB.style.display=Yk;this.Z.fa.eZ.style.display=Yk;this.XY.style.display="";this.fZ.style.display=""};t.Zaa=function(){this.Dw.er("Create page");this.R_=!1};t.gP=function(){this.AC.style.display=Yk;this.XY.style.display=Yk;this.fZ.style.display=Yk;this.Z.fa.YB.style.display="";this.Z.fa.eZ.style.display="";this.Jl&&this.Jl.dispose();this.Jl=null};
t.Uja=function(a){this.Jl=JOT_addTreeToDialog(a,void 0,O(this.Afa),null,A(this.xxa,this),null,!0);"draft"==webspace.page.state?(this.Jl.setSelectedPageByPath(webspace.page.parentPath),a=this.Jl.getTreeControl().getSelectedItem().getClientData(),this.kI(a)):0!=webspace.page.path.indexOf(Ib)&&0!=webspace.page.path.indexOf("/config/")?(this.Jl.setSelectedPageByPath(webspace.page.path),this.kI(webspace.page)):O(this.BC).disabled=!0;JOT_callGateway("GetPageTemplates",{offset:0},A(this.sta,this),A(function(a){this.B5(a.toString())},
this))};t.xxa=function(){var a=this.Jl.getTreeControl().getSelectedItem().getClientData(),b=O(this.BC);"/"==a.path?(O(this.CL).checked=!0,b.checked=!1,b.disabled=!0):(b.disabled=!1,b.checked=!0,b.value=a.path,this.kI(a));return!1};t.kI=function(a){a=0!=a.path.indexOf(Ib)?Gr(a[xk]||a.title):"";nx(O(this.nfa),a)};
t.O_=function(){if(this.R_)return!1;var a=pr(O(this.Ew).value);if(!a)return alert("Please enter a page title."),!1;var b=getValidWebspaceUrl(a,!0,!1,!0);if(!b)return alert("Please enter a page title that contains at least one number or letter."),!1;this.Dw.er("Please wait ...");this.R_=!0;var c=O(this.N_);if(c.pageLoc.length)for(var e=0;e<c.pageLoc.length;e++)if(c.pageLoc[e].checked)var f=c.pageLoc[e].value+"/"+b;b=this.Cm.Xb().getValue();a={path:f,properties:{"main/title":a}};a.pagetemplate=b;webspace.createNode(a,
A(this.lva,this));return!0};t.lva=function(a){a=a.target.getResponseJson();a.error?(this.Zaa(),/not authorized/.exec(a.error)?alert("You are not authorized to create pages."):/reserved path/.exec(a.error)?alert("The page name you entered is reserved."):alert(a.error)):this.$V(a);this.gP()};t.$V=function(a){this.xu.$V(a)};t.refresh=function(){this.qg.parentNode.style.overflowY=ej;this.xu.show()};t.mJ=function(a){var b=this.xu.Nsa();b&&(a.url=b[0],a.text=b[1])};t.reset=function(){this.xu.Nfa();this.gP()};
t.xI=function(a){return this.Kga.exec(a)?this.xu.Ou(a.replace(this.Kga,"")):!1};t.S7=function(){return!this.xu.GGa()&&this.AC.style.display==Yk};var I1=function(a,b,c,e,f){rA.call(this);c=void 0!==c?c:!0;e=void 0!==e?e:!0;f=void 0!==f?f:!0;this.Td=b;this.gm=a;this.Wc=[];this.Jma();this.oga=null;c&&this.Zv("Sites page",new H1(this));e&&(this.oga=new G1,this.Zv("Web address",this.oga));f&&this.Zv("Apps Script",new F1);K(this.Oc,bg,function(){this.HD().refresh()},!1,this)};C(I1,rA);x("sites.editor.LinkPicker",I1,void 0);
I1.prototype.show=function(a,b,c){this.zCa=a;this.WBa=b;this.fa.setVisible(!0);a=!1;if(c){var e=c.xi;if(e&&"/"!=e.getAttribute("href"))for(var f=0;f<this.Wc.length;f++){if(b=this.Wc[f],b.xI(e.href,c.$s())){v.setTimeout(A(function(){this.Oc.vd(f)},this),1);a=!0;break}}else if(e&&c.$s())for(f=0;f<this.Wc.length;f++)b=this.Wc[f],b.yda(c.$s())}a||this.Oc.vd(0);this.fa.getElement().focus();this.HD().refresh();e&&(this.fa.AZ.checked=e.getAttribute(So)==Ee);this.qfa(!1)};I1.prototype.show=I1.prototype.show;
t=I1.prototype;
t.Jma=function(){var a="linkpicker"+this.gm;this.fa=new VG({DX:A(this.X9,this),vZ:A(this.fCa,this),MC:a,template:'<div style="position:relative"><div jotId="linkTabPane"></div><div jotId="fullScreenPane" style="display:none;"></div></div><span jotid="linkNewWindowSpan"><label><input jotid="linkNewWindowCB" type="checkbox" />Open this link in a new window</label></span>',title:this.Td||"Create Link"});this.fa.getElement().style.zIndex=1E3;this.fa.getElement().style.width="650px";this.fa.AZ=this.fa.compParts.linkNewWindowCB;
this.fa.YB=this.fa.compParts.btnOk;this.fa.eZ=ex(this.fa.YB);this.pf=this.fa.compParts.linkTabPane;this.V2=this.fa.compParts.fullScreenPane;this.Oc=new J1(this.pf,2);Fx(this.pf,"goog-ws-lp-dialog");Fx(this.V2,"goog-ws-lp-dialog goog-ws-lp-fullscreenpane")};t.Xe=function(){this.qfa(!0);for(var a=0;a<this.Wc.length;a++)this.Wc[a].reset();this.fa.setVisible(!1)};t.Zv=function(a,b){var c=new TA(b.qg,a);this.Oc.Yv(c);this.Wc.push(b);this.o(b,Fl,A(this.X9,this))};t.HD=function(){var a=this.Oc.Bg();return this.Wc[a]};
t.Osa=function(){var a=new D1;this.HD().mJ(a);a.eJa(this.fa.AZ.checked);return a};t.X9=function(a){if(this.HD().S7()){var b=this.Osa();if(null==b.url)return b.error&&alert(b.error),!1;this.zCa.apply(this,[b]);a.preventDefault();this.Xe()}return!1};t.fCa=function(){this.WBa();this.Xe();return!1};t.qfa=function(a){var b=JOT_getJotDialogById("embedding"),c=JOT_getJotDialogById("linkpicker2");b&&c&&(b=b.getElement(),a?b.style.left=this.cDa||b.style.left:(this.cDa=b.style.left,b.style.left=rb))};
t.dispose=function(){this.fa.getDisposed()&&this.fa.dispose()};I1.prototype.dispose=I1.prototype.dispose;var J1=function(a,b,c,e){SA.call(this,a,b,c,e);K(this.b(),Xj,this.W9,!1,this)};C(J1,SA);J1.prototype.B=function(){Ou(this.b(),Xj,this.W9,!1,this);J1.g.B.call(this)};J1.prototype.W9=function(a){var b=this.Bg();if(a.qz&&a.keyCode=="K".charCodeAt()){var b=(b+1)%this.Vf.length,c=Gw(Mi,this.b());c&&c.focus();this.vd(b);a.preventDefault()}};
J1.prototype.ru=function(a){var b=this.He.tn;if(40==a.keyCode||9==a.keyCode&&!a.shiftKey){if(b<this.Vf.length-1){this.vd(b+1);a.preventDefault();return}}else if((38==a.keyCode||9==a.keyCode&&a.shiftKey)&&0<b){this.vd(b-1);a.preventDefault();return}J1.g.ru.call(this,a)};var K1=function(a,b){this.Vb=a;this.nu=this.Xta();for(var c=0;c<this.nu.length;c++){var e=this.nu[c];this.Vb.kf(e,e.Mi)}this.uq=[];this.vo=[];this.bp=this.Tj=!1;this.qf=-1;this.xY=this.hra(b);this.Qa=!1;this.yf=[];K(this.Vb,Qn,A(this.Eva,this))};C(K1,F);var L1=function(a){return new fB(a,0,!1,{preventDefault:function(){}})},M1=L1(38),N1=L1(40),O1=L1(37),P1=L1(39),Q1=L1(13);t=K1.prototype;
t.Xta=function(){return[new gI("navigateEditorMenuDown","",!1,"Down",void 0,A(this.Xoa,this)),new gI("navigateEditorMenuUp","",!1,"Up",void 0,A(this.SMa,this)),new gI("navigateEditorMenuLeft","",!1,"Left",void 0,A(this.mAa,this)),new gI("navigateEditorMenuRight","",!1,"Right",void 0,A(this.kGa,this)),new gI("activateToolbarItem","",!1,"Enter",void 0,A(this.lja,this)),new gI("navigateEditorToolbarNext","",!1,"Tab",void 0,A(this.NGa,this)),new gI("navigateEditorToolbarPrevious","",!1,"Shift + Tab",
void 0,A(this.OGa,this))]};t.BT=function(a){if(a!=this.Qa){for(var b=this.nu,c=0;c<b.length;c++)b[c].ra(a);a||(this.qf=-1,Is(this.yf));this.Qa=a}};t.Bc=function(){return this.Qa};t.Gb=function(a){a instanceof SX?this.uq.push(a):this.vo.push(a);K(a,Sn,A(this.p9,this,a,!0));K(a,fj,A(this.p9,this,a,!1))};t.Oja=function(a,b,c){a=A(this.ZJ,this,a);b=new pI(a,b,c,!0);this.Vb.kf(b,b.Mi)};t.p9=function(a,b,c){this.bp||c.target.getParent()!=a||(this.BT(b),b?this.g3(a)!=this.qf&&this.ZJ(a):this.Wz(""))};
t.hra=function(a){var b=a.b(Uj);b||(b=a.createElement(n),b.id=Uj,T(b,pk,uf),b.style.position=Ke,b.style.top=rb,b.style.left=rb,a.J().body.appendChild(b));return b};t.Bza=function(a){return As(this.nu,function(b){return b.getId()==a})};t.Eva=function(a){this.Bc()&&!this.Bza(a.identifier)&&"discardEdit"!=a.identifier&&this.Nw()};t.ZJ=function(a){this.qf=this.g3(a);a instanceof SX?(this.bp=this.Tj=!0,a.Jb(!0),this.bp=!1,this.Wz(a.Qh())):this.Wz(a.nh());a.setActive(!0);this.BT(!0)};
t.UA=function(){var a=this.zx();a.Hd(!0);this.Wz(a.Qh())};t.zx=function(){var a=this.P3();return a?a.Fa(ts(this.yf)):null};t.P3=function(){if(!this.Tj||Hs(this.yf))return null;D(-1!=this.qf);for(var a=this.uq[this.qf].Da(),b=0;b<this.yf.length-1;b++)a=a.Fa(this.yf[b]).Da();return a};t.Wz=function(a){this.xY.innerHTML="";this.xY.innerHTML=a||""};t.yx=function(){return this.Tj?this.uq:this.vo};
t.Nw=function(){if(-1!=this.qf){var a=this.yx()[this.qf];a.setActive(!1);this.bp=!0;a.Jb(!1);this.bp=!1;Is(this.yf);this.qf=-1;this.Tj=!1}this.Wz("");this.BT(!1)};t.g3=function(a){var b=a.getId();return Ds(a instanceof SX?this.uq:this.vo,function(a){return a.getId()==b})};t.LH=function(a){-1!=this.qf&&(a=a(),this.bp=!0,this.Nw(),this.ZJ(a),this.bp=!1)};t.NGa=function(){this.LH(A(this.gta,this))};t.OGa=function(){this.LH(A(this.Cta,this))};t.fta=function(){var a=this.yx();return a[(this.qf+1)%a.length]};
t.gta=function(){var a=this.yx(),b=this.Tj?this.vo:this.uq,c=(this.qf+1)%a.length;return 0==c?b[0]:a[c]};t.Bta=function(){var a=this.yx();return a[(this.qf+a.length-1)%a.length]};t.Cta=function(){var a=this.Tj?this.vo:this.uq,b=this.qf;return 0==b?a[a.length-1]:this.yx()[b-1]};t.xE=function(a){var b=this.zx();return b instanceof DX?b.zc(a):!1};t.yE=function(a){return this.Tj||-1==this.qf?!1:this.vo[this.qf].zc(a)};
t.CZ=function(a){var b=this.P3().ub(),c=this.yf.length-1;this.yf[c]=(this.yf[c]+b+a)%b;this.UA()};t.SMa=function(){!this.yE(M1)&&this.Tj&&(Hs(this.yf)&&(this.yf=[0],this.UA()),this.xE(M1)||this.CZ(-1))};t.Xoa=function(){!this.yE(N1)&&this.Tj&&(Hs(this.yf)?(this.yf=[0],this.UA()):this.xE(N1)||this.CZ(1))};t.mAa=function(){this.yE(O1)||this.xE(O1)||(webspace.page.isRtlLocale?this.G9():this.U$())};t.kGa=function(){this.yE(P1)||this.xE(P1)||(webspace.page.isRtlLocale?this.U$():this.G9())};
t.w$=function(a){a.BI();this.yf.push(0);this.UA()};t.G9=function(){var a=this.zx();a instanceof xH?this.w$(a):this.LH(A(this.fta,this))};t.U$=function(){1<this.yf.length?(this.yf.pop(),this.zx().Ej(),this.UA()):this.LH(A(this.Bta,this))};t.lja=function(){var a=this.qf;(a=this.Tj?this.zx():-1!=a?this.vo[a]:null)&&a.isEnabled()&&(a.zc(Q1)?this.Nw():a instanceof xH?this.w$(a):(a.dispatchEvent(new J(Le,a)),this.Nw()))};
t.B=function(){for(var a=this.Vb,b=this.nu,c=0;c<b.length;c++)a.Tq(b[c]),Rt(b[c]);this.nu=[];this.uq=[];this.vo=[]};var R1=function(){CB.call(this);this.ama=[]};C(R1,CB);t=R1.prototype;t.FC=null;t.U=function(a){this.FC||(this.FC=this.fna(a));return this.FC};t.fna=function(a){var b=this.v(),c=b.j(n);Fx(c,"sites-multicolumn-menu-column");b.appendChild(a,c);a=this.ama;a.push(c);for(var b=Math.floor(100/a.length),e=0;e<a.length;e++)a[e].style.width=b+"%";return c};t.Q1=function(){this.FC=null};t.QT=function(a){this.m6=a};t.v=function(){this.m6||this.QT(N());return this.m6};var S1=function(a,b,c,e,f){this.Cv=a;this.fz=b;this.Sa=c;this.Vb=e;this.O=f};t=S1.prototype;t.Da=function(){return this.fz.Da()};t.kK=function(a){a=this.Cv.zC(a);a=new zB(a);a.lf("sites-menu-section-label");a.ra(!1);this.fz.T(a);return a};
t.T=function(a,b,c,e,f,g,h,k){var m=g?a+"-"+g:a;k=this.Cv.zC(b,m,k);c&&(c=$n+(" command-"+m.replace("+","")+"-icon"),c=this.Cv.M.j(n,{className:c},"\u00a0"),k.insertBefore(c,k.firstChild));e&&(b=new gI(m,b,!0,e,f,A(this.Sa.Ki,this.Sa,a,g)),f&&this.Vb&&this.Vb.kf(b,b.Mi),f=b.WN())&&(b={className:Ci,"aria-label":"shortcut "+f},f=WG(f),f=f.replace(/\s\+\s/g,"+"),f=this.Cv.M.j(vo,b," \u202a"+f+"\u202c"),k.appendChild(f));k=new zB(k);h&&k.Fb(16,!0);k.Ia=a;g&&k.setValue(g);this.fz.T(k);return k};
t.lK=function(a,b,c,e){var f=new xH(a);this.fz.T(f);e&&Fx(f.Da().b(),e);c&&(a=this.Cv.M.j(n,{className:$n+(" command-"+(b?b:a.toLowerCase())+"-icon")},"\u00a0"),c=f.b().firstChild,c.insertBefore(a,c.firstChild));b&&f.Da().b().setAttribute(rj,b);return new S1(this.Cv,f,this.Sa,this.Vb,this.O)};t.Eh=function(){this.fz.T(new DB)};var T1=function(a,b,c,e,f){this.Ea=a;this.zu=b;this.M=N(b);this.Wj=e;this.Sa=c;this.Vb=f};t=T1.prototype;t.Ur=function(a,b){this.Wj&&a.Db(4)&&this.Wj.Gb(a);this.Ea.sa(a,!0);var c=a.b(),e=b||[];if(typeof e==Ho)Fx(c,e);else for(var f=0;f<e.length;f++)Fx(c,e[f]);this.zu.appendChild(c);return a};
t.Gb=function(a,b,c,e,f,g,h,k){var m=this.zC(b,a),p=new IX(m);p.Ia=a;k&&p.Fb(16,!0);k=[sg+a.replace("+",""),"sites-toolbar-command"];h&&k.push(h);h=sg+a.replace("+","")+"-icon";Fx(m,h);if(b=c||b)e&&this.Vb&&(a=new gI(b,b,!0,e,f,A(this.Sa.Ki,this.Sa,a)),this.Vb.kf(a,a.Mi,g),g=a.WN())&&(g=WG(g),b=b+" \u202a("+g+")\u202c"),p.Jd(b);this.Ur(p,k);return p};t.Hf=function(a,b,c,e,f,g,h){return this.Gb.call(this,a,b,c,e,f,g,h,!0)};
t.Xv=function(a,b,c,e){var f=new R1,g=new EB(this.M,f);f.QT(g.v());var h=new SX(this.zC(a,null,null,e),g);h.ki(b);h.Jd(a);h.vU(!0);this.Ur(h);b="sites-menu "+c;g=h.Da();g.ha();Fx(g.b(),b);this.Wj&&this.Wj.Oja(h,a,e);return new S1(this,h,this.Sa,this.Vb,f)};t.$X=function(a,b){var c=new TX("");c.Ia=a;c.Jd(b);var e=[Qi,sg+a.replace("+","")];this.Ur(c,e);return c};t.MX=function(a,b){var c=new RX("\u00a0");c.Ia=a;c.Jd(b);this.Ur(c,[sg+a.replace("+","")]);return c};
t.Eh=function(){var a=new UX;this.Ea.sa(a,!0);var b=a.b();this.zu.appendChild(b);return a};
t.zC=function(a,b,c,e){var f={};b&&(f.className=sg+b.replace("+","")+"-label",c&&(b=f.className,-1!=b.indexOf(jk)?f.className=b.replace(/left/g,an):-1!=b.indexOf(an)&&(f.className=b.replace(/right/g,jk))));return webspace.user.keyboardShortcuts&&a&&e&&(e=Math.max(a.indexOf(e),a.indexOf(e.toUpperCase())),-1<e)?(b=a.substring(e+1,a.length),a=mw(a.substring(0,e),jw(vo,{style:{"text-decoration":"underline"}},a.substring(e,e+1)),b),this.M.j(n,f,this.M.ij(a))):this.M.j(n,f,a||"\u00a0")};var U1=function(a,b){YW.call(this);this.OI={};this.OI.code=w(a)?a:{style:"color: #006000;"};this.OI.block=w(b)?b:{style:"border: 1px solid #A9CEF1; padding: 0.5em 0 0.5em 1em;background-color: #E0EAF4;"}};C(U1,aZ);U1.prototype.VB="sites-codesnippet-block";U1.prototype.Yb=function(){return"CodeSnippet"};var V1=function(a){return"CODE"==a.nodeName};t=U1.prototype;t.rd=function(a){return"+code"==a||a==Ka};
t.queryCommandValue=function(a){var b=Qx(this.xEa());if(Hs(b))return!1;var c=this;return a==Ka&&As(b,function(a){return!!c.NN(a)})||"+code"==a&&As(b,function(a){return c.kza(a)})?!0:!1};t.kza=function(a){var b=a.style.display;return b!=Dj&&""!=b||this.NN(a)?!1:!0};t.NN=function(a){return Cx(a,d,this.VB)};
t.nO=function(){for(var a=this.tb.getRange(),b=[],c=a.ka();c&&!yW(c);)b.unshift(c),c=c.parentNode;b.unshift(c);a=Mx(Kx(a),function(a,b,c){return!c.jF()});c=Rx(a,null);c!=ts(b)&&b.push(c);return Px(Kx(b),a)};t.yEa=function(){return Nx(this.nO(),V1)};t.XEa=function(a){for(var b=a.length,c=0;c<b;c++)if("CODE"==a[c].nodeName){var e=this.NN(a[c]);if(e){for(var f=Ew("P",this.VB,e),g=f.length;g--;)ax(f[g]);ax(e)}ax(a[c])}};t.xEa=function(){return Mx(this.nO(),V1)};
t.ld=function(a){var b=this.tb.getRange();if(!b.isCollapsed()){var c=this.yEa(),e,f=this.queryCommandValue(a);if(c){var g=Qx(this.nO());e=b.Lz();this.XEa(g);b=e.restore()}if(!c||!f)if(e=b.Lz(),b=e.EV(),b||(b=this.tb.getRange(),this.$Ea(b),e=b.Lz(),b=e.EV()),Lx(b,this.iOa,this),a==Ka)a=b.gn(),b=this.Lb(),c=b.j(d,this.OI.block),Fx(c,this.VB),f=b.j("P",{style:"margin: 0px;"}),Fx(f,this.VB),c.appendChild(f),c.appendChild(b.ij(py(a))),this.YEa(e),b.iq(c,e.Re(!1)),e.restore(),this.tb.getRange()||(b=aJ(c,
void 0),b.select());else if(a=ex(e.Re(!0)),b=fx(e.Re(!1)),a&&b)(a=XI(a,0,b,tW(b)))&&a.select(),e.Uq();else try{e.restore()}catch(h){}}};t.$Ea=function(a){a&&(a=a.ka().previousSibling)&&3==a.nodeType&&""==a.nodeValue&&Zw(a)};t.YEa=function(a){var b=new vX(a.Re(!0).nextSibling,!1,!0),c=[],e=a.Re(!1);Lx(b,function(a){if(a==e)throw Ix;c.push(a)});var b=c.length,f=a.Re(!0),e=a.Re(!1);for(a=0;a<b;a++){var g=c[a];hx(g,f)||hx(g,e)?ax(g):Zw(g)}};
t.iOa=function(a){if(3==a.nodeType&&""!=a.nodeValue&&!mr(a.nodeValue)){var b=this.Lb(),c=b.j("CODE",this.OI.code);b.iq(c,a);b.appendChild(c,a)}};x("sites.editor.plugins.CodeSnippet",U1,void 0);var W1=function(a,b,c){VZ.call(this,a,b);this.Ol.push(Qa);this.Ol.push(kb);this.Ol.push(mb);this.Ol.push(lb);this.Ol.push("+code");this.Ol.push(Ka);var e;a=this.Ea;for(b=0;b<a.ub();b++){var f=a.Fa(b);if(f instanceof SX){e=f;break}}e&&this.Oya(e);this.Vb=c};C(W1,VZ);W1.prototype.dispose=function(){W1.g.dispose.call(this);JOT_removeListenerByKey(this.MLa)};var X1={LAYOUT:"sites-layout",NW:"sites-help",SW:"keyboard-shortcuts"};t=W1.prototype;t.iZ=function(){this.ns={};this.sP={};this.nK(this.Ea)};
t.nK=function(a){a.fc(function(a){if(w(a.Ia)){var c=a.getId();this.sP[c]=a.Ia;this.ns[a.Ia]||(this.ns[a.Ia]=[]);this.ns[a.Ia].push(a);this.nK(a)}Wq(a.Da)&&this.nK(a.Da())},this)};t.BN=function(a){this.sP||this.iZ();return this.sP[a]};t.CN=function(a){this.ns||this.iZ();return(a=this.ns[a])?a[a.length-1].getId():"no-id"};
t.VA=function(a){W1.g.VA.call(this,a);for(var b in a){var c=this.ns[b];if(c)for(var e=0;e<c.length;e++){var f=c[e];if(f instanceof zB){var g=(new String(f.getValue())).toLowerCase()==(new String(a[b])).toLowerCase(),h=!0===a[b]&&!!f.getValue();f.Bf(g||h)}}}};t.Oya=function(a){a&&(this.MLa=JOT_addListener(Go,function(){a.Jb(!0)}))};
var Y1=function(a,b){a.Gb(lI.mX,null,"Undo","Ctrl+z",gc,!0);a.Gb(lI.aX,null,"Redo","Ctrl+y",gc,!0);a.Eh();var c=a.$X(lI.KW,"Font");SZ(c,webspace.page.locale);for(var e=0;e<c.Ri();e++){var f=c.Se(e);E(bx(f.b()),function(a){Hx(a,vi);R(a,"vertical-align","baseline")})}c.gr(Fd);c.vd(0);a.Eh();c=a.$X(lI.LW,"Font size");c.gr("10 pt");f=[["8 pt"],["10 pt"],["12 pt"],["16 pt"],["18 pt"],["24 pt"]];for(e=0;e<f.length;e++){var g=b.j(n,{},f[e]);c.T(new JR(g,e+1,b))}c.vd(0);a.Eh();a.Hf(lI.uW,null,"Bold","Ctrl+b",
ke,!0);a.Hf(lI.QW,null,"Italic","Ctrl+i",ke,!0);a.Hf(lI.lX,null,"Underline","Ctrl+u",ke,!0);a.MX(lI.JW,"Text color");a.MX(lI.tW,je);a.Eh();a.Gb(lI.Rr,null,ic,"Ctrl+k",gc);a.Eh();a.Hf(lI.XW,null,"Numbered list","Ctrl+Shift+7",Ld);a.Hf(lI.nX,null,"Bulleted list","Ctrl+Shift+8",Ld);a.Gb(lI.YW,null,Lc,"Ctrl+open-square-bracket",Ld);a.Gb(lI.PW,null,vd,"Ctrl+close-square-bracket",Ld);if(webspace.page.isRtlLocale)a.Hf(lI.mB,null,lc,Ic,void 0,!0),a.Hf(lI.kB,null,jc,Gc,void 0,!0),a.Hf(lI.lB,null,kc,Hc,void 0,
!0),a.Eh(),a.Hf(lI.BW,null,Qd),a.Hf(lI.AW,null,Cd);else if(a.Hf(lI.lB,null,kc,Hc,void 0,!0),a.Hf(lI.kB,null,jc,Gc,void 0,!0),a.Hf(lI.mB,null,lc,Ic,void 0,!0),webspace.page.bidiEnabled||webspace.page.isSiteRtlLocale)a.Eh(),a.Hf(lI.AW,null,Cd),a.Hf(lI.BW,null,Qd);a.Eh();a.Gb(lI.bX,null,Pd,"Ctrl+\\",void 0,!0);a.Gb(hh,"<HTML>",Sc)};W1.prototype.Wla=function(){for(var a=this.Ea,b=0;b<a.ub();b++){var c=a.Fa(b);(c instanceof SX||c instanceof RX||c instanceof TX)&&c.Jb(!1)}};
if(G&&6==iu)try{document.execCommand(vc,!1,!0)}catch(a){};var Z1=function(){fZ=function(a){function b(a){var b=a.parentNode;Zw(a);b&&b.nodeName==d&&b.style.display&&sW(b)&&Zw(b)}var c=a.parentNode;c&&(Zw(a),"P"==c.nodeName&&c.className==wn?sW(c)?b(c):0==c.getElementsByTagName(this.bXa).length&&(c.className=""):"A"==c.tagName&&sW(c)&&b(c))}};var a2=function(a){return function(b,c,e,f){return $1(b,c,e,f,a)}};x("sites.editor.ToolbarProvider.provideToolbar",a2,void 0);
var $1=function(a,b,c,e,f){var g=N(b),h=g.j(n,{className:"sites-editor-toolbar-menurow"}),k=g.j(n,{className:"sites-toolbar-separator"}),m=g.j(n,{className:"sites-editor-toolbar-buttonrow"}),p=new GX;p.la(b);b=p.b();Fx(b,"jot-editorToolbar");b.appendChild(h);b.appendChild(k);b.appendChild(m);h=new T1(p,h,a,e,c);k=h.Xv("Insert","sites-menubutton-insert","sites-menu-insert goog-menuitem-withicon","i");if(f)k.T(MY.IMAGE,sd,!0),k.T(lI.Rr,"Link",!0),k.T(lI.LJ,md,!0);else{k.kK("Common");k.T(MY.IMAGE,sd,
!0);k.T(lI.Rr,"Link",!0);k.T("sites-insert-toc","Table of contents",!0);k.T("sites-insert-subpages","Subpage listing",!0);k.T(lI.LJ,md,!0);webspace.isPublic&&k.T("sites-insert-plusone","+1 button",!0);k.O.Q1();k.kK("Gadgets");k.T("sites-insert-recent-announcements","Recent posts",!0);k.T("sites-insert-recent-files","Recently updated files",!0);k.T("sites-insert-recent-list-items","Recent list items",!0);k.T("sites-insert-text",ie,!0);k.T("sites-insert-html","HTML Box",!0);k.T(MY.Mha,"More gadgets...",
!0);k.O.Q1();k.kK("Google");k.T("sites-insert-maestro","Apps Script",!0);k.T("sites-insert-calendar","Calendar",!0);k.T("sites-insert-gviz-chart","Chart",!0);var u=k.lK("Drive","sites-insert-drive-submenu",!0,Di);u.T("sites-insert-writely","Document",!0);u.T("sites-insert-sketchy","Drawing",!0);u.T("sites-insert-folder","Folder",!0);u.T("sites-insert-spreadsheet-form","Form",!0);u.T("sites-insert-drive-image",sd,!0);webspace.features.pdfEmbedSupport&&u.T("sites-insert-pdf","PDF",!0);u.T("sites-insert-presently",
"Presentation",!0);u.T("sites-insert-spreadsheet","Spreadsheet",!0);u.T("sites-insert-docs-video","Video",!0);u=k.lK("Google+","sites-insert-google-plus-submenu",!0,Di);u.T("sites-insert-picasa-photo","Photo",!0);u.T("sites-insert-picasa","Photo Album",!0);webspace.features.plusBadge&&u.T("sites-insert-plus-badge","Google+ badge",!0);u.T("sites-insert-plus-post","Google+ post",!0);k.T("sites-insert-groups-discussion-forum","Group",!0);u=k.lK("Hangout","sites-insert-hangout-submenu",!0,Di);u.T("sites-insert-hangout-button",
"Start Hangout Button",!0);u.T("sites-insert-hangout-button-phone","Call Phone Button",!0);k.T("sites-insert-map","Map",!0);k.T("sites-insert-youtube","YouTube",!0)}k=h.Xv("Format","sites-menubutton-format","sites-format-menu goog-menuitem-withaccel goog-menuitem-withicon","f");k.T(lI.bX,Pd,!0,"Ctrl+\\",gc);k.T(lI.Pv,"Heading 2",!1,"Ctrl+Alt+2",Ld,"h2",!0);k.T(lI.Pv,"Heading 3",!1,"Ctrl+Alt+3",Ld,"h3",!0);k.T(lI.Pv,"Heading 4",!1,"Ctrl+Alt+4",Ld,"h4",!0);k.T(lI.Pv,"Normal text",!1,"Ctrl+Alt+0",Ld,
"p",!0);k.T(lI.fX,"Strikethrough",!0,"Alt+Shift+5",ke,null,!0);k.T(lI.hX,"Superscript",!0,"Ctrl+.",ke,null,!0);k.T(lI.gX,"Subscript",!0,"Ctrl+,",ke,null,!0);k.T("+code","Code",!1,void 0,void 0,null,!0);k.T(Ka,"Blockquote code",!1,void 0,void 0,null,!0);k.T(lI.lB,kc,!0,Hc,Ld,null,!0);k.T(lI.kB,jc,!0,Gc,Ld,null,!0);k.T(lI.mB,lc,!0,Ic,Ld,null,!0);var k=m0.hha,u=h.Xv("Table","sites-menubutton-table","sites-menu-table","t"),y=new xH("Insert table"),P=new DX;webspace.page.isRtlLocale&&P.Tg(!0);P.Ia=k.iX;
var L=new EB;L.sa(P,!0);L.Tg(!0);if(P=L.b())Fx(P,"overflow-visible"),webspace.page.isRtlLocale&&R(P,Rg,fn);y.Rg(L);u.Da().T(y);u.T(k.Oha,"Insert row above");u.T(k.Nha,"Insert row below");u.T(k.Lha,webspace.page.isRtlLocale?yd:xd);u.T(k.Kha,webspace.page.isRtlLocale?xd:yd);u.Eh();u.T(k.tia,"Delete table");u.T(k.sia,"Delete row");u.T(k.ria,"Delete column");f||(f=h.Xv("Layout","sites-menubutton-layout","sites-menu-layout goog-menuitem-withicon","l"),k=X1.LAYOUT,f.T(k,uv("One column (simple)"),!0,void 0,
void 0,"one-column",!0),f.T(k,uv("Two column (simple)"),!0,void 0,void 0,"two-column",!0),f.T(k,uv("Three column (simple)"),!0,void 0,void 0,"three-column",!0),f.T(k,"One column",!0,void 0,void 0,"one-column-hf",!0),f.T(k,"Two column",!0,void 0,void 0,"two-column-hf",!0),f.T(k,"Three column",!0,void 0,void 0,"three-column-hf",!0),webspace.page.isRtlLocale?(f.T(k,"Right sidebar",!0,void 0,void 0,kk,!0,!0),f.T(k,"Left sidebar",!0,void 0,void 0,bn,!0,!0)):(f.T(k,"Left sidebar",!0,void 0,void 0,kk,!0),
f.T(k,"Right sidebar",!0,void 0,void 0,bn,!0)),f.T(k,"Left and right sidebars",!0,void 0,void 0,"dual-sidebar-hf",!0),f=h.Xv("Help",jo,"sites-menu-help goog-menuitem-withaccel","h"),f.T(X1.NW,"Sites Help"),f.T(X1.SW,"Keyboard shortcuts",!1,"Ctrl+/"));e=new T1(p,m,a,e,c);Y1(e,g);webspace.page.isRtlLocale?(Fx(b,mp),Fx(b,"sites-rtl-mode")):Fx(b,"sites-ltr-mode");return new W1(a,p,c)};x("sites.editor.ToolbarProvider.createToolbar",$1,void 0);var d2=function(a,b){pB.call(this,null,a||b2||(b2=new c2),b)};C(d2,pB);d2.prototype.H=function(){this.eh=new tA(this.b());this.eh.J0=Pq;this.eh.fo(this)};d2.prototype.Ya=function(){this.eh.dispose();this.eh=null};var c2=function(){};C(c2,lB);var b2=null;c2.prototype.W=function(){return"goog-resize-handle"};var e2=function(a,b){d2.call(this,a,b)};C(e2,d2);t=e2.prototype;t.tS=!1;t.dE=function(){return this.tS};t.wda=function(a){this.Ah=a};t.Bb=function(){if(this.Ah)return this.Ah;var a=this.b();return a?a.parentNode:null};t.$c=null;t.setOrientation=function(a){this.$c=a};t.Nj=function(){if(this.qd()){if(this.$c&8)return this.$c-8+2;if(this.$c&2)return this.$c+8-2}return this.$c};
t.H=function(){e2.g.H.call(this);this.addEventListener(vA.oB,this.vE);this.addEventListener(vA.GW,this.f5);this.addEventListener(vA.HW,this.e5)};t.Ya=function(){e2.g.Ya.call(this);this.removeEventListener(vA.oB,this.vE);this.removeEventListener(vA.GW,this.f5);this.removeEventListener(vA.HW,this.e5)};t.vE=function(a){this.y$={x:a.clientX,y:a.clientY};this.Jn=cz(this.Bb())};t.e5=function(){};
t.f5=function(a){if(this.Bb()){var b=0,c=0,e=this.Nj(),f=e&8,g=e&2,h=e&1,e=e&4;if(f||g)if(b=a.clientX-this.y$.x,this.qd()&&g||!this.qd()&&f)b*=-1;if(h||e)c=a.clientY-this.y$.y,h&&(c*=-1);this.$na=new uw(b,c);this.dispatchEvent($m)&&(b||c)&&this.aKa(new uw(this.Jn.width+b,this.Jn.height+c))}};
t.aKa=function(a){this.dE()&&(Math.abs(a.width-this.Jn.width)>Math.abs(a.height-this.Jn.height)?a.height=a.width/this.Jn.width*this.Jn.height:a.width=a.height/this.Jn.height*this.Jn.width);var b=this.Bb(),c=Cw(b),e=N(c).jq();!G||I("10")||e&&I("8")?dz(b,a,"content-box"):(c=b.style,e?(c.pixelWidth=a.width,c.pixelHeight=a.height):(e=bz(b),b=Iy(b),c.pixelWidth=a.width+b.left+e.left+e.right+b.right,c.pixelHeight=a.height+b.top+e.top+e.bottom+b.bottom));this.dispatchEvent($m)};var f2=function(a,b){d2.call(this,a,b)};C(f2,e2);f2.prototype.Bb=function(){var a=this.getParent();return a&&a.Bb()};f2.prototype.dE=function(){var a=this.getParent();return a&&a.dE()};var i2=function(a,b){pB.call(this,null,a||g2||(g2=new h2),b)};C(i2,pB);i2.prototype.Ah=null;var j2=[3,1,9,2,6,4,12,8];t=i2.prototype;t.wda=function(a){var b=this.b();a==b||hx(b,a)||(this.Ah=a,this.O.Hv(this,b),this.O.cga(this,b))};t.Bb=function(){return this.Ah};t.tS=!1;t.dE=function(){return this.tS};t.ce=function(){return Sy(this.Bb())};
t.getPosition=function(){return Gy(this.Bb())};t.H=function(){var a=this.b();a.setAttribute(Qg,uk);for(var a=this.O.rsa(a),b=0;b<j2.length;b++){var c=new f2;this.sa(c);c.setOrientation(j2[b]);c.la(a[b])}this.C().o(this,$m,this.GCa)};t.Tg=function(a){i2.g.Tg.call(this,a);for(var b=this.ub(),c=0;c<b;c++)this.Fa(c).Tg(a)};t.GCa=function(){var a=this.b();this.O.Hv(this,a);this.O.cga(this,a)};var h2=function(){};C(h2,lB);var g2=null;t=h2.prototype;t.W=function(){return"goog-sizer"};
t.Bm=function(a,b){return a.j(n,{className:"goog-sizer-handle goog-sizer-handle-"+b})};t.j=function(a){return a.v().j(n,{className:this.W()},a.v().j(n,{className:this.W()+"-top"},a.v().j(n,{className:this.W()+"-right"},a.v().j(n,{className:this.W()+"-bottom"},a.v().j(n,{className:this.W()+"-left"},this.Bm(a.v(),jk)),this.Bm(a.v(),"bottom-left"),this.Bm(a.v(),Tf),this.Bm(a.v(),"bottom-right")),this.Bm(a.v(),an)),this.Bm(a.v(),"top-left"),this.Bm(a.v(),jp),this.Bm(a.v(),"top-right")))};
t.rsa=function(a){a=Ew(n,"goog-sizer-handle",a);for(var b=[],c=a.length-1;0<=c;c--)b.push(a[c]);return b};t.Zta=function(a){for(var b=[];a=a.firstChild;)b.push(a);return b};t.Hv=function(a,b){var c=this.Zta(b),e=a.ce();c[0].style.width=c[2].style.width=e.width+q;c[1].style.height=c[3].style.height=e.height+q;G&&!I("7")&&(b.style.zoom="1"==b.style.zoom?Ob:"1")};t.cga=function(a,b){var c=a.getPosition(),e=c.x;b.style.top=c.y+q;b.style.left=e+q};var k2=function(a){YW.call(this);this.Vb=a};C(k2,YW);k2.prototype.Yb=function(){return"sitesKeyboardShortcutsPlugin"};k2.prototype.rd=function(){return!1};
k2.prototype.MO=function(a){var b,c=a.ctrlKey||a.altKey||a.metaKey||a.shiftKey,e=a.keyCode||a.charCode,f=!1;switch(e){case 40:case 13:case 37:case 39:case 9:case 38:f=!0}if(c||27==e||f){b=this.Vb.nn;if(($t?a.metaKey:a.ctrlKey)&&191==e)return e=this.tb.getRange().Lz(),b.setVisible(!0,A(this.YFa,this,e)),a.preventDefault(),!0;b=Uu(this.Vb,a)}return w(b)&&0==b?!0:!1};k2.prototype.YFa=function(a){KV||this.tb.focus();a.restore()};var l2=function(){YW.call(this)};C(l2,aZ);t=l2.prototype;t.Yb=function(){return String($q(this.constructor))};t.$e=null;t.IN=function(){var a=this.tb.getRange().getContainer();return this.wD(a)};t.wD=function(a){a=Bx(a,this.Rza,!0);return Bx(a,yW)?a:null};t.Rza=function(a){return 1==a.nodeType&&a.tagName!=de?!1:!0};t.Tl=function(a){l2.g.Tl.call(this,a);K(a,qk,this.LX,!1,this);K(a,Kg,this.on,!1,this);K(a,Lp,this.on,!1,this)};
t.hm=function(a){Ou(this.tb,qk,this.LX,!1,this);Ou(this.tb,Kg,this.on,!1,this);Ou(a,Lp,this.on,!1,this);l2.g.hm.call(this,a)};t.LX=function(){this.tb.addListener(ng,this.MR,!1,this);this.tb.addListener(Kk,this.GG,!1,this)};t.enable=function(){if(H){var a=this.Lb().J();a.execCommand(nh,!1,Ah);a.execCommand(mh,!1,Ah)}};
t.MR=function(a){if(webspace.features.jsClickFix){for(var b=a.target;null!=b&&b!=a.currentTarget;){if(b.nodeName==de||b.nodeName==fe||"TH"==b.nodeName){this.kea(b);return}b=b.parentNode}this.on()}else switch(b=a.target,b.nodeName){case de:case fe:case "TH":this.kea(b);break;default:this.on()}};t.GG=function(){this.on()};t.MO=function(){this.on()&&H&&this.tb.focus();return!1};
t.RBa=function(){this.tb.yv(!1,!0);this.Wq=new j0(this.IN());for(var a=0;a<this.Wq.rows.length;a++)for(var b=this.Wq.rows[a],c=0;c<b.Kb.length;c++){var e=b.Kb[c];if(e.element==this.$e.Bb()){this.jba=e;a=this.Wq.rows.length;break}}this.Wq.M9(!0);this.Pea=cz(this.jba.element);e=this.jba;a=this.Wq;this.Zla=a.rows[0].Kb[e.qk];this.pGa=a.rows[e.kj].Kb[0];0<e.qk?(this.aH=a.rows[0].Kb[e.qk-1],this.gEa=cz(this.aH.element).width):this.aH=null;0<e.kj?(this.bH=a.rows[e.kj-1].Kb[0],this.hEa=cz(this.bH.element).height):
this.bH=null};t.YMa=function(a,b){this.Zla.element.style.width=Math.max(this.Pea.width+a.width,1)+q;this.pGa.element.style.height=Math.max(this.Pea.height+a.height,1)+q;b&8&&this.aH&&(this.aH.element.style.width=Math.max(this.gEa+-1*a.width,1)+q);b&1&&this.bH&&(this.bH.element.style.height=Math.max(this.hEa+-1*a.height,1)+q)};t.YBa=function(a){this.tb.dispatchEvent(bg);this.YMa(a.target.$na,a.target.Nj());a.preventDefault()};t.MBa=function(){this.Wq.M9();this.tb.BA(!0,!0);this.Wq=null};
t.kea=function(a){var b=Xy(a);this.$e||(this.$e=new i2,this.tb.$b()&&(this.$e.getPosition=A(function(){return Ny(this.$e.Bb(),Mw())},this)),this.$e.addEventListener(Co,this.RBa,!1,this),this.$e.addEventListener($m,this.YBa,!1,this),this.$e.addEventListener(rh,this.MBa,!1,this),this.$e.ha(document.body),this.$e.b().style.zIndex=this.tb.zD()+1);this.$e.qd()!=b&&this.$e.Tg(b);this.$e.wda(a);this.$e.K(!0)};t.on=function(){return this.$e&&this.$e.V()?this.$e.K(!1):!1};
j0.prototype.M9=function(a){for(var b=[],c=[],e=this.rows[0].Kb.length,f=c.length=this.rows.length,g,h,k=0;k<e;k++){g=null;for(var m=0;m<f;m++){h=this.rows[m];h=h.Kb[k];if(!g||h.Mm<g.Mm)g=h;if(0==k||h.Nm<c[m].Nm)c[m]={qw:h,height:cz(h.element).height}}if(G&&h.element.currentStyle.borderCollapse==pg){(m=this.element.border)&&(m=parseInt(m,10));var p=h.element.clientWidth-2*m}else p=cz(h.element).width;b.push({qw:g,width:p})}for(m=0;m<this.rows.length;m++)for(h=this.rows[m],k=0;k<h.Kb.length;k++)e=
h.Kb[k].element,e.style.width="",e.style.height="",e.removeAttribute(Eq),e.removeAttribute(dj);this.element.removeAttribute(Eq);this.element.style.width="";if(a){for(k=0;k<b.length;k++)m=b[k],m.qw.element.style.width=m.width+q;for(m=0;m<c.length;m++)b=c[m],b.qw.element.style.height=b.height+q}else for(m=0;m<c.length;){for(k=0;k<b.length;){a=p=0;for(h=this.rows[m].Kb[k];k<=h.Mm;)p+=b[k].width,k+=b[k].qw.colSpan;for(e=m;e<=h.Nm;)a+=c[e].height,e+=c[e].qw.rowSpan;h.element.style.width=p+q;h.element.style.height=
a+q}m++}};var m2=function(a,b,c){Q0.call(this,a,b,c)};C(m2,Q0);t=m2.prototype;t.nd=null;t.Cw=function(){var a=fF(rG),b=m2.g.Cw.call(this);this.dom.appendChild(b.U(),a);this.nd=this.dom.Bp(Ej,null,a)[0];return b};t.show=function(){m2.g.show.call(this);var a=O(up),b=Sw(document,py('<div id="image-dialog-upload-button"></div>'));a.appendChild(b);n1("image-dialog-upload-button",A(this.bNa,this))};t.fra=function(){return this.nd?this.nd.value:""};
t.bNa=function(a){for(var b=0;b<a.length;b++){var c=window.location.protocol+"//"+window.location.host+webspace.baseUri+a[b];this.Fg.style.display=Dj;this.cd.add(c,c)}a=this.cd.length()-1;this.oE(Math.floor(a/8));a=bx(this.Fg)[a%8];this.Pz(a)};var n2=function(a,b,c){a1.call(this,b);this.Nt=a;this.Sa=b;this.nLa=c;K(this,Lo,this.Axa,!1,this);K(this,"imageInserted",this.Zva,!1,this);K(this,"dialogOpened",this.pva)};C(n2,a1);t=n2.prototype;t.ld=function(a,b){var c=this.Nt.search(!0);c.Ra(this.HGa,this);c.Ra(this.Sa.Oca,this.Sa);c.Ra(function(){n2.g.ld.call(this,a,b)},this)};t.P_=function(a,b,c){return new m2(a,b,c)};t.HGa=function(a){for(var b={},c=0;c<a.length;c++){var e=a[c];b[webspace.baseUri+e.path]=e[xk]||e.path}return b};
t.pva=function(){this.JY();O("tr_image-dialog-your-images-tab-dialog-radio").focus()};t.Axa=function(){this.fa.zg().focus();this.JY()};t.Zva=function(a){this.nLa.daa(this.tb,a.Aya,!1,this.fa?this.fa.fra():"")};t.JY=function(){for(var a=Fw(vp,O(up)),b=0;b<a.length;b++)xx(a[b],!0),K(a[b],Nh,A(this.fa.Pz,this.fa,a[b]))};var o2=function(a){YW.call(this);this.Bn=a;this.cf=null};C(o2,aZ);o2.prototype.Yb=ms("EditLinkDialogPlugin");
o2.prototype.ld=function(a,b){if(a==mk){var c=this.tb.getRange();this.cf=c&&new UW(c);this.Bn.show(A(function(a){b.$s()&&!a.Oaa?b.xi.href=a.url:a.text?b.xda(a.text,a.url):b.xda(a.url,a.url);b.xi.target=a.target;this.kba(b.xi);this.tb.execCommand(jl,b.xi)},this),A(function(){var a=b.xi,c=a.getAttribute("href");if(sW(a))a.parentNode.removeChild(a);else if("/"==c){for(;a.firstChild;)a.parentNode.insertBefore(a.firstChild,a);a.parentNode.removeChild(a)}else this.tb.execCommand(jl,a);this.kba()},this),
b)}};o2.prototype.rd=function(a){return a==mk};o2.prototype.kba=function(a){a=a||this.cf.Re(!1);LW(a,!1);this.cf&&(this.cf.Uq(),this.cf=null);this.tb.focus()};var p2=function(){b0.call(this);this.J1(!0)};C(p2,b0);t=p2.prototype;t.VX=function(a){webspace.page.isRtlLocale?(this.DB=this.yj(fo,a,lc,A(this.Su,this,an),po),this.BB=this.yj(co,a,jc,A(this.Su,this,ag),no),this.CB=this.yj(eo,a,kc,A(this.Su,this,jk),oo),this.DB.bg(2),this.BB.bg(3),this.CB.bg(1)):(this.CB=this.yj(eo,a,kc,A(this.Su,this,jk),oo),this.BB=this.yj(co,a,jc,A(this.Su,this,ag),no),this.DB=this.yj(fo,a,lc,A(this.Su,this,an),po),this.CB.bg(2),this.BB.bg(3),this.DB.bg(1));cZ(a,ZY+ZY);this.Ofa()};
t.eY=function(a){this.Oga=this.yj("sites-editor-bubble-wrap-on-icon",a,"Wrap on",A(this.Lda,this,!0),"sites_wrap_on_tooltip_id");this.Nga=this.yj("sites-editor-bubble-wrap-off-icon",a,"Wrap off",A(this.Lda,this,!1),"sites_wrap_off_tooltip_id");this.Oga.bg(2);this.Nga.bg(1);cZ(a,ZY+ZY);this.iga()};t.OX=function(a){this.yj("sites-editor-bubble-delete-icon",a,Od,this.X0,"sites_remove_tooltip_id")};t.iga=function(){this.fA(this.Oga,this.uQ());this.fA(this.Nga,!this.uQ())};
t.uQ=function(){var a=this.vO();return!!a.style.display&&a.style.display!=Nf};t.Lda=function(a){this.Yfa(a,this.a3());this.iga()};t.Su=function(a){this.Yfa(this.uQ(),a);this.Ofa()};t.a3=function(){var a=this.vO();return(a.style.textAlign?a.style.textAlign:G?a.style.styleFloat:a.style.cssFloat)||jk};t.Ofa=function(){var a=this.a3();this.fA(this.DB,a==an);this.fA(this.BB,a==ag);this.fA(this.CB,a==jk)};
t.vO=function(){var a=this.Bb();if("A"!=a.parentNode.nodeName)return a;var b=a.parentNode.parentNode;return b?b.nodeName==d?b:a:null};
t.Yfa=function(a,b){var c=this.vO();a?(c.style.display=Dj,G?(c.style.styleFloat=b==ag?"":b,c.style.zoom="1"):c.style.cssFloat=b==ag?"":b,c.style.margin=b==jk?"5px 10px 0 0":b==an?"5px 10px":"5px 0 0 10px",c.style.textAlign=b==ag?ag:""):(c.style.display=Nf,G?(c.style.styleFloat="",c.style.zoom="1"):c.style.cssFloat="",b==jk?(c.style.marginLeft="",c.style.marginRight=yf,c.style.textAlign=jk):b==an?(c.style.marginLeft=yf,c.style.marginRight="",c.style.textAlign=an):(c.style.marginLeft=c.style.marginRight=
yf,c.style.textAlign=ag));c=this.Bb();(WJ(c,Ip)||WJ(c,"igsrc"))&&JOT_postEvent(jh,c,{wrap:a?r:Ah,align:b});this.tb.jd();this.oa()};t.yj=function(a,b,c,e,f){a=fF(xG,{id:a});return this.B_(a,b,c,e,f)};t.C_=function(a,b,c,e,f){a=fF(yG,{text:a});return this.B_(a,b,c,e,f)};t.B_=function(a,b,c,e,f){a=new HF(a,null,void 0,1);a.Fb(16,!0);this.Uc.o(a,Le,e);a.ha(b);c&&this.Cna(a.b(),c,f);this.vda(a.U());return a};
t.Cna=function(a,b,c){a=new pG(a,b);webspace.features.accumulativeBubblePanelCreation&&c&&((b=O(c))&&Zw(b),a.b().setAttribute(rj,c));return a};t.fA=function(a,b){b?a.Bf(!0):a.Bf(!1)};var q2=function(a,b,c,e,f){V0.call(this,a,b,c,e,f);ZJ()};C(q2,V0);q2.prototype.show=function(){q2.g.show.call(this);this.fDa=this.Ql.value};q2.prototype.Mxa=function(){return this.fDa!=this.Ql.value};q2.prototype.jda=function(a,b){var c={content:b},e=N(a),f=e.j("STRONG",null,"Processing HTML...");e.wh(a);e.append(a,f);JOT_callGateway(nd,c,function(b){JOT_clearStatusMsg();b=b.target.getResponseJson();a.innerHTML=b.content},function(a){JOT_setStatusMsg("An error occurred while processing HTML: "+a)})};var r2=function(a){c1.call(this,a)};C(r2,c1);r2.prototype.e0=function(a,b,c,e,f){a=new q2(a,b,c,e,f);a.addEventListener(Zf,this.Mp,!1,this);return a};r2.prototype.Mp=function(){if(this.fa.Mxa()&&!confirm(pc))return!1};r2.prototype.jl=function(a){a=a.o_;var b={content:YJ.pma(a||"<br/>")};JOT_callGateway(nd,b,A(this.eka,this,a),function(a){JOT_setStatusMsg(mc+a)})};
r2.prototype.eka=function(a,b){var c=A(function(a){return A(function(){r2.g.jl.call(this,new W0(a))},this)},this),e=b.target.getResponseJson();if(e.error)JOT_setStatusMsg(mc+e.error);else{JOT_clearStatusMsg();var f=e.sanitized;e.unchanged.toString()==Ah?null==f||f.toString()==r?JOT_createDialog("HTML content will be modified","<p>WARNING: Your HTML contains some tags that are not permitted. These have been removed from your changes.</p>",null,null,c(e.content),null,A(function(){this.tb.execCommand(hh,
a)},this),"rawEditConfirm").setVisible(!0):c(e.content)():c(a)()}v.setTimeout(A(function(){this.tb.focus()},this),1)};var s2=function(a){YW.call(this);this.BMa=a};C(s2,q0);s2.prototype.Yb=function(){return"SitesTabHandler"};s2.prototype.FE=function(a){return this.BMa.Bc()||a&&a.shiftKey?!1:s2.g.FE.call(this,a)};var t2=function(){p2.call(this)};C(t2,p2);t2.prototype.Yb=function(){return"OldImageBubble"};t2.prototype.sx=function(a){(a=t2.g.sx.call(this,a))&&WJ(a,Ip)&&(a=null);return a};var u2=[Ep,Ap,zp,mo,Cp];t=t2.prototype;t.wC=function(a){this.ab=PY(this.tb.$x().getWindow());var b=this.M.j(n,{id:Dp});a.appendChild(b);this.VX(b);for(a=0;a<u2.length;a++)this.Sma(u2[a],!1,b);cZ(b,ZY+ZY);this.eY(b);this.OX(b)};
t.Sma=function(a,b,c){b="";var e=null,f="",g="";switch(a){case Ep:f="Size: Small";b="S";e=2;g="sites_small_size_tooltip_id";break;case Ap:f="Size: Medium";b="M";e=3;g="sites_medium_size_tooltip_id";break;case zp:f="Size: Large";b="L";e=3;g="sites_large_size_tooltip_id";break;case mo:f="Size: 100%";b=Ob;e=3;g="sites_100%_size_tooltip_id";break;case Cp:f="Size: Original",b="Original",e=1,g="sites_full_size_tooltip_id"}this.xH||(this.xH={});var h;switch(a){case Cp:h=A(this.mW,this,Xh);break;case mo:h=
A(this.mW,this,Ob);break;default:h=A(this.mW,this,a.split("_")[1])}this.xH[a]=this.C_(b,c,f,h,g);this.xH[a].bg(e)};t.mW=function(a){var b=this.Bb();gZ(b);this.ab.Ut(b.src)&&(rZ=!0);switch(a){case Xh:this.cba();break;case Ob:this.SFa();break;default:this.eba(a)}rZ=!1};t.SFa=function(){this.F().Kh();var a=this.Bb();Qy(a,Ob);this.ke();this.F().jd()};t.sy=function(){var a=this.Bb();return this.ab.Ut(a.src)?this.ab.gO(a.src,Xh)==a.src?!1:!0:t2.g.sy.call(this)};
t.VV=function(){if(this.U3()){var a=this.Bb();vy(a,Eq);for(var a=qZ(a,this.ab),b=0;b<u2.length;b++)this.iU(u2[b],a)}this.oa()};t.iU=function(a,b){var c=this.Bb(),c=vy(c,Eq)==Ob;switch(a){case Cp:c=!this.sy()&&!c;break;case mo:break;default:c=this.sy()&&a.split("_")[1]==b}this.xH[a].Bf(c)};var v2=function(){p2.call(this)};C(v2,p2);t=v2.prototype;t.Yb=function(){return"EmbedBubble"};t.sx=function(a){if(!a)return null;var b=Os(bx(a));b.push(a);for(var c=0,e=b.length;c<e;c++){a=b[c];var f=WJ(a,Ip);if(f)return this.Km=f,b=UJ(WJ(a,Mm)),this.sma=!!b.copyError,this.rqa=!!b.formkey,a}return null};t.rd=function(a){return a==il?!0:v2.g.rd.call(this,a)};t.ld=function(a,b){if(this.rd(a))return this.DE(b)};
t.wC=function(a){this.ab=PY(this.tb.$x().getWindow());var b=this.M.j(n,{id:"embed_container_id"});a.appendChild(b);"stemcell"==this.Km?JOT_postEvent(Go,this.Bb()):this.sma?(cZ(b,"Copy from site template failed: "),this.To("copy_error","try copy again",A(function(){JOT_postEvent(Lh,this.Bb(),{embedType:this.Km,id:WJ(this.Bb(),sl),formKey:this.rqa});this.Ok()},this),b),cZ(b,"\u00a0-\u00a0")):(this.Km==$i&&(this.C_("Edit chart",b,"Edit chart",A(function(){JOT_postEvent(hk,this.Bb(),{embedType:this.Km});
this.Ok()},this)),cZ(b,ZY+ZY)),this.yj("sites-editor-bubble-property-icon",b,"Properties",A(function(){this.Km==ii?this.YKa():JOT_postEvent(ik,this.Bb(),{embedType:this.Km});this.Ok()},this)),cZ(b,ZY+ZY),this.VX(b),this.eY(b));this.OX(b)};t.YKa=function(){this.tb.execCommand(Gj,this.Bb())};t.tx=function(){return pd};t.BD=function(){return"Gadget"};var w2=function(a,b,c){XX.call(this,a);ZJ();this.Rb=c?YJ.X3(c):null;this.E7=!!c;this.Gl=c;this.ua=this.E7?wg:pn;this.rJa(a,b);this.Xqa=webspace.gadgets.baseUri+"/preview";this.Wqa=webspace.gadgets.baseUri+"/directory";this.Vqa=webspace.gadgets.baseUri+"/configure";this.EBa=(new oD(new String(this.dom.J().location))).Ag().Ic(this.VW);this.n6=!1};C(w2,XX);var x2=function(a,b){this.Ih=a;this.Gl=b||null};C(x2,J);x2.prototype.type=dl;t=w2.prototype;
t.Cw=function(){this.N=new rA(this);this.Qw=this.dom.j(n);var a=this.E7?Wd:hc,a=(new YX(this)).lf("sites-editor-gadget-dialog").hb(this.Qw).Gb("Back to directory",A(this.Rua,this),fp).Gb("Back to configuration",A(this.Qua,this),gp).ZX().eK().Gb("Preview Gadget",A(this.Ova,this),ep).Xc(a).Gk();this.qA(this.ua);return a};t.VW="nocache";t.dha="border";t.Gia="showtitle";t.pB=cp;t.Bia=kn;t.sX="view";t.Qw=null;t.Rb=null;
t.qA=function(a){switch(a){default:case pn:this.RZ();this.oIa();break;case wg:this.RZ();this.nIa();break;case Hm:this.pIa()}};t.RZ=function(){Ww(this.Qw)};t.oIa=function(){var a="tr-gadgetDirectory-iframe"+Ur(),a=this.dom.j(tj,{width:Ob,height:"400px",scrolling:yf,frameBorder:0,marginWidth:0,marginHeight:0,id:a,name:a,src:this.Vra(a),title:hc});this.Qw.appendChild(a)};
t.Fv=function(a){this.ua=a;switch(this.ua){default:case pn:S(this.zg(),!1);S(this.hh(ep),!1);S(this.hh(gp),!1);S(this.hh(fp),!1);break;case wg:S(this.zg(),!0);S(this.hh(ep),!0);S(this.hh(gp),!1);S(this.hh(fp),!this.Gl&&!this.n6);this.zg().focus();break;case Hm:S(this.zg(),!0),S(this.hh(ep),!1),S(this.hh(gp),!0),S(this.hh(fp),!1),this.zg().focus()}};
t.show=function(){XX.prototype.show.call(this);this.Fv(this.ua);_IFPC.registerService("pickGadget",A(this.K$,this));_IFPC.registerService(Op,A(this.rNa,this));_IFPC.registerService(Hn,A(this.RHa,this));JOT_removeAllListenersForName(In);JOT_addListener(In,A(this.pKa,this))};t.Xe=function(){XX.prototype.Xe.call(this);_IFPC.unregisterService(Op);_IFPC.unregisterService(Hn);_IFPC.unregisterService("pickGadget");JOT_removeAllListenersForName(In)};
t.pKa=function(a){a=1==a.payload;this.zg().disabled=!a;this.hh(gp).disabled=!a};t.Rua=function(){this.Rb=null;this.qA(pn);this.Fv(pn);return!1};t.Qua=function(){this.qA(wg);this.Fv(wg);return!1};t.Ova=function(){this.Vfa();this.qA(Hm);this.Fv(Hm);return!1};
t.nIa=function(){if(this.Gl){var a=WJ(this.Gl,Mm),a=UJ(a),b;for(b in a)this.Rb[b]=a[b]}else this.Rb.showBorder=r,this.Rb.showBorderTitle=r;b=this.dom.j(n,"sites-editor-gadget-dialog-content");this.Qw.appendChild(b);a=this.cna();this.hma=a.id;this.ima=a.name;b.appendChild(a)};t.pIa=function(){var a=O(this.hma);a&&(a.src=this.Ata(),this.Fv(Hm))};t.Hra=function(){var a=window.frames[this.ima];return a?a.document:null};
t.Vfa=function(){var a=new Bw(this.Hra());this.Rb.borderTitle=a.dd($h)?a.dd($h).value:a.dd("gadget_title").value;this.Rb.title=a.dd("gadget_title").value;a.dd("gadget_view")&&(this.Rb.view=a.dd("gadget_view").value);a.dd(ai)&&(this.Rb.scrolling=a.dd(ai).checked?yf:"no");a.dd("gadget_border")&&(this.Rb.showBorder=a.dd("gadget_border").checked.toString());a.dd(bi)&&a.dd($h)&&(this.Rb.showBorderTitle=a.dd(bi).checked?r:null,this.Rb.borderTitle=a.dd($h).value);var b=Math.max(0,parseInt(a.dd("gadget_width").value,
10));a.dd(ci)&&"percent"==a.dd(ci).value?this.Rb.width=Math.min(b,100)+"%":this.Rb.width=Math.min(b,2E3).toString();b=Math.max(0,parseInt(a.dd("gadget_height").value,10));this.Rb.height=Math.min(b,2E3).toString();this.Rb.screenshot=a.dd("gadget_screenshot").value;for(var b=Math.min(parseInt(a.dd("gadget_pref_count").value,10),25),c=[],e=0;e<b;e++){var f=a.dd("gadget_pref_"+e);c.push(encodeURIComponent(f.name)+"="+encodeURIComponent(f.type==hg?f.checked:f.value))}this.Rb.params=c.join("&")};
t.cna=function(){var a="tr-edit-gadget-iframe"+Ur();return this.dom.j(tj,{width:Ob,height:"390px",frameBorder:0,marginWidth:0,marginHeight:0,id:a,name:a,src:this.asa(a),title:Wd})};t.rNa=function(a,b,c,e){this.Rb.params=a;this.Rb.width=c;this.Rb.height=e;this.zg().disabled=!b};t.UX=function(a,b){a=kD(a,"relay",this.REa);return a=kD(a,"iframeId",b)};t.rJa=function(a,b){jr(b,"/")||(b+="/");var c=QY(String(a.getWindow().location)),e=new NY(b+"ifpc_relay.html");e.bR(new NY(c));this.REa=e.getUrl()};
t.BL=function(){this.ua==wg&&this.Vfa();return new x2(this.Rb,this.Gl)};t.RHa=function(a){a.url||(a.url=this.Rb.url);this.Rb=a};t.K$=function(a,b){this.n6=!!b;this.Rb={url:a};this.qA(wg);this.Fv(wg)};t.Gda=function(a){return this.EBa?kD(a,this.VW,r):a};t.I_=function(a,b){a=YJ.dY(a,b);b.scrolling==yf&&(a=kD(a,this.Bia,r));b.showBorder==r&&(a=kD(a,this.dha,r));b.showBorderTitle==r&&(a=kD(a,this.Gia,r));b.borderTitle&&(a=kD(a,this.pB,b.borderTitle));b.view&&(a=kD(a,this.sX,b.view));return this.Gda(a)};
t.Vra=function(a){a=this.UX(this.Wqa,a);return this.Gda(a)};t.Ata=function(){return this.I_(this.Xqa,this.Rb)};t.asa=function(a){var b=this.I_(this.Vqa,this.Rb);return this.UX(b,a)};var y2=function(a){Y0.call(this,Gj);ZJ();this.SEa=a};C(y2,Z0);t=y2.prototype;t.Yb=ms("GadgetDialogPlugin");t.wz=function(a){return a};t.bL=function(a){return a};t.tL=function(a){a=new w2(a,this.SEa,this.uj);a.addEventListener(dl,this.QO,!1,this);return a};
t.QO=function(a){this.$S();this.tb.Kh();var b=a.Ih.screenshot;if(a.Gl){var c=a.Gl;YJ.mU(c,a.Ih);YJ.rC(c);this.uj=a.Gl;a.Ih.align=a.Gl.style.textAlign}else{a.Ih.screenshot=window.JOT_clearDotPath;c=this.tb.getRange();c.fk();var e=YJ.W_(this.Lb().J(),a.Ih);z2(e,a);c=c.insertNode(e,!1);LW(c,!1);this.uj=c}A2(this.uj,a);B2(this.uj,b,a);this.tb.jd();return!0};
var z2=function(a,b){a.style.display=Nf;a.style.textAlign=jk;b.Ih.align=jk},A2=function(a,b){var c=VJ(b.Ih);XJ(a,Mm,c);a.setAttribute(Eq,C2(b.Ih.width));XJ(a,Ip,ii)},B2=function(a,b,c){JOT_callGateway(cd,{type:"igmodule",title:c.Ih.title||"",width:C2(c.Ih.width),height:c.Ih.height},A(D2,null,a),A(E2,null,a,b))},D2=function(a,b){var c=b.target.getResponseJson();a.src=c.url},E2=function(a,b){a.src=b},C2=function(a){return/^[0-9]+%$/.test(a)?400:a};var F2=function(a){st(a,{title:"Sites Editor Field"});return a},G2=function(a,b,c){o_.call(this,a,b,c)};C(G2,o_);G2.prototype.$m=function(){var a=G2.g.$m.call(this);return F2(a)};var H2=function(a,b,c){q_.call(this,a,b,c)};C(H2,q_);H2.prototype.$m=function(){var a=H2.g.$m.call(this);return F2(a)};var I2=function(a,b,c,e,f,g,h,k,m,p){this.G=a;this.za=b;this.Sa=c;this.Nt=e;this.Bn=f;this.cla=Uq(k)?k:!0;this.Wf=m?m:[];this.hOa();this.Xna=p;this.Wj=h;this.Vb=g};t=I2.prototype;t.bd=null;t.wq=null;t.GF=null;t.b=function(){return this.G};
t.Dna=function(){var a={minHeight:parseInt(this.KN(),10),cssStyles:this.Xna},b=webspace.baseUri+Kb,a=new (this.cla?H2:G2)(this.Di.id,a);a.Nc(new k2(this.Vb));a.Nc(new L_);a.Nc(new d1);a.Nc(new f0);a.Nc(new g0);a.Nc(new m0);a.Nc(new s2(this.Wj));a.Nc(new l2);a.Nc(new I_);var c=new CZ;c.J1(!0);a.Nc(c);a.Nc(new t2);a.Nc(new v2);a.Nc(new A0);a.Nc(new lX);a.Nc(new U1("","sites-codeblock"));a.Nc(new y2(b));a.Nc(new o2(this.Bn));a.Nc(new n2(this.Nt,this.Sa,this.za));a.Nc(new r2(this.Sa.ab));for(b=0;b<this.Wf.length;b++)a.Nc(this.Wf[b]);
a.Si(z0.prototype.Yb())||a.Nc(new z0);this.bd=a};t.Lea=function(){if(G&&-1==Sr(iu,"8")){var a=Ew(tj,"map_embed",this.G);if(a&&0<a.length)for(var b=0;b<a.length;b++)a[b].src=""}Fx(this.Di,bo);this.Di.style[this.ZD()]=this.KN();this.bd||this.Dna();this.Tda(!0);this.Sa.SF(this.bd)};t.Vea=function(){this.Tda(!1);this.Sa.dR(this.bd);this.Di.style[this.ZD()]=null;Hx(this.Di,bo)};t.ZD=function(){return G&&!I("7")?dj:"minHeight"};
t.KN=function(){var a=this.ZD();return(a=wy(this.G,a)||xy(this.G,a)||this.G.style[a])&&"0px"!=a&&a!=yf?a:"150px"};t.Tda=function(a){(a?K:Ou)(this.bd,Kg,this.cCa,!1,this)};t.cCa=function(){this.za.mr(!0)};t.hb=function(a){this.bd?this.Sa.aU(this.bd,!1,a):this.Di.innerHTML=a};I2.prototype.setContent=I2.prototype.hb;I2.prototype.xb=function(){return this.bd?this.Sa.SN(this.bd):this.Di.innerHTML};I2.prototype.getContent=I2.prototype.xb;t=I2.prototype;
t.hOa=function(){var a;a=this.G.id?this.G.id+"-editable-content":zA.S().be();var b=Ow(n,{id:a,className:"sites-editor-content-wrapper"});for(this.G.appendChild(b);(a=this.G.firstChild)!=b;)b.appendChild(a);H&&K(b,ng,A(function(a){a.target==b&&this.bd&&(a=lW(this.bd.b()),LW(a,!1),this.bd.Fi());this.bd.focus()},this));this.Di=b};t.RMa=function(){if(this.Di!=this.G){for(var a=this.Di,b;b=a.firstChild;)this.G.appendChild(b);this.G.removeChild(a)}};t.Be=function(){return cz(this.Di).height};
t.Gsa=function(){return this.GF||this.Be()};t.hA=function(a){a?this.GF||(this.GF=this.Be()):this.GF=null;this.Di.style[this.ZD()]=a?a+q:this.KN();this.wq=a};t.dispose=function(){this.bd&&this.bd.dispose();this.RMa();delete this.bd;delete this.Sa;delete this.Nt;delete this.Bn};zA.prototype.tG=1E5;var K2=function(a,b,c,e,f,g,h,k){this.epa=(J2++).toString();this.IL=b;this.Sa=c?c:new OZ(v,webspace.baseUri+"/system/components/editor/");(h||Z1).call(this);this.XE=new $0(this.Sa.ab);this.Bn=g||new I1(this.epa);this.ma=e||N();this.Nt=f||new s1({forChildren:a,filterName:"editor",order:"editTime"},"ImageCache");this.Sb=[];this.hx={};this.Vb=k||new mI;this.Wj=new K1(this.Vb,this.ma);this.zn=[];a=JOT_addListener(Go,A(function(a){Yt&&(this.rT=a.eventSrc)},this));this.zn.push(a)};
x("sites.editor.Editor",K2,void 0);var J2=1;K2.prototype.TB=0;K2.prototype.sG=null;K2.prototype.xS=null;K2.prototype.wB=function(a,b,c,e){b=new I2(this.ma.dd(a),this,this.Sa,this.Nt,this.Bn,this.Vb,this.Wj,b,c,e);this.Sb.push(b);this.hx[a]=this.Sb.length-1;1<this.Sb.length&&this.vja();return b};K2.prototype.addField=K2.prototype.wB;K2.prototype.vja=function(){if(!this.sG){var a=new oI(A(this.O2,this,!1),!0);this.Vb.kf(a,a.Mi);this.sG=a;a=new qI(A(this.O2,this,!0),!0);this.Vb.kf(a,a.Mi);this.xS=a}};
K2.prototype.Qt=function(a,b,c,e,f){b=this.XE.Qt(a,b,c,e);this.daa(a,b,e,f);return b};K2.prototype.daa=function(a,b,c,e){if(c)b.style.display=Nf,b.style.textAlign=webspace.page.isRtlLocale?an:jk;else{var f=b.parentNode,g=N(b).Xga(n);$w(g,f);g.appendChild(f);g.style.display=Nf;g.style.textAlign=webspace.page.isRtlLocale?an:jk}e&&b.setAttribute("alt",Cr(e));e=b.parentNode.tagName.toLowerCase();0==e.indexOf("h")&&2==e.length&&Xw(b,b.parentNode);c&&(c=N(b).j(n),$w(c,b),c.appendChild(b));a.jd()};
K2.prototype.jsa=function(){return this.Sb};K2.prototype.getFields=K2.prototype.jsa;K2.prototype.Qi=function(a){return this.Sb[this.hx[a]]||null};K2.prototype.getField=K2.prototype.Qi;K2.prototype.mn=function(){E(this.Sb,function(a){a.bd.ks()});return this.G$};K2.prototype.hasUnsavedChanges=K2.prototype.mn;K2.prototype.mr=function(a){this.G$=a};K2.prototype.MS=function(a){var b=this.hx[a],c=this.Sb[b];this.Sb.splice(b,1);delete this.hx[a];c.dispose()};K2.prototype.removeField=K2.prototype.MS;
K2.prototype.bo=function(a){this.TB=a;this.Sa.bo(a)};K2.prototype.setBaseZindex=K2.prototype.bo;K2.prototype.zD=function(){return this.TB};K2.prototype.HL=function(a,b,c){this.Ea||(this.NA=b||this.ma.createElement(n),c?c.appendChild(this.NA):(b=this.Sb[0].b(),b.parentNode.insertBefore(this.NA,b)),this.Ea=this.IL.call(this,this.Sa,this.NA,this.Vb,this.Wj));this.xA(a);return this.Ea};K2.prototype.createToolbar=K2.prototype.HL;K2.prototype.xA=function(a){this.NA.style.display=a?"":Yk};
K2.prototype.showToolbar=K2.prototype.xA;K2.prototype.open=function(a){this.HL(!0);for(var b=0;b<this.Sb.length;b++)this.Sb[b].Lea();a||(this.focus(),this.Sb.length&&this.Sb[0].bd.UG())};K2.prototype.open=K2.prototype.open;K2.prototype.close=function(){for(var a=0;a<this.Sb.length;a++)this.Sb[a].Vea();this.xA(!1)};K2.prototype.close=K2.prototype.close;t=K2.prototype;t.focus=function(){var a=this.J3();a&&this.Sa.xp(a)};t.J3=function(){var a=this.Sa.et();a||(a=(a=this.Sb[0])&&a.bd);return a};
t.Lra=function(){var a=this.J3(),b=this.Sb,c;for(c=0;c<b.length&&a.id!=b[c].bd.id;c++);return c};t.O2=function(a){var b=this.Lra(),c=(b+1)%this.Sb.length;a&&(c=(b||this.Sb.length)-1);(a=this.Sb[c])&&a.bd&&this.Sa.xp(a.bd)};t.Pl=function(){this.close();for(var a in this.hx)this.MS(a);this.Sa.Pl();for(a=0;a<this.zn.length;a++)JOT_removeListenerByKey(this.zn[a]);this.Ea.dispose();delete this.Ea;this.Bn.dispose();delete this.Bn;delete this.XE;Rt(this.sG);this.sG=null;Rt(this.xS);this.xS=null};
K2.prototype.quit=K2.prototype.Pl;var L2=function(){};C(L2,NJ);L2.prototype.Ac=function(a){webspace.adsensePublisherId||a.compParts.publisherId||(S(a.compParts.btnOk,!1),S(a.compParts.adConfig,!1));S(a.compParts.btnOk,!1);nx(a.compParts.btnCancel.firstChild,"OK");nx(a.compParts.pubIdDisplay,a.compParts.publisherId||webspace.adsensePublisherId||"This ad is not associated with any publisher ID.")};L2.prototype.qc=function(){return'<div><div>The Google Sites AdSense API has been shut down.</div><div>AdSense modifications are no longer supported within Google Sites.</div><div><a target="_blank" href="https://support.google.com/sites/answer/3156640">Learn more<a></div></div><div style="display: none"><select id="adlayout" name="adlayout"></select><span id="sites-pageelements-adsense-adunittype" /><input id="sites-pageelements-adsense-text-and-image" name="adunittype" /><input id="sites-pageelements-adsense-text-only" name="adunittype" /><input id="sites-pageelements-adsense-five-link-unit" name="adunittype" /></div>'};var M2=function(a){this.Sc=[];this.HP=!1;this.Hw=0;JOT_addListener("changecalcolor",A(this.Cla,this));this.fb=a};C(M2,NJ);t=M2.prototype;t.iz=null;t.wr=null;t.re=Xf;t.Ud=/https?:\/\/www.google.com\/calendar\/.+/;t.Ha=Xf;t.hf="http://www.google.com/calendar/hosted/_domain_/embed?src=_id_";t.yd="http://www.google.com/calendar/embed?src=_id_";t.TJ="JOT_CAL_SEP";t.xd=/\?src=([^"|&]*)/;t.ti=/www.google.com\/calendar\/hosted\/(.*?)\/embed/;t.Yg={pvttk:/pvttk=([^&]*)/};t.Sv="#668CD9 #D96666 #E0C240 #4CB052 #E6804D #8C66D9 #C4A883 #65AD89 #85AAA5 #59BFB3 #E67399 #BFBF4D #8CBF40 #B373B3 #A7A77D #F2A640 #668CB3 #BE9494 #A992A9 #8997A5 #94A2BE".split(" ");
var N2=function(a,b,c){this.src=a;this.title=b;this.color=c};t=M2.prototype;t.Kw=function(a,b){var c=a.pvttk;c&&(b.objectUrl+="&pvttk="+c);(c=this.wr)&&(b.objectUrl+="&ctz="+c)};
t.rc={objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},showTabs:function(a,b){b.checkedShowTabs=a==r?l:""},showTitle:function(a,b){b.checkedShowTitle=a==r?l:""},showNav:function(a,b){b.checkedShowNav=a==r?l:""},showDate:function(a,b){b.checkedShowDate=a==r?l:""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=
a||""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:dd,objectTitle:dd,checkedShowTabs:l,checkedShowTitle:l,checkedShowNav:l,checkedShowDate:l,heightValue:"600",widthValue:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},showTabs:function(a,b){b.showTabs=a?r:Ah},showTitle:function(a,b){b.showTitle=a?r:Ah},showNav:function(a,b){b.showNav=a?r:Ah},showDate:function(a,b){b.showDate=a?r:Ah},height:function(a,b){b.height=a},width:function(a,b){b.width=a},objectTitle:function(a,b){b.objectTitle=zx(a)}};
t.qc=function(a){var b=a.heightValue,c=a.widthValue,e=a.checkedShowTabs,f=a.checkedShowTitle,g=a.checkedShowNav,h=a.checkedShowDate,k=a.showBorder,m=a.showBorderTitle;a=a.borderTitle;for(var p="",u=this.Sc,y=u.length,P=0;P<y;P++)var L=u[P],ma='<div jotId="'+W(L.src)+'" class="sites-clear goog-link-box sites-calembed-entry" style="background-color: '+W(L.color)+'"><a jotId="objectUrlField" class="sites-calembed-url" href="'+W(L.src)+'" target="_blank"><span jotId="objectTitle" class="sites-calembed-title">'+
W(L.title)+'</span></a><div id="sites-calembed-menu-'+W(P)+'" class="goog-inline-block sites-calembed-menu"><div class="goog-toolbar-menu-button-dropdown">&nbsp;</div></div>',L=""+W(L.src),da=""+W(P),L='<div id="sites-calmenu-'+W(da)+'" class="goog-menu sites-calmenu-boxbody" style="z-index:1000; display:none"><table><tbody><tr><td class="sites-calpopupcell"><div><ul class="sites-calmenu-options"><li><a class="sites-calmenu-options-link sites-calmenu-options-change-link-'+W(da)+'">Change</a></li><li><a class="sites-calmenu-options-link sites-calmenu-options-remove-link-'+
W(da)+'">Remove</a></li></ul><div class="sites-calmenu-color"><ul class="sites-calmenu-color-ul"><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(204, 51, 51); background-color: rgb(217, 102, 102);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#D96666', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(221, 68, 119); background-color: rgb(230, 115, 153);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#E67399', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(153, 68, 153); background-color: rgb(179, 115, 179);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#B373B3', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(102, 51, 204); background-color: rgb(140, 102, 217);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#8C66D9', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(51, 102, 153); background-color: rgb(102, 140, 179);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#668CB3', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(51, 102, 204); background-color: rgb(102, 140, 217);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#668CD9', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(34, 170, 153); background-color: rgb(89, 191, 179);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#59BFB3', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a><div class="reset">&nbsp;</div></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(50, 146, 98); background-color: rgb(101, 173, 137);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#65AD89', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(16, 150, 24); background-color: rgb(76, 176, 82);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#4CB052', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(102, 170, 0); background-color: rgb(140, 191, 64);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#8CBF40', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(170, 170, 17); background-color: rgb(191, 191, 77);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#BFBF4D', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(214, 174, 0); background-color: rgb(224, 194, 64);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#E0C240', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(238, 136, 0); background-color: rgb(242, 166, 64);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#F2A640', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(221, 85, 17); background-color: rgb(230, 128, 77);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#E6804D', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a><div class="reset">&nbsp;</div></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(168, 112, 112); background-color: rgb(190, 148, 148);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#BE9494', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(140, 109, 140); background-color: rgb(169, 146, 169);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#A992A9', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(98, 116, 135); background-color: rgb(137, 151, 165);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#8997A5', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(112, 131, 168); background-color: rgb(148, 162, 190);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#94A2BE', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(92, 141, 135); background-color: rgb(133, 170, 165);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#85AAA5', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(137, 137, 81); background-color: rgb(167, 167, 125);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+
W(L)+"', color:'#A7A77D', id:'sites-calmenu-"+W(da)+'\'});return false;"> </a></li><li class="sites-calmenu-color-li"><a class="sites-calmenu-color-square" style="border-color: rgb(176, 139, 89); background-color: rgb(196, 168, 131);" onclick="JOT_postEvent(\'changecalcolor\', this, {src:\''+W(L)+"', color:'#C4A883', id:'sites-calmenu-"+W(da)+'\'});return true;"> </a></li></ul></div><div class="reset">&nbsp;</div></div></td></tr></tbody></table></div>',p=p+(ma+L+Qb);return p+='<div class="sites-calembed-add"><a class="goog-edit-insert-calendar-more">Display another Calendar</a></div><hr style="height:1px;"/><p><strong>Height:</strong> <input jotId="height" type="text" size="3" value="'+
W(b)+'" /> pixels</p><p><strong>Width:</strong>&nbsp;&nbsp;<input jotId="width" type="text" size="3" value="'+W(c)+'" /> pixels (leave empty for 100% width)</p><div class="sites-embed-dialog-row"><div class="sites-embed-dialog-row-header goog-inline-block">View</div><div id="sites-calendar-embed-mode" class="goog-inline-block"></div></div><div class="sites-embed-dialog-row"><div class="sites-embed-dialog-row-header goog-inline-block">Timezone</div><div id="sites-timezone-menu" class="goog-inline-block"></div></div><p><strong>Display Options</strong></p><p><input jotId="showTabs" type="checkbox" '+
W(e)+' />Show week, month, and agenda tabs</p><p><input jotId="showTitle" type="checkbox" '+W(f)+' />Show calendar name</p><p><input jotId="showNav" type="checkbox" '+W(g)+' />Show navigation buttons</p><p><input jotId="showDate" type="checkbox" '+W(h)+' />Show current date range</p><p><input jotId="showBorder" type="checkbox" '+W(k)+' />Include border around Google calendar</p><p><input jotId="showBorderTitle" type="checkbox" '+W(m)+' />Include title: <input jotId="borderTitle" type="text" size="40" value="'+
W(a)+ra};t.Pp=function(a){a.wla||this.E5()};t.tE=function(){this.E5()};t.E5=function(){this.Sc=[];this.HP=!1;this.Hw=0;this.wr=this.iz=null};t.IX=function(a){this.B7(a.src)||(a.title&&""!=a.title||(a.title=dd),this.Sc.push(a))};t.Ala=function(a,b){if(!this.B7(b.src))for(var c=0;c<this.Sc.length;c++)if(a.src==this.Sc[c].src){b.color=this.Sc[c].color;this.Sc.splice(c,1,b);break}};t.Bla=function(a,b){for(var c=0;c<this.Sc.length;c++)if(a==this.Sc[c].src){this.Sc[c].color=b;break}};
t.VEa=function(a){var b=UG.embedding;a=a.replace(/&amp;/g,"&");if(1==this.Sc.length)this.fLa();else for(var c=0;c<this.Sc.length;c++)if(a==this.Sc[c].src){this.Sc.splice(c,1);Zw(b.compParts[a]);break}};t.fLa=function(){alert("Cannot remove the last calendar")};t.AIa=function(a){this.HP=a};t.Tt=function(){return this.HP};
t.mS=function(a,b){for(var c=a.indexOf("&")?a.split("&"):[a],e="",f=b,g=0;g<c.length;g++)0==c[g].indexOf("color=")&&(e=c[g].substring(6,c[g].length));f&&""!=f||(f=dd);c=e||this.b4();return new N2(decodeURIComponent(a),f,c)};t.z5=function(a){for(var b="",c=this.Sc,e=0;e<c.length;e++){var f=pr(c[e].src||""),g=f.match(this.xd);if(g)b+="src="+g[1],b+="&";else return alert(a),null;b+="color="+c[e].color;e<c.length-1&&(b+="&");b=decodeURIComponent(b)}return{origSrc:b,url:f}};
t.fy=function(){for(var a=this.Sc,b="",c=0;c<a.length;c++)b+=a[c].title,c<a.length-1&&(b+=this.TJ);return{calendarTitles:b,mode:this.iz,ctz:this.wr}};t.r5=function(a,b){"remove"==b.action?this.VEa(b.src):a.KQ(this.re,this.Ha,b)};t.xt=function(a,b){var c=b&&b.addFromUrl?"":a.objectTitle;if(b&&b.action==bg){var e=this.mS(b.src.replace(/&amp;/g,"&"),c),c=this.mS(a.objectUrl,c);this.Ala(e,c)}else this.IX(this.mS(a.objectUrl,c));(e=a.objectUrl.match(/ctz=([^&]*)/))&&e[1]&&(this.wr=e[1]);return a.objectUrl};
t.sS=function(a,b){if(this.Tt())return!0;for(var c=WJ(a,sl),e=b.calendarTitles,f=b.domain,g=c.indexOf("&")?c.split("&"):[c],e=e?e.indexOf(this.TJ)?e.split(this.TJ):[e]:[b.objectTitle],c=[],h=[],k=0;k<g.length;k++)0==g[k].indexOf("src=")?c.push(g[k].substring(4,g[k].length)):0==g[k].indexOf("color=")?h.push(g[k].substring(6,g[k].length)):c.push(g[k]);for(k=0;k<c.length;k++){var g=f?this.hf:this.yd,m={protocol:b.protocol||kj,domain:b.domain,id:c[k]},p;for(p in m)g=g.replace(new RegExp("_"+p+"_","gi"),
m[p]);var u=new oD(g),g=e[k]||"",m=h[k]||this.b4(),u=u.toString(),y=b.pvttk;y&&(u+="&pvttk="+y);(y=b.ctz)&&(u+="&ctz="+y);this.IX(new N2(u,g,m))}this.iz=b.mode;this.wr=b.ctz;this.AIa(!0);return!0};
t.Ac=function(){var a=Gw("goog-edit-insert-calendar-more");xx(a,!0);K(new dy(a),Le,A(this.fb.Jg,this.fb,Wf,null,"add"));for(a=0;a<this.Sc.length;a++){var b=Gw("sites-calmenu-options-change-link-"+a);K(new dy(b),Le,A(this.fb.Jg,this.fb,Wf,this.Sc[a].src,bg));b=Gw("sites-calmenu-options-remove-link-"+a);K(new dy(b),Le,A(this.fb.Jg,this.fb,Wf,this.Sc[a].src,"remove"))}b=this.Sc.length;for(a=0;a<b;a++){var c=new FB;c.la(O("sites-calmenu-"+a));c.Zg(O("sites-calembed-menu-"+a),5,4)}var a={week:"Week",month:"Month",
agenda:"Agenda"},e=new aG(""),b=O("sites-calendar-embed-mode"),f;for(f in a)e.T(new zB(a[f],f)),this.iz==f&&e.setValue(f);e.Xb()||e.setValue("month");K(e,Le,A(function(){this.iz=e.Xb().Pd},this));e.ha(b);f=O("sites-timezone-menu");var g=new x1(null,this.wr);K(g,Le,A(function(){this.wr=g.Xb().Pd},this));g.vU(!0);g.ha(f)};t.Cla=function(a){var b=a.payload.src,c=a.payload.color;a=a.payload.id;b&&(b=b.replace(/&amp;/g,"&"),R(UG.embedding.compParts[b],Bf,c),this.Bla(b,c),R(O(a),Tg,Yk))};
t.u4=function(a){a=a.indexOf("&")?a.split("&"):[a];for(var b=0;b<a.length;b++)if(-1!=a[b].indexOf("src="))return a[b].substring(a[b].indexOf("src="),a[b].length);return""};t.B7=function(a){for(var b=0;b<this.Sc.length;b++)if(this.u4(a)==this.u4(this.Sc[b].src))return!0;return!1};
t.b4=function(){for(var a=[],b=0;b<this.Sc.length;b++)a.push(this.Sc[b].color);b=this.Sv[this.Hw%this.Sv.length];this.Hw++;if(a.length<this.Sv.length)for(var c=0;c<a.length;c++)a[c]==b&&(b=this.Sv[this.Hw%this.Sv.length],this.Hw++);return b};var O2=function(){};C(O2,NJ);t=O2.prototype;t.rc={event:function(a,b){b.eventVal=a?uv(a):""},fromDateUTC:function(a,b){b.fromDateUTC=a?a:""},width:function(a,b){b.widthValue=a?a:""}};t.hc=function(){return{borderTitle:"Count Down",eventVal:"",fromDateUTC:"",widthValue:""}};t.Pb={eventEl:function(a,b){b.event=a},fromDateUTCEl:function(a,b){b.fromDateUTC=a},width:function(a,b){b.width=a}};
t.Ac=function(a){var b=new QB,c=b.Lf;c.SJa(!1);c.OJa(!1);b.ha();b.Zg(a.compParts.dateButton);var e=new Oz(0),f=a.compParts.fromDateUTCEl.value;f&&(c=new Jz,f=f.split("-"),c.setYear(f[0]),c.setMonth(f[1]-1),c.setDate(f[2]),nx(a.compParts.dateLabel,e.format(c)));K(b,bg,function(){var c=b.getDate();nx(a.compParts.dateLabel,e.format(c));a.compParts.fromDateUTCEl.value=c.getYear()+"-"+ +(c.getMonth()+1)+"-"+c.getDate()})};
t.qc=function(a){var b=a.eventVal,c=a.fromDateUTC;return'<div class="goog-ws-text"><p><strong>Width:</strong>&#160;<input jotId="width" size="3" value="'+W(a.widthValue)+'" />pixels&#160;(leave empty for 100% width)</p><p><label class="goog-ws-label-inline"><strong>Event:</strong></label>&#160;<input jotId="eventEl" type="text" value="'+W(b)+'" /></p><p><label class="goog-ws-label-inline"><strong>Event date:</strong></label><a jotId="dateButton">Choose date</a>&#160;<span jotId="dateLabel"></span><input jotId="fromDateUTCEl" type="hidden" value="'+
W(c)+sa};var P2=function(){};C(P2,NJ);t=P2.prototype;t.re=Wg;t.Ha=Xg;t.Ud=/\/file\/d\/.+/;t.Qv=/image\/.+/;t.$K=function(a){return{url:a.downloadUrl,anchorUrl:a.url}};t.LP=function(a,b,c,e,f){(a=a.Qt(b,c,e,!1,f))&&!Yt&&LW(a,!1);return a};var Q2=function(a){this.fb=a};C(Q2,NJ);Q2.prototype.re=Wg;Q2.prototype.Ha=Qh;var R2=/(?:(?:folder\/d|#folders|drive\/folders)\/|(?:embedded)?folderview\?id=)([^#&\?/]*)/;t=Q2.prototype;t.Ud=R2;t.xd=R2;t.hf="https://drive.google.com/a/_domain_/folderview?id=_id_";t.yd="https://drive.google.com/folderview?id=_id_";t.ti=/google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]*)/,gridOrList:/^#[a-z]+/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""},grid:function(a,b){b.gridValue=a==r?l:"";b.listValue=a==r?"":l}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Drive Folder",objectTitle:"Drive Folder",heightValue:"600",widthValue:"",listValue:l,gridValue:""}};t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a},grid:function(a,b){b.grid=a}};
t.qc=function(a){var b=a.objectTitle,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle,g=a.heightValue,h=a.widthValue,k=a.gridValue,m=a.listValue;return'<p><div class="sites-clear goog-link-box command-sites-insert-folder-label"><a jotId="objectUrlField" class="sites-embed-url" href="'+W(a.objectUrl)+xa+W(b)+'</span></a><div id="goog-edit-insert-folder"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(c)+' />Include border around Google folder<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(e)+ea+W(f)+ua+W(g)+qa+W(h)+'" /> pixels</p><p><strong>Display as:</strong>&nbsp;&nbsp;<label class="sites-insert-folder-radio"><input jotId="list" type="radio" name="display" '+W(m)+' /> List</label><label class="sites-insert-folder-radio"><input jotId="grid" type="radio" name="display" '+W(k)+" /> Grid</label></p>"};t.Ac=function(){$J("goog-edit-insert-folder",A(this.fb.Jg,this.fb,"folder"))};var S2=function(a,b){M.call(this);this.yu=a;this.Xj=[];this.gKa(b)};C(S2,M);t=S2.prototype;t.A1=null;t.ue=null;t.L=null;t.zf=null;t.Lt=null;t.gKa=function(a){a.onChange=A(this.aCa,this);a.onCursorActivity=A(this.dCa,this);a.extraKeys={"Ctrl-Down":A(this.N4,this,!0),"Ctrl-Up":A(this.N4,this,!1)};this.L=a};t.j=function(){var a=Ow(n);this.zf=Ow(n);Ww(this.yu);this.yu.appendChild(this.zf);this.yu.appendChild(a);this.ue=new CodeMirror(a,this.L);this.focus()};
t.xb=function(){return this.ue?this.ue.getValue():null};t.focus=function(){this.ue&&this.ue.focus()};t.ana=function(a,b,c,e,f,g){D(a<c||a==c&&b<=e);D(null!=f);D(null!=g);b=this.K_(a,b);e=this.K_(c,e);b.line==e.line&&b.ch==e.ch&&(e=this.ue.posFromIndex(this.ue.indexFromPos(e)+1));e=this.ue.markText(b,e,"codeMirror-text-"+g);for(b=[];a<=c;a++){var h=this.ue.setMarker(a,"&#9679;","codeMirror-line-"+g);h&&b.push(h)}c=new T2(e,b,f,g);this.Xj.push(c);this.Tca(c)};
t.lFa=function(){for(var a=0;a<this.Xj.length;a++){this.Xj[a].sq.clear();for(var b=this.Xj[a].pAa,c=0;c<b.length;c++)this.ue.clearMarker(b[c])}this.Xj=[];this.Lt&&(this.Lt.clear(),this.Lt=null);nx(this.zf,"")};t.dCa=function(){for(var a=this.ue.getCursor(),b=0;b<this.Xj.length;b++){var c=this.Xj[b],e=c.sq.find();if(e.from&&e.to){var f=e.to.line>a.line||e.to.line==a.line&&e.to.ch>=a.ch;if((e.from.line<a.line||e.from.line==a.line&&e.from.ch<=a.ch)&&f){this.Tca(c);break}}}};
t.Tca=function(a){nx(this.zf,a.message);this.zf.className="codeMirror-message-"+a.e9;this.Lt&&this.Lt.clear();var b=a.sq.find();this.Lt=this.ue.markText(b.from,b.to,"codeMirror-highlight-"+a.e9)};t.K_=function(a,b){return{line:a,ch:b}};t.aCa=function(){clearTimeout(this.A1);this.A1=setTimeout(A(this.$Ba,this),1500)};t.$Ba=function(){this.dispatchEvent("onchangeidle")};
t.N4=function(a){for(var b=this.ue.indexFromPos(this.ue.posFromIndex(Number.MAX_VALUE)),c=this.ue.indexFromPos(this.ue.getCursor()),e=null,f=null,g=0;g<this.Xj.length;g++){var h=this.Xj[g].sq.find();h.from&&h.to&&(h=(this.ue.indexFromPos(h.from)-c+b)%b,0!=h&&(null==f||a&&f>h||!a&&f<h)&&(f=h,e=this.Xj[g]))}e&&(h=e.sq.find(),this.ue.setCursor(h.from))};var T2=function(a,b,c,e){this.sq=a;this.pAa=b;this.message=c;this.e9=e};var U2=function(a,b){this.Km=a;this.Yqa=b};C(U2,NJ);U2.prototype.cea=function(a,b,c){c=new w2(new Bw,this.Gta(),c?c:null);c.show();c.K$(this.Yqa,!0);c.addEventListener(dl,a,!1,this);c.addEventListener(Zf,b,!1,this);return c};U2.prototype.Gta=function(){return webspace.baseUri+Kb};U2.prototype.nJ=function(a,b){B2(a,window.JOT_clearDotPath,b)};U2.prototype.hda=function(a,b){z2(a,b);YJ.mU(a,b.Ih);YJ.rC(a);A2(a,b);a.setAttribute("data-dialog",this.Km)};var V2=function(){};C(V2,NJ);t=V2.prototype;t.re=Zg;t.Ha=Zg;t.Ud=/\/(file\/d\/|leaf\?id=)./;t.Qv=/video\/.+/;t.hf="https://docs.google.com/a/_domain_/leaf?id=_id_";t.yd="https://docs.google.com/leaf?id=_id_";t.xd=/(?:id=|\/d\/)([^&\/]*)/;t.ti=/docs.google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]+)/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?jg:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?jg:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.height=a||""},width:function(a,b){b.width=a||""}};t.hc=function(){return{showBorder:jg,showBorderTitle:jg,borderTitle:ed,objectTitle:ed,height:"265",width:"425"}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};
t.qc=function(a){var b=a.showBorder,c=a.showBorderTitle,e=a.borderTitle,f=a.height,g=a.width;return'<p>Paste the URL of your video in Google Docs.</p><p><input jotId="objectUrlField" size="52" value="'+W(a.objectUrl)+'" /><br/> <span class="goog-ws-grey">Example: https://docs.google.com/leaf?id=xxx</span></p><p><strong>Display:</strong></p><p><input id="showBorder" jotId="showBorder" type="checkbox" '+W(b)+' /> <label for="showBorder">Include border around the video</label><br/></p><p><input id="showBorderTitle" jotId="showBorderTitle" type="checkbox" '+
W(c)+aa+W(e)+'" /></p><p><label for="width">Width in pixels:</label> <input id="width" jotId="width" size="3" value="'+W(g)+'" /> </p><p><label for="height">Height in pixels:</label> <input id="height" jotId="height" size="3" value="'+W(f)+'" /> </p>'};var W2=function(){};C(W2,NJ);t=W2.prototype;t.hf=Fe;t.yd=Fe;t.xd=/(?:docid|contentId|ife)(?:=|%3D|\/)(-*[^&]*)/;t.EW=function(a){a=a.match(/\/a\/([^\s]*?)\//);var b=null;a&&(b=a[1],b!=b.replace(/[^a-zA-Z0-9\.\-]/g,"")&&(b=""));return b};t.Yg={protocol:/^s*(https?)/};t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Google Video"}};
t.Pb={objectUrlField:function(a,b){b.isDomainUrl=String(null!=a.match(/(\/a\/)/))},showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a}};
t.qc=function(a){var b=a.showBorder,c=a.showBorderTitle,e=a.borderTitle;return'<p>Paste the URL of your Google video.</p><p><input jotId="objectUrlField" size="52" value="'+W(a.objectUrl)+'" /><br/> <span class="goog-ws-grey">Example: https://video.google.com/a/ife/ca67113c56208830</span></p><p><strong>Display:</strong></p><p><input id="showBorder" jotId="showBorder" type="checkbox" '+W(b)+' /> <label for="showBorder">Include border around Google video</label><br/></p><p><input id="showBorderTitle" jotId="showBorderTitle" type="checkbox" '+
W(c)+aa+W(e)+ra};var X2=function(){this.za=null;this.m_=!1;this.fa=null;this.N=new rA(this)};C(X2,NJ);t=X2.prototype;t.oha="html-embed-dialog";t.rc={html:function(a,b){b.htmlContentValue=(a||"").replace(/&#xD;/g,"\n")}};t.hc=function(){return{borderTitle:"HTML Box",htmlContentValue:""}};t.Pb={bodyEl:function(a,b){if(this.za){var c=this.za.xb().replace(/\n/g,"&#xD;");b.html=c}}};
t.qc=function(){return'<div><div class="sites-html-embed-help-link"><a href="'+W("http://support.google.com/sites/bin/answer.py?hl=en&answer=2500646")+'" target="_blank">Help</a></div><div jotId="bodyEl" class="sites-editable-content"/></div>'};t.Ac=function(a,b){this.za=new S2(a.compParts.bodyEl,{mode:"htmlmixed",lineNumbers:!0,value:b.htmlContentValue});this.za.j();this.fa=a;this.m_=!1;this.N.o(this.za,"onchangeidle",A(this.TK,this,void 0));this.TK()};
t.Pp=function(a){return this.m_?(WF(Ec,pc,A(this.jL,this,a),null),!1):!0};t.jL=function(a){a.K(!1);a.dispose()};t.P4=function(a,b){a.setActionEnabled(!1);this.TK(function(c){a.setActionEnabled(!0);c=c.target.getResponseJson();c.errors&&0<c.errors.length&&!confirm("The HTML box will not be displayed until all errors are fixed. Are you sure you want to save with errors?")||b()})};
t.TK=function(a){var b=new oD(window.location.href);b.Ie(webspace.getPath(webspace.baseUri,webspace.page.path));b.setQuery("");b={html:this.za.xb(),requestUri:b.toString()};a=a||A(this.VBa,this);JOT_callGateway("EditorCajaCompile",b,a)};
t.VBa=function(a){var b=a.target.getResponseJson();this.za.lFa();a=[];b.errors&&Ps(a,b.errors);var c=a.length;b.warnings&&Ps(a,b.warnings);for(b=0;b<a.length;b++){var e=a[b],f=b<c?sh:"warning";if(0==e.indexOf("[Script Error]:")){var e=e.substring(15),g=this.pDa(e);g&&this.za.ana(Math.max(g.DLa-1,0),Math.max(g.ALa-1,0),Math.max(g.spa-1,0),Math.max(g.rpa-1,0),e,f)}}};
t.pDa=function(a){return(a=a.match(/^(\d+)\+(\d+)(?: - (?:(\d+)\+)?(\d+))?:(.*)$/))?{DLa:parseInt(a[1],10),ALa:parseInt(a[2],10),spa:parseInt(a[3]||a[1],10),rpa:parseInt(a[4]||a[2],10),message:a[5]}:null};var Y2=function(a,b,c,e,f,g,h){this.Xy=a;this.name=b;this.description=c||"";this.dHa=!!e;this.dca=f||null;this.aGa=g||"MYSELF";this.NFa=!!h};Y2.prototype.qma=function(){var a=this.aGa;return{objectUrl:this.Uta(this.dca),libId:this.Xy,objectTitle:this.name,enabled:this.Vx(this.dHa),restrictionMyself:this.Vx("MYSELF"==a),restrictionDomain:this.Vx("DASHER"==a),restrictionAnyone:this.Vx("ANYONE"==a),allowAnonymous:this.Vx(!this.NFa)}};
Y2.prototype.Uta=function(a){var b=new oD(window.location.href);return webspace.isConsumer?b.Ie("/macros/s/"+a+"/exec").toString():b.Ie("/a/macros/"+webspace.domain+"/s/"+a+"/exec").toString()};Y2.prototype.Vx=function(a){return a+""};var Z2=function(a,b,c){this.scripts=a||null;this.TM=!!b;this.HM=c||null},$2=function(a){if(a.error)return new Z2(null,!0,a.error);a=ys(a,function(a){return new Y2(a.id,a.name,a.description,a.enabled==r,a.serviceId,a.restriction,a.requireAuthorization==r)});return new Z2(a)};var a3=null,b3=function(a){null!=a3?a(a3):JOT_callGateway("ListScriptsOwned",{},function(b){b=b.target.getResponseJson();b=$2(b);b.TM?a(b):(a3=b,a(a3))})};var c3=function(a){this.ma=a||N();this.E8={};this.MQ={};this.eW=this.fa=null};Qq(c3);t=c3.prototype;t.kAa=function(a){var b=UG.embedding;b&&b.setVisible(!1);this.Nya(a)};t.Nya=function(a){if(this.fa)this.fa.K(!0);else{this.fa=new JG("modal-dialog",!0);this.fa.Xc("Insert...");var b=(new IA).set(dl,"Select",!0).set(Zf,Ac,!1,!0);this.fa.co(b);K(this.fa,Pg,A(this.sE,this,a));this.fa.nI(DG({Ed:"",HAa:"Loading..."}).uo());this.fa.K(!0);b3(A(this.PQ,this))}};
t.PQ=function(a){var b=this.ma.b("maestro-embed-script-list");this.ma.wh(b);a.TM?this.sFa(b,a.HM):0==a.scripts.length?this.xFa(b):this.yFa(b,a.scripts)};t.sFa=function(a,b){this.ma.Je(a,ue+b)};t.xFa=function(a){this.ma.Je(a,"You do not own any Apps Scripts on this site.")};t.yFa=function(a,b){var c=a.appendChild(this.ma.j("ul"));c.className="goog-ws-ig-maestro-list";for(var e=0;e<b.length;e++)c.appendChild(this.RS(b[e].Xy,b[e].name)),this.E8[b[e].Xy]=b[e]};
t.sE=function(a,b){var c=UG.embedding;if(dl==b.key){var e=O("manual-object-url-field").value;if(e)if(c&&c.dispose(),this.eW&&!pr(e).match(this.eW))alert("This URL is not recognized as a valid Apps Script.");else{var f;a.gu(wk,oc,f,{objectUrl:e,libId:"",objectTitle:"",enabled:"",restrictionMyself:"",restrictionDomain:"",restrictionAnyone:"",allowAnonymous:""})}else c&&(f=c.image,c.image=null,JOT_postEvent(Og)),a.gu(wk,oc,f,this.E8[this.$q].qma())}else c&&c.setVisible(!0)};
t.RS=function(a,b){var c=fF(EG,{title:Gr(b)}),e=this.ma.Ym(c);this.MQ[a]=e;var f=-1==xv(b,void 0)?fn:uk;e.setAttribute(Qg,f);e.id=a;K(e,Kk,A(this.NH,this,a),!1,this);return c};t.NH=function(a){this.$q&&Hx(this.MQ[this.$q],sn);this.$q=a;Fx(this.MQ[a],sn)};t.mKa=function(a){this.eW=a};var d3=function(a,b){this.ma=b||N();this.fb=a};C(d3,NJ);t=d3.prototype;t.yd="_id_";t.xd=/^(https?:\/\/(?:(?:sites(?:\.sandbox)?\.google\.com)|(?:script(?:\.sandbox)?\.google\.com)|(?:.+\.corp\.google\.com(:\d+)?)|(?:s\.svc-1\.google\.com))\/(?:(?:a\/macros\/[^\/]+)|(?:macros))\/(?:(?:exec\?service=[^\/]+$)|(?:s\/[^\/]+\/exec)))/;
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},libId:function(a,b){b.libId=a||""},enabled:function(a,b){b.enabled=a||""},restrictionMyself:function(a,b){b.restrictionMyself=a==r?l:""},restrictionDomain:function(a,b){b.restrictionDomain=a==
r?l:""},restrictionAnyone:function(a,b){b.restrictionAnyone=a==r?l:""},allowAnonymous:function(a,b){b.allowAnonymous=a==r?l:""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:oc,heightValue:"200",widthValue:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},height:function(a,b){b.height=a},width:function(a,b){b.width=a},objectTitle:function(a,b){b.objectTitle=this.ma.gua(a)},libId:function(a,b){b.libId=a},enabled:function(a,b){b.enabled=a},restrictionMyself:function(a,b){b.restrictionMyself=a?r:Ah},restrictionDomain:function(a,b){b.restrictionDomain=a?r:Ah},restrictionAnyone:function(a,b){b.restrictionAnyone=
a?r:Ah},allowAnonymous:function(a,b){b.allowAnonymous=a?r:Ah}};t.qc=function(){return'<p id="maestro-embed-loading">Loading...</p>'};t.Ac=function(a,b){b3(A(this.sva,this,a,b))};
t.sva=function(a,b,c){if(c.TM)a=fF(CG),this.XT(a);else{if(0<c.scripts.length)for(var e=(new oD(b.objectUrl)).yc(zn),f=0;f<c.scripts.length;f++)if(e==c.scripts[f].dca){this.XT(this.L_(b,!1,this.bsa(b.libId)));this.Y6();this.Iya();a.compParts=JOT_getCompParts(a.contentEl.firstChild);return}this.XT(this.L_(b,!0));this.Y6();a.compParts=JOT_getCompParts(a.contentEl.firstChild)}};t.Y6=function(){$J("goog-edit-insert-maestro-change",A(this.fb.Jg,this.fb,wk))};
t.Iya=function(){if(webspace.canPublishScriptToAnyone){var a=this.ma.b("maestro-gadget-restr-self"),b=this.ma.b("maestro-gadget-restr-dom");this.rY=this.ma.b("maestro-gadget-restr-any");this.qka=this.ma.b("maestro-gadget-restr-anonymous-label");this.uK=this.ma.b("maestro-gadget-restr-anonymous");this.aJ();K(a,ng,A(this.aJ,this));null!=b&&K(b,ng,A(this.aJ,this));K(this.rY,ng,A(this.aJ,this));K(this.uK,ng,A(this.OKa,this))}};t.aJ=function(){webspace.canPublishScriptToAnyone&&S(this.qka,this.rY.checked)};
t.OKa=function(){this.uK.checked&&!confirm("Warning: You are allowing any user to run this script AS YOU. Make sure that the script does not expose your personal data. Are you certain this is what you want to do?")&&(this.uK.checked=!1)};
t.L_=function(a,b,c){var e={Ed:a.objectUrl,Dq:a.objectTitle,qr:a.showBorder,rr:a.showBorderTitle,Mo:a.borderTitle,Wp:a.heightValue,Nr:a.widthValue,Xy:a.libId,dGa:a.restrictionMyself,cGa:a.restrictionDomain,bGa:a.restrictionAnyone,gka:a.allowAnonymous,l7:b,canPublishScriptToAnyone:webspace.canPublishScriptToAnyone,isConsumer:webspace.isConsumer,fpa:webspace.user.primaryEmail,domain:webspace.domain};b||st(e,{cpa:c});pr(a.objectUrl).match(this.xd)||(e.Ed="");return fF(BG,e)};
t.XT=function(a){var b=this.ma.b("maestro-embed-loading");this.ma.rl(a,b);this.ma.removeNode(b)};t.bsa=function(a){var b=new oD(window.location.href);return webspace.isConsumer?b.Ie("/macros/edit").ia("lib",a).toString():b.Ie("/a/macros/"+webspace.domain+"/edit").ia("lib",a).toString()};t.JQ=function(a){var b=c3.S();b.mKa(this.xd);b.kAa(a)};
t.I5=function(a){var b=a.restrictionMyself==r,c=a.restrictionDomain==r,e=a.restrictionAnyone==r,f=a.allowAnonymous!=r;if(!b||c||e)if(b||!c||e){if(b||c||!e)return;b="ANYONE"}else b="DASHER",f=!0;else b="MYSELF",f=!0;JOT_callGateway("PublishScriptAsService",{libId:a.libId,restriction:b,requireAuthorization:f},function(){})};var e3=function(a){this.fb=a};C(e3,NJ);t=e3.prototype;t.re=yk;t.Ud=/https?:\/\/maps\.google\..+/;t.Ha=yk;t.yd="http://maps.google.com/_id_";t.xd=/maps\.google\.[^\/]+\/(.+)/;t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Google Map",objectTitle:"Google Map",heightValue:"500",widthValue:""}};t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},objectUrl:function(a,b){b.objectUrl=a},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};
t.qc=function(a){var b=a.objectTitle,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle,g=a.heightValue,h=a.widthValue;return'<p><div class="sites-clear goog-link-box command-sites-insert-map-label"><span class="goog-toolbar-menu-item-icon" style="display:block;width:16px;height:15px;margin-left:5px;"> </span><a jotId="objectUrlField" class="sites-embed-url" href="'+W(a.objectUrl)+xa+W(b)+'</span></a><div id="goog-edit-insert-map-change"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+
W(c)+' />Include border around Google Map<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+W(e)+ea+W(f)+ua+W(g)+qa+W(h)+pa};t.Ac=function(){$J(ri,A(this.fb.Jg,this.fb,"map"))};var f3=function(a){this.fb=a;this.Ud=new RegExp(f3.prototype.FW);this.xd=new RegExp(f3.prototype.FW+"[^?]+(\\?.+)")};C(f3,e3);f3.prototype.FW="^https?://(?:mapsengine\\.google\\.[^/]+/map/|www\\.google\\.[^/]+/maps/d/)";f3.prototype.Ha=zk;f3.prototype.yd="http://mapsengine.google.com/map/edit_id_";f3.prototype.Ac=function(){$J(ri,A(this.fb.Jg,this.fb,"mapsengine"))};var g3=function(){};C(g3,NJ);t=g3.prototype;t.re=Il;t.Ha=Il;t.Ud=/.+\/(fileview)\?(id)=.+/;t.hf="https://docs.google.com/a/_domain_/fileview?id=_id_";t.yd="https://docs.google.com/fileview?id=_id_";t.xd=/id=([^&]*)/;t.ti=/docs.google.com\/a\/(.*?)\//;
t.rc={showBorder:function(a,b){b.showBorder=a==r?jg:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?jg:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""}};t.hc=function(){return{showBorder:jg,showBorderTitle:jg,borderTitle:"PDF",objectTitle:"PDF",heightValue:"600",widthValue:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};t.qc=function(a){return FG({Ed:a.objectUrl,Dq:a.objectTitle,qr:a.showBorder,rr:a.showBorderTitle,Mo:a.borderTitle,Wp:a.heightValue,Nr:a.widthValue,type:"pdf"})};var h3=function(){};C(h3,NJ);t=h3.prototype;t.yd="https://plus.google.com/photos/_id_";t.xd=/https?:\/\/(?:(?:picasaweb|photos).google.(?:com|com.[a-z]{2}|[a-z]{2}|co.[a-z]{2}?)|plus.google.com\/photos)\/([^"&#?]*)/;t.Yg={authkey:/authkey=([^&#]*)/};t.re=Ll;t.Ha=Ll;t.Ud=/:\/\/picasaweb\.google\.com\/[^#]+#?$/;t.Kw=function(a,b){var c=a.authkey;c&&(b.objectUrl+="?authkey="+c)};
t.rc={size:function(a,b){a==qo?b.sizeSelectedSmall=tn:a==Ek?b.sizeSelectedMedium=tn:a==ck?b.sizeSelectedLarge=tn:"exLarge"==a?b.sizeSelectedExLarge=tn:"exExLarge"==a&&(b.sizeSelectedExExLarge=tn)},showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},showCaptions:function(a,b){b.checkedShowCaptions=a==r?l:""},autoplay:function(a,b){b.checkedAutoplay=a==r?l:""}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Google+ Photo Album",sizeSelectedMedium:tn,checkedAutoplay:l}};
t.Pb={sizeSmall:function(a,b){a&&(b.size=qo)},sizeMedium:function(a,b){a&&(b.size=Ek)},sizeLarge:function(a,b){a&&(b.size=ck)},sizeExLarge:function(a,b){a&&(b.size="exLarge")},sizeExExLarge:function(a,b){a&&(b.size="exExLarge")},showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},showCaptions:function(a,b){b.showCaptions=a?r:Ah},autoplay:function(a,b){b.autoplay=a?r:Ah}};
t.qc=function(a){var b=a.sizeSelectedSmall,c=a.sizeSelectedMedium,e=a.sizeSelectedLarge,f=a.sizeSelectedExLarge,g=a.sizeSelectedExExLarge,h=a.checkedShowCaptions,k=a.checkedAutoplay,m=a.showBorder,p=a.showBorderTitle,u=a.borderTitle;return'<p>Paste the URL of your PicasaWeb album.</p><p><input jotId="objectUrlField" size="52" value="'+W(a.objectUrl)+'" /><br/><span class="goog-ws-grey">Example: http://picasaweb.google.com/jkraus/ArielAtomArrival0108</span></p><p><strong>Slideshow options</strong><br/>Select slideshow size<select><option jotId="sizeSmall" '+
W(b)+'>Small 144px</option><option jotId="sizeMedium" '+W(c)+'>Medium 288px</option><option jotId="sizeLarge" '+W(e)+'>Large 400px</option><option jotId="sizeExLarge" '+W(f)+'>Extra large 600px</option><option jotId="sizeExExLarge" '+W(g)+'>Extra-extra large 800px</option></select></p><p><input jotId="showCaptions" type="checkbox" '+W(h)+'> Show captions<br/><input jotId="autoplay" type="checkbox" '+W(k)+'> Autoplay</p><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+
W(m)+' /> Include border around Google Picasa Web slideshow<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+W(p)+ba+W(u)+ra};var i3=function(){};C(i3,NJ);i3.prototype.re=Ql;i3.prototype.Ha=Ql;i3.prototype.Ud=/:\/\/picasaweb\.google\.com\/lh\/photo\/.+|:\/\/picasaweb\.google\.com\/[^/]+\/[^#]+#.+|https?:\/\/lh[0-9]+\.ggpht\.com|https?:\/\/lh[0-9]+\.google\.[.a-z]+\/|https?:\/\/lh[0-9]+\.googleusercontent\.[.a-z]+\//;var j3=/\.(jpg|jpeg|gif|png)$/i;
i3.prototype.$K=function(a){var b=a.thumbnails;if(!b){var c=a.url;if(j3.test(c))return{url:c,anchorUrl:c};-1!=c.indexOf("picasaweb.google.com")&&(this.HM='This URL is not supported. To embed a Picasa image, use the "Link to this photo" -> "Embed image" with "image only" selected');return null}var e=b[b.length-1],c=e.url,f=TY.large;if(e.height>f||e.width>f)for(var g=b.length;g--;)if(e=b[g],e.height==f||e.width==f){c=e.url;break}return{url:c,anchorUrl:a.url}};
i3.prototype.LP=function(a,b,c,e,f){(a=a.Qt(b,c,e,!1,f))&&(Yt||LW(a,!1));return a};var k3=function(){};t=k3.prototype;t.M$=null;t.sJ=null;t.pga=null;t.dW=null;t.DZ=null;t.Ac=function(a,b,c,e){this.pga=O(c);this.DZ=O(a);this.dW=O(b);this.sJ=new y1;this.M$=e;K(this.sJ,fj,this.hva,!1,this);K(new dy(this.DZ),Le,A(this.rea,this));this.sJ.gIa({hLa:!0,kLa:!webspace.plusPageUrl});webspace.plusPageUrl||this.rea()};t.rea=function(){this.sJ.K(!0)};t.hva=function(){webspace.plusPageUrl?this.jNa():this.M$.K(!1)};
t.jNa=function(){var a=webspace.plusPageUrl;S(this.pga,!!a);a&&(this.dW.href=a,nx(this.dW,a))};var l3=function(){this.IDa=new k3};C(l3,NJ);var m3={badge:131,smallbadge:69,largeicon:64,mediumicon:32,smallicon:16},n3={badge:300,smallbadge:300,largeicon:64,mediumicon:32,smallicon:16},o3={vW:"changeUrlId",qX:"urlPreviewAnchorId",pX:"urlPreviewId"},p3=0;t=l3.prototype;t.TE=null;t.rc={style:function(a,b){b.style=a||"badge"}};t.hc=function(){return{borderTitle:"Google+ badge",height:m3.badge,style:"badge",width:n3.badge}};t.Pb={style:function(a,b){b.style=a;b.height=m3[a];b.width=n3[a]}};
t.PAa=function(a){return a+"-"+p3++};t.OAa=function(){var a={},b;for(b in o3)a[b]=this.PAa(o3[b]);return a};
t.qc=function(a){a=a.style;var b,c;webspace.plusPageUrl&&(b=webspace.plusPageUrl);c=this.TE=this.OAa();return'<p>Link your Google+ page to your site.</p><p>The Google+ badge helps you grow your audience on Google+ and show more recommendations in Google search by letting people add you to their circles and +1 your page, all without leaving your site.</p><p><a href="https://developers.google.com/+/plugins/badge/" target="_blank">Learn more about Google+ badges</a></p><p id="'+W(c.pX)+'" '+(b?"":'style="visibility:none"')+
'><span class="sites-plus-page-url-preview">This badge will link to: <a id="'+W(c.qX)+'" target="_new" href="'+W(b)+Aa+W(b)+'</a></span> <span id="'+W(c.vW)+'" class="plus-page-change-url">Change</span></p><div><p><label for="size" class="sites-plusone-properties-label">Style:</label> <select jotId="style" id="style"><option value="badge" '+("badge"==a?sn:"")+'>Standard badge</option><option value="smallbadge" '+("smallbadge"==a?sn:"")+'>Small badge</option><option value="smallicon" '+("smallicon"==
a?sn:"")+'>Small icon</option><option value="mediumicon" '+("mediumicon"==a?sn:"")+'>Medium icon</option><option value="largeicon" '+("largeicon"==a?sn:"")+">Large icon</option></select></p></div>"};t.Ac=function(a){this.IDa.Ac(this.TE.vW,this.TE.qX,this.TE.pX,a)};var q3=function(){this.xz=!1};C(q3,NJ);t=q3.prototype;t.rc={size:function(a,b){b.size=a||Ao},showCount:function(a,b){b.showCount=a==r?jg:""}};t.hc=function(){return{borderTitle:"+1 button",size:Ao,showCount:jg}};t.Pb={size:function(a,b){b.size=a},showCount:function(a,b){b.showCount=a?r:Ah}};
t.qc=function(a){var b=a.size;return'<div class="sites-placeholder-plusone-standard-nocount"></div><p>The +1 button is shorthand for "this is pretty cool" or "you should check this out." Let visitors recommend your pages and help your site stand out by adding the button.</p><p><a href="http://www.google.com/+1button" target="_blank">Learn more about the +1 button</a></p><div ><p><label for="showCount" class="sites-plusone-properties-label">Show click count</label><input jotId="showCount" id="showCount" type="checkbox" '+W(a.showCount)+
' /></p><p><label for="size" class="sites-plusone-properties-label">Size</label><select jotId="size" id="size"><option value="small" '+(b==qo?sn:"")+'>Small</option><option value="medium" '+(b==Ek?sn:"")+'>Medium</option><option value="standard" '+(b==Ao?sn:"")+'>Standard</option><option value="tall" '+("tall"==b?sn:"")+">Tall</option></select></p></div>"};t.M5=function(){var a=O("showCount");"tall"==Wx(O("size"))?(Vx(a,!0),this.xz||(this.xz=!!Wx(a)),Xx(a,r)):(Vx(a,!1),this.xz&&(Xx(a,r),this.xz=!1))};
t.Ac=function(){var a=O("size");this.xz=!1;this.M5();K(a,bg,this.M5,!1,this)};var r3=function(a){this.fb=a};C(r3,NJ);t=r3.prototype;t.re=Wg;t.Ha=Gm;t.Ud=/present\/.*?(?:view|edit|embed)\?|\/Presentation\?(?:docid|id)/;t.hf="http://docs.google.com/a/_domain_/present/edit?id=_id_";t.yd="http://docs.google.com/present/edit?id=_id_";t.xd=/id=([^&]*)/;t.ti=/docs.google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]*)/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},size:function(a,b){"med"==a?b.sizeSelectedMed=tn:a==ck?b.sizeSelectedLarge=tn:b.sizeSelectedSmall=tn},autoStart:function(a,b){b.autoStart=a==r?l:""},loop:function(a,b){b.loop=a==r?l:""}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:hd,objectTitle:hd,sizeSelectedSmall:tn,autoStart:"",loop:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},sizeSmall:function(a,b){a&&(b.size=qo)},sizeMed:function(a,b){a&&(b.size="med")},sizeLarge:function(a,b){a&&(b.size=ck)},autoStart:function(a,b){b.autoStart=a?r:Ah},loop:function(a,b){b.loop=a?r:Ah}};
t.qc=function(a){var b=a.objectTitle,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle,g=a.sizeSelectedSmall,h=a.sizeSelectedMed,k=a.sizeSelectedLarge,m=a.autoStart,p=a.loop;return ac+W(a.objectUrl)+xa+W(b)+Tb+W(c)+ca+W(e)+ea+W(f)+ta+W(m)+ia+W(p)+ha+W(g)+fc+W(h)+ec+W(k)+dc};t.Ac=function(){$J(si,A(this.fb.Jg,this.fb,"presently"))};var s3=function(a){this.fb=a};C(s3,NJ);t=s3.prototype;t.re=Wg;t.Ha=Pm;t.Ud=/presentation\/d\/.*\/.*?(?:present|edit|embed|pub|view)/;t.hf="http://docs.google.com/a/_domain_/presentation/d/_id_/edit";t.yd="http://docs.google.com/d/presentation/_id_/edit";t.xd=/\/d\/([^&]*)\//;t.ti=/docs.google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]*)/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},size:function(a,b){"med"==a?b.sizeSelectedMed=tn:a==ck?b.sizeSelectedLarge=tn:b.sizeSelectedSmall=tn},autoStart:function(a,b){b.autoStart=a==r?l:""},loop:function(a,b){b.loop=a==r?l:""}};
t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:hd,objectTitle:hd,sizeSelectedSmall:tn,autoStart:"",loop:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},sizeSmall:function(a,b){a&&(b.size=qo)},sizeMed:function(a,b){a&&(b.size="med")},sizeLarge:function(a,b){a&&(b.size=ck)},autoStart:function(a,b){b.autoStart=a?r:Ah},loop:function(a,b){b.loop=a?r:Ah}};
t.qc=function(a){var b=a.objectTitle,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle,g=a.sizeSelectedSmall,h=a.sizeSelectedMed,k=a.sizeSelectedLarge,m=a.autoStart,p=a.loop;return ac+W(a.objectUrl)+xa+W(b)+Tb+W(c)+ca+W(e)+ea+W(f)+ta+W(m)+ia+W(p)+ha+W(g)+fc+W(h)+ec+W(k)+dc};t.Ac=function(){$J(si,A(this.fb.Jg,this.fb,Pm))};var t3=function(){};C(t3,NJ);t3.prototype.dF=function(a){var b={};a.title&&(b.legacyTitle=a.title);return b};
t3.prototype.rc={showBorder:function(a,b,c){b.showBorder=c.legacyTitle?l:a==r?l:""},showBorderTitle:function(a,b,c){b.showBorderTitle=c.legacyTitle?l:a==r?l:""},borderTitle:function(a,b,c){b.borderTitle=a?uv(a):c.legacyTitle},num:function(a,b){b.numVal=a||5},srcPage:function(a,b){b.srcPage=a},introPost:function(a,b){b.introPost=a||""},postLength:function(a,b){b.postLength=a},showThumbnail:function(a,b){b.showThumbnail=a==r?l:""}};
t3.prototype.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Recent Announcements",numVal:5,introPost:"",postLength:"SMALL",showThumbnail:""}};
t3.prototype.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a;b.title=null},numEl:function(a,b){b.num=a},pagesEl:function(a,b){b.srcPage=a},introPost:function(a,b){a&&!this.hza(a)?b.introPost=a:b.introPost=null},postLength:function(a,b){b.postLength=a},showThumbnail:function(a,b){b.showThumbnail=a?r:Ah}};var u3={SMALL:"Short snippet",MEDIUM:"Medium snippet",FULL:"Full post"};t=t3.prototype;
t.qc=function(a){var b=a.numVal,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle;return'<div><p><strong>Show posts from:</strong><br/><select jotId="pagesEl"><option>Loading...</option></select></p><p><strong>Post length:</strong><br/><select jotId="postLength"><option>Loading...</option></select><br/><input jotId="showThumbnail" type="checkbox" '+W(a.showThumbnail)+' /> Include thumbnail of first image in post</p><p><strong>Number of posts to display:</strong> <input jotId="numEl" size="2" value="'+
W(b)+'" /></p><hr /><p><span id="sites-recentannouncement-intro-head"><span jotId="sites-recentannouncement-intro-icon" class="sites-attachment-icon"></span><strong>Add an intro post to your announcements</strong></span></p><div id="sites-recentannouncement-intro-container" class="goog-s-intro-text-wrapper"><div jotId="introPost"></div></div><hr/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(c)+' /> Include border around Recent announcements<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(e)+' /> Include title:<input jotId="borderTitle" size="40" value="'+W(f)+sa};
t.Ac=function(a,b){webspace.shallowSearch({forAll:!0,filterName:"recentannouncements"},A(this.NDa,this,a,b.srcPage));var c=a.compParts.postLength;Ww(c);for(var e in u3){var f=Ow(pl,{value:e});nx(f,u3[e]);e==b.postLength&&(f.selected=!0);c.appendChild(f)}a.compParts.introPost.id=dp;c=cX;e=new K2(webspace.page.path,a2(!0));f=nY(b.targetElement,!1,!0);e.wB(dp,!1,null,f).hb(b.introPost);e.bo(200);e.open(!0);f=new yQ("sites-recentannouncement-intro-head","sites-recentannouncement-intro-container");K(f,
hp,A(this.cza,this,a));b.introPost&&f.expand();a.Gi=e;a.mDa=c;a.compParts.borderTitle.focus()};t.cza=function(a,b){var c=a.compParts["sites-recentannouncement-intro-icon"];c&&(b.Dpa?R(c,Ef,"-84px -12px"):R(c,Ef,"-84px -1px"))};t.Pp=function(a){if(a.editor){if(a.editor.mn()&&!confirm(pc))return!1;a.editor.Pl()}};t.tE=function(a){a.editor&&a.editor.Pl()};t.hza=function(a){if(/<img/i.test(a))return!1;a=a.replace(/<\/?[^>]*\/?>/ig,"");a=a.replace(/(&nbsp;|&#160;)/ig,"");return""==a||"\u00a0"==a||mr(a)};
t.mea=function(a,b){var c=b.compParts.pagesEl;c.style.display=Yk;var e=Ow(Io,{style:qg});nx(e,a);c.parentNode.insertBefore(e,c);Zw(c);Zw(b.compParts.btnOk)};
t.NDa=function(a,b,c){var e=a.compParts.pagesEl;Ww(e);c=c.target.getResponseJson();if(0==c.length)this.mea("You can only display items from an existing announcements page.",a);else{for(var f=webspace.page.parentWuid,g=webspace.page.type,h=0;h<c.length;h++)if(c[h].wuid!=f||"announcements"!=g){var k=Gr(c[h][xk]),m=c[h].wuid,m=m.substring(8),p=Ow(pl,{value:m});nx(p,k);m==b&&(p.selected=!0);e.appendChild(p)}1>e.options.length&&this.mea("You can only display items from other announcement pages.",a)}};var v3=function(){};C(v3,NJ);t=v3.prototype;t.dF=function(a){var b={};a.title&&(b.legacyTitle=a.title);return b};t.rc={showBorder:function(a,b,c){b.showBorder=c.legacyTitle?l:a==r?l:""},showBorderTitle:function(a,b,c){b.showBorderTitle=c.legacyTitle?l:a==r?l:""},borderTitle:function(a,b,c){b.borderTitle=a?uv(a):c.legacyTitle},num:function(a,b){b.numVal=a||5},srcPage:function(a,b){b.srcPage=a}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Recent Files",numVal:5}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a;b.title=null},numEl:function(a,b){b.num=a},pagesEl:function(a,b){b.srcPage=a}};
t.qc=function(a){var b=a.showBorder,c=a.showBorderTitle,e=a.borderTitle;return'<div><p><strong>Show files from: </strong><br /><select jotId="pagesEl"><option>Loading...</option></select></p><p>Number of files to show: <input jotId="numEl" size="2" value="'+W(a.numVal)+'" /></p><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(b)+' /> Include border around Recent Files<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+W(c)+ba+W(e)+sa};
t.Ac=function(a,b){webspace.shallowSearch({forAll:!0,filterName:"recentfiles"},function(c){var e=a.compParts.pagesEl;Ww(e);c=c.target.getResponseJson();if(0==c.length)e.style.display=Yk,c=Ow(Io,{style:qg}),nx(c,"You can only display listings from an existing file cabinet."),e.parentNode.insertBefore(c,e),Zw(e),Zw(a.compParts.btnOk);else for(var f=0;f<c.length;f++){var g=Gr(c[f][xk]),h=c[f].wuid,h=h.substring(8),k=Ow(pl,{value:h});nx(k,g);h==b.srcPage&&(k.selected=!0);e.appendChild(k)}})};var w3=function(){};C(w3,NJ);t=w3.prototype;t.dF=function(a){var b={};a.title&&(b.legacyTitle=a.title);return b};
t.rc={showBorder:function(a,b,c){b.showBorder=c.legacyTitle?l:a==r?l:""},showBorderTitle:function(a,b,c){b.showBorderTitle=c.legacyTitle?l:a==r?l:""},borderTitle:function(a,b,c){b.borderTitle=a?uv(a):c.legacyTitle},num:function(a,b){b.numVal=a},srcPage:function(a,b){b.srcPage=a},sortedBy:function(a,b){b.sortedBy=a},sortedByAsc:function(a,b){b.sortedByAsc=a==r?l:""},sortedByDesc:function(a,b){b.sortedByDesc=a==r?l:""},sortedBy1:function(a,b){b.sortedBy1=a},sortedByAsc1:function(a,b){b.sortedByAsc1=
a==r?l:""},sortedByDesc1:function(a,b){b.sortedByDesc1=a==r?l:""},sortedBy2:function(a,b){b.sortedBy2=a},sortedByAsc2:function(a,b){b.sortedByAsc2=a==r?l:""},sortedByDesc2:function(a,b){b.sortedByDesc2=a==r?l:""},displayColumns:function(a,b){b.displayColumns=a}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:"Recent List Items",numVal:5,sortedByAsc:l,sortedByDesc:"",sortedByAsc1:l,sortedByDesc1:"",sortedByAsc2:l,sortedByDesc2:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a;b.title=null},numEl:function(a,b){b.num=a},pagesEl:function(a,b){b.srcPage=a},sortedBy:function(a,b){b.sortedBy=a},sortedByAsc:function(a,b){b.sortedByAsc=a?r:Ah},sortedByDesc:function(a,b){b.sortedByDesc=a?r:Ah},sortedBy1:function(a,b){b.sortedBy1=a},sortedByAsc1:function(a,b){b.sortedByAsc1=a?r:Ah},sortedByDesc1:function(a,b){b.sortedByDesc1=a?r:Ah},
sortedBy2:function(a,b){b.sortedBy2=a},sortedByAsc2:function(a,b){b.sortedByAsc2=a?r:Ah},sortedByDesc2:function(a,b){b.sortedByDesc2=a?r:Ah},displayColumns:function(a,b,c){a=Sq(c)?c:[c];c=[];for(var e=0;e<a.length;e++)a[e].checked&&c.push(a[e].value);b.displayColumns=c.join(",")}};
t.qc=function(a){var b=a.showBorder,c=a.showBorderTitle,e=a.borderTitle,f=a.sortedByAsc,g=a.sortedByDesc,h=a.sortedByAsc1,k=a.sortedByDesc1,m=a.sortedByAsc2,p=a.sortedByDesc2;return'<div><p><strong>Show list items from:</strong><br /><select jotId="pagesEl"><option>Loading...</option></select></p><p><div><strong>Select the columns you wish to display:</strong><br/><ul jotId="colsToDisplay" class="sites-list-embed-col-checkboxes"></ul></div></p><p><strong>Number of list items to show: </strong><input jotId="numEl" size="2" value="'+W(a.numVal)+
'" /></p><p><strong>Sorting:</strong></p><table><tr><td>First sort by:</td><td><select jotId="sortedBy"><option>Loading...</option></select></td></tr><tr><td colspan="2" class="sites-list-embed-sort"><input type="radio" jotid="sortedByAsc" name="sort0-order" '+W(f)+' /> Ascending<input type="radio" jotid="sortedByDesc" name="sort0-order" '+W(g)+' /> Descending</td></tr><tr><td>Then sort by:</td><td><select jotId="sortedBy1"><option>Loading...</option></select></td></tr><tr><td colspan="2" class="sites-list-embed-sort"><input type="radio" jotid="sortedByAsc1" name="sort1-order" '+
W(h)+' /> Ascending<input type="radio" jotid="sortedByDesc1" name="sort1-order" '+W(k)+' /> Descending</td></tr><tr><td>Then sort by:</td><td><select jotId="sortedBy2"><option>Loading...</option></select></td></tr><tr><td colspan="2" class="sites-list-embed-sort"><input type="radio" jotid="sortedByAsc2" name="sort2-order" '+W(m)+' /> Ascending<input type="radio" jotid="sortedByDesc2" name="sort2-order" '+W(p)+' /> Descending</td></tr></table><br/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+
W(b)+' /> Include border around Recent list items<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+W(c)+ba+W(e)+sa};
t.Ac=function(a,b){webspace.shallowSearch({forAll:!0,filterName:"handlePostLaunch"},function(c){var e=a.compParts.pagesEl;Ww(e);c=c.target.getResponseJson();if(0==c.length)e.style.display=Yk,c=Ow(Io,{style:qg}),nx(c,"You can only display items from an existing list page."),e.parentNode.insertBefore(c,e),Zw(e),Zw(a.compParts.btnOk);else{for(var f=0;f<c.length;f++){var g=Gr(c[f][xk]),h=c[f].wuid,h=h.substring(8),k=Ow(pl,{value:h});nx(k,g);h==b.srcPage&&(k.selected=!0);e.appendChild(k)}c=function(){webspace.search({forAll:!0,
filterName:"loadListData",filterVars:{$selectedWuid:"wuid:gx:"+e.options[e.selectedIndex].value}},function(c){function e(a,c){var f=Ow(pl,{value:"time"});nx(f,"Edit time");var g=Ow(pl,{value:"createTime"});nx(g,"Create time");"time"==b[a]?f.selected=!0:"createTime"==b[a]&&(g.selected=!0);c.appendChild(f);c.appendChild(g)}function f(a,c){for(var e=0;e<da.length;e++){var g=da[e],h=Ow(pl,{value:g});nx(h,ma[g].colName);da[e]==b[a]&&(h.selected=!0);c.appendChild(h)}G&&(c.style.zoom=1)}var g=a.compParts.sortedBy;
Ww(g);var h=a.compParts.sortedBy1;Ww(h);var k=a.compParts.sortedBy2;Ww(k);c=c.target.getResponseJson()[0];var ma=c["list/colInfo"],da=c["list/colOrder"];c=[];if(b.displayColumns)for(var Zb=b.displayColumns.split(","),Xc=0;Xc<Zb.length;Xc++)c.push(Zb[Xc]);Xc=Ow(pl,{value:""});nx(Xc,"Select...");h.appendChild(Xc);k.appendChild(Xc.cloneNode(!0));e("sortedBy",g);e("sortedBy1",h);e("sortedBy2",k);f("sortedBy",g);f("sortedBy1",h);f("sortedBy2",k);g=a.compParts.colsToDisplay;Ww(g);for(Xc=0;Xc<da.length;Xc++){var h=
da[Xc],k=Ow("li"),Zb=Ow(vo),tg=Ow(Ej,{type:hg,name:Ug,value:h});tg.setAttribute("jotId",Ug);nx(Zb,ma[h].colName);k.appendChild(tg);k.appendChild(Zb);g.appendChild(k);if(!b.displayColumns||Gs(c,h))tg.checked=!0}a.compParts=JOT_getCompParts(a.compParts.borderTitle)})};K(a.compParts.pagesEl,bg,c);c()}})};t.IE=function(a){a=a.compParts.displayColumns||[];Sq(a)||(a=[a]);for(var b=a.length;b--;)if(a[b].checked)return!0;alert("You must select at least one column to display.");return!1};var x3=function(a){this.fb=a};C(x3,NJ);t=x3.prototype;t.re=Wg;t.Ha=dh;t.Ud=/drawings\/d\/.*\/.*?(?:edit|embed|pub|view|preview)/;t.hf="http://docs.google.com/a/_domain_/drawings/d/_id_/preview";t.yd="http://docs.google.com/drawings/d/_id_/preview";t.xd=/\/d\/([^&]*)\//;t.ti=/docs.google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]*)/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:gd,objectTitle:gd,heightValue:"300",widthValue:"400"}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};
t.qc=function(a){var b=a.objectTitle,c=a.showBorder,e=a.showBorderTitle,f=a.borderTitle,g=a.heightValue,h=a.widthValue;return'<p><div class="sites-clear goog-link-box command-sites-insert-sketchy-label"><a jotId="objectUrlField" class="sites-embed-url" href="'+W(a.objectUrl)+xa+W(b)+'</span></a><div id="goog-edit-insert-drawing"></div></div></p><hr style="height:1px;"/><p><strong>Display:</strong></p><p><input jotId="showBorder" type="checkbox" '+W(c)+' />Include border around Google drawing<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+
W(e)+ea+W(f)+ua+W(g)+qa+W(h)+'" /> pixels</p>'};t.Ac=function(){$J("goog-edit-insert-drawing",A(this.fb.Jg,this.fb,"sketchy"))};var y3=function(a){this.fb=a};C(y3,NJ);t=y3.prototype;t.re=Wg;t.Ha=Uh;t.Qv=/.+(?:form|freebird)/;t.Ud=/.+(?:spreadsheets|docs)(?:-qa\.corp)?[0-9]?\..+\/(((gform|viewform|embeddedform|edit)\?.*?(?:key|id)=.+)|(forms\/d\/.+\/(viewform|edit)))/;t.hf="https://spreadsheets.google.com/a/_domain_/spreadsheet/embeddedform?key=_id_";t.yd="https://spreadsheets.google.com/spreadsheet/embeddedform?key=_id_";t.Aha="https://docs.google.com/a/_domain_/forms/viewform?id=_id_";t.Bha="https://docs.google.com/forms/viewform?id=_id_";
t.xd=/(?:key=|id=|d\/)([^#&\/]*)/;t.ti=/(?:spreadsheets|docs).google.com\/a\/(.*?)\//;t.Yg={isFormKey:/(formkey)=/,authkey:/authkey=([^&#]*)/};t.Kw=function(a,b){a.isFormKey&&(b.objectUrl=b.objectUrl.replace(/([\?&])key=/,"$1formkey="))};
t.rc={showBorder:function(a,b){b.showBorder=a==r?l:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?l:""},borderTitle:function(a,b){a=a||"";b.borderTitle=a?uv(a):""},objectTitle:function(a,b){a=a||"";b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""}};t.hc=function(){return{showBorder:l,showBorderTitle:l,borderTitle:jd,objectTitle:jd,heightValue:"600",widthValue:"400"}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};t.qc=function(a){return""+GG(gF({O9:xo,aea:"Include border around Google Spreadsheet Form"},{Ed:a.objectUrl,Dq:a.objectTitle,qr:a.showBorder,rr:a.showBorderTitle,Mo:a.borderTitle,Wp:a.heightValue,Nr:a.widthValue}),null,void 0)};
t.xt=function(a){return this.Ed=a.objectUrl};t.fy=function(){return this.Ed&&-1!=this.Ed.indexOf("/forms/")?{doctype:Wh}:{doctype:"bluebird"}};t.ON=function(a){return(a=a.doctype)&&a==Wh?this.Aha:this.hf};t.mO=function(a){return(a=a.doctype)&&a==Wh?this.Bha:this.yd};t.Ac=function(){$J("goog-edit-insert-spreadsheet-form",A(this.fb.Jg,this.fb,xo))};var z3=function(){this.Mu=null};C(z3,NJ);t=z3.prototype;
t.rc={borderTitle:function(a,b){b.borderTitle=a?uv(a):"";b.curPageTitle=webspace.page.name},rootPageTitle:function(a,b){this.Mu=a;b.rootPageTitle=a||""},rootPage:function(a,b){this.dT=a;null==a?b.rootIsRootChecked=ig:a==he||a==webspace.page.wuid?b.rootIsCurrentChecked=ig:b.rootIsOtherChecked=ig},width:function(a,b){b.widthValue=a||""},maxDepth:function(a,b){b.maxDepth=a||6},displayAs:function(a,b){b.displayAsTOCChecked="gadget"!=a?ig:"";b.displayAsGadgetChecked="gadget"==a?ig:""}};
t.hc=function(){return{rootPage:he,rootPageTitle:"",rootIsCurrentChecked:ig,rootIsRootChecked:"",rootIsOtherChecked:"",curPageTitle:Oq("webspace.page.name")||"",borderTitle:"Subpage Listing",widthValue:"250",maxDepth:6,displayAsGadgetChecked:"",displayAsTOCChecked:ig}};
t.Pb={borderTitle:function(a,b){b.borderTitle=a},rootIsCurrent:function(a,b){a&&(b.rootPage=he)},rootIsRoot:function(a,b){a&&(b.rootPage=null)},rootIsOther:function(a,b){a?(b.rootPage=this.dT,b.rootPageTitle=this.Mu):b.rootPageTitle=null},width:function(a,b){b.width=a},maxDepth:function(a,b){b.maxDepth=a},displayAsToc:function(a,b){a&&(b.displayAs="TOC")},displayAsGadget:function(a,b){a&&(b.displayAs="gadget")}};
t.Ac=function(a,b){var c=a.compParts.rootPageTitle;zx(c)&&(c.style.marginRight="16px");this.sf=a;if(c=O("maxDepth-opt-"+b.maxDepth))c.selected=!0;K(a.compParts.chooseRootBtn,ng,this.LZ,!1,this);K(a.compParts.rootIsOther,ng,this.Ela,!1,this)};t.Pp=function(){this.Mu=this.dT=null};
t.LZ=function(a){function b(){var a=f.sT;if(!a)return!1;e.dT=a;e.Mu=f.Pta();a=e.sf.compParts.rootPageTitle;nx(a,e.Mu);a.style.marginRight="16px";e.sf.compParts.rootIsOther.checked=!0}a.preventDefault();var c=JOT_createDialog("Select the page to list sub-pages of:",'<div class="sites-subpage-dialog"><div jotId="treeDiv"></div></div>',null,null,b,null,null,"ChooseSubPageRoot");c.setVisible(!0);a=Cy(c.getElement());By(c.getElement(),a.x+60,a.y+20);var e=this,f=new w1(c.compParts.treeDiv,function(a){a=
b(a);(void 0==a||a)&&c.close()},!0,!0)};t.Ela=function(a){this.Mu||this.LZ(a)};
t.qc=function(a){var b=a.rootIsCurrentChecked,c=a.curPageTitle,e=a.rootIsRootChecked,f=a.rootIsOtherChecked,g=a.rootPageTitle,h=a.widthValue,k=a.displayAsGadgetChecked,m=a.displayAsTOCChecked;a='<p><p><strong>Title:</strong> <input jotId="borderTitle" type="text" value="'+W(a.borderTitle)+'" /></p><hr /><p><strong>Show subpages of:</strong></p><p style="margin-left: 16px"><label><input type="radio" name="source" jotId="rootIsCurrent" '+W(b)+" /> the current page: "+W(c)+'</label><br /><label><input type="radio" name="source" jotId="rootIsRoot" '+
W(e)+' /> top level</label><br /><input type="radio" name="source" jotId="rootIsOther" '+W(f)+' /> <span jotId="rootPageTitle">'+W(g)+'</span><a href="#" jotId="chooseRootBtn">choose a page...</a></p><p><strong>Show levels:</strong> <select jotId="maxDepth">';for(b=1;7>b;b++)a+=$b+W(b)+ya+W(b)+Aa+(6==b?Se:W(b))+"</option>";return a+='</select>&nbsp;</p><hr /><p><strong>Width:</strong> <input jotId="width" size="3" value="'+W(h)+'" />pixels <span style="color: gray">(leave empty for 100% width)</span></p><p><strong>Appearance:</strong></p><p style="margin-left: 16px"><label title="Gadget appearance"><input jotId="displayAsGadget" type="radio" name="displayAs" '+
W(k)+' /><span style="display: inline-block; width: 32px; height: 32px; border: 1px solid #AAA; vertical-align: middle;"><span style="display: inline-block; width: 32px; height: 8px; vertical-align:top; background-color: #DDD; border-bottom: 1px solid #AAA"></span>&nbsp;</span></label>&nbsp;&nbsp;&nbsp;<label title="Traditional TOC appearance"><input jotId="displayAsToc" type="radio" name="displayAs" '+W(m)+' /><span style="display: inline-block; width: 32px; height: 32px; border: 1px solid #AAA; background-color: #DDD; vertical-align: middle;">&nbsp;</span></label></p></p>'};var A3=function(){};C(A3,NJ);t=A3.prototype;t.rc={title:function(a,b){b.titleVal=a||""},text:function(a,b){b.bodyVal=a||""},width:function(a,b){b.widthValue=a||""}};t.hc=function(){return{borderTitle:ie,titleVal:ie,bodyVal:"",widthValue:""}};t.Pb={titleEl:function(a,b){b.title=a},bodyEl:function(a,b){b.text=a},width:function(a,b){b.width=a}};
t.qc=function(a){var b=a.widthValue;return'<div><p><strong>Gadget title:</strong><br /><input jotId="titleEl" size="20" class="goog-ws-nomargin" value="'+W(a.titleVal)+'" /></p><p><strong>Width:</strong> <input jotId="width" size="3" value="'+W(b)+'" /> pixels&nbsp;&nbsp;(leave empty for 100% width)</p><div class="goog-s-text-box-editor-wrapper"><div jotId="bodyEl" /></div></div>'};
t.Ac=function(a,b){a.compParts.bodyEl.id=dp;var c=cX,e=a2(!0),f=new mI,g=new vI(A(a.by,a),!0,1,"Save Changes");f.kf(g,g.Mi);g=new nI(A(a.Mp,a),!0,1);f.kf(g,g.Mi);e=new K2(webspace.page.path,e,void 0,void 0,void 0,void 0,void 0,f);f=nY(b.targetElement,!1,!0);e.wB(dp,!1,null,f).hb(b.bodyVal);e.bo(200);e.open(!0);a.Gi=e;a.editor=a.Gi;a.mDa=c;a.compParts.titleEl.focus()};t.tE=function(a){a.Gi.Pl()};t.Pp=function(a){if(a.Gi.mn())return WF(Ec,pc,A(this.jL,this,a),null),!1;a.Gi.Pl()};
t.jL=function(a){a.Gi.Pl();a.K(!1);a.dispose()};var B3=function(){};C(B3,NJ);t=B3.prototype;t.rc={width:function(a,b){b.widthValue=a||""},maxDepth:function(a,b){b.maxDepth=a||6}};t.hc=function(){return{borderTitle:"Table of Contents",widthValue:"250",maxDepth:6}};t.Pb={width:function(a,b){b.width=a},maxDepth:function(a,b){b.maxDepth=a}};t.Ac=function(a,b){var c=O("maxDepth-opt-"+b.maxDepth);c&&(c.selected=!0)};
t.qc=function(a){a='<p>Tables of contents are created from text headers on the page. For a basic page index use a narrow width (250px with wrapping text) and for a FAQ-style index try 100% width.<p><strong>Width:</strong>&#160;<input jotId="width" size="3" value="'+W(a.widthValue)+'" />pixels&#160;(leave empty for 100% width)</p><p><strong>Show Levels:</strong>&#160;<select jotId="maxDepth">';for(var b=1;7>b;b++)a+=$b+W(b)+ya+W(b)+Aa+(6==b?Se:W(b))+"</option>";return a+"</select></p></p>"};var C3=function(a){this.fb=a};C(C3,NJ);t=C3.prototype;t.re=Wg;t.Ha=ah;t.Ud=/.+\/(document\/d\/)|(((?:Doc|View)|document\/edit)\?(?:hgd=1&)?(docid|id)=).+/;t.hf="https://docs.google.com/a/_domain_/Doc?id=_id_";t.yd="https://docs.google.com/Doc?id=_id_";t.Rha="https://docs.google.com/a/_domain_/document/edit?id=_id_";t.Sha="https://docs.google.com/document/edit?id=_id_";t.xd=/(?:(?:id=)|(?:\/d\/))([^&#\/]*)/;t.ti=/docs.google.com\/a\/(.*?)\//;t.Yg={authkey:/authkey=([^&#]*)/};
t.rc={showBorder:function(a,b){b.showBorder=a==r?jg:""},showBorderTitle:function(a,b){b.showBorderTitle=a==r?jg:""},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},objectTitle:function(a,b){b.objectTitle=a?uv(Ir(a,50,!1)):""},height:function(a,b){b.heightValue=a||""},width:function(a,b){b.widthValue=a||""}};t.hc=function(){return{showBorder:jg,showBorderTitle:jg,borderTitle:fd,objectTitle:fd,heightValue:"600",widthValue:""}};
t.Pb={showBorder:function(a,b){b.showBorder=a?r:Ah},showBorderTitle:function(a,b){b.showBorderTitle=a?r:Ah},borderTitle:function(a,b){b.borderTitle=a},objectTitle:function(a,b){b.objectTitle=zx(a)},height:function(a,b){b.height=a},width:function(a,b){b.width=a}};t.qc=function(a){a={Ed:a.objectUrl,Dq:a.objectTitle,qr:a.showBorder,rr:a.showBorderTitle,Mo:a.borderTitle,Wp:a.heightValue,Nr:a.widthValue,doctype:this.Ed&&-1!=this.Ed.indexOf("/document/")?"kix":"writely"};return FG(a)};
t.xt=function(a){return this.Ed=a.objectUrl};t.fy=function(){return this.Ed&&-1!=this.Ed.indexOf("/document/")?{doctype:"kix"}:{doctype:"writely"}};t.sS=function(a,b,c){a=WJ(a,sl);var e=b.doctype,f=e&&"kix"==e?this.Rha:this.hf,e=e&&"kix"==e?this.Sha:this.yd,f=b.domain?f:e;b={protocol:b.protocol||kj,domain:b.domain,id:a};for(var g in b)f=f.replace(new RegExp("_"+g+"_","gi"),b[g]);g=new oD(f);c.objectUrl=g.toString();this.Ed=c.objectUrl;return!0};
t.Ac=function(){$J("goog-edit-insert-writely-change",A(this.fb.Jg,this.fb,"writely"))};var D3=function(){};C(D3,NJ);var E3={$ia:"embed-yt-vid",Zia:"embed-yt-vth",Hia:"embed-yt-dd",Iia:"embed-yt-sf",vX:"embed-yt-w",MW:"embed-yt-h"};t=D3.prototype;t.yd="http://youtube.com/watch?v=_id_";t.xd=/(?:(?:v=)|(?:\.be\/))([a-zA-Z0-9_-]{11,20})/;t.rc={showBorder:function(a,b){b.showBorder=a==r},showBorderTitle:function(a,b){b.showBorderTitle=a==r},borderTitle:function(a,b){b.borderTitle=a?uv(a):""},width:function(a,b){b.width=a||""},height:function(a,b){b.height=a||""}};
t.hc=function(){return{showBorder:!0,showBorderTitle:!0,borderTitle:"YouTube Video",width:"480",height:"270"}};t.Pb={showBorder:function(a,b){b.showBorder=a.toString()},showBorderTitle:function(a,b){b.showBorderTitle=a.toString()},borderTitle:function(a,b){b.borderTitle=a},width:function(a,b){b.width=a},height:function(a,b){b.height=a}};
t.qc=function(a){var b=a.objectUrl,c=a.showBorder,e=a.showBorderTitle;a=a.borderTitle;var f;f={};return XE('<p>Paste the URL of your YouTube video.</p><div class="sites-youtube-thumbnail"><img id="'+tF(E3.Zia)+'" style="'+(f.ML?"/*"+f.ML+"*/":"")+'display:none"></img></div><p><input id="'+tF(E3.$ia)+'" jotId="objectUrlField" value="'+tF(b)+'" class="sites-youtube-url" /><br /><span class="goog-ws-grey">Examples: <br/>http://www.youtube.com/watch?v=9bZkp7q19f0 or<br/>http://youtu.be/9bZkp7q19f0</span></p><p><strong>Display:</strong></p><p>Video size:<select id="'+
tF(E3.Hia)+'" type="select-one"><option label="480x270">480 &times; 270</option><option label="560x315">560 &times; 315</option><option label="640x360">640 &times; 360</option><option label="853x480">853 &times; 480</option><option label="1280x720">1280 &times; 720</option><option label="custom" selected="selected">Custom size</option></select><span id="'+tF(E3.Iia)+'"><input id="'+tF(E3.vX)+'" jotId="width" size="3" value="" /> &times; <input id="'+tF(E3.MW)+'" jotId="height" size="3" value="" /></span></p>'+
W(XE('<p><input jotId="showBorder" type="checkbox" '+(c?" checked ":"")+' />Include border<br/></p><p><input jotId="showBorderTitle" type="checkbox" '+(e?" checked ":"")+fa+tF(a)+ra)))};
t.DO=function(a,b){this.N=new rA(this);a.wa(this.N);this.Bga=O("embed-yt-vid");this.Aga=O("embed-yt-vth");this.sv=O("embed-yt-dd");this.wea=O("embed-yt-sf");this.AJ=O("embed-yt-w");this.LE=O("embed-yt-h");var c=b.width,e=b.height;b.objectUrl&&(c=b.width||425,e=b.height||355);for(var f=c+"x"+e,g=!1,h=0,k;k=this.sv.options[h];++h)if(k.label==f){g=k.selected=!0;break}this.AJ.value=g?"":c;this.LE.value=g?"":e;this.wea.style.visibility=g?ej:"";this.N.o(this.sv,bg,this.KCa);this.od=new BD(this.Bga);a.wa(this.od);
this.N.o(this.od,Ej,cr(this.XCa,a));this.IZ(a)};
t.IE=function(){var a=this.sv.options[this.sv.selectedIndex].label;"custom"!=a?(a=a.split("x"),this.AJ.value=a[0],this.LE.value=a[1]):(a=!0,this.yga(this.AJ.value,200,1920)?this.yga(this.LE.value,200,1200)||(JOT_setStatusMsg("Invalid video height: must be between 200 and 1200. Using default size."),a=!1):(JOT_setStatusMsg("Invalid video width: must be between 200 and 1920. Using default size."),a=!1),a||(this.AJ.value="480",this.LE.value="270",JOT_clearStatusMsg(5E3)));return!0};
t.KCa=function(){this.wea.style.visibility="custom"==this.sv.options[this.sv.selectedIndex].label?"":ej};t.XCa=function(a){this.IZ(a)};t.IZ=function(a){var b=pr(this.Bga.value).match(this.xd);a.fca(!!b,!1);S(this.Aga,!!b);this.Aga.src=b?"//img.youtube.com/vi/"+b[1]+"/2.jpg":"https://ssl.gstatic.com/docs/common/cleardot.gif"};t.yga=function(a,b,c){var e=parseInt(a,10);return!isNaN(a)&&0<a.toString().length&&b<=e&&e<=c};var F3=function(a){this.za=a;this.Sa=a.Sa;this.Lya()};t=F3.prototype;t.cu=null;
t.Lya=function(){this.Xa={};this.Xa.adsense=new L2;this.Xa.calendar=new M2(this);this.Xa.folder=new Q2(this);this.Xa.countdown=new O2;this.Xa["docs-video"]=new V2;this.Xa["drive-image"]=new P2;this.Xa["google-video"]=new W2;this.Xa[Zi]=new U2(Zi,"http://www.gstatic.com/sites-gadgets/forum/single_group.xml");this.Xa[$i]=new bK(this);this.Xa.maestro=new d3(this);this.Xa.map=new e3(this);this.Xa.mapsengine=new f3(this);this.Xa.pdf=new g3;this.Xa["picasa-photo"]=new i3;this.Xa.picasa=new h3;webspace.features.plusBadge&&
(this.Xa["plus-badge"]=new l3);this.Xa.plusone=new q3;this.Xa["plus-post"]=new U2("plus-post","http://www.gstatic.com/sites-gadgets/googleplus/pluspost.xml");this.Xa.presently=new r3(this);this.Xa.punch=new s3(this);this.Xa["recent-announcements"]=new t3;this.Xa["recent-files"]=new v3;this.Xa["recent-list-items"]=new w3;this.Xa.sketchy=new x3(this);this.Xa.spreadsheet=new aK(this);this.Xa[xo]=new y3(this);this.Xa.subpages=new z3;this.Xa.text=new A3;this.Xa.toc=new B3;this.Xa.writely=new C3(this);
this.Xa.youtube=new D3;this.Xa.html=new X2;this.Xa[aj]=new U2(aj,"http://www.gstatic.com/sites-gadgets/hangouts/hangoutbutton.xml");this.Xa[bj]=new U2(bj,"http://www.gstatic.com/sites-gadgets/hangouts/phonebutton.xml")};
t.Ypa=function(a,b,c,e){JOT_setStatusMsg("Trying to fix copy");JOT_callGateway("CopyCosmoDoc",{type:a,id:b},A(function(b){b=b.target.getResponseJson();b.error?JOT_setStatusMsg(Pc):(JOT_setStatusMsg("Fixed copy successfully"),JOT_clearStatusMsg(1E4),XJ(e,sl,b.newDocId),this.nr(e,{copyError:null}),JOT_postEvent(ik,e,{embedType:a}))},this),function(){JOT_setStatusMsg(Pc)})};t.nr=function(a,b){var c=UJ(WJ(a,Mm));if(b)for(var e in b)b[e]?c[e]=b[e]:delete c[e];XJ(a,Mm,VJ(c))};
t.aEa=function(a,b,c){c=b.domain?c.ON?c.ON(b):c.hf:c.mO?c.mO(b):c.yd;a={_protocol_:b.protocol||kj,_domain_:b.domain,_id_:a};for(var e in a)c=c.replace(new RegExp(e,"gi"),a[e]);return(new oD(c)).toString()};t.$Da=function(a,b,c,e,f){for(var g in c){var h=c[g];f&&(h=A(h,f));h(a[g],b,e)}};
t.$ya=function(a){var b=window.JOT_clearDotPath;if(this.za.rT){var c=this.za.rT;yZ(c,this.Sa.ab,A(function(){this.dl().jd()},this.Sa));c.src=b;c.removeAttribute(Ip);c.removeAttribute(Mm);c.removeAttribute(sl);c.removeAttribute(rj);c.removeAttribute(Jo);c.style.display=Nf;c.style.textAlign=jk;this.za.rT=null}else this.cf&&this.cf.restore().select(),c=this.za.Qt(this.Sa.dl(),b,null,!0),this.nr(c,{align:c.style.textAlign});c&&(c.setAttribute(rj,String(Math.random()).substring(2)),c.setAttribute("src",
b),XJ(c,Ip,a));return c};
t.ZDa=function(a,b,c,e,f){this.cu?this.Sa.xp(this.cu):this.za.focus();if(e.xd){var g,h;if(e.z5)h=e.z5(te),g=h.origSrc,h=h.url;else if(g=c.compParts.objectUrlField,h=pr(g.value||g.href||""),g=h.match(e.xd))g=g[1];else return this.oK(te),null}if(f)WJ(f,Ip)!=b&&(this.Sa.dl().jd(),XJ(f,Ip,b),f.removeAttribute("data-props"));else if(f=this.$ya(b),!f)return null;f.className="sites-placeholder-"+b;var k={};e.xt&&(k.objectUrl=h,e.xt(k));e.fy&&(k=e.fy(a))&&this.nr(f,k);g&&XJ(f,sl,g);this.nr(f,{domain:this.Yra(e,
h)});if(e.Yg){var k={},m;for(m in e.Yg)g=h.match(e.Yg[m]),k[m]=g?g[1]:null;this.nr(f,k)}e.Pb&&this.nr(f,this.gR(c,e.Pb,e));k=UJ(WJ(f,Mm));k.type=b;e.nJ?e.nJ(f,a):this.nJ(f,k,A(this.cS,this,f));return f};t.Yra=function(a,b){if(a.ti){var c=b.match(a.ti);if(c)return c[1]}else if(a.EW)return a.EW(b);return null};t.cS=function(a){this.Sa.dl().execCommand(il,a)};
t.nJ=function(a,b,c){var e=b.type,f={};if("plusone"==e){var g="sites-placeholder-plusone-"+b.size+"-"+(b.showCount==r?"count":"nocount");a.className=g;f[e]=!0}else"plus-badge"==e&&(g="sites-placeholder-plus-badge-"+b.style,a.className=g,f[e]=!0);e in f?c&&c():JOT_callGateway(cd,{borderTitle:b.borderTitle,title:b.title,size:b.size,adlayout:b.adlayout,domain:b.domain,width:b.width,height:b.height,type:b.type},function(b){b=b.target.getResponseJson();a.src=b.url;a.width=b.width;a.height=b.height;c&&
c(b)})};t.gR=function(a,b,c){var e={},f;for(f in b){var g=a.compParts[f];if(g){if(g.nodeName==rd)var h=g.type==hg||"radio"==g.type?g.checked:g.value;else if(g.nodeName==Sd){var k=g.options[g.selectedIndex];k&&(h=k.value)}else g.nodeName==Hd?h=g.selected:g.firstChild&&Gs(Ex(g.firstChild),ih)?(h=a.Gi.Qi(g.id).xb(),h=h.replace(/&nbsp;/g,Ca)):h=g;k=b[f];k=A(k,c);k(h,e,g)}}return e};t.Jg=function(a,b,c){if(a){var e=this.Xa[a];a==wk?e.JQ(this):e.r5?e.r5(this,{src:b,action:c}):this.KQ(e.re,e.Ha)}};
t.bta=function(){return(new sK(zk)).Hb("My Maps")};var G3={};G3[C3.prototype.Ha]=(new AK(ah)).Ib("application/vnd.google-apps.kix,application/vnd.google-apps.document");G3[s3.prototype.Ha]=(new AK(Gm)).Ib(gf);G3[r3.prototype.Ha]=(new AK(Gm)).Ib(gf);G3[aK.prototype.Ha]=(new AK(zo)).Ib("application/vnd.google-apps.spreadsheet,application/vnd.google-apps.ritz");G3[bK.prototype.Ha]=zo;G3[y3.prototype.Ha]=Uh;G3[g3.prototype.Ha]=Il;G3[V2.prototype.Ha]=Zg;G3[P2.prototype.Ha]=Xg;G3[x3.prototype.Ha]=dh;
G3[Q2.prototype.Ha]=(new AK(Qh)).oda(!0);G3[M2.prototype.Ha]=Xf;G3[e3.prototype.Ha]=yk;G3[f3.prototype.Ha]=F3.prototype.bta();G3[h3.prototype.Ha]=Ll;G3[i3.prototype.Ha]=Ql;t=F3.prototype;
t.zKa=function(a,b){var c=(new MK(Se)).Hc(G3[C3.prototype.Ha]).Hc(G3[r3.prototype.Ha]).Hc(G3[aK.prototype.Ha]).Hc(G3[y3.prototype.Ha]);webspace.features.pdfEmbedSupport&&c.Hc(G3[g3.prototype.Ha]);c.Hc(G3[V2.prototype.Ha]).Hc(G3[P2.prototype.Ha]).Hc(G3[x3.prototype.Ha]).Hc(G3[Q2.prototype.Ha]);a.Ak(c);a.Hc(G3[M2.prototype.Ha]).Hc(G3[e3.prototype.Ha]).Hc(G3[f3.prototype.Ha]).Hc(Pl).Hc(G3[h3.prototype.Ha]).Hc(G3[i3.prototype.Ha]).Hc(Vm);b&&a.jr(G3[b])};
t.KQ=function(a,b,c){var e=window.location.origin||window.location.protocol+"//"+window.location.host,f=webspace.user.sessionIndex,g=webspace.onepickBaseUrl,h=nD(g,Gb),e=(new X(h)).Wu(f).$l(Wn).dv(webspace.page.locale).hv(e).or(uj).HU(2).Hi(Vh).Hi(eq);(a=a==bK.prototype.re)?e.Xc("Select the spreadsheet that contains your chart data").Hi(Wk).Hc(G3[aK.prototype.Ha]):(e.Xc("Insert..."),this.zKa(e,b));e=e.tk();b=new JG(Ul,!0);b.co(null);f=b.U();Ww(f);h=Gw("modal-dialog-title-close",f.parentNode);S(h,
!1);var h="picker-"+Ur(),k=(new gK).bm(e.toString()).ki(h).sKa(f);k.$m().tIa("550px").oA("700px").io("border=0");var m;a?(c=this.Xa[$i],m=A(c.$R,c,this,b)):m=A(this.$R,this,b,c);gapi.load("gapi.iframes",function(){var a=Oq("gapi.iframes"),b=a.getContext().openChild(k.value()),a=a.makeWhiteListIframesFilter([g]);b.registerWasClosed(m,a)});b.K(!0);b.oa();b.U().firstChild.focus()};
t.$R=function(a,b,c){var e="";if(c&&c.action==Sl){var f=c.docs[0],g=null,h=null;for(e in this.Xa){var k=this.Xa[e];if(this.XAa(k,f)){if(k.$K){var m=k.$K(f);m&&(g=m.url,h=m.anchorUrl)}else g=k.Ud,g=f.embedUrl&&g&&g.test(f.embedUrl)?f.embedUrl:f.url;break}}if(g&&k.LP)this.cu&&this.Sa.xp(this.cu),this.cf&&this.cf.restore().select(),b=this.Sa.dl(),k.LP(this.za,b,g,h,f.description);else if(g){h=UG.embedding;m={};if(h){var p=h.image;h.image=null;(k=this.Xa[h.type])&&k.Pb&&(m=this.gR(h,k.Pb,k));m.oldDialogType=
h.type;h.wla=!0;JOT_postEvent(Og,h)}m.objectUrl=g;f.name?(m.objectTitle=Ir(f.name,50,!1),m.borderTitle=f.name):b&&(b.addFromUrl=!0);this.gu(e,void 0,p,m,b)}else this.oK(k.HM)}!c||c.action!=Sl&&c.action!=Zf||this.q1(a)};t.q1=function(a){a.K(!1);var b=a.U();Ww(b);a.dispose()};t.oK=function(a){alert(a||"The URL you entered is not supported.")};t.XAa=function(a,b){var c=a.Ud;return c&&c.test(b.url)?a.Qv&&b.mimeType?a.Qv.test(b.mimeType):!0:!1};
t.Ura=function(a,b){return a==ii?b?b.getAttribute("data-dialog"):null:a};t.jAa=function(a,b,c,e,f){var g=this.Xa[a];g.d0&&(e=g.d0(e),this.gu(a,b,c,e,f))};
t.gu=function(a,b,c,e,f){c=c||null;var g=this.Ura(a,c);if(g){var h=this.Xa[g];if(!e||!h.Ud&&a!=wk){var k=this.Sa.dl(),m=k.getRange();m&&!SW(m)&&(this.za.focus(),m=k.getRange());this.cf=m&&m.Mz()}if(k=this.Sa.et())this.cu=k;k=!1;if(!e&&!c){if(h.JQ){h.JQ(this);return}if(h.Ud){this.KQ(h.re,h.Ha);return}k=!0}fv("Insert menu","Gadget",g);g={objectUrl:""};k&&a==$i&&(g.embedMode="init");var p;c&&(p=UJ(WJ(c,Mm)),h.yd||h.hf)&&(k=!1,h.sS&&(k=h.sS(c,p,g)),k||(k=WJ(c,sl),g.objectUrl=this.aEa(k,p,h)),h.Kw&&h.Kw(p,
g));if(h instanceof A3||h instanceof t3)k=this.Sa.dl(),g.targetElement=k.b();if(p||e){if(p&&e)for(var u in e)p[u]=e[u];else e&&(p=e);if(h.dF)var y=h.dF(p);this.$Da(p,g,h.rc,y,h);p.objectUrl&&(g.objectUrl=h.xt?h.xt(p,f):p.objectUrl)}if(!c||e&&e.oldDialogType!=a)for(u in e=h.hc(),e)g[u]&&""!=g[u]||(g[u]=e[u]);var P=A(function(b){if(h.IE&&!h.IE(L))return!1;var e=this.ZDa(b,a,L,h,c);h.tE&&h.tE(L,e,b);h.I5&&h.I5(this.gR(L,h.Pb,h));h.hda&&h.hda(e,b);this.za.G$=!0},this);u=A(function(a){return h.P4?(h.P4(L,
function(){P(a);L.close()}),!1):P(a)},this);e=A(function(){this.Sa.xp(this.cu);if(h.Pp)return h.Pp(L)},this);h.uca&&h.uca(P,e);var L=h.cea?h.cea(u,e,c):this.VKa(h,!c,g,u,e,a,b,c);h.DO&&h.DO(L,g,this)}};
t.VKa=function(a,b,c,e,f,g,h,k){b=h||a.hc().borderTitle;b=k?b+" Properties":"Insert "+b;h=a.qc(c);e=new VG({qB:"Save",DX:e,yB:a.oha,vZ:f,MC:"embedding",n8:c,template:h,title:b,ija:"Ctrl+S"});e.image=k;e.type=g;e.setVisible(!0);a.Ac&&a.Ac(e,c,this);e.reposition();if(a=(a=e.compParts.objectUrlField)&&a.nodeName==rd?a:e.compParts.borderTitle)a.focus();else if(a=qx(e.contentEl,function(a){return(a.nodeName==rd||a.nodeName==Sd)&&a.style&&a.style.display!=Yk}))try{a.focus()}catch(m){}return e};var H3=function(a){this.kp=a;YW.call(this)};C(H3,aZ);H3.prototype.Yb=function(){return""+$q(this.constructor)};H3.prototype.rd=function(a){return ir(a,"sites-insert-")};H3.prototype.ld=function(a,b){if(ir(a,"sites-insert-")){var c=a.substring(13),e;e=typeof b==Ho?{type:b}:b||{};this.kp.gu(c,e.label,e.image,e.overrideProps)}};var I3=function(){this.X2=this.Y2=!1};Qq(I3);var J3=function(a){I3.S().CAa(a)};x("sites.util.GapiLoader.loadGapi",J3,void 0);I3.prototype.CAa=function(a){if(this.X2)a();else{if(!this.Y2){this.Y2=!0;var b=A(this.qIa,this);this.R0=BI(pj);this.R0.Ra(b)}this.R0.Ra(a)}};I3.prototype.qIa=function(){this.X2=!0};var K3=function(){this.uc=Gw("sites-admin-content-pane")||Gw("goog-ws-dash-main")||O("sites-chrome-everything-scrollbar")||O("sites-chrome-everything");this.YU=Gw("sites-admin-sidebar-wrapper");this.i6=Gw("sites-system-edit-header")||Gw("sites-header-divider");this.P2=Gw("sites-adminfooter")||Gw("sites-dash-footer");var a=new TL(window);K(a,$m,A(this.resize,this))};C(K3,F);Qq(K3);x("sites.util.PageContentResizer.getInstance",K3.S,void 0);K3.prototype.fIa=function(a){this.ypa=!!a};
K3.prototype.setExcludeFooter=K3.prototype.fIa;K3.prototype.eNa=function(a){a=Jw().height-a;this.uc&&(R(this.uc,dj,a+q),R(this.uc,xl,yf));this.YU&&(R(this.YU,dj,a+q),R(this.YU,xl,yf))};K3.prototype.resize=function(){var a=0;this.i6&&(a+=Sy(this.i6).height);!this.ypa&&this.P2&&(a+=Sy(this.P2).height);this.eNa(a)};K3.prototype.resize=K3.prototype.resize;var M3=function(){this.Sxa=!!Oq("gbar.lPWF");this.rN=!1;L3=[];L3.push("g-plusone");webspace.features.plusBadge&&L3.push("g-plus");window.xWa={lang:webspace.page.locale,dXa:"explicit"}};Qq(M3);var L3=[],N3=function(a){M3.S().go(a)};x("sites.util.Plus.go",N3,void 0);JOT_addListener("renderPlus",function(a){N3(a.payload)});t=M3.prototype;t.go=function(a){a=O(a||null)||document.body;this.Vxa(a)&&(this.Sxa?this.Gua(a):this.Fua(a))};
t.Vxa=function(a){for(var b=0;b<L3.length;b++)if(0<Ew(n,L3[b],a).length)return!0;return!1};t.PS=function(a){gapi.plusone.go(a)};t.OS=function(a){webspace.features.plusBadge&&gapi.plus.go(a)};t.cU=function(a){this.rN=a};t.Fua=function(a){var b=A(this.qla,this,a);this.rN?b():webspace.features.gapiLoaderUtil?(b=A(this.pla,this,a),J3(b)):this.BAa(b)};t.BAa=function(a){var b=BI(pj);b.Ra(A(this.cU,this,!0));b.Ra(a)};t.pla=function(a){this.cU(!0);this.PS(a);this.OS(a)};t.qla=function(a){this.PS(a);this.OS(a)};
t.Gua=function(a){gbar.lPWF(A(this.PS,this,a));webspace.features.plusBadge&&(a=A(this.OS,this,a),this.rN?a():gbar.lPWF(A(this.GAa,this,a)))};t.GAa=function(a){var b=A(this.cU,this,!0);gapi.load("plus",function(){b();a()})};var O3=function(a,b){M.call(this);ZJ();this.Vb=new mI;this.eC=O(Yn);this.YP=!!a;this.p8=!!b;var c=a2(!1);YJ.VHa(webspace.page.locale);this.za=new K2(webspace.page.path,c,void 0,void 0,void 0,void 0,void 0,this.Vb);this.kp=new F3(this.za);this.PV=new s0;this.QV=new z0(this.PV);this.QV.uHa(!1);this.QV.QEa(this.za.Sa);this.wM=new t1(webspace.page.wuid);this.UY=3E4;this.Nz=!1;this.zn=[];c=JOT_addListener(ik,A(function(a){this.gu(a.payload.embedType,void 0,a.eventSrc)},this.kp));this.zn.push(c);c=JOT_addListener(hk,
A(function(a){this.jAa(a.payload.embedType,void 0,a.eventSrc)},this.kp));this.zn.push(c);c=JOT_addListener(Lh,A(function(a){this.Ypa(a.payload.embedType,a.payload.id,a.payload.formKey,a.eventSrc)},this.kp));this.zn.push(c);c=JOT_addListener(jh,A(function(a){this.nr(a.eventSrc,a.payload)},this.kp));this.zn.push(c);this.Zq={};this.NC=this.EH=null};C(O3,M);x("sites.editor.PageEditor",O3,void 0);var P3=[[G,"7"],[H,"1.9.0.0"],[Yt,"523.10"],[Wt,"1"]],Q3=/<\s*script[>\s]/i,R3=/^sites.caja.run\(".*",\s*".*"\);$/;
O3.prototype.xHa=function(a){this.cL();this.DK=v.setInterval(this.Vka.bind(this),a)};O3.prototype.QZ=function(){this.ZO()&&(webspace.page.hasAutosave=!1,webspace.page.autosave=null)};O3.prototype.Bc=function(){return!!this.editing};O3.prototype.isActive=O3.prototype.Bc;O3.prototype.ZO=function(){return webspace.page.hasAutosave};O3.prototype.KS=function(){this.ZO()&&(this.QZ(),this.cL(),JOT_callGateway(Nc,{pageWuid:webspace.page.wuid}))};
O3.prototype.cL=function(){this.DK&&(v.clearInterval(this.DK),this.XH(!1),this.DK=void 0)};O3.prototype.open=function(a){this.Rl=!!webspace.page.autosave;this.IG||(a=this.wM.open(a,this.Rl),a.Ra(this.owa,this),a.zk(this.s5,this),this.IG=a);this.eDa=this.Vs();return this.IG};O3.prototype.open=O3.prototype.open;t=O3.prototype;t.u$=function(){JOT_setStatusMsg("Breaking lock...");return this.open(!0)};t.wva=function(){this.ee("A required resource could not be loaded at this time, please try again later.")};
t.s5=function(){this.ee("Unable to connect at this time, please try again later.")};t.ee=function(a){JOT_setStatusMsg(a);window.jstiming.load.tick(rh,Ge);window.jstiming.load.name="edit_lock_error";window.jstiming.report(window.jstiming.load,null,webspace.csiReportUri);delete this.IG};
t.owa=function(a){try{var b=a[0],c=a[1],e=a[2]||"";if(b){webspace.page.revision=e.revision;var f=this.Rl?webspace.page.autosave.content:e["main/text"];this.AAa();this.YH(f);this.Rl&&(this.YI.value=webspace.page.autosave.title);this.za.mr(!1);this.z$=this.Rl?webspace.page.autosave.originalLayout:e[Oo];this.Rca(this.Rl?webspace.page.autosave.layout:e[Oo]);JOT_clearStatusMsg();this.Rl&&(JOT_setStatusMsg("Your previous edit has been recovered successfully."),v.setTimeout(JOT_clearStatusMsg,1E4))}else if(this.Rl)JOT_createDialog("Recover Edit",
"<p><strong>"+W(e)+"</strong> is currently editing this page. You can wait for them to finish, or break their lock and recover your edits immediately.</p>",null,"Recover Now",A(this.u$,this),"Wait",function(){JOT_setStatusMsg("Refresh the page to retry recovering your edit.")}).setVisible(!0);else if("locked"==c){var g=JOT_createDialog("Break Lock","<p><strong>"+W(e)+"</strong> is already editing this page. You can wait for them to finish, or break their lock and begin editing now.</p>",null,"Break Lock",
A(this.u$,this),"Wait",JOT_clearStatusMsg);g.setVisible(!0);g.compParts.btnCancel.firstElementChild.focus()}else{var h=new JG;h.Xc("Error");h.nI(XE("<p>Unable to edit at this time. Please reload the page and try again.</p>").uo());h.co(KA);K(h,Pe,function(){JOT_clearStatusMsg()});h.K(!0)}delete this.IG;window.jstiming.load.tick(rh,Ge);window.jstiming.load.name="edit";window.jstiming.report(window.jstiming.load,null,webspace.csiReportUri);this.dispatchEvent(new J("opened"));return b}catch(k){15==k.code?
this.wva(k):this.s5(k)}};
t.QKa=function(){if(!w(this.kw)){this.kw="The browser you are using is not supported for editing pages in Google Sites. You are welcome to keep using it, but you might run into problems. For best results, we recommend the latest version of Firefox, Internet Explorer, or Chrome.";for(var a=0;a<P3.length;a++){var b=P3[a];if(b[0]){I(b[1])?this.kw="":(a=new gQ,b="Google Sites editor is not supported in your browser. "+(a.vr("a",{href:"http://support.google.com/docs/?p=docs_modern_browser",target:Ee})+
(Bd+a.np("a"))),this.kw=a.format(b));break}}}this.kw&&(this.jw=Ow(n,{className:"goog-browser-support-warning"}),a=Sw(document,bw(this.kw)),this.jw.appendChild(a),Xw(this.jw,this.za.NA))};t.hya=function(){this.jw&&(Zw(this.jw),delete this.jw)};t.Vs=function(){if(this.editing){for(var a=this.eC.cloneNode(!0),b=Ew(null,io,a),c,e=0;e<b.length;e++){var f=b[e];f.id&&(c=this.za.Qi(f.id))&&(f.innerHTML=c.xb())}return a.innerHTML}return this.eC.innerHTML};
t.YH=function(a){var b,c=this.za.Sa;if(this.editing){var e=c.et();e&&(e.b().blur(),b=e.id);this.Z0()}this.vIa(this.eC,a);this.editing&&(this.Lma(),b&&this.za.Qi(b)?c.N2(b):this.za.focus());this.za.mr(!0)};
t.vIa=function(a,b){if(b.match(Q3)){for(var c=Sw(document,py(b)),e=rx(c,function(a){return 1==a.nodeType&&a.tagName&&a.tagName.toUpperCase()==Rd}),f=0;f<e.length;f++)e[f].parentNode.removeChild(e[f]);Ww(a);a.appendChild(c);for(f=0;f<e.length;f++)pr(e[f].innerHTML).match(R3)&&a.appendChild(e[f].cloneNode(!0))}else a.innerHTML=b};
t.Lma=function(){this.i2={};for(var a=Ew(null,io,this.eC),b=0;b<a.length;b++){var c=a[b];c.id=/sites-tile-name-\S+/.exec(c.className)+"-editing";Hx(c,"sites-layout-empty-tile");var e=this.za.wB(c.id,!0,[this.QV,this.SAa()]);e.Lea();if(c.tagName==fe){var f=dx(c),g=Iy(f),f=bz(f),c=cz(c).height-g.top-g.bottom-f.top-f.bottom;e.hA(c)}K(e.bd,Kg,A(this.kCa,this,e),!1,this)}};t.Z0=function(){for(var a=this.za.Sb,b=a.length-1;0<=b;b--){var c=a[b];c.Vea();c=c.b();this.za.MS(c.id);c.id=null}};
t.Yta=function(a){for(var b=a.b(),c=b.parentNode,e=[],f=0;f<c.childNodes.length;f++)b=c.childNodes[f],(b=this.za.Qi(b.id))&&b!=a&&e.push(b);return e};t.kCa=function(a){var b=a.b();if(b.tagName==fe){var c=a.Be();if(c!=this.i2[b.id]){var e=a.wq;e<=c&&(a.hA(null),e=null,c=a.Be());if(!e){var e=this.Yta(a),f=zs(e,function(a,b){return Math.max(a,b.Gsa())},0),g;f>c?(g=f,a.hA(f)):g=c;E(e,function(a){a.hA(g)})}this.i2[b.id]=a.Be()}}};
t.XLa=function(a){JOT_setStatusMsg("Switching to new layout...");var b={"sys/layout":a,"main/text":this.Vs()};JOT_callGateway("EditorSwitchLayout",b,A(this.yCa,this,a),A(this.xCa,this));this.Zfa()};t.yCa=function(a,b){var c=b.target.getResponseJson().content;if(!c)throw"Server returned empty html content";c=new S3(this,a,c);this.PV.aY(c);c.redo();JOT_clearStatusMsg()};t.xCa=function(){JOT_setStatusMsg("Error switching to new layout.")};t.Zfa=function(){var a={};a[X1.LAYOUT]=this.um;this.Ea&&this.Ea.VA(a)};
t.Rca=function(a){this.um=a;this.Zfa()};t.SAa=function(){return new H3(this.kp)};var T3=["page-btns","sites-revision-info"];t=O3.prototype;
t.AAa=function(){this.IL();this.jLa();this.tna();this.QKa();this.Mca(!1);var a=O(Af);a&&(a.style.display=Yk);a=O(ko);this.n0=O("title-crumbs");for(var b=0;b<T3.length;b++){var c=O(T3[b]);c&&(c.style.display=Yk)}this.n0.style.display=Yk;b=this.YI=Ow(Ej);b.type=Xo;b.className=bo;b.value=webspace.page.title;(new CD).la(b);b.setAttribute(rf,"Page title");Ww(a);a.appendChild(b);G&&!I("8")&&(b.style.fontSize="1em",b.style.fontFamily=a.currentStyle.fontFamily,b.style.fontWeight=a.currentStyle.fontWeight,
b.style.color=a.currentStyle.color,b.style.letterSpacing=a.currentStyle.letterSpacing,K(a,ng,this.k5,!1,this),a.style.marginLeft="-2px",a.style.marginRight="2px");this.nea(!0);this.sD=new cD;this.sD.la(O(Zn));this.sD.wU(!0);Fx(document.body,ao);this.za.open();this.editing=!0;this.UY&&this.xHa(this.UY)};t.k5=function(a){"H3"==a.target.nodeName&&(a=a.target.getElementsByTagName(Ej)[0],a.focus(),JD(a,a.value.length))};
t.IL=function(){this.GV=O(Zn);this.Ea=this.za.HL(!1,null,this.GV);K(this.Ea.Ea,Le,this.wxa,!1,this)};t.jLa=function(){Fx(this.GV,Ui);this.za.xA(!0);this.mp(!0);var a={};a[X1.LAYOUT]=this.um;this.Ea.VA(a)};t.nea=function(a){var b=O(ko);a?(this.pMa=b.style.display,b.style.display=""):b.style.display=this.pMa};
t.tna=function(){this.DH||(this.DH=Ow(n,{id:"sites-editor-savecancel"}),O("sites-page-info-bar").appendChild(this.DH),this.CK=Ow(vo,{id:"sites-autosaveStatus"}),this.DH.appendChild(this.CK));var a=U3,b=[[a.Rv,"Save",2],[a.si,Ac]];(this.YP||webspace.features.pageDrafts&&webspace.page.isPageDraft)&&b.unshift([a.SJ,"Save Draft"]);for(var c=0;c<b.length;c++){var e=b[c],f=this.Zq[e[0]]=new HF(e[1],null,e[2]||null);f.Ia=e[0];K(f,Le,this.J5,!1,this);f.ha(this.DH);f.b().id="sites-editor-button-"+e[0]}b=this.Vb;
c=new vI(A(this.YP?this.Ml:this.save,this),!0);b.kf(c,c.Mi);c.bY(this.Zq[a.Rv].b());this.EH=c;c=new nI(A(this.qva,this),!0);b.kf(c,c.Mi);c.bY(this.Zq[a.si].b());this.NC=c};t.toa=function(){for(var a in this.Zq){var b=this.Zq[a];Ou(b,Le,this.J5,!1,this);b.dispose();delete this.Zq[b]}this.Vb.Tq(this.EH);Rt(this.EH);this.EH=null;this.Vb.Tq(this.NC);Rt(this.NC);this.NC=null};t.mp=function(a){for(var b=[U3.Rv,U3.SJ],c=0;c<b.length;c++){var e=this.Zq[b[c]];e&&e.ra(a)}this.Nz=!a};
t.kya=function(){Hx(this.GV,Ui);this.za.xA(!1)};t.XH=function(a){this.CK.style.display=a?"":Yk};t.mn=function(){return this.za.mn()||this.Xx()!=webspace.page.title};O3.prototype.hasUnsavedChanges=O3.prototype.mn;t=O3.prototype;t.$ja=function(a){a=a.target.getResponseJson();a.error||a.warning?a.error===vh&&(JOT_setStatusMsg(ve),JOT_clearStatusMsg(1E4)):this.editing?(this.za.mr(!1),a="draft saved at "+a.time,webspace.page.hasAutosave=!0,this.XH(!0),nx(this.CK,a)):this.KS();this.dispatchEvent(new J("autoSaved"))};
t.Xx=function(){return pr(this.YI.value)||"Untitled"};
t.Vka=function(){if(this.mn()){var a={"autosave/content":this.Vs(),"autosave/title":this.Xx(),"autosave/layout":this.um,"autosave/userId":webspace.user.uid,"autosave/forWuid":webspace.page.wuid,"autosave/forRevision":webspace.page.revision},a={parent:webspace.page.path,properties:a};this.Rl&&(a.recoverEdit=this.Rl);JOT_callGateway("EditorAutoSave",a,A(this.$ja,this),A(function(a){JOT_setStatusMsg("ERROR saving draft: "+a.error?a.error:"");this.za.mr(!0)},this))}};
t.save=function(a,b){if(!this.Nz){this.Ea.Wla();this.XH(!1);this.mp(!1);JOT_setStatusMsg("Saving...");var c={"main/text":this.Vs(),"main/title":this.Xx()};webspace.features.pageDrafts&&(c.isPageDraft=!!b);this.um!=this.z$&&(c[Oo]=this.um);c={uri:webspace.page.wuid,properties:c,requestPath:(new oD(new String(window.location))).getPath()};a||(c.verifyLockRevision=webspace.page.revision);var e=new f1;window.jstiming.load.tick("beforeXhr",He);JOT_callGateway("EditorSave",c,A(e.Ad,e),A(e.tf,e));e.Ra(this.zS,
this);e.Ra(A(this.cka,this,!!b));e.zk(this.At,this)}};t.zS=function(a){window.jstiming.load.tick("afterXhr",He);return a.target.getResponseJson()};t.At=function(a){JOT_setStatusMsg(a?a:"Unable to save the page at this time, please try again later.");this.mp(!0);window.jstiming.load.tick(rh,He);window.jstiming.load.name="save_error";window.jstiming.report(window.jstiming.load,null,webspace.csiReportUri)};
t.cka=function(a,b){this.Nz=!1;fv("ToolBar","Save edit",b.error||b.warning||"Success");if(b.error)b.error===vh?this.At(ve):this.At();else if(b.warning)"brokeLock"==b.warning?this.AI(uG({user:b.lockUser}),a):b.warning==Uf&&this.AI(tG({user:b.lockUser}),a);else{JOT_setStatusMsg("Your changes have been saved");this.za.mr(!1);this.KS();webspace.page.revision=b.revision;webspace.features.pageDrafts&&!a&&(webspace.page.isPageDraft=!1);var c=O("version-history");c&&JOT_setInnerRelativeTime(c,b.timestamp,
b.time);(c=O("sites-announcement-updated-time"))&&JOT_setInnerRelativeTime(c,b.timestamp,b.time);this.kL();this.YH(b.content);N3(Yn);JOT_postEvent("completeEditRender");JOT_clearStatusMsg(1E4)}window.jstiming.load.tick(rh,He);window.jstiming.load.name="save";window.jstiming.report(window.jstiming.load,null,webspace.csiReportUri);this.dispatchEvent(new J("saved"))};t.Mca=function(a){var b=Oq("gsites.HoverPopupMenu.setSiteDropdownMenusFocusable");Wq(b)&&b(a)};
t.Ml=function(){if(!this.Nz){this.XH(!1);this.mp(!1);JOT_setStatusMsg("Publishing...");var a={"main/text":this.Vs(),"main/title":this.Xx()};this.um!=this.z$&&(a[Oo]=this.um);a={page:webspace.page.wuid,requestPath:(new oD(new String(window.location))).getPath(),properties:a};JOT_callGateway("PublishDraft",a,A(this.bka,this),A(function(a){JOT_setStatusMsg("ERROR publish: "+a);this.mp(!0)},this))}};
t.bka=function(a){this.Nz=!1;a=a.target.getResponseJson();a.error?(JOT_setStatusMsg(a.error===vh?ve:"ERROR publishing: "+a.error),this.mp(!0)):a.warning?"brokeLock"==a.warning?this.AI(wG({user:a.lockUser}),!1):a.warning==Uf&&this.AI(vG({user:a.lockUser}),!1):(JOT_setStatusMsg("Your changes have been published"),this.za.mr(!1),this.QZ(),this.kL(),window.location.href=a.url)};
t.AI=function(a,b){var c=JOT_createDialog("Edit Conflict",a,null,MSG_JOT_DIALOG_YES,A(function(){this.save(!0,b)},this),MSG_JOT_DIALOG_NO,A(function(){JOT_clearStatusMsg();this.mp(!0);this.za.focus()},this));c.setVisible(!0);c.compParts.btnCancel.firstElementChild.focus()};
t.kL=function(a){if(a&&webspace.features.pageDrafts&&webspace.page.isPageDraft&&this.p8){var b=new IA;b.Gb(B1,!0);b.Gb(C1,!1,!0);WF(Ec,"This page is currently a draft and will not be visible to others until you save it. Are you sure you want to discard your changes and keep it as draft?",A(this.oL,this,a),null,void 0,void 0,b)}else a&&(this.mn()||this.ZO())?(b=new IA,b.Gb(B1,!0),b.Gb(C1,!1,!0),WF(Ec,pc,A(this.oL,this,a),null,void 0,void 0,b)):this.oL(a)};
t.oL=function(a){this.p8=!1;this.KS();this.cL();this.wM.close();this.Z0();this.PV.clearHistory();this.za.close();Hx(document.body,ao);var b=this.YI.parentNode;a||(webspace.page.title=this.Xx(),document.title=webspace.page.title+(" ("+(webspace.siteTitle+")")));for(var c=0;c<T3.length;c++){var e=O(T3[c]);e&&(e.style.display="")}Hx(O("goog-ws-page-tools-div"),"editing-page-tools-div");G&&!I("8")&&Ou(b,ng,this.k5,!1,this);Ww(b);c=Ow(Td,{id:"sites-page-title"});nx(c,webspace.page.title);var e=-1==xv(webspace.page.title,
void 0)?an:jk,f=e==an?fn:uk;b.setAttribute("align",e);b.setAttribute(Qg,f);b.appendChild(c);JOT_postEvent("titleChange",null,{wuid:webspace.page.wuid,title:webspace.page.title});G&&(b.style.marginLeft="",b.style.marginRight="");0!=webspace.page.path.indexOf("/config/pagetemplates")&&(this.n0.style.display="");delete this.YI;this.nea(!1);this.kya();this.toa();this.hya();this.Mca(!0);if(b=O(Af))b.style.display="";this.sD.wU(!1);this.sD.dispose();this.editing=!1;a&&this.YH(this.eDa);JOT_postEvent("completeEdit")};
var U3={Rv:"sites-save",SJ:"sites-save-draft",si:"sites-cancel"},V3=qt(U3),W3=qt(X1);O3.prototype.execCommand=function(a,b){switch(a){case U3.Rv:window.jstiming.load.t={};window.jstiming.load.tick(He);this.YP?this.Ml():this.save(!1,!1);break;case U3.SJ:this.save(!1,!0);break;case U3.si:fv("ToolBar","Cancel Edit");this.wM.close();this.kL(!0);break;case X1.LAYOUT:fv("Layout menu","Change layout",b);this.XLa(b);break;case X1.NW:eK(jo,"editPage");break;case X1.SW:this.Vb.nn.K(!0)}};
O3.prototype.wxa=function(a){var b=this.Ea.BN(a.target.getId());b in W3&&this.execCommand(b,a.target.getValue())};O3.prototype.J5=function(a){var b=a.target.Ia;b&&b in V3&&this.execCommand(b,a.target.getValue())};O3.prototype.qva=function(){var a=this.za.Wj;a.Bc()?a.Nw():this.execCommand(U3.si)};var S3=function(a,b,c){this.F$=a;this.lV={};this.lV[pb]=[a.um,a.Vs()];this.lV[fb]=[b,c];r0.call(this,!1)};C(S3,r0);t=S3.prototype;t.Dka=function(a){a=this.lV[a];this.F$.Rca(a[0]);this.F$.YH(a[1]);this.dispatchEvent(Me)};
t.U0=function(a){window.setTimeout(A(this.Dka,this,a),0)};t.undo=function(){this.U0(pb)};t.redo=function(){this.U0(fb)};t.$d=function(a){return a==this};t.x7=function(){return!0};HA.prototype.setVisible=HA.prototype.K;HA.prototype.getElement=HA.prototype.b;HA.prototype.dispose=HA.prototype.dispose;F.prototype.getDisposed=F.prototype.t3;JG.prototype.setVisible=JG.prototype.K;UH.TimeZoneAllLongNames||(UH.TimeZoneAllLongNames={});
UH.TimeZoneAllLongNames.en=[{id:"Etc/GMT+12",name:"GMT-12:00"},{id:"Etc/GMT+11",name:"GMT-11:00"},{id:"Pacific/Pago_Pago",name:"GMT-11:00 American Samoa Time"},{id:"Pacific/Niue",name:"GMT-11:00 Niue Time"},{id:"Pacific/Midway",name:"GMT-11:00 Samoa Standard Time - Midway"},{id:"Pacific/Apia",name:"GMT-11:00 Samoa Time"},{id:"Etc/GMT+10",name:"GMT-10:00"},{id:"Pacific/Rarotonga",name:"GMT-10:00 Cook Islands Time"},{id:"Pacific/Honolulu",name:"GMT-10:00 Hawaii-Aleutian Standard Time - Honolulu"},{id:"Pacific/Johnston",
name:"GMT-10:00 Hawaii-Aleutian Standard Time - Johnston"},{id:"Pacific/Tahiti",name:"GMT-10:00 Tahiti Time"},{id:"Pacific/Fakaofo",name:"GMT-10:00 Tokelau Time"},{id:"America/Adak",name:"GMT-10:00 United States (Adak)"},{id:"Pacific/Marquesas",name:"GMT-09:30 Marquesas Time"},{id:"Etc/GMT+9",name:"GMT-09:00"},{id:"America/Anchorage",name:"GMT-09:00 Alaska Time - Anchorage"},{id:"America/Juneau",name:"GMT-09:00 Alaska Time - Juneau"},{id:"America/Nome",name:"GMT-09:00 Alaska Time - Nome"},{id:"America/Yakutat",
name:"GMT-09:00 Alaska Time - Yakutat"},{id:"Pacific/Gambier",name:"GMT-09:00 Gambier Time"},{id:"Etc/GMT+8",name:"GMT-08:00"},{id:"America/Dawson",name:"GMT-08:00 Pacific Time - Dawson"},{id:"America/Los_Angeles",name:"GMT-08:00 Pacific Time - Los Angeles"},{id:"America/Tijuana",name:"GMT-08:00 Pacific Time - Tijuana"},{id:"America/Vancouver",name:"GMT-08:00 Pacific Time - Vancouver"},{id:"America/Whitehorse",name:"GMT-08:00 Pacific Time - Whitehorse"},{id:"Pacific/Pitcairn",name:"GMT-08:00 Pitcairn Time"},
{id:"Etc/GMT+7",name:"GMT-07:00"},{id:"America/Dawson_Creek",name:"GMT-07:00 Mountain Standard Time - Dawson Creek"},{id:"America/Hermosillo",name:"GMT-07:00 Mountain Standard Time - Hermosillo"},{id:"America/Phoenix",name:"GMT-07:00 Mountain Standard Time - Phoenix"},{id:"America/Boise",name:"GMT-07:00 Mountain Time - Boise"},{id:"America/Cambridge_Bay",name:"GMT-07:00 Mountain Time - Cambridge Bay"},{id:"America/Chihuahua",name:"GMT-07:00 Mountain Time - Chihuahua"},{id:"America/Denver",name:"GMT-07:00 Mountain Time - Denver"},
{id:"America/Edmonton",name:"GMT-07:00 Mountain Time - Edmonton"},{id:"America/Inuvik",name:"GMT-07:00 Mountain Time - Inuvik"},{id:"America/Mazatlan",name:"GMT-07:00 Mountain Time - Mazatlan"},{id:"America/Shiprock",name:"GMT-07:00 Mountain Time - Shiprock"},{id:"America/Yellowknife",name:"GMT-07:00 Mountain Time - Yellowknife"},{id:"Etc/GMT+6",name:"GMT-06:00"},{id:"America/Belize",name:"GMT-06:00 Belize Time"},{id:"America/Regina",name:"GMT-06:00 Central Standard Time - Regina"},{id:"America/Swift_Current",
name:"GMT-06:00 Central Standard Time - Swift Current"},{id:"America/Cancun",name:"GMT-06:00 Central Time - Cancun"},{id:"America/North_Dakota/Center",name:"GMT-06:00 Central Time - Center, North Dakota"},{id:"America/Chicago",name:"GMT-06:00 Central Time - Chicago"},{id:"America/Indiana/Knox",name:"GMT-06:00 Central Time - Knox, Indiana"},{id:"America/Menominee",name:"GMT-06:00 Central Time - Menominee"},{id:"America/Merida",name:"GMT-06:00 Central Time - Merida"},{id:"America/Mexico_City",name:"GMT-06:00 Central Time - Mexico City"},
{id:"America/Monterrey",name:"GMT-06:00 Central Time - Monterrey"},{id:"America/North_Dakota/New_Salem",name:"GMT-06:00 Central Time - New Salem, North Dakota"},{id:"America/Rainy_River",name:"GMT-06:00 Central Time - Rainy River"},{id:"America/Rankin_Inlet",name:"GMT-06:00 Central Time - Rankin Inlet"},{id:"America/Indiana/Tell_City",name:"GMT-06:00 Central Time - Tell City, Indiana"},{id:"America/Winnipeg",name:"GMT-06:00 Central Time - Winnipeg"},{id:"America/Costa_Rica",name:"GMT-06:00 Costa Rica Time"},
{id:"America/El_Salvador",name:"GMT-06:00 El Salvador Time"},{id:"Pacific/Galapagos",name:"GMT-06:00 Galapagos Time"},{id:"America/Guatemala",name:"GMT-06:00 Guatemala Time"},{id:"America/Tegucigalpa",name:"GMT-06:00 Honduras Time"},{id:"America/Managua",name:"GMT-06:00 Nicaragua Time"},{id:"Etc/GMT+5",name:"GMT-05:00"},{id:"America/Eirunepe",name:"GMT-05:00 Acre Time - Eirunepe"},{id:"America/Rio_Branco",name:"GMT-05:00 Acre Time - Rio Branco"},{id:"America/Nassau",name:"GMT-05:00 Bahamas Time"},
{id:"America/Cayman",name:"GMT-05:00 Cayman Islands Time"},{id:"Pacific/Easter",name:"GMT-05:00 Chile (Easter)"},{id:"America/Bogota",name:"GMT-05:00 Colombia Time"},{id:"America/Havana",name:"GMT-05:00 Cuba Time"},{id:"America/Coral_Harbour",name:"GMT-05:00 Eastern Standard Time - Coral Harbour"},{id:"America/Resolute",name:"GMT-05:00 Eastern Standard Time - Resolute"},{id:"America/Detroit",name:"GMT-05:00 Eastern Time - Detroit"},{id:"America/Indianapolis",name:"GMT-05:00 Eastern Time - Indianapolis"},
{id:"America/Iqaluit",name:"GMT-05:00 Eastern Time - Iqaluit"},{id:"America/Louisville",name:"GMT-05:00 Eastern Time - Louisville"},{id:"America/Indiana/Marengo",name:"GMT-05:00 Eastern Time - Marengo, Indiana"},{id:"America/Kentucky/Monticello",name:"GMT-05:00 Eastern Time - Monticello, Kentucky"},{id:"America/Montreal",name:"GMT-05:00 Eastern Time - Montreal"},{id:"America/New_York",name:"GMT-05:00 Eastern Time - New York"},{id:"America/Nipigon",name:"GMT-05:00 Eastern Time - Nipigon"},{id:"America/Pangnirtung",
name:"GMT-05:00 Eastern Time - Pangnirtung"},{id:"America/Indiana/Petersburg",name:"GMT-05:00 Eastern Time - Petersburg, Indiana"},{id:"America/Thunder_Bay",name:"GMT-05:00 Eastern Time - Thunder Bay"},{id:"America/Toronto",name:"GMT-05:00 Eastern Time - Toronto"},{id:"America/Indiana/Vevay",name:"GMT-05:00 Eastern Time - Vevay, Indiana"},{id:"America/Indiana/Vincennes",name:"GMT-05:00 Eastern Time - Vincennes, Indiana"},{id:"America/Indiana/Winamac",name:"GMT-05:00 Eastern Time - Winamac, Indiana"},
{id:"America/Guayaquil",name:"GMT-05:00 Ecuador Time"},{id:"America/Port-au-Prince",name:"GMT-05:00 Haiti Time"},{id:"America/Jamaica",name:"GMT-05:00 Jamaica Time"},{id:"America/Panama",name:"GMT-05:00 Panama Time"},{id:"America/Lima",name:"GMT-05:00 Peru Time"},{id:"America/Grand_Turk",name:"GMT-05:00 Turks and Caicos Islands Time"},{id:"America/Caracas",name:"GMT-04:30 Venezuela Time"},{id:"Etc/GMT+4",name:"GMT-04:00"},{id:"America/Boa_Vista",name:"GMT-04:00 Amazon Time - Boa Vista"},{id:"America/Manaus",
name:"GMT-04:00 Amazon Time - Manaus"},{id:"America/Porto_Velho",name:"GMT-04:00 Amazon Time - Porto Velho"},{id:"America/Santarem",name:"GMT-04:00 Amazon Time - Santarem"},{id:"America/Anguilla",name:"GMT-04:00 Anguilla Time"},{id:"America/Antigua",name:"GMT-04:00 Antigua and Barbuda Time"},{id:"America/Aruba",name:"GMT-04:00 Aruba Time"},{id:"America/Blanc-Sablon",name:"GMT-04:00 Atlantic Standard Time - Blanc-Sablon"},{id:"America/Glace_Bay",name:"GMT-04:00 Atlantic Time - Glace Bay"},{id:"America/Goose_Bay",
name:"GMT-04:00 Atlantic Time - Goose Bay"},{id:"America/Halifax",name:"GMT-04:00 Atlantic Time - Halifax"},{id:"America/Moncton",name:"GMT-04:00 Atlantic Time - Moncton"},{id:"America/Thule",name:"GMT-04:00 Atlantic Time - Thule"},{id:"America/Barbados",name:"GMT-04:00 Barbados Time"},{id:"Atlantic/Bermuda",name:"GMT-04:00 Bermuda Time"},{id:"America/La_Paz",name:"GMT-04:00 Bolivia Time"},{id:"America/Tortola",name:"GMT-04:00 British Virgin Islands Time"},{id:"America/Dominica",name:"GMT-04:00 Dominica Time"},
{id:"America/Santo_Domingo",name:"GMT-04:00 Dominican Republic Time"},{id:"America/Grenada",name:"GMT-04:00 Grenada Time"},{id:"America/Guadeloupe",name:"GMT-04:00 Guadeloupe Time"},{id:"America/Guyana",name:"GMT-04:00 Guyana Time"},{id:"America/Martinique",name:"GMT-04:00 Martinique Time"},{id:"America/Montserrat",name:"GMT-04:00 Montserrat Time"},{id:"America/Curacao",name:"GMT-04:00 Netherlands Antilles Time"},{id:"America/Puerto_Rico",name:"GMT-04:00 Puerto Rico Time"},{id:"America/St_Kitts",
name:"GMT-04:00 Saint Kitts and Nevis Time"},{id:"America/St_Lucia",name:"GMT-04:00 Saint Lucia Time"},{id:"America/St_Vincent",name:"GMT-04:00 Saint Vincent and the Grenadines Time"},{id:"America/Port_of_Spain",name:"GMT-04:00 Trinidad and Tobago Time"},{id:"America/St_Thomas",name:"GMT-04:00 U.S. Virgin Islands Time"},{id:"America/St_Johns",name:"GMT-03:30 Newfoundland Time"},{id:"Etc/GMT+3",name:"GMT-03:00"},{id:"Antarctica/Palmer",name:"GMT-03:00 Antarctica (Palmer)"},{id:"America/Araguaina",
name:"GMT-03:00 Brasilia Time - Araguaina"},{id:"America/Bahia",name:"GMT-03:00 Brasilia Time - Bahia"},{id:"America/Belem",name:"GMT-03:00 Brasilia Time - Belem"},{id:"America/Fortaleza",name:"GMT-03:00 Brasilia Time - Fortaleza"},{id:"America/Maceio",name:"GMT-03:00 Brasilia Time - Maceio"},{id:"America/Recife",name:"GMT-03:00 Brasilia Time - Recife"},{id:"America/Campo_Grande",name:"GMT-03:00 Brazil (Campo Grande)"},{id:"America/Cuiaba",name:"GMT-03:00 Brazil (Cuiaba)"},{id:"America/Santiago",
name:"GMT-03:00 Chile (Santiago)"},{id:"Atlantic/Stanley",name:"GMT-03:00 Falkland Islands Time"},{id:"America/Cayenne",name:"GMT-03:00 French Guiana Time"},{id:"America/Godthab",name:"GMT-03:00 Greenland (Godthab)"},{id:"America/Asuncion",name:"GMT-03:00 Paraguay Time"},{id:"America/Miquelon",name:"GMT-03:00 Pierre and Miquelon Time"},{id:"Antarctica/Rothera",name:"GMT-03:00 Rothera Time"},{id:"America/Paramaribo",name:"GMT-03:00 Suriname Time"},{id:"Etc/GMT+2",name:"GMT-02:00"},{id:"America/Buenos_Aires",
name:"GMT-02:00 Argentina (Buenos Aires)"},{id:"America/Catamarca",name:"GMT-02:00 Argentina (Catamarca)"},{id:"America/Cordoba",name:"GMT-02:00 Argentina (Cordoba)"},{id:"America/Jujuy",name:"GMT-02:00 Argentina (Jujuy)"},{id:"America/Argentina/La_Rioja",name:"GMT-02:00 Argentina (La Rioja)"},{id:"America/Mendoza",name:"GMT-02:00 Argentina (Mendoza)"},{id:"America/Argentina/Rio_Gallegos",name:"GMT-02:00 Argentina (Rio Gallegos)"},{id:"America/Argentina/San_Juan",name:"GMT-02:00 Argentina (San Juan)"},
{id:"America/Argentina/San_Luis",name:"GMT-02:00 Argentina (San Luis)"},{id:"America/Argentina/Tucuman",name:"GMT-02:00 Argentina (Tucuman)"},{id:"America/Argentina/Ushuaia",name:"GMT-02:00 Argentina (Ushuaia)"},{id:"America/Sao_Paulo",name:"GMT-02:00 Brazil (Sao Paulo)"},{id:"America/Noronha",name:"GMT-02:00 Fernando de Noronha Time"},{id:"Atlantic/South_Georgia",name:"GMT-02:00 South Georgia Time"},{id:"America/Montevideo",name:"GMT-02:00 Uruguay Time"},{id:"Etc/GMT+1",name:"GMT-01:00"},{id:"Atlantic/Cape_Verde",
name:"GMT-01:00 Cape Verde Time"},{id:"America/Scoresbysund",name:"GMT-01:00 Greenland (Scoresbysund)"},{id:"Atlantic/Azores",name:"GMT-01:00 Portugal (Azores)"},{id:"Etc/Unknown",name:"GMT+00:00"},{id:"Etc/GMT",name:"GMT+00:00"},{id:"Africa/Ouagadougou",name:"GMT+00:00 Burkina Faso Time"},{id:"Atlantic/Faeroe",name:"GMT+00:00 Faroe Islands Time"},{id:"Africa/Banjul",name:"GMT+00:00 Gambia Time"},{id:"Africa/Accra",name:"GMT+00:00 Ghana Time"},{id:"America/Danmarkshavn",name:"GMT+00:00 Greenwich Mean Time - Danmarkshavn"},
{id:"Europe/Guernsey",name:"GMT+00:00 Guernsey Time"},{id:"Africa/Conakry",name:"GMT+00:00 Guinea Time"},{id:"Africa/Bissau",name:"GMT+00:00 Guinea-Bissau Time"},{id:"Atlantic/Reykjavik",name:"GMT+00:00 Iceland Time"},{id:"Europe/Dublin",name:"GMT+00:00 Ireland Time"},{id:"Europe/Isle_of_Man",name:"GMT+00:00 Isle of Man Time"},{id:"Africa/Abidjan",name:"GMT+00:00 Ivory Coast Time"},{id:"Europe/Jersey",name:"GMT+00:00 Jersey Time"},{id:"Africa/Monrovia",name:"GMT+00:00 Liberia Time"},{id:"Africa/Bamako",
name:"GMT+00:00 Mali Time"},{id:"Africa/Nouakchott",name:"GMT+00:00 Mauritania Time"},{id:"Africa/Casablanca",name:"GMT+00:00 Morocco Time"},{id:"Europe/Lisbon",name:"GMT+00:00 Portugal (Lisbon)"},{id:"Atlantic/Madeira",name:"GMT+00:00 Portugal (Madeira)"},{id:"Atlantic/St_Helena",name:"GMT+00:00 Saint Helena Time"},{id:"Africa/Sao_Tome",name:"GMT+00:00 Sao Tome and Principe Time"},{id:"Africa/Dakar",name:"GMT+00:00 Senegal Time"},{id:"Africa/Freetown",name:"GMT+00:00 Sierra Leone Time"},{id:"Atlantic/Canary",
name:"GMT+00:00 Spain (Canary)"},{id:"Africa/Lome",name:"GMT+00:00 Togo Time"},{id:"Europe/London",name:"GMT+00:00 United Kingdom Time"},{id:"Africa/El_Aaiun",name:"GMT+00:00 Western European Time"},{id:"Etc/GMT-1",name:"GMT+01:00"},{id:"Europe/Tirane",name:"GMT+01:00 Albania Time"},{id:"Europe/Andorra",name:"GMT+01:00 Andorra Time"},{id:"Africa/Luanda",name:"GMT+01:00 Angola Time"},{id:"Europe/Vienna",name:"GMT+01:00 Austria Time"},{id:"Europe/Brussels",name:"GMT+01:00 Belgium Time"},{id:"Africa/Porto-Novo",
name:"GMT+01:00 Benin Time"},{id:"Europe/Sarajevo",name:"GMT+01:00 Bosnia and Herzegovina Time"},{id:"Africa/Douala",name:"GMT+01:00 Cameroon Time"},{id:"Africa/Bangui",name:"GMT+01:00 Central African Republic Time"},{id:"Africa/Algiers",name:"GMT+01:00 Central European Time"},{id:"Africa/Ndjamena",name:"GMT+01:00 Chad Time"},{id:"Africa/Brazzaville",name:"GMT+01:00 Congo - Brazzaville Time"},{id:"Europe/Zagreb",name:"GMT+01:00 Croatia Time"},{id:"Europe/Prague",name:"GMT+01:00 Czech Republic Time"},
{id:"Europe/Copenhagen",name:"GMT+01:00 Denmark Time"},{id:"Africa/Malabo",name:"GMT+01:00 Equatorial Guinea Time"},{id:"Europe/Paris",name:"GMT+01:00 France Time"},{id:"Africa/Libreville",name:"GMT+01:00 Gabon Time"},{id:"Europe/Berlin",name:"GMT+01:00 Germany Time"},{id:"Europe/Gibraltar",name:"GMT+01:00 Gibraltar Time"},{id:"Europe/Budapest",name:"GMT+01:00 Hungary Time"},{id:"Europe/Rome",name:"GMT+01:00 Italy Time"},{id:"Europe/Vaduz",name:"GMT+01:00 Liechtenstein Time"},{id:"Europe/Luxembourg",
name:"GMT+01:00 Luxembourg Time"},{id:"Europe/Skopje",name:"GMT+01:00 Macedonia Time"},{id:"Europe/Malta",name:"GMT+01:00 Malta Time"},{id:"Europe/Monaco",name:"GMT+01:00 Monaco Time"},{id:"Europe/Podgorica",name:"GMT+01:00 Montenegro Time"},{id:"Europe/Amsterdam",name:"GMT+01:00 Netherlands Time"},{id:"Africa/Niamey",name:"GMT+01:00 Niger Time"},{id:"Africa/Lagos",name:"GMT+01:00 Nigeria Time"},{id:"Europe/Oslo",name:"GMT+01:00 Norway Time"},{id:"Europe/Warsaw",name:"GMT+01:00 Poland Time"},{id:"Europe/San_Marino",
name:"GMT+01:00 San Marino Time"},{id:"Europe/Belgrade",name:"GMT+01:00 Serbia Time"},{id:"Europe/Bratislava",name:"GMT+01:00 Slovakia Time"},{id:"Europe/Ljubljana",name:"GMT+01:00 Slovenia Time"},{id:"Africa/Ceuta",name:"GMT+01:00 Spain (Ceuta)"},{id:"Europe/Madrid",name:"GMT+01:00 Spain (Madrid)"},{id:"Arctic/Longyearbyen",name:bd},{id:"Atlantic/Jan_Mayen",name:bd},{id:"Europe/Stockholm",name:"GMT+01:00 Sweden Time"},{id:"Europe/Zurich",name:"GMT+01:00 Switzerland Time"},{id:"Africa/Tunis",name:"GMT+01:00 Tunisia Time"},
{id:"Europe/Vatican",name:"GMT+01:00 Vatican Time"},{id:"Africa/Kinshasa",name:"GMT+01:00 West Africa Time - Kinshasa"},{id:"Etc/GMT-2",name:"GMT+02:00"},{id:"Europe/Mariehamn",name:"GMT+02:00 Aland Islands Time"},{id:"Europe/Minsk",name:"GMT+02:00 Belarus Time"},{id:"Africa/Gaborone",name:"GMT+02:00 Botswana Time"},{id:"Europe/Sofia",name:"GMT+02:00 Bulgaria Time"},{id:"Africa/Bujumbura",name:"GMT+02:00 Burundi Time"},{id:"Africa/Lubumbashi",name:"GMT+02:00 Central Africa Time - Lubumbashi"},{id:"Asia/Nicosia",
name:"GMT+02:00 Cyprus Time"},{id:"Africa/Tripoli",name:"GMT+02:00 Eastern European Time"},{id:"Africa/Cairo",name:"GMT+02:00 Egypt Time"},{id:"Europe/Tallinn",name:"GMT+02:00 Estonia Time"},{id:"Europe/Helsinki",name:"GMT+02:00 Finland Time"},{id:"Europe/Athens",name:"GMT+02:00 Greece Time"},{id:"Asia/Jerusalem",name:"GMT+02:00 Israel Time"},{id:"Asia/Amman",name:"GMT+02:00 Jordan Time"},{id:"Europe/Riga",name:"GMT+02:00 Latvia Time"},{id:"Asia/Beirut",name:"GMT+02:00 Lebanon Time"},{id:"Africa/Maseru",
name:"GMT+02:00 Lesotho Time"},{id:"Europe/Vilnius",name:"GMT+02:00 Lithuania Time"},{id:"Africa/Blantyre",name:"GMT+02:00 Malawi Time"},{id:"Europe/Chisinau",name:"GMT+02:00 Moldova Time"},{id:"Africa/Maputo",name:"GMT+02:00 Mozambique Time"},{id:"Africa/Windhoek",name:"GMT+02:00 Namibia Time"},{id:"Asia/Gaza",name:"GMT+02:00 Palestinian Territory Time"},{id:"Europe/Bucharest",name:"GMT+02:00 Romania Time"},{id:"Europe/Kaliningrad",name:"GMT+02:00 Russia (Kaliningrad)"},{id:"Africa/Kigali",name:"GMT+02:00 Rwanda Time"},
{id:"Africa/Johannesburg",name:"GMT+02:00 South Africa Time"},{id:"Africa/Mbabane",name:"GMT+02:00 Swaziland Time"},{id:"Asia/Damascus",name:"GMT+02:00 Syria Time"},{id:"Europe/Istanbul",name:"GMT+02:00 Turkey Time"},{id:"Europe/Kiev",name:"GMT+02:00 Ukraine (Kiev)"},{id:"Europe/Simferopol",name:"GMT+02:00 Ukraine (Simferopol)"},{id:"Europe/Uzhgorod",name:"GMT+02:00 Ukraine (Uzhgorod)"},{id:"Europe/Zaporozhye",name:"GMT+02:00 Ukraine (Zaporozhye)"},{id:"Africa/Lusaka",name:"GMT+02:00 Zambia Time"},
{id:"Africa/Harare",name:"GMT+02:00 Zimbabwe Time"},{id:"Etc/GMT-3",name:"GMT+03:00"},{id:"Asia/Baghdad",name:"GMT+03:00 Arabian Time"},{id:"Asia/Bahrain",name:"GMT+03:00 Bahrain Time"},{id:"Indian/Comoro",name:"GMT+03:00 Comoros Time"},{id:"Africa/Djibouti",name:"GMT+03:00 Djibouti Time"},{id:"Africa/Asmera",name:"GMT+03:00 Eritrea Time"},{id:"Africa/Addis_Ababa",name:"GMT+03:00 Ethiopia Time"},{id:"Africa/Nairobi",name:"GMT+03:00 Kenya Time"},{id:"Asia/Kuwait",name:"GMT+03:00 Kuwait Time"},{id:"Indian/Antananarivo",
name:"GMT+03:00 Madagascar Time"},{id:"Indian/Mayotte",name:"GMT+03:00 Mayotte Time"},{id:"Europe/Moscow",name:"GMT+03:00 Moscow Time"},{id:"Asia/Qatar",name:"GMT+03:00 Qatar Time"},{id:"Europe/Volgograd",name:"GMT+03:00 Russia (Volgograd)"},{id:"Asia/Riyadh",name:"GMT+03:00 Saudi Arabia Time"},{id:"Africa/Mogadishu",name:"GMT+03:00 Somalia Time"},{id:"Africa/Khartoum",name:"GMT+03:00 Sudan Time"},{id:"Antarctica/Syowa",name:"GMT+03:00 Syowa Time"},{id:"Africa/Dar_es_Salaam",name:"GMT+03:00 Tanzania Time"},
{id:"Africa/Kampala",name:"GMT+03:00 Uganda Time"},{id:"Asia/Aden",name:"GMT+03:00 Yemen Time"},{id:"Asia/Tehran",name:"GMT+03:30 Iran Time"},{id:"Etc/GMT-4",name:"GMT+04:00"},{id:"Asia/Yerevan",name:"GMT+04:00 Armenia Time"},{id:"Asia/Baku",name:"GMT+04:00 Azerbaijan Time"},{id:"Asia/Tbilisi",name:"GMT+04:00 Georgia Time"},{id:"Indian/Mauritius",name:"GMT+04:00 Mauritius Time"},{id:"Asia/Muscat",name:"GMT+04:00 Oman Time"},{id:"Indian/Reunion",name:"GMT+04:00 Reunion Time"},{id:"Europe/Samara",name:"GMT+04:00 Russia (Samara)"},
{id:"Indian/Mahe",name:"GMT+04:00 Seychelles Time"},{id:"Asia/Dubai",name:"GMT+04:00 United Arab Emirates Time"},{id:"Asia/Kabul",name:"GMT+04:30 Afghanistan Time"},{id:"Etc/GMT-5",name:"GMT+05:00"},{id:"Indian/Kerguelen",name:"GMT+05:00 French Southern and Antarctic Time"},{id:"Indian/Maldives",name:"GMT+05:00 Maldives Time"},{id:"Asia/Karachi",name:"GMT+05:00 Pakistan Time"},{id:"Asia/Yekaterinburg",name:"GMT+05:00 Russia (Yekaterinburg)"},{id:"Asia/Dushanbe",name:"GMT+05:00 Tajikistan Time"},{id:"Asia/Ashgabat",
name:"GMT+05:00 Turkmenistan Time"},{id:"Asia/Samarkand",name:"GMT+05:00 Uzbekistan Time - Samarkand"},{id:"Asia/Tashkent",name:"GMT+05:00 Uzbekistan Time - Tashkent"},{id:"Asia/Aqtau",name:"GMT+05:00 West Kazakhstan Standard Time - Aqtau"},{id:"Asia/Aqtobe",name:"GMT+05:00 West Kazakhstan Standard Time - Aqtobe"},{id:"Asia/Oral",name:"GMT+05:00 West Kazakhstan Standard Time - Oral"},{id:"Asia/Calcutta",name:"GMT+05:30 India Time"},{id:"Asia/Colombo",name:"GMT+05:30 Sri Lanka Time"},{id:"Asia/Katmandu",
name:"GMT+05:45 Nepal Time"},{id:"Etc/GMT-6",name:"GMT+06:00"},{id:"Asia/Dhaka",name:"GMT+06:00 Bangladesh Time"},{id:"Asia/Thimphu",name:"GMT+06:00 Bhutan Time"},{id:"Asia/Almaty",name:"GMT+06:00 East Kazakhstan Standard Time - Almaty"},{id:"Asia/Qyzylorda",name:"GMT+06:00 East Kazakhstan Standard Time - Qyzylorda"},{id:"Indian/Chagos",name:"GMT+06:00 Indian Ocean Time"},{id:"Asia/Bishkek",name:"GMT+06:00 Kyrgystan Time"},{id:"Antarctica/Mawson",name:"GMT+06:00 Mawson Time"},{id:"Asia/Novosibirsk",
name:"GMT+06:00 Russia (Novosibirsk)"},{id:"Asia/Omsk",name:"GMT+06:00 Russia (Omsk)"},{id:"Antarctica/Vostok",name:"GMT+06:00 Vostok Time"},{id:"Indian/Cocos",name:"GMT+06:30 Cocos Islands Time"},{id:"Asia/Rangoon",name:"GMT+06:30 Myanmar Time"},{id:"Etc/GMT-7",name:"GMT+07:00"},{id:"Asia/Phnom_Penh",name:"GMT+07:00 Cambodia Time"},{id:"Indian/Christmas",name:"GMT+07:00 Christmas Island Time"},{id:"Antarctica/Davis",name:"GMT+07:00 Davis Time"},{id:"Asia/Hovd",name:"GMT+07:00 Hovd Time"},{id:"Asia/Vientiane",
name:"GMT+07:00 Laos Time"},{id:"Asia/Krasnoyarsk",name:"GMT+07:00 Russia (Krasnoyarsk)"},{id:"Asia/Bangkok",name:"GMT+07:00 Thailand Time"},{id:"Asia/Saigon",name:"GMT+07:00 Vietnam Time"},{id:"Asia/Jakarta",name:"GMT+07:00 Western Indonesia Time - Jakarta"},{id:"Asia/Pontianak",name:"GMT+07:00 Western Indonesia Time - Pontianak"},{id:"Etc/GMT-8",name:"GMT+08:00"},{id:"Antarctica/Casey",name:"GMT+08:00 Australian Western Standard Time"},{id:"Asia/Brunei",name:"GMT+08:00 Brunei Darussalam Time"},
{id:"Asia/Makassar",name:"GMT+08:00 Central Indonesia Time"},{id:"Asia/Chongqing",name:"GMT+08:00 China Standard Time - Chongqing"},{id:"Asia/Harbin",name:"GMT+08:00 China Standard Time - Harbin"},{id:"Asia/Kashgar",name:"GMT+08:00 China Standard Time - Kashgar"},{id:"Asia/Shanghai",name:"GMT+08:00 China Standard Time - Shanghai"},{id:"Asia/Urumqi",name:"GMT+08:00 China Standard Time - Urumqi"},{id:"Asia/Hong_Kong",name:"GMT+08:00 Hong Kong Time"},{id:"Asia/Macau",name:"GMT+08:00 Macau SAR China Time"},
{id:"Asia/Kuala_Lumpur",name:"GMT+08:00 Malaysia Time - Kuala Lumpur"},{id:"Asia/Kuching",name:"GMT+08:00 Malaysia Time - Kuching"},{id:"Asia/Manila",name:"GMT+08:00 Philippine Time"},{id:"Asia/Irkutsk",name:"GMT+08:00 Russia (Irkutsk)"},{id:"Asia/Singapore",name:"GMT+08:00 Singapore Standard Time"},{id:"Asia/Taipei",name:"GMT+08:00 Taiwan Time"},{id:"Asia/Ulaanbaatar",name:"GMT+08:00 Ulan Bator Time"},{id:"Etc/GMT-9",name:"GMT+09:00"},{id:"Asia/Choibalsan",name:"GMT+09:00 Choibalsan Time"},{id:"Asia/Dili",
name:"GMT+09:00 East Timor Time"},{id:"Asia/Jayapura",name:"GMT+09:00 Eastern Indonesia Time"},{id:"Asia/Tokyo",name:"GMT+09:00 Japan Standard Time"},{id:"Asia/Pyongyang",name:"GMT+09:00 North Korea Time"},{id:"Pacific/Palau",name:"GMT+09:00 Palau Time"},{id:"Asia/Yakutsk",name:"GMT+09:00 Russia (Yakutsk)"},{id:"Asia/Seoul",name:"GMT+09:00 South Korea Time"},{id:"Australia/Perth",name:"GMT+09:00 Western Australia Time"},{id:"Australia/Darwin",name:"GMT+09:30 Australian Central Standard Time"},{id:"Australia/Eucla",
name:"GMT+09:45 Australian Central Western Time"},{id:"Etc/GMT-10",name:"GMT+10:00"},{id:"Australia/Brisbane",name:"GMT+10:00 Australian Eastern Standard Time - Brisbane"},{id:"Australia/Lindeman",name:"GMT+10:00 Australian Eastern Standard Time - Lindeman"},{id:"Antarctica/DumontDUrville",name:"GMT+10:00 Dumont-d'Urville Time"},{id:"Pacific/Guam",name:"GMT+10:00 Guam Time"},{id:"Pacific/Saipan",name:"GMT+10:00 Northern Mariana Islands Time"},{id:"Pacific/Port_Moresby",name:"GMT+10:00 Papua New Guinea Time"},
{id:"Asia/Sakhalin",name:"GMT+10:00 Russia (Sakhalin)"},{id:"Asia/Vladivostok",name:"GMT+10:00 Russia (Vladivostok)"},{id:"Pacific/Truk",name:"GMT+10:00 Truk Time"},{id:"Australia/Adelaide",name:"GMT+10:30 Central Australia Time - Adelaide"},{id:"Australia/Broken_Hill",name:"GMT+10:30 Central Australia Time - Broken Hill"},{id:"Etc/GMT-11",name:"GMT+11:00"},{id:"Australia/Currie",name:"GMT+11:00 Eastern Australia Time - Currie"},{id:"Australia/Hobart",name:"GMT+11:00 Eastern Australia Time - Hobart"},
{id:"Australia/Melbourne",name:"GMT+11:00 Eastern Australia Time - Melbourne"},{id:"Australia/Sydney",name:"GMT+11:00 Eastern Australia Time - Sydney"},{id:"Pacific/Kosrae",name:"GMT+11:00 Kosrae Time"},{id:"Australia/Lord_Howe",name:"GMT+11:00 Lord Howe Time"},{id:"Pacific/Noumea",name:"GMT+11:00 New Caledonia Time"},{id:"Pacific/Ponape",name:"GMT+11:00 Ponape Time"},{id:"Asia/Magadan",name:"GMT+11:00 Russia (Magadan)"},{id:"Pacific/Guadalcanal",name:"GMT+11:00 Solomon Islands Time"},{id:"Pacific/Efate",
name:"GMT+11:00 Vanuatu Time"},{id:"Pacific/Norfolk",name:"GMT+11:30 Norfolk Islands Time"},{id:"Etc/GMT-12",name:"GMT+12:00"},{id:"Pacific/Fiji",name:"GMT+12:00 Fiji Time"},{id:"Pacific/Tarawa",name:"GMT+12:00 Gilbert Islands Time"},{id:"Pacific/Kwajalein",name:"GMT+12:00 Marshall Islands Time - Kwajalein"},{id:"Pacific/Majuro",name:"GMT+12:00 Marshall Islands Time - Majuro"},{id:"Pacific/Nauru",name:"GMT+12:00 Nauru Time"},{id:"Asia/Anadyr",name:"GMT+12:00 Russia (Anadyr)"},{id:"Asia/Kamchatka",
name:"GMT+12:00 Russia (Kamchatka)"},{id:"Pacific/Funafuti",name:"GMT+12:00 Tuvalu Time"},{id:"Pacific/Wake",name:"GMT+12:00 Wake Island Time"},{id:"Pacific/Wallis",name:"GMT+12:00 Wallis and Futuna Time"},{id:"Etc/GMT-13",name:"GMT+13:00"},{id:"Antarctica/South_Pole",name:"GMT+13:00 Antarctica (South Pole)"},{id:"Pacific/Auckland",name:"GMT+13:00 New Zealand Time - Auckland"},{id:"Antarctica/McMurdo",name:"GMT+13:00 New Zealand Time - McMurdo"},{id:"Pacific/Enderbury",name:"GMT+13:00 Phoenix Islands Time"},
{id:"Pacific/Tongatapu",name:"GMT+13:00 Tonga Time"},{id:"Pacific/Chatham",name:"GMT+13:45 New Zealand (Chatham)"},{id:"Etc/GMT-14",name:"GMT+14:00"},{id:"Pacific/Kiritimati",name:"GMT+14:00 Line Islands Time"}];SH||(SH="en"); })()
