/* Copyright 2008 Google. */ (function() { var aa=" and communicationType=",ba=" and hash=",ca=" checked",da=' checked="checked"',fa=" goog-inline-block",ha=" picker-navpaneitem-not-clickable",ia=" selected",ja=' style="ime-mode:disabled"',ka="!goog.soy.data.SanitizedContent|string",la='" aria-label="',ma='" class="',na='" data-tooltip-unhoverable="true"',oa='" dir="',pa='" is not registered',ra='" with value "',sa='"/><div class="',ta='"/><p style="color: gray">',ua='">',va='">&nbsp;</span>',wa='"></div>',xa='"></div><div class="',ya='"></iframe>',
za='"><a target="keyboard_shortcuts_help_window" href="',Aa='"><div class="',Ba='"><span id="',Ca='"><table cellpadding="0" class="',Da='"><tr><td class="',Ea="&&&START&&&",Fa="' of type ",Ga="-10000px",Ha="-caption",Ia="-content",Ja="-default",Ka="-disabled",La="-dropdown",Ma="-inner-box",Na="-menu-selected",Oa="-nextMonth",Pa="-none-btn",Qa="-outer-box",Ra="-previousMonth",Sa="-today-btn",Ta="//ssl.gstatic.com/docs/picker/images/search-black.png",Ua="//www.google-analytics.com/analytics.js",Va=
'/<strong><span jotId="pageURLScrubbed">',Wa="/config/pagetemplates/",Xa="/resources/rpc_relay.html",Ya="/system/app/components/adsense",Za="/system/app/components/min-countdown",$a="/system/app/components/min-navigation",ab="/system/app/components/min-recentchanges",bb="/system/app/components/min-recentchanges-mylinksonly",cb="/system/app/components/min-textbox",db="/system/app/images/spinner.gif",eb="/system/app/pages/admin/adsense",fb="/system/app/pages/admin/pagetemplates",gb="/system/app/tiles/plusbadge",
hb="/system/app/tiles/plusone",ib="/system/app/tiles/recentauthors",jb="/system/app/tiles/siteadmins",kb="100%",lb="</div>",mb="</div><br/>",nb="</h3></th></tr>",ob="</span>",pb="</span></strong></p></p>",qb="</table>",rb="</td></tr>",sb='</td><td class="',tb='</td><td><div class="',ub='<a href="',vb='<div class="',wb='<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><img src="',xb='<div class="sites-page-settings-error">',yb='<div id="',zb='<div jotId="treeDiv"></div>',
Ab='<span aria-label="',Bb='<span class="',Cb='<table class="',Db='<tr><td class="',Eb='<tr><th colspan="2"><h3 class="',Fb="?pageReverted=",Gb="?smartPreview=true",Hb="ADVERTENCIA: error al deshacer la eliminaci\u00f3n",Ib="ADVERTENCIA: no se ha podido anular la eliminaci\u00f3n.",Jb="Acci\u00f3n iniciada",Kb="AdSensePromo",Lb="Aplicaci\u00f3n\n",Mb="A\u00f1adir",Nb="BUTTON",Ob="BackgroundImageCache",Pb="Bad server config: ",Qb="Buscar en todas las combinaciones de teclas",Rb="COMP_",Sb="COMP_page-comments",
Tb="COMP_page-subpages",Ub="CSS_APP_TABLE",Vb="CSS_SHORTCUTS_HELP_POPUP_CONTENT_ELEMENT",Wb="CSS_SHORTCUTS_HELP_POPUP_CONTENT_HEADER",Xb="CSS_SHORTCUTS_HELP_POPUP_HEADER_TABLE_ELEMENT",Yb="CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK",Zb="Cambiar la plantilla de p\u00e1gina",$b="Can't combine significant digits and minimum fraction digits",bc="Cancelar",cc='Cannot override "',dc="Cargando editor...",ec="Cargando...",fc="Cerrar",gc="Combinaciones de teclas m\u00e1s utilizadas",hc="Component already rendered",
ic="Components should not be created yet.",jc="Confidencial en pruebas internas",kc="Configuraci\u00f3n de la p\u00e1gina",lc="Configurar AdSense",mc="Could not set focus",nc="Crea una p\u00e1gina nueva a partir de esta plantilla.",oc="Create Page",pc="Create new page",qc="Create page error",rc="Cualquier tipo",d="DIV",sc="Data spy excepton",tc="Deferred has already been called",uc="ERROR: existe una nueva versi\u00f3n de la p\u00e1gina. Actual\u00edzala.",vc="ERROR: no se ha guardado la configuraci\u00f3n de la plantilla.",
wc="ERROR: no se puede copiar la plantilla; vuelve a intentarlo m\u00e1s tarde.",xc="ERROR: no se puede crear la plantilla; vuelve a intentarlo m\u00e1s tarde.",yc="ERROR: no se puede guardar la plantilla; vuelve a intentarlo m\u00e1s tarde.",zc="EVERYTHING",Ac="Edge",Bc="Eliminar",Cc="Embedded in IFRAME",Dc="Enviar correo a colaboradores...",Ec="Enviar por correo electr\u00f3nico como archivo adjunto...",Fc="Error de subida del servidor. Int\u00e9ntalo de nuevo m\u00e1s tarde.",Gc="Espera...",Hc=
"Esta carpeta es de solo lectura",Jc="Esto no es una carpeta",Kc="Event listener threw exception.",Lc="EventTarget.dispatchDataNodeEvent",Mc="EventTarget.dispatchPropertyEvent",Nc="Expected block type.",Oc="Fotos de archivo",Pc="GetPageTemplates",Qc="Guardando la configuraci\u00f3n...",Rc="Guardando...",Sc="Guardar",Tc="HTML_FORM",Uc="IFRAME",Vc="IMG",Wc="INHERIT",Xc="INPUT",Yc="Inconsistent use of percent/permill characters",Zc="Initiating module load: ",$c="Invalid response from server.",ad="JOT_FEEDBACK_displayFeedbackForm",
bd="JOT_setupSiteToolbarMenus",cd="La eliminaci\u00f3n de acceso no se ha realizado correctamente.",dd="La secuencia de comandos ",ed="MSXML2.DOMDocument",fd="Modifica la plantilla de p\u00e1gina.",gd="Modificar el dise\u00f1o del sitio",hd="More menu",id="Must be lower case",jd="M\u00e1s informaci\u00f3n",kd="Nivel superior",ld="Not available",md="O, si lo prefieres...",nd="OPTION",od="POST",pd="P\u00e1gina",qd="RenderSidebarWidget",rd="SCRIPT",sd="SELECT",td="SPAN",ud="SaveAsTemplate",vd="SaveUserSettings",
wd="Se ha producido un error al guardar los cambios de la plantilla.",xd="Se ha seleccionado un tipo de archivo no v\u00e1lido.",yd="Se requiere un tipo de imagen .jpg, .jpeg, .gif o .png.",zd="Sitio",Ad="Soy template may not be null.",Bd="Start and end points must be 2D",Cd="Storage mechanism: Invalid value was encountered",Dd="Storage mechanism: Quota exceeded",Ed="Storage: Invalid value was encountered",Fd="TABLE",Gd="TBODY",Hd="TD",Id="TEXTAREA",Jd="TR",Kd="The DOM element for the container cannot be null.",
Ld="The element passed as a first parameter cannot be null.",Md="The label input element cannot be null.",Nd="The menu button DOM element cannot be null.",Od="The progress bar DOM element cannot be null.",Pd="Todos los sistemas de escritura",Qd="Too many percent/permill",Rd="ToolBar",Sd="Tu nueva p\u00e1gina",Td="Unable to set parent component",Ud="Undefined parameter - ",Vd="Uneven number of arguments",Wd="Unidades de equipo",Xd="User initiated module already loading: ",Yd="User initiated module load: ",
Zd="Vista previa inteligente",$d="Ya no se te informar\u00e1 cuando esta p\u00e1gina cambie.",ae="Ya no se te informar\u00e1 cuando se realicen cambios en este sitio.",be="Zero is invalid.",ce="[goog.net.IframeIo] Unable to send, already active.",de="_blank",ee="a la <strong>derecha</strong>",fe="a la <strong>izquierda</strong>",ge="abort",he="about:blank",ie="about:invalid#zClosurez",je="about:invalid#zSoyz",ke="absolute",le="aclInfoUpdated",k="action",ne="active",oe="activedescendant",pe="advanced",
qe="afterLoad",re="afterhide",se="aftershow",te="album",ue="all",ve="allPersonalCircles",we="allfilesadded",xe="allowedItemTypes",ye="animate",ze="announcements",Ae="application/octet-stream",Be="application/pdf",Ce="application/vnd.google-apps.document",De="application/vnd.google-apps.folder",Ee="application/vnd.google-apps.form",Fe="application/vnd.google-apps.freebird",Ge="application/vnd.google-apps.kix",He="application/vnd.google-apps.presentation",Ie="application/vnd.google-apps.punch",Je="application/vnd.google-apps.ritz",
Ke="application/vnd.google-apps.rollupphotoalbum",Le="application/vnd.google-apps.spreadsheet",Me="application/x-shockwave-flash",Ne="apps-actiondatawidget-key-focused",Oe="apps-actiondatawidget-override-info-icon",Pe="apps-share-sprite",Qe="apps-shortcutshelppopup-content",Re="apps-shortcutshelppopup-content-element",Se="apps-shortcutshelppopup-content-wrapper",Te="apps-shortcutshelppopup-dialog-title",Ue="apps-shortcutshelppopup-empty-search",Ve="apps-shortcutshelppopup-header-element",We="apps-shortcutshelppopup-help-center-link",
Xe="apps-shortcutshelppopup-input",Ye="apps-shortcutshelppopup-input-button",Ze="apps-shortcutshelppopup-pref-component",$e="apps-shortcutshelppopup-reset-search-button",af="apps-shortcutshelppopup-search-label",bf="aria-label",cf='aria-label="',df="array",ef="assertive",ff="atomic",gf="attachment-undo-",hf="audience",jf="authuser",kf="auto",lf="autocomplete",mf="backgroundColor",nf="backoff",of="beforehide",pf="beforeshow",qf="black",rf="blur",sf="boolean",tf="border-box",uf="bottom",vf="button",
wf="calendar",xf="calendars",yf="camerasync",zf="cancel",Af="category",Bf="center",Cf="change",Df="changeDrivePermissions",Ef="changeTemplateButton",Ff="character",Gf="checkbox",Hf="checked",If="circle",Jf="circles",Kf="click",Lf="close",Mf="closed",Nf="collapsed",Of="combobox",Pf="complete",Qf="completeEdit",Rf="completeEditRender",Sf="component/",Tf="component/navbar/showRecents",Uf="component/navbar/showSiteMap",Vf="component/navbar/tabType",Wf="computers",Xf="config/bodyId",Yf="config/footerContent",
Zf="config/footerType",$f="config/headerHeight",ag="config/headerHorizontalAlignment",bg="config/headerVerticalAlignment",cg="config/logoPath",dg="config/logoRevision",eg="config/navbarEnabled",fg="config/sidebarRef",gg="config/sidebarWidth",hg="config/siteWidth",ig="config/systemFooterHideDesktopLink",jg="config/systemFooterHidePrintPageLink",kg="config/systemFooterHideRecentChangesLink",lg="config/systemFooterHideSignInLink",mg="configChange",ng="consumer",og="contacts",pg="containingCosmoId",qg=
"contentId",rg="contextmenu",sg="continue",tg="create-new-btn",ug="createPageButton",vg="createTemplateButton",wg="crop",xg="cultural",yg="custom",zg="data-tooltip",Ag="data-tooltip-align",Bg="data-tooltip-class",Cg="data-tooltip-contained",Dg="data-tooltip-offset",Eg="dblclick",Fg="deactivate",Gg="default",Hg="defaultdomain",Ig="describedby",Jg="description",Kg="dialog",Lg="dialogselect",Mg="disabled",Ng="dismiss",Og="div",Pg="docTypesDropDown",Qg="docs",Rg="docs-images",Sg="docs-images-and-videos",
Tg="docs-videos",Ug="document",Vg="documents",Wg="domainPublic",Xg="domaindefault",Yg="downloadUrl",Zg="dragout",$g="dragover",ah="dragstart",bh="drawings",ch="drive-select",dh="drivepreopen",eh="driveshare",fh="edit-start-btn",gh="editSiteLayout",hh="email",ih="emailAttach",jh="embedUrl",kh="enableSizeEstimation",lh="enableWhiteCallout",mh="enabled",nh="end",oh="enter",ph="error",qh="error_querying",rh="event",sh="exception",th="expand",uh="expanded",vh="expander",wh="extendedCircles",xh="false",
yh="fancywindow.sel.",zh="featured",Ah="file",Bh="filecabinet",Ch="filedownsamplingcompleted",Dh="filedownsamplingstarted",Eh="filesscanfinished",Fh="filesscanstarted",Gh="filesselected",Hh="fixed",Ih="focus",Jh="focusin",Kh="focusout",Lh="folders",Mh='font-family: "',Nh="fontSubset",Oh="fonts",Ph="force-ctrl-key",Qh="forms",Rh="function",Sh="gadgets",Th="gapi.iframes.getContext",Uh="gapi.iframes.makeWhiteListIframesFilter",Vh="gapi.iframes:gapi.iframes.style.common",Wh="getty",Xh="gmail",Yh="gmailDelegatorId",
Zh="goog-button",$h="goog-button-base-content",ai="goog-color-menu-button",bi="goog-control",ci="goog-custom-button",di="goog-flat-button",ei="goog-flat-menu-button",fi="goog-inline-block",gi="goog-inline-block ",hi="goog-link-button",ii="goog-menu",ji="goog-menu-button",ki="goog-menu-noicon",li="goog-menuheader",mi="goog-menuseparator",ni="goog-option",oi="goog-option-selected",pi="goog-selectionmenubutton-checkbox",qi="goog-submenu",ri="goog-submenu-arrow",si="goog-submenu-arrow-rtl",ti="goog-tabpane-tab",
ui="goog-toolbar-button",vi="goog-toolbar-color-menu-button",wi="goog-toolbar-menu-button",xi="goog-toolbar-separator",yi="goog-tree-collapsed-folder-icon",zi="goog-tree-expanded-folder-icon",Ai="goog-zippy-expanded",Bi="goog.i18n.DateTimeSymbols or explicit symbols must be defined",Ci="grid",Di="gridcell",Ei="guidedhelpid",Fi="haspopup",Gi="height",Hi="hidden",Ii="hide",Ji="highlight",Ki="highlights",Li="horizontal",Mi="horizontalNavigation",Ni="hostId",Oi="hosted",Pi="https",Qi="https:",Ri="https://about:blank",
Si="https://apis.google.com/js/api.js",Ti="https://apis.google.com/js/platform.js",Ui="ids",Vi="image",Wi="image-search",Xi="imgcolor",Yi="imgtype",Zi="includeFolders",$i="independent",aj="inherits",bj="init",cj="inline",dj="input",ej="inqueue",fj="isLocalProfilePhoto",gj="isShared",hj="istdr",ij="itemIndex",jj="itemadded",kj='javascript:""',lj="jfk-activityIndicator-circle",mj="jfk-activityIndicator-mask",nj="jfk-butterBar-shown",oj="jfk-button",pj="jfk-button-action",qj="jfk-button-primary",rj=
"jfk-button-standard",sj="jfk-checkbox",tj="jfk-checkbox-checkmark",uj="jfk-radiobutton",vj="jfk-tooltip",wj="jfk-tooltip-hide",xj="jot-ui-asciifiedURL",yj="jot-ui-createForm",zj="jot-ui-pageLocText",Aj="jot-ui-pageName",Bj="jot-ui-previewPageCustomPath",Cj="jot-ui-previewPageURL",Dj="jot-ui-searchInput",Ej="jot.xtok",Fj="jot_viewer",Gj="kansasVersionInfo",Hj="key",Ij="keydown",Jj="keypress",Kj="keyup",Lj="label",Mj="labelledby",Nj="lastEditedUtc",Oj="lastModifiedByMeUtc",Pj="lastViewedByMeUtc",Qj=
"latitude",Rj="left",Sj="license",Tj="list",Uj="listbox",Vj="live",Wj="load",Xj="loadError",Yj="load_acl_fixer_data",Zj="loaded",ak="localalbum",bk="longitude",ck="ltr",dk="lv",ek="main/openNewWin",fk="main/title",gk="maps",hk="maps-pro",ik="markedForRemoval",jk="maybe_show_acl_fixer",kk="mediaKey",lk="mediacollection",mk="mediacollections",nk="menuUpdated",ok="menuitemcheckbox",pk="message",qk="middle",rk="mimeType",sk="mimeTypes",tk="minimal",uk="mode",vk="more-actions-btn",wk="mousedown",xk="mousemove",
yk="mouseout",zk="mouseover",Ak="mouseup",Bk="mousewheel",Ck="move_offscreen",Dk="multipart/form-data",Ek="multiselectEnabled",Fk="must provide justification",Gk="must provide non-empty justification",Hk="myrecentchanges",Ik="native",Jk="navDynamicDepth",Kk="navigation",Lk="navigationTree",Mk="networkerror",Nk="none",Ok="noside",Pk="null",Qk="numChildren",Rk="number",Sk="object",Tk="offset",Uk="ok",Vk="onCompleteData",Wk="onPreviewReady",Xk="onSecurityError",Yk="onclick",Zk="opacity 1s linear",$k=
"openChangePageTemplate",al="openCreatePage",bl="openManageSite",cl="openRevisionHistory",dl="openSiteLayout",el="opp",fl="oppe",gl="oppu",hl="opt_onFulfilled should be a function.",il="opt_onRejected should be a function. Did you pass opt_context as the second argument instead of the third?",jl="option",kl="options",ll="organizeIntoTeamDrive",ml="orientationchange",nl="other",ol="overflow-y",pl="overflow:hidden;width:",ql="overlayElement must be defined",rl="ownedByMe",sl="ownerOnly",tl="owns",ul=
"padding-",vl="pageEdit",wl="pageFinderIncludeCurrent",xl="pageLocSelectedPath",m="parent",yl="partial-error",zl="pdfs",Al="people",Bl="photo",Cl="photo-albums",Dl="photo-caption",El="photo-curation",Fl="photo-upload",Gl="photos",Hl="picasa",Il="picked",Jl="picker",Kl="picker-actionpane-float-item",Ll="picker-actionpane-frame",Ml="picker-actionpane-notice-error",Nl="picker-actionpane-notice-warning",Ol="picker-attributionbar-line",Pl="picker-dropdown-menu",Ql="picker-fontbar-menu-container",Rl="picker-header-close",
Sl="picker-header-icon",Tl="picker-header-text",Ul="picker-horizontal-navpane-more-selected",Vl="picker-list-control-tablerow",Wl="picker-min-bottom",Xl="picker-min-top",Yl="picker-minew",Zl="picker-navpane",$l="picker-pplnavpane-more goog-inline-block",am="picker-pplnavpane-text",bm="picker-promo-text",cm="picker-searchbar-input-logo",dm="picker-searchbarimagefilter-colorbox",em="picker-searchbarimagefilter-colorbox-inner",fm="picker-select-control-enabled",gm="picker-selnavitem-count",hm="picker-selnavitem-count-slide",
im="picker-spr-arrow-dk-grey-down",jm="picker-spr-circle",km="picker-spr-circle-active",lm="picker-spr-circle-hover",mm="picker-sspr-close-tab",nm="picker-url-input-box-selected",om="picker-urlview-error-icon goog-inline-block",pm="picker-urlview-loading-icon goog-inline-block",qm="picker-white-callout",rm="picker.api.DocsView",sm="picker.api.ExternalCodeLoader.onMapsApiLoaded",tm="picker.api.NativeMinimalPicker",um="picker.api.NativePicker",vm="picker.api.PhotosView.Type",wm="picker:ap:",xm="plusbadge",
ym="polite",zm="posinset",Am="position",Bm="preload_share",Cm="presentation",Dm="presentations",Em="previewAsViewer",Fm="profile",Gm="profilePhoto",Hm="progress",Im="progress-bar-thumb",Jm="protocol",Km="public",n="px",Lm="px;height:",Mm="query",Nm="ready",Om="readystatechange",Pm="received",Qm="recently-picked",Rm="recovery",Sm="refresh",Tm="relative",Um="reset",Vm="resize",Wm="right",Ym="role",Zm="rollupAlbum",$m="root",an="rtl",bn="saveAsPageTemplate",cn="scb-icon",dn="scb-tooltip-contents",en=
"scb-tooltip-icon-container",fn="scb-tooltip-text",gn="scb-tooltip-title",hn="scripts",jn="scroll",kn="sdv",ln="search",mn="select",nn="select-multiple",on="selectButtonLabel",pn="selected",qn="separator",rn="serverinvalidresponse",sn="serverrejected",tn="service",un="set-drive-options",vn="set-max-items",wn="set-max-size-bytes",xn="set-title",yn="set-upload-album-id",zn="set-view",An="set-view-options",Bn="settings",Cn="shadeDialog",Dn="share-butter-link",En="sharedWithMe",Fn="shortcut-dialog-category-selected",
Gn="shortcut-dialog-user-scroll",Hn="should not reach default case",In="show",Jn="show-delete-page-disabled",Kn="showChangePageLocationDialog",Ln="showDeletePage",Mn="showMovePage",Nn="showPageSettings",On="showShareClient",Pn="showTemplateSettings",Qn="sidebar-widget-drag-over",Rn="sidebar-widget-drag-start",Sn="sidebarWidget",Tn="siets-debug-log-output",Un="simpleUploadEnabled",Vn="site",Wn="sitemap-tree",Xn="sites",Yn="sites-admin-settings-cancel",Zn="sites-app-title",$n="sites-attachments",ao=
"sites-attachments-update-div",bo="sites-button-container",co="sites-canvas-wrapper",eo="sites-chrome-adminfooter-container",fo="sites-chrome-dialog-launcher",go="sites-chrome-everything",ho="sites-chrome-footer",io="sites-chrome-header",jo="sites-chrome-header-horizontal-nav-container",ko="sites-chrome-navigationdialog-icon-left",lo="sites-chrome-navigationdialog-icon-right",mo="sites-chrome-sidebar-left",no="sites-chrome-sidebar-right",oo="sites-chrome-userheader",po="sites-chrome-userheader-logo",
qo="sites-close",ro="sites-collaborator-bar",so="sites-edit-in-progress",to="sites-gears-button",uo="sites-header-nav-dropdown-menu",vo="sites-header-nav-dropdown-menuitem",wo="sites-layout-sidebar-left",xo="sites-page-title-header",yo="sites-searchbox-form",zo="sites-sitelayout-overlay",Ao="sites-sitelayout-overlay-container",Bo="sites-sitelayouteditor-toolbar-button-custom-footer",Co="sites-sitelayouteditor-toolbar-button-header",Do="sites-sitelayouteditor-toolbar-button-horizontal-nav",Eo="sites-sitelayouteditor-toolbar-button-sidebar",
Fo="sites-system-page-cancel-button",Go="sites-tree-dragged-item",Ho="sites-tree-drop-hover",Io="sites-tree-root-icon",Jo="sites.gvizloader.handleGvizLoaded_",Ko="smart-preview-btn",Lo="sortKey",Mo="sortOrder",No="sourceTeamDriveId",Oo="sourceTeamDriveName",Po="span",Qo="spinnerWait",Ro="spreadsheets",So="standard",To="starred",Uo="start",Vo="startsuccess",Wo="stats",Xo="status",Yo="string",Zo="style",$o="submit",ap="success",bp="suggestionsupdate",cp="tables",dp="teamDriveId",ep="teamDrivesFolder",
fp="text",gp="text/javascript",hp="textBoxContent",ip="textarea",jp="themedefault",kp="thumbnails",lp="tick",mp="timeout",np="timestamp",op="title",pp="toggle",qp="toggle-selected-on-fire",rp="togglePageSubscription",sp="toggleSiteSubscription",tp="toggle_display",up="top",vp="touchstart",wp="transfer",xp="transparent",yp="true",zp="type",Ap="uiContainerCancelLoad",Bp="uiContainerClose",Cp="undoAttachmentDelete",Dp="unhighlight",Ep="unknown type name",Fp="upload",Gp="upload-status-progress-",Hp="upload-status-text-",
Ip="uploadProgress",Jp="uploadScheduled",Kp="uploadStateChange",Lp="uploaded",Mp="uploader-overlay-visible",Np="uploaderinstalling",Op="uploaderready",Pp="uploaderuninstalling",Qp="uploadprogress",Rp="uploadstatechanged",Sp="url",Tp="urlInputVisible",Up="urlPreviewAnchorId",Vp="use buildMinimal to build minimal picker",Wp="username",Xp="value",Yp="valuenow",Zp="version",$p="vertical",aq="video",bq="video-search",cq="videos",dq="videos-camerasync",eq="videos-uploaded",fq="viewChanged",gq="viewContentRendered",
hq="viewToken",iq="viewUpdated",jq="visibility",kq="visibilityFilter",lq="visible",mq="web",nq="webcam",oq="webkitvisibilitychange",pq="white",rq="width",sq="www.facebook.com",tq="www.metacafe.com",uq="www.youtube.com",vq="youtu.be",wq="youtube",xq="youtube-banner-preview",yq="youtube.com",zq="{1}, {0}",q,Aq=typeof Object.defineProperties==Rh?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},Bq="undefined"!=typeof window&&window===this?this:"undefined"!=
typeof global&&null!=global?global:this,Cq=function(a,b){if(b){var c=Bq;a=a.split(".");for(var e=0;e<a.length-1;e++){var f=a[e];f in c||(c[f]={});c=c[f]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&null!=b&&Aq(c,a,{configurable:!0,writable:!0,value:b})}},Dq=function(){Dq=function(){};Bq.Symbol||(Bq.Symbol=Eq)},Eq=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),Gq=function(){Dq();var a=Bq.Symbol.iterator;a||(a=Bq.Symbol.iterator=Bq.Symbol("iterator"));typeof Array.prototype[a]!=
Rh&&Aq(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Fq(this)}});Gq=function(){}},Fq=function(a){var b=0;return Hq(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},Hq=function(a){Gq();a={next:a};a[Bq.Symbol.iterator]=function(){return this};return a},Iq=function(a,b){Gq();a instanceof String&&(a+="");var c=0,e={next:function(){if(c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}e.next=function(){return{done:!0,value:void 0}};return e.next()}};e[Symbol.iterator]=
function(){return e};return e};Cq("Array.prototype.keys",function(a){return a?a:function(){return Iq(this,function(a){return a})}},"es6","es3");Cq("Object.values",function(a){return a?a:function(a){var b=[],e;for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&b.push(a[e]);return b}},"es8","es3");if(window.jstiming){window.jstiming.oT={};window.jstiming.Ywa=1;var Jq=function(a,b,c){var e=a.t[b],f=a.t.start;if(e&&(f||c))return e=a.t[b][0],f=void 0!=c?c:f[0],Math.round(e-f)},Kq=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(O){}var f=window.chrome;if(f&&(f=f.loadTimes)){f().wasFetchedViaSpdy&&(e+="&p=s");if(f().wasNpnNegotiated){e+="&npn=1";var g=f().npnNegotiatedProtocol;g&&(e+="&npnv="+(encodeURIComponent||escape)(g))}f().wasAlternateProtocolAvailable&&(e+="&apa=1")}var h=a.t,l=h.start;f=[];g=[];for(var p in h)if(p!=Uo&&0!=p.indexOf("_")){var r=h[p][1];r?h[r]&&g.push(p+"."+Jq(a,p,h[r][0])):l&&f.push(p+"."+Jq(a,p))}delete h.start;if(b)for(var z in b)e+=
"&"+z+"="+b[z];(b=c)||(b=Qi==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstiming.sn||"jotspot")+"&action=",a.name,g.length?"&it="+g.join(","):"",e,"&rt=",f.join(",")].join("")},Lq=function(a,b,c){a=Kq(a,b,c);if(!a)return"";b=new Image;var e=window.jstiming.Ywa++;window.jstiming.oT[e]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.oT[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"};if("prerender"==document.webkitVisibilityState)var g=!1;else Lq(a,b,c),g=!0;g&&(e=!0,document.removeEventListener(oq,f,!1))}};document.addEventListener(oq,f,!1);return""}return Lq(a,b,c)}};var Mq=Mq||{},t=this,u=function(a){return void 0!==a},v=function(a){return typeof a==Yo},Nq=function(a){return typeof a==sf},Oq=function(a){return typeof a==Rk},w=function(a,b,c){a=a.split(".");c=c||t;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var e;a.length&&(e=a.shift());)!a.length&&u(b)?c[e]=b:c=c[e]&&c[e]!==Object.prototype[e]?c[e]:c[e]={}},Pq=function(a,b){a=a.split(".");b=b||t;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},Qq=function(){},Rq=function(a){a.XK=
void 0;a.H=function(){return a.XK?a.XK:a.XK=new a}},Sq=function(a){var b=typeof a;if(b==Sk)if(a){if(a instanceof Array)return df;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return Sk;if("[object Array]"==c||typeof a.length==Rk&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return df;if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return Rh}else return Pk;
else if(b==Rh&&"undefined"==typeof a.call)return Sk;return b},x=function(a){return Sq(a)==df},Tq=function(a){var b=Sq(a);return b==df||b==Sk&&typeof a.length==Rk},Uq=function(a){return Sq(a)==Rh},Vq=function(a){var b=typeof a;return b==Sk&&null!=a||b==Rh},Yq=function(a){return a[Wq]||(a[Wq]=++Xq)},Zq=function(a){null!==a&&"removeAttribute"in a&&a.removeAttribute(Wq);try{delete a[Wq]}catch(b){}},Wq="closure_uid_"+(1E9*Math.random()>>>0),Xq=0,$q=function(a){var b=Sq(a);if(b==Sk||b==df){if(a.clone)return a.clone();
b=b==df?[]:{};for(var c in a)b[c]=$q(a[c]);return b}return a},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)}},y=function(a,b,c){y=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?
ar:br;return y.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)}},A=Date.now||function(){return+new Date},dr=function(a,b,c){w(a,b,c)},B=function(a,b){function c(){}c.prototype=b.prototype;a.c=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.mNa=function(a,c,g){for(var e=Array(arguments.length-2),f=2;f<arguments.length;f++)e[f-2]=arguments[f];return b.prototype[c].apply(a,
e)}};var er=function(a,b){return 0==a.lastIndexOf(b,0)},fr=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},gr=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")},hr=function(a){return/^[\s\xa0]*$/.test(a)},ir=function(a){return a.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},jr=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,
"")},nr=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 l=f[h];if(c!=l)return a=parseInt(c,10),!isNaN(a)&&(b=parseInt(l,10),!isNaN(b)&&a-b)?a-b:c<l?-1:1}return e.length!=f.length?e.length-f.length:a<b?-1:1},or=function(a){return decodeURIComponent(a.replace(/\+/g," "))},pr=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")},xr=function(a,b){if(b)a=a.replace(qr,
"&amp;").replace(rr,"&lt;").replace(sr,"&gt;").replace(tr,"&quot;").replace(ur,"&#39;").replace(vr,"&#0;");else{if(!wr.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(qr,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(rr,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(sr,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(tr,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(ur,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(vr,"&#0;"))}return a},qr=/&/g,rr=/</g,sr=/>/g,tr=/"/g,ur=/'/g,vr=/\x00/g,wr=/[\x00&<>"']/,Br=function(a){return yr(a,
"&")?Ug in t?zr(a):Ar(a):a},zr=function(a,b){var c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'};var e=b?b.createElement(Og):t.document.createElement(Og);return a.replace(Cr,function(a,b){var f=c[a];if(f)return f;"#"==b.charAt(0)&&(b=Number("0"+b.substr(1)),isNaN(b)||(f=String.fromCharCode(b)));f||(e.innerHTML=a+" ",f=e.firstChild.nodeValue.slice(0,-1));return c[a]=f})},Ar=function(a){return a.replace(/&([^;]+);/g,function(a,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";
case "quot":return'"';default:return"#"!=c.charAt(0)||(c=Number("0"+c.substr(1)),isNaN(c))?a:String.fromCharCode(c)}})},Cr=/&([^;\s<&]+);?/g,yr=function(a,b){return-1!=a.indexOf(b)},Dr=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},Er=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Fr=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Gr=function(a,
b,c){a=u(c)?a.toFixed(c):String(a);c=a.indexOf(".");-1==c&&(c=a.length);return Fr("0",Math.max(0,b-c))+a},Hr=function(a){return null==a?"":String(a)},Ir=function(a){return Array.prototype.join.call(arguments,"")},Jr=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^A()).toString(36)},Lr=function(a,b){var c=0;a=jr(String(a)).split(".");b=jr(String(b)).split(".");for(var e=Math.max(a.length,b.length),f=0;0==c&&f<e;f++){var g=a[f]||"",h=
b[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;c=Kr(0==g[1].length?0:parseInt(g[1],10),0==h[1].length?0:parseInt(h[1],10))||Kr(0==g[2].length,0==h[2].length)||Kr(g[2],h[2]);g=g[3];h=h[3]}while(0==c)}return c},Kr=function(a,b){return a<b?-1:a>b?1:0},Mr=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},Nr=function(a,b){b=v(b)?Er(b):"\\s";return a.replace(new RegExp("(^"+(b?
"|["+b+"]+":"")+")([a-z])","g"),function(a,b,f){return b+f.toUpperCase()})};var Or=function(a){this.Qb=a||{cookie:""}};q=Or.prototype;q.isEnabled=function(){return navigator.cookieEnabled};q.tra=function(a){return!/[;=\s]/.test(a)};q.ura=function(a){return!/[;\r\n]/.test(a)};
q.set=function(a,b,c,e,f,g){if(!this.tra(a))throw Error('Invalid cookie name "'+a+'"');if(!this.ura(b))throw Error('Invalid cookie value "'+b+'"');u(c)||(c=-1);f=f?";domain="+f:"";e=e?";path="+e:"";g=g?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(A()+1E3*c)).toUTCString();this.BD(a+"="+b+f+e+c+g)};q.get=function(a,b){for(var c=a+"=",e=this.BJ(),f=0,g;f<e.length;f++){g=jr(e[f]);if(0==g.lastIndexOf(c,0))return g.substr(c.length);if(g==a)return""}return b};
q.remove=function(a,b,c){var e=this.Xb(a);this.set(a,"",0,b,c);return e};q.bb=function(){return this.Qz().keys};q.nb=function(){return this.Qz().values};q.Sb=function(){return!this.Wt()};q.sa=function(){return this.Wt()?this.BJ().length:0};q.Xb=function(a){return u(this.get(a))};q.nj=function(a){for(var b=this.Qz().values,c=0;c<b.length;c++)if(b[c]==a)return!0;return!1};q.clear=function(){for(var a=this.Qz().keys,b=a.length-1;0<=b;b--)this.remove(a[b])};q.BD=function(a){this.Qb.cookie=a};q.Wt=function(){return this.Qb.cookie};
q.BJ=function(){return(this.Wt()||"").split(";")};q.Qz=function(){for(var a=this.BJ(),b=[],c=[],e,f,g=0;g<a.length;g++)f=jr(a[g]),e=f.indexOf("="),-1==e?(b.push(""),c.push(f)):(b.push(f.substring(0,e)),c.push(f.substring(e+1)));return{keys:b,values:c}};var Pr=new Or("undefined"==typeof document?null:document);Pr.XIa=3950;var Qr={},Rr=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,Rr);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};B(Rr,Error);Rr.prototype.name="CustomError";var Sr;var Tr=function(a,b){b.unshift(a);Rr.call(this,gr.apply(null,b));b.shift()};B(Tr,Rr);Tr.prototype.name="AssertionError";
var Ur=function(a,b,c,e){var f="Assertion failed";if(c){f+=": "+c;var g=e}else a&&(f+=": "+a,g=b);throw new Tr(""+f,g||[]);},C=function(a,b,c){a||Ur("",null,b,Array.prototype.slice.call(arguments,2));return a},Vr=function(a,b){throw new Tr("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},Wr=function(a,b,c){Oq(a)||Ur("Expected number but got %s: %s.",[Sq(a),a],b,Array.prototype.slice.call(arguments,2));return a},Xr=function(a,b,c){v(a)||Ur("Expected string but got %s: %s.",[Sq(a),
a],b,Array.prototype.slice.call(arguments,2));return a},Yr=function(a,b,c){Uq(a)||Ur("Expected function but got %s: %s.",[Sq(a),a],b,Array.prototype.slice.call(arguments,2));return a},Zr=function(a,b,c){Vq(a)||Ur("Expected object but got %s: %s.",[Sq(a),a],b,Array.prototype.slice.call(arguments,2));return a},$r=function(a,b,c){x(a)||Ur("Expected array but got %s: %s.",[Sq(a),a],b,Array.prototype.slice.call(arguments,2));return a},as=function(a,b,c){Vq(a)&&1==a.nodeType||Ur("Expected Element but got %s: %s.",
[Sq(a),a],b,Array.prototype.slice.call(arguments,2));return a},cs=function(a,b,c,e){a instanceof b||Ur("Expected instanceof %s but got %s.",[bs(b),bs(a)],c,Array.prototype.slice.call(arguments,3));return a},bs=function(a){return a instanceof Function?a.displayName||a.name||Ep:a instanceof Object?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):null===a?Pk:typeof a};var ds=Array.prototype.indexOf?function(a,b,c){C(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(v(a))return v(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},es=Array.prototype.lastIndexOf?function(a,b,c){C(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(v(a))return v(b)&&1==
b.length?a.lastIndexOf(b,c):-1;for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1},D=Array.prototype.forEach?function(a,b,c){C(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)g in f&&b.call(c,f[g],g,a)},fs=function(a,b,c){for(var e=v(a)?a.split(""):a,f=a.length-1;0<=f;--f)f in e&&b.call(c,e[f],f,a)},gs=Array.prototype.filter?function(a,b,c){C(null!=a.length);return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var e=
a.length,f=[],g=0,h=v(a)?a.split(""):a,l=0;l<e;l++)if(l in h){var p=h[l];b.call(c,p,l,a)&&(f[g++]=p)}return f},hs=Array.prototype.map?function(a,b,c){C(null!=a.length);return Array.prototype.map.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=Array(e),g=v(a)?a.split(""):a,h=0;h<e;h++)h in g&&(f[h]=b.call(c,g[h],h,a));return f},is=Array.prototype.reduce?function(a,b,c,e){C(null!=a.length);e&&(b=y(b,e));return Array.prototype.reduce.call(a,b,c)}:function(a,b,c,e){var f=c;D(a,function(c,h){f=b.call(e,
f,c,h,a)});return f},ks=Array.prototype.some?function(a,b,c){C(null!=a.length);return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return!0;return!1},ls=Array.prototype.every?function(a,b,c){C(null!=a.length);return Array.prototype.every.call(a,b,c)}:function(a,b,c){for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&!b.call(c,f[g],g,a))return!1;return!0},ms=function(a,b,c){var e=0;D(a,function(a,g,h){b.call(c,
a,g,h)&&++e},c);return e},os=function(a,b,c){b=ns(a,b,c);return 0>b?null:v(a)?a.charAt(b):a[b]},ns=function(a,b,c){for(var e=a.length,f=v(a)?a.split(""):a,g=0;g<e;g++)if(g in f&&b.call(c,f[g],g,a))return g;return-1},ps=function(a,b,c){for(var e=v(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},qs=function(a,b){return 0<=ds(a,b)},rs=function(a){return 0==a.length},ss=function(a){if(!x(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},ts=function(a,b){qs(a,
b)||a.push(b)},vs=function(a,b){b=ds(a,b);var c;(c=0<=b)&&us(a,b);return c},us=function(a,b){C(null!=a.length);return 1==Array.prototype.splice.call(a,b,1).length},ws=function(a,b,c){b=ns(a,b,c);return 0<=b?(us(a,b),!0):!1},xs=function(a){return Array.prototype.concat.apply([],arguments)},ys=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[]},zs=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)}},Bs=function(a,b,c,e){C(null!=a.length);return Array.prototype.splice.apply(a,As(arguments,1))},As=function(a,b,c){C(null!=a.length);return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},Cs=function(a,b,c){b=b||a;var e=function(a){return Vq(a)?"o"+Yq(a):(typeof a).charAt(0)+a};c=c||e;e={};for(var f=0,g=0;g<a.length;){var h=a[g++],l=c(h);Object.prototype.hasOwnProperty.call(e,l)||(e[l]=!0,b[f++]=h)}b.length=
f},Es=function(a,b){a.sort(b||Ds)},Fs=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||Ds;Es(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},Ds=function(a,b){return a>b?1:a<b?-1:0};var Gs=function(a,b,c){this.Hra=c;this.pj=a;this.Ll=b;this.dC=0;this.Jb=null};Gs.prototype.get=function(){if(0<this.dC){this.dC--;var a=this.Jb;this.Jb=a.next;a.next=null}else a=this.pj();return a};Gs.prototype.put=function(a){this.Ll(a);this.dC<this.Hra&&(this.dC++,a.next=this.Jb,this.Jb=a)};var Hs=function(a){return function(){return a}},Is=Hs(!0),Js=Hs(null),Ks=function(a){return a},Ls=function(a){return function(){throw Error(a);}};var Ms;a:{var Ns=t.navigator;if(Ns){var Os=Ns.userAgent;if(Os){Ms=Os;break a}}Ms=""}var Ps=function(a){return yr(Ms,a)};var Qs=function(a,b,c){for(var e in a)b.call(c,a[e],e,a)},Rs=function(a,b,c){var e={},f;for(f in a)b.call(c,a[f],f,a)&&(e[f]=a[f]);return e},Ss=function(a,b,c){var e={},f;for(f in a)e[f]=b.call(c,a[f],f,a);return e},Ts=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return!0;return!1},Us=function(a,b,c){for(var e in a)if(!b.call(c,a[e],e,a))return!1;return!0},Vs=function(a){var b=0,c;for(c in a)b++;return b},Ws=function(a){var b=[],c=0,e;for(e in a)b[c++]=a[e];return b},Xs=function(a){var b=
[],c=0,e;for(e in a)b[c++]=e;return b},Ys=function(a,b){return null!==a&&b in a},Zs=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},$s=function(a,b,c){for(var e in a)if(b.call(c,a[e],e,a))return e},at=function(a){for(var b in a)return!1;return!0},bt=function(a,b){var c;(c=b in a)&&delete a[b];return c},ct=function(a,b,c){if(null!==a&&b in a)throw Error('The object already contains the key "'+b+'"');a[b]=c},dt=function(a){var b={},c;for(c in a)b[c]=a[c];return b},et=function(a){var b=Sq(a);
if(b==Sk||b==df){if(Uq(a.clone))return a.clone();b=b==df?[]:{};for(var c in a)b[c]=et(a[c]);return b}return a},ft=function(a){var b={},c;for(c in a)b[a[c]]=c;return b},gt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),ht=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<gt.length;g++)c=gt[g],Object.prototype.hasOwnProperty.call(e,c)&&(a[c]=e[c])}},it=function(a){var b=arguments.length;
if(1==b&&x(arguments[0]))return it.apply(null,arguments[0]);if(b%2)throw Error(Vd);for(var c={},e=0;e<b;e+=2)c[arguments[e]]=arguments[e+1];return c},jt=function(a){var b=arguments.length;if(1==b&&x(arguments[0]))return jt.apply(null,arguments[0]);for(var c={},e=0;e<b;e++)c[arguments[e]]=!0;return c};var kt=function(){return(Ps("Chrome")||Ps("CriOS"))&&!Ps(Ac)};var lt=function(a){t.setTimeout(function(){throw a;},0)},mt,nt=function(){var a=t.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!Ps("Presto")&&(a=function(){var a=document.createElement(Uc);a.style.display=Nk;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=y(function(a){if(("*"==e||a.origin==e)&&a.data==c)this.port1.onmessage()},this);b.addEventListener(pk,a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,e)}}});if("undefined"!==typeof a&&!Ps("Trident")&&!Ps("MSIE")){var b=new a,c={},e=c;b.port1.onmessage=function(){if(u(c.next)){c=c.next;var a=c.NT;c.NT=null;a()}};return function(a){e.next={NT: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){t.setTimeout(a,0)}};var ot=function(){this.bF=this.Lo=null},qt=new Gs(function(){return new pt},function(a){a.reset()},100);ot.prototype.add=function(a,b){var c=this.bla();c.set(a,b);this.bF?this.bF.next=c:(C(!this.Lo),this.Lo=c);this.bF=c};ot.prototype.remove=function(){var a=null;this.Lo&&(a=this.Lo,this.Lo=this.Lo.next,this.Lo||(this.bF=null),a.next=null);return a};ot.prototype.qxa=function(a){qt.put(a)};ot.prototype.bla=function(){return qt.get()};var pt=function(){this.next=this.scope=this.zj=null};
pt.prototype.set=function(a,b){this.zj=a;this.scope=b;this.next=null};pt.prototype.reset=function(){this.next=this.scope=this.zj=null};var vt=function(a,b){rt||st();tt||(rt(),tt=!0);ut.add(a,b)},rt,st=function(){if(-1!=String(t.Promise).indexOf("[native code]")){var a=t.Promise.resolve(void 0);rt=function(){a.then(wt)}}else rt=function(){var a=wt;!Uq(t.setImmediate)||t.Window&&t.Window.prototype&&!Ps(Ac)&&t.Window.prototype.setImmediate==t.setImmediate?(mt||(mt=nt()),mt(a)):t.setImmediate(a)}},tt=!1,ut=new ot,wt=function(){for(var a;a=ut.remove();){try{a.zj.call(a.scope)}catch(b){lt(b)}ut.qxa(a)}tt=!1};var xt=function(){return Ps("iPhone")&&!Ps("iPod")&&!Ps("iPad")},yt=function(){return xt()||Ps("iPad")||Ps("iPod")};var zt=function(a){zt[" "](a);return a};zt[" "]=Qq;var At=function(a,b){try{return zt(a[b]),!0}catch(c){}return!1},Bt=function(a,b,c,e){e=e?e(b):b;return Object.prototype.hasOwnProperty.call(a,e)?a[e]:a[e]=c(b)};var Ct=Ps("Opera"),E=Ps("Trident")||Ps("MSIE"),Dt=Ps(Ac),Et=Dt||E,Ft=Ps("Gecko")&&!(yr(Ms.toLowerCase(),"webkit")&&!Ps(Ac))&&!(Ps("Trident")||Ps("MSIE"))&&!Ps(Ac),Gt=yr(Ms.toLowerCase(),"webkit")&&!Ps(Ac),Ht=Gt&&Ps("Mobile"),It=Ps("Macintosh"),Jt=Ps("Windows"),Kt=Ps("Linux")||Ps("CrOS"),Lt=Ps("Android"),Mt=xt(),Nt=Ps("iPad"),Ot=Ps("iPod"),Pt=yt(),Qt=function(){var a=t.document;return a?a.documentMode:void 0},Rt;
a:{var St="",Tt=function(){var a=Ms;if(Ft)return/rv\:([^\);]+)(\)|;)/.exec(a);if(Dt)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Gt)return/WebKit\/(\S+)/.exec(a);if(Ct)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Tt&&(St=Tt?Tt[1]:"");if(E){var Ut=Qt();if(null!=Ut&&Ut>parseFloat(St)){Rt=String(Ut);break a}}Rt=St}var Vt=Rt,Wt={},Xt=function(a){return Bt(Wt,a,function(){return 0<=Lr(Vt,a)})},Zt=function(a){return Number(Yt)>=a},$t;var au=t.document;
$t=au&&E?Qt()||("CSS1Compat"==au.compatMode?parseInt(Vt,10):5):void 0;var Yt=$t;var bu=function(a,b){var c=[],e=[],f={},g=function(a,l){var h=l+"  ";try{if(u(a))if(null===a)c.push("NULL");else if(v(a))c.push('"'+a.replace(/\n/g,"\n"+l)+'"');else if(Uq(a))c.push(String(a).replace(/\n/g,"\n"+l));else if(Vq(a)){a[Wq]||e.push(a);var r=Yq(a);if(f[r])c.push("*** reference loop detected (id="+r+") ***");else{f[r]=!0;c.push("{");for(var z in a)if(b||!Uq(a[z]))c.push("\n"),c.push(h),c.push(z+" = "),g(a[z],h);c.push("\n"+l+"}");delete f[r]}}else c.push(a);else c.push("undefined")}catch(O){c.push("*** "+
O+" ***")}};g(a,"");for(a=0;a<e.length;a++)Zq(e[a]);return c.join("")},cu=function(a){var b=Error();if(Error.captureStackTrace)Error.captureStackTrace(b,a||cu),b=String(b.stack);else{try{throw b;}catch(c){b=c}b=(b=b.stack)?String(b):null}b||(b=du(a||arguments.callee.caller,[]));return b},du=function(a,b){var c=[];if(qs(b,a))c.push("[...circular reference...]");else if(a&&50>b.length){c.push(eu(a)+"(");for(var e=a.arguments,f=0;e&&f<e.length;f++){0<f&&c.push(", ");var g=e[f];switch(typeof g){case Sk:g=
g?Sk:Pk;break;case Yo:break;case Rk:g=String(g);break;case sf:g=g?yp:xh;break;case Rh:g=(g=eu(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(du(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("")},eu=function(a){if(fu[a])return fu[a];a=String(a);if(!fu[a]){var b=/function ([^\(]+)/.exec(a);fu[a]=b?b[1]:"[Anonymous]"}return fu[a]},fu={},gu=
Object.freeze||function(a){return a};var hu=function(a,b,c,e,f){this.reset(a,b,c,e,f)};hu.prototype.ez=null;var iu=0;q=hu.prototype;q.reset=function(a,b,c,e,f){typeof f==Rk||iu++;this.Y8=e||A();this.Nf=a;this.SB=b;this.B1=c;delete this.ez};q.oza=function(a){this.ez=a};q.oo=function(a){this.Nf=a};q.getMessage=function(){return this.SB};q.$O=function(a){this.SB=a};var ju=function(a){this.Ab=a;this.Lj=this.Ja=this.Nf=this.ea=null},ku=function(a,b){this.name=a;this.value=b};ku.prototype.toString=function(){return this.name};
var lu=new ku("SHOUT",1200),mu=new ku("SEVERE",1E3),nu=new ku("WARNING",900),ou=new ku("INFO",800),pu=new ku("CONFIG",700),qu=new ku("FINE",500),ru=new ku("FINER",400),su=[new ku("OFF",Infinity),lu,mu,nu,ou,pu,qu,ru,new ku("FINEST",300),new ku("ALL",0)],tu=null,uu=function(a){if(!tu){tu={};for(var b=0,c;c=su[b];b++)tu[c.value]=c,tu[c.name]=c}return tu[a]||null},vu=function(a){var b=t.console;b&&b.timeStamp&&b.timeStamp(a);(b=t.msWriteProfilerMark)&&b(a)};q=ju.prototype;q.getName=function(){return this.Ab};
q.sS=function(a){this.Lj||(this.Lj=[]);this.Lj.push(a)};q.rwa=function(a){var b=this.Lj;return!!b&&vs(b,a)};q.getParent=function(){return this.ea};q.Pc=function(){this.Ja||(this.Ja={});return this.Ja};q.oo=function(a){this.Nf=a};q.RX=function(){if(this.Nf)return this.Nf;if(this.ea)return this.ea.RX();Vr("Root logger has no level set.");return null};q.v0=function(a){return a.value>=this.RX().value};q.log=function(a,b,c){this.v0(a)&&(Uq(b)&&(b=b()),this.gW(this.kY(a,b,c)))};
q.kY=function(a,b,c){a=new hu(a,String(b),this.Ab);c&&a.oza(c);return a};q.IP=function(a,b){this.log(mu,a,b)};q.s$=function(a,b){this.log(nu,a,b)};q.info=function(a,b){this.log(ou,a,b)};q.config=function(a,b){this.log(pu,a,b)};q.cha=function(a,b){this.log(qu,a,b)};q.$ra=function(a){this.v0(a.Nf)&&this.gW(a)};q.gW=function(a){vu("log:"+a.getMessage());for(var b=this;b;)b.nda(a),b=b.getParent()};q.nda=function(a){if(this.Lj)for(var b=0,c;c=this.Lj[b];b++)c(a)};q.Dw=function(a){this.ea=a};
q.Bba=function(a,b){this.Pc()[a]=b};var wu={},xu=null,yu=function(){xu||(xu=new ju(""),wu[""]=xu,xu.oo(pu))},zu=function(){yu();return xu},Au=function(a){yu();var b;if(!(b=wu[a])){b=new ju(a);var c=a.lastIndexOf("."),e=a.substr(c+1);c=Au(a.substr(0,c));c.Bba(e,b);b.Dw(c);wu[a]=b}return b};var F=function(){this.ii=this.ii;this.Mn=this.Mn};q=F.prototype;q.ii=!1;q.isDisposed=function(){return this.ii};q.gJ=F.prototype.isDisposed;q.dispose=function(){this.ii||(this.ii=!0,this.o())};q.Y=function(a){this.Xba(cr(G,a))};q.Xba=function(a,b){this.ii?u(b)?a.call(b):a():(this.Mn||(this.Mn=[]),this.Mn.push(u(b)?y(a,b):a))};q.o=function(){if(this.Mn)for(;this.Mn.length;)this.Mn.shift()()};
var G=function(a){a&&typeof a.dispose==Rh&&a.dispose()},Bu=function(a){for(var b=0,c=arguments.length;b<c;++b){var e=arguments[b];Tq(e)?Bu.apply(null,e):G(e)}};var Cu=!E||Zt(9),Du=!E||Zt(9),Eu=E&&!Xt("9");!Gt||Xt("528");Ft&&Xt("1.9b")||E&&Xt("8")||Ct&&Xt("9.5")||Gt&&Xt("528");Ft&&!Xt("8")||E&&Xt("9");var Fu=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});t.addEventListener("test",Qq,b);t.removeEventListener("test",Qq,b);return a}();var H=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.Yn=!1;this.NN=!0};H.prototype.stopPropagation=function(){this.Yn=!0};H.prototype.preventDefault=function(){this.defaultPrevented=!0;this.NN=!1};var Gu=function(a){a.preventDefault()};var Hu=E?Jh:"DOMFocusIn",Iu=E?Kh:"DOMFocusOut";var Ju=function(a,b){H.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.CC=!1;this.pointerId=0;this.pointerType="";this.bd=null;a&&this.init(a,b)};B(Ju,H);var Ku=gu([1,4,2]),Lu=gu({2:"touch",3:"pen",4:"mouse"});q=Ju.prototype;
q.init=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;(b=a.relatedTarget)?Ft&&(At(b,"nodeName")||(b=null)):c==zk?b=a.fromElement:c==yk&&(b=a.toElement);this.relatedTarget=b;null===e?(this.offsetX=Gt||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Gt||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.key=a.key||"";this.charCode=a.charCode||(c==Jj?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.CC=It?a.metaKey:a.ctrlKey;this.pointerId=a.pointerId||0;this.pointerType=v(a.pointerType)?a.pointerType:Lu[a.pointerType]||
"";this.state=a.state;this.bd=a;a.defaultPrevented&&this.preventDefault()};q.pqa=function(a){return Cu?this.bd.button==a:this.type==Kf?0==a:!!(this.bd.button&Ku[a])};q.Zu=function(){return this.pqa(0)&&!(Gt&&It&&this.ctrlKey)};q.stopPropagation=function(){Ju.c.stopPropagation.call(this);this.bd.stopPropagation?this.bd.stopPropagation():this.bd.cancelBubble=!0};
q.preventDefault=function(){Ju.c.preventDefault.call(this);var a=this.bd;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Eu)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Mu="closure_listenable_"+(1E6*Math.random()|0),Nu=function(a){return!(!a||!a[Mu])},Ou=0;var Pu=function(a,b,c,e,f,g){this.listener=a;this.MC=b;this.src=c;this.type=e;this.capture=!!f;this.vA=g;this.key=++Ou;this.ir=this.dy=!1};Pu.prototype.EB=function(){this.ir=!0;this.vA=this.src=this.MC=this.listener=null};var Qu=function(a){this.src=a;this.gd={};this.fx=0};q=Qu.prototype;q.add=function(a,b,c,e,f){var g=a.toString();a=this.gd[g];a||(a=this.gd[g]=[],this.fx++);var h=Ru(a,b,e,f);-1<h?(b=a[h],c||(b.dy=!1)):(b=new Pu(b,null,this.src,g,!!e,f),b.dy=c,a.push(b));return b};q.remove=function(a,b,c,e){a=a.toString();if(!(a in this.gd))return!1;var f=this.gd[a];b=Ru(f,b,c,e);return-1<b?(f[b].EB(),us(f,b),0==f.length&&(delete this.gd[a],this.fx--),!0):!1};
q.Y3=function(a){var b=a.type;if(!(b in this.gd))return!1;var c=vs(this.gd[b],a);c&&(a.EB(),0==this.gd[b].length&&(delete this.gd[b],this.fx--));return c};q.removeAll=function(a){a=a&&a.toString();var b=0,c;for(c in this.gd)if(!a||c==a){for(var e=this.gd[c],f=0;f<e.length;f++)++b,e[f].EB();delete this.gd[c];this.fx--}return b};q.Tz=function(a,b){a=this.gd[a.toString()];var c=[];if(a)for(var e=0;e<a.length;++e){var f=a[e];f.capture==b&&c.push(f)}return c};
q.hu=function(a,b,c,e){a=this.gd[a.toString()];var f=-1;a&&(f=Ru(a,b,c,e));return-1<f?a[f]:null};q.hasListener=function(a,b){var c=u(a),e=c?a.toString():"",f=u(b);return Ts(this.gd,function(a){for(var g=0;g<a.length;++g)if(!(c&&a[g].type!=e||f&&a[g].capture!=b))return!0;return!1})};var Ru=function(a,b,c,e){for(var f=0;f<a.length;++f){var g=a[f];if(!g.ir&&g.listener==b&&g.capture==!!c&&g.vA==e)return f}return-1};var Su="closure_lm_"+(1E6*Math.random()|0),Tu={},Uu=0,I=function(a,b,c,e,f){if(e&&e.once)return Vu(a,b,c,e,f);if(x(b)){for(var g=0;g<b.length;g++)I(a,b[g],c,e,f);return null}c=Wu(c);return Nu(a)?a.listen(b,c,Vq(e)?!!e.capture:!!e,f):Xu(a,b,c,!1,e,f)},Xu=function(a,b,c,e,f,g){if(!b)throw Error("Invalid event type");var h=Vq(f)?!!f.capture:!!f,l=Yu(a);l||(a[Su]=l=new Qu(a));c=l.add(b,c,e,h,g);if(c.MC)return c;e=Zu();c.MC=e;e.src=a;e.listener=c;if(a.addEventListener)Fu||(f=h),void 0===f&&(f=!1),a.addEventListener(b.toString(),
e,f);else if(a.attachEvent)a.attachEvent($u(b.toString()),e);else throw Error("addEventListener and attachEvent are unavailable.");Uu++;return c},Zu=function(){var a=av,b=Du?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},Vu=function(a,b,c,e,f){if(x(b)){for(var g=0;g<b.length;g++)Vu(a,b[g],c,e,f);return null}c=Wu(c);return Nu(a)?a.Of(b,c,Vq(e)?!!e.capture:!!e,f):Xu(a,b,c,!0,e,f)},bv=function(a,b,c,e,f){if(x(b)){for(var g=0;g<b.length;g++)bv(a,
b[g],c,e,f);return null}e=Vq(e)?!!e.capture:!!e;c=Wu(c);if(Nu(a))return a.ta(b,c,e,f);if(!a)return!1;if(a=Yu(a))if(b=a.hu(b,c,e,f))return cv(b);return!1},cv=function(a){if(Oq(a)||!a||a.ir)return!1;var b=a.src;if(Nu(b))return b.y9(a);var c=a.type,e=a.MC;b.removeEventListener?b.removeEventListener(c,e,a.capture):b.detachEvent&&b.detachEvent($u(c),e);Uu--;(c=Yu(b))?(c.Y3(a),0==c.fx&&(c.src=null,b[Su]=null)):a.EB();return!0},dv=function(a,b){if(!a)return 0;if(Nu(a))return a.removeAllListeners(b);a=Yu(a);
if(!a)return 0;var c=0;b=b&&b.toString();for(var e in a.gd)if(!b||e==b)for(var f=a.gd[e].concat(),g=0;g<f.length;++g)cv(f[g])&&++c;return c},ev=function(a,b,c){return Nu(a)?a.Tz(b,c):a?(a=Yu(a))?a.Tz(b,c):[]:[]},$u=function(a){return a in Tu?Tu[a]:Tu[a]="on"+a},gv=function(a,b,c,e){return Nu(a)?a.Kt(b,c,e):fv(a,b,c,e)},fv=function(a,b,c,e){var f=!0;if(a=Yu(a))if(b=a.gd[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var g=b[a];g&&g.capture==c&&!g.ir&&(g=hv(g,e),f=f&&!1!==g)}return f},hv=function(a,
b){var c=a.listener,e=a.vA||a.src;a.dy&&cv(a);return c.call(e,b)},av=function(a,b){if(a.ir)return!0;if(!Du){var c=b||Pq("window.event");b=new Ju(c,this);var e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(h){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=b.currentTarget;f;f=f.parentNode)c.push(f);a=a.type;for(f=c.length-1;!b.Yn&&0<=f;f--){b.currentTarget=c[f];var g=fv(c[f],a,!0,b);e=e&&g}for(f=0;!b.Yn&&f<c.length;f++)b.currentTarget=
c[f],g=fv(c[f],a,!1,b),e=e&&g}return e}return hv(a,new Ju(b,this))},Yu=function(a){a=a[Su];return a instanceof Qu?a:null},iv="__closure_events_fn_"+(1E9*Math.random()>>>0),Wu=function(a){C(a,"Listener can not be null.");if(Uq(a))return a;C(a.handleEvent,"An object listener must have handleEvent method.");a[iv]||(a[iv]=function(b){return a.handleEvent(b)});return a[iv]};var J=function(){F.call(this);this.th=new Qu(this);this.uba=this;this.jN=null};B(J,F);J.prototype[Mu]=!0;q=J.prototype;q.$p=function(){return this.jN};q.Sl=function(a){this.jN=a};q.addEventListener=function(a,b,c,e){I(this,a,b,c,e)};q.removeEventListener=function(a,b,c,e){bv(this,a,b,c,e)};
q.dispatchEvent=function(a){this.US();var b=this.$p();if(b){var c=[];for(var e=1;b;b=b.$p())c.push(b),C(1E3>++e,"infinite loop")}b=this.uba;e=a.type||a;if(v(a))a=new H(a,b);else if(a instanceof H)a.target=a.target||b;else{var f=a;a=new H(e,b);ht(a,f)}f=!0;if(c)for(var g=c.length-1;!a.Yn&&0<=g;g--){var h=a.currentTarget=c[g];f=h.Kt(e,!0,a)&&f}a.Yn||(h=a.currentTarget=b,f=h.Kt(e,!0,a)&&f,a.Yn||(f=h.Kt(e,!1,a)&&f));if(c)for(g=0;!a.Yn&&g<c.length;g++)h=a.currentTarget=c[g],f=h.Kt(e,!1,a)&&f;return f};
q.o=function(){J.c.o.call(this);this.removeAllListeners();this.jN=null};q.listen=function(a,b,c,e){this.US();return this.th.add(String(a),b,!1,c,e)};q.Of=function(a,b,c,e){return this.th.add(String(a),b,!0,c,e)};q.ta=function(a,b,c,e){return this.th.remove(String(a),b,c,e)};q.y9=function(a){return this.th.Y3(a)};q.removeAllListeners=function(a){return this.th?this.th.removeAll(a):0};
q.Kt=function(a,b,c){a=this.th.gd[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.ir&&g.capture==b){var h=g.listener,l=g.vA||g.src;g.dy&&this.y9(g);e=!1!==h.call(l,c)&&e}}return e&&0!=c.NN};q.Tz=function(a,b){return this.th.Tz(String(a),b)};q.hu=function(a,b,c,e){return this.th.hu(String(a),b,c,e)};q.hasListener=function(a,b){return this.th.hasListener(u(a)?String(a):void 0,b)};q.US=function(){C(this.th,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var jv="StopIteration"in t?t.StopIteration:{message:"StopIteration",stack:""},kv=function(){};kv.prototype.next=function(){throw jv;};kv.prototype.ig=function(){return this};
var lv=function(a){if(a instanceof kv)return a;if(typeof a.ig==Rh)return a.ig(!1);if(Tq(a)){var b=0,c=new kv;c.next=function(){for(;;){if(b>=a.length)throw jv;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},mv=function(a,b,c){if(Tq(a))try{D(a,b,c)}catch(e){if(e!==jv)throw e;}else{a=lv(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(e){if(e!==jv)throw e;}}},nv=function(a){if(Tq(a))return ys(a);a=lv(a);var b=[];mv(a,function(a){b.push(a)});return b},ov=function(a,b){try{return lv(a).next()}catch(c){if(c!=
jv)throw c;return b}};var pv=function(a){return/^\s*$/.test(a)?!1:/^[\],:{}\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,""))},qv=function(a){a=String(a);if(pv(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},sv=function(a,b){return(new rv(b)).jk(a)},rv=function(a){this.TC=a};
rv.prototype.jk=function(a){var b=[];this.eO(a,b);return b.join("")};rv.prototype.eO=function(a,b){if(null==a)b.push(Pk);else{if(typeof a==Sk){if(x(a)){this.hya(a,b);return}if(a instanceof String||a instanceof Number||a instanceof Boolean)a=a.valueOf();else{this.jya(a,b);return}}switch(typeof a){case Yo:this.y5(a,b);break;case Rk:this.iya(a,b);break;case sf:b.push(String(a));break;case Rh:b.push(Pk);break;default:throw Error("Unknown type: "+typeof a);}}};
var tv={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},uv=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;rv.prototype.y5=function(a,b){b.push('"',a.replace(uv,function(a){var b=tv[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),tv[a]=b);return b}),'"')};rv.prototype.iya=function(a,b){b.push(isFinite(a)&&!isNaN(a)?String(a):Pk)};
rv.prototype.hya=function(a,b){var c=a.length;b.push("[");for(var e="",f=0;f<c;f++)b.push(e),e=a[f],this.eO(this.TC?this.TC.call(a,String(f),e):e,b),e=",";b.push("]")};rv.prototype.jya=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!=Rh&&(b.push(c),this.y5(e,b),b.push(":"),this.eO(this.TC?this.TC.call(a,e,f):f,b),c=",")}b.push("}")};var vv=function(a,b){a=Au(a);b&&a&&a.oo(b);return a},wv=function(a,b,c){a&&a.IP(b,c)},xv=function(a,b,c){a&&a.s$(b,c)},K=function(a,b,c){a&&a.info(b,c)},yv=function(a,b,c){a&&a.cha(b,c)};var zv=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 Av=function(){};Av.prototype.yT=null;Av.prototype.getOptions=function(){return this.yT||(this.yT=this.iqa())};var Bv,Cv=function(){};B(Cv,Av);Cv.prototype.YG=function(){var a=this.wY();return a?new ActiveXObject(a):new XMLHttpRequest};Cv.prototype.iqa=function(){var a={};this.wY()&&(a[0]=!0,a[1]=!0);return a};
Cv.prototype.wY=function(){if(!this.y_&&"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.y_=c}catch(e){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return this.y_};Bv=new Cv;var L=function(a,b){this.sb={};this.wb=[];this.sx=this.ub=0;var c=arguments.length;if(1<c){if(c%2)throw Error(Vd);for(var e=0;e<c;e+=2)this.set(arguments[e],arguments[e+1])}else a&&this.addAll(a)};q=L.prototype;q.sa=function(){return this.ub};q.nb=function(){this.lp();for(var a=[],b=0;b<this.wb.length;b++)a.push(this.sb[this.wb[b]]);return a};q.bb=function(){this.lp();return this.wb.concat()};q.Xb=function(a){return Dv(this.sb,a)};
q.nj=function(a){for(var b=0;b<this.wb.length;b++){var c=this.wb[b];if(Dv(this.sb,c)&&this.sb[c]==a)return!0}return!1};q.ad=function(a,b){if(this===a)return!0;if(this.ub!=a.sa())return!1;b=b||Ev;this.lp();for(var c,e=0;c=this.wb[e];e++)if(!b(this.get(c),a.get(c)))return!1;return!0};var Ev=function(a,b){return a===b};q=L.prototype;q.Sb=function(){return 0==this.ub};q.clear=function(){this.sb={};this.sx=this.ub=this.wb.length=0};
q.remove=function(a){return Dv(this.sb,a)?(delete this.sb[a],this.ub--,this.sx++,this.wb.length>2*this.ub&&this.lp(),!0):!1};q.lp=function(){if(this.ub!=this.wb.length){for(var a=0,b=0;a<this.wb.length;){var c=this.wb[a];Dv(this.sb,c)&&(this.wb[b++]=c);a++}this.wb.length=b}if(this.ub!=this.wb.length){var e={};for(b=a=0;a<this.wb.length;)c=this.wb[a],Dv(e,c)||(this.wb[b++]=c,e[c]=1),a++;this.wb.length=b}};q.get=function(a,b){return Dv(this.sb,a)?this.sb[a]:b};
q.set=function(a,b){Dv(this.sb,a)||(this.ub++,this.wb.push(a),this.sx++);this.sb[a]=b};q.addAll=function(a){if(a instanceof L){var b=a.bb();a=a.nb()}else b=Xs(a),a=Ws(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};q.forEach=function(a,b){for(var c=this.bb(),e=0;e<c.length;e++){var f=c[e],g=this.get(f);a.call(b,g,f,this)}};q.clone=function(){return new L(this)};q.xo=function(){this.lp();for(var a={},b=0;b<this.wb.length;b++){var c=this.wb[b];a[c]=this.sb[c]}return a};
q.ig=function(a){this.lp();var b=0,c=this.sx,e=this,f=new kv;f.next=function(){if(c!=e.sx)throw Error("The map has changed since the iterator was created");if(b>=e.wb.length)throw jv;var f=e.wb[b++];return a?f:e.sb[f]};return f};var Dv=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Fv=function(a){return a.sa&&typeof a.sa==Rh?a.sa():Tq(a)||v(a)?a.length:Vs(a)},Gv=function(a){if(a.nb&&typeof a.nb==Rh)return a.nb();if(v(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 Ws(a)},Hv=function(a){if(a.bb&&typeof a.bb==Rh)return a.bb();if(!a.nb||typeof a.nb!=Rh){if(Tq(a)||v(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return Xs(a)}},Iv=function(a,b,c){if(a.forEach&&typeof a.forEach==Rh)a.forEach(b,c);else if(Tq(a)||
v(a))D(a,b,c);else for(var e=Hv(a),f=Gv(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],e&&e[h],a)},Jv=function(a,b,c){if(typeof a.every==Rh)return a.every(b,c);if(Tq(a)||v(a))return ls(a,b,c);for(var e=Hv(a),f=Gv(a),g=f.length,h=0;h<g;h++)if(!b.call(c,f[h],e&&e[h],a))return!1;return!0};var Kv=function(a){a.prototype.then=a.prototype.then;a.prototype.$goog_Thenable=!0},Lv=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Nv=function(a,b){this.oa=0;this.Ug=void 0;this.ip=this.ij=this.ea=null;this.jA=this.nI=!1;if(a!=Qq)try{var c=this;a.call(b,function(a){c.kr(2,a)},function(a){if(!(a instanceof Mv))try{if(a instanceof Error)throw a;throw Error("Promise rejected.");}catch(f){}c.kr(3,a)})}catch(e){this.kr(3,e)}},Ov=function(){this.next=this.context=this.Qq=this.Nn=this.ym=null;this.Rx=!1};Ov.prototype.reset=function(){this.context=this.Qq=this.Nn=this.ym=null;this.Rx=!1};
var Pv=new Gs(function(){return new Ov},function(a){a.reset()},100),Qv=function(a,b,c){var e=Pv.get();e.Nn=a;e.Qq=b;e.context=c;return e},Sv=function(a){return new Nv(function(b,c){a.length||b(void 0);for(var e=0,f;e<a.length;e++){f=a[e];var g=b;Rv(f,g,c,null)||vt(cr(g,f))}})};Nv.prototype.then=function(a,b,c){null!=a&&Yr(a,hl);null!=b&&Yr(b,il);return this.Aba(Uq(a)?a:null,Uq(b)?b:null,c)};Kv(Nv);q=Nv.prototype;q.vDa=function(a,b,c){null!=a&&Yr(a,hl);null!=b&&Yr(b,il);this.mS(Qv(a||Qq,b||null,c))};
q.cancel=function(a){0==this.oa&&vt(function(){var b=new Mv(a);this.KT(b)},this)};q.KT=function(a){0==this.oa&&(this.ea?(this.ea.rda(this,a),this.ea=null):this.kr(3,a))};q.rda=function(a,b){if(this.ij){for(var c=0,e=null,f=null,g=this.ij;g&&(g.Rx||(c++,g.ym==a&&(e=g),!(e&&1<c)));g=g.next)e||(f=g);e&&(0==this.oa&&1==c?this.KT(b):(f?this.mwa(f):this.m3(),this.KW(e,3,b)))}};q.mS=function(a){this.Voa()||2!=this.oa&&3!=this.oa||this.Z4();this.Nva(a)};
q.Aba=function(a,b,c){var e=Qv(null,null,null);e.ym=new Nv(function(f,g){e.Nn=a?function(b){try{var e=a.call(c,b);f(e)}catch(p){g(p)}}:f;e.Qq=b?function(a){try{var e=b.call(c,a);!u(e)&&a instanceof Mv?g(a):f(e)}catch(p){g(p)}}:g});e.ym.ea=this;this.mS(e);return e.ym};q.SDa=function(a){C(1==this.oa);this.oa=0;this.kr(2,a)};q.TDa=function(a){C(1==this.oa);this.oa=0;this.kr(3,a)};
q.kr=function(a,b){0==this.oa&&(this===b&&(a=3,b=new TypeError("Promise cannot resolve to itself")),this.oa=1,Rv(b,this.SDa,this.TDa,this)||(this.Ug=b,this.oa=a,this.ea=null,this.Z4(),3!=a||b instanceof Mv||Tv(this,b)))};
var Rv=function(a,b,c,e){if(a instanceof Nv)return a.vDa(b,c,e),!0;if(Lv(a))return a.then(b,c,e),!0;if(Vq(a))try{var f=a.then;if(Uq(f))return Uv(a,f,b,c,e),!0}catch(g){return c.call(e,g),!0}return!1},Uv=function(a,b,c,e,f){var g=!1,h=function(a){g||(g=!0,c.call(f,a))},l=function(a){g||(g=!0,e.call(f,a))};try{b.call(a,h,l)}catch(p){l(p)}};q=Nv.prototype;q.Z4=function(){this.nI||(this.nI=!0,vt(this.Nk,this))};q.Voa=function(){return!!this.ij};
q.Nva=function(a){C(null!=a.Nn);this.ip?this.ip.next=a:this.ij=a;this.ip=a};q.m3=function(){var a=null;this.ij&&(a=this.ij,this.ij=a.next,a.next=null);this.ij||(this.ip=null);null!=a&&C(null!=a.Nn);return a};q.mwa=function(a){C(this.ij);C(null!=a);a.next==this.ip&&(this.ip=a);a.next=a.next.next};q.Nk=function(){for(var a;a=this.m3();)this.KW(a,this.oa,this.Ug);this.nI=!1};
q.KW=function(a,b,c){3==b&&a.Qq&&!a.Rx&&this.Hwa();if(a.ym)a.ym.ea=null,Vv(a,b,c);else try{a.Rx?a.Nn.call(a.context):Vv(a,b,c)}catch(e){Wv.call(null,e)}Pv.put(a)};var Vv=function(a,b,c){2==b?a.Nn.call(a.context,c):a.Qq&&a.Qq.call(a.context,c)};Nv.prototype.Hwa=function(){var a;for(a=this;a&&a.jA;a=a.ea)a.jA=!1};var Tv=function(a,b){a.jA=!0;vt(function(){a.jA&&Wv.call(null,b)})},Wv=lt,Mv=function(a){Rr.call(this,a)};B(Mv,Rr);Mv.prototype.name=zf;var Xv=function(a,b){J.call(this);this.Fe=a||1;this.Zr=b||t;this.jG=y(this.yDa,this);this.PL=A()};B(Xv,J);q=Xv.prototype;q.enabled=!1;q.wa=null;q.setInterval=function(a){this.Fe=a;this.wa&&this.enabled?(this.stop(),this.start()):this.wa&&this.stop()};q.yDa=function(){if(this.enabled){var a=A()-this.PL;0<a&&a<.8*this.Fe?this.wa=this.Zr.setTimeout(this.jG,this.Fe-a):(this.wa&&(this.Zr.clearTimeout(this.wa),this.wa=null),this.Mfa(),this.enabled&&(this.wa=this.Zr.setTimeout(this.jG,this.Fe),this.PL=A()))}};
q.Mfa=function(){this.dispatchEvent(lp)};q.start=function(){this.enabled=!0;this.wa||(this.wa=this.Zr.setTimeout(this.jG,this.Fe),this.PL=A())};q.stop=function(){this.enabled=!1;this.wa&&(this.Zr.clearTimeout(this.wa),this.wa=null)};q.o=function(){Xv.c.o.call(this);this.stop();delete this.Zr};var M=function(a,b,c){if(Uq(a))c&&(a=y(a,c));else if(a&&typeof a.handleEvent==Rh)a=y(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:t.setTimeout(a,b||0)},Yv=function(a){t.clearTimeout(a)};var Zv=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,$v=function(a,b){return a?b?decodeURI(a):decodeURIComponent(a):a},aw=function(a){var b=a.match(Zv);a=b[1];var c=b[2],e=b[3];b=b[4];var f="";a&&(f+=a+":");e&&(f+="//",c&&(f+=c+"@"),f+=e,b&&(f+=":"+b));return f},bw=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var e=a[c].indexOf("="),f=null;if(0<=e){var g=a[c].substring(0,e);f=a[c].substring(e+1)}else g=a[c];
b(g,f?or(f):"")}}},cw=function(a,b,c){c=null!=c?"="+encodeURIComponent(String(c)):"";if(b+=c){c=a.indexOf("#");0>c&&(c=a.length);var e=a.indexOf("?");if(0>e||e>c){e=c;var f=""}else f=a.substring(e+1,c);a=[a.substr(0,e),f,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a},dw=function(a,b,c,e){for(var f=c.length;0<=(b=a.indexOf(c,b))&&b<e;){var g=a.charCodeAt(b-1);if(38==g||63==g)if(g=a.charCodeAt(b+f),!g||61==g||38==g||35==g)return b;b+=f+1}return-1},ew=/#|$/,fw=function(a,
b){var c=a.search(ew),e=dw(a,0,b,c);if(0>e)return null;var f=a.indexOf("&",e);if(0>f||f>c)f=c;e+=b.length+1;return or(a.substr(e,f-e))},gw=/[?&]($|#)/,hw=function(a,b){for(var c=a.search(ew),e=0,f,g=[];0<=(f=dw(a,e,b,c));)g.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||c,c);g.push(a.substr(e));return g.join("").replace(gw,"$1")};var iw=function(a){J.call(this);this.headers=new L;this.dF=a||null;this.Wa=!1;this.cF=this.za=null;this.a1=this.df="";this.fc=0;this.pl="";this.wn=this.KK=this.FA=this.eI=!1;this.nk=0;this.vo=null;this.Yv="";this.XE=this.Jva=this.uk=!1};B(iw,J);iw.prototype.F=vv("goog.net.XhrIo");var jw=/^https?$/i,kw=[od,"PUT"],lw=[];q=iw.prototype;q.Dda=function(){this.dispose();vs(lw,this)};q.UD=function(a){this.nk=Math.max(0,a)};q.FAa=function(a){this.Yv=a};q.HP=function(a){this.uk=a};
q.send=function(a,b,c,e){if(this.za)throw Error("[goog.net.XhrIo] Object is active with another request="+this.df+"; newUri="+a);b=b?b.toUpperCase():"GET";this.df=a;this.pl="";this.fc=0;this.a1=b;this.eI=!1;this.Wa=!0;this.za=this.dH();this.cF=this.dF?this.dF.getOptions():Bv.getOptions();this.za.onreadystatechange=y(this.O2,this);this.Jva&&"onprogress"in this.za&&(this.za.onprogress=y(function(a){this.M2(a,!0)},this),this.za.upload&&(this.za.upload.onprogress=y(this.M2,this)));try{yv(this.F,this.Bj("Opening Xhr")),
this.KK=!0,this.za.open(b,String(a),!0),this.KK=!1}catch(g){yv(this.F,this.Bj("Error opening Xhr: "+g.message));this.Kp(5,g);return}a=c||"";var f=this.headers.clone();e&&Iv(e,function(a,b){f.set(b,a)});e=os(f.bb(),mw);c=t.FormData&&a instanceof t.FormData;!qs(kw,b)||e||c||f.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");f.forEach(function(a,b){this.za.setRequestHeader(b,a)},this);this.Yv&&(this.za.responseType=this.Yv);"withCredentials"in this.za&&this.za.withCredentials!==
this.uk&&(this.za.withCredentials=this.uk);try{this.aU(),0<this.nk&&(this.XE=nw(this.za),yv(this.F,this.Bj("Will abort after "+this.nk+"ms if incomplete, xhr2 "+this.XE)),this.XE?(this.za.timeout=this.nk,this.za.ontimeout=y(this.em,this)):this.vo=M(this.em,this.nk,this)),yv(this.F,this.Bj("Sending request")),this.FA=!0,this.za.send(a),this.FA=!1}catch(g){yv(this.F,this.Bj("Send error: "+g.message)),this.Kp(5,g)}};
var nw=function(a){return E&&Xt(9)&&Oq(a.timeout)&&u(a.ontimeout)},mw=function(a){return"content-type"==a.toLowerCase()};q=iw.prototype;q.dH=function(){return this.dF?this.dF.YG():Bv.YG()};q.em=function(){"undefined"!=typeof Mq&&this.za&&(this.pl="Timed out after "+this.nk+"ms, aborting",this.fc=8,yv(this.F,this.Bj(this.pl)),this.dispatchEvent(mp),this.abort(8))};q.Kp=function(a,b){this.Wa=!1;this.za&&(this.wn=!0,this.za.abort(),this.wn=!1);this.pl=b;this.fc=a;this.VV();this.ly()};
q.VV=function(){this.eI||(this.eI=!0,this.dispatchEvent(Pf),this.dispatchEvent(ph))};q.abort=function(a){this.za&&this.Wa&&(yv(this.F,this.Bj("Aborting")),this.Wa=!1,this.wn=!0,this.za.abort(),this.wn=!1,this.fc=a||7,this.dispatchEvent(Pf),this.dispatchEvent(ge),this.ly())};q.o=function(){this.za&&(this.Wa&&(this.Wa=!1,this.wn=!0,this.za.abort(),this.wn=!1),this.ly(!0));iw.c.o.call(this)};q.O2=function(){this.isDisposed()||(this.KK||this.FA||this.wn?this.N2():this.eua())};q.eua=function(){this.N2()};
q.N2=function(){if(this.Wa&&"undefined"!=typeof Mq)if(this.cF[1]&&4==this.an()&&2==this.Ij())yv(this.F,this.Bj("Local request error detected and ignored"));else if(this.FA&&4==this.an())M(this.O2,0,this);else if(this.dispatchEvent(Om),this.RA()){yv(this.F,this.Bj("Request complete"));this.Wa=!1;try{this.vL()?(this.dispatchEvent(Pf),this.dispatchEvent(ap)):(this.fc=6,this.pl=this.LY()+" ["+this.Ij()+"]",this.VV())}finally{this.ly()}}};
q.M2=function(a,b){C(a.type===Hm,"goog.net.EventType.PROGRESS is of the same type as raw XHR progress.");this.dispatchEvent(ow(a,Hm));this.dispatchEvent(ow(a,b?"downloadprogress":Qp))};var ow=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}};q=iw.prototype;
q.ly=function(a){if(this.za){this.aU();var b=this.za,c=this.cF[0]?Qq:null;this.cF=this.za=null;a||this.dispatchEvent(Nm);try{b.onreadystatechange=c}catch(e){wv(this.F,"Problem encountered resetting onreadystatechange: "+e.message)}}};q.aU=function(){this.za&&this.XE&&(this.za.ontimeout=null);this.vo&&(Yv(this.vo),this.vo=null)};q.Rb=function(){return!!this.za};q.RA=function(){return 4==this.an()};
q.vL=function(){var a=this.Ij();a:switch(a){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var b=!0;break a;default:b=!1}return b||0===a&&!this.Mqa()};q.Mqa=function(){var a=String(this.df).match(Zv)[1]||null;!a&&t.self&&t.self.location&&(a=t.self.location.protocol,a=a.substr(0,a.length-1));return jw.test(a?a.toLowerCase():"")};q.an=function(){return this.za?this.za.readyState:0};q.Ij=function(){try{return 2<this.an()?this.za.status:-1}catch(a){return-1}};
q.LY=function(){try{return 2<this.an()?this.za.statusText:""}catch(a){return yv(this.F,"Can not get status: "+a.message),""}};q.Sz=function(){return String(this.df)};q.ae=function(){try{return this.za?this.za.responseText:""}catch(a){return yv(this.F,"Can not get responseText: "+a.message),""}};q.nu=function(){try{if(this.za&&"responseBody"in this.za)return this.za.responseBody}catch(a){yv(this.F,"Can not get responseBody: "+a.message)}return null};
q.Ba=function(a){if(this.za){var b=this.za.responseText;a&&0==b.indexOf(a)&&(b=b.substring(a.length));a:{a=b;if(t.JSON)try{var c=t.JSON.parse(a);C(typeof c==Sk);var e=c;break a}catch(f){}e=qv(a)}return e}};q.getResponseHeader=function(a){if(this.za&&this.RA())return a=this.za.getResponseHeader(a),null===a?void 0:a};q.getAllResponseHeaders=function(){return this.za&&this.RA()?this.za.getAllResponseHeaders():""};q.Rz=function(){return v(this.pl)?this.pl:String(this.pl)};
q.Bj=function(a){return a+" ["+this.a1+" "+this.df+" "+this.Ij()+"]"};var pw=function(){this.U3=A()},qw=null;pw.prototype.set=function(a){this.U3=a};pw.prototype.reset=function(){this.set(A())};pw.prototype.get=function(){return this.U3};var rw={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 tw=function(){this.oE="";this.Zaa=sw};tw.prototype.xi=!0;tw.prototype.Jf=function(){return this.oE};tw.prototype.toString=function(){return"Const{"+this.oE+"}"};var uw=function(a){if(a instanceof tw&&a.constructor===tw&&a.Zaa===sw)return a.oE;Vr("expected object of type Const, got '"+a+"'");return"type_error:Const"},sw={},vw=function(a){var b=new tw;b.oE=a;return b};vw("");var ww=function(){var a=u(t.URL)&&u(t.URL.createObjectURL)?t.URL:u(t.webkitURL)&&u(t.webkitURL.createObjectURL)?t.webkitURL:u(t.createObjectURL)?t:null;if(null!=a)return a;throw Error("This browser doesn't seem to support blob URLs");};var xw=/<[^>]*>|&[^;]+;/g,yw=function(a,b){return b?a.replace(xw,""):a},zw=/[\u0591-\u06ef\u06fa-\u07ff\u200f\ufb1d-\ufdff\ufe70-\ufefc]/,Aw=/[A-Za-z\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02b8\u0300-\u0590\u0800-\u1fff\u200e\u2c00-\ufb1c\ufe00-\ufe6f\ufefd-\uffff]/,Bw=/^[^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]/,Cw=/^http:\/\/.*/,Dw=/[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]*$/,
Ew=/[\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]*$/,Fw=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Arab|Hebr|Thaa|Nkoo|Tfng))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,Gw=/\s+/,Hw=/[\d\u06f0-\u06f9]/,Iw=function(a,b){var c=0,e=0,f=!1;a=yw(a,b).split(Gw);for(b=0;b<a.length;b++){var g=a[b];Bw.test(yw(g,void 0))?(c++,e++):Cw.test(g)?f=!0:Aw.test(yw(g,void 0))?e++:Hw.test(g)&&
(f=!0)}return 0==e?f?1:0:.4<c/e?-1:1};var Kw=function(){this.KC="";this.dba=Jw};q=Kw.prototype;q.xi=!0;q.Jf=function(){return this.KC};q.JK=!0;q.Ej=function(){return 1};q.toString=function(){return"TrustedResourceUrl{"+this.KC+"}"};
var Lw=function(a){if(a instanceof Kw&&a.constructor===Kw&&a.dba===Jw)return a.KC;Vr("expected object of type TrustedResourceUrl, got '"+a+Fa+Sq(a));return"type_error:TrustedResourceUrl"},Ow=function(a,b){var c=uw(a);if(!Mw.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);return c.replace(Nw,function(a,f){if(!Object.prototype.hasOwnProperty.call(b,f))throw Error('Found marker, "'+f+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));a=b[f];return a instanceof
tw?uw(a):encodeURIComponent(String(a))})},Nw=/%{(\w+)}/g,Mw=/^(?:https:)?\/\/[0-9a-z.:[\]-]+\/|^\/[^\/\\]|^about:blank(#|$)/i,Qw=function(a){return Pw(uw(a))},Jw={},Pw=function(a){var b=new Kw;b.KC=a;return b};var Sw=function(){this.fk="";this.Maa=Rw};q=Sw.prototype;q.xi=!0;q.Jf=function(){return this.fk};q.JK=!0;q.Ej=function(){return 1};q.toString=function(){return"SafeUrl{"+this.fk+"}"};
var Tw=function(a){if(a instanceof Sw&&a.constructor===Sw&&a.Maa===Rw)return a.fk;Vr("expected object of type SafeUrl, got '"+a+Fa+Sq(a));return"type_error:SafeUrl"},Uw=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,Ww=function(a){if(a instanceof Sw)return a;a=a.xi?a.Jf():String(a);Uw.test(a)||(a=ie);return Vw(a)},Xw=function(a){if(a instanceof Sw)return a;a=a.xi?a.Jf():String(a);C(Uw.test(a))||(a=ie);return Vw(a)},Rw={},Vw=function(a){var b=new Sw;b.fk=a;return b};Vw(he);var Zw=function(){this.JC="";this.Laa=Yw};Zw.prototype.xi=!0;var Yw={};Zw.prototype.Jf=function(){return this.JC};Zw.prototype.toString=function(){return"SafeStyle{"+this.JC+"}"};var $w=function(a){if(a instanceof Zw&&a.constructor===Zw&&a.Laa===Yw)return a.JC;Vr("expected object of type SafeStyle, got '"+a+Fa+Sq(a));return"type_error:SafeStyle"};Zw.prototype.Rj=function(a){this.JC=a;return this};
var ax=(new Zw).Rj(""),cx=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];null!=e&&(e=x(e)?hs(e,bx).join(" "):bx(e),b+=c+":"+e+";")}if(!b)return ax;a=b;C(!/[<>]/.test(a),"Forbidden characters in style string: "+a);return(new Zw).Rj(b)},bx=function(a){if(a instanceof Sw)return'url("'+Tw(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof tw)a=uw(a);else{a=String(a);var b=a.replace(dx,"$1").replace(ex,
Sp);if(fx.test(b)){for(var c=b=!0,e=0;e<a.length;e++){var f=a.charAt(e);"'"==f&&c?b=!b:'"'==f&&b&&(c=!c)}b&&c?a=gx(a):(Vr("String value requires balanced quotes, got: "+a),a="zClosurez")}else Vr("String value allows only [-,.\"'%_!# a-zA-Z0-9] and simple functions, got: "+a),a="zClosurez"}C(!/[{;}]/.test(a),"Value does not allow [{;}].");return a},fx=/^[-,."'%_!# a-zA-Z0-9]+$/,ex=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,dx=/\b(hsl|hsla|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-0-9a-z.%, ]+\)/g,
gx=function(a){return a.replace(ex,function(a,c,e,f){var b="";e=e.replace(/^(['"])(.*)\1$/,function(a,c,e){b=c;return e});a=Ww(e).Jf();return c+b+a+b+f})};var ix=function(){this.IC="";this.Kaa=hx};ix.prototype.xi=!0;var hx={},kx=function(a){var b="",c=function(a){x(a)?D(a,c):b+=jx(a)};D(arguments,c);return(new ix).Rj(b)},mx=function(a){a=uw(a);if(0===a.length)return lx;C(!yr(a,"<"),"Forbidden '<' character in style sheet string: "+a);return(new ix).Rj(a)};ix.prototype.Jf=function(){return this.IC};ix.prototype.toString=function(){return"SafeStyleSheet{"+this.IC+"}"};
var jx=function(a){if(a instanceof ix&&a.constructor===ix&&a.Kaa===hx)return a.IC;Vr("expected object of type SafeStyleSheet, got '"+a+Fa+Sq(a));return"type_error:SafeStyleSheet"};ix.prototype.Rj=function(a){this.IC=a;return this};var lx=(new ix).Rj("");var ox=function(){this.fk="";this.Jaa=nx;this.GH=null};q=ox.prototype;q.JK=!0;q.Ej=function(){return this.GH};q.xi=!0;q.Jf=function(){return this.fk};q.toString=function(){return"SafeHtml{"+this.fk+"}"};
var px=function(a){if(a instanceof ox&&a.constructor===ox&&a.Jaa===nx)return a.fk;Vr("expected object of type SafeHtml, got '"+a+Fa+Sq(a));return"type_error:SafeHtml"},rx=function(a){if(a instanceof ox)return a;var b=null;a.JK&&(b=a.Ej());return qx(xr(a.xi?a.Jf():String(a)),b)},sx=function(a){if(a instanceof ox)return a;a=rx(a);return qx(pr(px(a)),a.Ej())},tx=function(a){if(a instanceof ox)return a;a=rx(a);var b=px(a);b=pr(b.replace(/  /g," &#160;"),void 0);return qx(b,a.Ej())},ux=/^[a-zA-Z0-9-]+$/,
vx={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},wx={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},zx=function(a,b,c){xx(String(a));return yx(String(a),b,c)},xx=function(a){if(!ux.test(a))throw Error("Invalid tag name <"+a+">.");if(a.toUpperCase()in wx)throw Error("Tag name <"+a+"> is not allowed for SafeHtml.");},Bx=function(a,b){b=Ax({type:"text/css"},{},b);var c="";a=xs(a);for(var e=0;e<a.length;e++)c+=
jx(a[e]);a=qx(c,0);return yx(Zo,b,a)},Cx=function(a){var b=0,c="",e=function(a){x(a)?D(a,e):(a=rx(a),c+=px(a),a=a.Ej(),0==b?b=a:0!=a&&b!=a&&(b=null))};D(arguments,e);return qx(c,b)},Dx=function(a,b){var c=Cx(As(arguments,1));c.GH=a;return c},nx={},qx=function(a,b){return(new ox).Rj(a,b)};ox.prototype.Rj=function(a,b){this.fk=a;this.GH=b;return this};
var yx=function(a,b,c){var e=null;var f="<"+a+Ex(a,b);null!=c?x(c)||(c=[c]):c=[];!0===rw[a.toLowerCase()]?(C(!c.length,"Void tag <"+a+"> does not allow content."),f+=">"):(e=Cx(c),f+=">"+px(e)+"</"+a+">",e=e.Ej());(a=b&&b.dir)&&(e=/^(ltr|rtl|auto)$/i.test(a)?0:null);return qx(f,e)},Ex=function(a,b){var c="";if(b)for(var e in b){if(!ux.test(e))throw Error('Invalid attribute name "'+e+'".');var f=b[e];if(null!=f){var g=a;var h=e;if(f instanceof tw)f=uw(f);else if(h.toLowerCase()==Zo){if(!Vq(f))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+
typeof f+" given: "+f);f instanceof Zw||(f=cx(f));f=$w(f)}else{if(/^on/i.test(h))throw Error('Attribute "'+h+'" requires goog.string.Const value, "'+f+'" given.');if(h.toLowerCase()in vx)if(f instanceof Kw)f=Lw(f);else if(f instanceof Sw)f=Tw(f);else if(v(f))f=Ww(f).Jf();else throw Error('Attribute "'+h+'" on tag "'+g+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+f+'" given.');}f.xi&&(f=f.Jf());C(v(f)||Oq(f),"String or number value expected, got "+typeof f+" with value: "+
f);h=h+'="'+xr(String(f))+'"';c+=" "+h}}return c},Ax=function(a,b,c){var e={},f;for(f in a)C(f.toLowerCase()==f,id),e[f]=a[f];for(f in b)C(f.toLowerCase()==f,id),e[f]=b[f];for(f in c){var g=f.toLowerCase();if(g in a)throw Error(cc+g+'" attribute, got "'+f+ra+c[f]+'"');g in b&&delete e[g];e[f]=c[f]}return e};qx("<!DOCTYPE html>",0);var Fx=qx("",0),Gx=qx("<br>",0);var Hx=function(a,b,c){Xr(uw(a),Fk);C(!hr(uw(a)),Gk);return qx(b,c||null)},Ix=function(a,b){Xr(uw(a),Fk);C(!hr(uw(a)),Gk);return Pw(b)};var Jx=function(a){this.Di=a||"";qw||(qw=new pw);this.PCa=qw};q=Jx.prototype;q.Cca=!0;q.VBa=!0;q.mCa=!0;q.dCa=!0;q.K7=!1;q.pCa=!1;
var Lx=function(a){a=new Date(a.Y8);return Kx(a.getFullYear()-2E3)+Kx(a.getMonth()+1)+Kx(a.getDate())+" "+Kx(a.getHours())+":"+Kx(a.getMinutes())+":"+Kx(a.getSeconds())+"."+Kx(Math.floor(a.getMilliseconds()/10))},Kx=function(a){return 10>a?"0"+a:String(a)},Mx=function(a,b){a=(a.Y8-b)/1E3;b=a.toFixed(3);var c=0;if(1>a)c=2;else for(;100>a;)c++,a*=10;for(;0<c--;)b=" "+b;return b},Nx=function(a){Jx.call(this,a)};B(Nx,Jx);
var Ox=function(a,b){try{var c=Pq("window.location.href");if(v(a))var e={message:a,name:"Unknown error",lineNumber:ld,fileName:c,stack:ld};else{var f=!1;try{var g=a.lineNumber||a.line||ld}catch(ea){g=ld,f=!0}try{var h=a.fileName||a.filename||a.sourceURL||t.$googDebugFname||c}catch(ea){h=ld,f=!0}e=!f&&a.lineNumber&&a.fileName&&a.stack&&a.message&&a.name?a:{message:a.message||ld,name:a.name||"UnknownError",lineNumber:g,fileName:h,stack:a.stack||ld}}var l=e.fileName;null!=l||(l="");if(/^https?:\/\//i.test(l)){var p=
Ww(l),r=vw("view-source scheme plus HTTP/HTTPS URL"),z="view-source:"+Tw(p);Xr(uw(r),Fk);C(!hr(uw(r)),Gk);var O=Vw(z)}else O=Vw(uw(vw("sanitizedviewsrc")));return Cx(tx("Message: "+e.message+"\nUrl: "),zx("a",{href:O,target:"_new"},e.fileName),tx("\nLine: "+e.lineNumber+"\n\nBrowser stack:\n"+e.stack+"-> [end]\n\nJS stack traversal:\n"+cu(b)+"-> "))}catch(ea){return tx("Exception trying to expose exception! You win, we lose. "+ea)}};Nx.prototype.K7=!0;
Nx.prototype.Fha=function(a){return a?this.rX(a).Jf():""};
Nx.prototype.rX=function(a){if(!a)return Fx;switch(a.Nf.value){case lu.value:var b="dbg-sh";break;case mu.value:b="dbg-sev";break;case nu.value:b="dbg-w";break;case ou.value:b="dbg-i";break;default:b="dbg-f"}var c=[];c.push(this.Di," ");this.VBa&&c.push("[",Lx(a),"] ");this.mCa&&c.push("[",Mx(a,this.PCa.get()),"s] ");this.dCa&&c.push("[",a.B1,"] ");this.pCa&&c.push("[",a.Nf.name,"] ");c=tx(c.join(""));var e=Fx;this.K7&&a.ez&&(e=Cx(Gx,Ox(a.ez)));a=tx(a.getMessage());b=zx(Po,{"class":b},Cx(a,e));return this.Cca?
Cx(c,b,Gx):Cx(c,b)};var Px=function(a){return Vq(a)?a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a):void 0===a?"undefined":null===a?Pk:typeof a},Qx=function(a){return(a=a&&a.ownerDocument)&&(a.defaultView||a.parentWindow)||t};var Rx=!E||Zt(9),Sx=!Ft&&!E||E&&Zt(9)||Ft&&Xt("1.9.1"),Tx=E&&!Xt("9");var Ux={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Vx=function(a,b){if(Ux[a.tagName.toUpperCase()])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+a.tagName+".");a.innerHTML=px(b)},Wx=function(a,b){var c=Qx(a);"undefined"!=typeof c.HTMLAnchorElement&&"undefined"!=typeof c.Location&&"undefined"!=typeof c.Element&&C(a&&(a instanceof c.HTMLAnchorElement||!(a instanceof c.Location||a instanceof c.Element)),"Argument is not a HTMLAnchorElement (or a non-Element mock); got: %s",
Px(a));b=b instanceof Sw?b:Xw(b);a.href=Tw(b)},Xx=function(a,b){var c=Qx(a);"undefined"!=typeof c.HTMLIFrameElement&&"undefined"!=typeof c.Element&&C(a&&(a instanceof c.HTMLIFrameElement||!(a instanceof c.Element)),"Argument is not a HTMLIFrameElement (or a non-Element mock); got: %s",Px(a));a.src=Lw(b)},Yx=function(a,b){var c=Qx(a);"undefined"!=typeof c.HTMLScriptElement&&"undefined"!=typeof c.Element&&C(a&&(a instanceof c.HTMLScriptElement||!(a instanceof c.Element)),"Argument is not a HTMLScriptElement (or a non-Element mock); got: %s",
Px(a));a.src=Lw(b)},Zx=function(a,b){var c=Qx(a);"undefined"!=typeof c.Location&&"undefined"!=typeof c.Element&&C(a&&(a instanceof c.Location||!(a instanceof c.Element)),"Argument is not a Location (or a non-Element mock); got: %s",Px(a));b=b instanceof Sw?b:Xw(b);a.href=Tw(b)};var $x=function(a,b){this.x=u(a)?a:0;this.y=u(b)?b:0};$x.prototype.clone=function(){return new $x(this.x,this.y)};$x.prototype.toString=function(){return"("+this.x+", "+this.y+")"};$x.prototype.ad=function(a){return a instanceof $x&&ay(this,a)};var ay=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1},by=function(a,b){return new $x(a.x-b.x,a.y-b.y)};q=$x.prototype;q.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};
q.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};q.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};q.translate=function(a,b){a instanceof $x?(this.x+=a.x,this.y+=a.y):(this.x+=Number(a),Oq(b)&&(this.y+=b));return this};q.scale=function(a,b){b=Oq(b)?b:a;this.x*=a;this.y*=b;return this};var cy=function(a,b){this.width=a;this.height=b},dy=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1};q=cy.prototype;q.clone=function(){return new cy(this.width,this.height)};q.toString=function(){return"("+this.width+" x "+this.height+")"};q.Lca=function(){return this.width*this.height};q.aspectRatio=function(){return this.width/this.height};q.Sb=function(){return!this.Lca()};q.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};
q.mz=function(a){return this.width<=a.width&&this.height<=a.height};q.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};q.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};q.scale=function(a,b){b=Oq(b)?b:a;this.width*=a;this.height*=b;return this};q.bw=function(a){a=this.aspectRatio()>a.aspectRatio()?a.width/this.width:a.height/this.height;return this.scale(a)};var N=function(a){return a?new ey(fy(a)):Sr||(Sr=new ey)},P=function(a){return v(a)?document.getElementById(a):a},gy=function(a,b){return(b||document).getElementsByTagName(String(a))},iy=function(a,b,c){return hy(document,a,b,c)},jy=function(a,b){var c=b||document;return c.querySelectorAll&&c.querySelector?c.querySelectorAll("."+a):hy(document,"*",a,b)},ky=function(a,b){var c=b||document;c.getElementsByClassName?a=c.getElementsByClassName(a)[0]:(c=b||document,a=c.querySelectorAll&&c.querySelector&&
a?c.querySelector(""+(a?"."+a:"")):hy(document,"*",a,b)[0]||null);return a||null},hy=function(a,b,c,e){a=e||a;b=b&&"*"!=b?String(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==Rh&&qs(b.split(/\s+/),
c)&&(e[f++]=h);e.length=f;return e}return a},my=function(a,b){Qs(b,function(b,e){b&&b.xi&&(b=b.Jf());e==Zo?a.style.cssText=b:"class"==e?a.className=b:"for"==e?a.htmlFor=b:ly.hasOwnProperty(e)?a.setAttribute(ly[e],b):er(e,"aria-")||er(e,"data-")?a.setAttribute(e,b):a[e]=b})},ly={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:Gi,maxlength:"maxLength",nonce:"nonce",role:Ym,rowspan:"rowSpan",type:zp,usemap:"useMap",valign:"vAlign",width:rq},oy=function(a){a=
(a||window).document;a=ny(a)?a.documentElement:a.body;return new cy(a.clientWidth,a.clientHeight)},qy=function(a){var b=py(a);a=a.parentWindow||a.defaultView;return E&&Xt("10")&&a.pageYOffset!=b.scrollTop?new $x(b.scrollLeft,b.scrollTop):new $x(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},py=function(a){return a.scrollingElement?a.scrollingElement:!Gt&&ny(a)?a.documentElement:a.body||a.documentElement},ry=function(a){return a?a.parentWindow||a.defaultView:window},ty=function(a,b,c){return sy(document,
arguments)},sy=function(a,b){var c=String(b[0]),e=b[1];if(!Rx&&e&&(e.name||e.type)){c=["<",c];e.name&&c.push(' name="',xr(e.name),'"');if(e.type){c.push(' type="',xr(e.type),'"');var f={};ht(f,e);delete f.type;e=f}c.push(">");c=c.join("")}c=a.createElement(c);e&&(v(e)?c.className=e:x(e)?c.className=e.join(" "):my(c,e));2<b.length&&uy(a,c,b,2);return c},uy=function(a,b,c,e){function f(c){c&&b.appendChild(v(c)?a.createTextNode(c):c)}for(;e<c.length;e++){var g=c[e];!Tq(g)||Vq(g)&&0<g.nodeType?f(g):D(vy(g)?
ys(g):g,f)}},wy=function(a,b){return a.createElement(String(b))},xy=function(a,b){var c=wy(a,d);E?(Vx(c,Cx(Gx,b)),c.removeChild(c.firstChild)):Vx(c,b);if(1==c.childNodes.length)c=c.removeChild(c.firstChild);else{for(a=a.createDocumentFragment();c.firstChild;)a.appendChild(c.firstChild);c=a}return c},ny=function(a){return"CSS1Compat"==a.compatMode},yy=function(a,b){a.appendChild(b)},zy=function(a,b){uy(fy(a),a,arguments,1)},Ay=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},By=function(a,b){b.parentNode&&
b.parentNode.insertBefore(a,b)},Cy=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)},Dy=function(a,b,c){a.insertBefore(b,a.childNodes[c]||null)},Ey=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Fy=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)},Gy=function(a){return Sx&&void 0!=a.children?a.children:gs(a.childNodes,function(a){return 1==a.nodeType})},Iy=function(a){return u(a.firstElementChild)?a.firstElementChild:Hy(a.firstChild,!0)},Jy=function(a){return u(a.nextElementSibling)?
a.nextElementSibling:Hy(a.nextSibling,!0)},Hy=function(a,b){for(;a&&1!=a.nodeType;)a=b?a.nextSibling:a.previousSibling;return a},Ky=function(a){return Vq(a)&&1==a.nodeType},Ly=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},fy=function(a){C(a,"Node cannot be null or undefined.");return 9==a.nodeType?a:a.ownerDocument||
a.document},My=function(a){return a.contentDocument||a.contentWindow.document},Ny=function(a,b){C(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=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else{Ay(a);var c=fy(a);a.appendChild(c.createTextNode(String(b)))}},Oy={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Py={IMG:" ",
BR:"\n"},Sy=function(a){return Qy(a)&&Ry(a)},Ty=function(a,b){b?a.tabIndex=0:(a.tabIndex=-1,a.removeAttribute("tabIndex"))},Qy=function(a){return E&&!Xt("9")?(a=a.getAttributeNode("tabindex"),null!=a&&a.specified):a.hasAttribute("tabindex")},Ry=function(a){a=a.tabIndex;return Oq(a)&&0<=a&&32768>a},Vy=function(a){if(Tx&&null!==a&&"innerText"in a)a=a.innerText.replace(/(\r\n|\r|\n)/g,"\n");else{var b=[];Uy(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");
Tx||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a},Wy=function(a){var b=[];Uy(a,b,!1);return b.join("")},Uy=function(a,b,c){if(!(a.nodeName in Oy))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 Py)b.push(Py[a.nodeName]);else for(a=a.firstChild;a;)Uy(a,b,c),a=a.nextSibling},vy=function(a){if(a&&typeof a.length==Rk){if(Vq(a))return typeof a.item==Rh||typeof a.item==Yo;if(Uq(a))return typeof a.item==Rh}return!1},
Yy=function(a,b,c,e){if(!b&&!c)return null;var f=b?String(b).toUpperCase():null;return Xy(a,function(a){return(!f||a.nodeName==f)&&(!c||v(a.className)&&qs(a.className.split(/\s+/),c))},!0,e)},Xy=function(a,b,c,e){a&&!c&&(a=a.parentNode);for(c=0;a&&(null==e||c<=e);){C("parentNode"!=a.name);if(b(a))return a;a=a.parentNode;c++}return null},Zy=function(a){try{return a&&a.activeElement}catch(b){}return null},ey=function(a){this.Qb=a||t.document||document};q=ey.prototype;q.j=N;
q.V5=function(a){this.Qb=a};q.K=function(){return this.Qb};q.b=function(a){return v(a)?this.Qb.getElementById(a):a};q.getElementsByTagName=function(a,b){return(b||this.Qb).getElementsByTagName(String(a))};q.ri=function(a,b,c){return hy(this.Qb,a,b,c)};q.Ym=function(a,b){return jy(a,b||this.Qb)};q.Fc=function(a,b){return ky(a,b||this.Qb)};q.ze=function(a,b){b=ky(a,b||this.Qb);return C(b,"No element found with className: "+a)};q.uR=ey.prototype.ri;q.setProperties=my;q.ru=function(a){return oy(a||this.getWindow())};
q.g=function(a,b,c){return sy(this.Qb,arguments)};q.createElement=function(a){return wy(this.Qb,a)};q.createTextNode=function(a){return this.Qb.createTextNode(String(a))};q.$U=function(a,b,c){var e=this.Qb;c=!!c;for(var f=wy(e,Fd),g=f.appendChild(wy(e,Gd)),h=0;h<a;h++){for(var l=wy(e,Jd),p=0;p<b;p++){var r=wy(e,Hd);c&&Ny(r,"\u00a0");l.appendChild(r)}g.appendChild(l)}return f};q.Nh=function(a){return xy(this.Qb,a)};q.Uu=function(){return ny(this.Qb)};
q.getWindow=function(){var a=this.Qb;return a.parentWindow||a.defaultView};q.OX=function(){return py(this.Qb)};q.Df=function(){return qy(this.Qb)};q.St=function(a){return Zy(a||this.Qb)};q.appendChild=yy;q.append=zy;q.canHaveChildren=function(a){if(1!=a.nodeType)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case Vc:case Xc:case Uc:case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case rd:case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0};
q.Ke=Ay;q.Tu=By;q.kl=Cy;q.WK=Dy;q.removeNode=Ey;q.Pc=Gy;q.Zm=Iy;q.Uja=Jy;q.Wu=Ky;q.contains=Ly;q.uY=fy;q.bg=Ny;q.Uj=function(a){var b;(b="A"==a.tagName||a.tagName==Xc||a.tagName==Id||a.tagName==sd||a.tagName==Nb?!a.disabled&&(!Qy(a)||Ry(a)):Sy(a))&&E?(a=!Uq(a.getBoundingClientRect)||E&&null==a.parentElement?{height:a.offsetHeight,width:a.offsetWidth}:a.getBoundingClientRect(),a=null!=a&&0<a.height&&0<a.width):a=b;return a};q.aia=Yy;var $y=function(a,b){this.sd=this.px=this.gf="";this.Yq=null;this.Qt=this.Og="";this.Dg=this.fra=!1;var c;a instanceof $y?(this.Dg=u(b)?b:a.Dg,this.Cr(a.gf),this.EP(a.px),this.ur(a.sd),this.iP(a.Yq),this.$g(a.getPath()),this.Qh(a.zh().clone()),this.wr(a.Qt)):a&&(c=String(a).match(Zv))?(this.Dg=!!b,this.Cr(c[1]||"",!0),this.EP(c[2]||"",!0),this.ur(c[3]||"",!0),this.iP(c[4]),this.$g(c[5]||"",!0),this.Qh(c[6]||"",!0),this.wr(c[7]||"",!0)):(this.Dg=!!b,this.Sg=new az(null,null,this.Dg))};q=$y.prototype;
q.toString=function(){var a=[],b=this.gf;b&&a.push(bz(b,cz,!0),":");var c=this.sd;if(c||b==Ah)a.push("//"),(b=this.px)&&a.push(bz(b,cz,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.Yq,null!=c&&a.push(":",String(c));if(c=this.getPath())this.iK()&&"/"!=c.charAt(0)&&a.push("/"),a.push(bz(c,"/"==c.charAt(0)?dz:ez,!0));(c=this.SX())&&a.push("?",c);(c=this.Qt)&&a.push("#",bz(c,fz));return a.join("")};
q.resolve=function(a){var b=this.clone(),c=a.cpa();c?b.Cr(a.gf):c=a.gpa();c?b.EP(a.px):c=a.iK();c?b.ur(a.sd):c=a.apa();var e=a.getPath();if(c)b.iP(a.Yq);else if(c=a.ZZ()){if("/"!=e.charAt(0))if(this.iK()&&!this.ZZ())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(yr(f,"./")||yr(f,"/.")){e=er(f,"/");f=f.split("/");for(var g=[],h=0;h<f.length;){var l=f[h++];"."==l?e&&h==f.length&&g.push(""):".."==l?((1<g.length||1==g.length&&
""!=g[0])&&g.pop(),e&&h==f.length&&g.push("")):(g.push(l),e=!0)}e=g.join("/")}else e=f}c?b.$g(e):c=a.bpa();c?b.Qh(a.zh().clone()):c=a.Woa();c&&b.wr(a.Qt);return b};q.clone=function(){return new $y(this)};q.Cr=function(a,b){this.ki();if(this.gf=b?gz(a,!0):a)this.gf=this.gf.replace(/:$/,"");return this};q.cpa=function(){return!!this.gf};q.EP=function(a,b){this.ki();this.px=b?gz(a):a;return this};q.gpa=function(){return!!this.px};q.ur=function(a,b){this.ki();this.sd=b?gz(a,!0):a;return this};q.iK=function(){return!!this.sd};
q.iP=function(a){this.ki();if(a){a=Number(a);if(isNaN(a)||0>a)throw Error("Bad port number "+a);this.Yq=a}else this.Yq=null;return this};q.apa=function(){return null!=this.Yq};q.getPath=function(){return this.Og};q.$g=function(a,b){this.ki();this.Og=b?gz(a,!0):a;return this};q.ZZ=function(){return!!this.Og};q.bpa=function(){return""!==this.Sg.toString()};q.Qh=function(a,b){this.ki();a instanceof az?(this.Sg=a,this.Sg.RO(this.Dg)):(b||(a=bz(a,hz)),this.Sg=new az(a,null,this.Dg));return this};
q.setQuery=function(a,b){return this.Qh(a,b)};q.SX=function(){return this.Sg.toString()};q.zh=function(){return this.Sg};q.getQuery=function(){return this.SX()};q.T=function(a,b){this.ki();this.Sg.set(a,b);return this};q.Hf=function(a){return this.Sg.nb(a)};q.mb=function(a){return this.Sg.get(a)};q.wr=function(a,b){this.ki();this.Qt=b?gz(a):a;return this};q.Woa=function(){return!!this.Qt};q.D1=function(){this.ki();this.T("zx",Jr());return this};
q.removeParameter=function(a){this.ki();this.Sg.remove(a);return this};q.ki=function(){if(this.fra)throw Error("Tried to modify a read-only Uri");};q.RO=function(a){this.Dg=a;this.Sg&&this.Sg.RO(a);return this};
var iz=function(a,b){return a instanceof $y?a.clone():new $y(a,b)},gz=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},bz=function(a,b,c){return v(a)?(a=encodeURI(a).replace(b,jz),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},jz=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},cz=/[#\/\?@]/g,ez=/[\#\?:]/g,dz=/[\#\?]/g,hz=/[\#\?@]/g,fz=/#/g,az=function(a,b,c){this.ub=this.lc=null;this.Mk=a||null;this.Dg=!!c};
az.prototype.li=function(){if(!this.lc&&(this.lc=new L,this.ub=0,this.Mk)){var a=this;bw(this.Mk,function(b,c){a.add(or(b),c)})}};var kz=function(a,b,c){b=Hv(a);if("undefined"==typeof b)throw Error("Keys are undefined");c=new az(null,null,c);a=Gv(a);for(var e=0;e<b.length;e++){var f=b[e],g=a[e];x(g)?c.s7(f,g):c.add(f,g)}return c};q=az.prototype;q.sa=function(){this.li();return this.ub};
q.add=function(a,b){this.li();this.xq();a=this.Vp(a);var c=this.lc.get(a);c||this.lc.set(a,c=[]);c.push(b);this.ub=Wr(this.ub)+1;return this};q.remove=function(a){this.li();a=this.Vp(a);return this.lc.Xb(a)?(this.xq(),this.ub=Wr(this.ub)-this.lc.get(a).length,this.lc.remove(a)):!1};q.clear=function(){this.xq();this.lc=null;this.ub=0};q.Sb=function(){this.li();return 0==this.ub};q.Xb=function(a){this.li();a=this.Vp(a);return this.lc.Xb(a)};q.nj=function(a){var b=this.nb();return qs(b,a)};
q.forEach=function(a,b){this.li();this.lc.forEach(function(c,e){D(c,function(c){a.call(b,c,e,this)},this)},this)};q.bb=function(){this.li();for(var a=this.lc.nb(),b=this.lc.bb(),c=[],e=0;e<b.length;e++)for(var f=a[e],g=0;g<f.length;g++)c.push(b[e]);return c};q.nb=function(a){this.li();var b=[];if(v(a))this.Xb(a)&&(b=xs(b,this.lc.get(this.Vp(a))));else{a=this.lc.nb();for(var c=0;c<a.length;c++)b=xs(b,a[c])}return b};
q.set=function(a,b){this.li();this.xq();a=this.Vp(a);this.Xb(a)&&(this.ub=Wr(this.ub)-this.lc.get(a).length);this.lc.set(a,[b]);this.ub=Wr(this.ub)+1;return this};q.get=function(a,b){a=a?this.nb(a):[];return 0<a.length?String(a[0]):b};q.s7=function(a,b){this.remove(a);0<b.length&&(this.xq(),this.lc.set(this.Vp(a),ys(b)),this.ub=Wr(this.ub)+b.length)};
q.toString=function(){if(this.Mk)return this.Mk;if(!this.lc)return"";for(var a=[],b=this.lc.bb(),c=0;c<b.length;c++){var e=b[c],f=encodeURIComponent(String(e));e=this.nb(e);for(var g=0;g<e.length;g++){var h=f;""!==e[g]&&(h+="="+encodeURIComponent(String(e[g])));a.push(h)}}return this.Mk=a.join("&")};q.xq=function(){this.Mk=null};q.clone=function(){var a=new az;a.Mk=this.Mk;this.lc&&(a.lc=this.lc.clone(),a.ub=this.ub);return a};q.Vp=function(a){a=String(a);this.Dg&&(a=a.toLowerCase());return a};
q.RO=function(a){a&&!this.Dg&&(this.li(),this.xq(),this.lc.forEach(function(a,c){var b=c.toLowerCase();c!=b&&(this.remove(c),this.s7(b,a))},this));this.Dg=a};q.extend=function(a){for(var b=0;b<arguments.length;b++)Iv(arguments[b],function(a,b){this.add(b,a)},this)};var nz=function(){J.call(this);this.Ab="closure_frame"+lz++;this.GK=[];mz[this.Ab]=this},oz;B(nz,J);var mz={},lz=0,pz=function(a,b){var c=N(a);Iv(b,function(b,f){x(b)||(b=[b]);D(b,function(b){b=c.g(Xc,{type:Hi,name:f,value:b});a.appendChild(b)})})};q=nz.prototype;q.F=vv("goog.net.IframeIo");q.Yb=null;q.ja=null;q.un=null;q.eta=0;q.Wa=!1;q.Ps=!1;q.pE=!1;q.df=null;q.ev=null;q.fc=0;q.rn=null;q.Lu=!1;
q.send=function(a,b,c,e){if(this.Wa)throw Error(ce);this.df=a=new $y(a);b=b?b.toUpperCase():"GET";c&&a.D1();K(this.F,"Sending iframe request: "+a+" ["+b+"]");oz||(oz=ty("FORM"),oz.acceptCharset="utf-8",c=oz.style,c.position=ke,c.visibility=Hi,c.top=c.left="-10px",c.width=c.height="10px",c.overflow=Hi,document.body.appendChild(oz));this.Yb=oz;"GET"==b&&pz(this.Yb,a.zh());e&&pz(this.Yb,e);this.Yb.action=a.toString();this.Yb.method=b;this.r5();this.bU()};
q.s5=function(a,b,c){if(this.Wa)throw Error(ce);b=new $y(b||a.action);c&&b.D1();K(this.F,"Sending iframe request from form: "+b);this.df=b;this.Yb=a;this.Yb.action=b.toString();this.r5()};q.abort=function(a){if(this.Wa){K(this.F,"Request aborted");var b=this.bA();C(b);dv(b);this.pE=this.Wa=this.Ps=!1;this.fc=a||7;this.dispatchEvent(ge);this.hM()}};
q.o=function(){yv(this.F,"Disposing iframeIo instance");this.Wa&&(yv(this.F,"Aborting active request"),this.abort());nz.c.o.call(this);this.ja&&this.a5();this.aW();delete this.dI;this.df=this.ev=this.Yb=null;this.fc=0;delete mz[this.Ab]};q.RA=function(){return this.Ps};q.vL=function(){return this.pE};q.Rb=function(){return this.Wa};q.ae=function(){return this.ev};q.Ba=function(){return qv(this.ev)};q.Sz=function(){return this.df};q.Rz=function(){return zv(this.fc)};q.nza=function(a){this.dI=a};
q.r5=function(){this.Wa=!0;this.Ps=!1;this.fc=0;this.WG();if(E&&!Xt("11")){this.Yb.target=this.un||"";this.JS();this.Lu||I(this.ja,Om,this.RM,!1,this);try{this.fI=!1,this.Yb.submit()}catch(O){this.Lu||bv(this.ja,Om,this.RM,!1,this),this.be(1)}}else{yv(this.F,"Setting up iframes and cloning form");this.JS();var a=this.un+"_inner",b=My(this.ja);if(document.baseURI){var c=xr(a);c=Hx(vw("Short HTML snippet, input escaped, safe URL, for performance"),'<head><base href="'+xr(document.baseURI)+'"></head><body><iframe id="'+
c+'" name="'+c+ya)}else c=xr(a),c=Hx(vw("Short HTML snippet, input escaped, for performance"),'<body><iframe id="'+c+'" name="'+c+ya);Ct&&!Gt?Vx(b.documentElement,c):b.write(px(c));this.Lu||I(b.getElementById(a),Wj,this.jC,!1,this);var e=gy(Id,C(this.Yb));c=0;for(var f=e.length;c<f;c++){var g=e[c].value;Wy(e[c])!=g&&(Ny(e[c],g),e[c].value=g)}e=b.importNode(this.Yb,!0);e.target=a;e.action=this.Yb.action;b.body.appendChild(e);g=gy(sd,C(this.Yb));var h=gy(sd,e);c=0;for(f=g.length;c<f;c++)for(var l=gy(nd,
g[c]),p=gy(nd,h[c]),r=0,z=l.length;r<z;r++)p[r].selected=l[r].selected;g=gy(Xc,C(this.Yb));h=gy(Xc,e);c=0;for(f=g.length;c<f;c++)if(g[c].type==Ah&&g[c].value!=h[c].value){yv(this.F,"File input value not cloned properly.  Will submit using original form.");this.Yb.target=a;e=this.Yb;break}yv(this.F,"Submitting form");try{this.fI=!1,e.submit(),b.close(),Ft&&M(this.W8,250,this)}catch(O){c=this.F,f=Ox(O,void 0),f=px(f),wv(c,"Error when submitting form: "+f),this.Lu||bv(b.getElementById(a),Wj,this.jC,
!1,this),b.close(),this.be(2)}}};q.RM=function(){if(this.ja.readyState==Pf){bv(this.ja,Om,this.RM,!1,this);try{var a=My(this.ja);if(E&&a.location==he&&!navigator.onLine){this.be(9);return}}catch(b){this.be(1);return}this.vZ(a)}};q.jC=function(){if(!Ct||Gt||this.aJ().location!=he){bv(this.bA(),Wj,this.jC,!1,this);try{this.vZ(this.aJ())}catch(a){this.be(1)}}};
q.vZ=function(a){yv(this.F,"Iframe loaded");this.Ps=!0;this.Wa=!1;try{var b=a.body;this.ev=b.textContent||b.innerText}catch(f){var c=1}var e;c||typeof this.dI!=Rh||(e=this.dI(a))&&(c=4);(a=this.F)&&a.log(ru,"Last content: "+this.ev,void 0);(a=this.F)&&a.log(ru,"Last uri: "+this.df,void 0);c?(yv(this.F,"Load event occurred but failed"),this.be(c,e)):(yv(this.F,"Load succeeded"),this.pE=!0,this.fc=0,this.dispatchEvent(Pf),this.dispatchEvent(ap),this.hM())};
q.be=function(a,b){this.fI||(this.Wa=this.pE=!1,this.Ps=!0,this.fc=a,4==a&&C(u(b)),this.dispatchEvent(Pf),this.dispatchEvent(ph),this.hM(),this.fI=!0)};q.hM=function(){K(this.F,"Ready for new requests");this.a5();this.aW();this.dispatchEvent(Nm)};
q.WG=function(){yv(this.F,"Creating iframe");this.un=this.Ab+"_"+(this.eta++).toString(36);this.ja=N(this.Yb).g(Uc,{name:this.un,id:this.un});E&&7>Number(Vt)&&(this.ja.src=kj);var a=this.ja.style;a.visibility=Hi;a.width=a.height="10px";a.display=Nk;Gt?a.marginTop=a.marginLeft="-10px":(a.position=ke,a.top=a.left="-10px")};q.JS=function(){N(this.Yb).K().body.appendChild(this.ja)};
q.a5=function(){var a=this.ja;a&&(a.onreadystatechange=null,a.onload=null,a.onerror=null,this.GK.push(a));this.rn&&(Yv(this.rn),this.rn=null);Ft||Ct&&!Gt?this.rn=M(this.bW,2E3,this):this.bW();this.un=this.ja=null};q.bW=function(){this.rn&&(Yv(this.rn),this.rn=null);for(;0!=this.GK.length;){var a=this.GK.pop();K(this.F,"Disposing iframe");Ey(a)}};q.bU=function(){this.Yb&&this.Yb==oz&&Ay(this.Yb)};q.aW=function(){this.bU();this.Yb=null};q.aJ=function(){return this.ja?My(this.bA()):null};
q.bA=function(){return this.ja?E&&!Xt("11")?this.ja:My(this.ja).getElementById(this.un+"_inner"):null};q.W8=function(){if(this.Wa){var a=this.aJ();a&&!At(a,"documentUri")?(this.Lu||bv(this.bA(),Wj,this.jC,!1,this),navigator.onLine?(xv(this.F,"Silent Firefox error detected"),this.be(3)):(xv(this.F,"Firefox is offline so report offline error instead of silent error"),this.be(9))):M(this.W8,250,this)}};var qz=function(a,b,c){F.call(this);this.Pf=a;this.Fe=b||0;this.Ga=c;this.Mc=y(this.Cp,this)};B(qz,F);q=qz.prototype;q.ma=0;q.o=function(){qz.c.o.call(this);this.stop();delete this.Pf;delete this.Ga};q.start=function(a){this.stop();this.ma=M(this.Mc,u(a)?a:this.Fe)};q.stop=function(){this.Rb()&&Yv(this.ma);this.ma=0};q.It=function(){this.stop();this.Cp()};q.Rb=function(){return 0!=this.ma};q.Cp=function(){this.ma=0;this.Pf&&this.Pf.call(this.Ga)};var rz={},sz=null,tz=function(a){a=Yq(a);delete rz[a];at(rz)&&sz&&sz.stop()},vz=function(){sz||(sz=new qz(function(){uz(A())},20));var a=sz;a.Rb()||a.start()},uz=function(a){Qs(rz,function(b){b.rta(a)});at(rz)||vz()};var wz=function(){J.call(this);this.oa=0;this.endTime=this.startTime=null};B(wz,J);q=wz.prototype;q.b7=function(){this.oa=1};q.hBa=function(){this.oa=-1};q.xP=function(){this.oa=0};q.$u=function(){return 1==this.oa};q.nl=function(){return-1==this.oa};q.L0=function(){return 0==this.oa};q.Mg=function(){this.hi("begin")};q.dk=function(){this.hi(nh)};q.z2=function(){this.hi("finish")};q.cua=function(){this.hi("pause")};q.L2=function(){this.hi("play")};q.fua=function(){this.hi("resume")};q.R2=function(){this.hi("stop")};
q.hi=function(a){this.dispatchEvent(a)};var xz=function(a,b,c,e){wz.call(this);if(!x(a)||!x(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.Sr=a;this.yga=b;this.duration=c;this.dS=e;this.coords=[];this.km=!1;this.Rg=0;this.JL=null};B(xz,wz);q=xz.prototype;q.iJ=function(){return this.duration};
q.play=function(a){if(a||this.L0())this.Rg=0,this.coords=this.Sr;else if(this.$u())return!1;tz(this);this.startTime=a=A();this.nl()&&(this.startTime-=this.duration*this.Rg);this.endTime=this.startTime+this.duration;this.JL=this.startTime;this.Rg||this.Mg();this.L2();this.nl()&&this.fua();this.b7();var b=Yq(this);b in rz||(rz[b]=this);vz();this.rV(a);return!0};q.stop=function(a){tz(this);this.xP();a&&(this.Rg=1);this.E9(this.Rg);this.R2();this.dk()};
q.pause=function(){this.$u()&&(tz(this),this.hBa(),this.cua())};q.o=function(){this.L0()||this.stop(!1);this.xta();xz.c.o.call(this)};q.LV=function(){this.dispose()};q.rta=function(a){this.rV(a)};
q.rV=function(a){Wr(this.startTime);Wr(this.endTime);Wr(this.JL);a<this.startTime&&(this.endTime=a+this.endTime-this.startTime,this.startTime=a);this.Rg=(a-this.startTime)/(this.endTime-this.startTime);1<this.Rg&&(this.Rg=1);this.JL=a;this.E9(this.Rg);1==this.Rg?(this.xP(),tz(this),this.z2(),this.dk()):this.$u()&&this.Bv()};q.E9=function(a){Uq(this.dS)&&(a=this.dS(a));this.coords=Array(this.Sr.length);for(var b=0;b<this.Sr.length;b++)this.coords[b]=(this.yga[b]-this.Sr[b])*a+this.Sr[b]};q.Bv=function(){this.hi(ye)};
q.xta=function(){this.hi("destroy")};q.hi=function(a){this.dispatchEvent(new yz(a,this))};var yz=function(a,b){H.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.Rg=b.Rg;this.state=b.oa};B(yz,H);var zz={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 Ez=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Az.test(c))return b.Gu=Bz(c),b.type="hex",b;c=Cz(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=Dz(e.toString(16));a=Dz(a.toString(16));c=Dz(c.toString(16));b.Gu="#"+e+a+c;b.type="rgb";return b}if(zz&&(c=zz[a.toLowerCase()]))return b.Gu=c,b.type="named",b;throw Error(a+" is not a valid color string");
},Fz=/#(.)(.)(.)/,Bz=function(a){if(!Az.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Fz,"#$1$1$2$2$3$3"));return a.toLowerCase()},Gz=function(a){a=Bz(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]},Az=/^#(?:[0-9a-f]{3}){1,2}$/i,Hz=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Cz=function(a){var b=a.match(Hz);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[]},Dz=function(a){return 1==a.length?"0"+a:a};var Iz=function(a,b,c,e){this.top=a;this.right=b;this.bottom=c;this.left=e};q=Iz.prototype;q.Ag=function(){return this.right-this.left};q.ti=function(){return this.bottom-this.top};q.clone=function(){return new Iz(this.top,this.right,this.bottom,this.left)};q.toString=function(){return"("+this.top+"t, "+this.right+"r, "+this.bottom+"b, "+this.left+"l)"};
q.contains=function(a){return this&&a?a instanceof Iz?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};q.expand=function(a,b,c,e){Vq(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};
q.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};q.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};q.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};
q.translate=function(a,b){a instanceof $x?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(Wr(a),this.left+=a,this.right+=a,Oq(b)&&(this.top+=b,this.bottom+=b));return this};q.scale=function(a,b){b=Oq(b)?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var Jz=function(a,b,c,e){this.left=a;this.top=b;this.width=c;this.height=e};q=Jz.prototype;q.clone=function(){return new Jz(this.left,this.top,this.width,this.height)};q.ADa=function(){return new Iz(this.top,this.left+this.width,this.top+this.height,this.left)};q.toString=function(){return"("+this.left+", "+this.top+" - "+this.width+"w x "+this.height+"h)"};
q.ZK=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};q.contains=function(a){return a instanceof $x?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};
q.Ae=function(){return new cy(this.width,this.height)};q.Xka=function(){return new $x(this.left,this.top)};q.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};q.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};
q.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};q.translate=function(a,b){a instanceof $x?(this.left+=a.x,this.top+=a.y):(this.left+=Wr(a),Oq(b)&&(this.top+=b));return this};q.scale=function(a,b){b=Oq(b)?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var Q=function(a,b,c){if(v(b))(b=Kz(a,b))&&(a.style[b]=c);else for(var e in b){c=a;var f=b[e],g=Kz(c,e);g&&(c.style[g]=f)}},Lz={},Kz=function(a,b){var c=Lz[b];if(!c){var e=Mr(b);c=e;void 0===a.style[e]&&(e=(Gt?"Webkit":Ft?"Moz":E?"ms":Ct?"O":null)+Nr(e),void 0!==a.style[e]&&(c=e));Lz[b]=c}return c},Mz=function(a,b){var c=a.style[Mr(b)];return"undefined"!==typeof c?c:a.style[Kz(a,b)]||""},Nz=function(a,b){var c=fy(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,
null))?a[b]||a.getPropertyValue(b)||"":""},Oz=function(a,b){return Nz(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Pz=function(a){return Oz(a,Am)},Rz=function(a,b,c){if(b instanceof $x){var e=b.x;b=b.y}else e=b,b=c;a.style.left=Qz(e,!1);a.style.top=Qz(b,!1)},Sz=function(a){return new $x(a.offsetLeft,a.offsetTop)},Tz=function(a){a=a?fy(a):document;return!E||Zt(9)||N(a).Uu()?a.documentElement:a.body},Uz=function(a){try{var b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,
right:0,bottom:0}}E&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},Vz=function(a){if(E&&!Zt(8))return C(a&&"offsetParent"in a),a.offsetParent;var b=fy(a),c=Oz(a,Am),e=c==Hh||c==ke;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(11==a.nodeType&&a.host&&(a=a.host),c=Oz(a,Am),e=e&&"static"==c&&a!=b.documentElement&&a!=b.body,!e&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c==
Hh||c==ke||c==Tm))return a;return null},Xz=function(a){for(var b=new Iz(0,Infinity,Infinity,0),c=N(a),e=c.K().body,f=c.K().documentElement,g=c.OX();a=Vz(a);)if(!(E&&0==a.clientWidth||Gt&&0==a.clientHeight&&a==e)&&a!=e&&a!=f&&Oz(a,"overflow")!=lq){var h=Wz(a),l=new $x(a.clientLeft,a.clientTop);h.x+=l.x;h.y+=l.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.ru();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},$z=function(a,b,c){var e=b||py(document),f=Wz(a),g=Wz(e),h=Yz(e);e==py(document)?(b=f.x-e.scrollLeft,f=f.y-e.scrollTop,E&&!Zt(10)&&(b+=h.left,f+=h.top)):(b=f.x-g.x-h.left,f=f.y-g.y-h.top);h=Zz(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 $x(g,e)},aA=function(a,b,c){b=b||py(document);a=$z(a,b,c);b.scrollLeft=a.x;b.scrollTop=a.y},Wz=function(a){var b=fy(a);Zr(a,"Parameter is required");var c=new $x(0,0),e=Tz(b);if(a==e)return c;a=Uz(a);b=N(b).Df();c.x=a.left+b.x;c.y=a.top+b.y;return c},cA=function(a,b){a=bA(a);b=bA(b);return new $x(a.x-b.x,a.y-b.y)},dA=function(a){a=Uz(a);return new $x(a.left,a.top)},bA=function(a){C(a);if(1==a.nodeType)return dA(a);a=a.changedTouches?a.changedTouches[0]:
a;return new $x(a.clientX,a.clientY)},gA=function(a,b,c){if(b instanceof cy)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");eA(a,b);fA(a,c)},Qz=function(a,b){typeof a==Rk&&(a=(b?Math.round(a):a)+n);return a},fA=function(a,b){a.style.height=Qz(b,!0)},eA=function(a,b){a.style.width=Qz(b,!0)},hA=function(a){var b=Zz;if(Oz(a,"display")!=Nk)var c=b(a);else{c=a.style;var e=c.display,f=c.visibility,g=c.position;c.visibility=Hi;c.position=ke;c.display=cj;a=b(a);c.display=e;c.position=
g;c.visibility=f;c=a}return c},Zz=function(a){var b=a.offsetWidth,c=a.offsetHeight,e=Gt&&!b&&!c;return u(b)&&!e||!a.getBoundingClientRect?new cy(b,c):(a=Uz(a),new cy(a.right-a.left,a.bottom-a.top))},iA=function(a){var b=Wz(a);a=hA(a);return new Jz(b.x,b.y,a.width,a.height)},jA=function(a,b){C(a);a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=""===b?"":"alpha(opacity="+100*Number(b)+")")},R=function(a,b){a.style.display=b?"":Nk},kA=function(a){return a.style.display!=
Nk},lA=function(a,b){b=jx(b);E&&u(a.cssText)?a.cssText=b:a.innerHTML=b},mA=function(a){return an==Oz(a,"direction")},nA=Ft?"MozUserSelect":Gt||Dt?"WebkitUserSelect":null,oA=function(a,b,c){c=c?null:a.getElementsByTagName("*");if(nA){if(b=b?Nk:"",a.style&&(a.style[nA]=b),c){a=0;for(var e;e=c[a];a++)e.style&&(e.style[nA]=b)}}else if(E||Ct)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;e=c[a];a++)e.setAttribute("unselectable",b)},pA=function(a){return new cy(a.offsetWidth,a.offsetHeight)},
sA=function(a){var b=fy(a),c=E&&a.currentStyle;if(c&&N(b).Uu()&&c.width!=kf&&c.height!=kf&&!c.boxSizing)return b=qA(a,c.width,rq,"pixelWidth"),a=qA(a,c.height,Gi,"pixelHeight"),new cy(b,a);c=pA(a);b=rA(a);a=Yz(a);return new cy(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)},qA=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},tA=function(a,b){return(b=a.currentStyle?a.currentStyle[b]:null)?qA(a,b,Rj,"pixelLeft"):0},uA=function(a,b){if(E){var c=tA(a,b+"Left"),e=tA(a,b+"Right"),f=tA(a,b+"Top");a=tA(a,b+"Bottom");return new Iz(f,e,a,c)}c=Nz(a,b+"Left");e=Nz(a,b+"Right");f=Nz(a,b+"Top");a=Nz(a,b+"Bottom");return new Iz(parseFloat(f),parseFloat(e),parseFloat(a),parseFloat(c))},rA=function(a){return uA(a,"padding")},vA=function(a){return uA(a,"margin")},wA={thin:2,medium:4,thick:6},xA=function(a,b){if((a.currentStyle?
a.currentStyle[b+"Style"]:null)==Nk)return 0;b=a.currentStyle?a.currentStyle[b+"Width"]:null;return b in wA?wA[b]:qA(a,b,Rj,"pixelLeft")},Yz=function(a){if(E&&!Zt(9)){var b=xA(a,"borderLeft"),c=xA(a,"borderRight"),e=xA(a,"borderTop");a=xA(a,"borderBottom");return new Iz(e,c,a,b)}b=Nz(a,"borderLeftWidth");c=Nz(a,"borderRightWidth");e=Nz(a,"borderTopWidth");a=Nz(a,"borderBottomWidth");return new Iz(parseFloat(e),parseFloat(c),parseFloat(a),parseFloat(b))};var yA=function(){if(Jt){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Ms))?a[1]:"0"}return It?(a=/10[_.][0-9_.]+/,(a=a.exec(Ms))?a[0].replace(/_/g,"."):"10"):Lt?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Ms))?a[1]:""):Mt||Nt||Ot?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Ms))?a[1].replace(/_/g,"."):""):""}();var zA=Ps("Firefox"),AA=xt()||Ps("iPod"),BA=Ps("iPad"),CA=Ps("Android")&&!(kt()||Ps("Firefox")||Ps("Opera")||Ps("Silk")),DA=kt(),EA=Ps("Safari")&&!(kt()||Ps("Coast")||Ps("Opera")||Ps(Ac)||Ps("Silk")||Ps("Android"))&&!yt();var FA=function(a){return(a=a.exec(Ms))?a[1]:""},GA=function(){if(zA)return FA(/Firefox\/([0-9.]+)/);if(E||Dt||Ct)return Vt;if(DA)return yt()?FA(/CriOS\/([0-9.]+)/):FA(/Chrome\/([0-9.]+)/);if(EA&&!yt())return FA(/Version\/([0-9.]+)/);if(AA||BA){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Ms);if(a)return a[1]+"."+a[2]}else if(CA)return(a=FA(/Android\s+([0-9.]+)/))?a:FA(/Version\/([0-9.]+)/);return""}();var HA=function(a){var b=a.offsetLeft,c=a.offsetParent;c||Pz(a)!=Hh||(c=fy(a).documentElement);if(!c)return b;if(Ft){var e=Yz(c);b+=e.left}else Zt(8)&&!Zt(9)&&(e=Yz(c),b-=e.left);return mA(c)?c.clientWidth-(b+a.offsetWidth):b},IA=function(){var a=EA&&0<=Lr(GA,10),b=Pt&&0<=Lr(yA,10);return Ft||a||b};var JA=function(a,b,c,e,f){xz.call(this,b,c,e,f);this.element=a};B(JA,xz);q=JA.prototype;q.im=Qq;q.Eh=function(){u(this.Ii)||(this.Ii=mA(this.element));return this.Ii};q.Bv=function(){this.im();JA.c.Bv.call(this)};q.dk=function(){this.im();JA.c.dk.call(this)};q.Mg=function(){this.im();JA.c.Mg.call(this)};var KA=function(a,b,c,e,f){if(2!=b.length||2!=c.length)throw Error(Bd);JA.apply(this,arguments)};B(KA,JA);
KA.prototype.im=function(){var a=this.km&&this.Eh()?Wm:Rj;this.element.style[a]=Math.round(this.coords[0])+n;this.element.style.top=Math.round(this.coords[1])+n};var LA=function(a,b,c,e){var f=[this.km?HA(a):a.offsetLeft,a.offsetTop];KA.call(this,a,f,b,c,e)};B(LA,KA);LA.prototype.Mg=function(){this.Sr=[this.km?HA(this.element):this.element.offsetLeft,this.element.offsetTop];LA.c.Mg.call(this)};var MA=function(a,b,c,e,f){if(2!=b.length||2!=c.length)throw Error(Bd);JA.apply(this,arguments)};B(MA,JA);
MA.prototype.im=function(){if(this.km){var a=this.element,b=Math.round(this.coords[0]);b=Math.max(b,0);mA(a)?IA()?a.scrollLeft=-b:Et&&Xt("8")?a.scrollLeft=b:a.scrollLeft=a.scrollWidth-b-a.clientWidth:a.scrollLeft=b}else this.element.scrollLeft=Math.round(this.coords[0]);this.element.scrollTop=Math.round(this.coords[1])};var NA=function(a,b,c,e,f){JA.call(this,a,[b],[c],e,f)};B(NA,JA);NA.prototype.im=function(){this.element.style.height=Math.round(this.coords[0])+n};
var OA=function(a,b,c,e,f){Oq(b)&&(b=[b]);Oq(c)&&(c=[c]);JA.call(this,a,b,c,e,f);if(1!=b.length||1!=c.length)throw Error("Start and end points must be 1D");this.nB=-1};B(OA,JA);var PA=1/1024;q=OA.prototype;q.im=function(){var a=this.coords[0];Math.abs(a-this.nB)>=PA&&(jA(this.element,a),this.nB=a)};q.Mg=function(){this.nB=-1;OA.c.Mg.call(this)};q.dk=function(){this.nB=-1;OA.c.dk.call(this)};q.show=function(){this.element.style.display=""};q.Ce=function(){this.element.style.display=Nk};
var QA=function(a,b,c){OA.call(this,a,0,1,b,c)};B(QA,OA);var RA=function(a,b,c){OA.call(this,a,1,0,b,c)};B(RA,OA);RA.prototype.Mg=function(){this.show();RA.c.Mg.call(this)};RA.prototype.dk=function(){this.Ce();RA.c.dk.call(this)};var SA=function(a,b,c){OA.call(this,a,0,1,b,c)};B(SA,OA);SA.prototype.Mg=function(){this.show();SA.c.Mg.call(this)};var TA=function(a,b,c,e,f){if(3!=b.length||3!=c.length)throw Error("Start and end points must be 3D");JA.apply(this,arguments)};B(TA,JA);
TA.prototype.N5=function(){for(var a=[],b=0;b<this.coords.length;b++)a[b]=Math.round(this.coords[b]);a="rgb("+a.join(",")+")";this.element.style.backgroundColor=a};TA.prototype.im=function(){this.N5()};var UA=function(a,b,c,e){function f(){a.style.backgroundColor=g}var g=a.style.backgroundColor||"",h=Oz(a,mf);h=h&&h!=xp&&"rgba(0, 0, 0, 0)"!=h?Gz(Ez(h).Gu):[255,255,255];b=new TA(a,b,h,c);e?e.listen(b,nh,f):I(b,nh,f);b.play()};var VA=function(a){return 1-Math.pow(1-a,3)},WA=function(a){return 3*a*a-2*a*a*a};var XA,YA=/org.mozilla|com.google|org.jdom|Object|java.lang/;function S(a,b,c){XA&&(XA.LV(),XA=null);a&&YA.test(a)&&(a="Error del servidor");var e=P("sites-notice");c?Ny(e,a):e.innerHTML=a;a=P("sites-status");a.style.display==Nk&&(XA=new SA(a,b||50),XA.play());return a}w("JOT_setStatusMsg",S,void 0);webspace.page.setStatusMsg=S;function ZA(a){XA&&(XA.LV(),XA=null);XA=new RA(P("sites-status"),a&&typeof a==Rk?a:50);I(XA,nh,function(){Ay(P("sites-notice"))},!1);XA.play()}w("JOT_clearStatusMsg",ZA,void 0);var $A=function(){iw.call(this)};B($A,iw);var aB=function(a,b,c,e,f,g,h){var l=new $A;b=y(l.Ada,l,b,c);I(l,ap,b);I(l,ph,b);I(l,mp,b);I(l,ge,b);I(l,Nm,l.dispose,!1,l);l.send(a,e,f,g,h)};$A.prototype.send=function(a,b,c,e,f){a=new $y(a);a.T(Ej,Pr.get("jotxtok"));if(f)for(var g in f)a.T(g,f[g]);$A.c.send.call(this,a.toString(),b,c,e)};
$A.prototype.Ada=function(a,b,c){try{var e=c.target.Ba()}catch(f){}e&&e.error&&"not-logged-in"==e.error?S("Para realizar esta acci\u00f3n, es necesario que inicies sesi\u00f3n. Haz clic "+(ub+webspace.signInUrl+'">aqu\u00ed</a> para acceder de nuevo.')):c.type==ap&&a?a(c):c.type!=ap&&b&&b(c)};var bB=function(a,b){null!=a&&this.append.apply(this,arguments)};q=bB.prototype;q.Zc="";q.set=function(a){this.Zc=""+a};q.append=function(a,b,c){this.Zc+=String(a);if(null!=b)for(var e=1;e<arguments.length;e++)this.Zc+=arguments[e];return this};q.clear=function(){this.Zc=""};q.toString=function(){return this.Zc};var cB=function(){nz.call(this);this.nza(this.qDa)};B(cB,nz);cB.prototype.KS=function(a,b,c){a[b]?a[b].value=c:(b=ty(td,{style:"display:none;"},ty(Xc,{name:b,value:c,type:Hi})),a.appendChild(b))};cB.prototype.qDa=function(a){var b=null;u(ry(a).rc)&&(b=502);return b};cB.prototype.jca=function(a){var b=Pr.get("jotxtok")||"";this.KS(a,Ej,b)};var dB;"undefined"==typeof dB&&(dB=[]);var eB;"undefined"==typeof eB&&(eB=[]);var fB=function(a){return 0<=a?a.toString(16).toUpperCase():"-"+(-a).toString(16).toUpperCase()};var gB=function(a){a=a.className;return v(a)&&a.match(/\S+/g)||[]},hB=function(a,b){for(var c=gB(a),e=As(arguments,1),f=c.length+e.length,g=0;g<e.length;g++)qs(c,e[g])||c.push(e[g]);e=c.join(" ");a.className=e;return c.length==f},jB=function(a,b){var c=gB(a),e=As(arguments,1),f=iB(c,e),g=f.join(" ");a.className=g;return f.length==c.length-e.length},iB=function(a,b){return gs(a,function(a){return!qs(b,a)})},kB=function(a,b){return qs(gB(a),b)};var lB=function(a,b,c){b||(b={});c=c||window;var e=a instanceof Sw?a:Ww("undefined"!=typeof a.href?a.href:String(a));a=b.target||a.target;var f=[];for(g in b)switch(g){case rq:case Gi:case up:case Rj:f.push(g+"="+b[g]);break;case "target":case "noreferrer":break;default:f.push(g+"="+(b[g]?1:0))}var g=f.join(",");yt()&&c.navigator&&c.navigator.standalone&&a&&"_self"!=a?(g=c.document.createElement("A"),Wx(g,e),g.setAttribute("target",a),b.noreferrer&&g.setAttribute("rel","noreferrer"),b=document.createEvent("MouseEvent"),
b.initMouseEvent(Kf,!0,!0,c,1),g.dispatchEvent(b),b={}):b.noreferrer?(b=c.open("",a,g),c=Tw(e),b&&(Et&&yr(c,";")&&(c="'"+c.replace(/'/g,"%27")+"'"),b.opener=null,c=Hx(vw("b/12014412, meta tag with sanitized URL"),'<META HTTP-EQUIV="refresh" content="0; url='+xr(c)+ua),b.document.write(px(c)),b.document.close())):b=c.open(Tw(e),a,g);return b};var mB=function(a,b){if("FORM"==a.tagName)for(var c=a.elements,e=0;a=c[e];e++)mB(a,b);else 1==b&&a.blur(),a.disabled=b},nB=function(a){var b=a.type;switch(v(b)&&b.toLowerCase()){case Gf:case "radio":return a.checked?a.value:null;case "select-one":return b=a.selectedIndex,0<=b?a.options[b].value:null;case nn:b=[];for(var c,e=0;c=a.options[e];e++)c.selected&&b.push(c.value);return b.length?b:null;default:return null!=a.value?a.value:null}};var oB=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!Ft;default:return 166>a.keyCode||183<a.keyCode}},rB=function(a,b,c,e,f,g){if(!(E||Dt||Gt&&Xt("525")))return!0;if(It&&f)return pB(a);if(f&&!e)return!1;Oq(b)&&
(b=qB(b));f=17==b||18==b||It&&91==b;if((!c||It)&&f||It&&16==b&&(e||g))return!1;if((Gt||Dt)&&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(E&&e&&b==a)return!1;switch(a){case 13:return!0;case 27:return!(Gt||Dt)}return pB(a)},pB=function(a){if(48<=a&&57>=a||96<=a&&106>=a||65<=a&&90>=a||(Gt||Dt)&&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}},qB=function(a){if(Ft)a=sB(a);else if(It&&Gt)switch(a){case 93:a=91}return a},sB=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 uB=function(a){J.call(this);this.D=a;I(a,tB,this.Ah,!1,this);I(a,Kf,this.Jj,!1,this)};B(uB,J);var tB=Ft?Jj:Ij;uB.prototype.Ah=function(a){(13==a.keyCode||Gt&&3==a.keyCode)&&this.WV(a)};uB.prototype.Jj=function(a){this.WV(a)};uB.prototype.WV=function(a){var b=new vB(a);if(this.dispatchEvent(b)){b=new wB(a);try{this.dispatchEvent(b)}finally{a.stopPropagation()}}};uB.prototype.o=function(){uB.c.o.call(this);bv(this.D,tB,this.Ah,!1,this);bv(this.D,Kf,this.Jj,!1,this);delete this.D};
var wB=function(a){Ju.call(this,a.bd);this.type=k};B(wB,Ju);var vB=function(a){Ju.call(this,a.bd);this.type="beforeaction"};B(vB,Ju);var xB={jF:["BC","AD"],HR:["Before Christ","Anno Domini"],OR:"JFMAMJJASOND".split(""),UR:"JFMAMJJASOND".split(""),nF:"January February March April May June July August September October November December".split(" "),Po:"January February March April May June July August September October November December".split(" "),uF:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),xF:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),CF:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
WR:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),wF:"Sun Mon Tue Wed Thu Fri Sat".split(" "),yF:"Sun Mon Tue Wed Thu Fri Sat".split(" "),yaa:"SMTWTFS".split(""),VR:"SMTWTFS".split(""),vF:["Q1","Q2","Q3","Q4"],sF:["1st quarter","2nd quarter","3rd quarter","4th quarter"],fF:["AM","PM"],om:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],ms:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],iF:["{1} 'at' {0}","{1} 'at' {0}",zq,zq],wx:6,DF:[5,6],xx:5};
xB={jF:["a. C.","d. C."],HR:["antes de Cristo","despu\u00e9s de Cristo"],OR:"EFMAMJJASOND".split(""),UR:"EFMAMJJASOND".split(""),nF:"enero febrero marzo abril mayo junio julio agosto septiembre octubre noviembre diciembre".split(" "),Po:"enero febrero marzo abril mayo junio julio agosto septiembre octubre noviembre diciembre".split(" "),uF:"ene. feb. mar. abr. may. jun. jul. ago. sept. oct. nov. dic.".split(" "),xF:"ene. feb. mar. abr. may. jun. jul. ago. sept. oct. nov. dic.".split(" "),CF:"domingo lunes martes mi\u00e9rcoles jueves viernes s\u00e1bado".split(" "),
WR:"domingo lunes martes mi\u00e9rcoles jueves viernes s\u00e1bado".split(" "),wF:"dom. lun. mar. mi\u00e9. jue. vie. s\u00e1b.".split(" "),yF:"dom. lun. mar. mi\u00e9. jue. vie. s\u00e1b.".split(" "),yaa:"DLMXJVS".split(""),VR:"DLMXJVS".split(""),vF:["T1","T2","T3","T4"],sF:["1.er trimestre","2.\u00ba trimestre","3.er trimestre","4.\u00ba trimestre"],fF:["a. m.","p. m."],om:["EEEE, d 'de' MMMM 'de' y","d 'de' MMMM 'de' y","d MMM y","d/M/yy"],ms:["H:mm:ss (zzzz)","H:mm:ss z","H:mm:ss","H:mm"],iF:[zq,
zq,"{1} {0}","{1} {0}"],wx:0,DF:[5,6],xx:3};var yB=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},zB=function(a,b,c,e,f,g){v(a)?(this.hg="y"==a?b:0,this.Rf="m"==a?b:0,this.uf="d"==a?b:0,this.yc="h"==a?b:0,this.Ed="n"==a?b:0,this.kd="s"==a?b:0):(this.hg=a||0,this.Rf=b||0,this.uf=c||0,this.yc=e||0,this.Ed=f||0,this.kd=g||0)};
zB.prototype.wo=function(a){var b=Math.min(this.hg,this.Rf,this.uf,this.yc,this.Ed,this.kd),c=Math.max(this.hg,this.Rf,this.uf,this.yc,this.Ed,this.kd);if(0>b&&0<c)return null;if(!a&&0==b&&0==c)return"PT0S";c=[];0>b&&c.push("-");c.push("P");(this.hg||a)&&c.push(Math.abs(this.hg)+"Y");(this.Rf||a)&&c.push(Math.abs(this.Rf)+"M");(this.uf||a)&&c.push(Math.abs(this.uf)+"D");if(this.yc||this.Ed||this.kd||a)c.push("T"),(this.yc||a)&&c.push(Math.abs(this.yc)+"H"),(this.Ed||a)&&c.push(Math.abs(this.Ed)+"M"),
(this.kd||a)&&c.push(Math.abs(this.kd)+"S");return c.join("")};zB.prototype.ad=function(a){return a.hg==this.hg&&a.Rf==this.Rf&&a.uf==this.uf&&a.yc==this.yc&&a.Ed==this.Ed&&a.kd==this.kd};zB.prototype.clone=function(){return new zB(this.hg,this.Rf,this.uf,this.yc,this.Ed,this.kd)};zB.prototype.add=function(a){this.hg+=a.hg;this.Rf+=a.Rf;this.uf+=a.uf;this.yc+=a.yc;this.Ed+=a.Ed;this.kd+=a.kd};
var AB=function(a,b,c){Oq(a)?(this.ka=this.uT(a,b||0,c||1),this.KB(c||1)):Vq(a)?(this.ka=this.uT(a.getFullYear(),a.getMonth(),a.getDate()),this.KB(a.getDate())):(this.ka=new Date(A()),a=this.ka.getDate(),this.ka.setHours(0),this.ka.setMinutes(0),this.ka.setSeconds(0),this.ka.setMilliseconds(0),this.KB(a))};q=AB.prototype;q.uT=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};q.Tm=xB.wx;q.lz=xB.xx;
q.clone=function(){var a=new AB(this.ka);a.Tm=this.Tm;a.lz=this.lz;return a};q.getFullYear=function(){return this.ka.getFullYear()};q.getYear=function(){return this.getFullYear()};q.getMonth=function(){return this.ka.getMonth()};q.getDate=function(){return this.ka.getDate()};q.getTime=function(){return this.ka.getTime()};q.getDay=function(){return this.ka.getDay()};q.oja=function(){return(this.getDay()+6)%7};q.hla=function(){return(this.oja()-this.Tm+7)%7};q.getUTCFullYear=function(){return this.ka.getUTCFullYear()};
q.getUTCMonth=function(){return this.ka.getUTCMonth()};q.getUTCDate=function(){return this.ka.getUTCDate()};q.getUTCDay=function(){return this.ka.getDay()};q.getUTCHours=function(){return this.ka.getUTCHours()};q.getUTCMinutes=function(){return this.ka.getUTCMinutes()};q.rY=function(){return yB(this.getFullYear(),this.getMonth())};q.getTimezoneOffset=function(){return this.ka.getTimezoneOffset()};
q.LJ=function(){var 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?"-":"+")+Gr(c,2)+":"+Gr(b,2)}return a};q.set=function(a){this.ka=new Date(a.getFullYear(),a.getMonth(),a.getDate())};q.setFullYear=function(a){this.ka.setFullYear(a)};q.setYear=function(a){this.setFullYear(a)};q.setMonth=function(a){this.ka.setMonth(a)};q.setDate=function(a){this.ka.setDate(a)};q.setTime=function(a){this.ka.setTime(a)};q.setUTCFullYear=function(a){this.ka.setUTCFullYear(a)};
q.setUTCMonth=function(a){this.ka.setUTCMonth(a)};q.setUTCDate=function(a){this.ka.setUTCDate(a)};q.KO=function(a){this.Tm=a};q.e6=function(a){this.lz=a};
q.add=function(a){if(a.hg||a.Rf){var b=this.getMonth()+a.Rf+12*a.hg,c=this.getYear()+Math.floor(b/12);b%=12;0>b&&(b+=12);var e=Math.min(yB(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}a.uf&&(b=new Date(this.getYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.uf),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),this.KB(a.getDate()))};
q.wo=function(a,b){return[this.getFullYear(),Gr(this.getMonth()+1,2),Gr(this.getDate(),2)].join(a?"-":"")+(b?this.LJ():"")};q.ad=function(a){return!(!a||this.getYear()!=a.getYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};q.toString=function(){return this.wo()};q.KB=function(a){this.getDate()!=a&&(a=this.getDate()<a?1:-1,this.ka.setUTCHours(this.ka.getUTCHours()+a))};q.valueOf=function(){return this.ka.valueOf()};
var BB=function(a,b,c,e,f,g,h){this.ka=Oq(a)?new Date(a,b||0,c||1,e||0,f||0,g||0,h||0):new Date(a&&a.getTime?a.getTime():A())};B(BB,AB);q=BB.prototype;q.getHours=function(){return this.ka.getHours()};q.getMinutes=function(){return this.ka.getMinutes()};q.getSeconds=function(){return this.ka.getSeconds()};q.getMilliseconds=function(){return this.ka.getMilliseconds()};q.getUTCDay=function(){return this.ka.getUTCDay()};q.getUTCHours=function(){return this.ka.getUTCHours()};q.getUTCMinutes=function(){return this.ka.getUTCMinutes()};
q.getUTCSeconds=function(){return this.ka.getUTCSeconds()};q.getUTCMilliseconds=function(){return this.ka.getUTCMilliseconds()};q.setHours=function(a){this.ka.setHours(a)};q.setMinutes=function(a){this.ka.setMinutes(a)};q.setSeconds=function(a){this.ka.setSeconds(a)};q.setMilliseconds=function(a){this.ka.setMilliseconds(a)};q.setUTCHours=function(a){this.ka.setUTCHours(a)};q.setUTCMinutes=function(a){this.ka.setUTCMinutes(a)};q.setUTCSeconds=function(a){this.ka.setUTCSeconds(a)};
q.setUTCMilliseconds=function(a){this.ka.setUTCMilliseconds(a)};q.add=function(a){AB.prototype.add.call(this,a);a.yc&&this.setUTCHours(this.ka.getUTCHours()+a.yc);a.Ed&&this.setUTCMinutes(this.ka.getUTCMinutes()+a.Ed);a.kd&&this.setUTCSeconds(this.ka.getUTCSeconds()+a.kd)};
q.wo=function(a,b){var c=AB.prototype.wo.call(this,a);return a?c+" "+Gr(this.getHours(),2)+":"+Gr(this.getMinutes(),2)+":"+Gr(this.getSeconds(),2)+(b?this.LJ():""):c+"T"+Gr(this.getHours(),2)+Gr(this.getMinutes(),2)+Gr(this.getSeconds(),2)+(b?this.LJ():"")};q.ad=function(a){return this.getTime()==a.getTime()};q.toString=function(){return this.wo()};q.clone=function(){var a=new BB(this.ka);a.KO(this.Tm);a.e6(this.lz);return a};var CB=function(){},EB=function(a){if(typeof a==Rk){var b=new CB;b.r8=a;var 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(":",Gr(c,2));c=e.join("")}b.EQ=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=DB(a);b.PQ=[c,c];b.Ao={ULa:a,XR:a};b.bs=[];return b}b=new CB;b.EQ=a.id;b.r8=-a.std_offset;b.PQ=a.names;b.Ao=a.names_ext;b.bs=a.transitions;return b},
DB=function(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Gr(Math.floor(a/60)%100,2),":",Gr(a%60,2));return b.join("")};q=CB.prototype;q.HX=function(a){a=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes())/36E5;for(var b=0;b<this.bs.length&&a>=this.bs[b];)b+=2;return 0==b?0:this.bs[b-1]};q.$ia=function(a){return DB(this.AJ(a))};q.yJ=function(a){return this.PQ[this.cL(a)?3:1]};q.AJ=function(a){return this.r8-this.HX(a)};
q.pka=function(a){a=-this.AJ(a);var b=[0>a?"-":"+"];a=Math.abs(a);b.push(Gr(Math.floor(a/60)%100,2),Gr(a%60,2));return b.join("")};q.Gka=function(a){return this.PQ[this.cL(a)?2:0]};q.cL=function(a){return 0<this.HX(a)};q.aja=function(a){return this.cL(a)?u(this.Ao.S$)?this.Ao.S$:this.Ao.DST_GENERIC_LOCATION:u(this.Ao.XR)?this.Ao.XR:this.Ao.STD_GENERIC_LOCATION};var FB=function(a,b){C(u(a),"Pattern must be defined");C(u(b)||u(xB),Bi);this.gc=[];this.Ha=b||xB;typeof a==Rk?this.Zo(a):this.kg(a)},GB=[/^\'(?:[^\']|\'\')*(\'|$)/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/],HB=function(a){return a.getHours?a.getHours():0};
FB.prototype.kg=function(a){for(IB&&(a=a.replace(/\u200f/g,""));a;){for(var b=a,c=0;c<GB.length;++c){var e=a.match(GB[c]);if(e){var f=e[0];a=a.substring(f.length);0==c&&("''"==f?f="'":(f=f.substring(1,"'"==e[1]?f.length-1:f.length),f=f.replace(/\'\'/g,"'")));this.gc.push({text:f,type:c});break}}if(b===a)throw Error("Malformed pattern part: "+a);}};
FB.prototype.format=function(a,b){if(!a)throw Error("The date to format must be non-null.");var c=b?6E4*(a.getTimezoneOffset()-b.AJ(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));c=[];for(var g=0;g<this.gc.length;++g){var h=this.gc[g].text;1==this.gc[g].type?c.push(this.Aha(h,a,e,f,b)):c.push(h)}return c.join("")};
FB.prototype.Zo=function(a){if(4>a)var b=this.Ha.om[a];else if(8>a)b=this.Ha.ms[a-4];else if(12>a)b=this.Ha.iF[a-8],b=b.replace("{1}",this.Ha.om[a-8]),b=b.replace("{0}",this.Ha.ms[a-8]);else{this.Zo(10);return}this.kg(b)};FB.prototype.ef=function(a){a=String(a);var b=this.Ha||xB;if(void 0!==b.FF){for(var c=[],e=0;e<a.length;e++){var f=a.charCodeAt(e);c.push(48<=f&&57>=f?String.fromCharCode(b.FF+f-48):a.charAt(e))}a=c.join("")}return a};var IB=!1;
FB.prototype.zha=function(a,b){b=0<b.getFullYear()?1:0;return 4<=a?this.Ha.HR[b]:this.Ha.jF[b]};FB.prototype.Qha=function(a,b){b=b.getFullYear();0>b&&(b=-b);2==a&&(b%=100);return this.ef(Gr(b,a))};FB.prototype.Dha=function(a,b){b=b.getMonth();switch(a){case 5:return this.Ha.OR[b];case 4:return this.Ha.nF[b];case 3:return this.Ha.uF[b];default:return this.ef(Gr(b+1,a))}};
var JB=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.");};q=FB.prototype;q.vha=function(a,b){JB(b);return this.ef(Gr(HB(b)||24,a))};q.Bha=function(a,b){b=b.getTime()%1E3/1E3;return this.ef(b.toFixed(Math.min(3,a)).substr(2)+(3<a?Gr(0,a-3):""))};q.yha=function(a,b){b=b.getDay();return 4<=a?this.Ha.CF[b]:this.Ha.wF[b]};
q.wha=function(a,b){JB(b);a=HB(b);return this.Ha.fF[12<=a&&24>a?1:0]};q.uha=function(a,b){JB(b);return this.ef(Gr(HB(b)%12||12,a))};q.sha=function(a,b){JB(b);return this.ef(Gr(HB(b)%12,a))};q.tha=function(a,b){JB(b);return this.ef(Gr(HB(b),a))};q.Jha=function(a,b){b=b.getDay();switch(a){case 5:return this.Ha.VR[b];case 4:return this.Ha.WR[b];case 3:return this.Ha.yF[b];default:return this.ef(Gr(b,1))}};
q.Kha=function(a,b){b=b.getMonth();switch(a){case 5:return this.Ha.UR[b];case 4:return this.Ha.Po[b];case 3:return this.Ha.xF[b];default:return this.ef(Gr(b+1,a))}};q.Eha=function(a,b){b=Math.floor(b.getMonth()/3);return 4>a?this.Ha.vF[b]:this.Ha.sF[b]};q.xha=function(a,b){return this.ef(Gr(b.getDate(),a))};q.Cha=function(a,b){JB(b);return this.ef(Gr(b.getMinutes(),a))};q.Gha=function(a,b){JB(b);return this.ef(Gr(b.getSeconds(),a))};
q.Pha=function(a,b){var c=b.getDate(),e=this.Ha.xx;b=new Date(b.getFullYear(),b.getMonth(),c);c=this.Ha.wx||0;e=b.valueOf()+864E5*(((u(e)?e:3)-c+7)%7-((b.getDay()+6)%7-c+7)%7);return this.ef(Gr(Math.floor(Math.round((e-(new Date((new Date(e)).getFullYear(),0,1)).valueOf())/864E5)/7)+1,a))};q.Nha=function(a,b,c){c=c||EB(b.getTimezoneOffset());return 4>a?c.pka(b):this.ef(c.$ia(b))};q.Oha=function(a,b,c){c=c||EB(b.getTimezoneOffset());return 4>a?c.Gka(b):c.yJ(b)};
q.Lha=function(a,b){b=b||EB(a.getTimezoneOffset());return b.EQ};q.Mha=function(a,b,c){c=c||EB(b.getTimezoneOffset());return 2>=a?c.EQ:c.aja(b)};
q.Aha=function(a,b,c,e,f){var g=a.length;switch(a.charAt(0)){case "G":return this.zha(g,c);case "y":return this.Qha(g,c);case "M":return this.Dha(g,c);case "k":return this.vha(g,e);case "S":return this.Bha(g,e);case "E":return this.yha(g,c);case "a":return this.wha(g,e);case "h":return this.uha(g,e);case "K":return this.sha(g,e);case "H":return this.tha(g,e);case "c":return this.Jha(g,c);case "L":return this.Kha(g,c);case "Q":return this.Eha(g,c);case "d":return this.xha(g,c);case "m":return this.Cha(g,
e);case "s":return this.Gha(g,e);case "v":return this.Lha(b,f);case "V":return this.Mha(g,b,f);case "w":return this.Pha(g,e);case "z":return this.Oha(g,b,f);case "Z":return this.Nha(g,b,f);default:return""}};var NB=function(a,b,c,e,f,g,h,l,p){C(c);var r=KB(c),z=iA(a),O=Xz(a);O&&z.ZK(new Jz(O.left,O.top,O.right-O.left,O.bottom-O.top));O=N(a);var ea=N(c);if(O.K()!=ea.K()){var qa=O.K().body;ea=ea.getWindow();var ac=new $x(0,0),me=ry(fy(qa));if(At(me,m)){var Xm=qa;do{var qq=me==ea?Wz(Xm):dA(C(Xm));ac.x+=qq.x;ac.y+=qq.y}while(me&&me!=ea&&me!=me.parent&&(Xm=me.frameElement)&&(me=me.parent))}qa=by(ac,Wz(qa));!E||Zt(9)||O.Uu()||(qa=by(qa,O.Df()));z.left+=qa.x;z.top+=qa.y}a=LB(a,b);b=z.left;a&4?b+=z.width:a&2&&
(b+=z.width/2);z=new $x(b,z.top+(a&1?z.height:0));z=by(z,r);f&&(z.x+=(a&4?-1:1)*f.x,z.y+=(a&1?-1:1)*f.y);if(h)if(p)var Ic=p;else if(Ic=Xz(c))Ic.top-=r.y,Ic.right-=r.x,Ic.bottom-=r.y,Ic.left-=r.x;return MB(z,c,e,g,Ic,h,l)},KB=function(a){if(a=a.offsetParent){var b="HTML"==a.tagName||"BODY"==a.tagName;if(!b||"static"!=Pz(a)){var c=Wz(a);b||(b=(b=mA(a))&&IA()?-a.scrollLeft:!b||Et&&Xt("8")||Oz(a,"overflowX")==lq?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,c=by(c,new $x(b,a.scrollTop)))}}return c||
new $x},MB=function(a,b,c,e,f,g,h){a=a.clone();var l=LB(b,c);c=hA(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var p=0;if(e||0!=l)l&4?a.x-=h.width+(e?e.right:0):l&2?a.x-=h.width/2:e&&(a.x+=e.left),l&1?a.y-=h.height+(e?e.bottom:0):e&&(a.y+=e.top);if(g){if(f){e=a;l=h;p=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,p|=1);if(g&16){var r=e.x;e.x<f.left&&(e.x=f.left,p|=4);e.x+l.width>f.right&&(l.width=Math.min(f.right-
e.x,r+l.width-f.left),l.width=Math.max(l.width,0),p|=4)}e.x+l.width>f.right&&g&1&&(e.x=Math.max(f.right-l.width,f.left),p|=1);g&2&&(p|=(e.x<f.left?16:0)|(e.x+l.width>f.right?32:0));e.y<f.top&&g&4&&(e.y=f.top,p|=2);g&32&&(r=e.y,e.y<f.top&&(e.y=f.top,p|=8),e.y+l.height>f.bottom&&(l.height=Math.min(f.bottom-e.y,r+l.height-f.top),l.height=Math.max(l.height,0),p|=8));e.y+l.height>f.bottom&&g&4&&(e.y=Math.max(f.bottom-l.height,f.top),p|=2);g&8&&(p|=(e.y<f.top?64:0)|(e.y+l.height>f.bottom?128:0));f=p}else f=
256;p=f}g=new Jz(0,0,0,0);g.left=a.x;g.top=a.y;g.width=h.width;g.height=h.height;f=p;if(f&496)return f;Rz(b,g.Xka());h=g.Ae();dy(c,h)||(c=h,h=fy(b),a=N(h).Uu(),!E||Xt("10")||a&&Xt("8")?(b=b.style,Ft?b.MozBoxSizing=tf:Gt?b.WebkitBoxSizing=tf:b.boxSizing=tf,b.width=Math.max(c.width,0)+n,b.height=Math.max(c.height,0)+n):(h=b.style,a?(a=rA(b),b=Yz(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},LB=function(a,b){return(b&8&&mA(a)?b^4:b)&-9};var OB,PB={pFa:oe,zFa:ff,BFa:lf,LFa:"busy",J$:Hf,YFa:"colindex",kGa:"controls",yGa:Ig,CGa:Mg,XGa:"dropeffect",jHa:uh,wHa:"flowto",PHa:"grabbed",UHa:Fi,XHa:Hi,oIa:"invalid",iaa:Lj,vIa:Mj,FIa:"level",LIa:Vj,mJa:"multiline",nJa:"multiselectable",GJa:"orientation",JJa:tl,bKa:zm,dKa:"pressed",READONLY:"readonly",xKa:"relevant",BKa:"required",KKa:"rowindex",SELECTED:pn,WKa:"setsize",JLa:"sort",HMa:"valuemax",IMa:"valuemin",JMa:Yp,KMa:"valuetext"};var QB={tFa:"alert",uFa:"alertdialog",xFa:"application",yFa:"article",G$:"banner",MFa:vf,TFa:Gf,$Fa:"columnheader",aGa:Of,dGa:"complementary",hGa:"contentinfo",xGa:"definition",AGa:Kg,BGa:"directory",FR:Ug,Z$:"form",aaa:Ci,SHa:Di,THa:"group",VHa:"heading",hIa:"img",HIa:"link",kaa:Tj,JIa:Uj,KIa:"listitem",OIa:"log",QIa:"main",VIa:"marquee",WIa:"math",$Ia:"menu",aJa:"menubar",bJa:"menuitem",cJa:ok,dJa:"menuitemradio",pJa:Kk,xJa:"note",EJa:jl,Faa:Cm,gKa:"progressbar",lKa:"radio",mKa:"radiogroup",vKa:"region",
HKa:"row",IKa:"rowgroup",JKa:"rowheader",NKa:"scrollbar",OKa:ln,UKa:qn,HLa:"slider",MLa:"spinbutton",TLa:Xo,YLa:"tab",aMa:"tablist",bMa:"tabpanel",fMa:"textbox",gMa:"textinfo",iMa:"timer",kMa:"toolbar",lMa:"tooltip",oMa:"tree",pMa:"treegrid",qMa:"treeitem"};jt(["A","AREA",Nb,"HEAD",Xc,"LINK","MENU","META","OPTGROUP",nd,"PROGRESS","STYLE",sd,"SOURCE",Id,"TITLE","TRACK"]);
var RB=[Of,Ci,"group",Uj,"menu","menubar","radiogroup","row","rowgroup","tablist","textbox","toolbar","tree","treegrid"],SB=function(a,b){b?(C(Zs(QB,b),"No such ARIA role "+b),a.setAttribute(Ym,b)):a.removeAttribute(Ym)},T=function(a,b,c){x(c)&&(c=c.join(" "));var e=TB(b);""===c||void 0==c?(OB||(OB={atomic:!1,autocomplete:Nk,dropeffect:Nk,haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:$p,readonly:!1,relevant:"additions text",required:!1,sort:Nk,busy:!1,disabled:!1,hidden:!1,invalid:xh}),
c=OB,b in c?a.setAttribute(e,c[b]):a.removeAttribute(e)):a.setAttribute(e,c)},UB=function(a,b){a.removeAttribute(TB(b))},VB=function(a,b){a=a.getAttribute(TB(b));return null==a||void 0==a?"":String(a)},WB=function(a){var b=VB(a,oe);return fy(a).getElementById(b)},XB=function(a,b){var c="";b&&(c=b.id,C(c,"The active element should have an id."));T(a,oe,c)},YB=function(a){return VB(a,Lj)},ZB=function(a,b){T(a,Lj,b)},TB=function(a){C(a,"ARIA attribute cannot be empty.");C(Zs(PB,a),"No such ARIA attribute "+
a);return"aria-"+a};(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!t.requestAnimationFrame;++b)t.requestAnimationFrame=t[c+"RequestAnimationFrame"],t.cancelAnimationFrame=t[c+"CancelAnimationFrame"]||t[c+"CancelRequestAnimationFrame"];if(!t.requestAnimationFrame){var e=0;t.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-e));e=b+c;return t.setTimeout(function(){a(b+c)},c)};t.cancelAnimationFrame||(t.cancelAnimationFrame=function(a){clearTimeout(a)})}})();
var $B=[[],[]],aC=0,bC=!1,cC=0,eC=function(a,b){var c=cC++,e={Esa:{id:c,zj:a.measure,context:b},Zsa:{id:c,zj:a.Ysa,context:b},state:{},args:void 0,bB:!1};return function(){0<arguments.length?(e.args||(e.args=[]),e.args.length=0,e.args.push.apply(e.args,arguments),e.args.push(e.state)):e.args&&0!=e.args.length?(e.args[0]=e.state,e.args.length=1):e.args=[e.state];e.bB||(e.bB=!0,$B[aC].push(e));bC||(bC=!0,window.requestAnimationFrame(dC))}},dC=function(){bC=!1;var a=$B[aC],b=a.length;aC=(aC+1)%2;for(var c,
e=0;e<b;++e){c=a[e];var f=c.Esa;c.bB=!1;f.zj&&f.zj.apply(f.context,c.args)}for(e=0;e<b;++e)c=a[e],f=c.Zsa,c.bB=!1,f.zj&&f.zj.apply(f.context,c.args),c.state={};a.length=0};var fC=function(a){if(a.classList)return a.classList;a=a.className;return v(a)&&a.match(/\S+/g)||[]},gC=function(a,b){a.className=b},hC=function(a,b){return a.classList?a.classList.contains(b):qs(fC(a),b)},U=function(a,b){a.classList?a.classList.add(b):hC(a,b)||(a.className+=0<a.className.length?" "+b:b)},iC=function(a,b){if(a.classList)D(b,function(b){U(a,b)});else{var c={};D(fC(a),function(a){c[a]=!0});D(b,function(a){c[a]=!0});a.className="";for(var e in c)a.className+=0<a.className.length?" "+
e:e}},jC=function(a,b){a.classList?a.classList.remove(b):hC(a,b)&&(a.className=gs(fC(a),function(a){return a!=b}).join(" "))},kC=function(a,b){a.classList?D(b,function(b){jC(a,b)}):a.className=gs(fC(a),function(a){return!qs(b,a)}).join(" ")},lC=function(a,b,c){c?U(a,b):jC(a,b)};var mC=E?Qw(vw(kj)):Qw(vw(he)),nC=Lw(mC),oC=E?Qw(vw(kj)):Qw(vw("javascript:undefined"));Lw(oC);var pC=function(a){F.call(this);this.Ga=a;this.wb={}};B(pC,F);var qC=[];q=pC.prototype;q.listen=function(a,b,c,e){return this.rB(a,b,c,e)};q.ql=function(a,b,c,e,f){return this.rB(a,b,c,e,f)};q.rB=function(a,b,c,e,f){x(b)||(b&&(qC[0]=b.toString()),b=qC);for(var g=0;g<b.length;g++){var h=I(a,b[g],c||this.handleEvent,e||!1,f||this.Ga||this);if(!h)break;this.wb[h.key]=h}return this};q.Of=function(a,b,c,e){return this.n1(a,b,c,e)};
q.n1=function(a,b,c,e,f){if(x(b))for(var g=0;g<b.length;g++)this.n1(a,b[g],c,e,f);else{a=Vu(a,b,c||this.handleEvent,e,f||this.Ga||this);if(!a)return this;this.wb[a.key]=a}return this};q.Iq=function(a,b,c,e){return this.Ora(a,b,c,e)};q.Ora=function(a,b,c,e,f){b.listen(a,c,e,f||this.Ga||this,this);return this};
q.ta=function(a,b,c,e,f){if(x(b))for(var g=0;g<b.length;g++)this.ta(a,b[g],c,e,f);else c=c||this.handleEvent,e=Vq(e)?!!e.capture:!!e,f=f||this.Ga||this,c=Wu(c),e=!!e,b=Nu(a)?a.hu(b,c,e,f):a?(a=Yu(a))?a.hu(b,c,e,f):null:null,b&&(cv(b),delete this.wb[b.key]);return this};q.removeAll=function(){Qs(this.wb,function(a,b){this.wb.hasOwnProperty(b)&&cv(a)},this);this.wb={}};q.o=function(){pC.c.o.call(this);this.removeAll()};
q.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var rC=function(a){J.call(this);this.D=a;a=E?Kh:rf;this.Lra=I(this.D,E?Jh:Ih,this,!E);this.Mra=I(this.D,a,this,!E)};B(rC,J);rC.prototype.handleEvent=function(a){var b=new Ju(a.bd);b.type=a.type==Jh||a.type==Ih?Jh:Kh;this.dispatchEvent(b)};rC.prototype.o=function(){rC.c.o.call(this);cv(this.Lra);cv(this.Mra);delete this.D};var tC=function(a,b,c){J.call(this);this.target=a;this.handle=b||a;this.TL=c||new Jz(NaN,NaN,NaN,NaN);this.Qb=fy(a);this.G=new pC(this);this.Y(this.G);this.deltaY=this.deltaX=this.A8=this.z8=this.screenY=this.screenX=this.clientY=this.clientX=0;this.cc=!0;this.Mm=!1;this.v3=!0;this.u_=0;this.km=this.Cpa=!1;I(this.handle,[vp,wk],this.Uw,!1,this);this.iR=sC};B(tC,J);var sC=t.document&&t.document.documentElement&&!!t.document.documentElement.setCapture&&!!t.document.releaseCapture;q=tC.prototype;
q.A=function(){return this.G};q.VO=function(a){this.TL=a||new Jz(NaN,NaN,NaN,NaN)};q.P6=function(a){this.lD=a};q.U=function(a){this.cc=a};q.o=function(){tC.c.o.call(this);bv(this.handle,[vp,wk],this.Uw,!1,this);this.$T();this.handle=this.target=null};q.F0=function(){u(this.Ii)||(this.Ii=mA(this.target));return this.Ii};
q.Uw=function(a){var b=a.type==wk;if(!this.cc||this.Mm||b&&!a.Zu())this.dispatchEvent("earlycancel");else{if(0==this.u_)if(this.eX(a))this.Mm=!0,this.v3&&b&&a.preventDefault();else return;else this.v3&&b&&a.preventDefault();this.BBa();this.clientX=this.z8=a.clientX;this.clientY=this.A8=a.clientY;this.screenX=a.screenX;this.screenY=a.screenY;this.Yda();this.gN=N(this.Qb).Df()}};
q.BBa=function(){var a=this.Qb,b=a.documentElement,c=!this.iR;this.G.listen(a,["touchmove",xk],this.mna,{capture:c,passive:!1});this.G.listen(a,["touchend",Ak],this.Qm,c);this.iR?(b.setCapture(!1),this.G.listen(b,"losecapture",this.Qm)):this.G.listen(ry(a),rf,this.Qm);E&&this.Cpa&&this.G.listen(a,ah,Gu);this.lD&&this.G.listen(this.lD,jn,this.nC,c)};q.eX=function(a){return this.dispatchEvent(new uC(Uo,this,a.clientX,a.clientY,a))};q.$T=function(){this.G.removeAll();this.iR&&this.Qb.releaseCapture()};
q.Qm=function(a,b){this.$T();this.Mm?(this.Mm=!1,this.dispatchEvent(new uC(nh,this,a.clientX,a.clientY,a,this.j1(this.deltaX),this.k1(this.deltaY),b||"touchcancel"==a.type))):this.dispatchEvent("earlycancel")};
q.mna=function(a){if(this.cc){var b=(this.km&&this.F0()?-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.Mm){var e=this.z8-this.clientX,f=this.A8-this.clientY;if(e*e+f*f>this.u_)if(this.eX(a))this.Mm=!0;else{this.isDisposed()||this.Qm(a);return}}c=this.zT(b,c);b=c.x;c=c.y;this.Mm&&this.dispatchEvent(new uC("beforedrag",this,a.clientX,a.clientY,a,b,c))&&(this.fW(a,b,c,!1),a.preventDefault())}};
q.zT=function(a,b){var c=N(this.Qb).Df();a+=c.x-this.gN.x;b+=c.y-this.gN.y;this.gN=c;this.deltaX+=a;this.deltaY+=b;return new $x(this.j1(this.deltaX),this.k1(this.deltaY))};q.nC=function(a){var b=this.zT(0,0);a.clientX=this.clientX;a.clientY=this.clientY;this.fW(a,b.x,b.y,!0)};q.fW=function(a,b,c){this.qfa(b,c);this.dispatchEvent(new uC("drag",this,a.clientX,a.clientY,a,b,c))};
q.j1=function(a){var b=this.TL,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))};q.k1=function(a){var b=this.TL,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))};q.Yda=function(){this.deltaX=this.km?HA(this.target):this.target.offsetLeft;this.deltaY=this.target.offsetTop};
q.qfa=function(a,b){this.km&&this.F0()?this.target.style.right=a+n:this.target.style.left=a+n;this.target.style.top=b+n};var uC=function(a,b,c,e,f,g,h,l){H.call(this,a);this.clientX=c;this.clientY=e;this.lG=f;this.left=u(g)?g:b.deltaX;this.top=u(h)?h:b.deltaY;this.Xfa=!!l};B(uC,H);var vC=function(){};Rq(vC);vC.prototype.FM=0;vC.prototype.Nd=function(){return":"+(this.FM++).toString(36)};var V=function(a){J.call(this);this.Z=a||N();this.Ii=wC;this.ma=null;this.V=!1;this.D=null;this.al=void 0;this.mh=this.Ja=this.ea=this.$=null;this.t$=!1};B(V,J);V.prototype.zpa=vC.H();var wC=null,xC=function(a,b){switch(a){case 1:return b?"disable":"enable";case 2:return b?Ji:Dp;case 4:return b?"activate":Fg;case 8:return b?mn:"unselect";case 16:return b?"check":"uncheck";case 32:return b?Ih:rf;case 64:return b?"open":Lf}throw Error("Invalid component state");};q=V.prototype;
q.getId=function(){return this.ma||(this.ma=this.zpa.Nd())};q.FD=function(a){this.ea&&this.ea.mh&&(bt(this.ea.mh,this.ma),ct(this.ea.mh,a,this));this.ma=a};q.b=function(){return this.D};q.Ta=function(){var a=this.D;C(a,"Can not call getElementStrict before rendering/decorating.");return a};q.Na=function(a){this.D=a};q.Ym=function(a){return this.D?this.Z.Ym(a,this.D):[]};q.Fc=function(a){return this.D?this.Z.Fc(a,this.D):null};
q.ze=function(a){var b=this.Fc(a);C(b,"Expected element in component with class: %s",a);return b};q.A=function(){this.al||(this.al=new pC(this));return this.al};q.Ea=function(a){if(this==a)throw Error(Td);if(a&&this.ea&&this.ma&&this.ea.Sk(this.ma)&&this.ea!=a)throw Error(Td);this.ea=a;V.c.Sl.call(this,a)};q.getParent=function(){return this.ea};q.Sl=function(a){if(this.ea&&this.ea!=a)throw Error("Method not supported");V.c.Sl.call(this,a)};q.j=function(){return this.Z};q.g=function(){this.D=this.Z.createElement(d)};
q.render=function(a){this.GN(a)};q.g4=function(a){this.GN(a.parentNode,a)};q.GN=function(a,b){if(this.V)throw Error(hc);this.D||this.g();a?a.insertBefore(this.D,b||null):this.Z.K().body.appendChild(this.D);this.ea&&!this.ea.V||this.B()};q.R=function(a){if(this.V)throw Error(hc);if(a&&this.tc(a)){this.t$=!0;var b=fy(a);this.Z&&this.Z.K()==b||(this.Z=N(a));this.Ka(a);this.B()}else throw Error("Invalid element to decorate");};q.tc=function(){return!0};q.Ka=function(a){this.D=a};
q.B=function(){this.V=!0;this.Ia(function(a){!a.V&&a.b()&&a.B()})};q.Pa=function(){this.Ia(function(a){a.V&&a.Pa()});this.al&&this.al.removeAll();this.V=!1};q.o=function(){this.V&&this.Pa();this.al&&(this.al.dispose(),delete this.al);this.Ia(function(a){a.dispose()});!this.t$&&this.D&&Ey(this.D);this.ea=this.$=this.D=this.mh=this.Ja=null;V.c.o.call(this)};q.Ig=function(a){return this.getId()+"."+a};q.C1=function(a){var b={},c;for(c in a)b[c]=this.Ig(a[c]);return b};q.Lja=function(){return this.$};
q.Dc=function(a){this.$=a};q.Fj=function(a){if(!this.V)throw Error("Operation not supported while component is not in document");return this.Z.b(this.Ig(a))};q.ca=function(a,b){this.pe(a,this.Xa(),b)};
q.pe=function(a,b,c){C(!!a,"Provided element must not be null.");if(a.V&&(c||!this.V))throw Error(hc);if(0>b||b>this.Xa())throw Error("Child component index out of bounds");this.mh&&this.Ja||(this.mh={},this.Ja=[]);if(a.getParent()==this){var e=a.getId();this.mh[e]=a;vs(this.Ja,a)}else ct(this.mh,a.getId(),a);a.Ea(this);Bs(this.Ja,b,0,a);a.V&&this.V&&a.getParent()==this?(c=this.J(),b=c.childNodes[b]||null,b!=a.b()&&c.insertBefore(a.b(),b)):c?(this.D||this.g(),b=this.pa(b+1),a.GN(this.J(),b?b.D:null)):
this.V&&!a.V&&a.D&&a.D.parentNode&&1==a.D.parentNode.nodeType&&a.B()};q.J=function(){return this.D};q.Eh=function(){null==this.Ii&&(this.Ii=mA(this.V?this.D:this.Z.K().body));return this.Ii};q.po=function(a){if(this.V)throw Error(hc);this.Ii=a};q.Ad=function(){return!!this.Ja&&0!=this.Ja.length};q.Xa=function(){return this.Ja?this.Ja.length:0};q.nia=function(){var a=[];this.Ia(function(b){a.push(b.getId())});return a};
q.Sk=function(a){if(this.mh&&a){var b=this.mh;a=(null!==b&&a in b?b[a]:void 0)||null}else a=null;return a};q.pa=function(a){return this.Ja?this.Ja[a]||null:null};q.Ia=function(a,b){this.Ja&&D(this.Ja,a,b)};q.De=function(a){return this.Ja&&a?ds(this.Ja,a):-1};q.removeChild=function(a,b){if(a){var c=v(a)?a:a.getId();a=this.Sk(c);c&&a&&(bt(this.mh,c),vs(this.Ja,a),b&&(a.Pa(),a.D&&Ey(a.D)),a.Ea(null))}if(!a)throw Error("Child is not in parent component");return a};
q.Z3=function(a,b){return this.removeChild(this.pa(a),b)};q.Ke=function(a){for(var b=[];this.Ad();)b.push(this.Z3(0,a));return b};var yC=function(a,b){this.D=a;this.Z=b};yC.prototype.Dya=function(a){if(a){this.qq||(this.qq=[]);a=this.Z.Pc(this.Z.K().body);for(var b=0;b<a.length;b++){var c=a[b];c==this.D||VB(c,Hi)||(T(c,Hi,!0),this.qq.push(c))}}else if(this.qq){for(b=0;b<this.qq.length;b++)UB(this.qq[b],Hi);this.qq=null}};var zC=function(a,b){J.call(this);this.Ga=new pC(this);this.vr(a||null);b&&this.Ne(b)};B(zC,J);q=zC.prototype;q.D=null;q.hT=!0;q.fT=null;q.gT=null;q.Cn=!1;q.LBa=!1;q.d1=-1;q.KL=-1;q.h_=!1;q.mga=!0;q.Va=tp;q.getType=function(){return this.Va};q.Ne=function(a){this.Va=a};q.b=function(){return this.D};q.vr=function(a){this.bI();this.D=a};q.pw=function(a){this.bI();this.hT=a};q.k6=function(a){this.bI();this.h_=a};q.WD=function(a,b){this.Mr=a;this.sq=b};q.A=function(){return this.Ga};
q.bI=function(){if(this.Cn)throw Error("Can not change this state of the popup while showing.");};q.N=function(){return this.Cn};q.$A=function(){return this.Cn||150>A()-this.KL};q.C=function(a){this.Mr&&this.Mr.stop();this.sq&&this.sq.stop();a?this.$P():this.tq()};q.ha=Qq;
q.$P=function(){if(!this.Cn&&this.OM()){if(!this.D)throw Error("Caller must call setElement before trying to show the popup");this.ha();var a=fy(this.D);this.h_&&this.Ga.listen(a,Ij,this.zta,!0);if(this.hT)if(this.Ga.listen(a,wk,this.fC,!0),E){try{var b=a.activeElement}catch(e){}for(;b&&b.nodeName==Uc;){try{var c=My(b)}catch(e){break}a=c;b=a.activeElement}this.Ga.listen(a,wk,this.fC,!0);this.Ga.listen(a,Fg,this.x2)}else this.Ga.listen(a,rf,this.x2);this.Va==tp?this.WP():this.Va==Ck&&this.ha();this.Cn=
!0;this.d1=A();this.KL=-1;this.Mr?(Vu(this.Mr,nh,this.Hc,!1,this),this.Mr.play()):this.Hc()}};q.tq=function(a){if(!this.Cn||!this.tta(a))return!1;this.Ga&&this.Ga.removeAll();this.Cn=!1;this.KL=A();this.sq?(Vu(this.sq,nh,cr(this.yU,a),!1,this),this.sq.play()):this.yU(a);return!0};q.yU=function(a){this.Va==tp?this.LBa?M(this.wA,0,this):this.wA():this.Va==Ck&&this.Tsa();this.Ng(a)};q.WP=function(){this.D.style.visibility=lq;R(this.D,!0)};q.wA=function(){this.D.style.visibility=Hi;R(this.D,!1)};
q.Tsa=function(){this.D.style.top=Ga};q.OM=function(){return this.dispatchEvent(pf)};q.Hc=function(){this.dispatchEvent(In)};q.tta=function(a){return this.dispatchEvent({type:of,target:a})};q.Ng=function(a){this.dispatchEvent({type:Ii,target:a})};q.fC=function(a){a=a.target;Ly(this.D,a)||this.x0(a)||!this.P0(a)||this.NP()||this.tq(a)};q.zta=function(a){27==a.keyCode&&this.tq(a.target)&&(a.preventDefault(),a.stopPropagation())};
q.x2=function(a){if(this.mga){var b=fy(this.D);if("undefined"!=typeof document.activeElement){if(a=b.activeElement,!a||Ly(this.D,a)||"BODY"==a.tagName)return}else if(a.target!=b)return;this.NP()||this.tq()}};q.x0=function(a){return ks(this.fT||[],function(b){return a===b||Ly(b,a)})};q.P0=function(a){return this.gT?Ly(this.gT,a):!0};q.NP=function(){return 150>A()-this.d1};q.o=function(){zC.c.o.call(this);this.Ga.dispose();G(this.Mr);G(this.sq);delete this.D;delete this.Ga;delete this.fT};var AC=function(a,b){V.call(this,b);this.PEa=!!a;this.Gq=null;this.z4=eC({Ysa:this.$C},this)};B(AC,V);q=AC.prototype;q.vh=null;q.Cb=!1;q.Te=null;q.Vd=null;q.Kc=null;q.tm=!1;q.S=function(){return"goog-modalpopup"};q.Rk=function(){return this.Te};q.g=function(){AC.c.g.call(this);var a=this.b();C(a);var b=jr(this.S()).split(" ");iC(a,b);Ty(a,!0);R(a,!1);this.G1();this.ZU()};
q.G1=function(){this.PEa&&!this.Vd&&(this.Vd=this.j().g(Uc,{frameborder:0,style:"border:0;vertical-align:bottom;",src:nC}),this.Vd.className=this.S()+"-bg",R(this.Vd,!1),jA(this.Vd,0));this.Te||(this.Te=this.j().g(d,this.S()+"-bg"),R(this.Te,!1))};q.ZU=function(){this.Kc||(this.Kc=this.j().createElement(td),R(this.Kc,!1),Ty(this.Kc,!0),this.Kc.style.position=ke)};q.x7=function(){this.tm=!0;try{this.Kc.focus()}catch(a){}M(this.Xv,0,this)};q.Xv=function(){this.tm=!1};
q.Jwa=function(){C(!!this.Te,"Background element must not be null.");this.Vd&&By(this.Vd,this.b());By(this.Te,this.b())};q.tc=function(a){return!!a&&a.tagName==d};q.Ka=function(a){AC.c.Ka.call(this,a);a=jr(this.S()).split(" ");iC(C(this.b()),a);this.G1();this.ZU();Ty(this.b(),!0);R(this.b(),!1)};q.B=function(){this.Jwa();AC.c.B.call(this);Cy(this.Kc,this.b());this.vh=new rC(this.j().K());this.A().listen(this.vh,Jh,this.Lta);this.jO(!1)};
q.Pa=function(){this.N()&&this.C(!1);G(this.vh);AC.c.Pa.call(this);Ey(this.Vd);Ey(this.Te);Ey(this.Kc)};q.C=function(a){C(this.V,"ModalPopup must be rendered first.");a!=this.Cb&&(this.Vn&&this.Vn.stop(),this.fp&&this.fp.stop(),this.Un&&this.Un.stop(),this.ep&&this.ep.stop(),this.V&&this.jO(a),a?this.$P():this.tq())};q.jO=function(a){this.a2||(this.a2=new yC(this.Ta(),this.Z));this.a2.Dya(a)};q.WD=function(a,b,c,e){this.Vn=a;this.Un=b;this.fp=c;this.ep=e};
q.$P=function(){if(this.dispatchEvent(pf)){try{this.Gq=this.j().K().activeElement}catch(a){}this.$C();this.ha();this.A().listen(this.j().getWindow(),Vm,this.$C).listen(this.j().getWindow(),ml,this.z4);this.S7(!0);this.focus();this.Cb=!0;this.Vn&&this.fp?(Vu(this.Vn,nh,this.Hc,!1,this),this.fp.play(),this.Vn.play()):this.Hc()}};
q.tq=function(){this.dispatchEvent(of)&&(this.A().ta(this.j().getWindow(),Vm,this.$C).ta(this.j().getWindow(),ml,this.z4),this.Cb=!1,this.Un&&this.ep?(Vu(this.Un,nh,this.Ng,!1,this),this.ep.play(),this.Un.play()):this.Ng(),this.pxa())};q.pxa=function(){try{var a=this.j(),b=a.K().body,c=a.K().activeElement||b;if(!this.Gq||this.Gq==b){this.Gq=null;return}(c==b||a.contains(this.b(),c))&&this.Gq.focus()}catch(e){}this.Gq=null};
q.S7=function(a){this.Vd&&R(this.Vd,a);this.Te&&R(this.Te,a);R(this.b(),a);R(this.Kc,a)};q.Hc=function(){this.dispatchEvent(In)};q.Ng=function(){this.S7(!1);this.dispatchEvent(Ii)};q.N=function(){return this.Cb};q.focus=function(){this.mX()};
q.$C=function(){this.Vd&&R(this.Vd,!1);this.Te&&R(this.Te,!1);var a=this.j().K(),b=oy(ry(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.Vd&&(R(this.Vd,!0),gA(this.Vd,c,a));this.Te&&(R(this.Te,!0),gA(this.Te,c,a))};
q.ha=function(){var a=this.j().K(),b=ry(a)||window;if(Pz(this.b())==Hh)var c=a=0;else c=this.j().Df(),a=c.x,c=c.y;var e=hA(this.b());b=oy(b);a=Math.max(a+b.width/2-e.width/2,0);c=Math.max(c+b.height/2-e.height/2,0);Rz(this.b(),a,c);Rz(this.Kc,a,c)};q.Lta=function(a){this.tm?this.Xv():a.target==this.Kc&&M(this.mX,0,this)};q.mX=function(){try{E&&this.j().K().body.focus(),this.b().focus()}catch(a){}};
q.o=function(){G(this.Vn);this.Vn=null;G(this.Un);this.Un=null;G(this.fp);this.fp=null;G(this.ep);this.ep=null;AC.c.o.call(this)};var CC=function(a,b,c){AC.call(this,b,c);this.se=a||"modal-dialog";this.Wb=BC()};B(CC,AC);q=CC.prototype;q.hI=!0;q.Eu=!0;q.vM=!0;q.Ry=!0;q.Yx=.5;q.Xc="";q.uc=null;q.ud=null;q.we=!1;q.Re=null;q.le=null;q.xE=null;q.Ud=null;q.Pb=null;q.qd=null;q.Mv=Kg;q.S=function(){return this.se};q.fb=function(a){this.Xc=a;this.le&&Ny(this.le,a)};q.Pd=function(){return this.Xc};q.bg=function(a){this.Ew(sx(a))};q.Ew=function(a){this.uc=a;this.Pb&&Vx(this.Pb,a)};q.zb=function(){return null!=this.uc?px(this.uc):""};
q.Zk=function(){return this.Mv};q.jP=function(a){this.Mv=a};q.eo=function(){this.b()||this.render()};q.J=function(){this.eo();return this.Pb};q.en=function(){this.eo();return this.Re};q.Vka=function(){this.eo();return this.le};q.pu=function(){this.eo();return this.Ud};q.jia=function(){this.eo();return this.qd};q.Dj=function(){this.eo();return this.b()};q.Rk=function(){this.eo();return CC.c.Rk.call(this)};q.rO=function(a){this.Yx=a;this.b()&&(a=this.Rk())&&jA(a,this.Yx)};
q.C6=function(a){a!=this.vM&&this.D6(a)};q.D6=function(a){this.vM=a;if(this.V){var b=this.j(),c=this.Rk(),e=this.Vd;a?(e&&b.Tu(e,this.b()),b.Tu(c,this.b())):(b.removeNode(e),b.removeNode(c))}this.N()&&this.jO(a)};q.sia=function(){return this.S()};q.jza=function(a){this.Ry=a;this.AO(a&&this.V)};q.sea=function(){return new tC(this.b(),this.Re)};
q.AO=function(a){var b=jr(this.se+"-title-draggable").split(" ");this.b()&&(a?iC(C(this.Re),b):kC(C(this.Re),b));a&&!this.ud?(this.ud=this.sea(),iC(C(this.Re),b),I(this.ud,Uo,this.zO,!1,this)):!a&&this.ud&&(this.ud.dispose(),this.ud=null)};
q.g=function(){CC.c.g.call(this);var a=this.b();C(a,"getElement() returns null");var b=this.j();this.Re=b.g(d,this.se+"-title",this.le=b.g(td,{className:this.se+"-title-text",id:this.getId()},this.Xc),this.Ud=b.g(td,this.se+"-title-close"));zy(a,this.Re,this.Pb=b.g(d,this.se+Ia),this.qd=b.g(d,this.se+"-buttons"));SB(this.le,"heading");SB(this.Ud,vf);Ty(this.Ud,!0);ZB(this.Ud,fc);this.xE=this.le.id;SB(a,this.Zk());T(a,Mj,this.xE||"");this.uc&&Vx(this.Pb,this.uc);R(this.Ud,this.Eu);this.Wb&&this.Wb.cG(this.qd);
R(this.qd,!!this.Wb);this.rO(this.Yx)};
q.Ka=function(a){CC.c.Ka.call(this,a);a=this.b();C(a,"The DOM element for dialog cannot be null.");var b=this.se+Ia;this.Pb=iy(null,b,a)[0];this.Pb||(this.Pb=this.j().g(d,b),this.uc&&Vx(this.Pb,this.uc),a.appendChild(this.Pb));b=this.se+"-title";var c=this.se+"-title-text",e=this.se+"-title-close";(this.Re=iy(null,b,a)[0])?(this.le=iy(null,c,this.Re)[0],this.Ud=iy(null,e,this.Re)[0]):(this.Re=this.j().g(d,b),a.insertBefore(this.Re,this.Pb));this.le?(this.Xc=Vy(this.le),this.le.id||(this.le.id=this.getId())):
(this.le=ty(td,{className:c,id:this.getId()}),this.Re.appendChild(this.le));this.xE=this.le.id;T(a,Mj,this.xE||"");this.Ud||(this.Ud=this.j().g(td,e),this.Re.appendChild(this.Ud));R(this.Ud,this.Eu);b=this.se+"-buttons";(this.qd=iy(null,b,a)[0])?(this.Wb=new DC(this.j()),this.Wb.R(this.qd)):(this.qd=this.j().g(d,b),a.appendChild(this.qd),this.Wb&&this.Wb.cG(this.qd),R(this.qd,!!this.Wb));this.rO(this.Yx)};
q.B=function(){CC.c.B.call(this);this.A().listen(this.b(),Ij,this.On).listen(this.b(),Jj,this.On);this.A().listen(this.qd,Kf,this.uta);this.AO(this.Ry);this.A().listen(this.Ud,Kf,this.nua);var a=this.b();C(a,"The DOM element for dialog cannot be null");SB(a,this.Zk());""!==this.le.id&&T(a,Mj,this.le.id);this.vM||this.D6(!1)};q.Pa=function(){this.N()&&this.C(!1);this.AO(!1);CC.c.Pa.call(this)};q.C=function(a){a!=this.N()&&(this.V||this.render(),CC.c.C.call(this,a))};
q.Hc=function(){CC.c.Hc.call(this);this.dispatchEvent(se)};q.Ng=function(){CC.c.Ng.call(this);this.dispatchEvent(re);this.we&&this.dispose()};q.zO=function(){var a=this.j().K(),b=oy(ry(a)||window),c=Math.max(a.body.scrollWidth,b.width);a=Math.max(a.body.scrollHeight,b.height);var e=hA(this.b());Pz(this.b())==Hh?this.ud.VO(new Jz(0,0,Math.max(0,b.width-e.width),Math.max(0,b.height-e.height))):this.ud.VO(new Jz(0,0,c-e.width,a-e.height))};q.nua=function(){this.aK()};
q.aK=function(){if(this.Eu){var a=this.Wb,b=a&&a.ci;b?(a=a.get(b),this.dispatchEvent(new EC(b,a))&&this.C(!1)):this.C(!1)}};q.NO=function(a){this.Eu=a;this.Ud&&R(this.Ud,this.Eu)};q.HO=function(a){this.hI=a};q.Ni=function(a){this.we=a};q.fJ=function(){return this.we};q.o=function(){this.qd=this.Ud=null;CC.c.o.call(this)};q.Ph=function(a){this.Wb=a;this.qd&&(this.Wb?this.Wb.cG(this.qd):Vx(this.qd,Fx),R(this.qd,!!this.Wb))};
q.uta=function(a){if((a=this.aha(a.target))&&!a.disabled){a=a.name;var b=this.Wb.get(a);this.dispatchEvent(new EC(a,b))&&this.C(!1)}};q.aha=function(a){for(;null!=a&&a!=this.qd;){if(a.tagName==Nb)return a;a=a.parentNode}return null};
q.On=function(a){var b=!1,c=!1,e=this.Wb,f=a.target;if(a.type==Ij)if(this.hI&&27==a.keyCode){var g=e&&e.ci;f=f.tagName==sd&&!f.disabled;g&&!f?(c=!0,b=e.get(g),b=this.dispatchEvent(new EC(g,b))):f||(b=!0)}else 9==a.keyCode&&a.shiftKey&&f==this.b()&&this.x7();else if(13==a.keyCode){if(f.tagName==Nb&&!f.disabled)g=f.name;else if(f==this.Ud)this.aK();else if(e){var h=e.qj,l=h&&e.Cj(h);f=(f.tagName==Id||f.tagName==sd||"A"==f.tagName)&&!f.disabled;!l||l.disabled||f||(g=h)}g&&e&&(c=!0,b=this.dispatchEvent(new EC(g,
String(e.get(g)))))}else f==this.Ud&&32==a.keyCode&&this.aK();if(b||c)a.stopPropagation(),a.preventDefault();b&&this.C(!1)};var EC=function(a,b){this.type=Lg;this.key=a;this.caption=b};B(EC,H);var DC=function(a){this.Z=a||N();L.call(this)},FC,GC;B(DC,L);q=DC.prototype;q.se="goog-buttonset";q.qj=null;q.D=null;q.ci=null;q.clear=function(){L.prototype.clear.call(this);this.qj=this.ci=null};q.set=function(a,b,c,e){L.prototype.set.call(this,a,b);c&&(this.qj=a);e&&(this.ci=a);return this};
q.Gd=function(a,b,c){return this.set(a.key,a.caption,b,c)};q.cG=function(a){this.D=a;this.render()};q.render=function(){if(this.D){Vx(this.D,Fx);var a=N(this.D);this.forEach(function(b,c){b=a.g(Nb,{name:c},b);c==this.qj&&(b.className=this.se+Ja);this.D.appendChild(b)},this)}};q.R=function(a){if(a&&1==a.nodeType){this.D=a;a=gy(Nb,this.D);for(var b=0,c,e,f;c=a[b];b++)if(e=c.name||c.id,f=Vy(c)||c.value,e){var g=0==b;this.set(e,f,g,c.name==zf);g&&U(c,this.se+Ja)}}};q.b=function(){return this.D};q.j=function(){return this.Z};
q.Cj=function(a){for(var b=this.xX(),c=0,e;e=b[c];c++)if(e.name==a||e.id==a)return e;return null};q.xX=function(){return gy(Nb,C(this.D))};q.sya=function(a){for(var b=this.xX(),c=0,e;e=b[c];c++)e.disabled=!a};
var HC={PR:Uk,No:zf,eNa:"yes",vJa:"no",LKa:"save",jGa:sg},IC={key:Uk,caption:"Aceptar"},JC={key:zf,caption:bc},KC={key:"yes",caption:"S\u00ed"},LC={key:"no",caption:"No"},MC={key:"save",caption:Sc},NC={key:sg,caption:"Continuar"},OC=function(){return(new DC).Gd(IC,!0,!0)},BC=function(){return(new DC).Gd(IC,!0).Gd(JC,!1,!0)};"undefined"!=typeof document&&(FC=OC(),GC=BC(),(new DC).Gd(KC,!0).Gd(LC,!1,!0),(new DC).Gd(KC).Gd(LC,!0).Gd(JC,!1,!0),(new DC).Gd(NC).Gd(MC).Gd(JC,!0,!0));var PC=function(a,b,c,e){J.call(this);this.Z=c||N();this.Gp=a;this.Wf=[];this.lDa=b?b:0;this.c$=!!e;this.pj()};B(PC,J);q=PC.prototype;
q.pj=function(){this.Gp.className="goog-tabpane";var a=this.qia();this.We=this.Z.g("UL",{className:"goog-tabpane-tabs",tabIndex:"0"});this.Oc=this.Z.g(d,"goog-tabpane-cont");this.Gp.appendChild(this.Oc);var b=as(this.Gp);switch(this.lDa){case 0:b.insertBefore(this.We,this.Oc);b.insertBefore(this.JU(),this.Oc);U(b,"goog-tabpane-top");break;case 1:b.appendChild(this.We);b.appendChild(this.JU());U(b,"goog-tabpane-bottom");break;case 2:b.insertBefore(this.We,this.Oc);U(b,"goog-tabpane-left");break;case 3:b.insertBefore(this.We,
this.Oc);U(b,"goog-tabpane-right");break;default:throw Error("Invalid tab location");}this.We.tabIndex=0;I(this.We,this.c$?wk:Kf,this.hC,!1,this);I(this.We,Ij,this.iC,!1,this);this.Jea(a)};
q.JU=function(){var a={clear:"both",height:"0",overflow:Hi};if(yr(".goog-tabpane-clear","<"))throw Error("Selector does not allow '<', got: .goog-tabpane-clear");var b=".goog-tabpane-clear".replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(b))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: .goog-tabpane-clear");a:{for(var c={"(":")","[":"]"},e=[],f=0;f<b.length;f++){var g=b[f];if(c[g])e.push(c[g]);else if(Zs(c,g)&&
e.pop()!=g){b=!1;break a}}b=0==e.length}if(!b)throw Error("() and [] in selector must be balanced, got: .goog-tabpane-clear");a instanceof Zw||(a=cx(a));a=".goog-tabpane-clear{"+$w(a)+"}";a=(new ix).Rj(a);b=N(void 0);c=b.K();E&&c.createStyleSheet?(b=c.createStyleSheet(),lA(b,a)):(c=b.ri("HEAD")[0],c||(e=b.ri("BODY")[0],c=b.g("HEAD"),e.parentNode.insertBefore(c,e)),e=b.g("STYLE"),lA(e,a),b.appendChild(c,e));return this.Z.g(d,"goog-tabpane-clear")};
q.o=function(){PC.c.o.call(this);bv(this.We,this.c$?wk:Kf,this.hC,!1,this);bv(this.We,Ij,this.iC,!1,this);delete this.Gp;this.Oc=this.We=null};q.qia=function(){for(var a=[],b=Iy(this.Gp);b;)a.push(b),b=Jy(b);return a};q.Jea=function(a){for(var b,c=0;b=a[c];c++)this.rs(new QC(b))};
q.rs=function(a,b){a.ea&&a.ea!=this&&a.ea instanceof PC&&a.ea.zwa(a);var c=this.Wf.length;u(b)&&b!=c?(c=b,this.Wf.splice(c,0,a),this.We.insertBefore(a.Lk,this.We.childNodes[c])):(this.Wf.push(a),this.We.appendChild(a.Lk));a.Dw(this,c);this.he||(this.he=a,this.dispatchEvent(new RC(Cf,this,this.he)));this.Oc.appendChild(a.Oc);a.GP(a==this.he);for(b=c+1;a=this.Wf[b];b++)a.yn=b};
q.zwa=function(a){Oq(a)&&(a=this.Wf[a]);this.Wf.splice(a.yn,1);a.Dw(null);Ey(a.Lk);Ey(a.Oc);for(var b=0;a=this.Wf[b];b++)a.Dw(this,b)};q.Yk=function(a){return this.Wf[a]};q.oP=function(a){!a.isEnabled()||this.he&&a==this.he||(this.he.GP(!1),a.GP(!0),this.he=a,this.dispatchEvent(new RC(Cf,this,this.he)))};q.kf=function(a){0<=a&&a<this.Wf.length&&this.oP(this.Wf[a])};q.yg=function(){return this.he?this.he.yn:-1};q.J=function(){return this.Oc||null};q.b=function(){return this.Gp||null};
q.hC=function(a){for(var b=a.target;b!=this.We;){if("LI"==b.tagName){var c;for(c=0;b=b.previousSibling;c++);this.kf(c);break}b=b.parentNode}a.preventDefault()};q.iC=function(a){if(!(a.altKey||a.metaKey||a.ctrlKey))switch(a.keyCode){case 37:a=this.he.yn-1;this.kf(0>a?this.Wf.length-1:a);break;case 39:a=this.he.yn+1;this.kf(a>=this.Wf.length?0:a);break;case 36:this.kf(0);break;case 35:this.kf(this.Wf.length-1)}};
var QC=function(a,b,c){var e=null;if(v(a)&&!u(b))e=a;else if(b){e=b;var f=a}else if(a){if(b=Iy(a))e=Vy(b),b.parentNode.removeChild(b);f=a}this.Z=c||N();this.Oc=f||this.Z.g(d);this.Lk=this.Z.g("LI",null,e);this.yn=this.ea=null;this.cc=!0};q=QC.prototype;q.Pd=function(){return Vy(this.Lk)};q.fb=function(a){Ny(this.Lk,a)};q.en=function(){return this.Lk};q.J=function(){return this.Oc};q.getParent=function(){return this.ea};q.select=function(){this.ea&&this.ea.oP(this)};
q.U=function(a){this.cc=a;this.Lk.className=a?ti:"goog-tabpane-tab-disabled"};q.isEnabled=function(){return this.cc};q.GP=function(a){this.isEnabled()&&(this.Oc.style.display=a?"":Nk,this.Lk.className=a?"goog-tabpane-tab-selected":ti)};q.Dw=function(a,b){this.ea=a;this.yn=u(b)?b:null};var RC=function(a,b,c){H.call(this,a,b);this.page=c};B(RC,H);var SC=function(a,b){J.call(this);a&&this.pd(a,b)};B(SC,J);q=SC.prototype;q.D=null;q.jB=null;q.DL=null;q.kB=null;q.Gg=-1;q.Vj=-1;q.YF=!1;
var TC={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},UC={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},VC=E||Dt||Gt&&Xt("525"),WC=It&&Ft;q=SC.prototype;
q.Ah=function(a){(Gt||Dt)&&(17==this.Gg&&!a.ctrlKey||18==this.Gg&&!a.altKey||It&&91==this.Gg&&!a.metaKey)&&this.w4();-1==this.Gg&&(a.ctrlKey&&17!=a.keyCode?this.Gg=17:a.altKey&&18!=a.keyCode?this.Gg=18:a.metaKey&&91!=a.keyCode&&(this.Gg=91));VC&&!rB(a.keyCode,this.Gg,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey)?this.handleEvent(a):(this.Vj=qB(a.keyCode),WC&&(this.YF=a.altKey))};q.w4=function(){this.Vj=this.Gg=-1};q.Qma=function(a){this.w4();this.YF=a.altKey};
q.handleEvent=function(a){var b=a.bd,c=b.altKey;if(E&&a.type==Jj){var e=this.Vj;var f=13!=e&&27!=e?b.keyCode:0}else(Gt||Dt)&&a.type==Jj?(e=this.Vj,f=0<=b.charCode&&63232>b.charCode&&pB(e)?b.charCode:0):Ct&&!Gt?(e=this.Vj,f=pB(e)?b.keyCode:0):(e=b.keyCode||this.Vj,f=b.charCode||0,WC&&(c=this.YF),It&&63==f&&224==e&&(e=191));var g=e=qB(e);e?63232<=e&&e in TC?g=TC[e]:25==e&&a.shiftKey&&(g=9):b.keyIdentifier&&b.keyIdentifier in UC&&(g=UC[b.keyIdentifier]);a=g==this.Gg;this.Gg=g;b=new XC(g,f,a,b);b.altKey=
c;this.dispatchEvent(b)};q.b=function(){return this.D};q.pd=function(a,b){this.kB&&this.detach();this.D=a;this.jB=I(this.D,Jj,this,b);this.DL=I(this.D,Ij,this.Ah,b,this);this.kB=I(this.D,Kj,this.Qma,b,this)};q.detach=function(){this.jB&&(cv(this.jB),cv(this.DL),cv(this.kB),this.kB=this.DL=this.jB=null);this.D=null;this.Vj=this.Gg=-1};q.o=function(){SC.c.o.call(this);this.detach()};var XC=function(a,b,c,e){Ju.call(this,e);this.type=Hj;this.keyCode=a;this.charCode=b;this.repeat=c};B(XC,Ju);var YC=function(){};YC.prototype.ha=function(){};var ZC=function(a,b,c){this.element=a;this.Dk=b;this.Jua=c};B(ZC,YC);ZC.prototype.ha=function(a,b,c){NB(this.element,this.Dk,a,b,void 0,c,this.Jua)};var $C=function(a,b,c,e){ZC.call(this,a,b);this.Fn=c?5:0;this.aN=e||void 0};B($C,ZC);$C.prototype.sja=function(){return this.Fn};$C.prototype.zr=function(a){this.Fn=a};$C.prototype.ha=function(a,b,c,e){var f=NB(this.element,this.Dk,a,b,null,c,10,e,this.aN);if(f&496){var g=this.Lx(f,this.Dk);b=this.Lx(f,b);f=NB(this.element,g,a,b,null,c,10,e,this.aN);f&496&&(g=this.Lx(f,g),b=this.Lx(f,b),NB(this.element,g,a,b,null,c,this.Fn,e,this.aN))}};$C.prototype.Lx=function(a,b){a&48&&(b^=4);a&192&&(b^=1);return b};var aD=function(a,b){this.Ck=a instanceof $x?a:new $x(a,b)};B(aD,YC);aD.prototype.ha=function(a,b,c,e){C(a);var f=fy(a);var g=f.body;f=f.documentElement;f=new $x(g.scrollLeft||f.scrollLeft,g.scrollTop||f.scrollTop);g=this.Ck.x+f.x;f=this.Ck.y+f.y;var h=KB(a);g-=h.x;f-=h.y;MB(new $x(g,f),a,b,c,null,null,e)};var bD=function(a,b,c,e){$C.call(this,a,b,c||e);(c||e)&&this.zr(65|(e?32:132))};B(bD,$C);var cD=function(a,b){aD.call(this,a,b)};B(cD,aD);cD.prototype.Fn=0;cD.prototype.zr=function(a){this.Fn=a};cD.prototype.ha=function(a,b,c,e){var f=Tz(a);f=Xz(f);var g=N(a).OX();g=new $x(this.Ck.x+g.scrollLeft,this.Ck.y+g.scrollTop);var h=b,l=MB(g,a,h,c,f,10,e);if(0!=(l&496)){if(l&16||l&32)h^=4;if(l&64||l&128)h^=1;l=MB(g,a,h,c,f,10,e);0!=(l&496)&&MB(g,a,b,c,f,this.Fn,e)}};var eD=function(a,b){if(!a)throw Error("Invalid class name "+a);if(!Uq(b))throw Error("Invalid decorator function "+b);dD[a]=b},fD={},dD={};var gD=function(a){this.sm=a};Rq(gD);var hD=function(a,b){a=new a;a.S=function(){return b};return a};q=gD.prototype;q.wd=function(){return this.sm};q.aI=function(a,b){a&&(a.tabIndex=b?0:-1)};q.g=function(a){return a.j().g(d,this.Zd(a).join(" "))};q.J=function(a){return a};q.tc=function(a){return a.tagName==d};q.R=function(a,b){b.id&&a.FD(b.id);var c=this.S(),e=!1,f=fC(b);f&&D(f,function(b){b==c?e=!0:b&&this.vP(a,b,c)},this);e||U(b,c);this.wV(a,this.J(b));return b};
q.vP=function(a,b,c){b==c+Ka?a.U(!1):b==c+"-horizontal"?a.setOrientation(Li):b==c+"-vertical"&&a.setOrientation($p)};q.wV=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.Yt(c);f&&(f.Na(c),a.isEnabled()||f.U(!1),a.ca(f),f.R(c))}else c.nodeValue&&""!=jr(c.nodeValue)||b.removeChild(c);c=e}}};q.Yt=function(a){a:{C(a);a=fC(a);for(var b=0,c=a.length;b<c;b++){var e=a[b];if(e=e in dD?dD[e]():null){a=e;break a}}a=null}return a};
q.Bd=function(a){a=a.b();C(a,"The container DOM element cannot be null.");oA(a,!0,Ft);E&&(a.hideFocus=!0);var b=this.wd();b&&SB(a,b)};q.Zb=function(a){return a.b()};q.S=function(){return"goog-container"};q.Zd=function(a){var b=this.S(),c=[b,a.Sc==Li?b+"-horizontal":b+"-vertical"];a.isEnabled()||c.push(b+Ka);return c};q.JX=function(){return $p};var iD=function(){},jD;Rq(iD);var kD=function(a,b){a=new a;a.S=function(){return b};return a},lD={button:"pressed",checkbox:Hf,menuitem:pn,menuitemcheckbox:Hf,menuitemradio:Hf,radio:Hf,tab:pn,treeitem:pn};q=iD.prototype;q.wd=function(){};q.g=function(a){return a.j().g(d,this.Zd(a).join(" "),a.zb())};q.J=function(a){return a};q.Hp=function(a,b,c){if(a=a.b?a.b():a){var e=[b];E&&!Xt("7")&&(e=this.TI(fC(a),b),e.push(b));(c?iC:kC)(a,e)}};q.rW=function(a,b,c){this.Hp(a,b,c)};q.tc=function(){return!0};
q.R=function(a,b){b.id&&a.FD(b.id);var c=this.J(b);c&&c.firstChild?a.tr(c.firstChild.nextSibling?ys(c.childNodes):c.firstChild):a.tr(null);var e=0,f=this.S(),g=this.If(),h=!1,l=!1,p=!1,r=ys(fC(b));D(r,function(a){h||a!=f?l||a!=g?e|=this.fA(a):l=!0:(h=!0,g==f&&(l=!0));1==this.fA(a)&&(as(c),Sy(c)&&Ty(c,!1))},this);a.wP(e);h||(r.push(f),g==f&&(l=!0));l||r.push(g);(a=a.uh)&&r.push.apply(r,a);if(E&&!Xt("7")){var z=this.TI(r);0<z.length&&(r.push.apply(r,z),p=!0)}h&&l&&!a&&!p||gC(b,r.join(" "));return b};
q.Bd=function(a){a.Eh()&&this.po(a.b(),!0);a.isEnabled()&&this.Me(a,a.N())};q.pO=function(a,b){if(b=b||this.wd()){C(a,Ld);var c=a.getAttribute(Ym)||null;b!=c&&SB(a,b)}};q.H5=function(a,b){C(a);C(b);var c=a.Tx;null!=c&&this.oO(b,c);a.N()||T(b,Hi,!a.N());a.isEnabled()||this.Wi(b,1,!a.isEnabled());a.pb(8)&&this.Wi(b,8,a.Rd());a.pb(16)&&this.Wi(b,16,a.bf());a.pb(64)&&this.Wi(b,64,a.Qd())};q.oO=function(a,b){ZB(a,b)};q.rr=function(a,b){oA(a,!b,!E&&!Ct)};q.po=function(a,b){this.Hp(a,this.If()+"-rtl",b)};
q.Uj=function(a){var b;return a.pb(32)&&(b=a.Zb())?Sy(b):!1};q.Me=function(a,b){var c;if(a.pb(32)&&(c=a.Zb())){if(!b&&a.VA()){try{c.blur()}catch(e){}a.VA()&&a.af(null)}Sy(c)!=b&&Ty(c,b)}};q.C=function(a,b){R(a,b);a&&T(a,Hi,!b)};q.setState=function(a,b,c){var e=a.b();if(e){var f=this.Xm(b);f&&this.Hp(a,f,c);this.Wi(e,b,c)}};q.Wi=function(a,b,c){jD||(jD={1:Mg,8:pn,16:Hf,64:uh});C(a,Ld);b=jD[b];var e=a.getAttribute(Ym)||null;e&&(e=lD[e]||b,b=b==Hf||b==pn?e:b);b&&T(a,b,c)};
q.eb=function(a,b){var c=this.J(a);c&&(Ay(c),b&&(v(b)?Ny(c,b):(a=function(a){if(a){var b=fy(c);c.appendChild(v(a)?b.createTextNode(a):a)}},x(b)?D(b,a):!Tq(b)||"nodeType"in b?a(b):D(ys(b),a))))};q.Zb=function(a){return a.b()};q.S=function(){return bi};q.eY=function(){return[]};q.If=function(){return this.S()};q.Zd=function(a){var b=this.S(),c=[b],e=this.If();e!=b&&c.push(e);b=this.tia(a.getState());c.push.apply(c,b);(a=a.uh)&&c.push.apply(c,a);E&&!Xt("7")&&c.push.apply(c,this.TI(c));return c};
q.TI=function(a,b){var c=[];b&&(a=xs(a,[b]));D(this.eY(),function(e){!ls(e,cr(qs,a))||b&&!qs(e,b)||c.push(e.join("_"))});return c};q.tia=function(a){for(var b=[];a;){var c=a&-a;b.push(this.Xm(c));a&=~c}return b};q.Xm=function(a){this.ky||this.IU();return this.ky[a]};q.fA=function(a){this.C8||this.Rea();a=parseInt(this.C8[a],10);return isNaN(a)?0:a};
q.IU=function(){var a=this.If(),b=!yr(a.replace(/\xa0|\s/g," ")," ");C(b,"ControlRenderer has an invalid css class: '"+a+"'");this.ky={1:a+Ka,2:a+"-hover",4:a+"-active",8:a+"-selected",16:a+"-checked",32:a+"-focused",64:a+"-open"}};q.Rea=function(){this.ky||this.IU();this.C8=ft(this.ky)};var mD=function(a,b,c){V.call(this,c);if(!b){b=this.constructor;for(var e;b;){e=Yq(b);if(e=fD[e])break;b=b.c?b.c.constructor:null}b=e?Uq(e.H)?e.H():new e:null}this.M=b;this.tr(u(a)?a:null);this.Tx=null};B(mD,V);q=mD.prototype;q.uc=null;q.oa=0;q.Zw=39;q.Wx=255;q.mE=0;q.Cb=!0;q.uh=null;q.kn=!0;q.Qx=!1;q.Mv=null;q.ED=function(a){this.V&&a!=this.kn&&this.uW(a);this.kn=a};q.Zb=function(){return this.M.Zb(this)};q.fu=function(){return this.rb||(this.rb=new SC)};
q.wk=function(a){a&&(this.uh?qs(this.uh,a)||this.uh.push(a):this.uh=[a],this.M.rW(this,a,!0))};q.BN=function(a){a&&this.uh&&vs(this.uh,a)&&(0==this.uh.length&&(this.uh=null),this.M.rW(this,a,!1))};q.Hp=function(a,b){b?this.wk(a):this.BN(a)};q.g=function(){var a=this.M.g(this);this.Na(a);this.M.pO(a,this.Zk());this.Qx||this.M.rr(a,!1);this.N()||this.M.C(a,!1)};q.Zk=function(){return this.Mv};q.jP=function(a){this.Mv=a};q.oO=function(a){this.Tx=a;var b=this.b();b&&this.M.oO(b,a)};q.J=function(){return this.M.J(this.b())};
q.tc=function(a){return this.M.tc(a)};q.Ka=function(a){a=this.M.R(this,a);this.Na(a);this.M.pO(a,this.Zk());this.Qx||this.M.rr(a,!1);this.Cb=a.style.display!=Nk};q.B=function(){mD.c.B.call(this);this.M.H5(this,this.Ta());this.M.Bd(this);if(this.Zw&-2&&(this.kn&&this.uW(!0),this.pb(32))){var a=this.Zb();if(a){var b=this.fu();b.pd(a);this.A().listen(b,Hj,this.ec).listen(a,Ih,this.Be).listen(a,rf,this.af)}}};
q.uW=function(a){var b=this.A(),c=this.b();a?(b.listen(c,zk,this.Bg).listen(c,wk,this.Qc).listen(c,Ak,this.Kf).listen(c,yk,this.yu),this.tu!=Qq&&b.listen(c,rg,this.tu),E&&(Xt(9)||b.listen(c,Eg,this.lZ),this.Ku||(this.Ku=new nD(this),this.Y(this.Ku)))):(b.ta(c,zk,this.Bg).ta(c,wk,this.Qc).ta(c,Ak,this.Kf).ta(c,yk,this.yu),this.tu!=Qq&&b.ta(c,rg,this.tu),E&&(Xt(9)||b.ta(c,Eg,this.lZ),G(this.Ku),this.Ku=null))};
q.Pa=function(){mD.c.Pa.call(this);this.rb&&this.rb.detach();this.N()&&this.isEnabled()&&this.M.Me(this,!1)};q.o=function(){mD.c.o.call(this);this.rb&&(this.rb.dispose(),delete this.rb);delete this.M;this.Ku=this.uh=this.uc=null};q.zb=function(){return this.uc};q.eb=function(a){this.M.eb(this.b(),a);this.tr(a)};q.tr=function(a){this.uc=a};q.pi=function(){var a=this.zb();if(!a)return"";a=v(a)?a:x(a)?hs(a,Wy).join(""):Vy(a);return ir(a)};q.yD=function(a){this.eb(a)};
q.po=function(a){mD.c.po.call(this,a);var b=this.b();b&&this.M.po(b,a)};q.rr=function(a){this.Qx=a;var b=this.b();b&&this.M.rr(b,a)};q.N=function(){return this.Cb};q.C=function(a,b){return b||this.Cb!=a&&this.dispatchEvent(a?In:Ii)?((b=this.b())&&this.M.C(b,a),this.isEnabled()&&this.M.Me(this,a),this.Cb=a,!0):!1};q.isEnabled=function(){return!this.Cg(1)};q.Xqa=function(){var a=this.getParent();return!!a&&typeof a.isEnabled==Rh&&!a.isEnabled()};
q.U=function(a){!this.Xqa()&&this.Bn(1,!a)&&(a||(this.setActive(!1),this.Jc(!1)),this.N()&&this.M.Me(this,a),this.setState(1,!a,!0))};q.gL=function(){return this.Cg(2)};q.Jc=function(a){this.Bn(2,a)&&this.setState(2,a)};q.Rb=function(){return this.Cg(4)};q.setActive=function(a){this.Bn(4,a)&&this.setState(4,a)};q.Rd=function(){return this.Cg(8)};q.ag=function(a){this.Bn(8,a)&&this.setState(8,a)};q.bf=function(){return this.Cg(16)};q.ke=function(a){this.Bn(16,a)&&this.setState(16,a)};q.VA=function(){return this.Cg(32)};
q.no=function(a){this.Bn(32,a)&&this.setState(32,a)};q.Qd=function(){return this.Cg(64)};q.Hb=function(a){this.Bn(64,a)&&this.setState(64,a)};q.getState=function(){return this.oa};q.Cg=function(a){return!!(this.oa&a)};q.setState=function(a,b,c){c||1!=a?this.pb(a)&&b!=this.Cg(a)&&(this.M.setState(this,a,b),this.oa=b?this.oa|a:this.oa&~a):this.U(!b)};q.wP=function(a){this.oa=a};q.pb=function(a){return!!(this.Zw&a)};
q.tb=function(a,b){if(this.V&&this.Cg(a)&&!b)throw Error(hc);!b&&this.Cg(a)&&this.setState(a,!1);this.Zw=b?this.Zw|a:this.Zw&~a};q.Lf=function(a){return!!(this.Wx&a)&&this.pb(a)};q.wD=function(a,b){this.Wx=b?this.Wx|a:this.Wx&~a};q.tw=function(a,b){this.mE=b?this.mE|a:this.mE&~a};q.Bn=function(a,b){return this.pb(a)&&this.Cg(a)!=b&&(!(this.mE&a)||this.dispatchEvent(xC(a,b)))&&!this.isDisposed()};q.Bg=function(a){!oD(a,this.b())&&this.dispatchEvent(oh)&&this.isEnabled()&&this.Lf(2)&&this.Jc(!0)};
q.yu=function(a){!oD(a,this.b())&&this.dispatchEvent("leave")&&(this.Lf(4)&&this.setActive(!1),this.Lf(2)&&this.Jc(!1))};q.tu=Qq;var oD=function(a,b){return!!a.relatedTarget&&Ly(b,a.relatedTarget)};q=mD.prototype;q.Qc=function(a){this.isEnabled()&&(this.Lf(2)&&this.Jc(!0),a.Zu()&&(this.Lf(4)&&this.setActive(!0),this.M&&this.M.Uj(this)&&this.Zb().focus()));!this.Qx&&a.Zu()&&a.preventDefault()};q.Kf=function(a){this.isEnabled()&&(this.Lf(2)&&this.Jc(!0),this.Rb()&&this.Tc(a)&&this.Lf(4)&&this.setActive(!1))};
q.lZ=function(a){this.isEnabled()&&this.Tc(a)};q.Tc=function(a){this.Lf(16)&&this.ke(!this.bf());this.Lf(8)&&this.ag(!0);this.Lf(64)&&this.Hb(!this.Qd());var b=new H(k,this);a&&(b.altKey=a.altKey,b.ctrlKey=a.ctrlKey,b.metaKey=a.metaKey,b.shiftKey=a.shiftKey,b.CC=a.CC);return this.dispatchEvent(b)};q.Be=function(){this.Lf(32)&&this.no(!0)};q.af=function(){this.Lf(4)&&this.setActive(!1);this.Lf(32)&&this.no(!1)};
q.ec=function(a){return this.N()&&this.isEnabled()&&this.wc(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};q.wc=function(a){return 13==a.keyCode&&this.Tc(a)};if(!Uq(mD))throw Error("Invalid component class "+mD);if(!Uq(iD))throw Error("Invalid renderer class "+iD);var pD=Yq(mD);fD[pD]=iD;eD(bi,function(){return new mD(null)});var nD=function(a){F.call(this);this.xy=a;this.oy=!1;this.Ga=new pC(this);this.Y(this.Ga);a=this.xy.Ta();this.Ga.listen(a,wk,this.nA).listen(a,Ak,this.kna).listen(a,Kf,this.Jj)};
B(nD,F);var qD=!E||Zt(9);nD.prototype.nA=function(){this.oy=!1};nD.prototype.kna=function(){this.oy=!0};var rD=function(a,b){if(!qD)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};
nD.prototype.Jj=function(a){if(this.oy)this.oy=!1;else{var b=a.bd,c=b.button,e=b.type,f=rD(b,wk);this.xy.Qc(new Ju(f,a.currentTarget));f=rD(b,Ak);this.xy.Kf(new Ju(f,a.currentTarget));qD||(b.button=c,b.type=e)}};nD.prototype.o=function(){this.xy=null;nD.c.o.call(this)};var sD=function(a,b,c){V.call(this,c);this.M=b||gD.H();this.Sc=a||this.M.JX()};B(sD,V);q=sD.prototype;q.EL=null;q.rb=null;q.M=null;q.Sc=null;q.Cb=!0;q.cc=!0;q.GI=!0;q.ib=-1;q.jd=null;q.RB=!1;q.BS=!1;q.T2=!0;q.lj=null;q.Zb=function(){return this.EL||this.M.Zb(this)};q.fu=function(){return this.rb||(this.rb=new SC(this.Zb()))};q.g=function(){this.Na(this.M.g(this))};q.J=function(){return this.M.J(this.b())};q.tc=function(a){return this.M.tc(a)};
q.Ka=function(a){this.Na(this.M.R(this,a));a.style.display==Nk&&(this.Cb=!1)};q.B=function(){sD.c.B.call(this);this.Ia(function(a){a.V&&this.P3(a)},this);var a=this.b();this.M.Bd(this);this.C(this.Cb,!0);this.A().listen(this,oh,this.RJ).listen(this,Ji,this.SJ).listen(this,Dp,this.dK).listen(this,"open",this.sna).listen(this,Lf,this.QJ).listen(a,wk,this.Qc).listen(fy(a),Ak,this.hma).listen(a,[wk,Ak,zk,yk,rg],this.Mla);this.Uj()&&this.sW(!0)};
q.sW=function(a){var b=this.A(),c=this.Zb();a?b.listen(c,Ih,this.Be).listen(c,rf,this.af).listen(this.fu(),Hj,this.ec):b.ta(c,Ih,this.Be).ta(c,rf,this.af).ta(this.fu(),Hj,this.ec)};q.Pa=function(){this.oc(-1);this.jd&&this.jd.Hb(!1);this.RB=!1;sD.c.Pa.call(this)};q.o=function(){sD.c.o.call(this);this.rb&&(this.rb.dispose(),this.rb=null);this.M=this.jd=this.lj=this.EL=null};q.RJ=function(){return!0};
q.SJ=function(a){var b=this.De(a.target);if(-1<b&&b!=this.ib){var c=this.Ff();c&&c.Jc(!1);this.ib=b;c=this.Ff();this.RB&&c.setActive(!0);this.T2&&this.jd&&c!=this.jd&&(c.pb(64)?c.Hb(!0):this.jd.Hb(!1))}b=this.b();C(b,Kd);null!=a.target.b()&&T(b,oe,a.target.b().id)};q.dK=function(a){a.target==this.Ff()&&(this.ib=-1);a=this.b();C(a,Kd);UB(a,oe)};q.sna=function(a){(a=a.target)&&a!=this.jd&&a.getParent()==this&&(this.jd&&this.jd.Hb(!1),this.jd=a)};
q.QJ=function(a){a.target==this.jd&&(this.jd=null);var b=this.b(),c=a.target.b();b&&a.target.gL()&&c&&XB(b,c)};q.Qc=function(a){this.cc&&this.Rl(!0);var b=this.Zb();b&&Sy(b)?b.focus():a.preventDefault()};q.hma=function(){this.Rl(!1)};q.Mla=function(a){var b=this.cka(a.target);if(b)switch(a.type){case wk:b.Qc(a);break;case Ak:b.Kf(a);break;case zk:b.Bg(a);break;case yk:b.yu(a);break;case rg:b.tu(a)}};
q.cka=function(a){if(this.lj)for(var b=this.b();a&&a!==b;){var c=a.id;if(c in this.lj)return this.lj[c];a=a.parentNode}return null};q.Be=function(){};q.af=function(){this.oc(-1);this.Rl(!1);this.jd&&this.jd.Hb(!1)};q.ec=function(a){return this.isEnabled()&&this.N()&&(0!=this.Xa()||this.EL)&&this.wc(a)?(a.preventDefault(),a.stopPropagation(),!0):!1};
q.wc=function(a){var b=this.Ff();if(b&&typeof b.ec==Rh&&b.ec(a)||this.jd&&this.jd!=b&&typeof this.jd.ec==Rh&&this.jd.ec(a))return!0;if(a.shiftKey||a.ctrlKey||a.metaKey||a.altKey)return!1;switch(a.keyCode){case 27:if(this.Uj())this.Zb().blur();else return!1;break;case 36:this.Iu();break;case 35:this.lpa();break;case 38:if(this.Sc==$p)this.highlightPrevious();else return!1;break;case 37:if(this.Sc==Li)this.Eh()?this.highlightNext():this.highlightPrevious();else return!1;break;case 40:if(this.Sc==$p)this.highlightNext();
else return!1;break;case 39:if(this.Sc==Li)this.Eh()?this.highlightPrevious():this.highlightNext();else return!1;break;default:return!1}return!0};q.P3=function(a){var b=a.b();b=b.id||(b.id=a.getId());this.lj||(this.lj={});this.lj[b]=a};q.ca=function(a,b){cs(a,mD,"The child of a container must be a control");sD.c.ca.call(this,a,b)};
q.pe=function(a,b,c){cs(a,mD);a.tw(2,!0);a.tw(64,!0);!this.Uj()&&this.BS||a.tb(32,!1);a.ED(!1);var e=a.getParent()==this?this.De(a):-1;sD.c.pe.call(this,a,b,c);a.V&&this.V&&this.P3(a);this.hEa(e,b)};q.hEa=function(a,b){-1==a&&(a=this.Xa());a==this.ib?this.ib=Math.min(this.Xa()-1,b):a>this.ib&&b<=this.ib?this.ib++:a<this.ib&&b>this.ib&&this.ib--};
q.removeChild=function(a,b){a=v(a)?this.Sk(a):a;cs(a,mD);if(a){var c=this.De(a);-1!=c&&(c==this.ib?(a.Jc(!1),this.ib=-1):c<this.ib&&this.ib--);(c=a.b())&&c.id&&this.lj&&bt(this.lj,c.id)}a=sD.c.removeChild.call(this,a,b);a.ED(!0);return a};q.setOrientation=function(a){if(this.b())throw Error(hc);this.Sc=a};q.N=function(){return this.Cb};
q.C=function(a,b){if(b||this.Cb!=a&&this.dispatchEvent(a?In:Ii)){this.Cb=a;var c=this.b();c&&(R(c,a),this.Uj()&&this.M.aI(this.Zb(),this.cc&&this.Cb),b||this.dispatchEvent(this.Cb?se:re));return!0}return!1};q.isEnabled=function(){return this.cc};q.U=function(a){this.cc!=a&&this.dispatchEvent(a?"enable":"disable")&&(a?(this.cc=!0,this.Ia(function(a){a.u$?delete a.u$:a.U(!0)})):(this.Ia(function(a){a.isEnabled()?a.U(!1):a.u$=!0}),this.cc=!1,this.Rl(!1)),this.Uj()&&this.M.aI(this.Zb(),a&&this.Cb))};
q.Uj=function(){return this.GI};q.Me=function(a){a!=this.GI&&this.V&&this.sW(a);this.GI=a;this.cc&&this.Cb&&this.M.aI(this.Zb(),a)};q.LO=function(a){this.BS=a};q.sAa=function(a){this.T2=a};q.oc=function(a){(a=this.pa(a))?a.Jc(!0):-1<this.ib&&this.Ff().Jc(!1)};q.Jc=function(a){this.oc(this.De(a))};q.Ff=function(){return this.pa(this.ib)};q.Iu=function(){this.uq(function(a,b){return(a+1)%b},this.Xa()-1)};q.lpa=function(){this.uq(function(a,b){a--;return 0>a?b-1:a},0)};
q.highlightNext=function(){this.uq(function(a,b){return(a+1)%b},this.ib)};q.highlightPrevious=function(){this.uq(function(a,b){a--;return 0>a?b-1:a},this.ib)};q.uq=function(a,b){b=0>b?this.De(this.jd):b;var c=this.Xa();b=a.call(this,b,c);for(var e=0;e<=c;){var f=this.pa(b);if(f&&this.fy(f))return this.QO(b),!0;e++;b=a.call(this,b,c)}return!1};q.fy=function(a){return a.N()&&a.isEnabled()&&a.pb(2)};q.QO=function(a){this.oc(a)};q.Rl=function(a){this.RB=a};var tD=function(){};B(tD,iD);Rq(tD);tD.prototype.S=function(){return li};var uD=function(a,b,c){mD.call(this,a,c||tD.H(),b);this.tb(1,!1);this.tb(2,!1);this.tb(4,!1);this.tb(32,!1);this.wP(1)};B(uD,mD);eD(li,function(){return new uD(null)});var vD=function(){this.EG=[]};B(vD,iD);Rq(vD);q=vD.prototype;q.Qp=function(a){var b=this.EG[a];if(!b){switch(a){case 0:b=this.If()+"-highlight";break;case 1:b=this.If()+"-checkbox";break;case 2:b=this.If()+Ia}this.EG[a]=b}return b};q.wd=function(){return"menuitem"};q.g=function(a){var b=a.j().g(d,this.Zd(a).join(" "),this.KU(a.zb(),a.j()));this.EO(a,b,a.pb(8)||a.pb(16));return b};q.J=function(a){return a&&a.firstChild};
q.R=function(a,b){C(b);this.Uoa(b)||b.appendChild(this.KU(b.childNodes,a.j()));hC(b,ni)&&(a.zD(!0),this.zD(a,b,!0));return vD.c.R.call(this,a,b)};q.eb=function(a,b){var c=this.J(a),e=this.gK(a)?c.firstChild:null;vD.c.eb.call(this,a,b);e&&!this.gK(a)&&c.insertBefore(e,c.firstChild||null)};q.Uoa=function(a){a=Iy(a);var b=this.Qp(2);return!!a&&hC(a,b)};q.KU=function(a,b){var c=this.Qp(2);return b.g(d,c,a)};q.Gw=function(a,b,c){a&&b&&this.EO(a,b,c)};q.zD=function(a,b,c){a&&b&&this.EO(a,b,c)};
q.gK=function(a){if(a=this.J(a)){a=a.firstChild;var b=this.Qp(1);return!!a&&Ky(a)&&hC(a,b)}return!1};q.EO=function(a,b,c){this.pO(b,a.Zk());this.H5(a,b);c!=this.gK(b)&&(lC(b,ni,c),b=this.J(b),c?(c=this.Qp(1),b.insertBefore(a.j().g(d,c),b.firstChild||null)):b.removeChild(b.firstChild))};q.Xm=function(a){switch(a){case 2:return this.Qp(0);case 16:case 8:return oi;default:return vD.c.Xm.call(this,a)}};
q.fA=function(a){var b=this.Qp(0);switch(a){case oi:return 16;case b:return 2;default:return vD.c.fA.call(this,a)}};q.S=function(){return"goog-menuitem"};var wD=function(a,b,c,e){mD.call(this,a,e||vD.H(),c);this.setValue(b)};B(wD,mD);q=wD.prototype;q.getValue=function(){var a=this.$;return null!=a?a:this.pi()};q.setValue=function(a){this.Dc(a)};q.tb=function(a,b){wD.c.tb.call(this,a,b);switch(a){case 8:this.LAa(b);break;case 16:this.Lya(b)}};q.Gw=function(a){this.tb(8,a)};q.LAa=function(a){this.bf()&&!a&&this.ke(!1);var b=this.b();b&&this.M.Gw(this,b,a)};q.zD=function(a){this.tb(16,a)};q.Lya=function(a){var b=this.b();b&&this.M.zD(this,b,a)};
q.pi=function(){var a=this.zb();return x(a)?(a=hs(a,function(a){return Ky(a)&&(hC(a,"goog-menuitem-accel")||hC(a,"goog-menuitem-mnemonic-separator"))?"":Wy(a)}).join(""),ir(a)):wD.c.pi.call(this)};q.Kf=function(a){var b=this.getParent();if(b){var c=b.W2;b.W2=null;if(c&&Oq(a.clientX)&&ay(c,new $x(a.clientX,a.clientY)))return}wD.c.Kf.call(this,a)};q.wc=function(a){return a.keyCode==this.uM&&this.Tc(a)?!0:wD.c.wc.call(this,a)};q.Kja=function(){return this.uM};eD("goog-menuitem",function(){return new wD(null)});
wD.prototype.Zk=function(){return this.pb(16)?ok:this.pb(8)?"menuitemradio":wD.c.Zk.call(this)};wD.prototype.getParent=function(){return mD.prototype.getParent.call(this)};wD.prototype.$p=function(){return mD.prototype.$p.call(this)};var xD=function(){};B(xD,iD);Rq(xD);xD.prototype.g=function(a){return a.j().g(d,this.S())};xD.prototype.R=function(a,b){b.id&&a.FD(b.id);if("HR"==b.tagName){var c=b;b=this.g(a);By(b,c);Ey(c)}else U(b,this.S());return b};xD.prototype.eb=function(){};xD.prototype.S=function(){return mi};var yD=function(a,b){mD.call(this,null,a||xD.H(),b);this.tb(1,!1);this.tb(2,!1);this.tb(4,!1);this.tb(32,!1);this.wP(1)};B(yD,mD);yD.prototype.B=function(){yD.c.B.call(this);var a=this.b();C(a,"The DOM element for the separator cannot be null.");SB(a,qn)};eD(mi,function(){return new yD});var zD=function(a){this.sm=a||"menu"};B(zD,gD);Rq(zD);q=zD.prototype;q.tc=function(a){return"UL"==a.tagName||zD.c.tc.call(this,a)};q.Yt=function(a){return"HR"==a.tagName?new yD:zD.c.Yt.call(this,a)};q.mg=function(a,b){return Ly(a.b(),b)};q.S=function(){return ii};q.Bd=function(a){zD.c.Bd.call(this,a);a=a.b();C(a,"The menu DOM element cannot be null.");T(a,Fi,yp)};var AD=function(a){yD.call(this,xD.H(),a)};B(AD,yD);eD(mi,function(){return new yD});var BD=function(a,b){sD.call(this,$p,b||zD.H(),a);this.Me(!1)};B(BD,sD);q=BD.prototype;q.qm=!0;q.rca=!1;q.S=function(){return this.M.S()};q.mg=function(a){if(this.M.mg(this,a))return!0;for(var b=0,c=this.Xa();b<c;b++){var e=this.pa(b);if(typeof e.mg==Rh&&e.mg(a))return!0}return!1};q.sc=function(a){this.ca(a,!0)};q.pm=function(a,b){this.pe(a,b,!0)};q.removeItem=function(a){(a=this.removeChild(a,!0))&&a.dispose()};q.cd=function(a){return this.pa(a)};q.Xk=function(){return this.Xa()};
q.Gj=function(){var a=[];this.Ia(function(b){a.push(b)});return a};q.setPosition=function(a,b){var c=this.N();c||R(this.b(),!0);var e=this.b(),f=Wz(e);a instanceof $x&&(b=a.y,a=a.x);a=Wr(a)-f.x;Rz(e,e.offsetLeft+a,e.offsetTop+(Number(b)-f.y));c||R(this.b(),!1)};q.getPosition=function(){return this.N()?Wz(this.b()):null};q.Pl=function(a){(this.qm=a)&&this.Me(!0)};
q.C=function(a,b,c){(b=BD.c.C.call(this,a,b))&&a&&this.V&&this.qm&&this.Zb().focus();this.W2=a&&c&&Oq(c.clientX)?new $x(c.clientX,c.clientY):null;return b};q.RJ=function(a){this.qm&&this.Zb().focus();return BD.c.RJ.call(this,a)};q.fy=function(a){return(this.rca||a.isEnabled())&&a.N()&&a.pb(2)};q.Ka=function(a){this.ofa(a);BD.c.Ka.call(this,a)};q.wc=function(a){var b=BD.c.wc.call(this,a);b||this.Ia(function(c){!b&&c.Kja&&c.uM==a.keyCode&&(this.isEnabled()&&this.Jc(c),b=c.ec(a))},this);return b};
q.oc=function(a){BD.c.oc.call(this,a);(a=this.pa(a))&&aA(a.b(),this.b())};q.ofa=function(a){var b=this.M;a=this.j().ri(d,b.S()+Ia,a);for(var c=a.length,e=0;e<c;e++)b.wV(this,a[e])};var CD=function(a,b){BD.call(this,a,b);this.Pl(!0);this.C(!1,!0);this.dg=new L};B(CD,BD);q=CD.prototype;q.d9=!1;q.Z0=0;q.Ka=function(a){CD.c.Ka.call(this,a);(a=a.getAttribute("for")||a.htmlFor)&&this.pd(this.j().b(a),1)};q.B=function(){CD.c.B.call(this);this.dg.forEach(this.YS,this);var a=this.A();a.listen(this,k,this.s2);a.listen(this.j().K(),wk,this.yta,!0)};q.pd=function(a,b,c,e,f){this.$K(a)||(b=this.EU(a,b,c,e,f),this.V&&this.YS(b),a=cr(this.Yta,a),this.b()&&this.A().listen(this.b(),Ij,a))};
q.Yta=function(a,b){if(27==b.keyCode)a.focus();else if(a=this.pa(this.ib)){a=a.b();var c=new Ju(b.bd,a);c.target=a;32!=b.keyCode&&13!=b.keyCode||gv(a,Ij,!1,c);32==b.keyCode&&this.Ce()}};q.EU=function(a,b,c,e,f){if(!a)return null;b={D:a,T8:b,Fsa:c,iI:e?rg:wk,DB:f};this.dg.set(Yq(a),b);return b};q.$K=function(a){return a?this.dg.Xb(Yq(a)):!1};q.YS=function(a){this.A().listen(a.D,a.iI,this.oC);a.iI!=rg&&this.A().listen(a.D,Ij,this.jua)};
q.detach=function(a){if(!this.$K(a))throw Error("Menu not attached to provided element, unable to detach.");a=Yq(a);this.V&&this.Afa(this.dg.get(a));this.dg.remove(a)};q.Afa=function(a){this.A().ta(a.D,a.iI,this.oC)};q.h7=function(a){this.d9=a};q.e8=function(a,b,c){var e=this.N();this.$A()&&this.d9?this.Ce():this.dispatchEvent(pf)&&(b="undefined"!=typeof b?b:8,e||(this.b().style.visibility=Hi),R(this.b(),!0),a.ha(this.b(),b,c),e||(this.b().style.visibility=lq),this.oc(-1),this.C(!0))};
q.N7=function(a,b,c){b=u(a.T8)?new $C(a.D,a.T8,!0):new cD(b,c);b.zr&&b.zr(5);this.e8(b,a.Fsa,a.DB,a.D)};q.E7=function(a,b,c){this.e8(new bD(a,b,!0),c,null,a)};q.Ce=function(){this.N()&&(this.C(!1),this.N()||(this.Z0=A()))};q.$A=function(){return this.N()||this.fFa()};q.fFa=function(){return 150>A()-this.Z0};q.s2=function(){this.Ce()};q.oC=function(a){this.S2(a)};q.jua=function(a){32!=a.keyCode&&13!=a.keyCode&&40!=a.keyCode||this.S2(a);40==a.keyCode&&this.Iu()};
q.S2=function(a){for(var b=this.dg.bb(),c=0;c<b.length;c++){var e=this.dg.get(b[c]);if(e.D==a.currentTarget){this.N7(e,a.clientX,a.clientY);a.preventDefault();a.stopPropagation();break}}};q.yta=function(a){this.N()&&!this.mg(a.target)&&this.Ce()};q.af=function(a){CD.c.af.call(this,a);this.Ce()};q.o=function(){CD.c.o.call(this);this.dg&&(this.dg.clear(),delete this.dg)};var DD=function(a,b){this.s8=a;this.az=b},ED=new AB(0,0,1),FD=new AB(9999,11,31);DD.prototype.getStartDate=function(){return this.s8};DD.prototype.contains=function(a){return a.valueOf()>=this.s8.valueOf()&&a.valueOf()<=this.az.valueOf()};DD.prototype.iterator=function(){return new GD(this)};var GD=function(a){this.EM=a.getStartDate().clone();this.az=Number(a.az.wo())};B(GD,kv);GD.prototype.next=function(){if(Number(this.EM.wo())>this.az)throw jv;var a=this.EM.clone();this.EM.add(new zB("d",1));return a};var HD={EF:"y",jba:"y G",kba:"MMM y",ZR:"MMMM y",MR:"MMM d",paa:"MMMM dd",qaa:"M/d",oF:"MMMM d",raa:"MMM d, y",gba:"EEE, MMM d",hba:"EEE, MMM d, y",O$:"d"};HD={EF:"y",jba:"y G",kba:"MMM y",ZR:"MMMM 'de' y",MR:"d MMM",paa:"dd 'de' MMMM",qaa:"d/M",oF:"d 'de' MMMM",raa:"d MMM y",gba:"EEE, d MMM",hba:"EEE, d MMM y",O$:"d"};var ID=function(a,b){this.Uca=a;this.Z=b||N()};q=ID.prototype;q.j=function(){return this.Z};q.la=function(){return this.Uca};
q.Pwa=function(a,b,c,e){b?(e=this.j().createElement(Hd),e.colSpan=c?1:2,this.ue(e,"\u00ab",this.la()+Ra),a.appendChild(e),e=this.j().createElement(Hd),e.colSpan=c?6:5,e.className=this.la()+"-monthyear",a.appendChild(e),e=this.j().createElement(Hd),this.ue(e,"\u00bb",this.la()+Oa),a.appendChild(e)):(c=this.j().createElement(Hd),c.colSpan=5,this.ue(c,"\u00ab",this.la()+Ra),this.ue(c,"",this.la()+"-month"),this.ue(c,"\u00bb",this.la()+Oa),b=this.j().createElement(Hd),b.colSpan=3,this.ue(b,"\u00ab",this.la()+
"-previousYear"),this.ue(b,"",this.la()+"-year"),this.ue(b,"\u00bb",this.la()+"-nextYear"),e.indexOf("y")<e.indexOf("m")?(a.appendChild(b),a.appendChild(c)):(a.appendChild(c),a.appendChild(b)))};
q.Nwa=function(a,b){var c=this.j().createElement(Hd);c.colSpan=b?2:3;c.className=this.la()+"-today-cont";this.ue(c,"Hoy",this.la()+Sa);a.appendChild(c);c=this.j().createElement(Hd);c.colSpan=b?4:3;a.appendChild(c);c=this.j().createElement(Hd);c.colSpan=2;c.className=this.la()+"-none-cont";this.ue(c,"Ninguno",this.la()+Pa);a.appendChild(c)};
q.ue=function(a,b,c){var e=[this.la()+"-btn"];c&&e.push(c);c=this.j().createElement(Nb);c.className=e.join(" ");c.appendChild(this.j().createTextNode(b));a.appendChild(c);return c};var JD=function(a,b,c,e){V.call(this,c);this.Pe=b||xB;this.gFa=this.Pe.yF;this.upa=new FB("d",this.Pe);this.spa=new FB("dd",this.Pe);this.wpa=new FB("w",this.Pe);this.tpa=new FB("M d",this.Pe);this.DK=new FB(HD.EF||"y",this.Pe);this.vpa=new FB(HD.ZR||"MMMM y",this.Pe);this.M=e||new ID(this.la(),this.j());this.jc=new AB(a);this.jc.e6(this.Pe.xx);this.jc.KO(this.Pe.wx);this.qc=this.jc.clone();this.qc.setDate(1);this.aF="      ".split(" ");this.aF[this.Pe.DF[0]]=this.la()+"-wkend-start";this.aF[this.Pe.DF[1]]=
this.la()+"-wkend-end";this.Eq={};this.gn=[]};B(JD,V);q=JD.prototype;q.TP=!0;q.jCa=!0;q.WEa=new DD(ED,FD);q.Qga=!0;q.eE=!0;q.d8=!0;q.XF=!0;q.Y7=!0;q.g8=!1;q.xV=null;q.esa=!1;q.Xy=null;q.Wy=null;q.Vy=null;q.tda=vC.H();q.la=function(){return"goog-date-picker"};q.uza=function(a){this.qc.KO(a);this.Wh();this.O3()};q.XAa=function(a){this.TP=a;this.Wh()};q.zL=function(a){return this.WEa.contains(a)};q.$Aa=function(a){this.eE=a;this.L9();this.I9();this.Wh()};
q.xEa=function(){R(this.mW,this.Y7);R(this.lW,this.XF);R(this.S8,this.Y7||this.XF)};q.w3=function(){this.qc.add(new zB("m",-1));this.Wh();this.Jt()};q.k2=function(){this.qc.add(new zB("m",1));this.Wh();this.Jt()};q.Cva=function(){this.qc.add(new zB("y",-1));this.Wh();this.Jt()};q.fta=function(){this.qc.add(new zB("y",1));this.Wh();this.Jt()};q.n5=function(){this.setDate(new AB)};q.m5=function(){this.XF&&this.setDate(null)};q.Zha=function(){return this.qc.clone()};
q.getDate=function(){return this.jc&&this.jc.clone()};q.setDate=function(a){this.uO(a,!0)};q.uO=function(a,b){var c=a==this.jc||a&&this.jc&&a.getFullYear()==this.jc.getFullYear()&&a.getMonth()==this.jc.getMonth(),e=a==this.jc||c&&a.getDate()==this.jc.getDate();this.jc=a&&new AB(a);a&&(this.qc.set(this.jc),this.qc.setFullYear(this.jc.getFullYear()),this.qc.setDate(1));this.Wh();b&&this.dispatchEvent(new KD(mn,this,this.jc));e||this.dispatchEvent(new KD(Cf,this,this.jc));c||this.Jt()};
q.L9=function(){if(this.Xy){for(var a=this.Xy;a.firstChild;)a.removeChild(a.firstChild);this.M.Pwa(a,this.g8,this.eE,this.Pe.om[0].toLowerCase());if(this.g8){this.$h(a,this.la()+Ra,this.w3);var b=ky(this.la()+Ra,a);b&&(T(b,Hi,!0),b.tabIndex=-1);this.$h(a,this.la()+Oa,this.k2);if(b=ky(this.la()+Oa,a))T(b,Hi,!0),b.tabIndex=-1;this.Wy=ky(this.la()+"-monthyear",a)}else this.$h(a,this.la()+Ra,this.w3),this.$h(a,this.la()+Oa,this.k2),this.$h(a,this.la()+"-month",this.gCa),this.$h(a,this.la()+"-previousYear",
this.Cva),this.$h(a,this.la()+"-nextYear",this.fta),this.$h(a,this.la()+"-year",this.vCa),this.Nm=ky(this.la()+"-month",a),this.wt=N().Fc(this.la()+"-year",a)}};q.$h=function(a,b,c){a=ky(b,a);this.A().listen(a,Kf,function(a){a.preventDefault();c.call(this,a)})};q.I9=function(){if(this.Vy){var a=this.Vy;Ay(a);this.M.Nwa(a,this.eE);this.$h(a,this.la()+Sa,this.n5);this.$h(a,this.la()+Pa,this.m5);this.mW=ky(this.la()+Sa,a);this.lW=ky(this.la()+Pa,a);this.xEa()}};
q.Ka=function(a){JD.c.Ka.call(this,a);C(a);U(a,this.la());var b=this.Z.createElement(Fd),c=this.Z.createElement("THEAD"),e=this.Z.createElement(Gd),f=this.Z.createElement("TFOOT");SB(e,Ci);e.tabIndex=0;this.sE=e;this.S8=f;var g=this.Z.createElement(Jd);g.className=this.la()+"-head";this.Xy=g;this.L9();c.appendChild(g);this.yf=[];for(var h=0;7>h;h++){g=this.Z.createElement(Jd);this.yf[h]=[];for(var l=0;8>l;l++){var p=this.Z.createElement(0==l||0==h?"th":"td");0!=l&&0!=h||l==h||(p.className=0==l?this.la()+
"-week":this.la()+"-wday",SB(p,0==l?"rowheader":"columnheader"));g.appendChild(p);this.yf[h][l]=p}e.appendChild(g)}g=this.Z.createElement(Jd);g.className=this.la()+"-foot";this.Vy=g;this.I9();f.appendChild(g);b.cellSpacing="0";b.cellPadding="0";b.appendChild(c);b.appendChild(e);b.appendChild(f);a.appendChild(b);this.O3();this.Wh();a.tabIndex=0};q.g=function(){JD.c.g.call(this);this.Ka(this.b())};
q.B=function(){JD.c.B.call(this);var a=this.A();a.listen(this.sE,Kf,this.yma);a.listen(this.vJ(this.b()),Hj,this.zma)};q.Pa=function(){JD.c.Pa.call(this);this.yp();for(var a in this.Eq)this.Eq[a].dispose();this.Eq={}};q.create=JD.prototype.R;q.o=function(){JD.c.o.call(this);this.lW=this.mW=this.wt=this.Wy=this.Nm=this.Vy=this.Xy=this.S8=this.sE=this.yf=null};
q.yma=function(a){if(a.target.tagName==Hd){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.gn[e][c];this.zL(a)&&this.setDate(a.clone())}};
q.zma=function(a){switch(a.keyCode){case 33:a.preventDefault();var b=-1;break;case 34:a.preventDefault();b=1;break;case 37:a.preventDefault();var 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.n5();case 46:a.preventDefault();this.m5();break;case 13:case 32:a.preventDefault(),this.uO(this.jc,!0);default:return}this.jc?(a=this.jc.clone(),a.add(new zB(0,b,c))):(a=this.qc.clone(),a.setDate(1));
this.zL(a)&&this.uO(a,!1)};q.gCa=function(a){a.stopPropagation();a=[];for(var b=0;12>b;b++)a.push(this.Pe.Po[b]);this.RU(this.Nm,a,this.jna,this.Pe.Po[this.qc.getMonth()])};q.vCa=function(a){a.stopPropagation();a=[];for(var b=this.qc.getFullYear(),c=this.qc.clone(),e=-5;5>=e;e++)c.setFullYear(b+e),a.push(this.DK.format(c));this.RU(this.wt,a,this.Roa,this.DK.format(this.qc))};q.jna=function(a){a=Number(a.getAttribute(ij));this.qc.setMonth(a);this.Wh();this.Nm.focus&&this.Nm.focus()};
q.Roa=function(a){3==a.firstChild.nodeType&&(a=Number(a.getAttribute(ij)),this.qc.setFullYear(this.qc.getFullYear()+a-5),this.Wh());this.wt.focus()};
q.RU=function(a,b,c,e){this.yp();var f=this.Z.createElement(d);f.className=this.la()+"-menu";this.Kq=null;for(var g=this.Z.createElement("UL"),h=0;h<b.length;h++){var l=this.Z.g("LI",null,b[h]);l.setAttribute(ij,h);b[h]==e&&(this.Kq=l);g.appendChild(l)}f.appendChild(g);f.style.left=a.offsetLeft+a.parentNode.offsetLeft+n;f.style.top=a.offsetTop+n;f.style.width=a.clientWidth+n;this.Nm.parentNode.appendChild(f);this.fa=f;this.Kq||(this.Kq=g.firstChild);this.Kq.className=this.la()+Na;this.pM=c;a=this.A();
a.listen(this.fa,Kf,this.wZ);a.listen(this.vJ(this.fa),Hj,this.xZ);a.listen(this.Z.K(),Kf,this.yp);f.tabIndex=0;f.focus()};q.wZ=function(a){a.stopPropagation();this.yp();this.pM&&this.pM(a.target)};
q.xZ=function(a){a.stopPropagation();var b=this.Kq;switch(a.keyCode){case 35:a.preventDefault();var c=b.parentNode.lastChild;break;case 36:a.preventDefault();c=b.parentNode.firstChild;break;case 38:a.preventDefault();c=b.previousSibling;break;case 40:a.preventDefault();c=b.nextSibling;break;case 13:case 9:case 0:a.preventDefault(),this.yp(),this.pM(b)}c&&c!=b&&(b.className="",c.className=this.la()+Na,this.Kq=c)};
q.yp=function(){if(this.fa){var a=this.A();a.ta(this.fa,Kf,this.wZ);a.ta(this.vJ(this.fa),Hj,this.xZ);a.ta(this.Z.K(),Kf,this.yp);Ey(this.fa);delete this.fa}};
q.Wh=function(){if(this.b()){var a=this.qc.clone();a.setDate(1);this.Wy&&Ny(this.Wy,this.vpa.format(a));this.Nm&&Ny(this.Nm,this.Pe.Po[a.getMonth()]);this.wt&&Ny(this.wt,this.DK.format(a));var b=a.hla(),c=a.rY();a.add(new zB("m",-1));a.setDate(a.rY()-(b-1));this.TP&&!this.Qga&&33>c+b&&a.add(new zB("d",-7));b=new zB("d",1);this.gn=[];for(c=0;6>c;c++){this.gn[c]=[];for(var e=0;7>e;e++){this.gn[c][e]=a.clone();var f=a.getFullYear();a.add(b);0==a.getMonth()&&1==a.getDate()&&f++;a.setFullYear(f)}}this.$va()}};
q.$va=function(){if(this.b()){var a=this.qc.getMonth(),b=new AB,c=b.getFullYear(),e=b.getMonth();b=b.getDate();for(var f=0;6>f;f++){this.eE?(Ny(this.yf[f+1][0],this.wpa.format(this.gn[f][0])),this.yf[f+1][0].className=this.la()+"-week"):(Ny(this.yf[f+1][0],""),this.yf[f+1][0].className="");for(var g=0;7>g;g++){var h=this.gn[f][g],l=this.yf[f+1][g+1];l.id||(l.id=this.tda.Nd());C(l,"The table DOM element cannot be null.");SB(l,Di);ZB(l,this.tpa.format(h));var p=[this.la()+"-date"];this.zL(h)||p.push(this.la()+
"-unavailable-date");if(this.jCa||h.getMonth()==a){h.getMonth()!=a&&p.push(this.la()+"-other-month");var r=(g+this.qc.Tm+7)%7;this.aF[r]&&p.push(this.aF[r]);h.getDate()==b&&h.getMonth()==e&&h.getFullYear()==c&&p.push(this.la()+"-today");this.jc&&h.getDate()==this.jc.getDate()&&h.getMonth()==this.jc.getMonth()&&h.getFullYear()==this.jc.getFullYear()&&(p.push(this.la()+"-selected"),C(this.sE,"The table body DOM element cannot be null"),T(this.sE,oe,l.id));this.xV&&(r=this.xV(h))&&p.push(r);h=this.esa?
this.spa.format(h):this.upa.format(h);Ny(l,h)}else Ny(l,"");p=p.join(" ");l.className=p}4<=f&&R(this.yf[f+1][0].parentElement||this.yf[f+1][0].parentNode,this.gn[f][0].getMonth()==a||this.TP)}}};q.Jt=function(){var a=new KD("changeActiveMonth",this,this.Zha());this.dispatchEvent(a)};q.O3=function(){if(this.b()){if(this.d8)for(var a=0;7>a;a++)Ny(this.yf[0][a+1],this.gFa[((a+this.qc.Tm+7)%7+1)%7]);R(this.yf[0][0].parentElement||this.yf[0][0].parentNode,this.d8)}};
q.vJ=function(a){var b=Yq(a);b in this.Eq||(this.Eq[b]=new SC(a));return this.Eq[b]};var KD=function(a,b,c){H.call(this,a,b);this.ka=c};B(KD,H);var LD=function(a,b){this.Tn=8;this.EC=b||void 0;zC.call(this,a)};B(LD,zC);q=LD.prototype;q.hP=function(a){this.Tn=a;this.N()&&this.ha()};q.getPosition=function(){return this.EC||null};q.setPosition=function(a){this.EC=a||void 0;this.N()&&this.ha()};q.ju=function(){return this.DB||null};q.w6=function(a,b,c,e){this.DB=null==a||a instanceof Iz?a:new Iz(a,b,c,e);this.N()&&this.ha()};
q.ha=function(){if(this.EC){var a=!this.N()&&this.getType()!=Ck,b=this.b();a&&(b.style.visibility=Hi,R(b,!0));this.EC.ha(b,this.Tn,this.DB);a&&R(b,!1)}};var MD=function(a,b){V.call(this,b);this.ve=a||new JD};B(MD,V);q=MD.prototype;q.ve=null;q.cb=null;q.oB=null;q.qm=!0;q.g=function(){MD.c.g.call(this);this.b().className="goog-popupdatepicker";this.cb=new LD(this.b());this.cb.Sl(this)};q.N=function(){return this.cb?this.cb.N():!1};q.B=function(){MD.c.B.call(this);if(!this.ve.V){var a=this.b();a.style.visibility=Hi;R(a,!1);this.ve.R(a)}this.A().listen(this.ve,Cf,this.Cv).listen(this.ve,mn,this.PM)};
q.o=function(){MD.c.o.call(this);this.cb&&(this.cb.dispose(),this.cb=null);this.ve.dispose();this.oB=this.ve=null};q.tc=function(){return!1};q.Ez=function(){return this.ve};q.getDate=function(){return this.ve.getDate()};q.setDate=function(a){this.ve.setDate(a)};q.pd=function(a){this.A().listen(a,wk,this.T7)};q.detach=function(a){this.A().ta(a,wk,this.T7)};q.Pl=function(a){this.qm=a};
q.lCa=function(a,b){this.oB=a;this.cb.setPosition(new ZC(a,9,197));this.A().ta(this.ve,Cf,this.Cv).ta(this.ve,mn,this.PM);b||this.ve.setDate(null);this.dispatchEvent(In);this.cb.C(!0);this.qm&&this.b().focus();this.A().listen(this.ve,Cf,this.Cv).listen(this.ve,mn,this.PM)};q.T7=function(a){this.lCa(a.currentTarget)};q.rK=function(){this.cb.C(!1);this.qm&&this.oB&&this.oB.focus()};q.PM=function(a){this.rK();this.dispatchEvent(a)};q.Cv=function(a){this.dispatchEvent(a)};var ND=function(a,b){C(u(b)||u(xB),Bi);this.gc=[];this.Ha=b||xB;typeof a==Rk?this.Zo(a):this.kg(a)};q=ND.prototype;
q.kg=function(a){for(var b=!1,c="",e=0;e<a.length;e++){var f=a.charAt(e);if(" "==f)for(0<c.length&&(this.gc.push({text:c,count:0,Qo:!1}),c=""),this.gc.push({text:" ",count:0,Qo:!1});e<a.length-1&&" "==a.charAt(e+1);)e++;else if(b)"'"==f?e+1<a.length&&"'"==a.charAt(e+1)?(c+="'",e++):b=!1:c+=f;else if(0<="GyMdkHmsSEDahKzZvQL".indexOf(f)){0<c.length&&(this.gc.push({text:c,count:0,Qo:!1}),c="");var g=this.Tja(a,e);this.gc.push({text:f,count:g,Qo:!1});e+=g-1}else"'"==f?e+1<a.length&&"'"==a.charAt(e+1)?
(c+="'",e++):b=!0:c+=f}0<c.length&&this.gc.push({text:c,count:0,Qo:!1});this.nsa()};q.Zo=function(a){11<a&&(a=10);if(4>a)var b=this.Ha.om[a];else 8>a?b=this.Ha.ms[a-4]:(b=this.Ha.iF[a-8],b=b.replace("{1}",this.Ha.om[a-8]),b=b.replace("{0}",this.Ha.ms[a-8]));this.kg(b)};q.parse=function(a,b,c){return this.Y_(a,b,c||0,!1)};q.XCa=function(a,b,c){return this.Y_(a,b,c||0,!0)};
q.Y_=function(a,b,c,e){for(var f=new OD,g=[c],h=-1,l=0,p=0,r=0;r<this.gc.length;r++)if(0<this.gc[r].count)if(0>h&&this.gc[r].Qo&&(h=r,l=c,p=0),0<=h){var z=this.gc[r].count;if(r==h&&(z-=p,p++,0==z))return 0;this.K8(a,g,this.gc[r],z,f)||(r=h-1,g[0]=l)}else{if(h=-1,!this.K8(a,g,this.gc[r],0,f))return 0}else{h=-1;if(" "==this.gc[r].text.charAt(0)){if(z=g[0],this.k8(a,g),g[0]>z)continue}else if(a.indexOf(this.gc[r].text,g[0])==g[0]){g[0]+=this.gc[r].text.length;continue}return 0}return f.jda(b,e)?g[0]-
c:0};q.Tja=function(a,b){for(var c=a.charAt(b),e=b+1;e<a.length&&a.charAt(e)==c;)e++;return e-b};q.lL=function(a){if(0>=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0<b||0==b&&3>a.count};q.nsa=function(){for(var a=!1,b=0;b<this.gc.length;b++)this.lL(this.gc[b])?!a&&b+1<this.gc.length&&this.lL(this.gc[b+1])&&(a=!0,this.gc[b].Qo=!0):a=!1};q.k8=function(a,b){(a=a.substring(b[0]).match(/^\s+/))&&(b[0]+=a[0].length)};
q.K8=function(a,b,c,e,f){this.k8(a,b);var g=b[0],h=c.text.charAt(0),l=-1;if(this.lL(c))if(0<e){if(g+e>a.length)return!1;l=this.Iv(a.substring(0,g+e),b)}else l=this.Iv(a,b);switch(h){case "G":return l=this.Gn(a,b,this.Ha.jF),0<=l&&(f.era=l),!0;case "M":case "L":return this.bDa(a,b,f,l);case "E":return this.$Ca(a,b,f);case "a":return l=this.Gn(a,b,this.Ha.fF),0<=l&&(f.FS=l),!0;case "y":return this.dDa(a,b,g,l,c,f);case "Q":return this.cDa(a,b,f,l);case "d":return 0<=l&&(f.day=l),!0;case "S":return this.aDa(l,
b,g,f);case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.yc=l),!0;case "m":return 0<=l&&(f.Ed=l),!0;case "s":return 0<=l&&(f.kd=l),!0;case "z":case "Z":case "v":return this.gDa(a,b,f);default:return!1}};q.dDa=function(a,b,c,e,f,g){if(0>e){var h=a.charAt(b[0]);if("+"!=h&&"-"!=h)return!1;b[0]++;e=this.Iv(a,b);if(0>e)return!1;"-"==h&&(e=-e)}h||2!=b[0]-c||2!=f.count?g.year=e:g.rBa(e);return!0};
q.bDa=function(a,b,c,e){if(0>e){e=this.Gn(a,b,this.Ha.nF.concat(this.Ha.Po).concat(this.Ha.uF).concat(this.Ha.xF));if(0>e)return!1;c.month=e%12}else c.month=e-1;return!0};q.cDa=function(a,b,c,e){if(0>e){e=this.Gn(a,b,this.Ha.sF);0>e&&(e=this.Gn(a,b,this.Ha.vF));if(0>e)return!1;c.month=3*e;c.day=1;return!0}return!1};q.$Ca=function(a,b,c){var e=this.Gn(a,b,this.Ha.CF);0>e&&(e=this.Gn(a,b,this.Ha.wF));if(0>e)return!1;c.pH=e;return!0};
q.aDa=function(a,b,c,e){b=b[0]-c;e.sM=3>b?a*Math.pow(10,3-b):Math.round(a/Math.pow(10,b-3));return!0};q.gDa=function(a,b,c){a.indexOf("GMT",b[0])==b[0]&&(b[0]+=3);return this.Xua(a,b,c)};q.Xua=function(a,b,c){if(b[0]>=a.length)return c.QQ=0,!0;var e=1;switch(a.charAt(b[0])){case "-":e=-1;case "+":b[0]++}var f=b[0],g=this.Iv(a,b);if(0>g)return!1;if(b[0]<a.length&&":"==a.charAt(b[0])){var h=60*g;b[0]++;g=this.Iv(a,b);if(0>g)return!1;h+=g}else h=g,h=24>h&&2>=b[0]-f?60*h:h%100+h/100*60;c.QQ=-(h*e);return!0};
q.Iv=function(a,b){if(this.Ha.FF){for(var c=[],e=b[0];e<a.length;e++){var f=a.charCodeAt(e)-this.Ha.FF;c.push(0<=f&&9>=f?String.fromCharCode(f+48):a.charAt(e))}a=c.join("")}else a=a.substring(b[0]);a=a.match(/^\d+/);if(!a)return-1;b[0]+=a[0].length;return parseInt(a[0],10)};q.Gn=function(a,b,c){var e=0,f=-1;a=a.substring(b[0]).toLowerCase();for(var g=0;g<c.length;g++){var h=c[g].length;h>e&&0==a.indexOf(c[g].toLowerCase())&&(f=g,e=h)}0<=f&&(b[0]+=e);return f};var OD=function(){};
OD.prototype.rBa=function(a){var b=(new Date).getFullYear()-80,c=b%100;this.wca=a==c;return this.year=a+=100*Math.floor(b/100)+(a<c?100:0)};
OD.prototype.jda=function(a,b){if(null==a)throw Error("Parameter 'date' should not be null.");void 0!=this.era&&void 0!=this.year&&0==this.era&&0<this.year&&(this.year=-(this.year-1));void 0!=this.year&&a.setFullYear(this.year);var c=a.getDate();a.setDate(1);void 0!=this.month&&a.setMonth(this.month);if(void 0!=this.day)a.setDate(this.day);else{var e=yB(a.getFullYear(),a.getMonth());a.setDate(c>e?e:c)}Uq(a.setHours)&&(void 0==this.yc&&(this.yc=a.getHours()),void 0!=this.FS&&0<this.FS&&12>this.yc&&
(this.yc+=12),a.setHours(this.yc));Uq(a.setMinutes)&&void 0!=this.Ed&&a.setMinutes(this.Ed);Uq(a.setSeconds)&&void 0!=this.kd&&a.setSeconds(this.kd);Uq(a.setMilliseconds)&&void 0!=this.sM&&a.setMilliseconds(this.sM);if(b&&(void 0!=this.year&&this.year!=a.getFullYear()||void 0!=this.month&&this.month!=a.getMonth()||void 0!=this.day&&this.day!=a.getDate()||24<=this.yc||60<=this.Ed||60<=this.kd||1E3<=this.sM))return!1;void 0!=this.QQ&&(b=a.getTimezoneOffset(),a.setTime(a.getTime()+6E4*(this.QQ-b)));
this.wca&&(b=new Date,b.setFullYear(b.getFullYear()-80),a.getTime()<b.getTime()&&a.setFullYear(b.getFullYear()+100));if(void 0!=this.pH)if(void 0==this.day)b=(7+this.pH-a.getDay())%7,3<b&&(b-=7),c=a.getMonth(),a.setDate(a.getDate()+b),a.getMonth()!=c&&a.setDate(a.getDate()+(0<b?-7:7));else if(this.pH!=a.getDay())return!1;return!0};var PD=function(a,b){V.call(this,b);this.Ua=a||""},QD;B(PD,V);PD.prototype.oi=null;PD.prototype.Cra=10;var RD=function(){null!=QD||(QD="placeholder"in wy(document,Xc));return QD};q=PD.prototype;q.pq=!1;q.g=function(){this.Na(this.j().g(Xc,{type:fp}))};q.Ka=function(a){PD.c.Ka.call(this,a);this.Ua||(this.Ua=a.getAttribute(Lj)||"");Zy(fy(a))==a&&(this.pq=!0,a=this.b(),C(a),jC(a,this.dv));RD()&&(this.b().placeholder=this.Ua);a=this.b();C(a,Md);T(a,Lj,this.Ua)};
q.B=function(){PD.c.B.call(this);this.ap();this.zk();this.b().Mf=this};q.Pa=function(){PD.c.Pa.call(this);this.rj();this.b().Mf=null};q.ap=function(){var a=new pC(this);a.listen(this.b(),Ih,this.jn);a.listen(this.b(),rf,this.hq);if(RD())this.G=a;else{Ft&&a.listen(this.b(),[Jj,Ij,Kj],this.pma);var b=fy(this.b());a.listen(ry(b),Wj,this.Ooa);this.G=a;this.ZS()}};q.ZS=function(){!this.qha&&this.G&&this.b().form&&(this.G.listen(this.b().form,$o,this.uma),this.qha=!0)};
q.rj=function(){this.G&&(this.G.dispose(),this.G=null)};q.o=function(){PD.c.o.call(this);this.rj()};q.dv="label-input-label";q.jn=function(){this.pq=!0;var a=this.b();C(a);jC(a,this.dv);if(!RD()&&!this.cl()&&!this.Epa){var b=this;a=function(){b.b()&&(b.b().value="")};E?M(a,10):a()}};q.hq=function(){RD()||(this.G.ta(this.b(),Kf,this.jn),this.oi=null);this.pq=!1;this.zk()};
q.pma=function(a){27==a.keyCode&&(a.type==Ij?this.oi=this.b().value:a.type==Jj?this.b().value=this.oi:a.type==Kj&&(this.oi=null),a.preventDefault())};q.uma=function(){this.cl()||(this.b().value="",M(this.zla,10,this))};q.zla=function(){this.cl()||(this.b().value=this.Ua)};q.Ooa=function(){this.zk()};q.hasFocus=function(){return this.pq};q.cl=function(){return!!this.b()&&""!=this.b().value&&this.b().value!=this.Ua};q.clear=function(){this.b().value="";null!=this.oi&&(this.oi="")};
q.reset=function(){this.cl()&&(this.clear(),this.zk())};q.setValue=function(a){null!=this.oi&&(this.oi=a);this.b().value=a;this.zk()};q.getValue=function(){return null!=this.oi?this.oi:this.cl()?this.b().value:""};q.Ra=function(a){var b=this.b();RD()?(b&&(b.placeholder=a),this.Ua=a):this.cl()||(b&&(b.value=""),this.Ua=a,this.E4());b&&T(b,Lj,this.Ua)};q.wg=function(){return this.Ua};
q.zk=function(){var a=this.b();C(a,Md);RD()?this.b().placeholder!=this.Ua&&(this.b().placeholder=this.Ua):this.ZS();T(a,Lj,this.Ua);this.cl()?(a=this.b(),C(a),jC(a,this.dv)):(this.Epa||this.pq||(a=this.b(),C(a),U(a,this.dv)),RD()||M(this.E4,this.Cra,this))};q.U=function(a){this.b().disabled=!a;var b=this.b();C(b);lC(b,this.dv+Ka,!a)};q.isEnabled=function(){return!this.b().disabled};q.E4=function(){!this.b()||this.cl()||this.pq||(this.b().value=this.Ua)};var SD=function(a,b,c,e){V.call(this,e);this.tV=a;this.uV=b;this.Ic=new MD(c,e);this.ca(this.Ic);this.Ic.Pl(!1)};B(SD,V);q=SD.prototype;q.tV=null;q.uV=null;q.Ic=null;q.q3=null;q.Ez=function(){return this.Ic.Ez()};q.getDate=function(){var a=this.uJ(),b=this.Ic.getDate();a&&b?a.ad(b)||this.Ic.setDate(a):this.Ic.setDate(null);return a};q.setDate=function(a){this.Ic.setDate(a)};q.p6=function(a){var b=this.b();b.Mf?b.Mf.setValue(a):b.value=a};
q.nja=function(){var a=this.b();return a.Mf?a.Mf.getValue():a.value};q.q6=function(a){this.p6(a?this.tV.format(a):"")};q.uJ=function(){var a=jr(this.nja());if(a){var b=new BB;if(0<this.uV.XCa(a,b))return b}return null};q.g=function(){this.Na(this.j().g(Xc,{type:fp}));this.Ic.g()};q.B=function(){(this.q3||this.j().K().body).appendChild(this.Ic.b());SD.c.B.call(this);var a=this.b();this.Ic.pd(a);this.Ic.setDate(this.uJ());a=this.A();a.listen(this.Ic,Cf,this.Cv);a.listen(this.Ic,In,this.dua)};
q.Pa=function(){SD.c.Pa.call(this);var a=this.b();this.Ic.detach(a);this.Ic.Pa();Ey(this.Ic.b())};q.Ka=function(a){SD.c.Ka.call(this,a);this.Ic.g()};q.o=function(){SD.c.o.call(this);this.Ic.dispose();this.q3=this.Ic=null};q.rK=function(){this.Ic.rK()};q.dua=function(){var a=this.uJ();this.setDate(a);a&&this.q6(this.Ez().getDate())};q.Cv=function(a){this.q6(a.ka)};var TD=function(){};B(TD,iD);Rq(TD);q=TD.prototype;q.wd=function(){return vf};q.Wi=function(a,b,c){switch(b){case 8:case 16:C(a,"The button DOM element cannot be null.");T(a,"pressed",c);break;default:case 64:case 1:TD.c.Wi.call(this,a,b,c)}};q.g=function(a){var b=TD.c.g.call(this,a);this.Wc(b,a.zg());var c=a.getValue();c&&this.setValue(b,c);a.pb(16)&&this.Wi(b,16,a.bf());return b};q.R=function(a,b){b=TD.c.R.call(this,a,b);a.wBa(this.getValue(b));a.Fr(this.zg(b));a.pb(16)&&this.Wi(b,16,a.bf());return b};
q.getValue=Qq;q.setValue=Qq;q.zg=function(a){return a.title};q.Wc=function(a,b){a&&(b?a.title=b:a.removeAttribute(op))};q.Yg=function(a,b){var c=a.Eh(),e=this.If()+"-collapse-left",f=this.If()+"-collapse-right";a.Hp(c?f:e,!!(b&1));a.Hp(c?e:f,!!(b&2))};q.S=function(){return Zh};var UD=function(){};B(UD,TD);Rq(UD);q=UD.prototype;q.wd=function(){};q.g=function(a){this.m7(a);return a.j().g(Nb,{"class":this.Zd(a).join(" "),disabled:!a.isEnabled(),title:a.zg()||"",value:a.getValue()||""},a.pi()||"")};q.tc=function(a){return a.tagName==Nb||a.tagName==Xc&&(a.type==vf||a.type==$o||a.type==Um)};q.R=function(a,b){this.m7(a);if(b.disabled){var c=Xr(this.Xm(1));U(b,c)}return UD.c.R.call(this,a,b)};q.Bd=function(a){a.A().listen(a.b(),Kf,a.Tc)};q.rr=Qq;q.po=Qq;q.Uj=function(a){return a.isEnabled()};
q.Me=Qq;q.setState=function(a,b,c){UD.c.setState.call(this,a,b,c);(a=a.b())&&1==b&&(a.disabled=c)};q.getValue=function(a){return a.value};q.setValue=function(a,b){a&&(a.value=b)};q.Wi=Qq;q.m7=function(a){a.ED(!1);a.wD(255,!1);a.tb(32,!1)};var VD=function(a,b,c){mD.call(this,a,b||UD.H(),c)};B(VD,mD);q=VD.prototype;q.getValue=function(){return this.qb};q.setValue=function(a){this.qb=a;this.M.setValue(this.b(),a)};q.wBa=function(a){this.qb=a};q.zg=function(){return this.kb};q.Wc=function(a){this.kb=a;this.M.Wc(this.b(),a)};q.Fr=function(a){this.kb=a};q.Yg=function(a){this.M.Yg(this,a)};q.o=function(){VD.c.o.call(this);delete this.qb;delete this.kb};
q.B=function(){VD.c.B.call(this);if(this.pb(32)){var a=this.Zb();a&&this.A().listen(a,Kj,this.wc)}};q.wc=function(a){return 13==a.keyCode&&a.type==Hj||32==a.keyCode&&a.type==Kj?this.Tc(a):32==a.keyCode};eD(Zh,function(){return new VD(null)});var WD=function(){};B(WD,TD);Rq(WD);q=WD.prototype;q.g=function(a){var b=this.Zd(a);b=a.j().g(d,gi+b.join(" "),this.Ts(a.zb(),a.j()));this.Wc(b,a.zg());return b};q.wd=function(){return vf};q.J=function(a){return a&&a.firstChild&&a.firstChild.firstChild};q.Ts=function(a,b){return b.g(d,gi+(this.S()+Qa),b.g(d,gi+(this.S()+Ma),a))};q.tc=function(a){return a.tagName==d};q.XZ=function(a,b){b=a.j().Zm(b);var c=this.S()+Qa;return b&&hC(b,c)&&(a=a.j().Zm(b),b=this.S()+Ma,a&&hC(a,b))?!0:!1};
q.R=function(a,b){C(b);XD(b,!0);XD(b,!1);this.XZ(a,b)||b.appendChild(this.Ts(b.childNodes,a.j()));iC(b,[fi,this.S()]);return WD.c.R.call(this,a,b)};q.S=function(){return ci};var XD=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(""==jr(f))a.removeChild(c);else{c.nodeValue=b?f.replace(/^[\s\xa0]+/,""):f.replace(/[\s\xa0]+$/,"");break}}else break;c=e}};var YD=function(){};B(YD,WD);Rq(YD);YD.prototype.J=function(a){return YD.c.J.call(this,a&&a.firstChild)};YD.prototype.R=function(a,b){var c=iy("*",ii,b)[0];if(c){R(c,!1);fy(c).body.appendChild(c);var e=new BD;e.R(c);a.Zg(e)}return YD.c.R.call(this,a,b)};YD.prototype.Ts=function(a,b){return YD.c.Ts.call(this,[this.createCaption(a,b),this.Ay(b)],b)};YD.prototype.createCaption=function(a,b){return ZD(a,this.S(),b)};var ZD=function(a,b,c){return c.g(d,gi+(b+Ha),a)};
YD.prototype.Ay=function(a){return a.g(d,gi+(this.S()+La),"\u00a0")};YD.prototype.S=function(){return ji};var $D=function(a,b,c,e,f){VD.call(this,a,c||YD.H(),e);this.tb(64,!0);this.vl=new bD(null,9);b&&this.Zg(b);this.Gsa=null;this.wa=new Xv(500);!AA&&!BA||Xt("533.17.9")||this.f6(!0);this.Hsa=f||zD.H()};B($D,VD);q=$D.prototype;q.UA=!1;q.j4=!1;q.Qxa=!1;q.B=function(){$D.c.B.call(this);this.aT(!0);this.fa&&this.Vx(this.fa,!0);T(this.Ta(),Fi,!!this.fa)};q.Pa=function(){$D.c.Pa.call(this);this.aT(!1);if(this.fa){this.Hb(!1);this.fa.Pa();this.Vx(this.fa,!1);var a=this.fa.b();a&&Ey(a)}};
q.o=function(){$D.c.o.call(this);this.fa&&(this.fa.dispose(),delete this.fa);delete this.ova;this.wa.dispose()};q.Qc=function(a){$D.c.Qc.call(this,a);this.Rb()&&(this.Hb(!this.Qd(),a),this.fa&&this.fa.Rl(this.Qd()))};q.Kf=function(a){$D.c.Kf.call(this,a);this.fa&&!this.Rb()&&this.fa.Rl(!1)};q.Tc=function(){this.setActive(!1);return!0};q.gma=function(a){this.fa&&this.fa.N()&&!this.mg(a.target)&&this.Hb(!1)};q.mg=function(a){return a&&Ly(this.b(),a)||this.fa&&this.fa.mg(a)||!1};
q.wc=function(a){if(32==a.keyCode){if(a.preventDefault(),a.type!=Kj)return!0}else if(a.type!=Hj)return!1;if(this.fa&&this.fa.N()){var b=13==a.keyCode||32==a.keyCode,c=this.fa.ec(a);return 27==a.keyCode||b?(this.Hb(!1),!0):c}return 40==a.keyCode||38==a.keyCode||32==a.keyCode||13==a.keyCode?(this.Hb(!0,a),!0):!1};q.wu=function(){this.Hb(!1)};q.gna=function(){this.Rb()||this.Hb(!1)};q.af=function(a){this.UA||this.Hb(!1);$D.c.af.call(this,a)};
q.Qa=function(){this.fa||this.Zg(new BD(this.j(),this.Hsa));return this.fa||null};q.Zg=function(a){var b=this.fa;a!=b&&(b&&(this.Hb(!1),this.V&&this.Vx(b,!1),delete this.fa),this.V&&T(this.Ta(),Fi,!!a),a&&(this.fa=a,a.Ea(this),a.C(!1),a.Pl(this.UA),this.V&&this.Vx(a,!0)));return b};q.sc=function(a){this.Qa().ca(a,!0)};q.pm=function(a,b){this.Qa().pe(a,b,!0)};q.removeItem=function(a){(a=this.Qa().removeChild(a,!0))&&a.dispose()};q.cd=function(a){return this.fa?this.fa.pa(a):null};
q.Xk=function(){return this.fa?this.fa.Xa():0};q.C=function(a,b){(a=$D.c.C.call(this,a,b))&&!this.N()&&this.Hb(!1);return a};q.U=function(a){$D.c.U.call(this,a);this.isEnabled()||this.Hb(!1)};q.d0=function(){var a=this.vl.Dk;return 9==a||8==a};q.C5=function(a){this.vl.Dk=a?9:13};q.IAa=function(a){this.vl.zr&&this.vl.zr(1|(a?32:4))};q.cB=function(){return this.vl.sja&&!!(this.vl.Fn&32)};q.f6=function(a){this.UA=a};q.O6=function(a){this.j4=a};q.N7=function(){this.Hb(!0)};
q.Hb=function(a,b){$D.c.Hb.call(this,a);if(this.fa&&this.Cg(64)==a){if(a){if(!this.fa.V)if(this.j4){var c=Jy(this.b());c?this.fa.g4(c):this.fa.render(this.b().parentNode)}else this.fa.render();this.p$=Xz(this.b());this.wT=iA(this.b());this.mN();c=!!b&&(13==b.keyCode||32==b.keyCode);b&&(40==b.keyCode||38==b.keyCode)||c&&this.Qxa?this.fa.Iu():this.fa.oc(-1)}else{this.setActive(!1);this.fa.Rl(!1);if(c=this.b())T(c,oe,""),T(c,tl,"");null!=this.pC&&(this.pC=void 0,(c=this.fa.b())&&gA(c,"",""))}this.fa.C(a,
!1,b);this.isDisposed()||this.Sca(a)}this.fa&&this.fa.b()&&UB(this.fa.Ta(),Hi)};q.mN=function(){if(this.fa.V){var a=this.ova||this.b(),b=this.vl;this.vl.element=a;a=this.fa.b();this.fa.N()||(a.style.visibility=Hi,R(a,!0));!this.pC&&this.cB()&&(this.pC=hA(a));b.ha(a,b.Dk^1,this.Gsa,this.pC);this.fa.N()||(R(a,!1),a.style.visibility=lq)}};
q.Rq=function(){var a=iA(this.b()),b=Xz(this.b());var c=this.wT;(c=!(c==a||c&&a&&c.left==a.left&&c.width==a.width&&c.top==a.top&&c.height==a.height))||(c=this.p$,c=!(c==b||c&&b&&c.top==b.top&&c.right==b.right&&c.bottom==b.bottom&&c.left==b.left));c&&(this.wT=a,this.p$=b,this.mN())};q.Vx=function(a,b){var c=this.A();b=b?c.listen:c.ta;b.call(c,a,k,this.wu);b.call(c,a,Lf,this.QJ);b.call(c,a,Ji,this.SJ);b.call(c,a,Dp,this.dK)};q.aT=function(a){var b=this.A();(a?b.listen:b.ta).call(b,this.b(),Ij,this.Nma)};
q.SJ=function(a){(a=a.target.b())&&this.G5(a)};q.Nma=function(a){this.pb(32)&&this.Zb()&&this.fa&&this.fa.N()&&a.stopPropagation()};q.dK=function(){if(!this.fa.Ff()){var a=this.b();C(a,Nd);T(a,oe,"");T(a,tl,"")}};q.QJ=function(a){if(this.Qd()&&a.target instanceof wD){a=a.target;var b=a.b();a.N()&&a.gL()&&null!=b&&this.G5(b)}};q.G5=function(a){var b=this.b();C(b,Nd);a=WB(a)||a;if(!a.id){var c=vC.H();a.id=c.Nd()}XB(b,a);T(b,tl,a.id)};
q.Sca=function(a){var b=this.A(),c=a?b.listen:b.ta;c.call(b,this.j().K(),wk,this.gma,!0);this.UA&&c.call(b,this.fa,rf,this.gna);c.call(b,this.wa,lp,this.Rq);a?this.wa.start():this.wa.stop()};eD(ji,function(){return new $D(null)});var aE=function(a){J.call(this);this.Tb=[];this.uS(a)};B(aE,J);q=aE.prototype;q.Vc=null;q.Fd=null;q.V6=function(a){this.Fd=a};q.Xk=function(){return this.Tb.length};q.G_=function(a){return a?ds(this.Tb,a):-1};q.Yia=function(){return this.Tb[0]};q.cd=function(a){return this.Tb[a]||null};q.uS=function(a){a&&(D(a,function(a){this.nr(a,!1)},this),zs(this.Tb,a))};q.sc=function(a){this.pm(a,this.Xk())};q.pm=function(a,b){a&&(this.nr(a,!1),Bs(this.Tb,b,0,a))};
q.removeItem=function(a){a&&vs(this.Tb,a)&&a==this.Vc&&(this.Vc=null,this.dispatchEvent(mn))};q.xa=function(){return this.Vc};q.Gj=function(){return ys(this.Tb)};q.Bb=function(a){a!=this.Vc&&(this.nr(this.Vc,!1),this.Vc=a,this.nr(a,!0));this.dispatchEvent(mn)};q.yg=function(){return this.G_(this.Vc)};q.kf=function(a){this.Bb(this.cd(a))};q.clear=function(){ss(this.Tb);this.Vc=null};q.o=function(){aE.c.o.call(this);delete this.Tb;this.Vc=null};
q.nr=function(a,b){a&&(typeof this.Fd==Rh?this.Fd(a,b):typeof a.ag==Rh&&a.ag(b))};var bE=function(a,b,c,e,f){$D.call(this,a,b,c,e,f||new zD(Uj));this.sH=this.zb();this.QK=null;this.jP(Uj)};B(bE,$D);q=bE.prototype;q.O=null;q.B=function(){bE.c.B.call(this);this.UQ();this.o1()};q.Ka=function(a){bE.c.Ka.call(this,a);(a=this.pi())?this.$ya(a):this.xa()||this.kf(0)};q.o=function(){bE.c.o.call(this);this.O&&(this.O.dispose(),this.O=null);this.sH=null};q.wu=function(a){this.Bb(a.target);bE.c.wu.call(this,a);a.stopPropagation();this.dispatchEvent(k)};
q.zu=function(){var a=this.xa();bE.c.setValue.call(this,a&&a.getValue());this.UQ()};q.Zg=function(a){var b=bE.c.Zg.call(this,a);a!=b&&(this.O&&this.O.clear(),a&&(this.O?a.Ia(function(a){this.CD(a);this.O.sc(a)},this):this.aH(a)));return b};q.$ya=function(a){this.sH=a;this.UQ()};q.sc=function(a){this.CD(a);bE.c.sc.call(this,a);this.O?this.O.sc(a):this.aH(this.Qa());this.TQ()};q.pm=function(a,b){this.CD(a);bE.c.pm.call(this,a,b);this.O?this.O.pm(a,b):this.aH(this.Qa())};
q.removeItem=function(a){bE.c.removeItem.call(this,a);this.O&&this.O.removeItem(a)};q.Bb=function(a){if(this.O){var b=this.xa();this.O.Bb(a);a!=b&&this.dispatchEvent(Cf)}};q.kf=function(a){this.O&&this.Bb(this.O.cd(a))};q.setValue=function(a){if(null!=a&&this.O)for(var b=0,c;c=this.O.cd(b);b++)if(c&&typeof c.getValue==Rh&&c.getValue()==a){this.Bb(c);return}this.Bb(null)};q.getValue=function(){var a=this.xa();return a?a.getValue():null};q.xa=function(){return this.O?this.O.xa():null};
q.yg=function(){return this.O?this.O.yg():-1};q.aH=function(a){this.O=new aE;a&&a.Ia(function(a){this.CD(a);this.O.sc(a)},this);this.o1()};q.o1=function(){this.O&&this.A().listen(this.O,mn,this.zu)};q.UQ=function(){var a=this.xa();this.eb(a?a.pi():this.sH);var b=this.M.J(this.b());b&&this.j().Wu(b)&&(null==this.QK&&(this.QK=YB(b)),a=a?a.b():null,ZB(b,a?YB(a):this.QK),this.TQ())};
q.TQ=function(){var a=this.M;if(a&&(a=a.J(this.b()))){var b=this.Ta();a.id||(a.id=vC.H().Nd());SB(a,jl);T(b,oe,a.id);if(this.O){b=this.O.Gj();T(a,"setsize",this.qY(b));var c=this.O.yg();T(a,zm,0<=c?this.qY(As(b,0,c+1)):0)}}};q.qY=function(a){return ms(a,function(a){return a instanceof wD})};q.CD=function(a){a.jP(a instanceof wD?jl:qn)};q.Hb=function(a,b){bE.c.Hb.call(this,a,b);this.Qd()?this.Qa().oc(this.yg()):this.TQ()};eD("goog-select",function(){return new bE(null)});var cE=function(a){this.qb=void 0;this.rd={};a&&this.rya(a)};q=cE.prototype;q.set=function(a,b){this.I6(a,b,!1)};q.add=function(a,b){this.I6(a,b,!0)};q.I6=function(a,b,c){for(var e=this,f=0;f<a.length;f++){var g=a.charAt(f);e.rd[g]||(e.rd[g]=new cE);e=e.rd[g]}if(c&&void 0!==e.qb)throw Error('The collection already contains the key "'+a+'"');e.qb=b};q.rya=function(a){var b=Hv(a);a=Gv(a);for(var c=0;c<b.length;c++)this.set(b[c],a[c])};
q.pia=function(a){for(var b=this,c=0;c<a.length;c++)if(b=b.rd[a.charAt(c)],!b)return;return b};q.get=function(a){return(a=this.pia(a))?a.qb:void 0};q.nb=function(){var a=[];this.ZY(a);return a};q.ZY=function(a){void 0!==this.qb&&a.push(this.qb);for(var b in this.rd)this.rd[b].ZY(a)};q.bb=function(a){var b=[];if(a){for(var c=this,e=0;e<a.length;e++){var f=a.charAt(e);if(!c.rd[f])return[];c=c.rd[f]}c.wJ(a,b)}else this.wJ("",b);return b};
q.wJ=function(a,b){void 0!==this.qb&&b.push(a);for(var c in this.rd)this.rd[c].wJ(a+c,b)};q.Xb=function(a){return void 0!==this.get(a)};q.nj=function(a){if(this.qb===a)return!0;for(var b in this.rd)if(this.rd[b].nj(a))return!0;return!1};q.clear=function(){this.rd={};this.qb=void 0};
q.remove=function(a){for(var b=this,c=[],e=0;e<a.length;e++){var f=a.charAt(e);if(!b.rd[f])throw Error('The collection does not have the key "'+a+'"');c.push([b,f]);b=b.rd[f]}a=b.qb;for(delete b.qb;0<c.length;)if(f=c.pop(),b=f[0],f=f[1],b.rd[f].Sb())delete b.rd[f];else break;return a};q.clone=function(){return new cE(this)};q.sa=function(){return Fv(this.nb())};q.Sb=function(){return void 0===this.qb&&at(this.rd)};var eE=function(a,b,c){V.call(this,c);this.v=b||dE;this.BA=sx(a);this.ye=this.he=!1;this.f9=null;this.oca=Fx;this.Fh=!0;this.Jy=-1};B(eE,V);var fE={};q=eE.prototype;q.o=function(){eE.c.o.call(this);this.zo&&(this.zo.removeNode(this),this.zo=null);this.Na(null)};
q.JA=function(){var a=this.b();if(a){var b=this.gu();b&&!b.id&&(b.id=this.getId()+".label");SB(a,"treeitem");T(a,pn,!1);T(a,"level",this.Tk());b&&T(a,Mj,b.id);(b=this.cu())&&SB(b,Cm);(b=this.Hz())&&SB(b,Cm);if(b=this.Wm())if(SB(b,"group"),b.hasChildNodes())for(T(a,uh,!1),a=this.Xa(),b=1;b<=a;b++){var c=this.pa(b-1).b();C(c,"The child element cannot be null");T(c,"setsize",a);T(c,zm,b)}}};q.g=function(){var a=this.j().Nh(this.Ti());this.Na(a)};
q.B=function(){eE.c.B.call(this);fE[this.getId()]=this;this.JA()};q.Pa=function(){eE.c.Pa.call(this);delete fE[this.getId()]};q.pe=function(a,b){C(!a.getParent());cs(a,eE);var c=this.pa(b-1),e=this.pa(b);eE.c.pe.call(this,a,b);a.Ei=c;a.fe=e;c?c.fe=a:this.gX=a;e?e.Ei=a:this.X0=a;(b=this.zd())&&a.AP(b);a.wO(this.Tk()+1);if(b=this.b())if(this.Bo(),T(b,uh,this.Md()),this.Md()){b=this.Wm();a.b()||a.g();var f=a.b(),g=e&&e.b();b.insertBefore(f,g);this.V&&a.B();e||(c?c.Bo():(R(b,!0),this.Td(this.Md())))}};
q.add=function(a,b){C(!b||b.getParent()==this,"Can only add nodes before siblings");a.getParent()&&a.getParent().removeChild(a);this.pe(a,b?this.De(b):this.Xa());return a};
q.removeChild=function(a){var b=this.zd(),c=b?b.xa():null;if(c==a||a.contains(c))b.hasFocus()?(this.select(),M(this.lua,10,this)):this.select();eE.c.removeChild.call(this,a);this.X0==a&&(this.X0=a.Ei);this.gX==a&&(this.gX=a.fe);a.Ei&&(a.Ei.fe=a.fe);a.fe&&(a.fe.Ei=a.Ei);c=a.YA();a.zo=null;a.Jy=-1;if(b&&(b.removeNode(a),this.V)){b=this.Wm();if(a.V){var e=a.b();b.removeChild(e);a.Pa()}c&&(c=this.gY())&&c.Bo();this.Ad()||(b.style.display=Nk,this.Bo(),this.NE(),(c=this.b())&&UB(c,uh))}return a};
q.remove=eE.prototype.removeChild;q.lua=function(){this.select()};q.Tk=function(){var a=this.Jy;0>a&&(a=this.Xda(),this.wO(a));return a};q.Xda=function(){var a=this.getParent();return a?a.Tk()+1:0};q.wO=function(a){if(a!=this.Jy){this.Jy=a;var b=this.Od();if(b){var c=this.vY()+n;this.Eh()?b.style.paddingRight=c:b.style.paddingLeft=c}this.Ia(function(b){b.wO(a+1)})}};q.contains=function(a){for(;a;){if(a==this)return!0;a=a.getParent()}return!1};
q.Pc=function(){var a=[];this.Ia(function(b){a.push(b)});return a};q.si=function(){return this.pa(0)};q.gY=function(){return this.pa(this.Xa()-1)};q.YA=function(){return!this.fe};q.Rd=function(){return this.he};q.select=function(){var a=this.zd();a&&a.Bb(this)};q.nP=function(a){if(this.he!=a){this.he=a;this.hx();var b=this.b();b&&(T(b,pn,a),a&&(a=this.zd().b(),C(a,"The DOM element for the tree cannot be null"),T(a,oe,this.getId())))}};q.Md=function(){return this.ye};q.ww=function(a){this.ye=a};
q.Td=function(a){var b=a!=this.ye;if(!b||this.dispatchEvent(a?"beforeexpand":"beforecollapse")){this.ye=a;var c=this.zd();var e=this.b();if(this.Ad()){if(!a&&c&&this.contains(c.xa())&&this.select(),e){if(c=this.Wm())if(R(c,a),T(e,uh,a),a&&this.V&&!c.hasChildNodes()){var f=[];this.Ia(function(a){f.push(a.Ti())});Vx(c,Cx(f));this.Ia(function(a){a.B()})}this.Bo()}}else(c=this.Wm())&&R(c,!1);e&&this.NE();b&&this.dispatchEvent(a?th:"collapse")}};q.toggle=function(){this.Td(!this.Md())};q.expand=function(){this.Td(!0)};
q.collapse=function(){this.Td(!1)};q.Sda=function(){this.Ia(function(a){a.Ls()})};q.Ls=function(){this.Sda();this.collapse()};q.Mga=function(){this.Ia(function(a){a.fz()})};q.fz=function(){this.Mga();this.expand()};q.Zv=function(){var a=this.getParent();a&&(a.Td(!0),a.Zv())};q.ID=function(a){(this.Fh=a)||this.expand();this.b()&&this.Bo()};
q.Ti=function(){var a=this.zd(),b=!a.Mw||a==this.getParent()&&!a.Nw?this.v.gV:this.v.fV;a=this.Md()&&this.Ad();b={"class":b,style:this.xja()};var c=[];a&&this.Ia(function(a){c.push(a.Ti())});a=zx(Og,b,c);return zx(Og,{"class":this.v.hH,id:this.getId()},[this.xka(),a])};q.vY=function(){return Math.max(0,(this.Tk()-1)*this.v.F_)};q.xka=function(){var a={};a[ul+(this.Eh()?Wm:Rj)]=this.vY()+n;a={"class":this.bn(),style:a};var b=[this.TX(),this.fja(),this.rja()];return zx(Og,a,b)};
q.bn=function(){var a=this.Rd()?" "+this.v.ifa:"";return this.v.nV+a};q.rja=function(){var a=zx(Po,{"class":this.v.iH,title:this.f9||null},this.BA);return Cx(a,zx(Po,{},this.oca))};q.fja=function(){return zx(Po,{style:{display:"inline-block"},"class":this.Az()})};q.TX=function(){return zx(Po,{type:th,style:{display:"inline-block"},"class":this.lJ()})};
q.lJ=function(){var a=this.zd(),b=!a.Mw||a==this.getParent()&&!a.Nw,c=this.v,e=new bB;e.append(c.qp," ",c.afa," ");if(this.Ad()){var f=0;a.SP&&this.Fh&&(f=this.Md()?2:1);b||(f=this.YA()?f+4:f+8);switch(f){case 1:e.append(c.kV);break;case 2:e.append(c.jV);break;case 4:e.append(c.iV);break;case 5:e.append(c.cfa);break;case 6:e.append(c.bfa);break;case 8:e.append(c.lV);break;case 9:e.append(c.efa);break;case 10:e.append(c.dfa);break;default:e.append(c.Dy)}}else b?e.append(c.Dy):this.YA()?e.append(c.iV):
e.append(c.lV);return e.toString()};q.xja=function(){var a=this.Md()&&this.Ad();return cx({"background-position":this.zX(),display:a?null:Nk})};q.zX=function(){return(this.YA()?"-100":(this.Tk()-1)*this.v.F_)+"px 0"};q.b=function(){var a=eE.c.b.call(this);a||(a=this.j().b(this.getId()),this.Na(a));return a};q.Od=function(){var a=this.b();return a?a.firstChild:null};q.Hz=function(){var a=this.Od();return a?a.firstChild:null};q.cu=function(){var a=this.Od();return a?a.childNodes[1]:null};
q.gu=function(){var a=this.Od();return a&&a.lastChild?a.lastChild.previousSibling:null};q.SI=function(){var a=this.Od();return a?a.lastChild:null};q.Wm=function(){var a=this.b();return a?a.lastChild:null};q.m6=function(a){this.v_=a;this.V&&this.NE()};q.Z5=function(a){this.PW=a;this.V&&this.NE()};q.yP=function(a){this.Rh(rx(a))};q.getText=function(){return Br(px(this.BA))};q.Rh=function(a){this.BA=a;var b=this.gu();b&&Vx(b,a);(a=this.zd())&&a.G6(this)};q.qJ=function(){return px(this.BA)};
q.j7=function(a){this.f9=a;var b=this.gu();b&&(b.title=a)};q.hx=function(){var a=this.Od();a&&(a.className=this.bn())};q.Bo=function(){var a=this.Hz();a&&(a.className=this.lJ());if(a=this.Wm())a.style.backgroundPosition=this.zX()};q.NE=function(){this.cu().className=this.Az()};q.lC=function(a){a.target.getAttribute(zp)==th&&this.Ad()?this.Fh&&this.toggle():(this.select(),this.hx())};q.u2=Gu;q.Dv=function(a){a.target.getAttribute(zp)==th&&this.Ad()||this.Fh&&this.toggle()};
q.Sta=function(a){var b=!0;switch(a.keyCode){case 39:if(a.altKey)break;this.Ad()&&(this.Md()?this.si().select():this.Td(!0));break;case 37:if(a.altKey)break;if(this.Ad()&&this.Md()&&this.Fh)this.Td(!1);else{var c=this.getParent(),e=this.zd();c&&(e.Yl||c!=e)&&c.select()}break;case 40:(c=this.nY())&&c.select();break;case 38:(c=this.EJ())&&c.select();break;default:b=!1}b&&(a.preventDefault(),(e=this.zd())&&e.Kda());return b};q.xJ=function(){return this.Md()&&this.Ad()?this.gY().xJ():this};
q.nY=function(){if(this.Ad()&&this.Md())return this.si();for(var a=this,b;a!=this.zd();){b=a.fe;if(null!=b)return b;a=a.getParent()}return null};q.EJ=function(){var a=this.Ei;if(null!=a)return a.xJ();a=this.getParent();var b=this.zd();return!b.Yl&&a==b||this==b?null:a};q.$d=eE.prototype.Lja;q.AD=eE.prototype.Dc;q.AP=function(a){this.zo!=a&&(this.zo=a,a.G6(this),this.Ia(function(b){b.AP(a)}))};
var dE={F_:19,hfa:"goog-tree-root goog-tree-item",ffa:"goog-tree-hide-root",hH:"goog-tree-item",fV:"goog-tree-children",gV:"goog-tree-children-nolines",nV:"goog-tree-row",iH:"goog-tree-item-label",qp:"goog-tree-icon",afa:"goog-tree-expand-icon",kV:"goog-tree-expand-icon-plus",jV:"goog-tree-expand-icon-minus",efa:"goog-tree-expand-icon-tplus",dfa:"goog-tree-expand-icon-tminus",cfa:"goog-tree-expand-icon-lplus",bfa:"goog-tree-expand-icon-lminus",lV:"goog-tree-expand-icon-t",iV:"goog-tree-expand-icon-l",
Dy:"goog-tree-expand-icon-blank",gH:zi,fH:yi,Ws:"goog-tree-file-icon",mV:zi,hV:yi,ifa:pn};var gE=function(a,b,c){eE.call(this,a,b,c)};B(gE,eE);gE.prototype.zd=function(){if(this.zo)return this.zo;var a=this.getParent();return a&&(a=a.zd())?(this.AP(a),a):null};gE.prototype.Az=function(){var a=this.Md(),b=this.PW;if(a&&b)return b;b=this.v_;if(!a&&b)return b;b=this.v;if(this.Ad()){if(a&&b.gH)return b.qp+" "+b.gH;if(!a&&b.fH)return b.qp+" "+b.fH}else if(b.Ws)return b.qp+" "+b.Ws;return""};var hE=function(){this.Ln=new cE;this.Zc="";this.GB=this.jM=null;this.Jq=this.qv=0};q=hE.prototype;q.ona=function(a){var b=!1;switch(a.keyCode){case 40:case 38:a.ctrlKey&&(this.Ara(40==a.keyCode?1:-1),b=!0);break;case 8:a=this.Zc.length-1;b=!0;0<a?(this.Zc=this.Zc.substring(0,a),this.R0(this.Zc)):0==a?this.Zc="":b=!1;break;case 27:this.Zc="",b=!0}return b};
q.Eoa=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.Zc)&&(this.Zc+=a,b=this.R0(this.Zc)));return b};q.pAa=function(a){var b=a.getText();if(b&&!hr(Hr(b))){b=b.toLowerCase();var c=this.Ln.get(b);c?c.push(a):this.Ln.set(b,[a])}};
q.c4=function(a){var b=a.getText();if(b&&!hr(Hr(b))){b=b.toLowerCase();var c=this.Ln.get(b);if(c){for(var e=a.Xa(),f=0;f<e;f++)this.c4(a.pa(f));vs(c,a);c.length||this.Ln.remove(b)}}};q.R0=function(a){var b=!1;(a=this.Ln.bb(a))&&a.length&&(this.qv=this.Jq=0,b=this.Ln.get(a[0]),b=this.k5(b))&&(this.jM=a);return b};
q.Ara=function(a){var b=!1,c=this.jM;if(c){b=null;var e=!1;if(this.GB){var f=this.Jq+a;0<=f&&f<this.GB.length?(this.Jq=f,b=this.GB):e=!0}b||(f=this.qv+a,0<=f&&f<c.length&&(this.qv=f),c.length>this.qv&&(b=this.Ln.get(c[this.qv])),b&&b.length&&e&&(this.Jq=-1==a?b.length-1:0));if(b=this.k5(b))this.jM=c}return b};q.k5=function(a){if(a){if(this.Jq<a.length){var b=a[this.Jq];this.GB=a}b&&(b.Zv(),b.select())}return!!b};q.clear=function(){this.Zc=""};var iE=function(a,b,c){eE.call(this,a,b,c);this.ww(!0);this.nP(!0);this.Vc=this;this.ex=new hE;this.vh=this.rb=null;this.F=vv("this");this.HI=!1;this.jha=null;this.Nw=this.Yl=this.SP=this.Mw=!0;if(E)try{document.execCommand(Ob,!1,!0)}catch(e){xv(this.F,"Failed to enable background image cache")}};B(iE,eE);q=iE.prototype;q.zd=function(){return this};q.Tk=function(){return 0};q.Zv=function(){};q.jn=function(){this.HI=!0;U(C(this.b()),"focused");this.Vc&&this.Vc.select()};
q.hq=function(){this.HI=!1;jC(C(this.b()),"focused")};q.hasFocus=function(){return this.HI};q.Md=function(){return!this.Yl||iE.c.Md.call(this)};q.Td=function(a){this.Yl?iE.c.Td.call(this,a):this.ww(a)};q.TX=function(){return Fx};q.cu=function(){var a=this.Od();return a?a.firstChild:null};q.Hz=function(){return null};q.Bo=function(){};q.bn=function(){return iE.c.bn.call(this)+(this.Yl?"":" "+this.v.ffa)};
q.Az=function(){var a=this.Md(),b=this.PW;if(a&&b)return b;b=this.v_;if(!a&&b)return b;b=this.v;return a&&b.mV?b.qp+" "+b.mV:!a&&b.hV?b.qp+" "+b.hV:""};q.Bb=function(a){if(this.Vc!=a){var b=!1;this.Vc&&(b=this.Vc==this.jha,this.Vc.nP(!1));if(this.Vc=a)a.nP(!0),b&&a.select();this.dispatchEvent(Cf)}};q.xa=function(){return this.Vc};q.rP=function(a){this.Mw!=a&&(this.Mw=a,this.V&&this.XQ())};
q.XQ=function(){function a(f){var g=f.Wm();if(g){var h=!c||b==f.getParent()&&!e?f.v.gV:f.v.fV;g.className=h;if(g=f.Hz())g.className=f.lJ()}f.Ia(a)}var b=this,c=b.Mw,e=b.Nw;a(this)};q.X6=function(a){this.Nw!=a&&(this.Nw=a,this.V&&this.XQ())};q.WAa=function(a){this.SP!=a&&(this.SP=a,this.V&&this.XQ())};q.sP=function(a){if(this.Yl!=a){this.Yl=a;if(this.V){var b=this.Od();b&&(b.className=this.bn())}!a&&this.xa()==this&&this.si()&&this.Bb(this.si())}};
q.JA=function(){iE.c.JA.call(this);var a=this.b();C(a,"The DOM element for the tree cannot be null.");SB(a,"tree");T(a,Mj,this.gu().id)};q.B=function(){iE.c.B.call(this);var a=this.b();a.className=this.v.hfa;a.setAttribute("hideFocus",yp);this.ap();this.JA()};q.Pa=function(){iE.c.Pa.call(this);this.rj()};
q.ap=function(){var a=this.b();a.tabIndex=0;var b=this.rb=new SC(a),c=this.vh=new rC(a);this.A().listen(c,Kh,this.hq).listen(c,Jh,this.jn).listen(b,Hj,this.ec).listen(a,wk,this.VJ).listen(a,Kf,this.VJ).listen(a,Eg,this.VJ)};q.rj=function(){this.rb.dispose();this.rb=null;this.vh.dispose();this.vh=null};q.VJ=function(a){yv(this.F,"Received event "+a.type);var b=this.Wja(a);if(b)switch(a.type){case wk:b.lC(a);break;case Kf:b.u2(a);break;case Eg:b.Dv(a)}};
q.ec=function(a){var b;(b=this.ex.ona(a)||this.Vc&&this.Vc.Sta(a)||this.ex.Eoa(a))&&a.preventDefault();return b};q.Wja=function(a){for(var b=a.target;null!=b;){if(a=fE[b.id])return a;if(b==this.b())break;b=b.parentNode}return null};q.createNode=function(a){return new gE(a||Fx,this.v,this.j())};q.G6=function(a){this.ex.pAa(a)};q.removeNode=function(a){this.ex.c4(a)};q.Kda=function(){this.ex.clear()};var jE=dE;var kE=function(a,b){b=a?N(a):b;V.call(this,b);this.iN=a||this.j().K().body;this.qC={};this.mR=0;this.Sq=this.Qs=this.fi=null;this.X2=this.Y2=0;this.Pg=null;this.WN=!0;this.Um=this.Wq=!1};B(kE,V);var lE=[Am,up,Rj,rq,"cssFloat"],mE=[Am,up,Rj,"display","cssFloat","marginTop","marginLeft","marginRight","marginBottom"];q=kE.prototype;q.g=function(){kE.c.g.call(this);this.Ka(this.b())};q.Ka=function(a){kE.c.Ka.call(this,a);C(a);U(a,"goog-scrollfloater")};
q.B=function(){kE.c.B.call(this);this.Pg||(this.Pg=this.j().g(d,{style:"visibility:hidden"}));this.update();this.kP(this.WN);var a=this.j().getWindow();this.A().listen(a,jn,this.mq).listen(a,Vm,this.update)};q.update=function(){if(this.V){this.Dp();this.fi&&(this.Qs=iA(this.fi));var a=Wz(this.b());this.Sq=iA(this.b());this.Y2=a.y;this.X2=a.x;this.mq()}};q.o=function(){kE.c.o.call(this);this.Pg=null};q.kP=function(a){(this.WN=a)?(this.Gca(),this.mq()):this.Dp()};
q.mq=function(){if(this.WN){var a=this.j().Df().y;if(this.Sq.top-a>=this.mR)this.Dp();else{var b=this.Sq.height+this.mR;if(this.fi&&a>this.Qs.top+this.Qs.height-b)this.eva();else{var c=this.j().ru().height;this.YB()||b<c?this.kX(0):this.Sq.height+this.Y2>c+a?this.Dp():this.kX(1)}}}};q.eva=function(){if((!this.Um||this.Dp())&&!this.Wq&&this.dispatchEvent("pin")){var a=this.b();this.H8();a.style.position=Tm;a.style.top=this.Qs.height-this.Sq.height-this.Sq.top+this.Qs.top+n;this.Wq=!0}};
q.kX=function(a){a=0==a;if((!this.Wq||this.Dp())&&this.dispatchEvent("float")){var b=qy(document).x;if(this.Um)this.eEa();else{var c=this.b(),e=Wz(c).x,f=sA(c).width;this.H8();gA(this.Pg,c.offsetWidth,c.offsetHeight);Q(c,{left:e-b+n,width:f+n,cssFloat:Nk});c.parentNode==this.iN?c.parentNode.insertBefore(this.Pg,c):(c.parentNode.replaceChild(this.Pg,c),this.iN.appendChild(c));this.YB()?(c.style.position=ke,c.style.setExpression(up,'document.compatMode=="CSS1Compat"?documentElement.scrollTop:document.body.scrollTop')):
(c.style.position=Hh,a?(c.style.top=this.mR+n,c.style.bottom=kf):(c.style.top=kf,c.style.bottom="0"));this.Um=!0}}};q.Dp=function(){if(!this.Um&&!this.Wq||!this.dispatchEvent("dock"))return!1;var a=this.b();this.Um&&(this.G4(),this.YB()&&a.style.removeExpression(up),this.Pg.parentNode==this.iN?this.Pg.parentNode.removeChild(this.Pg):this.Pg.parentNode.replaceChild(a,this.Pg));this.Wq&&this.G4();this.Um=this.Wq=!1;return!0};
q.eEa=function(){C(this.Um);var a=qy(document).x;Q(this.b(),{left:this.X2-a+n})};q.H8=function(){var a=this.b();this.qC={};D(lE,function(b){this.qC[b]=a.style[b]},this);D(mE,function(b){this.Pg.style[b]=a.style[b]||(a.currentStyle?a.currentStyle[b]:null)||Nz(a,b)},this)};q.G4=function(){var a=this.b(),b;for(b in this.qC)a.style[b]=this.qC[b]};q.YB=function(){return E&&!(Xt("7")&&this.j().Uu())};
q.Gca=function(){if(this.YB()){var a=this.j().K();a=Tz(a);a.currentStyle.backgroundImage==Nk&&(a.style.backgroundImage=this.j().getWindow().location.protocol==Qi?"url(https:///)":"url(about:blank)",a.style.backgroundAttachment=Hh)}};var nE=function(a){J.call(this);this.wa=null;this.D=a;a=E||Dt||Gt&&!Xt("531")&&a.tagName==Id;this.G=new pC(this);this.G.listen(this.D,a?[Ij,"paste","cut","drop",dj]:dj,this)};B(nE,J);
nE.prototype.handleEvent=function(a){if(a.type==dj)E&&Xt(10)&&0==a.keyCode&&0==a.charCode||(this.AG(),this.dispatchEvent(this.OU(a)));else if(a.type!=Ij||oB(a)){var b=a.type==Ij?this.D.value:null;E&&229==a.keyCode&&(b=null);var c=this.OU(a);this.AG();this.wa=M(function(){this.wa=null;this.D.value!=b&&this.dispatchEvent(c)},0,this)}};nE.prototype.AG=function(){null!=this.wa&&(Yv(this.wa),this.wa=null)};nE.prototype.OU=function(a){a=new Ju(a.bd);a.type=dj;return a};
nE.prototype.o=function(){nE.c.o.call(this);this.G.dispose();this.AG();delete this.D};var oE=function(a){V.call(this,a)};B(oE,V);q=oE.prototype;q.fd=null;q.Ka=function(a){oE.c.Ka.call(this,a);this.MA()};q.g=function(){this.Na(this.j().g(Xc,{type:fp}));this.MA()};q.MA=function(){this.xO();this.fd=new nE(this.b());I(this.fd,dj,this.xO,!1,this)};q.xO=function(){var a=this.b();if(a){var b=this.getValue();switch(Iw(b)){case 1:a.dir=ck;break;case -1:a.dir=an;break;default:a.removeAttribute("dir")}}};q.Ej=function(){var a=this.b().dir;""==a&&(a=null);return a};
q.setValue=function(a){var b=this.b();null!=b.value?b.value=a:Ny(b,a);this.xO()};q.getValue=function(){var a=this.b();return null!=a.value?a.value:Wy(a)};q.o=function(){this.fd&&(dv(this.fd),this.fd.dispose(),this.fd=null,oE.c.o.call(this))};var pE=function(a,b,c){F.call(this);this.Pf=null!=c?y(a,c):a;this.Fe=b;this.Mc=y(this.mua,this);this.ZF=[]};B(pE,F);q=pE.prototype;q.Ir=!1;q.Jv=0;q.wa=null;q.It=function(a){this.ZF=arguments;this.wa||this.Jv?this.Ir=!0:this.Cp()};q.stop=function(){this.wa&&(Yv(this.wa),this.wa=null,this.Ir=!1,this.ZF=[])};q.pause=function(){this.Jv++};q.resume=function(){this.Jv--;this.Jv||!this.Ir||this.wa||(this.Ir=!1,this.Cp())};q.o=function(){pE.c.o.call(this);this.stop()};
q.mua=function(){this.wa=null;this.Ir&&!this.Jv&&(this.Ir=!1,this.Cp())};q.Cp=function(){this.wa=M(this.Mc,this.Fe);this.Pf.apply(null,this.ZF)};var sE=function(a,b){var c=0,e=0;if(qE(a))c=a.selectionStart,e=b?-1:a.selectionEnd;else if(E&&!Xt("9")){var f=rE(a),g=f[0];f=f[1];if(g.inRange(f)){g.setEndPoint("EndToStart",f);if(a.type==ip){a=f.duplicate();var h=g.text;c=h;f=e=a.text;for(var l=!1;!l;)0==g.compareEndPoints("StartToEnd",g)?l=!0:(g.moveEnd(Ff,-1),g.text==h?c+="\r\n":l=!0);if(b)b=[c.length,-1];else{for(b=!1;!b;)0==a.compareEndPoints("StartToEnd",a)?b=!0:(a.moveEnd(Ff,-1),a.text==e?f+="\r\n":b=!0);b=[c.length,c.length+f.length]}return b}c=
g.text.length;e=b?-1:g.text.length+f.text.length}}return[c,e]},rE=function(a){var b=a.ownerDocument||a.document,c=b.selection.createRange();a.type==ip?(b=b.body.createTextRange(),b.moveToElementText(a)):b=a.createTextRange();return[b,c]},tE=function(a,b){a.type==ip&&(b=a.value.substring(0,b).replace(/(\r\n|\r|\n)/g,"\n").length);return b},qE=function(a){try{return typeof a.selectionStart==Rk}catch(b){return!1}};var uE=function(a,b,c){for(var e=[],f=0;f<c.length;f++){var g=c[f],h=a.toLowerCase(),l=String(g).toLowerCase(),p=0;if(-1!=l.indexOf(h))p=parseInt((l.indexOf(h)/4).toString(),10);else for(var r=h.split(""),z=-1,O=10,ea=0,qa;qa=r[ea];ea++)qa=l.indexOf(qa),qa>z?(z=qa-z-1,z>O-5&&(z=O-5),p+=z,z=qa):(p+=O,O+=5);p<6*h.length&&e.push({VCa:g,b5:p,index:f})}e.sort(function(a,b){var c=a.b5-b.b5;return 0!=c?c:a.index-b.index});a=[];for(ea=0;ea<b&&ea<e.length;ea++)a.push(e[ea].VCa);return a};var vE=function(a,b,c){J.call(this);this.pv=a;this.Fd=c;this.M=b;I(b,["hilite",mn,"canceldismiss",Ng],this.handleEvent,!1,this);this.I=null;this.mc=[];this.Pj=-1;this.Ze=0;this.vf=this.ab=null;this.T_={}};B(vE,J);q=vE.prototype;q.rsa=10;q.iT=!0;q.CS=!1;q.z$=!1;q.r9=!1;q.getToken=function(){return this.I};
q.handleEvent=function(a){var b=this.pv;if(a.target==this.M)switch(a.type){case "hilite":this.Oj(a.row);break;case mn:var c=!1;if(Oq(a.row)){a=a.row;var e=this.mc[this.du(a)];c=!!e&&b.rL&&b.rL(e);e&&!c&&this.Pj!=a&&this.Oj(a)}c||this.qD();break;case "canceldismiss":this.xG();break;case Ng:this.LH()}};q.zya=function(a){this.iT=a};q.setToken=function(a,b){this.I!=a&&(this.I=a,this.pv.exa(this.I,this.rsa,y(this.qsa,this),b),this.xG())};q.oBa=function(a){this.ab=a};q.Qd=function(){return this.M.N()};
q.zK=function(){for(var a=this.Ze+this.mc.length-1,b=this.Pj,c=0;c<this.mc.length;c++){if(b>=this.Ze&&b<a)b++;else if(-1==b)b=this.Ze;else if(this.CS&&b==a){this.Oj(-1);break}else if(this.z$&&b==a)b=this.Ze;else break;if(this.Oj(b))return!0}return!1};q.n_=function(){for(var a=this.Ze+this.mc.length-1,b=this.Pj,c=0;c<this.mc.length;c++){if(b>this.Ze)b--;else if(this.CS&&b==this.Ze){this.Oj(-1);break}else if(!this.z$||-1!=b&&b!=this.Ze)break;else b=a;if(this.Oj(b))return!0}return!1};
q.Oj=function(a){var b=this.du(a),c=this.mc[b];return c&&this.pv.rL&&this.pv.rL(c)?!1:(this.Pj=a,this.M.Oj(a),-1!=b)};q.qD=function(){var a=this.du(this.Pj);if(-1!=a){var b=this.mc[a],c=this.Fd.bO(b);this.r9?(this.I=null,this.LH()):this.gi();c||(this.dispatchEvent({type:"update",row:b,index:a}),this.r9&&this.Fd.update(!0));return!0}this.gi();this.dispatchEvent({type:"update",row:null,index:null});return!1};q.Yoa=function(){return this.Qd()&&-1!=this.du(this.Pj)};
q.gi=function(){this.Pj=-1;this.I=null;this.Ze+=this.mc.length;this.mc=[];window.clearTimeout(this.vf);this.vf=null;this.M.gi();this.dispatchEvent(bp);this.dispatchEvent(Ng)};q.LH=function(){this.vf||(this.vf=window.setTimeout(y(this.gi,this),100))};q.D_=function(){return this.vf?(window.clearTimeout(this.vf),this.vf=null,!0):!1};q.xG=function(){this.D_()||window.setTimeout(y(this.D_,this),10)};q.o=function(){vE.c.o.call(this);delete this.T_;this.M.dispose();this.Fd.dispose();this.pv=null};
q.qsa=function(a,b,c){this.I==a&&this.EN(b,c)};q.EN=function(a,b){var c=Sq(b)==Sk&&b;b=(c?c.GNa():b)?this.du(this.Pj):-1;this.Ze+=this.mc.length;this.mc=a;for(var e=[],f=0;f<a.length;++f)e.push({id:this.dY(f),data:a[f]});a=null;this.ab&&(a=this.T_[Yq(this.ab)]||this.ab);this.M.Ql(a);this.M.EN(e,this.I,this.ab);a=this.iT;c&&void 0!==c.eia()&&(a=c.eia());this.Pj=-1;(a||0<=b)&&0!=e.length&&this.I&&(0<=b?this.Oj(this.dY(b)):this.zK());this.dispatchEvent(bp)};
q.du=function(a){a-=this.Ze;return 0>a||a>=this.mc.length?-1:a};q.dY=function(a){return this.Ze+a};q.update=function(a){this.Fd.update(a)};var wE=function(a,b,c,e){F.call(this);e=e||150;this.Mq=null!=c?c:!0;this.QAa(a||",;");this.Wj=b||"";this.Ava=!1;this.zva=this.Mq;this.wa=0<e?new Xv(e):null;this.Jd=new pC(this);this.GF=new pC(this);this.rb=new SC;this.$0=-1};B(wE,F);var xE=(AA||BA)&&!Xt("533.17.9");q=wE.prototype;q.iFa=!0;q.Vha=!0;q.W9=!1;q.gya=!0;q.fya=!0;q.IF=null;q.Ub=null;q.OL="";q.mm=!1;q.PN=!1;q.dEa=!0;q.Rca=function(a){this.Ib=a};q.St=function(){return this.Ub};q.getValue=function(){return this.Ub.value};
q.setValue=function(a){this.Ub.value=a};q.GX=function(){return sE(this.Ub,!0)[0]};q.Wya=function(a){var b=this.Ub,c=a;if(qE(b))b.selectionStart=c;else if(E&&!Xt("9")){var e=rE(b),f=e[0];f.inRange(e[1])&&(c=tE(b,c),f.collapse(!0),f.move(Ff,c),f.select())}b=this.Ub;qE(b)?b.selectionEnd=a:E&&!Xt("9")&&(e=rE(b),c=e[1],e[0].inRange(c)&&(a=tE(b,a),b=tE(b,sE(b,!0)[0]),c.collapse(!0),c.moveEnd(Ff,a-b),c.select()))};
q.$S=function(a){Ky(a)&&(SB(a,Of),T(a,lf,Tj));this.Jd.listen(a,Ih,this.Be);this.Jd.listen(a,rf,this.af);if(!this.Ub&&(this.GF.listen(a,Ij,this.Tta),Ky(a))){var b=fy(a);Zy(b)==a&&this.C3(a)}};q.bO=function(a,b){this.Ub&&this.qBa(a.toString(),b);return!1};
q.qBa=function(a,b){if(u(b)?b:this.Mq){b=this.OY(this.getValue(),this.GX());var c=this.gQ(this.getValue());this.eya.test(a)||(a=a.replace(/[\s\xa0]+$/,"")+this.rfa);this.iFa&&(0==b||hr(c[b-1])||(a=" "+a),b==c.length-1&&(a+=" "));if(a!=c[b]){c[b]=a;a=this.Ub;(Ft||E&&Xt("9"))&&a.blur();a.value=c.join("");for(var e=0,f=0;f<=b;f++)e+=c[f].length;a.focus();this.Wya(e)}}else this.setValue(a);this.PN=!0};
q.o=function(){wE.c.o.call(this);null!=this.IF&&window.clearTimeout(this.IF);this.Jd.dispose();delete this.Jd;this.GF.dispose();this.rb.dispose();G(this.wa)};q.QAa=function(a,b){this.mw=a;this.rfa=null!=b?b:this.mw.substring(0,1);a=this.Mq?"[\\s"+this.mw+"]+":"[\\s]+";this.t9=new RegExp("^"+a+"|"+a+"$","g");this.eya=new RegExp("\\s*["+this.mw+"]$")};
q.ec=function(a){switch(a.keyCode){case 40:if(this.Ib.Qd())return this.xM(),a.preventDefault(),!0;if(!this.Mq)return this.update(!0),a.preventDefault(),!0;break;case 38:if(this.Ib.Qd())return this.AM(),a.preventDefault(),!0;break;case 9:if(!this.Ib.Qd()||a.shiftKey||this.Ava)this.Ib.gi();else if(this.update(),this.Ib.qD()&&this.zva)return a.preventDefault(),!0;break;case 13:if(this.Ib.Qd()){if(this.update(),this.Ib.qD())return a.preventDefault(),a.stopPropagation(),!0}else this.Ib.gi();break;case 27:if(this.Ib.Qd())return this.Ib.gi(),
a.preventDefault(),a.stopPropagation(),!0;break;case 229:if(!this.mm)return this.QCa(),!0;break;default:this.wa&&!this.dEa&&(this.wa.stop(),this.wa.start())}return this.IZ(a)};q.IZ=function(a){var b=this.Mq&&a.charCode&&-1!=this.mw.indexOf(String.fromCharCode(a.charCode));this.gya&&b&&this.update();return this.fya&&b&&this.Ib.qD()?(a.preventDefault(),!0):!1};q.Oma=function(){return!1};
q.Iba=function(){this.rb.pd(this.Ub);this.Jd.listen(this.rb,Hj,this.On);this.Jd.listen(this.Ub,wk,this.G2);E&&this.Jd.listen(this.Ub,Jj,this.C2)};q.owa=function(){this.Jd.ta(this.rb,Hj,this.On);this.rb.detach();this.Jd.ta(this.Ub,Kj,this.Oma);this.Jd.ta(this.Ub,wk,this.G2);E&&this.Jd.ta(this.Ub,Jj,this.C2);this.mm&&this.oQ()};q.Be=function(a){this.C3(a.target||null)};
q.C3=function(a){this.GF.removeAll();this.Ib&&this.Ib.xG();a!=this.Ub&&(this.Ub=a,this.wa&&(this.wa.start(),this.Jd.listen(this.wa,lp,this.Rq)),this.OL=this.getValue(),this.Iba())};q.af=function(){xE?this.IF=window.setTimeout(y(this.y3,this),0):this.y3()};q.y3=function(){this.Ub&&(this.owa(),this.Ub=null,this.wa&&(this.wa.stop(),this.Jd.ta(this.wa,lp,this.Rq)),this.Ib&&this.Ib.LH())};q.Rq=function(){this.update()};q.Tta=function(a){this.Be(a)};q.On=function(a){this.$0=a.keyCode;this.Ib&&this.ec(a)};
q.D2=function(){this.mm&&229!=this.$0&&this.oQ()};q.E2=function(a){this.mm&&(13==a.keyCode||77==a.keyCode&&a.ctrlKey)&&this.oQ()};q.G2=function(a){this.Ib&&this.Qc(a)};q.Qc=function(){};q.QCa=function(){this.mm||(this.Jd.listen(this.Ub,Kj,this.E2),this.Jd.listen(this.Ub,Jj,this.D2),this.mm=!0)};q.oQ=function(){this.mm&&(this.mm=!1,this.Jd.ta(this.Ub,Jj,this.D2),this.Jd.ta(this.Ub,Kj,this.E2))};q.C2=function(a){this.IZ(a)};
q.update=function(a){if(this.Ub&&(a||this.getValue()!=this.OL)){if(a||!this.PN)a=this.Yua(),this.Ib&&(this.Ib.oBa(this.Ub),this.Ib.setToken(a,this.getValue()));this.OL=this.getValue()}this.PN=!1};q.Yua=function(){return this.Zua()};q.AM=function(){return this.W9?this.Ib.zK():this.Ib.n_()};q.xM=function(){return this.W9?this.Ib.n_():this.Ib.zK()};q.Zua=function(){var a=this.GX(),b=this.getValue();return this.QDa(this.gQ(b)[this.OY(b,a)])};
q.QDa=function(a){return this.t9?String(a).replace(this.t9,""):a};q.OY=function(a,b){var c=this.gQ(a);if(b==a.length)return c.length-1;for(var e=a=0,f=0;e<c.length&&f<=b;e++)f+=c[e].length,a=e;return a};
q.gQ=function(a){if(!this.Mq)return[a];a=String(a).split("");for(var b=[],c=[],e=0,f=!1;e<a.length;e++)this.Wj&&-1!=this.Wj.indexOf(a[e])?(this.Vha&&!f&&(b.push(c.join("")),c.length=0),c.push(a[e]),f=!f):f||-1==this.mw.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 yE=function(a,b,c,e){J.call(this);this.ea=a||document.body;this.Z=N(this.ea);this.jr=!a;this.D=null;this.I="";this.mc=[];this.io=[];this.u8=this.AA=-1;this.Cb=!1;this.className="ac-renderer";this.hD="ac-row";this.i1=ne;this.jS="ac-active";this.opa="ac-highlighted";this.sp=b||null;this.QEa=null!=e?e:!0;this.K1=!0;this.zA=!1;this.sxa=!!c;this.BE=!1;this.MB=0;this.W7=!1};B(yE,J);q=yE.prototype;q.ada=0;q.b=function(){return this.D};q.$za=function(a){this.K1=a};q.Ql=function(a){this.ej=a};
q.EN=function(a,b,c){this.I=b;this.mc=a;this.AA=-1;this.u8=A();this.ab=c;this.io=[];this.yN()};q.gi=function(){this.Cb&&(this.Cb=!1,this.b9(!1),0<this.MB?(G(this.rm),this.rm=new RA(this.D,this.MB),this.rm.play()):R(this.D,!1))};q.show=function(){this.Cb||(this.Cb=!0,this.b9(!0),0<this.MB?(G(this.rm),this.rm=new SA(this.D,this.MB),this.rm.play()):R(this.D,!0))};q.b9=function(a){this.ab&&(T(this.ab,Fi,a),T(C(this.D),uh,a),T(this.ab,uh,a),a?T(this.ab,tl,this.D.id):(UB(this.ab,tl),XB(this.ab,null)))};
q.N=function(){return this.Cb};q.o_=function(a){var b=0<=a&&a<this.mc.length?this.mc[a]:void 0,c=0<=a&&a<this.io.length?this.io[a]:void 0;this.dispatchEvent({type:"rowhilite",gOa:c,row:b?b.data:null})&&(this.ppa(),this.AA=a,c&&(iC(c,[this.jS,this.i1]),this.ab&&XB(this.ab,c),aA(c,this.D)))};q.ppa=function(){0<=this.AA&&kC(C(this.io[this.AA]),[this.jS,this.i1])};q.Oj=function(a){if(-1==a)this.o_(-1);else for(var b=0;b<this.mc.length;b++)if(this.mc[b].id==a){this.o_(b);break}};
q.gAa=function(a){C(a);iC(a,jr(this.className).split(" "))};q.usa=function(){if(!this.D){var a=this.Z.g(d,{style:"display:none"});this.W7&&(a.style.overflowY=kf);this.D=a;this.gAa(a);SB(a,Uj);a.id=vC.H().Nd();this.Z.appendChild(this.ea,a);I(a,Kf,this.Jj,!1,this);I(a,wk,this.nA,!1,this);I(a,zk,this.BZ,!1,this)}};
q.yN=function(){this.usa();this.BE&&(this.D.style.visibility=Hi);this.jFa&&(this.D.style.minWidth=this.jFa.clientWidth-this.ada+n);this.io.length=0;this.Z.Ke(this.D);if(this.sp&&this.sp.render)this.sp.render(this,this.D,this.mc,this.I);else{var a=null;D(this.mc,function(b){b=this.Uwa(b,this.I);this.BE?this.D.insertBefore(b,a):this.Z.appendChild(this.D,b);a=b},this)}0==this.mc.length?this.gi():(this.show(),this.ha(),oA(this.D,!0))};q.bia=function(){var a=this.sxa?5:1;this.BE&&(a^=1);return a};
q.ha=function(){if(this.ab&&this.jr){var a=this.ej||this.ab,b=this.bia(),c=65;this.W7&&(this.D.style.height="",c|=32);NB(a,b,this.D,b^1,null,null,c);this.BE&&(this.D.style.visibility=lq)}};q.o=function(){this.D&&(bv(this.D,Kf,this.Jj,!1,this),bv(this.D,wk,this.nA,!1,this),bv(this.D,zk,this.BZ,!1,this),this.Z.removeNode(this.D),this.D=null,this.Cb=!1);G(this.rm);this.ea=null;yE.c.o.call(this)};q.Twa=function(a,b,c){Ny(c,a.data.toString())};q.KCa=function(a,b){this.v$=!1;this.yK(a,b)};
q.yK=function(a,b){if(this.zA||!this.v$)if(3==a.nodeType){var c=null;x(b)&&1<b.length&&!this.zA&&(c=As(b,1));b=this.Wka(b);if(0!=b.length){var e=a.nodeValue,f=this.K1?new RegExp("\\b(?:"+b+")","gi"):new RegExp(b,"gi");b=[];for(var g=0,h=f.exec(e),l=0;h;)l++,b.push(e.substring(g,h.index)),b.push(e.substring(h.index,f.lastIndex)),g=f.lastIndex,h=f.exec(e);b.push(e.substring(g));if(1<b.length){c=this.zA?l:1;for(e=0;e<c;e++)f=2*e,a.nodeValue=b[f],g=this.Z.createElement("B"),g.className=this.opa,this.Z.appendChild(g,
this.Z.createTextNode(b[f+1])),g=a.parentNode.insertBefore(g,a.nextSibling),a.parentNode.insertBefore(this.Z.createTextNode(""),g.nextSibling),a=g.nextSibling;b=As(b,2*c);a.nodeValue=b.join("");this.v$=!0}else c&&this.yK(a,c)}}else for(a=a.firstChild;a;)c=a.nextSibling,this.yK(a,b),a=c};
q.Wka=function(a){var b="";if(!a)return b;x(a)&&(a=gs(a,function(a){return!hr(Hr(a))}));this.zA?x(a)?b=hs(a,Er).join("|"):(b=a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,""),b=Er(b),b=b.replace(/ /g,"|")):x(a)?b=0<a.length?Er(a[0]):"":/^\W/.test(a)||(b=Er(a));return b};q.Uwa=function(a,b){var c=this.Z.g(d,{className:this.hD,id:vC.H().Nd()});SB(c,jl);this.sp&&this.sp.Swa?this.sp.Swa(a,b,c):this.Twa(a,b,c);b&&this.QEa&&this.KCa(c,b);U(c,this.hD);this.io.push(c);return c};
q.BY=function(a){for(;a&&a!=this.D&&!hC(a,this.hD);)a=a.parentNode;return a?ds(this.io,a):-1};q.Jj=function(a){var b=this.BY(a.target);0<=b&&this.dispatchEvent({type:mn,row:this.mc[b].id});a.stopPropagation()};q.nA=function(a){a.stopPropagation();a.preventDefault()};q.BZ=function(a){a=this.BY(a.target);0<=a&&!(300>A()-this.u8)&&this.dispatchEvent({type:"hilite",row:this.mc[a].id})};var zE=function(){};B(zE,WD);Rq(zE);var AE=[];q=zE.prototype;q.J=function(a){return a&&a.firstChild.firstChild.firstChild.lastChild};q.Ts=function(a,b){var c=this.If();return b.g(d,gi+(c+Qa),b.g(d,gi+(c+Ma),b.g(d,c+"-pos",b.g(d,c+"-top-shadow","\u00a0"),b.g(d,c+Ia,a))))};q.XZ=function(a,b){var c=this.If();return(b=a.j().Zm(b))&&hC(b,c+Qa)&&(b=a.j().Zm(b))&&hC(b,c+Ma)&&(b=a.j().Zm(b))&&hC(b,c+"-pos")&&(b=a.j().Zm(b))&&hC(b,c+"-top-shadow")&&(a=a.j().Uja(b))&&hC(a,c+Ia)?!0:!1};q.S=function(){return Zh};
q.If=function(){return"goog-button-base"};q.eY=function(){return AE};eD(Zh,function(){return new VD(null,zE.H())});var CE=function(a){BE();return qx(a,null)},FE=function(a){BE();return Pw(a)},BE=Qq;var GE={lOa:!0},HE={pOa:!0},IE={oOa:!0},JE={jOa:!0},KE={iOa:!0},LE={mOa:!0},ME=function(){throw Error("Do not instantiate directly");};ME.prototype.nh=null;ME.prototype.zb=function(){return this.content};ME.prototype.toString=function(){return this.content};
ME.prototype.Ti=function(){if(this.te===LE)return rx(this.toString());if(this.te!==GE)throw Error("Sanitized content was not of kind TEXT or HTML.");return Hx(vw("Soy SanitizedContent of kind HTML produces SafeHtml-contract-compliant value."),this.toString(),this.nh)};var NE=function(a,b){this.content=String(a);this.nh=null!=b?b:null};B(NE,ME);NE.prototype.te=LE;var OE=function(){ME.call(this)};B(OE,ME);OE.prototype.te=GE;var PE=function(){ME.call(this)};B(PE,ME);PE.prototype.te={kOa:!0};
PE.prototype.nh=1;var QE=function(){ME.call(this)};B(QE,ME);QE.prototype.te=HE;QE.prototype.nh=1;var RE=function(){ME.call(this)};B(RE,ME);RE.prototype.te=IE;RE.prototype.nh=1;var SE=function(){ME.call(this)};B(SE,ME);SE.prototype.te=JE;SE.prototype.nh=1;var TE=function(){ME.call(this)};B(TE,ME);TE.prototype.te={nOa:!0};TE.prototype.nh=1;var UE=function(){ME.call(this)};B(UE,ME);UE.prototype.te=KE;UE.prototype.nh=1;var XE=function(a,b,c,e){C(b,Ad);a.innerHTML=VE(b(c||WE,void 0,e))},ZE=function(a,b,c,e){C(a,Ad);e=e||N();a=a(b||WE,void 0,c);b=VE(a);YE(b);a=a instanceof ME?a.Ti():CE(b);return e.Nh(a)},$E=function(a,b,c,e){C(a,Ad);a=a(b||WE,void 0,c);e=(e||N()).createElement(d);a=VE(a);YE(a);e.innerHTML=a;1==e.childNodes.length&&(a=e.firstChild,1==a.nodeType&&(e=a));return e},VE=function(a){if(!Vq(a))return String(a);if(a instanceof ME){if(a.te===GE)return Xr(a.zb());if(a.te===LE)return xr(a.zb())}Vr("Soy template output is unsafe for use as HTML: "+
a);return"zSoyz"},YE=function(a){var b=a.match(aF);C(!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)},aF=/^<(body|caption|col|colgroup|head|html|tr|td|th|tbody|thead|tfoot)>/i,WE={};var dF=function(a){return Br(jr(a.replace(bF,function(a,c){return cF.test(c)?"":" "}).replace(/[\t\n ]+/g," ")))},cF=/^(?:abbr|acronym|address|b|em|i|small|strong|su[bp]|u)$/i,bF=/<[!\/]?([a-z0-9]+)([\/ ][^>]*)?>/gi;var eF=function(a,b){this.re=a;this.Ifa=!!b;this.QS={0:this.re+"-arrowright",1:this.re+"-arrowup",2:this.re+"-arrowdown",3:this.re+"-arrowleft"}};B(eF,YC);q=eF.prototype;q.f0=!1;q.$F=2;q.SS=20;q.$x=3;q.q$=null;q.NM=-5;q.WF=!1;q.Ql=function(a){this.ej=a};q.setPosition=function(a,b,c,e){null!=a&&(this.$x=a);null!=b&&(this.$F=b);Oq(c)&&(this.SS=Math.max(c,15));Oq(e)&&(this.NM=e)};q.DO=function(a,b){this.bi=a;this.RS=b};q.Iya=function(a){this.WF=a};
q.ha=function(a,b,c){C(this.RS,"Must call setElements first.");this.jr(this.$x,this.Ria(this.$x,this.$F),this.Sia(),0,c)};q.Sia=function(){return 2==this.$F?fF(this.$x)?this.bi.offsetHeight/2:this.bi.offsetWidth/2:this.SS};q.Ria=function(a,b){2==b&&(b=0);return b};q.qw=function(a){this.f0=a};
q.jr=function(a,b,c,e,f){if(this.ej){var g=gF(a,b);var h=this.ej;var l=this.bi,p=this.q$,r=hA(h);a:{r=(fF(a)?r.height/2:r.width/2)-c;var z=LB(h,g);if(p)p=p.clone(),l&&(l=KB(l),p.left+=l.x,p.right+=l.x,p.top+=l.y,p.bottom+=l.y);else if(p=Xz(h),!p){h=r;break a}h=iA(h).ADa();fF(a)?h.top<p.top&&!(z&1)?r-=p.top-h.top:h.bottom>p.bottom&&z&1&&(r-=h.bottom-p.bottom):h.left<p.left&&!(z&4)?r-=p.left-h.left:h.right>p.right&&z&4&&(r-=h.right-p.right);h=r}h=fF(a)?new $x(this.NM,h):new $x(h,this.NM);r=fF(a)?6:
9;this.WF&&2==e&&(r=fF(a)?4:1);z=a^3;fF(a)&&this.ej.dir==an&&(z=a);g=NB(this.ej,gF(z,b),this.bi,g,h,f,this.f0?r:0,void 0,this.q$);if(2!=e&&g&496){this.jr(a^3,b,c,this.WF&&0==e?1:2,f);return}!this.Ifa||g&496||(e=parseFloat(this.bi.style.left),f=parseFloat(this.bi.style.top),C(!isNaN(e)&&!isNaN(f),"Could not parse position."),isFinite(e)&&0==e%1&&isFinite(f)&&0==f%1||Rz(this.bi,Math.round(e),Math.round(f)))}this.mva(a,b,c)};
q.mva=function(a,b,c){var e=this.RS;Qs(this.QS,function(a){lC(e,a,!1)},this);U(e,this.QS[a]);e.style.top=e.style.left=e.style.right=e.style.bottom="";this.ej?(b=cA(this.ej,this.bi),c=hF(this.ej,a),fF(a)?e.style.top=iF(b.y+c.y,15,this.bi.offsetHeight-15)+n:e.style.left=iF(b.x+c.x,15,this.bi.offsetWidth-15)+n):e.style[0==b?fF(a)?up:Rj:fF(a)?uf:Wm]=c+n};
var iF=function(a,b,c){return b>c?b:Math.min(Math.max(a,b),c)},gF=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}},hF=function(a,b){var c=0,e=0;a=hA(a);switch(b){case 2:c=a.width/2;break;case 1:c=a.width/2;e=a.height;break;case 0:e=a.height/2;break;case 3:c=a.width,e=a.height/2}return new $x(c,e)},fF=function(a){return 0==a||3==a};var jF=function(a){F.call(this);this.dom=a||N()};B(jF,F);jF.prototype.H_=function(){SB(this.b(),this.wd());T(this.b(),Vj,ym)};jF.prototype.wd=function(){return"tooltip"};var kF=function(a){jF.call(this,a);this.Pb=this.dom.g(d,"jfk-tooltip-contentId");this.aG=this.dom.g(d,"jfk-tooltip-arrow",this.dom.g(d,"jfk-tooltip-arrowimplbefore"),this.dom.g(d,"jfk-tooltip-arrowimplafter"));this.HQ=this.dom.g(d,{"class":vj,role:"tooltip"},this.Pb,this.aG);this.H_()};B(kF,jF);kF.prototype.b=function(){return this.HQ};kF.prototype.J=function(){return this.Pb};kF.prototype.o=function(){this.HQ&&Ey(this.HQ)};var lF=function(a){kF.call(this,a)};B(lF,kF);lF.prototype.H_=function(){SB(this.b(),this.wd())};var oF=function(a){a=a||N();var b=Yq(a.K());mF[b]||(mF[b]=new nF(a))},qF=function(a,b,c){pF(a,b,c)},pF=function(a,b,c){c||(c=b instanceof ox?dF(px(b)):b);a.removeAttribute(op);a.removeAttribute(Cg);a.removeAttribute(zg);b?(b instanceof ox?a.bv=b:(a.setAttribute(zg,b),a.bv=null),a.setAttribute(bf,c)):(a.bv=null,a.removeAttribute(bf));oF(N(a))},mF={},nF=function(a){pC.call(this);this.L=a;this.pg=new qz(this.wDa,0,this);this.Y(this.pg);var b=ry();this.UB=Uq(b.MutationObserver)?new b.MutationObserver(y(this.Bla,
this)):null;a=a.K();this.listen(a,[yk,wk,Kf,rf,Iu,Ij],this.Fda,!0);this.listen(a,[zk,Ih,Hu],this.oya,!0)};B(nF,pC);q=nF.prototype;q.o=function(){this.cU();nF.c.o.call(this)};q.j9=function(a){switch(a.type){case wk:case zk:case yk:case Kf:this.s0=!1;break;case Ij:this.s0=!0}};
q.oya=function(a){this.UB&&this.UB.disconnect();this.j9(a);var b=a.target;a=a.type==Ih||a.type==Hu;var c=this.kb&&Ly(this.kb.J(),b);if(this.s0||!a||c){this.zqa=a;if(a=b&&b.getAttribute&&this.UB)a=b.getAttribute(Ym)||null,a=qs(RB,a);a&&(this.mta(b),(a=WB(b))&&(b=a));this.pc=b}else this.pc=null;this.KN()};q.mta=function(a){this.UB.observe(a,{attributes:!0})};q.Fda=function(a){this.j9(a);var b=a.target;a=a.type==wk||a.type==Kf;b=this.kb&&Ly(this.kb.J(),b);a&&b||(this.pc=null,this.KN())};
q.Bla=function(a){D(a,y(function(a){var b=WB(a.target);b&&"aria-activedescendant"==a.attributeName&&(this.pc=b,this.KN())},this))};q.KN=function(){this.cU();this.pg.start(this.wi?50:300)};q.cU=function(){this.nD&&(Yv(this.nD),this.nD=0,this.wi=null)};
q.wDa=function(){if(!this.pc)this.j_();else if(!(this.wi&&this.kb&&Ly(this.kb.b(),this.pc))||this.wi.getAttribute("data-tooltip-unhoverable")){var a=Xy(this.pc,function(a){return a.getAttribute&&(a.getAttribute(Cg)||a.getAttribute(zg)||a.bv)&&!a.getAttribute("data-tooltip-suspended")},!0),b=!1;this.wi&&this.wi!=a&&(this.j_(),b=!0);if(!this.wi&&a&&(this.wi=a,this.UBa(a))){var c=Fx;if(a.getAttribute(Cg))for(var e=jy("jfk-tooltip-data",a),f=0;f<e.length;f++){if(e[f].parentNode==a){c=e[f].cloneNode(!0);
break}}else c=a.bv?a.bv:sx(a.getAttribute(zg));e=a.getAttribute(Ag);f=a.getAttribute(Bg);var g=a.getAttribute(Dg);g=hr(Hr(g))?-1:Number(g);if(!b&&(a=a.getAttribute("data-tooltip-delay"),a=Math.max(0,a-300))){this.nD=M(cr(this.Z7,this.wi,c,e,g,f),a,this);return}this.Z7(this.wi,c,e,g,f)}}};q.UBa=function(a){return a.getAttribute("data-tooltip-only-on-overflow")&&a.offsetWidth>=a.scrollWidth&&a.offsetHeight>=a.scrollHeight||this.zqa&&"mouse"==a.getAttribute("data-tooltip-trigger")?!1:!0};
var rF=function(a){if(a)switch(a.toLowerCase().split(",")[0]){case "l":return 0;case "t":return 2;case "r":return 3}return 1};
nF.prototype.Z7=function(a,b,c,e,f){this.nD=0;if(!this.kb){this.kb=new lF(this.L);this.k_();var g=this.L.K().body,h=this.kb.b();g.appendChild(h);this.Y(this.kb);this.$r=new eF(vj,!0);this.$r.qw(!0);this.$r.Iya(!0);this.$r.DO(this.kb.b(),this.kb.aG)}a:{if(c)switch(c.toLowerCase().split(",")[1]){case "l":g=0;break a;case "r":g=1;break a}g=2}this.$r.setPosition(rF(c),g,void 0,e);jC(this.kb.b(),wj);this.AE!=f&&(this.AE&&!hr(Hr(this.AE))&&jC(this.kb.b(),this.AE),hr(Hr(f))||U(this.kb.b(),f),this.AE=f);
Rz(this.kb.b(),0,0);if(b instanceof ox)Vx(this.kb.J(),b);else for(Ay(this.kb.J());c=b.firstChild;)this.kb.J().appendChild(c);this.$r.Ql(a);this.$r.ha(null,0)};nF.prototype.k_=function(){this.kb&&U(this.kb.b(),wj)};nF.prototype.j_=function(){this.k_();this.wi=null};var sF=function(a,b,c){this.I3=null;C(a.length==b.length,"rangeArray and valueArray must have the same length.");this.UCa(a,c);this.values=b};sF.prototype.UCa=function(a,b){this.I3=a;for(var c=1;c<a.length;c++)null==a[c]?a[c]=a[c-1]+1:b&&(a[c]+=a[c-1])};sF.prototype.Qca=function(a){a=this.tja(a);return 0>a?null:this.values[a]};sF.prototype.tja=function(a){for(var b=this.I3,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 tF=null,wF=function(a,b,c){var e=v(a)?uF(a,a.length-1):a,f=v(b)?uF(b,0):b;b=vF(e);f=vF(f);var g=v(a);if(12===b&&13===f)return!1;if(1===b||12===b||13===b||1===f||12===f||13===f)return!0;if(7===b&&(7===f||8===f||10===f||11===f)||!(10!==b&&8!==b||8!==f&&9!==f)||(11===b||9===b)&&9===f||2===f||15===f||6===f||c&&(3===b||4===f)||c&&6===b&&5===f)return!1;var h;if(g){if(18===f){c=a;var l=c.length-1;var p=e;for(h=b;0<l&&2===h;)l-=65536<=p&&1114111>=p?2:1,p=uF(c,l),h=vF(p);if(16===h||19===h)return!1}}else if((16===
b||19===b)&&18===f)return!1;if(15===b&&(17===f||19===f))return!1;if(g){if(14===f){f=0;c=a;l=c.length-1;p=e;for(h=b;0<l&&14===h;)f++,l-=65536<=p&&1114111>=p?2:1,p=uF(c,l),h=vF(p);14===h&&f++;if(1===f%2)return!1}}else if(14===b&&14===f)return!1;return!0},vF=function(a){if(44032<=a&&55203>=a)return 16===a%28?10:11;tF||(tF=new sF([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,6,10,11,1,1,46,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,120,14,1,32,1,17,
37,1,1,1,1,3,8,4,1,2,1,7,8,2,2,21,7,1,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,40,1,3,17,31,1,5,4,3,5,7,8,3,2,8,2,29,1,2,17,39,1,1,1,1,2,1,3,1,5,1,8,9,1,3,2,29,1,2,17,38,3,1,2,5,7,1,1,8,1,10,2,30,2,22,48,5,1,2,6,7,1,18,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,1,118,2,34,1,87,28,3,3,4,2,9,1,6,3,20,19,29,44,84,23,2,2,1,4,45,6,2,1,1,1,8,1,1,1,2,8,6,13,48,84,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,3,2,198,64,523,1,1,1,2,24,7,49,16,96,33,1324,1,34,1,1,1,82,2,98,1,14,1,1,4,86,1,1418,3,141,1,96,32,554,6,105,2,30164,4,1,10,32,2,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,1,26,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,36,1,32,35,6,2,2,2,2,12,1,8,1,1,18,16,1,3,6,1,1,1,3,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,16,207,1,158,2,89,3,513,1,226,1,149,5,1670,15,40,7,1,165,2,1305,1,1,1,53,14,1,56,1,2,1,45,3,4,2,1,1,2,1,66,3,36,5,1,6,2,62,1,12,2,1,48,3,9,1,1,1,2,6,3,95,3,3,2,1,1,2,6,1,160,1,3,7,1,21,2,2,56,1,1,1,1,1,12,1,9,1,10,4,15,192,3,8,2,1,2,1,1,105,1,2,6,1,1,
2,1,1,2,1,1,1,235,1,2,6,4,2,1,1,1,27,2,82,3,8,2,1,1,1,1,106,1,1,1,2,6,1,1,101,3,2,4,1,4,1,1283,1,14,1,1,82,23,1,7,1,2,1,2,20025,5,59,7,1050,62,4,19722,2,1,4,5313,1,1,3,3,1,5,8,8,2,7,30,4,148,3,1979,55,4,50,8,1,14,1,22,1424,2213,7,109,7,2203,26,264,1,53,1,52,1,17,1,13,1,16,1,3,1,25,3,2,1,2,3,30,1,1,1,13,5,66,2,2,11,21,4,4,1,1,9,3,1,4,3,1,3,3,1,30,1,16,2,106,1,4,1,71,2,4,1,21,1,4,2,81,1,92,3,3,5,48,1,17,1,16,1,16,3,9,1,11,1,587,5,1,1,7,1,9,10,3,2,788162,31],[1,13,1,12,1,0,1,0,1,0,2,0,2,0,2,0,2,0,2,
0,2,0,2,0,3,0,2,0,1,0,2,0,2,0,2,3,0,2,0,2,0,2,0,3,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,3,2,4,0,5,2,4,2,0,4,2,4,6,4,0,2,5,0,2,0,5,0,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,2,4,0,5,0,5,0,2,4,2,6,2,5,0,2,0,2,4,0,5,2,0,4,2,4,2,4,2,4,2,6,2,5,0,2,0,2,4,0,5,0,2,4,2,4,6,3,0,2,0,2,0,4,0,5,6,2,4,2,4,2,0,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,1,0,2,0,2,0,5,0,2,4,2,4,2,4,2,0,5,0,5,0,5,2,4,2,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,2,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,2,0,1,2,15,1,0,1,0,1,0,2,0,16,0,17,0,17,0,17,0,16,0,17,0,16,0,17,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,2,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,2,0,5,2,4,2,4,2,0,2,0,2,4,0,5,0,5,0,5,0,2,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,0,2,0,2,6,0,2,0,4,2,4,0,2,6,0,6,2,4,0,4,2,4,6,2,0,3,0,2,0,2,4,2,6,0,2,0,2,4,0,4,2,4,6,0,3,0,2,0,4,2,4,2,6,2,0,2,0,2,4,2,6,0,2,4,0,2,0,2,4,2,4,6,0,2,0,4,2,0,4,2,4,6,2,4,2,0,2,4,2,4,2,4,2,4,2,4,6,2,0,2,4,2,4,2,4,6,2,0,2,0,4,2,4,2,4,6,2,0,2,4,2,4,2,6,2,0,2,4,2,4,2,6,0,4,2,4,6,0,2,4,2,4,2,4,2,0,2,0,2,0,4,2,
0,2,0,1,0,2,4,2,0,4,2,1,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,2,0,14,0,17,0,17,0,17,0,16,0,17,0,17,0,17,0,16,0,16,0,16,0,17,0,17,0,18,0,16,0,16,0,19,0,16,0,16,0,16,0,16,0,16,0,17,0,16,0,17,0,17,0,17,0,16,0,16,0,16,0,16,0,17,0,16,0,16,0,17,0,17,0,16,0,16,0,16,0,16,0,16,0,16,0,16,0,16,0,16,0,1,2],!0));return tF.Qca(a)},uF=function(a,b){var c=a.charCodeAt(b);55296<=c&&56319>=c&&b+1<a.length?(a=a.charCodeAt(b+1),56320<=a&&57343>=a&&(c=55296<=c&&56319>=c&&56320<=a&&57343>=a?(c<<10)-56623104+(a-56320+
65536):null)):56320<=c&&57343>=c&&0<b&&(a=a.charCodeAt(b-1),55296<=a&&56319>=a&&(c=-(55296<=a&&56319>=a&&56320<=c&&57343>=c?(a<<10)-56623104+(c-56320+65536):0)));return 0>c?-c:c};var xF=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)},yF=E&&Xt(8),zF=Gt?"<wbr></wbr>":Ct?"&shy;":yF?"&#8203;":"<wbr>";var AF=function(a,b){this.op=typeof a==Rk?0<a?1:0>a?-1:null:null==a?null:a?-1:1;this.uca=!!b};q=AF.prototype;q.Fga=Iw;q.Jca=function(a,b){return 0>Number(a)*Number(b)};q.Dfa=function(a,b,c,e){return e&&(this.Jca(b,this.op)||1==this.op&&Ew.test(yw(a,c))||-1==this.op&&Dw.test(yw(a,c)))?1==this.op?"\u200e":"\u200f":""};q.m8=function(a,b){return this.n8(null,a,b)};q.n8=function(a,b,c){null==a&&(a=this.Fga(px(b),!0));return this.GCa(a,b,c)};
q.GCa=function(a,b,c){c=c||void 0==c;var e=0!=a&&a!=this.op;if(this.uca||e){var f;e&&(f=-1==a?an:ck);e=zx(Po,{dir:f},b)}else e=b;b=px(b);return e=Dx(0,e,this.Dfa(b,a,!0,c))};q.mark=function(){switch(this.op){case 1:return"\u200e";case -1:return"\u200f";default:return""}};var BF=function(a,b){return null!=a&&a.te===b},CF=function(a){if(null!=a)switch(a.nh){case 1:return 1;case -1:return-1;case 0:return 0}return null},W=function(a){return null!=a&&a.te===GE?(C(a.constructor===OE),a):a instanceof ox?DF(px(a),a.Ej()):DF(xr(String(String(a))),CF(a))},EF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return new b(String(a))}},FF=function(a,b){return new NE(a,b)},DF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,
e){a=new b(String(a));void 0!==e&&(a.nh=e);return a}}(OE);EF(PE);EF(QE);EF(RE);EF(SE);EF(TE);EF(UE);var GF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a){return(a=String(a))?new b(a):""}},HF=function(a,b){return(a=String(a))?new NE(a,b):""},IF=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,e){a=String(a);if(!a)return"";a=new b(a);void 0!==e&&(a.nh=e);return a}}(OE);GF(PE);GF(RE);GF(QE);var JF=GF(SE);GF(TE);
var KF=GF(UE),LF=/^<(?:area|base|br|col|command|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)\b/,RF=function(a,b){if(!b)return String(a).replace(MF,"").replace(NF,"&lt;");a=String(a).replace(/\[/g,"&#91;");var c=[],e=[];a=a.replace(MF,function(a,f){if(f&&(f=f.toLowerCase(),b.hasOwnProperty(f)&&b[f])){var g=c.length,h="</",r="";if("/"!=a.charAt(1)){h="<";for(var z;z=OF.exec(a);)if(z[1]&&"dir"==z[1].toLowerCase()){if(a=z[2]){if("'"==a.charAt(0)||'"'==a.charAt(0))a=a.substr(1,a.length-
2);a=a.toLowerCase();if(a==ck||a==an||a==kf)r=' dir="'+a+'"'}break}OF.lastIndex=0}c[g]=h+f+">";e[g]=r;return"["+g+"]"}return""});a=PF(a);var f=QF(c);a=a.replace(/\[(\d+)\]/g,function(a,b){return e[b]&&c[b]?c[b].substr(0,c[b].length-1)+e[b]+">":c[b]});return a+f},SF=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},QF=function(a){for(var b=[],c=0,e=a.length;c<e;++c){var f=a[c];"/"==f.charAt(1)?(f=es(b,f),0>f?a[c]="":(a[c]=b.slice(f).reverse().join(""),b.length=f)):"<li>"==f&&0>
es(b,"</ol>")&&0>es(b,"</ul>")?a[c]="":LF.test(f)||b.push("</"+f.substring(1))}return b.reverse().join("")},X=function(a){return BF(a,GE)?(C(a.constructor===OE),PF(RF(a.zb()))):xr(String(a))},UF=function(a){if(BF(a,JE))return C(a.constructor===SE),a.zb().replace(/([^"'\s])$/,"$1 ");a=String(a);TF.test(a)||(Vr("Bad value `%s` for |filterHtmlAttributes",[a]),a="zSoyz");return a},ZF=function(a){if(BF(a,HE))return C(a.constructor===QE),VF(a);if(BF(a,IE))return C(a.constructor===RE),VF(a);a instanceof
Sw?a=VF(Tw(a)):a instanceof Kw?a=VF(Lw(a)):(a=String(a),WF.test(a)?a=a.replace(XF,YF):(Vr("Bad value `%s` for |filterNormalizeUri",[a]),a=je));return a},aG=function(a){if(BF(a,KE))return cs(a,UE),SF(a.zb());null==a?a="":a instanceof Zw?a=SF($w(a)):a instanceof ix?a=SF(jx(a)):(a=String(a),$F.test(a)||(Vr("Bad value `%s` for |filterCssValue",[a]),a="zSoyz"));return a},bG=function(a){return BF(a,LE)?(Vr("Tainted SanitizedContentKind.TEXT for |noAutoescape: `%s`",[a.zb()]),"zSoyz"):a},cG={},dG=function(a,
b){a=cG[a]||(cG[a]=new AF(a));var c=Hx(vw("Soy |bidiSpanWrap is applied on an autoescaped text."),String(b));b=a.n8(CF(b),c);return px(b)},eG=function(a,b,c,e){a||(a=c instanceof Function?c.displayName||c.name||Ep:c instanceof Object?c.constructor.displayName||c.constructor.name||Object.prototype.toString.call(c):null===c?Pk:typeof c,Vr("expected param "+b+" of type "+e+(", but got "+a)+"."));return c},fG={"\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":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},gG=function(a){return fG[a]},hG={"\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"},YF=function(a){return hG[a]},iG=/[\x00\x22\x27\x3c\x3e]/g,XF=/[\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,$F=/^(?!-*(?:expression|(?:moz-)?binding))(?!\s+)(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:rgb|hsl)a?\([0-9.%,\u0020]+\)|-?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:[a-z]{1,2}|%)?|!important|\s+)*$/i,
WF=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,jG=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^data:image\/[a-z0-9+]+;base64,[a-z0-9+\/]+=*$|^blob:/i,TF=/^(?!on|src|(?:style|action|archive|background|cite|classid|codebase|data|dsync|href|longdesc|usemap)\s*$)(?:[a-z0-9_$:-]*)$/i,PF=function(a){return String(a).replace(iG,gG)},VF=function(a){return String(a).replace(XF,YF)},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 kG=function(a){var b;a=a||{};var c=DF,e='<div role="button"'+(a.id?' id="'+X(a.id)+'"':"")+' class="';var f=a||{};var g="goog-inline-block jfk-button ",h=f.style;switch(Vq(h)?h.toString():h){case 0:g+=rj;break;case 2:g+=pj;break;case 3:g+=qj;break;case 1:g+="jfk-button-default";break;case 4:g+="jfk-button-flat";break;case 5:g+="jfk-button-mini";break;case 6:g+="jfk-button-contrast";break;default:g+=rj}g+=(1==f.width?" jfk-button-narrow":"")+(f.checked?" jfk-button-checked":"")+(f.Xd?" "+f.Xd:
"")+(f.disabled?" jfk-button-disabled":"");return c(e+X(FF(g))+'"'+(a.disabled?' aria-disabled="true"':' tabindex="'+(a.rE?X(a.rE):"0")+'"')+(a.title?a.Go?' data-tooltip="'+X(a.title)+'"':' title="'+X(a.title)+'"':"")+(a.value?' value="'+X(a.value)+'"':"")+(a.attributes?" "+UF(a.attributes):"")+">"+W(null==(b=a.content)?"":b)+lb)};kG.ra="jfk.templates.button.strict";var mG=function(a,b,c,e){VD.call(this,a,lG.H(),b);this.sQ=c||0;this.gg=e||0;this.lR=!1};B(mG,VD);q=mG.prototype;q.getStyle=function(){return this.sQ};q.Ag=function(){return this.gg};q.Er=function(a){this.sQ!=a&&(this.sQ=a,this.oM())};q.YD=function(a){this.gg!=a&&(this.gg=a,this.oM())};q.XD=function(a){this.lR=a};q.Wc=function(a){this.Fr(a);var b=this.b();b&&(this.lR?pF(b,a,void 0):a?b.title=a:b.removeAttribute(op))};q.U=function(a){this.isEnabled()!=a&&(mG.c.U.call(this,a),this.oM())};
q.focus=function(){var a=this.Ta();try{a.focus()}catch(b){}};q.no=function(a){mG.c.no.call(this,a);this.Br(!1)};q.Qc=function(a){mG.c.Qc.call(this,a);this.isEnabled()&&this.Br(!0)};q.Kf=function(a){mG.c.Kf.call(this,a);this.isEnabled()&&this.Br(!0)};q.Br=function(a){this.b()&&lC(this.b(),"jfk-button-clear-outline",a)};q.oM=function(){this.b()&&this.M.ZDa(this)};
var nG=function(a,b){return new mG(a,b,2)},oG=function(a,b){return new mG(a,b,4)},qG=function(a){return nG(pG("//ssl.gstatic.com/ui/v1/button/search-white.png"),a)},pG=function(a,b){if(v(a)){var c=a;a=ty(Vc);a.src=c;gA(a,21,21)}U(a,"jfk-button-img");c=[];c.push(a);b&&(a=ty(td,"jfk-button-label",b),c.push(a));return c},lG=function(){this.p8=this.S()+"-standard";this.eS=this.S()+"-action";this.x3=this.S()+"-primary";this.yV=this.S()+Ja;this.jX=this.S()+"-flat";this.i2=this.S()+"-narrow";this.Z1=this.S()+
"-mini";this.AU=this.S()+"-contrast"};B(lG,TD);Rq(lG);q=lG.prototype;q.hm=function(a,b,c){a&&c.Er(a);b&&c.YD(b)};q.S=function(){return oj};q.g=function(a){cs(a,mG,"Button is expected to be instance of jfk.Button");var b=a.j(),c=$E(kG,{disabled:!a.isEnabled(),checked:a.bf(),style:a.getStyle(),title:a.zg(),Go:a.lR,value:a.getValue(),width:a.Ag()},void 0,b);b.append(c,a.zb());this.R(a,c);return c};
q.R=function(a,b){lG.c.R.call(this,a,b);this.ZT||(this.ZT=it(this.p8,cr(this.hm,0,null),this.eS,cr(this.hm,2,null),this.x3,cr(this.hm,3,null),this.yV,cr(this.hm,1,null),this.jX,cr(this.hm,4,null),this.Z1,cr(this.hm,5,null),this.AU,cr(this.hm,6,null),this.i2,cr(this.hm,null,1)));for(var c=fC(b),e=0;e<c.length;++e){var f=this.ZT[c[e]];f&&f(a)}if(c=b.getAttribute(zg))a.Fr(c),a.XD(!0);return b};q.getValue=function(a){return a.getAttribute(Xp)||""};q.setValue=function(a,b){a&&a.setAttribute(Xp,b)};
q.ZDa=function(a){function b(a,b){(a?c:e).push(b)}C(a.b(),"Button element must already exist when updating style.");var c=[],e=[],f=a.getStyle();b(0==f,this.p8);b(2==f,this.eS);b(3==f,this.x3);b(4==f,this.jX);b(5==f,this.Z1);b(1==f,this.yV);b(6==f,this.AU);b(1==a.Ag(),this.i2);b(!a.isEnabled(),this.S()+Ka);kC(a.b(),e);iC(a.b(),c)};eD(oj,function(){return new mG(null)});var sG=function(a,b){x(b)||(b=[b]);C(0<b.length,"At least one Css3Property should be specified.");b=hs(b,function(a){if(v(a))return a;Zr(a,"Expected css3 property to be an object.");var b=a.sN+" "+a.duration+"s "+a.timing+" "+a.xp+"s";C(a.sN&&Oq(a.duration)&&a.timing&&Oq(a.xp),"Unexpected css3 property value: %s",b);return b});rG(a,b.join(","))},tG=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}(function(){if(E)return Xt("10.0");var a=wy(document,d),b=Gt?"-webkit":Ft?"-moz":E?
"-ms":Ct?"-o":null,c={transition:Zk};b&&(c[b+"-transition"]=Zk);Vx(a,zx(Og,{style:c}));a=a.firstChild;C(a.nodeType==Node.ELEMENT_NODE);return""!=Mz(a,"transition")}),rG=function(a,b){Q(a,"transition",b)};var uG=function(a,b,c,e,f){wz.call(this);this.D=a;this.ut=b;this.Xpa=c;this.ZW=e;this.bs=x(f)?f:[f]};B(uG,wz);q=uG.prototype;q.play=function(){if(this.$u())return!1;this.Mg();this.L2();this.startTime=A();this.b7();if(tG())return Q(this.D,this.Xpa),this.mf=M(this.hva,void 0,this),!0;this.pQ(!1);return!1};q.hva=function(){hA(this.D);sG(this.D,this.bs);Q(this.D,this.ZW);this.mf=M(y(this.pQ,this,!1),1E3*this.ut)};q.stop=function(){this.$u()&&this.pQ(!0)};
q.pQ=function(a){rG(this.D,"");Yv(this.mf);Q(this.D,this.ZW);this.endTime=A();this.xP();a?this.R2():this.z2();this.dk()};q.o=function(){this.stop();uG.c.o.call(this)};q.pause=function(){C(!1,"Css3 transitions does not support pause action.")};var vG=function(a,b,c,e,f){return new uG(a,b,{opacity:e},{opacity:f},{sN:"opacity",duration:b,timing:c,xp:0})},wG=function(a,b){return vG(a,b,"ease-out",0,1)},xG=function(a,b){return vG(a,b,"ease-in",1,0)};var AG=function(a,b){b=cr(yG,a,b);a.V?b():E?Vu(a,In,b):Vu(a,pf,b);var c=null;I(a,In,function(){a.Ry&&(c=new zG(a))});I(a,Ii,function(){G(c)})},yG=function(a,b){a.rO(.75);var c=a.Wb;c&&b&&(b=c.Cj(b))&&U(b,"goog-buttonset-action");b=wG(a.b(),.13);c=xG(a.b(),.13);var e=vG(a.Rk(),.13,"ease-out",0,.75),f=vG(a.Rk(),.13,"ease-in",.75,0);a.WD(b,c,e,f)},CG=function(a,b,c,e,f,g,h){b=sx(b);c=c||null;f=f?(new DC).Gd({key:Uk,caption:f},!0,!0):OC();return BG(a,b,c,c,e,g||"jfk-alert",f,h)},BG=function(a,b,c,e,f,
g,h,l){g=g||"jfk-confirm";var p=new CC(void 0,!0,l);p.fb(a);p.Ew(b);p.Ph(h||BC());p.Ni(!0);p.render();a=p.b();C(a,"The dialog element cannot be null");U(a,g);AG(p,Uk);b=p.Ig("msg");p.J().id=b;SB(a,"alertdialog");T(a,Ig,b);Vu(p,Lg,function(a){c&&a.key==p.Wb.qj?c.call(f):e&&e.call(f)});p.C(!0);return p},zG=function(a){tC.call(this,a.b());this.La=a;I(this,Uo,this.JBa,!1,this)};B(zG,tC);
zG.prototype.JBa=function(a){a=a.lG;if(this.La.Ry&&hC(a.target,this.La.sia())){var b=hA(this.La.b());b=new Iz(0,b.width,b.height,0);var c=rA(this.La.b());b.expand(-1*c.top,-1*c.right,-1*c.bottom,-1*c.left);if(!b.contains(new $x(a.offsetX,a.offsetY)))return this.zO(),!0}return!1};
zG.prototype.zO=function(){var a=this.La.j().K(),b=oy(ry(a)),c=hA(this.La.b());if(Pz(this.La.b())==Hh)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.VO(new Jz(0,0,Math.max(0,a),Math.max(0,b)))};var DG={8:"backspace",9:"tab",13:oh,16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps-lock",27:"esc",32:"space",33:"pg-up",34:"pg-down",35:nh,36:"home",37:Rj,38:"up",39:Wm,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:"semicolon",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:"semicolon",187:"equals",189:"dash",188:",",190:".",191:"/",192:"`",219:"open-square-bracket",220:"\\",221:"close-square-bracket",222:"single-quote",224:"win"};var EG=function(){};B(EG,TD);Rq(EG);q=EG.prototype;q.g=function(a){var b=this.Zd(a);b=a.j().g(d,gi+b.join(" "),a.zb());this.Wc(b,a.zg());return b};q.wd=function(){return vf};q.tc=function(a){return a.tagName==d};q.R=function(a,b){C(b);U(b,fi);return EG.c.R.call(this,a,b)};q.getValue=function(){return""};q.S=function(){return di};eD(di,function(){return new VD(null,EG.H())});var FG=function(){};B(FG,EG);Rq(FG);q=FG.prototype;q.g=function(a){var b=this.Zd(a);b=a.j().g(d,gi+b.join(" "),[this.createCaption(a.zb(),a.j()),this.Ay(a.j())]);this.Wc(b,a.zg());return b};q.J=function(a){return a&&a.firstChild};
q.R=function(a,b){var c=iy("*",ii,b)[0];if(c){R(c,!1);a.j().K().body.appendChild(c);var e=new BD;e.R(c);a.Zg(e)}iy("*",this.S()+Ha,b)[0]||b.appendChild(this.createCaption(b.childNodes,a.j()));iy("*",this.S()+La,b)[0]||b.appendChild(this.Ay(a.j()));return FG.c.R.call(this,a,b)};q.createCaption=function(a,b){return b.g(d,gi+(this.S()+Ha),a)};q.Ay=function(a){return a.g(d,{"class":gi+(this.S()+La),"aria-hidden":!0},"\u00a0")};q.S=function(){return ei};eD(ei,function(){return new $D(null,null,FG.H())});var HG=function(a,b,c){bE.call(this,a,b,FG.H(),c);this.Ov=new GG(1E3);this.Y(this.Ov)};B(HG,bE);q=HG.prototype;q.g=function(){HG.c.g.call(this);U(this.b(),"jfk-select")};
q.mN=function(){if(this.Qa().V){var a=this.b(),b=this.d0()?8:12,c=this.Qa().b(),e=!1;this.Qa().N()||(e=!0,c.style.visibility=Hi,R(c,!0));var f=Math.max(this.yg(),0);f=this.Qa().pa(f);var g=0;if(this.cB()){var h=c.scrollTop;c.style.overflowY=lq;c.style.height=kf;e||(g=bA(f.b()).y-bA(this.b()).y,g=h-g)}e=f?f.b().offsetTop:0;h=Xz(a);var l=0;h&&(l=Xz(c),l=Math.min(Math.max(h.top,l.top+2),l.bottom-2)-h.top);NB(a,b,c,this.d0()?8:12,new $x(0,l-e),null,65|(this.cB()?32:132),null);this.cB()&&(a=bA(f.b()).y-
bA(this.b()).y,c.style.overflowY=kf,c.scrollTop=g+a);this.Qa().N()||(R(c,!1),c.style.visibility=lq)}};q.wc=function(a){var b=HG.c.wc.call(this,a);return a.type!=Hj||!this.Qa()||a.altKey||a.ctrlKey||a.metaKey||a.CC?b:this.Qd()||32!=a.keyCode?b?(!this.Qd()||38!=a.keyCode&&40!=a.keyCode||this.AW(),!0):pB(a.keyCode)?(a=a.charCode?String.fromCharCode(a.charCode):" ",this.Ov.add(a),b=this.Ov.$s,this.Ov.Gy?this.dX(a,!1):this.dX(b,1<b.length),!0):!1:(this.Ov.v4(),b)};
q.AW=function(){var a=this.Qa().Ff();a&&aA(a.b(),this.Qa().J())};q.dX=function(a,b){var c=this.Qd()?this.Qa().ib:this.yg();a=new RegExp("^"+Er(a),"i");b||++c;b=0>c?0:c;c=this.Qa();for(var e=0,f=c.Xa();e<f;++e){var g=(b+e)%f,h=c.pa(g),l=h.pi();if(h.isEnabled()&&l&&a.test(l)){this.NAa(g);break}}};q.NAa=function(a){this.Qd()?(this.Qa().oc(a),this.AW()):this.kf(a)};var GG=function(a){F.call(this);this.pg=new qz(this.v4,a,this);this.Y(this.pg)};B(GG,F);
GG.prototype.add=function(a){C(1==a.length,"nextLetter: '"+a+"' must be a single character");a==this.$s?this.Gy=!0:this.Gy||(this.$s+=a);this.pg.start()};GG.prototype.v4=function(){this.$s="";this.Gy=!1};GG.prototype.Gy=!1;GG.prototype.$s="";var IG=function(){};B(IG,iD);Rq(IG);q=IG.prototype;q.g=function(a){var b=a.j().g(td,this.Zd(a).join(" "));this.L5(b,a.kj);return b};q.R=function(a,b){b=IG.c.R.call(this,a,b);C(b);var c=fC(b),e=!1;qs(c,this.Ut(null))?e=null:qs(c,this.Ut(!0))?e=!0:qs(c,this.Ut(!1))&&(e=!1);a.Nya(e);C(b,"The element cannot be null.");T(b,Hf,this.PS(e));return b};q.wd=function(){return Gf};
q.L5=function(a,b){if(a){C(a);var c=this.Ut(b);C(c);C(a);hC(a,c)||(Qs(JG,function(b){b=this.Ut(b);C(a);lC(a,b,b==c)},this),T(a,Hf,this.PS(b)))}};q.PS=function(a){return null==a?"mixed":1==a?yp:xh};q.S=function(){return"goog-checkbox"};q.Ut=function(a){var b=this.If();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 KG=function(a,b,c){c=c||IG.H();mD.call(this,null,c,b);this.kj=u(a)?a:!1};B(KG,mD);var JG={J$:!0,rMa:!1,sMa:null};q=KG.prototype;q.Ua=null;q.bf=function(){return 1==this.kj};q.rra=function(){return null==this.kj};q.ke=function(a){a!=this.kj&&(this.kj=a,this.M.L5(this.b(),this.kj))};q.Nya=function(a){this.kj=a};q.Ra=function(a){if(this.V){var b=this.VA();this.Pa();this.Ua=a;this.B();b&&this.Ta().focus()}else this.Ua=a};q.toggle=function(){this.ke(this.kj?!1:!0)};
q.B=function(){KG.c.B.call(this);if(this.kn){var a=this.A();this.Ua&&a.listen(this.Ua,Kf,this.PJ).listen(this.Ua,zk,this.Bg).listen(this.Ua,yk,this.yu).listen(this.Ua,wk,this.Qc).listen(this.Ua,Ak,this.Kf);a.listen(this.b(),Kf,this.PJ)}a=this.Ta();this.Ua&&a!=this.Ua&&hr(YB(a))&&(this.Ua.id||(this.Ua.id=this.Ig("lbl")),T(a,Mj,this.Ua.id))};q.U=function(a){KG.c.U.call(this,a);if(a=this.b())a.tabIndex=this.isEnabled()?0:-1};
q.PJ=function(a){a.stopPropagation();var b=this.kj?"uncheck":"check";this.isEnabled()&&!a.target.href&&this.dispatchEvent(b)&&(a.preventDefault(),this.toggle(),this.dispatchEvent(Cf))};q.wc=function(a){32==a.keyCode&&(this.Tc(a),this.PJ(a));return!1};eD("goog-checkbox",function(){return new KG});var LG=function(a,b,c){$D.call(this,null,null,a,c);this.O_=b||null};B(LG,$D);q=LG.prototype;q.iw=2;q.U=function(a){LG.c.U.call(this,a);this.K5(a)};q.K5=function(a){this.Pp().disabled=!a};q.Qc=function(a){this.j().contains(this.Pp(),a.target)||LG.c.Qc.call(this,a)};q.Pp=function(){return this.j().ri(Xc,pi,this.J())[0]};q.fZ=function(){2==this.iw?(this.Hw(0),this.cd(0)&&this.cd(0).dispatchEvent(k)):(this.Hw(2),this.cd(1)&&this.cd(1).dispatchEvent(k))};q.fna=function(a){0==a.target.$?this.Hw(0):this.Hw(2)};
q.PF=function(){this.cd(0)&&this.cd(1)&&(this.A().listen(this.Qa(),k,this.fna),this.cd(0).Dc(0),this.cd(1).Dc(2))};q.KF=function(){this.A().listen(this.Pp(),Kf,this.fZ)};q.g=function(){LG.c.g.call(this);this.GU();var a=new wD("Todo",null,this.j(),this.O_),b=new wD("Ninguno",null,this.j(),this.O_);this.sc(a);this.sc(b);this.KF();this.PF()};q.GU=function(){var a=this.j().createElement(Xc);a.type=Gf;a.className=pi;this.eb(a)};q.Ka=function(a){LG.c.Ka.call(this,a);this.KF();this.PF()};
q.Zg=function(a){LG.c.Zg.call(this,a);this.PF()};q.Hw=function(a){if(this.iw!=a){var b=this.Pp();0==a?(b.checked=!0,jA(b,1)):1==a?(b.checked=!0,jA(b,.5)):(b.checked=!1,jA(b,1));this.iw=a}};eD("goog-selectionmenubutton-button",function(){return new LG});var MG=function(a){a=a||{};var b=a.w9?" "+X("jfk-checkbox-undetermined"):a.checked?" "+X("jfk-checkbox-checked"):" "+X("jfk-checkbox-unchecked");var c=a.w9?"mixed":a.checked?yp:xh;var e=a.Nca?' aria-labelledby="'+X(a.Nca)+'"':a.Mca?' aria-label="'+X(a.Mca)+'"':"";return DF(Bb+X(sj)+" "+X(fi)+b+(a.disabled?" "+X("jfk-checkbox-disabled"):"")+(a.Xd?" "+X(a.Xd):"")+'" role="checkbox" aria-checked="'+c+'"'+e+(a.id?' id="'+X(a.id)+'"':"")+(a.disabled?' aria-disabled="true" tabindex="-1"':' tabindex="'+
(a.rE?X(a.rE):"0")+'"')+(a.attributes?" "+UF(a.attributes):"")+' dir="ltr"><div class="'+X(tj)+'" role="presentation"></div></span>')};MG.ra="jfk.templates.checkbox.main";var NG=function(a,b){var c=kD(IG,sj);KG.call(this,a,b,c);this.tb(4,!0)};B(NG,KG);q=NG.prototype;q.g=function(){this.Na($E(MG,{checked:this.bf(),disabled:!this.isEnabled(),w9:this.rra()},void 0,this.j()))};q.Ka=function(a){NG.c.Ka.call(this,a);U(a,fi);this.b().dir=ck;this.Fc(tj)||this.oea();SB(this.ze(tj),Cm)};q.oea=function(){var a=this.j().g(d,tj);this.b().appendChild(a)};q.no=function(a){NG.c.no.call(this,a);this.Br(!1)};q.Qc=function(a){NG.c.Qc.call(this,a);this.isEnabled()&&this.Br(!0)};
q.Br=function(a){this.b()&&lC(this.b(),"jfk-checkbox-clearOutline",a)};var OG=function(a){LG.call(this,FG.H(),null,a);this.Hd=new NG;this.Hd.tb(32,!1)};B(OG,LG);q=OG.prototype;q.Pp=function(){return this.Hd.b()};q.GU=function(){this.Hd.render();this.eb(this.Hd.b())};q.Ka=function(a){OG.c.Ka.call(this,a);this.Hd.R(this.Fc(sj))};q.K5=function(a){this.Hd.U(a)};q.KF=function(){this.A().listen(this.Hd,Cf,this.fZ)};q.Hw=function(a){this.iw!=a&&(0==a?this.Hd.ke(!0):1==a?this.Hd.ke(null):this.Hd.ke(!1),this.iw=a)};q.o=function(){G(this.Hd);OG.c.o.call(this)};eD("jfk-selectionmenubutton",function(){return new OG});var PG=function(a,b){this.Ck=a instanceof $x?a:new $x(a,b)};B(PG,YC);PG.prototype.ha=function(a,b,c,e){NB(Tz(a),0,a,b,this.Ck,c,null,e)};var QG=function(a){this.sb=new L;a&&this.addAll(a)},RG=function(a){var b=typeof a;return b==Sk&&a||b==Rh?"o"+Yq(a):b.substr(0,1)+a};q=QG.prototype;q.sa=function(){return this.sb.sa()};q.add=function(a){this.sb.set(RG(a),a)};q.addAll=function(a){a=Gv(a);for(var b=a.length,c=0;c<b;c++)this.add(a[c])};q.removeAll=function(a){a=Gv(a);for(var b=a.length,c=0;c<b;c++)this.remove(a[c])};q.remove=function(a){return this.sb.remove(RG(a))};q.clear=function(){this.sb.clear()};q.Sb=function(){return this.sb.Sb()};
q.contains=function(a){return this.sb.Xb(RG(a))};q.ZK=function(a){var b=new QG;a=Gv(a);for(var c=0;c<a.length;c++){var e=a[c];this.contains(e)&&b.add(e)}return b};q.nb=function(){return this.sb.nb()};q.clone=function(){return new QG(this)};q.ad=function(a){return this.sa()==Fv(a)&&this.lra(a)};
q.lra=function(a){var b=Fv(a);if(this.sa()>b)return!1;!(a instanceof QG)&&5<b&&(a=new QG(a));return Jv(this,function(b){var c=a;return c.contains&&typeof c.contains==Rh?c.contains(b):c.nj&&typeof c.nj==Rh?c.nj(b):Tq(c)||v(c)?qs(c,b):Zs(c,b)})};q.ig=function(){return this.sb.ig(!1)};var SG=function(a,b,c){this.Z=c||(a?N(P(a)):N());LD.call(this,this.Z.g(d,{style:"position:absolute;display:none;"}));this.lH=new $x(1,1);this.Om=new QG;this.yo=null;a&&this.pd(a);null!=b&&this.yP(b)};B(SG,LD);var TG=[];q=SG.prototype;q.pc=null;q.className="goog-tooltip";q.G7=500;q.ipa=0;q.j=function(){return this.Z};q.pd=function(a){a=P(a);this.Om.add(a);I(a,zk,this.Bg,!1,this);I(a,yk,this.oA,!1,this);I(a,xk,this.AZ,!1,this);I(a,Ih,this.Be,!1,this);I(a,rf,this.oA,!1,this)};
q.detach=function(a){if(a)a=P(a),this.MV(a),this.Om.remove(a);else{for(var b=this.Om.nb(),c=0;a=b[c];c++)this.MV(a);this.Om.clear()}};q.MV=function(a){bv(a,zk,this.Bg,!1,this);bv(a,yk,this.oA,!1,this);bv(a,xk,this.AZ,!1,this);bv(a,Ih,this.Be,!1,this);bv(a,rf,this.oA,!1,this)};q.VAa=function(a){this.G7=a};q.yP=function(a){Ny(this.b(),a)};q.Rh=function(a){var b=this.b();b&&Vx(b,a)};
q.vr=function(a){var b=this.b();b&&Ey(b);SG.c.vr.call(this,a);a?(b=this.Z.K().body,b.insertBefore(a,b.lastChild),this.dwa()):(G(this.yo),this.yo=null)};q.dwa=function(){G(this.yo);this.yo=new rC(C(this.b()));this.Y(this.yo);I(this.yo,Jh,this.Js,void 0,this);I(this.yo,Kh,this.kE,void 0,this)};q.getText=function(){return Vy(this.b())};q.qJ=function(){return this.b().innerHTML};q.getState=function(){return this.Lr?this.N()?4:1:this.Hu?3:this.N()?2:0};
q.OM=function(){if(!zC.prototype.OM.call(this))return!1;if(this.anchor)for(var a,b=0;a=TG[b];b++)Ly(a.b(),this.anchor)||a.C(!1);ts(TG,this);a=this.b();a.className=this.className;this.Js();I(a,zk,this.MZ,!1,this);I(a,yk,this.LZ,!1,this);this.HG();return!0};q.Ng=function(){vs(TG,this);for(var a=this.b(),b,c=0;b=TG[c];c++)b.anchor&&Ly(a,b.anchor)&&b.C(!1);this.g3&&this.g3.kE();bv(a,zk,this.MZ,!1,this);bv(a,yk,this.LZ,!1,this);this.anchor=void 0;0==this.getState()&&(this.oD=!1);zC.prototype.Ng.call(this)};
q.Asa=function(a,b){this.anchor==a&&this.Om.contains(this.anchor)&&(this.oD||!this.dOa?(this.C(!1),this.N()||this.lva(a,b)):this.anchor=void 0);this.Lr=void 0};q.St=function(){return this.pc};q.lva=function(a,b){this.anchor=a;this.setPosition(b||this.DJ(0));this.C(!0)};q.ysa=function(a){this.Hu=void 0;if(a==this.anchor){a=this.j();var b=a.St();a=b&&this.b()&&a.contains(this.b(),b);null!=this.pc&&(this.pc==this.b()||this.Om.contains(this.pc))||a||this.Toa()||this.C(!1)}};
q.Toa=function(){return!(!this.YT||!this.YT.pc)};q.V4=function(a){var b=this.Z.Df();this.lH.x=a.clientX+b.x;this.lH.y=a.clientY+b.y};q.Bg=function(a){var b=this.wz(a.target);this.pc=b;this.Js();b!=this.anchor&&(this.anchor=b,this.w8(b),this.ST(),this.V4(a))};q.wz=function(a){try{for(;a&&!this.Om.contains(a);)a=a.parentNode;return a}catch(b){return null}};q.AZ=function(a){this.V4(a);this.oD=!0};
q.Be=function(a){this.pc=a=this.wz(a.target);this.oD=!0;if(this.anchor!=a){this.anchor=a;var b=this.DJ(1);this.Js();this.w8(a,b);this.ST()}};q.DJ=function(a){return 0==a?(a=this.lH.clone(),new UG(a)):new VG(this.pc)};q.ST=function(){if(this.anchor)for(var a,b=0;a=TG[b];b++)Ly(a.b(),this.anchor)&&(a.YT=this,this.g3=a)};
q.oA=function(a){var b=this.wz(a.target),c=this.wz(a.relatedTarget);b!=c&&(b==this.pc&&(this.pc=null),this.HG(),this.oD=!1,!this.N()||a.relatedTarget&&Ly(this.b(),a.relatedTarget)?this.anchor=void 0:this.kE())};q.MZ=function(){var a=this.b();this.pc!=a&&(this.Js(),this.pc=a)};q.LZ=function(a){var b=this.b();this.pc!=b||a.relatedTarget&&Ly(b,a.relatedTarget)||(this.pc=null,this.kE())};q.w8=function(a,b){this.Lr||(this.Lr=M(y(this.Asa,this,a,b),this.G7))};
q.HG=function(){this.Lr&&(Yv(this.Lr),this.Lr=void 0)};q.kE=function(){2==this.getState()&&(this.Hu=M(y(this.ysa,this,this.anchor),this.ipa))};q.Js=function(){this.Hu&&(Yv(this.Hu),this.Hu=void 0)};q.o=function(){this.C(!1);this.HG();this.detach();this.b()&&Ey(this.b());this.pc=null;delete this.Z;SG.c.o.call(this)};var UG=function(a,b){PG.call(this,a,b)};B(UG,PG);
UG.prototype.ha=function(a,b,c){b=Tz(a);b=Xz(b);c=c?new Iz(c.top+10,c.right,c.bottom,c.left+10):new Iz(10,0,0,10);MB(this.Ck,a,8,c,b,9)&496&&MB(this.Ck,a,8,c,b,5)};var VG=function(a){ZC.call(this,a,5)};B(VG,ZC);VG.prototype.ha=function(a,b,c){var e=new $x(10,0);NB(this.element,this.Dk,a,b,e,c,9)&496&&NB(this.element,4,a,1,e,c,5)};var WG=function(a,b,c,e,f){e=e||(b?N(P(b)):N());this.M=a;a=e.K().body;var g=this.M.b();a.appendChild(g);R(this.M.b(),!1);this.className=vj;SG.call(this,b,c,e);this.Y(this.M);this.vr(this.M.b());b=wG(this.M.b(),.13);c=xG(this.M.b(),.13);this.WD(b,c);this.ws=new eF(vj,!0);this.ws.setPosition(null!=f?f:1,void 0,void 0,-1);this.ws.DO(this.M.b(),this.M.aG);this.ws.qw(!0);this.VAa(300)};B(WG,SG);q=WG.prototype;q.DJ=function(){this.ws.Ql(this.St());return this.ws};q.J=function(){return this.M.J()};
q.yP=function(a){Ny(this.J(),a)};q.Rh=function(a){Vx(this.J(),a)};q.getText=function(){return Vy(this.J())};q.qJ=function(){return this.J().innerHTML};var XG=function(a){var b=vb+X("jfk-bubble")+'" role="alertdialog"'+(a.uid?' aria-describedby="'+X(a.uid)+'"':"")+'><div class="'+X("jfk-bubble-content-id")+'"'+(a.uid?' id="'+X(a.uid)+'"':"")+"></div>";a.YBa&&(b+=vb+X("jfk-bubble-closebtn-id")+" "+X("jfk-bubble-closebtn")+la+PF(fc)+'" role="button" tabindex=0></div>');b+=vb+X("jfk-bubble-arrow-id")+" "+X("jfk-bubble-arrow")+Aa+X("jfk-bubble-arrowimplbefore")+xa+X("jfk-bubble-arrowimplafter")+'"></div></div></div>';return DF(b)};XG.ra="jfk.templates.bubble.main";var YG=function(a,b,c,e){c=c||(a?N(P(a)):N());var f=new kF(c);WG.call(this,f,a,b,c,e)};B(YG,WG);var ZG=function(a,b){F.call(this);this.sV=a;this.Qf=b};B(ZG,F);ZG.prototype.zxa=function(a,b,c,e){this.cCa("Ejecutando secuencia de comandos","Secuencia de comandos "+(xr(b)+" en ejecuci\u00f3n"));a=this.Xha(a,b,e);c=this.Yha(c).toString();b=y(this.xna,this,b);a=a.toString();e=new iw;lw.push(e);b&&e.listen(Pf,b);e.Of(Nm,e.Dda);e.send(c,od,a,void 0)};
ZG.prototype.xna=function(a,b){b=b.target.Ba();switch(b.result){case "AUTH_REQUIRED":this.VP("La secuencia de comandos requiere autorizaci\u00f3n.",dd+(xr(a)+" requiere autorizaci\u00f3n."));this.eCa(b.authPanelUrl,b.authPanel);break;case "OK":this.VP("La secuencia de comandos ha finalizado.",dd+(xr(a)+" ha finalizado."));break;default:this.VP("Se ha producido un error en la secuencia de comandos.","Se ha producido un error en la secuencia de comandos "+(xr(a)+".")),this.WBa(b.error)}};
ZG.prototype.Yha=function(a){var b=new $y;b.$g((""==this.sV?"/macros":"/a/macros/"+this.sV)+"/macroClient");this.zBa(b,a);return b};ZG.prototype.Xha=function(a,b,c){var e=new az;e.set("cmd",2);null!=a&&e.set("lib",a);e.set("funcName",b);c&&e.set("authMae",c);this.Qf&&e.set("hl",this.Qf);e.set("authVersion","2");return e};var $G=function(a,b,c,e){CC.call(this,void 0,!0,e);this.ya=a;a=this.J();c=N(a);e=c.g(d);e.innerHTML=b;c.appendChild(a,e);this.Ph(GC);this.fb("Autorizaci\u00f3n necesaria");this.C(!0);this.Ni(!0);this.addEventListener(Lg,this.ida)};B($G,CC);$G.prototype.ida=function(a){this.coa(a.key);a.NN=!1};$G.prototype.coa=function(a){a!=zf&&lB(this.ya,{target:de,height:500,width:600,top:(screen.height-500)/2,left:(screen.width-600)/2,scrollbars:!0});this.C(!1)};var aH=function(a,b,c){ZG.call(this,a.domain!=Hg?a.domain:"",b);this.L=c||N();this.$i=a};B(aH,ZG);w("gsites.pages.view.SitesMaestroRunner",aH,void 0);q=aH.prototype;q.taa="Solo los usuarios que hayan iniciado sesi\u00f3n pueden ejecutar Google Apps Scripts.";q.zBa=function(a,b){a.T("mid",b)};q.eCa=function(a,b){(new $G(a,b,"sitesAppsScriptAuthDialog"+this.$i.name.replace(/-/g,""))).C(!0)};q.cCa=function(a,b){S(xr(a+": "+b))};q.VP=function(a,b){S(xr(a+": "+b))};
q.WBa=function(a){var b=new CC;b.fb("Alert");b.bg(a);b.Ph(FC);b.C(!0)};q.Ee=function(){this.Mpa();this.Lpa()};aH.prototype.initListeners=aH.prototype.Ee;aH.prototype.Mpa=function(){for(var a=this.L.uR("a","apps-script-run-link"),b=0;b<a.length;b++){var c=a[b],e=c.id.split("#");3==e.length&&I(c,Kf,this.Yja(e[1],e[2],e[0]),!1,this)}};aH.prototype.Lpa=function(){for(var a=this.L.uR("a","apps-script-disabled-link"),b=0;b<a.length;b++)I(a[b],Kf,this.fCa,!1,this)};
aH.prototype.hqa=function(){JOT_addListener(Rf,y(this.Ee,this))};aH.prototype.installEditRender=aH.prototype.hqa;aH.prototype.fCa=function(){S(this.taa)};aH.prototype.Yja=function(a,b,c){return function(){this.zxa(a,b,c)}};var cH=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,l,p,r,z,O){if("%"==r)return"%";var f=c.shift();if("undefined"==typeof f)throw Error("[goog.string.format] Not enough arguments");arguments[0]=f;return bH[r].apply(null,arguments)})},bH={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?
a+Fr(" ",Number(c)-a.length):Fr(" ",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=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;return e=0<=b.indexOf("-",0)?g+e+Fr(" ",a):g+Fr(0<=b.indexOf("0",0)?"0":" ",a)+e},d:function(a,b,c,e,f,g,h,l){return bH.f(parseInt(a,
10),b,c,e,0,g,h,l)}};bH.i=bH.d;bH.u=bH.d;var dH=!1,eH=[],hH=function(a){eH.push(a);Vq(Pq("google.visualization.ChartEditor"))?fH():dH||(dH=!0,webspace.features.googleChartsOverGstatic?gH.xB("https://www.gstatic.com/charts/loader.js",function(){google.charts.load(webspace.gvizGstaticVersion,{packages:["charteditor"],language:webspace.page.locale||"en"});google.charts.setOnLoadCallback(fH)}):(a=cH("//www.google.com/jsapi?client=google-gviz&autoload={modules:[%s]}",sv({name:"visualization",packages:["charteditor_base"],version:webspace.gvizVersion||
"1",language:webspace.page.locale||"en",callback:Jo})),gH.xB(a)))},fH=function(){dH=!1;D(eH,function(a){a()});eH=[]};w(Jo,fH,void 0);var iH=function(a){for(var b=0;b<a.length;b++){var c=a[b],e=Iy(c);null!=e&&"chartSpec"==e.name&&e.value&&google.visualization.drawChart(Br(e.value),c)}},jH=function(){var a=P(go);a&&(a=iy(d,"sites-gviz-chart",a))&&0<a.length&&hH(cr(iH,a))},kH=function(){var a=P(go);if(a){a=iy("FORM","sites-iframe-gviz-form",a);for(var b=0;b<a.length;b++)a[b].submit()}};JOT_addListener(Rf,jH);JOT_addListener("decorateGvizCharts",jH);JOT_addListener(Rf,kH);JOT_addListener(Qf,kH);var lH=/^[\w+/]+[=]{0,2}$/;var mH=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var e=c||t,f=e.document,g;a:{if((g=(e||t).document.querySelector("script[nonce]"))&&(g=g.nonce||g.getAttribute("nonce"))&&lH.test(g))break a;g=void 0}g&&(a.nonce=g);if("help"==a.flow){var h=Pq("document.location.href",e);!a.helpCenterContext&&h&&(a.helpCenterContext=h.substring(0,1200));h=!0;if(b&&JSON&&JSON.stringify){var l=JSON.stringify(b);(h=1200>=l.length)&&(a.psdJson=l)}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{e=c+"/load.js?";for(var p in a)b=a[p],null!=b&&!Vq(b)&&(e+=encodeURIComponent(p)+"="+encodeURIComponent(b)+"&");a=N(f).createElement(rd);g&&a.setAttribute("nonce",g);Yx(a,FE(e));f.body.appendChild(a)}};w("userfeedback.api.startFeedback",mH,void 0);var nH=function(a,b,c){try{c=c||"es";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==Xn)b="dashboard"}mH({productId:"70",flow:"help",helpCenterContext:b,helpCenterPath:"/sites",anchor:P(a),locale:c})}catch(f){window.open("http://support.google.com/sites/?hl="+c)}};w("sites.util.helpBox",nH,void 0);var oH=function(a,b,c,e){this.hFa=a;this.HE=b;this.Axa=c;this.l9=e};q=oH.prototype;q.create=function(){ga("create",this.hFa,{name:this.HE,sampleRate:this.Axa})};q.k9=function(){this.gP();var a={};a.hitCallback=y(function(){ga[this.l9]=!0},this);ga(this.HE+".send","pageview",a)};q.i9=function(a,b,c,e){if(e&&e.hitCallback){var f=e.hitCallback;if(this.Nqa()){var g=M(f,1E3);e.hitCallback=function(){Yv(g);f()}}else{f();return}}ga(this.HE+".send",rh,a,b,c,e)};q.gP=function(){};
q.set=function(a,b){ga(this.HE+".set",a,b)};q.Nqa=function(){return!!ga[this.l9]};var pH=function(){oH.call(this,"UA-38003561-1","SitesTracker",100,"__sites_ga_loaded__")};B(pH,oH);
pH.prototype.gP=function(){this.set("anonymizeIp",!0);this.set("page",webspace.page.path+window.location.search+window.location.hash);var a="Guest";webspace.domain==Hg?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":Cc}catch(h){g=Cc}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 qH=function(){oH.call(this,"UA-45214764-1","CorpSitesTracker",100,"__corp_sites_ga_loaded__")};B(qH,oH);
qH.prototype.gP=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 rH=new pH,sH=new qH,tH=function(){return"google.com"==webspace.domain};
w("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("script"),b=document.getElementsByTagName("script")[0];a.async=1;a.src=Ua;b.parentNode.insertBefore(a,b);rH.create();tH()&&sH.create()},void 0);w("sites.core.Analytics.trackPageview",function(){rH.k9();tH()&&sH.k9()},void 0);
var vH=function(a,b,c,e){tH()&&(uH(2,e),sH.i9(a,b,c,e));rH.i9(a,b,c,e)};w("sites.core.Analytics.trackEvent",vH,void 0);var uH=function(a,b){var c=b&&b.hitCallback;c&&(b.hitCallback=function(){var b=a;return function(){b--;b||c()}}())},wH=function(a,b,c,e){e=e||{};e.hitCallback=c;vH(a,b,void 0,e)};w("sites.core.Analytics.trackEventAndCall",wH,void 0);var xH=function(a,b,c,e){wH(a,b,function(){Zx(window.location,c)},e)};w("sites.core.Analytics.trackEventAndNavigate",xH,void 0);var yH=function(a){J.call(this);this.Nu={};this.Mu={};this.Ga=new pC(this);this.ea=a};B(yH,J);var zH=[E&&!Xt("11")?Om:Wj,ge,ph];q=yH.prototype;q.tS=function(a,b,c){(b=v(b)?b:b.src)&&(this.Nu[a]={src:b,BU:u(c)?c:null})};q.swa=function(a){delete this.Nu[a];var b=this.Mu[a];b&&(delete this.Mu[a],this.Ga.ta(b,zH,this.H2),at(this.Mu)&&at(this.Nu)&&this.dispatchEvent(Pf))};q.start=function(){var a=this.Nu;D(Xs(a),function(b){var c=a[b];c&&(delete a[b],this.tB(c,b))},this)};
q.tB=function(a,b){if(!this.isDisposed()){var c=this.ea?N(this.ea).g(Vc):new Image;a.BU&&(c.crossOrigin=a.BU);this.Ga.listen(c,zH,this.H2);this.Mu[b]=c;c.id=b;c.src=a.src}};q.H2=function(a){var b=a.currentTarget;if(b){if(a.type==Om)if(b.readyState==Pf)a.type=Wj;else return;"undefined"==typeof b.naturalWidth&&(a.type==Wj?(b.naturalWidth=b.width,b.naturalHeight=b.height):(b.naturalWidth=0,b.naturalHeight=0));this.dispatchEvent({type:a.type,target:b});this.isDisposed()||this.swa(b.id)}};
q.o=function(){delete this.Nu;delete this.Mu;G(this.Ga);yH.c.o.call(this)};var AH=function(){this.Qj=new yH;I(this.Qj,Wj,this.kC,!1,this)};w("gsites.util.ImagePreloader",AH,void 0);var BH=new cy(96,96);AH.prototype.init=function(a,b){a=iy("img",b,P(a));b=!1;for(var c=0;c<a.length;c++){var e=a[c];e.height&&e.width?("undefined"==typeof e.naturalWidth&&(e.naturalWidth=e.width),"undefined"==typeof e.naturalHeight&&(e.naturalHeight=e.height),this.kC(null,e)):e.src&&(b=!0,this.Qj.tS(e.id,e.src))}b&&this.start()};
w("gsites.util.ImagePreloader.prototype.init",AH.prototype.init,void 0);AH.prototype.start=function(){this.Qj.start()};AH.prototype.kC=function(a,b){if((b=a?a.target:b)&&u(b.naturalWidth)&&u(b.naturalHeight)&&(a=P(b.id))){var c=new cy(b.naturalWidth,b.naturalHeight);c.mz(BH)?(a.height=b.naturalHeight,a.width=b.naturalWidth):(b=c.bw(BH),a.height=b.height,a.width=b.width);a.style.display=""}};/*
 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 CH=function(a,b){this.uD=[];this.t2=a;this.CV=b||null;this.su=this.Sm=!1;this.Ug=void 0;this.cQ=this.qT=this.iG=!1;this.JE=0;this.ea=null;this.kG=0};q=CH.prototype;q.cancel=function(a){if(this.Sm)this.Ug instanceof CH&&this.Ug.cancel();else{if(this.ea){var b=this.ea;delete this.ea;a?b.cancel(a):b.bda()}this.t2?this.t2.call(this.CV,this):this.cQ=!0;this.Sm||this.sg(new DH(this))}};q.bda=function(){this.kG--;0>=this.kG&&this.cancel()};q.zU=function(a,b){this.iG=!1;this.aR(a,b)};
q.aR=function(a,b){this.Sm=!0;this.Ug=b;this.su=!a;this.Lt()};q.zk=function(){if(this.Sm){if(!this.cQ)throw new EH(this);this.cQ=!1}};q.callback=function(a){this.zk();this.VS(a);this.aR(!0,a)};q.sg=function(a){this.zk();this.VS(a);this.aR(!1,a)};q.VS=function(a){C(!(a instanceof CH),"An execution sequence may not be initiated with a blocking Deferred.")};q.ua=function(a,b){return this.ps(a,null,b)};q.Zh=function(a,b){return this.ps(null,a,b)};
q.ps=function(a,b,c){C(!this.qT,"Blocking Deferreds can not be re-used");this.uD.push([a,b,c]);this.Sm&&this.Lt();return this};q.then=function(a,b,c){var e,f,g=new Nv(function(a,b){e=a;f=b});this.ps(e,function(a){a instanceof DH?g.cancel():f(a)});return g.then(a,b,c)};Kv(CH);CH.prototype.isError=function(a){return a instanceof Error};CH.prototype.YZ=function(){return ks(this.uD,function(a){return Uq(a[1])})};
CH.prototype.Lt=function(){if(this.JE&&this.Sm&&this.YZ()){var a=this.JE,b=FH[a];b&&(b.x4(),delete FH[a]);this.JE=0}this.ea&&(this.ea.kG--,delete this.ea);a=this.Ug;for(var c=b=!1;this.uD.length&&!this.iG;){var e=this.uD.shift(),f=e[0],g=e[1];e=e[2];if(f=this.su?g:f)try{var h=f.call(e||this.CV,a);u(h)&&(this.su=this.su&&(h==a||this.isError(h)),this.Ug=a=h);if(Lv(a)||typeof t.Promise===Rh&&a instanceof t.Promise)this.iG=c=!0}catch(l){a=l,this.su=!0,this.YZ()||(b=!0)}}this.Ug=a;c&&(h=y(this.zU,this,
!0),c=y(this.zU,this,!1),a instanceof CH?(a.ps(h,c),a.qT=!0):a.then(h,c));b&&(a=new GH(a),FH[a.ma]=a,this.JE=a.ma)};var EH=function(){Rr.call(this)};B(EH,Rr);EH.prototype.message="Deferred has already fired";EH.prototype.name="AlreadyCalledError";var DH=function(){Rr.call(this)};B(DH,Rr);DH.prototype.message="Deferred was canceled";DH.prototype.name="CanceledError";var GH=function(a){this.ma=t.setTimeout(y(this.xDa,this),0);this.Kp=a};
GH.prototype.xDa=function(){C(FH[this.ma],"Cannot throw an error that is not scheduled.");delete FH[this.ma];throw this.Kp;};GH.prototype.x4=function(){t.clearTimeout(this.ma)};var FH={};var LH=function(a,b){var c=b||{};b=c.document||document;var e=Lw(a),f=wy(document,rd),g={c5:f,em:void 0},h=new CH(HH,g),l=null,p=null!=c.timeout?c.timeout:5E3;0<p&&(l=window.setTimeout(function(){IH(f,!0);h.sg(new JH(1,"Timeout reached for loading script "+e))},p),g.em=l);f.onload=f.onreadystatechange=function(){f.readyState&&f.readyState!=Zj&&f.readyState!=Pf||(IH(f,c.nNa||!1,l),h.callback(null))};f.onerror=function(){IH(f,!0,l);h.sg(new JH(0,"Error while loading script "+e))};g=c.attributes||{};
ht(g,{type:gp,charset:"UTF-8"});my(f,g);Yx(f,a);KH(b).appendChild(f);return h},KH=function(a){var b=gy("HEAD",a);return!b||rs(b)?a.documentElement:b[0]},HH=function(){if(this&&this.c5){var a=this.c5;a&&a.tagName==rd&&IH(a,!0,this.em)}},IH=function(a,b,c){null!=c&&t.clearTimeout(c);a.onload=Qq;a.onerror=Qq;a.onreadystatechange=Qq;b&&window.setTimeout(function(){Ey(a)},0)},JH=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);Rr.call(this,c);this.code=a};B(JH,Rr);var MH=function(){this.Gl={}};MH.prototype.eBa=function(a){this.Gl["card/source"]=a;return this};MH.prototype.getSource=function(){var a=this.Gl["card/source"];return null!=a?String(a):""};MH.prototype.xo=function(){return this.Gl};var PH=function(a){a=a||N();a=Yq(a.K());NH[a]||(NH[a]=new OH);return NH[a]},NH={},OH=function(){F.call(this);this.Kv=[];this.v=new MH};B(OH,F);var QH=Qw(vw(Si));q=OH.prototype;q.QW=!1;q.u0=!1;q.rk=null;q.$E=null;q.B9=null;q.yB=function(){var a=Pq("gapi.load");Uq(a)&&!this.u0?(this.u0=!0,a("card",y(this.vma,this))):this.QW||(this.QW=!0,LH(QH).ua(y(this.yB,this)))};
q.vma=function(){this.rk=Pq("gapi.config.update");this.$E=Pq("gapi.card.watch");this.B9=Pq("gapi.card.unwatch");this.configure(this.v);for(var a=0;a<this.Kv.length;a++){var b=this.Kv[a];this.w$(b.b(),b.getUserData())}this.Kv=[]};q.configure=function(a){this.v=a;a=a.xo();if(this.rk)for(var b in a)this.rk(b,a[b])};q.w$=function(a,b){this.$E?(hB(a,"g-hovercard"),b&&a.setAttribute("data-userid",b),this.$E(a)):(this.Kv.push(new RH(a,b)),this.yB())};
q.o=function(){OH.c.o.call(this);delete this.$E;delete this.B9;delete this.Kv};var RH=function(a,b){this.D=a;this.SEa=b};RH.prototype.b=function(){return this.D};RH.prototype.getUserData=function(){return this.SEa};var SH=function(a){J.call(this);this.nm=a||window;this.WL=I(this.nm,Vm,this.Kj,!1,this);this.gb=oy(this.nm)};B(SH,J);SH.prototype.Ae=function(){return this.gb?this.gb.clone():null};SH.prototype.o=function(){SH.c.o.call(this);this.WL&&(cv(this.WL),this.WL=null);this.gb=this.nm=null};SH.prototype.Kj=function(){var a=oy(this.nm);dy(a,this.gb)||(this.gb=a,this.dispatchEvent(Vm))};w("sites.Hovercard",function(){var a=(new MH).eBa(Xn);PH(void 0).configure(a);a=iy(null,"sites-admininfobox-hovercard",null);for(var b=0;b<a.length;b++){var c=a[b],e=N(c);PH(e).w$(c,void 0)}},void 0);var TH=function(){this.uX=this.vX=!1};Rq(TH);var UH=function(a){TH.H().Qra(a)};w("sites.util.GapiLoader.loadGapi",UH,void 0);TH.prototype.Qra=function(a){if(this.uX)a();else{if(!this.vX){this.vX=!0;var b=y(this.Aza,this);this.GV=LH(Qw(vw(Ti)));this.GV.ua(b)}this.GV.ua(a)}};TH.prototype.Aza=function(){this.uX=!0};var VH=function(a,b,c){this.Aca=a;webspace.features.contactStoreMigrationPollForGapi?(a=y(this.M_,this,b,c),a=y(this.q1,this,a),webspace.features.gapiLoaderUtil?UH(a):this.jva(a)):(a=y(this.M_,this,b,c),this.q1(a))};B(VH,F);w("sites.CommentPane",VH,void 0);q=VH.prototype;q.jva=function(a){var b=10,c=100,e=function(){window.gapi?a():0<b?(c*=2,b--,M(e,c)):console.log("Failed to load comments.")};e()};q.q1=function(a){LH(FE(this.Aca)).ua(a)};
q.M_=function(a,b){var c=it("c",!1,Docos.OptionName.PANE_DIV,P("sites-comment-docos-pane"),Docos.OptionName.RESOLVE,!1,Docos.OptionName.SHOW_ERRORS,!0,Docos.OptionName.HIDE_NOTIFICATION_SETTINGS,!0,Docos.OptionName.DISABLE_STREAM_PANE_FOCUS_WRAPPING,!0);b&&(c[Docos.OptionName.READONLY]=!0);this.UH=new Docos(c);this.render();a&&this.Pfa()};q.Pfa=function(){this.UH.displayNotificationControlDialog()};q.render=function(){this.UH.renderPaneSurface()};q.o=function(){VH.c.o.call(this);G(this.UH)};var WH=function(){this.yb=[];this.cI=[];this.xm=!1;this.result=this.qE=null},XH;q=WH.prototype;q.ua=function(a,b){if(typeof a!=Rh)throw"Callback must be a function";b&&(a=y(a,b));this.yb.push(a);this.xm&&this.qE&&this.LC(this.result)};q.Zh=function(a,b){if(typeof a!=Rh)throw"Errback must be a function";b&&(a=y(a,b));this.cI.push(a);this.xm&&!this.qE&&this.z3(this.result)};q.callback=function(a){Qr&&this.$m().info("Got result: "+a);if(this.xm)throw tc;this.qE=this.xm=!0;this.LC(a)};
q.LC=function(a){this.result=a;if(this.yb.length){var b=this.yb.shift();try{Qr&&this.$m().info("Passing result to callback handler");var c=b(a)}catch(e){Qr&&this.$m().s$("Caught error running callback:"+e,e);this.xm=!1;this.sg(e);return}c instanceof WH?(Qr&&this.$m().info("Callback returned Deferred, waiting for result"),c.ua(this.LC,this),c.Zh(this.sg,this)):this.yb.length?(Qr&&this.$m().info(this.yb.length+" callbacks remaining."),this.LC(c)):this.result=c}};
q.sg=function(a){Qr&&this.$m().info("Got error: "+a,a);if(this.xm)throw tc;this.xm=!0;this.qE=!1;this.z3(a)};q.z3=function(a){this.result=a;var b;if(this.cI.length)for(;b=this.cI.shift();)try{b(a)}catch(c){}else Qr&&this.$m().IP("Unhandled error: "+a,a)};q.$m=function(){XH||(XH=Au("goog.deferred.Deferred"));return XH};
var YH=function(a){this.HV=a;this.Ug=new WH;this.fD=[];for(var b=0;b<a.length;b++){var c=a[b];if(!(c instanceof WH))throw"All items in DeferredArray array must be Deferred objects";c.ua(this.Fla,this);c.Zh(this.mma,this)}};YH.prototype.Fla=function(a){this.fD.push([!0,a]);this.BT()};YH.prototype.mma=function(a){this.fD.push([!1,a]);this.BT()};YH.prototype.BT=function(){this.fD.length==this.HV.length&&this.Ug.callback(this.fD)};YH.prototype.ua=function(a){this.Ug.ua(a)};var $H=function(){if(ZH)return ZH;this.F=zu();this.F.oo(nu);this.F.sS(y(this.Zma,this));this.asa=new Nx;ZH=this},ZH=null;$H.prototype.enabled=!0;$H.prototype.aka=function(){var a=document.getElementById(Tn);a||(a=document.createElement(Og),a.id=Tn,document.body.appendChild(a));return a};$H.prototype.Zma=function(a){if(this.enabled){var b=this.aka().appendChild(document.createElement(Og));b.className="sites-debug-log-logrecord";b.innerHTML=this.asa.Fha(a)}};w("DebugLogDisplay",$H,void 0);var gH={$Na:[],cM:{},x1:{}};w("ResourceLoader",gH,void 0);gH.iu=function(){gH.F||(gH.F=Au("sites.ResourceLoader"));return gH.F};gH.wB=function(a){var b=new WH;if(gH.x1[a])b.callback(!0);else{var c=gH.cM[a];c||(gH.iu().info("loading "+a),c=gH.yB(a));c.ua(b.callback,b);c.Zh(b.sg,b)}b.ua(function(){gH.iu().info("ready: "+a)});b.Zh(function(a){gH.iu().IP("error loading resource",a)});return b};gH.xB=function(a,b,c){a=gH.wB(a);b&&a.ua(b);c&&a.Zh(c)};gH.loadResourceWithCallback=gH.xB;
gH.kv=function(a){for(var b=[],c=0;c<a.length;c++)b.push(gH.wB(a[c]));a=new YH(b);a.ua(function(){gH.iu().info("Done.")});return a};
gH.yB=function(a){var b=new WH;b.ua(function(){delete gH.cM[a];gH.x1[a]=!0});var c=document.getElementsByTagName("head")[0];if(!c)throw"No head element found, aborting";var e=/\.css(\?|$)/.exec(a);if(e){var f=document.createElement("link");f.href=a;f.rel="stylesheet"}else/\.js$|\.js\?|\/jsapi$|\/jsapi\?/.exec(a)&&(f=document.createElement("script"),f.src=a);if("undefined"!=typeof f.readyState)f.onreadystatechange=function(){f.readyState!=Zj&&f.readyState!=Pf||b.callback(!0)};else if(e){var g=function p(){p.eha||
(p.eha=!0,window.clearInterval(h),b.callback(!0))};var h=window.setInterval(function(){try{g()}catch(p){15!=p.code&&g()}},100);window.setTimeout(g,3E3)}else f.onload=function(){b.callback(!0)};c.appendChild(f);b.ua(function(){gH.iu().info("loaded: "+a)});return gH.cM[a]=b};var aI=function(a,b){this.h2={};this.Bpa={};this.S4=b;JOT_addListener("registerForRpc",y(this.fwa,this));var c=this;this.S4.register("resize_iframe",function(a){c.Gza(this.f,a)})};w("gsites.RpcHub",aI,void 0);aI.prototype.fwa=function(a){var b=a.payload[0],c=a.payload[1],e=document.getElementById(c);if(e&&e.name){var f=e.name;e.src=a.payload[2];this.S4.setAuthToken(f,b);this.h2[f]=c;this.Bpa[c]=f}};aI.prototype.Gza=function(a,b){if(a=document.getElementById(this.h2[a]))a.style.height=b+n};(function(){function a(a){a&&"ping"==a.data&&a.source.postMessage("pong",a.origin)}window.addEventListener&&window.addEventListener(pk,a,!1)})();w("JOT_addParamToUri",function(a,b,c){a=a instanceof $y?a:new $y(new String(a));a.T(b,c);return a},void 0);function bI(a){for(var b="",c=!1,e=!0,f=0;f<arguments.length;f++){var g=arguments[f];if(typeof g==Yo){var h=0==g.indexOf("/");c&&h?g=g.substring(1):c||h||e||(b+="/");e=!1;c=g.lastIndexOf("/")==g.length-1;b+=g}}return b}webspace.getPath=bI;function cI(a){a=dI(a);var b={};a&&eI(b,a);return b}w("JOT_getCompParts",cI,void 0);function dI(a){return a.id&&0==a.id.indexOf(Rb)?a:dI(a.parentNode)}
function eI(a,b){b=b.childNodes;for(var c=0;c<b.length;c++){var e=b[c];if(1==e.nodeType&&(!e.id||0!=e.id.indexOf(Rb))){var f=e.getAttribute("jotId");if(f){e.RNa=f;var g=a[f];if(g){if(!(g instanceof Array)){var h=[];h.push(g);g=a[f]=h}g.push(e)}else a[f]=e}eI(a,e)}}}
function fI(a){I(window,Wj,function(){var b=webspace.analyticsAccountId,c=webspace.enableUniversalAnalytics,e=webspace.baseUri;if(b&&c){var f="ga";window.GoogleAnalyticsObject?f=window.GoogleAnalyticsObject:(window[f]=window[f]||function(){(window[f].q=window[f].q||[]).push(arguments)},window[f].l=1*new Date,window.GoogleAnalyticsObject=f,gH.wB(Ua));var g=window[f];g("create",b,{cookieDomain:e});g("send","pageview");a&&g("set","admin",!0)}})}
function gI(a,b){I(window,Wj,function(){gH.xB((Qi==document.location.protocol?"https://ssl.":"http://www.")+"google-analytics.com/ga.js",function(){var c=webspace.analyticsAccountId,e=webspace.enableAnalytics,f=webspace.baseUri;c&&e&&b&&(c=window._gat._getTracker(c),c._setCookiePath(f),c._trackPageview(),c._trackPageLoadTime(),a&&c._setVar("admin"));if(c=webspace.domainAnalyticsAccountId)c=window._gat._getTracker(c),-1!=document.location.host.indexOf(".google.com")&&(f=f.slice(0,f.lastIndexOf("/")),
c._setCookiePath(f)),c._trackPageview(),c._trackPageLoadTime()})})}w("JOT_insertAnalyticsCode",function(a,b){b?(fI(a),webspace.domainAnalyticsAccountId&&gI(a,!1)):gI(a,!0)},void 0);
w("JOT_insertTranslateCode",function(a,b){dr("translateCallback",function(){var a=Pq("google.translate.TranslateElement");new a({pageLanguage:b,floatPosition:a.FloatPosition.BOTTOM_RIGHT,autoDisplay:!1});document.documentElement.style.height=kf});I(window,Wj,function(){gH.wB(document.location.protocol+"//translate.google.com/translate_a/element.js?cb=translateCallback&hl="+a)})},void 0);function hI(a,b,c,e){a=webspace.baseUri+a;b="json="+encodeURIComponent(sv(b));aB(a,c,e,od,b)}
w("JOT_callEndpoint",hI,void 0);function iI(a,b,c,e,f,g,h,l){var p=webspace.baseUri+"/system/services/gateway/?service="+encodeURIComponent(a);b.requestPath=b.requestPath||(new $y(new String(window.location))).getPath();a=f||od;f=function(a,b){a&&(new $y(new String(window.location))).mb(b)&&(p+="&"+b+"=true")};f(g,"nofwd");f(l,"ffwd");b=sv(b);var r;h=h||{};a==od?r="json="+encodeURIComponent(b):h.json=b;aB(p,c,e,a,r,void 0,h)}w("JOT_callGateway",iI,void 0);
function jI(a,b,c,e,f){var g=webspace.baseUri+"/system/services/gateway-upload/?service="+a,h=new cB;e&&I(h,ap,e);f&&I(h,ph,f);c=c||{};c.service=a;a=sv(c);h.KS(b,"json",a);b.acceptCharset="utf-8";h.jca(b);h.s5(b,g)}w("JOT_postFormToGateway",jI,void 0);function kI(a){return-1==Iw(a,void 0)?an:ck}w("JOT_getTextDir",kI,void 0);w("JOT_setTextDir",function(a){null!=a.value&&(a.dir=kI(a.value))},void 0);function lI(a,b){return a?(b=b==an?"\u200f":"\u200e",b+a+b):""}w("JOT_wrapTextDir",lI,void 0);
w("JOT_setMobilePreview",function(){var a=window.getComputedStyle(document.body,null),b=document.getElementById(go);b.style.backgroundColor=a.backgroundColor;b.style.backgroundImage=a.backgroundImage;b.style.backgroundRepeat=a.backgroundRepeat;b.style.backgroundAttachment=a.backgroundAttachment;b.style.backgroundPosition=a.backgroundPosition;document.body.style.background=pq},void 0);webspace.redirect=function(a){Zx(window.location,a)};webspace.search=function(a,b,c){iI("Search",a,b,c)};
webspace.shallowSearch=function(a,b,c){iI("ShallowSearch",a,b,c)};w("webspace.shallowSearch",webspace.shallowSearch,void 0);webspace.FNa=function(a,b,c){iI(Pc,a,b,c)};webspace.sOa=function(a,b,c){iI(vd,a,b,c)};function mI(a){var b=!1,c=a.getAttribute(np);c&&(c=parseInt(c,10));if(c){var e=a.getAttribute("issitelocale");(e=e?window.JOT_formatRelativeToNow(c,e):window.JOT_formatRelativeToNow(c))?b=!0:(e=a.getAttribute(op)||(new FB(10)).format(new Date(c)),a.removeAttribute(np));Ny(a,e)}return b}
function nI(){var a=!1;if(window.JOT_formatRelativeToNow)for(var b=iy(Po),c=b.length-1;0<=c;c--)mI(b[c])&&(a=!0);a?oI():pI&&(window.clearInterval(pI),pI=null)}var pI;function oI(){pI||(pI=window.setInterval(nI,2E4),I(window,"pageshow",nI))}w("JOT_setInnerRelativeTime",function(a,b,c){for(var e=a.firstChild;e;e=e.nextSibling)if(e.getAttribute&&e.getAttribute(np)){a=e;break}b?a.setAttribute(np,b):a.removeAttribute(np);a.setAttribute(op,c||(new Date(b)).toLocaleString());mI(a);oI()},void 0);oI();
JOT_addListener(Rf,nI);window.JOT_SUBPAGE_click=function(a){a=new Ju(a||window.event);if(a.target.className==vh)return a=a.target.parentNode.parentNode,kB(a,Mf)?jB(a,Mf):hB(a,Mf),!1};webspace.printUrl=new $y(new String(window.location));webspace.printUrl.T("tmpl","/system/app/templates/print/");webspace.printUrl.T("showPrintDialog","1");var qI=function(){F.call(this);this.d5=py(document);this.Ga=new pC(this);this.Y(this.Ga);this.mr=null;var a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;a&&(a=y(a,window));this.q4=a};B(qI,F);Rq(qI);JOT_addListener("pageLoaded",function(){qI.H().Vpa()});q=qI.prototype;q.mra=function(){return!!document.querySelector};q.Vpa=function(){if(this.mra())for(var a=iy(Og,"goog-toc"),b=0;b<a.length;b++)this.Upa(a[b])};
q.Upa=function(a){a=iy("a",null,a);for(var b=0;b<a.length;b++){var c=a[b],e=c.getAttribute("href"),f=e&&e.substring(1);if(e=e&&"#"==e[0]&&this.Qka(f))f=y(this.Mxa,this,e,f),this.Ga.listen(c,Kf,f)}};q.Qka=function(a){return a&&(a=document.querySelector("a[name="+a+"]"))&&a.parentNode&&a.parentNode.tagName&&a.parentNode.tagName.match(/H[1-9]/)?a.parentNode:null};
q.Mxa=function(a,b,c){a=Wz(a).y;this.mr=new xz([this.d5.scrollTop],[a],200,VA);this.Ga.listen(this.mr,ye,this.nC);this.Ga.listen(this.mr,nh,cr(this.gua,b));this.mr.play();c&&c.preventDefault()};q.nC=function(a){this.q4?this.q4(y(this.Q6,this,a.x)):this.Q6(a.x)};q.Q6=function(a){this.d5.scrollTop=a};q.gua=function(a){a&&(window.location.hash=a);G(this.mr);this.mr=null};var rI=function(a,b,c,e){mG.call(this,null);this.Jl=function(){Zx(window.location,a)};b&&c&&(this.Jl=function(){xH(b,c,a,e)})};B(rI,mG);w("sites.components.NavigationButton",rI,void 0);var sI=function(a){this.L=a||N()};w("sites.components.Paginator",sI,void 0);
sI.prototype.Ee=function(a,b,c,e,f,g,h){0>e&&(e=0);if("desc"==(g||"asc")){var l=e-f;g=e+f;f=g>=c;c=c-e==c}else g=e-f,l=e+f,f=0>g,c=l>=c;e=l;e=cw(hw(String(window.location),Tk),Tk,e);g=cw(hw(String(window.location),Tk),Tk,g);g=new rI(g);g.R(P(a));g.Yg(2);if(!f){if(l=P(a)){switch(h){case ze:a="Ver las entradas m\u00e1s recientes";break;case "revisions":a="Ver las revisiones m\u00e1s recientes";break;default:a="Anterior"}pF(l,a,void 0)}I(g,k,g.Jl)}g.U(!f);f=new rI(e);f.R(P(b));f.Yg(1);if(!c){if(b=P(b)){switch(h){case ze:a=
"Ver las entradas m\u00e1s antiguas";break;case "revisions":a="Ver las revisiones m\u00e1s antiguas";break;default:a="Siguiente"}pF(b,a,void 0)}I(f,k,f.Jl)}f.U(!c)};sI.prototype.initListeners=sI.prototype.Ee;var tI=function(a,b,c){CD.call(this,null,c);this.uxa=a;this.g9=ky("sites-navigation-link",a);this.fU=!!b;b=ky(uo,a);this.pd(a,9,8);this.h7(!1);this.R(b)};B(tI,CD);w("gsites.HoverPopupMenu",tI,void 0);var uI=[],vI=function(a,b){eD(vo,function(){var a=kD(vD,vo);return new wD(null,null,null,a)});var c=hD(zD,uo);a=iy(null,a);for(var e=0;e<a.length;e++)uI.push(new tI(a[e],b,c))};w("gsites.HoverPopupMenu.createSiteDropdownMenus",vI,void 0);
w("gsites.HoverPopupMenu.setSiteDropdownMenusFocusable",function(a){for(var b=0;b<uI.length;b++)uI[b].Pl(a)},void 0);q=tI.prototype;q.JCa=function(){this.N()&&(this.xA=M(y(this.zsa,this),250))};q.FG=function(){this.xA&&(Yv(this.xA),this.xA=void 0)};q.zsa=function(){this.FG();this.Rb()||this.Ce()};q.B=function(){tI.c.B.call(this);this.fU?(this.IDa=this.g9.href,this.g9.href="javascript:void(0);"):this.A().listen(this.j().K(),zk,this.bua,!0)};
q.pd=function(a,b,c,e,f){this.$K(a)||(a=this.EU(a,b,c,e,f),this.fU?this.A().listen(a.D,Kf,this.iua):this.A().listen(a.D,zk,this.kua))};q.kua=function(a){this.An=!0;this.FG();tI.c.oC.call(this,a)};q.iua=function(a){this.Rb()?Zx(window.location,this.IDa):(this.An=!0,this.FG(),tI.c.oC.call(this,a))};q.bua=function(a){this.N()&&(this.An=a.target instanceof Element&&this.mg(a.target),this.Rb()||this.xA||this.JCa())};q.Rb=function(){return this.An};q.s2=function(){};q.af=function(){this.Rb()||this.Ce()};
q.mg=function(a){return this.j().contains(this.uxa,a)};var wI=function(){};w("sites.util.GearsMenu",wI,void 0);wI.prototype.Npa=function(){var a=P(to),b=ky("sites-gears-button-icon");a&&b&&(b=new $D(b,null,FG.H()),b.R(a),a=b.Qa(),this.L_(a))};var xI=function(a,b){nH(a,b||"viewPage")};
wI.prototype.L_=function(a){this.ul(a,"sites-view-page-help",cr(xI,vk,"viewPage"));this.ul(a,"sites-help",cr(xI,to,document.URL));var b=bI(webspace.baseUri,"/system/app/pages/meta/dashboard/userSettings");this.ul(a,"sites-user-settings",function(){Zx(window.location,b)});this.ul(a,"googleadmin-enabled-link",function(){document.cookie="JOT_GA=false; path=/";window.location.reload(!0)});this.ul(a,"googleadmin-disabled-link",function(){document.cookie="JOT_GA=true; path=/";window.location.reload(!0)});
var c=bI(webspace.baseUri,"/system/pages/siteAdminTool");this.ul(a,"sites-admin-page",function(){Zx(window.location,c)});var e=bI(webspace.baseUri,"/system/app/pages/meta/dashboard/domainAdminTool");this.ul(a,"sites-domain-admin-page",function(){Zx(window.location,e)});this.ul(a,"sites-internal-feedback",function(){window.open("http://sites.google.com/a/google.com/JotSpot_Help/")})};wI.prototype.ul=function(a,b,c){(a=a.Sk(b))&&I(a,k,c)};var yI=function(a,b){F.call(this);this.ira=!!a;(this.Vqa=!!b)||(new wI).Npa();this.ira&&this.Spa()};B(yI,F);w("sites.util.OneGoogle",yI,void 0);var zI={my:"Buscar en mis sitios",all:"Buscar en todos los sitios"};q=yI.prototype;q.fw=null;q.YN=null;q.Ml=null;
q.Spa=function(){if(window.gbar){var a=window.gbar.qfae,b=window.gbar.qfgf;if(a&&b){this.fw=b();this.YN=this.fw.elements.scope;this.Ml=this.fw.elements.q;I(this.fw,$o,y(function(a){this.G0()||a.preventDefault()},this));var c=new BD;Qs(zI,function(a,b){c.sc(new wD(a,b))});b=new bE(null,c,new FG);var e=ty(d,["sites-search-scope-selector",fi]);b.C5(!1);b.O6(!0);b.render(e);var f=nB(this.YN);b.setValue(f);I(b,Cf,y(this.Tna,this));a(e)}}};
q.Tna=function(a){a=a.target.xa().$;var b=this.YN,c=b.type;switch(v(c)&&c.toLowerCase()){case Gf:case "radio":b.checked=a;break;case "select-one":b.selectedIndex=-1;if(v(a))for(var e=0;c=b.options[e];e++)if(c.value==a){c.selected=!0;break}break;case nn:c=a;v(c)&&(c=[c]);for(var f=0;e=b.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:b.value=null!=a?a:""}this.Ml.placeholder=zI[a];this.G0()&&this.fw.submit()};
q.G0=function(){var a=nB(this.Ml);return v(a)&&!hr(a)};var AI=function(){this.Pb=ky("sites-admin-content-pane")||ky("goog-ws-dash-main")||P("sites-chrome-everything-scrollbar")||P(go);this.aQ=ky("sites-admin-sidebar-wrapper");this.d_=ky("sites-system-edit-header")||ky("sites-header-divider");this.nX=ky("sites-adminfooter")||ky("sites-dash-footer");var a=new SH(window);I(a,Vm,y(this.resize,this))};B(AI,F);Rq(AI);w("sites.util.PageContentResizer.getInstance",AI.H,void 0);AI.prototype.pza=function(a){this.Hga=!!a};AI.prototype.setExcludeFooter=AI.prototype.pza;
AI.prototype.kEa=function(a){a=oy().height-a;this.Pb&&(Q(this.Pb,Gi,a+n),Q(this.Pb,ol,kf));this.aQ&&(Q(this.aQ,Gi,a+n),Q(this.aQ,ol,kf))};AI.prototype.resize=function(){var a=0;this.d_&&(a+=hA(this.d_).height);!this.Hga&&this.nX&&(a+=hA(this.nX).height);this.kEa(a)};AI.prototype.resize=AI.prototype.resize;var BI=function(a){var b='<table width="500px">';a=a.Apa;for(var c=a.length,e=0;e<c;e++){var f=a[e];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+qb};BI.ra="soy.sites.attachments.Dialog.content";var CI=function(a){return DF(""+(a.f3?'<label><input jotId="showPageTitleEl" type="checkbox" '+UF(a.e3)+"/>Mostrar t\u00edtulo de la p\u00e1gina</label>":"")+(a.J8?'<br/><label><input jotId="allowSubpagesEl" type="checkbox" '+UF(a.I8)+"/>Mostrar enlaces a subp\u00e1ginas</label>":"")+(a.bT?'<br/><label><input jotId="allowAttachmentsEl" type="checkbox" '+UF(a.cT)+"/>Permitir archivos adjuntos</label>":"")+(a.nU?'<br/><label><input jotId="allowCommentsEl" type="checkbox" '+UF(a.oU)+"/>Permitir comentarios</label>":
"")+"")},DI=function(a){return DF('<table cellspacing="10px">'+(a.g2?'<tr><td style="width: 25%; vertical-align: top">Nombre de la plantilla:</td><td><input jotId="pageTemplateName" type="text" size="30"'+(a.ll?ja:"")+' value="_pageURL_"/></td></tr>':"")+'<tr><td style="width: 25%; vertical-align: top">Descripci\u00f3n:</td><td><input jotId="pageTemplateDesc" type="text" size="30" value="'+X(a.description)+'"/><br/>Se muestra al usuario en la p\u00e1gina de creaci\u00f3n al desplazar el rat\u00f3n por encima.</td></tr></table>')},
EI=function(a){return DF('<table cellspacing="10px"><tr><td style="width: 25%; vertical-align: top">Ubicaci\u00f3n predeterminada:</td><td><strong><span jotId="defaultLocationLabel">'+W(a.defaultLocationPath)+'</span></strong>&nbsp; (<a href="javascript:;" id="templateDefaultLocationAnchor" onclick="JOT_postEvent(\'showSelectDefaultTemplateLocation\'); return false">cambiar</a>)<input type="hidden" jotId="defaultLocationWuid" value="'+X(a.defaultLocationWuid)+'"/><br/><div id="sites-template-default-loc">Cuando se creen p\u00e1ginas con esta plantilla de p\u00e1gina, se a\u00f1adir\u00e1n a esta ubicaci\u00f3n de tu sitio.</div></td></tr></table>')},
FI=function(a){var b=DF,c='<p jotId="confirmText" class="goog-ws-large">\u00bfDe verdad quieres eliminar "'+W(a.d3)+'"?</p><p jotId="errorPageText" class="goog-ws-deletePage-lockText" style="display:none">&#160;</p>';var e=DF;var f='<div jotId="pageList-'+X(a.c3)+'" class="goog-ws-tree-wrapper sites-delete-items-subtree jfk-scrollbar"><p><strong>Si se elimina "'+W(a.d3)+'", se eliminar\u00e1n los siguientes elementos:</strong></p><div jotId="treeDiv-'+X(a.c3)+'">Cargando la lista de p\u00e1ginas&#8230;<span id="spinnerWait" class="goog-inline-block"><img src="';
a=a.baseUri;BF(a,HE)?(C(a.constructor===QE),a=VF(a)):BF(a,IE)?(C(a.constructor===RE),a=VF(a)):a instanceof Sw?a=VF(Tw(a)):a instanceof Kw?a=VF(Lw(a)):(a=String(a),jG.test(a)?a=a.replace(XF,YF):(Vr("Bad value `%s` for |filterNormalizeMediaUri",[a]),a=je));e=e(f+X(a)+'/system/app/images/spinner.gif"/></span></div></div>');return b(c+e+"")},GI=function(){return DF("<b>\u00a1Vaya!</b><br/>")},HI=function(a,b,c){return DF(""+GI(null,null,c||b)+"No puedes eliminar estas p\u00e1ginas porque entre ellas se incluye la p\u00e1gina de destino (<b>"+
W(a.Era)+"</b>). Mueve la p\u00e1gina de destino o bien establece una p\u00e1gina de destino diferente.")};HI.ra="soy.sites.pageactions.deletePageErrorLandingPage";var II=function(a,b,c){return DF(""+GI(null,null,c||b)+"Esta p\u00e1gina ya no existe, puede que otro usuario la haya eliminado.")};II.ra="soy.sites.pageactions.deletePageErrorNotFound";var JI=function(a,b,c){return DF(""+GI(null,null,c||b)+"Una o varias de las p\u00e1ginas que se van a eliminar est\u00e1n bloqueadas debido a que se est\u00e1n editando actualmente. Debes esperar a que se complete la edici\u00f3n para poder eliminarlas.")};
JI.ra="soy.sites.pageactions.deletePageErrorDescendants";var KI=function(a,b,c){return DF(""+GI(null,null,c||b)+"Est\u00e1 p\u00e1gina est\u00e1 bloqueada porque <b>"+W(a.Zra)+"</b> la est\u00e1 editando actualmente. Debes esperar a que termine antes de eliminarla.")};KI.ra="soy.sites.pageactions.deletePageErrorCurrent";var LI=function(a,b,c){return DF(""+GI(null,null,c||b)+"No puedes eliminar esta p\u00e1gina porque no tienes derechos de edici\u00f3n en la p\u00e1gina principal. Solicita al propietario del sitio que te d\u00e9 acceso a la p\u00e1gina principal.")};
LI.ra="soy.sites.pageactions.deletePageErrorParentPermission";var MI=function(a,b,c){return DF(""+GI(null,null,c||b)+"No puedes eliminar esta p\u00e1gina porque no tienes derechos de edici\u00f3n para una de sus subp\u00e1ginas. Pide al propietario del sitio que te d\u00e9 acceso a las subp\u00e1ginas.")};MI.ra="soy.sites.pageactions.deletePageErrorChildPermission";var NI=function(a,b,c){return DF(""+GI(null,null,c||b)+"No se puede eliminar esta p\u00e1gina debido a un error desconocido.")};
NI.ra="soy.sites.pageactions.deletePageErrorPageUnknown";var OI=function(a){for(var b='<table class="goog-ws-deletePage-table"><tr><th>P\u00e1gina</th><th>Bloqueado por</th></tr>',c=a.results,e=c.length,f=0;f<e;f++){var g=c[f];b+=g.wuid!=a.Dpa?'<tr><td><a href="'+X(ZF(g.path))+ua+W(g.title)+"</a></td><td>"+W(g.lockUser)+rb:""}return DF(b+qb)};OI.ra="soy.sites.pageactions.deleteErrorLockTable";var PI=function(){return DF('<div class="goog-adsense-promo-popup"><div class="goog-adsense-promo-up-arrow"></div><div class="goog-adsense-promo-dismiss"><span class="modal-dialog-title-close"></span></div><div class="goog-adsense-promo-title"><strong>Gana dinero con AdSense</strong></div><div class="goog-adsense-promo-content"><div class="goog-adsense-promo-img"></div><div class="goog-adsense-promo-text"><p>Utiliza Google AdSense para obtener ingresos con la publicaci\u00f3n de anuncios orientados con precisi\u00f3n a tu sitio. Haz clic a continuaci\u00f3n para empezar a ganar dinero con AdSense.</p></div></div><div class="goog-adsense-promo-monetize-btn"></div></div>')};
PI.ra="soy.sites.pageactions.adSensePromo";var QI=function(a){a=eG(v(a.message)||a.message instanceof ME,pk,a.message,ka);return DF('<div class="sites-cookie-notice-fit" tab-index="-1"><div>'+W(a)+"</div><br></div>")};QI.ra="soy.sites.notice.viewerNotice";var RI=function(a){return'Enlaza tu p\u00e1gina de Google+ a tu sitio.<p>La insignia de Google+ ayuda a incrementar el p\u00fablico en Google+ y a mostrar m\u00e1s recomendaciones en la b\u00fasqueda de Google al permitir que las personas te a\u00f1adan a sus c\u00edrculos y hagan +1 en tu p\u00e1gina sin tener que abandonar el sitio.</p><p><a href="https://developers.google.com/+/plugins/badge/" target="_blank">M\u00e1s informaci\u00f3n acerca de las insignias de Google+</a></p><p id="'+W(a.Rc.eba)+
'"'+(a.url?"":' style="visibility:none"')+'><span class="sites-plus-page-url-preview">Esta insignia enlazar\u00e1 con: <a id="'+W(a.Rc.fba)+'" target="_new" href="'+W(a.url)+ua+W(a.url)+'</a></span> <span id="'+W(a.Rc.I$)+'" class="plus-page-change-url">Cambiar</span></p><div><p><label for="size" class="sites-plusone-properties-label">Estilo:</label> <select jotId="style" id="style"><option value="badge"'+("badge"==a.style?ia:"")+'>Insignia est\u00e1ndar</option><option value="smallbadge"'+("smallbadge"==
a.style?ia:"")+'>Insignia peque\u00f1a</option><option value="smallicon"'+("smallicon"==a.style?ia:"")+'>Icono peque\u00f1o</option><option value="mediumicon"'+("mediumicon"==a.style?ia:"")+'>Icono mediano</option><option value="largeicon"'+("largeicon"==a.style?ia:"")+">Icono grande</option></select></p></div>"};RI.ra="sites.editor.embed.templates.plusbadge.dialog";var SI=function(a){return'<div class="sites-sitelayout-chrome-hint">'+W(a.qpa)+lb};SI.ra="sites.editor.chrome.templates.chromeelementhint.main";var TI=function(a){return'<table style="width: 100%;"><tbody><tr><td class="goog-ws-edit-nav-title"><b>Texto para mostrar:</b></td><td><input type="text" id="sites-chrome-externalurl-title" value="'+W(a.title)+'" class="sites-chrome-externalurl-input"/></td></tr><tr><td class="goog-ws-edit-nav-title"><b>URL o correo electr\u00f3nico:</b></td><td><input type="text" id="sites-chrome-externalurl-url" value="'+W(a.url)+'" class="sites-chrome-externalurl-input"/></td></tr><tr><td colspan=2><span jotid="linkNewWindowSpan"><label><input id="sites-chrome-externalurl-opennewwin" type="checkbox"'+
(a.U2?ca:"")+"/>Abrir este enlace en una ventana nueva</label></span></td></tr></tbody></table>"};TI.ra="sites.editor.chrome.templates.externalurl.main";var UI=function(a){var b='<div class="goog-ws-edit-nav">'+(a.WA?"":'<div><table><tr><td style="vertical-align: baseline"><strong>T\u00edtulo:&nbsp;</strong></td><td style="vertical-align: baseline"><input id="navTitle" type="text" value="'+W(a.title)+'"/><br/><label><input type="checkbox" id="displayTitleCheckbox"/> Mostrar t\u00edtulo</label></td></tr></table><hr/></div>')+'<div id="fullNavEditor">'+(a.WA?"":'<label><input type="checkbox" id="dynamicModeCheckbox"/> Organizar autom\u00e1ticamente mi navegaci\u00f3n</label><div style="margin-top: 12px" id="dynamicModeEditor">Niveles de p\u00e1ginas que se van a mostrar: <select id="depthSelector"><option>1</option><option>2</option><option>3</option><option>todos</option></select></div>');
var c='<table class="goog-ws-edit-nav-table" id="manualModeEditor"><tr><td valign="top"><p><strong>Selecciona las p\u00e1ginas que deseas mostrar</strong></p><div class="goog-ws-list-gadget"><div id="pageListEl"></div></div><p><a id="addPageBtn" class="sites-chrome-navigationdialog-addpage sites-chrome-navigationdialog-action" tabindex="0">A\u00f1adir p\u00e1gina</a> <a id="addLinkBtn" class="sites-chrome-navigationdialog-addlink sites-chrome-navigationdialog-action" tabindex="0">A\u00f1adir URL</a></p></td><td valign="top" class="goog-ws-edit-nav-icons"><p><a id="moveUpBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-up" title="Subir"></span></a></p><p><a id="moveDownBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-down" title="Bajar"></span></a></p>'+
(a.MK?'<p><a id="indentBtn"><span class="sites-chrome-navigationdialog-btn '+W(a.MK)+'" title="Sangrar"></span></a></p>':"")+(a.$M?'<p><a id="outdentBtn"><span class="sites-chrome-navigationdialog-btn '+W(a.$M)+'" title="Deshacer sangr\u00eda"></span></a></p>':"")+'<p><a id="removeBtn"><span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-remove" title="Eliminar"></span></a></p></td></tr></table>';return b+c+'</div><br/><p>Incluir un enlace a:<br/><label><input type="checkbox" id="showSitemap"/> Mapa del sitio</label><br/><label><input type="checkbox" id="showRecentSiteActivity"/> Actividad reciente del sitio</label></p></div>'+
(a.WA?'<hr/><div><table><tr><td><p><strong>Estilo</strong><br/></p></td><td></td></tr><tr><td><label><input type="radio" name="navbarTabType" id="navbarTabTypeBoxes"/>Cuadros</label><br/><label><input type="radio" name="navbarTabType" id="navbarTabTypeTabs"/>Pesta\u00f1as</label><br/><label><input type="radio" name="navbarTabType" id="navbarTabTypeLinks"/>Enlaces</label></td><td></td></tr></table></div>':"")};UI.ra="sites.editor.chrome.templates.navigationdialog.main";var VI=function(){return'<div><div>El API de AdSense de Google Sites se ha cerrado.</div><div>Ya no se admiten modificaciones de AdSense en Google Sites.</div><div><a target="_blank" href="https://support.google.com/sites/answer/3156640">M\u00e1s informaci\u00f3n<a></div></div><div style="display: none"><select id="adlayout" name="adlayout"></select><span id="sites-pageelements-adsense-adunittype"></span><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>'};
VI.ra="sites.editor.chrome.templates.sidebaradsensedialog.deprecatedDialog";var WI=function(a){a=eG(v(a.event)||a.event instanceof ME,rh,a.event,ka);return'<div class="goog-ws-text"><table><tr><td><label class="goog-ws-label-inline"><strong>Evento:</strong></label></td><td><input id="eventEl" type="text" aria-label="Evento:" value="'+W(a)+'" tabindex="0"/></td></tr><tr><td><label class="goog-ws-label-inline"><strong>Fecha del evento:</strong></label> </td><td><input id="dateEl" type="text" aria-label="Fecha del evento:" tabindex="0"/></td></tr></table></div>'};WI.ra="sites.editor.chrome.templates.sidebarcountdowndialog.main";var XI=function(a){return'<p>N\u00famero de actividades que se van a mostrar: <input id="numItemsEl" type="text" value="'+W(a.HM)+'"/> <span style="display:none; color:red;" id="errEl">Debe ser un n\u00famero v\u00e1lido de actividades.</span></p>'};XI.ra="sites.editor.chrome.templates.sidebarrecentsiteactivitydialog.main";var YI=function(a){return'<div class="goog-ws-text"><p><label class="goog-ws-label-inline"><strong>T\u00edtulo:</strong></label>&#160;<input id="titleEl" type="text" value="'+W(a.title)+'"/></p><p><label><strong>Contenido:</strong></label><div id="textBoxContent" class="goog-ws-text-content"></div></p></div>'};YI.ra="sites.editor.chrome.templates.sidebartextboxdialog.main";var ZI=function(a){return'<div class="sites-sitelayouteditor-sidebar-widget-toolbar"><span class="sites-camelot-icon sites-sitelayouteditor-drag-icon"></span><span>'+W(a.title)+'</span><span id="'+W(a.id)+'_delete" class="sites-camelot-icon sites-camelot-delete-icon"></span></div>'};ZI.ra="sites.editor.chrome.templates.sidebarwidgettoolbar.main";var $I=function(a){for(var b='<div class="sites-sitelayouteditor-toolbar-button" id='+W(a.id)+'><span class="',c=a.xpa,e=c.length,f=0;f<e;f++)b+=W(c[f])+" ";return b+='sites-camelot-icon"></span><span>'+W(a.label)+"</span></div>"};$I.ra="sites.editor.chrome.templates.sitelayouttoolbar.button";
var aJ=function(a){return'<div class="goog-inline-block sites-sitewidth-editor"><span class="sites-sitewidth-label">Ancho del sitio:</span><div id="sites-sitewidth-radio-container" class="goog-inline-block"></div><input type="text" id="sites-sitewidth" name="width" onclick="this.focus()" class="text-input sites-sitewidth-editor-text" placeholder="'+W(a.fva)+oa+(a.isSiteRtlLocale?an:ck)+'"/></div>'};aJ.ra="sites.editor.chrome.templates.sitelayouttoolbar.siteWidth";var bJ=function(){return'<div id="sites-chrome-sidebar-editor" class="sites-sitelayouteditor-sidebar-editor"><span>Sidebar</span><span id="sites-chrome-add-sitebarwidget" class="sites-sidebar-icon-add-widget sites-camelot-icon"></span><span id="sites-chrome-editsidebar" class="sites-sidebar-icon-edit sites-camelot-icon"></span></div>'};bJ.ra="sites.editor.chrome.templates.sidebareditor.main";var eJ=function(a){J.call(this);this.kH=this.Wl={};this.e1=0;this.mla=jt(cJ);this.sDa=jt(dJ);this.ES=!0;this.qca=this.vca=!1;this.Osa=!0;this.sca=!1;this.HF=null;this.bqa(a)},fJ;B(eJ,J);var gJ=function(a){this.LP=a||null;this.next=a?null:{}},cJ=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],dJ=["color","date","datetime","datetime-local",hh,"month",Rk,"password",ln,"tel",fp,"time",Sp,"week"];q=eJ.prototype;q.xya=function(a){this.ES=a};q.S3=function(a,b){hJ(this.Wl,this.$_(1,arguments),a)};
q.z9=function(a){iJ(this.Wl,this.$_(0,arguments))};q.$_=function(a,b){if(v(b[a]))a=hs(jJ(b[a]),function(a){Wr(a.keyCode,"A non-modifier key is needed in each stroke.");return kJ(a.key||"",a.keyCode,a.Psa)});else{var c=b,e=a;x(b[a])&&(c=b[a],e=0);for(a=[];e<c.length;e+=2)a.push(kJ("",c[e],c[e+1]))}return a};q.VDa=function(){this.Wl={}};q.o=function(){eJ.c.o.call(this);this.VDa();this.Hda()};
var jJ=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,h=null;c=0;for(var l,p=0;l=f[p];p++){switch(l){case "shift":c|=1;continue;case "ctrl":c|=2;continue;case "alt":c|=4;continue;case "meta":c|=8;continue}null===h||Vr("At most one non-modifier key can be in a stroke.");f=void 0;g=l;if(!fJ){h={};for(f in DG)h[DG[f]]=qB(parseInt(f,10));fJ=h}h=fJ[g];Wr(h,"Key name not found in goog.events.KeyNames: "+
l);g=l;break}b.push({key:g,keyCode:h,Psa:c})}return b};q=eJ.prototype;q.bqa=function(a){this.Dn=a;I(this.Dn,Ij,this.Ah,void 0,this);Jt&&I(this.Dn,Jj,this.TZ,void 0,this);I(this.Dn,Kj,this.jq,void 0,this)};q.jq=function(a){Ft&&this.wma(a);Jt&&this.Qoa(a)};
q.wma=function(a){if(It){if(224==a.keyCode){this.V1=!0;M(function(){this.V1=!1},400,this);return}var b=a.metaKey||this.V1;67!=a.keyCode&&88!=a.keyCode&&86!=a.keyCode||!b||(a.metaKey=b,this.Ah(a))}32==this.HF&&32==a.keyCode&&a.preventDefault();this.HF=null};q.nL=function(a){return Jt&&a.ctrlKey&&a.altKey};q.TZ=function(a){32<a.keyCode&&this.nL(a)&&(this.B0=!0)};q.Qoa=function(a){!this.B0&&this.nL(a)&&this.Ah(a)};
q.Hda=function(){bv(this.Dn,Ij,this.Ah,!1,this);Jt&&bv(this.Dn,Jj,this.TZ,!1,this);bv(this.Dn,Kj,this.jq,!1,this);this.Dn=null};
var hJ=function(a,b,c){var e=b.shift();D(e,function(c){if((c=a[c])&&(0==b.length||c.LP))throw Error("Keyboard shortcut conflicts with existing shortcut");});b.length?D(e,function(e){e=e.toString();var f=new gJ;e=e in a?a[e]:a[e]=f;f=b.slice(0);hJ(C(e.next,"An internal node must have a next map"),f,c)}):D(e,function(b){a[b]=new gJ(c)})},iJ=function(a,b){var c=b.shift();D(c,function(c){var e=a[c];e&&(0==b.length?e.LP&&delete a[c]:e.next&&(iJ(e.next,b.slice(0)),at(e.next)&&delete a[c]))})};
eJ.prototype.Wp=function(a,b){for(var c=0;c<b.length;c++){var e=a[b[c]];if(e)return e}};var kJ=function(a,b,c){c=c||0;b=["c_"+b+"_"+c];""!=a&&b.push("n_"+a+"_"+c);return b};
eJ.prototype.Ah=function(a){if(this.AL(a))if(a.type==Ij&&this.nL(a))this.B0=!1;else{var b=qB(a.keyCode),c=kJ(a.key,b,(a.shiftKey?1:0)|(a.ctrlKey?2:0)|(a.altKey?4:0)|(a.metaKey?8:0)),e=this.Wp(this.kH,c);e&&!this.dpa()||this.tO(this.Wl);(e=this.Wp(this.kH,c))&&e.next&&this.tO(e.next);if(e)if(e.next)a.preventDefault();else{this.tO(this.Wl);this.ES&&a.preventDefault();this.vca&&a.stopPropagation();c=Xr(e.LP,"A terminal node must have a string shortcut identifier.");e=a.target;var f=this.dispatchEvent(new lJ("shortcut",
c,e));(f&=this.dispatchEvent(new lJ("shortcut_"+c,c,e)))||a.preventDefault();Ft&&(this.HF=b)}}};
eJ.prototype.AL=function(a){var b=a.keyCode;if(""!=a.key){var c=a.key;if("Control"==c||"Shift"==c||"Meta"==c||"AltGraph"==c)return!1}else if(16==b||17==b||18==b)return!1;c=a.target;var e=c.tagName==Id||c.tagName==Xc||c.tagName==Nb||c.tagName==sd,f=!e&&(c.isContentEditable||c.ownerDocument&&"on"==c.ownerDocument.designMode);return!e&&!f||this.mla[b]||this.qca?!0:f?!1:this.Osa&&(a.altKey||a.ctrlKey||a.metaKey)?!0:c.tagName==Xc&&this.sDa[c.type]?13==b:c.tagName==Xc||c.tagName==Nb?this.sca?!0:32!=b:!1};
eJ.prototype.dpa=function(){return 1500<=A()-this.e1};eJ.prototype.tO=function(a){this.kH=a;this.e1=A()};var lJ=function(a,b,c){H.call(this,a,c);this.identifier=b};B(lJ,H);var mJ=function(){};B(mJ,EG);Rq(mJ);mJ.prototype.S=function(){return oj};var nJ=function(a,b,c){CC.call(this,a,b,c)};B(nJ,CC);var oJ=0;nJ.prototype.C=function(a){a!=this.N()&&(nJ.c.C.call(this,a),a?oJ++:oJ=Math.max(oJ-1,0),this.focus())};nJ.prototype.focus=function(){if(this.N()){var a=this.Dj();a&&(Ty(a,!0),a.focus())}};
nJ.prototype.ha=function(){var a=this.Z.K(),b=ry(a)||window;a=N((b||t||window).document).Df();var c=a.x;a=a.y;var e=hA(this.b());b=oy(b);c=Math.max(c+b.width/2-e.width/2,0);var f=P("gb"),g=20;f&&(g+=hA(f).height);a=Math.max(a+b.height/2-e.height/2,g);Rz(this.b(),c,a)};w("gsites.components.JotDialog.prototype.reposition",nJ.prototype.ha,void 0);nJ.prototype.close=function(){this.C(!1);this.dispose()};var pJ=function(a){this.JDa=a};pJ.prototype.toString=function(){return this.JDa};var qJ=new pJ(jq),rJ=new pJ("selection"),sJ=new pJ(Xp),tJ=new pJ(mh),uJ=new pJ(Cf),vJ=new pJ(k);var wJ=function(a){this.data=a};var xJ=function(a,b,c){this.sN=a;this.newValue=b;this.oldValue=c};var yJ=function(a){F.call(this);this.En=1;this.zC=[];this.NC=0;this.lf=[];this.Ui={};this.Pca=!!a};B(yJ,F);yJ.prototype.subscribe=function(a,b,c){var e=this.Ui[a];e||(e=this.Ui[a]=[]);var f=this.En;this.lf[f]=a;this.lf[f+1]=b;this.lf[f+2]=c;this.En=f+3;e.push(f);return f};yJ.prototype.unsubscribe=function(a,b,c){if(a=this.Ui[a]){var e=this.lf;if(a=os(a,function(a){return e[a+1]==b&&e[a+2]==c}))return this.gm(a)}return!1};
yJ.prototype.gm=function(a){var b=this.lf[a];if(b){var c=this.Ui[b];0!=this.NC?(this.zC.push(a),this.lf[a+1]=Qq):(c&&vs(c,a),delete this.lf[a],delete this.lf[a+1],delete this.lf[a+2])}return!!b};
yJ.prototype.dr=function(a,b){var c=this.Ui[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.Pca)for(f=0;f<c.length;f++){var h=c[f];zJ(this.lf[h+1],this.lf[h+2],e)}else{this.NC++;try{for(f=0,g=c.length;f<g;f++)h=c[f],this.lf[h+1].apply(this.lf[h+2],e)}finally{if(this.NC--,0<this.zC.length&&0==this.NC)for(;c=this.zC.pop();)this.gm(c)}}return 0!=f}return!1};var zJ=function(a,b,c){vt(function(){a.apply(b,c)})};
yJ.prototype.clear=function(a){if(a){var b=this.Ui[a];b&&(D(b,this.gm,this),delete this.Ui[a])}else this.lf.length=0,this.Ui={}};yJ.prototype.sa=function(a){if(a){var b=this.Ui[a];return b?b.length:0}a=0;for(b in this.Ui)a+=this.sa(b);return a};yJ.prototype.o=function(){yJ.c.o.call(this);this.clear();this.zC.length=0};var AJ=function(a){F.call(this);this.Zn=new yJ(a);this.Y(this.Zn)};B(AJ,F);q=AJ.prototype;q.subscribe=function(a,b,c){return this.Zn.subscribe(a.toString(),b,c)};q.unsubscribe=function(a,b,c){return this.Zn.unsubscribe(a.toString(),b,c)};q.gm=function(a){return this.Zn.gm(a)};q.dr=function(a,b){return this.Zn.dr(a.toString(),b)};q.clear=function(a){this.Zn.clear(u(a)?a.toString():void 0)};q.sa=function(a){return this.Zn.sa(u(a)?a.toString():void 0)};var BJ=function(a,b){F.call(this);this.ma=a;this.ht={};this.eh=b?dt(b):{};this.Ypa=dt(this.eh);this.o6();this.$n=new yJ;this.fm=new AJ;this.BF=1E6};B(BJ,F);q=BJ.prototype;q.o6=function(){u(this.eh["keys-enabled"])||(this.eh["keys-enabled"]=!0);this.isEnabled()||(this.ht[Gg]=!0);u(this.eh[qp])||(this.eh[qp]=!0)};q.o=function(){BJ.c.o.call(this);this.$n.dispose();this.fm.dispose();delete this.$n;delete this.fm;delete this.eh};q.getId=function(){return this.ma};q.isEnabled=function(){return!!this.getProperty(mh)};
q.U=function(a,b){b=b||Gg;var c=!0;if(a){delete this.ht[b];for(var e in this.ht){c=!1;break}}else this.ht[b]=!0,c=!1;this.setProperty(mh,c)};q.N=function(){return!!this.getProperty(lq)};q.C=function(a){this.setProperty(lq,a)};q.Rd=function(){return!!this.getProperty(pn)};q.ag=function(a){this.setProperty(pn,a)};q.tg=function(){return this.getProperty(Af)||""};q.Xja=function(){return this.getProperty("node-label")||null};q.wg=function(){return this.getProperty(Lj)||""};
q.Eja=function(){return this.getProperty("long-label")||""};q.VI=function(){var a=this.Eja();return a?a:(a=this.Xja())?Vy(a):this.wg()};q.rJ=function(){return this.getProperty("icon")};q.bb=function(){return this.getProperty("keys")};q.getValue=function(){return this.getProperty(Xp)};q.setValue=function(a){this.setProperty(Xp,a)};q.getProperty=function(a){return this.eh[a]};
q.setProperty=function(a,b){"keys"==a&&null!=b&&(C(x(b),"Key property should be an array, but got %s instead",b),C(0==b.length||v(b[0]),"Key property should be an array of strings, but got %s instead",b));var c=this.eh[a];if(b!==c){this.eh[a]=b;this.fm.dr(uJ,new xJ(a,b,c));var e=CJ(a);e&&this.fm.dr(e,new xJ(a,b,c))}};q.Oka=function(){var a=this.getProperty("synonyms");if(a){a=a.split("|");for(var b=a.length-1;0<=b;b--)a[b]&&(a[b]=jr(a[b])),a[b]||us(a,b);return a}return[]};
q.Np=function(a,b){if(this.isEnabled()){var c=this.eh.selected,e=this.eh[qp];null!=c&&e&&this.ag(!c);this.$n.dr(k,a,b);this.fm.dr(vJ,new wJ(a,b))}};q.subscribe=function(a,b,c){return this.$n.subscribe(a,b,c)};q.hDa=function(a,b,c){return this.fm.subscribe(a,b,c)+this.BF};q.unsubscribe=function(a,b,c){return this.$n.unsubscribe(a,b,c)};q.gm=function(a){return a>this.BF?this.fm.gm(a-this.BF):this.$n.gm(a)};q.reset=function(){this.$n.clear();this.fm.clear();this.eh=dt(this.Ypa);this.ht={};this.o6()};
var CJ=function(a){switch(a){case lq:return qJ;case pn:return rJ;case Xp:return sJ;case mh:return tJ;default:return null}};var DJ=Ps("Macintosh")||yt();var EJ={Alt:"Opci\u00f3n",Ctrl:"\u2318",Meta:"\u2318"},FJ=function(a,b,c){a=a.replace(/[ +]*\+[ +]*/g,"+").replace(/[ ]+/g," ");a=hs(a.match(/[+ ]|[^+ ]+/g),function(a){a=" "==a?"y despu\u00e9s":a;return(c&&"Ctrl"==a||!DJ?"":EJ[a])||a});return b?a:a.join(" ")},IJ=function(a){a=hs(a,function(a){return hs(a,GJ)});HJ(a);return a},GJ=function(a){var b=a.title;a=hs(a.ah,function(a){if(x(a)){var c=vC.H().Nd();c=new BJ(c);var f=null==a[0]||x(a[0])?a[0]:[a[0]];c.setProperty("keys",f);c.setProperty(Lj,a[1]);
a[2]&&c.setProperty(Ph,!0);c.setProperty(Af,b);a=c}return a});return{title:b,ah:a}},HJ=function(a){for(var b=0;b<a.length;++b)for(var c=a[b],e=0;e<c.length;++e){var f=c[e],g=f.title;f=f.ah;for(var h=0;h<f.length;++h){var l=f[h],p=l.tg();C(p,"Action "+l.getId()+" should have a CATEGORY property");C(g==p,"For action "+l.getId()+" category should be the same from data and from action")}}};var KJ=function(a){a=a||{};CC.call(this,a.className,a.OEa,a.wNa);this.fb(a.title||"");this.vk=a.nba||null;this.LG=null;this.JT=a.sda||null;this.ei={};this.Fm=a.CH||"";this.uE=this.gsa(a);this.bE=this.o8=this.ci=this.ns=null;this.Bx=a.kNa||null;this.Fm&&(JJ[this.Fm]=this);this.reposition=this.ha;this.contentEl=this.J();this.setModal=this.C6;this.setActionEnabled=this.A5};B(KJ,nJ);var JJ={};q=KJ.prototype;
q.g=function(){KJ.c.g.call(this);var a=this.J();var b=this.uE;b='<div id="COMP_dialog'+bG(b.CH)+ua+bG(b.Bfa)+'<div><div class="modal-dialog-buttons '+bG(b.Gda)+ua+(b.WZ?'<a jotId="btnOk" id="'+bG(b.r2)+'"></a>&nbsp;':"")+'<a jotId="btnCancel" id="'+bG(b.LT)+'"></a></div></div></div>';a.innerHTML=b};
q.B=function(){KJ.c.B.call(this);hr(Hr(this.uE.Ix))||hB(this.Dj(),this.uE.Ix);hB(this.Dj(),"legacy-jot-dialog");var a=this.J();Q(a,"padding","0");this.Pda=this.pu();this.isa();this.Uba();this.compParts=this.ei=cI(a.firstChild)};q.A5=function(a,b){this.ns.U(a);R(this.o8,void 0==b?!a:b)};
q.Uba=function(){var a=this.A();this.ns&&a.listen(this.ns,k,this.gq);a.listen(this.ci,k,this.lA);this.LG=new uB(this.Pda);a.listen(this.LG,k,this.lA);JOT_addListener("dialogCancel"+this.Fm,y(this.lA,this));if(this.Bx){this.bE||(this.bE=new eJ(this.Dj()),this.bE.S3("doAction",this.Bx));var b=this;a.listen(this.bE,"shortcut",function(a){"doAction"==a.identifier&&b.gq(a)})}};
q.isa=function(){var a=this.uE;this.Ph(null);R(this.jia(),!1);var b=this.j(),c=mJ.H();if(a.WZ){var e=b.b(a.r2),f=new VD(a.Ax,c);f.render(e);hB(f.b(),qj);this.ns=f;if(this.Bx){var g=FJ(this.Bx);g=a.Ax+" \u202a("+g+")\u202c";f=new YG(f.b(),g,this.j());this.Y(f)}f=webspace.getPath(webspace.baseUri,db);f=ty(Vc,{src:f,style:"display:none;",className:"sites-embed-dialog-spinner"});e.parentNode.insertBefore(f,e.nextSibling);this.o8=f}b=b.b(a.LT);f=new VD(a.yG,c);f.render(b);this.ci=f;hB(f.b(),rj)};
q.gq=function(a){var b=!0;this.vk&&(a.eventSrc=a.eventSrc||a.target.b&&a.target.b()||a.target,b=this.vk(a));if(b||void 0==b)this.C(!1),this.dispose()};q.lA=function(a){var b=!0;this.JT&&(a.eventSrc=a.eventSrc||a.target,b=this.JT(a));if(b||"undefined"==typeof b)this.C(!1),this.dispose()};q.On=function(a){27==a.keyCode&&this.hI?this.lA(a):KJ.c.On.call(this,a)};
q.gsa=function(a){var b={};b.Ax=a.Ax||"Aceptar";b.yG=a.yG||bc;b.Gda="sites-clear";b.Bfa=this.Bia(a);b.CH=this.Fm;b.LT=this.Ig("cancelBtn");b.r2=this.Ig("okBtn");b.WZ=!!this.vk;b.Ix=a.Ix;return b};q.Bia=function(a){var b=a.template;b=b instanceof ME?b.zb():b;return a.Q0?this.Xwa(b,a.Q0):b};q.Xwa=function(a,b){for(var c in b)a=a.replace(new RegExp("_"+c+"_","gi"),b[c]);return a};
q.o=function(){G(this.LG);JOT_removeAllListenersForName("dialogCancel"+this.Fm);this.Fm&&delete JJ[this.Fm];G(this.ns);G(this.ci);KJ.c.o.call(this)};var LJ=function(a,b){return b.yia()-a.yia()};var MJ=/\\\|/g;Er("un|una|unos|unas|el|la|los|las").replace(MJ,"|");Er("ese|esa|eso|este|esta|esto").replace(MJ,"|");Er("sobre|para").replace(MJ,"|");var NJ=function(a){F.call(this);this.Fa=a;this.G=new pC(this);this.G.listen(a,Ji,this.Ota);this.G.listen(a,oh,this.Eta);this.G.listen(a,se,this.nta);this.G.listen(a,Ii,this.Nta);this.Ny(!0)};B(NJ,F);q=NJ.prototype;q.fv=null;q.VN=null;q.JH=!1;q.Eta=function(a){this.JH?a.preventDefault():this.fv=a.target};q.Ota=function(){this.Ny()};q.nta=function(){null!=this.VN?(this.Fa.b().scrollTop=this.VN,this.Ny(!1)):this.Ny(!0)};q.Nta=function(a){a.target==this.Fa&&(this.fv=null,this.VN=this.Fa.b().scrollTop)};
q.Ny=function(a){var b=this.Fa.Ff();if(this.Fa.N()&&b&&b!=this.fv){var c=this.Fa.b();aA(b.b(),c,a);this.pDa();this.fv=null}};q.pDa=function(){this.JH=!0;M(function(){this.JH=!1},0,this)};q.o=function(){NJ.c.o.call(this);this.G.dispose();this.fv=null};var OJ={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};var PJ=function(a,b,c){b=c||b;c="";var e=a.b_==qf?" "+X("apps-shortcutshelppopup-hc-black"):a.b_==pq?" "+X("apps-shortcutshelppopup-hc-white"):"";c+=vb+X("apps-shortcutshelppopup-container")+e+Aa+X("apps-shortcutshelppopup-header")+'" role="presentation"><div><div class="'+X("apps-shortcutshelppopup-title-container")+" "+X(Ve)+'"><h2 id="'+X(a.DH)+ma+X(Te)+'">M\u00e9todos abreviados de teclado</h2><input type="text" class="'+X(Xe)+" "+X("jfk-textinput")+'" role="combobox" aria-autocomplete="list" placeholder="'+
PF("Buscar todas las combinaciones de teclas")+sa+X(Ye)+" "+X(pj)+" "+X(oj)+'" tabindex="0"><div class="'+X("apps-shortcutshelppopup-input-button-img")+'"></div></div></div><div class="'+X("apps-shortcutshelppopup-tearoff-link-container")+" "+X(Ve)+za+X(ZF(a.MP))+ma+X("apps-shortcutshelppopup-tearoff-link")+" "+X(We)+'">Ver todos los accesos directos en el Centro de ayuda</a></div></div></div><div class="'+X("apps-shortcutshelppopup-search-banner")+ua+W(kG({Xd:HF($e),style:0,rE:0,content:IF(vb+X("apps-shortcutshelppopup-reset-search-button-icon")+
Aa+X("apps-shortcutshelppopup-reset-search-button-img")+'"></div></div>')},null,b))+'<h3 class="'+X(af)+'"></h3></div></div>';return DF(c)};PJ.ra="apps.action.soy.legacyshortcutshelpcontent.container";
var QJ=function(a){var b=""+(a.HA?vb+X(Ze)+wa:"")+'<div tabindex="-1" class="'+X("apps-shortcutshelppopup-result-container")+'"><table cellpadding="0" tabindex="0" class="'+X(Qe)+la+X(a.mDa)+'"><tbody>';a=a.bZ;for(var c=a.length,e=0;e<c;e++){var f=a[e];b+=f.title?Eb+X("apps-shortcutshelppopup-content-header")+(0==e?" "+X("apps-shortcutshelppopup-content-header-first"):"")+ua+W(f.title)+nb:"";f=f.ah;for(var g=f.length,h=0;h<g;h++){var l=f[h];b+=Db+X("apps-shortcutshelppopup-shortcut-desc")+" "+X(Re)+
ua+W(l.description)+sb+X("apps-shortcutshelppopup-shortcut-key")+" "+X(Re)+ua+W(l.keys)+rb}}return DF(b+"</tbody></table></div>")};QJ.ra="apps.action.soy.legacyshortcutshelpcontent.content";
var RJ=function(a){var b=""+(vb+X("CSS_SHORTCUTS_HELP_POPUP_CONTAINER")+" "+X("jfk-scrollbar-dark")+Ca+X(Ub)+" "+X("CSS_SHORTCUTS_HELP_POPUP_HEADER")+Da+X("CSS_SHORTCUTS_HELP_POPUP_TITLE")+" "+X(Xb)+'" id="'+X(a.DH)+ma+X(Te)+'">M\u00e9todos abreviados de teclado</td><td class="'+X("CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_CONTAINER")+" "+X(Xb)+za+X(ZF(a.MP))+ma+X(Yb)+" "+X(We)+'">Ver todos los accesos directos en el Centro de ayuda</a> | <span class="'+X("CSS_SHORTCUTS_HELP_CLOSE_PLACEHOLDER")+'"></span></td></tr></table>'+
(a.HA?vb+X(Ze)+wa:"")+'<table cellpadding="0" class="'+X(Ub)+" "+X("CSS_SHORTCUTS_HELP_POPUP_CONTENT")+'"><tr>');a=a.Vda;for(var c=a.length,e=0;e<c;e++){var f=a[e];b+='<td class="'+X(Vb)+Ca+X(Ub)+'"><tbody>';for(var g=f.length,h=0;h<g;h++){var l=f[h];b+='<tr><th class="'+X(Wb)+'"></th><th class="'+X(Wb)+'"><h3>'+W(l.title)+nb;l=l.ah;for(var p=l.length,r=0;r<p;r++){var z=l[r];b+=Db+X("CSS_SHORTCUTS_HELP_POPUP_KEY")+" "+X(Vb)+ua+W(z.keys)+sb+X("CSS_SHORTCUTS_HELP_POPUP_DESCRIPTION")+" "+X(Vb)+ua+W(z.description)+
rb}}b+="</tbody></table></td>"}return DF(b+"</tr></table></div>")};RJ.ra="apps.action.soy.legacyshortcutshelpcontent.legacyBanner";var SJ=function(a){var b="",c=" "+aG("apps-actiondatawidget-content-element");c=KF(c);b+='<table cellpadding="-1" class="'+X("apps-actiondatawidget-content")+" "+X(bi)+ua+(a.group.title?Eb+X("apps-actiondatawidget-content-header")+ua+W(a.group.title)+nb:"");a=a.group.ah;for(var e=a.length,f=0;f<e;f++){var g=a[f];b+=Db+X("apps-actiondatawidget-shortcut-desc")+X(c)+ua+W(g.description)+sb+X("apps-actiondatawidget-shortcut-key")+X(c)+ua+W(g.keys)+rb}return DF(b+qb)};SJ.ra="apps.action.shortcut.soy.actiongroupitem.content";
var TJ=function(a){var b="",c=""+(a.tga?aG("apps-actiondatawidget-override-keys-on"):aG("apps-actiondatawidget-override-keys-off"));c=KF(c);var e=""+(a.cN?aG("apps-actiondatawidget-key-extra-padding"):"");e=KF(e);b+=(a.text?Ab+X(a.NS)+ma+X(e)+ua+dG(1,W(a.text))+ob:"")+(a.cN?Bb+X(c)+ua+dG(1,W(a.cN))+Bb+X(Oe)+'" data-overridden-browser-behavior-msg="'+X(a.Ev)+'"></span></span>':"")+"";return DF(b)},UJ=function(a){return DF(Bb+X("apps-actiondatawidget-override-browser-behavior-msg")+'"> '+W(a.Ev)+ob)};var WJ=function(a,b,c,e){mD.call(this,null,VJ.H());this.fS=a;this.oba=b||null;this.wW=!!c;this.Rwa=!!e};B(WJ,mD);WJ.prototype.tg=function(){return this.fS.title};
var XJ=function(){return!Ct&&DA?"Chrome":EA?"Safari":zA?"Firefox":E?"Internet Explorer":Dt?Ac:null},ZJ=function(a,b,c,e,f){var g=hs(a.ah,function(a){return YJ(a,b)});c&&D(c,function(b){var c=ds(a.ah,b.action);-1!=c?g[c]=YJ(b.action,!0,b.Mua,e,f,b.Ev):g.push(YJ(b.action,!0,b.Mua,e,f,b.Ev))});return{title:a.title,ah:g}},YJ=function(a,b,c,e,f,g){var h=a.VI();var l="";a.bb()&&!f&&(l=$J(a,ys(a.bb())));f=l.replace(/pg-up/i,"Re P\u00e1g");f=f.replace(/pg-down/i,"Av P\u00e1g");f=f.replace("`","acento grave");
f=f.replace("~","tilde");f=f.replace("-","guion");f=f.replace("_","guion bajo");f=f.replace("=","igual a");f=f.replace("[","corchete de apertura");f=f.replace("]","corchete de cierre");f=f.replace(";","punto y coma");f=f.replace(":","dos puntos");f=f.replace(",","coma");f=f.replace(".","punto");f=f.replace("/","barra diagonal");f=f.replace("\\","barra diagonal inversa");f=f.replace(OJ.up,"arriba");f=f.replace(OJ.down,"abajo");f=f.replace(OJ.left,"izquierda");f=f.replace(OJ.right,"derecha");b?c?(a=
$J(a,c),e=TJ({text:l,NS:f,cN:a,tga:e&&!!XJ(),Ev:g})):e=TJ({text:l,NS:f}):(e=l,e=DF(Ab+X(f)+ma+X("CSS_SHORTCUTS_HELP_POPUP_KEY_MNEMONIC")+ua+dG(1,W(e))+ob));return{keys:e,description:h}},$J=function(a,b){b=hs(b,function(b){b=[b];C(x(b));b=b[0];for(var c in OJ)b.match(new RegExp("-"+c,"gi"))||(b=b.replace(new RegExp(c,"gi"),OJ[c]));DJ&&(c=!a.getProperty(Ph),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,"May\u00fas");b=b.replace(/Alt/g,"Alt");b=b.replace(/Option/g,"Opci\u00f3n");b=b.replace(/Meta/g,"Meta");b=b.replace(/backspace/gi,"Retroceso");b=b.replace(/tab/gi,"Tabulador");b=b.replace(/enter/gi,"Intro");b=b.replace(/pause/gi,"Pausa");b=b.replace(/caps-lock/gi,"Bloq May\u00fas");b=b.replace(/esc/gi,"Esc");b=b.replace(/space/gi,"Espacio");b=b.replace(/pg-up/gi,
"Re P\u00e1g");b=b.replace(/pg-down/gi,"Av P\u00e1g");b=b.replace(/end/gi,"Fin");b=b.replace(/home/gi,"Inicio");b=b.replace(/insert/gi,"Insertar");return b=b.replace(/delete/gi,Bc)});return b.join(" o ")},VJ=function(){};B(VJ,iD);Rq(VJ);var aK={eaa:Oe,faa:"apps-actiondatawidget-override-info-icon-tooltip",gaa:"apps-actiondatawidget-override-info-icon-tooltip-unsupported"};VJ.prototype.g=function(a){cs(a,WJ);var b=$E(SJ,{group:ZJ(a.fS,!0,a.oba,a.wW,a.Rwa)});this.gca(a,b);return b};
VJ.prototype.gca=function(a,b){var c=a.j(),e=XJ();b=c.Ym(aK.eaa,b);D(b,y(function(b){C(b);var c={sT:e,Ev:b.dataset.overriddenBrowserBehaviorMsg,HBa:!!e,wga:a.wW},f=vb+X("apps-actiondatawidget-override-tooltip-text")+ua;c.HBa?(c=c.wga?"Hojas de c\u00e1lculo ha anulado la combinaci\u00f3n de teclas "+(UJ(c,null,void 0)+(" del navegador "+W(c.sT))):"Esta combinaci\u00f3n de teclas ya se utiliza en el navegador "+(W(c.sT)+(" para\u00a0"+UJ(c,null,void 0))),f+=c):f+="No se pueden anular las combinaciones de teclas con el navegador actual.\nPara habilitar esta funci\u00f3n, usa Chrome, Firefox, Internet Explorer/Edge o Safari.";
f=DF(f+lb).Ti();pF(b,f,void 0);f=e?aK.faa:aK.gaa;hr(Hr(f))||b.setAttribute(Bg,f);b.setAttribute(Ag,"t,c");b.setAttribute(Dg,-6)},this))};var bK=function(a,b,c,e){sD.call(this,$p,gD.H(),b);this.va=a;this.os=e||null;this.jra=c||null;this.CU();this.yL=!0;this.ew=null;this.Tx=""};B(bK,sD);q=bK.prototype;q.g=function(){this.Na(this.j().g(d,"apps-actiondatawidget"));this.LU(!0);Ty(this.Ta(),!0);var a=new NJ(this);this.Y(a)};q.ec=function(){return!1};q.af=function(a){bK.c.af.call(this,a);jC(this.Ta(),Ne)};
q.CU=function(a){for(var b=0;b<this.va.length;b++){var c=this.va[b].title;c=this.os&&this.os[c]?new WJ(this.va[b],this.os[c],this.jra(),a):new WJ(this.va[b]);this.ca(c)}};q.B=function(){bK.c.B.call(this);this.A().listen(this.Ta(),jn,this.uua).listen(this.Ta(),Kj,this.jq)};q.jq=function(a){9==a.keyCode&&U(this.Ta(),Ne)};q.nya=function(a,b,c,e,f){this.va=a;this.Tx=c?c:"";this.Ke(!0);this.CU(e);this.LU(b);f||(this.Ta().scrollTop=0);ZB(this.Ta(),c?c:gc)};
q.LU=function(a){this.Ia(y(function(a){a.g();this.Ta().appendChild(a.Ta())},this));a&&0<this.Xa()&&(a=this.pa(this.Xa()-1),U(a.Ta(),this.os&&!at(this.os)?"apps-actiondatawidget-last-item-override-enabled":"apps-actiondatawidget-last-item"),a=a.Ta().insertRow(-1),U(a,"apps-actiondatawidget-last-row"))};
q.Lxa=function(a){for(var b=this.b(),c=0;c<this.Xa();c++){var e=cs(this.pa(c),WJ);if(e.tg()==a){var f=e;break}}a=.3*Math.abs(b.scrollTop-f.b().offsetTop);this.ew=new MA(b,[0,b.scrollTop],[0,f.b().offsetTop],Math.max(a,500),WA);this.Y(this.ew);this.A().listen(this.ew,"begin",function(){this.yL=!1});this.A().listen(this.ew,"finish",function(){this.yL=!0;this.dispatchEvent("shortcut-dialog-animation-scroll")});this.ew.play()};q.uua=function(){this.yL&&this.dispatchEvent(Gn)};
q.gla=function(){for(var a=this.b(),b=0;b<this.Xa();b++){var c=cs(this.pa(b),WJ),e=c.Ta();if(a.scrollTop>=e.offsetTop&&a.scrollTop<e.offsetTop+e.offsetHeight)return c.tg()}return cs(this.pa(0),WJ).tg()};var cK=function(a,b){wE.call(this,null,null,!1);this.xe=new J;this.Y(this.xe);a.listen(k,y(function(){var a=b.value;this.AI(a,a)},this));this.$S(b)};B(cK,wE);cK.prototype.bO=function(a,b){cK.c.bO.call(this,a,b);this.AI(a.toString(),this.getValue());return!1};cK.prototype.ec=function(a){return 13!=a.keyCode||this.Ib.Yoa()?cK.c.ec.call(this,a):(a=this.getValue(),this.AI(a,a),!0)};cK.prototype.AI=function(a,b){this.Ib.gi();this.xe.dispatchEvent(new dK(a,b))};
var dK=function(a,b){H.call(this,"a");this.Bra=a;this.VK=b};B(dK,H);var fK=function(a){mD.call(this,a,eK.H());this.BG=a;this.tb(8,!0)};B(fK,mD);fK.prototype.tg=function(){return this.BG};var eK=function(){};B(eK,iD);Rq(eK);eK.prototype.S=function(){return"apps-navigationwidget-item"};var gK=function(a,b){sD.call(this,$p,gD.H(),b);this.va=a;this.p5=0;this.Gea()};B(gK,sD);q=gK.prototype;q.g=function(){this.Na(this.j().g(d,"apps-navigationwidget"));this.Ia(y(function(a){a.g();this.Ta().appendChild(a.Ta())},this))};q.Gea=function(){for(var a=0;a<this.va.length;a++)for(var b=0;b<this.va[a].length;b++){var c=new fK(this.va[a][b].title);this.ca(c)}};
q.B=function(){gK.c.B.call(this);ZB(this.Ta(),"Men\u00fa de navegaci\u00f3n");var a=new NJ(this);this.Y(a);this.A().listen(this.Ta(),Kf,this.Jj)};q.ec=function(a){gK.c.ec.call(this,a);13==a.keyCode&&this.dispatchEvent(Fn);return!0};q.Be=function(){this.pa(this.p5).Jc(!0)};q.Jj=function(){this.dispatchEvent(Fn)};q.yka=function(){return cs(this.Ff(),fK).tg()};q.MAa=function(a){this.Ia(y(function(b){var c=b.tg()==a;b.setState(8,c);c&&(this.p5=this.De(b))},this))};var hK=function(){},iK=new hK,jK=[Kf,Ft?Jj:Ij,Kj];hK.prototype.listen=function(a,b,c,e,f){var g=function(a){var c=Wu(b),f=Ky(a.target)?a.target.getAttribute(Ym)||null:null;a.type==Kf&&a.Zu()?c.call(e,a):13!=a.keyCode&&3!=a.keyCode||a.type==Kj?32!=a.keyCode||a.type!=Kj||f!=vf&&"tab"!=f||(c.call(e,a),a.preventDefault()):(a.type=Jj,c.call(e,a))};g.Pf=b;g.Kxa=e;f?f.listen(a,jK,g,c):I(a,jK,g,c)};
hK.prototype.ta=function(a,b,c,e,f){for(var g,h=0;g=jK[h];h++)for(var l=ev(a,g,!!c),p,r=0;p=l[r];r++){var z=p.listener;if(z.Pf==b&&z.Kxa==e){f?f.ta(a,g,p.listener,c,e):bv(a,g,p.listener,c,e);break}}};var mK=function(a,b,c){b=c||b;return DF(yb+X(a.cea)+ma+X("CSS_SHORTCUTS_HELP_POPUP_PREF_CONTAINER")+" "+(a.enabled?X("CSS_SHORTCUTS_HELP_POPUP_PREF_ENABLED"):"")+Aa+X("CSS_SHORTCUTS_HELP_POPUP_PREF_CONTENT")+Ba+X(a.rDa)+ua+kK(a,null,b)+'</span> <span id="'+X(a.Ira)+'" role="link" class="'+X("CSS_SHORTCUTS_HELP_POPUP_PREF_LINK")+'" tabindex="0">'+lK(a,null,b)+"</span></div></div>")};mK.ra="apps.action.shortcut.soy.preferencecomponent.main";
var kK=function(a){var b="";b=a.enabled?b+"Las combinaciones de teclas est\u00e1n habilitadas.":b+"Las combinaciones de teclas est\u00e1n inhabilitadas.";return DF(b)};kK.ra="apps.action.shortcut.soy.preferencecomponent.text";var lK=function(a){var b="";b=a.enabled?b+"Inhabilitar":b+"Habilitar";return DF(b)};lK.ra="apps.action.shortcut.soy.preferencecomponent.link";var nK=function(a,b,c){V.call(this,c);this.vga=a;this.DDa=b;this.L=c};B(nK,V);nK.prototype.g=function(){this.Ka(this.Z.createElement(Og))};nK.prototype.Ka=function(a){this.Na(a);XE(a,mK,{enabled:this.vga(),cea:this.Ig("spc_cont"),rDa:this.Ig("spc_text"),Ira:this.Ig("spc_link")})};nK.prototype.B=function(){this.A().Iq(this.L.b(this.Ig("spc_link")),iK,this.DDa)};var oK=function(a){this.Ro=a};
oK.prototype.exa=function(a,b,c){return this.Ro.Lva(a).then(function(a){return gs(a,pK)}).then(function(c){var e=[];var g=(g="es".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].Rt(),l=qK(h.VI());l&&(e=e.concat(l));h=h.Oka();for(l=0;l<h.length;++l){var p=qK(h[l]);p&&(e=e.concat(p))}}Cs(e)}c=e;e=[];if(""!=a)for(g=Er(a),g=new RegExp("(^|\\W+)"+g,"i"),h=0;h<c.length&&e.length<b;h++)l=c[h],String(l).match(g)&&
e.push(l);0==e.length&&(e=uE(a,b,c));return e}).then(cr(c,a))};var pK=function(a){a=a.Rt();return!!(a&&a.VI()&&a.bb())},qK=function(a){return a.toLocaleLowerCase().replace(/([\^$.*+?=!:'",\-|\\/()[\]{}])/g," ").replace(/\d+/g," ").match(/\S+/g)};function rK(){}rK.prototype.jea=function(a,b){return new BJ(a,b)};var sK=null;var uK=function(a,b,c){this.yi=a||null;this.tG=!!b;this.HW=c;this.sb=new L;this.Jb=new tK("",void 0);this.Jb.next=this.Jb.Qg=this.Jb};q=uK.prototype;q.bX=function(a){(a=this.sb.get(a))&&this.tG&&(a.remove(),this.V_(a));return a};q.get=function(a,b){return(a=this.bX(a))?a.value:b};q.set=function(a,b){var c=this.bX(a);c?c.value=b:(c=new tK(a,b),this.sb.set(a,c),this.V_(c))};q.shift=function(){return this.n3(this.Jb.next)};q.pop=function(){return this.n3(this.Jb.Qg)};
q.remove=function(a){return(a=this.sb.get(a))?(this.removeNode(a),!0):!1};q.removeNode=function(a){a.remove();this.sb.remove(a.key)};q.sa=function(){return this.sb.sa()};q.Sb=function(){return this.sb.Sb()};q.bb=function(){return this.map(function(a,b){return b})};q.nb=function(){return this.map(function(a){return a})};q.contains=function(a){return this.some(function(b){return b==a})};q.Xb=function(a){return this.sb.Xb(a)};q.clear=function(){this.u9(0)};
q.forEach=function(a,b){for(var c=this.Jb.next;c!=this.Jb;c=c.next)a.call(b,c.value,c.key,this)};q.map=function(a,b){for(var c=[],e=this.Jb.next;e!=this.Jb;e=e.next)c.push(a.call(b,e.value,e.key,this));return c};q.some=function(a,b){for(var c=this.Jb.next;c!=this.Jb;c=c.next)if(a.call(b,c.value,c.key,this))return!0;return!1};q.every=function(a,b){for(var c=this.Jb.next;c!=this.Jb;c=c.next)if(!a.call(b,c.value,c.key,this))return!1;return!0};
q.V_=function(a){this.tG?(a.next=this.Jb.next,a.Qg=this.Jb,this.Jb.next=a,a.next.Qg=a):(a.Qg=this.Jb.Qg,a.next=this.Jb,this.Jb.Qg=a,a.Qg.next=a);null!=this.yi&&this.u9(this.yi)};q.u9=function(a){for(;this.sa()>a;){var b=this.tG?this.Jb.Qg:this.Jb.next;this.removeNode(b);this.HW&&this.HW(b.key,b.value)}};q.n3=function(a){this.Jb!=a&&this.removeNode(a);return a.value};var tK=function(a,b){this.key=a;this.value=b};
tK.prototype.remove=function(){this.Qg.next=this.next;this.next.Qg=this.Qg;delete this.Qg;delete this.next};var vK=function(a,b,c,e,f,g,h){V.call(this,c);this.va=IJ(a);this.f_=b;this.fd=null;this.EH=vC.H().Nd();this.IA=!(!e||!f);this.wH=null;this.Ro=g||null;this.Yi=null!=this.Ro;this.xv=null;this.DM=!0;this.fi=this.zm=null;this.XA=!0;(this.FC=this.IA?new nK(e,f,this.j()):null)&&this.Y(this.FC);this.Sj=null;this.Yi&&(this.Sj=qG(),this.ca(this.Sj),this.Sj.YD(0));this.oe=h?new bK(this.cJ(),this.j()):null;this.Uf=h?new gK(this.va,this.j()):null;h&&(this.ca(this.oe),this.ca(this.Uf))};B(vK,V);q=vK.prototype;
q.tc=function(){return!1};
q.g=function(){vK.c.g.call(this);var a=this.Ta();if(this.Yi){var b=this.EH,c=this.f_;if(null==sK){var e=N(),f=e.K(),g=e.createElement(Og);g.style.backgroundColor="rgb(1, 2, 3)";e.appendChild(f.body,g);f=Nz(g,mf);f=f.replace(/ /g,"");f="rgb(0,0,0)"===f?qf:"rgb(255,255,255)"===f?pq:Nk;e.removeNode(g);sK=f}this.fi=$E(PJ,{DH:b,MP:c,b_:sK});this.j().appendChild(a,this.fi);this.Uf&&this.oe?(this.Uf.g(),this.fi.appendChild(this.Uf.Ta()),this.oe.g(),this.fi.appendChild(this.oe.Ta())):this.FN();C(this.Sj);
this.Sj.R(this.ze(Ye))}else XE(a,RJ,this.vja())};q.vja=function(){var a=hs(this.va,function(a){return wK(a,!1)});return{DH:this.EH,MP:this.f_,Vda:a,HA:this.IA}};q.Iia=function(){if(!this.wH){var a=this.cJ();this.wH={bZ:wK(a,!0),HA:this.IA}}return C(this.wH)};q.cJ=function(){return is(this.va,function(a,b){return xs(a,b)},[])};
var xK=function(a){for(var b=new uK,c=[],e=0;e<a.length;++e){var f=a[e].Rt(),g=f.tg();""==g?c.push(f):(b.Xb(g)||b.set(g,[]),b.get(g).push(f))}a=b.map(function(a,b){return{title:b,ah:a}});c.length&&(a.length?a.push({title:"M\u00e1s combinaciones de teclas",ah:c}):a.push({title:"",ah:c}));return a};q=vK.prototype;q.B=function(){vK.c.B.call(this);this.Yi&&this.sBa();this.xv=this.ze(We);this.cP(this.DM);this.FC&&this.FC.render(this.ze(Ze));this.A().listen(this.xv,Kf,this.Sma);this.Uf&&this.oe&&this.bP(!0)};
q.sBa=function(){var a=this.ze($e);pF(a,"Borrar la b\u00fasqueda",void 0);this.A().Iq(a,iK,this.Ina);a=this.ze(Xe);ZB(a,Qb);C(this.Sj);this.Sj.U(!0);var b=this.Sj.Ta();pF(b,Qb,void 0);a=new cK(this.Sj,a);a.xe.listen("a",y(this.Vna,this));this.fd=a;b=new oK(C(this.Ro));var c=new yE;c.$za(!1);c.className="apps-shortcutshelppopup-ac-renderer";c.hD="apps-shortcutshelppopup-ac-row";b=new vE(b,c,a);b.zya(!1);a.Rca(b)};
q.reset=function(){this.hxa();this.U7(!1);this.FN();this.Uf&&this.oe&&this.bP(!0);this.ze(Ye).value=""};q.hxa=function(){var a=this.ze(af);Ny(a,gc)};q.Pa=function(){vK.c.Pa.call(this);this.xv=null};q.Sma=function(){this.dispatchEvent(Lf)};q.Vna=function(a){a.VK?this.psa(a.Bra):this.XA||this.reset()};q.psa=function(a){return this.Ro.Lva(a).then(y(this.Owa,this,a))};q.Ina=function(){this.reset();this.ze(Ye).focus()};q.U7=function(a){R(this.ze($e),a)};q.cP=function(a){this.DM=a;this.xv&&R(this.xv,this.DM)};
q.dia=function(){return this.fd?this.fd.Ib.M.b():null};q.Owa=function(a,b){var c='Resultados de b\u00fasqueda de "'+(a+'"');a='No hay resultados de b\u00fasqueda de "'+(a+'"');b=gs(b,pK);Fs(b,LJ);b=b.slice(0,30);var e=this.ze(af);c=0==b.length?a:c;Ny(e,c);this.U7(!0);this.FN(xK(b),c);this.Uf&&this.oe&&this.bP(!1);0==b.length?this.ze($e).focus():this.oe?this.oe.Ta().focus():this.j().Fc(Qe).focus()};
q.FN=function(a,b){if(a){var c={bZ:wK(a,!0),HA:this.IA};this.XA=!1}else c=this.Iia(),this.XA=!0;c.mDa=b?b:gc;this.oe?this.oe.nya(a||this.cJ(),this.XA):(this.zm&&this.fi.removeChild(this.zm),this.zm=$E(QJ,c),this.fi.appendChild(this.zm));(b=this.ze($e))&&(a&&0==a.length?U(b,Ue):jC(b,Ue))};var wK=function(a,b){return hs(a,function(a){return ZJ(a,b)})};vK.prototype.C9=function(){var a=this.Uf.yka();this.oe.Lxa(a)};vK.prototype.YQ=function(){var a=this.oe.gla();this.Uf.MAa(a)};
vK.prototype.bP=function(a){this.Uf.U(a);a?(this.A().listen(this.Uf,Fn,this.C9),this.A().listen(this.oe,Gn,this.YQ),this.YQ()):(this.A().ta(this.Uf,Fn,this.C9),this.A().ta(this.oe,Gn,this.YQ),this.Uf.Ia(function(a){a.setState(8,!1)}))};vK.prototype.hR=function(){return null!=this.Ro};var yK=function(){this.EG=[]};B(yK,vD);Rq(yK);q=yK.prototype;q.g=function(a){var b=yK.c.g.call(this,a);C(b);U(b,qi);this.lS(a,b);return b};q.R=function(a,b){b=yK.c.R.call(this,a,b);C(b);U(b,qi);this.lS(a,b);var c=iy(d,ii,b);if(c.length){var e=new BD(a.j());c=c[0];R(c,!1);a.j().K().body.appendChild(c);e.R(c);a.Zg(e,!0)}return b};q.eb=function(a,b){var c=this.J(a),e=c&&c.lastChild;yK.c.eb.call(this,a,b);e&&c.lastChild!=e&&hC(e,ri)&&c.appendChild(e)};
q.Bd=function(a){yK.c.Bd.call(this,a);var b=a.J(),c=a.j().ri(td,ri,b)[0];zK(a,c);c!=b.lastChild&&b.appendChild(c);a=a.b();C(a,"The sub menu DOM element cannot be null.");T(a,Fi,yp)};q.lS=function(a,b){var c=a.j().g(td);c.className=ri;zK(a,c);this.J(b).appendChild(c)};var zK=function(a,b){C(b);a.Eh()?(U(b,si),Ny(b,a.Nx?"\u25c4":"\u25ba")):(jC(b,si),Ny(b,a.Nx?"\u25ba":"\u25c4"))};var AK=function(a,b,c,e){wD.call(this,a,b,c,e||yK.H())};B(AK,wD);q=AK.prototype;q.vf=null;q.ZP=null;q.qM=!1;q.nd=null;q.gz=!1;q.Nx=!0;q.bra=!1;q.B=function(){AK.c.B.call(this);this.A().listen(this.getParent(),Ii,this.K2);this.nd&&this.MD(this.nd,!0)};q.Pa=function(){this.A().ta(this.getParent(),Ii,this.K2);this.nd&&(this.MD(this.nd,!1),this.gz||(this.nd.Pa(),Ey(this.nd.b())));AK.c.Pa.call(this)};q.o=function(){this.nd&&!this.gz&&this.nd.dispose();this.nd=null;AK.c.o.call(this)};
q.Jc=function(a,b){AK.c.Jc.call(this,a);b&&this.Qa().Rl(!0);a||(this.vf&&Yv(this.vf),this.vf=M(this.sj,218,this))};q.YP=function(){var a=this.getParent();a&&a.Ff()==this&&(this.c7(!0),this.TV())};q.sj=function(){var a=this.nd;a&&a.getParent()==this&&(this.c7(!1),a.Ia(function(a){typeof a.sj==Rh&&a.sj()}))};q.mp=function(){this.vf&&Yv(this.vf);this.ZP&&Yv(this.ZP)};q.C=function(a,b){(a=AK.c.C.call(this,a,b))&&!this.N()&&this.sj();return a};
q.TV=function(){this.getParent().Ia(function(a){a!=this&&typeof a.sj==Rh&&(a.sj(),a.mp())},this)};q.ec=function(a){var b=a.keyCode,c=this.Eh()?37:39,e=this.Eh()?39:37;if(!this.qM){if(!this.isEnabled()||b!=c&&b!=this.uM)return!1;this.YP();this.Qa().Iu();this.mp()}else if(!this.Qa().ec(a))if(b==e)this.sj();else return!1;a.preventDefault();return!0};q.wta=function(){this.nd.getParent()==this&&(this.mp(),this.$p().Jc(this),this.TV())};q.K2=function(a){a.target==this.$p()&&(this.sj(),this.mp())};
q.Bg=function(a){this.isEnabled()&&(this.mp(),this.ZP=M(this.YP,218,this));AK.c.Bg.call(this,a)};q.Tc=function(a){this.mp();if(this.pb(8)||this.pb(16))return AK.c.Tc.call(this,a);this.YP();return!0};q.c7=function(a){!a&&this.Qa()&&this.Qa().oc(-1);this.dispatchEvent(xC(64,a));var b=this.Qa();a!=this.qM&&lC(C(this.b()),"goog-submenu-open",a);a!=b.N()&&(a&&(b.V||b.render(),b.oc(-1)),b.C(a),a&&this.pva());this.qM=a};q.MD=function(a,b){var c=this.A();(b?c.listen:c.ta).call(c,a,oh,this.wta)};
q.pva=function(){var a=new $C(this.b(),this.Nx?12:8,this.bra),b=this.Qa(),c=b.b();b.N()||(c.style.visibility=Hi,R(c,!0));a.ha(c,this.Nx?8:12);b.N()||(R(c,!1),c.style.visibility=lq)};q.sc=function(a){this.Qa().ca(a,!0)};q.pm=function(a,b){this.Qa().pe(a,b,!0)};q.removeItem=function(a){(a=this.Qa().removeChild(a,!0))&&a.dispose()};q.cd=function(a){return this.Qa().pa(a)};q.Xk=function(){return this.Qa().Xa()};q.Gj=function(){return this.Qa().Gj()};
q.Qa=function(){this.nd?this.gz&&this.nd.getParent()!=this&&this.nd.Ea(this):this.Zg(new BD(this.j()),!0);this.nd.b()||this.nd.g();return this.nd};q.Zg=function(a,b){var c=this.nd;a!=c&&(c&&(this.sj(),this.V&&this.MD(c,!1)),this.nd=a,this.gz=!b,a&&(a.Ea(this),a.C(!1,!0),a.Pl(!1),a.Me(!1),this.V&&this.MD(a,!0)))};q.mg=function(a){return this.Qa().mg(a)};eD(qi,function(){return new AK(null)});var BK=function(a){var b=vb+X("apps-shortcutshelppopup-dialog")+Aa+X(Se)+wa;b=a.hR?b+(vb+X("apps-shortcutshelppopup-close")+Ba+X(a.hU)+ma+X("modal-dialog-title-close")+'" tabindex="0" role="button"></span></div>'):b+(vb+X("CSS_SHORTCUTS_HELP_POPUP_TEAROFF_LINK_WRAPPER")+Ba+X(a.hU)+ma+X(Yb)+'" tabindex="0" role="button">Cerrar</span></div>');return DF(b+lb)};BK.ra="apps.action.soy.shortcutshelp.dialog";var CK=function(a,b,c){AC.call(this,b,c);this.Vl=a;this.ca(this.Vl);this.iU=vC.H().Nd();this.Yi=a.hR()};B(CK,AC);q=CK.prototype;q.S=function(){return this.Yi?"apps-shortcutshelppopup":"shortcuts-modalpopup"};q.tc=function(){return!1};q.g=function(){CK.c.g.call(this);var a=this.j(),b=this.Ta();R(b,!1);XE(b,BK,{hU:this.iU,hR:this.Yi});var c=this.ze(Se);this.Vl.g();a.appendChild(c,this.Vl.Ta());SB(b,Kg);T(b,Mj,this.Vl.EH);this.Yi||U(b,"CSS_SHORTCUTS_HELP_POPUP")};
q.B=function(){CK.c.B.call(this);var a=this.j(),b=a.b(this.iU);this.Yi&&pF(b,fc,void 0);this.A().Iq(b,iK,this.hZ);a=a.uY(this.b());this.A().listen(a,wk,this.fC,!0);this.A().listen(this.b(),Ij,this.SM);this.A().listen(this.Vl,Lf,this.hZ)};q.C=function(a){this.Yi&&this.V&&!this.N()&&a&&this.Vl.reset();CK.c.C.call(this,a)};q.hZ=function(){this.C(!1)};q.cP=function(a){this.Vl.cP(a)};
q.ha=function(){CK.c.ha.call(this);var a=this.b();if(a&&!this.Yi){if(this.N()){var b=Tz(a);b=Xz(b);b=.9*(b.bottom-b.top)}else b=this.j().K(),b=.9*oy(ry(b)||window).height;Q(a,"maxHeight",b+n);Q(a,Rj,"10%");Q(a,up,"10%")}};q.fC=function(a){var b=this.Vl.dia();b&&Ly(b,a.target)||Ly(this.b(),a.target)||this.C(!1)};q.SM=function(a){27==a.keyCode?(this.C(!1),a.stopPropagation(),a.preventDefault()):9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.x7()};var DK=function(){F.call(this);this.qg={};this.lU={};this.cb=null;this.dB=!0};B(DK,F);var EK=new $y("https://support.google.com/sites/bin/answer.py?answer=189191");DK.prototype.gh=function(a){var b=a.ZV;b&&(this.qg[b]=this.qg[b]||[],this.qg[b].push(a),this.dB=!0)};DK.prototype.addAction=DK.prototype.gh;DK.prototype.addAction=DK.prototype.gh;DK.prototype.bo=function(a){for(var b in this.qg)ws(this.qg[b],function(b){return b.getId()==a.getId()}),0==this.qg[b].length&&delete this.qg[b];this.dB=!0};
DK.prototype.removeAction=DK.prototype.bo;q=DK.prototype;q.sO=function(a,b){this.lU[a]=b};q.wia=function(a){return this.lU[a]||0};q.getData=function(){var a=[],b;for(b in this.qg){for(var c=[],e=0;e<this.qg[b].length;++e){var f=this.qg[b][e];f.isEnabled()&&c.push([f.cY(),f.wg()])}e=this.wia(b);a[e]=a[e]||[];a[e].push({title:b,ah:c})}return a};q.epa=function(){for(var a in this.qg)for(var b=this.qg[a],c=0;c<b.length;c++)if("showHelpPopup"!=b[c].getId())return!0;return!1};
q.jsa=function(){var a=this.cb;G(a);a=EK.T("hl",webspace.page.locale);a=new vK(this.getData(),a.toString());a=new CK(a);a.render();this.cb=a;this.dB=!1;a=jy(Vb,this.cb.b());for(var b=0;b<a.length;b++)Ty(a[b],!0)};q.N=function(){return!!this.cb&&this.cb.N()};DK.prototype.isVisible=DK.prototype.N;DK.prototype.C=function(a,b){a&&this.dB&&this.jsa();this.epa()&&(this.cb.C(a),this.cb.b().focus(),b&&Vu(this.cb,Ii,b))};DK.prototype.setVisible=DK.prototype.C;DK.prototype.o=function(){G(this.cb);this.cb=null};var GK=function(a,b,c,e,f,g,h,l){h={};h.label=b;h.hint=b;It&&e&&0<=e.search(/Ctrl/i)&&!l?h.keys=[e.replace(/Ctrl/ig,"Meta")]:h.keys=null==e?e:[e];h[Ph]=l||!1;BJ.call(this,a,h);this.U(!!c);g&&this.hDa(vJ,FK(g));this.ZV=f||null};B(GK,BJ);
var HK=function(a,b,c){var e=c||0;return function(c){oJ==e&&a.call(b,c)}},FK=function(a){return function(b){(b=b.data)&&b.preventDefault();a(b)}},IK={"close-square-bracket":"]",dash:"-",down:"\u2193",equals:"=",left:"\u2190","num-minus":"-","num-plus":"+","open-square-bracket":"[",right:"\u2192",semicolon:";","single-quote":"'",up:"\u2191"};
GK.prototype.cY=function(){var a=this.getProperty("helpKeys");a=a||this.bb();x(a)&&(a=a.join(" "));if(v(a))for(var b in IK)a=a.replace(new RegExp(b,"gi"),IK[b]);return a};GK.prototype.Uo=function(a){if(this.kb)this.kb.pd(a);else{var b=this.getProperty("hint"),c;webspace.user.keyboardShortcuts&&!webspace.user.renderMobile&&(c=this.bb());x(c)&&(c=c[0]);this.kb=new YG(a,c?b+" ("+c+")":b)}};GK.prototype.o=function(){G(this.kb);GK.c.o.call(this)};var JK=function(a,b,c,e){GK.call(this,"showHelpPopup","Abrir la ayuda de accesos directos",a,c,e,y(this.BAa,this,!0));this.cb=b};B(JK,GK);JK.prototype.BAa=function(a,b){this.cb.C(a);b&&b.preventDefault()};var KK=function(a){eJ.call(this,a||document);this.Yh={};this.cc=!0;this.on=new DK;this.D7={};this.xya(!1)};B(KK,eJ);q=KK.prototype;q.Pba=function(a){a=new JK(!0,this.on,"Ctrl + /",a);this.gh(a,a.Np)};q.gh=function(a,b,c){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){this.Yh[a.getId()]=a;var e=a.bb()||[];x(e)||(e=[e]);if(!c)for(c=0;c<e.length;c++)this.S3(a.getId(),e[c]);a.ZV&&this.on.gh(a);this.Tba(a,b)}};q.Tba=function(a,b){this.D7[a.getId()]=I(this,"shortcut_"+a.getId(),y(b,a))};
q.bo=function(a){if(!webspace.user.renderMobile&&webspace.user.keyboardShortcuts){var b=a.bb();if(x(b))for(var c=b.length,e=0;e<c;++e)this.z9(b[e]);else this.z9(b);this.on.bo(a);this.uwa(a);delete this.Yh[a.getId()]}};q.uwa=function(a){var b=this.D7;cv(b[a.getId()]);b[a.getId()]=null};q.isEnabled=function(){return this.cc};q.U=function(a){this.cc=a};q.AL=function(a){return this.cc?KK.c.AL.call(this,a):!1};q.o=function(){var a=this.Yh,b;for(b in a)this.bo(a[b]);G(this.on);this.on=null;KK.c.o.call(this)};var LK=function(){KK.call(this);this.Pba(Lb);this.$ba(Lb);var a=this.on;a.sO(Lb,0);a.sO(zd,1);a.sO(pd,2)};B(LK,KK);Rq(LK);LK.prototype.$ba=function(a){a=new JK(!0,this.on,"Shift + /",a);a.setProperty("helpKeys","?");this.gh(a,a.Np)};var MK=function(a){GK.call(this,"focusSearchBox","Busca",a,"/",Lb,y(this.iha,this))};B(MK,GK);MK.prototype.iha=function(a){var b=P(Dj);b&&(b.focus(),a&&a.preventDefault())};var NK=function(a,b){GK.call(this,$k,Zb,b,"Shift + t",pd,y(this.wua,this));this.Yz=a};B(NK,GK);NK.prototype.wua=function(){window.location.href=this.Yz()};var OK=function(a,b){GK.call(this,"closeSiteLayoutEditor",fc,b,"Esc","Acciones",HK(a,this))};B(OK,GK);var PK=function(a,b){b?GK.call(this,Ln,"Eliminar p\u00e1gina",!0,"Shift + 3",pd,HK(a,this)):GK.call(this,Ln,'No puedes eliminar la p\u00e1gina principal. Haz clic en "Administrar sitio" para cambiar la p\u00e1gina principal o eliminar tu sitio.',!1,null,null,HK(a,this))};B(PK,GK);var QK=function(a){GK.call(this,"editPage",0==webspace.page.path.indexOf(Wa)?fd:"Editar p\u00e1gina",a,"e",pd,HK(this.fga,this))};B(QK,GK);QK.prototype.fga=function(){window.jstiming.load.t={};window.jstiming.load.tick("_start_edit");vH(Rd,"Edit page");JOT_postEvent(vl)};var RK=function(a){GK.call(this,gh,gd,a,"Shift + L",pd,HK(this.gga,this))};B(RK,GK);RK.prototype.gga=function(){JOT_postEvent(dl)};var SK=function(a){GK.call(this,bl,"Administrar sitio",a,"g m",zd,y(this.Aua,this))};B(SK,GK);SK.prototype.Aua=function(){webspace.manageUrl&&(window.location.href=webspace.manageUrl)};var TK=function(a,b){GK.call(this,"showMoreActionsMenu","M\u00e1s acciones",b,"m",Lb,HK(a,this))};B(TK,GK);var UK=function(a,b){GK.call(this,Mn,"Mover p\u00e1gina",b,"Shift + m",pd,HK(cr(this.Usa,a)))};B(UK,GK);UK.prototype.Usa=function(a,b){b&&b.preventDefault&&b.preventDefault();a()};var VK=function(a){GK.call(this,"openCopyPage","Copiar p\u00e1gina",a,"Shift + c",pd,y(this.xua,this))};B(VK,GK);VK.prototype.xua=function(){var a=0==webspace.page.path.indexOf(Wa);webspace.baseUri&&webspace.page&&webspace.page.path&&xH(Rd,"Copy page",webspace.baseUri+"/system/app/pages/createPage?isCopy=true&"+(a?"pt=":"source=")+webspace.page.path)};var WK=function(a){GK.call(this,al,0==webspace.page.path.indexOf(Wa)?nc:"Crear p\u00e1gina",a,"c",zd,y(this.yua,this))};B(WK,GK);WK.prototype.yua=function(){var a=0==webspace.page.path.indexOf(Wa);webspace.baseUri&&webspace.page&&webspace.page.path&&xH(Rd,pc,webspace.baseUri+"/system/app/pages/createPage?"+(a?"pt=":"source=")+webspace.page.path)};var XK=function(a){GK.call(this,cl,"Historial de revisiones",a,"g r",pd,y(this.Cua,this))};B(XK,GK);XK.prototype.Cua=function(){webspace.baseUri&&webspace.page&&webspace.page.wuid&&Zx(window.location,webspace.baseUri+"/system/app/pages/admin/revisions?wuid="+webspace.page.wuid)};var YK=function(a){GK.call(this,Em,"Permite obtener una vista previa de la p\u00e1gina como lector",a,"g p",pd,y(this.Bva,this))};B(YK,GK);YK.prototype.Bva=function(){window.open(window.location+"?previewAsViewer=1")};var ZK=function(a){GK.call(this,"printPage","Imprimir p\u00e1gina",a,"Ctrl + p",pd,y(this.Dva,this))};B(ZK,GK);ZK.prototype.Dva=function(a){a&&a.preventDefault();webspace.printUrl&&window.open(webspace.printUrl)};var $K=function(a,b){GK.call(this,bn,"Guarda como plantilla de p\u00e1gina.",b,"Shift + g",pd,HK(a,this))};B($K,GK);var aL=function(a,b){GK.call(this,Nn,kc,b,"u",pd,HK(this.kCa,this));this.dE=a};B(aL,GK);aL.prototype.kCa=function(a){a||(a=new H(""));a.payload||(a.payload={});this.dE(a)};var bL=function(a){GK.call(this,On,"Compartir sitio",a,"Shift + s",zd,HK(this.qCa,this))};B(bL,GK);bL.prototype.qCa=function(){xH(Rd,"Share",webspace.commonSharingUrl+"#"+webspace.page.path)};var cL=function(a){GK.call(this,"smartPreview",Zd,a,"s p",pd,y(this.BCa,this))};B(cL,GK);cL.prototype.BCa=function(){xH(Rd,"Smart preview",webspace.getPath(webspace.baseUri,webspace.page.path,Gb))};var dL=function(a,b){GK.call(this,rp,"Cambia la suscripci\u00f3n de la p\u00e1gina",b,"f",pd,HK(this.EDa,this));this.yE=a};B(dL,GK);dL.prototype.EDa=function(a){a||(a=new H(""));a.payload||(a.payload={});this.yE(a)};var eL=function(a,b){GK.call(this,sp,"Cambia la opci\u00f3n de suscripci\u00f3n al sitio",b,"Shift + f",zd,HK(a))};B(eL,GK);var fL=function(a){this.hda=a||"sites-searchbox-search-button";this.C7=LK.H()};B(fL,F);w("sites.Searchbox",fL,void 0);var gL=null,hL=function(a,b,c,e){G(gL);gL=new fL(a);gL.Ee(b,!0,c,e)};w("sites.Searchbox.initialize",hL,void 0);fL.prototype.Ml=null;fL.prototype.jo=null;fL.prototype.Mf=null;
fL.prototype.Ee=function(a,b,c,e){this.Ml=P(Dj);var f=P(yo),g=P(this.hda),h=P("sites-searchbox-scope");f&&I(f,$o,this.UT,!1,this);if(g){var l=P("sites-searchbox-select-dropdown");this.jo=new mG(null);this.jo.R(g);I(this.jo,k,this.v8,!1,this);if(l&&a){var p=new bE(null,null,new iL);p.C5(!1);p.R(l);var r;for(l=0;l<a.length;l++){var z=a[l],O=new wD(z.label,z);p.sc(O);z.id==c&&(r=O)}r&&p.Bb(r);e&&(p.sc(new AD),c=new wD(e.label,e),p.sc(c));I(p,Cf,y(function(a){a=a.target.xa().$;a.id?(h.value=a.id,f.action=
a.action,b?Ny(g,a.label):(this.jo.Wc(a.label),this.Mf.Ra(a.label),this.Ml.setAttribute(bf,a.label)),this.v8()):a.url&&(window.location.href=a.url)},this))}b||(a=p?p.xa().$:a[0],this.jo.Wc(a.label),this.Mf=new PD(a.label),this.Mf.R(this.Ml))}a=new MK(!0);this.C7.gh(a,a.Np);this.FI=a};fL.prototype.initListeners=fL.prototype.Ee;fL.prototype.UT=function(a){var b=this.Mf?this.Mf.getValue():this.Ml.value;if(jr(b))return!0;a&&a.preventDefault();return!1};fL.prototype.v8=function(){this.UT()&&P(yo).submit()};
fL.prototype.o=function(){this.FI&&(this.C7.bo(this.FI),G(this.FI));G(this.jo);this.jo=null;G(this.Mf);this.Mf=null;fL.c.o.call(this)};var iL=function(){};B(iL,FG);iL.prototype.Xm=function(a){return 2==a?"jfk-button-hover":iL.c.Xm.call(this,a)};function _START_TEMPLATE_SECTION(){}function _END_TEMPLATE_SECTION(){}function _TEMPLATE_VARIABLE(){}function _INLINE_TEMPLATE_SECTION(){}function _PARENS(){}function _TEMPLATE_INCLUDE(){};function jL(a){var b=document.createElement(d);b.innerHTML="<iframe onload='this.pool_locked=false'></iframe>";var c=b.getElementsByTagName(Uc)[0];c.style.visibility=Hi;c.style.width=c.style.height="0px";c.style.border="0px";c.style.position=ke;c.l3=a;this.$b[this.$b.length]=c;b.removeChild(c);return c}
function kL(a){if(a.match(/^http[s]?:\/\//)){var b=this;window.setTimeout(function(){for(var c=null,e=b.$b.length-1;0<=e;e--){var f=b.$b[e];if(f&&!f.l3)if(f.parentNode.removeChild(f),window.ActiveXObject)b.$b[e]=null,b.$b.splice(e,1);else{f.l3=!0;c=f;break}}c=c?c:b.xea(!0);c.src=a;document.body.appendChild(c)},0)}}function lL(){for(var a=0;a<this.$b.length;a++)this.$b[a].onload=null,this.$b[a]=null;this.$b.length=0;this.$b=[]}
function mL(){for(var a=0;a<this.$b.length;a++){var b=this.$b[a];b&&b.parentNode.removeChild(b)}}function nL(){this.$b=[];this.xea=jL;this.iframe=kL;this.clear=lL;this.dispose=mL}function oL(a,b){_IFPC.je[a]=b}function pL(a){delete _IFPC.je[a]}
function qL(a,b,c,e,f,g,h,l){if(!_IFPC.ii){var p=4095-e.length;p=parseInt(p/3,10);"undefined"==typeof h&&(h=!0);if(l)a=[a,"..",_IFPC.hp,1,1,encodeURIComponent(JSON.stringify({hOa:b,jNa:c,ANa:"..",t:window.iNa[a.split("_")[2]]}))].join("&"),_IFPC.DA.iframe(e+"#"+a);else for(c=c.slice(0),c.unshift(_IFPC.fr(f)),c.unshift(g),c.unshift(b),c.unshift(a),b=_IFPC.yt(c),c=parseInt(b.length/p,10),0<b.length%p&&(c+=1),f=0;f<c;f++)_IFPC.DA.iframe(e+"#"+_IFPC.yt([a,_IFPC.hp,c,f,b.substr(f*p,p),h]));_IFPC.hp++}}
function rL(){_IFPC.je={};_IFPC.yb={};_IFPC.DA.clear()}function sL(){_IFPC.ii||(_IFPC.ii=!0,_IFPC.DA.dispose(),_IFPC.clear())}function tL(a){var b=_IFPC.rH(a)[0],c=null;try{c=window.parent.frames[b]}catch(e){}try{c||window.parent.parent.frames[b]==window.parent||(window.parent.parent.frames[b].setTimeout(function(){},0),c=window.parent.parent.frames[b])}catch(e){}c||(c=window.parent.parent);c&&void 0!=c._IFPC?c._IFPC.rA(a):c=null}
function uL(a){a=_IFPC.rH(a);var b=a.shift(),c=a.shift(),e=a.shift(),f=a.shift(),g=a.shift();a=a.shift();b=b+"_"+c;_IFPC.Rn[b]||(_IFPC.Rn[b]=[]);_IFPC.Rn[b].push([f,g]);if(_IFPC.Rn[b].length==e){_IFPC.Rn[b].sort(function(a,b){return parseInt(a[0],10)-parseInt(b[0],10)});g="";for(f=0;f<e;f++)g+=_IFPC.Rn[b][f][1];_IFPC.Rn[b]=null;f=_IFPC.rH(g);b=f.shift();c=f.shift();e=f.shift();g=f.shift();var h=_IFPC.Bka(c);if(h)a=h.apply(null,f),_IFPC.qqa(g)&&(a.unshift(g),_IFPC.call(b,_IFPC.wR,a,e,null,""));else if(a)throw Error("Service "+
c+" not registered.");}}function vL(a){return _IFPC.je.hasOwnProperty(a)?_IFPC.je[a]:null}function wL(a){var b="";a&&typeof a==Rh&&(b=_IFPC.Qja(),_IFPC.yb[b]=a);return b}function xL(a){_IFPC.yb.hasOwnProperty(a)&&(_IFPC.yb[a]=null)}function yL(a){return a&&_IFPC.yb.hasOwnProperty(a)?_IFPC.yb[a]:null}function zL(){return _IFPC.vR+_IFPC.oda++}function AL(a){return 0==(a+"").indexOf(_IFPC.vR)}
function BL(a){a=a.split("&");for(var b=0;b<a.length;b++){var c=decodeURIComponent(a[b]);try{c=JSON.parse(c)}catch(e){}a[b]=c}return a}function CL(a){for(var b=[],c=0;c<a.length;c++){var e=JSON.stringify(a[c]);b.push(encodeURIComponent(e))}return b.join("&")}function DL(a){var b=_IFPC.lia(a);if(b){for(var c=[],e=1;e<arguments.length;e++)c[c.length]=arguments[e];b.apply(null,c);_IFPC.WDa(a)}else throw Error("Invalid callbackId");}var _IFPC={};
(function(a){var b;typeof window.mba==Rh&&(b=window.mba(a));b&&1==b.exp_rpc_js&&(window.U$=!0);window.U$?_IFPC={Hi:function(a,b){window.gadgets.rpc.register(a,function(){var a=this.a.slice(0);a.unshift(this.f);b.apply(null,a)})},KE:function(a){window.gadgets.rpc.unregister(a)},rA:function(a){window.gadgets.rpc.receive(a)},call:function(a,b,f,g,h,l,p,r){l=window.gadgets.rpc;g==l.getRelayUrl("..")&&(a="..");f||(f=[]);r||(f=f.slice(1));f.unshift(h);f.unshift(b);f.unshift(a);l.call.apply(l,f)}}:(_IFPC=
{Hi:oL,KE:pL,call:qL,clear:rL,dispose:sL,cOa:tL,bOa:tL,rA:uL,vR:"cbid",wR:"ifpc_callback",DA:new nL,Rn:{},je:{},yb:{},oda:0,hp:0,ii:!1,Bka:vL,fr:wL,WDa:xL,lia:yL,Qja:zL,qqa:AL,rH:BL,yt:CL,pda:DL},_IFPC.Hi(_IFPC.wR,_IFPC.pda));_IFPC.registerService=_IFPC.Hi;_IFPC.unregisterService=_IFPC.KE;_IFPC.call=_IFPC.call;_IFPC.handleRequest=_IFPC.rA})(document.location.href);var EL=function(a){this.Oq=0;this.mM=a||100;this.gj=[]};q=EL.prototype;q.add=function(a){var b=this.gj[this.Oq];this.gj[this.Oq]=a;this.Oq=(this.Oq+1)%this.mM;return b};q.get=function(a){a=this.m2(a);return this.gj[a]};q.set=function(a,b){a=this.m2(a);this.gj[a]=b};q.sa=function(){return this.gj.length};q.Sb=function(){return 0==this.gj.length};q.clear=function(){this.Oq=this.gj.length=0};q.nb=function(){return this.Sja(this.sa())};
q.Sja=function(a){var b=this.sa(),c=[];for(a=this.sa()-a;a<b;a++)c.push(this.get(a));return c};q.bb=function(){for(var a=[],b=this.sa(),c=0;c<b;c++)a[c]=c;return a};q.Xb=function(a){return a<this.sa()};q.nj=function(a){for(var b=this.sa(),c=0;c<b;c++)if(this.get(c)==a)return!0;return!1};q.m2=function(a){if(a>=this.gj.length)throw Error("Out of bounds exception");return this.gj.length<this.mM?a:(this.Oq+Number(a))%this.mM};var GL=function(a,b){this.identifier=a||"";this.outputBuffer=[];this.Di=b||"";this.kD=new EL(500);this.G3=y(this.Wba,this);this.Rha=new Nx(this.Di);this.Zga={};this.J5(!0);this.cc="1"==FL(this.identifier,mh);t.setInterval(y(this.Gxa,this),7500)};q=GL.prototype;q.y$="LOGGING";q.sga=!1;q.od=null;q.pR=!1;var HL=q.h0=!1;q=GL.prototype;q.tT=null;q.GL=A();q.init=function(){this.cc&&this.ZM()};q.isEnabled=function(){return this.cc};q.U=function(a){(this.cc=a)&&this.ZM();this.BD(mh,a?"1":"0")};
q.J5=function(a){if(a!=this.h0){this.h0=a;var b=zu();a?b.sS(this.G3):b.rwa(this.G3)}};q.bca=function(){this.B$(zx("hr"))};q.mn=function(){return!!this.od&&!this.od.closed};q.clear=function(){this.kD.clear();this.mn()&&this.rR()};q.Wba=function(a){if(!this.Zga[a.B1]){var b=this.Rha.rX(a);this.B$(b);this.sga&&a.Nf.value>=mu.value&&this.U(!0)}};q.B$=function(a){this.cc?(this.ZM(),this.kD.add(a),this.sR(a)):this.kD.add(a)};
q.sR=function(a){this.outputBuffer.push(a);t.clearTimeout(this.tT);750<A()-this.GL?this.qR():this.tT=t.setTimeout(y(this.qR,this),250)};q.qR=function(){this.GL=A();if(this.mn()){var a=this.od.document.body;a=a&&100>=a.scrollHeight-(a.scrollTop+a.clientHeight);var b=Cx(this.outputBuffer);this.od.document.write(px(b));this.outputBuffer.length=0;a&&this.od.scrollTo(0,1E6)}};q.A$=function(){for(var a=this.kD.nb(),b=0;b<a.length;b++)this.sR(a[b])};
q.ZM=function(){if(!this.mn()&&!this.pR){var a=this.Wt("dbg","0,0,800,500").split(","),b=Number(a[0]),c=Number(a[1]),e=Number(a[2]);a=Number(a[3]);this.pR=!0;this.od=window.open("",this.jla(),"width="+e+",height="+a+",toolbar=no,resizable=yes,scrollbars=yes,left="+b+",top="+c+",status=no,screenx="+b+",screeny="+c);this.od||HL||(alert("Logger popup was blocked"),HL=!0);this.pR=!1;this.od&&this.rR()}};q.jla=function(){return E?this.identifier.replace(/[\s\-\.\,]/g,"_"):this.identifier};q.gA=function(){return mx(vw("*{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}"))};
q.rR=function(){if(this.mn()){this.od.document.open();var a=zx(Og,{"class":"dbg-ev",style:vw("text-align:center;")},Cx(this.y$,Gx,zx("small",{},"Logger: "+this.identifier)));a=Cx(Bx(this.gA()),zx("hr"),a,zx("hr"));this.sR(a);this.A$()}};q.BD=function(a,b){a=(a+this.identifier).replace(/[;=\s]/g,"_");document.cookie=a+"="+encodeURIComponent(b)+";path=/;expires="+(new Date(A()+2592E6)).toUTCString()};q.Wt=function(a,b){return FL(this.identifier,a,b)};
var FL=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||""};GL.prototype.Gxa=function(){this.mn()&&this.BD("dbg",(this.od.screenX||this.od.screenLeft||0)+","+(this.od.screenY||this.od.screenTop||0)+","+(this.od.outerWidth||800)+","+(this.od.outerHeight||500))};var IL=function(a,b){this.Qva();GL.call(this,a,b);this.Ve=null};B(IL,GL);var JL;a:{try{JL=!!window.localStorage.getItem;break a}catch(a){}JL=!1}var KL=JL;q=IL.prototype;q.qR=function(){this.GL=A();if(this.mn()){for(var a=this.Ve.b("log"),b=100>=a.scrollHeight-(a.scrollTop+a.offsetHeight),c=0;c<this.outputBuffer.length;c++){var e=this.Ve.g(d,"logmsg");Vx(e,this.outputBuffer[c]);a.appendChild(e)}this.outputBuffer.length=0;this.C4();b&&(a.scrollTop=a.scrollHeight)}};
q.rR=function(){if(this.mn()){var a=this.od.document;a.open();var b=this.eja();a.write(px(b));a.close();(E?a.body:this.od).onresize=y(this.C4,this);this.Ve=new ey(a);this.Ve.b("openbutton").onclick=y(this.Bua,this);this.Ve.b("closebutton").onclick=y(this.Qda,this);this.Ve.b("clearbutton").onclick=y(this.clear,this);this.Ve.b("exitbutton").onclick=y(this.Lga,this);this.A$()}};
q.Bua=function(){var a=C(this.Ve.b("optionsarea"));Vx(a,Fx);for(var b=LL(),c=this.Ve,e=0;e<b.length;e++){var f=b[e],g=f.Nf?f.Nf.name:Wc;f=c.g(d,{},this.Qia("sel"+f.getName(),g),c.g(td,{},f.getName()||"(root)"));a.appendChild(f)}this.Ve.b(kl).style.display="block";return!1};q.Qia=function(a,b){var c=this.Ve;a=c.g(sd,{id:a});for(var e=0;e<su.length;e++){var f=su[e],g=c.g(nd,{},f.name);b==f.name&&(g.selected=!0);a.appendChild(g)}a.appendChild(c.g(nd,{selected:b==Wc},Wc));return a};
q.Qda=function(){this.Ve.b(kl).style.display=Nk;for(var a=LL(),b=this.Ve,c=0;c<a.length;c++){var e=a[c],f=b.b("sel"+e.getName());f=f.options[f.selectedIndex].text;f==Wc?e.oo(null):e.oo(uu(f))}this.kFa();return!1};q.C4=function(){var a=this.Ve,b=a.b("log"),c=a.b("head");b.style.top=c.offsetHeight+n;b.style.height=a.K().body.offsetHeight-c.offsetHeight-(E?4:0)+n};q.Lga=function(){this.U(!1);this.od&&this.od.close()};
q.gA=function(){var a=IL.c.gA.call(this),b=mx(vw("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 kx(a,
b)};q.eja=function(){var a=zx("head",{},Cx(zx(op,{},"Logging: "+this.identifier),Bx(this.gA()))),b=zx("body",{},Cx(zx(Og,{id:"log",style:vw("overflow:auto")}),zx(Og,{id:"head"},Cx(zx("p",{},zx("b",{},"Logging: "+this.identifier)),zx("p",{},this.y$),zx(Po,{id:"clearbutton"},"clear"),zx(Po,{id:"exitbutton"},"exit"),zx(Po,{id:"openbutton"},kl))),zx(Og,{id:kl},Cx(zx("big",{},zx("b",{},"Options:")),zx(Og,{id:"optionsarea"}),zx(Po,{id:"closebutton"},"save and close")))));return zx("html",{},Cx(a,b))};
q.kFa=function(){if(KL)for(var a=LL(),b=ML(),c=0;c<a.length;c++){var e=yh+a[c].getName(),f=a[c].Nf;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)}};q.Qva=function(){if(KL){var a=ML(),b;for(b in a){a=b.replace(yh,"");a=Au(a);var c=a.Nf,e=window.localStorage.getItem(b).toString();c&&c.toString()==e||a.oo(uu(e))}}};
var ML=function(){for(var a={},b=0,c=window.localStorage.length;b<c;b++){var e=window.localStorage.key(b);null!=e&&er(e,yh)&&(a[e]=!0)}return a},LL=function(){var a=Ws(wu);Es(a,function(a,c){return Ds(a.getName(),c.getName())});return a};var NL=!1,OL="",PL=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&&(NL=!0,a.description)){OL=PL(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){NL=!0;OL="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes[Me],NL=!(!a||!a.enabledPlugin))){OL=PL(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");NL=!0;OL=PL(b.GetVariable("$version"));return}catch(c){}try{b=
new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");NL=!0;OL="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),NL=!0,OL=PL(b.GetVariable("$version"))}catch(c){}})();var QL=NL,RL=OL;var SL=function(a,b,c){H.call(this,a,c);this.files=b};B(SL,H);var TL=function(a,b,c){H.call(this,a,c);this.file=b};B(TL,H);var UL=function(a,b,c){TL.call(this,"uploadmessagechanged",a,c);this.message=b};B(UL,TL);var VL=function(a,b,c,e){TL.call(this,"filepreviewready",a,e)};B(VL,TL);var WL=function(a,b,c){H.call(this,a,c);this.V9=b};B(WL,H);var XL=function(a){switch(a){case 6:case 9:case 8:case 1:return Mk;case 2:return"ioerror";case 7:return ge;case 5:return sh;case 0:return"noerror";default:return"unknownerror"}},YL=function(a){switch(a){case ge:return"Cancelada";case Mk:return"Se ha perdido la conexi\u00f3n con el servidor.";case "ioerror":return"No se puede leer el archivo.";case "securityerror":return"Error de seguridad";case sn:return"Operaci\u00f3n rechazada por el servidor";case rn:return"La respuesta que ha devuelto el servidor no es v\u00e1lida.";
default:return"Error inesperado"}};var ZL=function(a){J.call(this);this.Ye=a;this.cD=this.df="";this.G=new pC(this)};B(ZL,J);q=ZL.prototype;q.Da=vv("apps.uploader.net.FileIo");q.dispatchEvent=function(a){try{return ZL.c.dispatchEvent.call(this,a)}catch(b){wv(this.Da,Kc,b)}};q.getFile=function(){return this.Ye};q.Sz=function(){return this.df};q.ae=function(){return this.cD};q.EAa=function(a){this.cD=a};q.send=function(a){this.df=a;this.pr(a)};
q.nq=function(a){yv(this.Da,"Got upload response:\n"+a);this.cD=a||"";try{var b=JSON.parse(this.cD)}catch(c){this.handleError(rn,$c);return}void 0!=b.sessionStatus?(null!=this.Ye.bc&&this.Pn(this.Ye.bc),this.dispatchEvent(ap)):void 0!=b.errorMessage?this.handleError(sn,"Server rejected upload."):this.handleError(rn,$c)};q.handleError=function(a,b){this.Ye.GO(a,v(b)?b:b.message);this.dispatchEvent(ph)};q.Pn=function(a){this.Ye.I5(a);this.dispatchEvent(Hm)};
q.rU=function(){throw Error("computeMd5() not implemented");};q.A=function(){return this.G};q.o=function(){ZL.c.o.call(this);G(this.G)};var $L=function(a,b,c){ZL.call(this,a);this.hX=b;this.EI=c;this.S9=!1};B($L,ZL);$L.prototype.Da=vv("apps.uploader.net.FlashFileIo");$L.prototype.abort=function(){this.S9&&Uq(this.EI.cancelUpload)&&this.EI.cancelUpload(this.hX.id)};$L.prototype.pr=function(a){this.EI.startUpload(this.hX.id,a);this.S9=!0};
$L.prototype.sma=function(a){switch(a.type){case "onOpen":yv(this.Da,"Flash:onOpen "+this.getFile());break;case "onProgress":this.Pn(a.bytesLoaded);break;case Vk:this.nq(a.data);break;case "onHttpError":this.handleError(Mk,"HTTP Error "+a.code);break;case Xk:this.handleError("securityerror",a.error);break;case "onIoError":this.handleError("ioerror","An error occured while reading the file.")}};var aM=["classid","data","movie",zp,"typemustmatch"],bM=function(a,b){var c={},e;for(e in a)C(e.toLowerCase()==e,id),c[e]=a[e];for(e in b){var f=e.toLowerCase();f in a&&delete c[f];c[e]=b[e]}a=[];for(e in c)a.push(yx("param",{name:e,value:c[e]}));return a},cM=function(a,b,c){var e=function(a,b,c){for(var e in b)for(var f=e.toLowerCase(),g=0;g<a.length;g++){var h=a[g];C(h.toLowerCase()==h);if(f==h)throw Error(cc+h+'" '+c+', got "'+e+ra+b[e]+'"');}};e(a,b,"attribute");e(a,c,"param")};var dM=function(){};var eM=function(){};B(eM,dM);eM.prototype.sa=function(){var a=0;mv(this.ig(!0),function(b){Xr(b);a++});return a};eM.prototype.clear=function(){var a=nv(this.ig(!0)),b=this;D(a,function(a){b.remove(a)})};var fM=function(a){this.dh=a};B(fM,eM);q=fM.prototype;q.aL=function(){if(!this.dh)return!1;try{return this.dh.setItem("__sak","1"),this.dh.removeItem("__sak"),!0}catch(a){return!1}};q.set=function(a,b){try{this.dh.setItem(a,b)}catch(c){if(0==this.dh.length)throw"Storage mechanism: Storage disabled";throw Dd;}};q.get=function(a){a=this.dh.getItem(a);if(!v(a)&&null!==a)throw Cd;return a};q.remove=function(a){this.dh.removeItem(a)};q.sa=function(){return this.dh.length};
q.ig=function(a){var b=0,c=this.dh,e=new kv;e.next=function(){if(b>=c.length)throw jv;var e=Xr(c.key(b++));if(a)return e;e=c.getItem(e);if(!v(e))throw Cd;return e};return e};q.clear=function(){this.dh.clear()};q.key=function(a){return this.dh.key(a)};var gM=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.dh=a};B(gM,fM);var iM=function(a,b){this.G8=a;this.Oe=null;if(E&&!Zt(9)){hM||(hM=new L);this.Oe=hM.get(a);this.Oe||(b?this.Oe=document.getElementById(b):(this.Oe=document.createElement("userdata"),this.Oe.addBehavior("#default#userData"),document.body.appendChild(this.Oe)),hM.set(a,this.Oe));try{this.Tra()}catch(c){this.Oe=null}}};B(iM,eM);var jM={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},hM=null,kM=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(a){return jM[a]})};
q=iM.prototype;q.aL=function(){return!!this.Oe};q.set=function(a,b){this.Oe.setAttribute(kM(a),b);this.RN()};q.get=function(a){a=this.Oe.getAttribute(kM(a));if(!v(a)&&null!==a)throw Cd;return a};q.remove=function(a){this.Oe.removeAttribute(kM(a));this.RN()};q.sa=function(){return this.Wp().attributes.length};
q.ig=function(a){var b=0,c=this.Wp().attributes,e=new kv;e.next=function(){if(b>=c.length)throw jv;var e=C(c[b++]);if(a)return decodeURIComponent(e.nodeName.replace(/\./g,"%")).substr(1);e=e.nodeValue;if(!v(e))throw Cd;return e};return e};q.clear=function(){for(var a=this.Wp(),b=a.attributes.length;0<b;b--)a.removeAttribute(a.attributes[b-1].nodeName);this.RN()};q.Tra=function(){this.Oe.load(this.G8)};q.RN=function(){try{this.Oe.save(this.G8)}catch(a){throw Dd;}};q.Wp=function(){return this.Oe.XMLDocument.documentElement};var lM=function(a,b){this.sv=a;this.Di=b+"::"};B(lM,eM);lM.prototype.set=function(a,b){this.sv.set(this.Di+a,b)};lM.prototype.get=function(a){return this.sv.get(this.Di+a)};lM.prototype.remove=function(a){this.sv.remove(this.Di+a)};lM.prototype.ig=function(a){var b=this.sv.ig(!0),c=this,e=new kv;e.next=function(){for(var e=b.next();e.substr(0,c.Di.length)!=c.Di;)e=b.next();return a?e.substr(c.Di.length):c.sv.get(e)};return e};var mM=function(a){var b=new gM;(b=b.aL()?a?new lM(b,a):b:null)||(a=new iM(a||"UserDataSharedStore"),b=a.aL()?a:null);return b};var nM=function(a){this.Zj=a};nM.prototype.set=function(a,b){u(b)?this.Zj.set(a,sv(b)):this.Zj.remove(a)};nM.prototype.get=function(a){try{var b=this.Zj.get(a)}catch(c){return}if(null!==b)try{return JSON.parse(b)}catch(c){throw Ed;}};nM.prototype.remove=function(a){this.Zj.remove(a)};var oM=function(a){this.Mda=a;this.va={};this.El={};this.Bm=null;this.G=new pC;this.Y(this.G);if(a=mM("google-upload"))this.Bm=new nM(a),this.Uva()};B(oM,F);var pM=function(){this.jm=[];this.gr=null};q=oM.prototype;q.F=vv("apps.uploader.common.Stats");q.qy=function(a,b,c,e,f){a&&b&&(f=f||A(),K(this.F,"Collect: "+b+", "+c+", "+e+", "+f),c={time:f,type:c},e&&(c.details=e),this.va[a]||(this.va[a]={}),this.va[a][b]||(this.va[a][b]=new pM),this.va[a][b].jm.push(c))};
q.qla=function(a,b,c,e){if(b&&!(1>=b.length)){var f=b[0];K(this.F,"Grouped uploads with group id: "+f);b={upload_id:b};c&&(b.latency_ms=c);e&&(b.total_size=e);this.va[a]||(this.va[a]={});this.va[a][f]||(this.va[a][f]=new pM);this.va[a][f].gr=b}};
q.report=function(){if(!at(this.va))for(var a in this.va)if(!at(this.va[a])){var b=sv(this.Wha(this.va[a]));K(this.F,"Sending stats report:\n"+b);this.El[a]=this.va[a];this.va[a]={};var c=this.Kea();this.G.listen(c,ap,y(this.Cna,this,a));this.G.listen(c,ph,y(this.Bna,this,a));c.send(a,od,b)}};
q.Wha=function(a){var b=[],c=[],e;for(e in a)a[e].jm&&0<a[e].jm.length&&b.push({upload_id:e,events:a[e].jm,client_version:this.Mda}),a[e].gr&&c.push(a[e].gr);a={};0<b.length&&(a.upload_events=b);0<c.length&&(a.related_uploads=c);return a};q.rM=function(a,b){for(var c in b)a[c]?(a[c].jm=a[c].jm.concat(b[c].jm),b[c].gr&&(a[c].gr=b[c].gr)):a[c]=b[c]};q.Kea=function(){return new iw};q.Cna=function(a){this.El[a]={}};q.Bna=function(a){this.rM(this.El[a],this.va[a]);this.va[a]=this.El[a];this.El[a]={}};
q.uL=function(){return!!this.Bm};q.TCa=function(){if(this.uL()){var a=null;try{a=this.Bm.get(Wo)}catch(e){return}a||(a={});for(var b in this.El){var c=a[b]||{};this.rM(c,this.El[b]);a[b]=c}for(b in this.va)c=a[b]||{},this.rM(c,this.va[b]),a[b]=c;this.Bm.set(Wo,a);this.El={};this.va={}}};q.Uva=function(){if(this.uL())try{this.va=this.Bm.get(Wo),this.YEa(),this.va?this.Bm.remove(Wo):this.va={}}catch(a){this.va={}}};
q.YEa=function(){if(this.va)if(this.va instanceof Object)for(var a in this.va)if(this.va[a]instanceof Object){var b=this.va[a],c;for(c in b)b[c].jm||delete b[c]}else delete this.va[a];else this.va={}};q.clear=function(){this.uL()&&this.Bm.set(Wo,{})};var qM=function(a){this.Zj=a};B(qM,nM);var rM=function(a){this.data=a},sM=function(a){return!u(a)||a instanceof rM?a:new rM(a)},tM=function(a){a=a.data;if(!u(a))throw Ed;return a},uM=function(a){if(a)return tM(a)};qM.prototype.set=function(a,b){qM.c.set.call(this,a,sM(b))};qM.prototype.fn=function(a){a=qM.c.get.call(this,a);if(!u(a)||a instanceof Object)return a;throw Ed;};qM.prototype.get=function(a){return uM(this.fn(a))};var vM=function(a){this.Zj=a};B(vM,qM);var wM=function(a){var b=a.creation;a=a.expiration;return!!a&&a<A()||!!b&&b>A()};vM.prototype.set=function(a,b,c){if(b=sM(b)){if(c){if(c<A()){vM.prototype.remove.call(this,a);return}b.expiration=c}b.creation=A()}vM.c.set.call(this,a,b)};vM.prototype.fn=function(a,b){var c=vM.c.fn.call(this,a);if(c)if(!b&&wM(c))vM.prototype.remove.call(this,a);else return c};var xM=function(a){this.Zj=a};B(xM,vM);xM.prototype.Xia=function(a,b){var c=[];mv(a,function(a){try{var e=xM.prototype.fn.call(this,a,!0)}catch(g){if(g==Ed){b&&c.push(a);return}throw g;}if(!u(e))c.push(a);else if(wM(e))c.push(a);else if(b)try{tM(e)}catch(g){if(g==Ed)c.push(a);else throw g;}},this);return c};xM.prototype.Uda=function(a,b){a=this.Xia(a,b);D(a,function(a){xM.prototype.remove.call(this,a)},this);return a};xM.prototype.qy=function(a){this.Uda(this.Zj.ig(!0),a)};var yM=function(){this.oa=[];this.Pu=this.Ou=0};yM.prototype.Uza=function(a,b){$r(a,"Key parameter must be a byte array");b||(b=a.length);for(var c=this.oa,e=0;256>e;++e)c[e]=e;var f=0;for(e=0;256>e;++e){f=f+c[e]+a[e%b]&255;var g=c[e];c[e]=c[f];c[f]=g}this.Pu=this.Ou=0};yM.prototype.Jfa=function(a){for(var b=this.Ou,c=this.Pu,e=this.oa,f=0;f<a;++f){b=b+1&255;c=c+e[b]&255;var g=e[b];e[b]=e[c];e[c]=g}this.Ou=b;this.Pu=c};
yM.prototype.Zea=function(a,b){b||(b=a.length);for(var c=this.Ou,e=this.Pu,f=this.oa,g=0;g<b;++g){c=c+1&255;e=e+f[c]&255;var h=f[c];f[c]=f[e];f[e]=h;a[g]^=f[f[c]+f[e]&255]}this.Ou=c;this.Pu=e};var zM=function(a){for(var b=[],c=0,e=0;e<a.length;e++){var f=a.charCodeAt(e);255<f&&(b[c++]=f&255,f>>=8);b[c++]=f}return b},AM=function(a){return hs(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};var BM=null,CM=null,DM=function(a,b){C(Tq(a),"encodeByteArray takes an array as a parameter");if(!BM){BM={};CM={};for(var c=0;65>c;c++)BM[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c),CM[c]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(c)}b=b?CM:BM;c=[];for(var e=0;e<a.length;e+=3){var f=a[e],g=e+1<a.length,h=g?a[e+1]:0,l=e+2<a.length,p=l?a[e+2]:0,r=f>>2;f=(f&3)<<4|h>>4;h=(h&15)<<2|p>>6;p&=63;l||(p=64,g||(h=64));c.push(b[r],b[f],b[h],
b[p])}return c.join("")};var EM=function(){this.Wd=-1};var FM=function(){this.Wd=64;this.Oa=[];this.mG=[];this.iba=[];this.tC=[];this.tC[0]=128;for(var a=1;a<this.Wd;++a)this.tC[a]=0;this.EE=this.vq=0;this.reset()};B(FM,EM);FM.prototype.reset=function(){this.Oa[0]=1732584193;this.Oa[1]=4023233417;this.Oa[2]=2562383102;this.Oa[3]=271733878;this.Oa[4]=3285377520;this.EE=this.vq=0};
FM.prototype.Bk=function(a,b){b||(b=0);var c=this.iba;if(v(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}a=this.Oa[0];b=this.Oa[1];var g=this.Oa[2],h=this.Oa[3],l=this.Oa[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^b&(g^h);var p=1518500249}else f=b^g^h,p=1859775393;else 60>e?(f=b&
g|h&(b|g),p=2400959708):(f=b^g^h,p=3395469782);f=(a<<5|a>>>27)+f+l+p+c[e]&4294967295;l=h;h=g;g=(b<<30|b>>>2)&4294967295;b=a;a=f}this.Oa[0]=this.Oa[0]+a&4294967295;this.Oa[1]=this.Oa[1]+b&4294967295;this.Oa[2]=this.Oa[2]+g&4294967295;this.Oa[3]=this.Oa[3]+h&4294967295;this.Oa[4]=this.Oa[4]+l&4294967295};
FM.prototype.update=function(a,b){if(null!=a){u(b)||(b=a.length);for(var c=b-this.Wd,e=0,f=this.mG,g=this.vq;e<b;){if(0==g)for(;e<=c;)this.Bk(a,e),e+=this.Wd;if(v(a))for(;e<b;){if(f[g]=a.charCodeAt(e),++g,++e,g==this.Wd){this.Bk(f);g=0;break}}else for(;e<b;)if(f[g]=a[e],++g,++e,g==this.Wd){this.Bk(f);g=0;break}}this.vq=g;this.EE+=b}};
FM.prototype.digest=function(){var a=[],b=8*this.EE;56>this.vq?this.update(this.tC,56-this.vq):this.update(this.tC,this.Wd-(this.vq-56));for(var c=this.Wd-1;56<=c;c--)this.mG[c]=b&255,b/=256;this.Bk(this.mG);for(c=b=0;5>c;c++)for(var e=24;0<=e;e-=8)a[b]=this.Oa[c]>>e&255,++b;return a};var GM=function(a,b){this.Zj=a;this.i5=zM(b);this.Lda=new rv};B(GM,xM);q=GM.prototype;q.mK=function(a){var b=new FM;b.update(zM(a));b.update(this.i5);return DM(b.digest(),!0)};
q.xW=function(a,b,c){if(!(0<a.length))throw Error("Non-empty salt must be provided");var e=new FM;e.update(zM(b));e.update(a);e.update(this.i5);a=new yM;a.Uza(e.digest());a.Jfa(1536);c=zM(c);a.Zea(c);if(8192>=c.length)c=String.fromCharCode.apply(null,c);else{e="";for(a=0;a<c.length;a+=8192)b=As(c,a,a+8192),e+=String.fromCharCode.apply(null,b);c=e}return c};q.pfa=function(a,b,c){return this.xW(a,b,c)};
q.set=function(a,b,c){if(u(b)){for(var e=[],f=0;8>f;++f)e[f]=Math.floor(256*Math.random());b=new rM(this.xW(e,a,this.Lda.jk(b)));b.salt=e;GM.c.set.call(this,this.mK(a),b,c)}else GM.prototype.remove.call(this,a)};q.fn=function(a,b){if(b=GM.c.fn.call(this,this.mK(a),b)){var c=tM(b),e=b.salt;if(!v(c)||!x(e)||!e.length)throw Ed;a=this.pfa(e,a,c);try{b.data=JSON.parse(a)}catch(f){throw"Storage: The value could not be decrypted";}return b}};q.remove=function(a){GM.c.remove.call(this,this.mK(a))};var HM=function(){this.wh=[];this.ai=[]};q=HM.prototype;q.xsa=function(){rs(this.wh)&&(this.wh=this.ai,this.wh.reverse(),this.ai=[])};q.enqueue=function(a){this.ai.push(a)};q.Dm=function(){this.xsa();return this.wh.pop()};q.sa=function(){return this.wh.length+this.ai.length};q.Sb=function(){return rs(this.wh)&&rs(this.ai)};q.clear=function(){this.wh=[];this.ai=[]};q.contains=function(a){return qs(this.wh,a)||qs(this.ai,a)};
q.remove=function(a){var b=this.wh;var c=es(b,a);0<=c?(us(b,c),b=!0):b=!1;return b||vs(this.ai,a)};q.nb=function(){for(var a=[],b=this.wh.length-1;0<=b;--b)a.push(this.wh[b]);var c=this.ai.length;for(b=0;b<c;++b)a.push(this.ai[b]);return a};var KM=function(a,b){u(a.name)?(this.name=a.name,this.code=IM[a.name]):(this.code=Wr(a.code),this.name=JM(a.code));Rr.call(this,gr("%s %s",this.name,b))};B(KM,Rr);var JM=function(a){var b=$s(IM,function(b){return a==b});if(!u(b))throw Error("Invalid code: "+a);return b},IM={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 LM=function(a,b){H.call(this,a.type,b);this.bd=a};B(LM,H);var MM=function(){J.call(this);this.Je=new FileReader;this.Je.onloadstart=y(this.Bp,this);this.Je.onprogress=y(this.Bp,this);this.Je.onload=y(this.Bp,this);this.Je.onabort=y(this.Bp,this);this.Je.onerror=y(this.Bp,this);this.Je.onloadend=y(this.Bp,this)};B(MM,J);q=MM.prototype;q.abort=function(){try{this.Je.abort()}catch(a){throw new KM(a,"aborting read");}};q.an=function(){return this.Je.readyState};q.getError=function(){return this.Je.error&&new KM(this.Je.error,"reading file")};
q.Bp=function(a){this.dispatchEvent(new LM(a,this))};q.o=function(){MM.c.o.call(this);delete this.Je};q.readAsBinaryString=function(a){this.Je.readAsBinaryString(a)};q.readAsArrayBuffer=function(a){this.Je.readAsArrayBuffer(a)};var OM=function(a){var b=new MM,c=NM(b);b.readAsArrayBuffer(a);return c};MM.prototype.readAsText=function(a,b){this.Je.readAsText(a,b)};
var NM=function(a){var b=new CH;a.listen("loadend",cr(function(a,b){var c=b.Je.result,e=b.getError();null==c||e?a.sg(e):a.callback(c);b.dispose()},b,a));return b};var PM=function(a){var b=t.BlobBuilder||t.WebKitBlobBuilder;if(u(b)){b=new b;for(var c=0;c<arguments.length;c++)b.append(arguments[c]);return b.getBlob()}b=ys(arguments);c=t.BlobBuilder||t.WebKitBlobBuilder;if(u(c)){c=new c;for(var e=0;e<b.length;e++)c.append(b[e],void 0);b=c.getBlob(void 0)}else if(u(t.Blob))b=new Blob(b,{});else throw Error("This browser doesn't seem to support creating Blobs");return b},QM=function(a,b,c){u(c)||(c=a.size);return a.webkitSlice?a.webkitSlice(b,c):a.mozSlice?a.mozSlice(b,
c):a.slice?Ft&&!Xt("13.0")||Gt&&!Xt("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 RM=function(a,b){a=[a];for(var c=b.length-1;0<=c;--c)a.push(typeof b[c],b[c]);return a.join("\x0B")};var SM=function(a,b){var c=b||RM;return function(){var b=this||t;b=b.closure_memoize_cache_||(b.closure_memoize_cache_={});var f=c(Yq(a),arguments);return b.hasOwnProperty(f)?b[f]:b[f]=a.apply(this,arguments)}}(function(){if(!t.Blob)return!1;var a=new Uint8Array(100);try{var b=new Blob([a])}catch(c){return!1}return 100!=b.size?!1:!0});var VM=function(a,b,c,e,f,g){J.call(this);this.ma=TM++;this.Txa=A();this.Og=UM(a)||"";this.bc=null!=b?b:null;this.U1=new L;this.PC=UM(c);this.Sxa=e;this.Oga={};new L;this.Jg=g||null;K(this.F,"Created new "+this)};B(VM,J);var WM={P$:Gg,haa:ej,qKa:Rm,Yaa:Uo,cba:wp,$aa:ap,ERROR:ph,Caa:yl,No:zf};q=VM.prototype;q.F=vv("apps.uploader.File");q.Ds=0;q.fc="noerror";q.mB="";q.Mi=null;q.Vw=null;q.eH=null;q.Do=null;q.g0=!1;q.oxa=0;q.ET=!1;
var TM=0,UM=function(a){if(!a)return a;Jt&&(a=a.replace(/\\/g,"/"));fr(a,"/")&&(a=a.substring(0,a.length-1));return a};q=VM.prototype;q.getId=function(){return String(this.ma)};q.getName=function(){var a=this.xz();return this.PC?this.PC+"/"+a:a};q.getExtension=function(){var a=this.getName(),b=a.lastIndexOf(".");return 0>b?null:a.substr(b+1)};q.lja=function(){if(!this.bc)return null;var a=new FM;a.update(zM(this.Og+"|"+this.bc));return AM(a.digest())};q.xz=function(){return this.Og.split("/").pop()};
q.CAa=function(a){this.PC=UM(a)};q.$g=function(a){this.Og=UM(a)};q.getPath=function(){return this.Og};q.I5=function(a){this.Ds=a};q.GO=function(a,b){this.fc=a;this.mB=b||""};q.xD=function(a){this.bc=a};q.s6=function(a){this.g0=a};q.hAa=function(a){this.U1=new L(a)};q.W6=function(a){this.Mi=a};q.iBa=function(a){this.Vw=a};q.S5=function(a){this.eH=a};q.MJ=function(){return this.eH?this.eH:this.Mi};q.CP=function(a){this.Do=a};
q.Lza=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 L(b)};q.rqa=function(){return"."==this.xz()};q.D5=function(a){if(this.tca=a)this.bc=a.size};q.Jya=function(a){this.ET=a};q.toString=function(){return["File(id:",this.ma,", path:",this.Og,", relativeDirectoryPath:",this.PC,", selectionId:",this.Sxa,", bytesTransferred:",this.Ds,", bytesTotal:",this.bc,")"].join("")};var XM=function(a,b,c,e,f,g,h){VM.call(this,a,b,c,e,g);this.UW=f;this.RV=h;this.zt=[];this.DW={};this.Efa=[]};B(XM,VM);q=XM.prototype;q.addEntry=function(a){a.rqa()?this.Efa.push(a):(this.zt.push(a),this.DW[a.xz()]=this.zt.length-1)};q.Via=function(a){a=this.DW[a];return void 0!=a?this.zt[a]:null};q.getEntries=function(){return this.zt};
q.sU=function(){for(var a=0,b=1,c=0,e=this.zt,f=0;f<e.length;f++){var g=e[f];if(g instanceof XM){var h=g;h.sU();a+=h.UW;b+=h.RV}else a+=1;c+=g.bc}this.xD(c);this.tza(a);this.cza(b)};q.tza=function(a){this.UW=a};q.cza=function(a){this.RV=a};var YM=function(a){this.file=a};q=YM.prototype;q.hO=null;q.Pk=null;q.xN=null;q.blob=null;q.xqa=!1;q.state=Gg;var ZM=function(a){this.file=a};B(ZM,YM);ZM.prototype.BI=null;ZM.prototype.iX="";var $M=function(a,b){J.call(this);this.Ye=a.file;this.Vga=a.Pk;this.Mi=b;this.dM=this.RC=this.W3=this.QC=null;this.Il=!1;this.Da=vv("apps.uploader.Recovery")};B($M,J);
$M.prototype.start=function(){if(this.Il)wv(this.Da,"A recovery process is already running");else{this.Il=!0;var a=new iw;I(a,Pf,y(function(){if(this.Il){if(308==a.Ij()){var b=a.getResponseHeader("Range");this.QC=a.getResponseHeader("X-Range-MD5")||null;var c=a.ae(),e=null,f=null;try{e=JSON.parse(c).sessionStatus,f=e.externalFieldTransfers[0].formPostInfo||e.externalFieldTransfers[0].putInfo}catch(g){}if(b&&this.QC&&e&&f&&(b=/^bytes=(\d+)-(\d+)$/.exec(b))&&(this.W3=Number(b[1]),this.RC=Number(b[2])+
1,0==this.W3&&0<this.RC)){this.Vga.rU(this.RC,y(function(a){this.Il&&(this.dM=a,this.dM==this.QC?(this.Ye.W6(f.url||this.Mi),this.Ye.S5(f.cross_domain_url),this.Ye.I5(this.RC),this.Ye.CP(e.upload_id||fw(this.Mi,"upload_id")),this.Il=!1,this.dispatchEvent(ap)):(this.Il=!1,K(this.Da,"Hash mismatch, local: "+this.dM+", remote: "+this.QC),this.dispatchEvent("error_hashing")))},this));this.dispatchEvent("hashing");return}}this.Il=!1;K(this.Da,"Query error, status: "+a.Ij());this.dispatchEvent(qh)}},this));
a.send(this.Mi,od,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.Ye.bc});this.dispatchEvent("querying")}};$M.prototype.cancel=function(){this.Il=!1;this.dispatchEvent("canceled")};var aN=function(a,b){J.call(this);this.Ye=a;this.oa="INITIALIZING";this.JG=this.iz=this.$W=null;this.m9=b;this.G=new pC(this)};B(aN,J);q=aN.prototype;q.F=vv("apps.uploader.Session");q.ox=!1;q.getFile=function(){return this.Ye};q.setState=function(a){this.oa=a};q.getState=function(){return this.oa};q.Rya=function(a){this.JG=a};q.Bz=function(){return this.JG};q.q7=function(a){this.ox=a};
q.start=function(a){var b=this.mea(y(this.uoa,this),y(this.sA,this)),c=this.Pea();try{var e={};ht(e,this.getFile().Oga);var f={};f["X-GUploader-Client-Info"]="mechanism="+this.JG+"; clientVersion=167843844";ht(e,f);var g=sv(c);yv(this.F,"Sending create session request to: "+a+"\n"+g);b.send(a,od,g,e)}catch(h){throw wv(this.F,"Failed to send create session request",h),h;}};q.mea=function(a,b){var c=new iw;c.HP(!0);this.G.listen(c,ap,a).listen(c,ph,b);return c};
q.uoa=function(a){try{var b=a.target.ae();yv(this.F,"Got create session response:\n"+b);var c=JSON.parse(b);if(void 0!=c.sessionStatus){var e=c.sessionStatus;switch(this.m9){case 0:var f="formPostInfo";break;case 1:f="putInfo";break;default:f="formPostInfo"}this.setState(e.state);var g=e.upload_id,h=e.externalFieldTransfers[0],l=h[f].url;this.ox&&(l=iz(l).Cr("").ur("").toString());var p=h[f].cross_domain_url,r=this.getFile();r.W6(l);r.S5(p);r.CP(g);r.iBa(a.target.getResponseHeader("X-GUploader-Stats-URL"));
r.Lza(a.target.getAllResponseHeaders());this.dispatchEvent(Vo,a.target)}else if(void 0!=c.errorMessage){var z=c.errorMessage;g=z.upload_id;r=this.getFile();r.CP(g);this.mO(z);this.sA(a,sn)}else this.sA(a,rn)}catch(O){xv(this.F,"Invalid response to the create session request",O),this.sA(a,rn)}};q.B3=function(a){a=JSON.parse(a);void 0!=a.sessionStatus?(this.setState(a.sessionStatus.state),this.mO(a.sessionStatus)):void 0!=a.errorMessage&&(this.setState("FAILED"),this.mO(a.errorMessage))};
q.mO=function(a){a=a.additionalInfo["uploader_service.GoogleRupioAdditionalInfo"];this.$W=a.completionInfo.status;this.iz=a.completionInfo.customerSpecificInfo};q.sA=function(a,b,c){this.setState("FAILED");b||(b=XL(a.target.fc),c=a.target.Rz());this.Ye.GO(b,c);this.dispatchEvent("starterror",a.target)};q.dispatchEvent=function(a,b){v(a)?a=new bN(a,this,b):a.request=b;try{return aN.c.dispatchEvent.call(this,a)}catch(c){wv(this.F,Kc,c)}};
q.Pea=function(){var a={protocolVersion:"0.8",createSessionRequest:{fields:[]}};this.cxa(a,this.getFile());return a};q.cxa=function(a,b){this.bxa(a.createSessionRequest,b);cN(a,b.U1)};q.bxa=function(a,b){var c={external:{name:Ah,filename:b.xz()}};switch(this.m9){case 0:var e="formPost";break;case 1:e="put";break;default:e="formPost"}c.external[e]={};e=b.bc;null==e||b.g0||(c.external.size=e);a.fields.push(c)};
var cN=function(a,b){Iv(b,function(b,e){a.createSessionRequest.fields.push({inlined:{name:e,content:b,contentType:"text/plain"}})})};aN.prototype.toString=function(){return"Session(state:"+this.getState()+")"};aN.prototype.o=function(){aN.c.o.call(this);G(this.G)};var bN=function(a,b,c){H.call(this,a,b);this.request=c||null};B(bN,H);var dN=function(){J.call(this);this.Af=[];this.Lp=new L;this.T3={};this.iA={};this.R9={};this.Eo=new HM;this.G=new pC(this);this.Y(this.G);this.hc=new oM("167843844");this.Y(this.hc);try{this.G.listen(window,"unload",this.Poa)}catch(a){K(this.Da,"Failed to add unload listener",a)}this.hc.report()};B(dN,J);q=dN.prototype;q.Da=vv("apps.uploader.BaseUploader");q.Ox=!0;q.Px=!1;q.Xva=cr(function(){var a=new CH;a.callback(!0);return a});q.qr="";q.Fy=0;q.ssa=1;q.kT=!0;q.vv=!0;q.Rm=null;q.AS=!1;q.DS=!1;
q.ox=!1;q.Y1=51200;q.SAa=function(a){this.qr=a};q.Cya=function(a){this.kT=a};q.Ar=function(a){this.vv=a};q.nO=function(a){this.AS=a};q.Tt=function(){return this.AS&&this.l0()};q.q7=function(a){this.ox=a};q.PX=function(a){return this.Wfa?this.Wfa(a):this.yNa};q.vBa=function(a){if(this.Px&&this.D0()){var b=mM("google-upload-recovery");b&&(this.Gi=new GM(b,a))}};q.uya=function(a){this.Px=a};q.A=function(){return this.G};
q.dispatchEvent=function(a){try{return dN.c.dispatchEvent.call(this,a)}catch(b){xv(this.Da,Kc,b)}};q.getFile=function(a){return(a=this.Lp.get(a))?a.file:null};q.yd=function(a){var b=this.Lp.get(a.getId());b||(b=this.VG(a),this.Lp.set(a.getId(),b));return b};q.er=function(a){this.Eo.contains(a)||this.cq(a)||this.Uk(a)!=Gg||(a instanceof XM||this.Eo.enqueue(a),this.Oi(a,ej),this.Wga())};q.cq=function(a){return this.yd(a).hO};q.VX=function(a){return this.yd(a).Pk};
q.jp=function(a,b){switch(this.Uk(a)){case ap:case ph:case zf:return}var c=this.VX(a),e=this.cq(a),f=this.yd(a).xN,g=A();b=b||!1;e&&this.G.ta(e,Vo,this.P2,!1,this);c&&(c.abort(),this.yd(a).Pk=null,b||this.Uxa(a));f&&(f.cancel(),this.yd(a).xN=null);this.Eo.remove(a);this.Uv(a,zf);this.NG(a,g);this.yd(a).hO=null;this.JO(a,ge);this.Oi(a,zf);if(a instanceof XM)for(a=a.getEntries(),c=0;c<a.length;c++)this.jp(a[c],b)};q.Xz=function(){return this.Af.length};
q.Ex=function(a){this.Af.push(a);this.Lp.get(a.getId())||this.Lp.set(a.getId(),this.VG(a));this.dispatchEvent(new TL("fileadded",a));this.NF(a)};q.ny=function(){D(ys(this.Af),function(a){switch(this.Uk(a)){case Gg:case ap:case yl:case ph:case zf:this.SC(a)}},this)};q.wG=function(a){var b=a||!1;D(ys(this.Af),function(a){switch(this.Uk(a)){case Gg:case ej:this.jp(a,b)}},this);D(ys(this.Af),function(a){this.jp(a,b)},this)};q.JO=function(a,b,c){a.GO(b,c)};
q.Oi=function(a,b){var c=this.Uk(a);if(b!=c&&Zs(WM,b)){this.yd(a).state=b;a.Jya(this.qL()&&!(a instanceof XM)&&(b==ph||b==zf));var e="";if(b==ph||b==zf)e=YL(a.fc);this.dispatchEvent(new UL(a,e));K(this.Da,"File state changed from ["+c+"] to ["+b+"]. "+a);this.dispatchEvent(new TL(Rp,a));eN(c)&&!eN(b)&&(a.D5(void 0),this.Fy--,this.ZB())}};q.Uk=function(a){return this.yd(a).state};q.reset=function(){D(ys(this.Af),this.SC,this)};q.Cu=function(){return this.Eo.Sb()&&0==this.Fy};q.l0=function(){return!1};
q.av=function(){return!1};q.D0=function(){return!1};q.Iz=function(){return ys(this.Af)};q.SC=function(a){this.jp(a);this.Lp.remove(a.getId());vs(this.Af,a);this.dispatchEvent(new TL("fileremoved",a))};q.gx=function(){};q.nl=function(){return!1};var eN=function(a){return qs([Rm,Uo,wp],a)};q=dN.prototype;q.H3=function(a){this.er(a);if(a instanceof XM){a=a.getEntries();for(var b=0;b<a.length;b++)this.H3(a[b])}};q.Ova=function(a){this.kT&&this.H3(a)};q.Wu=function(a){return!!a.tagName};
q.Ft=function(a){return this.Wu(a)?a:a.b()};q.VG=function(a){return new YM(a)};
q.ZB=function(){this.Cu()&&this.dispatchEvent("allfilescompleted");if(!this.XS()&&!this.Eo.Sb()){if(hr(this.qr))throw Error("session server url has not been set");var a=this.Eo.Dm();if(!(a instanceof XM)){this.Fy++;if(this.Gi){var b=this.aA(a),c=null,e=null;try{c=this.Gi.fn(b),e=uM(c)}catch(g){}if(c&&v(e)){var f=e;if(b=fw(e,"upload_id")){this.Xva(b).ps(function(b){b?this.Wva(a,f,c.creation):this.bh(a)},function(){this.bh(a)},this);return}}}this.bh(a)}}};
q.bh=function(a){var b=this.lea(a);this.yd(a).hO=b;var c=a.MJ();c&&b.setState("OPEN");this.dispatchEvent(new TL("filesessioncreated",a,this));c?this.y8(a,c):(b.start(this.qr),this.Oi(a,Uo))};q.Us=function(a){return new ZL(a)};
q.WM=function(a){a=a.target;var b=a.getFile(),c=this.cq(b),e=A();try{c.B3(a.ae());var f=c.getState(),g=c.$W;"FINALIZED"!=f||"SUCCESS"!=g&&"QUEUED"!=g?(this.JO(b,sn),this.Oi(b,ph)):this.Oi(b,ap)}catch(h){wv(this.Da,"Invalid response to the upload request",h),this.JO(b,rn),this.Oi(b,ph)}this.Gi&&(this.Gi.remove(this.aA(b)),this.Gi instanceof xM&&this.Uk(b)==ap&&this.Gi.qy());this.Uv(b,ap);this.NG(b,e)};q.NF=function(a){this.Ova(a)};q.qL=function(){return!1};q.TY=function(){return 0};
q.Poa=function(){this.ny();for(var a=0;a<this.Af.length;a++){var b=this.Af[a];b&&b.Vw&&b.Do&&this.hc.qy(b.Vw,b.Do,"unload","",A())}this.hc.TCa()};q.XS=function(){return this.Fy>=this.ssa};q.Wga=function(){for(;!this.XS()&&!this.Eo.Sb();)this.ZB()};
q.Wva=function(a,b,c){var e=this,f=this.yd(a);f.Pk||(f.Pk=this.Us(a));b=new $M(f,b,c);this.G.listen(b,ap,y(this.bh,this,a)).listen(b,qh,y(this.bh,this,a)).listen(b,"error_hashing",y(this.bh,this,a)).listen(b,"hashing",function(){e.dispatchEvent(new TL("filehashingstarted",a,e))});f.xN=b;b.start();this.Oi(a,Rm)};
q.y8=function(a,b){if(a.fc!=ge){if(this.Gi){var c=this.aA(a);try{this.Gi.set(c,a.Mi,A()+864E6)}catch(l){}}c=this.yd(a);c.Pk||(c.Pk=this.Us(a));c=c.Pk;this.Oi(a,wp);this.G.listen(c,ap,this.WM).listen(c,ph,this.sua).listen(c,Hm,this.tua).listen(c,nf,this.rua);if(!this.iA[a.getId()]){var e=a.Do,f=[];this.R9[e]=A();for(var g=0;g<this.Af.length;g++){var h=this.Af[g];h&&!this.iA[h.getId()]&&(this.iA[h.getId()]=e,f.push(h))}this.T3[e]=f}this.Uv(a,mn,""+(a.oxa||""),a.Txa);this.Uv(a,Uo);this.dispatchEvent(new TL("fileiocreated",
a,this));c.send(b)}};q.Uv=function(a,b,c,e){e=e||A();var f=a.Vw;a=a.Do;f&&a&&(this.hc.qy(f,a,b,c,e),this.hc.report())};q.NG=function(a,b){var c=this.iA[a.getId()];if(c){var e=this.T3[c];if(!(2>e.length||e[e.length-1]!=a)){a=e[0].Vw;var f=0;if(a){var g=[],h;for(h in e)null!=e[h]&&null!=e[h].Do&&(g.push(e[h].Do),f+=e[h].bc);this.hc.qla(a,g,parseInt(b-this.R9[c],10),f);this.hc.report()}}}};q.aA=function(a){return this.qr+":"+a.lja()};
q.lea=function(a){a=new aN(a,this.TY());a.Rya(this.Bz());this.ox&&a.q7(!0);this.G.listen(a,Vo,this.P2).listen(a,"starterror",this.hua);return a};q.P2=function(a){a=a.target.getFile();var b=a.MJ();if(b)this.y8(a,b);else throw Error("no upload URL for "+a);};q.hua=function(a){a=a.target.getFile();xv(this.Da,"SessionError: "+a.fc+" "+a.mB+" "+a);this.Oi(a,ph)};q.tua=function(a){a=a.target.getFile();this.dispatchEvent(new TL(Qp,a))};
q.sua=function(a){a=a.target;var b=a.getFile(),c=A();xv(this.Da,"UploadError:"+b.fc+" "+b.mB+" "+b);var e=this.cq(b);try{e.B3(a.ae())}catch(f){xv(this.Da,"Invalid response to the upload request: ",a.ae())}this.Oi(b,ph);this.Uv(b,ph,b.mB,A());this.NG(b,c);this.Gi&&this.Gi.remove(this.aA(b))};q.rua=function(a){a=a.target.getFile();this.dispatchEvent(new TL("uploadbackoff",a))};q.Uxa=function(a){(a=a.Mi)&&(new iw).send(a,"DELETE")};var fN=function(){dN.call(this);this.Tq=new L;this.CI=new L;this.VW=new L;this.TW=new L;this.DI=new L;this.Pv=new QG;this.ao=new QG;this.Nt=[]};B(fN,dN);var gN=Qw(vw("static/uploaderapi.swf")),hN=1,iN=new L;q=fN.prototype;q.il="";q.fo=!1;q.nz=!1;q.vza=function(a){this.oz=a};q.wza=function(a){this.nz=a};q.Ar=function(a){fN.c.Ar.call(this,a);this.pha(this.E6,this)};q.Vk=function(a){return this.ug(a).b(a||this.il)};q.YX=function(a){return this.Vk(a||this.il).parentNode};
q.o0=function(a){return this.DI.Xb(a||this.il)};q.install=function(a){if(!a)throw Error(ql);this.dispatchEvent(new WL(Np,this));this.hG(a)};q.RQ=function(a){if(!a)throw Error(ql);this.dispatchEvent(new WL(Pp,this));this.gx(a)};q.Bz=function(){return"scotty flash"};q.zq=function(){return this.o0()};q.VG=function(a){return new ZM(a)};q.So=function(a){this.fo=a||this.fo;this.o0()&&this.Ox&&this.Vk(this.il).browse(this.vv,this.$X())};
q.gx=function(a){a=this.Ft(a);var b=Yq(a),c=this.CI.get(b);c&&c!=this.il&&(this.Cu()?this.ug(c).removeNode(this.YX(c)):this.Nt.push(c),this.CI.remove(b),this.Tq.remove(a))};q.ZB=function(){fN.c.ZB.call(this);if(this.Cu()){for(var a=0;a<this.Nt.length;a++)this.ug(this.Nt[a]).removeNode(this.YX(this.Nt[a]));this.Nt=[]}};q.jp=function(a,b){this.ao.remove(a.getId());fN.c.jp.call(this,a,b)};q.er=function(a){this.Pv.contains(a.getId())?this.ao.add(a.getId()):fN.c.er.call(this,a)};
q.bh=function(a){this.Pv.contains(a.getId())||this.Vfa(a)};q.Us=function(a){var b=this.yd(a).BI;a=new $L(a,b,this.ZX(a));this.VW.set(b.id,a);return a};q.Cu=function(){return this.ao.Sb()&&fN.c.Cu.call(this)};q.tya=function(a){var b=this.Ox;a=this.Vk(a);a.setAllowAddingFiles(b);lC(a,"uploader-overlay-hidden",!b)};q.pha=function(a,b){D(this.DI.bb(),a,b)};q.E6=function(a){this.Vk(a).setMultiSelect(this.vv)};q.vya=function(a){this.Vk(a).setAllowedFileTypes(this.$X())};
q.vea=function(){return"FLASH_UPLOADER_"+hN++};q.ZX=function(a){a=this.yd(a).iX;return this.Vk(a)};q.ug=function(a){a=this.Tq.get(a||this.il);return N(a)};
q.hG=function(a){a=this.Ft(a);var b=this.vea();this.Tq.set(b,a);this.CI.set(Yq(a),b);var c=this.ug(b);this.il||(this.il=b,c.getWindow().onUploaderApiReady=jN);iN.set(b,y(this.A2,this));U(a,Mp);var e=hA(a),f=c.g(d,{"class":"upload-uploader-flash-content"});c.kl(f,a);Q(f,Am,ke);Q(f,jq,lq);a.parentNode&&Q(a.parentNode,Am,Tm);Rz(f,Sz(a));this.uea(gN,f,b,e.width,e.height,{allowscriptaccess:"always",allownetworking:ue,wmode:this.nz?"window":xp,flashvars:"apiId="+b+(this.oz?"&"+this.oz:"")})};
q.uea=function(a,b,c,e,f,g){e={id:c,width:e,height:f};b=this.ug(c).b(b);E?(cM(aM,e,g),a=bM({allownetworking:Nk,allowscriptaccess:"never",movie:a},g),g=Ax({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"},{},e),a=yx(Sk,g,a)):(cM(aM,e,g),g=bM({allownetworking:Nk,allowscriptaccess:"never"},g),a=Ax({data:a,type:Me,typemustmatch:""},{},e),a=yx(Sk,a,g));Vx(b,a);this.dispatchEvent(new WL("appletinsertedindom",this))};
q.A2=function(a){var b=this.ug(a),c=this.Vk(a);if(c.addListener){this.DI.set(a,!0);var e=a+"flashFileSelection";b=b.getWindow();b[e]=y(this.Jta,this);c.addListener("onSelected",e);e=a+"flashMouseEvent";b[e]=y(this.Kta,this);c.addListener("onMouseOver",e);c.addListener("onMouseOut",e);c.addListener("onMouseClick",e);e=a+"flashToFileIo";b[e]=y(this.hha,this);c.addListener("onOpen",e);c.addListener("onProgress",e);c.addListener(Vk,e);c.addListener("onHttpError",e);c.addListener(Xk,e);c.addListener("onIoError",
e);e=a+"flashImageEvent";b[e]=y(this.Qta,this);c.addListener(Wk,e);c.addListener("onResizeReady",e);c.addListener("onLoadError",e);this.E6(a);this.vya(a);this.tya(a);this.dispatchEvent(new WL(Op,this))}else M(y(this.A2,this,a))};
q.Jta=function(a){this.dispatchEvent(new H(Fh));var b=a.apiId;this.Vk(b);this.fo&&this.ny();var c=a.files;this.DS&&Es(c,function(a,b){return nr(a.name,b.name,/\d+|\.\d+|\D+/g)});a=hs(c,function(a){return new VM(a.name,a.size,void 0,void 0,a.modificationDate)});D(a,function(a,f){var e=this.yd(a);e.iX=b;e.BI=c[f];this.TW.set(c[f].id,a)},this);this.dispatchEvent(new H(Eh));this.dispatchEvent(new SL(Gh,a))&&(D(a,function(a){this.Ex(a)},this),this.dispatchEvent(new SL(we,a)))};
q.Vfa=function(a){var b=this.PX(a);if(b){this.dispatchEvent(new TL(Dh,a));var c=this.ZX(a);c.setMaxPixelDimension(Math.min(b.Ae().width,b.Ae().height));c.setMinImageByteCountForRescale(this.Y1);c.resizeImage(this.yd(a).BI.id,a.MJ())}else fN.c.bh.call(this,a)};
q.Qta=function(a){var b=this.TW.get(a.file);switch(a.type){case Wk:this.Pv.remove(b.getId());this.dispatchEvent(new VL(b,"data:image/jpg;base64,"+a.data,a.version));this.ao.contains(b.getId())&&(this.ao.remove(b.getId()),this.er(b));break;case "onResizeReady":b.xD(a.fileSize);this.dispatchEvent(new TL(Ch,b));fN.c.bh.call(this,b);break;case "onLoadError":this.Pv.contains(b.getId())?(this.Pv.remove(b.getId()),this.dispatchEvent(new TL("filepreviewerror",b)),this.ao.contains(b.getId())&&(this.ao.remove(b.getId()),
this.er(b))):(this.dispatchEvent(new TL(Ch,b)),fN.c.bh.call(this,b))}};q.hha=function(a){this.VW.get(a.file).sma(a)};q.Kta=function(a){switch(a.type){case "onMouseOver":var b="flashmouseover";break;case "onMouseOut":b="flashmouseout";break;case "onMouseClick":b="flashmouseclick"}a=this.Tq.get(a.apiId);this.dispatchEvent({type:b,sourceOverlay:a})};q.$X=function(){var a=this.Rm;if(x(a)&&a.length)return[{description:"Archivos admitidos",extension:"*"+a.join(";*")}]};var jN=function(a){iN.get(a)(a)};var kN=function(a,b,c){ZL.call(this,a);this.Yb=b;this.Lb=null;this.Ww=15E3;this.fha=5E3;this.IS=500;this.cr=null;this.sk=c||0;this.ML=this.NL=0};B(kN,ZL);q=kN.prototype;q.Da=vv("apps.uploader.net.HtmlFormFileIo");q.abort=function(){this.Lb.abort()};
q.pr=function(a){var b=this.zea();this.Lb=b;this.A().listen(b,ap,this.sZ).listen(b,ph,function(b){var c=window.location.href;var f=a.match(Zv)[1]||null;var g=$v(a.match(Zv)[3]||null,!0),h=Number(a.match(Zv)[4]||null)||null;if(f||g||h){var l=c.match(Zv)[1]||null,p=$v(c.match(Zv)[3]||null,!0);c=Number(c.match(Zv)[4]||null)||null;f=l||p||c?f==l&&g==p&&h==c:!0}else f=!0;f?this.rZ(b):this.Wxa()});b.s5(this.Yb,a);0<this.Ww&&M(this.tD,this.fha,this);this.ML=(new Date).getTime()};q.zea=function(){return new nz};
q.sZ=function(a){try{var b=a.target.ae(),c=(b&&JSON.parse(b)).sessionStatus;if(c){var e=c.externalFieldTransfers[0],f=this.getFile();null==f.bc&&(f.xD(e.bytesTotal),f.s6(!1))}}catch(g){wv(this.Da,"Error while setting file size on success",g)}this.nq(a.target.ae()||"")};q.rZ=function(a){this.handleError(XL(a.target.fc),a.target.Rz())};
q.v5=function(a,b){var c=new iw;this.A().listen(c,ap,a).listen(c,ph,b);try{var e=this.getFile().Mi;c.send(e,"GET")}catch(f){xv(this.Da,"Error while sending status query",f)}};q.tD=function(){this.Lb.Rb()&&this.v5(y(this.Kma,this),y(this.Jma,this))};q.Wxa=function(){this.v5(y(this.sZ,this),y(this.rZ,this))};
q.Kma=function(a){if(this.Lb.Rb()){try{var b=a.target.ae(),c=JSON.parse(b).sessionStatus.externalFieldTransfers[0],e=c.bytesTransferred,f=this.getFile();if(null==f.bc)if(0<c.bytesTotal)f.xD(c.bytesTotal),f.s6(!0);else{xv(this.Da,"Status query response missing bytes total.");M(this.tD,this.Ww,this);return}var g=f.bc;null!=this.cr&&this.cr.stop(!1);var h=(new Date).getTime();if(0<this.NL||0==this.sk)this.sk=Math.round((e-this.NL)/(h-this.ML));this.NL=e;this.ML=h;var l=this.Ww+this.IS,p=f.Ds,r=Math.round(e+
l*this.sk);r>g&&(r=g,l=Math.round((g-e)/this.sk)+this.IS);this.cr=new xz([p],[r],l,WA);this.A().listen(this.cr,ye,y(function(a){this.Pn(Math.round(a.x))},this));this.cr.play();K(this.Da,"Status query reports "+Math.round(e/g*100)+"% transferred. Animating from "+Math.round(p/g*100)+"% to "+Math.round(r/g*100)+"% over next "+Math.round(l/1E3)+" seconds. Upload speed is "+this.sk+"KBps")}catch(z){xv(this.Da,"Error while processing status query",z)}this.Lb.Rb()&&M(this.tD,this.Ww,this)}};
q.Jma=function(){xv(this.Da,"Status query reports error.");this.Lb.Rb()&&M(this.tD,this.Ww,this)};q.o=function(){kN.c.o.call(this);G(this.cr)};var lN=function(a){dN.call(this);this.JI=new L;this.pX=new L;this.uz=new L;this.Lua=new L;this.Gm=a||!1};B(lN,dN);q=lN.prototype;q.Da=vv("apps.uploader.HtmlFormUploader");q.r0=!1;q.sk=0;q.gB=!1;q.Ita=function(a,b,c){this.dispatchEvent(new H(Fh));a=new VM(a);c=this.pX.get(c);this.JI.set(a.getId(),c);gA(c.childNodes[0],0,0);this.PU(b);this.dispatchEvent(new H(Eh));this.dispatchEvent(new SL(Gh,[a]))&&(this.Ex(a),this.dispatchEvent(new SL(we,[a])))};
q.install=function(a){a&&(this.gB=!0);this.dispatchEvent(new WL(Np,this));a&&this.PU(a,this.Gm);this.r0=!0;this.dispatchEvent(new WL(Op,this));a||M(function(){this.So(!1)},1,this)};q.RQ=function(a){this.dispatchEvent(new WL(Pp,this));a&&(a=this.uz.get(Yq(a)))&&R(a,!1)};q.Bz=function(){return"scotty html form"};q.zq=function(){return this.r0};q.Iz=function(){var a=lN.c.Iz.call(this);return gs(a,function(a){return!this.yqa(a)},this)};q.gx=function(a){a=Yq(this.Ft(a));(a=this.uz.get(a))&&R(a,!1)};
q.WM=function(a){this.sk=a.target.sk;lN.c.WM.call(this,a)};q.So=function(a){this.Ox&&!this.gB&&(a?this.ny():this.Ex(new VM))};q.SC=function(a){lN.c.SC.call(this,a);this.JI.remove(a.getId());0!=this.Af.length||this.gB||this.So(!1)};q.qL=function(){return!0};q.NF=function(a){this.gB&&lN.c.NF.call(this,a)};q.Us=function(a){var b=this.JI.get(a.getId());return new kN(a,b,this.sk)};q.yqa=function(a){return""==a.getPath()};
q.PU=function(a,b){var c=Yq(a);this.Lua.set(c,a);var e=N(a);U(a,Mp);var f=hA(a),g=["opacity:0","filter:alpha(opacity=0)","font-size:"+f.height+n,"height:"+f.height+n,"position:absolute",mA(a)?"left:0px":"right:0px","top:0px"];b=e.g(Xc,{type:Ah,name:"Filedata",size:20,"class":"uploader-upload-input",style:g.join(";"),tabIndex:b?-1:0});this.Rm&&(b.accept=this.Rm.join(","));g=e.g("FORM",{method:od,enctype:Dk,encoding:Dk},b);this.pX.set(c,g);var h=this.uz.get(c);h||(h=e.g(d,{style:pl+f.width+Lm+f.height+
n}),this.uz.set(c,h),e.kl(h,a),Q(h,Am,ke),a.parentNode&&Q(a.parentNode,Am,Tm),Rz(h,Sz(a)));e.append(h,g);this.A().listen(b,Cf,function(b){this.Ita(this.YCa(b.target.value),a,c)})};q.YCa=function(a){a.match(/^c:\\fakepath\\/i)&&(a=a.substring(12));return a};var qN=function(a,b,c,e,f){var g=new Uint8Array(a);a=mN(g);if(0==a.length)return null;var h=0;D(a,function(a){h+=a.length});var l=0,p=new Uint8Array(h);D(a,function(a){p.set(g.subarray(a.offset,a.offset+a.length),l);if(a.vqa){var h=73==p[l+10],r=nN(p,l+14,h)+10,ea=2+r;for(r=ea+12*oN(p,r,h);ea<r;ea+=12){var qa=oN(p,ea,h);switch(qa){case 256:pN(p,ea+8,e,h);break;case 257:pN(p,ea+8,f,h);break;case 282:case 283:var ac=nN(p,ea+8,h)+10,me=p,Xm=ac,qq=h;var Ic;qa=nN(p,ac,h)/nN(p,ac+4,h)*(282==qa?e/b:f/c);
if(isFinite(qa)&&0==qa%1)qa=[qa,1];else{ac=0>qa;qa=Math.abs(qa);for(var kr=1,DE=1,YQ=0,lr=0;1E7>=lr*(Ic=Math.floor(qa))+DE;){var EE=kr*Ic+YQ;YQ=kr;kr=EE;EE=lr*Ic+DE;DE=lr;lr=EE;Ic=qa-Ic;if(1E-6>Ic)break;qa=1/Ic;if(2147483647<Ic)break}qa=[ac?-kr:kr,lr]}pN(me,Xm,qa[0],qq);pN(me,Xm+4,qa[1],qq);break;case 34665:var mr=nN(p,ea+8,h)+10}}if(mr)for(h=73==p[l+10],ea=2+mr,mr=ea+12*oN(p,mr,h);ea<mr;ea+=12)switch(oN(p,ea,h)){case 40962:pN(p,ea+8,e,h);break;case 40963:pN(p,ea+8,f,h)}}l+=a.length});return p},mN=
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[];e=a[c++];var f=(a[c]<<8)+a[c+1];switch(e){case 225:var g=a[c+8];b.push({osa:e,offset:c-2,length:f+2,vqa: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==oN(a,c+10,73==g)});break;case 236:b.push({osa:e,offset:c-2,length:f+2});break;case 218:return b;case 216:return[];case 217:return[]}c+=f}return b},oN=function(a,b,
c){c=c?1:0;return(a[b+c]<<8)+a[b+1-c]},nN=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]},pN=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 rN=function(a,b){H.call(this,a);this.cf=b};B(rN,H);rN.prototype.getItem=function(){return this.cf};vv("apps.photos.processing.resizer");var sN=function(){F.call(this);this.JM=0;this.CL=new HM;this.G=new pC(this);this.Y(this.G)},tN;B(sN,F);sN.prototype.start=function(a,b){a=new uN(a,b);this.CL.enqueue(a);this.t8();return a};sN.prototype.t8=function(){if(!this.CL.Sb()&&1>this.JM){var a=this.CL.Dm();this.G.listen(a,["b","c","d"],this.Rta);this.JM++;M(y(a.start,a),0)}};sN.prototype.Rta=function(a){if("c"==a.type||"d"==a.type)this.JM--,this.G.removeAll(),M(function(){a.getItem().dispose();this.t8()},0,this)};
var uN=function(a,b){J.call(this);this.Lc=a;this.Ya=b;this.ma=vN++};B(uN,J);var vN=0;q=uN.prototype;q.F=vv("apps.uploader.ImageProcessor.Item");q.zp=!1;q.gb=void 0;q.start=function(){this.dispatchEvent(new rN("b",this));var a=this.vn=document.createElement("img");a.onload=y(this.kC,this);a.onerror=y(this.Pta,this);var b=this.Lc;b=ww().createObjectURL(b);a.src=b};q.kC=function(){K(this.F,"Image loaded: "+this.ma);this.Zpa().Zh(this.sD,this).ua(this.vta,this)};
q.vta=function(){if(this.Ya.dra()&&this.zp){var a=OM(this.Lc);a.ua(function(a){var b;try{var e=this.Ae();this.LW=(b=qN(a,this.vn.width,this.vn.height,e.width,e.height))?b:void 0}catch(f){K(this.F,"APP1 extraction failed: "+this.ma+": "+f)}this.sD()},this);a.Zh(this.sD,this)}else this.sD()};q.Pta=function(){K(this.F,"Image load failed: "+this.ma);this.dispatchEvent(new rN("d",this))};q.sD=function(){this.Lc=null;this.dispatchEvent(new rN("c",this))};
q.Zpa=function(){K(this.F,"initializeCanvas_ started: "+this.ma);var a=new cy(this.vn.width,this.vn.height);this.Ya.fpa()&&!a.mz(this.Ya.Ae())&&(a.bw(this.Ya.Ae()).round(),this.zp=!0);if(this.Ya.KNa()){var b=this.Ya.INa()(a);this.zp=!dy(b,a);a=b}var c=document.createElement("canvas");c.width=a.width;c.height=a.height;b=(new (this.Ya.ENa())).eOa(this.vn,c,this.ma);b.ua(function(){this.vp=c.toDataURL("image/jpeg",this.Ya.HNa()/100);this.gb=a},this);b.Zh(function(){this.zp=!1},this);return b};q.Ae=function(){return this.gb};
q.getBlob=function(){K(this.F,"getBlob started: "+this.ma);this.Ya.dra()&&!this.zp&&Vr("You asked us to preserve EXIF data, but this method would lose them.");if(this.vp&&"data:"==this.vp.substr(0,5)){var a=this.vp.indexOf(",");if(0<a){var b=this.vp.substr(5,a-5).split(";");a=this.vp.substr(a+1);"base64"===b[b.length-1]&&(a=window.atob(a));try{a:{b=a;var c=this.LW,e=a=0,f;if(c){for(f=0;f<b.length;){var g=b.charCodeAt(f++);if(255!=g)break;g=b.charCodeAt(f++);if(216==g)a=e=f;else if(224==g)a=e=f+=((b.charCodeAt(f)&
255)<<8)+(b.charCodeAt(f+1)&255);else{225==g&&(a=f-2,e=f+((b.charCodeAt(f)&255)<<8)+(b.charCodeAt(f+1)&255));break}}if(0==a){var h=null;break a}}var l=c?c.length:0,p=new Uint8Array(b.length+l);f=0;var r;for(r=0;r<a;r++,f++)p[f]=b.charCodeAt(r)&255;for(r=0;r<l;r++,f++)p[f]=c[r]&255;for(r=e;r<b.length;r++,f++)p[f]=b.charCodeAt(r)&255;h=PM(p.buffer)}return h}catch(z){K(this.F,"blobFromData_ failed: "+this.ma+": "+z)}}}return null};
q.o=function(){var a=this.vn,b=a.src;a.onload=a.onerror=null;ww().revokeObjectURL(b);delete this.Ya;delete this.vn;delete this.vp;delete this.LW};var wN=function(a,b){J.call(this);this.lK=a;this.nK=this.Lc=null;this.yk=0;this.a_=Infinity;this.Yca=b||5E6;this.Kd=null;this.F=vv("goog.crypt.BlobHasher")};B(wN,J);q=wN.prototype;q.hash=function(a){this.abort();this.lK.reset();this.Lc=a;this.nK=null;this.yk=0;this.dispatchEvent("started");this.D3()};q.abort=function(){this.Kd&&(this.Kd.abort(),this.Kd=null);this.Lc&&(this.Lc=null,this.dispatchEvent(ge))};q.Ef=function(){return this.nK};
q.D3=function(){C(this.Lc,"A hash computation must be in progress.");if(this.yk<this.Lc.size)if(this.a_<=this.yk)this.dispatchEvent("throttled");else{this.Kd=new FileReader;this.Kd.onload=y(this.Xta,this);this.Kd.onerror=y(this.gC,this);var a=Math.min(Math.min(this.a_,this.Lc.size)-this.yk,this.Yca),b=QM(this.Lc,this.yk,this.yk+a);b&&b.size==a?this.Kd.readAsArrayBuffer?this.Kd.readAsArrayBuffer(b):this.Kd.readAsBinaryString?this.Kd.readAsBinaryString(b):(wv(this.F,"Failed calling the chunk reader"),
this.gC()):(wv(this.F,"Failed slicing the blob"),this.gC())}else this.nK=this.lK.digest(),this.Lc=null,this.dispatchEvent(Pf)};q.Xta=function(){K(this.F,"Successfully loaded a chunk");var a=null;this.Kd.result instanceof Array||v(this.Kd.result)?a=this.Kd.result:t.ArrayBuffer&&t.Uint8Array&&this.Kd.result instanceof ArrayBuffer&&(a=new Uint8Array(this.Kd.result));a?(this.lK.update(a),this.yk+=a.length,this.Kd=null,this.dispatchEvent(Hm),this.D3()):(wv(this.F,"Failed reading the chunk"),this.gC())};
q.gC=function(){this.Lc=this.Kd=null;this.dispatchEvent(ph)};var xN=function(){this.Wd=64;this.Oa=Array(4);this.Zca=Array(this.Wd);this.CE=this.zs=0;this.reset()};B(xN,EM);xN.prototype.reset=function(){this.Oa[0]=1732584193;this.Oa[1]=4023233417;this.Oa[2]=2562383102;this.Oa[3]=271733878;this.CE=this.zs=0};
xN.prototype.Bk=function(a,b){b||(b=0);var c=Array(16);if(v(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;a=this.Oa[0];b=this.Oa[1];e=this.Oa[2];var f=this.Oa[3];var g=a+(f^b&(e^f))+c[0]+3614090360&4294967295;a=b+(g<<7&4294967295|g>>>25);g=f+(e^a&(b^e))+c[1]+3905402710&4294967295;f=a+(g<<12&4294967295|g>>>20);g=e+(b^f&(a^b))+c[2]+606105819&4294967295;e=f+(g<<17&4294967295|
g>>>15);g=b+(a^e&(f^a))+c[3]+3250441966&4294967295;b=e+(g<<22&4294967295|g>>>10);g=a+(f^b&(e^f))+c[4]+4118548399&4294967295;a=b+(g<<7&4294967295|g>>>25);g=f+(e^a&(b^e))+c[5]+1200080426&4294967295;f=a+(g<<12&4294967295|g>>>20);g=e+(b^f&(a^b))+c[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=b+(a^e&(f^a))+c[7]+4249261313&4294967295;b=e+(g<<22&4294967295|g>>>10);g=a+(f^b&(e^f))+c[8]+1770035416&4294967295;a=b+(g<<7&4294967295|g>>>25);g=f+(e^a&(b^e))+c[9]+2336552879&4294967295;f=a+(g<<12&4294967295|
g>>>20);g=e+(b^f&(a^b))+c[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=b+(a^e&(f^a))+c[11]+2304563134&4294967295;b=e+(g<<22&4294967295|g>>>10);g=a+(f^b&(e^f))+c[12]+1804603682&4294967295;a=b+(g<<7&4294967295|g>>>25);g=f+(e^a&(b^e))+c[13]+4254626195&4294967295;f=a+(g<<12&4294967295|g>>>20);g=e+(b^f&(a^b))+c[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=b+(a^e&(f^a))+c[15]+1236535329&4294967295;b=e+(g<<22&4294967295|g>>>10);g=a+(e^f&(b^e))+c[1]+4129170786&4294967295;a=b+(g<<
5&4294967295|g>>>27);g=f+(b^e&(a^b))+c[6]+3225465664&4294967295;f=a+(g<<9&4294967295|g>>>23);g=e+(a^b&(f^a))+c[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=b+(f^a&(e^f))+c[0]+3921069994&4294967295;b=e+(g<<20&4294967295|g>>>12);g=a+(e^f&(b^e))+c[5]+3593408605&4294967295;a=b+(g<<5&4294967295|g>>>27);g=f+(b^e&(a^b))+c[10]+38016083&4294967295;f=a+(g<<9&4294967295|g>>>23);g=e+(a^b&(f^a))+c[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=b+(f^a&(e^f))+c[4]+3889429448&4294967295;b=
e+(g<<20&4294967295|g>>>12);g=a+(e^f&(b^e))+c[9]+568446438&4294967295;a=b+(g<<5&4294967295|g>>>27);g=f+(b^e&(a^b))+c[14]+3275163606&4294967295;f=a+(g<<9&4294967295|g>>>23);g=e+(a^b&(f^a))+c[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=b+(f^a&(e^f))+c[8]+1163531501&4294967295;b=e+(g<<20&4294967295|g>>>12);g=a+(e^f&(b^e))+c[13]+2850285829&4294967295;a=b+(g<<5&4294967295|g>>>27);g=f+(b^e&(a^b))+c[2]+4243563512&4294967295;f=a+(g<<9&4294967295|g>>>23);g=e+(a^b&(f^a))+c[7]+1735328473&4294967295;
e=f+(g<<14&4294967295|g>>>18);g=b+(f^a&(e^f))+c[12]+2368359562&4294967295;b=e+(g<<20&4294967295|g>>>12);g=a+(b^e^f)+c[5]+4294588738&4294967295;a=b+(g<<4&4294967295|g>>>28);g=f+(a^b^e)+c[8]+2272392833&4294967295;f=a+(g<<11&4294967295|g>>>21);g=e+(f^a^b)+c[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=b+(e^f^a)+c[14]+4259657740&4294967295;b=e+(g<<23&4294967295|g>>>9);g=a+(b^e^f)+c[1]+2763975236&4294967295;a=b+(g<<4&4294967295|g>>>28);g=f+(a^b^e)+c[4]+1272893353&4294967295;f=a+(g<<11&4294967295|
g>>>21);g=e+(f^a^b)+c[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=b+(e^f^a)+c[10]+3200236656&4294967295;b=e+(g<<23&4294967295|g>>>9);g=a+(b^e^f)+c[13]+681279174&4294967295;a=b+(g<<4&4294967295|g>>>28);g=f+(a^b^e)+c[0]+3936430074&4294967295;f=a+(g<<11&4294967295|g>>>21);g=e+(f^a^b)+c[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=b+(e^f^a)+c[6]+76029189&4294967295;b=e+(g<<23&4294967295|g>>>9);g=a+(b^e^f)+c[9]+3654602809&4294967295;a=b+(g<<4&4294967295|g>>>28);g=f+(a^b^e)+c[12]+
3873151461&4294967295;f=a+(g<<11&4294967295|g>>>21);g=e+(f^a^b)+c[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=b+(e^f^a)+c[2]+3299628645&4294967295;b=e+(g<<23&4294967295|g>>>9);g=a+(e^(b|~f))+c[0]+4096336452&4294967295;a=b+(g<<6&4294967295|g>>>26);g=f+(b^(a|~e))+c[7]+1126891415&4294967295;f=a+(g<<10&4294967295|g>>>22);g=e+(a^(f|~b))+c[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=b+(f^(e|~a))+c[5]+4237533241&4294967295;b=e+(g<<21&4294967295|g>>>11);g=a+(e^(b|~f))+c[12]+1700485571&
4294967295;a=b+(g<<6&4294967295|g>>>26);g=f+(b^(a|~e))+c[3]+2399980690&4294967295;f=a+(g<<10&4294967295|g>>>22);g=e+(a^(f|~b))+c[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=b+(f^(e|~a))+c[1]+2240044497&4294967295;b=e+(g<<21&4294967295|g>>>11);g=a+(e^(b|~f))+c[8]+1873313359&4294967295;a=b+(g<<6&4294967295|g>>>26);g=f+(b^(a|~e))+c[15]+4264355552&4294967295;f=a+(g<<10&4294967295|g>>>22);g=e+(a^(f|~b))+c[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=b+(f^(e|~a))+c[13]+1309151649&
4294967295;b=e+(g<<21&4294967295|g>>>11);g=a+(e^(b|~f))+c[4]+4149444226&4294967295;a=b+(g<<6&4294967295|g>>>26);g=f+(b^(a|~e))+c[11]+3174756917&4294967295;f=a+(g<<10&4294967295|g>>>22);g=e+(a^(f|~b))+c[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=b+(f^(e|~a))+c[9]+3951481745&4294967295;this.Oa[0]=this.Oa[0]+a&4294967295;this.Oa[1]=this.Oa[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;this.Oa[2]=this.Oa[2]+e&4294967295;this.Oa[3]=this.Oa[3]+f&4294967295};
xN.prototype.update=function(a,b){u(b)||(b=a.length);for(var c=b-this.Wd,e=this.Zca,f=this.zs,g=0;g<b;){if(0==f)for(;g<=c;)this.Bk(a,g),g+=this.Wd;if(v(a))for(;g<b;){if(e[f++]=a.charCodeAt(g++),f==this.Wd){this.Bk(e);f=0;break}}else for(;g<b;)if(e[f++]=a[g++],f==this.Wd){this.Bk(e);f=0;break}}this.zs=f;this.CE+=b};
xN.prototype.digest=function(){var a=Array((56>this.zs?this.Wd:2*this.Wd)-this.zs);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;var c=8*this.CE;for(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.Oa[b]>>>e&255;return a};var yN=function(a,b){this.start=a<b?a:b;this.end=a<b?b:a};yN.prototype.clone=function(){return new yN(this.start,this.end)};yN.prototype.toString=function(){return"["+this.start+", "+this.end+"]"};var zN=function(a){ZL.call(this,a);this.request=null;this.fO=0;this.oa=Gg;this.ng=null;this.eG=!1;this.$w=null};B(zN,ZL);q=zN.prototype;q.Da=vv("apps.uploader.net.ResumableFileIo");q.Aya=function(a){this.eG=a};q.nl=function(){return"paused"==this.oa};q.abort=function(){this.bS();this.oa=Gg};q.bS=function(){K(this.Da,"aborting...");this.A9();this.request&&(this.request.abort(),this.request=null)};
q.pr=function(a){var b=new L;b.set("X-HTTP-Method-Override","PUT");b.set("Content-Type",Ae);b.set("X-GUploader-No-308","yes");var c=this.getFile().bc,e=this.getFile().Ds,f=Math.min(e+104857600,c)-1,g=c?new yN(e,f):null;e<=f&&(0!=e||f!=c-1)&&b.set("Content-Range","bytes "+e+"-"+f+"/"+c);this.kw(a,b,g);this.oa=wp};q.pause=function(){if(this.oa==Gg)throw Error("Cannot pause an upload that is not started");this.bS();this.oa="paused";K(this.Da,"Paused file "+this.getFile())};
q.resume=function(){if(!this.nl())throw Error("Cannot resume an upload that is not paused");this.ng=null;this.cO();K(this.Da,"Manually resuming file "+this.getFile())};q.Ixa=function(a,b){this.A9();this.$w=M(function(){this.$w=null;a.call(this)},b,this)};q.A9=function(){null!=this.$w&&(Yv(this.$w),this.$w=null)};
q.cO=function(){this.request=new iw;this.A().listen(this.request,Om,this.DZ);this.oa=Mm;K(this.Da,"Sending query request.");this.request.send(this.getFile().Mi,od,"",{"X-HTTP-Method-Override":"PUT","Content-Range":"bytes */"+this.getFile().bc})};q.DZ=function(){switch(this.rka()){case 1:case 2:case 3:case 0:break;case 4:this.XJ();break;default:this.handleError(sh,"Unknown request state")}};
q.XJ=function(){var a=this.ska();this.EAa(a);var b=this.AY(),c=this.tka();switch(b){case 308:this.Kna();break;case 200:this.nq(a);break;case 408:case 500:case 502:case 503:case 504:this.eG?(yv(this.Da,"Handling retryable HTTP "+b+" error"),this.EZ()):this.handleError(Mk,c);break;default:this.handleError(Mk,c)}};q.EZ=function(){switch(this.oa){case wp:this.cO();break;case Mm:this.lT(y(this.cO,this));break;default:this.handleError(sh,"Illegal state while handling retryable error")}};
q.Kna=function(){yv(this.Da,"Handling 308 (Resume Incomplete)");var a=!1,b=this.zY("Range");if(b){var c=/^bytes=(\d+)-(\d+)$/.exec(b);c||this.handleError(rn,"Illegal Range header: "+b);b=Number(c[2]);b>=this.fO&&(this.ng=null,a=!0);this.fO=b+1;this.Pn(b+1)}else this.fO=0,this.Pn(0);a?this.pr(this.Sz()):this.lT(y(this.pr,this,this.Sz()))};
q.lT=function(a){null==this.ng?(this.ng=5E3,this.dispatchEvent(nf)):(this.ng*=2,6E4<=this.ng&&(this.ng=6E4));yv(this.Da,"Backoff for "+this.ng/1E3+" s");this.Ixa(a,this.ng)};q.nq=function(a){zN.c.nq.call(this,a);this.oa=Gg;this.ng=null};q.handleError=function(a,b){zN.c.handleError.call(this,a,b);this.oa=Gg;this.ng=null};q.rka=function(){return this.request.an()};q.zY=function(a){return this.request.getResponseHeader(a)||null};q.ska=function(){return this.request.ae()};
q.AY=function(){try{var a=this.zY("X-HTTP-Status-Code-Override")}catch(b){a=null}a=parseInt(a,10);return isFinite(a)?a:this.request.Ij()};q.tka=function(){return this.request.LY()};var AN=function(a,b){ZL.call(this,a);this.Lc=b};B(AN,ZL);q=AN.prototype;q.Da=vv("apps.uploader.net.XhrFileIo");q.Lb=null;q.pr=function(a){var b=this.Xea();this.Lb=b;this.A().listen(b,ap,function(){this.nq(b.ae())}).listen(b,ph,function(){this.handleError(XL(b.fc),b.Rz())}).listen(b,Hm,function(a){this.Pn(a.bd.loaded)});b.send(a,od,this.Lc,{"Content-Type":this.Lc.type||Ae})};q.abort=function(){this.Lb.abort()};q.Xea=function(){return new BN};var BN=function(){iw.call(this);this.G=new pC(this)};
B(BN,iw);BN.prototype.dH=function(){var a=BN.c.dH.call(this);this.G.listen(a.upload,Hm,this.dispatchEvent);return a};BN.prototype.o=function(){BN.c.o.call(this);G(this.G)};var CN=function(a,b){zN.call(this,a);this.Lc=b;this.vm=null};B(CN,zN);q=CN.prototype;q.Da=vv("apps.uploader.net.ResumableXhrFileIo");q.kw=function(a,b,c){this.request=new BN;var e=c?c.start:0;this.A().listen(this.request,Om,this.DZ).listen(this.request,Hm,function(a){this.Pn(e+a.bd.loaded)});var f=this.Lc;c&&(f=QM(this.Lc,c.start,c.end+1),C(f),K(this.Da,"Sending partial blob: "+c));this.request.send(a,od,f,b)};
q.XJ=function(){0==this.AY()?this.eG?(yv(this.Da,"Handling retryable network error"),this.EZ()):this.handleError(Mk,"network error"):CN.c.XJ.call(this)};q.abort=function(){this.vm&&this.vm.abort();CN.c.abort.call(this)};q.rU=function(a,b){var c=new xN;this.vm=new wN(c);var e=this;I(this.vm,Pf,function(){var a=e.vm.Ef();e.vm=null;b(AM(a))});a=QM(this.Lc,0,a);C(a);this.vm.hash(a)};var DN=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(),l=h.substring(0,h.indexOf("/"));if(0==l.length)e.push(g);else{var p=b[l];p||(p=new XM(l),b[l]=p,c.push(p));h=h.substring(0,h.lastIndexOf("/"));g.CAa(h);h=h.split("/");for(l=1;l<h.length;l++){var r=h[l],z=p.Via(r);z||(z=new XM(r,void 0,h.slice(0,l).join("/")),p.addEntry(z));p=z}p.addEntry(g)}}for(f=0;f<c.length;f++)c[f].sU();return c.concat(e)};var EN=function(a,b){dN.call(this);this.zn=new L;this.Tq=new L;this.bN=new QG;this.b3=cr(this.So,!1);this.C_=new sN;this.Y(this.C_);this.rB=a||!1;this.Gm=b||!1};B(EN,dN);q=EN.prototype;q.F=vv("apps.uploader.XhrUploader");q.fo=!1;q.Ar=function(a){EN.c.Ar.call(this,a);this.zn.forEach(function(a){a&&(this.vv?a.multiple=yp:a.removeAttribute("multiple"))},this)};q.nO=function(a){EN.c.nO.call(this,a);this.zn.forEach(function(a){a&&(this.Tt()?a.webkitdirectory=yp:a.removeAttribute("webkitdirectory"))},this)};
q.Lba=function(a,b,c,e){if(rs(a))return b||this.dispatchEvent(new H(Eh)),[];this.fo&&this.ny();var f=hs(a,function(a){var b=this.Tt()?a.webkitRelativePath||a.relativePath||a.name:a.name||a.fileName;return new VM(b,a.size||a.fileSize,void 0,void 0,a.lastModifiedDate&&a.lastModifiedDate.getTime(),a.type)},this);e&&this.Tt()&&D(e,function(a){f.push(new VM(a+"."))});D(f,function(b,e){b=this.yd(b);b.blob=a[e];c&&(b.xqa=!0)},this);this.Tt()&&(f=DN(f));this.DS&&Es(f,function(a,b){a=a.getName();b=b.getName();
return nr(a,b,/\d+|\.\d+|\D+/g)});if(!b&&(this.dispatchEvent(new H(Eh)),!this.dispatchEvent(new SL(Gh,f))))return[];D(f,function(a){this.Ex(a)},this);b||this.dispatchEvent(new SL(we,f));return f};q.install=function(a){if(!a)throw Error(ql);this.dispatchEvent(new WL(Np,this));this.hG(a,this.rB,this.Gm)};q.RQ=function(a){if(!a)throw Error(ql);this.dispatchEvent(new WL(Pp,this));this.gx(a)};q.Bz=function(){return this.av()?"scotty xhr resumable":"scotty xhr non-resumable"};q.zq=function(){return!0};
q.l0=function(){return void 0!=(this.Jz()||ty(Xc,{type:Ah})).webkitdirectory};q.av=function(){return!!File.prototype.slice||!!File.prototype.webkitSlice&&!Ht||!!File.prototype.mozSlice};q.D0=function(){return this.av()};q.Us=function(a){var b=a.tca||this.yd(a).blob;C(b);return this.av()?(a=new CN(a,b),a.Aya(!0),a):new AN(a,b)};q.So=function(a){this.Ox&&(this.fo=a||this.fo,this.Jz().click())};
q.gx=function(a){var b=Yq(this.Ft(a));Uq(this.Bq)&&this.Bq()?(this.A().ta(a,this.Wu(a)?Kf:k,this.b3),this.bN.remove(b)):(a=this.zn.get(b))&&R(a.parentNode,!1);this.zn.remove(b)};q.bh=function(a){var b=y(EN.c.bh,this,a),c=this.PX(a);a:{if(!u(tN)){tN=!1;try{if(SM()&&document.createElement("canvas").getContext){ww().revokeObjectURL("");var e=tN=!0;break a}}catch(f){}}e=tN}e&&c&&a.bc>=this.Y1?(e=this.yd(a).blob,c=this.C_.start(e,c),this.A().listen(c,["b","c","d"],y(this.Cma,this,a,b))):b()};q.qL=function(){return!0};
q.nl=function(a){return this.Uk(a)!=wp?!1:(a=this.VX(a))&&a.nl&&a.nl()};q.o=function(){EN.c.o.call(this);Yv(this.Jba)};q.TY=function(){return this.av()?1:0};q.Jz=function(){return this.zn.nb()[0]};q.Bq=function(){return Gt||E&&Xt(10)||Ft&&Xt(12)};
q.Kba=function(a,b){a=P(a);this.Tq.set(Yq(a),a);var c=null,e=N(a);if(Uq(this.Bq)&&this.Bq()&&!this.Jz())c=e.g(Xc,{type:Ah,style:"height:0;visibility:hidden;position:absolute"}),this.Rm&&(c.accept=this.Rm.join(",")),e.kl(c,a);else{U(a,Mp);var f=hA(a);c=e.g(Xc,{type:Ah,style:"opacity:0;font-size:"+f.height+Lm+f.height+"px;position:absolute;right:0px;top:0px",tabIndex:b?-1:0});this.Rm&&(c.accept=this.Rm.join(","));b=e.g(d,{style:pl+f.width+Lm+f.height+n},c);e.kl(b,a);Q(b,Am,ke);Q(a.parentNode,Am,Tm);
Rz(b,Sz(a))}c&&(this.zn.set(Yq(a),c),this.A().listen(c,Cf,function(){this.dispatchEvent(new H(Fh));this.Lba(c.files);c.value=""}))};q.hG=function(a,b,c){var e=this.Ft(a),f=Yq(e);if(Uq(this.Bq)&&this.Bq()&&(!this.bN.contains(f)&&b&&(this.A().listen(a,this.Wu(a)?Kf:k,this.b3),this.bN.add(f)),this.Jz()))return;(a=this.zn.get(f))?R(a.parentNode,!0):this.Jba=M(function(){this.Kba(e,c);this.jEa();this.dispatchEvent(new WL(Op,this))},void 0,this)};q.jEa=function(){this.Ar(this.vv);this.nO(this.Tt())};
q.Cma=function(a,b,c){var e=c.getItem();switch(c.type){case "b":this.dispatchEvent(new TL(Dh,a));break;case "c":case "d":"c"==c.type&&(e.zp&&a.D5(e.getBlob()),this.dispatchEvent(new TL(Ch,a))),this.UDa(e),b()}};q.UDa=function(a){this.A().ta(a,["b","c","d"])};var FN=function(a){J.call(this);if(hr(Hr(a)))throw Error("sessionServerUrl can't be empty");this.qr=a;this.fj=[];this.lb=null;this.lx=void 0;this.nz=!1;if(0<=Ms.indexOf("Firefox/2.")){var b=window.location;b instanceof $y||(b=iz(b));a instanceof $y||(a=iz(a));b.resolve(a)}!Bv.YG().upload||Ft&&!Xt("1.9.2")||this.fj.push("XHR");QL&&(!Kt&&0<=Lr(RL,"10")||0<=Lr(RL,"11"))&&this.fj.push("FLASH");this.fj.push(Tc);K(this.F,"Available mechanisms: "+this.fj)};B(FN,J);q=FN.prototype;q.F=vv("apps.uploader.UploadManager2");
q.mka=function(){return this.fj[0]};
q.mxa=function(a,b){K(this.F,"Restricting mechanisms to: "+a);if(!a)throw Error("allowedMechanisms must be defined");x(a)||(a=[a]);if(rs(a))throw Error("allowedMechanisms must not be empty");D(a,function(a){if(!this.Lqa(a))throw Error("Unknown upload mechanism: "+a);},this);b=b?gs(a,function(a){return qs(this.fj,a)},this):gs(this.fj,function(b){return qs(a,b)});if(rs(b))throw new GN("No allowed mechanism is currently available");this.fj=b;K(this.F,"Available mechanisms now: "+b)};
q.Lqa=function(a){return Zs(HN,a)};q.Jza=function(a,b){this.rha=a;this.Gm=b};q.yBa=function(a,b,c){this.nFa=a;this.mFa=b;this.Gm=c};
q.eV=function(a){var b=null,c=this.mka();c?K(this.F,"Creating uploader for mechanism "+c):K(this.F,"No mechanisms left to create an uploader");switch(c){case "XHR":this.lb=new EN(this.mFa,this.Gm);b=this.nFa;break;case "FLASH":this.gha&&(b=this.gha,b instanceof Kw?gN=b:(b=Tw(Ww(b)),gN=FE(b)));this.lb=new fN;this.oz&&this.lb.vza(this.oz);this.lb.wza(this.nz);b=this.CNa;break;case Tc:this.lb=new lN(this.Gm);b=this.rha;break;default:this.lb=null}if(!this.lb)return a&&a(null),null;this.lb.Sl(this);b=
P(b);a&&(this.lx=a,I(this.lb,["appletfailedtoload","uploaderwithoutpermission","applettimedout","appletfailedtoinitialize"],y(this.cna,this,c,b)),I(this.lb,Op,y(this.dna,this,c,b)));this.lb.install(b);this.lb.SAa(this.qr);Nq(this.Px)&&this.lb.uya(this.Px);this.UEa&&this.lb.vBa(this.UEa);return a?null:this.lb};q.dna=function(a,b,c){c.V9==this.lb&&this.lx&&(this.lx(this.lb),this.lx=void 0)};q.cna=function(a,b,c){c.V9==this.lb&&(this.lb.RQ(b),vs(this.fj,a),this.eV(this.lx))};
var HN={uHa:"FLASH",aIa:Tc,dNa:"XHR"},GN=function(){};B(GN,Error);var IN=new IL("apps.uploader");IN.U(!1);w("apps.uploader.showDebugWindow",function(){IN.U(!0)},void 0);var JN=function(a){var b=null;try{b=a.cssRules||a.rules}catch(c){if(15==c.code)throw c.styleSheet=a,c;}return b},KN=function(a,b){var c=[];a=a||document.styleSheets;b=u(b)?b:!1;if(a.imports&&a.imports.length)for(var e=0,f=a.imports.length;e<f;e++)zs(c,KN(a.imports[e]));else if(a.length)for(e=0,f=a.length;e<f;e++)zs(c,KN(a[e]));else{var g=JN(a);if(g&&g.length){e=0;f=g.length;for(var h;e<f;e++)h=g[e],h.styleSheet&&zs(c,KN(h.styleSheet))}}!(a.type||a.rules||a.cssRules)||a.disabled&&!b||c.push(a);return c},
LN=function(a,b){b=b||N();var c=b.K(),e=b.createElement("STYLE");e.type="text/css";b.getElementsByTagName("HEAD")[0].appendChild(e);e.styleSheet?e.styleSheet.cssText=a:e.appendChild(c.createTextNode(a));return e};var MN=function(){if(!E)return!1;try{return new ActiveXObject(ed),!0}catch(a){return!1}},NN=E&&MN();var ON=function(){J.call(this);this.Tb=[];this.dg=[];this.dw=[];this.ed=this.wL=this.tL=!1};B(ON,J);q=ON.prototype;q.zq=function(){return this.ed};q.SF=function(a){this.dg.push(a);this.tL=a.wL=!0};q.P6=function(a){this.lD=a};q.init=function(){if(!this.ed){for(var a,b=0;a=this.Tb[b];b++)this.K_(a);this.ed=!0}};q.K_=function(a){this.tL&&(I(a.element,wk,a.b2,!1,a),this.fQ&&U(C(a.element),this.fQ));this.wL&&this.AQ&&U(C(a.element),this.AQ)};
q.cW=function(a){this.tL&&(bv(a.element,wk,a.b2,!1,a),this.fQ&&jC(C(a.element),this.fQ));this.wL&&this.AQ&&jC(C(a.element),this.AQ);a.dispose()};q.twa=function(){for(var a,b=0;a=this.Tb[b];b++)this.cW(a);this.Tb.length=0};
q.Uw=function(a,b){if(!this.wf)if(this.wf=b,0==this.dispatchEvent(new PN(ah,this,this.wf,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,a)))this.wf=null;else{b=b.Zs;this.qt=this.MU(b);var c=fy(b);c.body.appendChild(this.qt);this.ud=this.tea(b,this.qt,a);this.ud.P6(this.lD);I(this.ud,"drag",this.e2,!1,this);I(this.ud,nh,this.Qm,!1,this);I(c.body,"selectstart",this.Q8);this.Rva();this.Sva();this.bj=null;this.Rpa();this.ud.Uw(a);a.preventDefault()}};
q.Rva=function(){this.Xr=[];for(var a,b=0;a=this.dg[b];b++)for(var c,e=0;c=a.Tb[e];e++)this.Fba(a,c);this.mk||(this.mk=new Iz(0,0,0,0))};q.Sva=function(){var a,b;for(b=0;a=this.dw[b];b++){a.OG=[];a.W4=a.D.scrollLeft;a.X4=a.D.scrollTop;var c=Wz(a.D);var e=hA(a.D);a.Yc=new Iz(c.y,c.x+e.width,c.y+e.height,c.x)}for(b=0;e=this.Xr[b];b++)for(c=0;a=this.dw[c];c++)Ly(a.D,e.D)&&(a.OG.push(e),e.cw=a)};q.tea=function(a,b,c){a=this.QX(a,b,c);b.style.position=ke;b.style.left=a.x+n;b.style.top=a.y+n;return new tC(b)};
q.Qm=function(a){var b=a.Xfa?null:this.bj;if(b&&b.ab){var c=a.clientX,e=a.clientY,f=this.CY(),g=c+f.x;f=e+f.y;var h;this.Yw&&(h=this.Yw(b.cf,b.Yc,g,f));this.dispatchEvent(new PN("drag",this,this.wf,b.ab,b.cf,b.D,c,e,g,f));b.ab.dispatchEvent(new PN("drop",this,this.wf,b.ab,b.cf,b.D,c,e,g,f,h,a.lG))}this.dispatchEvent(new PN("dragend",this,this.wf,b?b.ab:void 0,b?b.cf:void 0,b?b.D:void 0));bv(this.ud,"drag",this.e2,!1,this);bv(this.ud,nh,this.Qm,!1,this);a=fy(this.wf.Zs);bv(a.body,"selectstart",this.Q8);
this.nca(this.bj?this.bj.cf:null)};q.nca=function(){this.Rfa()};q.Rfa=function(){this.Sfa();this.ud.dispose();Ey(this.qt);delete this.wf;delete this.qt;delete this.ud;delete this.Xr;delete this.bj};
q.e2=function(a){var b=this.Wia(a),c=b.x,e=b.y,f=this.bj;this.dispatchEvent(new PN("drag",this,this.wf,f?f.ab:void 0,f?f.cf:void 0,f?f.D:void 0,a.clientX,a.clientY,c,e));var g;if(f){this.Yw&&f.ab&&(g=this.Yw(f.cf,f.Yc,c,e));if(f.Yc.contains(b)&&g==this.kS)return;f.ab&&(this.dispatchEvent(new PN(Zg,this,this.wf,f.ab,f.cf,f.D)),f.ab.dispatchEvent(new PN(Zg,this,this.wf,f.ab,f.cf,f.D,void 0,void 0,void 0,void 0,this.kS)));this.kS=g;this.bj=null}this.mk.contains(b)&&((f=this.bj=this.Rka(b))&&f.ab?(this.Yw&&
(g=this.Yw(f.cf,f.Yc,c,e)),b=new PN($g,this,this.wf,f.ab,f.cf,f.D),b.iDa=g,this.dispatchEvent(b),f.ab.dispatchEvent(new PN($g,this,this.wf,f.ab,f.cf,f.D,a.clientX,a.clientY,void 0,void 0,g))):f||(this.bj=this.tsa(c,e)))};q.Q8=function(){return!1};q.Rpa=function(){var a,b;for(b=0;a=this.dw[b];b++)I(a.D,jn,this.vU,!1,this)};q.Sfa=function(){for(var a=0,b;b=this.dw[a];a++)bv(b.D,jn,this.vU,!1,this),b.OG=[]};
q.vU=function(a){for(var b=0,c;c=this.dw[b];b++)if(a.target==c.D){var e=c.X4-c.D.scrollTop,f=c.W4-c.D.scrollLeft;c.X4=c.D.scrollTop;c.W4=c.D.scrollLeft;this.xf&&this.bj==this.xf&&(0<e?this.xf.Yc.top+=e:this.xf.Yc.bottom+=e,0<f?this.xf.Yc.left+=f:this.xf.Yc.right+=f);for(var g=0,h;h=c.OG[g];g++)h=h.Yc,h.top+=e,h.left+=f,h.bottom+=e,h.right+=f,this.AT(h)}this.ud.nC(a)};q.MU=function(a){a=this.rea(a);C(a);this.Yfa&&U(a,this.Yfa);return a};
q.QX=function(a){var b=Wz(a);a=vA(a);b.x-=2*(a.left||0);b.y-=2*(a.top||0);return b};q.Nda=function(a){a:{for(var b=a.cloneNode(!0),c=gy(Id,a),e=gy(Id,b),f=0;f<c.length;f++)e[f].value=c[f].value;switch(a.tagName){case Jd:a=ty(Fd,null,ty(Gd,null,b));break a;case Hd:case "TH":a=ty(Fd,null,ty(Gd,null,ty(Jd,null,b)));break a;case Id:b.value=a.value;default:a=b}}return a};q.rea=function(a){return this.Nda(a)};
q.Fba=function(a,b){for(var c=b.Pia(),e=0;e<c.length;e++){var f=c[e],g=this.Tia(b,f);this.Xr.push(new QN(g,a,b,f));this.AT(g)}};q.Tia=function(a,b){a=Wz(b);b=hA(b);return new Iz(a.y,a.x+b.width,a.y+b.height,a.x)};q.AT=function(a){if(1==this.Xr.length)this.mk=new Iz(a.top,a.right,a.bottom,a.left);else{var b=this.mk;b.left=Math.min(a.left,b.left);b.right=Math.max(a.right,b.right);b.top=Math.min(a.top,b.top);b.bottom=Math.max(a.bottom,b.bottom)}};
q.tsa=function(a,b){this.xf||(this.xf=new QN(this.mk.clone()));var c=this.xf.Yc;c.top=this.mk.top;c.right=this.mk.right;c.bottom=this.mk.bottom;c.left=this.mk.left;for(var e=0,f;f=this.Xr[e];e++){var g=f.Yc;f.cw&&(f=f.cw.Yc,g=new Iz(Math.max(g.top,f.top),Math.min(g.right,f.right),Math.min(g.bottom,f.bottom),Math.max(g.left,f.left)));f=null;a>=g.right?f=g.right>c.left?g.right:c.left:a<g.left&&(f=g.left<c.right?g.left:c.right);var h=null;b>=g.bottom?h=g.bottom>c.top?g.bottom:c.top:b<g.top&&(h=g.top<
c.bottom?g.top:c.bottom);null===f||null===h||(Math.abs(f-a)>Math.abs(h-b)?h=null:f=null);null!==f?f<=a?c.left=f:c.right=f:null!==h&&(h<=b?c.top=h:c.bottom=h)}return 10<=(c.right-c.left)*(c.bottom-c.top)?this.xf:null};q.Rka=function(a){for(var b,c=0;b=this.Xr[c];c++)if(b.Yc.contains(a))if(b.cw){if(b.cw.Yc.contains(a))return b}else return b;return null};q.CY=function(){return N(this.qt).Df()};q.Wia=function(a){var b=this.CY();return new $x(a.clientX+b.x,a.clientY+b.y)};
q.o=function(){ON.c.o.call(this);this.twa()};var PN=function(a,b,c,e,f,g,h,l,p,r,z,O){H.call(this,a);this.sh=c;this.Jk=f;this.clientX=h;this.clientY=l;this.iDa=z;this.lG=O};B(PN,H);var RN=function(a,b){J.call(this);this.element=P(a);this.data=b;this.ea=null;this.G=new pC(this);this.Y(this.G);this.Zs=null;if(!this.element)throw Error("Invalid argument");};B(RN,J);q=RN.prototype;q.getData=function(){return this.data};q.hJ=function(a){return a};q.Pia=function(){return[this.element]};
q.b2=function(a){if(a.Zu()){var b=this.hJ(a.target);b&&this.Csa(a,b)}};q.Ea=function(a){this.ea=a};q.Csa=function(a,b){this.G.listen(b,xk,this.c2,!1).listen(b,yk,this.c2,!1);var c=fy(b);this.G.listen(c,Ak,this.Rsa,!0);this.Zs=b;this.jQ=new $x(a.clientX,a.clientY)};q.c2=function(a){var b=this.Zs;b=a.type==yk&&a.target==b;if(5<Math.abs(a.clientX-this.jQ.x)+Math.abs(a.clientY-this.jQ.y)||b)this.G.removeAll(),this.ea.Uw(a,this);a.preventDefault()};
q.Rsa=function(){this.G.removeAll();delete this.jQ;this.Zs=null};var QN=function(a,b,c,e){this.Yc=a;this.ab=b;this.cf=c;this.D=e||null;this.cw=null};var SN=function(){ON.call(this)};B(SN,ON);SN.prototype.sc=function(a,b){a=new RN(a,b);this.MF(a)};SN.prototype.MF=function(a){a.Ea(this);this.Tb.push(a);this.zq()&&this.K_(a)};SN.prototype.removeItem=function(a){a=P(a);for(var b,c=0;b=this.Tb[c];c++)if(b.element==a){this.Tb.splice(c,1);this.cW(b);break}};SN.prototype.setSelection=function(){};var TN=function(){J.call(this)};B(TN,J);q=TN.prototype;q.qb=0;q.Jh=0;q.zi=100;q.ni=0;q.nQ=1;q.Tj=!1;q.BM=!1;q.setValue=function(a){a=this.$v(a);this.qb!=a&&(this.qb=a+this.ni>this.zi?this.zi-this.ni:a<this.Jh?this.Jh:a,this.Tj||this.BM||this.dispatchEvent(Cf))};q.getValue=function(){return this.$v(this.qb)};
q.ND=function(a){if(this.Jh!=a){var b=this.Tj;this.Tj=!0;this.Jh=a;a+this.ni>this.zi&&(this.ni=this.zi-this.Jh);a>this.qb&&this.setValue(a);a>this.zi&&(this.ni=0,this.LD(a),this.setValue(a));(this.Tj=b)||this.BM||this.dispatchEvent(Cf)}};q.Wz=function(){return this.$v(this.Jh)};
q.LD=function(a){a=this.$v(a);if(this.zi!=a){var b=this.Tj;this.Tj=!0;this.zi=a;a<this.qb+this.ni&&this.setValue(a-this.ni);a<this.Jh&&(this.ni=0,this.ND(a),this.setValue(this.zi));a<this.Jh+this.ni&&(this.ni=this.zi-this.Jh);(this.Tj=b)||this.BM||this.dispatchEvent(Cf)}};q.Vz=function(){return this.$v(this.zi)};q.$v=function(a){return null==this.nQ?a:this.Jh+Math.round((a-this.Jh)/this.nQ)*this.nQ};var UN=function(a){V.call(this,a);this.Hl=new TN;I(this.Hl,Cf,this.Kla,!1,this)};B(UN,V);var VN={vertical:"progress-bar-vertical",horizontal:"progress-bar-horizontal"};q=UN.prototype;q.g=function(){this.eg=this.bV();this.Na(this.j().g(d,VN[this.Sc],this.eg));this.r7();this.B6();this.z6()};q.B=function(){UN.c.B.call(this);this.ap();this.pf();var a=this.b();C(a,Od);SB(a,"progressbar");T(a,Vj,ym)};q.Pa=function(){UN.c.Pa.call(this);this.rj()};q.bV=function(){return this.j().g(d,Im)};
q.ap=function(){E&&7>Vt&&I(this.b(),Vm,this.pf,!1,this)};q.rj=function(){E&&7>Vt&&bv(this.b(),Vm,this.pf,!1,this)};q.Ka=function(a){UN.c.Ka.call(this,a);U(C(this.b()),VN[this.Sc]);a=iy(null,Im,this.b())[0];a||(a=this.bV(),this.b().appendChild(a));this.eg=a};q.getValue=function(){return this.Hl.getValue()};q.setValue=function(a){this.Hl.setValue(a);this.b()&&this.r7()};q.r7=function(){var a=this.b();C(a,Od);T(a,Yp,this.getValue())};q.Wz=function(){return this.Hl.Wz()};
q.ND=function(a){this.Hl.ND(a);this.b()&&this.B6()};q.B6=function(){var a=this.b();C(a,Od);T(a,"valuemin",this.Wz())};q.Vz=function(){return this.Hl.Vz()};q.LD=function(a){this.Hl.LD(a);this.b()&&this.z6()};q.z6=function(){var a=this.b();C(a,Od);T(a,"valuemax",this.Vz())};q.Sc=Li;q.Kla=function(){this.pf();this.dispatchEvent(Cf)};
q.pf=function(){if(this.eg){var a=this.Wz(),b=this.Vz();a=(this.getValue()-a)/(b-a);b=Math.round(100*a);this.Sc==$p?E&&7>Vt?(this.eg.style.top="0",this.eg.style.height=kb,b=this.eg.offsetHeight,a=Math.round(a*b),this.eg.style.top=b-a+n,this.eg.style.height=a+n):(this.eg.style.top=100-b+"%",this.eg.style.height=b+"%"):this.eg.style.width=b+"%"}};q.cqa=function(){var a=this.eg.style;this.Sc==$p?(a.left="0",a.width=kb):(a.top=a.left="0",a.height=kb)};
q.setOrientation=function(a){if(this.Sc!=a){var b=VN[this.Sc],c=VN[a];this.Sc=a;if(a=this.b())hC(a,b)&&(jC(a,b),U(a,c)),this.cqa(),this.pf()}};q.o=function(){this.rj();UN.c.o.call(this);this.eg=null;this.Hl.dispose()};var WN=function(){};B(WN,xD);Rq(WN);WN.prototype.g=function(a){return a.j().g(d,this.Zd(a).join(" ")+fa,"\u00a0")};WN.prototype.R=function(a,b){b=WN.c.R.call(this,a,b);C(b);U(b,fi);return b};WN.prototype.S=function(){return xi};var XN=function(){this.sm="toolbar"};B(XN,gD);Rq(XN);XN.prototype.Yt=function(a){return"HR"==a.tagName?new yD(WN.H()):XN.c.Yt.call(this,a)};XN.prototype.S=function(){return"goog-toolbar"};XN.prototype.JX=function(){return Li};var YN=function(a,b,c){sD.call(this,b,a||XN.H(),c)};B(YN,sD);YN.prototype.Be=function(a){YN.c.Be.call(this,a);this.RB||this.Iu()};var ZN=function(){};B(ZN,WD);Rq(ZN);ZN.prototype.S=function(){return ui};var $N=function(a,b,c){VD.call(this,a,b||ZN.H(),c)};B($N,VD);eD(ui,function(){return new $N(null)});var aO=function(a,b,c,e,f){this.Xf=!!b;this.node=null;this.Th=0;this.B8=!1;this.tU=!c;a&&this.setPosition(a,e);this.depth=void 0!=f?f:this.Th||0;this.Xf&&(this.depth*=-1)};B(aO,kv);q=aO.prototype;q.setPosition=function(a,b,c){if(this.node=a)this.Th=Oq(b)?b:1!=this.node.nodeType?0:this.Xf?-1:1;Oq(c)&&(this.depth=c)};q.clone=function(){return new aO(this.node,this.Xf,!this.tU,this.Th,this.depth)};q.lxa=function(){var a=this.Xf?1:-1;this.Th==a&&(this.Th=-1*a,this.depth+=this.Th*(this.Xf?-1:1))};
q.next=function(){if(this.B8){if(!this.node||this.tU&&0==this.depth)throw jv;var a=this.node;var b=this.Xf?-1:1;if(this.Th==b){var c=this.Xf?a.lastChild:a.firstChild;c?this.setPosition(c):this.setPosition(a,-1*b)}else(c=this.Xf?a.previousSibling:a.nextSibling)?this.setPosition(c):this.setPosition(a.parentNode,-1*b);this.depth+=this.Th*(this.Xf?-1:1)}else this.B8=!0;a=this.node;if(!this.node)throw jv;return a};q.uqa=function(){return-1==this.Th};
q.ad=function(a){return a.node==this.node&&(!this.node||a.Th==this.Th)};q.splice=function(a){var b=this.node;this.lxa();this.Xf=!this.Xf;aO.prototype.next.call(this);this.Xf=!this.Xf;for(var c=Tq(arguments[0])?arguments[0]:arguments,e=c.length-1;0<=e;e--)Cy(c[e],b);Ey(b)};var bO=function(a,b,c,e){aO.call(this,a,b,c,null,e)};B(bO,aO);bO.prototype.next=function(){do bO.c.next.call(this);while(this.uqa());return this.node};var cO=function(){};B(cO,YD);Rq(cO);cO.prototype.createCaption=function(a,b){return cO.c.createCaption.call(this,dO(a,b),b)};var dO=function(a,b){return b.g(d,"goog-color-menu-button-indicator",a)};cO.prototype.setValue=function(a,b){a&&eO(this.J(a),b)};var eO=function(a,b){if(a&&a.firstChild){var c;if(c=b)c=!!(Az.test("#"==b.charAt(0)?b:"#"+b)||Cz(b).length||zz&&zz[b.toLowerCase()]);b=c?Ez(b).Gu:null;a.firstChild.style.borderBottomColor=b||(E?"":xp)}};
cO.prototype.Bd=function(a){var b=a.b();C(b);this.setValue(b,a.getValue());U(b,ai);cO.c.Bd.call(this,a)};var fO=function(){};B(fO,iD);Rq(fO);var gO=0;q=fO.prototype;q.g=function(a){var b=this.Zd(a);a=a.j().g(d,b,this.wea(a.zb(),a.Ae(),a.j()));SB(a,Ci);return a};q.wea=function(a,b,c){for(var e=[],f=0,g=0;f<b.height;f++){for(var h=[],l=0;l<b.width;l++){var p=a&&a[g++];h.push(this.TG(p,c))}e.push(this.$G(h,c))}return this.$U(e,c)};q.$U=function(a,b){a=b.g(Fd,this.S()+"-table",b.g(Gd,this.S()+"-body",a));a.cellSpacing="0";a.cellPadding="0";return a};
q.$G=function(a,b){a=b.g(Jd,this.S()+"-row",a);SB(a,"row");return a};q.TG=function(a,b){a=b.g(Hd,{"class":this.S()+"-cell",id:this.S()+"-cell-"+gO++},a);SB(a,Di);T(a,pn,!1);Vy(a)||YB(a)||(b=this.$ga(a))&&ZB(a,b);return a};q.$ga=function(a){a=new bO(a);for(var b="",c;!b&&(c=ov(a,null));)1==c.nodeType&&(b=YB(c)||c.title);return b};q.tc=function(){return!1};q.R=function(){return null};
q.eb=function(a,b){if(a){var c=iy(Gd,this.S()+"-body",a)[0];if(c){var e=0;D(c.rows,function(a){D(a.cells,function(a){Ay(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 l=b[e++];f.push(this.TG(l,g));f.length==h&&(l=this.$G(f,g),c.appendChild(l),f.length=0)}if(0<f.length){for(;f.length<h;)f.push(this.TG("",g));l=this.$G(f,g);c.appendChild(l)}}}oA(a,!0,Ft)}};
q.ZI=function(a,b){for(a=a.b();b&&1==b.nodeType&&b!=a;){if(b.tagName==Hd&&hC(b,this.S()+"-cell"))return b.firstChild;b=b.parentNode}return null};q.kpa=function(a,b,c){b&&(b=this.BX(b),C(b),lC(b,this.S()+"-cell-hover",c),c?T(a.Ta(),oe,b.id):b.id==VB(a.Ta(),oe)&&UB(a.Ta(),oe))};q.BX=function(a){return a?a.parentNode:null};q.Pxa=function(a,b,c){b&&(a=b.parentNode,lC(a,this.S()+"-cell-selected",c),T(a,pn,c))};q.S=function(){return"goog-palette"};var iO=function(a,b,c){mD.call(this,a,b||fO.H(),c);this.wD(88,!1);this.Xs=new hO;this.Xs.Sl(this);this.LL=-1};B(iO,mD);q=iO.prototype;q.gb=null;q.ib=-1;q.O=null;q.o=function(){iO.c.o.call(this);this.O&&(this.O.dispose(),this.O=null);this.gb=null;this.Xs.dispose()};q.tr=function(a){iO.c.tr.call(this,a);this.yS();this.O?(this.O.clear(),this.O.uS(a)):(this.O=new aE(a),this.O.V6(y(this.nr,this)),this.A().listen(this.O,mn,this.zu));this.ib=-1};q.pi=function(){return""};q.yD=function(){};
q.Bg=function(a){iO.c.Bg.call(this,a);var b=this.M.ZI(this,a.target);b&&a.relatedTarget&&Ly(b,a.relatedTarget)||b!=this.Nz()&&this.l6(b)};q.Qc=function(a){iO.c.Qc.call(this,a);this.Rb()&&(a=this.M.ZI(this,a.target),a!=this.Nz()&&this.l6(a))};q.Tc=function(a){var b=this.Nz();return b?(a&&this.NBa(a)&&this.Bb(b),iO.c.Tc.call(this,a)):!1};q.NBa=function(a){return this.xa()?a.type!=Ak?!0:!!this.M.ZI(this,a.target):!0};
q.ec=function(a){var b=this.zb();b=b?b.length:0;var c=this.gb.width;if(0==b||!this.isEnabled())return!1;if(13==a.keyCode||32==a.keyCode)return this.Tc(a);if(36==a.keyCode)return this.oc(0),!0;if(35==a.keyCode)return this.oc(b-1),!0;var e=0>this.ib?this.yg():this.ib;switch(a.keyCode){case 37:if(-1==e||0==e)e=b;this.oc(e-1);a.preventDefault();return!0;case 39:return e==b-1&&(e=-1),this.oc(e+1),a.preventDefault(),!0;case 38:-1==e&&(e=b+c-1);if(e>=c)return this.oc(e-c),a.preventDefault(),!0;break;case 40:if(-1==
e&&(e=-c),e<b-c)return this.oc(e+c),a.preventDefault(),!0}return!1};q.zu=function(){};q.Ae=function(){return this.gb};q.xb=function(a,b){if(this.b())throw Error(hc);this.gb=Oq(a)?new cy(a,b):a;this.yS()};q.Nz=function(){var a=this.zb();return a&&a[this.ib]};q.bja=function(){return this.M.BX(this.Nz())};q.oc=function(a){a!=this.ib&&(this.m_(this.ib,!1),this.LL=this.ib,this.ib=a,this.m_(a,!0),this.dispatchEvent("e"))};q.l6=function(a){var b=this.zb();this.oc(b&&a?ds(b,a):-1)};
q.yg=function(){return this.O?this.O.yg():-1};q.xa=function(){return this.O?this.O.xa():null};q.kf=function(a){this.O&&this.O.kf(a)};q.Bb=function(a){this.O&&this.O.Bb(a)};q.m_=function(a,b){if(this.b()){var c=this.zb();if(c&&0<=a&&a<c.length){var e=this.bja();this.Xs.b()!=e&&this.Xs.Na(e);this.Xs.RDa(b)&&this.M.kpa(this,c[a],b)}}};q.Jc=function(a){a&&-1==this.ib?this.oc(-1<this.LL?this.LL:0):a||this.oc(-1);iO.c.Jc.call(this,a)};q.nr=function(a,b){this.b()&&this.M.Pxa(this,a,b)};
q.yS=function(){var a=this.zb();if(a)if(this.gb&&this.gb.width){if(a=Math.ceil(a.length/this.gb.width),!Oq(this.gb.height)||this.gb.height<a)this.gb.height=a}else a=Math.ceil(Math.sqrt(a.length)),this.gb=new cy(a,a);else this.gb=new cy(0,0)};var hO=function(){mD.call(this,null);this.tw(2,!0)};B(hO,mD);hO.prototype.RDa=function(a){this.Jc(a);return this.gL()==a};var jO=function(a,b,c){this.ry=a||[];iO.call(this,null,b||fO.H(),c);this.Tya(this.ry)};B(jO,iO);q=jO.prototype;q.aC=null;q.lB=null;q.Tya=function(a,b){this.ry=a;this.lB=b||null;this.aC=null;this.eb(this.pea())};q.HJ=function(){var a=this.xa();return a?(a=Mz(a,"background-color"),kO(a)):null};q.mP=function(a){a=kO(a);this.aC||(this.aC=hs(this.ry,function(a){return kO(a)}));this.kf(a?ds(this.aC,a):-1)};
q.pea=function(){return hs(this.ry,function(a,b){var c=this.j().g(d,{"class":this.M.S()+"-colorswatch",style:"background-color:"+a});c.title=this.lB&&this.lB[b]?this.lB[b]:"#"==a.charAt(0)?"RGB ("+Gz(a).join(", ")+")":a;return c},this)};var kO=function(a){if(a)try{return Ez(a).Gu}catch(b){}return null};var lO=function(a,b,c,e){$D.call(this,a,b,c||cO.H(),e)};B(lO,$D);
var mO={QHa:"#000 #444 #666 #999 #ccc #eee #f3f3f3 #fff".split(" "),ILa:"#f00 #f90 #ff0 #0f0 #0ff #00f #90f #f0f".split(" "),NJa:"#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(" ")},nO=
function(a,b){var c=new BD(b);a&&D(a,function(a){c.ca(a,!0)});Qs(mO,function(a){a=new jO(a,null,b);a.xb(8);c.ca(a,!0)});return c};q=lO.prototype;q.HJ=function(){return this.getValue()};q.mP=function(a){this.setValue(a)};q.setValue=function(a){for(var b=0,c;c=this.cd(b);b++)typeof c.mP==Rh&&c.mP(a);lO.c.setValue.call(this,a)};q.wu=function(a){typeof a.target.HJ==Rh?this.setValue(a.target.HJ()):a.target.getValue()==Nk&&this.setValue(null);lO.c.wu.call(this,a);a.stopPropagation();this.dispatchEvent(k)};
q.Hb=function(a,b){a&&0==this.Xk()&&(this.Zg(nO(null,this.j())),this.setValue(this.getValue()));lO.c.Hb.call(this,a,b)};eD(ai,function(){return new lO(null)});var oO=function(){};B(oO,YD);Rq(oO);oO.prototype.S=function(){return wi};var pO=function(){};B(pO,oO);Rq(pO);pO.prototype.createCaption=function(a,b){return ZD(dO(a,b),this.S(),b)};pO.prototype.setValue=function(a,b){a&&eO(this.J(a),b)};pO.prototype.Bd=function(a){this.setValue(a.b(),a.getValue());U(C(a.b()),vi);pO.c.Bd.call(this,a)};var qO=function(a,b,c,e){lO.call(this,a,b,c||pO.H(),e)};B(qO,lO);eD(vi,function(){return new qO(null)});var rO=function(a,b,c,e){$D.call(this,a,b,c||oO.H(),e)};B(rO,$D);eD(wi,function(){return new rO(null)});var sO=function(a,b,c,e){bE.call(this,a,b,c||oO.H(),e)};B(sO,bE);eD("goog-toolbar-select",function(){return new sO(null)});var tO=function(a,b){yD.call(this,a||WN.H(),b)};B(tO,yD);eD(xi,function(){return new tO});var uO=function(a){a=a||{};return DF(vb+X(uj)+(a.checked?" "+X("jfk-radiobutton-checked"):"")+(a.disabled?" "+X("jfk-radiobutton-disabled"):"")+(a.Xd?" "+X(a.Xd):"")+'"'+(a.name?' data-name="'+X(a.name)+'"':"")+(a.value?' data-value="'+X(a.value)+'"':"")+(a.id?' id="'+X(a.id)+'"':"")+(a.attributes?" "+UF(a.attributes):"")+' role="radio"><span class="'+X("jfk-radiobutton-radio")+'"></span><div class="'+X("jfk-radiobutton-label")+ua+(a.label?W(a.label):"")+"</div></div>")};uO.ra="jfk.templates.radiobutton.strict";var wO=function(a,b,c,e){mD.call(this,null,vO.H(),a);this.qb=c||"";this.Ab=e||"";this.tb(16,!0);this.wD(16,!1);b&&this.Ra(b)};B(wO,mD);q=wO.prototype;q.Tc=function(a){this.ke(!0);return wO.c.Tc.call(this,a)};q.wc=function(a){switch(a.keyCode){case 38:case 37:return this.dispatchEvent(a.ctrlKey?"g":"i"),!0;case 40:case 39:return this.dispatchEvent(a.ctrlKey?"f":"h"),!0;case 32:return this.Tc(a);case 9:return this.dispatchEvent(a.shiftKey?"l":"k"),!1}return wO.c.wc.call(this,a)};
q.setValue=function(a){this.qb=a;var b=this.b();b&&this.M.setValue(b,a)};q.getValue=function(){return this.qb};q.Bw=function(a){this.Ab=a;this.b()&&this.M.Bw(this.b(),a)};q.getName=function(){return this.Ab};q.U=function(a){wO.c.U.call(this,a);this.dispatchEvent("j")};q.Ra=function(a){this.Ua=a;this.b()&&this.M.Ra(this.b(),this.Ua)};q.wg=function(){return this.Ua};var vO=function(){};B(vO,iD);Rq(vO);q=vO.prototype;
q.g=function(a){var b=$E(uO,{checked:a.bf(),disabled:!a.isEnabled(),name:a.getName(),value:a.getValue()},void 0,a.j());(a=a.wg())&&this.Ra(b,a);return b};q.R=function(a,b){vO.c.R.call(this,a,b);var c=b.getAttribute("data-value");c&&a.setValue(c);(c=b.getAttribute("data-name"))&&a.Bw(c);c=this.J(b);C(c);c.firstChild?a.Ra(c.firstChild.nextSibling?ys(c.childNodes):c.firstChild):a.Ra(null);return b};q.wd=function(){return"radio"};q.Ra=function(a,b){a=this.J(a);C(a);Ay(a);zy(a,b)};
q.setValue=function(a,b){a.setAttribute("data-value",b)};q.Bw=function(a,b){a.setAttribute("data-name",b)};q.J=function(a){return ky(this.S()+"-label",a)};q.S=function(){return uj};var yO=function(a,b){J.call(this);this.Ab=b||"";this.O=new aE;this.Y(this.O);this.G=new pC(this);this.Y(this.G);this.O.V6(xO);this.G.listen(this.O,mn,cr(this.dispatchEvent,Cf));this.G.listen(this,"f",this.Wla);this.G.listen(this,"g",this.Xla);this.G.listen(this,"h",this.ima);this.G.listen(this,"i",this.Hoa);this.G.listen(this,"j",this.pA);this.G.listen(this,"k",cr(this.hq,!1));this.G.listen(this,"l",cr(this.hq,!0));a&&D(a,this.Gd,this)};B(yO,J);q=yO.prototype;
q.Gd=function(a){C(null!=a);this.G.listen(a,k,this.gq);a.Sl(this);a.Bw(this.Ab);var b=a.bf();this.O.sc(a);b&&this.lk(a);a.b()&&this.pA()};q.lk=function(a){this.O.Bb(a);this.pA()};q.dA=function(){return this.O.xa()};q.zz=function(a){return this.O.cd(a)};q.getName=function(){return this.Ab};q.FY=function(){var a=this.dA();return a?a.getValue():null};q.yza=function(a,b){var c=this.O.cd(a);b&&this.lk(c);D(this.O.Gj(),function(a){a.b()&&Ty(a.b(),c==a)});try{c.b().focus()}catch(e){}};
q.rz=function(a,b,c){b=this.yI(a,b);-1!=b&&this.O.cd(b)&&(Ty(a.b(),!1),this.yza(b,c))};q.yI=function(a,b){var c=this.O.Xk();a=this.O.G_(a);for(var e=1;e<=c;e++){var f=(a+b*e)%c;f=0>f*c?f+c:f;if(this.zz(f).isEnabled())return f}return-1};q.Hoa=function(a){a=a.target;C(a);this.rz(a,-1,!0)};q.ima=function(a){a=a.target;C(a);this.rz(a,1,!0)};q.Xla=function(a){a=a.target;C(a);this.rz(a,-1,!1)};q.Wla=function(a){a=a.target;C(a);this.rz(a,1,!1)};q.hq=function(a,b){b=this.pA(b);try{var c=b[a?0:1];c&&c.b().focus()}catch(e){}};
q.pA=function(){var a=this.dA(),b=this.zz(0),c=a&&a.isEnabled(),e=c?a:b;C(e,"Must have at least one button in the group");e.isEnabled()||(a=this.yI(e,1),e=-1!=a?this.zz(a):null);var f=e;e&&!c&&(a=this.yI(e,-1),f=-1!=a?this.zz(a):null);D(this.O.Gj(),function(a){a.b()&&Ty(a.b(),e==a||f==a)});return[e,f]};q.gq=function(a){a=a.target;this.lk(a);try{a.b().focus()}catch(b){}};q.o=function(){D(this.O.Gj(),function(a){G(a)});yO.c.o.call(this)};var xO=function(a,b){a.ke(b);a.b()&&Ty(a.b(),b)};var zO=function(a){return(a.c8?'<p class="plus-page-url-dialog-warning">Debes enlazar tu p\u00e1gina de Google+ al sitio para poder a\u00f1adir una insignia.</p>':"")+'<p>La funci\u00f3n "Conexi\u00f3n directa" de Google+ ayuda a los visitantes a encontrar tu p\u00e1gina de Google+ para que puedan a\u00f1adirla a sus c\u00edrculos directamente desde la B\u00fasqueda de Google. Despu\u00e9s de crear una p\u00e1gina de Google+, con\u00e9ctala a tu sitio a\u00f1adiendo el ID de la p\u00e1gina a continuaci\u00f3n.</p>'+
(a.X7?'<p class="plus-page-url-dialog-warning">Este ajuste se aplicar\u00e1 a todo el sitio.</p>':"")+'<p class="plus-page-url-prefix">https://plus.google.com/<input type="text" id="'+X(a.dqa)+'" value="'+X(a.id)+'" class="plus-page-id-input" aria-label="Tu ID de p\u00e1gina de Google+"/>/</p>'};zO.ra="sites.pages.settings.templates.PlusPageDialog.content";var AO=function(a,b,c){this.lb=a;this.La=new nJ;this.v2=c;this.XW=b.length;this.La.fb("Subiendo...");this.La.Ph((new DC).set(HC.No,fc,!0,!0));AG(this.La,HC.No);this.rN={};c=[];for(a=0;a<b.length;a++)if(b[a]){var e=b[a].getId();c[a]=e;this.rN[e]=new UN}XE(this.La.J(),BI,{Apa:c});this.La.jza(!0);this.La.C(!0);for(a=0;a<b.length;a++)e=c[a],this.jf(e,"En cola..."),this.rN[e].render(P(Gp+e));for(a=0;a<b.length;a++)if(c=b[a])this.mAa(c.getId(),c.getName(),c.bc),this.update(c);I(this.La,Lg,y(this.Nla,this))};
w("sites.attachments.Dialog",AO,void 0);q=AO.prototype;q.update=function(a){var b=a.getId(),c=this.lb.Uk(a);c==ej?this.jf(b,"En cola..."):c==Uo?(this.n6(b,"url("+webspace.getPath(webspace.baseUri,db)+")"),this.M6(b,0)):c==wp?(a=100*a.Ds/a.bc,isNaN(a)&&(a=0),this.M6(b,a)):c==ap?(this.GG(b),this.jf(b,"Finalizada"),this.XW--,0==this.XW&&(b=this.La.Wb,b.Cj(b.ci).click())):c==ph||c==yl?(this.GG(b),this.be(a)):(this.GG(b),this.Jda(b))};
q.be=function(a){var b=a.getId();(a=this.lb.cq(a))?(a=a.iz)?1==a.error?this.jf(b,Fc):2==a.error?this.jf(b,"No tienes permiso para subir contenido en esta \u00e1rea."):3==a.error?this.jf(b,"El archivo que intentas subir es demasiado grande."):4==a.error?this.jf(b,"Est\u00e1s intentando subir un archivo con un nombre reservado o con una extensi\u00f3n que no es segura. Cambia el nombre del archivo y vuelve a intentarlo."):5==a.error?this.jf(b,"El archivo que intentas subir est\u00e1 vac\u00edo."):6==
a.error?this.jf(b,"Existe una p\u00e1gina web con este nombre de archivo. Cambia el nombre del archivo y vuelve a intentarlo."):7==a.error?this.jf(b,"Has superado tu cuota de almacenamiento. Elimina algunos de los archivos existentes y vuelve a intentarlo."):this.jf(b,Fc):this.jf(b,Fc):this.jf(b,Fc)};q.Nla=function(){this.v2&&this.v2()};q.mAa=function(a,b,c){b=18<b.length?b.slice(0,15)+"...":b;null!=c&&(b+=" ("+Math.ceil(c/1024)+"k)");Ny(P("upload-name-"+a),b)};
q.n6=function(a,b){(a=P("upload-icon-"+a))&&Q(a,"background-image",b)};q.GG=function(a){this.n6(a,"")};q.Jda=function(a){this.jf(a,"")};q.jf=function(a,b){var c=P(Gp+a);a=P(Hp+a);Ny(a,b);R(c,!1);R(a,!0)};q.M6=function(a,b){var c=P(Gp+a),e=P(Hp+a);this.rN[a].setValue(b);R(e,!1);R(c,!0)};var BO=function(a,b,c,e,f){this.sd=webspace.domain;this.$i=webspace.name;this.Og=webspace.page.path;this.wX=!1;this.WW=this.vI=this.La=null;this.kQ=0;this.kW=!1;this.Jm=null;c&&(this.Jm=new mG(f),this.Jm.U(!1),e?this.Jm.render(P(a)):this.Jm.R(P(a)));e=webspace.scottyUrl;webspace.user.sessionIndex&&(e+="?authuser="+webspace.user.sessionIndex);e=new FN(e);e.mxa(["XHR",Tc]);e.yBa(a);e.Jza(a);this.lb=e.eV();this.lb.Ar(b);this.lb.Cya(!1);c?I(this.Jm,k,y(this.dZ,this)):I(P(a),Kf,y(this.dZ,this));I(this.lb,
Gh,y(this.qma,this));I(this.lb,Rp,y(this.OZ,this));I(this.lb,Qp,y(this.OZ,this))};w("sites.attachments.UploadButton",BO,void 0);q=BO.prototype;q.p7=function(a){this.Og=a};q.c6=function(a,b){this.vI=a;this.WW=b};q.Bza=function(a){this.wX=a};q.kza=function(a){this.kW=a};q.U=function(a){null!=this.Jm&&this.Jm.U(a)};q.dZ=function(){this.kQ=this.UX();this.lb.So(!1)};q.OZ=function(a){this.La&&a.file&&this.La.update(a.file)};
q.ava=function(a){if(null!=this.vI)for(var b=0;b<a.files.length;b++)if(!a.files[b].getName().match(this.vI))return!1;return!0};q.qma=function(a,b){if(this.ava(a)){!b&&a.files&&(this.La=new AO(this.lb,a.files,y(this.eC,this)));b=xh;this.wX&&(b=yp);var c=xh;this.kW&&(c=yp);b={domain:this.sd,webspace:this.$i,path:this.Og,generateFileName:b,editorAdded:c};for(c=0;c<a.files.length;c++)a.files[c].hAa(b),this.lb.er(a.files[c])}else alert(this.WW)};q.UX=function(){var a=this.lb.Iz();return a?a.length:0};
q.mY=function(){var a=[],b=this.lb.Iz();if(b)for(var c=0,e=this.kQ;e<b.length;e++)if(b[e]){var f=this.lb.cq(b[e]);f&&(f=f.iz)&&f.path&&(a[c]=f.path,c++)}return a};q.eC=function(){window.location.reload()};var CO=/.*?\.(gif|jpg|jpeg|png)\s*$/i;w("sites.attachments.UploadButton.initFileCabinetButton",function(a){a=new BO(a,!0,!0,!1);a.U(!0);return a},void 0);w("sites.attachments.UploadButton.initAttachmentManagementButton",function(a){a=new BO(a,!0,!0,!1);a.p7("/");a.U(!0);return a},void 0);
w("sites.attachments.UploadButton.initColorsAndFontsButton",function(a,b){var c=new BO(a,!1,!0,!1);c.p7("/config");c.Bza(!0);c.c6(CO,yd);c.eC=function(){var a=c.mY();1==a.length&&b(a[0]);E&&(c.kQ=c.UX())};c.U(!0);return c},void 0);w("sites.attachments.UploadButton.initTrogEditImageUploadButton",function(a,b){var c=new BO(a,!0,!0,!0,"Subir im\u00e1genes");c.kza(!0);c.c6(CO,yd);c.eC=function(){var a=c.mY();0!=a.length&&b(a)};c.U(!0);return c},void 0);var DO=0,GO=function(){DO++;iI("RenderAttachments",{page:webspace.page.path},cr(EO,DO),FO);R(P(ao),!0)},EO=function(a,b){if(a==DO)if(R(P(ao),!1),a=b.target.Ba(),a.error)FO(b);else{b=P("sites-attachments-container");a=a.html;Ay(b);a="<doc>"+a+"</doc>";if("undefined"!=typeof DOMParser)a=(new DOMParser).parseFromString(a,"application/xml");else if(NN){var c=new ActiveXObject(ed);c.resolveExternals=!1;c.validateOnParse=!1;try{c.setProperty("ProhibitDTD",!0),c.setProperty("MaxXMLSize",2048),c.setProperty("MaxElementDepth",
256)}catch(e){}c.loadXML(a);a=c}else throw Error("Your browser does not support loading xml documents");for(a=a.documentElement;c=a.firstChild;)b.appendChild(c);HO("sites-attachments-add-file-btn")}},HO=function(a){a=new BO(a,!0,!1,!1);a.U(!0);a.eC=function(){GO()};return a};w("sites.attachments.PageAttachmentsUtils.initUploadButton",HO,void 0);var FO=function(){S("Error al recuperar la lista de archivos adjuntos.")};var IO={nLa:Vn,mIa:aj,lIa:$i},JO=function(a){return Zs(IO,a)?a:Nq(a)?a?aj:$i:Vn};var KO=function(a){a&&this.xAa(a)};q=KO.prototype;q.Yk=function(){return this.$R};q.xAa=function(a){this.$R=a};q.ca=function(a){var b=this.zv||0;this[b]=a;this.zv=b+1;return a};q.rs=function(a){return this.ca(new KO(a))};q.Ia=function(a,b){if(b){var c=[],e;for(e in this){var f=this[e];"undefined"!=typeof f&&f.Yk&&c.push(f)}c.sort(b);for(b=0;b<c.length;b++)a(c[b])}else for(e in this)f=this[e],"undefined"!=typeof f&&f.Yk&&a(f)};var LO=function(){KO.apply(this)};B(LO,KO);
LO.prototype.Dba=function(a){function b(a,c,g){var e=a.shift(),f=g[e];f||(f=new KO,g[e]=f);0==a.length?f.$R=c:b(a,c,f)}if(a.path){var c=a.path.split("/");""==c[0]&&c.shift();b(c,a,this)}};LO.prototype.vB=function(a){for(var b=0;b<a.length;b++)this.Dba(a[b]);this.jta=a.length};jE.IG=JOT_clearDotPath;
var MO=function(a,b,c,e,f,g,h,l){V.call(this);this.Dc(a);this.P7=b;this.vk=f;this.Qy=g;this.Fd=l;this.LK=!!h;this.Dl={};this.Vq={};this.Ci={};this.SK=0;this.HB=Number.MAX_VALUE;this.U0=function(a){return xr(a[fk])};this.Fh=this.YH=!0;this.$i=c;jE.IG||(jE.IG=this.$i.baseUri+"/system/app/images/cleardot.gif");a=$q(jE);e?(this.aa=new iE(CE(e||""),a),a={},a.path=this.$i.page.path,a[fk]=xr(e||""),b=this.aa.xa(),b.AD(a)):(e=rx(this.$i.siteTitle||""),this.aa=new iE(e,a),a={path:"/"},a[fk]=px(e),b=this.aa.xa(),
b.AD(a),b.j7("/"),a=kI(this.$i.siteTitle),b.Rh(zx(Po,{dir:a},e)),this.vk&&I(this.aa,Cf,y(this.vk,this)),this.Qy&&(b.Dv=cr(this.Qy,b)));this.LK&&(this.aa.m6(Io),this.aa.Z5(Io),this.aa.rP(!1),this.aa.X6(!1),this.aa.WAa(!0));this.pe(this.aa,0);this.DCa=null;this.iv=!1};B(MO,V);q=MO.prototype;q.$z=function(a){return a.split("/").length-1};q.ID=function(a){this.Fh=a};q.dAa=function(a){this.HB=a};q.yw=function(a){this.U0=a};q.JD=function(a){(this.iv=a)&&this.A().listen(this.aa,"beforeexpand",this.Hta)};
q.By=function(a){var b=this.aa.createNode("");this.$i.page.isSiteRtlLocale&&b.po(!0);b.ID(this.Fh);b.AD(a);this.ho(b);this.vk&&(b.u2=y(this.vk,this));this.Qy&&(b.Dv=cr(this.Qy,b));this.LK&&(a=this.lka(a.pageInheritsPermissions),b.m6(a),b.Z5(a));return b};q.lka=function(a){var b="sites-tree-icon-permissions-icon";switch(JO(a)){case Vn:b+=" sites-tree-icon-permissions-site-icon";break;case aj:b+=" sites-tree-icon-permissions-inherits-icon";break;case $i:b+=" sites-tree-icon-permissions-ignores-icon"}return b};
q.g=function(){function a(b,g){var f=g.Yk(),l=b;f&&(l=f.path?this.$z(f.path):0,l>this.SK&&(this.SK=l),l=e.By(f),this.iv&&f.path&&(this.Vq[f.path]=l),b.add(l),e.ho(l));g.Ia(y(a,this,l),c)}var b=this.aa,c=this.DCa,e=this;this.P7?a.call(this,b,this.$):this.$.Ia(y(a,this,b),c);b.g();this.Na(b.b())};q.qga=function(a){this.aa.V&&(!this.YH&&a?this.aa.ap():a||this.aa.rj());this.YH=a};
q.B=function(){MO.c.B.call(this);if(this.Fd){var a=this;I(this.aa.rb,Hj,function(b){13==b.keyCode&&(a.Fd(b),b.preventDefault())})}this.YH||this.aa.rj();30<this.$.jta?this.Ls():this.iv||this.fz();this.kt(this.aa,jj,!0)};q.fka=function(){function a(a){var c={},f=a.$d(),g=f.path;g?0!=g.indexOf("/system/")&&(g=f.wuid):(g=f.url,c.title=f[fk],c.openNewWin=!!f[ek]);c.id=g;a.si()&&(c.children=b(a));return c}function b(b){var c=[];for(b=b.si();b;b=b.fe)c.push(a(b));return c}return b(this.aa)};
q.pP=function(a,b){if("/"==a)return this.aa.Bb(this.aa),this.aa;if(!this.aa.Pc().length)return null;var c=a;a+="/";for(var e=this.aa,f=!0;f;){var g=e.Pc();f=!1;for(var h=0;h<g.length;h++){var l=g[h];if(er(a,l.$d().path+"/")){f=!0;e=l;break}}}if(this.iv&&e&&e!=b&&e.$d().path!=c)return e.expand(),this.A().Of(this,"lazyLoad",y(this.pP,this,c,e)),null;e.Zv();this.aa.Bb(e);return e};MO.prototype.setSelectedPageByPath=MO.prototype.pP;
MO.prototype.OAa=function(a){function b(c){if(c.$d().wuid==a)return c;for(c=c.si();c;c=c.fe){var e=b(c);if(e)return e}return null}var c=b(this.aa);this.aa.Bb(c);return c};MO.prototype.setSelectedPageByWuid=MO.prototype.OAa;MO.prototype.Yka=function(){return this.aa};MO.prototype.getTreeControl=MO.prototype.Yka;MO.prototype.tc=function(){return!1};MO.prototype.fz=function(){this.aa.fz()};MO.prototype.Ls=function(){this.aa.Ls();this.aa.Td(!0)};
MO.prototype.xa=function(a){var b=this.aa.xa();a||b!=this.aa||this.P7||(b=null);return b};MO.prototype.getSelectedItem=MO.prototype.xa;q=MO.prototype;q.rs=function(a,b){a=this.By(a);if(b){var c=b.getParent();b=b.fe}else c=this.aa,b=null;c.add(a,b);this.ho(a);return a};q.Cwa=function(){var a=this.xa();if(a){var b=a.getParent(),c=a.fe||a.Ei;null==c&&b!=this.aa&&(c=b);b.remove(a);this.aa.Bb(c);return!0}return!1};q.ho=function(a){var b=a.$d();a.Rh(CE(this.U0(b,a)));a.j7(b.url||b.path||null)};
q.UO=function(a,b){a.AD(b);this.ho(a)};q.yM=function(a,b,c){if(b&&b!=this.aa){var e=b.getParent();c&&(b=b.fe);e.add(a,b);this.ho(a);this.aa.Bb(a);return!0}return!1};q.Vsa=function(){var a=this.xa();if(a){var b=a;do{var c=b.fe;if(!c&&(b=b.getParent(),b===this.aa))return!1}while(null==c);return this.yM(a,c,!0)}return!1};q.Wsa=function(){var a=this.xa();return null!=a&&this.yM(a,a.EJ(),!1)};
q.Gpa=function(){var a=this.xa();if(a){var b=a.Ei,c=this.HB!==Number.MAX_VALUE;if(b&&(!c||b.Tk()+1<=this.HB)){b.add(a);b.expand();this.ho(a);this.aa.Bb(a);if(c){c=[];for(var e=0;e<a.Xa();e++){var f=a.pa(e);a.Tk()+this.UY(f)>this.HB&&c.push(f)}for(e=0;e<c.length;e++)b.add(c[e])}return!0}}return!1};q.Iua=function(){var a=this.xa();if(a){var b=a.getParent();if(b&&b!=this.aa)return this.yM(a,b,!0)}return!1};
q.Sba=function(a,b){var c=b.target.getResponseJson();b=a.$d().path;var e=c.pages;c=c.tNa;this.Dl[b]||(this.Dl[b]=a);for(var f={},g=e.length,h=0;h<g;h++){var l=e[h],p=l.path;if(!this.Vq[p]&&!this.Dl[p]){var r=this.By(l);this.Dl[p]=r;l=this.$z(p);p=p.split("/");var z=p.slice(0,l).join("/");f[z]=1;if(z=this.Dl[z]||this.Vq[z])for(z.add(r),r=1;r<l;r++)(z=p.slice(0,r).join("/"))&&(this.Ci[z]=1)}}for(var O in f)this.$z(O)<c-1&&(this.Ci[O]=1);this.Ci[b]=1;O=a.si();O.$d().loadingNode&&(a.removeChild(O),a.Ia(y(function(a){var b=
a.b();b&&(b.style.display="");this.kt(a,jj)},this)));this.dispatchEvent("lazyLoad")};q.Ssa=function(a,b){var c=a.$d(),e=b.$d(),f=c.path,g=bI(e.path,NO(f.substring(f.lastIndexOf("/")+1),e.path)),h=Vy(a.SI());Ny(a.SI(),"(En movimiento)");webspace.zM({path:f,newPath:g},y(function(c){Ny(a.SI(),h);c=c.target.Ba();c.error?S(c.error.substring(c.error.lastIndexOf(":")+1)):(a.getParent().remove(a),this.M9(f,g,a),b.add(a),b.expand(),this.kt(a,jj,!0),ZA())},this))};
q.UY=function(a){if(!a)return 0;for(var b=0,c=0;c<a.Xa();c++)b=Math.max(this.UY(a.pa(c)),b);return b+1};q.M9=function(a,b,c){var e=c.$;if(0==e.path.indexOf(a)){var f=e.path;e.path=b+e.path.substring(a.length);this.lEa(c,f,e.path);c.Na(null);this.ho(c);c.Ia(y(this.M9,this,a,b))}};q.lEa=function(a,b,c){this.Dl[b]&&(this.Dl[c]=a,delete this.Dl[b]);this.Ci[b]&&(this.Ci[c]=this.Ci[b],delete this.Ci[b]);this.Vq[b]&&(this.Vq[c]=a,delete this.Vq[b])};
q.Hta=function(a){a=a.target;var b=a.$d().path,c=this.$z(b);if(c<this.SK-1||this.Ci[b]||"/"==b)a.Zv(),this.A().Of(a,th,function(a){a.target.Ia(y(function(a){this.kt(a,jj,!0)},this))});else if(!Ys(this.Ci,b)){this.Ci[b]=null;var e=a.si(),f=this.By({loadingNode:!0,"main/title":"",path:""});f.Rh(zx(Po,{style:{"font-style":"italic"}},"Cargando"));a.add(f,e);a.expand();this.A().Of(this,th,function(a){a=a.target.Pc();for(var b=a.length,c=1;c<b;c++){var e=a[c].b();e&&(e.style.display=Nk)}});iI("ShallowSearch",
{forDescendants:b,order:"path",filterName:"pagetreeview",filterVars:{$clickedPathDepth:c,$clickedPathDepth2:c+4},limit:2500,includePermissionsMetaData:this.LK,adjustDepthForLargeResults:!0},y(this.Sba,this,a))}return!0};q.kt=function(a,b,c){a.Od()&&this.dispatchEvent(new OO(b,a));c&&a.Ad()&&a.Ia(y(function(a){this.kt(a,b,c)},this))};q.dispose=function(){this.gJ()||this.aa.dispose()};MO.prototype.dispose=MO.prototype.dispose;var OO=function(a,b){H.call(this,a);this.U8=b};B(OO,H);
OO.prototype.o=function(){OO.c.o.call(this);this.U8=null};var QO=function(a){this.Pw=P(a||"sites-sidebar-expander");this.G=new pC(this);this.kU=!1;this.y0=null;PO.push(this)};B(QO,F);var PO=[];w("sites.CollapsibleSidebar.createCollapsibles",function(a){var b=P("mobile-sidebar-expander");b&&(new QO(b)).pT(a,!0);if(a=ky("sites-header-nav"))b=new QO("sites-horiz-expander"),b.pT(a),b.SD(!0)},void 0);q=QO.prototype;q.Qi=null;
q.pT=function(a,b){this.Qi=P(a);b&&(this.G.listen(window,[ml,Vm],y(this.PT,this)),this.PT());this.Pw&&this.G.listen(new uB(this.Pw),k,y(this.FDa,this));this.Qi&&jB(this.Qi,"initial")};q.SD=function(a){if(this.Pw&&this.Qi){this.kU=a;var b=this.Pw;a?hB(b,Nf):jB(b,Nf);b=this.Qi;a?hB(b,Nf):jB(b,Nf);a||this.Rda()}};q.o=function(){G(this.G);this.Pw=this.Qi=null;QO.c.o.call(this)};q.FDa=function(){this.SD(!this.kU)};q.PT=function(){var a=this.Bda();a!=this.y0&&(this.SD(a),this.y0=a)};
q.Bda=function(){if("undefined"!==typeof window.orientation)return!(0!=window.orientation&&180!=window.orientation);var a=oy();return a.width<a.height};q.Rda=function(){for(var a=0,b;b=PO[a];++a)this!=b&&b.SD(!0)};var RO=function(a,b,c,e,f,g){this.ma=a;this.Ua=b;this.Va=c;this.i8=e||null;this.ya=f||null;this.R_=u(g)?g:null};w("sites.core.SearchProvider",RO,void 0);q=RO.prototype;q.getId=function(){return this.ma};q.wg=function(){return this.Ua};q.getType=function(){return this.Va};q.getUrl=function(){return this.ya};q.ad=function(a){return this==a?!0:a.ma==this.ma&&a.Ua==this.Ua&&a.Va==this.Va&&a.i8==this.i8&&a.ya==this.ya&&a.R_==this.R_};var SO=function(a,b){this.ia=a||{};this.ZO(b?b.logoUrl:null);this.U5(b?b.defaultLogoUrl:null);this.v7(b?b.webspaceType:null);this.Y5(b?b.expandedHorizontalNavigationTree:null);this.i6(b?b.genericWidgetIconUrl:null);this.e7(b?b.textWidgetIconUrl:null);this.N6(b?b.recentChangesWidgetIconUrl:null);this.Q5(b?b.countdownWidgetIconUrl:null);this.Fya(b?b.bleedSiteHeaderBackgroundColorRepeat:null);this.Gya(b?b.bleedSiteHeaderBackgroundImageRepeat:null);this.aza(b?b.defaultHorizNavStyle:null)};
w("sites.core.Config",SO,void 0);q=SO.prototype;q.gM=null;q.uH=null;q.x$=null;q.pI=null;q.RI=null;q.BQ=null;q.wN=null;q.SG=null;q.BV=null;var TO={eGa:ng,$Ha:Oi},UO={IIa:"links",$La:"tabs",KFa:"boxes"},VO={jaa:Rj,Iaa:Wm,NONE:Ok};q=SO.prototype;q.aw=function(a,b){b=y(this.Bxa,this,y(this.Tla,this,b));var c=y(this.Cxa,this);iI("SaveConfig",{properties:a.ia},b,c)};q.Tla=function(a){WO(a)};
q.Bxa=function(a,b){(b=b.target.Ba().error)?S("ERROR: los cambios no se han guardado. Vuelve a intentarlo en unos minutos. ["+b+"]"):(S("Se han guardado los cambios."),ZA(1E4),a&&a())};q.Cxa=function(){S("ERROR: los cambios no se han guardado. Vuelve a intentarlo en unos minutos.")};q.clone=function(a){this.ia=dt(a.ia);this.ZO(a.gM);this.U5(a.uH);this.v7(a.aZ());this.Y5(a.pI);this.i6(a.RI);this.e7(a.BQ);this.N6(a.wN);this.Q5(a.SG)};q.nJ=function(){return this.ia[$f]};
q.PO=function(a){this.ia[$f]=a};q.Lz=function(){var a=this.nJ();return a?"%"==a?"logo":yg:jp};q.Mz=function(){var a=this.ia[bg];return a==up?up:a==qk?qk:a==uf?uf:jp};q.bY=function(){return this.ia[ag]==Bf?Bf:So};q.Bja=function(){return this.ia[cg]};q.XO=function(a){this.ia[cg]=a};q.Uz=function(){var a=this.Bja();return"DEFAULT_LOGO"==a?webspace.isConsumer?Nk:Xg:"NO_LOGO"==a?Nk:yg};q.Dja=function(){return this.ia[dg]};q.Zza=function(a){this.ia[dg]=a};
q.OO=function(a,b){a==yg&&b?this.PO(String(b)):"logo"==a?this.PO("%"):a==jp&&this.PO(null)};q.Fza=function(a){this.ia[bg]=a==up||a==qk||a==uf?a:jp};q.Eza=function(a){this.ia[ag]=a==Bf?a:So};q.YO=function(a,b,c){a==Nk?this.XO("NO_LOGO"):a==Xg?this.XO("DEFAULT_LOGO"):a==yg&&b&&c&&(this.XO(b),this.Zza(c),this.ZO(bI(webspace.baseUri,"/config/customLogo.gif?revision="+this.Dja())))};q.Cqa=function(){return this.Lz()==jp};q.q0=function(){return"logo"==this.Lz()};q.Bqa=function(){return this.Lz()==yg};
q.Hqa=function(){return this.Mz()==jp};q.Iqa=function(){return this.Mz()==up};q.Gqa=function(){return this.Mz()==qk};q.Fqa=function(){return this.Mz()==uf};q.Eqa=function(){return this.bY()==So};q.Dqa=function(){return this.bY()==Bf};q.Qqa=function(){return this.Uz()==Nk};q.Pqa=function(){return this.Uz()==Xg};q.Oqa=function(){return this.Uz()==yg};q.U5=function(a){this.uH=a||""};q.ZO=function(a){this.gM=a||""};q.aZ=function(){return this.x$==Oi?Oi:ng};q.v7=function(a){this.x$=Zs(TO,a)?a:ng};
q.xra=function(){return this.aZ()==Oi};q.Ika=function(){return!!this.ia[Uf]};q.ZAa=function(a){this.ia[Uf]=!!a};q.Hka=function(){return!!this.ia[Tf]};q.YAa=function(a){this.ia[Tf]=!!a};q.pJ=function(){var a=this.ia[Vf];return Zs(UO,a)?a:this.IX()};q.Hza=function(a){this.ia[Vf]=Zs(UO,a)?a:this.IX()};q.Iza=function(a){this.ia["component/navbar/navigationTree"]=a};q.Y5=function(a){this.pI=a||"{}"};q.i6=function(a){this.RI=a||""};q.e7=function(a){this.BQ=a||""};q.N6=function(a){this.wN=a||""};
q.Q5=function(a){this.SG=a||""};q.nra=function(){return!!this.ia[ig]};q.kBa=function(a){this.ia[ig]=a};q.qra=function(){return!!this.ia[lg]};q.nBa=function(a){this.ia[lg]=a};q.pra=function(){return!!this.ia[kg]};q.mBa=function(a){this.ia[kg]=a};q.ora=function(){return!!this.ia[jg]};q.lBa=function(a){this.ia[jg]=a};q.Xu=function(){var a=this.ia[Xf];return!a||"goog-ws-none"!=a&&-1==a.indexOf("nohead")};q.yq=function(){return!!this.ia[eg]};q.K0=function(){return this.Yu()||this.Cq()};
q.Yu=function(){var a=this.ia[Xf];return!a||-1!=a.indexOf(Rj)};q.Cq=function(){var a=this.ia[Xf];return!!a&&-1!=a.indexOf(Wm)};q.TA=function(){var a=this.ia[Zf];return!!a&&a!=Nk};q.Nza=function(a){this.ia[Xf]=this.WI(!!a,this.JY(),this.yq())};q.Gia=function(){return this.ia[Yf]};q.Xya=function(a){this.ia[Yf]=a};q.Oza=function(a){this.ia[eg]=!!a;this.ia[Xf]=this.WI(this.Xu(),this.JY(),!!a)};q.uP=function(a){Zs(VO,a)&&(this.ia[Xf]=this.WI(this.Xu(),a,this.yq()))};
q.JY=function(){return this.Yu()?Rj:this.Cq()?Wm:Ok};q.Mza=function(a){this.ia[Zf]=a?"content":Nk};q.WI=function(a,b,c){var e="goog-ws";if(!a&&b==Ok&&!c)return e+"-none";c&&(e+="-nav");e+="-"+b;a||(e+="-nohead");return e};q.bBa=function(a){this.ia[gg]=a.toString()};q.Y6=function(a){this.ia[fg]=a||""};q.KY=function(){return Number(this.ia[gg])||150};q.IY=function(){return this.ia[fg]};q.eA=function(){return this.ia[Sf+this.ia[fg]+"/items"]||[]};
q.tP=function(a){this.ia[Sf+this.ia[fg]+"/items"]=a||[]};q.hf=function(a,b,c){this.ia[Sf+c+"/"+a]=b};q.Cf=function(a,b){return this.ia[Sf+b+"/"+a]};q.JJ=function(a){var b=this.ia[Sf+a+"/type"];b==ab&&this.ia[Sf+a+"/myLinksOnly"]&&(b=bb);return b};q.iwa=function(a){a=Sf+a+"/";for(var b in this.ia)-1!=b.indexOf(a)&&(this.ia[b]=null)};q.Z6=function(a){this.ia[hg]=a};q.KJ=function(){return this.ia[hg]};q.Fya=function(a){this.Wca=a};q.Gya=function(a){this.Xca=a};q.aza=function(a){Zs(UO,a)&&(this.BV=a)};
q.IX=function(){return this.BV||"boxes"};q.hra=function(){return this.ia["config/search/settings/disabled"]?!1:!0};var XO=!1,WO=function(a){XO||(XO=!0,iI("GetDialogProperties",{},cr(YO,a),ZO))},YO=function(a,b){XO=!1;b=b.target.Ba();a(new SO(b.props,b.extraProps))},ZO=function(){XO=!1;S("Se ha producido un error al cargar los di\u00e1logos de edici\u00f3n del dise\u00f1o del sitio.")};var $O=function(a,b){this.v=a;this.L=b||N()};$O.prototype.j=function(){return this.L};$O.prototype.update=function(){this.Lw()?this.show():this.Ce()};$O.prototype.handleError=function(){S("ERROR: la p\u00e1gina no se ha podido actualizar con tus cambios. Vuelve a cargarla.")};var aP=function(a,b){for(var c=0;c<b.length;c++){var e=a.b(b[c]);if(e){var f=a.g(d,Ao,e.childNodes),g=a.g(d,zo);a.appendChild(f,g);a.appendChild(e,f)}}},bP=function(a,b){for(var c=0;c<b.length;c++){var e=a.b(b[c]);if(e){var f=a.Fc(Ao,e),g=a.Fc(zo);a.removeNode(g);f&&(g=a.Pc(f),a.append(e,g),a.removeNode(f))}}},cP=function(a){(a=a.b(po))&&a.setAttribute(Yk,"return false")};var dP=function(a,b){$O.call(this,a,b);this.Fa=this.j().b(oo);this.nDa=this.j().b(io)};B(dP,$O);q=dP.prototype;q.Lw=function(){return this.v.Xu()};q.show=function(){iI("RenderHeader",{},y(this.ln,this),y(this.handleError,this));Ty(this.Fa,!0);R(this.Fa,!0)};q.Ce=function(){this.j().Ke(this.Fa);Ty(this.Fa,!1);R(this.Fa,!1)};
q.ln=function(a){a=a.target.Ba();this.BEa(a.html);this.nDa.className=a.hboxClassName;this.gEa();var b=JSON.parse(a.serializedScopes),c=JSON.parse(a.configureSearch);this.SBa()&&hL(a.searchButtonId,b.object,a.defaultScopeJsSafe,c)};q.gEa=function(){var a=this.v.Lz(),b=this.wqa(a,this.v.Uz());this.rza(b);this.Yya(!b&&a==yg)};q.SBa=function(){return this.v.hra()};q.wqa=function(a,b){return a!=yg&&b==yg};
q.rza=function(a){a=a?kf:"";var b=this.j().b(io),c=this.j().b("sites-chrome-header-wrapper");fA(b,a);fA(c,a)};q.Yya=function(a){a=a?this.v.nJ()||"":"";var b=this.j().b("sites-header-title");fA(b,a)};q.BEa=function(a){var b=wy(document,Og);b.innerHTML="<table><tr>"+a+"</tr></table>";a=Gy(b.firstChild.rows[0]);aP(this.j(),a);this.j().Ke(this.Fa);this.j().append(this.Fa,a);cP(this.j())};var fP=function(a){var b=a.b(jo);b&&eP(a,b,"Haz clic para editar la navegaci\u00f3n horizontal.")},gP=function(a){var b=a.b(ho);b&&eP(a,b,"Haz clic para editar el pie de p\u00e1gina personalizado.")},eP=function(a,b,c){hr(Vy(b))&&(c=ZE(SI,{qpa:c}),a.WK(b,c,0))};var hP=function(a,b){$O.call(this,a,b);this.Fa=this.j().b(jo)};B(hP,$O);hP.prototype.Lw=function(){return this.v.yq()};hP.prototype.show=function(){iI("RenderNavigationBar",{page:webspace.page.path},y(this.ln,this),y(this.handleError,this));Ty(this.Fa,!0);R(this.Fa,!0)};hP.prototype.Ce=function(){this.j().Ke(this.Fa);Ty(this.Fa,!1);R(this.Fa,!1)};hP.prototype.ln=function(a){a=a.target.Ba();this.Fa.innerHTML=a.html;vI("sites-header-nav-dropdown",!1);aP(this.j(),[this.Fa]);fP(this.j())};var jP=function(){this.Zoa=!!Pq("gbar.lPWF");this.OI=!1;iP=[];iP.push("g-plusone");webspace.features.plusBadge&&iP.push("g-plus");window.hNa={lang:webspace.page.locale,ZNa:"explicit"}};Rq(jP);var iP=[],kP=function(a){jP.H().go(a)};w("sites.util.Plus.go",kP,void 0);JOT_addListener("renderPlus",function(a){kP(a.payload)});q=jP.prototype;q.go=function(a){a=P(a||null)||document.body;this.$oa(a)&&(this.Zoa?this.pla(a):this.ola(a))};
q.$oa=function(a){for(var b=0;b<iP.length;b++)if(0<iy(Og,iP[b],a).length)return!0;return!1};q.DN=function(a){gapi.plusone.go(a)};q.CN=function(a){webspace.features.plusBadge&&gapi.plus.go(a)};q.MO=function(a){this.OI=a};q.ola=function(a){var b=y(this.mda,this,a);this.OI?b():webspace.features.gapiLoaderUtil?(b=y(this.lda,this,a),UH(b)):this.Pra(b)};q.Pra=function(a){var b=LH(Qw(vw(Ti)));b.ua(y(this.MO,this,!0));b.ua(a)};q.lda=function(a){this.MO(!0);this.DN(a);this.CN(a)};
q.mda=function(a){this.DN(a);this.CN(a)};q.pla=function(a){gbar.lPWF(y(this.DN,this,a));webspace.features.plusBadge&&(a=y(this.CN,this,a),this.OI?a():gbar.lPWF(y(this.Ura,this,a)))};q.Ura=function(a){var b=y(this.MO,this,!0);gapi.load("plus",function(){b();a()})};var lP=function(a,b){$O.call(this,a,b)};B(lP,$O);q=lP.prototype;q.Qi=null;q.Lw=function(){return!0};q.show=function(){var a=this.IJ(),b=this.v.K0();if(b){eA(a,this.v.KY());var c=this.Eia(),e=this.Aia();c!=e&&this.aBa(a,e)}R(a,b)};q.Ce=function(){};q.dca=function(a,b){var c=this.v.JJ(a);c&&iI(qd,{id:a,type:c,path:webspace.page.path},y(this.ooa,this,a,b),y(this.handleError,this))};
q.aBa=function(a,b){var c=this.j().b(co);b==Wm?(this.j().kl(a,c),a.id=no,a.className="sites-layout-sidebar-right"):b==Rj&&(this.j().Tu(a,c),a.id=mo,a.className=wo)};q.IJ=function(){this.Qi||(this.Qi=this.j().b(mo)||this.j().b(no));return this.Qi};q.ooa=function(a,b,c){c=c.target.Ba();c=this.j().Nh(CE(c.html));this.IJ().appendChild(c);aP(this.j(),[c]);kP(Rb+a);b(a)};q.Eia=function(){return kB(this.IJ(),wo)?Rj:Wm};q.Aia=function(){var a=this.v.Cq();return this.v.Yu()?Rj:a?Wm:Hi};
q.ix=function(a,b){var c=this.v.JJ(a);c&&iI(qd,{id:a,type:c,path:webspace.page.path},y(this.poa,this,a,b),y(this.handleError,this))};q.poa=function(a,b,c){c=c.target.Ba();c=this.j().Nh(CE(c.html));var e=this.j().b(Rb+a);Fy(c,e);aP(this.j(),[c]);kP(Rb+a);b(a)};var mP=function(a,b){this.v=a;this.L=b||N()};mP.prototype.ug=function(){return this.L};mP.prototype.update=function(){var a=this.v.KJ();this.Iwa();a&&!webspace.user.renderMobile?this.a7(a):this.a7()};
mP.prototype.Iwa=function(){for(var a=KN(),b=0;b<a.length;b++){var c=a[b].href;if(c&&-1!=c.indexOf("overlay.css")){var e=JN(a[b]);if(!e)break;for(c=0;c<e.length;c++)if("#sites-chrome-header, #sites-chrome-main, #sites-chrome-footer"==e[c].selectorText){a=a[b];b=c;a.deleteRule?a.deleteRule(b):a.removeRule(b);break}else if("#sites-chrome-page-wrapper"==e[c].selectorText||"#sites-chrome-everything"==e[c].selectorText){var f=a[b],g=c;f.deleteRule?f.deleteRule(g):f.removeRule(g)}break}}};
mP.prototype.a7=function(a){a=a||"";var b=this.ug().b(go);Q(b,"min-width",a);if("no-repeat"==this.v.Wca&&"no-repeat"==this.v.Xca)b=this.ug().b("sites-chrome-page-wrapper"),eA(b,a);else{b=this.ug().b(io);var c=this.ug().b("sites-chrome-main"),e=this.ug().b(ho);eA(b,a);eA(c,a);eA(e,a)}};var nP=function(a,b){$O.call(this,a,b);this.Fa=P(eo)};B(nP,$O);nP.prototype.Lw=function(){return!0};nP.prototype.show=function(){iI("RenderSystemFooter",{},y(this.ln,this),y(this.handleError,this))};nP.prototype.Ce=function(){};nP.prototype.ln=function(a){a=a.target.Ba();this.Fa.innerHTML=a.html;aP(this.j(),[this.Fa])};var oP=function(a,b){$O.call(this,a,b);this.Fa=this.j().b(ho)};B(oP,$O);oP.prototype.Lw=function(){return this.v.TA()};oP.prototype.show=function(){iI("RenderCustomFooter",{},y(this.ln,this),y(this.handleError,this));Ty(this.Fa,!0);R(this.Fa,!0)};oP.prototype.Ce=function(){this.j().Ke(this.Fa);Ty(this.Fa,!1);R(this.Fa,!1)};oP.prototype.ln=function(a){a=a.target.Ba();this.Fa.innerHTML=a.html;aP(this.j(),[this.Fa]);gP(this.j());this.Fa.scrollIntoView()};var pP=function(){};w("sites.editor.chrome.LayoutHelper",pP,void 0);pP.prototype.n2=function(a){a=String(a).replace(/\s*/g,"");a=a.replace(/[^0-9]/g,"");if("0"===a)throw Error(be);if(!a)throw Error("No digits supplied.");return Number(a)};
pP.prototype.gta=function(a){var b=String(a).replace(/[^0-9px%]/g,"");if(-1!=b.indexOf("%")||-1!=b.indexOf(n)){a=b.match(/([0-9]*)/)[0];if(!a)throw"Units provided without digits.";if(0==a)throw be;if(100<a&&-1!=b.indexOf("%"))throw">100% is invalid";return b}b=Number(a);if(isNaN(b))throw"No units provided, and value that was provided is not a number.";if(0>b)throw"Negative number is invalid.";if(0==b)throw be;b+=100>=b?"%":n;if(!b)throw"Could not handle value: "+a;return b};
pP.prototype.Tqa=function(a){a=Number(a);return isFinite(a)&&0==a%1&&0<=a&&2147483648>a};var qP=function(a,b){var c=Pq("sites.editor.ToolbarProvider.provideToolbar")(!0,!1,!0,!1);c=new (Pq("sites.editor.Editor"))("/config",c);c.addField(hp,!1,null,"body { font-family:Arial,Verdana,sans-serif;font-size:13px; }").setContent(a);c.setBaseZindex(200);c.open(!0);b(c)},rP=function(a){return(a=a.getField(hp))?a.getContent().replace(/\&nbsp;/g,"&#160;"):""};var sP=function(a,b,c){H.call(this,mg);this.uda=a;this.kra=b;this.Lwa=c||null};B(sP,H);var tP=function(a,b,c){CC.call(this,void 0,!1,c);this.Dc(a);this.Hg=b;this.Ob=new dP(this.$,this.j());this.fb("Configurar el encabezado del sitio");this.A().listen(this,Lg,y(this.vc,this))};B(tP,nJ);w("sites.editor.chrome.HeaderDialog",tP,void 0);q=tP.prototype;q.g=function(){tP.c.g.call(this);this.J().innerHTML='<div class="sitelayout-dlg-section"><table border="0" class="sitelayout-dlg-section-border sitelayout-dlg-horizontal"><tr><td><h4 class="sitelayout-dlg-header-group">Altura</h4><div><label class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-usethemedefault" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> Usar el valor de dise\u00f1o predeterminado</label></div><div><label class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-uselogoheight" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> Utiliza el tama\u00f1o del logotipo.</label></div><div><span class="sitelayout-dlg-header-group"><input id="sites-chrome-headerdialog-usecustomheight" name="headerheight" type="radio" class="sitelayout-dlg-header-group"/> </span><input id="sites-chrome-headerdialog-customheight" type="text" dir="ltr" class="text-input sitelayout-dlg-header-group"/> p\u00edxeles</div></td><td><h4 class="sitelayout-dlg-header-group">Alineaci\u00f3n</h4><table border="0"><tr><td style="width: 84px; vertical-align: middle"><label class="sitelayout-dlg-header-group">Vertical:</label></td><td><select id="sites-chrome-headerdialog-verticalalign" class="sitelayout-dlg-header-group"><option value="themedefault" id="sites-chrome-headerdialog-verticalalign-themedefault">dise\u00f1o predeterminado</option><option value="top" id="sites-chrome-headerdialog-verticalalign-top">arriba</option><option value="middle" id="sites-chrome-headerdialog-verticalalign-middle">centro</option><option value="bottom" id="sites-chrome-headerdialog-verticalalign-bottom">abajo</option></select></td></tr></table><table border="0"><tr><td style="width: 84px; vertical-align: middle"><label class="sitelayout-dlg-header-group">Horizontal:</label></td><td><select id="sites-chrome-headerdialog-horizontalalign" class="sitelayout-dlg-header-group"><option value="standard" id="sites-chrome-headerdialog-horizontalalign-standard">Est\u00e1ndar</option><option value="center" id="sites-chrome-headerdialog-horizontalalign-center">Centro</option></select></td></tr></table></td></tr><tr><td colspan="2"><div class="goog-ws-logo sites-clear"><p><strong>Seleccionar logotipo:</strong></p><table><tr><td><div><input id="sites-chrome-headerdialog-usenologo" type="radio" name="logo" class="goog-ws-logo-radio"/> Sin logotipo</div><div><input id="sites-chrome-headerdialog-usecustomlogo" type="radio" name="logo" class="goog-ws-logo-radio"/> Logotipo personalizado<div class="goog-ws-logo-custom"><img id="sites-chrome-headerdialog-customlogoimage" style="display:block;margin:2px 0;max-width:230px"/></div><div class="goog-ws-logo-upload sites-clear"><form id="sites-chrome-headerdialog-logoattachmentform" enctype="multipart/form-data" method="POST" style="margin-bottom: 5px;"><p>Adjuntar un archivo:<br/><input id="sites-chrome-headerdialog-logofileinput" name="userfile" type="file"/><input type="hidden" name="pagePath" value="/config"/><input type="hidden" name="overrideFileName" value="customLogo.gif"/></p></form></div></div></td><td><div id="sites-chrome-header-dialog-usedefaultlogo-container"><input id="sites-chrome-headerdialog-usedefaultlogo" type="radio" name="logo" class="goog-ws-logo-radio"/> Logotipo predeterminado del dominio <span id="sites-chrome-headerdialog-defaultlogo-none">(Sin logotipo)</span><br/><img class="goog-ws-logo-default-scaled" id="sites-chrome-headerdialog-defaultlogoimage"/></div></td></tr></table></div></td></tr></table></div>'};
q.B=function(){tP.c.B.call(this);var a=this.j();this.REa=a.b("sites-chrome-headerdialog-usethemedefault");this.b$=a.b("sites-chrome-headerdialog-uselogoheight");this.fR=a.b("sites-chrome-headerdialog-usecustomheight");this.nH=a.b("sites-chrome-headerdialog-customheight");a.b("sites-chrome-headerdialog-verticalalign");this.$Ea=a.b("sites-chrome-headerdialog-verticalalign-themedefault");this.m$=a.b("sites-chrome-headerdialog-verticalalign-top");this.l$=a.b("sites-chrome-headerdialog-verticalalign-middle");
this.k$=a.b("sites-chrome-headerdialog-verticalalign-bottom");a.b("sites-chrome-headerdialog-horizontalalign");this.rpa=a.b("sites-chrome-headerdialog-horizontalalign-standard");this.p_=a.b("sites-chrome-headerdialog-horizontalalign-center");this.a$=a.b("sites-chrome-headerdialog-usedefaultlogo");this.d$=a.b("sites-chrome-headerdialog-usenologo");this.UE=a.b("sites-chrome-headerdialog-usecustomlogo");this.Z9=a.b("sites-chrome-header-dialog-usedefaultlogo-container");a.b("sites-chrome-header-dialog-defaultlogoimage-container");
this.zV=a.b("sites-chrome-headerdialog-defaultlogo-none");this.Iy=a.b("sites-chrome-headerdialog-defaultlogoimage");this.oH=a.b("sites-chrome-headerdialog-customlogoimage");this.dsa=a.b("sites-chrome-headerdialog-logoattachmentform");this.fM=a.b("sites-chrome-headerdialog-logofileinput");a.b(io);this.A().listen(this.fM,Cf,y(this.bna,this))};q.Hc=function(){tP.c.Hc.call(this);this.Xi(this.$)};q.Xi=function(a){this.fEa(a);this.DEa(a);this.iEa(a);this.mEa(a);this.cEa(a);this.fM.value=""};
q.fEa=function(a){this.REa.checked=a.Cqa();this.b$.checked=a.q0();a.Bqa()?(this.fR.checked=!0,this.nH.value=a.nJ()):(this.fR.checked=!1,this.nH.value=null)};q.DEa=function(a){this.$Ea.selected=a.Hqa();this.m$.selected=a.Iqa();this.l$.selected=a.Gqa();this.k$.selected=a.Fqa()};q.iEa=function(a){this.rpa.selected=a.Eqa();this.p_.selected=a.Dqa()};q.mEa=function(a){this.a$.checked=a.Pqa();this.d$.checked=a.Qqa();a.Oqa()?(this.UE.checked=!0,this.oH.src=a.gM):(this.UE.checked=!1,this.oH.src=JOT_clearDotPath)};
q.cEa=function(a){a.xra()?(R(this.Z9,!0),a=a.uH,"NO_LOGO"==a?(R(this.zV,!0),R(this.Iy,!1),this.Iy.src=""):(R(this.zV,!1),R(this.Iy,!0),this.Iy.src=a)):R(this.Z9,!1)};q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;this.dispatchEvent(new sP(a,!1,y(this.Ob.update,this.Ob)))}this.dispose();return!0};
q.dd=function(){var a=new SO;if(this.fR.checked)try{a.OO(yg,this.Hg.n2(this.nH.value))}catch(b){alert("Introduce un valor v\u00e1lido para la altura del encabezado.");return}else a.OO(this.b$.checked?"logo":jp);a.Fza(this.ela());a.Eza(this.cja());this.UE.checked&&this.csa?a.YO(yg,"CUSTOM_LOGO_2",this.bsa):this.a$.checked?a.YO(Xg):this.d$.checked&&(a.YO(Nk),a.q0()&&a.OO(jp));return a};q.ela=function(){return this.k$.selected?uf:this.l$.selected?qk:this.m$.selected?up:jp};
q.cja=function(){return this.p_.selected?Bf:So};q.bna=function(){this.fM.value.match(CO)?jI("AttachFile",this.dsa,null,y(this.ana,this),y(this.$ma,this)):alert(yd)};q.ana=function(a){a=a.target.Ba();a.error?/TooLarge/.exec(a.error)?S(this.Cja(a.maxSize)):/AttachmentEmpty/.exec(a.error)?S("ERROR: el archivo adjunto est\u00e1 vac\u00edo."):S(a.error):(this.csa=!0,this.bsa=a.version,this.UE.checked=!0,this.oH.src=a.cacheUrl)};
q.Cja=function(a){return"ERROR: el archivo adjunto supera el tama\u00f1o m\u00e1ximo de "+((Math.round(a/1048576)||1)+" megabytes.")};q.$ma=function(){S("Se ha producido un error al subir el archivo.")};var uP=function(a){a=jr(a);if(0>a.indexOf(":"))if(0<a.indexOf("@"))a="mailto:"+a;else if(0<a.indexOf(".")||0<a.indexOf("/"))a="http://"+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==Ah?null:a};var vP=function(a,b,c,e,f,g,h,l){this.ea=a;this.VH=ty(d,{className:"goog-sites-pagefinder goog-ws-lp-list"});this.ea.appendChild(this.VH);this.cm=[];this.DE=0;this.Fd=b;this.Gga=!!e;this.jI=!!f;this.kI=!!g;this.Jga=!!h;this.IW=!!l;this.yQ=[];this.xn={};this.mD=!1;this.uU="goog-ws-tree-wrapper jfk-scrollbar";this.IW||this.Nea();this.Aea();c&&this.show()};q=vP.prototype;q.ls=1;q.Oo=0;q.maa=5;q.show=function(){at(this.xn)&&(this.MQ?this.VL||this.t1():this.XU());this.IW||this.Zf.focus()};
q.g5=function(){this.XN&&this.ZN(this.Zf.value);return this.XN};q.Nea=function(){var a=ty(d);this.VH.appendChild(a);Ay(a);yy(a,ty(Xc,{type:fp,size:"15"}));this.Zf=a.firstChild;I(this.Zf,Jj,function(a){13==a.keyCode&&(this.ZN(this.Zf.value),a.stopPropagation())},!1,this);I(this.Zf,Ih,function(){this.XN=!0},!1,this);I(this.Zf,rf,function(){this.XN=!1},!1,this);var b=qG();b.render(a);I(b,k,function(){this.ZN(this.Zf.value)},!1,this)};q.WT=function(a){return A()-a>6E4*this.maa?!0:!1};
q.t1=function(){if(this.xn.recentChanges||this.VL&&!this.WT(this.VL))return!1;this.xn.recentChanges=!0;iI("LoadRecentChanges",{excludeCurrentPath:this.jI,currentPath:webspace.page.path},y(this.Tva,this),null);return!0};
q.XU=function(){this.xn.siteMap||this.MQ&&!this.WT(this.MQ)||(this.xn.siteMap=!0,webspace.shallowSearch(this.jI?{forAll:!0,includeReadOnly:!this.kI,includePermissionsMetaData:!0,filterName:"pageFinderExcludeCurrent",filterVars:{$path:webspace.page.path}}:{forAll:!0,includeReadOnly:!this.kI,includePermissionsMetaData:!0,filterName:wl},y(this.ODa,this)))};
q.Aea=function(){var a=ty(d);this.VH.appendChild(a);this.Si=new PC(a,0);I(this.Si,Cf,function(){var a=this.yQ[this.Si.yg()];a&&a()},!1,this);this.RF("Mapa del sitio",this.Oo);this.yQ[this.Oo]=y(this.XU,this);this.Jga||(this.RF("Mis cambios recientes",this.ls),this.yQ[this.ls]=y(this.t1,this));this.Si.Yk(this.Oo).J().className=this.uU};q.Tva=function(a){a=a.target.getResponseJson();a.error?S("Error al encontrar los cambios recientes"):(this.xn.recentChanges=!1,this.VL=A(),this.i4(a.myChanges,this.ls))};
q.ODa=function(a){a=a.target.getResponseJson();if(a.error)S("Error al buscar el \u00e1rbol del sitio");else{this.xn.siteMap=!1;this.MQ=A();this.cm[this.Oo]={};var b=this.Si.Yk(this.Oo).J();Ay(b);var c=ty(d);b.appendChild(c);this.Sw=wP(a,void 0,c,null,y(this.MDa,this),function(a){var b=-1==Iw(a[fk],void 0)?an:ck;return'<span title="'+xr(a.path)+oa+b+ua+xr(a[fk])+ob},!0,this.Fd);this.XP()}};
q.xCa=function(a){this.mD=!1;a=a.target.getResponseJson();a.error?S("Error en la b\u00fasqueda del sitio"):(u(this.j8)||(this.j8=this.RF(".Resultados de b\u00fasqueda")),this.i4(a,this.j8,!0))};q.RF=function(a,b){var c=!1,e=a;65<a.length+this.DE?(c=65-this.DE,a=a.substring(0,2<c?c:2),c=!0):20<a.length&&(a=a.substring(0,20),c=!0);this.DE+=a.length;a=new QC(null,a);c&&a.en().setAttribute(op,e);this.Si.rs(a,b);Ay(a.J());b=a.J();e=ty("UL",null,ty("LI",null,ty("STRONG",null,ec)));b.appendChild(e);return a.yn};
q.i4=function(a,b,c){this.cm[b]={};var e=this.Si.Yk(b).J();Ay(e);e=e.appendChild(ty("UL"));if(0==a.length)a=ty(d,{style:"margin:10px"},"No se han encontrado resultados."),e.appendChild(a);else{e.className=this.uU;for(var f=0;f<a.length;f++)a[f].path&&e.appendChild(this.h4(a[f],b))}c&&this.Si.kf(b);this.XP();this.sX&&this.FEa(this.sX)};
q.h4=function(a,b){var c=ty("LI"),e=c.appendChild(ty("A"));e.href="#";var f=-1==Iw(a[fk],void 0)?an:ck,g=Br(a[fk]),h=e.appendChild(ty(td));h.setAttribute("dir",f);Ny(h,g);e.onclick=function(){return!1};e.title=a.path;e.wuid=a.wuid;I(e,wk,this.pja(a.path));var l=this,p=a.path;I(e,Ij,function(a){13==a.keyCode&&(l.or(p),l.Fd&&l.Fd(a),a.preventDefault())});this.cm[b]||(this.cm[b]={});this.cm[b][a.path]=e;return c};q.pja=function(a){return y(function(){this.or(a)},this)};
q.MDa=function(){var a=this.Sw.getSelectedItem(!0);a&&this.or(a.getClientData().path)};q.ZN=function(a){a&&!this.mD&&(this.mD=!0,iI("KeywordSearch",{excludeCurrentPath:this.jI,currentPath:webspace.page.path,excludeAttachments:this.Gga,excludeNonEditablePages:this.kI,keywords:a,limit:100},y(this.xCa,this),y(function(){this.mD=!1},this)))};
q.FEa=function(a){this.sX=null;var b=this.Si.Yk(this.ls);if(!this.or(a.path)){var c=b.J(),e=this.h4(a,this.ls);c.firstChild?c.insertBefore(e,c.firstChild):c.appendChild(e);this.or(a.path)}this.Si.oP(b)};q.EY=function(){return this.Li&&this.Xg&&0<this.Xg.length?Vy(this.Xg[0]):null};q.or=function(a,b){this.unselect();this.Li=a;this.XP();0!=this.Xg.length||b||(this.hw=this.Li=null);return null!=this.Li};
q.XP=function(){var a=null;if(this.Li){var b=this.Si.yg(),c=null;this.Xg=[];for(var e=0;e<this.cm.length;e++){if(e==this.Oo){var f=null;if(this.Sw){var g=this.Sw.setSelectedPageByPath(this.Li);g&&(f=g.getLabelElement().parentNode,a=a||g.getClientData().wuid)}}else this.cm[e]&&(f=this.cm[e][this.Li])&&(a=a||f.wuid);f&&(hB(f,pn),this.Xg.push(f),e==b&&(c=f))}0<this.Xg.length&&(f=c?c:this.Xg[0],f!=c&&E||f.focus())}this.hw=a};
q.unselect=function(){if(this.Xg&&0!=this.Xg.length){for(var a=0;a<this.Xg.length;a++)jB(this.Xg[a],pn);this.hw=this.Li=this.Xg=null}};q.dispose=function(){this.Sw&&this.Sw.dispose()};var xP=function(a,b,c){CC.call(this,void 0,!1,c);this.Hv=a;this.cs=b||null;this.fb(this.cs?"Editar la URL o la direcci\u00f3n de correo electr\u00f3nico":"A\u00f1adir una URL o una direcci\u00f3n de correo electr\u00f3nico");this.A().listen(this,Lg,y(this.vc,this))};B(xP,nJ);w("sites.editor.chrome.NavigationAddLinkDialog",xP,void 0);q=xP.prototype;q.FQ=null;q.TE=null;q.V2=null;
q.g=function(){xP.c.g.call(this);var a={webspace:webspace};null==this.cs?(a.url="",a.title="",a.U2=!1):(a.url=this.cs.$d().url||"",a.title=this.cs.$d()[fk],a.U2=!!this.cs.$d()[ek]);XE(this.J(),TI,a)};q.Hc=function(){xP.c.Hc.call(this);var a=this.j();this.FQ=a.b("sites-chrome-externalurl-title");this.FQ.focus();this.TE=a.b("sites-chrome-externalurl-url");this.V2=a.b("sites-chrome-externalurl-opennewwin")};
q.vc=function(a){if(Uk==a.key){this.j();a=uP(this.TE.value);if(!a)return this.TE.focus(),this.TE.select(),CG("Advertencia","Introduce una URL o una direcci\u00f3n de correo electr\u00f3nico v\u00e1lida."),!1;var b=jr(this.FQ.value)||a;this.pEa(a,b,this.V2.checked,this.cs)}this.dispose();return!0};q.pEa=function(a,b,c,e){if(e){var f=e.$d();f.url=a;f[fk]=b;f[ek]=c;this.Hv.UO(e,f)}else this.Hv.U_({url:a,"main/title":b,"main/openNewWin":c})};var yP=function(a,b){CC.call(this,void 0,!1,b);this.Hv=a;this.fb("Seleccionar p\u00e1gina para a\u00f1adir");this.A().listen(this,Lg,y(this.vc,this))};B(yP,nJ);w("sites.editor.chrome.NavigationAddPageDialog",yP,void 0);q=yP.prototype;q.p9=null;q.Uq=null;q.g=function(){yP.c.g.call(this);this.J().appendChild(this.j().g(d,{id:"treeDiv"}))};
q.Hc=function(){yP.c.Hc.call(this);this.p9=this.j().b("treeDiv");this.Uq=new vP(this.p9,y(this.vc,this),!0,!0);this.ha();var a=Sz(this.b());Rz(this.b(),a.x+20,a.y+80)};q.vc=function(a){if(void 0==a.key||Uk==a.key)if(this.Uq.hw)a={wuid:this.Uq.hw,path:this.Uq.Li,"main/title":this.Uq.EY()},this.Hv.eN[a.wuid]=a,this.Hv.U_(a);else return CG("Advertencia","Selecciona una p\u00e1gina."),!1;this.dispose();return!0};q.o=function(){G(this.Uq);yP.c.o.call(this)};var zP=function(a,b,c,e){CC.call(this,void 0,!1,b);this.Dc(a);this.eN={};if(this.ol=!!c){if(!e)throw"opt_sidebarWidgetId must be defined";this.$a=e;this.Nr=new lP(a,this.j())}else this.s_=new hP(a,this.j());this.fb("Configurar la navegaci\u00f3n");this.A().listen(this,Lg,y(this.vc,this))};B(zP,nJ);w("sites.editor.chrome.NavigationDialog",zP,void 0);q=zP.prototype;q.LQ=null;q.f2=null;q.d2=null;q.X3=null;q.E_=null;q.Z2=null;q.wS=null;q.vS=null;q.Rw=null;q.Sv=null;q.UL=null;q.zQ=null;q.rT=null;
q.fg=null;q.RH=null;q.vt=null;q.dt=null;q.iW=null;q.H1=null;q.j2=null;q.g=function(){zP.c.g.call(this);var a=this.ol?this.Jka():this.dja();XE(this.J(),UI,a);hB(this.Dj(),"sites-sitelayouteditor-navigation-dialog")};q.dja=function(){return{title:null,baseUri:webspace.baseUri,WA:!0,MK:this.fY(),$M:this.tY()}};q.Jka=function(){var a=this.$.Cf(op,this.$a);a||(a="Navegaci\u00f3n");return{title:a,baseUri:webspace.baseUri,WA:!1,MK:this.fY(),$M:this.tY()}};
q.fY=function(){return webspace.page.isRtlLocale?ko:lo};q.tY=function(){return webspace.page.isRtlLocale?lo:ko};q.xla=function(a){(new yP(this)).C(!0);a.stopPropagation();a.preventDefault()};q.wla=function(a){(new xP(this)).C(!0);a.stopPropagation();a.preventDefault()};
q.B=function(){zP.c.B.call(this);var a=this.j();this.LQ=a.b("pageListEl");this.f2=a.b("moveUpBtn");this.d2=a.b("moveDownBtn");this.X3=a.b("removeBtn");this.E_=a.b("indentBtn");this.Z2=a.b("outdentBtn");this.wS=a.b("addPageBtn");this.vS=a.b("addLinkBtn");this.Rw=a.b("showSitemap");this.Sv=a.b("showRecentSiteActivity");this.ol?(this.RH=a.b("displayTitleCheckbox"),this.vt=a.b("dynamicModeCheckbox"),this.dt=a.b("depthSelector"),this.iW=a.b("dynamicModeEditor"),this.H1=a.b("manualModeEditor"),this.j2=
a.b("navTitle")):(this.UL=a.b("navbarTabTypeLinks"),this.zQ=a.b("navbarTabTypeTabs"),this.rT=a.b("navbarTabTypeBoxes"));this.A().listen(new uB(this.wS),k,this.xla).listen(new uB(this.vS),k,this.wla)};q.Hc=function(){zP.c.Hc.call(this);this.Xi(this.$)};
q.Xi=function(){this.j();this.fg=this.dda(this.Zka());if(this.ol){this.RH.checked=this.$.Cf("hideTitle",this.$a)!=yp;var a=this.$.Cf(Jk,this.$a)||0;this.vt.checked=0<a;this.dt.selectedIndex=Math.min(this.dt.options.length,a||2)-1;this.M7();this.A().listen(this.vt,Kf,this.M7);this.Rw.checked=this.$.Cf("showSiteMap",this.$a);this.Sv.checked=this.$.Cf("showRecents",this.$a)}else this.fg.dAa(2),this.Rw.checked=this.$.Ika(),this.Sv.checked=this.$.Hka(),this.UL.checked="links"==this.$.pJ(),this.zQ.checked=
"tabs"==this.$.pJ(),this.rT.checked="boxes"==this.$.pJ();this.fg.A().listen(new uB(this.f2),k,this.fg.Wsa).listen(new uB(this.d2),k,this.fg.Vsa).listen(new uB(this.X3),k,this.fg.Cwa).listen(new uB(this.E_),k,this.fg.Gpa).listen(new uB(this.Z2),k,this.fg.Iua)};q.Zka=function(){var a=new LO;this.nS(a,this.Pja());return a};q.nS=function(a,b){for(var c=0;c<b.length;c++){var e=this.eda(b[c]);e&&a.ca(e)}};
q.eda=function(a){var b=null;if(typeof a==Yo)var c=a;else c=a.id,b=a.children;c=jr(c);if(!c||"/system/app/pages/sitemap/hierarchy"===c||"/system/app/pages/recentChanges"===c)return null;var e=a;e&&0==c.indexOf("wuid:")&&a.title?(e={wuid:c,"main/title":a.title,path:a.path},this.eN[c]=e):e&&0==c.indexOf("wuid:")?e=this.eN[c]:0!=c.indexOf("wuid:")&&(e={url:c,"main/title":a.title,"main/openNewWin":!!a.openNewWin});a=null;e&&(a=new KO(e),typeof b==Sk&&this.nS(a,b));return a};
q.dda=function(a){a=new MO(a,!1,webspace,void 0,void 0,y(this.nna,this));a.yw(function(a,b){var c=a[fk];c&&(b=b.getParent()==b.zd(),a=!!a[ek],c=""+(b?"<b>":"")+W(c)+(a?'<span class="sites-chrome-navigationdialog-btn sites-chrome-navigationdialog-icon-popout"></span>':"")+(b?"</b>":""));return c});a.ID(!1);var b=a.aa;b.sP(!1);b.rP(!1);b=b.v;b.Ws=null;b.gH=b.fH=null;b.nV="goog-tree-row jot-navconfig-tree-row";Ay(this.LQ);a.g();yy(this.LQ,a.b());a.B();return a};
q.nna=function(a,b){a.$d().url&&(new xP(this,a)).C(!0);b.stopPropagation();b.preventDefault()};q.Pja=function(){var a;if(a=this.ol?this.$.Cf(Lk,this.$a):this.$.pI)try{a=JSON.parse(a),a.children&&(a=a.children)}catch(b){a=null}return a||[]};q.M7=function(){var a=this.vt.checked;R(this.iW,a);R(this.H1,!a)};q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;var b=this.ol?y(this.Nr.ix,this.Nr,this.$a):y(this.s_.update,this.s_);this.dispatchEvent(new sP(a,this.ol,b))}this.dispose();return!0};
q.dd=function(){var a=new SO;if(this.ol){var b=0;this.vt.checked?(b=Math.max(0,this.dt.selectedIndex)+1,b>=this.dt.options.length&&(b=999)):a.hf(Lk,this.GY(),this.$a);a.hf(Jk,String(b),this.$a);a.hf("showSiteMap",this.Rw.checked,this.$a);a.hf("showRecents",this.Sv.checked,this.$a);a.hf(op,this.j2.value,this.$a);a.hf("hideTitle",String(!this.RH.checked),this.$a)}else a.Iza(this.GY()),a.ZAa(this.Rw.checked),a.YAa(this.Sv.checked),a.Hza(this.Pka());return a};q.GY=function(){return sv(this.fg.fka())};
q.Pka=function(){return this.UL.checked?"links":this.zQ.checked?"tabs":"boxes"};q.U_=function(a){a=this.fg.rs(a,this.fg.xa());this.fg.aa.Bb(a)};q.UO=function(a,b){this.fg.UO(a,b)};var AP=function(a,b,c){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("Configurar el emplazamiento de anuncios");this.$a=c;this.Ph(OC());this.Ob=new lP(a,this.j());this.Ni(!0)};B(AP,nJ);AP.prototype.g=function(){AP.c.g.call(this);XE(this.J(),VI);eA(this.J().parentNode,"475px")};var BP=function(a,b,c){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("Configurar la cuenta atr\u00e1s");this.$a=c;this.Ob=new lP(a,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(BP,nJ);q=BP.prototype;q.FW=null;q.ct=null;q.g=function(){BP.c.g.call(this);var a=this.$.Cf(rh,this.$a)||"";XE(this.J(),WI,{event:a})};
q.B=function(){BP.c.B.call(this);var a=xB.om[1],b=new FB(a);a=new ND(a);b=new SD(b,a);a=b.Ez();a.$Aa(!1);a.XAa(!1);"ja"==webspace.page.locale&&a.uza(6);a=this.j();var c=a.b("dateEl");b.R(c);this.ct=b;this.Y(b);this.Mwa();this.FW=a.b("eventEl")};q.Mwa=function(){var a=this.$.Cf("fromDateUTC",this.$a);if(a){var b=new AB;yr(a,"-")?(a=a.split("-"),b.setYear(a[0]),b.setMonth(a[1]-1),b.setDate(a[2])):b.setTime(a);this.ct.setDate(b)}else(b=this.$.Cf("fromDate",this.$a))&&"undefined"!=b?this.ct.p6(b):this.ct.setDate(new AB)};
q.Dga=function(a){alert(a)};q.dd=function(){var a=this.ct.getDate();if(!a)return this.Dga("Introduce una fecha v\u00e1lida."),null;var b=new SO;b.hf(rh,this.FW.value,this.$a);a=a.getYear()+"-"+(a.getMonth()+1)+"-"+a.getDate();b.hf("fromDateUTC",a,this.$a);return b};q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;this.dispatchEvent(new sP(a,!0,y(this.Ob.ix,this.Ob,this.$a)))}this.dispose();return!0};var CP=function(a,b,c){CC.call(this,a,b,c);this.fb("URL de la p\u00e1gina de Google+");this.A().listen(this,Lg,this.Rla);AG(this,this.Wb.qj)};B(CP,nJ);var DP=/^\d+$/;q=CP.prototype;q.UK=null;q.Cd=null;q.sI=null;q.g=function(){CP.c.g.call(this);this.UK=this.Ig("plusPageInput");var a=this.J(),b={id:webspace.plusPageId,dqa:this.UK};this.sI&&ht(b,this.sI);this.j().appendChild(a,ZE(zO,b))};
q.B=function(){CP.c.B.call(this);this.b().style.width="475px";var a=this.j().b(this.UK);this.A().listen(a,[Kj,Cf],this.Hma);this.Cd=a};q.Hma=function(){this.Cd.style.color=this.N0(jr(this.Cd.value))?qf:"red"};q.FO=function(a){this.NO(a);mB(this.Cd,!a);this.Wb.sya(a)};q.YY=function(){var a=this.sJ();return null!==a&&""!==a?(a=encodeURIComponent(String(a)),"https://plus.google.com/"+a+"/"):""};q.sJ=function(){if(this.Cd){var a=jr(this.Cd.value);if(this.N0(a))return a}return null};
q.N0=function(a){return""===a||DP.test(a)};q.b6=function(a){this.sI=a};q.Rla=function(a){if(a.key!=this.Wb.qj)return!0;a=this.sJ();if(null===a)return S("ID de p\u00e1gina no v\u00e1lido"),M(ZA,5E3),!1;if(this.YY()==webspace.plusPageUrl)return!0;iI("SaveConfig",{properties:{"config/plusPageId":a}},y(this.Qna,this),y(this.GZ,this));this.FO(!1);return!1};q.Qna=function(a){a.target.getResponseJson().error?this.GZ(a):this.Rna(a)};
q.Rna=function(){webspace.plusPageUrl=this.YY();webspace.plusPageId=this.sJ();ZA();this.FO(!0);this.C(!1)};q.GZ=function(){S("No se ha podido guardar la configuraci\u00f3n. Int\u00e9ntalo de nuevo m\u00e1s tarde.");this.FO(!0)};q.o=function(){this.Cd=null;CP.c.o.call(this)};var EP=function(){};q=EP.prototype;q.j3=null;q.SE=null;q.Y9=null;q.eR=null;q.QT=null;q.una=function(a,b,c,e){this.Y9=P(c);this.QT=P(a);this.eR=P(b);this.SE=new CP;this.j3=e;I(this.SE,Ii,this.Qla,!1,this);I(new uB(this.QT),k,y(this.b8,this));this.SE.b6({X7:!0,c8:!webspace.plusPageUrl});webspace.plusPageUrl||this.b8()};q.b8=function(){this.SE.C(!0)};q.Qla=function(){webspace.plusPageUrl?this.rEa():this.j3.C(!1)};
q.rEa=function(){var a=webspace.plusPageUrl;R(this.Y9,!!a);a&&(this.eR.href=a,Ny(this.eR,a))};var FP=function(a,b,c){CC.call(this,void 0,!1,c);this.Dc(a);this.iva=new EP;this.fb("Configurar la insignia de Google+");this.$a=b;this.Ob=new lP(a,this.j());this.A().listen(this,Lg,y(this.vc,this));this.Ni(!0)};B(FP,nJ);var GP={I$:"changeUrlId",fba:Up,eba:"urlPreviewId"};FP.prototype.g=function(){FP.c.g.call(this);var a={style:this.$.Cf(Zo,this.$a)||"",url:webspace.plusPageUrl,Rc:GP};XE(this.J(),RI,a);eA(this.J().parentNode,"475px")};
FP.prototype.B=function(){FP.c.B.call(this);this.ZCa=this.j().b(Zo);this.iva.una("changeUrlId",Up,"urlPreviewId",this)};FP.prototype.dd=function(){var a=new SO;a.hf(Zo,this.ZCa.value,this.$a);return a};FP.prototype.vc=function(a){Uk==a.key&&(a=this.dd(),this.dispatchEvent(new sP(a,!0,y(this.Ob.ix,this.Ob,this.$a))));return!0};var HP=function(a,b,c,e,f){CC.call(this,void 0,!1,c);this.Dc(a);this.Hg=b;a="Configurar la actividad reciente del sitio";f&&(a='Configurar "Mi actividad reciente"');this.fb(a);this.$a=e;this.Ob=new lP(this.$,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(HP,nJ);q=HP.prototype;q.IM=null;q.EW=null;q.g=function(){HP.c.g.call(this);var a=this.$.Cf("numItems",this.$a)||"";XE(this.J(),XI,{HM:a})};q.B=function(){HP.c.B.call(this);this.IM=this.j().b("numItemsEl");this.EW=this.j().b("errEl")};
q.dd=function(){var a=new SO,b=this.IM.value;if(this.Hg.Tqa(b))return a.hf("numItems",b,this.$a),a;Q(this.EW,"display","");this.IM.focus()};q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;this.dispatchEvent(new sP(a,!0,y(this.Ob.ix,this.Ob,this.$a)))}this.dispose();return!0};var IP=function(a,b){J.call(this);this.v=a;this.L=b||N();this.qh=new SN;this.qh.SF(this.qh);this.qh.init();this.Y(this.qh);I(this.qh,$g,y(this.aga,this));I(this.qh,Zg,y(this.$fa,this));I(this.qh,"drop",y(this.ega,this));I(this.qh,ah,y(this.bga,this));I(this.qh,"dragend",y(this.Zfa,this))};B(IP,J);q=IP.prototype;q.Eba=function(a,b){a=new RN(a,b);a.hJ=function(a){if(!a.id||!a.id.match(/COMP_[a-z0-9]+/))for(;null!=a.parentNode&&(a=a.parentNode,!a.id||!a.id.match(/COMP_[a-z0-9]+/)););return a};this.qh.MF(a)};
q.kwa=function(a){this.qh.removeItem(a)};q.ega=function(a){var b=a.sh.element;a=a.Jk.element;jB(a,Qn);if(b!=a){this.Xsa(b,a);b=[];a=this.L.b(mo)||this.L.b(no);a=this.L.Pc(a);for(var c=0;c<a.length;c++){var e=a[c];e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)&&b.push(e.id.substring(5))}a=new SO;a.Y6(this.v.IY());a.tP(b);this.dispatchEvent(new sP(a,!0,null))}};
q.Xsa=function(a,b){for(var c=null,e=b.previousSibling;e;){if(e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)){c=e;break}e=e.previousSibling}var f=null;for(e=b.nextSibling;e;){if(e&&e.id&&e.id.match(/COMP_[a-z0-9]+/)){f=e;break}e=e.nextSibling}e=a.parentNode;c?f?1==this.Wda(a,b)?e.insertBefore(a,f):e.insertBefore(a,b):e.insertBefore(a,f):e.insertBefore(a,b)};q.Wda=function(a,b){if(a===b)return 0;for(a=a.previousSibling;a;){if(a===b)return-1;a=a.previousSibling}return 1};q.bga=function(a){hB(a.sh.element,Rn)};
q.Zfa=function(a){jB(a.sh.element,Rn)};q.aga=function(a){hB(a.Jk.element,Qn)};q.$fa=function(a){jB(a.Jk.element,Qn)};var JP=function(a,b,c){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("Configurar cuadro de texto");this.$a=c;this.Ob=new lP(this.$,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(JP,nJ);q=JP.prototype;q.Ep=null;q.X8=null;q.g=function(){JP.c.g.call(this);var a=this.$.Cf(op,this.$a)||"";XE(this.J(),YI,{title:a});eA(this.J().parentNode,"475px")};
q.B=function(){JP.c.B.call(this);this.X8=this.j().b("titleEl");var a=this.$.Cf("content",this.$a)||"",b=y(this.$J,this);gH.kv(webspace.editorResources.text).ua(cr(qP,a,b))};q.$J=function(a){this.Ep=a;this.ha()};q.dd=function(){var a=new SO;a.hf(zp,cb,this.$a);a.hf(op,this.X8.value,this.$a);a.hf("content",rP(this.Ep),this.$a);return a};
q.vc=function(a){if(Uk==a.key)a=this.dd(),this.dispatchEvent(new sP(a,!0,y(this.Ob.ix,this.Ob,this.$a)));else if(this.Ep.hasUnsavedChanges()){a=y(this.dispose,this);var b=sx("\u00bfSeguro que quieres descartar los cambios no guardados?");BG("Cerrar cuadro de texto",b,a,null,void 0,void 0,void 0,void 0);return!1}this.dispose();return!0};var KP=function(a,b){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("Seleccionar nuevo elemento de la barra lateral");this.Ph((new DC).Gd(JC,!1,!0));this.Ob=new lP(a,this.j());this.Ni(!0)};B(KP,nJ);w("sites.editor.chrome.SidebarWidgetDialog",KP,void 0);q=KP.prototype;
q.g=function(){KP.c.g.call(this);var a=this.gka(this.$),b=this.J();a='<div class="goog-ws-element"><div class="goog-ws-list-gadget">'+(a.ara?'<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><div class="goog-plusone-icon"></div></td><td><p><strong>Bot\u00f3n +1</strong><br/>A\u00f1ade un bot\u00f3n +1 que permite que los visitantes de tu sitio web recomienden tus p\u00e1ginas y ayuda a que el sitio destaque ante los dem\u00e1s.</p><div id="sites-layout-add-plus-one-widget"></div></td></tr></table></div>':"")+
(a.$qa?'<div class="goog-ws-element-section"><table><tr><td class="goog-ws-element-icon"><div class="goog-plusbadge-icon"></div></td><td><p><strong>Insignia de Google+</strong><br/>A\u00f1ade una insignia de Google+ para que los visitantes recomienden tus p\u00e1ginas y para que tu sitio destaque.</p><div id="sites-layout-add-plus-badge-widget"></div></td></tr></table></div>':"")+(wb+W(a.QI)+'"/></td><td><p><strong>Navegaci\u00f3n</strong><br/>A\u00f1ade enlaces a p\u00e1ginas concretas del sitio para que los usuarios puedan acceder a ellas r\u00e1pidamente.</p><div id="sites-layout-add-navigation-widget"></div></td></tr></table></div>')+
(wb+W(a.uDa)+'"/></td><td><p><strong>Texto</strong><br/>A\u00f1ade texto a la barra lateral de tu sitio.</p><div id="sites-layout-add-text-widget"></div></td></tr></table></div>')+(wb+W(a.L3)+'"/></td><td><p><strong>Actividad reciente del sitio</strong><br/>Lista con las actividades recientes del sitio</p><div id="sites-layout-add-recent-changes-widget"></div></td></tr></table></div>')+(wb+W(a.L3)+'"/></td><td><p><strong>Mi actividad reciente</strong><br/>Lista de las actividades recientes que ha llevado a cabo el usuario de la sesi\u00f3n en curso</p><div id="sites-layout-add-my-recent-changes-widget"></div></td></tr></table></div>')+
(wb+W(a.iea)+'"/></td><td><p><strong>Cuenta atr\u00e1s</strong><br/>D\u00edas que faltan para una determinada fecha</p><div id="sites-layout-add-countdown-widget"></div></td></tr></table></div>')+(wb+W(a.QI)+'"/></td><td><p><strong>Propietarios del sitio</strong><br/>Muestra a los propietarios de tu sitio en la barra lateral del sitio</p><div id="sites-layout-add-site-admins-widget"></div></td></tr></table></div>')+('<div class="goog-ws-element-section" style="border:0;"><table><tr><td class="goog-ws-element-icon"><img src="'+
W(a.QI)+'"/></td><td><p><strong>Autores de la p\u00e1gina</strong><br/>Muestra los autores de p\u00e1ginas recientes en la barra lateral de tu sitio</p><div id="sites-layout-add-recent-authors-widget"></div></td></tr></table></div>')+"</div></div>";b.innerHTML=a};q.B=function(){KP.c.B.call(this);this.Hpa()};
q.Hpa=function(){this.Mh("sites-layout-add-adsense-widget",Mb,"adsense");this.Mh("sites-layout-setup-adsense-widget",lc);this.Mh("sites-layout-add-plus-one-widget",Mb,"plusone");this.Mh("sites-layout-add-plus-badge-widget",Mb,xm);this.Mh("sites-layout-add-navigation-widget",Mb,Kk);this.Mh("sites-layout-add-text-widget",Mb,fp);this.Mh("sites-layout-add-recent-changes-widget",Mb,"recentchanges");this.Mh("sites-layout-add-my-recent-changes-widget",Mb,Hk);this.Mh("sites-layout-add-countdown-widget",Mb,
"countdown");this.Mh("sites-layout-add-site-admins-widget",Mb,"siteadmins");this.Mh("sites-layout-add-recent-authors-widget",Mb,"recentauthors")};q.Mh=function(a,b,c){if(a=P(a)){var e=new mG(b);e.render(a);b==lc?this.A().listen(e,k,this.Yva):this.A().listen(e,k,y(this.eca,this,c));this.Y(e);return e}return null};q.Yva=function(){Zx(window.location,bI(webspace.baseUri,"/system/app/pages/admin/ads"))};
q.eca=function(a){if(a!=xm||webspace.plusPageUrl){a=this.zia(a);var b=a.eA();this.dispatchEvent(new sP(a,!0,y(this.Ob.dca,this.Ob,b[b.length-1])));this.C(!1);this.dispose()}else a=new CP,a.b6({X7:!0,c8:!0}),a.C(!0)};
q.zia=function(a){var b=String(Math.random()).substring(2),c={};a==Kk?(c.type=$a,c.navigationTree="[]"):"adsense"==a?(c.type=Ya,c.textAndImage='checked="true"',c.adlayout="125x125"):a==fp?(c.type=cb,c.content=" "):"recentchanges"==a?(c.type=ab,c.numItems=5):a==Hk?(c.type=ab,c.numItems=5,c.myLinksOnly=!0):"countdown"==a?(c.type=Za,c.event="",c.fromDateUTC=""):"siteadmins"==a?c.type=jb:"recentauthors"==a?c.type=ib:"plusone"==a?c.type=hb:a==xm&&(c.type=gb,c.style="largeicon");a=new SO;for(var e in c)a.hf(e,
c[e],b);c=this.$;e=c.eA();e.push(b);a.Y6(c.IY());a.tP(e);return a};q.gka=function(a){return{QI:a.RI,uDa:a.BQ,L3:a.wN,iea:a.SG,ara:webspace.isPublic,$qa:webspace.features.plusBadge}};var LP=function(a,b){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("C\u00f3mo personalizar el pie de p\u00e1gina del sistema");this.Ob=new nP(this.$,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(LP,nJ);w("sites.editor.chrome.SystemFooterDialog",LP,void 0);q=LP.prototype;q.qK=null;q.uK=null;q.tK=null;q.sK=null;q.g=function(){LP.c.g.call(this);this.J().innerHTML='<label><input type="checkbox" id="hideDesktopLink"/>Oculta el enlace <strong>Ver sitio para escritorio</strong> de los sitios habilitados para m\u00f3viles.</label><br/><label><input type="checkbox" id="hideSignInLink"/>Oculta el enlace <strong>Acceder</strong>.</label><br/><label><input type="checkbox" id="hideRecentChangesLink"/>Oculta el enlace <strong>Cambios recientes</strong>.</label><br/><label><input type="checkbox" id="hidePrintPageLink"/>Oculta el enlace <strong>Imprimir p\u00e1gina</strong>.</label>'};
q.B=function(){LP.c.B.call(this);var a=this.j();this.qK=a.b("hideDesktopLink");this.uK=a.b("hideSignInLink");this.tK=a.b("hideRecentChangesLink");this.sK=a.b("hidePrintPageLink");this.Xi(this.$)};q.Xi=function(a){this.qK.checked=a.nra();this.uK.checked=a.qra();this.tK.checked=a.pra();this.sK.checked=a.ora()};q.dd=function(){var a=new SO;a.kBa(this.qK.checked);a.nBa(this.uK.checked);a.mBa(this.tK.checked);a.lBa(this.sK.checked);return a};
q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;this.dispatchEvent(new sP(a,!1,y(this.Ob.update,this.Ob)))}this.dispose();return!0};var MP=function(a,b){CC.call(this,void 0,!1,b);this.Dc(a);this.fb("Modificar pie de p\u00e1gina del sitio");this.Ob=new oP(this.$,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(MP,nJ);w("sites.editor.chrome.CustomFooterDialog",MP,void 0);q=MP.prototype;q.Ep=null;q.g=function(){MP.c.g.call(this);this.J().innerHTML='<div class="goog-ws-text"><div id="textBoxContent" jotId="contentEl" class="goog-ws-text-content"></div></div>';eA(this.J().parentNode,"630px")};
q.B=function(){MP.c.B.call(this);var a=this.$.Gia()||"",b=y(this.$J,this);gH.kv(webspace.editorResources.text).ua(cr(qP,a,b))};q.$J=function(a){this.Ep=a;this.ha()};q.dd=function(){var a=new SO;a.Xya(rP(this.Ep));return a};q.vc=function(a){Uk==a.key&&(a=this.dd(),this.dispatchEvent(new sP(a,!1,y(this.Ob.update,this.Ob))));this.dispose();return!0};var NP=function(a,b,c){CC.call(this,void 0,!1,c);this.Dc(a);this.fb("Editar barra lateral");this.Hg=b;this.Ob=new lP(a,this.j());this.A().listen(this,Lg,y(this.vc,this))};B(NP,nJ);q=NP.prototype;q.RL=null;q.ON=null;q.bQ=null;
q.g=function(){NP.c.g.call(this);var a=webspace.page.isSiteRtlLocale;this.J().innerHTML='<div class="sitelayout-dlg-section"><table border="0" class="sitelayout-dlg-section-border sitelayout-dlg-horizontal"><tr><td><div><h4 class="sitelayout-dlg-sidebar-group">Mostrar</h4></div></td></tr><tr><td><div><label class="sitelayout-dlg-sidebar-group"><input id="sidebar-config-sidebar-left" name="sidePos" type="radio" class="sitelayout-dlg-sidebar-group"/> '+(a?ee:fe)+'</label></div><div><label class="sitelayout-dlg-sidebar-group"><input id="sidebar-config-sidebar-right" name="sidePos" type="radio" class="sitelayout-dlg-sidebar-group"/> '+
(a?fe:ee)+'</label></div></td><td><div><label class="sitelayout-dlg-sidebar-group">Ancho: <input id="sidebar-config-sidebar-width" type="text" class="text-input sitelayout-dlg-sidebar-group" dir="'+(a?an:ck)+'"/> p\u00edxeles</label></div></td></tr></table></div>'};q.B=function(){NP.c.B.call(this);var a=this.j();this.RL=a.b("sidebar-config-sidebar-left");this.ON=a.b("sidebar-config-sidebar-right");this.bQ=a.b("sidebar-config-sidebar-width")};q.Hc=function(){NP.c.Hc.call(this);this.Xi(this.$)};
q.Xi=function(a){this.RL.checked=a.Yu();this.ON.checked=a.Cq();this.bQ.value=a.KY()};q.dd=function(){var a=new SO;try{a.bBa(this.Hg.n2(this.bQ.value))}catch(c){return alert("Introduce un valor v\u00e1lido para la anchura de la barra lateral."),null}var b=Ok;this.RL.checked?b=Rj:this.ON.checked&&(b=Wm);a.uP(b);return a};q.vc=function(a){if(Uk==a.key){a=this.dd();if(!a)return!1;this.dispatchEvent(new sP(a,!1,y(this.Ob.update,this.Ob)))}this.dispose();return!0};var OP=function(a,b){F.call(this);this.L=b||N();this.Hg=new pP;this.gv=[];this.v=a;this.lt=new IP(this.v,this.L);this.Wk().listen(this.lt,mg,this.jZ);this.Y(this.lt);this.Kpa()};B(OP,F);w("sites.editor.chrome.DialogManager",OP,void 0);var PP={N$:"customFooter",baa:"header",caa:Mi,Paa:"sidebar",Qaa:Ya,Raa:Za,Saa:bb,Taa:$a,jLa:hb,Uaa:gb,kLa:ib,Vaa:ab,lLa:jb,Waa:cb,Xaa:Sn,aba:"systemFooter"};q=OP.prototype;q.PV=!1;q.v=null;q.G=null;q.lt=null;q.O5=function(a){this.v=a};
q.Kpa=function(){this.PV||(this.ro(oo,"header",this.v.Xu(),"Editar encabezado del sitio"),this.ro(jo,Mi,this.v.yq(),"Editar navegaci\u00f3n horizontal"),this.ro(eo,"systemFooter",!0,"Editar pie de p\u00e1gina del sistema"),this.ro(ho,"customFooter",this.v.TA(),"Editar pie de p\u00e1gina personalizado"),this.ro("sites-chrome-editsidebar","sidebar",!0),this.ro("sites-chrome-add-sitebarwidget",Sn,!0),this.Vra(),this.PV=!0)};q.Vra=function(){for(var a=this.v.eA(),b=0;b<a.length;b++)this.w1(a[b])};
q.w1=function(a){var b=this.v.JJ(a);this.ro(Rb+a,b,!0,"Editar elemento de la barra lateral",a);this.Wra(Rb+a,b)};q.ro=function(a,b,c,e,f){var g=this.L.b(a);g&&("sidebar"!=b&&b!=Sn&&hB(g,fo),R(g,c),c&&Ty(g,!0),this.gv.push(g),c=function(a){vH("Site layout","Open edit layout dialog",b);this.Fra(b,f,a)},this.Wk().listen(g,Kf,c),this.Wk().listen(g,Jj,c),e&&(a=new YG(a,e,this.L,1),this.Y(a)),this.Yba(g,b))};
q.Wra=function(a,b){var c=this.L.b(a);if(c){b=ZE(ZI,{id:a,title:this.ila(b)});R(b,!1);this.L.WK(c,b,0);var e=this.L.b(a+"_delete");Ty(e,!0);this.Wk().listen(e,[Jj,Kf],y(this.bea,this,a));this.Wk().listen(c,[zk,Ih],y(R,this,b,!0));this.Wk().listen(c,yk,y(R,this,b,!1));this.Wk().listen(e,rf,y(R,this,b,!1));this.lt.Eba(c)}};q.Yba=function(a,b){"header"==b?(a=this.L.Pc(a),cP(this.L)):a=[a];aP(this.L,a)};
q.ywa=function(a){if(a.id==oo){a=this.L.Pc(a);var b=this.L.b(po);b&&b.getAttribute(Yk)&&b.removeAttribute(Yk)}else a=[a];bP(this.L,a)};q.ila=function(a){return a==$a?"Navegaci\u00f3n":a==cb?"Cuadro de texto":a==bb?"Mi actividad reciente":a==ab?"Actividad reciente del sitio":a==Za?"Cuenta atr\u00e1s":a==Ya?"AdSense":a==jb?"Propietarios del sitio":a==ib?"Autores de la p\u00e1gina":a==hb?"Bot\u00f3n +1":a==gb?"Insignia de Google+":"Unknown dialog type"};
q.bea=function(a,b){if(this.M0(b)){a=y(this.Fwa,this,a);var c=sx("\u00bfSeguro que quieres eliminar este elemento de la barra lateral?");BG("Eliminar elemento de la barra lateral",c,a,null,void 0,void 0,void 0,void 0)}b.stopPropagation()};q.M0=function(a){if(a.type==Jj){if(!(13==a.keyCode||Gt&&3==a.keyCode))return!1}else if(0>a.clientX||0>a.clientY)return!1;return!0};
q.Fwa=function(a){var b=this.L.b(a);this.L.removeNode(b);var c=this.v.eA();a=a.substring(5);vs(c,a)&&this.v.tP(c);this.v.iwa(a);c=y(this.bl,this,null,!0);this.v.aw(this.v,c);this.lt.kwa(b)};
q.Fra=function(a,b,c){if(this.M0(c)&&this.v){c=null;switch(a){case PP.baa:c=new tP(this.v,this.Hg,this.L);break;case PP.caa:c=new zP(this.v,this.L);break;case PP.aba:c=new LP(this.v,this.L);break;case PP.N$:c=new MP(this.v,this.L);break;case PP.Paa:c=new NP(this.v,this.Hg,this.L);break;case PP.Xaa:c=new KP(this.v,this.L);break;case PP.Taa:c=new zP(this.v,this.L,!0,b);break;case PP.Waa:c=new JP(this.v,this.L,b);break;case PP.Saa:c=new HP(this.v,this.Hg,this.L,b,!0);break;case PP.Vaa:c=new HP(this.v,
this.Hg,this.L,b,!1);break;case PP.Raa:c=new BP(this.v,this.L,b);break;case PP.Qaa:c=new AP(this.v,this.L,b);break;case PP.Uaa:c=new FP(this.v,b,this.L)}c&&(this.Wk().listen(c,mg,this.jZ),c.C(!0))}};q.jZ=function(a){this.L.getWindow().scroll(0,0);S(Rc);var b=y(this.bl,this,a.Lwa||null,a.kra);this.v.aw(a.uda,b)};q.bl=function(a,b,c){this.v.clone(c);a&&(b?a(y(this.w1,this)):a())};q.Wk=function(){this.G||(this.G=new pC(this),this.Y(this.G));return this.G};
q.o=function(){for(var a=0;a<this.gv.length;a++)jB(this.gv[a],fo),Ty(this.gv[a],!1),this.ywa(this.gv[a]);var b=this.L.Ym("sites-sitelayouteditor-sidebar-widget-toolbar");for(a=0;a<b.length;a++)this.L.removeNode(b[a]);OP.c.o.call(this)};var QP=function(a){V.call(this,a);this.v=null;this.Hg=new pP;this.Nb=new YN;this.Nb.Me(!1);this.Nb.LO(!0);this.mH=this.Nr=this.BK=this.oK=null};B(QP,V);q=QP.prototype;q.g=function(){QP.c.g.call(this);this.Nb.render(this.b())};
q.B=function(){QP.c.B.call(this);hB(this.Nb.b(),"sites-sitelayouteditor-toolbar");this.c_=this.ue("sites-sitelayout-icon-header","Encabezado",Co,y(this.Ama,this));new YG(this.j().b(Co),"Habilitar/inhabilitar encabezado");this.Gx();this.q_=this.ue("sites-sitelayout-icon-horizontal-nav","Navegaci\u00f3n horizontal",Do,y(this.Bma,this));new YG(this.j().b(Do),"Habilitar/inhabilitar navegaci\u00f3n horizontal");this.Gx();this.f8=this.ue("sites-sitelayout-icon-sidebar","Barra lateral",Eo,y(this.noa,this));
new YG(this.j().b(Eo),"Habilitar/inhabilitar barra lateral");this.Gx();this.qV=this.ue("sites-sitelayout-icon-custom-footer","Pie de p\u00e1gina personalizado",Bo,y(this.Yla,this));new YG(this.j().b(Bo),"Habilitar/inhabilitar pie de p\u00e1gina personalizado");this.Gx();this.fca()};q.ue=function(a,b,c,e){a=ZE($I,{id:c,xpa:[a,"sites-sitelayout-toggle-button-icon"],label:b});a=new $N(a);a.tb(16,!0);this.Nb.ca(a,!0);I(a,k,e);return a};q.Gx=function(){var a=new tO;this.Nb.ca(a,!0)};
q.fca=function(){var a=ZE(aJ,{isSiteRtlLocale:webspace.page.isSiteRtlLocale,fva:"px o %"});this.j().appendChild(this.Nb.J(),a);this.cg=this.j().b("sites-sitewidth");this.kb=new YG(this.cg,"Pulsa la tecla Intro para guardar.",this.j(),1);I(this.cg,Jj,y(this.JZ,this));this.uN=new yO;a=this.j().b("sites-sitewidth-radio-container");this.zCa=this.WU("Dise\u00f1o predeterminado",a,y(this.roa,this));this.yCa=this.WU("Personalizado",a,y(this.qoa,this))};
q.WU=function(a,b,c){a=new wO(this.j(),a);a.render(b);a.addEventListener(k,c);this.uN.Gd(a);return a};q.roa=function(){this.cg.disabled=!0;var a=new SO;a.Z6(null);S(Rc);var b=y(this.gE.update,this.gE);b=y(this.bl,this,b);this.v.aw(a,b)};q.qoa=function(){this.cg.disabled=!1;this.cg.value&&this.JZ()};
q.JZ=function(a){if((!a||13==a.keyCode)&&kA(this.b())&&!this.cg.disabled&&this.cg.value!=this.v.KJ()){a=new SO;try{this.cg.value=this.Hg.gta(this.cg.value),a.Z6(this.cg.value)}catch(c){CG("Actualizar anchura del sitio","Introduce un valor v\u00e1lido para la anchura del sitio.");return}S(Rc);var b=y(this.gE.update,this.gE);b=y(this.bl,this,b);this.v.aw(a,b)}};q.$Da=function(a){this.v=a;this.Xi(a);this.Vea(a);this.wCa=this.v.Yu()?Rj:this.v.Cq()?Wm:Rj};
q.Xi=function(a){a&&(this.c_.ke(a.Xu()),this.q_.ke(a.yq()),this.f8.ke(a.K0()),this.qV.ke(a.TA()),a=a.KJ(),this.cg.value=a||"",a?(this.uN.lk(this.yCa),this.cg.disabled=!1):(this.uN.lk(this.zCa),this.cg.disabled=!0))};q.Vea=function(a){this.oK=new dP(a);this.BK=new hP(a);this.Nr=new lP(a);this.mH=new oP(a);this.gE=new mP(a)};q.Ama=function(){this.tA(y(this.oK.update,this.oK))};q.Bma=function(){this.tA(y(this.BK.update,this.BK))};q.noa=function(){this.tA(y(this.Nr.update,this.Nr))};
q.Yla=function(){this.tA(y(this.mH.update,this.mH))};q.tA=function(a){var b=this.dd();S(Rc);a=y(this.bl,this,a);this.v.aw(b,a)};q.bl=function(a,b){this.v.clone(b);a()};q.dd=function(){var a=new SO;a.Nza(this.c_.bf());a.Oza(this.q_.bf());this.f8.bf()?a.uP(this.wCa):a.uP(Ok);a.Mza(this.qV.bf());return a};q.C=function(a){this.V&&(a&&this.Xi(this.v),R(this.b(),a))};var RP=function(){J.call(this);this.lr={};this.L=N();this.MT=this.L.b(co)};B(RP,J);w("sites.editor.chrome.SiteLayoutEditor",RP,void 0);var SP=ft({yR:qo}),TP=[{Ms:qo,label:fc,style:2}],UP=["page-btns",Zn];q=RP.prototype;q.Qw=null;q.iD=null;q.np=null;q.eL=!1;q.Ot=null;q.v=null;q.O5=function(a){this.v=a};q.Vt=function(){if(!this.v)throw"Config was not set yet.";return this.v};q.Rb=function(){return!!this.eL};RP.prototype.isActive=RP.prototype.Rb;q=RP.prototype;
q.open=function(){this.c9(!1);this.Mea();this.Hba();this.Qpa();aP(this.L,[this.MT]);this.Uea();this.uCa();var a=P("back-to-template-listing");a&&R(a,!1);WO(y(this.bl,this));hB(document.body,so);this.eL=!0};q.bl=function(a){ZA();S("Haz clic en las partes de tu sitio que deseas modificar.");this.O5(a);this.cca();this.vda();this.Cfa=new OP(this.Vt());this.Nb.$Da(this.Vt())};
q.close=function(){this.c9(!0);this.zfa();this.lwa();this.Bwa();this.Ewa();this.jpa();G(this.Cfa);jB(document.body,so);this.eL=!1;bP(this.L,[this.MT]);for(var a=this.L,b=a.Ym("sites-sitelayout-chrome-hint"),c=0;c<b.length;c++)a.removeNode(b[c]);JOT_postEvent(Qf);ZA()};q.c9=function(a){for(var b=0;b<UP.length;b++){var c=P(UP[b]);c&&R(c,a)}};
q.Mea=function(){this.iD||(this.iD=ty(d,{id:"sites-editor-savecancel"}),P("sites-page-info-bar").appendChild(this.iD));for(var a=0;a<TP.length;a++)this.Ipa(TP[a]);a=LK.H();this.np=new OK(y(this.Pla,this),!0);this.np.Uo(this.lr[qo].b());a.gh(this.np,this.np.Np);this.lr[qo].b().focus()};q.Ipa=function(a){var b=new mG(a.label,null,a.style);b.Ms=a.Ms;b.render(this.iD);b.b().id="sites-editor-button-"+a.Ms;I(b,k,this.FZ,!1,this);this.lr[a.Ms]=b};
q.zfa=function(){for(var a in this.lr){var b=this.lr[a];bv(b,k,this.FZ,!1,this);b.dispose();delete this.lr[a]}LK.H().bo(this.np);G(this.np)};q.Hba=function(){var a=ty(td,{"class":"sites-site-name"},gd);this.Qw=ty(d,{"class":Zn},a);P("collaborator-bar-container").appendChild(this.Qw)};q.lwa=function(){null!=this.Qw&&(Ey(this.Qw),this.Qw=null)};q.Qpa=function(){this.Ot=new kE;this.Ot.R(P(ro));this.Ot.kP(!0)};q.Bwa=function(){this.Ot.kP(!1);this.Ot.dispose()};
q.vda=function(){this.Vt().yq()&&fP(this.L);this.Vt().TA()&&gP(this.L)};q.Uea=function(){this.Nb||(this.HDa=P(ro),this.Nb=new QP(this.L),this.Nb.render(this.HDa))};q.uCa=function(){this.Nb.C(!0)};q.jpa=function(){this.Nb.C(!1)};q.execCommand=function(a){a==qo&&this.close()};q.FZ=function(a){(a=a.target.Ms)&&a in SP&&this.execCommand(a)};q.Pla=function(){this.execCommand(qo)};q.cca=function(){var a=this.Vt().Cq()?no:mo;a=this.L.b(a);var b=ZE(bJ);this.L.WK(a,b,0)};
q.Ewa=function(){var a=this.L.b("sites-chrome-sidebar-editor");this.L.removeNode(a)};var VP={},WP={},XP=function(a){this.Kk=a};XP.prototype.load=function(a){if(VP[this.Kk])this.Nk(a);else if(WP[this.Kk])WP[this.Kk].ua(y(this.Nk,this,a));else{var b=webspace.editorResources[this.Kk];b?(b=gH.kv(b),b.ua(y(this.DU,this)),b.ua(y(this.Nk,this,a)),WP[this.Kk]=b):(this.DU(),this.load(a))}};XP.prototype.Nk=function(a){for(var b=0;b<a.length;b++)a[b](VP[this.Kk])};XP.prototype.DU=function(){var a=this.create();VP[this.Kk]=a};var YP=function(){this.Kk="sitelayout"};B(YP,XP);Rq(YP);JOT_addListener(dl,function(){YP.H().load([function(a){a.open()}])});YP.prototype.load=function(a){for(var b in VP){var c=VP[b];if(c&&c.isActive&&c.isActive())return}vH(hd,"Edit site layout");S(dc);YP.c.load.call(this,a)};YP.prototype.create=function(){return new RP};var $P=function(a,b,c,e,f){if(ZP(f))return!0;c++;if(c>e)return S("No se ha podido eliminar el sitio de forma permanente."),!1;20==c&&S("A\u00fan se est\u00e1 eliminando el sitio...");M(function(){iI("VerifyWebspaceEntityExists",{wsName:a,domain:b},cr($P,a,b,c,e),aQ)},200+100*c);return!1},ZP=function(a){return a&&(a=a.target.Ba(),u(a.exists)&&0==a.exists)?(Zx(window.location,bI(webspace.baseUri,"/system/app/pages/meta/dashboard/deleted")),!0):!1},aQ=function(){S("Error al verificar si el sitio se ha depurado. Vuelve a cargarlo.")};w("JOT_decorateButtons",function(a){a=iy(Og,Zh,a);for(var b=0;b<a.length;b++)kB(a[b],"sites-convert-button")?bQ(a[b]):(new VD(null,zE.H())).R(a[b])},void 0);var cQ={};w("JOT_serverButtons",cQ,void 0);w("JOT_getButtonForElement",function(a){a=P(a);kB(a,bo)||(a=Yy(a,void 0,bo));return a&&1==a.parentNode.nodeType&&(a=a.className.match(/sites-button-closure-id-(\S*)/))?cQ[a[1]]:null},void 0);
var bQ=function(a){if(a){var b=kB(a,"goog-button-base-disabled"),c=ky($h,a);jB(c,$h);if(c.onclick){var e=y(c.onclick,c);c.onclick=null}var f=ev(c,Kf,!1);Ty(c,!1);a.className=fi;Ay(a);var g=zE.H();g=new VD(c,g);g.U(!b);g.Wc(Vy(c));e&&I(g,k,e);for(b=0;b<f.length;b++)e=f[b],cv(e.key),I(g,k,e);f=a.parentNode;if(1==f.nodeType&&"A"==f.tagName){if(null!=f.onclick)I(g,k,y(f.onclick,c));else if(f.href){var h=f.href;I(g,k,function(){window.location.href=h})}Fy(a,f)}c=g.getId();hB(a,bo);hB(a,"sites-button-closure-id-"+
c);cQ[c]=g;g.render(a)}};function NO(a,b,c){var e=1500-(b||"").length-1;if(0>=e)return null;a.length>e&&(a=a.substring(0,e));c&&null!=b&&(a=b+"/"+a);return a}function dQ(a,b,c,e,f){for(var g="",h=0;h<a.length;h++){var l=a.charCodeAt(h);32==l?c||(g+="-"):45==l&&c||95==l&&f||45>l||45<l&&48>l||57<l&&65>l||90<l&&95>l||96==l||122<l&&161>l||e&&126<l||(g+=a.charAt(h))}g=g.replace(/-+$/,"");g=g.replace(/^_+/,"");return b?g.toLowerCase():g}w("getValidWebspaceUrl",dQ,void 0);
function eQ(a){a.requestPath||(a.requestPath=(new $y(new String(window.location))).getPath())}w("JOT_revertToRevision",function(a,b,c,e){S("Espera, por favor...");e&&(e=e.parentNode,Ay(e),e.appendChild(document.createTextNode("Revirtiendo...")));iI("RevertToVersion",{sourcePage:b,rev:c},function(b){b=b.target.Ba();b.error?S(b.error):(b=bI(webspace.baseUri,a),b+=Fb+c,Zx(window.location,b))},function(){S("Se ha producido un error al revertir la p\u00e1gina.")})},void 0);
w("JOT_restoreWebspace",function(a){S("Restaurando el espacio web...");iI("RestoreWebspace",{webspace:a},function(b){b=b.target.Ba();b.error?S(b.error):Zx(window.location,bI(webspace.domain.toLowerCase()==Hg?"/site/"+a:"/a/"+webspace.domain+"/"+a,"/")+"?webspaceRestored=true")},function(){S("Se ha producido un error al intentar restaurar el espacio web.")},od,!0,null,!0)},void 0);
w("JOT_purgeWebspace",function(a,b){fQ('\u00bfSeguro que quieres eliminar el sitio "'+(a+'" de forma permanente?'),"Si eliminas este sitio, se eliminar\u00e1 todo su contenido de forma definitiva. <br/><br/> \u00bfEst\u00e1s seguro de que quieres continuar?",null,Bc,function(){S("Eliminaci\u00f3n permanente en curso...");b&&b();iI("DeleteSite",{webspace:a,makePermanent:!0},function(b){b=b.target.Ba();b.error?S(b.error):$P(a,webspace.domain.toLowerCase(),0,1E3)},function(){S("Se ha producido un error al intentar eliminar definitivamente el espacio web.")},
od,!0,null,!0)}).C(!0)},void 0);function gQ(a){a=P(a);var b=Pr.get("jotxtok");a.name=Ej;a.value=b}var hQ=null,iQ=function(a){webspace.page.autosave?S("Recuperando edici\u00f3n desde el borrador..."):S(dc);var b=gH.kv(webspace.editorResources.text);b.ua(function(){hQ||(hQ=new (Pq("sites.editor.PageEditor"))("draft"==webspace.page.state,a));return hQ});return b};JOT_addListener(vl,function(a){hQ&&hQ.isActive&&hQ.isActive()||iQ(null!=a&&null!=a.eventSrc&&!!a.eventSrc.justCreated).ua(function(a){a.open(!1)})});
JOT_addListener(Qf,function(){var a=iy("html");a[0]&&a[0].focus()});JOT_addListener("recoverEdit",function(){gH.kv(webspace.editorResources.text).ua(function(){JOT_DRAFTMAN_showRecoverDraftDialog()})});window.onbeforeunload||(window.onbeforeunload=function(){if(hQ&&hQ.editing&&hQ.hasUnsavedChanges())return"No se han guardado los cambios."});
w("JOT_manageEditMode",function(){if(window.location.href.match(/#edit\s*$/)){var a=window.location.href.replace(/#edit\s*$/,"#");window.location.replace(a);JOT_postEvent(vl)}},void 0);w("MSG_JOT_DIALOG_YES","S\u00ed",void 0);w("MSG_JOT_DIALOG_NO","No",void 0);w("JOT_getJotDialogById",function(a){return JJ[a]},void 0);function fQ(a,b,c,e,f,g,h,l,p,r){a=new KJ({Ax:e,nba:f,Q0:c,yG:g,sda:h,CH:l,template:b,title:a,OEa:!0,Ix:r});b=null;a.Wb&&(b=a.Wb.qj);AG(a,b);return a}w("JOT_createDialog",fQ,void 0);
function wP(a,b,c,e,f,g,h,l){var p=new LO;p.vB(a);a=g||function(a){return xr(a[fk])};b=new MO(p,!1,webspace,b,f,void 0,h,l);b.yw(a);b.JD(!0);c&&1==c.nodeType||(e=cI(byId("COMP_dialog"+(e||""))),c=c?e[c]:e.treeDiv);h&&hB(c,"sites-permissions-sitemap");Ay(c);b.g();c.appendChild(b.b());b.B();return b}w("JOT_addTreeToDialog",wP,void 0);
JOT_addListener("recoverNode",function(a){if(a.payload&&a.payload.id){var b=P(a.payload.id);S("Recuperando p\u00e1gina...");b.onclick=null}webspace.Vva({sourcePage:a.eventSrc},function(a){a=a.target.Ba();if(a.error)b&&(b.onclick=b.onclick),S(a.error);else{var c=bI(webspace.baseUri,a.path);c+=Fb+a.revision;Zx(window.location,c)}})});JOT_addListener("undoDelete",function(a){iI("UndoDelete",{sourceWuid:a.eventSrc},function(a){a.target.Ba().error?S(Ib):window.location.reload()},function(){S(Ib)})});
JOT_addListener(Cp,function(a){iI("BulkRecover",{wuids:[a.eventSrc]},function(a){a.target.Ba().error?S(Hb):GO()},function(){S(Hb)})});webspace.TS=function(a,b,c){iI("Asciify",a,b,c)};webspace.KV=function(a,b,c){iI("DeleteNode",a,b,c)};webspace.createNode=function(a,b,c){eQ(a);iI("CreateNode",a,b,c)};webspace.saveFileCabinetNode=function(a,b,c){eQ(a);iI("Save",a,b,c)};webspace.rOa=function(a,b,c){eQ(a);iI("SaveList",a,b,c)};webspace.qOa=function(a,b,c){eQ(a);hI("/system/services/saveConfig",a,b,c)};
webspace.zM=function(a,b,c){iI("MoveNode",a,b,c)};webspace.sNa=function(a,b,c){iI("DeleteSite",a,b,c)};webspace.Dxa=function(a,b,c){iI("SavePageSettings",a,b,c)};webspace.Vva=function(a,b,c){iI("RecoverNode",a,b,c)};function jQ(){if(P("sites-abuse-reason-spam").checked)var a="SPAM";else if(P("sites-abuse-reason-phishing").checked)a="PHISHING";else if(P("sites-abuse-reason-malware").checked)a="MALWARE";else if(P("sites-abuse-reason-nudity").checked)a="NUDITY";else if(P("sites-abuse-reason-harassment").checked)a="HARASSMENT";else if(P("sites-abuse-reason-hate").checked)a="HATE";else if(P("sites-abuse-reason-regulated").checked)a="REGULATED";else if(P("sites-abuse-reason-personal-info").checked)a="PERSONAL_INFO";
else if(P("sites-abuse-reason-impersonation").checked)a="IMPERSONATION";else if(P("sites-abuse-reason-other").checked)a="UNKNOWN";else return S("Selecciona el motivo por el que nos informas acerca de este sitio."),!1;var b=(new $y(window.location)).mb("src");b={abuseReason:a,opt_contentPath:b};var c=P("sites-abuse-reporter-email");c&&jr(c.value)&&(b.opt_reporterEmail=c.value);iI("ReportAbuse",b,function(b){b=b.target.Ba();b.error?S(b.error):"IMPERSONATION"==a?Zx(window.location,"https://support.google.com/sites/?p=impersonation"):
S("Se ha enviado un informe de contenido inadecuado.")},function(){S("Se ha producido un error al guardar el informe sobre uso inadecuado.")})}w("JOT_reportAbuse",jQ,void 0);w("JOT_reportAbuseInit",function(){var a=P("sites-admin-settings-submit");if(a){var b=new mG;b.R(a);I(b,k,jQ);b.U(!0)}if(a=P(Yn))b=new rI(document.referrer||webspace.baseUri),b.R(a),I(b,k,b.Jl),b.U(!0)},void 0);function kQ(){iI("RemoveAccess",{},function(a){a=a.target.Ba();a.error?"Only Owner"==a.error?S("No se puede eliminar el \u00fanico propietario del sitio."):S(cd):(S("Se te ha eliminado de este sitio."),a=webspace.baseUri.match(/\/.*\//)[0],Zx(window.location,a+Xn))},function(){S(cd)})}w("JOT_removeAccess",kQ,void 0);
w("JOT_removeAccessInit",function(){var a=P("sites-remove-access-privilege");if(a){var b=new mG;b.R(a);I(b,k,kQ);b.U(!0)}if(a=P(Yn))b=new rI(document.referrer||webspace.baseUri),b.R(a),I(b,k,b.Jl),b.U(!0)},void 0);function lQ(){mH({productId:"70",bucket:"sites_general_feedback"},{})}w(ad,lQ,void 0);w(ad,lQ,void 0);var mQ=function(a,b,c,e,f){function g(a){a&&(a.tabIndex=0,SB(a,h.wd()),U(a,"goog-zippy-header"),h.$H(a),h.rga(a))}J.call(this);this.Z=f||N();this.uj=this.Z.b(a)||null;this.Fp=this.Z.b(e||null);this.Oc=(this.qB=Uq(b)?b:null)||!b?null:this.Z.b(b);this.ye=1==c;u(c)||this.qB||(this.Fp?this.ye=kA(this.Fp):this.uj&&(this.ye=hC(this.uj,Ai)));this.T0=new pC(this);this.rb=new SC;this.wM=new pC(this);var h=this;g(this.uj);g(this.Fp);this.Td(this.ye)};B(mQ,J);q=mQ.prototype;q.kn=!0;
q.o=function(){mQ.c.o.call(this);G(this.T0);G(this.rb);G(this.wM)};q.wd=function(){return"tab"};q.J=function(){return this.Oc};q.expand=function(){this.Td(!0)};q.collapse=function(){this.Td(!1)};q.toggle=function(){this.Td(!this.ye)};q.Td=function(a){this.Oc?R(this.Oc,a):a&&this.qB&&(this.Oc=this.qB());this.Oc&&U(this.Oc,"goog-zippy-content");this.Fp?(R(this.uj,!a),R(this.Fp,a)):this.WQ(a);this.ww(a);this.dispatchEvent(new nQ(pp,this,this.ye))};q.ww=function(a){this.ye=a};
q.WQ=function(a){this.uj&&(lC(this.uj,Ai,a),lC(this.uj,"goog-zippy-collapsed",!a),T(this.uj,uh,a))};q.ED=function(a){this.kn!=a&&((this.kn=a)?(this.$H(this.uj),this.$H(this.Fp)):this.wM.removeAll())};q.rga=function(a){a&&(this.rb.pd(a),this.T0.listen(this.rb,Hj,this.iC))};q.$H=function(a){a&&this.wM.listen(a,Kf,this.hC)};q.iC=function(a){if(13==a.keyCode||32==a.keyCode)this.toggle(),this.UV(a),a.preventDefault(),a.stopPropagation()};q.hC=function(a){this.toggle();this.UV(a)};
q.UV=function(a){this.dispatchEvent(new nQ(k,this,this.ye,a))};var nQ=function(a,b,c){H.call(this,a,b);this.Nga=c};B(nQ,H);var oQ=function(a,b,c,e){e=e||N();var f=e.g(d,{style:"overflow:hidden"});b=e.b(b);b.parentNode.replaceChild(f,b);f.appendChild(b);this.Yy=f;this.jg=null;mQ.call(this,a,b,c,void 0,e);a=this.ye;this.Yy.style.display=a?"":Nk;this.WQ(a)};B(oQ,mQ);q=oQ.prototype;q.zca=500;q.yca=VA;q.oqa=function(){return null!=this.jg};
q.Td=function(a){if(this.ye!=a||this.jg){this.Yy.style.display==Nk&&(this.Yy.style.display="");var b=this.J().offsetHeight;if(this.jg){a=this.ye;dv(this.jg);this.jg.stop(!1);var c=parseInt(this.J().style.marginTop,10);c=b-Math.abs(c)}else c=a?0:b;this.WQ(a);this.jg=new xz([0,c],[0,a?b:0],this.zca,this.yca);I(this.jg,["begin",ye,nh],this.ota,!1,this);I(this.jg,"begin",y(this.pta,this,a));I(this.jg,nh,y(this.qta,this,a));this.jg.play(!1)}};
q.ota=function(a){var b=this.J();b.style.marginTop=a.y-b.offsetHeight+n};q.pta=function(a){this.dispatchEvent(new nQ("m",this,a))};q.qta=function(a){a&&(this.J().style.marginTop="0");dv(this.jg);this.ww(a);this.jg=null;a||(this.Yy.style.display=Nk);this.dispatchEvent(new nQ(pp,this,a));this.dispatchEvent(new nQ("n",this,a))};var pQ=function(a){V.call(this,a)};B(pQ,V);pQ.prototype.g=function(){this.Na(this.j().g("FORM",{method:od,style:"display:none"}))};pQ.prototype.qva=function(a,b,c){var e=this.b();e||(this.render(),e=this.b());e.action=b||"";e.target=c||"";this.yAa(e,a);e.submit()};pQ.prototype.yAa=function(a,b){var c,e=[];for(c in b){var f=b[c];Tq(f)?D(f,y(function(a){e.push(this.QU(c,String(a)))},this)):e.push(this.QU(c,String(f)))}Vx(a,Cx(e))};pQ.prototype.QU=function(a,b){return zx(dj,{type:Hi,name:a,value:b})};var qQ=function(a,b,c){C(a,"Invalid service id + "+a);if(c)for(var e=0;e<c.length;e++)C(c[e],"Invalid dependency "+c[e]+" (index in dependency array: "+e+") for service "+a);this.md=a;this.ck=b||null;this.tfa=c||[]};qQ.prototype.toString=function(){return this.md};qQ.prototype.dJ=function(){return this.tfa};var rQ=function(a){return rQ.Z_(a)};rQ.Z_=function(a){return a+"_"};rQ.SNa=function(){throw Error("xid.literal must not be used in COMPILED mode.");};rQ.object=function(a){if(a&&a.constructor&&a.constructor.toString()===Object.toString()){var b={},c;for(c in a)a.hasOwnProperty(c)&&(b[rQ.Z_(c)]=a[c]);return b}throw Error("xid.object must be called with an object literal.");};rQ.eHa=!0;rQ.lNa=function(a){return a};rQ.ONa=function(){return!0};rQ.zc={};rQ.zc.zF="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";rQ.zc.gF=rQ.zc.zF+"0123456789";rQ.zc.AF=rQ.zc.zF.length;rQ.zc.tF=rQ.zc.gF.length;rQ.zc.KR=-2147483648;rQ.zc.xOa=function(a){C(6>=a.length,"Xids should not be longer than 6 characters");for(var b=0,c=a.length-1;0<=c;c--)b=b*(0==c?rQ.zc.AF:rQ.zc.tF)+rQ.zc.gF.indexOf(a.charAt(c));return b+rQ.zc.KR};
rQ.zc.toString=function(a){var b=[],c=0;a-=rQ.zc.KR;b[c++]=rQ.zc.zF.charAt(a%rQ.zc.AF);for(a=Math.floor(a/rQ.zc.AF);0<a;)b[c++]=rQ.zc.gF.charAt(a%rQ.zc.tF),a=Math.floor(a/rQ.zc.tF);return b.join("")};rQ.hash={};rQ.hash.AR=2654435769;rQ.hash.Naa=314159265;
rQ.hash.wOa=function(a){a=rQ.hash.WCa(a);for(var b=rQ.hash.AR,c=rQ.hash.AR,e=rQ.hash.Naa,f=a.length,g=f,h=0,l=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+=rQ.hash.zI(a,h),c+=rQ.hash.zI(a,h+4),e+=rQ.hash.zI(a,h+8),l();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]}l();return rQ.zc.toString(e)};rQ.hash.BDa=function(a){return a};rQ.hash.WCa=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a.charCodeAt(c));return b};rQ.hash.zI=function(a,b){return a[b+0]+(a[b+1]<<8)+(a[b+2]<<16)+(a[b+3]<<24)};new qQ("tdUkaf");new qQ("fJuxOc");new qQ("ZtVrH");new qQ("WSziFf");new qQ("ZmXAm");new qQ("BWETze");new qQ("UBSgGf");var sQ=new qQ("zZa4xc");new qQ("o1bZcd");new qQ("yRRtR");new qQ("WwG67d");new qQ("pVbxBc");var tQ=new qQ("n73qwf");new qQ("z72MOc");new qQ("JccZRe");new qQ("amY3Td");new qQ("ABma3e");new qQ("GHAeAc",rQ.hash.BDa("GHAeAc"));new qQ("gSshPb");new qQ("klpyYe");new qQ("OPbIxb");new qQ("pg9hFd");new qQ("Wt6vjf");new qQ("CV7dle");new qQ("yu4DA");new qQ("vk3Wc");new qQ("IykvEf");new qQ("J5K1Ad");
new qQ("IW8Usd");new qQ("IaqD3e");new qQ("byfTOb");new qQ("jbDgG");new qQ("b8xKu");new qQ("d0RAGb");new qQ("AzG0ke");new qQ("J4QWB");new qQ("LEikZe");new qQ("rJmJrc");new qQ("TuDsZ");var uQ=new qQ("MpJwZc"),vQ=new qQ("UUJqVe");new qQ("hdXIif");new qQ("mITR5c");new qQ("VYNvce");new qQ("NGntwf");new qQ("Bgf0ib");new qQ("Xpw1of");new qQ("v5BQle");new qQ("ofuapc");new qQ("FENZqe");new qQ("tLnxq");new qQ("lsjVmc");var wQ=function(a){a=a||new rK;this.iga=this.yy(a,"share-email-attachment",Ec);this.kga=this.yy(a,"share-email-collaborators",Dc);this.y7=this.yy(a,"share-share","Compartir...");this.oV=this.yy(a,"share-current-user-request-access","Solicitar permiso para editar...")};wQ.prototype.yy=function(a,b,c){var e={};e.label=c;e.visible=!1;e.hint=c;return a.jea(b,e)};
wQ.prototype.YDa=function(a,b,c,e,f,g,h,l,p,r){e=1==e;a=30<=a;l=l&&!b&&(a||c)&&e;c=!b&&(c||a||e&&g);f=p&&!b&&e&&f;b=!b&&g&&!a&&e&&h;r?r.vOa(f,l,c,b):(this.iga.U(f),this.kga.U(l),this.y7.U(c),this.oV.U(b),this.oV.C(b))};var xQ=function(a){CC.call(this,void 0,!1,a);this.NO(!1);this.HO(!0);this.Ph(null)};B(xQ,CC);xQ.prototype.C=function(a){var b=this.b(),c=this.j();lC(b,"share-client-offscreen",!a);this.C6(a);a?(this.ha(),xQ.c.C.call(this,!0)):(b.style.right="",b.style.left="",b.style.top="");c=c.ri("iframe",null,this.J());for(var e=0;e<c.length;e++)c[e].tabIndex=a?"0":"-1";b.tabIndex=a?"0":"-1";this.Kc.tabIndex=a?"0":"-1";b.setAttribute("aria-hidden",!a);a||this.dispatchEvent("p")};
xQ.prototype.B=function(){xQ.c.B.call(this);var a=this.pu();a&&T(a,Hi,!0)};var yQ=function(){F.call(this)};B(yQ,F);q=yQ.prototype;q.Qa=function(a,b,c){c=new BD(b,c);this.o3(c,a,b);return c};q.nEa=function(a,b,c,e,f,g,h,l){this.Dwa(a);this.o3(a,null,h,0);g=!Oq(g)||1==g;c?this.OE(a,!1,!1,!1):e?this.OE(a,!0,g&&!!f,g):30<=b?this.OE(a,!0,g&&!!f,g):this.OE(a,g&&!!l,g&&!!f,!1)};q.Dwa=function(a){for(var b=a.nia(),c=0;c<b.length;c++){var e=a.Sk(b[c]);switch(e.$){case hh:case ih:case qn:case Bn:a.removeChild(e,!0)}}};
q.OE=function(a,b,c,e){a.Ia(function(a){switch(a.$){case Bn:u(b)&&a.U(b);break;case hh:u(e)&&a.U(e);break;case ih:u(c)&&a.U(c)}})};q.o3=function(a,b,c,e){c=this.bJ(c);b&&c.push(new AD);Oq(e)?fs(c,function(b){a.pe(b,e,!0)}):D(c,function(b){a.ca(b,!0)});b=a.b();hC(b,ki)&&jC(b,ki)};
q.bJ=function(a){var b=[],c=this.Eka(a);b.push(c);c=new wD("Configuraci\u00f3n avanzada...",pe,a);b.push(c);c=new AD(a);c.Dc(qn);b.push(c);c=new wD("Restrictions...","restrictions",a);b.push(c);c=new AD(a);c.Dc(qn);b.push(c);c=new wD(Dc,hh,a);b.push(c);a=this.Uia(a);b.push(a);return b};q.Eka=function(a){return new wD("Compartir...",Bn,a)};q.Uia=function(a){return new wD(Ec,ih,a)};var zQ=function(a){J.call(this);this.L=a||N()};B(zQ,J);q=zQ.prototype;q.At=null;q.G=null;q.ed=!1;q.yh=function(){return this.G||(this.G=new pC(this))};q.j=function(){return this.L};q.init=function(){this.zq()||(this.LA(),this.ed=!0)};q.zq=function(){return this.ed};q.Aja=function(){return DF(vb+X("share-client-loading-contents")+Aa+X("share-client-spinner")+'"> </div></div>').Ti()};q.Cka=function(){return new yQ};q.Dka=function(){return zD.H()};q.HY=function(){return vD.H()};
q.aqa=function(){if(!this.At){var a=new CC(void 0,!0,this.j());a.render();a.Ph(OC());a.fb("");this.yh().listen(a,Ii,this.nma).listen(a,In,this.oma);AG(a,IC.key);U(a.b(),"share-client-error-dialog");this.At=a}};q.nma=function(){this.dispatchEvent("errorHidden")};q.oma=function(){this.dispatchEvent("errorShown")};q.I7=function(a,b){var c=this.At;a&&(c||(this.aqa(),c=this.At),c.Ew(rx(b||"")));c&&c.C(a)};q.o=function(){G(this.At);G(this.G);zQ.c.o.call(this)};q.LA=Qq;q.u6=Qq;q.d7=Qq;
q.Yza=function(a){a&&this.dispatchEvent("beforeLoad");this.u6(a);a||this.dispatchEvent(qe)};var AQ=function(){this.Em=0;this.E0=!0},BQ=zA||DA&&0<=Lr(GA,31)||E&&0<=Lr(GA,11),CQ=[.25,.33296337402885684,.5,.6659,.75,.9,1,1.1,1.25,1.5,1.75,2,2.5,3,4,5];AQ.prototype.clear=function(){this.Em=0};AQ.prototype.Kia=function(){0==this.Em&&(this.Em=this.kda());return this.Em};AQ.prototype.kda=function(){var a=ry().devicePixelRatio||1;if(BQ)return a;var b=1;if(Gt)b=this.Lia();else if(E){b=screen.deviceXDPI;var c=screen.logicalXDPI;C(b&&c);b=Math.round(b/c*100)/100}return b*a};
AQ.prototype.Lia=function(){var a=ry(),b=a.outerWidth;this.E0=250<=b;if(!this.E0){if(void 0==document.width)return 1;var c=ty(d,{"min-width":kb});b=document;b.body.appendChild(c);a=b.width/c.clientWidth;b.body.removeChild(c);return a}a=b/a.innerWidth;b=Ds;for(var e=a,f=0,g=CQ.length;f<g;){var h=f+g>>1;var l=b(e,CQ[h]);0<l?f=h+1:(g=h,c=!l)}c=c?f:~f;0>c&&(c=-c-1,0<c&&a-CQ[c-1]<CQ[c]-a&&--c);return CQ[c]||CQ[CQ.length-1]};var DQ=function(a){J.call(this);this.Em=new AQ;this.Ga=new pC(this);this.L=a||N();this.bD=this.Pr=null;this.f1=0;this.LCa()};B(DQ,J);q=DQ.prototype;q.uka=function(){if(this.bD)return this.bD;this.Pr=this.L.g("iframe",{style:"position:absolute;width:9em;height:9em;top:-99em",tabIndex:-1,"aria-hidden":yp});var a=this.L.K().body;a.insertBefore(this.Pr,a.firstChild);a:{a=this.Pr;try{var b=a.contentWindow||(a.contentDocument?ry(a.contentDocument):null);break a}catch(c){}b=null}return this.bD=b};
q.LCa=function(){this.jDa()&&this.Ga.listen(this.uka(),Vm,this.Kj)};q.Kj=function(){this.Em.clear();var a=this.Em.Kia();this.f1!=a&&(this.f1=a,this.dispatchEvent(Vm))};q.xQ=null;q.jDa=function(){if(null!=this.xQ)return this.xQ;var a=ty(d,{style:"height:4.5px;width:4.5px;"});document.body.appendChild(a);var b=a.getBoundingClientRect();Ey(a);return this.xQ=.1>=Math.abs(b.right-b.left-4.5)};q.o=function(){this.Ga.dispose();Ey(this.Pr);this.Pr=null};var EQ=function(a,b,c,e,f,g){this.w_=a;this.Hn=b;this.Jr=c;this.em=e;this.h1=f||null;this.x9=g||null};EQ.prototype.getMessage=function(){return this.Hn};EQ.prototype.pk=function(){var a={};a.iconId=this.w_;a.learnMoreUrl=this.h1;a.message=this.getMessage();a.showInDialog=this.Jr;a.timeout=this.em;a.undoFn=this.x9;return a};var FQ=function(a,b){V.call(this,b);this.uc=a};B(FQ,V);FQ.prototype.Va="info";FQ.prototype.tM=!1;var GQ={info:"jfk-butterBar-info",error:"jfk-butterBar-error",warning:"jfk-butterBar-warning",promo:"jfk-butterBar-promo"};q=FQ.prototype;q.getType=function(){return this.Va};q.Ne=function(a){if(this.J()){var b=this.b(),c=GQ[a];jC(b,GQ[this.Va]);U(b,c)}this.Va=a};q.eb=function(a){this.uc=a;if(a=this.b()){var b=this.j();b.Ke(a);b.append(a,this.uc)}};q.N=function(){var a=this.b();return null!=a&&hC(a,nj)};
q.C=function(a){C(this.V,"setVisible must only be called after the butter bar is rendered.");lC(this.b(),nj,a)};q.A6=function(a){this.tM=a;(a=this.b())&&lC(a,"jfk-butterBar-mini",this.tM)};q.g=function(){this.Na(this.j().g(d,"jfk-butterBar"));C(this.b(),"The DOM element for the butter bar cannot be null.");this.Fca();this.eb(this.uc);this.A6(this.tM);this.Ne(this.Va)};q.Fca=function(){var a=this.b();a&&(T(a,Vj,ef),T(a,ff,yp))};var HQ=function(a,b){this.rva=a;this.L=b||N();this.hj=null;this.Jr=!1;this.vo=0};B(HQ,F);
HQ.prototype.XBa=function(a,b){var c=a.w_;switch(c){case "copy":var e="share-butter-copy-icon";break;case "specificPeople":e="share-butter-specific-people-icon";break;case "personLink":e="share-butter-person-link-icon"}this.hj&&this.AN();var f=this.L,g=f.g(td);e&&c!=Nk&&(e=f.g(td,[Pe,"share-butter-icon",e]),f.append(g,e));e=f.g(td,"share-butter-message",a.getMessage());f.append(g,e);if(e=a.h1)c=f.g("A",{target:de,"class":Dn,tabIndex:"0"},jd),Wx(c,e),f.append(g,"\u00a0","\u00a0"),f.append(g,c);var h=
a.x9;if(h){var l=f.g(td,{"class":Dn,tabIndex:"0"},"Deshacer");l.onclick=function(){h();l.onclick=Qq};f.append(g,"\u00a0","\u00a0");f.append(g,l)}this.hj=f.g(d,["share-butterbar-container","share-butterbar-top","share-butterbar-zindex"]);g=new FQ(g,f);g.render(this.hj);T(g.b(),Vj,"off");g.C(!0);this.Jr=a.Jr;f.appendChild(this.Jr&&b?b:document.body,this.hj);this.nva(this.hj,b);this.vo=window.setTimeout(y(this.AN,this),a.em)};
HQ.prototype.AN=function(){this.hj&&(Ey(this.hj),this.hj=null,delete this.hj,window.clearTimeout(this.vo))};HQ.prototype.nva=function(a,b){var c=parseInt(Nz(a,rq),10);if(this.Jr&&b){var e=parseInt(Nz(b,Rj),10),f=parseInt(Nz(b,up),10);b=parseInt(Nz(b,rq),10);var g=parseInt(Nz(a,Gi),10);Rz(a,e+(b-c)/2,this.rva?0:f+g/2)}else a.style.left="50%",a.style.marginLeft=-(c/2)+n};var IQ=function(a){zQ.call(this,a);this.La=new xQ(a);this.yh().listen(this.La,Lg,this.cma).listen(this.La,"p",this.bma);this.E$=new DQ(a);this.Y(this.E$);this.w0=!1;this.qG=new HQ(!1,a);this.Y(this.qG)};B(IQ,zQ);q=IQ.prototype;q.aM=null;q.cma=function(){this.C(!1);this.dispatchEvent(Bp);return!1};q.bma=function(){this.dispatchEvent(Bp)};q.ama=function(a){this.OP(a.target)&&(this.La.b().blur(),this.La.b().focus())};q.OP=function(a){return Ly(this.La.b(),a)};
q.LA=function(){var a=this.La;a.V||a.render();this.$pa();U(a.b(),"share-client-dialog");this.yh().listen(a.b(),Kf,this.ama);R(a.b(),!0);a.b().setAttribute(Ei,"share_dialog");this.C(!1);this.yh().listen(this.E$,Vm,this.La.ha.bind(this.La))};q.N=function(){return this.w0};q.C=function(a){var b=this.La;b.V||this.init();b.C(a);this.w0=a};
q.u6=function(a){var b=this.aM;a&&!b&&(b=new CC(void 0,!0,this.j()),b.Ew(this.Aja()),b.Ph(null),b.fb(ec),this.yh().listen(b,Ii,this.Yma),this.aM=b,b.render(),U(b.b(),"share-client-loading-dialog"));b&&b.C(a)};q.$pa=function(){var a=this.j(),b=this.La.Dj(),c=a.g(d,{"class":"share-client-debug"});a.appendChild(b,c)};q.Yma=function(){this.dispatchEvent(Ap)};q.eb=function(a){this.La.Ew(a)};q.eJ=function(){return this.La.J()};
q.fb=function(a,b){var c=this.j().ri(Uc,void 0,this.eJ());0<c.length&&(c[0].title=a);lC(this.La.en(),"share-client-dialog-hidden-title",b);this.La.fb(b?"":a)};q.resize=function(a,b){var c=this.eJ();c.style.width=a+n;c.style.height=b+n;this.jr();E&&(b=ny(document),Xt(8)&&b||(b=b?0:18,this.La.b().style.width=a+b+n))};q.jr=function(){var a=oy().height,b=this.La.b();if(this.N()&&0<a&&b&&!this.vra(b,a)){var c=Pz(b)==Hh?0:this.j().Df().y;Q(b,up,a-hA(b).height+c+n)}};
q.vra=function(a,b){a=a.getBoundingClientRect();return 0<=a.top&&a.bottom<=b};q.showNotification=function(a){this.qG.XBa(a,this.La.b())};q.wwa=function(){this.qG.AN()};q.o=function(){G(this.La);G(this.aM);IQ.c.o.call(this)};q.d7=function(a){var b=this.La.b();lC(b,"team-drive-share-client-dialog",a);b.setAttribute(Ei,a?"drive_share_dialog":"share_dialog")};var JQ=function(a,b){F.call(this);this.ab=a;this.V8=b;this.AC=[];this.T1=y(this.ina,this);window.addEventListener(pk,this.T1,!1);this.Lj=new L};B(JQ,F);JQ.prototype.ina=function(a){if(a.origin==this.V8){try{var b=JSON.parse(a.data)}catch(e){return}var c=b.args;if(b=this.Lj.get(b.type))this.ab=a.source,this.AC&&(D(this.AC,function(a){this.sendMessage(a.messageType,a.Eua)},this),this.AC=[]),b.call(null,c)}};JQ.prototype.xr=function(a,b,c){this.Lj.set(a,y(b,c))};
JQ.prototype.sendMessage=function(a,b){if(this.ab){var c={};c.type=a;b&&(c.args=b);this.ab.postMessage(sv(c),this.V8)}else this.AC.push({messageType:a,Eua:b})};JQ.prototype.o=function(){window.removeEventListener(pk,this.T1,!1)};var NQ=function(a,b,c){b=c||b;a=a||{};c=DF;a=""+(a.hK?KQ({Xd:HF("scb-button-icon  scb-dlp-icon  ")},null,b):a.r$?LQ({Xd:HF("scb-button-icon  "+MQ(a.r$,null,b))},null,b):"");b=DF("Compartir");return c(a+b+"")};NQ.ra="apps.share.client.templates.ShareClientButton.buttonContent";
var OQ=function(a,b,c){b=c||b;c=DF;a.hK?(b=b||null,a=a||{},a=DF(Cb+X(dn)+Da+X(en)+ua+KQ({Xd:HF("scb-dlp-icon  ")},null,b)+tb+X(gn)+ua+W(a.eW)+"</div></td></tr></table>")):(b=b||null,a=DF(Cb+X(dn)+Da+X(en)+ua+LQ({Xd:HF(""+MQ(a,null,b))},null,b)+tb+X(gn)+ua+W(a.summary)+"</div></td></tr>"+(a.NV?'<tr><td></td><td class="'+X(fn)+ua+W(a.NV)+rb:"")+qb+(a.TF||a.UF?vb+X("scb-tooltip-separator")+'"></div><table class="'+X(dn)+'"><tr class="'+X("scb-tooltip-additional")+'"><td class="'+X(en)+ua+(a.TF?Bb+X(cn)+
" "+X(a.TF)+va:"")+sb+X(fn)+ua+(a.UF?"<div>"+W(a.UF)+lb:"")+"</td></tr></table>":"")+""));return c(""+a+"")},LQ=function(a){a=eG(v(a.Xd)||a.Xd instanceof ME,"classes",a.Xd,ka);return DF(Bb+X(cn)+" "+X(Pe)+(a?" "+X(a):"")+va)},KQ=function(a){a=eG(v(a.Xd)||a.Xd instanceof ME,"classes",a.Xd,ka);return DF(Bb+X(Pe)+" "+X(cn)+(a?" "+X(a):"")+va)},MQ=function(a){var b=eG(Nq(a.dD)||1===a.dD||0===a.dD,"restrictedToDomain",a.dD,sf),c=eG(Nq(a.eD)||1===a.eD||0===a.eD,"restrictedToSingleUserScope",a.eD,sf),e=
eG(v(a.state)||a.state instanceof ME,"state",a.state,ka),f="";if(eG(Nq(a.Bu)||1===a.Bu||0===a.Bu,"hasInvalidEntries",a.Bu,sf))f+="scb-invalid-icon-white";else switch(Vq(e)?e.toString():e){case "private":f+=c?"scb-private-icon-white":"scb-privately-shared-icon-white";break;case "unlisted":f+=b?"scb-domain-unlisted-icon-white":"scb-unlisted-icon-white";break;case Km:f+=b?"scb-domain-public-icon-white":"scb-public-icon-white"}return FF(f)};var PQ=function(a){return null!=a&&(!v(a)||!hr(Hr(a)))&&(!x(a)||!rs(a))&&(!Vq(a)||!at(a))};var QQ=function(a,b,c,e,f,g,h,l,p){this.oa=a;this.wQ=b;this.AH=c;this.O4=e||0;this.H4=u(f)?f:!0;this.S0=g||null;this.Py=h||null;this.I4=!!l;this.jK=u(p)?p:!1};QQ.prototype.Bu=function(){return this.jK};QQ.prototype.pk=function(){var a={};a.visibilityState=this.oa;a.summary=this.wQ;a.details=this.AH;a.role=this.O4;a.restrictedToDomain=this.H4;this.S0&&(a.key=this.S0);this.Py&&(a.domainDisplayName=this.Py);a.restrictedToSingleUserScope=this.I4;a.hasInvalidEntries=this.jK;return Rs(a,PQ)};
var RQ=function(a){return new QQ(a.visibilityState,a.summary,a.details,a.role,a.restrictedToDomain,a.key,a.domainDisplayName,a.restrictedToSingleUserScope,a.hasInvalidEntries)};QQ.prototype.Ska=function(){var a={};a.state=this.oa;a.summary=this.wQ;a.NV=this.AH;a.dD=this.H4;this.Py&&(a.XNa=this.Py);a.fOa=this.O4;a.yOa=sv(this.pk());a.eD=this.I4;a.Bu=this.jK;return a};var TQ=function(a){V.call(this,a);this.kb=new SQ(a);a=new mG("",this.j());this.ca(a);this.xT=a;this.Jx=null};B(TQ,V);q=TQ.prototype;q.KH=null;q.tk=null;q.tj=null;q.Mj=!1;q.Kx=null;q.Cj=function(){return this.xT};q.U=function(a,b){this.xT.U(a);this.KH=!a&&u(b)?b:null;this.pf()};q.B5=function(a,b){this.Kx=a||null;this.Jx=b||null;this.pf()};q.B=function(){TQ.c.B.call(this);this.pf()};q.E1=function(){var a=this.tk;return a?a.Ska():null};
q.fsa=function(){var a={};if(this.Mj)a.eW=this.NX(),a.hK=!0;else{var b=this.E1();b&&(a.r$=b)}return a};q.NX=function(){var a="El documento contiene: "+this.tj;return""==this.tj?"El documento contiene datos confidenciales":a};q.lsa=function(){var a={};if(this.Mj)a.eW=this.NX(),a.hK=!0;else if(a=this.E1(),this.Kx||this.Jx)a=a||{},this.Kx&&(a.UF=this.Kx),this.Jx&&(a.TF=this.Jx);return a};q.FP=function(a){this.tk=a;this.pf()};q.gza=function(a,b){this.tj=a;this.Mj=b;this.pf()};
q.g=function(){this.Cj().g();this.Na(this.j().createElement(Po))};q.Ka=function(a){TQ.c.Ka.call(this,a);var b=a.childNodes[0];this.Cj().R(b);this.FP(UQ(a));if(this.Mj=a?a.getAttribute("hasDlpViolation")==yp:!1)b=a.getAttribute("displayName"),this.tj=b==Pk?null:a?b||null:null};q.pf=function(){if(this.V){var a=this.Cj();a.Er(2);var b=ZE(NQ,this.fsa());a.eb(b);T(a.b(),Lj,this.iia());b=this.kb;if(this.KH)b.Rh(rx(this.KH)),b.pd(a.b());else{var c=this.lsa();c?(b.Rh(OQ(c).Ti()),b.pd(a.b())):b.detach(a.b())}}};
q.iia=function(){if(this.Mj){var a="Compartir. Atenci\u00f3n, este documento contiene: "+(this.tj+".");return""==this.tj?"Compartir. Atenci\u00f3n, este documento contiene datos sensibles.":a}if(!this.tk)return"Compartir";a="Compartir. "+(this.tk.wQ+". ");var b=this.tk.AH;b&&(a+=b);return a};var UQ=function(a){if(!a)return null;a=a.getAttribute("vsjson");return a?(a=JSON.parse(Br(a)))?RQ(a):null:null};TQ.prototype.o=function(){TQ.c.o.call(this);this.kb.dispose();this.tk=null};
var SQ=function(a){YG.call(this,void 0,void 0,a)};B(SQ,YG);SQ.prototype.Rh=function(a){this.b().style.left="";this.b().style.top="";SQ.c.Rh.call(this,a)};var WQ=function(a,b,c,e,f,g){this.Ab=a;this.ma=String(b);this.Jxa=c||"user";this.Dsa=!!e;this.ypa=hr(Hr(f))?null:VQ(f);this.gxa=!!g},XQ=new L,VQ=Ks;q=WQ.prototype;q.getName=function(){return this.Ab};q.getId=function(){return this.ma};q.clone=function(a){var b=this.pk();a&&ht(b,a);a=b.scopeType;return XQ.Xb(a)?XQ.get(a).call(void 0,b):new WQ(b.name,b.id,b.scopeType,b.me,b.iconUrl,b.requiresKey)};
q.pk=function(){var a={};a.iconUrl=this.ypa;a.scopeType=this.Jxa;a.name=this.Ab;a.id=this.ma;a.me=this.Dsa;a.requiresKey=this.gxa;return Rs(a,PQ)};q.toString=function(){return"<scope id="+this.getId()+", name="+this.getName()+">"};var ZQ=function(a,b,c,e,f,g,h){WQ.call(this,a,b,"user",e,f,h);this.vj=c||null;this.mqa=g||null};B(ZQ,WQ);ZQ.prototype.getEmail=function(){return this.vj};ZQ.prototype.pk=function(){var a=ZQ.c.pk.call(this);a.email=this.vj;a.invitedEmail=this.mqa;return Rs(a,PQ)};var $Q=function(a){return new ZQ(a.name,a.id,a.email,a.me,a.iconUrl,a.invitedEmail,a.requiresKey)};XQ.set("user",$Q);var aR=function(a){F.call(this);this.VEa=a.userRole||0;this.hga=!!a.editorsCanInvite;this.lta=a.numSharedUsers||0;this.aE=!!a.sharingDisabled;this.kR=a.userScope||null;this.rI=!!a.exportable;this.tk=a.visibilitySetting||null;this.$D=a.shareableUrl||null;this.IN=!!a.requestShareEnabled;this.z7=a.shareAppPath||null;this.tj=a.dlpDetectorDisplayName||null;this.Mj=a.hasDlpViolation||!1;var b=a.emailCollaboratorsSupported;this.oW=null==b||!!b;a=a.emailAsAttachmentSupported;this.nW=null==a||!!a};B(aR,F);
q=aR.prototype;q.eq=function(){return this.VEa};q.Gz=function(){return this.hga};q.zJ=function(){return this.lta};q.fq=function(){return this.tk};q.FP=function(a){this.tk=a};
q.pk=function(){var a={};a.userRole=this.eq();a.editorsCanInvite=this.Gz();a.numSharedUsers=this.zJ();a.sharingDisabled=this.aE;a.userScope=this.kR?this.kR.pk():null;a.exportable=this.rI;this.fq()&&(a.visibilitySetting=this.fq().pk());a.shareableUrl=this.$D;a.requestShareEnabled=this.IN;a.shareAppPath=this.z7;a.hasDlpViolation=this.Mj;a.dlpDetectorDisplayName=this.tj;a.emailCollaboratorsSupported=this.oW;a.emailAsAttachmentSupported=this.nW;return a};var bR=function(a,b,c,e,f,g,h,l,p,r,z,O,ea,qa){J.call(this);this.vz=a;this.hb=l||new IQ(e);this.ge=p||window;a=this.hb.Dka();e=new BD(e,a);this.HT=25E3;this.Ppa=1E4;a=e.b();a||(e.g(),a=e.b());U(a,"goog-menu-noaccel");e.C(!1);this.Ul=e;a=this.hb.HY();(this.bM=new wD(this.uaa,void 0,void 0,a)).U(!1);(this.ZD=new wD(this.vaa,void 0,void 0,a)).U(!1);this.nw=b;this.Uha=c;this.EBa=h||b;this.Nc=new aR({});this.L=e.j();this.Qf=f||null;this.kva=u(g)?g:!0;this.Jw=this.hb.Cka();this.kh=z||null;this.nx=!!r;this.pW=
r||null;this.FBa=O||null;this.gS=qa||new wQ;this.ACa=!1;this.OS=null;this.yya();this.tI=null;this.sza(ea);this.nx||this.qI(this.ge);b=this.kJ();b.listen(e,In,this.hna);b.listen(e,k,this.loa);b.listen(this.hb,Ap,this.Uma);b.listen(this.hb,Bp,this.Foa);b.listen(this.hb,"errorHidden",this.Goa);b.listen(this.hb,"errorShown",this.cK)};B(bR,J);q=bR.prototype;q.LE=null;q.Fs=null;q.lh=null;q.QA=!1;q.AB=null;q.jH="share";q.aj=!1;q.Pi=!1;q.Ok=null;q.Fq=null;q.Dr=null;q.M4=null;q.G=null;q.Ac=null;q.Bh=null;
q.UN=null;q.NA=!1;q.KA=null;q.oR=!1;q.lm=!1;q.Zi=!1;q.z1=!1;q.rp=null;q.cC=0;q.qW=!1;q.vQ=null;q.IL=0;q.Hr=null;q.KP=!1;q.hwa=!1;q.Qu=!1;q.b0=!1;q.uaa=ec;q.vaa="No se puede compartir en este momento. Int\u00e9ntalo de nuevo m\u00e1s tarde.";q.waa="Lo sentimos, pero no se puede compartir en este momento. Int\u00e9ntalo de nuevo m\u00e1s tarde.";q.sf=null;
q.qI=function(a){this.nx||(a.SC_setTitle=y(this.Iw,this),a.SC_resize=y(this.hb.resize,this.hb),a.SC_setVisible=y(this.l7,this),a.SC_prepareForVisible=y(this.oN,this),a.SC_setClientModel=y(this.M5,this),a.SC_dispatchEvent=y(this.Ap,this),a.SC_handleError=y(this.be,this),a.SC_handleCommandComplete=y(this.iZ,this),a.SC_setExecuteCommandFn=y(this.qza,this),a.SC_switchShareApp=y(this.kDa,this),a.SC_setSetShareSystemVisibleFn=y(this.TAa,this),a.SC_setGetInterfaceVersionNumberFn=y(this.Dza,this),a.SC_getVersionNumber=
y(this.dla,this),a.SC_rewriteUrl=y(this.rxa,this),a.SC_showNotification=y(this.hCa,this),a.SC_removeNotification=y(this.xwa,this),a.SC_getAriaLiveRegion=y(this.cia,this))};
q.Zba=function(){if(this.nx&&!this.sf){var a=this.lh.clone().$g("").setQuery("").wr("").toString();this.sf=new JQ(null,a);this.Y(this.sf);this.sf.xr("setClientModel",function(a){this.M5(a.clientModelJson)},this);this.sf.xr("handleCommandComplete",function(a){this.iZ(a.commandType,a.commandStatus)},this);this.sf.xr(Vm,function(a){this.hb.resize(a.width,a.height);this.sf.sendMessage("resizeComplete")},this);this.sf.xr("prepareForVisible",function(){this.oN();this.sf.sendMessage("makeBodyVisible");this.sf.sendMessage("prepareComplete")},
this);this.sf.xr("setVisible",function(a){this.l7(a.visible)},this);this.sf.xr("setTitle",function(a){this.Iw(a.title,a.hidden)},this);this.Fq=null;this.Ok=y(function(a){this.sf.sendMessage("executeCommand",{commandType:a})},this)}};q.vEa=function(){this.Hr&&(this.Hr.FP(this.Nc.fq()),this.Hr.gza(this.Nc.tj,this.Nc.Mj))};q.uEa=function(){var a=this.Nc.z7;a!=eh&&(a="share");if(a!=this.jH){var b=this.lh.clone();b=cR(b,a);this.Pi=!1;this.lh=b;this.jH=a}};q.xw=function(a){var b={};b.impressionType=a;return b};
q.Eya=function(a){if(this.lh)throw Error("Base uri has already been set and cannot be set again.");v(a)&&(a=new $y(a));this.lh=a;this.nx&&this.Zba()};q.Sza=function(a,b){a=x(a)?a:[a];Cs(a);Es(a);var c=this.Ac,e;if(!(e=!this.aj)){a:if(Tq(a)&&Tq(c)&&a.length==c.length){e=a.length;for(var f=0;f<e;f++)if(a[f]!==c[f]){c=!1;break a}c=!0}else c=!1;e=!c}e&&(this.Ac=a,this.Qu=this.aj=!1,this.IL=0,this.AB=b?b:null,this.mi(Sm),this.hb.N()&&this.BP(!1))};q.dla=function(){return 2};
q.MBa=function(a,b){b=b&&!!b.forceFullLoad;switch(a){case Yj:case jk:return!b;case Bm:return!0;default:return!1}};q.j0=function(){return 2E4<A()-this.IL};q.M5=function(a){var b=this.Nc;a=dt(a);var c=a.userScope;c&&(a.userScope=$Q(c));(c=a.visibilitySetting)&&(a.visibilitySetting=RQ(c));this.Nc=new aR(a);this.aj&&b.$D!=this.Nc.$D&&(this.KP=!0);this.aj=!0;this.lm=!1;this.uEa();this.wEa();this.SQ();this.vEa();this.Ap(le)};q.OBa=function(a){return this.ACa?!1:a||this.Ul.N()?!0:!1};
q.hna=function(){if(this.TT())this.aj?this.u3():(this.Ul.N()||this.Ul.C(!0,!0),this.ME(!0));else{this.Tv();for(var a=this.Jw.bJ(this.L),b=a.length-1;0<=b;b--)this.us(a[b])}};q.be=function(a,b){switch(a){case bj:this.rCa(b),this.aj=this.Qu=!0}};q.iZ=function(a,b,c){b=b==ap;switch(a){case bj:this.b4();break;case "init_share":case "data":b&&(this.IL=A());this.joa(b);break;case Bn:case pe:b||this.J7(c||"")}};q.Dza=function(){};q.qza=function(a){this.Pi=!0;this.Fq=this.Ok;this.Ok=a};
q.kDa=function(a,b){b&&b.forceFullLoad&&(this.Pi=!1);var c=this.Ok;this.Fq?this.Ok=this.Fq:this.Pi=!1;this.Fq=c;this.zG();this.mi(a,b)};q.TAa=function(a){this.Dr=a};q.rCa=function(a){this.Tv();if(a){var b=this.hb.HY();a=new wD(xy(document,CE(a)),void 0,void 0,b);a.U(!1);this.us(a)}else this.us(this.ZD)};q.rxa=function(a){return this.M4?this.M4(a):a};q.hCa=function(a){this.hb.showNotification(new EQ(a.iconId,a.message,a.showInDialog,a.timeout,a.learnMoreUrl,a.undoFn))};q.xwa=function(){this.hb.wwa()};
q.Iw=function(a,b){this.hb.fb(a,b)};q.tqa=function(){return this.jH==eh};q.eq=function(){return this.Nc.eq()};q.Gz=function(){return this.Nc.Gz()};q.zJ=function(){return this.Nc.zJ()};q.NJ=function(){var a=this.Nc.eq();return this.Nc.aE?!1:40==a||45==a||30==a&&this.Nc.Gz()};q.fq=function(){return this.Nc.fq()};q.yya=function(a){var b=null;a&&(b=this.L.b(a));this.OS=b?b:this.L.b("docs-aria-speakable")};q.cia=function(){return this.OS};
q.sza=function(a){a&&(this.tI=function(){var b=a(),c=new Nv(function(a){t.setTimeout(a,1500)});return Sv([b,c])})};q.ME=function(a,b,c){this.Ac&&!rs(this.Ac)&&(this.hb.N()?this.LE=y(this.ME,this,a,b):(a&&this.yva(),this.lm||(this.Pi?(this.lm=!0,this.dO(c,!0)):this.OBa(b)&&(this.lm=!0,this.Zxa(),a&&this.u3()))))};q.yva=function(){this.Tv();this.us(this.bM);M(this.aS,this.Ppa,this)};q.Zxa=function(){this.oR=!0;this.mja().src=this.XY(bj);M(this.yda,this.HT,this)};
q.u3=function(){this.Qu||(this.Zi||this.Pi?this.Pi&&this.j0()&&(this.Zi=!0,this.dO(void 0,!0)):(this.Zi=!0,this.u5("unknown",!0)))};q.u5=function(a,b){var c={};c.locationHint=a;c.preload=!!b;a=this.$ka("init_share",c);this.hb.eb(a);b||this.zw(!0);this.oN()};q.dO=function(a,b){a=a||{};a.itemIds||(a.itemIds=this.Ac);a.locationHint||(a.locationHint=this.AB);!a.hybrid_access_token&&this.Bh&&(a.hybrid_access_token=this.Bh);!a.adminRequest&&this.QA&&(a.adminRequest=!0);this.lI("data",a,void 0,b)};
q.Tv=function(){for(var a=this.Ul,b=this.cC,c=0;c<b;c++)a.Z3(0,!0);this.cC=0;this.Ap(nk)};q.us=function(a){a.getParent()||(this.Ul.pe(a,0,!0),this.cC++,this.Ap(nk))};q.kJ=function(){return this.G||(this.G=new pC(this))};q.$ka=function(a,b){a=this.lh&&this.XY(a,b);return DF('<iframe frameborder="0" src="'+(a?X(ZF(a)):"javascript:&quot;&quot;")+ma+X("share-client-content-iframe")+ya).Ti()};
q.XY=function(a,b){if(!this.lh)return kj;var c=this.lh.clone();if(a==bj)c=cR(c,bj);else if(b){var e=b.locationHint;e||bt(b,"locationHint");"teamDriveRoot"==e||"teamDriveItem"==e?c=cR(c,eh):"myDriveItem"==e&&(c=cR(c,"share"))}c.T("id",this.Ac);c.T("foreignService",this.nw);c.T("gaiaService",this.Uha);c.T("shareService",this.EBa);a!=bj&&c.T("command",a);c.T("subapp",10);c.T("popupWindowsEnabled",this.kva);c.T("shareUiType",Gg);this.Qf&&c.T("hl",this.Qf);this.Bh?c.T("hybrid_access_token",this.Bh):c.T(jf,
this.vz?this.vz:"0");c.T("rand",A());b&&c.zh().extend(b);this.nx&&c.T("client","postMessage");this.kh&&c.T("appId",this.kh);this.pW&&c.T("embedOrigin",this.pW);this.QA&&c.T("admin",!0);return c.toString()};var cR=function(a,b){b=b==eh||b==bj?b:"share";return a.$g(a.getPath().replace(/[a-z]+$/,b))};q=bR.prototype;
q.mi=function(a,b){b=b||{};b.itemIds=this.Ac;b.triggerInstantMs=A();this.Bh&&(b.hybrid_access_token=this.Bh);this.QA&&(b.adminRequest=!0);this.AB&&(b.locationHint=this.AB);this.qI(this.ge);var c=!0;switch(a){case bj:case Yj:case "maybe_email_collaborators":case jk:case Bm:case Sm:case Um:c=!1}switch(a){case Yj:case jk:this.kO(!0)}if(a==Um)this.aS();else if(!this.Pi&&this.Ac&&15<this.Ac.length)this.UN=this.Ac,this.Ac=[this.Ac[0]],this.NA=!0,this.mI(a,b,!c);else if(a==bj||a==Sm)this.ME(!1,!0,b);else if(!this.TT())this.dispatchEvent(new dR(y(this.mi,
this,a,b)));else if(this.dispatchEvent(new eR(a,b))){if("invite"==a&&b.inviteFromUrl){if(this.aj&&!this.NJ())return;if(!this.aj){this.lm||this.ME(!1,!0);this.kJ().Of(this,le,y(this.mi,this,a,b));return}}a==Bn&&!b.itemContentSummaryPromise&&this.tI&&(b.itemContentSummaryPromise=this.tI());!this.Pi||this.j0()&&!this.MBa(a,b)?((this.NA&&c||b.itemContentSummaryPromise)&&this.zw(!0),this.mI(a,b,!c)):this.lI(a,b)}};
q.mI=function(a,b,c){this.rp=a;this.Ys=b;this.Ey=(new Date).getTime();this.CBa();this.Zi||(this.Zi=!0,this.Pi?this.lm||this.dO(b,a==Yj||a==jk):(a="unknown",b&&b.locationHint&&(a=b.locationHint),this.u5(a,c)))};
q.lI=function(a,b,c,e){if(a!=Bm){var f=b||{};f.itemIds||(f.itemIds=this.Ac);!f.hybrid_access_token&&this.Bh&&(f.hybrid_access_token=this.Bh);!f.adminRequest&&this.QA&&(f.adminRequest=!0);if(a==jk||a==Yj)f.aclFixerMode=f.aclFixerMode||"mail";this.qI(this.ge);(b=f.itemContentSummaryPromise)?b.then(function(b){this.zw(!1);b?f.itemContentSummaryInfo=b:f.itemContentSummaryPromiseTimeout=!0;this.Ok(a,f,c,e)},void 0,this):this.Ok(a,f,c,e)}};
q.CBa=function(){Oq(this.Fs)&&Yv(this.Fs);this.Fs=M(this.zda,this.HT,this)};q.joa=function(a){this.Zi=!1;var b=this.rp,c=this.Ys;if(this.NA)if(this.NA=!1,this.Ac=this.UN,delete this.UN,this.rp=null,delete this.Ys,delete this.Ey,a){if(b){c.itemIds=this.Ac;this.Bh&&(c.hybrid_access_token=this.Bh);this.mI(b,c);return}}else b==jk&&this.MH();b&&(a?(a=y(this.lI,this,b,this.Ys,this.Ey),M(a,10,this)):b==jk&&this.MH(),this.rp=null,delete this.Ys,delete this.Ey)};
q.mja=function(){var a=this.KA;a||(this.KA=a=this.hsa());return a};q.hsa=function(){var a=ty(Uc);E&&!Xt("7")&&Xx(a,Qw(vw(kj)));var b=a.style;b.visibility=Hi;b.width=b.height="10px";EA&&!Xt("419.3")?b.marginTop=b.marginLeft="-99px":(b.position=ke,b.top=b.left="-10px");document.body.appendChild(a);return a};q.b4=function(){var a=this.KA;a&&(Ey(a),this.KA=null)};q.yda=function(){this.oR&&(this.b4(),this.oR=!1)};q.aS=function(){this.lm&&!this.Qu&&(this.Tv(),this.us(this.ZD),this.lm=!1,this.Qu=!0)};
q.TT=function(){return this.Ac?!!this.Ac.length:!1};q.Gwa=function(){this.BP(!1);this.hb.eb(Fx)};q.zda=function(){if(this.Zi){switch(this.rp){case jk:this.MH();break;case Yj:case Bm:break;default:this.J7(this.waa)}this.Ap(Xj);this.zG()}};q.Uma=function(){this.z1&&this.zG()};q.zG=function(){this.Zi&&(this.Gwa(),this.Zi=!1,this.zw(!1),this.rp=null,delete this.Ys,delete this.Ey)};q.zw=function(a){this.z1=a;this.hb.Yza(a);a&&this.cK()};q.J7=function(a){this.hb.I7(!0,a)};
q.loa=function(a){switch(a.target.getValue()){case hh:this.lga();break;case ih:this.jga();break;case Bn:this.DBa();break;case pe:this.mca();break;case "restrictions":this.nxa()}};q.jga=function(){this.mi("email_attach",this.xw(6))};q.lga=function(){this.mi(hh,this.xw(5))};q.DBa=function(){this.mi(Bn,this.xw(2))};q.mca=function(){this.mi(pe,this.xw(2))};q.nxa=function(){this.mi("team_drive_restrictions",this.xw(2))};
q.SQ=function(){var a=this.Nc;this.gS.YDa(a.eq(),this.b0||a.aE,this.NJ(),this.Ac?this.Ac.length:0,a.rI&&this.qW,a.IN,!!a.kR,a.oW,a.nW,this.FBa||void 0)};q.wEa=function(){this.Tv();var a=this.Nc;this.cC=this.Jw.bJ(this.L).length;this.Jw.nEa(this.Ul,a.eq(),a.aE,this.NJ(),a.rI&&this.qW,this.Ac?this.Ac.length:0,this.L,a.IN);this.Ap(nk)};q.l7=function(a){a&&(this.Zi=!1,this.zw(!1),this.hb.I7(!1));this.BP(a)};q.oN=function(){this.hb.init()};
q.BP=function(a){a&&(this.hb.init(),this.hb.d7(this.tqa()));this.hb.C(a);a?this.cK():this.NZ()};q.kO=function(a){this.b0=a;this.aj?this.SQ():(this.gS.y7.U(!a),this.kJ().Of(this,le,y(this.SQ,this)))};q.cK=function(){this.dispatchEvent("uiOpened")};q.NZ=function(){this.LE&&(this.LE(),this.LE=null);if(this.KP){this.KP=!1;var a=this.Nc.$D,b=this.Nc.fq();a&&b&&"unlisted"==b.oa&&(a=new fR(a),this.hwa?a.cta():this.dispatchEvent(a))}this.Dr&&this.Dr(!1);this.dispatchEvent("uiClosed")};
q.Foa=function(){this.Dr&&this.Dr(!1)};q.Goa=function(){this.hb.N()||this.NZ()};q.MH=function(){this.kO(!1);this.dispatchEvent(new gR(sg))};q.Ap=function(a,b){switch(a){case "aclFixerDone":a=sg;b&&b.aclFixerDoneStatus&&(a=b.aclFixerDoneStatus);this.kO(!1);this.dispatchEvent(new gR(a));break;default:this.dispatchEvent(new H(a))}};
q.o=function(){bR.c.o.call(this);Oq(this.Fs)&&Yv(this.Fs);this.Ul.dispose();delete this.Ul;this.Hr&&(this.Hr.dispose(),this.Hr=null);this.bM.dispose();delete this.bM;this.ZD.dispose();delete this.ZD;delete this.L;this.Jw.dispose();delete this.Jw;this.hb.dispose();delete this.hb;this.G&&(this.G.dispose(),this.G=null);this.vQ&&(this.vQ.dispose(),this.vQ=null);this.lh=this.Bh=this.Ac=null;this.Nc.dispose();delete this.Nc;this.Dr=this.Ok=this.Fq=null};
var eR=function(a,b){H.call(this,"beforeExecute");this.Fua=b||{}};B(eR,H);eR.prototype.getArgs=function(){return this.Fua};var dR=function(a){H.call(this,"createItems");this.Mc=a};B(dR,H);var fR=function(a){H.call(this,"reloadSuggested");this.GBa=a};B(fR,H);
fR.prototype.cta=function(a){var b=iz(this.GBa).mb("authkey"),c=a||window;a=iz(c.location.href).removeParameter("userstoinvite");b&&a.T("authkey",b);var e=a.toString();e!=iz(c.location.href).toString()&&((b=this.target)&&b.dispose(),c.setTimeout(function(){Zx(c.location,e)},0))};var gR=function(a){H.call(this,"aclFixerDone");this.Vr=a};B(gR,H);gR.prototype.Ij=function(){return this.Vr};var hR=function(a){IQ.call(this,a);this.uy={}};B(hR,IQ);var iR={JFa:uf,mMa:up};q=hR.prototype;q.uc=Fx;q.A7=!0;q.uo=null;q.JP=null;q.ty=null;q.M8="";q.Xc="";
q.LA=function(){hR.c.LA.call(this);var a=this.j(),b=this.eJ(),c=a.g(d),e=a.g(d);Vx(e,this.uc);e.className="share-client-panel-dialog-share";var f={};for(g in iR){var g=iR[g];f[g]=a.g(d)}a.appendChild(b,f.top);a.appendChild(b,c);a.appendChild(b,e);a.appendChild(b,f.bottom);this.uo=e;c.className="share-client-panel-dialog-overlay";this.JP=c;this.qP(this.A7);this.ty=f;for(g in iR)g=iR[g],f[g].className="share-client-panel-dialog-component-"+g,(a=this.uy[g])&&this.Jpa(a,g)};
q.C=function(a){hR.c.C.call(this,a);a&&this.La.focus()};q.fb=function(a,b){this.Xc=a;this.M8&&(a=a+" - "+this.M8);hR.c.fb.call(this,a,b)};q.eb=function(a){this.uc=a;this.uo&&Vx(this.uo,a)};q.OP=function(a){if(!hR.c.OP.call(this,a))return!1;for(var b in iR)if(b=iR[b],Ly(this.ty[b],a))return!1;return!0};q.Jpa=function(a,b){a&&b&&a.render(this.ty[b])};q.qP=function(a){this.A7=a;var b=this.JP;if(b){if(!a){var c=hA(this.uo);this.B4(c.width,c.height)}R(b,!a);jA(this.uo,a?1:.5)}};
q.Kj=function(){var a=hA(this.uo);this.resize(a.width,a.height)};q.resize=function(a,b){this.jxa(a,b);var c=0;for(e in iR){var e=iR[e];var f=this.uy[e];!f||e!=up&&e!=uf||(f.YD(a),c+=f.ti())}hR.c.resize.call(this,a,b+c)};q.jxa=function(a,b){var c=this.uo;c.style.width=a+n;c.style.height=b+n;this.B4(a,b)};q.B4=function(a,b){var c=this.JP;c.style.width=a+n;c.style.height=b+n};q.o=function(){for(var a in iR)a=iR[a],G(this.uy[a]);this.ty=this.uy=null;hR.c.o.call(this)};var jR=function(a){this.action=a;this.wfv=!1},kR={No:zf,PFa:"cancel-upload",uKa:Sm,QKa:"select-contacts",RKa:"select-fonts",SKa:"select-people",XKa:"set-album-sort-order",YKa:un,ZKa:vn,$Ka:wn,aLa:xn,bLa:yn,cLa:zn,dLa:An,YR:jq};var lR=function(){jR.call(this,zf)};B(lR,jR);var mR=function(a){jR.call(this,"cancel-upload");this.id=a};B(mR,jR);var nR=function(){jR.call(this,Sm)};B(nR,jR);var oR=function(a,b){jR.call(this,un);this.appId=a;this.appOrigin=b};B(oR,jR);var pR=function(a){jR.call(this,wn);this.wfv=!0;this.maxSizeBytes=a};B(pR,jR);var qR=function(a){jR.call(this,vn);this.wfv=!0;this.maxItems=a};B(qR,jR);var rR=function(a){jR.call(this,xn);this.wfv=!0;this.title=a};B(rR,jR);var sR={Q$:ue,EGa:Rg,FGa:Sg,GGa:Tg,R$:Vg,NGa:bh,xHa:Lh,EHa:Qh,PJa:zl,cKa:Dm,MKa:hn,oLa:Xn,OLa:Ro,ZLa:cp,tGa:wg,gIa:Wi,TJa:Cl,UJa:Dl,Eaa:El,WJa:Fl,Daa:Gl,ZMa:nq,gNa:xq,PMa:bq,MMa:cq,lba:wq,laa:gk,TIa:hk,xR:If,K$:og,pF:Al,T$:"et",NFa:xf,Y$:Oh,eKa:Fm,pKa:Qm,vMa:Fp,URL:Sp,$Ma:mq,jKa:"quota"},tR=function(a){switch(a){case ue:case Rg:case Sg:case Tg:case Vg:case bh:case Lh:case Qh:case zl:case Dm:case Xn:case Ro:case cp:return!0}return!1};var uR=function(a){this.ma=a;this.W={}};q=uR.prototype;q.Ra=function(a){this.Ua=a||void 0;return this};q.setQuery=function(a){this.W.query=a;return this};q.Gb=function(a){this.W.mimeTypes=a;return this};q.Fb=function(a){this.W.hideBc=a?yp:null;return this};q.Db=function(a,b){var c=this.W.data||{};c[a]=b;this.W.data=c;return this};q.Ea=function(a){this.W.parent=a;return this};q.Mb=function(a){this.W.cRename=a;return this};
q.Vh=function(){var a=Rs(this.W,function(a){return null!==a});a=at(a)?null:a;a=[this.ma,this.Ua,a];var b=ps(a,Ks);return a=a.slice(0,b+1)};q.toString=function(){var a=this.Vh();return"("+hs(a,function(a){return sv(a)}).join(",")+")"};q.getId=function(){return this.ma};q.wg=function(){return this.Ua};q.getOptions=function(){return dt(this.W)};q.getQuery=function(){return this.W.query};var vR=function(a){jR.call(this,zn);this.view=a.Vh()};B(vR,jR);var wR=function(a){jR.call(this,An);this.viewOptions=a};B(wR,jR);var xR=function(a){jR.call(this,jq);this.visible=a};B(xR,jR);var yR={No:zf,XJa:Il,zMa:Ip,AMa:Jp,CMa:Kp,MIa:Zj,HFa:"blurred",dHa:lh,RMa:fq,WMa:iq,SMa:gq,oKa:Pm};var zR=[void 0,sl,"limited",wh,Wg,Km,ve];var AR=function(a){uR.call(this,Fp);this.W.query=a};B(AR,uR);q=AR.prototype;q.setQuery=function(){throw Error("Query cannot be set for upload views.");};q.tBa=function(a){this.W.notifications=a?yp:null;return this};q.Ra=function(a){AR.c.Ra.call(this,a);return this};q.Gb=function(a){AR.c.Gb.call(this,a);return this};q.Fb=function(a){AR.c.Fb.call(this,a);return this};q.Db=function(a,b){AR.c.Db.call(this,a,b);return this};q.Ea=function(a){AR.c.Ea.call(this,a);return this};
q.Mb=function(a){AR.c.Mb.call(this,a);return this};var BR=function(){AR.call(this,Qg)};B(BR,AR);q=BR.prototype;q.TO=function(a){this.W.includeFolders=a;return this};q.Ra=function(a){BR.c.Ra.call(this,a);return this};q.setQuery=function(a){BR.c.setQuery.call(this,a);return this};q.Gb=function(a){BR.c.Gb.call(this,a);return this};q.Fb=function(a){BR.c.Fb.call(this,a);return this};q.Db=function(a,b){BR.c.Db.call(this,a,b);return this};q.Ea=function(a){BR.c.Ea.call(this,a);return this};q.Mb=function(a){BR.c.Mb.call(this,a);return this};var CR=function(a){a&&C(tR(a),"opt_viewId must be a docs view type");uR.call(this,a||ue)};B(CR,uR);q=CR.prototype;q.dBa=function(a,b){this.W.sortKey=a;b&&(this.W.ff=b);return this};q.aP=function(a){this.W.mode=a;return this};q.lza=function(a){this.W.td=a;return this};q.vAa=function(a){u(a)?this.W.ownedByMe=a:delete this.W.ownedByMe;return this};q.fBa=function(a){this.W.starred=a;return this};q.TO=function(a){this.W.includeFolders=a;return this};q.KAa=function(a){this.W.selectFolder=a;return this};
q.hza=function(a){this.W.docTypesDropDown=a;return this};q.n7=function(a){this.W.upload=a;return this};q.Vya=function(a){this.W.createFolder=a;return this};q.aAa=function(a){this.W.maxPrefetchCollections=a;return this};q.Ra=function(a){CR.c.Ra.call(this,a);return this};q.setQuery=function(a){CR.c.setQuery.call(this,a);return this};q.Gb=function(a){CR.c.Gb.call(this,a);return this};q.Fb=function(a){CR.c.Fb.call(this,a);return this};q.Db=function(a,b){CR.c.Db.call(this,a,b);return this};
q.Ea=function(a){CR.c.Ea.call(this,a);return this};q.Mb=function(a){CR.c.Mb.call(this,a);return this};q.uAa=function(a){this.W.ops=a;return this};q.Tza=function(a){this.W.items=a;return this};q.lAa=function(a){this.W.mbl=a;return this};q.R6=function(a){this.W.sblois=a;return this};q.pya=function(a){this.W.eai=a;return this};q.qya=function(a){this.W.ail=a;return this};q.tAa=function(a){this.W.sou=a;return this};q.Gfa=function(a){this.W.drois=a;return this};q.Oya=function(a){this.W.cv=a.Vh();return this};
q.Hfa=function(a){this.W.drdis=a;return this};q.GAa=function(a){this.W.rdem=a;return this};var DR={XFa:"cwpc",PGa:"daape",RGa:"driveGridViewSwitcherHidden",VGa:"driveSortHidden",$Ga:"showAttach",bHa:"emci",cHa:kh,aHa:"edbe",rHa:"ftd",fHa:"esUsersOnly",nHa:"faceRecoPromo",FHa:"formsEnabled",ZHa:"horizNav",fJa:"mineOnly",gJa:tk,hJa:"minew",oJa:Ek,qJa:"navHidden",rJa:"newDriveView",sJa:"newHorizNav",tJa:"newPhotoGridView",uJa:"npuv",DJa:"odv",Gaa:Gm,TKa:"swue",eLa:Cn,fLa:"shapeSuggestions",hLa:"showroomNav",iLa:"sodw",mLa:Un,XLa:"std",DMa:Tp,aNa:pq};var ER=function(){uR.call(this,Wi)};B(ER,uR);q=ER.prototype;q.qo=function(a){this.W.site=a;return this};q.Ne=function(a){this.W.type=a;return this};q.Vza=function(a){"*"==a?delete this.W.license:this.W.license=a;return this};q.xb=function(a){this.W.imgsz=a;return this};q.N5=function(a){this.W.imgcolor=a;return this};q.SO=function(a){this.W.imgtype=a;return this};q.Fw=function(a){this.W.safe=a;return this};q.Ra=function(a){ER.c.Ra.call(this,a);return this};
q.setQuery=function(a){ER.c.setQuery.call(this,a);return this};q.Gb=function(a){ER.c.Gb.call(this,a);return this};q.Fb=function(a){ER.c.Fb.call(this,a);return this};q.Db=function(a,b){ER.c.Db.call(this,a,b);return this};q.Ea=function(a){ER.c.Ea.call(this,a);return this};q.Mb=function(a){ER.c.Mb.call(this,a);return this};var FR=function(){uR.call(this,Cl)};B(FR,uR);q=FR.prototype;q.Ne=function(a){this.W.type=a;return this};q.Ra=function(a){FR.c.Ra.call(this,a);return this};q.setQuery=function(a){FR.c.setQuery.call(this,a);return this};q.Gb=function(a){FR.c.Gb.call(this,a);return this};q.Fb=function(a){FR.c.Fb.call(this,a);return this};q.Db=function(a,b){FR.c.Db.call(this,a,b);return this};q.Ea=function(a){FR.c.Ea.call(this,a);return this};q.Mb=function(a){FR.c.Mb.call(this,a);return this};var GR=function(){uR.call(this,Gl)};B(GR,uR);var HR={G$:"banner",EFa:"bannergallery",OFa:yf,pHa:zh,MHa:"gmail_themes",vHa:"flat",$$:Wh,YHa:Ki,oaa:lk,kJa:"moment",CJa:"ofuser",WLa:"streamid",cMa:"tpp",wMa:Lp,NMa:dq,OMa:eq,cNa:ak,fNa:"ytbanner"};q=GR.prototype;q.aP=function(a){this.W.mode=a;return this};q.Ne=function(a){this.W.type=a;return this};q.n7=function(a){this.W.upload=a?yp:null;return this};q.uBa=function(a){this.W.uploadpos=a;return this};q.Ra=function(a){GR.c.Ra.call(this,a);return this};
q.setQuery=function(a){GR.c.setQuery.call(this,a);return this};q.Gb=function(a){GR.c.Gb.call(this,a);return this};q.Fb=function(a){GR.c.Fb.call(this,a);return this};q.Db=function(a,b){GR.c.Db.call(this,a,b);return this};q.Ea=function(a){GR.c.Ea.call(this,a);return this};q.Mb=function(a){GR.c.Mb.call(this,a);return this};var IR={DoclistBlob:Ah,doc:Ug,drawing:"drawing",folder:"folder",kix:Ug,pres:Cm,spread:"spreadsheet"};var JR=function(a){switch(a){case Qg:case "DoclistBlob":case "doc":case "drawing":case "drive":case ch:case "form":case "freebird":case "kix":case "pres":case "punch":case "ritz":case "spread":return!0;default:return!1}};var KR=function(){uR.call(this,bq)};B(KR,uR);q=KR.prototype;q.qo=function(a){this.W.site=a;return this};q.Fw=function(a){this.W.safe=a;return this};q.Ra=function(a){KR.c.Ra.call(this,a);return this};q.setQuery=function(a){KR.c.setQuery.call(this,a);return this};q.Gb=function(a){KR.c.Gb.call(this,a);return this};q.Fb=function(a){KR.c.Fb.call(this,a);return this};q.Db=function(a,b){KR.c.Db.call(this,a,b);return this};q.Ea=function(a){KR.c.Ea.call(this,a);return this};
q.Mb=function(a){KR.c.Mb.call(this,a);return this};var LR=function(){uR.call(this,gk)};B(LR,uR);q=LR.prototype;q.aP=function(a){this.W.mode=a;return this};q.Kya=function(a,b){this.W.center=[a,b];return this};q.setZoom=function(a){this.W.zoom=a;return this};q.Ra=function(a){LR.c.Ra.call(this,a);return this};q.setQuery=function(a){LR.c.setQuery.call(this,a);return this};q.Gb=function(a){LR.c.Gb.call(this,a);return this};q.Fb=function(a){LR.c.Fb.call(this,a);return this};q.Db=function(a,b){LR.c.Db.call(this,a,b);return this};
q.Ea=function(a){LR.c.Ea.call(this,a);return this};q.Mb=function(a){LR.c.Mb.call(this,a);return this};var MR=function(){uR.call(this,Sp)};B(MR,uR);q=MR.prototype;q.qo=function(a){this.W.site=a;return this};q.Ne=function(a){this.W.type=a;return this};q.Ra=function(a){MR.c.Ra.call(this,a);return this};q.setQuery=function(a){MR.c.setQuery.call(this,a);return this};q.Gb=function(a){MR.c.Gb.call(this,a);return this};q.Fb=function(a){MR.c.Fb.call(this,a);return this};q.Db=function(a,b){MR.c.Db.call(this,a,b);return this};q.Ea=function(a){MR.c.Ea.call(this,a);return this};
q.Mb=function(a){MR.c.Mb.call(this,a);return this};var NR=function(){uR.call(this,mq)};B(NR,uR);q=NR.prototype;q.qo=function(a){this.W.site=a;return this};q.Zya=function(a){this.W.cse=a;return this};q.JAa=function(a){this.W.cseLabel=a;return this};q.Kza=function(a){this.W.inUrl=a;return this};q.Fw=function(a){this.W.safe=a;return this};q.Ra=function(a){NR.c.Ra.call(this,a);return this};q.setQuery=function(a){NR.c.setQuery.call(this,a);return this};q.Gb=function(a){NR.c.Gb.call(this,a);return this};q.Fb=function(a){NR.c.Fb.call(this,a);return this};
q.Db=function(a,b){NR.c.Db.call(this,a,b);return this};q.Ea=function(a){NR.c.Ea.call(this,a);return this};q.Mb=function(a){NR.c.Mb.call(this,a);return this};var OR=function(a){this.Sd=v(a)?new uR(a):a;this.Tb=[];this.W={}};q=OR.prototype;q.fea=function(a){switch(a){case Wi:return new ER;case gk:return new LR;case Gl:return new GR;case Sp:return new MR;case bq:return new KR;case mq:return new NR}return new uR(a)};q.Vo=function(a){this.Tb.push(v(a)?this.fea(a):a);return this};q.To=function(a){this.Tb.push((new uR(null)).Ra(a));return this};q.Wo=function(a){this.Tb.push(a);return this};
q.Pz=function(){return"("+hs(this.Tb,function(a){return a.toString()}).join(",")+")"};q.$ja=function(){var a=Rs(this.W,function(a){return null!==a});return(a=at(a)?null:a)?sv(Ss(a,function(a){return a.toString()})):""};q.toString=function(){if(this.Sd){var a=["{root:",this.Sd.toString(),",items:",this.Pz()],b=this.$ja();b&&(a.push(",options:"),a.push(b));a.push("}");return a.join("")}return this.Pz()};
q.xo=function(){var a=hs(this.Tb,function(a){return a instanceof OR?a.xo():a.Vh()});return this.Sd?{root:this.Sd.Vh(),items:a,options:this.getOptions()}:a};q.Fu=function(a){for(var b=this.Tb,c=0;c<b.length;c++){var e=b[c];if(e instanceof OR&&e.Fu(a)||e instanceof uR&&e.getId()==a)return!0}return!1};q.hA=function(a,b){b=b||[];for(var c=this.Tb,e=0;e<c.length;e++){var f=c[e];f instanceof OR?f.hA(a,b):f.getId()==a&&b.push(f)}return b};q.getOptions=function(){return dt(this.W)};
q.Sya=function(a){this.W.collapsible=a;return this};var PR=function(a,b){uR.call(this,nq);a&&(this.W.type=a);b&&(this.W.query=b)};B(PR,uR);q=PR.prototype;q.setQuery=function(){throw Error("Query cannot be set for web camera views.");};q.Ra=function(a){PR.c.Ra.call(this,a);return this};q.Gb=function(a){PR.c.Gb.call(this,a);return this};q.Fb=function(a){PR.c.Fb.call(this,a);return this};q.Db=function(a,b){PR.c.Db.call(this,a,b);return this};q.Ea=function(a){PR.c.Ea.call(this,a);return this};q.Mb=function(a){PR.c.Mb.call(this,a);return this};w("picker.api.Action",yR,void 0);w("picker.api.Action.CANCEL",zf,void 0);w("picker.api.Action.PICKED",Il,void 0);w("picker.api.Audience",{IJa:sl,GIa:"limited",vFa:ve,kHa:wh,HGa:Wg,hKa:Km},void 0);w("picker.api.Audience.PUBLIC",Km,void 0);w("picker.api.Audience.DOMAIN_PUBLIC",Wg,void 0);w("picker.api.Audience.EXTENDED_CIRCLES",wh,void 0);w("picker.api.Audience.ALL_PERSONAL_CIRCLES",ve,void 0);w("picker.api.Audience.LIMITED","limited",void 0);w("picker.api.Audience.OWNER_ONLY",sl,void 0);
w("picker.api.Document",{AFa:hf,FFa:"blobId",UFa:"children",iGa:qg,lGa:"copyable",rGa:"coverPhotoId",uGa:wg,zGa:Jg,KGa:Yg,WGa:"driveSuccess",QGa:"driveError",EMAIL:hh,YGa:jh,bIa:"iconUrl",cIa:"id",pIa:fj,qIa:"isNew",rIa:"isRoot",sIa:gj,tIa:Gj,yIa:Nj,AIa:Oj,CIa:Pj,EIa:Qj,PIa:bk,UIa:ik,ZIa:kk,eJa:rk,xaa:"name",yJa:Qk,AJa:"numTagged",BJa:"numUntagged",FJa:ll,HJa:"otherParents",LJa:"parentId",pF:Al,ZJa:"placeId",nKa:"readOnly",yKa:"rpt",AKa:"rptn",FKa:"rotation",GKa:"rotationDegree",VKa:"serviceId",ALa:"sizeBytes",
KLa:No,LLa:Oo,dMa:dp,eMa:"teamDriveName",hMa:kp,TYPE:zp,tMa:"undoable",xMa:"uploadId",yMa:"uploadMetadata",BMa:"uploadState",URL:Sp,VERSION:Zp,YR:jq},void 0);w("picker.api.Document.ADDRESS_LINES","addressLines",void 0);w("picker.api.Document.AUDIENCE",hf,void 0);w("picker.api.Document.DESCRIPTION",Jg,void 0);w("picker.api.Document.DURATION","duration",void 0);w("picker.api.Document.EMBEDDABLE_URL",jh,void 0);w("picker.api.Document.ICON_URL","iconUrl",void 0);w("picker.api.Document.ID","id",void 0);
w("picker.api.Document.IS_NEW","isNew",void 0);w("picker.api.Document.LAST_EDITED_UTC",Nj,void 0);w("picker.api.Document.LATITUDE",Qj,void 0);w("picker.api.Document.LONGITUDE",bk,void 0);w("picker.api.Document.MIME_TYPE",rk,void 0);w("picker.api.Document.NAME","name",void 0);w("picker.api.Document.NUM_CHILDREN",Qk,void 0);w("picker.api.Document.PARENT_ID","parentId",void 0);w("picker.api.Document.PHONE_NUMBERS","phoneNumbers",void 0);w("picker.api.Document.SERVICE_ID","serviceId",void 0);
w("picker.api.Document.THUMBNAILS",kp,void 0);w("picker.api.Document.TYPE",zp,void 0);w("picker.api.Document.URL",Sp,void 0);w("picker.api.DocsUploadView",BR,void 0);BR.prototype.setIncludeFolders=BR.prototype.TO;uR.prototype.setParent=BR.prototype.Ea;w(rm,CR,void 0);CR.prototype.setIncludeFolders=CR.prototype.TO;CR.prototype.setSelectFolderEnabled=CR.prototype.KAa;CR.prototype.setMode=CR.prototype.aP;uR.prototype.setParent=CR.prototype.Ea;CR.prototype.setOwnedByMe=CR.prototype.vAa;
CR.prototype.setStarred=CR.prototype.fBa;CR.prototype.setDocTypesDropDownEnabled=CR.prototype.hza;CR.prototype.setEnableTeamDrives=CR.prototype.lza;w("picker.api.DocsViewMode",{aaa:Ci,kaa:Tj},void 0);w("picker.api.DocsViewMode.GRID",Ci,void 0);w("picker.api.DocsViewMode.LIST",Tj,void 0);w("picker.api.Feature",DR,void 0);w("picker.api.Feature.MULTISELECT_ENABLED",Ek,void 0);w("picker.api.Feature.NAV_HIDDEN","navHidden",void 0);w("picker.api.Feature.MINE_ONLY","mineOnly",void 0);
w("picker.api.Feature.SIMPLE_UPLOAD_ENABLED",Un,void 0);w("picker.api.Feature.SUPPORT_TEAM_DRIVES","std",void 0);w("picker.api.ImageSearchView",ER,void 0);w("picker.api.ImageSearchView.License",{NONE:"*",CKa:"r",bGa:"cr",DKa:"rwm",cGa:"crwm"},void 0);w("picker.api.ImageSearchView.License.COMMERCIAL_REUSE","cr",void 0);w("picker.api.ImageSearchView.License.COMMERCIAL_REUSE_WITH_MODIFICATION","crwm",void 0);w("picker.api.ImageSearchView.License.NONE","*",void 0);
w("picker.api.ImageSearchView.License.REUSE","r",void 0);w("picker.api.ImageSearchView.License.REUSE_WITH_MODIFICATION","rwm",void 0);w("picker.api.ImageSearchView.Size",{BLa:"qsvga",DLa:"vga",CLa:"svga",GLa:"xga",ELa:"wxga",FLa:"wxga2",uLa:"2mp",wLa:"4mp",xLa:"6mp",zLa:"8mp",pLa:"10mp",qLa:"12mp",sLa:"15mp",tLa:"20mp",vLa:"40mp",yLa:"70mp",rLa:"140mp"},void 0);w("picker.api.ImageSearchView.Size.SIZE_10MP","10mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_12MP","12mp",void 0);
w("picker.api.ImageSearchView.Size.SIZE_140MP","140mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_15MP","15mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_20MP","20mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_2MP","2mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_40MP","40mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_4MP","4mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_6MP","6mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_70MP","70mp",void 0);
w("picker.api.ImageSearchView.Size.SIZE_8MP","8mp",void 0);w("picker.api.ImageSearchView.Size.SIZE_QSVGA","qsvga",void 0);w("picker.api.ImageSearchView.Size.SIZE_SVGA","svga",void 0);w("picker.api.ImageSearchView.Size.SIZE_VGA","vga",void 0);w("picker.api.ImageSearchView.Size.SIZE_WXGA","wxga",void 0);w("picker.api.ImageSearchView.Size.SIZE_WXGA2","wxga2",void 0);w("picker.api.ImageSearchView.Size.SIZE_XGA","xga",void 0);ER.prototype.setLicense=ER.prototype.Vza;ER.prototype.setSite=ER.prototype.qo;
ER.prototype.setSize=ER.prototype.xb;ER.prototype.setSafeSearch=ER.prototype.Fw;w("picker.api.MapsView",LR,void 0);LR.prototype.setCenter=LR.prototype.Kya;LR.prototype.setZoom=LR.prototype.setZoom;w("picker.api.PhotoAlbumsView",FR,void 0);w("picker.api.PhotosView",GR,void 0);w(vm,HR,void 0);w("picker.api.PhotosView.Type.FEATURED",zh,void 0);w("picker.api.PhotosView.Type.GETTY",Wh,void 0);w("picker.api.PhotosView.Type.UPLOADED",Lp,void 0);uR.prototype.setParent=GR.prototype.Ea;
GR.prototype.setType=GR.prototype.Ne;w("picker.api.ResourceId.generate",function(a){return a?[a.mimeType==Be?"pdf":IR[a.serviceId]||Ah,":",a.id].join(""):null},void 0);w("picker.api.Response",{oFa:k,lHa:"extraUserInputs",R$:Qg,KJa:"parents",QMa:"view",VMa:hq},void 0);w("picker.api.Response.ACTION",k,void 0);w("picker.api.Response.DOCUMENTS",Qg,void 0);w("picker.api.Response.PARENTS","parents",void 0);w("picker.api.Response.VIEW",hq,void 0);
w("picker.api.ServiceId",{IFa:"books",H$:wf,K$:og,RHa:"gready",sGa:"cportal",wGa:xg,Q$:Qg,IGa:Bl,LGa:"dragonflyphotos",OGa:"drive",UGa:ch,oHa:"feag",Y$:Oh,iHa:"et",KHa:"geodiscussion",laa:gk,SIa:"mapspro",YIa:"media",MJa:"party",Daa:Hl,YJa:"places",wKa:"relatedcontent",SLa:"static_themes",VLa:"stories",lba:wq,YMa:mq,XMa:"vr-assets",pF:Al,PKa:"search-api",URL:Sp,SR:"recent",qGa:"cosmo",DGa:"DoclistBlob",FR:"doc",MGa:"drawing",Z$:"form",GHa:"freebird",uIa:"kix",Faa:"pres",iKa:"punch",EKa:"ritz",NLa:"spread"},
void 0);w("picker.api.ServiceId.DOCS",Qg,void 0);w("picker.api.ServiceId.MAPS",gk,void 0);w("picker.api.ServiceId.PHOTOS",Hl,void 0);w("picker.api.ServiceId.SEARCH_API","search-api",void 0);w("picker.api.ServiceId.URL",Sp,void 0);w("picker.api.ServiceId.YOUTUBE",wq,void 0);w("picker.api.Thumbnail",{WHa:Gi,URL:Sp,bNa:rq,TYPE:zp},void 0);w("picker.api.Thumbnail.HEIGHT",Gi,void 0);w("picker.api.Thumbnail.WIDTH",rq,void 0);w("picker.api.Thumbnail.URL",Sp,void 0);
w("picker.api.Type",{rFa:te,wFa:"android-app",H$:wf,VFa:"chrome-app",xR:If,fGa:"contact",FR:Ug,gHa:rh,T$:"et",mHa:"faces",qHa:Ah,V$:"folder",DHa:"font",NIa:"location",RIa:"map",oaa:lk,QJa:"person",RJa:Bl,URL:Sp,LMa:aq},void 0);w("picker.api.Type.ALBUM",te,void 0);w("picker.api.Type.DOCUMENT",Ug,void 0);w("picker.api.Type.LOCATION","location",void 0);w("picker.api.Type.PHOTO",Bl,void 0);w("picker.api.Type.URL",Sp,void 0);w("picker.api.Type.VIDEO",aq,void 0);w("picker.api.VideoSearchView",KR,void 0);
w("picker.api.VideoSearchView.YOUTUBE",yq,void 0);KR.prototype.setSite=KR.prototype.qo;KR.prototype.setSafeSearch=KR.prototype.Fw;w("picker.api.View",uR,void 0);uR.prototype.getId=uR.prototype.getId;uR.prototype.setLabel=uR.prototype.Ra;uR.prototype.setMimeTypes=uR.prototype.Gb;uR.prototype.setQuery=uR.prototype.setQuery;uR.prototype.getQuery=uR.prototype.getQuery;uR.prototype.getLabel=uR.prototype.wg;w("picker.api.ViewGroup",OR,void 0);OR.prototype.addLabel=OR.prototype.To;OR.prototype.addView=OR.prototype.Vo;
OR.prototype.addViewGroup=OR.prototype.Wo;OR.prototype.setCollapsible=OR.prototype.Sya;w("picker.api.ViewId.DOCS",ue,void 0);w("picker.api.ViewId.DOCS_IMAGES",Rg,void 0);w("picker.api.ViewId.DOCS_IMAGES_AND_VIDEOS",Sg,void 0);w("picker.api.ViewId.DOCS_VIDEOS",Tg,void 0);w("picker.api.ViewId.DOCUMENTS",Vg,void 0);w("picker.api.ViewId.DRAWINGS",bh,void 0);w("picker.api.ViewId.FOLDERS",Lh,void 0);w("picker.api.ViewId.FORMS",Qh,void 0);w("picker.api.ViewId.IMAGE_SEARCH",Wi,void 0);
w("picker.api.ViewId.MAPS",gk,void 0);w("picker.api.ViewId.PDFS",zl,void 0);w("picker.api.ViewId.PHOTO_ALBUMS",Cl,void 0);w("picker.api.ViewId.PHOTOS",Gl,void 0);w("picker.api.ViewId.PHOTO_UPLOAD",Fl,void 0);w("picker.api.ViewId.PRESENTATIONS",Dm,void 0);w("picker.api.ViewId.RECENTLY_PICKED",Qm,void 0);w("picker.api.ViewId.SPREADSHEETS",Ro,void 0);w("picker.api.ViewId.VIDEO_SEARCH",bq,void 0);w("picker.api.ViewId.WEBCAM",nq,void 0);w("picker.api.ViewId.YOUTUBE",wq,void 0);
w("picker.api.ViewToken",{TMa:0,iaa:1,UMa:2},void 0);w("picker.api.ViewToken.LABEL",1,void 0);w("picker.api.ViewToken.VIEW_ID",0,void 0);w("picker.api.ViewToken.VIEW_OPTIONS",2,void 0);w("picker.api.WebCamView",PR,void 0);w("picker.api.WebCamViewType.STANDARD",So,void 0);var QR=function(a,b,c){CC.call(this,a,b,c)};B(QR,CC);var RR=Qw(vw("//www-onepick-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=onepick")),SR=Qw(vw("//apis.google.com/js/rpc.js")),UR=function(a,b){if(!TR(b)){b=b||N(document);var c=b.createElement(rd);Yx(c,a);c.type=gp;b.K().body.appendChild(c)}},TR=function(a){a=a&&a.getWindow()||window;return a.gadgets&&a.gadgets.rpc},VR=null,WR=function(a,b){var c=b&&b.getWindow()||window;if(TR(b))a();else if(VR)VR.push(a);else var e=VR=[a],f=c.setInterval(function(){if(TR(b)){c.clearInterval(f);
for(var a=0;a<e.length;a++)e[a]();VR=null}},100)};var XR=function(a,b){J.call(this);this.D=a;a=Ky(this.D)?this.D:this.D?this.D.body:null;this.gra=!!a&&mA(a);this.m1=I(this.D,Ft?"DOMMouseScroll":Bk,this,b)};B(XR,J);
XR.prototype.handleEvent=function(a){var b=0,c=0,e=a.bd;e.type==Bk?(a=YR(-e.wheelDelta,40),u(e.wheelDeltaX)?(b=YR(-e.wheelDeltaX,40),c=YR(-e.wheelDeltaY,40)):c=a):(a=e.detail,100<a?a=3:-100>a&&(a=-3),u(e.axis)&&e.axis===e.HORIZONTAL_AXIS?b=a:c=a);Oq(this.L1)&&(b=Math.min(Math.max(b,-this.L1),this.L1));Oq(this.M1)&&(c=Math.min(Math.max(c,-this.M1),this.M1));this.gra&&(b=-b);b=new ZR(a,e,b,c);this.dispatchEvent(b)};var YR=function(a,b){return Gt&&(It||Kt)&&0!=a%b?a:a/b};
XR.prototype.o=function(){XR.c.o.call(this);cv(this.m1);this.m1=null};var ZR=function(a,b,c,e){Ju.call(this,b);this.type=Bk;this.detail=a;this.deltaX=c;this.deltaY=e};B(ZR,Ju);var $R=function(a){for(;a;){if(1==a.nodeType){var b=Oz(a,"overflowY");if(b==kf||b==jn)return a}a=a.parentNode}return null};var bS=function(a,b){var c=new XR(a);b.Y(c);b.listen(c,Bk,y(aS,void 0,a)).listen(a,jn,y(aS,void 0,a))},aS=function(a,b){var c=$R(b.target);if(!c||!Ly(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 cS,dS=function(a,b){var c=oy(a);a=c.width-80;c=c.height-40;b&&(a-=b.left?b.left:0,a-=b.right?b.right:0,c-=b.top?b.top:0,c-=b.bottom?b.bottom:0);return new cy(0<a?a:0,0<c?c:0)},eS=function(a,b,c){if(b){b=Math.max(320,Math.min(1051,b));c||(c=oy(a),c=.85*c.height);var e=Math.max(320,Math.min(650,c))}else c=oy(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=oy(a);b=Math.min(b,Math.max(c.width,
320));e=Math.min(e,Math.max(c.height,320));return new cy(b,e)};var fS=function(a,b,c,e,f,g){CC.call(this,g?g+" "+this.re:this.re,!0,c);fw(a,Jm);this.Qe=Jr();this.Vg=Jr();this.so(a);this.uva=e;this.tva=f;u(void 0)?c=void 0:u(e)||u(f)?c=!0:(c=iz(a).mb(Ni),cS||(cS=new QG(["DocVerse","fusiontables","geo","geowiki","gm","gmail-gadget","gws","hotpot","jointly",Dm,"pwa",Xn,"templates","trix","trix-copy-sheet","webstore"])),c=!cS.contains(c));this.Tca=c;b&&(iz(a).mb(Ni),b=this.j(),c=this.gR(),UR(c?SR:RR,b));this.vO(a);this.HO(!1);this.Ph(null)};B(fS,QR);q=fS.prototype;
q.re="picker modal-dialog";q.ya="";q.ja=null;q.tn=!1;q.mv=!1;q.Mc=Qq;q.B=function(){fS.c.B.call(this);bS(this.Rk(),this.A())};q.render=function(a){fS.c.render.call(this,a);this.Fea();U(this.b(),"picker-dialog");this.ja.src=this.ya;this.xj(y(function(a){a.setAuthToken(this.Qe,this.Vg)},this));(a=iz(this.ya).mb(op))&&this.fb(a)};q.Fea=function(){this.ja=this.Z.g(Uc,{id:this.Qe,name:this.Qe,"class":"picker-frame",onload:y(this.TJ,this),frameBorder:"0"});Xx(this.ja,this.ou());this.J().appendChild(this.ja)};
q.ou=function(){return E&&Xt("7")&&er(this.ya,Pi)?Qw(vw(Ri)):E?Qw(vw(kj)):Qw(vw(he))};q.TJ=function(){this.ja.src!=Lw(this.ou())&&(this.tn=!0,this.A().ta(this.j().getWindow(),Ij,this.kq),Ty(this.ja,!0),this.N()&&this.focus())};q.kq=function(a){27==a.keyCode&&(this.C(!1),this.Mc({action:zf}),a.stopPropagation(),a.preventDefault())};q.xj=function(a){var b=this.j();WR(function(){a(b.getWindow().gadgets.rpc)},b)};
q.so=function(a){a=(new $y(a)).T("rpctoken",this.Vg).T("rpcService",this.Qe);a.Cr(Pi);this.ya=a.toString();this.ja&&(this.ja.src=this.ya)};q.sr=function(a){this.kh=a;this.mv&&this.vw()};q.lo=function(a){this.Mc=a;this.xj(y(function(a){a.register(this.Qe,y(this.WJ,this))},this))};q.WJ=function(a){var b=a.action;b==Zj&&(this.mv=!0,this.ld(new xR(this.N())),this.vw(),this.NO(!1));b!=Il&&b!=zf||this.C(!1);this.Mc(a)};q.oq=function(a){return iz(this.ya).mb(a)==yp};
q.vw=function(){this.kh&&this.ld(new oR(this.kh,window.location.protocol+"//"+window.location.host))};q.setRelayUrl=function(a){this.xj(y(function(b){b.setRelayUrl(this.Qe,a)},this))};q.vO=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):fr(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+Xa)};q.ld=function(a){this.xj(y(function(b){b.call(this.Qe,Jl,null,a)},this))};
q.MN=function(){var a=this.j().K();a=ry(a)||window;if(this.oq(Cn)){var b=vA(this.Dj());a=dS(a,b)}else a=eS(a,this.uva,this.tva);gA(this.J(),a);this.ha()};q.ha=function(){if(this.oq(Cn)){var a=hA(this.b()),b=oy(this.j().getWindow());a=Math.floor(b.width/2-a.width/2);if(b=vA(this.Dj())){var 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.j().Df().y;Rz(this.b(),a,b)}else fS.c.ha.call(this)};
q.C=function(a){if(a!=this.N()&&this.Tca){var b=this.j().getWindow();a?(this.MN(),this.A().listen(b,Vm,this.MN),this.tn||this.A().listen(b,Ij,this.kq)):(this.A().ta(b,Vm,this.MN),this.tn||this.A().ta(b,Ij,this.kq))}fS.c.C.call(this,a);this.ld(new xR(a))};q.focus=function(){fS.c.focus.call(this);if(this.ja&&this.tn)try{this.ja.focus()}catch(a){}};q.gR=function(){return iz(this.ya).mb("grugl")==yp};var gS=function(a){this.Isa=a.metadata;this.md=a.serviceId;this.ya=a.url};gS.prototype.getMetadata=function(){return this.Isa};gS.prototype.getUrl=function(){return this.ya};var hS=function(a){this.cp=a||"https://docs.google.com/picker";this.ZC()};q=hS.prototype;q.Tf=null;q.L=null;q.To=function(a){this.Tf.To(a);return this};q.Vo=function(a){this.Tf.Vo(a);return this};q.Wo=function(a){this.Tf.Wo(a);return this};q.j=function(){return this.L};q.ui=function(){return this.Tf.Pz()};q.Oja=function(){return this.Tf.xo()};q.hA=function(a){return this.Tf.hA(a)};q.Fu=function(a){return this.Tf.Fu(a)};q.yA=function(){return this.fb("")};q.ZC=function(){this.Tf=new OR;return this};
q.sr=function(a){this.kh=a;return this};q.lo=function(a){this.Mc=a;return this};q.V5=function(a){this.L=new ey(a);return this};var iS=function(a){hS.call(this,a)};B(iS,hS);var jS=function(a){V.call(this,a)};B(jS,V);jS.prototype.g=function(){var a=this.j(),b=a.g(d);this.Na(b);var c=a.g(d,"picker-min-arrow-inner"),e=a.g(d,"picker-min-arrow-border");a.appendChild(b,c);a.appendChild(b,e)};jS.prototype.Q9=function(a,b){var c=this.b();Q(c,Rj,"");Q(c,Wm,"");jC(a,Xl);jC(a,Wl);b=LB(a,b);b&1?(c.className="picker-min-arrow-down",U(a,Wl)):(c.className="picker-min-arrow-up",U(a,Xl))};
jS.prototype.update=function(a,b,c){this.V&&(c||(c=new Iz(0,0,0,0)),this.Q9(a,b),a=this.b(),b&4?Q(a,Wm,-c.right+n):Q(a,Rj,-c.left+n))};jS.prototype.OT=function(a,b,c){if(this.V){this.Q9(b,c);c=this.b();var e=cA(a,b),f=pA(c).width;e=e.x+pA(a).width/2-f/2;e=Math.max(0,e);var g=pA(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))));Q(c,Rj,e+n)}};var kS=function(a,b){LD.call(this,a);Ty(a,!0);SB(a,Kg);this.L=b||N();this.Aq=!1;this.Kc=this.L.createElement(Po);Ty(this.Kc,!0);this.Kc.style.position=ke;T(this.Kc,Hi,!0);this.tm=!1};B(kS,LD);q=kS.prototype;q.vh=null;q.j=function(){return this.L};q.ABa=function(){this.tm=!0;this.focus(this.Kc);M(this.Xv,0,this)};q.Xv=function(){this.tm=!1};q.Q2=function(){Cy(this.Kc,this.b());this.vh=new rC(this.j().K());this.A().listen(this.vh,Jh,this.Mta).listen(this.b(),Ij,this.SM)};
q.B2=function(){G(this.vh);Ey(this.Kc)};q.SM=function(a){9==a.keyCode&&a.shiftKey&&a.target==this.b()&&this.ABa()};q.Mta=function(a){this.tm?this.Xv():a.target==this.Kc&&M(y(this.focus,this,this.b()),0)};q.focus=function(a){try{a&&a.focus()}catch(b){}};
q.xS=function(){this.ha();if(this.Aq){var a=this.getPosition();if(a instanceof ZC&&Uq(this.b().getBoundingClientRect)){var b=this.Tn,c=this.j().ru().height,e=this.j().ru().width,f=null,g=a.Dk,h=this.dFa?this.dFa.getBoundingClientRect():void 0,l=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;var p=a.element.getBoundingClientRect(),r=this.b().getBoundingClientRect();if(!this.z0(g)&&r.top<l||this.z0(g)&&r.bottom>c&&p.top>l+(r.bottom-r.top))g^=1,f=new ZC(a.element,g),b^=1;
if(!this.A0(g)&&r.left<h||this.A0(g)&&r.right>e&&p.right>h+(r.right-r.left))f=new ZC(a.element,g^4),b^=4;f&&(this.setPosition(f),this.hP(b),this.ha())}}};q.z0=function(a){return!!(a&1)};q.A0=function(a){return!(a&4)};q.ha=function(){kS.c.ha.call(this);var a=this.getPosition();a&&a.ha(this.Kc,this.Tn,this.ju())};var lS=function(a,b,c,e,f,g){var h=c||N(),l=h.g(d,"picker-iframe picker-min goog-menu"),p=(new $y(a)).mb("minew")==yp;p&&U(l,Yl);U(l,qm);h.appendChild(h.K().body,l);kS.call(this,l,h);this.Aq=p;this.N()?this.WP():this.wA();this.Z=h;this.Qe=Jr();this.Vg=Jr();this.so(a);this.wva=e||248;this.vva=f||p?311:300;this.gt=!!g;b&&(iz(a).mb(Ni),b=this.j(),UR(RR,b));this.vO(a);this.k6(!1);this.pw(!1);this.jj=new jS(c);this.Y(this.jj);this.jj.render(l)};B(lS,kS);q=lS.prototype;q.ya="";q.ja=null;q.DT=!1;q.tn=!1;
q.mv=!1;q.Mc=Qq;q.pj=function(){if(!this.ja){this.A().listen(this.j().getWindow(),Ij,this.kq);this.ja=this.Z.g(Uc,{id:this.Qe,name:this.Qe,"class":"picker-frame",onload:y(this.TJ,this),frameBorder:"0"});Xx(this.ja,this.ou());this.b().appendChild(this.ja);SB(this.ja,Kg);var a=iz(this.ya).mb(op);a&&ZB(this.ja,a);U(this.b(),"picker-min-popup");gA(this.ja,this.wva,this.vva);this.ja.src=this.ya;this.xj(y(function(a){a.setAuthToken(this.Qe,this.Vg)},this))}};
q.ha=function(){if(this.ja){lS.c.ha.call(this);var a=this.getPosition(),b=this.Tn;a instanceof ZC?this.jj.OT(a.element,this.b(),b):this.jj.update(this.b(),b,this.ju());LB(this.b(),b)&1?this.ja.className="picker-min-frame-down":this.ja.className="picker-min-frame-up"}};q.ou=function(){return E&&Xt("7")&&er(this.ya,Pi)?Qw(vw(Ri)):E?Qw(vw(kj)):Qw(vw(he))};
q.TJ=function(){this.ja.src!=Lw(this.ou())&&(this.tn=!0,this.A().ta(this.j().getWindow(),Ij,this.kq),Ty(this.ja,!0),this.N()&&M(y(this.focus,this,this.ja),0))};q.kq=function(a){27==a.keyCode&&(this.py(),a.stopPropagation(),a.preventDefault())};q.xj=function(a){var b=this.j();WR(function(){a(b.getWindow().gadgets.rpc)},b)};q.so=function(a){a=(new $y(a)).T("rpctoken",this.Vg).T("rpcService",this.Qe);a.Cr(Pi);this.ya=a.toString();this.ja&&(this.ja.src=this.ya)};q.sr=function(a){this.kh=a;this.mv&&this.vw()};
q.lo=function(a){this.Mc=a;this.xj(y(function(a){a.register(this.Qe,y(this.WJ,this))},this))};q.WJ=function(a){switch(a.action){case iq:case fq:this.ha();return;case lh:a=a.extraUserInputs;lC(this.b(),qm,a&&a.ewc);return;case Zj:this.mv=!0;this.ld(new xR(this.N()));this.vw();break;case "blurred":this.b()!=this.j().K().activeElement&&this.N()&&(this.C(!1),this.Mc({action:zf}));return;case Il:case zf:this.C(!1)}this.Mc(a)};
q.vw=function(){this.kh&&this.ld(new oR(this.kh,window.location.protocol+"//"+window.location.host))};q.setRelayUrl=function(a){this.xj(y(function(b){b.setRelayUrl(this.Qe,a)},this))};q.vO=function(a){var b=null,c=a.indexOf("/picker?");-1<c?b=a.substring(0,c+8-1):fr(a,"/picker")&&(b=a);b&&this.setRelayUrl(b+Xa)};q.ld=function(a){a.action==Sm?(this.ja&&!this.N()&&(this.b().removeChild(this.ja),this.ja=null),this.pj()):this.xj(y(function(b){b.call(this.Qe,Jl,null,a)},this))};
q.Hc=function(){lS.c.Hc.call(this);this.Q2();this.pj();if(!this.gt){var a=this.j().K();this.A().listen(a,wk,this.nZ,!0);if(E){try{var b=a.activeElement}catch(e){}for(;b&&b.nodeName==Uc;){try{var c=My(b)}catch(e){break}a=c;b=a.activeElement}this.A().listen(a,wk,this.nZ,!0)}}this.ld(new xR(!0));MB(new $x(0,0),this.b(),0,this.ju());this.xS();this.tn?this.focus(this.ja):this.focus(this.b())};q.Ng=function(a){lS.c.Ng.call(this,a);this.B2();this.ld(new xR(!1))};
q.nZ=function(a){a=a.target;Ly(this.b(),a)||this.x0(a)||!this.P0(a)||this.NP()||this.py()};q.py=function(){this.N()&&(this.C(!1),this.Mc({action:zf}))};q.o=function(){this.DT?(Ey(this.b()),lS.c.o.call(this)):M(function(){this.DT=!0;this.o()},0,this)};var Y=function(a){hS.call(this,a);this.ob=new $y(this.cp);this.OD(Sh);(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.Cw(a);this.Ie=[];this.lca=""};B(Y,iS);q=Y.prototype;q.YL=!0;q.we=!1;q.ts=function(a,b){this.Ie.push([a,b||{}]);return this};q.Bs=function(){this.getRelayUrl()||this.setRelayUrl(iz(window.location.href).Qh(void 0).wr("").$g("/favicon.ico").toString())};
q.As=function(){this.Bs();if(this.ob.mb(tk))throw Error(Vp);var a=new fS(this.qk().toString(),this.YL,this.j(),this.FH,this.BH,this.lca);a.Ni(this.we);a.sr(this.kh);a.lo(this.Mc);return a};q.oG=function(){this.Ip(tk);this.Bs();var a=new lS(this.qk().toString(),this.YL,this.j(),this.FH,this.BH,this.gt);a.sr(this.kh);a.lo(this.Mc);return a};q.IH=function(a){this.gt=a;return this};q.Ky=function(a){this.ob.removeParameter(a);return this};q.Ip=function(a){this.ob.T(a,yp);return this};q.fJ=function(){return this.we};
q.ti=function(){return this.BH};q.lu=function(){return this.ob.mb(Jm)};q.getRelayUrl=function(){return this.ob.mb("relayUrl")};q.dn=function(){return this.ob.mb(on)};q.Pd=function(){return this.ob.mb(op)};q.Ag=function(){return this.FH};q.fL=function(a){return this.ob.mb(a)==yp};q.bza=function(a){this.ob.T("developerKey",a);return this};q.qO=function(a){this.ob.T(jf,a);return this};q.R5=function(a){this.ob.T("cropMode",a);return this};q.Ni=function(a){this.we=a;return this};
q.KD=function(a){this.ob.T("maxSizeBytes",a);return this};q.x6=function(a){this.ob.T("maxSizeBytesPerItem",a);return this};q.Aw=function(a){this.ob.T("maxItems",a);return this};q.y6=function(a){this.ob.T("maxVD",a);return this};q.j6=function(a){this.ob.T("groupId",a);return this};q.yr=function(a){this.ob.T(Ni,a);return this};q.Cw=function(a){a&&this.ob.T("origin",a);return this};q.HD=function(a){a instanceof uR?this.ob.T("view",a.toString()):this.ob.T("view",a);return this};
q.t6=function(a){this.ob.T("learnMore",a);return this};q.Wza=function(a){this.YL=a;return this};q.WO=function(a){this.ob.T("hl",a);return this};q.rAa=function(a){this.ob.T("oauth_token",a);return this};q.OD=function(a){this.ob.T(Jm,a);return this};q.setRelayUrl=function(a){this.ob.T("relayUrl",a);return this};q.PD=function(a){this.ob.T(on,a);return this};q.S6=function(a){this.ob.T("selectableMimeTypes",a);return this};q.xb=function(a,b){this.FH=a;this.BH=b;return this};
q.TD=function(a){this.ob.T("thumbs",a);return this};q.Gr=function(a){this.ob.T("uploadToAlbumId",a);return this};q.fb=function(a){this.ob.T(op,a);return this};q.k7=function(){return this};q.cE=function(a){this.ob.T("srum",a);return this};q.qk=function(){this.Ie.length&&this.ob.T("pp",sv(this.Ie));return this.ob.T("nav",this.ui()).clone()};w("picker.api.Picker",fS,void 0);fS.prototype.isVisible=CC.prototype.N;fS.prototype.setAppId=fS.prototype.sr;fS.prototype.setCallback=fS.prototype.lo;fS.prototype.setRelayUrl=fS.prototype.setRelayUrl;fS.prototype.setVisible=fS.prototype.C;fS.prototype.dispose=fS.prototype.dispose;w("picker.api.PickerBuilder",Y,void 0);Y.prototype.addView=Y.prototype.Vo;Y.prototype.addViewGroup=Y.prototype.Wo;Y.prototype.build=Y.prototype.As;Y.prototype.disableFeature=Y.prototype.Ky;Y.prototype.enableFeature=Y.prototype.Ip;
Y.prototype.getRelayUrl=Y.prototype.getRelayUrl;Y.prototype.getTitle=Y.prototype.Pd;Y.prototype.hideTitleBar=Y.prototype.yA;Y.prototype.isFeatureEnabled=Y.prototype.fL;Y.prototype.setAppId=Y.prototype.sr;Y.prototype.setAuthUser=Y.prototype.qO;Y.prototype.setCallback=Y.prototype.lo;Y.prototype.setDeveloperKey=Y.prototype.bza;Y.prototype.setDocument=Y.prototype.V5;Y.prototype.setInitialView=Y.prototype.HD;Y.prototype.setLocale=Y.prototype.WO;Y.prototype.setMaxItems=Y.prototype.Aw;
Y.prototype.setOAuthToken=Y.prototype.rAa;Y.prototype.setOrigin=Y.prototype.Cw;Y.prototype.setRelayUrl=Y.prototype.setRelayUrl;Y.prototype.setSelectableMimeTypes=Y.prototype.S6;Y.prototype.setSize=Y.prototype.xb;Y.prototype.setTitle=Y.prototype.fb;Y.prototype.setUploadToAlbumId=Y.prototype.Gr;Y.prototype.toUri=Y.prototype.qk;var mS=function(){uR.call(this,og)};B(mS,uR);mS.prototype.setQuery=function(a){mS.c.setQuery.call(this,a);return this};mS.prototype.HAa=function(){this.W.scgh=!0;return this};var nS=function(){uR.call(this,Al)};B(nS,uR);q=nS.prototype;q.Ne=function(a){this.W.type=a;return this};q.d6=function(a){this.W.peopleFilter=a?a.sl:void 0;return this};q.oAa=function(a){this.W.noEmailInput=a;return this};q.Ra=function(a){nS.c.Ra.call(this,a);return this};q.setQuery=function(a){nS.c.setQuery.call(this,a);return this};q.Gb=function(a){nS.c.Gb.call(this,a);return this};q.Fb=function(a){nS.c.Fb.call(this,a);return this};q.Db=function(a,b){nS.c.Db.call(this,a,b);return this};
q.Ea=function(a){nS.c.Ea.call(this,a);return this};q.Mb=function(a){nS.c.Mb.call(this,a);return this};var oS=function(a){this.sl=a};oS.prototype.Oba=function(a){this.sl|=a;return this};oS.prototype.qwa=function(a){this.sl&=~a;return this};oS.prototype.Gja=function(){return this.sl};oS.prototype.Xoa=function(a){return 1023==a&&this.sl!=a?!1:!!(this.sl&a)};var pS=function(){uR.call(this,Fl)};B(pS,uR);q=pS.prototype;q.Ra=function(a){pS.c.Ra.call(this,a);return this};q.setQuery=function(a){pS.c.setQuery.call(this,a);return this};q.Gb=function(a){pS.c.Gb.call(this,a);return this};q.Fb=function(a){pS.c.Fb.call(this,a);return this};q.Db=function(a,b){pS.c.Db.call(this,a,b);return this};q.Ea=function(a){pS.c.Ea.call(this,a);return this};q.Mb=function(a){pS.c.Mb.call(this,a);return this};var qS=function(a){Y.call(this,a)};B(qS,Y);qS.prototype.toString=function(){return this.qk().toString()};w("picker.api.Action.LOADED",Zj,void 0);w("picker.api.Action.UPLOAD_PROGRESS",Ip,void 0);w("picker.api.Action.UPLOAD_SCHEDULED",Jp,void 0);w("picker.api.Action.UPLOAD_STATE_CHANGE",Kp,void 0);w("picker.api.Document.CONTENT_ID",qg,void 0);w("picker.api.Feature.FORMS_ENABLED","formsEnabled",void 0);w("picker.api.Feature.PROFILE_PHOTO",Gm,void 0);w("picker.api.Feature.URL_INPUT_VISIBLE",Tp,void 0);w("picker.api.Feature.WHITE_STYLE",pq,void 0);w("picker.api.Feature.MINIMAL_MODE",tk,void 0);
w("picker.api.ContactsView",mS,void 0);mS.prototype.setSaveContactsGroupHiddenOption=mS.prototype.HAa;w("picker.api.ImageSearchView.Type",{$$:Wh,NHa:"gis",jMa:"life"},void 0);w("picker.api.ImageSearchView.Type.TIME_LIFE","life",void 0);ER.prototype.setType=ER.prototype.Ne;w("picker.api.PeopleView",nS,void 0);nS.prototype.setType=nS.prototype.Ne;nS.prototype.setNoEmailInput=nS.prototype.oAa;w(rm,CR,void 0);CR.prototype.setSortKey=CR.prototype.dBa;CR.prototype.setCreateFolderEnabled=CR.prototype.Vya;
CR.prototype.setMaxCollectionsToPrefetch=CR.prototype.aAa;CR.prototype.setOtherParents=CR.prototype.uAa;CR.prototype.setItems=CR.prototype.Tza;CR.prototype.setMoveButtonLabel=CR.prototype.lAa;CR.prototype.setAddItemEnabled=CR.prototype.pya;CR.prototype.setAddItemLabel=CR.prototype.qya;CR.prototype.setOpenUrlShown=CR.prototype.tAa;CR.prototype.disableReadOnlyItemSelection=CR.prototype.Gfa;CR.prototype.disableRestrictedDownloadItemSelection=CR.prototype.Hfa;
CR.prototype.setRestrictedDownloadErrorMessage=CR.prototype.GAa;CR.prototype.setChildView=CR.prototype.Oya;CR.prototype.setSelectButtonLabelOnItemSelected=CR.prototype.R6;CR.prototype.setSelectButtonLabelOnViewSelected=CR.prototype.R6;w("picker.api.DocsSortKey",{iIa:1,DIa:2,jJa:3,Haa:5,RLa:6,TITLE:7,CHa:8,Oaa:9,EMa:10,kKa:11,V$:12,M$:13,GMa:14,SR:15,tKa:16,sKa:17,rKa:18},void 0);w("picker.api.DocsSortKey.IMPORTANCE",1,void 0);w("picker.api.DocsSortKey.LAST_VIEWED_DATE",2,void 0);
w("picker.api.DocsSortKey.MODIFICATION_DATE",3,void 0);w("picker.api.DocsSortKey.RELEVANCE",5,void 0);w("picker.api.DocsSortKey.STARRED",6,void 0);w("picker.api.DocsSortKey.TITLE",7,void 0);w("picker.api.DocsSortKey.FOLDER_TITLE",8,void 0);w("picker.api.DocsSortKey.SHARE_DATE",9,void 0);w("picker.api.DocsSortKey.USER_MODIFICATION_DATE",10,void 0);w("picker.api.DocsSortKey.QUOTA_BYTES_USED",11,void 0);w("picker.api.PeopleViewType",{ALL:ue,WFa:Jf,HHa:"frequent",LHa:Xh,pF:Al,SELECTED:pn},void 0);
w("picker.api.PeopleViewType.ALL",ue,void 0);w("picker.api.PeopleViewType.CIRCLES",Jf,void 0);w("picker.api.PeopleViewType.GMAIL",Xh,void 0);w("picker.api.PeopleViewType.PEOPLE",Al,void 0);w("picker.api.PeopleViewType.SELECTED",pn,void 0);w("picker.api.SafeSearch.OFF","off",void 0);w("picker.api.SafeSearch.STRICT",ne,void 0);w("picker.api.SafeSearch.MODERATE","moderate",void 0);w("picker.api.PeopleViewFilter",oS,void 0);w("picker.api.PeopleViewFilter.Group",{ALL:1023,NONE:0,OHa:1,wJa:2,$Ja:4},void 0);
w("picker.api.PeopleViewFilter.Group.ALL",1023,void 0);w("picker.api.PeopleViewFilter.Group.NONE",0,void 0);w("picker.api.PeopleViewFilter.Group.GOOGLE_PLUS_USERS",1,void 0);w("picker.api.PeopleViewFilter.Group.NON_GOOGLE_PLUS_USERS",2,void 0);w("picker.api.PeopleViewFilter.Group.PLUS_PAGES",4,void 0);oS.prototype.addGroup=oS.prototype.Oba;oS.prototype.removeGroup=oS.prototype.qwa;oS.prototype.getMask=oS.prototype.Gja;oS.prototype.hasGroup=oS.prototype.Xoa;
w("picker.api.PhotosView.UploadPosition",{tHa:"first",wIa:"last"},void 0);w("picker.api.PhotosView.UploadPosition.FIRST","first",void 0);w("picker.api.PhotosView.UploadPosition.LAST","last",void 0);GR.prototype.setParent=GR.prototype.Ea;GR.prototype.setType=GR.prototype.Ne;GR.prototype.setUploadEnabled=GR.prototype.n7;GR.prototype.setUploadPosition=GR.prototype.uBa;w(vm,HR,void 0);w("picker.api.PhotosView.Type.FLAT","flat",void 0);w("picker.api.PickerAction",yR,void 0);
w("picker.api.PickerAction.CANCEL",zf,void 0);w("picker.api.PickerAction.LOADED",Zj,void 0);w("picker.api.PickerAction.PICKED",Il,void 0);w("picker.api.PickerAction.UPLOAD_PROGRESS",Ip,void 0);w("picker.api.PickerAction.UPLOAD_SCHEDULED",Jp,void 0);w("picker.api.PickerAction.UPLOAD_STATE_CHANGE",Kp,void 0);w("picker.api.PickerUriBuilder",qS,void 0);qS.prototype.addLabel=qS.prototype.To;qS.prototype.addView=qS.prototype.Vo;qS.prototype.addViewGroup=qS.prototype.Wo;qS.prototype.disableFeature=qS.prototype.Ky;
qS.prototype.enableFeature=qS.prototype.Ip;qS.prototype.getNav=qS.prototype.ui;qS.prototype.getProtocol=qS.prototype.lu;qS.prototype.getRelayUrl=qS.prototype.getRelayUrl;qS.prototype.getSelectButtonLabel=qS.prototype.dn;qS.prototype.getTitle=qS.prototype.Pd;qS.prototype.hideTitleBar=qS.prototype.yA;qS.prototype.isFeatureEnabled=qS.prototype.fL;qS.prototype.resetNav=qS.prototype.ZC;qS.prototype.setHostId=qS.prototype.yr;qS.prototype.setInitialView=qS.prototype.HD;qS.prototype.setProtocol=qS.prototype.OD;
qS.prototype.setRelayUrl=qS.prototype.setRelayUrl;qS.prototype.setSelectButtonLabel=qS.prototype.PD;qS.prototype.setThumbs=qS.prototype.TD;qS.prototype.setTitle=qS.prototype.fb;qS.prototype.setMaxSizeBytes=qS.prototype.KD;qS.prototype.setMaxSizeBytesPerItem=qS.prototype.x6;qS.prototype.setUploadToAlbumId=qS.prototype.Gr;qS.prototype.toString=qS.prototype.toString;qS.prototype.toUri=qS.prototype.qk;
w("picker.api.PostProcessorId",{qFa:"atec",GFa:"blogger",QFa:"caa",RFa:Df,SFa:"cpaa",xR:If,gGa:"contactPhoto",mGa:"copyphoto",nGa:"ctpa",oGa:"ctpf",vGa:"cropphoto",SGa:"dow",TGa:dh,jIa:"ipfd",lJa:"mdisamb",saa:"mtp",SJa:te,Eaa:"photocuration",VJa:"photosharing",aKa:"polls",fKa:"profileBanner",Gaa:Fm,gLa:"sptm",QLa:"sqprofile"},void 0);w("picker.api.PostProcessorId.CHANGE_ALBUM_ATTRIBUTES","caa",void 0);w("picker.api.PostProcessorId.CHANGE_PARENT_ALBUM_ATTRIBUTES","cpaa",void 0);
w("picker.api.PostProcessorOption",{sFa:"albumName",pGa:"ctta",ZGa:"eata",hHa:"evid",sHa:"finalizeAlbum",dIa:Ui,kIa:"includeAllDocs",iJa:uk,saa:"mtp",zJa:"ni",zKa:"rps",PLa:"sqid",YR:jq},void 0);w("picker.api.PostProcessorOption.VISIBILITY",jq,void 0);w("picker.api.Protocol",{IHa:Sh,JHa:"gapi_iframes",eIa:"ifpc",fIa:"iframes",nIa:"injected"},void 0);w("picker.api.Protocol.GADGETS",Sh,void 0);w("picker.api.Protocol.IFPC","ifpc",void 0);w("picker.api.UploadConfigurationId.PHOTOS",Gl,void 0);
w("picker.api.UploadView",AR,void 0);AR.prototype.setUploadNotificationsEnabled=uR.prototype.tBa;w("picker.api.UrlView",MR,void 0);MR.prototype.setSite=MR.prototype.qo;MR.prototype.setType=MR.prototype.Ne;MR.prototype.setLabel=MR.prototype.Ra;MR.prototype.setQuery=MR.prototype.setQuery;MR.prototype.setMimeTypes=MR.prototype.Gb;MR.prototype.setBreadcrumbsBarHidden=MR.prototype.Fb;MR.prototype.addUploadMetadata=MR.prototype.Db;MR.prototype.setParent=MR.prototype.Ea;
MR.prototype.setContainerRenameableType=MR.prototype.Mb;w("picker.api.UrlViewType.ALL",ue,void 0);w("picker.api.UrlViewType.IMAGE",Vi,void 0);w("picker.api.UrlViewType.VIDEO",aq,void 0);w("picker.api.VideoSearchView.GOOGLE_VIDEO","video.google.com",void 0);uR.prototype.addUploadMetadata=uR.prototype.Db;uR.prototype.setBreadcrumbsBarHidden=uR.prototype.Fb;OR.prototype.getItemsString=OR.prototype.Pz;w("picker.api.ViewId.PEOPLE",Al,void 0);w("picker.api.ViewId.UPLOAD",Fp,void 0);
w("picker.api.commands.CancelUploadCommand",mR,void 0);w("picker.api.commands.RefreshCommand",nR,void 0);w("picker.api.commands.SetMaxItemsCommand",qR,void 0);w("picker.api.commands.SetMaxSizeBytesCommand",pR,void 0);w("picker.api.commands.SetTitleCommand",rR,void 0);w("picker.api.commands.SetViewCommand",vR,void 0);w("picker.api.commands.SetViewOptionsCommand",wR,void 0);w("picker.api.WebSearchView",NR,void 0);NR.prototype.setSite=NR.prototype.qo;NR.prototype.setSearchLabel=NR.prototype.JAa;
NR.prototype.setInUrl=NR.prototype.Kza;NR.prototype.setSafeSearch=NR.prototype.Fw;NR.prototype.setCustomSearchEngine=NR.prototype.Zya;w("picker.api.PhotoUploadView",pS,void 0);fS.prototype.sendCommand=fS.prototype.ld;fS.prototype.setUrl=fS.prototype.so;Y.prototype.addLabel=Y.prototype.To;Y.prototype.addPostProcessor=Y.prototype.ts;Y.prototype.getNav=Y.prototype.ui;Y.prototype.getProtocol=Y.prototype.lu;Y.prototype.getSelectButtonLabel=Y.prototype.dn;Y.prototype.resetNav=Y.prototype.ZC;Y.prototype.setHostId=Y.prototype.yr;Y.prototype.setLoadGadgetsLibrary=Y.prototype.Wza;Y.prototype.setProtocol=Y.prototype.OD;Y.prototype.setSelectButtonLabel=Y.prototype.PD;
Y.prototype.setThumbs=Y.prototype.TD;Y.prototype.setGroupId=Y.prototype.j6;Y.prototype.shouldReturnUploadMetadata=Y.prototype.cE;Y.prototype.buildMinimal=Y.prototype.oG;Y.prototype.disableAutoHide=Y.prototype.IH;Y.prototype.setMaxVideoDurationSec=Y.prototype.y6;var rS=function(){},sS=typeof Uint8Array==Rh,wS=function(a,b,c,e,f,g){a.ne=null;b||(b=c?[c]:[]);a.UNa=c?String(c):void 0;a.$o=0===c?-1:0;a.qf=b;a:{if(a.qf.length&&(b=a.qf.length-1,(c=a.qf[b])&&typeof c==Sk&&!x(c)&&!(sS&&c instanceof Uint8Array))){a.Xq=b-a.$o;a.zf=c;break a}-1<e?(a.Xq=e,a.zf=null):a.Xq=Number.MAX_VALUE}a.oNa={};if(f)for(e=0;e<f.length;e++)b=f[e],b<a.Xq?(b+=a.$o,a.qf[b]=a.qf[b]||tS):(uS(a),a.zf[b]=a.zf[b]||tS);g&&g.length&&D(g,cr(vS,a))},tS=Object.freeze?Object.freeze([]):[],uS=function(a){var b=
a.Xq+a.$o;a.qf[b]||(a.zf=a.qf[b]={})},xS=function(a,b){if(b<a.Xq){b+=a.$o;var c=a.qf[b];return c===tS?a.qf[b]=[]:c}if(a.zf)return c=a.zf[b],c===tS?a.zf[b]=[]:c},yS=function(a,b,c){a=xS(a,b);return null==a?c:a},zS=function(a,b,c){b<a.Xq?a.qf[b+a.$o]=c:(uS(a),a.zf[b]=c)},vS=function(a,b){var c,e;D(b,function(b){var f=xS(a,b);null!=f&&(c=b,e=f,zS(a,b,void 0))});return c?(zS(a,c,e),c):0};
rS.prototype.R8=function(){if(this.ne)for(var a in this.ne){var b=this.ne[a];if(x(b))for(var c=0;c<b.length;c++)b[c]&&b[c].Vh();else b&&b.Vh()}};rS.prototype.Vh=function(){this.R8();return this.qf};rS.prototype.jk=sS?function(){var a=Uint8Array.prototype.toJSON;Uint8Array.prototype.toJSON=function(){return DM(this)};try{var b=JSON.stringify(this.Vh(),AS)}finally{Uint8Array.prototype.toJSON=a}return b}:function(){return JSON.stringify(this.Vh(),AS)};
var AS=function(a,b){if(Oq(b)){if(isNaN(b))return"NaN";if(Infinity===b)return"Infinity";if(-Infinity===b)return"-Infinity"}return b};rS.prototype.toString=function(){this.R8();return this.qf.toString()};rS.prototype.getExtension=function(a){if(this.zf){this.ne||(this.ne={});var b=a.BNa;if(a.PNa){if(a.Rqa())return this.ne[b]||(this.ne[b]=hs(this.zf[b]||[],function(b){return new a.jfa(b)})),this.ne[b]}else if(a.Rqa())return!this.ne[b]&&this.zf[b]&&(this.ne[b]=new a.jfa(this.zf[b])),this.ne[b];return this.zf[b]}};
rS.prototype.clone=function(){return new this.constructor(BS(this.Vh()))};var BS=function(a){var b;if(x(a)){for(var c=Array(a.length),e=0;e<a.length;e++)null!=(b=a[e])&&(c[e]=typeof b==Sk?BS(b):b);return c}if(sS&&a instanceof Uint8Array)return new Uint8Array(a);c={};for(e in a)null!=(b=a[e])&&(c[e]=typeof b==Sk?BS(b):b);return c};var CS=function(a){wS(this,a,0,-1,null,null)};B(CS,rS);CS.prototype.xo=function(a){return DS(a,this)};var DS=function(a,b){var c={kd:yS(b,1,0),VNa:yS(b,2,0)};a&&(c.F$=b);return c};CS.prototype.getSeconds=function(){return yS(this,1,0)};CS.prototype.setSeconds=function(a){0!=a?zS(this,1,a):this.qf[1+this.$o]=null};var ES=function(a){wS(this,a,0,-1,null,null)};B(ES,rS);ES.prototype.xo=function(a){var b,c={zNa:yS(this,1,""),sessionId:yS(this,2,""),QNa:yS(this,3,0),uOa:(b=this.zka())&&DS(a,b),uNa:yS(this,5,!1)};a&&(c.F$=this);return c};ES.prototype.zka=function(){this.ne||(this.ne={});if(!this.ne[4]){var a=xS(this,4);a&&(this.ne[4]=new CS(a))}return this.ne[4]};var FS=function(a){this.Qf=a.hl;this.ata=!!a[Ik];this.Pq=a.oAuthToken;this.dva=a.pimm;this.gwa=a.relayUrl;this.R4=a.rpcService;this.Vg=a.rpcToken;this.xxa=a.rpcUrl?FE(a.rpcUrl):null;this.yxa=Fw.test(this.Qf);this.CQ=(new Boolean(a.thirdParty)).valueOf();this.X9=a.uriPrefix||"picker/";this.nga=!!a.ecsi},GS=null,HS=function(){C(!!GS,"Flags not initialized");return GS};FS.prototype.getRelayUrl=function(){return this.gwa};FS.prototype.isNative=function(){return this.ata};FS.prototype.Ge=function(){return this.yxa};var IS={1:"picker-spr-google-photos-24"};var JS=function(a){F.call(this);a&&(GS=new FS(a));this.Yh=a.actions||{};this.rba=a.apt;this.jh=a.appContext||null;this.vj=a.email;this.Cda=a.chrome;this.Yea=a.cropMode;this.nfa=a.de;var b=[];u(a.fs)&&(b=x(a.fs)?a.fs:JSON.parse(a.fs));this.oha=b;this.GC=a.prefetchQueryRequest;this.HC=a.prefetchUriParams;this.Nv=a.prefetchUriQuery;this.xva=a.prefetchEnabled;this.sfa=a.defaultView;this.jU=!!a.cwpc;this.hW=!a.driveGridViewSwitcherHidden;this.D=a.element;this.GW=a.eventId;this.O1=a.maxSizeBytes||null;
this.uga=!!a.enableSizeEstimation;this.oga=!!a.edbe;this.N1=a.maxItems||null;this.Ksa=a.minItems||0;this.Iga=new QG(a.excludeIds?a.excludeIds.split(","):[]);new QG(a.e?a.e.split(","):[]);this.Pm=(!!a.endv||!!a.newDriveView)&&!a.odv;this.gt=!!a.noAutoHide;this.HH=!!a.dav;this.Yga=!!a.ftd;this.AK=!!a.horizNav||this.Pm;this.fl=a.hostId;this.hh=!!a.addMode;this.Gra=a.learnMore;this.Xra=a.loadingStatusElement;this.Rxa=!!a.swue;b=a.selectableMimeTypes;v(b)&&(this.o5=this.cla(b));this.kya=a.serviceIds||
[];this.Lsa=a.mineOnly;this.TB=!!a.multiselectEnabled;b=a.nav;if(v(b))b=JSON.parse(b);else if(!x(b))throw Error("nav must be an array");this.Tf=b;this.In=(this.OB=!!a.minimal)&&!!a.minew;this.WB=this.OB||!!a.navHidden;this.Hua=a.origin;this.a3=a.outerElement;this.Fl=!1;this.iO=A();u(a.puv)&&JSON.parse(a.puv);b=a.pp;v(b)&&(b=JSON.parse(b));b&&b.length?(x(b[0])||(b=[b]),D(b,function(a){a[1]||(a[1]={})})):b=[];this.Ie=b;this.E3=a.profilePhoto;this.Kva=a.protocol;this.Oxa=a.selectButtonLabel;this.fE=
!!a.showroomNav;this.zDa=a.titleBarIconId;this.vE=x(a.thumbs)?a.thumbs:a.thumbs&&JSON.parse(a.thumbs);this.Yr=x(a.tt)?a.tt:a.tt&&JSON.parse(a.tt);this.Xc=a.title;this.tQ=a.subTitle;this.Ufa=a.dfc;this.qba=a.actionPaneText;var c=a.uploadConfigs;v(c)&&(c=JSON.parse(c),Qs(c,function(a,b){c[b]=new gS(a)}));this.QE=c||{};b=a.uploadButton;v(b)&&JSON.parse(b);this.dR=a.uploaders?a.uploaders:void 0;this.PP=!!a.srum;this.KEa=!!a.urlInputVisible;this.cFa=a.vg||nl;this.dga=!a.driveSortHidden;this.NEa=!!a.grugl;
a.iid&&new ES(a.iid)};B(JS,F);var KS={"application/vnd.google-apps.document":[Ge],"application/vnd.google-apps.form":[Fe],"application/vnd.google-apps.presentation":[Ie],"application/vnd.google-apps.spreadsheet":[Je]};q=JS.prototype;q.cla=function(a){a=new QG(JSON.parse(a));for(var b in KS)a.contains(b)&&a.addAll(KS[b]);return a};q.Qk=function(){return this.jh};q.getEmail=function(){return this.vj};q.cra=function(){return!!this.xva};q.b=function(){return this.D};q.XH=function(a){this.hh=a};q.ui=function(){return this.Tf};
q.getOrigin=function(){return this.Hua};q.Zp=function(){return this.a3||(this.a3=ky("picker-main-container",this.D))};q.lu=function(){return this.Kva};q.dn=function(){return this.Oxa||(this.E3?"Elegir como foto de perfil":"Seleccionar")};q.Uka=function(){return IS[this.zDa]};q.Pd=function(){return this.Xc};q.cE=function(){return this.PP};q.c0=function(a){return this.Yh[a]};q.p0=function(){return!!this.fl&&("og"==this.fl||er(this.fl,"es-"))};q.Sqa=function(a){return!this.o5||this.o5.contains(a)};
q.Dd=function(){return this.OB};q.VY=function(){return this.OB?18E4:0};q.ts=function(a){this.Ie=this.Ie||[];this.Ie.push(a)};q.ft=function(a){this.HH=a};q.AAa=function(a){!this.Fl&&a&&(this.iO=A());this.Fl=a};q.Aw=function(a){this.N1=a};q.KD=function(a){this.O1=a};q.Gr=function(){};q.mL=function(){return!(!this.Tf.length||1!=this.Tf.length||this.Tf[0][0]!=Al)};q.gR=function(){return this.NEa};q.o=function(){JS.c.o.call(this);delete this.D;delete this.Xra};var LS=function(a,b){v(b)?(C(b,"NamespacedType does not allow empty type string"),C(!/[:]/.test(b),'NamespacedType does not allow ":" in type string: '+b)):C(0<=b,"NamespacedType does not allow negative type number");C(a,"NamespacedType does not accept undefined or null namespace");this.$sa=a;this.Va=b;this.constructor.VF||(this.constructor.VF={});a=this.toString();C(!this.constructor.VF[a],"Registering duplicate namespaced type "+a);this.constructor.VF[a]=this};LS.prototype.jk=function(){return this.toString()};
LS.prototype.toString=function(){this.Z8||(this.Z8=this.$sa.yJ()+":"+this.Va);return this.Z8};LS.prototype.getType=function(){return this.Va};var MS=function(a,b){LS.call(this,a,b)};B(MS,LS);var OS=function(a){C(!NS.hasOwnProperty(a),"Attempt to create a second Namespace with name: "+a);C(!/[^0-9a-zA-Z._]/.test(a),"Attempt to create a Namespace with invalid characters: "+a);this.Ab=a;NS[a]=this},NS;NS={};OS.prototype.yJ=function(){return this.Ab};new OS("lib");var QS=function(a){F.call(this);this.id=PS++;this.lya=[];this.je={};this.QL={};this.gO={};this.ko={};this.WS={};this.l2={};this.xe=a?a.xe:new J;this.IBa=!a;this.Gv=null;a?(this.Gv=a,this.gO=a.gO,this.ko=a.ko,this.QL=a.QL,this.WS=a.WS):A();a=this.GJ();this!=a&&(a.hy?a.hy.push(this):a.hy=[this])};B(QS,F);var PS=1;q=QS.prototype;q.GJ=function(){for(var a=this;a.Gv;)a=a.Gv;return a};q.wfa=function(a){for(var b=this;b;){if(b==a)return!0;b=b.Gv}return!1};
q.get=function(a){var b=this.sY(a);null==b&&this.vNa&&(b={BOGUS:"Service "+a+" was not registered"});if(null==b)throw new RS(a);return b};q.sY=function(a){for(var b=this;b;b=b.Gv){if(b.isDisposed())throw Error("AppContext is disposed.");if(b.je[a])return b.je[a][0];if(b.l2[a])break}if(b=this.Aka(a)){b=b(this);if(null==b)throw Error("Factory method for service "+a+" returned null or undefined.");this.Hi(a,b);return b}return null};
q.Hi=function(a,b,c){if(this.isDisposed())c||G(b);else{C(!this.je[a],'Service for "%s" is already registered',a);this.lya.push(a);this.je[a]=[b,!c];c=this.bha(this,a);for(var e=0;e<c.length;e++)c[e].callback(null);delete this.QL[a];return b}};q.KE=function(a){if(!this.je[a])throw Error('Service for "'+a+pa);var b=this.je[a];delete this.je[a];b[1]&&G(b[0])};q.Aka=function(a){return this.gO[a]};
q.bha=function(a,b){var c=[],e=this.ko[b];e&&(fs(e,function(b){b.Bca.wfa(a)&&(c.push(b.d),vs(e,b))}),0==e.length&&delete this.ko[b]);return c};q.Ida=function(a){this.ko&&Qs(this.ko,function(b,c,e){fs(b,function(c){c.Bca==a&&vs(b,c)});0==b.length&&delete e[c]})};
q.o=function(){if(this.GJ()==this){var a=this.hy;if(a)for(;a.length;)a[0].dispose()}else{a=this.GJ().hy;for(var b=0;b<a.length;b++)if(a[b]==this){a.splice(b,1);break}}for(var c in this.je)a=this.je[c],a[1]&&a[0].dispose&&a[0].dispose();this.je=null;this.IBa&&this.xe.dispose();this.Ida(this);this.ko=null;G(this.Kua);this.l2=this.Kua=null;QS.c.o.call(this)};var RS=function(a){Rr.call(this);this.id=a;this.message='Service for "'+a+pa};B(RS,Rr);var SS=new OS("fva");new MS(SS,1);vv("fava.core.Timer");var TS=function(){F.call(this)};B(TS,F);TS.prototype.F=vv("fava.debug.ErrorReporter");TS.prototype.init=function(){this.TN=[]};TS.prototype.$wa=function(a,b){if(this.isDisposed())K(this.F,"reportException was called but ErrorReporter already disposed. Message: "+a,b);else if(b instanceof DH)K(this.F,a||"CancelledError",b);else{if(this.F){var c=this.F.kY(mu,a||"Exception",b);c.xNa=!0;this.F.$ra(c)}this.dya?this.dya.tOa(b,a):this.TN&&10>this.TN.length&&this.TN.push([a,b])}};var US=new TS;var VS=function(a,b){J.call(this);this.Ec=[];this.LEa=!!b;this.G=new pC(this);this.Jqa=window.parent!=window;if(a)if(x(a))for(b=0;b<a.length;b++)this.Dx(a[b].K());else this.Dx(a.K());else this.Dx(N().K());A()};B(VS,J);VS.prototype.X1=0;var WS=[Kf,Eg,wk,xk,Ak],XS=["touchend","touchmove",vp],YS=[Ij,Kj];q=VS.prototype;q.o=function(){VS.c.o.call(this);this.G.dispose();this.G=null;delete this.Ec};
q.Dx=function(a){if(!qs(this.Ec,a)){this.Ec.push(a);var b=!this.LEa,c=xs(YS,WS);this.Jqa||zs(c,XS);this.G.listen(a,c,this.uu,b)}};q.uu=function(a){var b=!1;switch(a.type){case xk:if(typeof this.b1==Rk&&this.b1!=a.clientX||typeof this.c1==Rk&&this.c1!=a.clientY)b=!0;this.b1=a.clientX;this.c1=a.clientY;break;default:b=!0}b&&(a=Xr(a.type),this.J9(A(),a))};q.x4=function(){this.J9(A(),"manual")};q.J9=function(a){a>this.X1&&(this.dispatchEvent("activity"),this.X1=a+3E3)};new QG;var ZS=function(){F.call(this);this.EK=null;this.Oca=new HM;this.M3=new L};B(ZS,F);ZS.prototype.wa=null;ZS.prototype.F=vv("fava.base.Scheduler");ZS.prototype.dispose=function(){ZS.c.dispose.call(this);this.wa&&(t.clearTimeout(this.wa),this.wa=null);this.Oca.clear();for(var a=this.M3.nb(),b=0;b<a.length;b++)a[b].dispose();this.M3.clear();this.EK&&(this.EK.dispose(),this.EK=null)};var $S=function(a){J.call(this);this.nm=a?a.getWindow():window;this.Y0=this.LX();this.Pf=y(this.ena,this);this.LB=this.nm.matchMedia?this.nm.matchMedia("(min-resolution: 1.5dppx), (-webkit-min-device-pixel-ratio: 1.5)"):null};B($S,J);$S.prototype.start=function(){this.LB&&this.LB.addListener(this.Pf)};$S.prototype.LX=function(){return 1.5<=this.nm.devicePixelRatio?2:1};$S.prototype.ena=function(){var a=this.LX();this.Y0!=a&&(this.Y0=a,this.dispatchEvent("s"))};
$S.prototype.o=function(){this.LB&&this.LB.removeListener(this.Pf);$S.c.o.call(this)};var aT=function(a,b){F.call(this);this.jh=a;b&&this.wAa(b)};B(aT,F);q=aT.prototype;q.wAa=function(a){if(this.sC)throw Error("[fava.component.DomServices] Owner document already initialized");this.sC=a;this.L=N(a);this.ux=new SH(ry(a));this.ux.Sl(this.jh.xe);this.lN=new $S(this.L);this.lN.start()};q.uY=function(){Zr(this.sC,ic);return this.sC};q.j=function(){Zr(this.L,"Tried to use dom services without an owner document; possibly missing 'multiple: true' in a fava.extension.register?");return this.L};
q.ru=function(){C(this.L,ic);return this.ux.Ae()};q.o=function(){this.L=this.sC=null;this.ux&&(this.ux.dispose(),this.ux=null);G(this.lN);this.lN=null};var bT=function(a,b){F.call(this);this.gD=b||null};B(bT,F);bT.prototype.o=function(){this.gD&&(this.gD.dispose(),this.gD=null)};bT.prototype.getRootNode=function(){return this.gD};var cT=function(a,b){F.call(this);this.dW=this.VU=null;this.yi=b;this.Ld=[];this.yea(a)};B(cT,F);q=cT.prototype;q.Hj=function(){return this.Ld.length?this.Ld.pop():this.oj()};q.gk=function(a){this.Ld.length<this.yi?this.Ld.push(a):this.Km(a)};q.yea=function(a){if(a>this.yi)throw Error("[goog.structs.SimplePool] Initial cannot be greater than max");for(var b=0;b<a;b++)this.Ld.push(this.oj())};q.oj=function(){return this.VU?this.VU():{}};
q.Km=function(a){if(this.dW)this.dW(a);else if(Vq(a))if(Uq(a.dispose))a.dispose();else for(var b in a)delete a[b]};q.o=function(){cT.c.o.call(this);for(var a=this.Ld;a.length;)this.Km(a.pop());delete this.Ld};var fT=function(){this.vd=[];this.Cl=new L;this.h9=this.FE=this.GE=this.Ur=0;this.hc=new L;this.mU=this.IQ=0;this.FM=1;this.Ct=new cT(0,4E3);this.Ct.oj=function(){return new dT};this.mQ=new cT(0,50);this.mQ.oj=function(){return new eT};var a=this;this.Ju=new cT(0,2E3);this.Ju.oj=function(){return String(a.FM++)};this.Ju.Km=function(){};this.EV=3};fT.prototype.F=vv("goog.debug.Trace");fT.prototype.lF=1E3;var eT=function(){this.rx=this.time=this.count=0};
eT.prototype.toString=function(){var a=[];a.push(this.type," ",this.count," (",Math.round(10*this.time)/10," ms)");this.rx&&a.push(" [VarAlloc = ",this.rx,"]");return a.join("")};var dT=function(){};
dT.prototype.CDa=function(a,b,c){var e=[];-1==b?e.push("    "):e.push(gT(this.dz-b));e.push(" ",hT(this.dz-a));0==this.Dt?e.push(" Start        "):1==this.Dt?(e.push(" Done "),e.push(gT(this.SCa-this.startTime)," ms ")):e.push(" Comment      ");e.push(c,this);0<this.dx&&e.push("[VarAlloc ",this.dx,"] ");return e.join("")};dT.prototype.toString=function(){return null==this.type?this.Ns:"["+this.type+"] "+this.Ns};q=fT.prototype;
q.reset=function(a){this.EV=a;this.V3();this.Cl.clear();this.Ur=A();this.mU=this.IQ=this.h9=this.FE=this.GE=0;a=this.hc.bb();for(var b=0;b<a.length;b++){var c=this.hc.get(a[b]);c.count=0;c.time=0;c.rx=0;this.mQ.gk(c)}this.hc.clear()};q.V3=function(){for(var a=0;a<this.vd.length;a++){var b=this.vd[a];b.id&&this.Ju.gk(b.id);this.Ct.gk(b)}this.vd.length=0};
q.x8=function(a,b){var c=A(),e=this.SY(),f=this.Cl.sa();this.vd.length+f>this.lF&&(xv(this.F,"Giant thread trace. Clearing to avoid memory leak."),this.vd.length>this.lF/2&&this.V3(),f>this.lF/2&&this.Cl.clear());vu("Start : "+a);f=this.Ct.Hj();f.dx=e;f.Dt=0;f.id=Number(this.Ju.Hj());f.Ns=a;f.type=b;this.vd.push(f);this.Cl.set(String(f.id),f);this.IQ++;a=A();f.startTime=f.dz=a;this.GE+=a-c;return f.id};
q.D8=function(a,b){var c=A();var e=0===b?0:b?b:this.EV;b=this.Cl.get(String(a));if(null==b)return null;this.Cl.remove(String(a));a=c-b.startTime;if(a<e)for(e=this.vd.length-1;0<=e;e--){if(this.vd[e]==b){this.vd.splice(e,1);this.Ju.gk(b.id);this.Ct.gk(b);break}}else{var f=this.Ct.Hj();f.Dt=1;f.startTime=b.startTime;f.Ns=b.Ns;f.type=b.type;f.SCa=f.dz=c;this.vd.push(f)}e=b.type;var g=null;e&&(g=this.Nka(e),g.count++,g.time+=a);f&&(vu("Stop : "+f.Ns),f.dx=this.SY(),g&&(g.rx+=f.dx-b.dx));f=A();this.FE+=
f-c;return a};q.SY=function(){var a=this.DNa;return a&&a.isTracing()?a.totalVarAlloc:-1};q.Nka=function(a){var b=this.hc.get(a);b||(b=this.mQ.Hj(),b.type=a,this.hc.set(a,b));return b};
q.toString=function(){for(var a=[],b=-1,c=[],e=0;e<this.vd.length;e++){var f=this.vd[e];1==f.Dt&&c.pop();a.push(" ",f.CDa(this.Ur,b,c.join("")));b=f.dz;a.push("\n");0==f.Dt&&c.push("|  ")}if(0!=this.Cl.sa()){var g=A();a.push(" Unstopped timers:\n");mv(this.Cl,function(b){a.push("  ",b," (",g-b.startTime," ms, started at ",hT(b.startTime),")\n")})}b=this.hc.bb();for(e=0;e<b.length;e++)c=this.hc.get(b[e]),1<c.count&&a.push(" TOTAL ",c,"\n");a.push("Total tracers created ",this.IQ,"\n","Total comments created ",
this.mU,"\n","Overhead start: ",this.GE," ms\n","Overhead end: ",this.FE," ms\n","Overhead comment: ",this.h9," ms\n");return a.join("")};var gT=function(a){a=Math.round(a);var b="";1E3>a&&(b=" ");100>a&&(b="  ");10>a&&(b="   ");return b+a},hT=function(a){a=Math.round(a);return String(100+a/1E3%60).substring(1,3)+"."+String(1E3+a%1E3).substring(1,4)},iT=new fT;var jT=function(a,b){this.En=a;this.qb=b};jT.prototype.getKey=function(){return this.En};jT.prototype.getValue=function(){return this.qb};jT.prototype.clone=function(){return new jT(this.En,this.qb)};var kT=function(a){this.Lg=[];a&&this.eqa(a)};q=kT.prototype;q.insert=function(a,b){var c=this.Lg;c.push(new jT(a,b));this.AM(c.length-1)};q.eqa=function(a){if(a instanceof kT){var b=a.bb();a=a.nb();if(0>=this.sa()){for(var c=this.Lg,e=0;e<b.length;e++)c.push(new jT(b[e],a[e]));return}}else b=Xs(a),a=Ws(a);for(e=0;e<b.length;e++)this.insert(b[e],a[e])};q.remove=function(){var a=this.Lg,b=a.length,c=a[0];if(!(0>=b))return 1==b?ss(a):(a[0]=a.pop(),this.xM(0)),c.getValue()};
q.xM=function(a){for(var b=this.Lg,c=b.length,e=b[a];a<c>>1;){var f=this.uja(a),g=this.wka(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};q.AM=function(a){for(var b=this.Lg,c=b[a];0<a;){var e=this.ika(a);if(b[e].getKey()>c.getKey())b[a]=b[e],a=e;else break}b[a]=c};q.uja=function(a){return 2*a+1};q.wka=function(a){return 2*a+2};q.ika=function(a){return a-1>>1};q.nb=function(){for(var a=this.Lg,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getValue());return b};
q.bb=function(){for(var a=this.Lg,b=[],c=a.length,e=0;e<c;e++)b.push(a[e].getKey());return b};q.nj=function(a){return ks(this.Lg,function(b){return b.getValue()==a})};q.Xb=function(a){return ks(this.Lg,function(b){return b.getKey()==a})};q.clone=function(){return new kT(this)};q.sa=function(){return this.Lg.length};q.Sb=function(){return rs(this.Lg)};q.clear=function(){ss(this.Lg)};var lT=function(){kT.call(this)};B(lT,kT);lT.prototype.enqueue=function(a,b){this.insert(a,b)};lT.prototype.Dm=function(){return this.remove()};var mT=function(){F.call(this);this.vN=new L};B(mT,F);q=mT.prototype;q.F=vv("fava.data.Reaper");q.o=function(){this.K3&&(this.K3.dispose(),this.K3=null);this.e_&&(this.e_.dispose(),this.e_=null);mT.c.o.call(this)};q.Fia=function(){return A()};q.aca=function(a){this.vN.set(a.Yd,a)};q.Awa=function(a){this.vN.remove(a.Yd)};q.sa=function(){return this.vN.sa()};var nT=function(a,b){F.call(this);this.Ab=a;C(this.aB&&!b||!this.aB&&b,"[fava.data.BaseNode] rootNode parameter inconsistent with whether this is the RootNode class");this.aB?(this.Yd="$"+this.Ab,this.Sd=this):this.Sd=b};B(nT,F);q=nT.prototype;q.Da=vv("fava.data.BaseNode");q.kN=null;q.o=function(){yv(this.Da,"Disposing node: "+this.Yd);this.G&&(this.G.dispose(),this.G=null)};q.yh=function(){this.lg();this.G||(this.G=new pC(this));return this.G};q.getParent=function(){return this.kN};
q.Ea=function(a){if(null!=this.kN&&null!=a)throw Error("Node must be removed from parent before added to another one");C(!this.aB,"[fava.data.BaseNode] Root node cannot have a parent");if(a&&a.Sd!=this.Sd)throw Error("Node cannot be added to a different data store tree");this.WH=this.hQ=null;null!=a?(this.lg(),this.Yd=a.Yd+"/"+this.Ab):this.Yd=null;return this.kN=a};q.Kka=function(){this.hQ||(this.hQ=this.Yd+"/*");return this.hQ};q.Oia=function(){this.WH||(this.WH=this.Yd+"/...");return this.WH};
q.getOptions=function(){return 4};q.lg=function(){if(this.isDisposed())throw Error("Invalid operation for a disposed fava.data.Node.  Error on node: "+this.Yd);};var oT=function(){J.call(this);this.um=0};B(oT,J);q=oT.prototype;q.F=vv("fava.data.EventTarget");q.OH=function(a,b){var c=iT.x8(Lc,Lc);this.XV(a,a.Yd,u(b)?b:65535);iT.D8(c)};q.QH=function(a,b){var c=iT.x8(Mc,Mc);b=a.Yd+":"+b;this.jz(b,b);this.XV(a,b);iT.D8(c)};q.XV=function(a,b,c){for(var e=0;null!=a;)a.getOptions()&32||(0==e&&this.jz(a.Yd,b,c),1==e&&this.jz(a.Kka(),b,c),0<e&&this.jz(a.Oia(),b,c)),a=a.getParent(),e++};
q.jz=function(a,b,c){if(0<this.um){if(Nu(this))var e=this.hasListener(a,!1);else e=Yu(this),e=!!e&&e.hasListener(a,!1);e&&this.Vca(a,b,c)}else e=null,u(c)&&(e={},e[b]=c),gv(this,a,!1,new pT(a,[b],e))};q.jE=function(){this.um++;1==this.um&&oT.c.dispatchEvent.call(this,"t")};
q.$y=function(){this.um--;if(0==this.um){if(this.gs){var a=this.gs;this.gs=null;for(var b=a.bb(),c=0;c<b.length;c++){var e=b[c],f=a.get(e);f=new pT(e,f.bR,f.Ko);try{gv(this,e,!1,f)}catch(g){US.$wa("Exception firing listeners in Data EventTarget",g)}}}oT.c.dispatchEvent.call(this,"u")}else if(-1==this.um)throw this.um=0,Error("fava.data.EventTarget : Unmatched endBatchUpdate, cannot go negative");};
q.Vca=function(a,b,c){this.gs||(this.gs=new L);var e=this.gs.get(a);e?ts(e.bR,b):(e={bR:[b],Ko:null},this.gs.set(a,e));u(c)&&((a=e.Ko)?a[b]|=c:(e.Ko={},e.Ko[b]=c))};var pT=function(a,b,c){this.type=a;this.bR=b;this.Ko=c||null};B(pT,H);var qT=function(a,b,c){nT.call(this,a,b?b.Sd:null);b&&b.ca(this);if(this.C0=!!c)a=this.Sd.Rv,a.aca(this),a.Fia()};B(qT,nT);var rT=new L;q=qT.prototype;q.Da=vv("fava.data.Node");q.u1="NOT LOADED";q.sG="VALID";q.getOptions=function(){var a=qT.c.getOptions.call(this);a|=26;this.C0&&(a|=1);return a};q.get=function(){this.lg();return this.oh};q.Pc=function(){this.lg();return this.Ja?this.Ja:rT};q.Xp=function(){this.lg();return this.Ja?this.Ja.sa():0};q.Sk=function(a){return this.oia(a)};
q.oia=function(a){this.lg();return this.Ja?this.Ja.get(a):null};q.Aga=function(){this.Ja||(this.Ja=new L)};q.zja=function(){this.lg();return this.u1};q.kia=function(){this.lg();return this.sG};q.Dh=function(){this.lg();return"LOADED"==this.zja()};q.Eg=function(){this.lg();return"VALID"==this.kia()};q.Qk=function(){return this.Sd.Qk()};
q.o=function(){qT.c.o.call(this);if(this.Ja){for(var a=this.Ja.nb(),b=0;b<a.length;b++)a[b].dispose();this.Ja.clear()}a=this.getParent();b=this.Sd;var c=this.Yd;b.Rv.Awa(this);this.T5(null);a&&a.removeChild(this);b&&b.I2(c,a)};q.ca=function(a){var b=a.Ab;this.Aga();if(this.Ja.Xb(b))throw Error("Node: "+this.Yd+" already has a child with name "+b);if(a.getParent())throw Error("Node: "+a.Yd+" already has a parent set.");a.Ea(this);this.Ja.set(b,a)};
q.removeChild=function(a){var b=a.Ab;if(!this.Ja||!this.Ja.Xb(b))throw Error("Node: "+this.Yd+" does not have a child with name "+b);a.Ea(null);this.Ja.remove(b)};q.set=function(a){this.lg();this.u1="LOADED";this.sG="VALID";this.T5(a);this.NH()};q.T5=function(a){A();if(this.oh)if(this.oh instanceof J){var b=this.G;b&&b.ta(this.oh,"v",this.QZ)}else Uq(this.oh.fP)&&this.oh.fP(null);(this.oh=a)&&(this.oh instanceof J?this.yh().listen(this.oh,"v",this.QZ):Uq(this.oh.fP)&&this.oh.fP(this))};
q.a0=function(){this.sG="INVALID";this.Sd.J2(this)};q.NH=function(a){this.lg();this.Sd.OH(this,a)};q.QZ=function(a){a.Ko?this.NH(a.Ko):this.NH()};var sT=function(a,b){qT.call(this,a,null);this.Rv=b;this.xe=new oT;this.Hy=[]};B(sT,qT);q=sT.prototype;q.o=function(){this.xe.dispose();sT.c.o.call(this);this.Rv&&(this.Rv.dispose(),this.Rv=null)};q.Da=vv("fava.data.RootNode");q.aB=!0;q.jE=function(){this.xe.jE()};q.$y=function(){this.xe.$y()};q.PA=function(){for(var a=this.Pc().nb(),b;b=a.pop();)if(b.a0&&b.a0(),b.getOptions()&8){b=b.Pc().nb();for(var c=0;c<b.length;c++)a.push(b[c])}};q.Qk=function(){return this.jh};
q.OH=function(a,b){this.xe.OH(a,b)};q.QH=function(a,b){this.xe.QH(a,b)};q.I2=function(a,b){for(var c=0;c<this.Hy.length;c++)try{this.Hy[c].I2(a,b)}catch(e){xv(this.Da,sc,e)}};q.J2=function(a){for(var b=0;b<this.Hy.length;b++)try{this.Hy[b].J2(a)}catch(c){xv(this.Da,sc,c)}};var tT=function(a){L.call(this);this.$B=a};B(tT,L);q=tT.prototype;q.clear=function(){this.X_(!0)};q.dispose=function(){this.X_(!1)};q.X_=function(a){for(var b=this.bb(),c=0;c<b.length;c++)this.fG(b[c]);tT.c.clear.call(this);if(a){a=this.$B.Sd;a.jE();try{for(c=0;c<b.length;c++)this.Ly(b[c])}finally{a.$y()}}};q.remove=function(a){Xr(a);this.fG(a);var b=tT.c.remove.call(this,a);b&&this.Ly(a);return b};q.set=function(a,b){Xr(a);this.get(a)!==b&&(this.fG(a),tT.c.set.call(this,a,b),this.pca(a,b),this.Ly(a))};
q.pca=function(a,b){b&&b instanceof J&&(b=I(b,"v",y(this.Ly,this,a)),this.Bt||(this.Bt=new L),this.Bt.set(a,b))};q.fG=function(a){if(this.Bt){var b=this.Bt.get(a);b&&(cv(b),this.Bt.remove(a))}};q.addAll=function(a){var b=this.$B.Sd;b.jE();try{tT.c.addAll.call(this,a)}finally{b.$y()}};q.Ly=function(a){this.$B.Sd.QH(this.$B,a)};var uT=function(a,b){nT.call(this,a,b);this.Gl=new tT(this)};B(uT,nT);q=uT.prototype;q.get=function(){return this.Gl};q.o=function(){uT.c.o.call(this);this.Gl.dispose()};q.getOptions=function(){return uT.c.getOptions.call(this)|16};q.getValue=function(a){return this.Gl.get(a)};q.setValue=function(a,b){this.Gl.set(a,b)};var vT=function(a){uT.call(this,"user",a)};B(vT,uT);var wT=function(a,b){this.Z=b||N();this.O8=a||null;this.Hxa=[]};q=wT.prototype;q.f4=function(a,b){this.jD(a,b);a=ZE(a,b,this.eu(),this.Z);this.lq(a);return a};q.e4=function(a,b){this.jD(a,b);a=$E(a,b,this.eu(),this.Z);this.lq(a);return a};q.render=function(a,b){var c=a(b||{},void 0,this.eu());C(!(c instanceof ME)||c.te===GE,'render was called with a strict template of kind other than "html" (consider using renderText or renderStrict)');this.jD(a,b);this.lq();return String(c)};
q.Kl=function(a,b){var c=a(b||{},void 0,this.eu());cs(c,ME,"renderText cannot be called on a non-strict soy template");C(c.te===LE,'renderText was called with a template of kind other than "text"');this.jD(a,b);this.lq();return String(c)};q.lq=Qq;q.jD=function(a,b){this.Hxa.push({template:a.ra,data:b||null,NNa:this.eu()})};q.eu=function(){return this.O8?this.O8.getData():{}};var xT=function(a){wT.call(this,this,a.get(tQ).j());this.jh=a;this.xe=new J};B(xT,wT);xT.prototype.getData=function(){if(!u(this.jl)){var a=this.jh.sY(vQ);if(a){this.jl=a.Rua;this.hv={};for(var b in this.jl)Uq(this.jl[b])&&(this.hv[b]=this.jl[b],this.jl[b]=void 0)}else this.jl=null}this.vsa();return this.jl};xT.prototype.lq=function(a){xT.c.lq.call(this);this.xe.dispatchEvent(new H("w",a))};xT.prototype.vsa=function(){if(this.hv)for(var a in this.hv)try{var b=this.hv[a]();this.jl[a]=b;delete this.hv[a]}catch(c){}};var yT=function(a){this.Rua=a||null};var zT=function(a,b,c){this.j$=a;this.Ur=b||A();this.axa=!!c||!1;this.bz=null};B(zT,F);zT.prototype.X5=function(a){this.bz=a||A()};var AT=function(a){this.sba=a;this.Ur=A();this.vd=new L};B(AT,F);q=AT.prototype;q.qS=function(a){this.vd.set(a.j$,a)};q.Rt=function(){return this.sba};q.Sb=function(){return this.vd.Sb()};q.xia=function(){var a=new L;this.vd.forEach(function(b,c){b.bz&&a.set(c,b)},this);return a};q.jJ=function(a){return this.vd.get(a)};q.nwa=function(a){this.vd.remove(a)};var BT=function(){F.call(this);this.lv=new AT(Wj);this.ax=new L;this.G=new pC(this);this.Y(this.G);this.UC=new Xv(6E4);this.Y(this.UC);this.G.listen(this.UC,lp,y(this.o4,this));this.U(!0)};B(BT,F);q=BT.prototype;q.v1=Wj;q.Xza=function(a){this.v1=a};q.yr=function(a){this.fl=a};q.U=function(a){a?this.UC.start():this.UC.stop()};q.Ri=function(a,b,c){b=new zT(b,c);c=this.ax.get(a);c||(c=new AT(a),this.ax.set(a,c));c.qS(b)};q.OC=function(a,b){this.lv&&(a=new zT(a,void 0,!0),a.X5(b),this.lv.qS(a))};
q.ji=function(a,b,c){(a=this.ax.get(a))&&a.jJ(b)&&null==a.jJ(b).bz&&a.jJ(b).X5(c)};q.Zwa=function(a,b){var c=b.j$,e=b.Ur,f=b.bz;b.axa?a.tick(c,void 0,f):(a.tick("_"+c,void 0,e),a.tick(c,"_"+c,f))};q.p4=function(a){var b=a.Rt(),c=a.xia();if(c.Sb())return!1;if(b==Wj){var e=window.jstiming.load;b=this.v1;if(!e)return!1}else e=new window.jstiming.Timer(a.Ur);e.name=b;c.forEach(function(b,c){this.Zwa(e,b);a.nwa(c)},this);window.jstiming.report(e,{hostId:this.fl});return!0};
q.o4=function(){if(!t.jstiming)return!1;this.ax.forEach(function(a,b){this.p4(a);a.Sb()&&this.ax.remove(b)},this);return!0};q.HN=function(){if(!t.jstiming||!this.lv)return!1;this.p4(this.lv);this.lv=null;return!0};var DT=function(){F.call(this);this.ma=CT++};B(DT,F);DT.prototype.cy=null;DT.prototype.yX=!1;var CT=0,ET=null,FT=null,GT=null;q=DT.prototype;q.getAll=function(){return this.yX};q.Cza=function(a){this.yX=a};q.xh=Hs(new $y("stat"));q.au=function(){var a=this.xh().clone(),b=HS(),c=b.X9;c&&a.$g(c+a.getPath());a.T("hl",b.Qf);b.isNative()&&a.T(Ik,1);(c=FT)&&a.T("xtoken",c);(b=b.Pq)&&a.T("oauth_token",b);return a};q.getId=function(){return this.ma};q.kc=function(){return 9};q.Hf=function(){return new L};
q.zb=function(){return this.zh().toString()};q.oJ=function(){return null};q.zh=function(){var a=new az,b=this.Hf();b&&Iv(b,function(b,c){a.set(c,b)});(b=ET)&&a.set("token",b);a.set(Zp,4);if(b=GT)for(var c in b)a.set(c,b[c]);return a};q.Ef=function(){this.cy||(this.cy=this.bu().toString());return this.cy};q.bu=function(){var a=this.au();a.removeParameter("xtoken");var b=this.zh();a.Qh(b);b.remove("token");b.remove(Zp);b.remove("tzo");b.remove("tzfp");var c=GT;if(c)for(var e in c)b.remove(e);return a};
q.lqa=function(){this.cy=null};var HT=function(a,b,c,e){null!=c&&c!=e&&a.set(b,c)};var IT=function(a){this.BG=a.actionCategory;this.ya=a.url;this.uv=(a=a.supportedMimeTypes)?new QG(a):null};IT.prototype.tg=function(){return this.BG};IT.prototype.getUrl=function(){return this.ya};IT.prototype.isSupported=function(a){return!this.uv||this.uv.contains("*")||this.uv.contains(a)};var JT=function(a,b,c,e,f){this.ya=a;this.gg=b;this.Nj=c;this.y4=!!e;this.Va=f},KT=/{size}/g,LT=/\/{size}\//g,MT=/={size}/g;q=JT.prototype;q.getUrl=function(){return this.ya};q.Ag=function(){return this.gg};q.ti=function(){return this.Nj};q.getType=function(){return this.Va};
q.Zt=function(a,b,c,e){var f=this.getUrl();if(!u(a))return b=f.replace(LT,"/"),b=b.replace(MT,""),b.replace(KT,"");if(a instanceof cy)return a&&2<=t.devicePixelRatio&&!e&&(a=new cy(2*a.width,2*a.height)),f.replace(KT,"h"+a.height+"-w"+a.width+(b&&b.length?"-"+b.join("-"):""));a&&2<=t.devicePixelRatio&&!e&&(a*=2);return f.replace(KT,(c||"s")+a+(b&&b.length?"-"+b.join("-"):""))};
q.Tka=function(){if(!this.gg||!this.Nj)return new JT(this.ya,this.gg,this.Nj,!1,this.Va);var a=new cy(this.gg,this.Nj);if(2048<this.gg||2048<this.Nj)a=a.bw(new cy(2048,2048));return new JT(this.ya,Math.ceil(a.width),Math.ceil(a.height),!1,this.Va)};
q.cA=function(a,b,c){var e=this.gg,f=this.Nj,g=this.Va;if(this.y4){if(a instanceof cy)return new JT(this.Zt(a,b,void 0,c),e,f,!1,g);2048<a&&(a=2048);if(b&&b.length)return new JT(this.Zt(a,b,void 0,c),a,a,!1,g);if(!e||!f)return new JT(this.Zt(a,b,void 0,c),void 0,void 0,!1,g);if(!u(a)||0<a)b=this.vka(a),e=b.width,f=b.height;return new JT(this.Zt(a,void 0,void 0,c),e,f,!1,g)}return this.Tka()};
q.vka=function(a){var b=this.gg,c=this.Nj;a instanceof cy||(a=a||512,a=new cy(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 cy(b,c)};var NT=function(a,b,c){var e=HS().Pq;if(!e)throw Error("oauth_token is not set");JT.call(this,a+"?access_token="+e,b,c,!0)};B(NT,JT);var OT=function(a){this.wxa=a.r;this.vxa=a.rdeg};var PT=function(a){this.ma=a.id;this.Ab=a.name};PT.prototype.getId=function(){return this.ma};PT.prototype.getName=function(){return this.Ab};var QT=function(a,b,c){this.ya=a;this.LI=b;this.gb=c};QT.prototype.getUrl=function(){return this.ya};QT.prototype.Ae=function(){return this.gb};QT.prototype.fpa=function(){return!!this.gb};var RT=function(a,b,c,e,f,g,h){this.Rs=a;this.ut=b;this.rQ=e;this.Ux=f;this.gy=g;this.ZE=h},ST=function(a){var b=a.cid,c=a.d,e=!!a.p,f=a.ar,g=a.cn,h=a.nv;a=a.s;if(a){var l=[];for(var p=0;p<a.length;p++){var r=a[p];l.push(new QT(r.u,r.f,new cy(r.w,r.h)))}}if(b||c||l)return new RT(b,c,e,l,f,g,h)};RT.prototype.iJ=function(){return this.ut};
RT.prototype.R1=function(a){a&&(this.Rs=a.Rs||this.Rs,this.ut=a.iJ()||this.ut,this.bva=a.bva,this.rQ=a.rQ||this.rQ,this.Ux=a.Ux||this.Ux,this.gy=a.gy||this.gy,this.ZE=a.ZE||this.ZE)};var TT=function(a){F.call(this);this.md=a.serviceId;this.Rr=a.sourceId||"0";this.jb=a.id;this.ya=a.url;this.xt=a.embedUrl;this.Va=a.type;this.Jg=a.mimeType;this.Ab=a.name;this.dm=this.bH(a.thumbs);this.KG=this.bH(a.cThumbs);this.DG=this.bH(a.childThumbs);this.Fg=a.lastEditedUtc||null;var b={},c=a.actions;if(c)for(var e=0;e<c.length;e++){var f=new IT(c[e]);b[f.tg()]=f}this.Yh=b;b=null;(c=a.owners)&&c.length&&(b=hs(c,function(a){return new PT(a)}));this.dN=b;this.Kw=null;this.zv=a.nChildren;this.et=
a.description||"";this.Sn=a.parent;this.HK=(b=a.imageData)?new OT(b):null;this.YE=(b=a.videoData)&&ST(b)||null;this.iB=a.kansasVersionInfo;this.l8=a.sortIndex||0;this.Or=a.sizeBytes;this.kL=!!a.isNew;this.ys=a.attrs||{}};B(TT,F);
var UT=function(a){return a?hs(a,function(a){return new TT(a)}):[]},VT=function(a){return hs(a,function(a){var b={};b.embedUrl=a.xt;b.id=a.jb;b.mimeType=a.getAttribute(rk);b.name=a.getName();b.parent=a.Sn;b.serviceId=a.md;b.sourceId=a.Rr;b.type=a.getType();b.url=a.getUrl();b=new TT(b);b.setAttribute("ce",a.getAttribute("ce"));b.setAttribute("ico",a.getAttribute("iconUrl"));b.setAttribute("icr",a.getAttribute("icr"));var e=a.getAttribute(hj)&&a.getAttribute("iritd");b.setAttribute("iritd",e);b.setAttribute("isr",
a.getAttribute("isRoot"));b.setAttribute("iss",a.getAttribute(gj));b.setAttribute(hj,a.getAttribute(hj));b.setAttribute("lmbm",a.getAttribute(Oj));b.setAttribute("lvbm",a.getAttribute(Pj));b.setAttribute("op",a.getAttribute("otherParents"));b.setAttribute("ro",a.getAttribute("readOnly"));b.setAttribute("tdcac",a.getAttribute("tdcac"));b.setAttribute("tdcrc",a.getAttribute("tdcrc"));b.setAttribute("tdid",a.getAttribute(dp));b.setAttribute("tdpdn",a.getAttribute("tdpdn"));b.setAttribute(jq,a.getAttribute(jq));
b.Pya(VT(a.Pc()));return b})};TT.prototype.bH=function(a){if(!a)return null;var b=[];if(HS().Pq&&JR(this.md))for(var c=0;c<a.length;c++){var e=a[c];b.push(new NT(e.u,e.w,e.h))}else for(c=0;c<a.length;c++)e=a[c],b.push(new JT(e.u,e.w,e.h,e.r,e.t));return b};TT.prototype.ma=null;TT.prototype.Ja=null;var WT=function(a,b,c){return v(c)&&-1!=c.indexOf(".")?c:Ir(a,".",b,".",c)};q=TT.prototype;q.getId=function(){return this.ma||(this.ma=WT(this.md,this.Rr,this.jb))};q.RD=function(a){this.md=a};
q.getType=function(){return this.Va};q.Ne=function(a){this.Va=a};q.r6=function(a){this.jb=a;this.ma=null};q.getUrl=function(){return this.ya};q.getName=function(){return this.Ab};q.Bw=function(a){this.Ab=a};
q.rJ=function(){var a=this.getAttribute("ico");return a?a:"application/vnd.google-apps.calendar"==this.Jg?"//ssl.gstatic.com/docs/picker/images/icon_calendar_small-v1.gif":this.Jg==De?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"};q.f7=function(a){this.dm=a};
q.uia=function(){return this.KG&&this.KG.length?this.KG:this.dm};q.iY=function(){return this.getAttribute("lmbm")};q.xY=function(){return this.getAttribute("rDate")};q.jY=function(){return this.getAttribute("lvbm")};q.Rt=function(a){return this.Yh[a]};q.gh=function(a){this.Yh[a.tg()]=a};q.Fka=function(){var a=this.getAttribute("shu");!this.Kw&&Vq(a)&&(this.Kw=new PT(a));return this.Kw};
q.bL=function(){var a=this.Jg;return"application/chromium-bookmark-folder"==a||"application/chromium-root-folder"==a||a==De||"application/vnd.google-apps.photoalbum"==a||a==Ke};q.Xp=function(){return this.zv};q.Pc=function(){return this.Ja};q.Pya=function(a){this.Ja=a};q.getImageData=function(){return this.HK};q.Aq=function(){return this.kL};q.Pza=function(a){this.kL=a};q.getAttribute=function(a){return this.ys[a]};q.setAttribute=function(a,b){this.ys[a]=b};
q.$ha=function(){var a=this.getAttribute("op");if(a){if(v(a))return a.split(",");if(x(a))return a}return[]};q.Uqa=function(a){if(null!=a&&this.getId()==a.getId()&&null!=this.Fg&&null!=a.Fg)return this.Fg>=a.Fg?!0:!1};q.Dq=function(){return this.jb==$m||!!this.getAttribute("isr")};
q.R1=function(a){this.md=a.md||this.md;this.Rr=a.Rr||this.Rr;this.r6(a.jb||this.jb);this.ya=a.getUrl()||this.ya;this.xt=a.xt||this.xt;this.Va=a.getType()||this.Va;this.Jg=a.Jg||this.Jg;this.Ab=a.getName()||this.Ab;this.dm=a.dm||this.dm;this.DG=a.DG||this.DG;this.Fg=a.Fg||this.Fg;if(a.tE||this.tE)this.tE=a.tE||this.tE;ht(this.Yh,a.Yh);this.dN=a.dN||this.dN;this.Kw=a.Fka()||this.Kw;this.zv=u(a.Xp())?a.Xp():this.zv;this.et=a.et||this.et;this.Sn=a.Sn||this.Sn;this.HK=a.getImageData()||this.HK;this.YE=
a.YE||this.YE;this.iB=a.iB||this.iB;this.Or=u(a.Or)?a.Or:this.Or;this.kL=a.Aq();ht(this.ys,a.ys);this.Ja=a.Pc()||this.Ja;if(a.jx||this.jx)this.jx=a.jx||this.jx};q.toString=function(){return this.getName()};q.o=function(){TT.c.o.call(this);delete this.ys};var XT=function(a){F.call(this);this.pz=new L;this.AV=a};B(XT,F);XT.prototype.set=function(a,b){this.pz.set(a,b)};XT.prototype.execute=function(a,b){var c=this.pz.get(a)||this.AV;if(c)return c.apply(void 0,Array.prototype.slice.call(arguments,1))};XT.prototype.o=function(){XT.c.o.call(this);this.pz.clear();this.AV=this.pz=null};var ZT=function(a){F.call(this);this.kxa=(this.Fi=null!=a&&null!=a.response)?a.response:null;this.Kp=!!a.error;this.gI=a.errorMessage;this.ma=YT++;this.ot=[];this.tf=null};B(ZT,F);var YT=0;q=ZT.prototype;q.uw=function(a){this.ot=a};q.nu=function(){return this.kxa};q.kc=function(){return 9};q.getError=function(){return this.Kp};q.getId=function(){return this.ma};q.dc=function(){return this.ot};q.Qza=function(a){this.Fi=a};q.nn=function(){return null!=this.tf};q.mo=function(a){this.tf=a};
q.o=function(){ZT.c.o.call(this);this.ot=[]};var $T=function(a){if(a instanceof ZT)return a;var b={};b.error=a.getError();b.errorMessage=a.gI;b.errorCode=a.gI;b=new ZT(b);b.uw(VT(a.dc()));b.Qza(a.Fi);a.nn()&&a.tf&&b.mo(a.tf);return b},aU=new XT(function(a){return new ZT(a)});var bU=function(a){ZT.call(this,a);this.Fi&&(a=this.nu(),this.uw(UT(a.docs||[])))};B(bU,ZT);bU.prototype.kc=function(){return 3};aU.set(3,function(a){return new bU(a)});var cU=function(a,b,c){DT.call(this);this.md=a;this.TH=b;this.Ya=c};B(cU,DT);cU.prototype.xh=Hs(new $y("fetch"));cU.prototype.kc=function(){return 3};cU.prototype.getOptions=function(){return this.Ya};cU.prototype.Hf=function(){var a=new L;HT(a,Ui,sv(this.TH));HT(a,tn,this.md);HT(a,kl,sv(this.Ya));return a};var dU=function(a){ZT.call(this,a);this.Fi&&(a=this.nu(),this.uw(UT(a.docs||[])),this.og=a.cursor,a.cToken&&this.mo(a.cToken))};B(dU,ZT);dU.prototype.kc=function(){return 10};dU.prototype.el=function(){return void 0!=this.og};aU.set(10,function(a){return new dU(a)});var eU=function(a){ZT.call(this,a);a=this.nu()||{};this.uw(UT(a.docs||[]));this.og=a.cursor};B(eU,ZT);eU.prototype.kc=function(){return 13};eU.prototype.el=function(){return void 0!=this.og};aU.set(13,function(a){return new eU(a)});var fU=function(a,b,c,e){DT.call(this);this.lfa=a;"c"==a&&this.Cza(!0);this.Qv=b;this.ea=c;this.lE=0;this.xI=e||new oS(1023)};B(fU,DT);q=fU.prototype;q.xh=Hs(new $y("ppl"));q.kc=function(){return 13};q.getQuery=function(){return this.Qv};q.getParent=function(){return this.ea};q.Hf=function(){var a=new L;HT(a,"d",this.lfa);HT(a,"q",this.Qv);HT(a,"p",this.ea);return a};q.setStart=function(a){this.lE=a};q.sw=function(a){this.og=a};var gU=function(a){DT.call(this);this.lE=a.start||0;this.FCa=a.sort||3;this.vfa=void 0==a.desc||!!a.desc;this.Qv=a.query||a.q;this.og=a.cursor;this.tf=a.continuationToken||"";this.Mva=a.queryNameOnly};B(gU,DT);q=gU.prototype;q.setStart=function(a){this.lE=a};q.getQuery=function(){return this.Qv};q.sw=function(a){this.og=a};q.mo=function(a){this.tf=a||""};
q.Hf=function(){var a=new L;HT(a,Uo,this.lE);HT(a,"numResults",50);HT(a,"sort",this.FCa);HT(a,"desc",this.vfa);HT(a,"q",this.Qv);HT(a,"qNameOnly",this.Mva);HT(a,"cursor",this.og);this.tf&&HT(a,"cToken",this.tf);return a};q.bu=function(){var a=gU.c.bu.call(this),b=a.zh();b.remove(Uo);b.remove("numResults");b.remove("cursor");b.remove("cToken");return a};var hU=function(a){gU.call(this,a);this.uv=a.mimeTypes;this.Msa=a.mine;this.ea=a.parent;this.vj=a.email;var b={};b.opts=a;this.w5=b};B(hU,gU);q=hU.prototype;q.xh=Hs(new $y("vr"));q.kc=function(){return 10};q.Oda=function(a){var b=this.w5.opts;if(!b)return a||{};b=dt(b);if(a)for(var c in a)b[c]=a[c];return b};q.clone=function(a){return new hU(this.Oda(a))};q.jk=function(){return sv(this.w5)};q.getParent=function(){return this.ea};q.Ea=function(a){this.ea=a;this.lqa()};q.getEmail=function(){return this.vj};
q.Hf=function(){var a=hU.c.Hf.call(this);HT(a,sk,this.uv);HT(a,m,this.ea);HT(a,hh,this.vj);HT(a,"mine",this.Msa);return a};var iU=function(a){hU.call(this,a);this.z5=a.service;this.Va=a.type;this.h$=a.username;this.Ya=a.options};B(iU,hU);q=iU.prototype;q.xh=Hs(new $y("pvr"));q.Hf=function(){var a=iU.c.Hf.call(this);HT(a,tn,this.z5);HT(a,zp,this.Va);this.h$&&HT(a,"userName",this.h$);HT(a,kl,sv(this.Ya));return a};q.RAa=function(a){this.z5=a};q.getType=function(){return this.Va};q.getOptions=function(){return this.Ya};q.setOption=function(a,b){this.Ya||(this.Ya={});b?this.Ya[a]=b:delete this.Ya[a]};
q.vW=function(a){this.Ya||(this.Ya={});this.Ya[a]=!0};var jU={hF:{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"}},zR:{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"}}};
jU={hF:{1E3:{other:"0\u00a0K"},1E4:{other:"00\u00a0K"},1E5:{other:"000\u00a0K"},1E6:{other:"0\u00a0M"},1E7:{other:"00\u00a0M"},1E8:{other:"000\u00a0M"},1E9:{other:"0000\u00a0M"},1E10:{other:"00\u00a0MRD"},1E11:{other:"000\u00a0MRD"},1E12:{other:"0\u00a0B"},1E13:{other:"00\u00a0B"},1E14:{other:"000\u00a0B"}},zR:{1E3:{other:"0 mil"},1E4:{other:"00 mil"},1E5:{other:"000 mil"},1E6:{other:"0 millones"},1E7:{other:"00 millones"},1E8:{other:"000 millones"},1E9:{other:"0 mil millones"},1E10:{other:"00 mil millones"},
1E11:{other:"000 mil millones"},1E12:{other:"0 billones"},1E13:{other:"00 billones"},1E14:{other:"000 billones"}}};var lU=function(a,b){var c=["0"];b=kU[b][0]&7;if(0<b){c.push(".");for(var e=0;e<b;e++)c.push("0")}return a.replace(/0.00/g,c.join(""))},kU={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 mU={DECIMAL_SEP:".",GROUP_SEP:",",qF:"%",zx:"0",RR:"+",mF:"-",kF:"E",rF:"\u2030",yx:"\u221e",NR:"NaN",DECIMAL_PATTERN:"#,##0.###",TR:"#E0",QR:"#,##0%",DR:"\u00a4#,##0.00",ER:"USD"};mU={DECIMAL_SEP:",",GROUP_SEP:".",qF:"%",zx:"0",RR:"+",mF:"-",kF:"E",rF:"\u2030",yx:"\u221e",NR:"NaN",DECIMAL_PATTERN:"#,##0.###",TR:"#E0",QR:"#,##0\u00a0%",DR:"#,##0.00\u00a0\u00a4",ER:"EUR"};var nU=function(a,b,c){this.jqa=b;this.kfa=c||0;this.IB=40;this.Ih=1;this.Zl=0;this.tl=3;this.NB=this.bk=0;this.a8=this.e$=!1;this.Lv=this.Wn="";this.zl=mU.mF;this.Nq="";this.Kg=1;this.Jn=!1;this.hn=[];this.VE=this.vV=!1;this.Os=0;this.mT=null;typeof a==Rk?this.Zo(a):this.kg(a)};q=nU.prototype;q.Xt=function(){return this.jqa||mU.ER};q.jAa=function(a){if(0<this.Zl&&0<a)throw Error($b);this.bk=a;return this};
q.eAa=function(a){if(308<a)throw Error("Unsupported maximum fraction digits: "+a);this.tl=a;return this};q.cBa=function(a){if(0<this.bk&&0<=a)throw Error($b);this.Zl=a;return this};q.kg=function(a){this.yC=a.replace(/ /g,"\u00a0");var b=[0];this.Wn=this.vC(a,b);var c=b[0];this.$ua(a,b);c=b[0]-c;this.Lv=this.vC(a,b);b[0]<a.length&&";"==a.charAt(b[0])?(b[0]++,1!=this.Kg&&(this.Jn=!0),this.zl=this.vC(a,b),b[0]+=c,this.Nq=this.vC(a,b)):(this.zl+=this.Wn,this.Nq+=this.Lv)};
q.Zo=function(a){switch(a){case 1:this.kg(mU.DECIMAL_PATTERN);break;case 2:this.kg(mU.TR);break;case 3:this.kg(mU.QR);break;case 4:this.kg(lU(mU.DR,this.Xt()));break;case 5:this.LS(1);break;case 6:this.LS(2);break;default:throw Error("Unsupported pattern type.");}};q.LS=function(a){this.Os=a;this.kg(mU.DECIMAL_PATTERN);this.jAa(0);this.eAa(2);this.cBa(2)};
q.parse=function(a,b){b=b||[0];if(0!=this.Os)throw Error("Parsing of compact numbers is unimplemented");a=a.replace(/ /g,"\u00a0");var c=a.indexOf(this.Wn,b[0])==b[0],e=a.indexOf(this.zl,b[0])==b[0];c&&e&&(this.Wn.length>this.zl.length?e=!1:this.Wn.length<this.zl.length&&(c=!1));c?b[0]+=this.Wn.length:e&&(b[0]+=this.zl.length);if(a.indexOf(mU.yx,b[0])==b[0]){b[0]+=mU.yx.length;var f=Infinity}else f=this.Tua(a,b);if(c){if(a.indexOf(this.Lv,b[0])!=b[0])return NaN;b[0]+=this.Lv.length}else if(e){if(a.indexOf(this.Nq,
b[0])!=b[0])return NaN;b[0]+=this.Nq.length}return e?-f:f};
q.Tua=function(a,b){var c=!1,e=!1,f=!1,g=-1,h=1,l=mU.DECIMAL_SEP,p=mU.GROUP_SEP,r=mU.kF;if(0!=this.Os)throw Error("Parsing of compact style numbers is not implemented");for(var z="";b[0]<a.length;b[0]++){var O=a.charAt(b[0]),ea=this.MX(O);if(0<=ea&&9>=ea)z+=ea,f=!0;else if(O==l.charAt(0)){if(c||e)break;z+=".";c=!0}else if(O==p.charAt(0)&&("\u00a0"!=p.charAt(0)||b[0]+1<a.length&&0<=this.MX(a.charAt(b[0]+1)))){if(c||e)break}else if(O==r.charAt(0)){if(e)break;z+="E";e=!0;g=b[0]}else if("+"==O||"-"==
O){if(f&&g!=b[0]-1)break;z+=O}else if(1==this.Kg&&O==mU.qF.charAt(0)){if(1!=h)break;h=100;if(f){b[0]++;break}}else if(1==this.Kg&&O==mU.rF.charAt(0)){if(1!=h)break;h=1E3;if(f){b[0]++;break}}else break}1!=this.Kg&&(h=this.Kg);return parseFloat(z)/h};
q.format=function(a){if(isNaN(a))return mU.NR;var b=[],c=this.ala(null===this.mT?a:this.mT,a);a/=Math.pow(10,c.SH);b.push(c.prefix);var e=0>a||0==a&&0>1/a;b.push(e?this.zl:this.Wn);isFinite(a)?(a=a*(e?-1:1)*this.Kg,this.VE?this.eDa(a,b):this.uQ(a,this.Ih,b)):b.push(mU.yx);b.push(e?this.Nq:this.Lv);b.push(c.N8);return b.join("")};
q.P4=function(a){var b=Math.pow(10,this.tl),c=0>=this.Zl?Math.round(a*b):Math.round(this.Q4(a*b,this.Zl,this.tl));isFinite(c)?(a=Math.floor(c/b),b=Math.floor(c-a*b)):b=0;return{W_:a,Sha:b}};
q.uQ=function(a,b,c){if(this.bk>this.tl)throw Error("Min value must be less than max value");c||(c=[]);a=this.P4(a);var e=a.W_,f=a.Sha,g=0==e?0:this.OA(e)+1,h=0<this.bk||0<f||this.a8&&g<this.Zl;a=this.bk;h&&(a=this.a8&&0<this.Zl?this.Zl-g:this.bk);var l="";for(g=e;1E20<g;)l="0"+l,g=Math.round(g/10);l=g+l;var p=mU.DECIMAL_SEP;g=mU.zx.charCodeAt(0);var r=l.length,z=0;if(0<e||0<b){for(e=r;e<b;e++)c.push(String.fromCharCode(g));if(2<=this.hn.length)for(b=1;b<this.hn.length;b++)z+=this.hn[b];b=r-z;if(0<
b){e=this.hn;z=r=0;for(var O,ea=mU.GROUP_SEP,qa=l.length,ac=0;ac<qa;ac++)if(c.push(String.fromCharCode(g+1*Number(l.charAt(ac)))),1<qa-ac)if(O=e[z],ac<b){var me=b-ac;(1===O||0<O&&1===me%O)&&c.push(ea)}else z<e.length&&(ac===b?z+=1:O===ac-b-r+1&&(c.push(ea),r+=O,z+=1))}else{b=l;l=this.hn;e=mU.GROUP_SEP;O=b.length;ea=[];for(r=l.length-1;0<=r&&0<O;r--){z=l[r];for(qa=0;qa<z&&0<=O-qa-1;qa++)ea.push(String.fromCharCode(g+1*Number(b.charAt(O-qa-1))));O-=z;0<O&&ea.push(e)}c.push.apply(c,ea.reverse())}}else h||
c.push(String.fromCharCode(g));(this.vV||h)&&c.push(p);f=String(f);h=f.split("e+");2==h.length&&(f=String(this.Q4(parseFloat(h[0]),this.Zl,1)),f=f.replace(".",""),f+=Fr("0",parseInt(h[1],10)-f.length+1));this.tl+1>f.length&&(f="1"+Fr("0",this.tl-f.length)+f);for(h=f.length;"0"==f.charAt(h-1)&&h>a+1;)h--;for(e=1;e<h;e++)c.push(String.fromCharCode(g+1*Number(f.charAt(e))))};
q.rS=function(a,b){b.push(mU.kF);0>a?(a=-a,b.push(mU.mF)):this.e$&&b.push(mU.RR);a=""+a;for(var c=mU.zx,e=a.length;e<this.NB;e++)b.push(c);b.push(a)};q.Fja=function(a,b){var c=Math.pow(10,b);if(isFinite(c)&&0!==c)return a/c;c=Math.pow(10,Math.floor(b/2));a=a/c/c;1==b%2&&(a=0<b?a/10:10*a);return a};
q.eDa=function(a,b){if(0==a)this.uQ(a,this.Ih,b),this.rS(0,b);else{var c=Math.log(a)/Math.log(10);C(!u(void 0)||!1);c=Math.floor(c+2E-15);a=this.Fja(a,c);var e=this.Ih;if(1<this.IB&&this.IB>this.Ih){for(;0!=c%this.IB;)a*=10,c--;e=1}else 1>this.Ih?(c++,a/=10):(c-=this.Ih-1,a*=Math.pow(10,this.Ih-1));this.uQ(a,e,b);this.rS(c,b)}};q.MX=function(a){a=a.charCodeAt(0);if(48<=a&&58>a)return a-48;var b=mU.zx.charCodeAt(0);return b<=a&&a<b+10?a-b:-1};
q.vC=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.Xt();else switch(this.kfa){case 0:c+=kU[this.Xt()][1];break;case 2:g=this.Xt();var h=kU[g];c+=g==h[1]?g:g+" "+h[1];break;case 1:c+=kU[this.Xt()][2]}break;case "%":if(!this.Jn&&1!=this.Kg)throw Error(Qd);
if(this.Jn&&100!=this.Kg)throw Error(Yc);this.Kg=100;this.Jn=!1;c+=mU.qF;break;case "\u2030":if(!this.Jn&&1!=this.Kg)throw Error(Qd);if(this.Jn&&1E3!=this.Kg)throw Error(Yc);this.Kg=1E3;this.Jn=!1;c+=mU.rF;break;default:c+=g}}return c};
q.$ua=function(a,b){for(var c=-1,e=0,f=0,g=0,h=-1,l=a.length,p=!0;b[0]<l&&p;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.hn.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.VE)throw Error('Multiple exponential symbols in pattern "'+a+'"');this.VE=!0;this.NB=0;b[0]+1<l&&"+"==a.charAt(b[0]+
1)&&(b[0]++,this.e$=!0);for(;b[0]+1<l&&"0"==a.charAt(b[0]+1);)b[0]++,this.NB++;if(1>e+f||1>this.NB)throw Error('Malformed exponential pattern "'+a+'"');p=!1;break;default:b[0]--,p=!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+'"');a=e+f+g;this.tl=0<=c?a-c:0;0<=c&&(this.bk=e+f-c,0>this.bk&&(this.bk=0));this.Ih=(0<=c?c:a)-e;this.VE&&(this.IB=e+this.Ih,0==this.tl&&0==this.Ih&&(this.Ih=1));this.hn.push(Math.max(0,h));this.vV=
0==c||c==a};var oU={prefix:"",N8:"",SH:0};nU.prototype.WY=function(a,b){var c=1==this.Os?jU.hF:jU.zR;null==c&&(c=jU.hF);if(3>a)return oU;a=Math.min(14,a);var e=c[Math.pow(10,a)];for(--a;!e&&3<=a;)e=c[Math.pow(10,a)],a--;if(!e)return oU;b=e[b];return b&&"0"!=b?(b=/([^0]*)(0+)(.*)/.exec(b))?{prefix:b[1],N8:b[3],SH:a+1-(b[2].length-1)}:oU:oU};
nU.prototype.ala=function(a){if(0==this.Os)return oU;a=Math.abs(a);var b=this.WY(1>=a?0:this.OA(a),nl).SH;return this.WY(b+this.OA(this.P4(a/Math.pow(10,b)).W_),nl)};nU.prototype.OA=function(a){if(!isFinite(a))return 0<a?a:0;for(var b=0;1<=(a/=10);)b++;return b};nU.prototype.Q4=function(a,b,c){if(!a)return a;b=b-this.OA(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 pU=function(a){return 1==a%10&&11!=a%100?"one":2==a%10&&12!=a%100?"two":3==a%10&&13!=a%100?"few":nl};pU=function(){return nl};var qU=function(a,b){if(void 0===b){b=a+"";var c=b.indexOf(".");b=Math.min(-1==c?0:b.length-c-1,3)}return 1==(a|0)&&0==b?"one":nl};qU=function(a){return 1==a?"one":nl};var uU=function(a){this.yC=a;this.xC=this.Wj=this.RK=null;a=mU;var b=jU;if(rU!==a||sU!==b)rU=a,sU=b,tU=new nU(1);this.LM=tU},rU=null,sU=null,tU=null,vU=/'([{}#].*?)'/g,wU=/''/g;q=uU.prototype;q.format=function(a){return this.LI(a,!1)};q.Bf=function(a){return this.LI(a,!0)};
q.LI=function(a,b){this.MA();if(!this.xC||0==this.xC.length)return"";this.Wj=ys(this.RK);var c=[];this.KI(this.xC,a,b,c);a=c.join("");for(b||C(-1==a.search("#"),"Not all # were replaced.");0<this.Wj.length;)a=a.replace(this.pG(this.Wj),this.Wj.pop());return a};
q.KI=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.Iha(g,b,e);break;case 2:g=a[f].value;this.Hha(g,b,c,e);break;case 0:g=a[f].value;this.qX(g,b,qU,c,e);break;case 1:g=a[f].value;this.qX(g,b,pU,c,e);break;default:Vr("Unrecognized block type: "+a[f].type)}};q.Iha=function(a,b,c){b=b[a];u(b)?(this.Wj.push(b),c.push(this.pG(this.Wj))):c.push(Ud+a)};
q.Hha=function(a,b,c,e){var f=a.Sx;u(b[f])?(f=a[b[f]],u(f)||(f=a.other,$r(f,"Invalid option or missing other option for select block.")),this.KI(f,b,c,e)):e.push(Ud+f)};
q.qX=function(a,b,c,e,f){var g=a.Sx,h=a.MS,l=+b[g];isNaN(l)?f.push("Undefined or invalid parameter - "+g):(h=l-h,g=a[b[g]],u(g)||(C(0<=h,"Argument index smaller than offset."),c=this.LM.Jja?c(h,this.LM.Jja()):c(h),Xr(c,"Invalid plural key."),g=a[c],u(g)||(g=a.other),$r(g,"Invalid option or missing other option for plural block.")),a=[],this.KI(g,b,e,a),b=a.join(""),Xr(b,"Empty block in plural."),e?f.push(b):(e=this.LM.format(h),f.push(b.replace(/#/g,e))))};
q.MA=function(){if(this.yC){this.RK=[];var a=this.gqa(this.yC);this.xC=this.wC(a);this.yC=null}};q.gqa=function(a){var b=this.RK,c=y(this.pG,this);a=a.replace(wU,function(){b.push("'");return c(b)});return a=a.replace(vU,function(a,f){b.push(f);return c(b)})};
q.hz=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(),C(u(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("{"))}C(0==c.length,"There are mismatched { or } in the pattern.");b=a.substring(b);""!=b&&e.push({type:0,value:b});return e};
var xU=/^\s*(\w+)\s*,\s*plural\s*,(?:\s*offset:(\d+))?/,yU=/^\s*(\w+)\s*,\s*selectordinal\s*,/,zU=/^\s*(\w+)\s*,\s*select\s*,/;q=uU.prototype;q.Sua=function(a){return xU.test(a)?0:yU.test(a)?1:zU.test(a)?2:/^\s*\w+\s*/.test(a)?3:5};
q.wC=function(a){var b=[];a=this.hz(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.Sua(a[c].value)){case 2:e.type=2;e.value=this.Wua(a[c].value);break;case 0:e.type=0;e.value=this.Vua(a[c].value);break;case 1:e.type=1;e.value=this.Uua(a[c].value);break;case 3:e.type=3;e.value=a[c].value;break;default:Vr("Unknown block type for pattern: "+a[c].value)}else Vr("Unknown part of the pattern.");b.push(e)}return b};
q.Wua=function(a){var b="";a=a.replace(zU,function(a,c){b=c;return""});var c={};c.Sx=b;a=this.hz(a);for(var e=0;e<a.length;){var f=a[e].value;Xr(f,"Missing select key element.");e++;C(e<a.length,"Missing or invalid select value element.");if(1==a[e].type)var g=this.wC(a[e].value);else Vr(Nc);c[f.replace(/\s/g,"")]=g;e++}$r(c.other,"Missing other key in select statement.");return c};
q.Vua=function(a){var b="",c=0;a=a.replace(xU,function(a,e,f){b=e;f&&(c=parseInt(f,10));return""});var e={};e.Sx=b;e.MS=c;a=this.hz(a);for(var f=0;f<a.length;){var g=a[f].value;Xr(g,"Missing plural key element.");f++;C(f<a.length,"Missing or invalid plural value element.");if(1==a[f].type)var h=this.wC(a[f].value);else Vr(Nc);e[g.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=h;f++}$r(e.other,"Missing other key in plural statement.");return e};
q.Uua=function(a){var b="";a=a.replace(yU,function(a,c){b=c;return""});var c={};c.Sx=b;c.MS=0;a=this.hz(a);for(var e=0;e<a.length;){var f=a[e].value;Xr(f,"Missing ordinal key element.");e++;C(e<a.length,"Missing or invalid ordinal value element.");if(1==a[e].type)var g=this.wC(a[e].value);else Vr(Nc);c[f.replace(/\s*(?:=)?(\w+)\s*/,"$1")]=g;e++}$r(c.other,"Missing other key in selectordinal statement.");return c};
q.pG=function(a){C(0<a.length,"Literal array is empty.");return"\ufddf_"+(a.length-1).toString(10)+"_"};var AU=function(a,b,c){F.call(this);this.qa=a;this.Xc=b;this.Ya=c||{}},BU;B(AU,F);
var CU=["application/vnd.oasis.opendocument.graphics","image/vnd.adobe.photoshop","image/x-photoshop","application/illustrator","application/vnd.google-apps.drawing"],DU=[Ee,Fe],EU=["image/jpeg","image/gif","image/png","image/tiff","image/bmp"],FU=[Be],GU=["application/mspowerpoint",He,Ie,"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"],HU=["application/vnd.google-apps.script"],IU=["application/vnd.google-apps.drive-sdk.897606708560","application/vnd.google-apps.site"],JU=["application/msexcel",Ee,Je,Le,"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"],KU=["application/vnd.google-apps.fusiontable"],LU=["text/plain","application/msword",Ce,Ge,"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"],MU="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(" "),NU=["flat",Ki,lk];AU.prototype.gp=null;AU.prototype.Bc=null;AU.prototype.rC=null;var OU=!1,PU=!1,QU=!1;q=AU.prototype;
q.iL=function(){var a=this.getOption(Mm);return this.qa==Fp&&(a==xg||a==Bl||a==Gl||a==Fm||a==cq||"youtubebanner"==a||"youtube-channel-banner"==a)};q.jL=function(){var a=this.getOption(rl),b=this.getOption(m);return tR(this.qa)&&Nq(a)&&!a&&!b&&!this.getQuery()};q.P8=function(){return this.qa==Al||this.qa==Oh};q.dL=function(){return 15==this.getOption(Lo)&&this.qa!=Tg&&tR(this.qa)};
q.mu=function(){var a=this.gp;if(a)return a;a=this.Nia();if(!a){var b=this.getQuery(),c=this.getType();switch(this.qa){case xf:var e={service:wf};BU&&(e.mine=0);a=new iU(e);break;case og:a={service:og};c=this.getOption(m);b?a.query=b:c&&(a.parent=c);a=new iU(a);break;case "et":a={service:"party",type:"themes"};(b=this.getOption(Af)||this.getType())&&(a.options={category:b});a=new iU(a);break;case Oh:a={options:{sortOrder:this.getOption(Mo)||"p"},service:Oh,type:this.getType()};this.getOption("efsf")&&
(c=this.getOption(Nh)||"*",a.options.fontSubset=c);b&&(a.query=b);a=new iU(a);break;case Wi:if(c==Wh){a=this.CB();break}a=this.CJ();break;case hk:a=new iU({type:this.getType(),service:"mapspro"});break;case If:(c=this.getOption(m))&&"hem"!=this.getOption(uk)&&(a=new fU("p",void 0,c));break;case Al:switch(this.getType()){case ue:a="a";break;case Jf:a="c";break;case "frequent":a="f";break;case Xh:a=this.getQuery()?"p":"g";break;case pn:a=this.getQuery()?"p":"s";break;default:a="p"}c=this.getOption("peopleFilter");
a=new fU(a,b||void 0,this.getOption(m),c?new oS(c):void 0,!!this.getOption("noEmailInput"));break;case Gl:a=this.CB();break;case Cl:a=c==mk?this.BB("your_collections"):this.CB();break;case El:this.getOption(m)&&!this.getOption("che")&&(a=this.CB());break;case Qm:a=new iU({service:"recent"});break;case bq:this.getOption(Vn)==yq?(a={},a.safe=this.getOption("safe")||ne,a=new iU({service:wq,type:ln,options:a,query:b})):a=this.CJ();break;case cq:this.getOption("rdv")&&c==Lp?a=this.BB("your_videos"):(e=
{},a=new iU({service:Hl,parent:this.getOption(m),safe:this.getOption("safe"),type:"videos-"+(c||Lp),options:e}),u(this.getOption(kq))&&(e.visibilityFilter=this.getOption(kq)));break;case mq:a=this.CJ();break;case wq:e={service:wq},b?(e.query=b,e.type=ln):e.type="uploads",a=new iU(e)}}return this.gp=a};
q.Nia=function(){if(this.getOption(dk)||this.getOption(kn)&&!this.getOption(m))return null;var a=this.getOption(Ui);if(a&&tR(this.qa))return new cU(Qg,a.split(","),{});a={};var b={service:Qg,query:this.getQuery(),options:a},c=this.getOption(m),e=this.getOption(rl);if(e)a.ownedByMe=!0;else if(0==e||c==En)a.ownedByMe=!1;b.mine=BU?0:0==BU?1:2;QU&&(a.edbe=!0);e=zc;var f=!1,g=[];switch(this.qa){case Rg:case Sg:case Tg:if(this.qa==Rg||this.qa==Sg)g=g.concat(EU);if(this.qa==Tg||this.qa==Sg)g=g.concat(MU);
this.qa==Tg&&(f=!0);if(!this.getQuery()&&!this.jL()){a.sortKey=8;a.ascending=!0;break}case ue:e="NOT_COLLECTION";break;case Vg:g=LU;break;case bh:g=CU;break;case Lh:g=[De];break;case Qh:g=DU;break;case zl:g=FU;break;case Dm:g=GU;break;case hn:g=HU;break;case Xn:g=IU;break;case Ro:g=JU;break;case cp:g=KU;break;default:return null}var h=this.getOption(sk);h&&h&&v(h)&&(h=h.split(","));g=g.length&&h&&h.length?(new QG(g)).ZK(h).nb():h||g;this.getOption(Zi)&&!f&&(e=zc,g.length&&!qs(g,De)&&(g=g.concat([De])),
a.notInFolder=!0);if(this.getOption(To)||c==To)a.starred=!0;if(this.getOption("cmptv")||c==Wf)a.in_computers=!0;(f=this.getOption(pg))&&(a.containingCosmoId=f);g.length&&(a.mimeTypes=g.join(","),e=zc);b.type=e;c&&c!=To&&c!=En&&c!=ep&&c!=Wf&&(b.parent=c);if(c==ep||this.eB())a.tdquery=!0;if(this.getOption("tdv")||this.getOption("td"))a.tdEnabled=!0;if(c=this.getOption(Lo))a.sortKey=c,8==c||7==c?a.ascending=!0:delete a.ascending;c=this.getOption("ff");Nq(c)||(c=PU);c&&(a.ff=c);this.dL()&&(b.service=
ch);return new iU(b)};
q.CB=function(){var a=this.getType();if("gmail_themes"==a){var b=new iU({service:"static_themes"});return b}if("moment"==a)return b=new iU({parent:this.getOption(m),query:this.getQuery(),service:"stories",type:a}),this.getOption(xe)&&b.setOption(xe,Xr(this.getOption(xe))),b;b=!!this.getOption("rdv");if(qs(NU,a))return this.BB("flat"==a?"your_photos":a);if(b&&a==eq)return this.BB("your_videos");var c=this.getOption(Ui);if(c)return b={},(a=this.getOption(Wp))&&(b.username=a),this.qa==Cl&&(b.type=te),
new cU(Hl,c.split(","),b);b={};c=b.options={};this.qa==El&&(a="tpp");var e=this.getQuery();b.service=Hl;b.type=a;b.username=this.getOption(Wp);c.excludeLabels=this.getOption("excludeLabels");a==ak&&(c.localAlbum=this.getOption(ak),c.localUser=this.getOption("localuser"));var f=this.getOption(m);e?b.query=e:(f&&(b.parent=f),this.getOption(xe)&&(c.allowedItemTypes=this.getOption(xe)));this.qa==Cl&&(c.snippets="12");"ofuser"==a&&(a=this.getOption("userId"),null!=a&&(c.userId=a));(a=this.getOption("shapeType"))&&
(c.shapeType=a);this.getOption("excludeEvAlbums")&&(c.excludeEvAlbums=!0);u(this.getOption(kq))&&(c.visibilityFilter=this.getOption(kq));return new iU(b)};
q.BB=function(a){var b={query:this.getQuery(),service:"media",type:a},c=this.getOption(rl);if(BU||c)b.mine=0;b=new iU(b);this.getOption(xe)?b.setOption(xe,Xr(this.getOption(xe))):"your_photos"!=a&&b.setOption(xe,Bl);OU&&b.setOption(kh,yp);(a=this.getOption(m))&&b.Ea(a);(a=this.getOption("ipl"))&&b.setOption("ipl",a);(a=this.getOption(Wp))&&b.setOption(Wp,a);(a=this.getOption("userId"))&&b.setOption("userId",a);return b};
q.CJ=function(){var a={service:mq},b={};b.safe=this.getOption("safe")||ne;switch(this.qa){case mq:var c=new bB(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.na(b,"cse","cse");a.query=c.toString();a.options=b;break;case Wi:a.type=Bl;"life"==this.getType()?a.query=this.getQuery()+" source:life":(a.query=this.getQuery(),this.na(b,
"imgsz","imgsz"),this.na(b,Sj,Sj),this.na(b,Vn,Vn),this.na(b,"imgc","imgc"),this.na(b,Xi,Xi),this.na(b,Yi,Yi),a.options=b);break;case bq:a.type=aq,this.na(b,Sj,Sj),this.na(b,Vn,Vn),a.query=this.getQuery(),a.options=b}return new iU(a)};q.Oz=function(){var a=new bB(this.qa),b=this.getQuery();hr(Hr(b))||a.append("/",encodeURIComponent(String(b)));return a.toString()};var RU=function(a,b,c){a=a.split("/");var e=a[0];return Zs(sR,e)?(c=c||{},c.query=a[1]?or(a[1]):c.query,new AU(e,b,c)):null};q=AU.prototype;
q.getType=function(){return this.getOption(zp)};
q.getName=function(){if(this.Xc)return this.Xc;if(this.getOption("td"))return Wd;if(this.getOption("cmptv"))return"Ordenadores";if(this.qa==ue||this.qa==Rg||this.qa==Sg||this.qa==Tg){var a=this.getOption(rl);if(!0===a)return"Mi unidad";if(!1===a)return"Compartido conmigo";if(this.dL())return"Reciente"}a=this.getType();switch(this.qa){case xf:return"Calendarios";case If:return this.getOption(m)?"Editar tu c\u00edrculo":"Crear un c\u00edrculo";case og:return"Contactos";case wg:return"Recortar foto";
case ue:return"Google Drive";case Rg:return"Im\u00e1genes";case Sg:return"Im\u00e1genes y v\u00eddeos";case Tg:return"V\u00eddeos";case Vg:return"Documentos";case bh:return"Dibujos";case Lh:return"Carpetas";case Oh:return"Fuentes";case Qh:return"Formularios";case Wi:return this.getOption("comboTypes")?"B\u00fasqueda de im\u00e1genes":"life"==a?"Archivo de fotos de LIFE":a==Wh?Oc:"B\u00fasqueda de im\u00e1genes de Google";case gk:return"Mapas";case hk:return"Maps Engine Lite";case zl:return"PDF";case Al:switch(this.getType()){case Jf:return"C\u00edrculos";
default:return"Personas"}case Dl:return"A\u00f1adir texto a foto";case El:return"Organizar fotos";case Gl:return"banner"==a?"Fotos de portada":a==zh?"Fotos destacadas":a==Wh?Oc:a==yf?"Fotos del tel\u00e9fono":"flat"==a?"Tus fotos":"ofuser"==a?"Fotos donde apareces":a==Lp?"Fotos subidas":"Tus fotos";case Cl:return"\u00c1lbumes de fotos";case Dm:return"Presentaciones";case Fm:return"np"==a?"Sin foto":"Foto de perfil";case "quota":return"Cuota";case Qm:return"Seleccionado anteriormente";case hn:return"Secuencias de comandos";
case Ro:return"Hojas de c\u00e1lculo";case Xn:return"Sitios de Google";case cp:return"Tablas";case Fl:case Fp:var b;return this.qa==Fl||(b=this.iL())&&this.getQuery()!=cq&&this.getQuery()!=xg?"Subir fotos":b&&this.getQuery()!=xg?"Subir v\u00eddeos":"Subir";case bq:return"Buscar v\u00eddeos";case cq:return a==yf?"V\u00eddeos de mi tel\u00e9fono":"V\u00eddeos";case nq:switch(this.getType()){case So:return"Tomar una instant\u00e1nea";default:return"C\u00e1mara web"}case mq:return"B\u00fasqueda web";
case Sp:return"URL";case wq:return"Tus v\u00eddeos de YouTube";case xq:return"YouTube banner preview"}return""};q.Ca=function(a){return a==this.qa};q.Pd=function(){return this.Xc};q.getOptions=function(){return this.Ya};q.getOption=function(a){return this.Ya[a]};
q.ad=function(a){return!!a&&this.Ca(a.qa)&&this.getQuery()==a.getQuery()&&Vs(this.getOptions())==Vs(a.getOptions())&&this.getOption(m)==a.getOption(m)&&this.getType()==a.getType()&&this.getOption("id")==a.getOption("id")&&this.getOption(rl)==a.getOption(rl)&&this.getOption("td")==a.getOption("td")&&this.getOption("cmptv")==a.getOption("cmptv")};q.clone=function(){var a=new AU(this.qa,this.Xc,dt(this.Ya));a.$f(this.Bc);a.J6(this.Yp()||this);return a};
q.Ef=function(){var a=[];SU(a,this);this.rC&&SU(a,this.rC);return a.join("/")};var SU=function(a,b){a.push(b.qa);Qs(b.Ya,function(b,e){void 0!=b&&a.push(e+"="+b)})};q=AU.prototype;q.setQuery=function(a){this.gp=null;this.Aa(Mm,a)};q.getQuery=function(){return this.getOption(Mm)};q.setOptions=function(a){this.Ya=a;this.gp=null};q.Aa=function(a,b){this.Ya[a]=b;this.gp=null};q.Ks=function(a){null!=this.getOption(a)&&(delete this.Ya[a],this.gp=null)};q.$f=function(a){this.Bc=a};
q.J6=function(a){this.rC=a};q.Yp=function(){return this.rC};
q.Vja=function(){switch(this.qa){case xf:return"No se han encontrado calendarios.";case og:return this.getQuery()?"No hay contactos que coincidan con la b\u00fasqueda.":"No se ha encontrado ning\u00fan contacto.";case ue:case Vg:return this.getQuery()?"No hay elementos que coincidan con la b\u00fasqueda.":0==this.getOption(rl)?"Por ahora nadie ha compartido archivos contigo.":"No hay documentos.";case Rg:return"No hay ninguna imagen.";case Sg:return"No hay im\u00e1genes ni v\u00eddeos.";case Tg:return"No hay v\u00eddeos.";
case bh:return"No hay dibujos.";case Lh:return this.getOption(m)?"No hay elementos en esta carpeta.":"No hay carpetas.";case Oh:return"No se ha encontrado ninguna fuente.";case Qh:return"No hay formularios.";case Wi:return"No se han encontrado im\u00e1genes.";case gk:case hk:return"No se ha encontrado ning\u00fan mapa.";case zl:return"No hay archivos PDF.";case If:case Al:switch(this.getType()){case Jf:return"No se han encontrado c\u00edrculos.";default:return this.getOption(m)?this.getOption("peopleFilter")?
"No se ha encontrado ninguna persona que coincida en este c\u00edrculo.":"No hay nadie en este c\u00edrculo.":"No se ha encontrado a nadie."}case Gl:case Cl:case El:return this.getQuery()||this.getType()||this.getOption(m)?this.getType()==mk?"No hay \u00e1lbumes.":"No hay fotos.":"No hay \u00e1lbumes de fotos.";case Dm:return"No hay presentaciones.";case Qm:return"No has seleccionado ning\u00fan documento recientemente.";case hn:return"No hay secuencias de comandos.";case Ro:return"No hay hojas de c\u00e1lculo.";
case Xn:return"No hay ning\u00fan sitio.";case cp:return"No hay tablas.";case bq:case cq:case wq:return"No se han encontrado v\u00eddeos.";case mq:return"No se ha encontrado ning\u00fan resultado.";default:return"Ning\u00fan elemento coincide con tus criterios."}};q.na=function(a,b,c){c=this.getOption(c);u(c)&&(a[b]=c)};q.jk=function(){return[this.qa,this.Xc,this.Ya]};q.eB=function(){return!(!this.getOption("td")||this.getOption(m)||this.getQuery())};
q.o=function(){AU.c.o.call(this);delete this.qa;delete this.Xc;delete this.Ya};var TU=["opl","opr","opdr",fl,gl,el,"opu","opv","opm","opmd"],UU=function(a,b){if(b.Dd()){if(!tR(a.qa))throw Error("Minimal UI only supports docs folder picker.");return"opmd"}var c=a.getOption(uk);switch(a.qa){case "et":case Wi:case Cl:case Dl:case Fm:case "quota":case xq:return el;case Gl:b=a.getOption(m);var e=a.getOption(zp);return e==eq||e==dq?"opv":a.getOption(Fp)||"edit"==c&&(b||a.getOption(Ui))?gl:el;case El:case Fl:case nq:return gl;case wg:return"opr";case Fp:return a.iL()?gl:"opu";case bq:case cq:case wq:return"opv";
case gk:case hk:return"opm";case xf:return"opl";case If:case og:case Al:return fl;case Qm:if(c==Gl)return el;if(c==cq)return"opv"}return tR(a.qa)?a.Ca(Tg)&&c!=Tj&&!a.eB()?"opv":b.Pm?"opdr":el:"opc"};var VU=function(){J.call(this);this.Nl=new uK;this.Pga={}};B(VU,J);q=VU.prototype;q.rw=function(a){this.P=a;this.A().listen(this.P.ce,vn,this.bAa);this.A().listen(this.P.ce,wn,this.cAa)};q.A=function(){this.G||(this.G=new pC(this));return this.G};q.cAa=function(a){a=a.data.maxSizeBytes;if(this.RY()<=a)this.P.v.KD(a);else throw Error("Selection must be cleared before setting new size cap.  (Or cap was never initialized.)");};
q.bAa=function(a){a=a.data.maxItems;if(this.QY()<=a)this.P.v.Aw(a);else throw Error("Selection must be cleared before setting new items cap. (Or cap was never initialized.)");};q.d6=function(a){this.xI=a};q.fza=function(){};q.T6=function(a,b,c,e){if(b==this.Rd(a))return!1;b?this.aO(a,c):this.yH(a);e&&this.dispatchEvent(new WU(b,[a]));return!0};q.xg=function(a){var b=this.xI,c=this.Nl.bb();return b&&!a?b(c):c};
q.QD=function(a,b){var c=[];Iv(a,function(a){b!=this.Rd(a)&&c.push(a)},this);Iv(c,function(a){b?this.aO(a,"cb"):this.yH(a)},this);0<c.length&&this.dispatchEvent(new WU(b,c));return!0};q.Ak=function(a){this.QD(this.xg(a),!1)};q.bx=function(a,b){var c=this.Nl;c.Xb(a)?(this.yH(a),this.dispatchEvent(new WU(!1,[a]))):("cl"==b&&(b=c.bb(),this.xfa(),b.length&&this.dispatchEvent(new WU(!1,b))),this.aO(a),this.dispatchEvent(new WU(!0,[a])));return!0};q.aO=function(a,b){this.Nl.set(a,b)};q.yH=function(a){this.Nl.remove(a)};
q.xfa=function(){this.Nl.clear()};q.QY=function(){return this.xg().length};q.RY=function(){var a=this.xg(),b=0,c=this.P.ba;Iv(a,function(a){(a=c.K(a).Or)&&(b+=a)},this);return b};q.Rd=function(a){return this.Nl.Xb(a)};q.sEa=function(){this.dispatchEvent("y")};q.o=function(){VU.c.o.call(this);this.Nl.clear();delete this.Nl;delete this.xI};var WU=function(a,b){H.call(this,"x");this.selected=a;this.Rc=b};B(WU,H);var XU=function(a,b){V.call(this,b);this.P=a};B(XU,V);XU.prototype.getContext=function(){return this.P};XU.prototype.Ka=function(a){XU.c.Ka.call(this,a);a.id&&this.FD(a.id)};var YU=function(a,b){XU.call(this,a,b);this.A().listen(a.ce,jq,this.YJ)};B(YU,XU);q=YU.prototype;q.Wa=!1;q.setActive=function(a){this.Wa!=a&&(this.Wa=a,this.V&&this.C(a))};q.C=function(a){R(this.b(),a)};q.tc=function(){return!1};q.Tg=function(){};q.Sp=function(){return new QG};q.Fz=function(){return-1};q.kk=function(){return!1};q.YJ=function(a){a.data.visible&&this.Wa&&this.kk()};q.HS=function(a,b,c,e){e()};q.E8=Qq;q.Rp=Js;q.Ri=function(a){var b=this.getContext().Gh,c=this.Rp();b&&c&&b.Ri(c,a)};
q.ji=function(a){var b=this.getContext().Gh,c=this.Rp();b&&c&&b.ji(c,a)};var ZU=function(a,b,c,e,f,g){YU.call(this,a,g);this.txa=b;this.Tha=c;this.dea=e;this.NI=f;HS().Ge()&&(f==Rj?f=Wm:f==Wm&&(f=Rj));this.MI=f;this.tX=[];this.wy=[];this.Pb=this.Sa=null;this.Cb=!0;this.gb=null;this.xU="0"};B(ZU,YU);q=ZU.prototype;q.J=function(){return this.Pb};
q.g=function(){var a=this.j(),b=this.Sa=a.g(d,{className:function(a){switch(a){case up:return"picker-framepane-top";case uf:return"picker-framepane-bottom";case Rj:return"picker-framepane-left";case Wm:return"picker-framepane-right"}return""}(this.NI)+" "+this.Tha}),c=this.Pb=a.g(d,{className:"picker-framepane-content "+this.dea});D(this.wy,function(a){a.g();c.appendChild(a.b())});var e=this.NI==uf||this.NI==Wm;a=a.g(d,{className:"picker-framepane-root "+this.txa},e?c:b,e?b:c);this.Na(a)};
q.B=function(){this.VQ();ZU.c.B.call(this)};q.qs=function(a,b){this.ca(a);this.tX.push(a);b&&a.render(this.Sa)};q.Se=function(a){this.ca(a);this.wy.push(a)};q.removeChild=function(a,b){b=ZU.c.removeChild.call(this,a,b);vs(this.wy,a);return b};q.h6=function(a){var b=this.b();b&&lC(b,"picker-framepane-hidden",!a);this.Sa&&this.Cb!=a&&(this.Cb=a,this.L7(a),a=a?this.xU:0,E&&!Xt(7)?Q(this.b(),ul+this.MI,a):Q(this.Pb,this.MI,a))};q.L7=function(a){R(this.Sa,a)};q.xb=function(a){this.gb=a;this.V&&this.VQ()};
q.Ae=function(){return this.gb};q.VQ=function(){var a=this.gb,b=this.MI,c=b==up||b==uf,e=E&&!Xt(7),f=this.Sa,g=rA(f);if(isNaN(g.top))M(y(this.VQ,this),200);else{g=c?g.top+g.bottom:g.left+g.right;if(0<a||this.getContext().v.Dd()&&0==a){var h=(e?a+g:a)+n;c?f.style.height=h:f.style.width=h}else 0==a&&Q(f,"padding",0);h=0;a&&(h=a+g,e||(a=Yz(f),h+=c?a.top+a.bottom:a.left+a.right));this.xU=h+=n;e?Q(this.b(),ul+b,h):Q(this.Pb,b,h)}};q.o=function(){ZU.c.o.call(this);this.wy=this.tX=null};var $U=function(){J.call(this)};B($U,J);q=$U.prototype;q.ac=null;q.Vb=null;q.Nfa=function(a){this.dispatchEvent(new aV("F",a))};q.Kfa=function(a){this.dispatchEvent(new aV("A",a))};q.Kb=function(a,b){this.dispatchEvent(new bV(a,b))};q.ow=function(a,b){this.ac=a;this.Vb=b;this.dispatchEvent(new cV(b))};q.E5=function(a){this.dispatchEvent(new dV(a))};q.o=function(){$U.c.o.call(this);this.Vb=null};var aV=function(a,b,c){H.call(this,a,c);this.cx=b};B(aV,H);
var bV=function(a,b,c){aV.call(this,"B",a,c);this.Ffa=b};B(bV,aV);var dV=function(a){H.call(this,"D");this.fda=a};B(dV,H);var cV=function(a){H.call(this,"C");this.bFa=a};B(cV,H);var eV=function(a){return!!a&&!!a.getOption(m)&&er(a.getOption(m),"newFolderId")};var fV=function(a,b){(a=b.getOption(m))||b.getOption("cv")||(a=$m);return a},gV=function(a,b){return(b=fV(a,b))?a.ba.K(b,Qg):null},hV=function(a,b,c,e){var f=a.ba.K(c,Qg);f?e(a,b,f):a.ba.requestData(new cU(ch,[c],{isMinimalMode:!0}),function(c){e(a,b,c.dc()[0])},Qq,!0)},iV=function(a,b,c){var e=a.vb.Yp().getOption(m),f=[];b.getOption("ops")&&(f=b.getOption("ops").split(","));b=f;e&&(b=b.concat(e));e=hs(b,function(b){var c=WT(Qg,"0",b);return b==$m&&(b=a.ba.K(c))?b.getId():c});return qs(e,c)},kV=function(a,
b){var c=jV(a,b);return c?c:b.getOption(kn)&&!b.getOption(m)||b.getOption(dk)?null:gV(a,b)},jV=function(a){var b=a.Ma.xg();return rs(b)?null:(C(1==b.length,"Only one doc should be selected"),a.ba.K(b[0]))},lV=function(a,b,c,e,f){a.U(b);b=a.b();pF(b,c,e);f&&UB(a.b(),Lj)},mV=function(a){return rs(a.Ma.xg())?"A\u00f1adir aqu\u00ed":Mb},nV=function(a,b){pF(a,b,void 0);UB(a,Lj)},oV=new TT({serviceId:Qg,name:Wd,id:ep,mimeType:De});var pV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Muy pocos elementos seleccionados. Selecciona m\u00e1s.}male{Muy pocos elementos seleccionados. Selecciona m\u00e1s.}other{Muy pocos elementos seleccionados. Selecciona m\u00e1s.}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};pV.ra="picker.ui.templates.messages.lackItemsSelected";
var qV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Volver}male{Volver}other{Volver}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)},rV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Cerrar}male{Cerrar}other{Cerrar}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)},sV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Abrir la carpeta en una pesta\u00f1a nueva}male{Abrir la carpeta en una pesta\u00f1a nueva}other{Abrir la carpeta en una pesta\u00f1a nueva}}")).Bf({VIEWER_GENDER:b.fh});
return FF(""+a)};var uV=function(a,b,c){b=c||b;return DF(yb+X(a.Rc.bba)+ma+X("picker-title-container")+ua+W(kG({id:a.Rc.BACK,style:4,content:IF(vb+(a.Ge?X("picker-sspr-minpicker-forward-button"):X("picker-sspr-minpicker-back-button"))+" "+X(Sl)+wa),Go:!0,title:HF(""+qV(null,null,b)),attributes:JF(cf+X(qV(null,null,b))+na)},null,b))+yb+X(a.Rc.daa)+ma+X(Sl)+" "+X("picker-sspr-drive-logo-black")+'"></div><div id="'+X(a.Rc.X$)+'" role="status" aria-live="polite" class="'+X("picker-header-folder")+'"><div id="'+X(a.Rc.IR)+
'" role="heading" class="'+X("picker-header-folder-name")+'" data-tooltip-only-on-overflow="true" data-tooltip-unhoverable="true"></div>'+W(kG({id:a.Rc.W$,style:4,content:IF(vb+X(Sl)+" "+X("picker-sspr-open-link")+wa),Go:!0,title:HF(""+sV(null,null,b)),attributes:JF(cf+X(sV(null,null,b))+'" data-tooltip-unhoverable="true" style="display:none;"')},null,b))+'</div><input id="'+X(a.Rc.Baa)+ma+X("picker-title-new-folder-input")+sa+X("picker-title-new-folder-btn")+ua+W(kG({id:a.Rc.Aaa,style:2,content:IF(vb+
X("picker-spr-white-checkmark")+wa),Go:!0,title:HF(""+tV(null,null,b)),attributes:JF(cf+X(tV(null,null,b))+'"'),width:1},null,b))+'</div></div><div class="'+X(Rl)+ua+W(kG({id:a.Rc.yR,style:4,content:IF(vb+X(mm)+wa),Go:!0,title:HF(""+rV(null,null,b)),attributes:JF(cf+X(rV(null,null,b))+na)},null,b))+lb)};uV.ra="picker.ui.minimal.template.title";
var wV=function(a,b,c){b=c||b;return DF(yb+X(a.Rc.ERROR)+ma+X("picker-min-footer-error")+xa+X("picker-min-footer-ok-button")+ua+W(kG({id:a.Rc.PR,style:2,Go:!1},null,b))+'</div><div class="'+X("picker-min-footer-new-folder-button")+ua+W(kG({id:a.Rc.zaa,style:0,width:1,content:IF(vb+X("picker-sspr-folder-new")+wa),Go:!0,title:HF(""+vV(null,null,b)),attributes:JF(cf+X(vV(null,null,b))+na)},null,b))+lb)};wV.ra="picker.ui.minimal.template.footer";
var vV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Nueva carpeta}male{Nueva carpeta}other{Nueva carpeta}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};vV.ra="picker.ui.minimal.template.newFolderLabel";
var tV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Crear carpeta}male{Crear carpeta}other{Crear carpeta}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)},xV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{No se ha podido crear {FOLDER_NAME}.}male{No se ha podido crear {FOLDER_NAME}.}other{No se ha podido crear {FOLDER_NAME}.}}")).Bf({VIEWER_GENDER:b.fh,FOLDER_NAME:""+a.kha});return FF(""+a)};xV.ra="picker.ui.minimal.template.folderErrorMsg";
var yV=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{{NUM_ITEMS,plural, =1{El archivo ya est\u00e1 en una unidad de equipo. No puedes a\u00f1adirlo a Mi unidad.}other{Algunos archivos ya est\u00e1n en unidades de equipo. No puedes a\u00f1adirlos a Mi unidad.}}}male{{NUM_ITEMS,plural, =1{El archivo ya est\u00e1 en una unidad de equipo. No puedes a\u00f1adirlo a Mi unidad.}other{Algunos archivos ya est\u00e1n en unidades de equipo. No puedes a\u00f1adirlos a Mi unidad.}}}other{{NUM_ITEMS,plural, =1{El archivo ya est\u00e1 en una unidad de equipo. No puedes a\u00f1adirlo a Mi unidad.}other{Algunos archivos ya est\u00e1n en unidades de equipo. No puedes a\u00f1adirlos a Mi unidad.}}}}")).Bf({VIEWER_GENDER:b.fh,
NUM_ITEMS:a.HM});return FF(""+a)};yV.ra="picker.ui.minimal.template.cantAddFromTeamDrives";var zV=function(a,b){ZU.call(this,a,"picker-min-footer-root","picker-min-footer-frame","picker-min-footer-content",uf,b)};B(zV,ZU);q=zV.prototype;q.g=function(){zV.c.g.call(this);var a={};a.Rc=this.C1(AV);a=this.getContext().vi().f4(wV,a);this.Sa.appendChild(a);this.xb(29);this.Kn=this.getContext().vi().Kl(vV)};
q.B=function(){zV.c.B.call(this);this.He=new mG(null);this.He.R(this.Fj("__mp-fo"));this.Y(this.He);this.Kh=new mG(null);this.Kh.R(this.Fj("__mp-fnf"));this.Y(this.Kh);this.wj=new FQ(null,this.j());this.wj.Ne("warning");this.wj.A6(!0);this.wj.render(this.Fj("__mp-fe"));this.Y(this.wj);this.A().listen(this.getContext().X,"F",this.fK).listen(this.getContext().Ma,"x",this.Au).listen(this.He,k,this.qna).listen(this.Kh,k,this.pna)};
q.Doa=function(){this.dP();this.He.Er(this.getContext().v.hh&&!this.getContext().X.Vb.getOption(dk)?1:2);var a=this.getContext(),b=a.X.Vb;if(b){var c=kV(a,b);this.JB(a,b,c)}};q.fK=function(){var a=this.getContext(),b=C(a.X.Vb);this.dP();var c=null;b.getOption(dk)||b.getOption(kn)&&!b.getOption(m)||(c=fV(a,b));this.Kh.C(!!c&&!!b.getOption("createFolder")&&c!=ep);var e=kV(a,b);e||eV(b)||!c||b.getOption("sodc")?this.JB(a,b,e):(c=y(this.JB,this),e=b.getOption(m)||$m,hV(a,b,e,c));b.ad(this.Ega)||this.wj.C(!1)};
q.dP=function(){var a=this.getContext().X.Vb;if(a&&!a.getOption("sodc"))if(a.getOption(dk)){a=a.getOption("idto");var b=0;v(a)&&(b=a.split(",").length);a=(new uU("{numIds,plural, =0{unused plural form}=1{Mover este elemento}other{Mover estos elementos}}")).format({numIds:b});this.He.eb(a)}else this.getContext().v.hh?this.He.eb(mV(this.getContext())):this.He.eb(BV(this.getContext(),a))};q.Au=function(){var a=this.getContext(),b=C(a.X.Vb);this.dP();this.JB(a,b,kV(a,b))};
q.qna=function(){var a=this.getContext(),b=C(a.X.Vb);if(b.getOption(dk))b=b.clone(),a.ba.nc(78),b.Ks(dk),a.X.Kb(b);else if(b.getOption("cv")){if(b.getOption("cv")){var c;(c=b.getOption("cv"))&&x(c)&&c[0]?(c=RU(c[0],c[1],c[2]),c.$f(b)):c=null;if(c){var e=jV(a,b);if(e){if(c&&e){b=c.clone();var f="_addItemId_"==e.jb;f?b.Ks(m):e.getId()&&b.Aa(m,e.jb);f&&(b.Aa("sblovs","A\u00f1adir aqu\u00ed"),b.Aa("sblois",Mb));e=b.getOption("ops");f=c.Bc.getOption("items");v(e)&&v(f)&&(e=e.split(",").concat(f.split(",")),
Cs(e),b.Aa("ops",e.join(",")));c=c.Bc.getOption("idto");v(c)&&b.Aa("idto",c);b.J6(b)}else b=null;a.X.Kb(b)}}}}else{if(c=b)a:{e=b.getOption("sfcm");if((c=kV(a,b))&&c.jb!=To&&(e||c.jb!=En)&&c.jb!=ep&&(a.v.hh&&c.setAttribute("rpt",""),e=b.getOption("drois"),b.getOption("sp")||!(iV(a,b,c.getId())||e&&c&&c.getAttribute("ro")))&&(b.getOption("ers")||!c.Dq())){b=a.Ma;b.Ak(!0);b.T6(c.getId(),!0,"cl",!0);a.vb.KQ(!0);c=!0;break a}c=!1}c||this.getContext().vb.Vi()}};
q.pna=function(){var a=this.getContext(),b=a.X,c=b.Vb;if(c){var e=jV(a,c);a=c.clone();var f=c.getOption(m);e&&(f=e.jb);a.$f(c);c="newFolderId";f&&(c+=f);a.Aa(m,c);b.Kb(a)}};q.bCa=function(a,b){this.Ega=b;this.wj.eb(a);this.wj.C(!0);M(function(){this.wj.N()&&this.wj.C(!1)},1E4,this)};
var BV=function(a,b){var c=gV(a,b);if(c&&c.Dq()&&!b.getOption("ers"))return"Listo";c=b.getOption("mbl");if(v(c))return c;if(rs(a.Ma.xg()))c=b.getOption("sblovs");else{if((c=jV(a,b))&&"_addItemId_"==c.jb)return"A\u00f1adir ubicaci\u00f3n nueva";c=b.getOption("sblois")}return v(c)?c:a.v.dn()};
zV.prototype.JB=function(a,b,c){if(eV(b)||b.getOption("cv")&&!c||b.getOption("sodc"))lV(this.He,!1,"","",!0),lV(this.Kh,!1,this.Kn);else{var e=b.getOption("sfcm"),f=!!b.getOption(kn)&&!b.getOption(dk)&&!b.getOption(m)&&(!c||!c.Dq()&&!b.getOption("scm"));e=c&&(c.jb==To||c.jb==ep||!e&&c.jb==En);f||e?(lV(this.He,!1,Jc,"",!0),lV(this.Kh,!1,this.Kn)):b&&c&&iV(a,b,c.getId())?(lV(this.He,!1,"El elemento ya est\u00e1 en esta carpeta","",!0),!c.getAttribute("tdid")||c.getAttribute("tdcac")?lV(this.Kh,!0,this.Kn):
lV(this.Kh,!1,this.Kn)):c&&c.getAttribute("ro")&&!b.getOption(dk)?(b&&b.getOption("drois")&&lV(this.He,!1,Hc,"",!0),lV(this.Kh,!1,Hc,this.Kn)):c&&c.jb==ep&&!b.getOption("scm")||this.getContext().v.hh&&c.getAttribute("tdid")?lV(this.He,!1,this.getContext().v.hh?"Los archivos no se pueden a\u00f1adir a la unidad de equipo, deben moverse":Jc,"",!0):b.getOption(m)==Wf||c&&c.getAttribute("icr")?(lV(this.He,!1,this.getContext().v.hh?"No se pueden a\u00f1adir archivos a Ordenadores":Jc,"",!0),lV(this.Kh,
!1,this.Kn)):this.getContext().v.hh&&this.getContext().Bi.Gua?(a=b.getOption("idto"),b=0,v(a)&&(b=a.split(",").length),a=this.getContext().vi().Kl(yV,{HM:b}),lV(this.He,!1,a,"",!0)):(lV(this.He,!0,""),lV(this.Kh,!0,this.Kn))}};var AV={ERROR:"__mp-fe",zaa:"__mp-fnf",PR:"__mp-fo"};var CV=function(a){ZT.call(this,a);this.Fi&&(a=this.nu(),this.uw(UT(a.docs||[])))};B(CV,ZT);CV.prototype.kc=function(){return 5};aU.set(5,function(a){return new CV(a)});var DV=function(a,b,c,e){DT.call(this);this.Dua=a;this.md=b;this.TH=c;this.Ya=e};B(DV,DT);q=DV.prototype;q.xh=Hs(new $y("mutate"));q.kc=function(){return 5};q.getOptions=function(){return this.Ya};q.Hf=function(){var a=new L;HT(a,Ui,sv(this.TH));HT(a,tn,this.md);HT(a,"operation",this.Dua);HT(a,kl,sv(this.Ya));return a};q.bu=function(){var a=DV.c.bu.call(this);a.T("requestid",this.getId());return a};var EV=function(a,b){ZU.call(this,a,"picker-min-title-root","picker-min-title-frame","picker-min-title-content",up,b);this.NU=!1;this.rb=new SC;this.hN=this.Av=this.mt=this.Bl=null;this.Y(this.rb)};B(EV,ZU);q=EV.prototype;q.zza=function(a){this.Aj=a};q.kA=function(){this.Aj.Doa();lC(this.b(),"picker-minimal-add-mode",this.getContext().v.hh&&!this.getContext().X.Vb.getOption(dk))};
q.g=function(){EV.c.g.call(this);var a={};a.Rc=this.C1(FV);a.Ge=HS().Ge();a=this.getContext().vi().f4(uV,a);this.Sa.appendChild(a);this.xb(48);this.getContext().v.In&&U(this.b(),Yl)};
q.B=function(){EV.c.B.call(this);this.Ch=this.Fj("__mp-ti");this.Vm=this.Fj("__mp-tfn");this.sz=this.Fj("__mp-tfnc");this.mj=this.zy("__mp-tc");this.Y(this.mj);this.xk=this.zy("__mp-tb");this.Y(this.xk);this.Pt=this.zy("__mp-tfl");this.Y(this.Pt);this.ee=this.Fj("__mp-tnfi");this.rb.pd(this.ee);this.Al=this.zy("__mp-tnfc");this.Y(this.Al);this.Al.Yg(HS().Ge()?2:1);this.rq();this.fd=new nE(this.ee);this.A().listen(this.mj,k,this.py).listen(this.getContext().X,"B",this.rk).listen(this.getContext().X,
"F",this.kA).listen(this.xk,k,this.P1).listen(this.Al,k,this.UU).listen(this.rb,Hj,this.Pma).listen(this.fd,dj,this.Ima).listen(this.j().getWindow(),Vm,this.A4).listen(this.Pt,k,this.zua)};q.Pa=function(){EV.c.Pa.call(this);this.fd.dispose();this.fd=null};q.zy=function(a){var b=new mG(null);b.R(this.Fj(a));return b};q.zua=function(){lB(this.hN,{target:de})};
q.rk=function(a){this.hN=null;if(a=a.cx){var b=!!a.getOption(dk);lC(this.Sa,"picker-locate-view",b);if(a.getOption("sodc"))this.rq(),this.mj.C(!0);else if(b)this.rq(),a=a.getOption("idto"),v(a)&&(this.Av=a.split(",").length),null===this.Bl?this.getContext().Bi.Jia().ua(this.pBa,this):this.g7(),this.mj.C(!0);else if(this.xb(48),a.getOption(kn)&&!a.getOption(m))this.rq(),this.VD("Drive"),nV(this.Vm,"Drive"),this.mj.C(!0);else if(a.getOption("cv")||a.getOption("sp")){this.rq();if(a=a.Pd())this.VD(a),
nV(this.Vm,a);this.mj.C(!0)}else if(b=eV(a),R(this.ee,b),this.Al.C(b),R(this.sz,!b),this.mj.C(!b),b)this.xk.C(!0),R(this.Ch,!1),this.A4(),this.DD(!1);else{b=this.getContext();var c=y(this.GEa,this),e=a.getOption(m)||$m;hV(b,a,e,c)}}else this.rq(),this.mj.C(!0)};
q.pBa=function(a){a.kta&&(this.Bl=a.kta);if(a.Tfa){a=a.Tfa;var b=2;b&&12<a.length?(12<b&&(b=12),a=a.substring(0,12-b)+"..."+a.substring(a.length-b)):12<a.length&&(b=Math.floor(6),a=a.substring(0,b+0)+"..."+a.substring(a.length-b));this.mt=a}this.g7()};
q.g7=function(){var a=HS().Pq;this.mt&&a&&null!==this.Av?1==this.Av?a=(new uU("{numParents,plural, =1{{docName} se encuentra en 1 carpeta:}other{{docName} se encuentra en # carpetas:}}")).format({numParents:this.Bl,docName:this.mt}):2==this.Av?a=(new uU("{numParents,plural, =1{{docName} y 1 archivo m\u00e1s se encuentran en 1 carpeta:}other{{docName} y 1 archivo m\u00e1s se encuentran en # carpetas:}}")).format({numParents:this.Bl,docName:this.mt}):(a=this.Av-1,a=(new uU("{numParents,plural, =1{{docName} y {numDocsToBeMoved} archivos m\u00e1s se encuentran en 1 carpeta:}other{{docName} y {numDocsToBeMoved} archivos m\u00e1s se encuentran en # carpetas:}}")).format({numParents:this.Bl,
docName:this.mt,numDocsToBeMoved:a})):a=this.getContext().Bi.Hca?(new uU("{numParents,plural, =1{Este archivo est\u00e1 en 1 carpeta:}other{Este archivo est\u00e1 en # carpetas:}}")).format({numParents:this.Bl}):this.getContext().Bi.Ica?(new uU("{numParents,plural, =1{Esta carpeta est\u00e1 en 1 carpeta:}other{Esta carpeta est\u00e1 en # carpetas:}}")).format({numParents:this.Bl}):(new uU("{numParents,plural, =1{Este elemento se encuentra en 1 carpeta:}other{Este elemento se encuentra en # carpetas:}}")).format({numParents:this.Bl});
this.VD(a,!0);nV(this.Vm,a)};q.GEa=function(a,b,c){a=a.Sf.Kz();var e=c&&c.Dq()&&!b.getOption(kn);this.xk.C(!e||!!a&&!!a.getOption("cv"));R(this.Ch,!this.xk.N());a=c?c.getName():"";this.VD(a);nV(this.Vm,a);this.Aqa(b)&&(this.hN=b=c&&c.getUrl()?c.getUrl():null,this.Pt.C(!!b),lC(this.sz,"picker-header-add-folder-link",!!b))};q.Aqa=function(a){return!!a.getOption("eflimt")};q.rq=function(){R(this.sz,!1);this.xk.C(!1);R(this.Ch,!1);R(this.ee,!1);this.Al.C(!1);this.mj.C(!1);this.Pt&&this.Pt.C(!1)};
q.A4=function(){var a=sA(this.Fj("__mp-ttc")),b=pA(this.xk.b()),c=pA(this.Al.b());a=a.width-1-b.width-c.width;(b=vA(this.xk.b()))&&(a-=b.left+b.right);(b=Yz(this.ee))&&(a-=b.left+b.right);(b=rA(this.ee))&&(a-=b.left+b.right);(b=vA(this.ee))&&(a-=b.left+b.right);eA(this.ee,Math.floor(0<a?a:0))};
q.P1=function(){var a=this.getContext().X.Vb;if(a){var b=this.getContext();if((eV(a)||a.getOption(kn))&&a.Bc)b.X.Kb(a.Bc);else{var c=gV(b,a);if(c)if(!c.Dq()||a.getOption(kn)){var e=a.clone(),f=c.Sn;if(!f){var g=c.$ha();1==g.length&&(f=g[0])}!f&&c.getAttribute(hj)&&(f=oV.jb,b.ba.cj([oV]));f?(a.getOption(kn)||e.$f(a),e.Aa(m,f)):e.Ks(m);e.setQuery(null);b.X.Kb(e)}else a=b.Sf.Kz(),a.getOption(dk)||b.X.Kb(a)}}};q.py=function(){M(this.getContext().vb.Vi,0,this.getContext().vb)};
q.Pma=function(a){13==a.keyCode&&this.UU()};q.Ima=function(){this.Al.U(!!jr(this.ee.value))};q.UU=function(){var a=this.ee.value;if(jr(a)){this.getContext().Ma.Ak(!0);this.DD(!0);var b=this.getContext().X.Vb,c=b&&b.getOption(m).substring(11);a={title:a};c&&(a.parent=c);this.getContext().ba.requestData(new DV("createFolder",ch,null,a),y(this.Vla,this,b),y(this.kZ,this,b))}};
q.Vla=function(a,b){if(b.dc().length){var c=this.getContext(),e=c.ba;c=c.X;var f=c.Vb,g=b.dc()[0];g.Pza(!0);e.cj([g]);b=a.clone();var h=a.Bc.clone();h.getOption(m)!=a.getOption(m).substring(11)&&(h.$f(a.Bc),h.Aa(m,a.getOption(m).substring(11)));e.xd(h.mu()).PA(!0);b.$f(h);b.Aa(m,g.jb);e=e.xd(b.mu());e.cj([]);e.sw(void 0);f&&a&&f.ad(a)&&this.NU&&(this.DD(!1),c.Kb(b,!0))}else this.kZ(a,b)};
q.kZ=function(a,b){a=this.ee.value;this.DD(!1);this.Aj&&(b=b.gI||this.getContext().vi().Kl(xV,{kha:a}),a=this.getContext().X.Vb,this.Aj.bCa(b,a&&a.Bc));this.P1()};q.DD=function(a){this.NU=a;this.Al.U(!a);if(a)this.ee.setAttribute(Mg,yp);else{this.ee.value="Carpeta sin t\u00edtulo";this.ee.removeAttribute(Mg);try{this.ee.focus(),this.ee.setSelectionRange(0,18)}catch(b){}}};
q.VD=function(a,b){Ny(this.Vm,a);R(this.sz,!0);b?(a=pA(this.Vm).height,b=this.Vm.getBoundingClientRect(),b.top&&(a+=2*b.top),this.xb(Math.max(a,48))):this.xb(48)};var FV={BACK:"__mp-tb",yR:"__mp-tc",W$:"__mp-tfl",IR:"__mp-tfn",X$:"__mp-tfnc",daa:"__mp-ti",Baa:"__mp-tnfi",Aaa:"__mp-tnfc",bba:"__mp-ttc"};var GV=function(){F.call(this)};B(GV,F);GV.prototype.initialize=function(){};var HV=function(a,b){this.qz=a;this.Ga=b};HV.prototype.execute=function(a){this.qz&&(this.qz.call(this.Ga||null,a),this.qz=this.Ga=null)};HV.prototype.abort=function(){this.Ga=this.qz=null};var IV=function(a,b){F.call(this);this.ufa=a;this.ma=b;this.YM=[];this.QM=[];this.jW=[]};B(IV,F);q=IV.prototype;q.Qsa=GV;q.xl=null;q.dJ=function(){return this.ufa};q.getId=function(){return this.ma};q.registerCallback=function(a,b){return this.fr(this.YM,a,b)};q.Q3=function(a,b){return this.fr(this.QM,a,b)};q.fr=function(a,b,c){b=new HV(b,c);a.push(b);return b};q.Dh=function(){return!!this.xl};
q.Wta=function(a){var b=new this.Qsa;b.initialize(a());this.xl=b;b=(b=!!this.uG(this.jW,a()))||!!this.uG(this.YM,a());b||(this.QM.length=0);return b};q.Gta=function(a){(a=this.uG(this.QM,a))&&window.setTimeout(Ls("Module errback failures: "+a),0);this.jW.length=0;this.YM.length=0};q.uG=function(a,b){for(var c=[],e=0;e<a.length;e++)try{a[e].execute(b)}catch(f){lt(f),c.push(f)}a.length=0;return c.length?c:null};q.o=function(){IV.c.o.call(this);G(this.xl)};var JV=function(){F.call(this);this.wl={};this.Xj=[];this.hk=[];this.Wv=[];this.Le=[];this.qx=[];this.ey={};this.pV=this.Zx=new IV([],"");this.Wpa=new CH;this.F=vv("goog.module.ModuleManager");this.$da=this.nT=!1;this.y1=null;this.vy=0;this.g$=this.V0=!1;this.Lq=null};B(JV,F);Rq(JV);q=JV.prototype;q.Gf=function(a){return this.wl[a]};q.Nja=function(){return this.Lq};q.kAa=function(a){this.Lq=a;this.wsa()};q.Rb=function(){return 0<this.Xj.length};q.sra=function(){return 0<this.qx.length};
q.Im=function(){var a=this.V0,b=this.Rb();b!=a&&(this.Nk(b?ne:"idle"),this.V0=b);a=this.sra();a!=this.g$&&(this.Nk(a?"userActive":"userIdle"),this.g$=a)};q.s3=function(a,b){var c=new CH;window.setTimeout(y(this.Vba,this,a,c),b||0);return c};q.Vba=function(a,b){var c=this.Gf(a);c.Dh()?b.callback(this.Lq):(this.R3(a,c,!1,b),this.ZA(a)||this.ZL([a]))};
q.Sra=function(a,b){var c=[];Cs(a,c);a=[];for(var e={},f=0;f<c.length;f++){var g=c[f],h=this.Gf(g);if(!h)throw Error("Unknown module: "+g);var l=new CH;e[g]=l;h.Dh()?l.callback(this.Lq):(this.R3(g,h,!!b,l),this.ZA(g)||a.push(g))}0<a.length&&this.ZL(a);return e};q.R3=function(a,b,c,e){b.registerCallback(e.callback,e);b.Q3(function(a){e.sg(Error(a))});this.ZA(a)?c&&(K(this.F,Xd+a),this.Hx(a),this.Im()):c?(K(this.F,Yd+a),this.Hx(a)):K(this.F,Zc+a)};
q.ZL=function(a){this.$da?this.Wpa.ua(y(this.uB,this,a)):rs(this.Xj)?this.uB(a):(this.Le.push(a),this.Im())};q.fia=function(){return 5E3*Math.pow(this.vy,2)};q.uB=function(a,b,c){b||(this.vy=0);b=this.Fva(a);K(this.F,"Loading module(s): "+b);this.Xj=b;this.hk=this.nT?a:ys(b);this.Im();rs(b)||(this.Wv.push.apply(this.Wv,b),a=y(this.y1.TNa,this.y1,ys(b),this.wl,null,y(this.Wma,this,this.hk,b),y(this.Xma,this),!!c),(c=this.fia())?window.setTimeout(a,c):a())};
q.Fva=function(a){for(var b=0;b<a.length;b++)if(this.wl[a[b]].Dh())throw Error("Module already loaded: "+a[b]);var c=[];for(b=0;b<a.length;b++)c=c.concat(this.pY(a[b]));Cs(c);return!this.nT&&1<c.length?(b=c.shift(),K(this.F,"Must load "+b+" module before "+a),this.Le=hs(c,function(a){return[a]}).concat(this.Le),[b]):c};
q.pY=function(a){var b=[];qs(this.Wv,a)||b.push(a);for(a=ys(this.Gf(a).dJ());a.length;){var c=a.pop();this.Gf(c).Dh()||qs(this.Wv,c)||(b.unshift(c),Array.prototype.unshift.apply(a,this.Gf(c).dJ()))}Cs(b);return b};q.wsa=function(){this.pV==this.Zx&&(this.pV=null,this.Zx.Wta(y(this.Nja,this))&&this.PH(4),this.Im())};q.ZA=function(a){if(qs(this.Xj,a))return!0;for(var b=0;b<this.Le.length;b++)if(qs(this.Le[b],a))return!0;return!1};
q.Et=function(a,b,c,e,f,g){var h=this.wl[a];h.Dh()?(K(this.F,a+" module already loaded"),b=new HV(b,c),g?b.execute(this.Lq):window.setTimeout(y(b.execute,b),0)):this.ZA(a)?(K(this.F,a+" module already loading"),b=h.registerCallback(b,c),f&&(K(this.F,Xd+a),this.Hx(a),this.Im())):(K(this.F,"Registering callback for module: "+a),b=h.registerCallback(b,c),e||(f&&(K(this.F,Yd+a),this.Hx(a)),K(this.F,Zc+a),this.ZL([a])));return b};q.load=function(a,b){return this.Sra([a],b)[a]};
q.Hx=function(a){qs(this.qx,a)||this.qx.push(a)};q.Wma=function(a,b,c){this.vy++;this.hk=a;D(b,cr(vs,this.Wv),this);401==c?(K(this.F,"Module loading unauthorized"),this.PH(0),this.Le.length=0):410==c?(this.JN(3),this.$L()):3<=this.vy?(K(this.F,"Aborting after failure to load: "+this.Xj),this.JN(1),this.$L()):(K(this.F,"Retrying after failure to load: "+this.Xj),this.uB(this.hk,!0,8001==c))};q.Xma=function(){K(this.F,"Aborting after timeout: "+this.Xj);this.JN(2);this.$L()};
q.JN=function(a){1<this.hk.length?this.Le=hs(this.hk,function(a){return[a]}).concat(this.Le):this.PH(a)};
q.PH=function(a){var b=this.hk;this.Xj.length=0;for(var c=[],e=0;e<this.Le.length;e++){var f=gs(this.Le[e],function(a){var c=this.pY(a);return ks(b,function(a){return qs(c,a)})},this);zs(c,f)}for(e=0;e<b.length;e++)ts(c,b[e]);for(e=0;e<c.length;e++){for(f=0;f<this.Le.length;f++)vs(this.Le[f],c[e]);vs(this.qx,c[e])}var g=this.ey.error;if(g)for(e=0;e<g.length;e++){var h=g[e];for(f=0;f<c.length;f++)h(ph,c[f],a)}for(e=0;e<b.length;e++)this.wl[b[e]]&&this.wl[b[e]].Gta(a);this.hk.length=0;this.Im()};
q.$L=function(){for(;this.Le.length;){var a=gs(this.Le.shift(),function(a){return!this.Gf(a).Dh()},this);if(0<a.length){this.uB(a);return}}this.Im()};q.registerCallback=function(a,b){x(a)||(a=[a]);for(var c=0;c<a.length;c++)this.fr(a[c],b)};q.fr=function(a,b){var c=this.ey;c[a]||(c[a]=[]);c[a].push(b)};q.Nk=function(a){for(var b=this.ey[a],c=0;b&&c<b.length;c++)b[c](a)};q.o=function(){JV.c.o.call(this);Bu(Ws(this.wl),this.Zx);this.ey=this.Le=this.qx=this.hk=this.Xj=this.wl=null};var KV=function(a,b){var c=this.la();ZU.call(this,a,c+"-root",c+"-frame",c+Ia,this.mJ(),b);b=this.A();b.listen(a.ce,zn,this.hoa);b.listen(a.X,"E",this.xBa)};B(KV,ZU);q=KV.prototype;q.nG=function(a,b){a=a||this.getContext().v.ui();if(x(a))for(var c=a.length,e=0;e<c;e++){var f=a[e];if(x(f))this.ZG(f,b);else if(Vq(f)&&x(f.root)){var g=this.ZG(f.root,b,f.options,!0);g&&this.nG(f.items,g)}}};q.Am=function(a){var b=a[0];return b?RU(b,a[1],a[2]):null};
q.t3=function(a){a&&(a=UU(a,this.getContext().v),"opc"!=a&&JV.H().s3(a))};q.wg=function(a,b){return v(b[1])?b[1]:a&&a.getName()||""};q.hoa=function(a){a=this.Am(a.data.view);(a=this.XX(a))&&this.Ow(a)};q.XX=function(a,b){b=b||this.getContext().v.ui();if(x(b))for(var c=b.length,e=0;e<c;e++){var f=b[e];if(x(f)){if(f=this.Am(f),f.ad(a))return f}else if(Vq(f)){var g=f.root;if((g=g?this.Am(g):null)&&a.ad(g))return g;if(f=this.XX(a,f.items))return f}}return null};
q.Ow=function(a){a&&(this.getContext().X.Kb(a),this.pn(a),this.h6(!0))};q.Kz=function(a){a=a||this.getContext().v.ui();for(var b=0;b<a.length;b++){var c=a[b],e=null;x(c)?e=this.Am(c):Vq(c)&&(e=this.Am(c.root)||this.Kz(c.items));if(e)return e}return null};q.xBa=function(a){this.h6(a.visible)};var LV=function(a){return"@"+W(a.prefix)+"-keyframes "+W(a.q5)+" {0% {background-position: 0 0;} 100% {background-position: -20px 0;}} ."+W("picker-photosuploadview-progress")+" ."+W(Im)+", ."+W("picker-photosuploadview-actionpane")+" ."+W(Im)+", ."+W("picker-doc-upload-control-progress")+" ."+W(Im)+", ."+W(Ll)+" ."+W(Im)+", ."+W("new-upload-box")+" ."+W(Im)+" {-webkit-animation-name: "+W(a.q5)+"; -moz-animation-name: "+W(a.q5)+";}"};LV.ra="picker.ui.templates.appview.progressBar";
var MV=function(){return DF('<div id="docs-aria-speakable" class="'+X("picker-offscreen")+'" aria-live="assertive" role="region" aria-atomic="true"></div>')};MV.ra="picker.ui.templates.appview.ariaLiveRegion";var NV=function(){};B(NV,iD);Rq(NV);q=NV.prototype;q.S=function(){return"goog-tab"};q.wd=function(){return"tab"};q.g=function(a){var b=NV.c.g.call(this,a);(a=a.zg())&&this.Wc(b,a);return b};q.R=function(a,b){b=NV.c.R.call(this,a,b);var c=this.zg(b);c&&a.Fr(c);a.Rd()&&(c=a.getParent())&&Uq(c.Tl)&&(a.setState(8,!1),c.Tl(a));return b};q.zg=function(a){return a.title||""};q.Wc=function(a,b){a&&(a.title=b||"")};var OV=function(a,b,c){mD.call(this,a,b||NV.H(),c);this.tb(8,!0);this.tw(9,!0)};B(OV,mD);OV.prototype.zg=function(){return this.kb};OV.prototype.Wc=function(a){this.M.Wc(this.b(),a);this.Fr(a)};OV.prototype.Fr=function(a){this.kb=a};eD("goog-tab",function(){return new OV(null)});var PV=function(){this.sm="tablist"};B(PV,gD);Rq(PV);q=PV.prototype;q.S=function(){return"goog-tab-bar"};q.vP=function(a,b,c){this.A1||this.Cea();var e=this.A1[b];e?a.v6(e):PV.c.vP.call(this,a,b,c)};q.Zd=function(a){var b=PV.c.Zd.call(this,a);this.jy||this.HU();b.push(this.jy[a.Yra]);return b};q.HU=function(){var a=this.S();this.jy={top:a+"-top",bottom:a+"-bottom",start:a+"-start",end:a+"-end"}};q.Cea=function(){this.jy||this.HU();this.A1=ft(this.jy)};var QV=function(a,b,c){this.v6(a||up);sD.call(this,this.Sc,b||PV.H(),c);this.p1()};B(QV,sD);q=QV.prototype;q.jT=!0;q.Oh=null;q.B=function(){QV.c.B.call(this);this.p1()};q.o=function(){QV.c.o.call(this);this.Oh=null};q.removeChild=function(a,b){this.zH(a);return QV.c.removeChild.call(this,a,b)};q.v6=function(a){this.setOrientation(a==Uo||a==nh?$p:Li);this.Yra=a};q.Bya=function(a){this.jT=a};q.QO=function(a){QV.c.QO.call(this,a);this.jT&&this.PAa(a)};q.Tl=function(a){a?a.ag(!0):this.Oh&&this.Oh.ag(!1)};
q.PAa=function(a){this.Tl(this.pa(a))};q.zH=function(a){if(a&&a==this.Oh){for(var b=this.De(a),c=b-1;a=this.pa(c);c--)if(this.H0(a)){this.Tl(a);return}for(b+=1;a=this.pa(b);b++)if(this.H0(a)){this.Tl(a);return}this.Tl(null)}};q.H0=function(a){return a.N()&&a.isEnabled()};q.Aoa=function(a){this.Oh&&this.Oh!=a.target&&this.Oh.ag(!1);this.Oh=a.target};q.Boa=function(a){a.target==this.Oh&&(this.Oh=null)};q.yoa=function(a){this.zH(a.target)};q.zoa=function(a){this.zH(a.target)};
q.Be=function(){this.Ff()||this.Jc(this.Oh||this.pa(0))};q.p1=function(){this.A().listen(this,mn,this.Aoa).listen(this,"unselect",this.Boa).listen(this,"disable",this.yoa).listen(this,Ii,this.zoa)};eD("goog-tab-bar",function(){return new QV});var RV=function(a,b){XU.call(this,a,b);this.gU=this.rf=null};B(RV,XU);RV.prototype.via=function(){return this.getContext().v.Dd()?"picker-min-close-icon":mm};RV.prototype.g=function(){var a=this.j(),b=a.g(d,Rl);this.Na(b);this.gU=a.g(d,this.via(!1));this.rf=oG(this.gU,a);this.rf.render(b);this.rf.XD(!0);this.rf.Wc(fc)};RV.prototype.B=function(){RV.c.B.call(this);this.A().listen(this.rf,k,this.Ola)};RV.prototype.Ola=function(){this.getContext().vb.Vi()};var SV=function(a,b){KV.call(this,a,b);this.bm=[];this.hd=new $D(void 0,void 0,void 0,b)};B(SV,KV);q=SV.prototype;q.la=function(){return"picker-navpane-horizontal"};q.mJ=function(){return up};
q.g=function(){SV.c.g.call(this);var a=this.j();this.qn=a.g(d,{"class":"picker-navpane-horizontal-tab-bar-wrapper",id:vC.H().Nd()});var b=this.DV=this.YU();this.nG(void 0,b);this.PB=a.createTextNode("M\u00e1s");this.hd.g();this.hd.eb(a.g(d,void 0,this.PB,a.g(d,im)));b.ca(this.hd,!0);this.hd.C(!1);SB(this.hd.b(),"tab");this.xb(50);this.Sa.appendChild(this.qn);b=this.getContext().v;!b.Pd()&&b.Pm&&(this.rf=new RV(this.getContext(),a),this.ca(this.rf,!1),this.rf.g(),a.append(this.Sa,this.rf.b()))};
q.B=function(){SV.c.B.call(this);this.Zda();this.UP(this.DV);this.DC();this.A().listen(this.hd.Qa(),k,this.xu).listen(this.j().getWindow(),Vm,this.Kj);D(this.bm,function(a){var b=a.b();this.A().listen(a,k,this.xoa).listen(b,Ih,y(this.jn,this,!0)).listen(b,rf,y(this.jn,this,!1))},this)};q.jn=function(a,b){lC(b.target,"picker-navpane-horizontal-focused",a)};
q.ZG=function(a,b,c,e){var f=this.SU(a,b,c);if(f&&e){e=this.YU();f.Dc(e);if(a=this.SU(a,e,c,!0))U(a.b(),"picker-navpane-horizontal-parent-tab"),a.Dc(b);return e}return f};
q.SU=function(a,b,c,e){c=this.Am(a);this.getContext();this.t3(c);var f=this.j();a=this.wg(c,a);if("-"==a)f=new OV("",void 0,f),f.U(!1),f.wk("picker-navpane-horizontal-divider"),f.g(),f.b().removeAttribute(Ym);else{var g=HS().Ge()?"picker-spr-back-folder-rtl":"picker-spr-back-folder-ltr";g=f.g(d,"picker-navpane-horizontal-back-icon "+g);g=f.g(d,"picker-navpane-horizontal-tabcontent",e?g:a);f=new OV(g,void 0,f);f.g();e&&a&&(e="Volver de "+a,a=f.b(),pF(a,e,void 0))}f.Dc(c);b&&(b.ca(f,!0),1==b.Xa()&&
f.ag(!0));return f};q.pn=function(a){a&&(D(this.bm,function(b){b.Ia(function(c){if(c.N()&&c.isEnabled()){var e=c.$;e instanceof AU&&a.ad(e)&&b.Tl(c)}})},this),this.hd.b()&&(this.t4(),this.hd.Qa().Ia(function(b){var c=b.getValue().$;c&&c instanceof AU&&a.ad(c)&&(b.ag(!0),Ny(this.PB,b.pi()),lC(this.hd.b(),Ul,!0),(b=this.OJ())&&b.Tl(null))},this)))};q.xoa=function(a){this.KZ(a.target)};q.xu=function(a){this.KZ(a.target.getValue())};
q.KZ=function(a){a=a.$;if(a instanceof QV){var b=a;this.UP(b);b=b.pa(b==this.DV?0:1);b instanceof OV&&(a=b.$);this.t4()}a instanceof AU&&(this.Ow(a),this.pn(a));this.DC()};q.Kj=function(){this.Wr[this.qn.id]=hA(this.qn).width;this.DC();this.pn(this.getContext().X.Vb)};q.L7=function(a){var b=a?"":"0px";fA(this.Sa,b);eA(this.Sa,b);Rz(this.Sa,a?"":"-9500px","");(b=this.OJ())&&b.Me(a)};
q.YU=function(){var a=this.j(),b=new QV(void 0,void 0,a);b.Bya(!1);b.g();a.appendChild(this.qn,b.b());this.qs(b);this.bm.push(b);return b};q.UP=function(a){D(this.bm,function(b){b.C(b==a)},this);var b=this.hd.getParent();b!=a&&(b.removeChild(this.hd,!0),a.ca(this.hd,!0))};
q.DC=function(){var a=this.OJ();if(a){a.Ia(function(a){a.C(!0)});this.hd.C(!1);var b=this.hd.Qa();b.Ke(!0);var c=this.Wr[this.qn.id];if(c){for(var e=0,f=0,g=a.Xa()-1;0<=g;--g){var h=a.pa(g);if(h.N())if(TV(a,this.Wr,e,c)){var l=h.b();h.C(!1);Vy(l)&&(l=new wD(Vy(l),h),l.Gw(!0),b.pe(l,0,!0));f=Math.max(f,this.Wr[h.getId()]);h=vA(this.hd.b());isNaN(h.left)||isNaN(h.right)||(e=f+h.left+h.right)}else break}0<b.Xk()?(this.hd.C(!0),U(b.b(),"picker-horizontal-navpane-more-menu")):this.hd.C(!1)}}};
var TV=function(a,b,c,e){var f=0;a.Ia(function(a){a.N()&&(f+=b[a.getId()])});f+=c;return f>=e};q=SV.prototype;q.OJ=function(){for(var a=0;a<this.bm.length;++a){var b=this.bm[a];if(b.N())return b}return null};q.Zda=function(){this.Wr={};D(this.bm,function(a){a.Ia(function(a){var b=a.b(),e=hA(b).width;b=vA(b);isNaN(b.left)||isNaN(b.right)||(e=e+b.left+b.right);this.Wr[a.getId()]=e},this)},this);this.Wr[this.qn.id]=hA(this.qn).width};
q.t4=function(){this.PB&&this.hd.b()&&(Ny(this.PB,"M\u00e1s"),lC(this.hd.b(),Ul,!1))};q.Ow=function(a){a&&(this.sCa(a),this.DC(),SV.c.Ow.call(this,a))};q.sCa=function(a){D(this.bm,function(b){b.Ia(function(c){c=c.$;c instanceof AU&&a.ad(c)&&this.UP(b)},this)},this)};var UV=function(a,b,c){VD.call(this,a,b||WD.H(),c)};B(UV,VD);eD(ci,function(){return new UV(null)});var VV=function(){};B(VV,EG);Rq(VV);VV.prototype.S=function(){return hi};eD(hi,function(){return new VD(null,VV.H())});var XV=function(a,b){XU.call(this,a,b);this.Gc=null;this.ya=WV(a.v)};B(XV,XU);XV.prototype.g=function(){if(this.ya){var a=this.j(),b=a.g(d,"picker-learnmore",a.g(td,"picker-spr-questionmark"));this.Na(b);this.Gc=new UV(jd,VV.H(),a);this.ca(this.Gc,!0)}else XV.c.g.call(this)};XV.prototype.B=function(){XV.c.B.call(this);this.Gc&&this.A().listen(this.Gc,k,this.Rma)};XV.prototype.getUrl=function(){return this.ya};XV.prototype.Rma=function(){this.ya&&lB(this.ya,{target:de})};
var WV=function(a){a=a.Gra;var b="&hl="+HS().Qf;if(!isNaN(parseInt(a,10)))return"https://www.google.com/support/websearch/bin/answer.py?answer="+a+b;if(v(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 YV=function(){this.n4={};this.m4=0};q=YV.prototype;q.format=function(a){var b=[],c=xr("SafeHtmlFormatter:");a=xr(a).replace(new RegExp("\\{"+c+"[\\w&#;]+\\}","g"),y(this.Wwa,this,b));C(0==b.length,"Expected no unclosed tags, got <"+b.join(">, <")+">.");return qx(a,null)};
q.Wwa=function(a,b){var c=this.n4[b];if(!c)return b;b="";c.Tr&&(b+="<"+c.Tr+c.attributes+">",!0===rw[c.Tr.toLowerCase()]||a.push(c.Tr.toLowerCase()));c.t_&&(b+=c.t_);c.Jp&&(b+="</"+c.Jp+">",a=a.pop(),C(a==c.Jp.toLowerCase(),"Expected </"+a+">, got </"+c.Jp+">."));return b};q.Tr=function(a,b){xx(a);return this.qQ({Tr:a,attributes:Ex(a,b)})};q.Jp=function(a){xx(a);return this.qQ({Jp:a})};q.text=function(a){return this.qQ({t_:xr(a)})};
q.qQ=function(a){this.m4++;var b="{SafeHtmlFormatter:"+this.m4+"_"+Jr()+"}";this.n4[xr(b)]=a;return b};var ZV=function(a,b,c,e){mD.call(this,null,c,e);this.P=a;this.Oy=b;this.tb(16,!0);this.tw(16,!0)};B(ZV,mD);q=ZV.prototype;q.K=function(){return this.Oy};q.getContext=function(){return this.P};q.B=function(){ZV.c.B.call(this);this.A().listen(this.b(),Eg,this.mA)};q.update=function(){this.P.ba.K(this.Oy.getId())&&this.Xh(this.Oy.getId())};q.Xh=function(a){this.Oy=this.P.ba.K(a)};q.mA=function(){this.dispatchEvent(Eg)};q.VM=Qq;var $V=function(a,b){H.call(this,"H",a);this.Vj=b||0};B($V,H);var aW=function(a,b){var c=$R(a);a=$z(a,c);xz.call(this,[0,c.scrollTop],[0,a.y],b||200,VA);this.Fa=c};B(aW,xz);aW.prototype.Bv=function(){aW.c.Bv.call(this);this.Fa.scrollTop=this.coords[1]};var bW=function(a,b,c,e){ZV.call(this,a,b,c,e);this.GA=!1};B(bW,ZV);q=bW.prototype;q.B=function(){bW.c.B.call(this);this.A().listen(this.fu(),Hj,this.Mma)};q.FB=function(){this.GA=!0};q.J1=function(){this.GA=!1};q.Kqa=function(){return this.GA};q.dxa=function(){this.dispatchEvent(new $V(this));(new aW(this.b())).play()};
q.Mma=function(a){switch(a.keyCode){case 38:case 40:case 37:case 39:return this.Ala(a),!0;case 32:return this.toa(a),!0;case 13:if(!this.lma(a))return a.preventDefault(),a.stopPropagation(),!0}return!1};q.Ala=function(a){this.dispatchEvent(new $V(this,a.keyCode));a.preventDefault();a.stopPropagation()};q.toa=function(a){this.isEnabled()&&this.bx();a.preventDefault()};q.lma=function(){return this.pb(64)?(this.Hb(!0),this.Hb(!1),!1):!0};
q.bx=function(){if(this.pb(16)){var a=this.getContext();a.Ma.bx(this.K().getId(),a.v.TB?"cb":"cl")}};q.wc=function(a){return 13!=a.keyCode?bW.c.wc.call(this,a):!1};var cW=function(a,b){UN.call(this,b);this.gfa=E&&!QL?"picker-progress-bar-spinner":a};B(cW,UN);cW.prototype.B=function(){cW.c.B.call(this);U(this.b(),this.gfa);SB(this.b(),Xo)};cW.prototype.g=function(){cW.c.g.call(this);var a=this.b();a&&(UB(a,Yp),T(a,ff,!0),T(a,Vj,ym),ZB(a,Jb))};cW.prototype.setValue=function(a){cW.c.setValue.call(this,a);var b=this.b();if(b)switch(UB(b,Yp),T(b,ff,!0),T(b,Vj,ym),a){case 0:ZB(b,Jb);break;case 100:ZB(b,"Acci\u00f3n completada")}};var dW=function(a){this.$ea=a;this.gG=null};B(dW,iD);q=dW.prototype;q.tc=function(){return!1};q.S=function(){return this.$ea};q.Bd=function(a){dW.c.Bd.call(this,a);a.pb(16)&&T(a.b(),Hf,!1)};q.wd=function(){return jl};q.AX=function(){this.gG||(this.gG=new AF(HS().Ge()));return this.gG};Lr(RL,"9.0.0");var eW=["transform","WebkitTransform","msTransform","OTransform","MozTransform"],gW=function(a,b,c){var e=!1;D(eW,function(b){f||c&&"MozTransform"==b||(f=a.style[b])});if(!f&&!b){var f=a.style.filter;e=!0}if(f&&(b=f.search("rotat"),0<=b)){b=f.substr(b);var g=b.search("[)]");e=e?90:1;e*=b.substr(0,g).replace(/\D/g,"");return fW(e)}return 0},fW=function(a){0>a?a+=360:360<=a&&(a-=360);return a};var hW=function(a,b,c,e){a=rx(a);eE.call(this,a,c,e);this.hL=this.An=!1;this.Ho=b};B(hW,gE);q=hW.prototype;q.iS=function(a){this.Ho?this.dispatchEvent("L"):this.Ad()&&this.Fh&&a.target.getAttribute(zp)!=th&&(this.e0()&&this.Md()?this.collapse():(this.expand(),this.pa(0).iS(a)))};q.e0=function(){return ks(this.Pc(),function(a){return a instanceof hW&&(a.An||a.e0())})};q.B=function(){hW.c.B.call(this);this.A().listen(this.Od(),zk,this.mC);this.A().listen(this.Od(),yk,this.UM)};
q.nY=function(){if(this.Ad()&&this.Md()){for(var a=this.si();a&&!a.bq();)a=a.fe;return a?a:this}a=this;for(var b=this;a!=this.zd();){do if((b=b.fe)&&b.bq())return b;while(b);b=a=a.getParent()}return null};q.EJ=function(){var a=this;do if(a=a.Ei){var b=a.xJ();if(b&&b.bq())return b}while(a);a=this.getParent();b=this.zd();return b.Yl||a!=b?a:null};
q.bn=function(){var a=hW.c.bn.call(this);this.getParent()==this.zd()&&(a+=" picker-navpaneitem-root");this.bq()?(this.An&&(a+=" picker-navpaneitem-active"),this.hL&&(a+=" picker-navpaneitem-hover")):a+=ha;return a};q.bq=function(){return!!this.Ho&&v(this.qJ())||this.Ad()};q.getToken=function(){return this.Ho};q.lC=function(a){this.bq()&&(hW.c.lC.call(this,a),this.iS(a))};q.Dv=function(a){!this.Ho&&this.Ad()&&this.Fh||hW.c.Dv.call(this,a)};q.mC=function(){this.hL=!0;this.hx()};
q.UM=function(){this.hL=!1;this.hx()};
q.select=function(){hW.c.select.call(this);var a=this.Od(),b=$R(a);if(b){if(a&&b&&a.parentNode&&b.parentNode&&1==a.parentNode.nodeType&&1==b.parentNode.nodeType){var c=hA(a);var e=bA(a),f=bA(b),g=gW(a,!0,!1);if(90==g||270==g)if(g=c.height,c.height=c.width,c.width=g,Ft&&!Xt("12")){g=Math.round(c.width/2);var h=Math.round(c.height/2);e.x=e.x+h-g;e.y=e.y-h+g}e=new $x(e.x-f.x,e.y-f.y);f=b.clientWidth;HS().Ge()&&(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 Jz(e.x,e.y,c.width,c.height)}else c=new Jz(0,0,0,0);a=vA(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)}};q.setActive=function(a){this.An=a;this.hx()};var iW=function(){hW.call(this,"",null)};B(iW,hW);iW.prototype.B=function(){iW.c.B.call(this);this.Rh(zx("hr",{"class":"picker-nav-hr"}));U(this.b(),"picker-navpanedivider")};iW.prototype.bq=function(){return!1};iW.prototype.Az=function(){return"picker-navpanedivider-icon"};var jW=function(a,b,c){iE.call(this,a,b,c)};B(jW,iE);jW.prototype.ec=function(a){return 13==a.keyCode&&this.xa()&&this.xa().lC(a)?(a.preventDefault(),!0):jW.c.ec.call(this,a)};var kW=function(a,b){KV.call(this,a,b);this.Gc=new XV(a,b);this.Y(this.Gc)};B(kW,KV);q=kW.prototype;q.wU=!1;q.la=function(){return Zl};q.mJ=function(){return Rj};
q.g=function(){kW.c.g.call(this);var a=this.getContext(),b=this.j(),c={};ht(c,jE);c.IG="//ssl.gstatic.com/docs/picker/images/cleardot-v1.gif";c.hH+=" picker-navpaneitem";c.iH+=fa;c.Dy+=ha;c.Ws+=ha;c.jV=im;c.kV="picker-spr-arrow-dk-grey";this.aa=new jW(rx($m),c,b);this.aa.rP(!1);this.aa.X6(!1);this.aa.sP(!1);this.qs(this.aa);this.aa.g();var e=this.Sa;e.appendChild(this.aa.b());this.nG();a.ie.ua(function(a){if(a.k0){var c=b.g(d,"picker-buildlabel");this.Gc.getUrl()&&Q(c,uf,"50px");if(HS().isNative())c.appendChild(b.createTextNode(Ik));
else{var f=a.N4;f&&(c.appendChild(b.createTextNode(f)),c.appendChild(b.g("BR")));if(a=a.vT)c.appendChild(b.createTextNode(a)),c.appendChild(b.g("BR"));a=(new $y(window.location.href)).T("clientdebugon",yp).toString();f=b.g("A",{"class":"picker-buildlabel-a",tabIndex:-1},"DEBUG");Wx(f,a);c.appendChild(f)}e.appendChild(c);this.wm=c}},this);this.Gc.getUrl()&&(this.Gc.g(),this.qs(this.Gc),e.appendChild(this.Gc.b()));this.xb(180)};
q.ZG=function(a,b,c){var e=this.Am(a);this.getContext();this.t3(e);a=this.wg(e,a);if("-"==a)return b=new iW,this.aa.add(b),b;e=new hW(a,e,this.aa.v,this.j());!c||c.collapsible!=uh&&c.collapsible!=Nf?e.ID(!1):(this.wU=!0,c.collapsible==uh&&e.expand());this.A().ql(e,"L",this.Lma,!1,this);b?b.add(e):this.aa.add(e);return e};q.B=function(){kW.c.B.call(this);this.Hq()};
q.Hq=function(){var a=sA(this.Sa);if(0>=a.height)M(y(this.Hq,this),10);else{var b=rA(this.aa.b());a.height-=b.top+b.bottom;this.Gc.getUrl()&&(b=pA(this.Gc.b()),a.height-=b.height);this.wm&&(a.height-=pA(this.wm).height);fA(this.aa.b(),a.height);this.wU&&U(this.aa.b(),"picker-navpane-hascollapse")}};q.pn=function(a){this.xK(a)};
q.xK=function(a,b){if(this.aa)if(!b&&this.aa.Pc().length)this.aa.Ia(function(b){this.xK(a,b)},this);else{var c=b.getToken();a&&c&&a.ad(c)&&a.getName()==c.getName()?((c=this.aa.xa())&&c!=this.aa&&c.setActive(!1),b.setActive(!0),this.aa.Bb(b)):c&&b.setActive(!1);b.Ia(function(b){this.xK(a,b)},this)}};q.Lma=function(a){(a=a.target)&&a!=this.aa&&(this.getContext().X.Kb(a.getToken()),this.pn(a.getToken()))};var lW=function(a,b,c,e,f){e?(this.Ue=c.g(d,"goog-inline-block picker-spr-circle"),a=[this.Ue,a]):a=f?[c.g(d,gi+f),a]:[a];wD.call(this,a,b,c)};B(lW,wD);lW.prototype.ag=function(a){this.V&&(lC(this.b(),"picker-selected",a),this.Ue&&(a?(jC(this.Ue,jm),jC(this.Ue,lm),U(this.Ue,km)):(jC(this.Ue,km),jC(this.Ue,lm),U(this.Ue,jm))))};lW.prototype.Bg=function(){this.Jc(!0);if(this.Ue&&!hC(this.Ue,km)){var a=this.Ue;jC(a,jm);U(a,lm)}};
lW.prototype.yu=function(){this.Jc(!1);if(this.Ue&&!hC(this.Ue,km)){var a=this.Ue;jC(a,lm);U(a,jm)}};lW.prototype.PDa=function(){this.Tc(null)};var mW=function(a){var b="",c=(new uU("{NUM_SELECTED,plural, =1{ seleccionado \u00bb}other{ seleccionados \u00bb}}")).Bf({NUM_SELECTED:a.q2});b+=vb+X(fi)+'"><span class="'+X(fi)+" "+X(hm)+'"></span><span class="'+X(fi)+" "+X(gm)+ua+W(a.q2)+'</span><span class="'+X(fi)+" "+X("picker-selnavitem-label")+ua+c+"</span></div>";return DF(b)};mW.ra="picker.ui.templates.selectednavpaneitem.itemsSelected";var nW=function(a,b,c,e){V.call(this,e);this.P=a;this.zra=b;this.O=c;this.$j=this.eF=null};B(nW,V);q=nW.prototype;q.g=function(){var a=this.j();this.$j=new lW("",this.zra,a);this.ca(this.$j);this.$j.g();this.K9(0);this.Na(a.g(d,"picker-selnavitem",a.g(d,"picker-selnavitem-wrapper",this.$j.b())))};q.K9=function(a){var b=this.j();a=this.P.vi().e4(mW,{q2:a});this.eQ=b.Fc(hm,a);this.hea=b.Fc(gm,a);Rz(this.eQ,0,-14);this.$j.eb(a)};
q.B=function(){nW.c.B.call(this);this.eF=new oQ(null,this.b());this.A().listen(this.P.Ma,"x",this.Au).listen(this.eF,pp,this.H9).listen(this.$j,k,y(function(){this.O.Bb(this.$j);var a=new AU(Al);a.Aa(zp,pn);var b=this.P.X;b.Kb(a);b.ac.setActive(!0)},this));this.O.sc(this.$j)};q.Au=function(){var a=JV.H().Gf(fl).xl.kka(this.P,this.j()).JNa();a!=this.ub&&(this.ub=a,this.aEa(a),this.H9());0==this.ub&&this.O.xa()==this.$j&&this.dispatchEvent("M")};
q.aEa=function(a){this.j().bg(this.eQ,String(a));(new LA(this.hea,[0,14],218,WA)).play();var b=new LA(this.eQ,[0,0],218,WA);this.A().listen(b,nh,function(){this.K9(a)});b.play()};q.H9=function(){this.eF.oqa()||this.eF.Td(!!this.ub)};var oW=function(a){BD.call(this,a)};B(oW,BD);q=oW.prototype;q.wc=function(a){var b=oW.c.wc.call(this,a);b||9!=a.keyCode||(b=a.shiftKey?this.npa():this.mpa())||this.oc(-1);return b};q.Be=function(){this.A().Of(this.b(),Kj,this.wc)};q.Qc=function(){};q.mpa=function(){return this.uq(function(a,b){a++;return a<b?a:-b-2},this.ib)};q.npa=function(){return this.uq(function(a){return a-1},0>this.ib?this.Xa():this.ib)};
q.fy=function(a){return Wz(a.b()).y-Wz(this.b()).y<hA(this.b()).height&&oW.c.fy.call(this,a)};var pW=function(a,b){KV.call(this,a,b);this.$c=new oW(b);this.$c.Pl(!1);this.$c.Me(!0);this.ca(this.$c);this.ih=new BD;this.ih.Pl(!1);this.ih.Me(!0);this.ca(this.ih);this.O=new aE;a.ba.requestData(new fU("c"),y(this.Vma,this),Qq,!0);var c=a.X;this.A().listen(c,"C",this.doa);this.rD=new nW(a,3,this.O,b);this.ca(this.rD);this.MG=(this.fE=a.v.fE)?167:153;this.FV=null};B(pW,KV);q=pW.prototype;q.la=function(){return Zl};q.mJ=function(){return Rj};
q.g=function(){pW.c.g.call(this);this.$c.b()||this.$c.g();this.ih.b()||this.ih.g();var a=this.j();this.rD.g();a.appendChild(this.Sa,a.g(d,null,this.rD.b(),this.$c.b(),this.QB=a.g(d,$l,a.g(d,am,"M\u00e1s","\u00a0","\u25be")),this.SL=a.g(d,$l,a.g(d,am,"Menos","\u00a0","\u25b4")),this.ih.b()));R(this.QB,!1);R(this.SL,!1);this.xb(180)};
q.B=function(){pW.c.B.call(this);this.A().listen(this.$c,k,this.yZ).listen(this.ih,k,this.yZ).listen(this.QB,Kf,y(this.oI,this,!0)).listen(this.SL,Kf,y(this.oI,this,!1)).listen(this.rD,"M",function(){this.$c.pa(0).PDa()});U(this.Sa,"picker-pplnavpane");this.fE&&U(this.Sa,"picker-peoplesearchbar-showroom");U(this.ih.b(),"picker-pplnavpane-additional");this.Q1();var a=this.O.xa();a&&a.ag(!0)};
q.$Ba=function(a){this.FV=a;var b=a.parent;b?this.getContext().ba.requestData(new fU("c"),y(function(a){for(var b=0;b<this.O.Xk();b++){var c=this.O.cd(b),g=c.$;if(g instanceof TT&&g.jb==a){5<b&&(this.oI(!0),(new aW(c.b())).play());this.l5(c);return}}this.getContext().X.Kb(new AU(Al))},this,b),Qq,!1):this.getContext().X.Kb(new AU(Al,void 0,a))};q.Q1=function(){this.V&&6<this.$c.Xa()&&(this.OW=hA(this.$c.b()).height-rA(this.$c.b()).top,R(this.QB,!0),Q(this.$c.b(),ol,Hi),Q(this.$c.b(),Gi,this.MG+n))};
q.oI=function(a){R(this.QB,!a);R(this.SL,a);var b=a?this.MG:this.OW,c=a?this.OW:this.MG;b=new NA(this.$c.b(),b,c,150);a?this.A().listen(b,nh,y(function(){Q(this.$c.b(),ol,lq)},this)):Q(this.$c.b(),ol,Hi);b.play()};
q.Vma=function(a){this.$c.b()||this.$c.g();this.ih.b()||this.ih.g();var b=this.oS("Todos",1);U(b.b(),"picker-pplnavpane-all");D(a.dc(),function(a){this.oS(a.getName(),a,!0)},this);this.O.Bb(b);this.Q1();this.getContext().ba.requestData(new fU("g"),y(function(a){a.dc().length&&this.Nba()},this),Qq)};q.Nba=function(){this.getContext().ie.ua(function(a){this.xba(a.nla,2,"picker-spr-gmail")},this)};q.TU=function(a,b,c,e){a=new lW(a,b,this.j(),c,e);this.O.sc(a);return a};
q.xba=function(a,b,c){a=this.TU(a,b,!1,c);this.ih.ca(a,!0);return a};q.oS=function(a,b,c){a=this.TU(a,b,c);this.$c.ca(a,!0);return a};q.yZ=function(a){this.l5(a.target)};q.l5=function(a){var b=this.O.xa();this.O.Bb(a);var c=this.getContext().X.Vb;c=c?c.clone():new AU(Al,void 0,this.FV);c.setQuery(null);if((a=a.$)&&a instanceof TT)c.Aa(m,a.jb),c.Aa(zp,void 0);else switch(a){case 1:c.Aa(m,void 0);c.Aa(zp,Al);break;case 2:c.Aa(zp,Xh)}this.getContext().X.Kb(c);b||this.getContext().X.ac.setActive(!0)};
q.doa=function(a){a=a.bFa;this.pn(a.getQuery()?null:a)};q.pn=function(a){if(a&&a.qa==Al){var b=a.getOption(m),c=a.getType()==Xh,e=a.getType()==Al&&!b,f=a.getType()==pn;D(this.O.Gj(),function(a){var g=a.$,l=g instanceof TT?g.jb:void 0;(b&&b==l||c&&2===g||e&&1===g||f&&3===g)&&this.O.Bb(a)},this)}else this.O.Bb(null)};var qW=function(a,b){var c=a.v.Dd()?"picker-min-header":"picker-header";ZU.call(this,a,c+"-root",c+"-frame",c+Ia,up,b);this.Xc=this.getContext().v.Pd();this.tQ=this.getContext().v.tQ||this.Xc;this.wm=null};B(qW,ZU);q=qW.prototype;
q.dV=function(a){if(a){var b=this.j(),c=this.Sa,e=b.g(d,{id:"picker:ht","class":Tl,role:"heading"},a);this.getContext().v.Dd()||e.setAttribute("aria-level","1");var f=this.getContext().v.Uka();f&&c.appendChild(b.g(d,"picker-header-icon "+f));c.appendChild(e);this.getContext().v.Ufa&&(e=b.g(d,"picker-header-text picker-dogfood-confidential-text",jc),c.appendChild(e));this.rf=new RV(this.getContext(),b);this.ca(this.rf,!1);this.rf.g();b.append(c,this.rf.b())}this.D4(a)};
q.g=function(){qW.c.g.call(this);this.dV(this.Xc);this.getContext().v.AK&&this.yba()};q.yba=function(){var a=this.j(),b=this.Sa;this.getContext().ie.ua(function(c){if(c.k0&&!HS().isNative()){this.wm=a.g(d,"picker-debug-build-label");var e=c.N4;e&&this.wm.appendChild(a.createTextNode(e+":"));(c=c.vT)&&this.wm.appendChild(a.createTextNode(c));b.appendChild(this.wm)}},this)};
q.B=function(){qW.c.B.call(this);this.getContext().v.Dd()&&(this.A().listen(this.getContext().ce,xn,this.foa),this.A().listen(this.getContext().X,"A",this.Dla))};q.Iw=function(a){var b=this.j(),c=b.Fc(Tl,this.b()),e=this.Xc;(a=a||this.getContext().X.Vb)&&a.getOption(m)&&(e=this.tQ);c?(b.Ke(c),e&&b.appendChild(c,b.createTextNode(e)),this.D4(e)):this.dV(e)};
q.D4=function(a){if(a)if(this.getContext().v.Dd()){var b=this.j().Fc(Tl,this.b());a=pA(b).height;b=vA(b);b.top&&(a+=b.top);b.bottom&&(a+=b.bottom);this.xb(Math.max(a,28))}else this.xb(20);else this.xb(0)};q.foa=function(a){a=a.data.title;v(a)&&(this.Xc=a,this.Iw());(a=this.getContext().X.ac)&&a.Tg()};q.Dla=function(a){this.Iw(a.cx)};vv("goog.debug.ErrorReporter");var rW=function(a,b){if(b.In)return"vmd";if(b.Dd())return null;if(tR(a.qa))return"vd";b=a.getOption(m);var c=a.getQuery();switch(a.qa){case og:return"vco";case Wi:return"vis";case Gl:var e=a.getOption(uk),f=a.getOption(zp);if(a.getOption(Fp)||f==Wh||"moment"==f&&b)break;return f==yf?"vpcs":f==Ki?"vph":f==ak&&!b||!f&&(!b&&!c||e==Zm)?"vpa":"vpf";case Cl:return a.getOption("enableAlbumNavigation")&&b?"vph":"vpa";case Fp:return a.iL()?null:"vup";case Sp:return"vurl";case bq:return"vvs";case cq:return"vv";
case wq:return"vyt"}return null},sW=function(a){if(tR(a.qa))return!0;switch(a.qa){case xf:case If:case og:case "et":case Oh:case hk:case Al:case Cl:case El:case Qm:case cq:case wq:return!0;case Gl:return a.getOption(Fp)?!1:!0}return!1},tW=function(a){switch(a){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 fl:return fl;case el:return el;case gl:return gl;case "opu":return"opu";case "opv":return"opv"}return null},
uW=function(a,b){if(b.In)return"load_mindrive";b=a.qa;if(tR(b))return"load_drive";switch(b){case Gl:if(!a.getOption(Fp))return"load_photos";break;case Cl:case Dl:case El:case cq:return"load_photos"}return Wj};var vW=function(a,b,c){YU.call(this,a,c);this.Id=(this.Lb=b)?a.ba.xd(b):a.ba.CM();this.bt=y(this.Zla,this);this.Gk=[];this.kp=[];this.A().listen(a.Ma,"x",this.Au);this.BW=!1;this.N_=!0;this.Jo=this.XC=!1;this.es=null};B(vW,YU);q=vW.prototype;q.ZH=function(a){this.N_=a};q.xd=function(){return this.Id};q.B=function(){vW.c.B.call(this);if(!this.BW){this.BW=!0;var a=this.Id;a&&a.addListener(this.bt);this.N_&&this.ku()}};q.wI=function(a){var b=this.getContext().v.Iga;return gs(a,function(a){return!b.contains(a.jb)})};
q.My=function(){this.getContext().ba.nc(53)};q.Ofa=function(){this.My();this.getContext().ba.nc(51)};q.Kr=Qq;q.N9=Qq;q.Tg=function(a){!this.Jo&&this.Id&&(a&&(this.Id.t7(),this.Id.PA()),this.Id.Eg()||this.ku())};
q.ku=function(a){var b=this.Lb;if(b&&!this.Jo){var c=this.Id;!c.Eg()||c.el()||c.nn()?(b.setStart&&(b=c.Eg()&&c.el()?c.og:"",parseInt(b,10)?this.Lb.setStart(parseInt(b,10)):this.Lb.setStart(0),this.Lb.sw(b),this.Lb.mo&&(c=c.Eg()&&c.nn()?c.tf:"",this.Lb.mo(c))),this.Jo=!0,this.Wa&&this.Kr(!0),c=y(this.Ht,this,a),a=y(this.Sga,this,a),this.Ri("vdl"),(b=this.getContext().Gh)&&b.OC("lfdls"),this.getContext().ba.requestData(this.Lb,c,a,!0)):this.Ht(a)}};
q.Ht=function(a){this.ji("vdl");var b=this.getContext().Gh;b&&(b.OC("lfdle"),b.HN());if(this.Wa){this.rk(a);if(this.isDisposed())return;this.getContext().vb.o9()}else this.XC=!0;this.Jo=!1;this.Kr(!1)};q.Sga=function(a){this.Jo=!1;this.Kr(!1);this.Rga(a);!this.isDisposed()&&this.getContext().vb.o9()};q.Rga=function(a){this.Ht(a)};
q.setActive=function(a,b){vW.c.setActive.call(this,a,b);this.Wa?((a=this.Id)&&a.t7(),a&&!a.Eg()?this.Tg():this.XC?this.rk(!0):this.dispatchEvent(Cf),this.Jo&&this.Kr(!0)):this.Kr(!1)};
q.rk=function(a){this.XC=!1;var b=this.es;null!==b&&(Yv(b),this.es=null);b=this.wI(this.Id.dc());var c=this.Gk,e=c.length,f=!a&&0<e&&e<=b.length&&ls(b,function(a,b){return!!(b>=e||a.getId()==c[b].getId()||a.getAttribute("oid")==c[b].getId())});this.kp.length&&this.awa();this.Gk=b;f?(a=b.slice(e),a.length?this.appendData(a):this.VZ()):(a||b.length)&&this.yN(b);b.length||(this.Id.Eg()?f||!this.Id.nn()&&!this.Id.el()?this.My():this.VZ():this.Ofa());this.kp=[];this.dispatchEvent("z");this.dispatchEvent(Cf)};
q.VZ=Qq;q.awa=function(){var a=this.kp;Cs(a);D(a,function(a){ks(this.Gk,function(b){return b.getId()==a})&&this.cwa(a)},this);this.kp=[]};q.Sp=function(){return new QG(hs(this.Gk,function(a){return a.getId()}))};q.Fz=function(a){return ds(this.Gk,a)};
q.Zla=function(a,b,c){var e=hs(this.Gk,function(a){return a.getId()});this.kp=xs(this.kp,gs(c,function(a){return qs(e,a)},this));this.Wa?!b.length||a.length||c.length?null===this.es&&(this.es=M(y(this.rk,this,!1),0,this)):D(b,function(a){this.jwa(a);ws(this.Gk,function(b){return b.getId()==a})},this):this.XC=!0};q.Au=function(a){D(a.Rc,this.N9,this)};q.DAa=function(a){this.Lb=a;this.Jo=!1;this.Id.removeListener(this.bt);this.Id=this.getContext().ba.xd(a);this.Id.addListener(this.bt)};
q.o=function(){vW.c.o.call(this);var a=this.Id;a&&a.removeListener(this.bt);this.Lb=this.Id=null;delete this.bt;delete this.Gk;null!==this.es&&Yv(this.es)};var wW=function(){this.sm=void 0};B(wW,gD);Rq(wW);wW.prototype.S=function(){return"picker-dataview"};wW.prototype.g=function(a){a=a.j();return a.g(d,this.S()+Ia,a.g(td))};wW.prototype.J=function(a){return a.firstChild};wW.prototype.wd=function(){return Uj};var xW=function(a,b,c){sD.call(this,a,b||wW.H(),c);this.LO(!0);this.Me(!1);this.sAa(!1);this.$e=-1;this.CK=null};B(xW,sD);q=xW.prototype;q.nka=function(){if(0<=this.De(this.CK)){var a=this.CK.b();if(cA(a,this.b()).x==this.r_)return this.r3}(a=this.pa(this.$e))&&this.L6(a);return this.r3};q.L6=function(a){this.CK=a;a=a.b();this.r_=cA(a,this.b()).x;this.r3=this.r_+a.offsetWidth/2};
q.pe=function(a,b,c){xW.c.pe.call(this,a,b,c);if(a instanceof ZV&&(a.VM(this.De(a)),b<this.Xa()-1))for(c=b+1;c<this.Xa();c++){var e=this.pa(c);e instanceof ZV&&e.VM(c)}a.pb(32)&&(a=a.Zb(),-1==this.$e?(this.$e=b,a.tabIndex=0):(b<=this.$e&&this.$e++,a.tabIndex=-1))};
q.removeChild=function(a,b){var c=v(a)?this.Sk(a):a;if(c){var e=this.De(c);if(c instanceof ZV&&e<this.Xa()-1)for(c=e+1;c<this.Xa();c++){var f=this.pa(c);f instanceof ZV&&f.VM(c-1)}e==this.$e?((c=this.Tp(e,!0))||(c=this.Tp(e,!1)),c?(this.yl(c,!1),0<c&&this.$e--):this.$e=-1):e<this.$e&&this.$e--}return xW.c.removeChild.call(this,a,b)};q.B=function(){xW.c.B.call(this);this.A().listen(this,"H",this.lna)};
q.lna=function(a){var b=a.target;switch(a.Vj){case 0:a=this.De(b);var c=this.$e;a==c&&b.VA()||this.yl(a-c,!0);break;case 38:this.Sc==$p?this.yl(-1,!1):(b=this.jja(b))&&this.yl(b,!1);break;case 40:this.Sc==$p?this.yl(1,!1):(b=this.kja(b))&&this.yl(b,!1);break;case 37:this.Sc==Li&&this.yl(this.Tp(b,HS().Ge()),!0);break;case 39:this.Sc==Li&&this.yl(this.Tp(b,!HS().Ge()),!0)}};
q.Tp=function(a,b){a=typeof a==Rk?a:this.De(a);var c=b?this.Xa():-1;b=b?1:-1;for(var e=a+b;e!=c;e+=b){var f=this.pa(e);if(f.isEnabled()&&f.pb(32))return e-a}return 0};q.jja=function(a){a=this.De(a);if(-1==a)return 0;var b=this.WX(a);if(0!=b){var c=this.Tp(b,!1);if(c)return c=b+c,b=this.WX(c),this.cX(b,c)-a}return 0};q.kja=function(a){a=this.De(a);if(-1==a)return 0;var b=this.hY(a);if(b!=this.Xa()-1){var c=this.Tp(b,!0);if(c)return c=b+c,b=this.hY(c),this.cX(c,b)-a}return 0};
q.WX=function(a){var b=this.pa(a).b();b=bA(b).y;for(--a;0<=a;a--){var c=this.pa(a);if(c.isEnabled()&&(c=c.b(),bA(c).y+c.offsetHeight<=b))return a+1}return 0};q.hY=function(a){var b=this.Xa(),c=this.pa(a).b();c=bA(c).y+c.offsetHeight;for(a+=1;a<b;a++){var e=this.pa(a);if(e.isEnabled()&&(e=e.b(),bA(e).y>=c))return a-1}return b-1};
q.cX=function(a,b){for(var c=bA(this.b()),e=Number.MAX_VALUE,f=a,g=this.nka();a<=b;a++){var h=this.pa(a);if(h.isEnabled())if(h=h.b(),h=bA(h).x-c.x+h.offsetWidth/2,h=Math.abs(g-h),h<e)e=h,f=a;else if(h>e)break}return f};q.yl=function(a,b){try{if(!Ly(this.b(),Zy(this.j().K())))return}catch(f){return}var c=this.$e;if(0<=c){var e=c+a;if(a=this.pa(e)){this.$e=e;c=this.pa(c);c=c.M.Zb(c);Ty(c,!1);c=a.M.Zb(a);Ty(c,!0);try{c.focus(),b&&this.L6(a)}catch(f){}}}};
q.kk=function(){var a=this.pa(this.$e);if(a){a=a.M.Zb(a);try{return a.focus(),!0}catch(b){}}return!1};var yW=function(a,b){V.call(this,b);this.P=a};B(yW,V);yW.prototype.getContext=function(){return this.P};yW.prototype.g=function(){var a=this.j(),b,c=a.g(Fd,null,a.g(Gd,null,a.g(Jd,null,a.g(Hd,null,this.cu()),a.g(Hd,null,b=a.g(td,bm))))),e=this.getMessage();Ky(e)?b.appendChild(e):a.appendChild(b,a.Nh(CE(e)));a=a.g(Fd,"picker-promo-table",a.g(Gd,null,a.g(Jd,null,a.g(Hd,{align:Bf},c))));this.Na(a)};yW.prototype.setActive=function(){var a=this.b();R(a,!0);a=iy("a",void 0,a);if(a=0<a.length?a[0]:null)try{a.focus()}catch(b){}};var zW=function(a,b){yW.call(this,a,b)};B(zW,yW);
zW.prototype.getMessage=function(){var a=this.j(),b=this.getContext().v.p0();return a.g(d,void 0,a.g(d,"picker-promo-title",b?"Comparte fotos en Google+ desde Google Drive":"Adi\u00f3s, archivos adjuntos. Hola, Google Drive"),a.g(d,bm,b?"Puedes guardar todos tus archivos en Google Drive y acceder a ellos desde cualquier lugar y desde cualquier dispositivo. Cuando tengas fotos en Google Drive, las puedes compartir con tus c\u00edrculos de forma inmediata aqu\u00ed.":"Con Google Drive, ya no tendr\u00e1s que enviar ning\u00fan otro documento adjunto por correo electr\u00f3nico. Solo tienes que compartir un enlace a un archivo almacenado en Google Drive y todo el mundo tendr\u00e1 acceso autom\u00e1ticamente al mismo archivo y a la misma versi\u00f3n."))};
zW.prototype.cu=function(){return this.j().g(Vc,{"class":"picker-promo-logo",width:"64",height:"64",src:"//ssl.gstatic.com/docs/picker/images/db07825265y.png"})};Object.values({xaa:1,ZFa:2,xIa:3,BIa:6,Haa:7,FMa:11,zIa:12,IR:13,Oaa:14,yHa:15,AHa:16,zHa:17,BHa:18,M$:19,SR:20,DFa:21,nMa:22});var AW=function(a,b){var c=a.getOption(uk),e=b.v.hW,f=!1;b.ie.ua(function(a){f=!a.i$.gia("dl")});return c==Ci||null==c&&!e&&(a.Ca(Rg)||a.Ca(Sg))||null==c&&e&&f},BW=function(a){if(null==a)return null;var b=a.sd;return"drive.google.com"==b||"docs.google.com"==b?(b=a.getPath(),"/open"==b&&a.mb("id")?a.mb("id"):(a=b.match(/\/file\/d\/([\w|\d]+)\/(edit|preview|view)/))?a[1]:null):null},CW=function(a){var b=RU(a).getName();switch(a){case ue:b="Todos los tipos de archivo"}return b},DW=function(a,b,c){b=
b||a.qa;var e=new AU(b,a.Pd(),dt(a.getOptions()));c&&e.setQuery(null);var f=e;for(a=a.Bc;a;){var g=new AU(b,a.Pd(),dt(a.getOptions()));c&&g.setQuery(null);f.$f(g);f=g;a=a.Bc}return e},EW=function(a){switch(a){case 10:return"Modificado por m\u00ed por \u00faltima vez";case 3:return"\u00daltima modificaci\u00f3n";case 2:return"\u00daltimos abiertos por m\u00ed";case 8:return"Nombre";case 15:return"Reciente";case 5:return"Relevancia";case 9:return"Fecha en que se comparti\u00f3"}return""},FW=function(a){a=
a.Jg;return a==De?"Carpeta":qs(EU,a)?"Imagen":qs(MU,a)?"V\u00eddeo":qs(LU,a)?"Documento":qs(GU,a)?"Presentaci\u00f3n":qs(JU,a)?"Hoja de c\u00e1lculo":qs(CU,a)?"Dibujo":qs(FU,a)?"PDF":qs(DU,a)?"Formulario":qs(KU,a)?"Tabla":qs(IU,a)?zd:qs(HU,a)?"Secuencia de comandos":""},GW=function(a){if(a.getOption(Lo))return a.getOption(Lo);if(a.getQuery())return 5;if(a.jL())return 9;switch(a.qa){case ue:case Vg:case bh:case Lh:case Qh:case zl:case Dm:case Xn:case Ro:case cp:return 3;case Rg:case Sg:case Tg:return 8;
default:return 3}};new FB("EEEE, "+HD.oF+", HH:mm a");new FB("EEEE, "+HD.oF+", HH:mm a "+HD.EF);new FB(2);var HW=new FB(3);new FB(1);var IW=new FB(7),JW=new FB(HD.MR),KW=function(a){if(a){var b=new BB;b.setTime(a)}else b=null;if(432E5>A()-a)b=b?IW.format(b,void 0):"";else{a=b;var c=new Date(A());b=a.getFullYear()==c.getFullYear()?b?JW.format(b,void 0):"":b?HW.format(b,void 0):""}return b};var LW=function(a){dW.call(this,"picker-list-control");this.TB=a};B(LW,dW);
LW.prototype.g=function(a){var b=a.K(),c=a.j(),e=c.g(Jd,Vl);lC(e,"picker-list-control-unselectable",!a.pb(16)&&!a.pb(64));Ty(e,!0);var f=c.g(Hd,"picker-list-control-checkbox-cell picker-list-control-cell");if(a.pb(16)){var g=new NG(void 0,c);g.tb(32,!1);g.render(f);a.Mya(g);Ty(g.b(),!1);U(e,"picker-list-control-tablerow-with-checkbox")}a=c.g(Hd,"picker-list-control-icon-cell picker-list-control-cell");(g=b.rJ())?(g=c.g(Vc,{"class":"picker-list-control-icon-img",src:g}),a.appendChild(c.g(td,"picker-list-control-icon",
g))):a.appendChild(c.createTextNode("\u00a0"));ZB(a,FW(b));g=c.g(Hd,"picker-list-control-name-cell picker-list-control-cell");Vx(g,Cx(this.AX().m8(rx(b.getName()||"")),"\u00a0"));var h=c.g(Hd,"picker-list-control-lastedited-cell picker-list-control-cell");(b=b.Fg)?c.bg(h,KW(b)):c.bg(h,"\u2013");c.append(e,f,a,g,h);return e};LW.prototype.setState=function(a,b,c){LW.c.setState.call(this,a,b,c);if(16==b){var e=a.Hd;e&&M(function(){e.ke(c)})}};
LW.prototype.Xh=function(a){var b=a.b(),c=a.K();a=a.j();if(c.getName()){var e=a.Fc("picker-list-control-name-cell",b);a.Fc(Vl);e&&Vx(e,Cx(this.AX().m8(rx(c.getName()||"")),"\u00a0"))}e=a.Fc("picker-list-control-lastedited-cell",b);var f=c.Fg;f?a.bg(e,KW(f)):e&&a.bg(e,"\u2013");(b=a.Fc("picker-list-control-icon-cell",b))&&ZB(b,FW(c))};var MW=function(a,b,c,e){bW.call(this,a,b,c,e);this.Hd=null};B(MW,bW);MW.prototype.Kf=function(a){!this.pb(64)||!this.isEnabled()||this.Hd&&a.target.className==tj?MW.c.Kf.call(this,a):(this.Hb(!0),this.Hb(!1))};MW.prototype.Mya=function(a){this.Hd=a};MW.prototype.Pp=function(){return this.Hd&&this.Hd.b()};MW.prototype.Xh=function(a){MW.c.Xh.call(this,a);this.M.Xh(this)};var NW=function(){J.call(this);this.oa=Nk};B(NW,J);NW.prototype.setState=function(a){this.oa!=a&&(this.oa=a,this.dispatchEvent(Cf))};NW.prototype.getState=function(){return this.oa};var OW=function(a,b){V.call(this,b);this.Xx="#fff";this.gb=0;this.Vr=a};B(OW,V);var PW={uMa:0,Iaa:1,JGa:2,jaa:3};q=OW.prototype;q.xb=function(a){C(!this.b(),"Cannot setSize after activity indicator is rendered.");this.gb=a};q.g=function(){OW.c.g.call(this);var a=this.j();this.zm=a.g(d);this.x_=a.g(d,"jfk-activityIndicator-icon");var b=["jfk-activityIndicator"];1==this.gb&&b.push("jfk-activityIndicator-small");this.Na(a.g(d,b,this.zm,this.x_))};q.J=function(){return this.zm};
q.B=function(){OW.c.B.call(this);this.A().listen(this.Vr,Cf,this.T4)};q.T4=function(){if(!this.pB||this.pB.complete){this.Ke(!0);var a=this.Hea();this.gva(a);G(this.pB);this.pB=a;this.H6()}};q.gva=function(a){this.ca(a,!0);this.A().Of(a,"O",this.uA);M(cr(this.Eda,a),0,this)};q.Eda=function(a){this.V&&(a.play(),M(function(){!this.isDisposed()&&this.V&&this.RCa&&!this.complete&&this.uA()},500,a))};q.uA=function(a){a=a.target;var b=this.Vr.getState();b==a.state&&"loading"!=b||this.T4();this.H6()};
q.H6=function(){this.x_.style.opacity="offline"==this.Vr.getState()?1:0};q.Hea=function(){var a=this.Xx,b=this.Xx,c=2,e=this.pB;e&&(a=e.yW,b=e.zW,c=e.direction,C(qs(Ws(PW),c)),c=(c+1)%4,C(qs(Ws(PW),c)));e=this.Vr.getState();switch(e){case "loading":var f=QW[c];var g=f[0];f=f[1];break;case Nk:f=g=this.Xx;break;case "offline":g="#999";f="#777";break;default:Vr(Hn)}C(g);C(f);return new RW(e,c,g,a,a,b,g,f,this.gb,this.j())};
var QW={0:["#00B15F","#008948"],1:["#3C78F8","#2159bd"],2:["#FA2424","#9e1212"],3:["#FFD34B","#dea11a"]},RW=function(a,b,c,e,f,g,h,l,p,r){V.call(this,r);this.state=a;this.complete=!1;this.direction=b;this.HCa=c;this.xga=e;this.ICa=f;this.OCa=g;this.yW=h;this.zW=l;this.iy=1==p?16:19};B(RW,V);q=RW.prototype;
q.g=function(){RW.c.g.call(this);var a=this.b(),b=this.j();U(a,"jfk-activityIndicator-circle-transition");var c=b.g(d,mj),e=b.g(d,mj);C(a);b.append(a,c,e);a=b.g(d,lj);b.appendChild(c,a);Q(a,mf,this.HCa);var f=b.g(d,lj);b.appendChild(e,f);Q(f,mf,this.xga);var g=b.g(d,lj),h=b.g(d,lj);b.appendChild(c,g);b.appendChild(e,h);Q(g,mf,this.ICa);Q(h,mf,this.zW);this.yj=g;this.Ki=h;this.kz=a;this.$N=f;this.Mt=c;this.gw=e;this.gBa(this.direction);U(g,"jfk-activityIndicator-transition");U(h,"jfk-activityIndicator-transition-second")};
q.gBa=function(a){var b=this.iy+n,c=Math.ceil(this.iy/2)+n,e="-"+c;switch(a){case 1:Q(this.Mt,{left:0,top:0});Q(this.gw,{left:c,top:0});Q(this.yj,{left:0,top:0});Q(this.Ki,{width:0,left:0});Q(this.kz,{left:0,top:0});Q(this.$N,{left:e});break;case 3:Q(this.Mt,{left:c,top:0});Q(this.gw,{left:0,top:0});Q(this.yj,{left:e,top:0});Q(this.Ki,{width:0,left:c});Q(this.kz,{left:e,top:0});break;case 0:Q(this.Mt,{left:0,top:c});Q(this.gw,{left:0,top:0});Q(this.yj,{left:0,top:e});Q(this.Ki,{top:c,height:0});Q(this.kz,
{left:0,top:e});break;case 2:Q(this.Mt,{left:0,top:0});Q(this.gw,{left:0,top:c});Q(this.yj,{left:0,top:0});Q(this.Ki,{left:0,height:0});Q(this.kz,{left:0,top:0});Q(this.$N,{top:e});break;default:Vr(Hn)}a=this.direction;b=0==a||2==a?{width:b,height:c}:{width:c,height:b};Q(this.Mt,b);Q(this.gw,b)};
q.mza=function(a){var b=this.iy+n,c=Math.ceil(this.iy/2)+n,e="-"+c;switch(a){case 1:Q(this.yj,{width:0,left:c});Q(this.Ki,{left:e,width:b});break;case 3:Q(this.yj,{width:0,left:0});Q(this.Ki,{width:b,left:0});break;case 0:Q(this.yj,{top:0,height:0});Q(this.Ki,{top:0,height:b});break;case 2:Q(this.yj,{top:c,height:0});Q(this.Ki,{top:e,height:b});break;default:Vr(Hn)}};
q.play=function(){C(this.V,"Must be in document at this point.");Ft&&hA(this.b());this.RCa=!0;Q(this.yj,mf,this.OCa);Q(this.Ki,mf,this.yW);this.mza(this.direction);this.Jra(this.Ki,["webkitTransitionEnd","transitionend"],this.uA)};q.Jra=function(a,b,c){var e=!1,f=this;this.A().Of(a,b,function(){e||(e=!0,c.call(f))})};q.uA=function(){this.complete=!0;this.dispatchEvent("O");R(this.$N,!1)};var SW=function(a){V.call(this,a);this.Cx=new NW;this.Y(this.Cx);this.LR=new OW(this.Cx,a);this.Y(this.LR)};B(SW,V);SW.prototype.g=function(){SW.c.g.call(this);var a=this.zB=this.j().g(d,"picker-loadingstatusbox");this.Cx.setState(Nk);this.LR.render(a);this.b().appendChild(this.zB);R(this.zB,!1);ZB(this.zB,"Cargando datos");SB(this.b(),Xo);T(this.b(),Vj,ym)};SW.prototype.C=function(a){this.Cx.setState(a?"loading":Nk);R(this.zB,a)};var TW=function(){F.call(this)};B(TW,F);TW.prototype.qb="";TW.prototype.setValue=function(a){this.qb=a};TW.prototype.getValue=function(){return this.qb};var UW=function(){};Rq(UW);q=UW.prototype;q.C$=0;q.D$=0;q.eU=0;q.Kra=function(){C(void 0===this.G);this.G=new pC(this);this.G.Iq(window,iK,function(){this.eU++});this.G.ql(window,"unload",this.qua,!1,this)};q.qua=function(){this.G.dispose()};q.Cia=function(){return{xc:this.C$,xec:this.D$,click:this.eU}};var VW=function(a,b){F.call(this);this.W1=a||0;this.yi=b||10;if(this.W1>this.yi)throw Error("[goog.structs.Pool] Min can not be greater than max");this.Ld=new HM;this.gl=new QG;this.xp=0;this.FL=null;this.Mx()};B(VW,F);q=VW.prototype;q.Hj=function(){var a=A();if(!(null!=this.FL&&a-this.FL<this.xp)){var b=this.pwa();b&&(this.FL=a,this.gl.add(b));return b}};q.gk=function(a){return this.gl.remove(a)?(this.OF(a),!0):!1};
q.pwa=function(){for(var a;0<this.aY()&&(a=this.Ld.Dm(),!this.MM(a));)this.Mx();!a&&this.sa()<this.yi&&(a=this.oj());return a};q.OF=function(a){this.gl.remove(a);this.MM(a)&&this.sa()<this.yi?this.Ld.enqueue(a):this.Km(a)};q.Mx=function(){for(var a=this.Ld;this.sa()<this.W1;)a.enqueue(this.oj());for(;this.sa()>this.yi&&0<this.aY();)this.Km(a.Dm())};q.oj=function(){return{}};q.Km=function(a){if(typeof a.dispose==Rh)a.dispose();else for(var b in a)a[b]=null};
q.MM=function(a){return typeof a.qda==Rh?a.qda():!0};q.contains=function(a){return this.Ld.contains(a)||this.gl.contains(a)};q.sa=function(){return this.Ld.sa()+this.gl.sa()};q.ija=function(){return this.gl.sa()};q.aY=function(){return this.Ld.sa()};q.Sb=function(){return this.Ld.Sb()&&this.gl.Sb()};q.o=function(){VW.c.o.call(this);if(0<this.ija())throw Error("[goog.structs.Pool] Objects not released");delete this.gl;for(var a=this.Ld;!a.Sb();)this.Km(a.Dm());delete this.Ld};var WW=function(a,b){this.IV=void 0;this.VC=new lT;VW.call(this,a,b)};B(WW,VW);q=WW.prototype;q.Hj=function(a,b){if(!a)return(a=WW.c.Hj.call(this))&&this.xp&&(this.IV=t.setTimeout(y(this.qA,this),this.xp)),a;this.VC.enqueue(u(b)?b:100,a);this.qA()};q.qA=function(){for(var a=this.VC;0<a.sa();){var b=this.Hj();if(b)a.Dm().apply(this,[b]);else break}};q.OF=function(a){WW.c.OF.call(this,a);this.qA()};q.Mx=function(){WW.c.Mx.call(this);this.qA()};
q.o=function(){WW.c.o.call(this);t.clearTimeout(this.IV);this.VC.clear();this.VC=null};var XW=function(a,b,c,e){this.pK=a;this.uk=!!e;WW.call(this,b,c)};B(XW,WW);XW.prototype.oj=function(){var a=new iw,b=this.pK;b&&b.forEach(function(b,e){a.headers.set(e,b)});this.uk&&a.HP(!0);return a};XW.prototype.MM=function(a){return!a.isDisposed()&&!a.Rb()};var YW=function(a,b,c,e,f,g){J.call(this);this.lM=u(a)?a:1;this.nk=u(f)?Math.max(0,f):0;this.uk=!!g;this.ks=new XW(b,c,e,g);this.Uc=new L;this.G=new pC(this)};B(YW,J);var ZW=[Nm,Pf,ap,ph,ge,mp];q=YW.prototype;q.UD=function(a){this.nk=Math.max(0,a)};q.bka=function(){return this.Uc.sa()};
q.send=function(a,b,c,e,f,g,h,l,p,r){if(this.Uc.get(a))throw Error("[goog.net.XhrManager] ID in use");b=new $W(b,y(this.uu,this,a),c,e,f,h,u(l)?l:this.lM,p,u(r)?r:this.uk);this.Uc.set(a,b);a=y(this.Cla,this,a);this.ks.Hj(a,g);return b};q.abort=function(a,b){var c=this.Uc.get(a);if(c){var e=c.vx;c.mya(!0);b&&(e&&(this.d4(e,c.tR),Vu(e,Nm,function(){this.ks.gk(e)},!1,this)),this.Uc.remove(a));e&&e.abort()}};
q.Cla=function(a,b){var c=this.Uc.get(a);c&&!c.vx?(this.kca(b,c.tR),b.UD(this.nk),b.FAa(c.Yv),b.HP(c.uk),c.vx=b,this.dispatchEvent(new aX(Nm,this,a,b)),this.K4(a,b),c.cS&&b.abort()):this.ks.gk(b)};q.uu=function(a,b){var c=b.target;switch(b.type){case Nm:this.K4(a,c);break;case Pf:return this.Sla(a,c,b);case ap:this.ZJ(a,c);break;case mp:case ph:this.be(a,c);break;case ge:this.rla(a,c)}return null};
q.K4=function(a,b){var c=this.Uc.get(a);!c||c.qU||c.kK()?(c&&(this.d4(b,c.tR),this.Uc.remove(a)),this.ks.gk(b)):(c.Fpa(),b.send(c.getUrl(),c.Jsa,c.zb(),c.oJ()))};q.Sla=function(a,b,c){var e=this.Uc.get(a);if(7==b.fc||b.vL()||e.kK())if(this.dispatchEvent(new aX(Pf,this,a,b)),e&&(e.Uya(!0),e.pU))return e.pU.call(b,c);return null};q.rla=function(a,b){this.dispatchEvent(new aX(ge,this,a,b))};q.ZJ=function(a,b){this.dispatchEvent(new aX(ap,this,a,b))};
q.be=function(a,b){this.Uc.get(a).kK()&&this.dispatchEvent(new aX(ph,this,a,b))};q.d4=function(a,b,c){this.G.ta(a,c||ZW,b)};q.kca=function(a,b,c){this.G.listen(a,c||ZW,b)};q.o=function(){YW.c.o.call(this);this.ks.dispose();this.ks=null;this.G.dispose();this.G=null;this.Uc.clear();this.Uc=null};var aX=function(a,b,c,e){H.call(this,a,b);this.id=c;this.vx=e};B(aX,H);
var $W=function(a,b,c,e,f,g,h,l,p){this.ya=a;this.Jsa=c||"GET";this.uc=e;this.pK=f||null;this.lM=u(h)?h:1;this.dT=0;this.cS=this.qU=!1;this.tR=b;this.pU=g;this.Yv=l||"";this.uk=!!p;this.vx=null};q=$W.prototype;q.getUrl=function(){return this.ya};q.zb=function(){return this.uc};q.oJ=function(){return this.pK};q.Fpa=function(){this.dT++};q.kK=function(){return this.dT>this.lM};q.Uya=function(a){this.qU=a};q.mya=function(a){this.cS=a};var bX=function(a,b,c,e){H.call(this,a,b);this.request=c;this.response=e||null};B(bX,H);var cX=function(a,b,c,e,f,g,h){H.call(this,a,b);this.request=c;this.response=e;this.Pva=h};B(cX,bX);var dX=function(){J.call(this);this.bp=vv("picker.net.BaseCommunicationsManager");this.ed=!1;this.KM=0;this.lw=new L;this.BC=new L;this.WC=new L;this.G=new pC(this);this.J3=new Xv(6E4);this.G.listen(this.J3,lp,this.yna)};B(dX,J);q=dX.prototype;q.vG=function(){return!1};q.yh=function(){return this.G};q.initialize=function(){K(this.bp,"Initializing...");this.ed=!0;for(var a=this.WC,b=a.nb(),c=0;c<b.length;c++)this.kw(b[c]);a.clear();this.J3.start()};
q.kw=function(a){cs(a,DT);this.ed?(K(this.bp,"sendRequest with id="+a.getId()+ba+a.Ef()+aa+a.kc()),this.BC.set(a.getId(),a),this.aya(a),this.KM++):(K(this.bp,"sendRequest before initialization with id="+a.getId()+ba+a.Ef()+aa+a.kc()),this.WC.set(a.getId(),a))};q.Gva=function(a){var b=this.BC,c=b.get(a);c&&(K(this.bp,"processReady with id="+a+ba+c.Ef()+aa+c.kc()),this.dispatchEvent(new cX(Nm,this,c)),b.remove(a),this.lw.set(a,c))};
q.Hva=function(a,b){var c=this.lw,e=c.get(a);e&&(K(this.bp,"processSuccess with id="+a+ba+e.Ef()+aa+e.kc()),c.remove(a),a=aU.execute(e.kc(),b),this.dispatchEvent(new cX(ap,this,e,a||void 0,b)))};q.A3=function(a,b,c){var e=this.lw,f=e.get(a);f&&(xv(this.bp,"processError with id="+a+aa+f.kc()+" and opt_errorCode="+b),e.remove(a),this.Lfa(f,b,c))};q.Lfa=function(a,b,c){a=x(a)?a:[a];for(var e=0;e<a.length;e++)this.dispatchEvent(new cX(ph,this,a[e],void 0,void 0,b,c))};
q.yna=function(){45<this.KM&&window.location.reload(!0);this.KM=0};q.o=function(){this.BC.clear();this.BC=null;this.lw.clear();this.lw=null;this.WC.clear();this.WC=null;this.G.dispose();this.G=null;dX.c.o.call(this)};var eX=vv("picker.net.JsonResponseUtil"),fX=function(a,b){try{0==b.indexOf(Ea)&&(b=b.substring(11));var c=JSON.parse(b)}catch(e){return xv(eX,"response could not be parsed for id="+a,e),null}return Vq(c)?c:(xv(eX,"response not an object for id="+a),null)};var gX=function(a){dX.call(this);this.v=a;a=new L;a.set("Content-control","no-cache");a.set("X-Same-Domain","explorer");a=new YW(0,a,0,4,2E4);this.yh().listen(a,[Nm,ap,ph],this.uu);this.Mo=a};B(gX,dX);q=gX.prototype;q.F=vv("picker.net.CommunicationsManager");q.UD=function(a){this.Mo.UD(a)};q.vG=Is;q.aya=function(a){UW.H().C$++;var b=a.au();b.T(Ni,this.v.fl);this.Mo.send(a.getId()+"",b.toString(),od,a.zb(),a.oJ(),100)};
q.uu=function(a){var b=a.id;var c=Number(b);b=0==c&&hr(b)?NaN:c;c=a.vx;switch(a.type){case Nm:this.zna(b,c);break;case ap:this.ZJ(b,c);break;case ph:this.be(b,c)}};q.zna=function(a){this.Gva(a)};q.ZJ=function(a,b){(b=fX(a,b.ae()))?this.Hva(a,b):this.A3(a)};q.be=function(a,b){UW.H().D$++;this.A3(a,b.Ij(),b)};q.o=function(){this.Mo&&(this.Mo.bka()?this.yh().Of(this.Mo,[ap,ph],function(){M(this.o,0,this)}):(gX.c.o.call(this),this.Mo.dispose(),this.Mo=null))};var hX=function(a){J.call(this);this.GC=a.GC;this.HC=a.HC;this.Nv=a.Nv;this.n0=!0;this.Lb=null};B(hX,J);hX.prototype.vG=function(a){return this.n0&&a instanceof iU&&(this.n0=!1,this.Kca(a))?!0:!1};hX.prototype.initialize=Qq;var iX=function(a,b){return a===b||(void 0===a||null===a)&&(void 0===b||null===b)};q=hX.prototype;
q.Kca=function(a){var b=new L(this.Nv.options),c=new L(a.getOptions()),e=b.get(sk);e&&(e=e.split(","),Es(e),b.set(sk,e.join()));if(e=c.get(sk))e=e.split(","),Es(e),c.set(sk,e.join());if(!b.ad(c,iX))return!1;b=new $y("picker/pvr");for(var f in this.HC)b.T(f,this.HC[f]);c=new az;for(f in this.Nv)c.set(f,this.Nv[f]);b.Qh(c);c.remove(kl);f=a.au();a=a.zh();f.Qh(a);a.remove(kl);return b.toString()==f.toString()};q.kw=function(a){cs(a,iU);this.Lb=a;this.GC.addCallback(y(this.vna,this))};
q.vna=function(a,b){if(200==a&&b&&(a=fX(this.Lb.getId(),b))){this.Iva(a);this.Lb=null;return}this.Eva();this.Lb=null};q.Iva=function(a){var b=aU.execute(this.Lb.kc(),a);this.dispatchEvent(new cX(ap,this,this.Lb,b,a))};q.Eva=function(){this.dispatchEvent(new cX(ph,this,this.Lb))};var jX=function(a,b){DT.call(this);this.hc=a;this.Gs=b||[]};B(jX,DT);jX.prototype.xh=Hs(new $y("stat"));jX.prototype.au=function(){var a=jX.c.au.call(this);D(this.hc,function(b){a.zh().add("stat",b)});D(this.Gs,function(b){a.zh().add("csdms",b)});return a};jX.prototype.kc=function(){return 8};jX.prototype.Ef=function(){return jX.c.Ef.call(this)+"/"+this.getId()};var kX=function(a){F.call(this);this.NQ=a||0;this.Ec={};this.Ik=[];this.BL=!1;this.og="0";this.tf="";this.XL=[];this.o$=this.uI=0};B(kX,F);q=kX.prototype;q.RG=function(a){return!!this.Ec[a]};q.dc=function(){return ys(this.Ik)};q.Ae=function(){return this.Ik.length};q.t7=function(){this.o$=A()};
q.cj=function(a){var b=[],c=[],e=[],f=this.Ec,g=this.Ik,h=[],l={};D(a,function(a){var b=a.getId(),c=l[b];void 0!==c?h[c]=a:(l[b]=h.length,h.push(a))});a=h;if(this.Eg())D(a,function(a){var c=a.getId(),h=f[c];f[c]=a;h?(g[ds(g,h)]=a,e.push(c)):(g.push(a),b.push(c))});else{var p=f;this.Ec=f={};this.Ik=g=[];D(a,function(a){var c=a.getId();f[c]=a;g.push(a);p[c]?(delete p[c],e.push(c)):b.push(c)});Qs(p,function(a,b){c.push(b)});this.BL=!0;this.uI=A()}Fs(this.Ik,this.CCa);A();this.YV(b,c,e)};
q.Xh=function(a,b){for(var c=0;c<this.Ik.length;c++)this.Ik[c].getId()==a&&(this.Ik[c]=b);bt(this.Ec,a);this.Ec[b.getId()]=b;this.YV([],[],[a])};q.Eg=function(){return this.BL&&(!this.NQ||this.o$-this.uI<this.NQ)};q.PA=function(a){if(a||!this.NQ)this.BL=!1};q.el=function(){return void 0!=this.og};q.sw=function(a){this.og=a};q.nn=function(){return!!this.tf};q.mo=function(a){this.tf=a||""};q.addListener=function(a){this.XL.push(a)};q.removeListener=function(a){vs(this.XL,a)};
q.YV=function(a,b,c){D(this.XL,function(e){e(a,b,c)})};q.CCa=function(a,b){return a.l8-b.l8};var lX=function(a){F.call(this);this.v=a;this.Ec={};this.tp={};this.oDa={}};B(lX,F);var mX=0;q=lX.prototype;q.K=function(a){var b=this.Ec[a];if(b)return b;if(!v(a))return null;b=a.split(".");if(3!=b.length)return null;var c=b[0],e=b[1];return b[2]==$m&&(b=os(this.dc(),function(a){return a.Dq()&&a.md==c&&a.Rr==e}))?this.Ec[a]=b:null};
q.cj=function(a){var b=this.Ec;D(a,function(a){if(0!=a.Uqa(b[a.getId()])&&(b[a.getId()]?b[a.getId()].R1(a):b[a.getId()]=a,a.getAttribute(hj))){var c=a.getAttribute("tdid");this.oDa[c]=a}},this);Qs(this.tp,function(b){if(b.Eg()){var c=gs(a,function(a){return b.RG(a.getId())});c.length&&(c=hs(c,function(a){return this.K(a.getId())},this),b.cj(c))}},this)};q.Xh=function(a,b){this.Ec[b.getId()]=b;Qs(this.tp,function(c){c.Eg()&&c.RG(a)&&c.Xh(a,b)})};q.dc=function(){return Ws(this.Ec)};
q.xd=function(a){a=a.Ef();var b=this.tp[a];b||(b=this.tp[a]=new kX(this.v.VY()));return b};q.CM=function(){return this.tp["_newnodes_"+mX++]=new kX(this.v.VY())};q.kqa=function(a){Qs(this.tp,function(b){b.PA(a)})};var nX=function(a){F.call(this);this.ba=a;this.Uc=new L;this.DQ=100;this.J_=this.HL=0;this.mf=null};B(nX,F);q=nX.prototype;q.requestData=function(a,b,c,e,f){b=new oX(a,b,c,e,f);this.Uc.Xb(a)?ts(this.Uc.get(a),b):this.Uc.set(a,[b]);this.zP()};q.zP=function(){var a=this.HL;this.HL=A();null===this.mf&&(this.DQ=this.Rja(this.DQ,4E3<this.HL-a),this.mf=M(this.Coa,this.DQ,this))};
q.Coa=function(){this.mf=null;this.ba.requestData(new cU(Hl,this.Uc.bb(),{includeProtoPhoto:yp,includeFaceData:yp}),y(this.Ena,this),y(this.zP,this))};q.Ena=function(a){this.isDisposed()||(D(a.dc(),function(a){for(var b=this.Uc.get(a.jb,[]),e=0;e<b.length;){var f=b[e];if(!f.context.isDisposed())if(f.sva.call(f.context,a)){f.callback.call(f.context,a);us(b,e);continue}else if(60>f.q9)f.q9++;else{us(b,e);continue}e++}b.length||this.Uc.remove(a.jb)},this),this.Uc.sa()&&this.zP())};
q.Rja=function(a,b){var c=A()-5E3;return b||this.J_<c?(this.J_=A(),100):50*a};q.o=function(){nX.c.o.call(this);null===this.mf||Yv(this.mf)};var oX=function(a,b,c,e,f){this.context=b;this.callback=c;this.sva=e||Is;this.q9=f||0};var pX=function(a){F.call(this);this.ba=a;this.hc=[];this.Gs=[];this.Uh=new pE(this.Lt,15E3,this)};B(pX,F);pX.prototype.F=vv("picker.base.StatManager");pX.prototype.add=function(a,b){K(this.F,"Queuing stat: "+a);this.hc.push(a);6==a&&u(b)&&this.Gs.push(b);this.Uh.It()};pX.prototype.flush=function(){this.Uh.stop();this.Lt()};pX.prototype.Lt=function(){this.hc.length&&(K(this.F,"Sending stats: "+this.hc.join(",")),this.ba.requestData(new jX(this.hc,this.Gs),Qq,Qq),ss(this.hc),ss(this.Gs))};var qX=function(a){F.call(this);this.v=a;this.Ek=new lX(a);this.Y(this.Ek);this.G=new pC(this);this.Y(this.G);this.Qn=new L;this.sy=[];this.q8=new gX(a);this.LF(this.q8);a.GC&&a.cra()&&this.LF(new hX(a));this.mfa=new nX(this);this.Y(this.mfa);this.lQ=new pX(this);this.Y(this.lQ)};B(qX,F);var rX=function(a,b,c){this.callback=a;this.sg=b;this.bEa=c};q=qX.prototype;q.F=vv("picker.base.DataHub");q.rw=function(a){this.P=a};q.LF=function(a){this.sy.push(a);this.G.listen(a,[ap,ph],this.Dna)};
q.requestData=function(a,b,c,e){if(!this.isDisposed())if(a instanceof fU&&!this.Yqa)JV.H().Et(fl,y(function(){this.isDisposed()||(JV.H().Gf(fl).xl.kka(this.P),this.Yqa=!0,this.requestData(a,b,c,e))},this));else{var f=new rX(b,c,!!e),g=a.Ef(),h=this.Qn.get(g);h?h.push(f):(this.Qn.set(g,[f]),this.fDa(a))}};
q.fDa=function(a){var b=this.sy;a instanceof iU&&(this.v.Dd()?(a.RAa(ch),a.vW("isMinimalMode")):this.v.Yga&&a.vW("filterTeamDriveResults"));for(var c=b.length-1;0<=c;c--)if(b[c].vG(a)){b[c].kw(a);return}throw Error("Communications manager not found.");};
q.Dna=function(a){if(!this.isDisposed()){var b=a.type,c=cs(a.request,DT),e=a.response&&$T(a.response),f=c.Ef(),g=this.Qn.get(f);if(g){b==ap&&e.Fi&&e.dc?(b=ks(g,function(a){return a.bEa}),(a=e.dc())&&b&&(0==a.length&&this.$xa(c),this.cj(a),b=e.el&&e.el()?e.og:void 0,this.xd(c).sw(b),b=e.nn&&e.nn()?e.tf:void 0,this.xd(c).mo(b),this.xd(c).cj(hs(a,function(a){return this.K(a.getId())},this)))):b==ap&&e&&!e.Fi?c instanceof hU?this.nc(50):c instanceof DV?this.nc(60):c instanceof cU&&this.nc(57):b==ph&&
this.Vxa(a);for(c=0;c<g.length;c++)e&&!e.getError()&&e.Fi?g[c].callback(e):g[c].sg(e);this.isDisposed()||this.Qn.remove(f)}}};q.Vxa=function(a){var b=cs(a.request,DT);b instanceof jX||(a=this.kla(a))&&this.cya(b,a)||(b instanceof hU?this.nc(52):b instanceof DV?this.nc(61):b instanceof cU&&this.nc(58))};q.kla=function(a){return a instanceof cX&&(a=a.Pva)&&a.fc?a:null};
q.cya=function(a,b){if(8==b.fc){if(a instanceof hU)return this.nc(55),!0;if(a instanceof DV)return this.nc(62),!0;if(a instanceof cU)return this.nc(59),!0}return!1};q.$xa=function(a){a instanceof hU?this.nc(54):a instanceof cU&&this.nc(56)};q.K=function(a,b){b&&(a=b+".0."+a.substring(a.lastIndexOf(".")+1));return this.Ek.K(a)};q.dc=function(){return this.Ek.dc()};q.cj=function(a){this.Ek.cj(a)};q.Xh=function(a,b){this.Ek.Xh(a,b)};q.xd=function(a){return this.Ek.xd(a)};q.CM=function(){return this.Ek.CM()};
q.nc=function(a,b){this.lQ.add(a,b)};q.lX=function(){this.lQ.flush()};q.reset=function(a){this.Ek.kqa(a);this.Qn.clear()};q.o=function(){qX.c.o.call(this);D(this.sy,function(a){a.dispose()});delete this.sy;this.Qn.clear();delete this.Qn};var sX=function(a,b,c){DT.call(this);this.ot=a;this.Ho=b;this.h3=c};B(sX,DT);sX.prototype.xh=Hs(new $y("pick"));sX.prototype.kc=function(){return 6};sX.prototype.Hf=function(){var a=new L;HT(a,Qg,sv(this.ot));this.Ho&&HT(a,hq,sv(this.Ho.jk()));u(this.h3)&&HT(a,"psdms",sv(this.h3));return a};var tX=function(a){switch(a){case "atec":case "blogger":case "caa":case "cpaa":case "contactPhoto":case "copyphoto":case "ctpa":case "cropphoto":case "ipfd":case "sptm":case "mtp":case te:case "photocuration":case "photosharing":case "polls":case "profileBanner":case Fm:case "sqprofile":return el;case dh:case Df:return"opd";case If:return fl;case "ctpf":case "dow":case "mdisamb":return"opmd"}},uX=function(a,b){var c=new CH,e;null!=a[0]&&(e=tX(a[0]));if(null!=e&&null!=a[1]){var f=JV.H();f.Et(e,function(){c.callback(f.Gf(e).xl.qNa(a[0],
a[1],b))})}else c.sg("Postprocessor not found: "+a[0]);return c};var vX,wX=Qw(vw(Si)),yX=function(a,b){if(!vX){var c=wy(document,rd);Yx(c,wX);c.type=gp;c.async=!0;document.body.appendChild(c);vX=!0}xX(a,b)},xX=function(a,b){window.gapi&&window.gapi.load?window.gapi.load(a,{callback:b}):M(y(xX,void 0,a,b),100)};var zX=function(a,b){J.call(this);this.v=a;this.X=b;this.tN=[];Vu(b,"F",this.Loa,!1,this)};B(zX,J);q=zX.prototype;q.F=vv("picker.base.IncomingStream");q.n$=!1;q.Loa=function(){this.n$=!0;D(this.tN,function(a){this.jt(a)},this);ss(this.tN)};
q.jt=function(a){var b=a&&a.action,c=Zs(kR,b);K(this.F,"Received "+(c?"":"invalid ")+'"'+b+'" action from host: '+bu(a));if(c)if(!this.n$&&a.wfv)this.tN.push(a);else{switch(b){case yn:this.goa(a);break;case un:this.eoa(a);break;case jq:this.ioa(a)}(!HS().Pq||b!=zn&&b!=An)&&this.dispatchEvent(new AX(b,a))}};
q.goa=function(a){a=a.albumId;null===a||v(a)?(this.v.Gr(a),K(this.F,'Set the default upload album id to: "'+a+'"')):xv(this.F,'Unable to set upload album id to non-null, non-string value: "'+a+'"')};q.eoa=function(a){this.v.ts([dh,a])};q.ioa=function(a){a=a.visible;Nq(a)?(this.v.AAa(a),a&&this.v.Dd()&&(a=this.X.ac)&&a.Tg(!0)):xv(this.F,"Invalid value for visible: "+a)};var AX=function(a,b){H.call(this,a);this.data=b};B(AX,H);var BX=function(a,b,c){F.call(this);this.ce=a;this.ed=!1;this.yb=[];c?yX("rpc",y(this.wq,this)):this.Rra(b)};B(BX,F);q=BX.prototype;q.F=vv("picker.base.GadgetsChannel");q.nw="";
q.Rra=function(a){var b=HS(),c=b.xxa;c||(c=!b.CQ&&a?a.replace(/[^a-z0-9]/gi,""):"onepick",c=gr("//www-%s-opensocial.googleusercontent.com/gadgets/js/rpc.js?c=1&container=%s",c,c),c=Ix(vw("String literals or [a-z0-9]*."),c));a=wy(document,rd);Yx(a,c);a.type=gp;document.body.appendChild(a);var e=window.setInterval(y(function(){try{window.gadgets&&window.gadgets.rpc&&window.gadgets.config.get("rpc")&&(window.clearInterval(e),this.wq())}catch(f){}},this),100)};
q.wq=function(){var a=HS();this.nw=a.R4||Jl;K(this.F,"Set service name to "+this.nw);var b=a.getRelayUrl();window.gadgets.rpc.setRelayUrl("..",b);K(this.F,"Set gadgets relay url to "+b);if(a=a.Vg)window.gadgets.rpc.setAuthToken("..",a),K(this.F,"Set gadgets auth token to "+a);a=this.ce;window.gadgets.rpc.register(Jl,y(a.jt,a));K(this.F,"Gadgets channel type = "+window.gadgets.rpc.getRelayChannel());this.ed=!0;D(this.yb,function(a){a()})};q.JW=function(a){this.ed?a():this.yb.push(a)};
q.call=function(a){this.JW(y(function(){window.gadgets.rpc.call("..",this.nw,null,a)},this))};q.o=function(){BX.c.o.call(this);delete this.yb};var CX=function(a){F.call(this);this.ed=!1;this.yb=[];this.ce=a;yX(Vh,y(this.wq,this))};B(CX,F);CX.prototype.wq=function(){var a=HS();a.getRelayUrl()&&(a=aw(a.getRelayUrl()),this.B_=Pq(Uh)([a]));a={};var b=this.ce;a.sendCommand=y(b.jt,b);Pq(Th)().ready({},a,void 0,this.B_);this.ed=!0;D(this.yb,function(a){a()})};CX.prototype.call=function(a){this.ed?Pq(Th)().getParentIframe().send("response",a,void 0,this.B_):this.yb.push(y(this.call,this,a))};CX.prototype.o=function(){CX.c.o.call(this);delete this.yb};var DX=function(){return DF('<div><iframe onload="this.poolLocked=false"></iframe></div>')};DX.ra="picker.base.templates.ifpciframepool.iframeTemplate";var EX=function(){F.call(this);this.$b=[]};B(EX,F);EX.prototype.WG=function(a){var b=$E(DX),c=b.getElementsByTagName(Uc)[0];c.style.visibility=Hi;c.style.width=c.style.height="0px";c.style.border="0px";c.style.position=ke;c.k3=a;this.$b[this.$b.length]=c;b.removeChild(c);return c};
EX.prototype.gja=function(a){var b=this;M(function(){for(var c=null,e=b.$b.length-1;0<=e;e--){var f=b.$b[e];if(f&&!f.k3)if(f.parentNode.removeChild(f),E)b.$b[e]=null,b.$b.splice(e,1);else{f.k3=!0;c=f;break}}c=c?c:b.WG(!0);c.src=a;document.body.appendChild(c)},0)};EX.prototype.clear=function(){for(var a=0;a<this.$b.length;a++)this.$b[a].onload=null,this.$b[a]=null;this.$b.length=0};EX.prototype.o=function(){EX.c.o.call(this);this.clear();this.$b=null};var FX=function(){F.call(this);var a=HS();this.z_=m;this.RT=a.R4||Jl;K(this.F,"Set ifpc channel name to "+this.RT);this.CA=a.getRelayUrl();K(this.F,"Set ifpc relay url to "+this.CA);this.Vg=a.Vg||"";K(this.F,"Set ifpc rpctoken to "+this.Vg);this.FK=new EX};B(FX,F);q=FX.prototype;q.F=vv("picker.base.IfpcChannel");q.hp=0;
q.call=function(a){this.Vg&&(a.rpctoken=this.Vg);if(this.CA){var b=[a];b.unshift("");b.unshift(null);b.unshift(this.RT);b.unshift(this.z_);a=4095-this.CA.length;a=parseInt(a/3,10);b=this.yt(b);var c=parseInt(b.length/a,10);0<b.length%a&&(c+=1);for(var e=0;e<c;e++)this.FK.gja(this.CA+"#"+this.yt([this.z_,this.hp,c,e,b.substr(e*a,a),!1]));this.hp++}else K(this.F,"No relay URL. Not sending data.")};q.yt=function(a){for(var b=[],c=0;c<a.length;c++){var e=sv(a[c]);b.push(encodeURIComponent(e))}return b.join("&")};
q.o=function(){FX.c.o.call(this);this.FK.dispose();this.FK=null};var GX=function(a){F.call(this);this.ed=!1;this.yb=[];this.ce=a;a=window.location.href.match(/.*(\?|#|&)usegapi=([^&#]+)/)||[];this.WE="1"===decodeURIComponent(a[a.length-1]||"");yX(this.WE?Vh:"iframes",y(this.wq,this))};B(GX,F);q=GX.prototype;q.F=vv("picker.base.IframesChannel");
q.wq=function(){var a={getHealthc:function(){return Uk}};UW.H().Kra();a.getVarc=function(){return UW.H().Cia()};var b=this.ce;a.sendCommand=y(b.jt,b);if(this.WE){b=HS();var c,e;b.getRelayUrl()&&(e=iz(b.getRelayUrl()))&&e.gf&&(c=Pq(Uh)([e.gf+"://"+e.sd]));Pq(Th)().ready({},a,void 0,c)}else window.iframes.ready({},a);this.ed=!0;D(this.yb,function(a){a()})};q.JW=function(a){this.ed?a():this.yb.push(a)};
q.call=function(a){if(this.ed){var b=a.action;b==Il||b==zf?this.WE?Pq(Th)().closeSelf(a):window.iframes.close(a):(b=this.WE?y(this.Xxa,this):window.iframer.message,Uq(b)?b(a):K(this.F,"Interim data not sent since no listening function exists."))}else this.yb.push(y(this.call,this,a))};q.Xxa=function(a){var b=Pq(Th)(),c=Pq("gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER");b.addOnOpenerHandler(function(b){b.send(pk,a,void 0,c)},c)};q.o=function(){GX.c.o.call(this);delete this.yb};var HX=function(a,b,c,e){F.call(this);this.vE=c;this.Yr=e;this.PP=a;this.xL=b};B(HX,F);var IX=["32-c","64-c","72-c","400",Gg],JX=/<\/?b>/g;q=HX.prototype;q.x5=function(a,b){b(hs(a,this.vD,this))};
q.vD=function(a){var b={};b.id=a.jb;var c=a.md;c=this.xL?"kix"==c?"doc":"punch"==c?"pres":"ritz"==c?"spread":c:c;b.serviceId=c;var e=a.Jg;b.mimeType=this.xL?e==Ge?Ce:e==Ie?He:e==Je?Le:e==Fe?Ee:e:e;e=a.getName();var f=a.et;c==mq&&(e=null!=e?e.replace(JX,""):null,f=null!=f?f.replace(JX,""):null);this.na(b,"name",e);this.na(b,Jg,f);this.na(b,zp,a.getType());this.na(b,Nj,a.Fg);if(c=a.rJ())c=(new $y(window.location.href)).resolve(new $y(c)),b.iconUrl=c.toString();this.na(b,Sp,a.getUrl());a.md==Hl&&a.getType()==
aq||this.na(b,jh,a.xt);this.na(b,Yg,a.getAttribute(Yg));this.na(b,"copyable",a.getAttribute("cpy"));this.na(b,"blobId",a.getAttribute("blobId"));this.na(b,kp,this.Tea(a));this.na(b,"driveSuccess",a.getAttribute("ds"));this.na(b,"driveError",a.getAttribute("de"));this.na(b,Gj,a.iB);this.na(b,wg,a.getAttribute("c"));this.na(b,hh,a.getAttribute(hh));this.na(b,"id",a.getAttribute("cid"));this.na(b,"sizeBytes",a.Or);this.na(b,"rpt",a.getAttribute("rpt"));this.na(b,"rptn",a.getAttribute("rptn"));this.na(b,
dp,a.getAttribute("tdid"));this.na(b,"teamDriveName",a.getAttribute("tdname"));this.na(b,No,a.getAttribute("stdid"));this.na(b,Oo,a.getAttribute("stdn"));this.na(b,"undoable",a.getAttribute("undo"));this.na(b,ll,a.getAttribute("oitd"));if(c=a.getImageData())b.rotation=c.wxa,b.rotationDegree=c.vxa;(c=a.jx)&&this.Dca(c,b);(c=a.YE)&&this.Eca(c,b);(c=a.Sn)&&(b.parentId=c.substring(c.lastIndexOf(".")+1));c=a.getAttribute("aa");null!=c&&(b.audience=zR[c]);this.na(b,"coverPhotoId",a.getAttribute("cpid"));
this.na(b,Qj,a.getAttribute("lat"));this.na(b,bk,a.getAttribute("lng"));this.na(b,Zp,a.getAttribute("v"));(c=a.Pc())&&(b.children=hs(c,this.vD,this));this.na(b,Qk,a.Xp());a.Aq()&&(b.isNew=!0);this.na(b,"numTagged",a.getAttribute("nft"));this.na(b,"numUntagged",a.getAttribute("nfu"));this.na(b,fj,a.getAttribute("ilpp"));this.na(b,ik,a.getAttribute("mfr"));this.na(b,jq,a.getAttribute(jq));this.na(b,kk,a.getAttribute(kk));this.na(b,gj,a.getAttribute("iss"));return b};
q.Dca=function(a,b){b.uploadId=a.getId();b.uploadState=a.getState();this.na(b,qg,a.Rs);this.PP&&(a=a.iz)&&(b.uploadMetadata=a)};q.Eca=function(a,b){this.na(b,"video_cid",a.Rs);this.na(b,"duration",a.iJ());this.na(b,"aspectRatio",a.Ux);this.na(b,"channel",a.gy);this.na(b,"view_count",a.ZE)};q.na=function(a,b,c){null!=c&&(a[b]=c)};q.Tea=function(a){if(!JR(a.md)||!this.xL){if(a=a.uia()){if(this.Yr){for(var b=[],c=0;c<a.length;c++){var e=a[c];e.getType()&&!qs(this.Yr,e.getType())||zs(b,this.cV([e]))}return b}return this.cV(a)}return null}};
q.cV=function(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];if(e&&e.y4)return this.Lea(e);if(e){var f={},g=e.getUrl();g&&er(g,"data:")||(f.url=e.getUrl(),f.width=e.Ag(),f.height=e.ti(),this.Yr&&e.getType()&&(f.type=e.getType()),b.push(f))}}return b};
q.Lea=function(a){for(var b=[],c={},e=this.vE||IX,f=0;f<e.length;f++){var g=e[f];if(g==Gg)var h=a.cA(void 0,void 0,!0);else if("orig"==g)h=a.cA(0,void 0,!0);else{var l,p,r;h=[];g=g.split("-");for(var z=0;z<g.length;z++){var O=g[z],ea=parseInt(O,10);ea?l=ea:er(O,"h")&&1<O.length?p=parseInt(Dr(O,0,1),10):er(O,"w")&&1<O.length?r=parseInt(Dr(O,0,1),10):h.push(O)}var qa;r&&p?qa=new cy(r,p):l&&(qa=l);h=a.cA(qa,h,!0)}g=h.Ag()+"x"+h.ti();if(this.vE||!c[g])z={},z.url=h.getUrl(),z.width=h.Ag(),z.height=h.ti(),
this.Yr&&h.getType()&&(z.type=h.getType()),b.push(z),c[g]=!0}return b};var KX=function(a){C(a,"null context found");this.P=a;a=this.P.v.cE();var b=this.P&&this.P.v.vE||void 0,c=this.P&&this.P.v.Yr||void 0;C(!!GS,"flags not initialized");var e=HS();HX.call(this,a,!!e.Pq||e.CQ,b,c)};B(KX,HX);KX.prototype.vD=function(a){var b=KX.c.vD.call(this,a);if((a=a.getAttribute("si"))&&a.length){var c=[];D(a,function(a){a=this.P.ba.K(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 LX=function(a,b,c){J.call(this);I(b,zf,this.Vi,!0,this);if(!c)if(c=a.lu(),"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 Sh:b=new BX(b,a.fl,a.gR());break;case "gapi_iframes":b=new CX(b);break;case "iframes":b=new GX(b);break;default:b=new FX}c=y(b.call,b)}this.Mc=c;this.Zq=[];this.Xn=0;this.JF=HS().isNative()?null:new VS(N(a.b()));this.Y(this.JF);this.i3=!1};B(LX,J);q=LX.prototype;q.F=vv("picker.base.HostManager");
q.rw=function(a){C(!this.P);this.P=a;this.s1()};q.jw=function(a){this.isDisposed()||(K(this.F,"Sending data to host: "+bu(et(a))),this.Mc(a))};q.IE=function(a){var b={};b.action=a;this.jw(b)};q.Vi=function(){var a=this.P,b=A()-a.v.iO;a.ba.nc(6,b);this.u4();this.IE(zf);a.v.jU&&a.Qk().get(tQ).j().getWindow().close()};q.KDa=function(){this.IE("blurred")};q.LDa=function(){this.IE(Zj)};q.o9=function(){this.P.v.c0(gq)&&this.IE(gq)};
q.KQ=function(a){var b=this.P;if((a=b.Ma.xg(a))&&a.length)this.as(hs(a,function(a){return b.ba.K(a)},this));else if(a=b.Fo.getValue())this.n9(a);else throw a=(a=b.X.Vb)?a.Oz():"unknown",Error('E31337: No documents selected in "'+a+'"');b.v.jU&&b.Qk().get(tQ).j().getWindow().close()};
q.as=function(a,b){u(b)&&b!=Il&&b!=zf||this.P.X.E5(!0);var c=y(function(a,b){this.P.cva.ua(y(function(){var c=new KX(this.P);c.x5(a,y(function(e){u(b)&&b!=Il||this.Fxa(a,e);this.P.v.In&&this.P.v.Dd()&&this.K6(!0);var f=this.jka(a);f.length?c.x5(f,y(function(a){this.JQ(e,b,a)},this)):this.JQ(e,b)},this))},this))},this);b&&b!=Il?c(a,b):this.U4(a,c)};q.n9=function(a){this.JQ([{url:a}])};
q.JQ=function(a,b,c){b=b||Il;var e=this.Yp(),f={};f.action=b;f.viewToken=e.jk();f.docs=a;c&&(f.parents=c);a=this.P.Ma.Pga;at(a)||(f.extraUserInputs=a);HS().CQ||(f.view=e.Oz());this.jw(f);b==Il&&this.u4()};
q.U4=function(a,b){this.s1();if(this.Xn==this.Zq.length)b(a);else{var c=y(function(a){this.Xn++;this.Xn==this.Zq.length?b(a):this.U4(a,b)},this),e=y(function(a){alert(a||"Lo sentimos, pero se ha producido un error inesperado al procesar la selecci\u00f3n. Int\u00e9ntalo de nuevo m\u00e1s tarde.");this.Vi()},this),f=this.Zq[this.Xn];f.ua(function(b){K(this.F,"Running post processor "+this.Xn+": "+bu(et(this.P.v.Ie[this.Xn])));b.aOa(a,c,e)},this);f.Zh(function(a){wv(this.F,a);e()},this)}};
q.s1=function(){for(var a=this.P.v.Ie,b=this.Zq.length;b<a.length;b++)x(a[b])&&this.Zq.push(uX(a[b],this.P))};q.Fxa=function(a,b){for(var c=this.P,e=c.X.ac,f=[],g=0;g<a.length&&b.length;g++){var h=dt(b[g]),l=a[g];h.docIndex=e.Fz(l);l.Fg&&(h.lastEdited=l.Fg);l.iY()&&(h.lastModifiedByMe=l.iY());l.xY()&&(h.recentTime=l.xY());l.jY()&&(h.lastViewedByMe=l.jY());f.push(h)}b=c.X.Vb;for(a=0;null!=b.Bc;)b=b.Bc,a++;b=b.clone();b.Aa("viewTokenDepth",a);a=A()-c.v.iO;c.ba.requestData(new sX(f,b,a),Qq,Qq)};
q.SZ=function(){var a=this.P.X.ac;a&&a.Tg(!0)};q.jka=function(a){var b=[],c={};D(a,function(a){(a=a.Sn)&&!c[a]&&(c[a]=!0,(a=this.P.ba.K(a))&&b.push(a))},this);return b};q.Yp=function(){var a=this.P.X.Vb;if(this.P.v.Dd()){a=a.Yp()||a;var b=a.getOption(m);v(b)&&(b=tR(a.qa)?this.P.ba.K(b,Qg):this.P.ba.K(b))&&b.getName()&&a.Aa("parentName",b.getName());return a}for(;null!=a.Bc;)a=a.Bc;return a};
q.u4=function(){if(!this.isDisposed()){var a=this.P;a.ba.lX();var b=a.Gh;b&&(b.HN(),b.o4(),b.U(!1));M(function(){this.isDisposed()||(a.X.E5(!1),this.dispatchEvent(Um),a.Ma.Ak(!0),a.ba.reset(),this.JF&&Vu(this.JF,"activity",y(this.SZ,this),!1,this),D(this.Zq,function(a){a.ua(function(a){a.reset()})}),this.Xn=0)},500,this)}};q.K6=function(a){this.i3=a};var MX=function(){F.call(this);this.GDa=this.xH=null;this.Gua=this.Hca=this.Ica=!1;this.B7=this.SV=0;this.tW=!0};B(MX,F);MX.prototype.Jia=function(){null===this.xH&&(this.xH=new CH);return this.xH};MX.prototype.UAa=function(a){this.B7=a};MX.prototype.dza=function(a){this.SV=a};MX.prototype.W5=function(a){this.tW=a};var NX=function(a){J.call(this);this.P=a;this.HEa=[];this.YW=new uK;this.HV={};this.IEa=[];this.Ga=new pC(this);this.Y(this.Ga);this.Ga.listen(a.vb,Um,y(this.ixa,this))};B(NX,J);q=NX.prototype;q.bC=0;q.rG=0;q.bc=0;q.F=vv("picker.base.UploadService");q.ixa=function(){this.isDisposed()||(D(this.IEa,function(a){a.reset()},this),this.wG())};q.fB=function(){return this.Xz()!=this.bC};q.Xz=function(){return this.YW.sa()};q.oka=function(){return this.bc?this.rG/this.bc:0};
q.wG=function(){D(this.HEa,function(a){a.wG(!0)});this.Ll()};q.Ll=function(){this.bc=this.rG=this.bC=0;this.YW.clear();this.dha()};q.dha=function(){K(this.F,"Upload status changed (numFiles="+this.Xz()+", numCompleted="+this.bC+", bytesUploaded = "+this.rG+" / "+this.bc+")");this.dispatchEvent("Q")};var OX=function(a){ZT.call(this,a);this.Qfa=a.response&&a.response.displayname};B(OX,ZT);OX.prototype.kc=function(){return 20};aU.set(20,function(a){return new OX(a)});var PX=function(){DT.call(this)};B(PX,DT);PX.prototype.xh=Hs(new $y("displayname"));PX.prototype.kc=function(){return 20};var QX=function(a){this.ba=a};QX.prototype.ua=function(a){this.jR||(this.jR=new CH,this.ba.requestData(new PX,y(function(a){this.jR.callback(a.Qfa)},this),Js));this.jR.ua(a)};var RX=function(a,b,c,e,f,g,h,l,p,r,z,O,ea,qa,ac){F.call(this);this.Ma=a;this.v=z;this.X=e;this.vb=b;this.Fo=c;this.ce=f;this.ba=g;this.QE=h;this.cva=l;this.ie=p;this.f$=r;this.Cc=O;this.jh=ea;this.Sf=null;this.Yo=qa;this.Gh=ac||null;this.Bi=new MX};B(RX,F);q=RX.prototype;q.nAa=function(a){this.Sf=a};q.qu=function(){this.RE||(this.RE=new NX(this));return this.RE};q.vi=function(){return this.jh.get(uQ)};q.Qk=function(){return this.jh};
q.o=function(){RX.c.o.call(this);G(this.Bi);delete this.Bi;G(this.Ma);delete this.Ma;G(this.v);delete this.v;G(this.X);delete this.X;G(this.vb);delete this.vb;G(this.Fo);delete this.Fo;G(this.ce);delete this.ce;G(this.f$);delete this.f$;G(this.ba);delete this.ba;G(this.QE);delete this.QE;G(this.RE);delete this.RE;G(this.jh);delete this.jh;delete this.ie};var SX=function(a,b,c,e,f){V.call(this,f);this.I=a;this.P=b;this.Eb=c;this.sqa=!!e;this.Hm=null};B(SX,V);
SX.prototype.g=function(){SX.c.g.call(this);var a=this.b();a.id=vC.H().Nd();var b=this.j();U(a,"picker-doctype-chip");var c=CW(this.I.qa);b.appendChild(a,b.g(d,"picker-doctype-chip-label",c));ZB(a,"Filtrar  por "+(c+" en"));this.sqa&&(this.Hm=new mD(b.g(d,"picker-spr-close-box-tiny-black")),this.Hm.wk("picker-doctype-chip-dismiss"),this.ca(this.Hm,!0),SB(this.Hm.b(),vf),a="Eliminar filtro: "+c,ZB(this.Hm.b(),a))};SX.prototype.B=function(){SX.c.B.call(this);this.Hm&&this.A().listen(this.Hm,k,this.dma)};
SX.prototype.dma=function(){var a=DW(this.I,ue);a.setQuery(this.Eb.value);a.Aa(Pg,!0);this.P.X.Kb(a)};var TX=function(a,b,c){CD.call(this,c);this.P=a;this.Eb=b};B(TX,CD);TX.prototype.g=function(){TX.c.g.call(this);var a=new wD("Tipo de archivo");this.ca(a,!0);a.tb(2,!1);a.tb(4,!1);U(a.b(),"picker-dropdown-menuitem-header");a.b().removeAttribute(Ym);D(this.P.v.Pm?[ue,Lh,Vg,Ro,Dm,zl,Rg,Tg]:[ue,Lh,bh,Rg,zl,Dm,Ro,Qh,Vg,Tg,cp],function(a){this.Mba(a)},this);this.h7(!0);U(this.b(),Pl);U(this.b(),"picker-doctypes-dropdown-menu")};TX.prototype.B=function(){TX.c.B.call(this);this.A().listen(this,k,this.xu)};
TX.prototype.xu=function(a){a=DW(this.P.X.Vb,a.target.$);a.setQuery(this.Eb.value);a.Aa(Pg,!0);this.P.X.Kb(a)};TX.prototype.Mba=function(a){var b=CW(a);a=new wD(b,a);this.ca(a,!0)};var UX=function(a,b){V.call(this,b);this.I=a};B(UX,V);
UX.prototype.wja=function(){if(this.I.getType()==Wh)return"Los resultados mostrados est\u00e1n disponibles para uso personal o comercial \u00fanicamente en Google Drive; no est\u00e1 permitida su difusi\u00f3n ni su venta de forma independiente.";switch(this.I.getOption(Sj)){case "r":return"Los resultados mostrados est\u00e1n marcados como que se pueden reutilizar.";case "cr":return"Los resultados mostrados est\u00e1n marcados como que se pueden reutilizar con fines comerciales.";case "rwm":return"Los resultados mostrados est\u00e1n marcados como que se pueden reutilizar con modificaciones.";
case "crwm":return"Los resultados mostrados est\u00e1n marcados como que se pueden reutilizar con fines comerciales con modificaciones."}return null};UX.prototype.g=function(){UX.c.g.call(this);var a=this.j(),b=vC.H().Nd(),c=this.I.getOption("learnmoreurl")||"https://support.google.com/drive/?p=docs_image_search&hl="+HS().Qf,e=a.g("A",{target:de},jd);Wx(e,c);this.Na(a.g(d,"picker-licensebar",a.g("LABEL",{id:b},a.createTextNode(this.wja()+" ")),e));T(e,Mj,b)};var VX=function(a,b,c){XU.call(this,b,c);this.Nxa=a;this.v9=this.OQ=null;this.IK=""};B(VX,XU);var WX=["red","orange","yellow","green","teal","blue","purple","pink",pq,"gray",qf,"brown"];VX.prototype.g=function(){var a=this.j().g(d,"picker-searchbarimagefilter");this.Rba(a);this.Qba(a);this.Na(a)};
XU.prototype.Rba=function(a){var b=this.j(),c=this.OQ=new BD(b),e=function(a,e){c.ca(new wD(e,a,b),!0)};e("",rc);e("face","Cara");e(Bl,"Fotograf\u00eda");e("clipart","Im\u00e1genes predise\u00f1adas");e("lineart","Dibujo lineal");e=b.g(d,"picker-menu-container");b.appendChild(b.K().body,e);c.render(e);e=this.v9=new $D(rc,c,FG.H());e.f6(!0);e.render(a);a=e.b();b.setProperties(a,{title:"Filtro de imagen"});U(a,"picker-searchbarimagefilter-type-button")};
XU.prototype.Qba=function(a){var b=this.j(),c=function(a,c){a=b.g(d,"picker-searchbarimagefilter-colorbox goog-inline-block",a);SB(a,vf);T(a,Lj,c);T(a,pn,!1);return a},e=function(a,e){e=b.g(d,{"class":"picker-searchbarimagefilter-colorbox-inner "+e,title:a});return c(e,a)};a.appendChild(e("A todo color","picker-spr-imagefilter-all-colors"));a.appendChild(e("Monocromo","picker-spr-imagefilter-monochrome"));e=function(a,e){e=b.g(d,{"class":em,title:a,style:"background-color: "+e});return c(e,a)};a.appendChild(e("Rojo",
"#c00"));a.appendChild(e("Naranja","#fb940b"));a.appendChild(e("Amarillo","yellow"));a.appendChild(e("Verde","#0c0"));a.appendChild(e("Turquesa","#03c0c6"));a.appendChild(e("Azul","blue"));a.appendChild(e("Morado","#762ca7"));a.appendChild(e("Rosa","#ff98bf"));a.appendChild(e("Blanco",pq));a.appendChild(e("Gris","#999"));a.appendChild(e("Negro",qf));a.appendChild(e("Marr\u00f3n","#885418"))};q=VX.prototype;
q.tba=function(a){var b=this.b().childNodes,c=this.hja(a.getOption(Yi));this.SO(c.$);this.v9.eb(c.pi());c=1;var e=a.getOption(Xi);"mono"==a.getOption("imgc")?c=2:e&&(c=ds(WX,e)+3);for(a=1;a<b.length;a++){e=a==c;var f=b[a];T(f,pn,e);this.eP(f,e);Ty(f,e)}};q.SO=function(a){this.IK=a};q.hja=function(a){for(var b=this.OQ,c,e=b.Xa();0<e&&(c=b.pa(--e),c.$!=a););return c};
q.B=function(){XU.c.B.call(this);var a=this.A(),b=this.b();a.listen(this.OQ,k,this.pua);a.listen(b,zk,this.aua);a.listen(b,yk,this.UM);a.listen(b,Ak,this.$ta);a.listen(b,Jj,this.Vta);a.listen(b,Ij,this.Uta)};q.pua=function(a){var b=this.IK;a=a.target.$;this.SO(a);b!=a&&this.Vv()};q.aua=function(a){this.mC(a,!0)};q.UM=function(a){this.mC(a,!1)};q.mC=function(a,b){var c=this.Cz(a);!c||a.relatedTarget&&Ly(c,a.relatedTarget)||VB(c,pn)==yp||this.eP(c,b)};q.$ta=function(a){(a=this.Cz(a))&&this.w2(a)};
q.w2=function(a){for(var b=this.b().childNodes,c=!1,e=1;e<b.length;e++){var f=b[e],g=f==a,h=VB(f,pn)==yp;g!=h&&(T(f,pn,g),this.eP(f,g),Ty(f,g),c=!0)}c&&this.Vv()};q.Cz=function(a){return hC(a.target,em)?a.target.parentNode:hC(a.target,dm)?a.target:null};q.Vta=function(a){var b=this.Cz(a);return b?13==a.keyCode||32==a.keyCode?(this.w2(b),a.cancelBubble=!0,a.returnValue=!1):!0:!0};
q.Uta=function(a){var b=a.keyCode;if(37==b||39==b){var c=this.Cz(a);if(c){b=37==b;var e=HS().Ge();(b=b^e?c.previousSibling:c.nextSibling)&&hC(b,dm)&&(Ty(b,!0),b.focus(),Ty(c,!1));a.preventDefault();a.stopPropagation()}}};q.eP=function(a,b){a.style.opacity=b?"1":"0.5";a.style.filter=b?"alpha(opacity=100)":"alpha(opacity=50)"};
q.Vv=function(){var a=this.b().childNodes,b=null,c=null;if(VB(a[1],pn)!=yp)if(VB(a[2],pn)==yp)b="mono";else for(var e=3;e<a.length;e++)if(VB(a[e],pn)==yp){c=WX[e-3];break}this.Nxa(this.IK,b,c)};var XX=function(a,b,c){V.call(this,c);this.P=a;this.I=b;this.h5=new oE;this.ca(this.h5);this.EA=!b.getQuery()||!b.Ca(Wi)||b.getType()&&"gis"!=b.getType()?null:new VX(y(this.r4,this),a,c);this.F=vv("picker.ui.SearchBar");this.Yj=this.$l=this.Ru=this.kM=this.eM=this.S_=this.Eb=this.dG=this.uC=null;this.dU=!0;this.Lm=this.rg=this.nt=null};B(XX,V);q=XX.prototype;q.J0=function(){return this.I.Ca(Wi)||this.I.Ca(bq)||this.I.Ca(mq)};
q.I0=function(){var a=this.I;return!!a.getOption(Pg)||!a.getOption(sk)&&a.Ca(ue)};q.PBa=function(){return tR(this.I.qa)&&this.I.qa!=ue};
q.Dea=function(a){this.j();var b=this.I,c=b.getOption(Vn),e=b.getOption("comboTypes");e&&v(e)&&(e=e.split(","));c=this.lY(b.getType(),c);if(!b.Ca(Wi)||!e||2>e.length)return c;U(a,"picker-searchbar-combobox");this.Yj=new $D(c,null,FG.H());this.Yj.O6(!0);D(e,function(a){var c=new wD(this.lY(a));c.wk("picker-searchbar-menuitem");this.Yj.sc(c);this.A().listen(c,k,function(){var c=b.clone();c.Aa(zp,a);this.P.Ma.Ak();this.P.X.Kb(c)})},this);this.Yj.wk("picker-searchbar-combobox-dropdown");this.Yj.g();return this.Yj.b()};
q.lY=function(a,b){var c=this.j();switch(a){case Wh:a=c.g(td,"picker-searchbar-stock-photos");ZB(a,"Im\u00e1genes de archivo");Ny(a,"Archivo");break;case "life":a=c.g(td,"picker-spr-life-photo-archive");ZB(a,"Im\u00e1genes de Life");break;default:a=c.g(Vc,{src:"https://www.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_52x20dp.png","class":"picker-googlelogo-small"}),ZB(a,"Im\u00e1genes de b\u00fasquedas en Google")}b&&-1!=b.indexOf(yq)&&(a=c.g(td,"picker-spr-youtube"));U(a,fi);U(a,"picker-searchbar-input-item");
return a};q.w7=function(a){this.dG=JV.H().Gf("opd").xl.pNa(this.P,y(this.Kga,this),this.I,HS().Ge(),this.uC,a);this.dG.$S(this.Eb)};q.zAa=function(a){this.uC=a};q.Qya=function(a){this.dU=a};var YX=function(a){T(a,lf,Tj);T(a,Fi,!0)};q=XX.prototype;
q.g=function(){var a=this.j(),b=a.g(d,"picker-searchbar"+(this.J0()?" picker-searchbar-logo":""));this.Na(b);var c=this.I,e=c.getQuery();e=this.Eb=a.g(Xc,{type:fp,"class":"picker-searchbar-input-box jfk-textinput",value:e?e:""});T(e,Lj,"T\u00e9rminos de b\u00fasqueda");var f=new mG(pG(Ta),a);f.g();f.XD(!0);f.Wc("Buscar");this.$l=f;var g=null;if(this.J0()){var h=this.Dea(b);g=a.g(d,cm,h,e,f.b());this.eM=h}else this.I0()?(lC(e,"picker-searchbar-dropdownmenu-padding",!0),g=a.g(d,cm,e),this.rg=oG(a.g(d,
im),a),this.rg.render(g),lC(this.rg.b(),"picker-flat-menu-button",!0),qF(this.rg.b(),"Opciones de b\u00fasqueda avanzadas"),T(this.rg.b(),Fi,!0),this.nt=new TX(this.P,e),this.ca(this.nt,!1),this.nt.pd(this.rg.b(),13,12),this.nt.render(this.P.v.Zp()),g.appendChild(f.b())):g=a.g(d,"picker-searchbar-input",e,f.b());b.appendChild(g);this.S_=g;this.PBa()&&(this.Lm=new SX(this.I,this.P,e,this.I0(),a),this.ca(this.Lm,!1),this.Lm.g(),f=this.Lm.b(),Cy(f,e),T(e,Ig,f.id));switch(c.qa){case ue:case Vg:case bh:case Lh:case Qh:case zl:case Dm:case Ro:e.setAttribute(lf,
"off");YX(e);JV.H().Et("opd",y(this.w7,this,!1));break;case Wi:var l=!1;this.P.ie.ua(function(a){l=a.pga});l&&null!=c.getOption(pg)&&(e.setAttribute(lf,"off"),YX(e),JV.H().Et("opd",y(this.w7,this,l)))}(f=this.EA)&&f.render(b);c.getOption(Sj)&&(new UX(c,a)).render(b);this.h5.R(e)};
q.B=function(){XX.c.B.call(this);this.$l.B();this.Yj&&this.Yj.B();var a=this.A();a.listen(this.j().getWindow(),Vm,this.Kj).listen(this.$l,k,this.L8).listen(this.Eb,Jj,this.vu).listen(this.Eb,Ih,y(function(){this.dispatchEvent("R")},this)).listen(this.Eb,rf,y(function(){this.dispatchEvent("S")},this));this.rg&&a.listen(this.rg,k,this.kma);this.Ru=this.dka(this.Eb);this.kM=this.$I(this.Eb).width;this.Kj();var b=new nE(this.Eb);this.Y(b);a.listen(b,dj,this.Una)};
q.Kj=function(){if(!(0>this.$I(this.Eb).width)){var a=this.hia(this.Eb);a=a.left+a.right;var b=this.Ru.left+this.Ru.right,c=this.Hja()-b-a;c>this.kM&&(c=this.kM);var e=null;this.Lm&&(e=this.yz(this.Lm.b()).width,c-=e,b+=e);0>c&&(c=0);eA(this.Eb,c);if(this.Lm){var f=HS().Ge();Q(this.Eb,f?"padding-right":"padding-left",e+(f?this.Ru.right:this.Ru.left)+n)}this.rg&&(a=c+b+a-this.yz(this.rg.b()).width,Rz(this.rg.b(),a))}};
q.Hja=function(){var a=this.$I(this.S_).width-100-100-this.yz(this.$l.b()).width;this.eM&&(a-=this.yz(this.eM).width);return a};q.kma=function(){this.nt.E7(this.rg.b(),13,12)};q.aq=function(){return jr(this.Eb.value)};q.Sb=function(){return!this.Eb.value};q.Una=function(){var a=this.aq(),b=this.$l,c=b.getStyle();a&&2!=c?b.Er(2):a||0==c||(b.Er(0),b.eb(pG(Ta)));this.dispatchEvent(new ZX(a))};q.vu=function(a){if(13==a.keyCode)return this.I.P8()||this.L8(),a.preventDefault(),a.stopPropagation(),!1};
q.L8=function(){var a=this.aq();a!=(this.I.getQuery()||"")&&(this.Eb.value="",a?(this.$l.Er(0),this.$l.eb(pG(Ta)),this.Vv(a)):this.r4(null,null,null))};q.Kga=function(){this.Vv(this.aq())};q.Vv=function(a){var b=this.I.clone();b.setQuery(a);b.Ks(Lo);this.dU&&this.P.Ma.Ak();this.P.X.Kb(b)};q.r4=function(a,b,c){var e=this.I.clone();e.setQuery(this.aq());e.Ks(Lo);var f=e.Yp();f&&f.dL()&&e.Aa(Lo,15);e.Aa(Yi,a);e.Aa("imgc",b);e.Aa(Xi,c);this.P.Ma.Ak();this.P.X.Kb(e);a&&this.P.ba.nc(87);(b||c)&&this.P.ba.nc(88)};
q.setActive=function(a){a&&this.aq()!=this.I.getQuery()&&(this.Eb.value=this.I.getQuery()||"",this.dispatchEvent(new ZX(this.aq())))};q.XM=function(a){a&&this.EA&&this.EA.tba(this.I)};q.focus=function(){try{return this.Eb.focus(),!0}catch(a){return xv(this.F,mc),!1}};q.o=function(){G(this.I);G(this.dG);G(this.Eb);G(this.$l);G(this.EA);G(this.Yj);XX.c.o.call(this)};var ZX=function(a){H.call(this,"T");this.VK=a};B(ZX,H);q=XX.prototype;
q.yz=function(a){a=pA(a);a.width||(a.width=0);a.height||(a.height=0);return a};q.$I=function(a){a=sA(a);a.width||(a.width=0);a.height||(a.height=0);return a};q.dka=function(a){return this.oY(rA(a))};q.hia=function(a){return this.oY(Yz(a))};q.oY=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 $X=function(a,b){if(u(b)){switch(b){case 3:return"Se han seleccionado demasiados elementos. Anula la selecci\u00f3n de uno o varios.";case 5:return"Se ha superado el tama\u00f1o m\u00e1ximo de archivo. Anula la selecci\u00f3n de uno o varios.";case 4:return"Se ha superado el tama\u00f1o m\u00e1ximo de archivo.";case 1:return xd;case 7:return xd;case 2:return a.vi().Kl(pV);case 6:return"El propietario de uno o varios de estos archivos ha inhabilitado la opci\u00f3n de descarga."}return"Se ha producido un error. Vuelve a intentarlo."}return""},
aY=function(a){var b=a.v,c=b.N1,e=b.Ksa;b=b.O1;var f=[];a=a.Ma;var g=a.QY();b&&a.RY()>b&&f.push(5);c&&g>c&&f.push(3);e&&g<e&&f.push(2);return f};var bY=function(a,b,c,e){BD.call(this,e);this.P=a;this.I=b;this.ECa=GW(b);this.t0=c;this.wE=null};B(bY,BD);q=bY.prototype;q.g=function(){bY.c.g.call(this);var a=this.I;a=a.getQuery()?[3,5]:a.jL()?[3,10,2,8,9]:[3,10,2,8];for(var b=0;b<a.length;b++)this.Fx(EW(a[b]),a[b]);U(this.b(),Pl);U(this.b(),"picker-sort-dropdown-menu")};q.B=function(){bY.c.B.call(this);this.A().listen(this,k,this.xu)};q.EEa=function(a){this.t0=a;this.wE&&(this.wE.C(!a),this.wE.U(!a))};
q.xu=function(a){var b=this.I.clone();b.Aa(Lo,a.target.$);this.P.X.Kb(b)};q.Fx=function(a,b){a=new wD(a,b);b==this.ECa&&(a.Gw(!0),a.ag(!0));this.ca(a,!0);8==b&&(this.wE=a,this.EEa(this.t0))};var cY=function(a){this.sm=void 0;this.i_=a};B(cY,gD);cY.prototype.g=function(a){return a.j().g(d,this.Zd(a))};cY.prototype.Bd=function(a){cY.c.Bd.call(this,a);a=a.XI();if(!this.i_){a[0].Yg(2);for(var b=1;b<a.length-1;++b)a[b].Yg(3);a[a.length-1].Yg(1)}};cY.prototype.tEa=function(a){a=a.XI();if(this.i_){for(var b,c=0;c<a.length;c++){var e=a[c];e.C(!e.Rd());e.Rd()||(b=e)}b.no(!0)}};cY.prototype.S=function(){return"picker-segmentedbuttonbar"};var dY=function(a,b,c,e){C(1<=a.length,"The button bar should have at least 1 button");sD.call(this,Li,e||new cY,c);this.Me(!1);this.LO(!0);this.O=new aE;D(a,this.zba,this);b?this.U6(b):(a=this.O.Yia(),C(a,"First button cannot be null"),this.lk(a))};B(dY,sD);q=dY.prototype;q.B=function(){dY.c.B.call(this);this.A().listen(this.O,mn,y(this.dispatchEvent,this,Cf))};q.zba=function(a){a.tb(8,!0);this.O.sc(a);this.A().listen(a,k,this.gq);this.ca(a,!0)};q.lk=function(a){this.O.xa()!=a&&(this.O.Bb(a),this.M.tEa(this))};
q.dA=function(){return this.O.xa()};q.FY=function(){return this.dA().getValue()};q.U6=function(a){var b=os(this.XI(),function(b){return a==b.getValue()},this);b&&this.lk(b)};q.XI=function(){return this.O.Gj()};q.gq=function(a){this.lk(a.target)};var eY=function(a,b,c){XU.call(this,a,c);this.I=b;this.Yf=new XX(a,b,c);this.Y(this.Yf);this.Uy=this.st=this.Hh=null};B(eY,XU);q=eY.prototype;
q.g=function(){var a=this.j().g(d,"picker-toolbar");this.Na(a);this.Yf.zAa(a);this.ca(this.Yf,!0);this.RBa()&&(a=AW(this.I,this.getContext())?Ci:Tj,this.Hh=new dY([this.XG("Vista de lista",Tj,"picker-spr-list-view"),this.XG("Vista de cuadr\u00edcula",Ci,"picker-spr-grid-view")],a,this.j(),new cY(!0)),this.Y(this.Hh),this.ca(this.Hh,!0),U(this.Hh.b(),"picker-drive-view-switcher"));this.QBa()&&(this.Gba(),this.Hh&&U(this.Hh.b(),"picker-drive-view-switcher-with-drive-sort"))};
q.B=function(){eY.c.B.call(this);this.Hh&&this.A().listen(this.Hh,Cf,y(this.Tma,this))};q.Tma=function(){var a=this.Hh.FY()==Ci;this.getContext().ie.ua(function(b){b.i$.Hya("dl",!a)});this.getContext().Yo.Y4(a?"Se ha cambiado a la vista de cuadr\u00edcula.":"Se ha cambiado a la vista de lista.",ym)};q.XG=function(a,b,c){var e=this.j();c=e.g(d,{"class":c+" picker-drive-view-switcher-button"},"\u00a0");e=new mG([c],e);e.setValue(b);e.YD(1);e.g();e.XD(!0);e.Wc(a);return e};
q.setActive=function(a,b){this.Yf.setActive(a,b);this.Hh&&this.Hh.U6(AW(this.I,this.getContext())?Ci:Tj)};q.XM=function(a){this.Yf.XM(a)};q.focus=function(){return this.Yf.focus()};q.RBa=function(){return this.getContext().v.hW&&tR(this.I.qa)&&this.I.qa!=Tg&&!this.I.getOption(uk)&&!this.I.eB()};q.QBa=function(){var a=this.getContext().v;return a.Pm&&a.dga&&tR(this.I.qa)&&15!=this.I.getOption(Lo)&&!this.I.eB()};
q.Gba=function(){var a=this.j();this.Uy=new bY(this.getContext(),this.I,!1,a);this.Y(this.Uy);this.Uy.render(this.b());this.st=new $D(a.g(d,"picker-spr-sort picker-docsortoptions-menu-button-content"),this.Uy,FG.H(),a);this.Y(this.st);this.ca(this.st,!0);a=this.st.b();pF(a,"Ordenar",void 0);lC(this.st.b(),"picker-docsortoptions-menu-button",!0)};var fY=function(a,b,c,e,f){this.Vs=rW(b,a.v);vW.call(this,a,b.mu(),f);this.I=b.clone();(this.Nb=this.TBa()?new eY(a,b,f):null)&&this.ca(this.Nb);this.Fa=this.qea(e,c,f);this.PG=null;this.Hk={};this.e5=new pE(this.I1,400,this);this.rl=null;this.Da=vv("picker.ui.PickerDataView");this.f5=this.Ji=this.tv=this.Ai=this.tH=null;this.Zf="";this.YK=this.Du=!1;this.Ty=null};B(fY,vW);q=fY.prototype;
q.TBa=function(){var a=this.I;if(a.Ca(Gl)){var b=a.getType();return b==Wh?!0:!b&&!a.getOption(m)&&!a.getOption(Ui)}return a.getOption(Ui)?!1:a.Ca(ue)||a.Ca(Rg)||a.Ca(Sg)||a.Ca(Tg)||a.Ca(Vg)||a.Ca(bh)||a.Ca(Lh)||a.Ca(Qh)||a.Ca(Wi)||a.Ca(zl)||a.Ca(Al)||a.Ca(Dm)||a.Ca(Ro)||a.Ca(Xn)||a.Ca(cp)||a.Ca(bq)||a.Ca(mq)};
q.g=function(){var a=this.j(),b=this.Fa;b.g();this.rl||this.Bea();this.PG=a.g(d,"picker-content-container",b.b());b=a.g(d,"picker-content picker-dataview",this.PG);this.Na(b);if(b=this.Nb)b.g(),a.Tu(b.b(),this.PG);this.C(this.Wa)};q.qEa=function(a){this.I.$f(a)};q.Bea=function(){this.rl=new SW(this.j());this.Y(this.rl);this.rl.g()};
q.B=function(){this.Ji=this.Ji||$R(this.b());fY.c.B.call(this);this.rl&&this.b().parentNode.appendChild(this.rl.b());this.I.P8()&&(this.f5=new qz(this.G9,200,this),this.Nb&&this.l1(this.Nb.Yf));var a=this.Fa;a.B();this.A().listen(a,["check","uncheck"],this.aoa).listen(a,"open",this.rna).listen(a,Eg,this.mA);this.Ji&&this.A().listen(this.Ji,jn,y(this.e5.It,this.e5))};q.l1=function(a){this.A().listen(a,"T",function(a){((this.Zf=a.VK)||this.I.getQuery())&&this.Zf!=this.I.getQuery()&&(this.YK=!0,this.f5.start())})};
q.Pa=function(){fY.c.Pa.call(this);this.Fa.Pa()};q.KBa=function(){var a=this.j();try{if(this.Nb&&a.contains(this.Nb.b(),a.St()))return!1}catch(b){}return!0};q.wda=function(){this.Du||this.kk()};q.kk=function(){var a=this.I;return this.KBa()?this.Nb&&!a.getQuery()&&(a.Ca(mq)||a.Ca(Wi)||a.Ca(bq))?(this.Du=!0,M(function(){this.Nb.focus()},0,this),!0):this.Du=this.getContainer().kk():this.Du=!0};
q.setActive=function(a,b){fY.c.setActive.call(this,a,b);this.Nb&&this.Nb.setActive(a,b);a&&(this.YK&&(this.Zf="",this.G9()),this.YK=!1)};q.C=function(a){var b=this.b();b.style.top=a?"":Ga;b.style.left=a?"":Ga;b.style.right=a?"":"9500px";this.Nb&&this.Nb.XM(a);E&&Xt("7")};q.getToken=function(){return this.I};q.qea=function(a,b,c){return new xW(a,b||wW.H(),c)};q.getContainer=function(){return this.Fa};q.iza=function(a){this.Hk=a};
q.yN=function(a){this.Ri("vdr");this.tv&&(Ey(this.tv),delete this.tv);this.Ty&&(this.removeChild(this.Ty,!0),delete this.Ty);for(var b=this.Hk,c={},e,f=0;f<a.length;f++)e=a[f].getId(),c[e]=b[e],c[e]&&c[e].J1&&c[e].J1(),delete b[e];this.iza(c);this.yfa(b);this.bwa(a);this.ji("vdr")};q.yfa=function(a){var b=this.getContainer();Qs(a,function(a){a&&a.dispose&&(b.removeChild(a,!0),a.dispose())})};q.bwa=function(a){this.getContainer().Ke(!0);this.b().scrollTop=0;this.appendData(a)};
q.cwa=function(a){var b=this.Dz(a),c=this.getContext().Ma;if(b){var e=b.K();if(this.xd().RG(a))b.update();else for(var f=this.wI(this.xd().dc()),g=0;g<f.length;g++){var h=f[g];if(h.getAttribute("oid")==e.getId()){bt(this.Hk,a);Ys(this.Hk,h.getId())?(this.getContainer().removeChild(b,!0),b&&b.dispose&&b.dispose()):(ct(this.Hk,h.getId(),b),b.Xh(h.getId()),this.SA(b)&&b.FB&&b.FB(),b.update());c.Rd(e.getId())&&(c.QD([e.getId()],!1),c.QD([h.getId()],!0));break}}}else wv(this.Da,"redrawData on doc not in view.")};
q.appendData=function(a){var b=this.getContext(),c=b.Ma,e=this.Hk;D(a,function(a){var f=a.getId(),h=e[f]=e[f]||this.UG(a);a.bL()||b.v.Sqa(a.Jg)||h.tb(16,!1);this.Cba(h);h.ke(c.Rd(f))},this);b.v.c0(Pm)&&b.vb.as(a,Pm);this.iM();this.wda();a=this.getContainer().Xa();(0==a||this.SA(this.getContainer().pa(a-1))&&this.xd().el())&&M(this.ku,0,this);this.dispatchEvent("dataAppended")};q.Tg=function(a){fY.c.Tg.call(this,a);this.nM()};q.Cba=function(a){this.getContainer().ca(a,!a.V)};
q.jwa=function(a){var b=this.Dz(a);b&&(this.Fa.removeChild(b,!0),b.dispose(),delete this.Hk[a],this.iM())};q.Kr=function(a){this.rl&&this.rl.C(a)};q.Ht=function(a){fY.c.Ht.call(this,a);this.nM()};
q.nM=function(){if(this.Wa&&this.getContext().v.Fl&&this.xd()&&this.xd().Eg()){var a=this.getToken().getOption("maxPrefetchCollections")||0;if(!(0>=a))for(var b=this.wI(this.xd().dc()),c=this.getContext().ba,e=0,f=0;f<b.length&&e<a;f++)if(b[f].bL()){e++;var g=this.NY(b[f]).mu();c.xd(g).uI||c.requestData(g,Qq,Qq,!0)}}};q.UG=function(a){var b=this.tH;b||(b=this.tH=new LW(this.getContext().v.TB));b=new MW(this.getContext(),a,b,this.j());a.bL()&&!this.I.Ca(Qm)&&(b.tb(64,!0),b.tb(16,!1),b.wD(64,!1));return b};
q.My=function(){this.$V(this.I.Vja());if((this.I.Ca(ue)||this.I.Ca(Rg)||this.I.Ca(Sg)||this.I.Ca(Tg))&&Us(this.I.getOptions(),function(a,c){return c==rl?!1!==a:c==Zi?!0:null==a})){var a=this.getContext();a.ie.ua(y(function(b){b.cga&&this.ca(this.Ty=new zW(a,this.j()),!0)},this))}fY.c.My.call(this)};
q.$V=function(a){var b=this.j();this.tv||(this.getContainer().J().appendChild(this.tv=b.g(Jd,null,b.g(Hd,null,this.Ai=b.g(d,"picker-dataview-message")))),SB(this.Ai,Xo),T(this.Ai,Vj,ef));v(a)?b.bg(this.Ai,a):(b.Ke(this.Ai),this.Ai.appendChild(a))};q.N9=function(a){var b=this.Dz(a);b&&b.ke(this.getContext().Ma.Rd(a))};q.Dz=function(a){return this.Hk[a]};
q.aoa=function(a){var b=a.target.K(),c=this.getContext();b=b.getId();var e=c.Ma;if(e.Rd(b)!=("check"==a.type)){if(!e.bx(b,c.v.TB?"cb":"cl"))return!1;(a=this.Dz(b))&&a.dxa()}return!0};q.rna=function(a){a=a.target.K();a=this.NY(a);this.getContext().X.Kb(a)};q.NY=function(a){var b=this.I.clone();this.getContext().v.In?b.Aa(m,a.jb):b.Aa(m,a.getId());b.setQuery(null);b.$f(this.I);a.Jg==Ke?b.Aa(uk,Zm):b.getOption(uk)==Zm&&b.Aa(uk,void 0);return b};
q.mA=function(a){a=a.target;if(a.pb(16)&&a.isEnabled()){a=a.K();var b=this.getContext(),c=b.Ma;c.Rd(a.getId())&&c.Ak();c.bx(a.getId(),"cl")&&(c=aY(b),rs(c)&&b.vb.as([a]))}};q.iM=function(a){a=a||1;5<a||(this.Ji&&!this.Ji.offsetHeight?M(y(this.iM,this,a+1),20):this.I1())};q.I1=function(){for(var a=this.getContainer(),b=a.Xa(),c=this.Zia();c<b;c++){var e=a.pa(c);e&&this.SA(e)&&e.FB&&e.Kqa&&!e.GA&&(e.FB(),c==b-1&&this.ku())}};
q.Zia=function(){if(!this.Ji)return 0;for(var a=this.Ji,b=a.scrollTop+a.offsetHeight,c=this.getContainer(),e=0,f=c.Xa()-1;e<f;){var g=e+f>>1,h=c.pa(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.pa(g-1);0<g&&h&&this.SA(h);)g--,h=c.pa(g-1);return g}}return 0};
q.SA=function(a){if(!this.Wa)return!1;if(!this.Ji)return!0;var b=this.Ji,c=b.scrollTop-b.offsetHeight;b=b.scrollTop+2*b.offsetHeight;a=a.b();return a.offsetTop<b&&a.offsetTop+a.offsetHeight>=c};q.G9=function(){this.I.setQuery(this.Zf);this.DAa(this.I.mu());this.getContext().X.ow(this.getContext().X.ac,this.I);this.ku(!0)};q.YJ=function(a){a.data.visible&&this.Wa&&(this.Du=!1);fY.c.YJ.call(this,a);this.nM()};q.o=function(){fY.c.o.call(this);this.I.dispose();this.Fa.dispose();this.tH=null};q.Rp=function(){return this.Vs};var gY=function(a,b){YU.call(this,a,b);this.nR=new L;this.A().listen(a.X,"B",this.Fna);a=a.Ma;a.d6(y(this.Xga,this));a.fza(y(this.Mia,this))};B(gY,YU);q=gY.prototype;q.F=vv("picker.ui.ViewManager");q.ac=null;q.Xo=null;q.ov=null;q.rm=null;var hY=[];q=gY.prototype;q.g=function(){gY.c.g.call(this);var a=this.ac;a&&(a.g(),this.j().appendChild(this.b(),a.b()))};q.tc=function(){return!0};q.Ka=function(a){gY.c.Ka.call(this,a);a=this.j().Zm(a);var b=this.ac;b&&(a?b.R(a):b.render(this.b()))};
q.Fna=function(a){if(a.Ffa){var b=this.getContext().v,c=b.HH;b.ft(!0);this.ow(a.cx);b.ft(c)}else this.ow(a.cx);sv(a.cx.jk())};q.fla=function(a){var b=this.nR,c=a.Ef(),e=b.get(c);if(!e){var f=this.getContext();e=rW(a,f.v);(f=f.Gh)&&e&&f.Ri(e,"vup");e=this.FX(a).create(a,this.getContext(),this.j());this.A().listen(e,Cf,this.fK).listen(e,"z",this.Moa);b.set(c,e);this.ca(e)}return e};
q.FX=function(a){for(var b=this.getContext().v,c=0;c<hY.length;c++)if(hY[c].CT(a,b))return hY[c];throw Error("No creator registered for view creation.");};q.ow=function(a){K(this.F,"SetActiveView initial history string: "+a.Oz());this.ov=a;var b=this.FX(a);if(b.s4(a,this.getContext().v)){var c=2,e=y(function(){0==--c&&this.lO(a)},this);b.load(e);this.getContext().ie.ua(e)}else b.Dh()?this.lO(a):b.load(y(this.lO,this,a))};
q.lO=function(a){if(this.ov&&this.ov.ad(a)){this.ov=null;var b=this.getContext(),c=b.X,e=a.getOptions(),f=this.fla(a);a.getOption(kn)&&f instanceof fY&&f.qEa(a.Bc);if(f!=this.ac){var g=b.Gh;g&&!this.ac&&g.Xza(uW(a,b.v));this.V&&!f.V&&f.render(this.b());this.Xo&&this.Xo.E8&&(this.Xo.E8(),this.Xo=null);var h;this.ac&&this.ac.b()&&(h=sA(this.ac.b()));c.Kfa(a);f.setActive(!0,e);g&&!this.ac&&(g.OC("livr"),sW(a)||g.HN());!b.v.HH&&this.ac&&f.HS?(this.Xo=f,f.HS(this,this.ac,h,y(this.aX,this,f,a))):this.aX(f,
a)}}};q.aX=function(a,b){this.Xo=null;var c=this.getContext().X,e=this.ac;e&&e.setActive(!1);this.ac=a;c.ow(a,b);this.getContext().v.Fl&&a.kk();this.O9();this.dispatchEvent(Cf);c.Nfa(b);K(this.F,"SetActiveView final history string: "+b.Oz())};q.Xga=function(a){var b=this.ac;if(b){var c=[];b=b.Sp().nb();for(var e=0;e<a.length;e++)qs(b,a[e])&&c.push(a[e]);return c}return a};q.fK=function(a){a.target instanceof YU&&a.target.Wa&&this.O9()};
q.Moa=function(a){var b=this.getContext();a.currentTarget instanceof YU&&(a=a.currentTarget.Rp(),(b=b.Gh)&&a&&b.ji(a,"vup"))};q.O9=function(){this.getContext().Ma.sEa()};q.Mia=function(){var a=this.ac;return a?a.Sp():new QG};q.o=function(){gY.c.o.call(this);this.nR.clear();this.ov=this.ac=this.nR=null};var iY=function(a,b){YU.call(this,a,b);var c=a.v,e=c.mL()?new pW(a,b):c.AK?new SV(a,b):new kW(a,b);this.Y(e);this.Sf=e;this.tx=new gY(a,b);this.WB=e=c.WB;this.Aj=(c=c.In)?new zV(a,b):null;this.Y(this.Aj);this.nf=c?new EV(a,b):new qW(a,b);this.Y(this.nf);this.ca(this.nf);this.Aj?(this.nf.Se(this.Aj),this.nf.zza(this.Aj),this.Aj.Se(this.tx)):this.Sf&&!e?(this.nf.Se(this.Sf),this.Sf.Se(this.tx)):this.nf.Se(this.tx);oF(this.j());this.Cs=null};B(iY,YU);q=iY.prototype;
q.ria=function(a){switch(a){case cj:return"picker-chrome-inline";case Nk:return"picker-chrome-none";default:return""}};
q.g=function(){var a=this.getContext().v,b=a.AK,c=this.j(),e=this.Cs=c.g(d,"picker-main-overlay",c.g(d,"picker-main-overlay picker-busy"));R(e,!1);c=c.g(d,"picker-main-container "+this.ria(a.Cda),e);a.Dd()&&U(c,"picker-min-container");lC(c,"picker-navhidden",this.WB);lC(c,"picker-navhorizontal-new",b&&a.Pm);lC(c,"picker-ie",E);lC(c,"picker-people-picker",a.mL());lC(c,"picker-gplus",a.p0());this.Na(c);c.setAttribute(Ei,"ghid-pmc");a=this.getContext().vi().e4(MV);c.appendChild(a);this.nf?(this.nf.g(),
c.appendChild(this.nf.b())):this.WB?(this.tx.g(),c.appendChild(this.tx.b())):(this.Sf.g(),c.appendChild(this.Sf.b()));this.fqa()};
q.B=function(){iY.c.B.call(this);var a=this.getContext().Gh;a&&(a.OC("lav"),a.ji("ev","evavc"));a=this.getContext().v;this.getContext().Yo.Y4(a.Pd(),ef);var b=this.j().K(),c=HS().isNative();c||bS(b.body,this.A());this.A().listen(b,Ij,y(this.g_,this,!1),!0).listen(b,wk,y(this.g_,this,!0),!0);this.A().listen(b,Ij,this.Ah,c&&a.Dd()).listen(b,Kj,this.jq).listen(this.getContext().X,"D",this.sta).listen(this.getContext().ce,jq,this.vua);if(a.Dd()&&!a.gt)if(c)if(this.A().listen(b,wk,this.oZ,!0),E){try{var e=
b.activeElement}catch(g){}for(;e&&e.nodeName==Uc;){try{var f=My(e)}catch(g){break}b=f;e=b.activeElement}this.A().listen(b,wk,this.oZ,!0);this.A().listen(b,Fg,this.mZ)}else this.A().listen(b,rf,this.mZ);else E||this.A().listen(b,rf,this.fma,!0);a.mL()?(e=this.getContext().v.ui()[0][2]||{},e.type=e.type||Al,this.Sf.$Ba(e)):this.Sf.Ow(this.KX());a.Yea&&JV.H().s3("opr")};
q.KX=function(){var a=this.Sf,b=this.getContext().v.sfa;b?b instanceof uR?a=RU(b.getId(),b.wg(),b.getOptions()):(a=JSON.parse(b),a=RU(a[0],a[1],a[2])):a=a.Kz();return a};q.sta=function(a){a.fda&&!kA(this.Cs)?(R(this.Cs,!0),(new QA(this.Cs,500,function(a){return a/2})).play()):R(this.Cs,!1)};
q.vua=function(a){a=a.data.visible;var b=this.getContext(),c=b.Bi;if(b.v.In&&b.v.Dd()&&Nq(a)&&!a){if(b.vb.i3)b.ba.nc(80),b.vb.K6(!1);else{b.ba.nc(73);var e=b.X.Vb;e&&e.getOption(dk)?b.ba.nc(75):1==c.SV?b.ba.nc(74):1==c.B7&&b.ba.nc(76)}c.UAa(0);c.dza(0);b.ba.lX()}b.v.Dd()&&a&&(c=(c=c.GDa)||this.KX(),b.X.Kb(c,!0));(b=b.Gh)&&a&&b.U(!0)};
q.Ah=function(a){if(27==a.keyCode&&!this.Zqa()){var b=this.getContext().v.Dd(),c=HS().isNative();b&&c?this.getContext().v.Fl&&(this.getContext().vb.Vi(),a.preventDefault(),a.stopPropagation()):this.getContext().vb.Vi()}(13==a.keyCode||3==a.keyCode)&&(b=a.target)&&hC(b,"picker-disambiguation-radio-internal-link")&&this.getContext().Bi.W5(!1);(b=this.getContext().X.Vb)&&!b.getOption(dk)&&b.getOption("emak")&&this.nf instanceof EV&&(a.keyCode==(It?18:17)?(this.getContext().v.XH(!0),this.nf.kA(),a.preventDefault(),
a.stopPropagation()):this.getContext().v.hh&&13!=a.keyCode&&3!=a.keyCode&&(this.getContext().v.XH(!1),this.nf.kA()))};q.jq=function(a){var b=this.getContext().X.Vb;b&&!b.getOption(dk)&&b.getOption("emak")&&this.nf instanceof EV&&this.getContext().v.hh&&(this.getContext().v.XH(!1),this.nf.kA(),a.preventDefault(),a.stopPropagation())};q.oZ=function(a){if(this.getContext().v.Fl){var b=this.getContext().v.Zp()||this.b();Ly(b,a.target)||this.getContext().vb.Vi()}};
q.fma=function(){if(this.getContext().v.Fl){if(!this.getContext().Bi.tW){var a=this.j().K();if(a.hasFocus&&!a.hasFocus()){this.getContext().Bi.W5(!0);return}}M(function(){var a=this.j().K();a.hasFocus&&!a.hasFocus()&&this.getContext().vb.KDa()},0,this)}};q.mZ=function(a){if(this.getContext().v.Fl){var b=this.getContext().v.Zp()||this.b(),c=fy(b);if("undefined"!=typeof document.activeElement){if(a=c.activeElement,!a||Ly(b,a)||"BODY"==a.tagName)return}else if(a.target!=c)return;this.getContext().vb.Vi()}};
q.g_=function(a){lC(this.Ta(),"hideable-focus-shown",!a);lC(this.Ta(),"hideable-focus-hidden",a)};q.fqa=function(){var a=Gt?"-webkit":Ft?"-moz":void 0;a&&LN(this.getContext().vi().render(LV,{prefix:a,selector:"picker-progressbar-anim"}),this.j())};q.Zqa=function(){var a=this.getContext().X.Vb;return!!a&&a.Ca(El)};var jY=function(){dW.call(this,"picker-font-control")};B(jY,dW);jY.prototype.g=function(a){var b=a.K();a=a.j();var c=a.g(Jd,"picker-font-control-tablerow");b=b.jb;b=a.g(Hd,{"class":"picker-font-control-name-cell",style:Mh+b+'::Menu"'},a.g(td,"picker-spr-added-check"),b);a.append(c,b);return c};var kY=function(){this.II={};this.Op=null};Rq(kY);kY.prototype.pS=function(a,b){for(var c=[],e=0;e<a.length&&!(4093<Vs(this.II));e++){var f=a[e],g=f.jb;f=f.getAttribute("affr");null==f||u(this.II[g])||(c.push(f),this.II[g]=!0)}if(0<c.length)if(this.Op)if(this.Op.styleSheet)for(e=0;e<c.length;e++)this.Op.styleSheet.insertRule(c[e],this.Op.styleSheet.cssRules.length);else this.Op.firstChild.appendData(c.join("\n"));else this.Op=LN(c.join("\n"),b)};var lY=function(){this.sm=void 0};B(lY,wW);lY.prototype.g=function(a){a=a.j();return a.g(Fd,this.S()+"-content picker-listrenderer-table",a.g(Gd))};var mY=function(a,b,c){fY.call(this,a,b,new lY,$p,c);this.nha=new jY};B(mY,fY);mY.prototype.appendData=function(a){kY.H().pS(a,this.j());mY.c.appendData.call(this,a)};mY.prototype.UG=function(a){return new bW(this.getContext(),a,this.nha,this.j())};mY.prototype.mA=Qq;var nY=function(a){V.call(this,a);this.xs=new eF(this.re,!0);this.cb=new LD;this.l_=0;this.RW=[]};B(nY,V);q=nY.prototype;q.re="jfk-bubble";q.RP=!0;q.we=!1;q.Ql=function(a){this.xs.Ql(a);this.ha()};q.setPosition=function(a,b,c,e){C(!this.V,"Must call setPosition() before rendering");this.xs.setPosition(a,b,c,e)};q.ZBa=function(a){C(!this.V,"Must call setShowClosebox() before rendering");this.RP=a};q.wk=function(a){C(!this.V,"Must call addClassName() before rendering");this.RW.push(a)};
q.eb=function(a){C(v(a)||a.nodeType||a instanceof OE||a instanceof ox,"Content must be a string or HTML.");this.uc=a;this.P5(a)};q.P5=function(a){var b=this.J();a&&b&&(v(a)?Ny(b,a):a instanceof OE?Vx(b,a.Ti()):a instanceof ox?Vx(b,a):(Vx(b,Fx),b.appendChild(a)))};q.pw=function(a){this.cb.pw(a)};q.qw=function(a){this.xs.qw(a)};q.Ni=function(a){this.we=a};q.J=function(){return this.Fc(this.re+"-content-id")};
q.g=function(){this.Na($E(XG,{YBa:this.RP,uid:"bubble-"+Yq(this)},void 0,this.j()));this.P5(this.uc);R(this.b(),!1);this.cb.vr(this.b());this.aea(this.cb);iC(this.b(),this.RW)};q.aea=function(a){Ht||a.WD(wG(this.b(),.218),xG(this.b(),.218))};
q.B=function(){nY.c.B.call(this);this.A().listen(this.cb,[pf,In,of,Ii],this.tna);this.RP&&this.A().Iq(this.Fc(this.re+"-closebtn-id"),iK,cr(this.C,!1));var a=this.b();C(a,"getElement() returns null.");var b=this.Fc(this.re+"-arrow-id");C(b,"No arrow element is found!");this.xs.DO(a,b);this.cb.setPosition(this.xs)};q.C=function(a){this.cb.C(a)};q.N=function(){return this.cb.N()};q.$A=function(){return this.cb.$A()};q.ha=function(){this.N()&&this.cb.ha()};
q.o=function(){this.cb.dispose();delete this.cb;nY.c.o.call(this)};q.mq=function(){var a=bA(this.b());this.l_&&a.y<this.l_&&this.C(!1);return!1};q.tna=function(a){if(a.type==In||a.type==Ii){var b=this.A(),c=this.j();c=E?c.getWindow():c.K();a.type==In?b.listen(c,jn,this.mq):b.ta(c,jn,this.mq)}b=this.dispatchEvent(a.type);this.we&&a.type==Ii&&this.dispose();return b};var oY=function(a,b,c,e){ZU.call(this,a,"picker-actionpane-root",Ll,"picker-actionpane-content",uf,e);this.ik=this.Oea();this.Y(this.ik);this.j5=b;this.di=this.nea();this.Y(this.di);this.by=new V;this.qs(this.by);this.dj=null;this.GT=c;this.F=vv("picker.ui.ActionPane");this.T9=this.U9=this.cR=this.Co=this.Xe=this.GM=this.yv=this.Lh=null;this.Gc=new XV(a,e);this.Y(this.Gc);a.v.rba&&a.ie.ua(y(function(a){u(a.hS)&&this.qAa(a.hS,a.pba)},this));this.A().listen(this.getContext().qu(),"Q",this.update)};
B(oY,ZU);var pY=0;q=oY.prototype;q.Oea=function(){return this.FU(this.getContext().v.dn(),!0)};q.nea=function(){return this.FU(bc)};q.FU=function(a,b){return b?nG(this.getContext().v.dn(),this.j()):new mG(a,this.j())};q.XG=function(a,b,c){var e=this.j();c=e.g(d,{"class":c+" picker-actionpane-imagebutton-icon"},"\u00a0");a=e.g(d,"picker-actionpane-imagebutton-text",a);e=new mG([c,a],e);e.setValue(b);return e};q.Gd=function(a){var b=this.j();b.Tu(b=b.g(td),this.di.b());a.render(b)};
q.qAa=function(a,b,c){var e=this.j();this.Lh?(e.Ke(this.yv),e.appendChild(this.yv,e.Nh(CE(a)))):(this.yv=e.g(Hd,"picker-actionpane-notice-td",e.Nh(CE(a))),this.Lh=e.g(Fd,c?c:"picker-actionpane-notice",e.g(Gd,null,e.g(Jd,null,this.yv))),this.Sa&&(e.kl(this.Lh,this.Sa.lastChild),this.aD()));a=this.yv.getElementsByTagName("a");if(a.length&&b){b=rx(b);if(!this.GM){var f=this.GM=new nY(e);f.eb(b);f.Ql(a[0]);f.ZBa(!1);f.setPosition(2,0);f.render(this.getContext().v.Zp());U(f.b(),"picker-actionpane-notice-popup");
this.A().listen(a[0],wk,function(a){f.C(!0);a.stopPropagation();a.preventDefault()})}this.GM.eb(b)}};q.aD=function(){M(function(){if(this.Lh){var a=pA(this.Sa).width,b=this.Ym(Kl);D(b,function(b){var c=vA(b);c&&(a-=c.right?c.right:0,a-=c.left?c.left:0);(b=pA(b))&&b.width&&(a-=b.width)});0<a&&Q(this.Lh,"max-width",a+n)}if(this.Xe){this.j();b=hA(this.Sa).height;var c=sA(this.Xe).height;b>c?Q(this.Xe,"margin-top",(b-c)/2+n):Q(this.Xe,"margin-top","0px")}},0,this)};
q.g=function(){oY.c.g.call(this);var a=this.j(),b=this.Sa,c=this.by;c.g();b.appendChild(a.g(d,Kl,c.b()));c=this.by.b();this.ik.render(c);this.ik.b().id=wm+pY++;this.ik.b().setAttribute(Ei,"ghid-psc");this.di&&(this.di.render(c),this.di.b().id=wm+pY++,R(this.di.b(),!this.LNa));this.dj&&(this.dj.g(),b.appendChild(this.dj.b()));this.Co&&(c=a.g(d,"picker-actionpane-upload-button-float-item"),b.appendChild(c),this.Co.render(c),this.Co.b().id=wm+pY++,U(this.Co.b(),"picker-actionpane-upload-button"));this.Gc.getUrl()&&
(this.Gc.g(),this.qs(this.Gc),b.appendChild(this.Gc.b()));(c=this.getContext().v.qba)&&b.appendChild(a.g(d,"picker-actionpane-actionpanetext",a.createTextNode(c)));this.Xe=a.g(d,Ml);R(this.Xe,!1);SB(this.Xe,Xo);T(this.Xe,Vj,ym);b.appendChild(this.Xe);this.Lh&&(b.appendChild(this.Lh),this.aD());this.update();this.xb(E?72:69)};q.setActive=function(a,b){oY.c.setActive.call(this,a,b);this.dj&&this.dj.setActive(a,b)};
q.B=function(){oY.c.B.call(this);var a=this.A();a.listen(this.ik,k,this.Xna);this.di&&a.listen(this.di,k,this.Hla);a.listen(this.j().getWindow(),Vm,this.aD)};q.focus=function(){try{return this.pD||!this.di?this.ik.b().focus():this.di.b().focus(),!0}catch(a){return xv(this.F,mc),!1}};q.Xna=function(){this.j5?this.j5():this.getContext().vb.KQ()};q.Hla=function(){this.GT?this.GT():this.getContext().vb.Vi()};q.Sh=function(a){this.pD=a;this.V&&this.update()};
q.update=function(){var a=this.getContext(),b=a.qu().fB();this.$Z=this.$Z||b;this.ik.U(this.pD&&(!b||a.v.Rxa));this.pD?this.ik.wk(fm):this.ik.BN(fm);this.Co&&(a=this.$Z&&!b,R(this.Co.b(),a),this.Co.b().style.visibility=a?"":Hi);this.Lh&&R(this.Lh,!b);this.AEa()};q.ds=function(a){this.Sh(a);this.dj&&this.dj.ds()};
q.AEa=function(){var a=this.j(),b=this.getContext().qu(),c=b.fB(),e=this.cR;if(!c||this.MNa)e&&(R(e,!1),e.style.visibility=Hi);else{c=this.U9;var f=this.T9;if(!e){var g;this.Sa.appendChild(e=this.cR=a.g(d,"picker-actionpane-upload-status",c=this.U9=a.g(d,"picker-actionpane-upload-status-text"),g=a.g(d,fi)));f=this.T9=new cW("picker-progress-bar",a);f.ND(0);f.LD(100);f.setValue(0);f.R(g);R(e,!1);g=hA(this.by.b()).width;Q(this.cR,HS().Ge()?Wm:Rj,g+30+n)}g=b.bC;var h=b.Xz();g="Subiendo "+((g<h?g+1:g)+
(" de "+h));a.Ke(c);a.append(C(c),g+"\u00a0\u00a0\u00a0");f.setValue(100*b.oka());R(e,!0);e.style.visibility=""}};q.O7=function(a,b,c){if(a&&b)switch(this.j().bg(this.Xe,b),kC(this.Xe,[Ml,Nl]),c){case 1:U(this.Xe,Nl);break;default:U(this.Xe,Ml)}R(this.Xe,a);this.iCa(!a);a&&this.aD()};q.iCa=function(a){this.Lh&&R(this.Lh,a);this.dj&&this.dj.WNa(a);this.Gc.b()&&R(this.Gc.b(),a)};var qY=function(a,b,c){wD.call(this,a,b,c);this.Gw(!0)};B(qY,wD);qY.prototype.Tc=function(){return this.dispatchEvent(k)};eD(ni,function(){return new qY(null)});var rY=function(a,b,c,e){ZU.call(this,a,"picker-fontbar-root","picker-fontbar-frame","picker-fontbar-content",up,e);this.Yf=new XX(a,b,e);this.I=b;this.jv=c;this.Xw=this.I.getOption(Nh)||"*";this.Gt=this.I.getType()||"a";this.Tw=this.I.getOption(Mo)||"p";this.Zy=!!this.I.getOption("efsf");this.Qr=this.Mp=this.am=null};B(rY,ZU);
var sY={"*":Pd,arabic:"\u00c1rabe",bengali:"Bengal\u00ed",cyrillic:"Cir\u00edlico","cyrillic-ext":"Cir\u00edlico extendido",devanagari:"Devanagari",greek:"Griego","greek-ext":"Griego extendido",gujarati:"Guyarat\u00ed",gurmukhi:"Gurmuji",hebrew:"Hebreo",kannada:"Canar\u00e9s",khmer:"Jemer",latin:"Latino","latin-ext":"Latino extendido",malayalam:"Malabar",myanmar:"Birmano",oriya:"Oriya",sinhala:"Cingal\u00e9s",tamil:"Tamil",telugu:"Telug\u00fa",thai:"Tailand\u00e9s",vietnamese:"Vietnamita"},tY={a:"Todas las fuentes",
d:"Pantalla",h:"Escritura a mano",m:"Monospace",s:"Serif",ss:"Sans Serif"},uY={p:"Popularidad",a:"Orden alfab\u00e9tico",da:"Fecha de adici\u00f3n",t:"Tendencias"};q=rY.prototype;
q.g=function(){rY.c.g.call(this);this.xb(75);var a=this.j();this.Yf.Qya(!1);this.Yf.g();var b=a.g(d,fi);this.am=new bE("",void 0,FG.H());var c=this.getContext().v.oha;this.Fx(this.am,"*",Pd);this.QF(this.am,c.length==Vs(sY)?sY:this.Sea(c));this.am.render(b);Q(this.am.Qa().b(),"max-height","400px");c=a.g(d,fi);this.Mp=new bE("",void 0,FG.H());this.QF(this.Mp,tY);this.Mp.render(c);var e=a.g(d,fi);this.Qr=new bE("",void 0,FG.H());this.QF(this.Qr,uY);this.Qr.render(e);b=this.Zy?a.g(d,Ql,b,c,e):a.g(d,
Ql,c,e);this.Sa.appendChild(a.g(d,"picker-fontbar-container",this.Yf.b(),b));this.A().listen(this.am,k,this.woa).listen(this.Mp,k,this.rma).listen(this.Qr,k,this.soa);this.YC()};q.Sea=function(a){for(var b={},c=0;c<a.length;c++){var e=a[c];b[e]=sY[e]}return b};q.QF=function(a,b){for(var c in b)this.Fx(a,c,b[c])};q.Fx=function(a,b,c){a.sc(new qY(c,b,this.j()))};
q.woa=function(a){var b=new AU(Oh);b.$f(this.I.Bc||this.I);b.Aa(Nh,a.target.getValue());b.Aa(zp,this.Gt);b.Aa(Mo,this.Tw);b.Aa("efsf",this.Zy);this.getContext().X.Kb(b);this.YC();this.Xw=a.target.getValue()};q.rma=function(a){var b=new AU(Oh);b.$f(this.I.Bc||this.I);b.Aa(Nh,this.Xw);b.Aa(zp,a.target.getValue());b.Aa(Mo,this.Tw);b.Aa("efsf",this.Zy);this.getContext().X.Kb(b);this.YC();this.Gt=a.target.getValue()};
q.soa=function(a){var b=new AU(Oh);b.$f(this.I.Bc||this.I);b.Aa(Nh,this.Xw);b.Aa(zp,this.Gt);b.Aa(Mo,a.target.getValue());b.Aa("efsf",this.Zy);this.getContext().X.Kb(b);this.YC();this.Tw=a.target.getValue()};q.YC=function(){var a="Sistemas de escritura: "+sY[this.Xw];this.am.setValue(this.Xw);this.am.yD(a);a="Mostrar: "+tY[this.Gt];this.Mp.setValue(this.Gt);this.Mp.yD(a);a="Ordenar: "+uY[this.Tw];this.Qr.setValue(this.Tw);this.Qr.yD(a)};q.B=function(){rY.c.B.call(this);this.Yf.B()};var vY=function(a,b,c,e){ZV.call(this,a,b,c,e)};B(vY,ZV);vY.prototype.B=function(){vY.c.B.call(this);var a=this.M.EX(this);this.A().listen(a,zk,y(this.gZ,this,!0)).listen(a,yk,y(this.gZ,this,!1))};vY.prototype.gZ=function(a,b){jA(b.target,a?.8:.5)};var wY=function(){};B(wY,iD);Rq(wY);wY.prototype.g=function(a){var b=a.j(),c=a.K().jb;a=vC.H().Nd();b=b.g(d,{"class":"picker-font-chip goog-inline-block",name:c},b.g(td,{"class":"picker-font-chip-name",style:Mh+c+'::Menu"',id:a},c),b.g(td,{"class":"picker-font-chip-x",role:vf,"aria-label":Bc,tabIndex:0},b.g(td,"picker-spr-close-box-tiny-black goog-inline-block")));T(b,Mj,a);b.style.paddingRight=E?b.style.paddingLeft="7px":b.style.paddingLeft="15px";return b};wY.prototype.EX=function(a){return a.b().children[1]};var xY=function(a,b,c){ZU.call(this,a,"picker-fontbin-root","picker-fontbin-frame","picker-fontbin-content",Wm,c);this.Is=new L;this.A().listen(a.Ma,"x",this.tma);this.Hs=null};B(xY,ZU);q=xY.prototype;q.g=function(){xY.c.g.call(this);this.xb(200);var a=this.j();this.Hs=a.g(d,"picker-fontbin-chip-holder");a=a.g(d,"picker-fontbin-to",a.g(d,"picker-fontbin-header","Mis fuentes"));this.Sa.appendChild(a).appendChild(this.Hs)};q.tma=function(a){D(a.Rc,y(this.D9,this))};
q.JV=function(a){this.getContext().Ma.QD([a.K().getId()],!1)};q.vu=function(a,b){if(13==b.keyCode||32==b.keyCode)this.JV(a),b.stopPropagation(),b.preventDefault();return!0};
q.D9=function(a){if(this.getContext().Ma.Rd(a)&&!this.Is.Xb(a)){var b=this.getContext().ba.K(a);if(b){var c=new vY(this.getContext(),b,wY.H(),this.j());this.Is.set(a,c);a=this.j().Ym("picker-font-chip",this.Hs);for(var e=!0,f=0;f<a.length;f++)if(a[f].name>b.jb){c.g4(a[f]);e=!1;break}e&&c.render(this.Hs);b=c.M.EX(c);this.A().listen(b,Kf,y(this.JV,this,c)).listen(b,Jj,y(this.vu,this,c))}}else!this.getContext().Ma.Rd(a)&&this.Is.Xb(a)&&(c=this.Is.get(a),this.Hs.removeChild(c.b()),c.o(),this.Is.remove(a))};var yY=function(a,b,c,e){YU.call(this,a,e);this.I=b;this.jv=c;var f=new rY(a,b,c,e);f.Se(c);this.lha=f;b=new xY(a,b,e);b.Se(f);this.mha=b;a=new oY(a,y(this.voa,this),void 0,e);a.Se(b);this.ca(a);this.ic=a};B(yY,YU);q=yY.prototype;q.B=function(){yY.c.B.call(this);this.A().listen(this.getContext().Ma,"x",this.iq).ql(this.jv,Cf,this.iq,!1,this).listen(this.getContext().ce,"select-fonts",this.Yna).listen(this.getContext().vb,Um,y(this.Ll,this,0));this.jv.l1(this.lha.Yf)};q.sL=function(){return!!this.getContext().Ma.xg(!0)};
q.voa=function(){for(var a=this.getContext(),b=a.ba,c=a.Ma.xg(!0),e=[],f=0;f<c.length;f++){var g=b.K(c[f]);"font"==g.getType()&&e.push(g)}a.vb.as(e);this.ic.Sh(!1)};q.setActive=function(a,b){yY.c.setActive.call(this,a,b);a&&this.VT();this.jv.setActive(a)};q.iq=function(){this.Wa&&this.VT()};q.g=function(){var a=this.ic;a.Sh(!1);a.g();this.Na(a.b());U(this.b(),"picker-fontsview")};
q.VT=function(){var a=this.getContext().ba,b=this.getContext().Ma,c=this.mha;b=b.xg(!0);for(var e=!1,f=0;f<b.length;f++)"font"==a.K(b[f]).getType()&&(e=!0,c.D9(b[f]));this.ic.Sh(e)};q.Yna=function(a){if(this.Wa&&(a=a.data.fonts)&&a.length){var b=hs(a,function(a){return a.fontName});this.getContext().ba.requestData(new cU(Oh,b,{}),y(this.Gna,this,a),y(this.Hna,this),!0)}};
q.Gna=function(a,b){if(E){var c=this.getContext().v.b();c.style.display=Nk;c.style.display="block"}c=this.getContext().Ma;a=new QG(hs(a,function(a){return a.fontName}));b=b.dc();for(var e=0;e<b.length;e++)a.contains(b[e].jb)&&c.T6(b[e].getId(),!0,"cb",!0);kY.H().pS(b,this.j())};q.Hna=function(){alert("Lo sentimos, pero no hemos podido encontrar las fuentes que has seleccionado anteriormente.")};q.Ll=function(){if(this.Wa){var a=this.I.Bc;a&&this.getContext().X.Kb(a)}};q.Tg=function(a){this.jv.Tg(a)};var zY=function(a,b,c,e){fY.call(this,a,b,void 0,void 0,e);this.ZH(!1);this.message=c};B(zY,fY);zY.prototype.g=function(){zY.c.g.call(this);this.$V(this.message)};zY.prototype.B=function(){zY.c.B.call(this);U(this.b(),"picker-messagelist")};zY.prototype.Tg=function(){};var BY=function(){F.call(this);var a={},b=new AY(function(a){var b=a.sd,c=a.getPath(),g;(g=a.toString())?(g=iz(g).sd,g=g==yq||g==uq||"m.youtube.com"==g):g=!1;if(g){if("/"==c||"/watch"==c)return a.mb("v")}else if(b==vq&&er(c,"/"))return c.substr(1)},(er(window.location.href,Pi)?Pi:"http")+"://www.youtube.com/v/{$VIDEO_ID}?fs=1","https://www.youtube.com/embed/{$VIDEO_ID}?origin="+window.location.href);a[uq]=b;a[yq]=b;a["m.youtube.com"]=b;a[vq]=b;b=new AY(function(a){var b=a.sd;if(a.gf==Pi&&(b==sq||
"facebook.com"==b))return a.mb("v")},"https://www.facebook.com/v/{$VIDEO_ID}","https://www.facebook.com/video/embed?video_id={$VIDEO_ID}");a[sq]=b;a["facebook.com"]=b;b=new AY(function(a){var b=a.getPath(),c=a.sd;if(a.gf==Pi&&er(b,"/")&&("www.vimeo.com"==c||"vimeo.com"==c)&&(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 AY(function(a){var b=a.getPath(),
c=a.sd;if("http"==a.gf&&(c==tq||"metacafe.com"==c)&&er(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[tq]=b;a["metacafe.com"]=b;this.dQ=a};B(BY,F);Rq(BY);BY.prototype.wra=function(a){return this.O0(a,a.sd)};BY.prototype.O0=function(a,b){return(b=this.dQ[b])&&b.Wqa(a)};BY.prototype.tJ=function(a){var b=this.dQ[a.sd];return b&&b.tJ(a)};
BY.prototype.lla=function(a){try{var b=iz(a);return this.dQ[uq].$Y(b)}catch(c){}};var AY=function(a,b,c){this.SW=a;this.A_=c};AY.prototype.Wqa=function(a){return!!this.SW(a)};AY.prototype.tJ=function(a){if((a=this.$Y(a))&&this.A_)return this.A_.replace("{$VIDEO_ID}",a)};AY.prototype.$Y=function(a){return this.SW(a)};var CY=function(a,b){F.call(this);this.QN=this.Fe=0;this.Pf=a;this.Ga=b;this.pg=new qz(y(this.Rq,this),0,this)};B(CY,F);q=CY.prototype;q.o=function(){this.pg.dispose();delete this.Pf;delete this.Ga;CY.c.o.call(this)};q.start=function(a,b){this.stop();b=b||0;this.Fe=Math.max(a||0,0);this.QN=0>b?-1:A()+b;this.pg.start(0>b?this.Fe:Math.min(this.Fe,b))};q.stop=function(){this.pg.stop()};q.Rb=function(){return this.pg.Rb()};
q.Rq=function(){if(!this.Pf.call(this.Ga))if(0>this.QN)this.pg.start(this.Fe);else{var a=this.QN-A();0>=a||this.pg.start(Math.min(this.Fe,a))}};var DY=function(a,b){return 4==a.readyState?(Qs(a,function(b){try{Uq(a[b])&&(a[b]=null)}catch(e){}}),b.removeNode(a),!0):!1};var EY=function(a,b,c,e,f){V.call(this,f);this.aFa=a;this.gb=b;this.TM=c;this.Fta=e};B(EY,V);EY.prototype.g=function(){var a=this.j(),b=Jr();a=a.g(Uc,{id:b,name:b,"class":"picker-iframe-player",src:this.aFa,width:this.gb.width,height:this.gb.height,onload:this.TM?this.TM:Qq,onerror:this.TM?this.Fta:Qq,frameBorder:"0"});this.Na(a)};vv("apps.photos.imagurl.ImageUrlOptionsBuilderBase");var FY=/^((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|qa)\-lighthouse(-auth)?\.sandbox\.google\.com(\/image)?))\//i,
GY=/^(https?:)?\/\/sp[1-4]\.((ggpht)|(googleusercontent))\.com\//i,HY=/^(https?:)?\/\/(qa(-red|-blue)?|dev2?|image-dev)(-|\.)lighthouse(-auth)?\.sandbox\.google\.com\//i,IY=/^(https?:)?\/\/lighthouse-(qa(-red|-blue)?|dev2)\.corp\.google\.com\//i,JY=function(a){return FY.test(a)||GY.test(a)||HY.test(a)||IY.test(a)};var KY=function(a){ZT.call(this,a);this.Fi&&(this.eea=a.response.contentUrl||"")};B(KY,ZT);KY.prototype.kc=function(){return 23};aU.set(23,function(a){return new KY(a)});var LY=function(a,b){DT.call(this);this.ya=a;this.QV=b};B(LY,DT);LY.prototype.xh=Hs(new $y("getcu"));LY.prototype.kc=function(){return 23};LY.prototype.Hf=function(){var a=new L;HT(a,Sp,this.ya);HT(a,"h",this.QV.height);HT(a,"w",this.QV.width);return a};var MY=window.location.protocol==Qi,NY=function(a){return(a.match(Zv)[1]||null)!=Pi&&MY?!0:JY(a)||fr($v(a.match(Zv)[3]||null,!0),".gstatic.com")||er(a,"https://googledrive.com/thumb/")?!1:!0},OY=function(a,b,c,e,f){JY(a)&&(a=MY?a.replace(/^http:/i,Qi):a);NY(a)?c.ba.requestData(new LY(a,b),function(a){e(a.eea)},f):e(a)};var PY=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Pega una URL aqu\u00ed:}male{Pega una URL aqu\u00ed:}other{Pega una URL aqu\u00ed:}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};PY.ra="picker.ui.templates.urlview.anyUrl";var QY=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Pega una URL de imagen aqu\u00ed:}male{Pega una URL de imagen aqu\u00ed:}other{Pega una URL de imagen aqu\u00ed:}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};QY.ra="picker.ui.templates.urlview.imageUrl";
var RY=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Pega una URL de v\u00eddeo aqu\u00ed:}male{Pega una URL de v\u00eddeo aqu\u00ed:}other{Pega una URL de v\u00eddeo aqu\u00ed:}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};RY.ra="picker.ui.templates.urlview.videoUrl";
var SY=function(a,b,c){b=c||b;a=(new uU("{VIEWER_GENDER,select, female{Pega una URL de YouTube aqu\u00ed:}male{Pega una URL de YouTube aqu\u00ed:}other{Pega una URL de YouTube aqu\u00ed:}}")).Bf({VIEWER_GENDER:b.fh});return FF(""+a)};SY.ra="picker.ui.templates.urlview.youTubeUrl";var TY=function(a,b,c){YU.call(this,a,c);this.Vs=rW(b,a.v);this.Ri("vc");this.I=b;this.ic=new oY(a,y(this.jw,this),void 0,c);this.ca(this.ic);this.Va=b.getType()||Vi;this.hE=b.getOption(Vn);this.mx=new oE;this.ca(this.mx)};B(TY,YU);var UY=new cy(800,600),VY=new cy(640,480);q=TY.prototype;q.F=vv("picker.ui.UrlView");q.vH=null;q.oL=!1;q.pL=!1;q.Vu=!1;q.Sy=null;q.Qj=null;
q.g=function(){var a=this.j();var b=vC.H();var c=b.Nd(),e=b.Nd();c=this.Pb=a.g(d,"picker-content picker-urlview",b=a.g("LABEL",{"class":"picker-urlview-header","for":c}),this.Cd=a.g(Xc,{"class":"picker-urlview-input",id:c}),this.Ch=a.g(d,{"class":pm,style:"visibility: hidden"}),this.pN=a.g(Fd,"picker-urlview-preview",a.g(Gd,null,a.g(Jd,null,this.$q=a.g(Hd,{"class":"picker-urlview-preview-td",id:e},this.vH=this.Hia())))));T(this.Cd,"controls",e);SB(this.$q,Xo);T(this.$q,Vj,ym);e=this.getContext().vi();
switch(this.Va){case Vi:a.bg(b,e.Kl(QY));break;case aq:this.hE==yq||this.hE==uq||this.hE==vq?a.bg(b,e.Kl(SY)):a.bg(b,e.Kl(RY));break;default:a.bg(b,e.Kl(PY))}a=this.ic;a.g();a.J().appendChild(c);this.Na(a.b());this.mx.R(this.Cd)};
q.B=function(){TY.c.B.call(this);this.Hq();var a=this.Cd;this.fd=new nE(a);this.Qj=new yH(this.Pb);a=this.A().listen(this.fd,dj,this.PZ).listen(a,Jj,this.vu).listen(this.Qj,Wj,this.Dma).listen(this.getContext().vb,Um,this.Ll).listen(this.j().getWindow(),Vm,this.Hq);this.Va==Vi?a.listen(this.Qj,ph,this.tZ):a.listen(this.Qj,ph,this.wna);this.ji("vc");this.dispatchEvent("z")};q.kk=function(){M(function(){try{this.Cd.focus()}catch(a){xv(this.F,mc)}this.Cd.select()},0,this);return!0};
q.Hq=function(){var a=this.UI();if(0>=a.width||0>=a.height)M(y(this.Hq,this),100);else{gA(this.pN,a);a=a.width;var b=this.Cd,c=this.hpa;if(!c){c=function(){var a=vA(b);return a.left+a.right};var e=u(b.previousElementSibling)?b.previousElementSibling:Hy(b.previousSibling,!1),f=this.Ch;c=this.hpa=c(b)+e.offsetWidth+c(e)+f.offsetWidth+c(f)}b.style.width=a-c+n}};q.vu=function(a){13==a.keyCode&&this.ic.pD&&this.jw()};
q.PZ=function(){this.oL=!1;var a=jr(this.Cd.value),b=!!a,c=b?this.cH(a):void 0;this.ic.Sh(!1);lC(this.Cd,"picker-urlview-selected",b);this.Ch.style.visibility=Hi;var e=this.Va,f=this.hE;c?(b=BY.H(),this.Xl("Cargando vista previa..."),e==ue||e==aq?f&&b.O0(c,f)||b.wra(c)?this.Koa(a):e==ue?this.uZ(a):this.eK():this.uZ(a)):b?this.Xl("La URL no es v\u00e1lida. Aseg\u00farate de que empieza por http:// o por https://.",!0):this.vH?this.Xl(this.vH):this.Xl("Si tu URL es correcta, aparecer\u00e1 una vista previa aqu\u00ed. Las im\u00e1genes grandes pueden tardar unos minutos en mostrarse.");
e==ue&&c&&this.ic.Sh(!0)};q.cH=function(a){try{var b=iz(a)}catch(c){return}a=(b.gf||"").toLowerCase();if(("http"==a||a==Pi)&&b.sd)return b};q.uZ=function(a){var b=this.Ch;b.className=pm;b.style.visibility="";this.Ri("vdl");(b=(a=this.cH(a))&&BW(a))?(this.Vu=!0,this.getContext().ba.requestData(new cU(Qg,[b],{}),y(this.jma,this),y(this.pZ,this))):(this.Vu=!1,this.Sy=null,OY(a.toString(),UY,this.getContext(),y(this.tB,this),y(this.tZ,this)))};
q.tB=function(a){var b=this.Qj;b.tS(this.qN=vC.H().Nd(),a);b.start()};q.Koa=function(a){a=iz(a);if(a=BY.H().tJ(a)){var b=this.UI();VY.mz(b)||VY.bw(b);a=new EY(a,VY,y(this.Joa,this),y(this.eK,this),this.j());b=this.$q;Ay(b);a.render(b)}else this.eK()};q.Joa=function(){this.pL=!0;this.ic.Sh(!0)};
q.Hia=function(){if(this.Va!=Vi&&this.Va!=aq)return null;var a="Si la URL es correcta, ver\u00e1s una vista previa de la imagen aqu\u00ed. Las im\u00e1genes grandes pueden tardar unos minutos en aparecer.",b="Recuerda: El uso de im\u00e1genes de otras personas en la Web sin su permiso puede ser una falta de educaci\u00f3n, o peor, una infracci\u00f3n de los derechos de autor.";this.Va==aq&&(a="Si la URL es correcta, ver\u00e1s una vista previa del v\u00eddeo aqu\u00ed. Los v\u00eddeos grandes pueden tardar varios minutos en aparecer.",
b="Recuerda: El uso de v\u00eddeos de otras personas en Internet sin su permiso se puede considerar una rudeza o, a\u00fan peor, una infracci\u00f3n de los derechos de autor.");var c=this.j();a=c.g(d,"picker-urlview-preview-content",a);b=c.g(d,null,b);return c.g(d,null,a,b)};q.Xl=function(a,b){lC(this.pN,"picker-urlview-error",!!b);lC(this.$q,"picker-urlview-error-td",!!b);this.l4(v(a)?this.j().createTextNode(a):a)};
q.UI=function(){var a=this.Pb,b=rA(a);return new cy(a.offsetWidth-b.left-b.right,a.parentNode.offsetHeight-this.pN.offsetTop-b.top-b.bottom)};q.Dma=function(a){a=a.target;if(a.id==this.qN){this.ji("vdl");this.Ch.className="picker-urlview-success-icon goog-inline-block";this.ic.Sh(!0);if(a.naturalWidth&&a.naturalHeight){var b=this.UI(),c=new cy(a.naturalWidth,a.naturalHeight);c.mz(b)||gA(a,c.bw(b))}this.l4(a);this.oL=!0}};
q.l4=function(a){if(this.pL&&this.qN){var b=this.j(),c=b.b(this.qN);E&&Jt?(R(c,!1),(new CY(y(DY,void 0,c,b))).start(50,1E4)):b.removeNode(c);this.pL=!1}b=this.$q;Ay(b);b.appendChild(a)};
q.tZ=function(){this.Ch.className=om;var a=this.j();this.Xl(a.g(d,{style:"text-align: left;"},"No es posible encontrar la imagen en la URL especificada.",a.g("UL",null,a.g("LI",null,"Comprueba que no haya erratas en la direcci\u00f3n."),a.g("LI",null,"Comprueba que la imagen sea p\u00fablica. Si la imagen est\u00e1 protegida por contrase\u00f1a o se encuentra en una red interna, no podremos acceder a ella."))),!0)};q.eK=function(){this.Xl("No es posible cargar la URL de v\u00eddeo introducida. Comprueba que sea correcta y que proceda de un sitio admitido.")};
q.wna=function(){this.Ch.className=om;this.Xl("Vista previa no disponible.")};q.jw=function(){var a=this.getContext(),b=a.ba,c=jr(this.Cd.value);if(a.v.E3)this.ic.Sh(!1),b.requestData(new DV("importPhoto",Hl,[],{url:c,label:"profile_photos.draft"}),y(this.Fma,this),y(this.Ema,this),!0);else if(this.oL)this.Yxa(c);else{var e=BY.H().lla(c);e?b.requestData(new cU(wq,[e],{}),y(this.Soa,this),y(this.UZ,this)):a.vb.n9(c)}};
q.Yxa=function(a){var b={};b.url=a;b.name=iz(a).getPath().split("/").pop();this.Vu&&(b.name=this.Sy.name,b.mimeType=this.Sy.mimeType);b.type=Bl;b.serviceId=Sp;b=new TT(b);if(this.Vu){var c=this.cH(a);(c=c&&BW(c))&&b.r6(c)}(c=this.$q.getElementsByTagName("img")[0])&&b.f7([new JT(this.Vu?c.src:a,c.naturalWidth,c.naturalHeight)]);this.getContext().vb.as([b])};q.Soa=function(a){(a=a.dc())&&0<a.length?this.getContext().vb.as(a):this.UZ()};
q.UZ=function(){alert("El v\u00eddeo que has seleccionado ya no existe. Es posible que el propietario lo haya eliminado.");this.Ll()};q.Fma=function(a){a=a.dc()[0];var b=new AU(wg);b.Aa("id",a.jb);b.Aa(tn,a.md);b.$f(this.I);this.getContext().X.Kb(b);this.ic.Sh(!0)};q.Ema=function(){alert("No es posible obtener la URL de la imagen que has especificado. Quiz\u00e1 sea una URL privada a la que no pueden acceder nuestros servidores. Int\u00e9ntalo con otra URL.");this.ic.Sh(!0)};
q.Ll=function(){this.Cd.value="";this.PZ()};q.jma=function(a){if((a=a.dc())&&0<a.length&&a[0].getType()==Bl){var b=a[0].dm;if(b&&0<b.length){this.Sy={name:a[0].getName(),mimeType:a[0].Jg};this.tB(b[0].cA(400).getUrl());return}}this.pZ()};q.pZ=function(){this.Ch.className=om;this.Xl("La URL de imagen que has introducido anteriormente no es correcta o no se puede cargar.")};q.Rp=function(){return this.Vs};var WY=function(a,b,c){ZU.call(this,a,"picker-attributionbar-root","picker-attributionbar-frame","picker-attributionbar-content",uf,c);this.Io=b};B(WY,ZU);q=WY.prototype;
q.g=function(){WY.c.g.call(this);var a=this.j(),b=this.Sa,c=vC.H().Nd();b.appendChild(a.g(d,void 0,this.tDa=a.g(d,{"class":Ol,id:c},a.createTextNode("La imagen que has seleccionado se ha encontrado mediante la B\u00fasqueda de im\u00e1genes de Google en esta p\u00e1gina:")),a.g(d,Ol,this.GS=a.g("A",{href:"#",target:de}))));T(this.GS,Mj,c);this.xb(0)};q.B=function(){WY.c.B.call(this);this.A().listen(this.getContext().Ma,"x",this.boa)};
q.pf=function(){this.j();var a=this.getContext().Ma.xg();a=a&&a.length?this.getContext().ba.K(a[0]):null;this.Io.getToken().getOption(zp)==Wh&&(a=null);if(a){var b=this.GS,c=a.getUrl();xr(c);b.href=c;Ny(b,c);ZB(this.tDa,"La imagen que has seleccionado se ha encontrado mediante la B\u00fasqueda de im\u00e1genes de Google en esta p\u00e1gina: "+c)}R(this.Sa,!!a);this.xb(a?29:0)};q.setActive=function(a,b){WY.c.setActive.call(this,a,b);a&&this.pf()};q.boa=function(){this.Io.Wa&&this.pf()};var XY=function(a,b){ZU.call(this,a,"picker-bloggerinstructions-root","picker-bloggerinstructions-frame","picker-bloggerinstructions-content",up,b)};B(XY,ZU);
XY.prototype.g=function(){XY.c.g.call(this);var a=new YV,b="Estas im\u00e1genes tambi\u00e9n se pueden ver en el "+(a.Tr("a",{href:"https://get.google.com/albumarchive?hl="+HS().Qf,target:de})+("archivo de \u00e1lbumes de Google"+(a.Jp("a")+" y se pueden descargar de esa ubicaci\u00f3n."))),c=this.j();a=c.g(d,"picker-bloggerinstructions-text",c.Nh(a.format(b)));this.Sa.appendChild(a);this.xb(42)};var YY=function(a,b,c,e){ZU.call(this,a,"picker-breadcrumbs-root","picker-breadcrumbs-frame","picker-breadcrumbs-content",up,e);this.I=b;this.XT=c};B(YY,ZU);q=YY.prototype;
q.g=function(){YY.c.g.call(this);for(var a=this.j(),b,c=a.g(Fd,{"class":"picker-breadcrumbs-table",cellSpacing:"0",cellPadding:"0"},a.g(Gd,null,b=a.g(Jd))),e=this.Mja(),f=e.pop(),g=0;g<e.length;g++){var h=e[g];this.Kwa(b,h[0],h[1],0==g,g==e.length-1)}a=a.g(Hd,{"class":"picker-breadcrumbs-child"},f[0]);ZB(a,this.mia(f[0]));Ty(a,!0);b.appendChild(a);this.Sa.appendChild(c);this.xb(40)};
q.Kwa=function(a,b,c,e,f){var g=this.j();e=g.g(Hd,"picker-breadcrumbs-parent"+(e?" picker-breadcrumbs-first-parent":"")+(c?" picker-breadcrumbs-clickable":""),b);e.Nsa=c;f&&(this.W0=e);Ty(e,!!c);ZB(e,this.hka(b));SB(e,"link");a.appendChild(e);a.appendChild(g.g(Hd,"picker-breadcrumbs-triangle"+(f?" picker-breadcrumbs-last-triangle":""),g.g(d,"picker-breadcrumbs-triangle1 goog-inline-block"),g.g(d,"picker-breadcrumbs-triangle2 goog-inline-block")))};
q.Mja=function(){for(var a=[],b=this.getContext().ba,c=this.I.Bc;c;){var e=c.getName(),f=c.getOption(m);f&&(f=b.K(f))&&(e=f.getName());a.unshift([e,c]);c=c.Bc}a.push([this.XT.getName(),null]);return a};q.B=function(){YY.c.B.call(this);this.A().listen(this.Sa,Ij,this.Ela).listen(this.Sa,Kf,this.cZ)};q.focus=function(){return this.W0?(this.W0.focus(),!0):!1};q.cZ=function(a){(a=a.target.Nsa)&&this.getContext().X.Kb(a)};
q.Ela=function(a){if(32==a.keyCode||13==a.keyCode)this.cZ(a),a.preventDefault(),a.stopPropagation()};q.o=function(){YY.c.o.call(this);delete this.I;delete this.XT};q.hka=function(a){return"Cambiar a la carpeta "+a};q.mia=function(a){return"Carpeta "+(a+" seleccionada")};var ZY=function(a,b,c){ZU.call(this,a,"picker-butterbar-root","picker-butterbar-frame","picker-butterbar-content",up,c);this.SB=b};B(ZY,ZU);ZY.prototype.g=function(){ZY.c.g.call(this);var a=this.Sa,b=this.j();a.appendChild(b.g(d,"picker-butterbar",this.SB));this.xb(20)};var $Y=function(a,b,c,e){oY.call(this,a,b,c,e);this.ak=null};B($Y,oY);q=$Y.prototype;q.g=function(){$Y.c.g.call(this);var a=this.j(),b=this.ak=a.g(d,"goog-inline-block picker-actionpane-evph-message");jA(this.ak,0);a.kl(b,this.Sa.lastChild);a=new iU({service:"party",type:hf,options:{evid:this.getContext().v.GW,maxSize:22}});b=this.getContext().ba.xd(a);b.Eg()&&b.Ae()?this.r1(b.dc(),!1):this.getContext().ba.requestData(a,y(function(a){this.r1(a.dc(),!0)},this),Qq,!0)};
q.Eea=function(a,b){a=a==Km?"Las fotos estar\u00e1n visibles para todos los usuarios (p\u00fablico en la Web).":"wide"==a?"Las fotos se compartir\u00e1n con un p\u00fablico amplio.":(new uU("{audienceCount,plural, =0{Las fotos se compartir\u00e1n con todos los invitados al evento}=1{Las fotos se compartir\u00e1n con {startTag}una persona{endTag}.}other{Las fotos se compartir\u00e1n con {startTag}{audienceCount} personas{endTag}.}}")).format({audienceCount:b,startTag:'<span class="picker-evph-plain-link">',
endTag:ob});return this.j().Nh(CE(a))};q.r1=function(a,b){var c=a[0];this.ak.appendChild(this.Eea(c.getAttribute(jq),c.Xp()));b?(new QA(this.ak,218)).play():jA(this.ak,1);if(b=this.j().Fc("picker-evph-plain-link",this.ak)){var e=new nY(this.j());this.Y(e);e.setPosition(2);e.qw(!0);e.render(this.getContext().v.Zp());e.eb(this.Wea(a.slice(1),c.Xp()));U(e.b(),"picker-evph-people-jfk-bubble");e.Ql(b);this.A().Iq(b,iK,y(e.C,e,!0))}};
q.Wea=function(a,b){var c=this.j(),e=Math.min(a.length,22),f=(b-=e)?(new uU("{moreCount,plural, =0{unused plural form}=1{+ 1 m\u00e1s}other{+ {moreCount} m\u00e1s}}")).format({moreCount:b}):void 0;f=c.g(d,"picker-actionpane-evph-people",c.g(d,"picker-actionpane-evph-people-title","Visible para:"),b=c.g(d),f);for(var g=0;g<e;g++){var h=a[g],l=c.g(Vc,{src:h.dm[0].Zt(24,["c"]),"class":"picker-actionpane-evph-people-img"});HS().isNative();l.setAttribute("oid",h.jb);if(h=h.getUrl())l=c.g("A",{target:de},
l),Wx(l,h);b.appendChild(l)}return f};q.update=function(){$Y.c.update.call(this);this.ak&&R(this.ak,!this.getContext().qu().fB())};q.o=function(){$Y.c.o.call(this);this.ak=null};var aZ=function(a,b,c,e){oY.call(this,a,b,c,e);this.Ai=null};B(aZ,oY);aZ.prototype.g=function(){aZ.c.g.call(this);var a=this.j(),b=this.Ai=a.g(Fd,"picker-actionpane-legal-text",a.g(Gd,null,a.g(Jd,null,a.g(Hd,"picker-actionpane-legal-text-td","Selecciona \u00fanicamente im\u00e1genes para las que tengas licencia de uso."))));a.kl(b,this.Sa.lastChild)};aZ.prototype.update=function(){aZ.c.update.call(this);var a=this.Ai;if(a){var b=this.getContext().qu();R(a,!b.fB())}};
aZ.prototype.o=function(){aZ.c.o.call(this);this.Ai=null};var bZ=function(a,b,c){ZU.call(this,a,"picker-url-input-root","picker-url-input-frame","picker-url-input-content",uf,c);this.Dra=b;this.mx=new oE;this.ca(this.mx);this.Eb=null;this.dl=!1;this.fd=null};B(bZ,ZU);bZ.prototype.g=function(){bZ.c.g.call(this);var a=this.j(),b=this.Sa;b.appendChild(a.g(d,"picker-url-input-text",this.Dra||"Tambi\u00e9n puedes pegar una direcci\u00f3n web aqu\u00ed:"));b.appendChild(a.g(d,null,this.Eb=a.g(Xc,{type:fp,"class":"picker-url-input-box"})));this.xb(46);this.mx.R(this.Eb)};
bZ.prototype.B=function(){bZ.c.B.call(this);this.fd=new nE(this.Eb);this.A().listen(this.fd,dj,this.Gma)};bZ.prototype.setValue=function(a){var b=this.Eb;b.value!=a&&(b.value=a);this.dl=0<a.length;lC(b,nm,this.dl);this.dl||b.blur()};bZ.prototype.Gma=function(){var a=this.getContext(),b=this.Eb,c=b.value;this.getContext().Fo.setValue(c);!this.dl&&0<c.length?(a.Ma.Ak(),this.dl=!0,this.dispatchEvent(new cZ)):this.dl&&0==c.length&&(this.dl=!1,this.dispatchEvent(new cZ));lC(b,nm,this.dl)};
var cZ=function(){H.call(this,"U")};B(cZ,H);var dZ=function(a,b,c,e,f){YU.call(this,a,f);this.Vs=rW(b,a.v);this.Ri("vc");this.I=b;this.Fk=c;var g=null;HS().dva&&b.Ca(Gl)&&b.getOption(Fp)&&(g=new ZY(a,"\u00bfTienes dificultades para subir contenido? Estamos realizando tareas de mantenimiento, pero pronto volver\u00e1 todo a la normalidad.",f),g.Se(c),c=g);this.gda=g;g=null;qs(e,"bi")&&(g=new XY(a,f),g.Se(c),c=g);this.$ca=g;g=a.v;var h=null,l=b.getOption(m),p=b.getOption("hideBc")||qs(e,"dbbimv");l&&!b.getQuery()&&!p&&(l=a.ba.K(l))&&(h=new YY(a,
b,l,f),h.Se(c),c=h);this.ay=h;b=null;qs(e,"at")&&(b=new WY(a,this,f),b.Se(c),c=b);this.eT=b;e=null;g.KEa&&(e=new bZ(a,void 0,f),e.Se(c),c=e);this.hs=e;f=this.kea();f.Se(c);this.ca(f);this.ic=f;this.A().listen(a.Ma,"x",this.iq).ql(this.Fk,Cf,this.iq,!1,this)};B(dZ,YU);q=dZ.prototype;q.Wna=function(){this.ic.getContext().vb.KQ()};
q.kea=function(){var a=this.getContext(),b=this.j(),c=y(this.Wna,this),e=a.v.GW;return!this.I.Ca(Wi)||this.I.getOption(zp)&&"gis"!=this.I.getOption(zp)?this.I.Ca(Gl)&&e?new $Y(a,c,void 0,b):new oY(a,c,void 0,b):new aZ(a,c,void 0,b)};q.g=function(){this.ic.g();this.Na(this.ic.b())};q.B=function(){dZ.c.B.call(this);var a=this.hs;a&&this.A().listen(a,"U",this.iq);this.A().listen(this.getContext().Ma,"y",this.ds);this.ji("vc")};
q.C=function(a){var b=this.b();b.style.top=a?"":Ga;b.style.left=a?"":Ga;b.style.right=a?"":"9500px"};q.ZH=function(a){this.Fk.ZH(a)};q.getToken=function(){return this.I};q.Sp=function(){return this.Fk.Sp()};q.Fz=function(a){return this.Fk.Fz(a)};
q.setActive=function(a,b){dZ.c.setActive.call(this,a,b);var c=function(c){c&&c.setActive(a,b)};c(this.ic);c(this.Fk);c(this.eT);c(this.gda);c(this.ay);c(this.hs);a&&(this.hs&&this.hs.setValue(this.getContext().Fo.getValue()),this.ds(),E&&this.I.Ca(bq)&&0==Lr(Vt,"7")&&M(function(){Q(this.b(),"zoom","1")},0,this))};q.Tg=function(a){this.Fk.Tg(a)};q.iq=function(a){if(this.Wa){var b=this.getContext().Fo,c=this.hs;c&&"x"==a.type&&this.sL()&&(c.setValue(""),b.setValue(""));this.ds()}};
q.ds=function(){var a=this.XEa();a=this.sL()&&a||!!this.getContext().Fo.getValue();this.ic.ds(a)};q.sL=function(){var a=this.Sp(),b=this.getContext().Ma.xg(!0);return ks(b,a.contains,a)};q.XEa=function(){var a=aY(this.getContext()),b;rs(a)||(b=a[0]);this.ic.O7(!!b,$X(this.getContext(),b),0);return!b};q.o=function(){dZ.c.o.call(this);delete this.ic;delete this.eT;delete this.$ca;delete this.ay;delete this.Fk;delete this.hs};
q.kk=function(){var a=this.Fk.kk();!a&&this.ay&&(a=this.ay.focus());a||this.ic.focus();return!0};q.Rp=function(){return this.Vs};var eZ=function(){dW.call(this,"picker-web-control")};B(eZ,dW);Rq(eZ);
eZ.prototype.g=function(a){var b=a.K(),c=b.getUrl(),e=b.getName();var f=b.et;if(!(10>f.length)){for(var g=[],h=0,l=0,p=0,r=0,z=0;z<f.length;z++){var O=r;r=f.charCodeAt(z);O=768<=r&&!wF(O,r,!0);10<=h&&!xF(r)&&!O&&(g.push(f.substring(p,z),zF),p=z,h=0);l?62==r&&60==l?l=0:59==r&&38==l&&(l=0,h++):60==r||38==r?l=r:xF(r)?h=0:8204<=r&&8207>=r||8234<=r&&8238>=r||h++}g.push(f.substr(p));f=g.join("")}b=b.getAttribute("vu");g=a.j();e=g.g("A",{target:de,tabIndex:-1},g.Nh(CE(e)));Wx(e,c);c=g.g(d,"picker-web-control-content",
g.Nh(CE(f)));return g.g(d,this.Zd(a).join(" "),g.g(d,"picker-web-control-title",e),c,g.g(d,"picker-web-control-url",b))};eZ.prototype.Zb=function(a){return a.b().firstChild};eZ.prototype.setState=function(a,b,c){eZ.c.setState.call(this,a,b,c);32==b&&(iy("a",null,a.b())[0].tabIndex=c?0:-1)};var fZ=function(a,b,c){fY.call(this,a,b,void 0,$p,c)};B(fZ,fY);fZ.prototype.UG=function(a){return new bW(this.getContext(),a,eZ.H(),this.j())};var gZ=function(){F.call(this)};B(gZ,F);q=gZ.prototype;q.Dh=function(){return!0};q.CT=function(){return!0};q.create=function(a,b,c){if(a.Ca(mq)){var e=a.getQuery()?new fZ(b,a,c):new zY(b,a,"Escribe la consulta de b\u00fasqueda en el cuadro anterior para obtener resultados mediante la B\u00fasqueda web de Google.",c);return new dZ(b,a,e,[],c)}if(a.Ca(Sp))return new TY(b,a,c);if(a.Ca(Oh))return new yY(b,a,new mY(b,a,c),c);e=new fY(b,a,new lY,void 0,c);return new dZ(b,a,e,[],c)};q.s4=function(){return!1};
q.load=function(a,b){a.call(b)};var hZ=function(a,b){F.call(this);this.ck=a;this.P=b};B(hZ,F);q=hZ.prototype;q.F=vv("picker.ui.ModuleViewCreator");q.Dh=function(){return JV.H().Gf(this.ck).Dh()};q.load=function(a,b){K(this.F,"Loading module id="+this.ck);var c=tW(this.ck),e=this.P.Gh;e&&c&&e.Ri("ml",c);JV.H().Gf(this.ck).Q3(y(function(a){wv(this.F,"Error "+a+"occured while loading module id= "+this.ck)},this));JV.H().Et(this.ck,function(){e&&c&&e.ji("ml",c);a.call(b||null)},void 0,void 0,!0,!0)};
q.create=function(a,b,c){var e=JV.H().Gf(this.ck).xl;return e&&e.rNa(a,b,c)};q.CT=function(a,b){return this.ck==UU(a,b)};q.s4=function(a,b){b=UU(a,b);return"opu"==b||b==gl||tR(a.qa)};var iZ=function(a){F.call(this);this.L=a||N();this.sB={}};B(iZ,F);iZ.prototype.o=function(){Qs(this.sB,this.L.removeNode,this.L);this.L=this.sB=null;iZ.c.o.call(this)};iZ.prototype.Y4=function(a,b){var c=this.yja(b||ym);Ny(c,"");M(function(){Ny(c,a)},1)};
iZ.prototype.yja=function(a){var b=this.sB[a];if(b)return UB(b,Hi),b;b=this.L.createElement(d);b.style.position=ke;b.style.top="-1000px";b.style.height="1px";b.style.overflow=Hi;T(b,Vj,a);T(b,ff,yp);this.L.K().body.appendChild(b);return this.sB[a]=b};var jZ=function(a){F.call(this);this.ba=a;this.Ec=new L;this.yb=[]};B(jZ,F);q=jZ.prototype;q.Dx=function(a){this.Ec.set(a.getId(),a);this.MCa=A();this.Uh||(this.Uh=new pE(this.fxa,1E3,this),this.Uh.It())};q.ua=function(a){this.Uh?this.yb.push(a):a()};q.fxa=function(){this.ba.requestData(new cU(Hl,this.Ec.bb(),{}),y(function(a){this.Jna(a);this.fX()},this),y(this.fX,this))};q.fX=function(){this.Ec.sa()&&A()<=this.MCa+1E4?this.Uh.It():(delete this.Uh,D(this.yb,function(a){a()}),ss(this.yb))};
q.Jna=function(a){D(a.dc(),function(a){var b=a.dm;if(b&&0<b.length){var e=b[b.length-1];0<e.Ag()&&0<e.ti()&&(a=a.getId(),this.Ec.get(a).f7(b),this.Ec.remove(a))}},this)};q.o=function(){this.Uh&&(this.Uh.dispose(),delete this.Uh)};var kZ=function(a,b){DT.call(this);this.En=a;this.qb=b};B(kZ,DT);kZ.prototype.xh=Hs(new $y("setuserpref"));kZ.prototype.kc=function(){return 16};kZ.prototype.Hf=function(){var a=new L;a.set(Hj,this.En);a.set(Xp,this.qb);return a};var lZ=function(a,b){J.call(this);this.P=a;this.nN=b};B(lZ,J);lZ.prototype.get=function(a){return this.nN[a]};lZ.prototype.set=function(a,b,c,e){this.nN[a]=b;this.P.ba.requestData(new kZ(a,b),y(function(){c&&c()},this),y(function(){e&&e()},this));this.dispatchEvent(new mZ(a,this))};lZ.prototype.gia=function(a){a=this.nN[a];if(a==yp)return!0;if(a==xh)return!1};lZ.prototype.Hya=function(a,b,c,e){this.set(a,String(b),c,e)};var mZ=function(a,b){H.call(this,"prefUpdate",b);this.key=a};B(mZ,H);var nZ=function(a,b){this.hS=b.apn;this.pba=b.apnl;this.vT=b.buildLabel;this.cga=b.dpm;this.vj=b.email;this.nla=b.gdn;this.k0=b.dip;this.N4=b.rig;this.I=b.token;this.lFa=b.xtoken;this.JEa=b.uriParams;this.i$=new lZ(a,b.pref||{});this.TEa=b.userId;this.Noa(b.wcs);this.pga=!!b.cac};nZ.prototype.Noa=function(a){return u(a)&&yr(a,"www.gstatic.com")?a:this.ksa(a)};nZ.prototype.ksa=function(a){return(HS().X9+a).replace("picker/picker",Jl)};nZ.prototype.getEmail=function(){return this.vj};
nZ.prototype.getToken=function(){return this.I};var oZ=function(a,b,c){F.call(this);this.ie=new CH;wC=HS().Ge();var e=new qX(a),f=new VU,g=new TW,h=new $U,l=new zX(a,h),p=new jZ(e);b=new LX(a,l,b);var r=new QX(e),z=this.cda(a);if(HS().nga){var O=new BT;O.yr(a.fl);O.Ri("ev","evavc")}this.Yo=new iZ(c);var ea=JV.H();ea.Lq||ea.kAa(z);g=new RX(f,b,g,h,l,e,a.QE,p,this.ie,r,a,this,z,this.Yo,O);b.rw(g);e.rw(g);f.rw(g);if(!HS().isNative()&&window.location.ancestorOrigins&&0<window.location.ancestorOrigins.length&&(f=window.location.ancestorOrigins[window.location.ancestorOrigins.length-
1],(h=a.getOrigin())&&(h=iz(h).$g("").wr("").Qh(void 0).toString()),h!=f))throw e.nc(0),Error("Incorrect origin value. Please set it to - (window.location.protocol + '//' + window.location.host) of the top-most page");this.P=g;this.qH=a.nfa?new IL(Jl):null;this.Io=new iY(g,c);this.P.nAa(this.Io.Sf);a=this.P;for(c=0;c<TU.length;c++)e=new hZ(TU[c],a),hY.push(e);a=new gZ;hY.push(a);this.initializeFromServer=this.TK;this.dispose=this.dispose;M(b.LDa,0,b)};B(oZ,F);q=oZ.prototype;
q.initialize=function(){var a=this.P.v,b=this.qH;b&&(b.U(!0),b.bca());try{document.execCommand(Ob,!1,!0)}catch(e){}BU=a.Lsa;OU=a.uga;PU=a.Pm;QU=a.oga;var c=this.P.ba;D(a.kya,function(a){c.LF(this.Qk().get(a))},this.P);this.ie.ua(function(a){ET=a.getToken();FT=a.lFa;var b=GT||{};ht(b,a.JEa);GT=b;c.q8.initialize()});this.Io.render(a.b());E&&0==Lr(Vt,"7")&&M(function(){Q(a.b(),"zoom","1")},0,this)};
q.cda=function(a){var b=new QS(a.Qk()),c=N(a.Zp());c=new aT(b,c.K());b.Hi(tQ,c);c=new xT(b);b.Hi(uQ,c);a={locale:HS().Qf,fh:a.cFa};b.Hi(vQ,new yT(a));a=new mT(new ZS(void 0,31536E6));a=new sT($m,a);var e=new vT(a);a.ca(e);this.ie.ua(function(a){e.setValue("oid",a.TEa)});a=new bT(b,a);b.Hi(sQ,a);return b};q.TK=function(a){this.ie.Sm||this.ie.callback(new nZ(this.P,a))};q.ld=function(a){this.P.ce.jt(a)};q.getContext=function(){return this.P};
q.o=function(){oZ.c.o.call(this);G(this.Io);delete this.Io;G(this.Yo);delete this.Yo;G(this.P);delete this.P;var a=this.qH;a&&(a.U(!1),a.J5(!1),delete this.qH)};var pZ=function(a,b){if(window.google&&window.google.maps)a();else{w(sm,a,void 0);a=wy(document,rd);var c=vw("//maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=true&language=%{language}&callback=%{callback}");var e={language:HS().Qf,callback:sm};c=Ow(c,e);c=Pw(c);Yx(a,c);a.type=gp;document.body.appendChild(a);LN(".pac-container{z-index:20000 !important; background-color: #fff; border: 1px solid #bbb;} .pac-item{padding:6px 8px;}",b)}};var qZ=function(a,b){var c=b||N(),e=c.g(d,"picker-native picker-min goog-menu"),f=a.$k().minew;f&&U(e,Yl);var g=a.Ag()||248,h=a.ti()||f?311:300;gA(e,g,h);a.Pd()&&ZB(e,a.Pd());c.appendChild(c.K().body,e);kS.call(this,e,c);this.Aq=f;this.N()?this.WP():this.wA();this.Z=c;this.qe=a;this.OK=this.vs(a.cp)+"pir";this.k6(!1);this.pw(!1);this.Cy=!1;this.jj=new jS(b);this.Y(this.jj);this.jj.render(e);this.t5()};B(qZ,kS);var rZ=[Ni,"hl"];q=qZ.prototype;q.F=vv(tm);q.Ol=null;
q.pj=function(){if(!this.Cy){this.Cy=!0;var a=this.qe.$k();a.outerElement||(a.outerElement=this.b());a.element=this.b();a.loadingStatusElement=this.b();a.uriPrefix=this.vs(this.qe.cp);a[Ik]=!0;a=new JS(a);this.qe.Fu(gk)?pZ(y(this.Su,this,a),this.j()):this.Su(a)}};
q.t5=function(){var a=new iw,b=this.qe.qk();b.ur("").$g(this.OK).T("app","2").T("subapp","5");var c=this.qe.$k(),e=c.authuser;e&&b.T(jf,e);(e=c.groupId)&&b.T("groupId",e);(e=c.gmailDelegatorId)&&b.T(Yh,e);(e=c.apt)&&b.T("apt",e);Qs(DR,function(a){c[a]&&b.T(a,!0)});var f={};D(rZ,function(a){f[a]=b.mb(a);b.removeParameter(a)});e=b.getQuery();b.Qh(kz(f));Vu(a,ap,y(this.UJ,this,a));a.send(b,od,e)};
q.UJ=function(a){var b=this.qe.$k();a=a.ae();try{var c=a.replace(Ea,"");this.Ol=JSON.parse(c);this.rv()}catch(e){wv(this.F,Pb+a),(b=b.serverConfigErrback)&&b(a)}};q.oq=function(a){return!!this.qe.$k()[a]};q.rv=function(){this.Cc&&this.Ol&&this.Cc.TK(this.Ol)};q.vs=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};q.Su=function(a){this.Cc||(this.Cc=new oZ(a,y(this.vK,this,this.qe.Mc),this.j()),this.Cc.initialize(),this.rv())};
q.vK=function(a,b){var c=b.action;if(c==iq||c==fq)this.ha();else if(c!=zf||this.N())c!=Il&&c!=zf||this.C(!1),a(b)};q.ld=function(a){a.action==Sm?(this.Cc&&!this.N()&&(this.Cc.dispose(),this.Cc=void 0,this.Ol=null,this.Cy=!1,this.t5()),this.pj()):this.Cc.ld(a)};q.Hc=function(){qZ.c.Hc.call(this);this.Q2();this.Nra();this.pj();this.ld(new xR(!0));MB(new $x(0,0),this.b(),0,this.ju());this.xS()};
q.ha=function(){if(this.Cy){qZ.c.ha.call(this);var a=this.getPosition();a instanceof ZC?this.jj.OT(a.element,this.b(),this.Tn):this.jj.update(this.b(),this.Tn,this.ju())}};q.ft=function(a){this.Cc&&this.Cc.getContext().v.ft(a)};q.Ng=function(a){qZ.c.Ng.call(this,a);this.B2();this.ld(new xR(!1))};q.o=function(){G(this.Cc);Ey(this.b());qZ.c.o.call(this)};
q.Nra=function(){this.A().ql(this.b(),Eg,this.nE,!1,this).ql(this.b(),Kf,this.nE,!1,this).ql(this.b(),wk,this.nE,!1,this).ql(this.b(),Ak,this.nE,!1,this)};q.nE=function(a){a.stopPropagation()};var sZ=function(a,b){CC.call(this,this.re,!0,b);this.qe=a;this.Ni(a.we);this.OK=this.vs(a.cp)+"pir";this.HO(!1)};B(sZ,QR);var tZ=[Ni,"hl"];q=sZ.prototype;q.F=vv(um);q.OV="picker-modal-dialog";q.Ol=null;q.re="picker "+sZ.prototype.OV;q.B=function(){sZ.c.B.call(this);var a=this.Wb,b=a.qj;if(a=b&&a.Cj(b))a.disabled=!0;a=this.pu();a=this.A().listen(a,zk,y(this.zZ,this,!0)).listen(a,yk,y(this.zZ,this,!1)).listen(this,Lg,y(this.Ila,this));bS(this.b(),a);bS(this.Rk(),a)};
q.Ila=function(a){a.key==this.Wb.ci&&this.ld(new lR)};q.zZ=function(a){lC(this.pu(),this.OV+"-title-close-hover",a)};
q.render=function(a){sZ.c.render.call(this,a);U(this.pu(),mm);this.P9();this.A().listen(this.j().getWindow(),Vm,this.P9);a=this.qe;var b=a.$k(),c=a.Pd();c?(this.fb(c),b.dfc&&(c=this.j().g(td,this.re+"-dogfood-confidential-text",jc),this.en().appendChild(c)),a.yA()):R(this.en(),!1);c=new iw;var e=a.qk();e.ur("").$g(this.OK).T("app","2").T("subapp","5");var f=b.authuser;f&&e.T(jf,f);(f=b.groupId)&&e.T("groupId",f);(f=b.gmailDelegatorId)&&e.T(Yh,f);(f=b.apt)&&e.T("apt",f);Qs(DR,function(a){b[a]&&e.T(a,
!0)});this.A().Of(c,ap,y(this.UJ,this,c));var g={};D(tZ,function(a){g[a]=e.mb(a);e.removeParameter(a)});f=e.getQuery();e.Qh(kz(g));c.send(e,od,f);b.outerElement||(b.outerElement=this.Dj());b.element=this.J();b.loadingStatusElement=this.J();b.uriPrefix=this.vs(a.cp);b[Ik]=!0;c=new JS(b);a.Fu(gk)?pZ(y(this.Su,this,c),this.j()):this.Su(c)};q.ha=function(){if(this.oq(Cn)){var a=hA(this.b()),b=oy(this.j().getWindow());a=Math.max(b.width/2-a.width/2,0);b=this.j().Df().y;Rz(this.b(),a,b)}else sZ.c.ha.call(this)};
q.xb=function(a,b){this.j().getWindow();var c=this.b();c=rA(c);a=a-c.right-c.left;b=b-c.top-c.bottom;gA(this.J(),a,b);kA(this.en())&&(c=hA(this.en()),b-=c.height,eA(this.Vka(),a-50));gA(this.J(),a,b);this.ha()};q.P9=function(){var a=this.oq(Cn)?dS(this.j().getWindow()):eS(this.j().getWindow(),this.qe.Ag(),this.qe.ti());this.xb(a.width,a.height)};
q.UJ=function(a){var b=this.qe.$k();a=a.ae();try{var c=a.replace(Ea,"");this.Ol=JSON.parse(c);this.rv()}catch(e){wv(this.F,Pb+a),(b=b.serverConfigErrback)&&b(a)}};q.oq=function(a){return!!this.qe.$k()[a]};q.rv=function(){this.Cc&&this.Ol&&this.Cc.TK(this.Ol)};q.vs=function(a){a=a||"";return"/"==a[a.length-1]?a:a+"/"};q.Su=function(a){this.Cc=new oZ(a,y(this.vK,this,this.qe.Mc),this.j());this.Cc.initialize();this.rv()};q.vK=function(a,b){var c=b.action;c!=Il&&c!=zf||this.C(!1);a(b)};q.ld=function(a){this.Cc.ld(a)};
q.C=function(a){this.Cc&&!this.Cc.gJ()?this.u7(a,0):sZ.c.C.call(this,a)};q.u7=function(a,b){if(a){this.V||this.render();var c=hA(this.b());10>b&&(0>=c.width||0>=c.height)&&M(y(this.u7,this,a,b++),10);sZ.c.C.call(this,!0);this.Cc&&this.Cc.getContext().vb.SZ()}!a&&this.we||this.ld(new xR(a));a||sZ.c.C.call(this,!1)};q.o=function(){G(this.Cc);sZ.c.o.call(this)};var Z=function(a){hS.call(this,a||"/picker");this.Za={};this.PK=new $y(this.cp);this.Ie=[];this.dR={};this.Za.uploadConfigs=[];(a=window.location.origin)||(a=window.location.protocol+"//"+window.location.host);this.Cw(a)};B(Z,iS);q=Z.prototype;q.we=!1;q.ts=function(a,b){this.Ie.push([a,b||{}]);return this};q.ica=function(a,b){this.Za.uploadConfigs[a]=b;return this};
q.Bs=function(){this.Za.pp=this.Ie.length?this.Ie:void 0;this.Za.uploaders=at(this.dR)?void 0:this.dR;var a=this.Za;if(!a.hl)throw Error("locale must be set");if(!a.hostId)throw Error("host id must be set");this.ZEa()};q.As=function(){this.Bs();if(this.Za.minimal)throw Error(Vp);return new sZ(this,this.j())};q.oG=function(){this.Ip(tk);this.Bs();return new qZ(this,this.j())};q.IH=function(a){this.Za.noAutoHide=a;return this};q.Ky=function(a){bt(this.Za,a);return this};
q.Ip=function(a){this.Za[a]=!0;a==Gm&&this.R5("square").ts(Fm);return this};q.fJ=function(){return this.we};q.ti=function(){return this.Nj};q.$k=function(){this.Za.nav=this.Oja();return this.Za};q.Pd=function(){return this.Za.title};q.Ag=function(){return this.gg};q.qO=function(a){this.Za.authuser=a;return this};q.R5=function(a){this.Za.cropMode=a;return this};q.Ni=function(a){this.we=a;return this};q.KD=function(a){this.Za.maxSizeBytes=a;return this};q.x6=function(a){this.Za.msbpi=a;return this};
q.Aw=function(a){this.Za.maxItems=a;return this};q.y6=function(a){this.Za.maxVD=a;return this};q.j6=function(a){this.Za.groupId=a;return this};q.yr=function(a){if(!a.match("^[a-zA-Z0-9_\\-\\.]+$"))throw Error("Illegal host id");this.Za.hostId=a;this.PK.T(Ni,a);return this};q.Cw=function(a){a&&(this.Za.origin=a);return this};q.HD=function(a){this.Za.defaultView=a;return this};q.t6=function(a){this.Za.learnMore=a;return this};q.WO=function(a){this.Za.hl=a;this.PK.T("hl",a);return this};
q.S6=function(a){this.Za.selectableMimeTypes=sv(a.split(","));return this};q.PD=function(a){this.Za.selectButtonLabel=a;return this};q.xb=function(a,b){this.gg=a;this.Nj=b;return this};q.TD=function(a){var b=[];a=a.split(",");for(var c=0;c<a.length;c++)b.push(a[c]);this.Za.thumbs=b;return this};q.fb=function(a){this.Za.title=a;return this};q.jBa=function(a){this.Za.subTitle=a;return this};q.k7=function(){return this};q.Gr=function(a){this.Za.uploadToAlbumId=a;return this};
q.qk=function(){var a=this.PK.T("nav",this.ui()).T(Ik,"1");a.T("origin",this.Za.origin);this.Ie.length&&a.T("pp",sv(this.Ie));return a.clone()};q.cE=function(a){this.Za.srum=a;return this};q.RD=function(a){this.Za.serviceIds||(this.Za.serviceIds=[]);this.Za.serviceIds.push(a);return this};q.ZEa=function(){for(var a=this.hA(Fp),b=0;b<a.length;b++){var c=a[b],e=c.getQuery();if(!e||!this.Za.uploadConfigs[e])throw Error("missing upload configuration for: "+c);}};var uZ=function(){this.ge={}};q=uZ.prototype;q.wya=function(a){this.ge.at=a;return this};q.yO=function(a){this.ge.det=a;return this};q.CO=function(a){this.ge.dzt=a;return this};q.BO=function(a){this.ge.dzat=a;return this};q.a6=function(a){this.ge.text=a;return this};q.fAa=function(a){this.ge.mechanisms=a;return this};q.iAa=function(a){this.ge.metadata=a;return this};q.lP=function(a){this.ge.selectLabel=a;return this};q.RD=function(a){this.ge.serviceId=a;return this};
q.o7=function(a){this.ge.uet=a;return this};q.so=function(a){this.ge.url=a;return this};q.As=function(){var a=this.ge;if(!a.url)throw Error("url must be specified");return new gS(a)};
var vZ=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)},wZ=function(a){a='Las fotos que subas se almacenar\u00e1n en un \u00e1lbum online de \u00c1lbumes web de Picasa, el servicio gratuito de Google para compartir fotos. <a target="_blank" class="upload-text-a" href="'+(vZ(a)+'">Consultar las pol\u00edticas de programa de Picasa y el aviso de privacidad</a>');return(new uZ).a6(a).o7("Se ha producido un error durante la subida.<br>Comprueba que el archivo que est\u00e1s subiendo sea un JPG, GIF o PNG y vuelve a intentarlo.").yO("\u00a1Vaya! Has arrastrado m\u00e1s de una foto.<br> Arrastra solo la foto que te interesa.").RD(Hl).CO("Arrastra fotos aqu\u00ed").BO(md).lP("Seleccionar fotos de tu ordenador").fAa(["XHR",
Tc]).so("/upload/photos/resumable").iAa({disable_asbe_notification:yp})};w(um,sZ,void 0);sZ.prototype.render=sZ.prototype.render;sZ.prototype.setVisible=sZ.prototype.C;sZ.prototype.getDisposeOnHide=sZ.prototype.fJ;sZ.prototype.listen=sZ.prototype.listen;sZ.prototype.dispose=sZ.prototype.dispose;w(tm,qZ,void 0);qZ.prototype.setMargin=qZ.prototype.w6;qZ.prototype.setPinnedCorner=qZ.prototype.hP;qZ.prototype.sendCommand=qZ.prototype.ld;qZ.prototype.disableAnimateView=qZ.prototype.ft;w("picker.api.NativePickerBuilder",Z,void 0);Z.prototype.addLabel=Z.prototype.To;
Z.prototype.addUploadConfiguration=Z.prototype.ica;Z.prototype.addView=Z.prototype.Vo;Z.prototype.addViewGroup=Z.prototype.Wo;Z.prototype.build=Z.prototype.As;Z.prototype.buildMinimal=Z.prototype.oG;Z.prototype.disableFeature=Z.prototype.Ky;Z.prototype.disableAutoHide=Z.prototype.IH;Z.prototype.enableFeature=Z.prototype.Ip;Z.prototype.getNav=Z.prototype.ui;Z.prototype.getProtocol=Z.prototype.lu;Z.prototype.getRelayUrl=Z.prototype.getRelayUrl;Z.prototype.getSelectButtonLabel=Z.prototype.dn;
Z.prototype.getTitle=Z.prototype.Pd;Z.prototype.hideTitleBar=Z.prototype.yA;Z.prototype.isFeatureEnabled=Z.prototype.fL;Z.prototype.resetNav=Z.prototype.ZC;Z.prototype.setAuthUser=Z.prototype.qO;Z.prototype.setCallback=Z.prototype.lo;Z.prototype.setHostId=Z.prototype.yr;Z.prototype.setInitialView=Z.prototype.HD;Z.prototype.setLearnMore=Z.prototype.t6;Z.prototype.setLocale=Z.prototype.WO;Z.prototype.setMaxItems=Z.prototype.Aw;Z.prototype.setOrigin=Z.prototype.Cw;Z.prototype.setProtocol=Z.prototype.OD;
Z.prototype.setRelayUrl=Z.prototype.setRelayUrl;Z.prototype.setSelectButtonLabel=Z.prototype.PD;Z.prototype.setThumbs=Z.prototype.TD;Z.prototype.setTitle=Z.prototype.fb;Z.prototype.setSubTitle=Z.prototype.jBa;Z.prototype.setUiVersion=Z.prototype.k7;Z.prototype.setUploadToAlbumId=Z.prototype.Gr;Z.prototype.toUri=Z.prototype.qk;w("picker.api.UploadConfigurationBuilder",uZ,void 0);uZ.prototype.build=uZ.prototype.As;uZ.prototype.setUploadErrorText=uZ.prototype.o7;uZ.prototype.setDragErrorText=uZ.prototype.yO;
uZ.prototype.setDropZoneText=uZ.prototype.CO;uZ.prototype.setDropZoneAltText=uZ.prototype.BO;uZ.prototype.setSelectFilesLabel=uZ.prototype.lP;uZ.prototype.setServiceId=uZ.prototype.RD;uZ.prototype.setUrl=uZ.prototype.so;w("picker.api.UploadConfigurationBuilder.createPhotosBuilder",wZ,void 0);
w("picker.api.UploadConfigurationBuilder.createVideosBuilder",function(a){var b='Al subir v\u00eddeos, indicas que aceptas los <a target="_blank" class="upload-text-a" href="'+(vZ(a)+'">T\u00e9rminos y condiciones correspondientes</a>.');return wZ(a).wya([aq]).a6(b).lP("Selecciona los v\u00eddeos que quieres subir").yO("\u00a1Vaya! Has arrastrado m\u00e1s de una imagen.").CO("Arrastra v\u00eddeos aqu\u00ed").BO(md)},void 0);var xZ=function(a){this.MEa=a||!1};B(xZ,iD);var yZ=null;q=xZ.prototype;q.PY=function(){return this.MEa?Og:"tr"};q.g=function(a){var b=this.Zd(a);a=a.j();var c=this.PY();return b?a.g(c,{"class":b.join(" ")}):a.g(c)};q.tc=function(a){return a.tagName.toLowerCase()==this.PY()};q.R=function(a,b){return xZ.c.R.call(this,a,b)};
q.DX=function(a){switch(a){case Gg:return"upload-state-default";case ej:return"upload-state-inqueue";case Uo:return"upload-state-start";case wp:return"upload-state-upload";case "pause":return"upload-state-pause";case nf:return"upload-state-backoff";case ap:return"upload-state-complete";case ph:return"upload-state-error";case zf:return"upload-state-cancel";default:return""}};q.Bd=function(a){xZ.c.Bd.call(this,a);oA(a.b(),!1,Ft);a.$O("");a.YI().C(!1);a.FJ().C(!1)};
q.PE=function(a){var b=a.getMessage();a=a.Ija();b?(a.eb(" ("+b+")"),a.C(!0)):(a.eb(""),a.C(!1))};q.DP=function(a,b,c){a.BN(this.DX(b));a.wk(this.DX(c));a.yY().C(c==Gg||c==ej);a.YI().C(c==Uo||c==wp||c==nf);b=a.getValue();a.FJ().C(b.ET)};q.S=function(){return"upload-file"};var zZ=function(a,b,c){mD.call(this,a,b||yZ||(yZ=new xZ),c);this.CG=new L;this.rr(!0)};B(zZ,mD);zZ.prototype.dispatchEvent=function(a){try{return zZ.c.dispatchEvent.call(this,a)}catch(b){wv(this.F,Kc,b)}};var AZ={P$:Gg,haa:ej,Yaa:Uo,cba:wp,OJa:"pause",CFa:nf,$aa:ap,Caa:yl,ERROR:ph,No:zf};q=zZ.prototype;q.F=vv("apps.uploader.ui.FileItem");q.kx=Gg;q.Pr=null;q.a4=null;q.IT=null;q.J4=null;q.S1=null;q.Hn="";q.yY=function(){return this.a4||(this.a4=new VD(null,EG.H(),this.j()))};
q.YI=function(){return this.IT||(this.IT=new VD(null,EG.H(),this.j()))};q.FJ=function(){return this.J4||(this.J4=new VD(null,EG.H(),this.j()))};q.Ija=function(){return this.S1||(this.S1=new mD("",void 0,this.j()))};q.setValue=function(a){this.Dc(a);this.PE()};q.getValue=function(){return this.$};q.PE=function(){this.M.PE(this)};q.DP=function(a){if(a!=this.kx){if(Zs(AZ,a)){var b=this.kx;this.kx=a;this.M.DP(this,b,a);return!0}throw Error("Unsupported upload state: "+a);}return!1};q.O7=function(a){this.$O(a)};
q.getMessage=function(){return this.Hn};q.$O=function(a){a!=this.Hn&&(this.Hn=a,this.PE())};q.Tc=function(a){a.target!=this.b()&&this.Lla(a);return zZ.c.Tc.call(this,a)};q.Lla=function(a){var b=a.target.id;this.CG.Xb(b)&&this.CG.get(b)(a)};q.zN=function(a,b){this.CG.set(a.getId(),b)};q.B=function(){zZ.c.B.call(this);this.b().id=this.Ig(Ah);this.M.DP(this,this.kx,this.kx);this.zN(this.yY(),y(this.Ana,this));this.zN(this.YI(),y(this.Gla,this));this.zN(this.FJ(),y(this.Lna,this))};q.Ana=function(){this.dispatchEvent("removeclicked")};
q.Gla=function(){this.dispatchEvent("cancelclicked")};q.Lna=function(){this.dispatchEvent("retryclicked")};eD("upload-file",function(){return new zZ(null)});var BZ=function(){};q=BZ.prototype;q.Opa=function(){this.hta=new CZ(webspace.domain,webspace.name,webspace.siteNoticeMessage,webspace.siteNoticeRevision)};q.Bsa=function(){var a=this.hta;if(!a.getMessage()||this.ita(a))return!1;this.Qwa(a);return!0};q.ita=function(a){var b=Pr.get(Fj);return b?qs(b.split("|"),String(a.L4)):!1};q.ema=function(a){this.vwa();var b=Pr.get(Fj);a=String(a.L4);b&&(a=b+"|"+a);this.eza(a)};q.eza=function(a){Pr.set(Fj,a,7776E3,this.Dia())};q.Dia=function(){return webspace.baseUri};
q.Qwa=function(a){var b=a.getMessage();if(b){b=ZE(QI,{message:b});b.setAttribute(Ym,Kg);this.o2=b;var c=nG("Entendido");I(c,k,y(this.ema,this,a));c.render(b);if(webspace.siteNoticeUrlEnabled){var e=Ww(webspace.siteNoticeUrlAddress);Tw(e)!=ie&&(a=nG("M\u00e1s detalles"),I(a,k,function(){window.open(Tw(e))}),a.render(b),a.b().setAttribute(Ym,"link"))}Dy(document.body,b,0);b.focus()}};q.vwa=function(){this.o2&&Ey(this.o2)};var CZ=function(a,b,c,e){this.sd=a;this.$i=b;this.Hn=c;this.L4=e};
CZ.prototype.getMessage=function(){return this.Hn};var DZ=function(){this.p2=new BZ;JOT_addListener("usercontentrendered",y(this.xza,this))};w("JOT_setupPostRenderingManager",function(){return new DZ},void 0);DZ.prototype.xza=function(){this.p2.Opa();if(!this.p2.Bsa()){var a=document.getElementById("sites-page-title");a&&a.focus()}};var EZ=LK.H();webspace.commonSharingUrl=webspace.baseUri+"/system/app/pages/admin/commonsharing";webspace.manageUrl=webspace.user.hasAdminAccess?webspace.baseUri+"/system/app/pages/admin/settings":webspace.baseUri+"/system/app/pages/admin/recentsiteactivity";webspace.monetizeUrl=webspace.baseUri+eb;
var FZ=new $y(new String(window.location)),GZ=FZ.mb("pageDeleted"),HZ=FZ.mb("pageReverted"),IZ=FZ.mb("pageRevertErr"),JZ=FZ.mb("pageUrlChanged"),KZ=FZ.mb("pageMoved"),LZ=FZ.mb("unsubPage"),MZ=FZ.mb("unsubSite"),NZ=FZ.mb(Em),OZ=FZ.mb("templateSaved"),PZ=FZ.mb("webspaceRestored");
if(GZ)S("Se ha eliminado la p\u00e1gina.");else if(HZ){var QZ="Se ha revertido la p\u00e1gina a la revisi\u00f3n "+(xr(HZ)+".");S(QZ)}else if(IZ)S("No se puede revertir a la versi\u00f3n anterior.");else if(JZ){var RZ="La URL de la p\u00e1gina se ha modificado a "+(xr(JZ)+".");S(RZ)}else if(KZ){var SZ='"'+(xr(webspace.page.title)+('" se ha desplazado a "'+(xr(decodeURIComponent(KZ))+'".')));S(SZ)}else LZ?S($d):MZ?S(ae):NZ?S("Vista previa del lector"):OZ?(S("Se ha guardado la plantilla de la p\u00e1gina."),
ZA(1E4)):PZ&&(S("El espacio web se ha restaurado correctamente."),ZA(1E4));
JOT_addListener(bd,function(){function a(a,c,e,f,g){if(40==g.keyCode||38==g.keyCode||13==g.keyCode)b(a,c,e,f),g.preventDefault(),g.stopPropagation()}function b(a,b,c,e){P("page-btns").style.display!=Nk&&a.E7(b,c,e)}function c(){xH(Rd,"Smart preview",bI(webspace.baseUri,webspace.page.path,Gb))}function e(){window.jstiming.load.t={};window.jstiming.load.tick("_start_edit");vH(Rd,"Edit page");JOT_postEvent(vl)}function f(a){xH(Rd,pc,bI(webspace.baseUri+"/system/app/pages/createPage"+(a?"?pt=":"?source=")+
webspace.page.path))}function g(){xH(Rd,"Share",bI(webspace.commonSharingUrl+"#"+webspace.page.path))}var h=webspace.page.isRtlLocale,l=0==webspace.page.path.indexOf(Wa),p=P(Ko);if(p){var r=new mG;r.R(p);I(r,k,c);r.U(!0);p.setAttribute(bf,Zd)}if(p=P(fh))r=new mG,r.R(p),r.Yg(2),I(r,k,e),r.U(!0),p.setAttribute(bf,l?fd:"Editar p\u00e1gina");if(r=P(tg)){var z=new mG;z.R(r);p&&(z.Yg(1),hB(p,"collaborator-btn-collapse-right"));I(z,k,cr(f,l));z.U(!0);r.setAttribute(bf,l?nc:"Crear p\u00e1gina")}if(r=P("sites-share-visibility-btn"))l=
webspace.user.hasAdminAccess,p=new TQ,p.R(r),p.Cj().U(l),r=JO(webspace.page.pageInheritsPermissions),r==aj?p.B5("Esta p\u00e1gina tiene permisos personalizados: los nuevos usuarios a\u00f1adidos al sitio tambi\u00e9n se a\u00f1adir\u00e1n a esta p\u00e1gina","sites-share-button-permission-inherits-icon"):r==$i&&p.B5("Esta p\u00e1gina tiene permisos personalizados. Los nuevos usuarios a\u00f1adidos al sitio no se a\u00f1adir\u00e1n a esta p\u00e1gina.","sites-share-button-permission-ignores-icon"),
l&&I(p,k,g);if(l=P(vk))p=new mG,p.R(l),p.U(!0),l.setAttribute(bf,"M\u00e1s acciones");l=ky("sites-collaborator-bar-back-arrow");ky("sites-site-name-link")&&l&&new YG(l,"Vuelve a Mis sitios");ky("sites-site-template-name")&&l&&new YG(l,"Vuelve a la lista de plantillas");r=P("more-actions-menu");l=P(vk);if(r&&l){p=new TZ;p.R(r);r=h?1:5;h=h?0:4;p.pd(l,r,h);my(l,{"aria-haspopup":yp});(z=Yy(l,void 0,oj))&&I(z,Ij,cr(a,p,l,r,h));h=new TK(cr(b,p,l,r,h),!0);EZ.gh(h,h.Np);if(r=P(Ln))r=!kB(r,Jn),p.Sk(Ln).U(r);
h.Uo(l);(new wI).L_(p)}});JOT_postEvent(bd);var TZ=function(a,b){CD.call(this,a,b)};B(TZ,CD);TZ.prototype.wc=function(a){if(13==a.keyCode&&this.Ff())for(var b=this.Ff().b();null!=b;b=Iy(b))if(b.getAttribute(Yk))return b.onclick(null),this.C(!1),!0;return BD.c.wc.call(this,a)};var UZ=function(a,b,c,e){F.call(this);webspace.user&&(this.yra=a,this.Oua=b||null,this.i0=!!c,this.vz=String(webspace.user.sessionIndex),this.lh=(e||"/_/sharing")+"/share",this.to=null,this.G=new pC(this),this.hB=[],this.Qea(this.i0),this.hB.push(JOT_addListener("showShareDialog",y(this.aCa,this))))};B(UZ,F);w("sites.core.sharing.Client",UZ,void 0);q=UZ.prototype;q.hb=null;q.yh=function(){return this.G};
q.Qea=function(a){var b=a?webspace.pageSharingId:webspace.sharingId;this.hb=this.msa();this.to=new bR(this.vz,webspace.sharingId,"jotspot",void 0,webspace.page.locale,!0,b,this.hb);this.to.Eya(this.lh);this.Rza(a,this.yra,this.Oua);this.G.listen(this.to,Xj,this.koa);this.i0=a};q.Rza=function(a,b,c){this.to.Sza(a?c:b)};q.msa=function(){return new hR};q.qP=function(a){this.hb&&this.hb.qP(a)};q.aCa=function(){this.to.mi(Bn)};q.koa=function(){iI("IncrementShareErrors",{})};
q.o=function(){UZ.c.o.call(this);for(var a=0;a<this.hB.length;a++)JOT_removeListenerByKey(this.hB[a]);this.hB=null;G(this.to);this.to=null;G(this.G);this.G=null;G(this.hb);this.hb=null};var XZ=function(a,b,c){this.XB=a;this.title=b;this.dom=N(document);this.VB=this.dom.b(Rb+a);var e=this.Zja();e&&this.oX(this.VB,function(a){this.g6(a,!qs(e,a.getAttribute("wuid")))});a=this.dom.ri(d,"current-bg",this.VB);if(0<a.length)for(this.QG=!0,a=a[0].parentNode;a;)a=this.Zz(a),Ky(a)&&this.g6(a,!1);I(this.VB,Kf,y(this.bta,this));VZ.push(this);c||WZ.push(this)};XZ.prototype.QG=!1;var VZ=[],WZ=[];q=XZ.prototype;q.CR="SitesNav";q.L$=5184E3;q.naa=40;q.JR="+";q.GR="x";
q.oX=function(a,b,c){b=y(b,this);a=this.dom.ri("LI",m,a);for(var e=0;e<a.length;e++)b(a[e],c)};q.g6=function(a,b){lC(a,Mf,b)};q.Zz=function(a){return this.dom.aia(a.parentNode,"LI",m)};q.CX=function(a){return null==a?null:(a=iy("ul",null,a))&&a[0]?a[0]:null};q.Zja=function(){var a=Pr.get(this.CR+this.XB);return null==a?null:""==a||a==this.GR?[]:a.split(this.JR)};
q.oEa=function(){var a=[];this.oX(this.VB,function(b){var c=b.getAttribute("wuid");c&&!hC(b,Mf)&&a.push(c)});var b=a.slice(0,this.naa).join(this.JR);b=b||this.GR;Pr.set(this.CR+this.XB,b,this.L$,webspace.baseUri)};q.bta=function(a){if(a.target instanceof Element&&hC(a.target,vh)){var b=this.Zz(a.target),c=!hC(b,Mf);lC(b,Mf,c);this.xca(b,!c);this.oEa();a.preventDefault()}};
q.xca=function(a,b){var c=this.CX(a);if(null!=a&&null!=c){var e=c.scrollHeight,f=this.Zz(a);b?(U(c,ye),c.style.height=e+n,this.LN(f)):(c.style.height=e+n,M(function(){U(c,ye);c.style.height="0px";this.LN(f)},0,this))}};q.LN=function(a){var b=this.CX(a);null!=a&&null!=b&&(b.style.height="",jC(b,ye),this.LN(this.Zz(a)))};w("JOT_setupNav",function(a,b,c){return new XZ(a,b,c)},void 0);
w("JOT_NAVIGATION_titleChange",function(a){var b=cI(byId(a.listenerCompId))[a.payload.wuid];x(b)||(b=[b]);for(var c in b){var e=b[c];if(e){var f=e.firstChild;f&&f.className==vh&&(e=f.nextSibling);3==e.nodeType?e.parentNode.replaceChild(document.createTextNode(a.payload.title),e):Ny(e,a.payload.title)}}},void 0);var YZ=function(a){JOT_addListener("copyTemplate",y(this.gea,this));JOT_addListener(Ln,y(this.H7,this));JOT_addListener(Mn,y(this.Q7,this));JOT_addListener(Nn,y(this.dE,this));JOT_addListener(Pn,y(this.tCa,this));JOT_addListener("showSaveAsPageTemplate",y(this.V7,this));JOT_addListener("showSelectDefaultTemplateLocation",y(this.oCa,this));JOT_addListener(rp,y(this.yE,this));JOT_addListener(sp,y(this.e9,this));var b={};b.smartPreview=new cL("smartPreview"in a);var c=P(Ko);c&&b.smartPreview.Uo(c);b.editPage=
new QK("editPage"in a);(c=P(fh))&&b.editPage.Uo(c);b.openCreatePage=new WK(al in a);(c=P(tg))&&b.openCreatePage.Uo(c);b.editSiteLayout=new RK(gh in a);b.openRevisionHistory=new XK(cl in a);b.togglePageSubscription=new dL(y(this.yE,this),rp in a);b.showPageSettings=new aL(y(this.dE,this),Nn in a);b.printPage=new ZK("printPage"in a);b.openCopyPage=new VK("openCopyPage"in a);b.showMovePage=new UK(y(this.Q7,this),Mn in a);if(c=P(Ln)){var e=!kB(c,Jn);b.showDeletePage=new PK(y(this.H7,this),e);e||b.showDeletePage.Uo(c)}b.previewAsViewer=
new YK(Em in a);b.saveAsPageTemplate=new $K(y(this.V7,this),bn in a);b.openChangePageTemplate=new NK(y(this.Yz,this),$k in a);b.toggleSiteSubscription=new eL(y(this.e9,this),sp in a);b.openManageSite=new SK(bl in a);b.showShareClient=new bL(On in a);webspace.user.keyboardShortcuts&&!webspace.user.renderMobile&&(this.ewa(b),this.hca(b));this.xda();this.Wl=b;this.GQ=0;this.zE=!1};B(YZ,F);w("gsites.pages.PageActions",YZ,void 0);q=YZ.prototype;
q.ewa=function(a){var b=LK.H(),c;for(c in a){var e=a[c];e.isEnabled()&&e.bb()&&b.gh(e,e.Np)}};q.XDa=function(a){var b=LK.H(),c;for(c in a)b.bo(a[c])};q.xda=function(){var a={action:"checkCriteria"};webspace.user.hasAdminAccess&&webspace.isAdsenseEnabled&&!webspace.adsensePromoClickedOrSiteIneligible&&iI(Kb,a,y(this.moa,this),null)};q.moa=function(a){a=a.target.Ba();a.showPromo&&1==a.showPromo&&this.wba()};
q.wba=function(){var a=new LD,b=ZE(PI);document.body.appendChild(b);a.vr(b);a.setPosition(new ZC(P(vk),1));a.w6(new Iz(25,-80,0,0));a.hP(4);a.pw(!1);I(window,Vm,function(){a&&a.N()&&a.ha()});this.p3=a;this.vba();a.C(!0)};q.vba=function(){var a=ky("goog-adsense-promo-monetize-btn"),b=new VD("Registrarse en AdSense",zE.H());I(b,k,this.vla,!1,this);b.render(a);a=ky("goog-adsense-promo-dismiss");I(new uB(a),k,this.tla,!1,this)};q.vla=function(){iI(Kb,{action:"monetizeClicked"},y(this.ula,this),null)};
q.tla=function(){iI(Kb,{action:"dismissClicked"},y(this.sla,this),null)};q.ula=function(){this.p3.C(!1);Zx(window.location,bI(webspace.baseUri,eb))};q.sla=function(){this.p3.C(!1)};q.hca=function(a){for(var b in a){var c=a[b],e=P(b);if(e&&c.isEnabled()){if(c=c.cY())c=FJ(c),c=xy(document,CE("<span>"+c+ob)),hB(c,"more-actions-menu-item-helptext"),By(c,e.firstChild);hB(e,"more-actions-shortcuts-enabled")}}};q.ml=function(a){a=P(a);return!a||a&&a.style.display==Nk?"":Hf};
q.Yz=function(){return bI(webspace.baseUri,"/system/app/pages/changePageTemplate?wuid="+webspace.page.wuid+"&pt="+webspace.page.currentTemplate.path)};
q.dE=function(a){vH(hd,"Page settings");var b=this.Yz();b={Fv:webspace.page.name,dta:"draft"!=webspace.page.state,f3:!0,e3:this.ml(xo),J8:webspace.page.type!=ze,I8:this.ml(Tb),bT:webspace.page.type!=Bh,cT:this.ml($n),nU:!0,oU:this.ml(Sb),canChangePath:webspace.page.canChangePath,ll:DA,wv:WZ,fN:webspace.page.parentPath||"",YNa:webspace.page.path,Qua:webspace.page.currentTemplate.title,Pua:b,nqa:webspace.user.hasAdminAccess,Nua:this.eka(),Uga:webspace.page.type==Bh,Tda:!!P("JOT_FILECAB_cf"),Tga:!!P("JOT_FILECAT_header")};
a.payload.opt_msg&&(b.cz=a.payload.opt_msg);a=""+(b.cz?xb+W(b.cz)+mb:"")+"<p>"+CI(b,null,void 0)+(b.Uga?'<br/><label><input jotId="collapseFolderEl" type="checkbox"'+(b.Tda?da:"")+'/>Contraer carpetas de forma predeterminada</label><br/><label><input jotId="fileCabinetHeaderEl" type="checkbox"'+(b.Tga?da:"")+"/>Mostrar encabezados de columna</label>":"");var c=DF;var e=b.Nua;BF(e,GE)?(C(e.constructor===OE),e=PF(e.zb())):e=xr(String(e));c=c('<div><label for="page-description-field"><strong>Descripci\u00f3n de p\u00e1gina</strong></label></div><div><textarea cols="45" rows="2" jotId="pageDescriptionEl" id="page-description-field">'+
e+"</textarea></div>");a=a+c+"</p>";if(b.dta&&0<b.wv.length&&b.nqa){a+='<p class="sites-page-settings-divider" jotId="showInNavigationEl">';if(1<b.wv.length){a+="<b>Mostrar esta p\u00e1gina en la barra lateral:</b>";c=b.wv;e=c.length;for(var f=0;f<e;f++){var g=c[f];a+='<br/><label><input type="checkbox" value="'+X(g.XB)+'"'+(g.QG?ca:"")+"/>"+W(g.title)+"</label>"}}else a+='<label><input type="checkbox" value="'+X(b.wv[0].XB)+'"'+(b.wv[0].QG?ca:"")+"/>Mostrar esta p\u00e1gina en la barra lateral</label>";
a+="</p>"}a+=(b.canChangePath?'<p class="sites-page-settings-divider"><strong>URL de la p\u00e1gina</strong><br/><span style="color: gray">Las URL de la p\u00e1gina solo pueden contener los siguientes caracteres: -, A-Z, a-z, 0-9.</span><input jotId="pageURL" type="text"'+(b.ll?ja:"")+' value="'+X(b.Fv)+ta+W(b.fN)+Va+W(b.Fv)+pb:"")+'<p class="sites-page-settings-divider">Se est\u00e1 usando esta plantilla de p\u00e1gina.&nbsp;<strong>'+W(b.Qua)+'</strong> (<a href="'+X(ZF(b.Pua))+'">Cambiar</a>)<br/></p>';
b=DF(a);b=fQ(kc,b.toString(),null,Sc,y(this.Pna,this));b.C(!0);this.R7(b.ei.pageURL,b.ei.pageURLScrubbed)};q.eka=function(){var a=P("meta-tag-description");return a&&a.content?a.content:""};q.R7=function(a,b){var c=function(){var c=dQ(a.value,!1,!1,!0);c=NO(c,webspace.page.parentPath,!1);Ny(b,c||"")};a&&(I(a,Kj,c),I(a,rf,c))};
q.Pna=function(a){var b=cI(a.eventSrc);if(b.pageURL&&!jr(b.pageURL.value))return S("El campo URL de la p\u00e1gina no se puede dejar en blanco."),b.pageURL.focus(),!1;a={wuid:webspace.page.wuid,path:webspace.page.path,navIds:[],properties:{"config/showPageTitle":b.showPageTitleEl?b.showPageTitleEl.checked:!1,"config/showComments":b.allowCommentsEl?b.allowCommentsEl.checked:!1,"config/showAttachments":b.allowAttachmentsEl?b.allowAttachmentsEl.checked:!1,"config/showSubpages":b.allowSubpagesEl?b.allowSubpagesEl.checked:
!1,"config/pageDescription":b.pageDescriptionEl?b.pageDescriptionEl.value:""}};webspace.page.type==Bh&&(a.properties["config/collapseFolders"]=b.collapseFolderEl.checked,a.properties["config/fileCabinetHeader"]=b.fileCabinetHeaderEl.checked);var c=b.showInNavigationEl;if(c){c=c.getElementsByTagName(dj);for(var e=0;e<c.length;e++)c[e].checked&&a.navIds.push(c[e].value)}webspace.Dxa(a,y(function(){S(Qc);var a=b.pageURL&&dQ(Vy(b.pageURLScrubbed),!1,!1,!0);a&&webspace.page.name!=a?this.eZ(a,Nn):Zx(window.location,
bI(webspace.baseUri,webspace.page.path))},this),function(){S("ERROR: no se ha guardado la configuraci\u00f3n de la p\u00e1gina.")})};
q.eZ=function(a,b){S("Cambiando URL de la p\u00e1gina; espere...");webspace.zM({path:webspace.page.path,newPath:webspace.page.parentPath?bI(webspace.page.parentPath,a):"/"+a,unique:!1},function(c){c=c.target.Ba();c.error?/already\ exists/.exec(c.error)?(c=webspace.page.parentPath?webspace.page.parentPath:kd,c='Error: ya existe una p\u00e1gina con el nombre "'+(xr(a)+('" en '+(xr(c)+"."))),JOT_postEvent(b,this,{opt_msg:c}),ZA()):/lock\ page/.exec(c.error)&&(JOT_postEvent(Nn,this,{opt_msg:"Error: la p\u00e1gina que intentas mover est\u00e1 bloqueada actualmente."}),
ZA()):Zx(window.location,c.newPath+"?pageUrlChanged="+encodeURIComponent(a))},function(a){S("ERROR: "+a)})};
q.V7=function(){vH(hd,"Save page as template");var a={ll:DA,defaultLocationPath:kd};a=DF('<p>Al guardar una p\u00e1gina como plantilla, se crear\u00e1 una copia de la p\u00e1gina que todos los usuarios podr\u00e1n utilizar para crear p\u00e1ginas nuevas personalizadas. Todo el contenido de tu p\u00e1gina se incluir\u00e1 en la nueva plantilla.</p><p class="sites-page-settings-divider">'+DI({g2:!0,ll:a.ll,description:""},null,void 0)+EI(a,null,void 0)+"</p>");var b=xr(webspace.page.title);a=fQ("Guardar como plantilla de p\u00e1gina",
a.toString(),{pageURL:b},Sc,y(this.Ona,this));a.C(!0);this.ph=a.ei};
q.Ona=function(a){var b=cI(a.eventSrc);if(b.pageTemplateName&&!jr(b.pageTemplateName.value))return S("El nombre de la plantilla de la p\u00e1gina no puede dejarse en blanco."),b.pageTemplateName.focus(),!1;iI(ud,{wuid:webspace.page.wuid,path:webspace.page.path,revision:webspace.page.revision,name:b.pageTemplateName.value,desc:b.pageTemplateDesc.value,defaultLocationWuid:b.defaultLocationWuid.value,force:!1},y(function(a){a=a.target.Ba();a.error?"Outdated"==a.error?S(uc):S(yc):a.warning?"Locked"==
a.warning&&this.Nna(b,a):this.zS(a.templatePath)},this),function(){S(yc)})};
q.Nna=function(a,b){var c=xr(b.thatUser,!1)+" est\u00e1 editando esta p\u00e1gina. \u00bfTe gustar\u00eda romper su bloqueo y guardar la versi\u00f3n actual como plantilla?";fQ("Conflicto de edici\u00f3n","<p>"+c+"</p>",null,"S\u00ed",y(function(){iI(ud,{wuid:webspace.page.wuid,path:webspace.page.path,revision:webspace.page.revision,name:a.pageTemplateName.value,desc:a.pageTemplateDesc.value,force:!0},function(){b.error?"Outdated"==b.error?S(uc):S(yc):this.zS(b.templatePath)},function(){S(yc)})},
this),"No",function(){ZA()}).setVisible(!0)};q.zS=function(a){Zx(window.location,bI(webspace.baseUri,a))};
q.tCa=function(a){vH(hd,"Template Settings");var b={Fv:webspace.page.name,fN:webspace.page.parentPath||"",f3:!0,e3:this.ml(xo),J8:webspace.page.type!=ze,I8:this.ml(Tb),bT:webspace.page.type!=Bh,cT:this.ml($n),nU:!0,oU:this.ml(Sb),canChangePath:webspace.page.canChangePath,ll:DA,description:webspace.template.desc||"",defaultLocationWuid:webspace.template.defaultLocationWuid,defaultLocationPath:webspace.template.defaultLocationPath};a.payload.opt_msg&&(b.errorMsg=a.payload.opt_msg);a=DF(""+(b.cz?xb+
W(b.cz)+mb:"")+DI({g2:!1,ll:b.ll,description:b.description},null,void 0)+EI(b,null,void 0)+'<div class="sites-page-settings-divider"><div style="margin-bottom: 5px;"><b>Configuraci\u00f3n de p\u00e1gina predeterminada</b></div><div style="margin-bottom: 5px;">Definir la configuraci\u00f3n predeterminada para esta plantilla de p\u00e1gina. El creador de la p\u00e1gina puede ignorar esta configuraci\u00f3n.</div>'+CI(b,null,void 0)+mb+(b.canChangePath?'<p class="sites-page-settings-divider"><strong>URL de la p\u00e1gina</strong><br/><span style="color: gray">Las URL de la p\u00e1gina solo pueden contener los siguientes caracteres: -, A-Z, a-z, 0-9.</span><input jotId="pageURL" type="text" value="'+
X(b.Fv)+ta+W(b.fN)+Va+W(b.Fv)+pb:"")+"");a=fQ("Configuraci\u00f3n de la plantilla",a.toString(),null,Sc,y(this.Sna,this));a.C(!0);this.ph=a.ei;this.R7(this.ph.pageURL,this.ph.pageURLScrubbed)};
q.Sna=function(a){var b=cI(a.eventSrc);S(Qc);iI("SaveTemplateSettings",{path:webspace.page.path,desc:b.pageTemplateDesc.value,defaultLocationWuid:b.defaultLocationWuid.value,"config/showPageTitle":b.showPageTitleEl?b.showPageTitleEl.checked:!1,"config/showComments":b.allowCommentsEl?b.allowCommentsEl.checked:!1,"config/showAttachments":b.allowAttachmentsEl?b.allowAttachmentsEl.checked:!1,"config/showSubpages":b.allowSubpagesEl?b.allowSubpagesEl.checked:!1},y(function(a){a=a.target.Ba();var c=b.pageURL&&
dQ(Vy(b.pageURLScrubbed),!1,!1,!0);a.error?S(vc):c&&webspace.page.name!=c?this.eZ(c,Pn):Zx(window.location,bI(webspace.baseUri,webspace.page.path))},this),function(){S(vc)})};q.gea=function(){vH(hd,"Copy template");S("Copiando esta plantilla...");iI("CopyTemplate",{path:webspace.page.path,title:webspace.page.title},function(a){a=a.target.Ba();a.error?S(wc):Zx(window.location,bI(webspace.baseUri,a.path))},function(){S(wc)})};
q.H7=function(){vH(hd,"Delete page");var a=FI({c3:webspace.page.wuid,d3:webspace.page.title,baseUri:webspace.baseUri});this.Cm=fQ("Eliminar "+webspace.page.title,a.toString(),null,Bc,y(this.$la,this));this.Cm.C(!0);this.ph=cI(P("COMP_dialog"));var b=[];webspace.search({forDescendants:webspace.page.path},y(function(a){if((a=a.target.Ba())&&a.length){b=a;a={};for(var c=0;c<b.length;c++){var f=b[c];f[fk]&&(f[fk]=xr(f[fk]));f["CommentForm/isComment"]?(f.path=bI(a[f.parentWuid],"Comentarios"),f[fk]="Comentarios"):
a[f.wuid]=f.path}}R(this.ph["pageList-"+webspace.page.wuid],!0);wP(b,xr(webspace.page.title),this.ph["treeDiv-"+webspace.page.wuid]).qga(!1);this.Cm.ha()},this))};q.$la=function(){var a={path:webspace.page.path,removeChildren:!0};this.Cm.A5(!1,!0);webspace.KV(a,y(this.yla,this),function(){this.Cm.C(!1);this.Cm.dispose();S("ERROR: no se ha eliminado la p\u00e1gina.")});return!1};q.co=function(a,b){var c=this.ph.errorPageText;XE(c,a,b);c.style.display="block"};
q.yla=function(a){var b=a.target.Ba();b.removeChildren?this.g1(this.qka(a)):(this.ph.confirmText.style.display=Nk,b.onLandingPage?this.co(HI,{Era:b.onLandingPage}):b.pageNotFound?this.co(II):b.parentPermissionError?this.co(LI):b.childPermissionError?this.co(MI):1==b.length&&b[0].wuid==webspace.page.wuid&&b[0].lockUser?this.co(KI,{Zra:b[0].lockUser}):b[0]&&b[0].lockUser?(this.co(JI),XE(this.ph["treeDiv-"+webspace.page.wuid],OI,{results:b,Dpa:webspace.page.wuid})):this.co(NI))};
q.qka=function(){return(webspace.template?webspace.baseUri+fb:webspace.page.parentPath?bI(webspace.baseUri,webspace.page.parentPath):bI(webspace.baseUri,webspace.homePath))+"?pageDeleted=true"};q.g1=function(a){iI("VerifyPageUpdated",{wuid:webspace.page.wuid},y(this.Ioa,this,a),y(this.RZ,this,a))};q.Ioa=function(a,b){var c=b.target.Ba();c.error?this.RZ(a,b):c.completed?(this.Cm.dispose(),this.N3(a)):window.setTimeout(y(this.g1,this,a),1500)};
q.RZ=function(a,b){b=b.target.Ba();S(b.error);this.Cm.dispose();this.N3(a)};q.N3=function(a){Zx(window.location,a)};
q.Q7=function(){vH(hd,"Move page");var a=DF(zb),b=lI(webspace.page.title,kI(webspace.page.title)),c=fQ("Mover p\u00e1gina:"+b,a.toString(),null,"Mover",y(this.CZ,this));c.C(!0);var e=this;this.ek=new vP(c.ei.treeDiv,function(){e.CZ()&&c.close()},!0,!0,!0);this.parentPath=webspace.page.path.split("/");this.parentPath.pop();this.parentPath=this.parentPath.join("/");""==this.parentPath&&(this.parentPath="/");this.ek.or(this.parentPath,!0);c.ha()};
q.CZ=function(){if(this.ek.g5())return!1;var a=this.ek.Li;if(this.parentPath==a)return a=xr(webspace.page.name)+" ya se encuentra en esta ubicaci\u00f3n; no se ha movido ning\u00fan elemento.",S(a),!0;webspace.zM({path:webspace.page.path,newPath:bI(a,webspace.page.name)},y(function(a){a=a.target.Ba();if(a.error)/already\ exists/.exec(a.error)?S("La p\u00e1gina que est\u00e1s intentando mover ya existe en esa ubicaci\u00f3n."):/lock\ page/.exec(a.error)?S("La p\u00e1gina que intentas mover est\u00e1 bloqueada actualmente."):
"bad newPath parameter"==a.error&&S("El lugar a donde est\u00e1s intentando mover la p\u00e1gina no es una ruta v\u00e1lida.");else{var b=this.ek.EY();this.ek.dispose();Zx(window.location,a.newPath+"?pageMoved="+encodeURIComponent(b))}},this),function(){S("Se ha producido un error al intentar mover la p\u00e1gina seleccionada.")});return!0};
q.oCa=function(){vH(hd,"Select default template location");var a=fQ("Seleccionar una ubicaci\u00f3n de p\u00e1gina predeterminada",zb,null,"Seleccionar",y(this.HZ,this),bc,null,"defaultLocation");I(a,re,function(){P("templateDefaultLocationAnchor").focus()});a.C(!0);var b=this;this.ek=new vP(a.ei.treeDiv,function(){var c=b.HZ();(void 0==c||c)&&a.close()},!0,!0);a.ha()};
q.HZ=function(){if(this.ek.g5())return!1;var a=this.ek.Li,b=this.ek.hw,c=this.ph.defaultLocationWuid,e=this.ph.defaultLocationLabel;a&&"/"!=a||(a=kd,b="");Ny(e,a);UA(e,[255,255,136],2E3);c.value=b};
q.e9=function(){this.FT()&&(this.GQ++,this.zE=!0,iI("ToggleSiteSubscription",{},y(function(a){if(a.target.Ba().subscribed){vH(hd,"Subscribe to site changes");a="Cancelar suscripci\u00f3n a los cambios del sitio";var b="Recibir\u00e1s una notificaci\u00f3n cuando se realicen cambios en este sitio."}else vH(hd,"Unsubscribe to site changes"),a="Suscribirse a los cambios del sitio",b=ae;S(b);b=iy(null,"toggle-site-subscription",null);for(var c=0;c<b.length;c++)Ny(b[c],a);window.setTimeout(y(this.i7,this),
1E3)},this)))};q.yE=function(a){vH("sites-file-cabinet-subscription-label"==a.payload.opt_id?"File Cabinet":hd,"Toggle subscribe to page changes");if(this.FT()){var b=a.payload.opt_page||webspace.page.path;a=a.payload.opt_id||"";this.GQ++;this.zE=!0;iI("TogglePageSubscription",{page:b},y(cr(this.zEa,a),this),y(this.bK,this))}else this.bK()};q.i7=function(){this.zE=!1};q.bK=function(){S("Error al cambiar la suscripci\u00f3n de p\u00e1gina")};q.FT=function(){return!this.zE&&6>this.GQ};
q.zEa=function(a,b){var c=b.target.getResponseJson();if(c.commentErrorOccurred)this.bK();else{b=c.subscribed?"Cancelar suscripci\u00f3n a los cambios de la p\u00e1gina":"Suscribirse a los cambios de la p\u00e1gina";S(c.subscribed?"Recibir\u00e1s una notificaci\u00f3n cuando se realicen cambios en esta p\u00e1gina.":$d);c=iy(null,"toggle-page-subscription",null);for(var e=0;e<c.length;e++)Ny(c[e],b);a&&Ny(P(a),b);window.setTimeout(y(this.i7,this),1E3)}};q.o=function(){this.XDa(this.Wl)};w("JOT_ATTACH_delete",function(a){ZZ(a);var b=byId("attachment-"+a);b&&(new OA(b,1,.4,500)).play();webspace.KV({path:a},$Z,function(a){alert(a)})},void 0);function ZZ(a){var b=byId("attachment-delete-"+a);b&&R(b,!1);(a=byId("attachment-download-"+a))&&R(a,!1)}function $Z(a){a=a.target.Ba().path;ZZ(a);var b=byId(gf+a);b&&(R(b,!0),jA(b,1));(new qz(cr(a_,a),5E3)).start()}
function a_(a){var b=byId(gf+a);if(b&&kA(b)){R(b,!1);var c=byId("attachment-"+a);c&&(a=new OA(c,.4,0,500),I(a,nh,function(){c.parentNode.removeChild(c)},!1),a.play())}}w("JOT_ATTACH_undoDelete",function(a){var b=byId(gf+a);b&&R(b,!1);JOT_postEvent(Cp,a)},void 0);w("JOT_RECENTCHANGES_titleChange",function(a){var b=cI(byId(a.listenerCompId))[a.payload.wuid];if(b){b=b instanceof Array?b:[b];for(var c=0;c<b.length;c++)Ny(b[c],a.payload.title)}},void 0);var b_=function(a,b,c,e){HG.call(this,null);this.R(P(a));this.Q_=c||null;this.Fd=e||null;this.IAa(!0);iI(Pc,{limit:1E3,suppressedTemplates:b},y(this.xma,this),y(this.qZ,this))};B(b_,HG);w("sites.pages.PageTemplateMenu",b_,void 0);b_.prototype.xma=function(a){a=a.target.Ba();if(a.error)this.qZ();else{if(a=a.templates)for(var b=0;b<a.length;b++){var c=new c_(a[b]);this.sc(c)}this.Fd&&I(this.O,mn,this.Fd);this.Q_&&this.setValue(this.Q_);this.getValue()||this.kf(0)}};
b_.prototype.zu=function(a){b_.c.zu.call(this,a);(a=this.xa())&&this.Wc(a.$.description)};b_.prototype.qZ=function(){var a=ty(d,{style:"color: #DD4B39;"},document.createTextNode("Se ha producido un error al recuperar la lista de plantillas de p\u00e1gina."));Fy(a,this.b())};var c_=function(a){wD.call(this,a.title,a)};B(c_,wD);c_.prototype.getValue=function(){return this.$.path};var d_=function(a,b,c,e,f){J.call(this);this.uC=P(a);this.NDa=b||null;this.P_=c||null;this.nCa=!f;webspace.shallowSearch({forAll:!0,includeReadOnly:!e,includePermissionsMetaData:!0,filterName:wl},y(this.Vwa,this),y(this.k4,this))};B(d_,J);w("sites.components.Sitemap",d_,void 0);q=d_.prototype;q.Vf=null;
q.Vwa=function(a){a=a.target.Ba();if(a.error)this.k4();else{var b=new LO;b.vB(a);this.Vf=new MO(b,!0,webspace,void 0,this.NDa,void 0,!0);this.Vf.yw(this.qja());this.Vf.JD(!0);this.Vf.render(this.uC);this.P_&&this.Vf.pP(this.P_);this.Vf.aa.sP(this.nCa);this.dispatchEvent(qe)}};q.k4=function(){this.dispatchEvent(Xj)};q.qja=function(){return function(a){var b=a[fk],c=-1==Iw(b,void 0)?an:ck;b=xr(b);return'<span title="'+xr(a.path)+oa+c+ua+b+ob}};q.o=function(){d_.c.o.call(this);G(this.Vf);this.Vf=null};var e_=function(a){F.call(this);this.bG=null;this.title="";this.wp=null;this.wK=[249,237,190];this.Ss=a;JOT_addListener(Kn,y(this.QP,this))};B(e_,F);w("gsites.pages.CreatePage",e_,void 0);e_.prototype.Wg=null;e_.prototype.iE=null;
e_.prototype.Ee=function(a,b){var c=P(ug),e=P(Fo),f=P("sites-create-page-change-url"),g=P("sites-create-page-select-template-menu"),h=P("sites-create-page-choose-location-header"),l=P("sites-create-page-choose-location-content"),p=new mG;p.R(c);I(p,k,y(this.iQ,this));a=new rI(a,oc,"Cancel new page");a.R(e);I(a,k,a.Jl);I(new uB(f),k,function(){JOT_postEvent(Kn)});e=fw(window.location.toString(),"pt");this.Ss||(this.Wg=new b_(g,void 0,e,y(this.$na,this)));g=new oQ(h,l);I(g,pp,y(this.Tpa,this,g,l,b));
I(P(yj),$o,y(this.iQ,this));(b=P("pageLocTopLevelPath"))&&I(b,Kf,y(cr(this.ZQ,up),this));(b=P(xl))&&I(b,Kf,y(cr(this.ZQ,"under"),this));(b=P(Aj))&&P(ug)&&(b.focus(),b=new nE(b),I(b,dj,y(function(){var a=trim(P(Aj).value),b=P("mirrorInput");if(b){var c=a||Sd;Ny(b,c);b.setAttribute("dir",kI(c))}this.bG&&window.clearTimeout(this.bG);this.bG=window.setTimeout(y(function(){a&&!zw.test(yw(a,void 0))?this.Es(a):this.$Q(!1,null)},this),500)},this)))};e_.prototype.initListeners=e_.prototype.Ee;q=e_.prototype;
q.Tpa=function(a,b,c,e){if(e.Nga&&!this.iE){var f=P("sites-create-page-sitemap"),g=P("sites-create-page-choose-location-spinner"),h=P("sites-create-page-sitemap-error");this.wp||(this.wp=fw(window.location.toString(),"source"));this.iE=new d_(f,cr(this.Zna,this),this.wp||void 0,!0,!c);Vu(this.iE,qe,function(){R(g,!1);Q(b,"border-style","solid");R(f,!0)});Vu(this.iE,Xj,function(){R(g,!1);R(h,!0)});R(b,!0)}};q.$na=function(){var a=this.Wg.xa();a&&(this.wp=a.$.defaultLocation)&&this.MY(this.wp)};
q.ZQ=function(a,b){var c=P(Bj);"under"==a&&b.target.value?(a=this.s9(b.target.value),Ny(c,a+"/"),UA(c,this.wK,1E3)):a==up&&Ny(c,"");this.Es()};q.$Q=function(a,b){var c=P(Cj),e="";b&&(b=b.target.Ba(),e=dQ(b.string,!0));e=NO(e,this.DY(),!1);P(xj).value=e;Ny(c,e||"");a&&UA(c,this.wK,1E3)};
q.createNode=function(a){if(a){a=a.target.Ba();var b=dQ(a.string,!0)}if(!b)return S("Especifica una URL de p\u00e1gina."),R(P(Qo),!1),window.setTimeout(y(function(){this.QP()},this),500),!1;a=NO(b,this.DY(),!0);if(null===a)return S("La ubicaci\u00f3n de la nueva p\u00e1gina es demasiado larga."),!1;Ny(P(ug),Gc);R(P(Qo),!0);S("Creando la p\u00e1gina...");bv(P(ug),Kf,this.iQ);a={path:a,properties:{"main/title":this.title}};webspace.features.pageDrafts&&(a.properties.isPageDraft=!0);this.Ss?(a.pagetemplate=
this.Ss,a.ispagecopy=!0):(a.pagetemplate=this.Wg.xa().getValue(),a.ispagecopy=!1);iI("CreateNode",a,y(this.bya,this))};
q.bya=function(a){a=a.target.Ba();a.error?(R(P(Qo),!1),Ny(P(ug),this.Ss?"Copiar":"Crear"),/not\ authorized/.exec(a.error)?(S("No est\u00e1s autorizado para crear p\u00e1ginas."),vH(oc,qc,"Not Authorized")):/reserved\ path/.exec(a.error)?(S("El nombre de la p\u00e1gina que has introducido est\u00e1 reservado."),vH(oc,qc,"Reserved Path")):/invalid\ path/.exec(a.error)?(S("La URL de la p\u00e1gina no es v\u00e1lida. Especifica otra."),vH(oc,qc,"Invalid URL"),this.QP()):(vH(oc,qc,"Unknown Error"),S(a.error))):
xH(oc,this.Ss?"Copy success":"Success",a.url)};q.iQ=function(){var a=P(Aj),b=P(xj);b=b.value?b.value:a.value;var c=trim(a.value);""==c?(a.focus(),S("Introduce un nombre de p\u00e1gina."),vH(oc,qc,"Missing Name")):(this.title=c,zw.test(yw(b,void 0))?this.createNode(null):webspace.TS({string:b,hasDelimiter:!0},y(this.createNode,this)))};
q.QP=function(){var a=Vy(P(Cj));a='<div id="changePageLocationDialog"><p>Algunos caracteres no se permiten en las URL, por lo que es posible que se eliminen.</p><p><strong>Direcci\u00f3n de la p\u00e1gina web:</strong></p><input jotid="pageWebAddressField" value="'+W(a)+'"/></div>';var b=fQ("Cambiar la direcci\u00f3n de la p\u00e1gina web",a,null,Sc,y(this.Jla,this)),c=b.ei.pageWebAddressField;I(c,rf,function(){var a=jr(c.value),b=dQ(a,!1,void 0,!0);a!=b&&(c.value=b)});b.C(!0);window.setTimeout(function(){b.ei.pageWebAddressField.focus()},
0);return!1};q.Jla=function(a){a=cI(a.eventSrc);if(a.pageWebAddressField&&!jr(a.pageWebAddressField.value))return S("El campo de la direcci\u00f3n web de la p\u00e1gina no puede dejarse en blanco."),a.pageWebAddressField.focus(),!1;S("Actualizando URL...");zw.test(yw(a.pageWebAddressField.value,void 0))?this.$Q(!1,null):this.Es(a.pageWebAddressField.value);ZA();return!0};q.Zna=function(a){var b=this.xa(!0).$.path;"/"==b?(P(yj).pageLoc[0].checked=!0,a.ZQ(up,null)):(a.MY(b),a.Es())};
q.MY=function(a){iI("GetTitlePath",{path:a},P("pageLocTarget")?y(this.yEa,this,a):null,function(){S("Vaya, algo ha ido mal y es culpa nuestra. Vuelve a intentarlo en un instante.")})};
q.yEa=function(a,b){b=b.target.Ba();b.error&&S(b.error);var c=xr(trim(P(Aj).value));c=""!=c?c:Sd;var e=lI(" &#187; ",webspace.page.isRtlLocale?an:ck);for(var f=0;f<b.length;f++)b[f]=lI(b[f],kI(b[f]));f=b.join(e);f+=e+'<span id="mirrorInput">'+lI(c,kI(c))+ob;c=P("pageLocTarget");c.innerHTML=f;c.style.display="";b=b[b.length-1];P(xl).value=a;Ny(P(zj),b);P(zj).setAttribute("dir",kI(b));a=this.s9(a);b=P(Bj);Ny(b,a+"/");UA(b,this.wK,1E3);a=P(yj);1<a.pageLoc.length&&(a.pageLoc[1].checked=!0);this.Es()};
q.DY=function(){var a;a:{if(a=P(yj).elements.pageLoc){if(a.type){a=nB(a);break a}for(var b=0;b<a.length;b++){var c=nB(a[b]);if(c){a=c;break a}}}a=null}return a||""};q.s9=function(a){a=a.replace(/^\//,"");return jr(a)};q.Es=function(a){var b=a;b||(b=nB(P(xj)),b=hr(b)?trim(nB(P(Aj))):b);webspace.TS({string:b,hasDelimiter:!0},y(this.$Q,this,!!a))};q.o=function(){e_.c.o.call(this);this.Wg&&G(this.Wg);this.Wg=null};var f_=function(){this.aV=!1};w("sites.pages.CreatePageTemplate",f_,void 0);f_.prototype.Wg=null;f_.prototype.Ee=function(){var a=P(vg),b=P(Fo),c=P("sites-create-page-template-select-template-menu"),e=P("sites-create-page-template-form"),f=y(this.Iea,this),g=new mG;g.R(a);I(g,k,f);a=new rI(bI(webspace.baseUri,fb));a.R(b);I(a,k,a.Jl);this.Wg=new b_(c,["startpage"]);I(e,$o,f)};f_.prototype.initListeners=f_.prototype.Ee;
f_.prototype.Iea=function(){if(!this.aV){this.aV=!0;Ny(P(vg),Gc);P(Qo).style.display=cj;S("Creando la plantilla ...");var a=this.Wg.xa().getValue(),b=trim(P(Aj).value);iI("CopyTemplate",{path:a,title:b},function(a){a=a.target.Ba();a.error?S(xc):Zx(window.location,bI(webspace.baseUri,a.path))},function(){S(xc)})}};var g_=function(){this.SN=!1};w("gsites.pages.ChangePageTemplate",g_,void 0);g_.prototype.Wg=null;g_.prototype.Ee=function(a){var b=P(Ef),c=P(Fo),e=P("sites-change-page-template-select-template-menu"),f=new mG;f.R(b);I(f,k,y(this.Exa,this));a=new rI(a);a.R(c);I(a,k,a.Jl);this.Wg=new b_(e)};g_.prototype.initListeners=g_.prototype.Ee;q=g_.prototype;
q.Exa=function(){if(!this.SN){this.NCa();var a=P("sourceWuid").value,b=this.Wg.xa().getValue();iI("ChangePageTemplate",{source:b,target:a,applyDefaultContent:P("applyDefaultContent").checked},y(this.Mna,this),function(){S(wd)})}};q.NCa=function(){this.SN=!0;P(Qo).style.display=cj;Ny(P(Ef),Gc);S("Cambiando la plantilla...")};q.zga=function(){this.SN=!1;P(Qo).style.display=Nk;Ny(P(Ef),Zb);ZA()};
q.Mna=function(a){a=a.target.Ba();a.error?(this.zga(),/not\ authorized/.exec(a.error)?S("No est\u00e1s autorizado a realizar cambios en la p\u00e1gina."):/lock\ page/.exec(a.error)?S("Error: en este momento, la p\u00e1gina que intentas modificar est\u00e1 bloqueada."):S(wd)):this.Zva(a.url)};q.Zva=function(a){Zx(window.location,a)};var h_=function(){};w("sites.pages.MatureConfirm",h_,void 0);h_.prototype.ya=null;h_.prototype.NK=function(a){var b=P("sites-mature-confirm-btn");b&&(this.ya=or(a),a=new mG,a.R(b),a.U(!0),I(a,k,y(this.Ula,this)))};h_.prototype.initControls=h_.prototype.NK;h_.prototype.Ula=function(){(new pQ).qva({MatureConfirm:yp},this.ya||void 0)};var i_=function(){};w("sites.pages.SiteDisabledAppeal",i_,void 0);i_.prototype.NK=function(){var a=P("sites-disabled-appeal-btn"),b=P("sites-disabled-appeal-form");if(a&&b){var c=new mG;c.R(a);I(c,k,y(b.submit,b));c.U(!0)}};i_.prototype.initControls=i_.prototype.NK;var k_=function(a){V.call(this);this.Vf=a;this.rh=new j_(this.Vf);this.rt=new j_(this.Vf);this.rh.SF(this.rt);this.rh.SF(this.rh);this.rt.init();this.rh.init();this.A().listen(this.rh,"drop",this.y2);this.A().listen(this.rt,"drop",this.y2);this.A().listen(this.rh,ah,this.Dta);this.A().listen(this.rh,"dragend",this.Ata);this.A().listen(this.rh,$g,this.Cta);this.A().listen(this.rh,Zg,this.Bta);this.A().listen(this.Vf,jj,this.oua)};B(k_,V);q=k_.prototype;
q.oua=function(a){var b=a.U8;a=b.Od();var c="/"===b.$.path?this.rt:this.rh;b=new l_(a,b);c.MF(b);hB(a.parentNode,"sites-tree-draggable")};q.m0=function(a,b){if(!a||!b)return!1;var c=a.getData().$;b=b.getData().$;a=(a=a.getData().getParent())&&a.$.path==b.path;return 0!=b.path.indexOf(c.path)&&!a};q.y2=function(a){this.NW(a.sh,a.Jk);this.MW(a.sh);this.m0(a.sh,a.Jk)&&this.Vf.Ssa(a.sh.getData(),a.Jk.getData())};q.Dta=function(a){this.Bga(a.sh)};q.Ata=function(a){this.MW(a.sh)};
q.Cta=function(a){this.Cga(a.sh,a.Jk)};q.Bta=function(a){this.NW(a.sh,a.Jk)};q.Bga=function(a){a&&hB(a.getData().Od(),Go)};q.MW=function(a){a&&jB(a.getData().Od(),Go)};q.Cga=function(a,b){this.m0(a,b)&&hB(b.getData().Od(),Ho)};q.NW=function(a,b){b&&jB(b.getData().Od(),Ho)};q.o=function(){G(this.rh);G(this.rt)};var j_=function(a){ON.call(this);this.aa=a};B(j_,SN);
j_.prototype.MU=function(a){var b="Mover "+fE[a.parentNode.id].$[fk];a=ty(d,null);hB(a,"sites-tree-drag-info");Ny(a,b);b=ty(d,null);hB(b,"sites-tree-drag-info-container");b.appendChild(a);return b};j_.prototype.QX=function(a,b,c){a=fy(a);a=N(a).Df();return new $x(c.clientX+a.x-5,c.clientY+a.y-5)};var l_=function(a,b){RN.call(this,a,b)};B(l_,RN);l_.prototype.hJ=function(){return this.element};var m_=function(a,b){this.L=a||N();this.h8=b};w("sites.pages.Hierarchy",m_,void 0);m_.prototype.Ee=function(a,b){this.I_(a,b);this.h8&&byId(Wn)&&(a=new LO,a.vB(this.h8),a=new MO(a,!0,webspace,void 0,function(){},void 0,!0),a.yw(function(a){var b=kI(a[fk]);return ub+webspace.baseUri+xr(a.path)+oa+b+ua+xr(a[fk])+"</a>"}),a.JD(!0),new k_(a),a.render(byId(Wn)))};m_.prototype.initListeners=m_.prototype.Ee;
m_.prototype.I_=function(a,b){var c=0<String(window.location.href).indexOf(a),e=new mG;e.tb(16,!0);e.Wc("\u00c1rbol");e.Yg(2);e.R(this.L.b("sites-admin-tree-link"));e.U(!0);e.b().setAttribute(bf,"tree view");var f=new mG;f.tb(16,!0);f.Wc("Lista");f.Yg(1);f.R(this.L.b("sites-admin-list-link"));f.U(!0);f.b().setAttribute(bf,"list view");c?e.setState(16,!0):f.setState(16,!0);I(f,k,cr(this.a9,f,e,b));I(e,k,cr(this.a9,e,f,a))};m_.prototype.initButtons=m_.prototype.I_;
m_.prototype.a9=function(a,b,c){a.getState()&16?(b.setState(16,!1),Zx(window.location,c)):a.setState(16,!0)};w("JOT_INITJS_siteMapHierarchy",function(a){if(a&&byId(Wn)){var b=new LO;b.vB(a);a=new MO(b,!0,webspace,void 0,function(){});a.yw(function(a){var b=kI(a[fk]);return ub+webspace.baseUri+xr(a.path)+oa+b+ua+xr(a[fk])+"</a>"});a.JD(!0);a.render(byId(Wn));JOT_addListener("collapseSiteMapTree",y(a.Ls,a))}},void 0);var n_=function(a,b,c,e){this.Lka=b;c&&(b=/promo=([^&]+)/.exec(window.location.search))&&(a=b[1]);this.CEa=e;this.ja=ty(Uc,{id:"new-sites-promo",style:"display:none;position:fixed;width:1px;height:1px;top:0;left:0",src:a});document.body.appendChild(this.ja);this.Zta=I(window,pk,y(this.onMessage,this));this.mf=M(this.eFa,1E4,this)};w("gsites.pages.NewSitesPromo",n_,void 0);
n_.prototype.onMessage=function(a){a=a.bd;if(a.data.type&&"sites-onboarding"==a.data.type){var b=a.data.subtype;b==In?(Yv(this.mf),this.mf=null,this.ja.style.display="",this.ja.style.width=kb,this.ja.style.height=kb,this.ja.style.zIndex=100):"noshow"==b?this.it(!0):b==Ng?this.it(!0):"get-started"==b?this.Mka():this.it(!1)}console.info("Received message",a)};n_.prototype.eFa=function(){this.it(!1)};
n_.prototype.it=function(a){this.mf&&(Yv(this.mf),this.mf=null);a&&this.CEa&&iI(vd,{warmWelcomeVersion:1});cv(this.Zta);R(this.ja,!1);M(function(){Ey(this.ja)},1E3,this)};n_.prototype.Mka=function(){this.it(!0);window.open(this.Lka)};w("goog.events.listen",I,void 0);iw.prototype.getResponseJson=iw.prototype.Ba;iw.prototype.getResponseText=iw.prototype.ae;CC.prototype.setVisible=CC.prototype.C;CC.prototype.getElement=CC.prototype.b;CC.prototype.dispose=CC.prototype.dispose;F.prototype.getDisposed=F.prototype.gJ;nJ.prototype.setVisible=nJ.prototype.C;
w("gsites.date.TimeZone.getFingerprint",function(a){var b=[],c="u";Jt?c="w":It?c="m":Kt&&(c="l");b.push(c);for(c=0;c<a.length;++c)b.push((new Date(a[c])).getTimezoneOffset()|0);a=b.length;if(2>a)b="";else{c=[b[0]];for(var e=b[1],f=e,g=1,h=2;h<a;)f=b[h++],f!==e?(c.push("g"+fB(e)+"r"+fB(g)),e=f,g=1):g++;c.push("g"+fB(f)+"r"+fB(g));b=c.join("")}return b},void 0);w("gsites.Xhr.send",aB,void 0);eE.prototype.getClientData=eE.prototype.$d;eE.prototype.getLabelElement=eE.prototype.gu;
w("goog.ui.tree.TreeControl",iE,void 0);iE.prototype.getSelectedItem=iE.prototype.xa;w("goog.dom.$",P,void 0);w("goog.dom.getDomHelper",N,void 0);w("goog.string.trim",jr,void 0);w("_IFPC",_IFPC,void 0);w("_IFPC.registerService",_IFPC.Hi,void 0);w("_IFPC.unregisterService",_IFPC.KE,void 0);w("_IFPC.handleRequest",_IFPC.rA,void 0);w("JOT_INITJS_services_unsubscribeNotification",function(){gQ("xtok_input");I(byId("goog-ws-unsub-form"),$o,function(){byId("goog-ws-unsub-button").disabled=!0})},void 0); })()
