Services Avantages et Récompenses

Les Services Avantages et Récompenses de Sodexo donnent accès à une large gamme de prestations qui contribuent à améliorer la Qualité de Vie de leurs bénéficiaires : salariés, administrés, étudiants... Ainsi, les Pass Cadeaux récompensent la performance tout en offrant une grande liberté de choix ; les Pass Repas favorisent une alimentation variée et de qualité ; la variété des autres Pass rend accessible au plus grand nombre des activités éducatives, sportives ou culturelles, ...

Parce qu’ils améliorent le quotidien, favorisent l’équilibre vie professionnelle-vie privée et valorisent les efforts, les Services Avantages et Récompenses ont un effet positif sur la motivation des salariés. En cela, ils participent à la performance des entreprises et des organisations.

Notre large offre d’Avantages pour les salariés, de Programmes d’Incentive et de dispositifs d’Aides publiques répond aux enjeux des entreprises, des collectivités et des gouvernements :
Recruter et fidéliser les talents, mobiliser des équipes autour d’objectifs, garantir et valoriser l'affectation des aides publiques.

Meal Pass at restaurant

Notre expertise

Nous concevons, pilotons et mettons en œuvre les Services Avantages & Récompenses les mieux adaptés aux besoins spécifiques de chacun de nos clients qui s’adressent à plus de 30,2 millions de bénéficiaires dans 34 pays.

  • Nous concevons des solutions flexibles et durables qui répondent à leurs enjeux stratégiques tout en tirant le meilleur parti des cadres socio-économiques et fiscaux.

  • Nous pilotons de A à Z les programmes de motivation, par exemple, avec la mise en place de plateformes en ligne  permettant aux salariés de choisir eux-mêmes la nature de leurs avantages.

  • Nous mettons en œuvre une large gamme de solutions Pass – cadeaux, restaurants, vacances, culture, bien-être… – et donnons accès à plus d’un million de commerçants et de prestataires de services soigneusement qualifiés dans le monde. 

Grâce à nos expertises dans les Services sur site et Services aux particuliers et à domicile, nous sommes en mesure de proposer une démarche globale d’amélioration de la Qualité de Vie à nos clients. 

var g_ischrome=!1,g_isfirefox=!1,g_issafari=!1,g_isopera=!1,g_isfennec=!1,g_ismaxthon=!1,g_isios=!1,g_isie=!0,do_experimental_popupfill=!0,LPMAGIC="__lpform_",LPMAGICIFRAME="lpformframe",verbose=!1,g_isie=!0,g_fillaid=null,g_port=!1,g_docnum=0,g_isloggedin=!1,lploggedin=!1,g_weasel_id=null,g_weaseled=!1;function sendBG(a){console_log("IE skipped sendBG : "+a.cmd)} function lpgs(a,b){var c="undefined"==typeof b||null==b?"":b;if("undefined"!=typeof lpgscache[c+a])return lpgscache[c+a];if("undefined"!=typeof LP_translations){if("undefined"!=typeof b&&b&&"undefined"!=typeof LP_translations[b]&&"undefined"!=typeof LP_translations[b][a])return LP_translations[b][a];if("undefined"!=typeof LP_translations["en-US"]&&"undefined"!=typeof LP_translations["en-US"][a])return LP_translations["en-US"][a]}return"undefined"!=typeof lpgscache["en-US"+a]?lpgscache["en-US"+a]: a}function ie_recheck_page(a,b){setupIcons(a,b)}function init_LPfn(){if("undefined"==typeof LPfn||null==LPfn)LPfn=new LPpkg;return"undefined"==typeof LPfn||null==LPfn?!1:!0}function remove_LPfn(){("undefined"==typeof LPfn||null==LPfn)&&delete LPfn;return!0} function LPpkg(){this.getDocumentMode=function(a){a||(a=document);return"undefined"!=typeof a.documentMode&&null!=a.documentMode?a.documentMode:"undefined"!=typeof a.compatMode&&null!=a.compatMode?"CSS1Compat"==a.compatMode?7:5:5};var a={};this.ie_setpopupfillhint=function(b){null!=b&&(null===a&&(a={}),a[b.formid]=b.rowtype)};this.ie_getpopupfillhint=function(b){return null==b||null==a?null:a[b]};this.ie_reset_popupfillhint=function(){a={}};this.ie_setup_event_handlers=function(a){if(a){var b,c;for(b= 0;b<a.forms.length;b++)c=a.forms[b],"undefined"==typeof c.lpsubmitorig&&(c.setAttribute("lpsubmitorig","true"),LP_addEventHandler(c,"keyup",function(b){var c=LP_getEventTarget(b);handle_form_text_change(a,c,c?c.form:null,b)}))}};this.ie_get_parent_input=function(){return g_popupfill_parent?g_popupfill_parent:null};var b="0";this.ie_set_kbdnav=function(a){b=!a||"0"===a?"0":"1"};this.ie_get_kbdnav=function(){return b};var c={};this.ie_set_lpifmsg=function(a,b,f,g,h){try{var j=LP_pickFormName(a,b.form), l=LPfn.ie_getpopupfillhint(j);null==l&&(l="sites");var p=LPfn.ie_get_kbdnav(),n=b.value,m={rowtype:l,offergenerate:f?"1":"0",formid:j,fieldid:LP_pickFieldName(a,b),fieldtype:b.type,opentosave:g,start_type:h,kbdnav:p,inputstr:n};c="undefined"!=typeof LPJSON?LPJSON.stringify(m):{}}catch(s){verbose_log("error in ie_set_lpifmsg: "+s.message),c={}}};this.ie_get_lpifmsg=function(){return c}} function ie_weasel_wrapper(a){"undefined"!=typeof g_weaseled&&"undefined"!=typeof a&&(!1==g_weaseled&&weasel(a),g_weaseled=!0)}function ie_g_icon_number_wrapper(a,b){"undefined"!=typeof g_icon_numbers&&("undefined"!=typeof b&&"undefined"!=typeof a)&&(g_icon_numbers[a]=b)}function ie_get_parent_input(){return g_popupfill_parent?g_popupfill_parent:null}function ie_get_lpifmsg(){if("undefined"!=typeof init_LPfn&&init_LPfn())return LPfn.ie_get_lpifmsg()}var do_bgiconinput=!0; function popupfill_create_iframe(a,b,c,d,e,f,g){if(do_experimental_popupfill){b=parseInt(b)+"px";c=parseInt(c)+"px";var h=a.body;a=a.createElement("iframe");a.id=LPMAGICIFRAME+d;a.name=LPMAGICIFRAME+d;a.src=g_isie?"https://0.lastpass.com/#framesrc=LPMAGIC":urlprefix+"popupfilltab.html";0>parseInt(b)&&(b="0px");0>parseInt(c)&&(c="0px");dotrans?(g_frame_css_str="display:block; position:absolute !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:none !important;", "undefined"!=typeof g_isie&&g_isie&&(g_frame_css_str+="background-color:transparent !important;background-image:none !important;")):g_frame_css_str="display:block; position:absolute !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:solid !important; border-color: #4c4c4c !important; border-width:1px !important; border-radius: 4px 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; box-shadow: 1px rgba(200, 200, 200, 0.5); -webkit-box-shadow: 1px 1px rgba(200, 200, 200, 0.5); -moz-box-shadow: 1px 1px rgba(200, 200, 200, 0.5);"; a.style.cssText=g_frame_css_str;h.appendChild(a);a.width=parseInt(f)+"px";a.height="26px";"undefined"!=typeof e&&0<e&&(a.height=24*e+23+"px");a.height=0<parseInt(g)?parseInt(g)+"px":parseInt(a.height)+"px";d=parseInt(a.width)+"px";e=parseInt(a.height)+"px";a.style.cssText=g_frame_css_str+("width: "+d+" !important; height: "+e+" !important; top:"+c+" !important; left:"+b+" !important; ")}} function weasel(a){g_ctr_weasel++;if(do_experimental_popupfill){if("undefined"==typeof a||!1==a||!0==a||5>a)a=200;g_weaseled=!0;popupfill_resize();g_weasel_id=setTimeout(function(){weasel(a)},a)}}function end_weasel(){do_experimental_popupfill&&null!=g_weasel_id&&(clearTimeout(g_weasel_id),g_weasel_id=null,verbose_log("clearTimeout weasel"),g_weaseled=!1)} function handle_form_text_change(a,b,c,d){if(do_experimental_popupfill&&(a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document),a&&!(null==c||null==b||null==d||null==d.keyCode)&&"lpwebsiteeventform"!=c.name&&"lpmanualform"!=c.name&&popupfill_shoulddofield(a,b,SHOULD_DO_ALWAYS))){d=b.value;var e=LP_pickFieldName(a,b);if(g_clickable_input_on_password){var f=g_popup_active_username,g=g_popup_active_password;null==f&&(f="undefined"==typeof b.form||null==b.form?doc_get_orphan_username(a):form_get_username(a, b.form));null==g&&(g="undefined"==typeof b.form||null==b.form?doc_get_orphan_password(a):form_get_password(a,b.form));var h=checkDocumentForLoginOrphans(a),h=chk_form_has_password(a,c)||h,j=chk_form_is_nonlogin_form(a,c),l=chk_form_ask_generate(a,c);if(f&&g&&(h||l)&&!j){if(b!=f){b==g?(g_isie||(d=f.value,sendBG({cmd:"popupfillinputsave",inputstr:d,inputid:e,inputtype:"password"})),verbose_log("KEYPASS4 username="+d)):(g_isie||sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:e}),verbose_log('KEYPASS5 username=""')); return}}else{g_isie||(sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:e}),verbose_log('KEYPASS6 formfill? username=""'));return}}if(null==d||0==d.length)g_isie||sendBG({cmd:"popupfillinputsave",inputstr:"",inputid:e}),verbose_log("KEYPASS7 empty username");else{var f=0,p;for(p in g_autofillsites)f++;if(!(0>=f)||g_change_icon_on_input){p=0;var f=null,n;for(n in g_autofillsites)0==g_autofillsites[n].useusername.indexOf(d)&&(p++,f=g_autofillsites[n]);if(1==p)do_autofill_if_matched?g_isie||sendBG({cmd:"autofillaid", aid:f.aid}):(g_isie||sendBG({cmd:"popupfillinputsave",inputstr:d,inputid:e,inputtype:b.type,issaveall:issaveall(c)}),verbose_log("KEYPASS8 match>0 username="+d));else if(g_isie||sendBG({cmd:"popupfillinputsave",inputstr:d,inputid:e,inputtype:b.type,issaveall:issaveall(c)}),verbose_log("KEYPASS9 match>1 username="+d),chk_form_has_password(a,c),g_change_icon_on_input&&(b=c.elements,"undefined"!=typeof Math&&(c=Math.floor(1E4*Math.random()),null!=b)))for(n=0;n<b.length&&!(d=b[n],checkIsDisplayed(a,d, 0,null,c)&&isInputFieldPassword(a,d)&&null!=d.value&&0<d.value.length);n++);}}}}function issaveall(a){a=a.elements;for(var b=0,c=0,d=0,e=0;e<a.length;e++){var f=a[e].type;"password"==f?c++:"text"==f||"tel"==f||"email"==f?b++:"textarea"==f&&d++}return 1==b&&1==c&&0==d?!1:!0} function relocate_popupfill_iframes(a,b){if(do_experimental_popupfill){if(!a)return null;var c,d=null,e=a.getElementsByTagName("iframe");for(c=0;c<e.length;c++){var f=e[c],d=null;if("undefined"!=typeof f.id&&null!=f.id){var g=LPMAGICIFRAME;if(0==f.id.indexOf(g)){var g=f.id.substr(g.length),g=LP_getElementByIdOrName(a,g),h=!b;if(null!=g&&lpIsVisible(g,h)){if(h=calculate_iframe_pos(a,g,0<g_minwidth_override?g_minwidth_override:0),null!=h){var g=h.posx,j=h.posy,h=parseInt(g)+"px",l=parseInt(j)+"px", p=0;if(0<parseInt(g_minwidth_override)){var p=Math.max(parseInt(g_popupfill_iframe_width_save),parseInt(g_minwidth_override))+"px",n=LP_getWindowWidth(window);if(!n)continue;parseInt(p)+parseInt(h)>n&&(h=n-parseInt(p)-20+"px")}else 0<parseInt(g_popupfill_iframe_width_save)?p=parseInt(g_popupfill_iframe_width_save)+"px":(null==d&&(d="undefined"!=typeof window.getComputedStyle?window.getComputedStyle(f):f.currentStyle),p=d.width);0>parseInt(h)&&(h="0px");n=0;0<parseInt(g_minheight_override)?n=Math.max(parseInt(g_popupfill_iframe_height_save), parseInt(g_minheight_override))+"px":""!=g_popupfill_iframe_height_save&&0<parseInt(g_popupfill_iframe_height_save)?n=parseInt(g_popupfill_iframe_height_save)+"px":(null==d&&(d="undefined"!=typeof window.getComputedStyle?window.getComputedStyle(f):f.currentStyle),n=d.height);if(g_iframe_scroll_hack&&!g_frame_scrollable_set){var d=parseInt(n),m=parseInt(p),s;s="undefined"!=typeof window.getComputedStyle?window.getComputedStyle(a.body):"undefined"!=typeof a.documentElement?a.documentElement.currentStyle: a.body.currentStyle;parseInt(s.height);parseInt(s.width);s=window.innerHeight;var r=window.innerWidth;if(null!=d&&0<d&&null!=s&&0<s||null!=m&&0<m&&null!=r&&0<r)if(parseInt(j)+d>s||parseInt(g)+m>r){g=!1;try{window.self!=window.top&&(g=!0)}catch(k){g=!0}g&&(g_isie||(verbose_log("ensuring this frame/iframe has scrolling enabled"),sendBG({cmd:"iframescrollenable",href:a.location.href})),g_frame_scrollable_set=!0)}}if("NaNpx"==l||""===l||"NaNpx"==h||""===h||"Nanpx"==p||""===p||"Nanpx"==n||""===n)verbose_log("invalid iframe pos"), closepopupfills(a);f.style.cssText=g_frame_css_str+("width: "+p+" !important; height: "+n+" !important; top:"+l+" !important; left:"+h+" !important; position: absolute;")}}else closepopupfills(a)}}}}} function relocate_popupfill_clickables(a){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return null;var b=LP_get_icon_divs(a);if(isEmptyObject(b))return null;try{var c,d=0;for(c in b)if(b.hasOwnProperty(c)){var e=b[c].substr(LPMAGIC.length);if(null!=e&&0<e.length){var f=e,g=LP_getElementByIdOrName(a,f);if(null==g&&!g_double_password_hack&&!g_double_secret_password_hack)LP_delete_floating_icon(a,b[c])&&(verbose_log("relocate: deleting orphaned icon container for "+e),d++),g_do_icon_number_hint&& LP_delete_floating_icon_hint(a,b[c])&&(verbose_log("relocate: deleting orphaned icon number for "+e),d++),delete b[c];else if(g_do_icon_number_hint){if(null!=a.getElementById(b[c])){var h="",j=getIconState(a,f);j&&(h=j.fillhint);null!=h&&("sites"!=h&&"formfills"!=h)&&(h=null);f={};f.sites=0<g_icon_number_overrides.sites?g_icon_number_overrides.sites:g_icon_numbers.sites;f.formfills=0<g_icon_number_overrides.formfills?g_icon_number_overrides.formfills:g_icon_numbers.formfills;move_floating_icon(a, g,h,f)}}else move_floating_icon(a,g)}}0<d&&setTimeout(function(){checkShouldRecheck()},500)}catch(l){verbose_log("relocate_popupfill_clickables caught error:"+l.message)}}var POPUP_FIELD_OFFSET=-4; function calculate_iframe_pos(a,b,c){if(!do_experimental_popupfill||!a||null==b)return null;var d=b.style.left,e=b.style.top;if(g_double_password_hack||g_double_secret_password_hack||0>parseInt(d)||0>parseInt(e)){var f=a.getElementById(LPMAGICIFRAME+LP_pickFieldName(a,b));if(null!=f)return c=LP_getAbsolutePos(a,f),e=parseInt(c.top)+"px",d=parseInt(c.left)+"px",{posx:d,posy:e}}LP_pickFieldName(a,b);if(null!=b){f=LP_getAbsolutePos(a,b);null!=f&&(d=parseInt(f.left)+POPUP_FIELD_OFFSET+"px",e=parseInt(f.top)+ parseInt(f.height)+"px",g_do_icon_number_hint&&(e=parseInt(f.top)+parseInt(f.height)+4+"px"));if(null==c||0==c||""==c)f=LP_getElementByIdOrName(a,LPMAGICIFRAME+LP_pickFieldName(a,b)),c=null!=f?LP_getAbsolutePos(a,f)?LP_getAbsolutePos(a,f).width:0:0;a=LP_getWindowWidth(window);if(!a)return{posx:0,posy:0};parseInt(c)+parseInt(d)>a&&(d=a-parseInt(c)-20+"px")}if(""==d||"auto"==d||""==e||"auto"==e)return null;c=parseInt(d);e=parseInt(e);return"NaN"==c||"NaN"==e?null:{posx:c+"px",posy:e+"px"}} function verbose_log(a){verbose&&console_log(a)}function is_watermark(){return!1}function checkAskGenerate(){}function sendKey(a,b){try{return keyName="DOM_VK_"+a.toUpperCase(),send_simulated_key(b,0,KeyEvent[keyName],!1)}catch(c){lpdbg("error",c)}return null} function send_simulated_key(a,b,c,d){if(void 0===a||void 0===a.ownerDocument)return lpdbg("error","No key target!"),!1;b=a.ownerDocument.createEvent("KeyboardEvent");b.initKeyboardEvent("keydown",!0,!0,document.defaultView,!1,!1,d,!1,c,c);var e=a.dispatchEvent(b);b=a.ownerDocument.createEvent("KeyboardEvent");b.initKeyboardEvent("keyup",!0,!0,null,!1,!1,d,!1,c,c);a.dispatchEvent(b);return e} if("undefined"==typeof KeyEvent)var KeyEvent={DOM_VK_CANCEL:3,DOM_VK_HELP:6,DOM_VK_BACK_SPACE:8,DOM_VK_TAB:9,DOM_VK_CLEAR:12,DOM_VK_RETURN:13,DOM_VK_ENTER:14,DOM_VK_SHIFT:16,DOM_VK_CONTROL:17,DOM_VK_ALT:18,DOM_VK_PAUSE:19,DOM_VK_CAPS_LOCK:20,DOM_VK_ESCAPE:27,DOM_VK_SPACE:32,DOM_VK_PAGE_UP:33,DOM_VK_PAGE_DOWN:34,DOM_VK_END:35,DOM_VK_HOME:36,DOM_VK_LEFT:37,DOM_VK_UP:38,DOM_VK_RIGHT:39,DOM_VK_DOWN:40,DOM_VK_PRINTSCREEN:44,DOM_VK_INSERT:45,DOM_VK_DELETE:46,DOM_VK_0:48,DOM_VK_1:49,DOM_VK_2:50,DOM_VK_3:51, DOM_VK_4:52,DOM_VK_5:53,DOM_VK_6:54,DOM_VK_7:55,DOM_VK_8:56,DOM_VK_9:57,DOM_VK_SEMICOLON:59,DOM_VK_EQUALS:61,DOM_VK_A:65,DOM_VK_B:66,DOM_VK_C:67,DOM_VK_D:68,DOM_VK_E:69,DOM_VK_F:70,DOM_VK_G:71,DOM_VK_H:72,DOM_VK_I:73,DOM_VK_J:74,DOM_VK_K:75,DOM_VK_L:76,DOM_VK_M:77,DOM_VK_N:78,DOM_VK_O:79,DOM_VK_P:80,DOM_VK_Q:81,DOM_VK_R:82,DOM_VK_S:83,DOM_VK_T:84,DOM_VK_U:85,DOM_VK_V:86,DOM_VK_W:87,DOM_VK_X:88,DOM_VK_Y:89,DOM_VK_Z:90,DOM_VK_WIN:91,DOM_VK_CONTEXT_MENU:93,DOM_VK_NUMPAD0:96,DOM_VK_NUMPAD1:97,DOM_VK_NUMPAD2:98, DOM_VK_NUMPAD3:99,DOM_VK_NUMPAD4:100,DOM_VK_NUMPAD5:101,DOM_VK_NUMPAD6:102,DOM_VK_NUMPAD7:103,DOM_VK_NUMPAD8:104,DOM_VK_NUMPAD9:105,DOM_VK_MULTIPLY:106,DOM_VK_ADD:107,DOM_VK_SEPARATOR:108,DOM_VK_SUBTRACT:109,DOM_VK_DECIMAL:110,DOM_VK_DIVIDE:111,DOM_VK_F1:112,DOM_VK_F2:113,DOM_VK_F3:114,DOM_VK_F4:115,DOM_VK_F5:116,DOM_VK_F6:117,DOM_VK_F7:118,DOM_VK_F8:119,DOM_VK_F9:120,DOM_VK_F10:121,DOM_VK_F11:122,DOM_VK_F12:123,DOM_VK_F13:124,DOM_VK_F14:125,DOM_VK_F15:126,DOM_VK_F16:127,DOM_VK_F17:128,DOM_VK_F18:129, DOM_VK_F19:130,DOM_VK_F20:131,DOM_VK_F21:132,DOM_VK_F22:133,DOM_VK_F23:134,DOM_VK_F24:135,DOM_VK_NUM_LOCK:144,DOM_VK_SCROLL_LOCK:145,DOM_VK_COMMA:188,DOM_VK_PERIOD:190,DOM_VK_SLASH:191,DOM_VK_BACK_QUOTE:192,DOM_VK_OPEN_BRACKET:219,DOM_VK_BACK_SLASH:220,DOM_VK_CLOSE_BRACKET:221,DOM_VK_QUOTE:222,DOM_VK_META:224}; function checkShouldRecheck(){if(do_experimental_popupfill&&(verbose_log("entered checkShouldRecheck()"),0<=g_input_cnt)){var a=countInputs(document);g_input_cnt!=a&&(formcachereset(document),g_isie?(setTimeout(function(){ie_recheck_page(document,g_is_specialsite)},200),setTimeout(function(){ie_recheck_page(document,g_is_specialsite)},1E3)):setTimeout(function(){sendBG({cmd:"recheckpage"})},200),g_input_cnt=a)}}function is_watermark_password(){return!1} function LP_addEventHandler(a,b,c){try{return null==a||null==b||null==c||0>=b.length?null:"undefined"!=typeof a.addEventListener?a.addEventListener(b,c,!1):"undefined"!=typeof a.attachEvent?a.attachEvent("on"+b,c):null}catch(d){return verbose_log("LP_addEventHandler failed, "+d.message),null}} function LP_stopEventPropagation(a){try{"undefined"!=typeof a.preventDefault?a.preventDefault():typeof window.event&&(window.event.returnValue=!1),"undefined"!=typeof a.stopPropagation?a.stopPropagation():typeof window.event&&(window.event.cancelBubble=!0)}catch(b){verbose_log("LP_stopEventPropagation failed, "+b.message)}} function LP_getEventTarget(a){a=a?a:window.event;if((a="undefined"!=typeof a.target?a.target:a.srcElement)&&"undefined"!=typeof a.nodeType&&3==a.nodeType)a=a.parentNode;return a} var g_content_check=!1,g_input_click_intercept=!0,LP_GETNAME_FAVOR_ID_OVER_NAME=!0,LP_GETNAME_FAVOR_NAME_OVER_ID=!1,g_popupfill_rows=0,g_popupfill_rows_FF=0,g_weasel_id=null,g_weaseled=!1,g_autofillsites={},g_popupfill_widest=260,g_popupfill_max=1,g_popupfill_ctr=0,g_popupfill_parent=null,g_popupfill_parent_last=null,g_isadmin=!1,CLICKABLE_ICON_ZINDEX=2147483648,popup_show_sitename_suffix=!0,popup_show_menu_expand_visual_cue=!0,g_last_field_focused=null,g_minwidth_override=0,g_minheight_override= 0,g_popupfill_iframe_width_save=0,g_popupfill_iframe_height_save=0,g_hide_navbar=!0,LPICON_HEIGHT=16,LPICON_WIDTH=16,g_double_password_hack=!1,g_double_secret_password_hack=!1,g_popup_divs={},g_input_cnt=-1,g_keyboardNav=!1,g_more_close_on_cancel=!1,g_more_enable_return=!0,create_onerow_iframe=!0,do_autofill_if_matched=!1,do_popup_actions=!0,popup_actions_cfg={sites:{str:"Sites",id:"popupaction_sites"},generate:{str:"Generate",id:"popupaction_generate"},savesite:{str:"Save Site",id:"popupaction_savesite"}, formfill:{str:"Form Fill Profile",id:"popupaction_formfillprofile"},never:{str:"Disable...",id:"popupaction_never"}},popup_actions_imgs={},g_frame_css_str="",g_ctr_getAbsPos=0,g_ctr_weasel=0,g_ctr_getzindex=0,g_ctr_getWW=0,g_ctr_nosetheight_A=0,g_ctr_setheight_A=0,g_ctr_setwidth_B=0,g_ctr_nosetwidth_B=0,g_ctr_setheight_C=0,g_ctr_nosetheight_C=0,g_ctr_setwidth_D=0,g_ctr_nosetwidth_D=0,g_ctr_settop_E=0,g_ctr_nosettop_E=0,g_ctr_settop_F=0,g_ctr_nosettop_F=0,g_ctr_setleft_G=0,g_ctr_nosetleft_G=0,g_ctr_recheck= 0,g_ctr_setposition_H=0,g_ctr_nosetposition_H=0,g_ctr_setzindex_J=0,g_ctr_nosetzindex_J=0,g_ctr_numspan_setzindex_K=0,g_ctr_numspan_nosetzindex_K=0,g_ctr_numspan_setzindex_L=0,g_ctr_numspan_nosetzindex_L=0,g_ctr_LP_measureText=0,g_ctr_LP_measureText_cachehits=0,g_ctr_LP_measureText_cachemisses=0,g_ctr_formcache_hits=0,g_ctr_formcache_misses=0,g_ctr_form_get_username_M=0,g_ctr_form_get_password_N=0,g_ctr_orphan_get_username_P=0,g_ctr_orphan_get_password_Q=0,g_ctr_looksLikeUsername_R=0,g_ctr_mutation_observer= 0,g_ctr_mutation_attribute_chg_S=0,g_ctr_mutation_attribute_chg_force_T=0,g_is_specialsite=null,g_nevers={},g_last_recheck=null,FORCE_OFFER_GENERATE=!0,NO_FORCE_GENERATE=!1,FORCE_SHOW_NOHITS=!0,NO_FORCE_NOHITS=!1,FORCE_SHOW_NOHITS_NOLOGIN=2,g_icon_shading=!1,g_do_icon_number_hint=!0,g_icon_hover=!0,g_icon_parent_hover=!0,g_icon_number_overrides={sites:-1,formfills:-1},g_icon_numbers={sites:0,formfills:0},g_visual_cue_on_hover=!0,g_show_icon_only_on_focus=!1,g_show_save_success_msg=!0,g_save_suggest_msg= !1,g_creditcard_profile_annotate=!0,g_show_icon_number_for_formfills=!1,g_save_suggest_msg_seen=!1,g_change_icon_on_input=!0,g_savesitesuperbox=!0,g_dologin_clickable=!0,g_use_grey_icons=!0,FADE_MAXSTATES=100,g_aspx_hack=!0,g_found_aspx=!1,g_clickable_input=!0,g_clickable_input_on_password=!0,g_popup_active_username=null,g_popup_active_password=null,g_extended_kbd_nav=!1,g_iframe_scroll_hack=!0,g_frame_scrollable_set=!1,g_defensive=!0,dotrans=!0,g_pw_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABMUlEQVQ4T32SgVHDMAxF6QZ0AswELRuECcoGhAloJwAmACZomAA6QbMBZYKaDRih/+UkTvHF1d0/x/L317eU2cX5WNrxoUabTRwk5Z6EtjjrtH8RcsyXAlx6FS6FneCVcbIS/oSNgNgQUQDSt/Bj1UvbnHNxIdy4eBTolYQEsOkXKIQzBL0I3NvoIGlzFN6Ftbl71gqRaAT2xJvwKFwL2R1A2Jsql6hEL7JdSlp5Oy7uhE/nukCrxDYIUI1JxGAC5L3Yg7670sGQNGJNwMXpQR+byIjoAx3mCViN8aVNFpjUXGDUozG6srvgPJkYlwnc3Qv+nJEAhNZIfDcCzfoVeA4FcPZhvEFx6ld2IZpaxn9lP6gJUAnbV+aA6uzp0yhqApBoUmdrM+Hm7BMiP2mTawInofVEEf5J2pUAAAAASUVORK5CYII=", pw_svg="";("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?pw_svg=getchromeurl("images/svg/generate16x16.svg"):"undefined"!=typeof g_isie&&g_isie&&(pw_svg=g_pw_ico); var g_ff_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAvElEQVQ4T2NkoBAwIukXALL9gViBgJkPgPIbgfgDSB2yAQVAfj+RDioEqpuAbkADUKAeiB0JGLIfKN8IxCD1KC6AGYDsqgtANf+B2BDJUBCfaAM2QDUGkGMAcpjA/Qx1EVEugHkJZDlcA7EGgKJSHi0wHwL5D4g1wAGoEISRwQEgB4SJCkSQZns0Aw6SYgDICyCMDEDOJ8oL6E5HMwfsDayxQHFSBmUmUIJBdzq6C0DeWAATRE626AqJ4gMAKh82EQu8MAEAAAAASUVORK5CYII=",ff_svg=""; ("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?ff_svg=getchromeurl("images/svg/formfill16x16.svg"):"undefined"!=typeof g_isie&&g_isie&&(ff_svg=g_ff_ico); var g_sites_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhsdjWkOXwAAAKJJREFUOMtjYBi2QIGBgcEBiW8AxUSBAgYGhvcMDAz3kcQuMDAw/GdgYGhAV8yCwxABKE6A8vWh9ANiXXEAauN9KP4PFcMAjGj+loeyH6J5gQHqmgdI8hiuaYDaRAyGhwUTpdGF7gUFJPZ8NLWGSAH8gFCAwgIRpvA/AwPDfmJdFYDk1wQohvEL0BVjCwMDpJBeAMUPGRgYPlKSlB2Qwme4AQBDOy61dYCtFwAAAABJRU5ErkJggg==",sites_svg=""; ("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?sites_svg=getchromeurl("images/svg/sites16x16.svg"):"undefined"!=typeof g_isie&&g_isie&&(sites_svg=g_sites_ico); var g_close_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAl0lEQVQ4T7VTgQ2AIAyTC/RD9QO9QLxAP1A/1A9sDZgFo0CQJctcWOs6hioSTRl8hVjDGUNsR9EG3y1Bh2QKQYqaHt+zJdBIhkiCEfU6G8HB9kRX/BtllqLLzw6uQ3hjAKvJpUyvhBYgAmkkWpwZ5SVIlsBF4RA5BxojhygXzSvBkfxI/yVIXmVq41XFPCZe8f2YfHpfz0+q7C4R/Q4GAgAAAABJRU5ErkJggg==",close_svg=""; ("undefined"==typeof g_isie||!g_isie)&&"function"==typeof getchromeurl?close_svg=getchromeurl("images/svg/close16x16.svg"):"undefined"!=typeof g_isie&&g_isie&&(close_svg=g_close_ico); function getnumbericon(a,b,c){var d=0;if((a=getIconState(b.ownerDocument,LP_pickFieldName(a,b)))&&!("undefined"==typeof a.fillhintnumber||"sites"!=a.fillhint))d=a.fillhintnumber,isNaN(parseFloat(d))||!isFinite(d)?d=0:10<=d&&(d=9);a=[g_sites_light_ico,"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiEFu6xIcAAAAXhJREFUOMvNk8FLVFEUxn/ffRdmIAla1CbBFDGCpoiQWYlBLty7UHAvEq2HYLhveDMws2/TIly6E9SdIEj+AVYgRaTgXhe2C968x2nhTOjow8pNZ/ede/ide893Lvx3UavVhkMIk30dQqiGECpF9e68CCG8LpfL3yStAAIk6Z2kT3Ect68C+AGdSroFVEII82aWSXoGYGYHVwE0qOM43pU0BXw3s1zSI2AnSZKXhYB6vT7inLvd7XZ/eu8fOOe2JEW9zjkwZ2bHkoayLDtpt9ufLzzBe/8GWC6VSpc7nIE2pLPLeu/fA0uDQ3T/6pp6039uZnfN7Ieke1EUrQOu3/VawPloNBrbwIyZ7TvnLvg/+mKOJ3xk88NR4R4sADM92fp9MDRMdXaRxenHVMbuFy8SMAFkZval2Wyu9ZN3Hk4zWx0nAtKsWwxotVrNNE2f5nn+CrB+/nRvlSR5y2EK0TWbSKfT+fo3Lribfr4bA/yfl56y2kkuZX8BjXVyqMs8oFcAAAAASUVORK5C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Of0nKfIHMRCCBF+ehq6rhH4PoHyzTsT9lgsYELcCQAAAABJRU5ErkJggg==", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDigXmdeCcQAAAXtJREFUOMvNk88rRFEUxz8MIzKaoWYWFBZiwYwob6GYJZlizcZKWOBPuCvLKQuNhYmVzSwkio2SlaaEjZQyz48sRFPjGb3HdG3u6M3Mm5qycep0zzm3e873e8658B+lAwjb/H6lFckKkAZSttglIAHh9KDGIeZVOqv8kDr1SlGcqIoppVLFHKXKxrtd2fdFFFBodNt9CRqhKlWiBb2o/uvI7BQ68rYQYqvSBDW2Duu2JgKNaJEJgm1NZPQku0dXWA4JiilMAaMA2swiY4M9eOo89GhTzEW6HBEUJ1Ab56e7s55c6ojoWpTj5xwtfUP4FLLI/DKTIZ9jAgF0QpYPC1ytQbRQmN6AC4BaABpoDnjxe2rLN0YIIVc3D+VDxpTy25SmlFKat/L0LisLxZRlxuhmZHwY7/sFsfU9XgHr4Ybk/jbxeILHHLxdHhCLbTj+BcDi7OSagWmNhSUNPh/ZSZxjWGCkvzAB8+mOl5f07x6UUMgjafS5MdJGWbo/W6+PV71qU8EAAAAASUVORK5CYII="]; return c?b[d]:a[d]} var g_sites_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhss3LcOZQAAAU5JREFUOMvdkzFLA0EQhd/bO7iIYmklaCUopLAQA6KNaawt9BeIgnUwLHPJRchfEBR7CyGWgiDY2SlIQBT/gDaCoGDudiy8SLwkBiwz1c7y+GZ25i0wnFEqlSZFZKGdi8iiiOR7aU32QkR2c7ncPcljAARAkgckb8IwrGf1fg/oJ8lRAHkR2VDVmOQ8AKjqY1bM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fnsrZ7Wore02YViqVOrRXXPhfqP8j6MYlawoAAAAASUVORK5CYII=", g_ff_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==",g_close_light_ico= "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA3UlEQVQ4EaVTOQ7CMBCMETShzcdo4CVOkyJykQb/AXoaPsQT0uLGRZhZxVIirSMDljberOfwaaZpqv5pe5Kttce6rs8QO5SIGWNiCOHhvX+LAMko3hAlfMGAw/6+47fUmdjUEkcEUvGXPicwwqFFxDlaiI+agSoA0tU550G4MJizpgnIJioDQ9/3LxCfHEN+QjcouEqdgQbM1XICHd3pzJhn0mki6hJwH1oQiZdpI+9YKxYAsAFhuWnLfKWTW8IKtPUjAnCLWyBtLHFkD/gweLdx1l89JgobkDSD4toHHT5aJu9+N80AAAAASUVORK5CYII=",g_svgs={},NAV_BAR_HEIGHT_CSS=42,SHOULD_DO_LOGIN_ONLY=!0,SHOULD_DO_ALWAYS=!1; function popupfill_shoulddofield(a,b,c){var d=[];if(do_experimental_popupfill&&!(null==b||"undefined"==typeof b.type||"hidden"==b.type)&&("text"==b.type||"password"==b.type||"email"==b.type||!c&&"tel"==b.type||!c&&"url"==b.type||!c&&"textarea"==b.type)){var e=LP_pickFieldName(a,b);return lp_in_array(e,d)?(verbose_log("fieldname "+e+" is blacklisted, skipping"),!1):is_search_field(a,b,!c)||is_date_field(b)||LP_looksLikeOTPField(a,b)||LP_explicit_ignored(a,b)?!1:c&&!chk_form_has_password(a,b.form)&& !checkDocumentForLoginOrphans(a)?(verbose&&(a=LP_pickFormName(a,b.form),console_log("form "+a+" has no password field? Ignored")),!1):!0}return!1}var NO_CREATE=!1,OK_CREATE=!0;function parse_zindex(a){if("string"==typeof a&&-1!=a.indexOf("e")){a=""+parseFloat(a);for(var b="",c=a.length-1;0<=c&&"0"==a.charAt(c);c--)b+="9";a=a.substring(0,c+1)+b}return parseInt(a)} function getZIndex(a,b,c,d){g_ctr_getzindex++;if(null==a||b==a.body||null==b||50<c)return null;var e=0,e="undefined"!=typeof window&&window?window:a.defaultView,f;f="undefined"!=typeof e.getComputedStyle?e.getComputedStyle(b):b.currentStyle;if("absolute"==f.position||"relative"==f.position||"fixed"==f.position){if("auto"==f.zIndex||""===f.zIndex)return e=getZIndex(a,b.parentNode,c+1,d+1),null==e?0:parse_zindex(e);e=getZIndex(a,b.parentNode,c+1,parse_zindex(f.zIndex));return null==e?parse_zindex(f.zIndex)+ 1:parse_zindex(e)+1}if("auto"==f.zIndex||""==f.zIndex)return e=getZIndex(a,b.parentNode,c+1,d+1),null==e?d+1:parse_zindex(e)+1;e=getZIndex(a,b.parentNode,c+1,parse_zindex(f.zIndex));return null==e?parse_zindex(f.zIndex):parse_zindex(e)+1} function shouldOfferGenerate(a,b){if(null==a||null==b)return null;var c=!1,d=b.form,e=!0,f=!0,g=check_nevers(a,g_nevers,a.location.href);null!=g&&(e=g.show_for_generate,f=g.show_for_clickable_icon);e&&(chk_form_ask_generate(a,d)&&isInputFieldPassword(a,b)&&f)&&(chk_form_changepw(a,d)&&b==lpCheckCurrentPWField(d)?(c=!1,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] form="+LP_pickFormName(a,d)+" field="+LP_pickFieldName(a,b)+" appears to be current PW field in a change password form, offergenerate=false")): (c=!0,"undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] form="+LP_pickFormName(a,d)+" field="+LP_pickFieldName(a,b)+" setting up generate click listener on icon")));return c} function check_nevers(a,b,c){if(a){b={show_for_formfill:!0,show_for_save:!0,show_for_autofill:!0,show_for_generate:!0,show_for_clickable_icon:!0};if(null==g_nevers)return null;if(null==c||0>=c.length)c=a.location.href;a=lpcanonizeUrl(c);c=lpcanonizeUrl(lp_gettld_url(c));for(var d=0;d<LP_objectSize(g_nevers);d++){var e=g_nevers[d];0==e.domain&&lpcanonizeUrl(e.url)!=a||1==e.domain&&c!=lpcanonizeUrl(lp_gettld_url(e.url))||("neverformfills"==e.type?b.show_for_formfill=!1:"neveraccounts"==e.type?b.show_for_save= !1:"neverautofills"!=e.type&&"neverautologins"!=e.type&&("nevergenerates"==e.type?b.show_for_generate=!1:"nevershowicons"==e.type&&(b.show_for_clickable_icon=!1)))}return b}}function LP_objectSize(a){var b,c=0;if(null==a||"undefined"==typeof a)return 0;if("function"!=typeof a.hasOwnProperty&&"undefined"!=typeof a.length)return a.length;for(b in a)a.hasOwnProperty(b)&&c++;return c} function chk_form_ask_generate(a,b,c){if(null==a||null==b||b.elements.length>MAX_FORM_ELEMENTS_HARD)return!1;var d,e=LP_pickFormName(a,b);if(!c&&(d=formcacheget(a,e,"ask_generate"),null!=d))return g_ctr_formcache_hits++,d;g_ctr_formcache_misses++;try{var f=gettldcached(a.location.href)}catch(g){return!1}var h=d=0,j=3;c&&(j=2);g_aspx_hack&&isASPpage()&&(j=7);if("tumblr.com"==f&&(tumblr_action_btn=a.getElementById("signup_forms_submit"),null!=tumblr_action_btn)){c=tumblr_action_btn.getElementsByTagName("SPAN"); var l;for(l=0;l<c.length;l++)if(0<=c[l].className.indexOf("login_btn")&&checkIsDisplayed(a,c[l],0,f))return!1}if(!checkIsDisplayed(a,b,0,f))return verbose_log("form is not visible: cannot be signup form"),!1;c=LP_getname(b,LP_GETNAME_FAVOR_ID_OVER_NAME);if(null!=c&&(0<=c.toLowerCase().indexOf("signup")||0<=c.toLowerCase().indexOf("register"))&&-1==c.toLowerCase().indexOf("login"))return verbose_log("form "+e+" smells like a sign up form: name/classname"),formcacheset(a,e,"ask_generate",!0),!0;var p= !1;if("undefined"!=typeof Math){c=Math.floor(1E4*Math.random());var n=l=0,p=0,m=null,s=b.elements.length;s>MAX_FORM_ELEMENTS_SOFT&&(s=MAX_FORM_ELEMENTS_SOFT);for(var r=0;r<s;r++){var k=b.elements[r];"INPUT"==k.tagName&&("password"==k.type?l++:("text"==k.type||"email"==k.type)&&n++);if("INPUT"==k.tagName&&"submit"==k.type||"BUTTON"==k.tagName)if(p++,m=k,10<p&&b.elements.length>MAX_FORM_ELEMENTS_SOFT)return!1}if(1==p&&2>=n&&0<l&&checkButtonHint(m))return verbose_log("form is not signup: prelim test failed"), !1;n=b.elements;for(r=0;r<MAX_FORM_ELEMENTS_SOFT&&r<n.length;r++)if(k=n[r],p=!1,"FIELDSET"!=k.tagName&&valid_by_role(a,k)&&!0!=k.disabled&&("expedia.com"==f||checkIsDisplayed(a,k,0,f,c))){if("text"==k.type&&is_watermark(k.className)&&is_watermark_password(k))try{k.type="password"}catch(q){p=!0}if("BUTTON"==k.tagName&&"submit"==k.type&&null!=k.innerText&&0<=k.innerText.indexOf("Create")||"BUTTON"==k.tagName&&"submit"==k.type&&null!=k.innerText&&0<=k.innerText.indexOf("Register")||"INPUT"==k.tagName&& "submit"==k.type&&null!=k.value&&0<=k.value.indexOf("Create")||"INPUT"==k.tagName&&"submit"==k.type&&null!=k.value&&0<=k.value.indexOf("Register")||"INPUT"==k.tagName&&"submit"==k.type&&null!=k.value&&0<=k.value.indexOf("Sign me up")||"INPUT"==k.tagName&&"image"==k.type&&null!=k.value&&"create"==k.value)j=2,verbose_log("form "+e+" has a signup button, loosening detection requirements");if(1<l&&LP_passwordAlt(a,k))h++;else if(m=fieldIsDoublePassword(a,k),!b||!("form1"==b.id&&b.action&&b.action.indexOf(".aspx")&& "text"==k.type&&(m===DOUBLE_PW_VISIBLE||m===DOUBLE_SECRET_PW_VISIBLE)))if(!do_bgiconinput||!("text"==k.type&&(m===DOUBLE_TEXT_VISIBLE||m===DOUBLE_SECRET_TEXT_VISIBLE))){if("password"==k.type||p||"text"==k.type&&m===DOUBLE_TEXT_VISIBLE||"text"==k.type&&m===DOUBLE_SECRET_TEXT_VISIBLE){p=k.getAttribute("placeholder");null!=p&&0<=p.indexOf("Create your")&&(j=2);if("facebook.com"==f&&"string"==typeof k.id&&k.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/))continue;else if("tdbank.com"==f&&"string"==typeof k.name&& "user"==k.name){h++;continue}if(0==d&&1<l&&passwordIsFake(k)){h++;continue}d++}else if("email"==k.type||"text"==k.type||"textarea"==k.type||"tel"==k.type||"url"==k.type)treat_text_as_password(k)?d++:lpIsVisible(k,!0)&&(p=LP_pickFieldName(a,k),LP_looksLikeOTPField(a,k)?verbose_log("chk_form_ask_generate OTP field ignore on "+p):h++);if(4<=d||100<=h)return 4<=d&&verbose_log("form "+e+" is not a signup form, too many pw fields [PW:"+d+"/NON:"+h+"]"),100<=h&&verbose_log("form "+e+" is not a signup form, too many non-pw fields [PW:"+ d+"/NON:"+h+"]"),formcacheset(a,e,"ask_generate",!1),!1;if(2<=d||1<=d&&h>=j)return 2<=d&&verbose_log("form "+e+" is a signup form, has enough pw fields [PW:"+d+"/NON:"+h+"]"),1<=d&&h>=j&&verbose_log("form "+e+" is a signup form, has enough pw fields and non-pw fields [PW:"+d+"/NON:"+h+"]"),formcacheset(a,e,"ask_generate",!0),!0}}verbose_log("form "+e+" does not smell like signup form, not enough fields [PW:"+d+"/NON:"+h+"]");formcacheset(a,e,"ask_generate",!1);return!1}} function passwordIsFake(a){var b=/(?:Account)|(?:Member)|(?:IUO_NAME)/i,c=a.name;return b.exec(a.id)||b.exec(c)?!0:!1}function checkButtonHint(a){var b="INPUT"==a.tagName?a.value:a.innerHTML,c=/(?:Login)|(?:Log.In)|(?:Logon)|(?:Log.on)/i;return c.exec(a.id)||c.exec(b)?!0:!1} function chk_form_is_nonlogin_form(a,b){if(null==a||null==b)return!1;if(b.elements.length>MAX_FORM_ELEMENTS_HARD)return!0;try{var c=gettldcached(a.location.href)}catch(d){return!1}var e=LP_pickFormName(a,b),f=formcacheget(a,e,"is_nonlogin");if(null!=f)return g_ctr_formcache_hits++,f;g_ctr_formcache_misses++;if(is_search_form(a,b))return verbose_log("form "+e+" appears to be a search form based on name/action, do not try to fill"),formcacheset(a,e,"is_nonlogin",!1),!1;if(!checkIsDisplayed(a,b,0,c))return verbose_log("form is not visible: cannot be non-login form"), !1;for(var f=c=0,g=b.elements,h=0;h<g.length;h++){var j=g[h];if("FIELDSET"!=j.tagName&&("email"==j.type||"text"==j.type||"password"==j.type)&&!0!=j.disabled){if(100<++f)return formcacheset(a,e,"is_nonlogin",!1),!1;if(!0!=j.disabled&&valid_by_role(a,j)&&lpIsVisible(j)){if(is_search_field(a,j,!0))return verbose_log("form "+e+" appears to be a search form based on name/classname, do not try to fill"),formcacheset(a,e,"is_nonlogin",!1),!1;c++;if(3<=c)return verbose_log("form "+e+" appears to be a non-login form"), formcacheset(a,e,"is_nonlogin",!0),!0}}}formcacheset(a,e,"is_nonlogin",!1);return!1}function formcacheset(a,b,c,d){if(null==a||null==b||null==c||0===b.length||0===c.length||null==d||"FF"==b||"none"==b)return null;"undefined"==typeof a.g_form_attr_cache&&(a.g_form_attr_cache=[]);null==a.g_form_attr_cache[b]&&(a.g_form_attr_cache[b]={});a.g_form_attr_cache[b][c]=d;return!0} function formcacheget(a,b,c){return null==a||(null==b||null==c||0===b.length||0===c.length)||("FF"==b||"none"==b)||"undefined"==typeof a.g_form_attr_cache?null:null!=a.g_form_attr_cache[b]&&null!=a.g_form_attr_cache[b][c]?a.g_form_attr_cache[b][c]:null}function formcachereset(a){null!=a&&(a.g_form_attr_cache=[]);return!0} function onresize_handler(a){a="undefined"!=typeof document?document:a.target.document;var b=a.getElementsByTagName("body")[0];a.g_posbodyrect_cache=b.getBoundingClientRect();var c="undefined"!=typeof window&&window?window:a.defaultView;a.g_posbodystyle_cache="undefined"!=typeof c.getComputedStyle?c.getComputedStyle(b,null):b.currentStyle;popupfill_resize(a);return!1} function checkIsDisplayed(a,b,c,d,e,f){if(do_bgiconinput&&!f||b==a.body||null==b||50<c)return!0;if(null==d)try{d=gettldcached(a.location.href)}catch(g){return!1}c="undefined"!=typeof window&&window?window:a.defaultView;for(e=b;e&&e!=a.body;)try{var h;h="undefined"!=typeof c.getComputedStyle?c.getComputedStyle(e):e.currentStyle;if(null!=h&&"none"!=h.display&&"hidden"!=h.visibility&&(null==e.offsetHeight||""===e.offsetHeight||1<e.offsetHeight||"hidden"!=h.overflow)&&!("expedia.com"==d&&"-1px"==h.marginTop&& 1==e.offsetHeight)&&!("dropbox.com"==d&&"register-partial-container"==b.id&&50>e.offsetHeight))e=e.parentNode;else return!1}catch(j){break}return!0} function countInputs(a,b,c){var d=0,e=0,f=a.getElementsByTagName("INPUT");if("undefined"!=typeof Math){for(var g=Math.floor(1E4*Math.random()),h=0;h<f.length;h++){if(100<h){b||(d+=f.length-h);break}var j="password"==f[h].type;if(!b||j)if(!("checkbox"==f[h].type||"hidden"==f[h].type)&&checkIsDisplayed(a,f[h],0,null,g))j&&e++,d++}c&&(a.g_password_cnt=e);return d}} function LP_getAbsolutePos(a,b){g_ctr_getAbsPos++;if(null!=b){if("undefined"==typeof b.getBoundingClientRect)return null;var c=b.getBoundingClientRect(),d,e;d="undefined"==typeof c.width?c.right-c.left:c.width;e="undefined"==typeof c.height?c.bottom-c.top:c.height;var f=null;"undefined"!=typeof a.body?f=a.body:a.getElementById("main")&&(f=a.getElementById("main"));var g;"undefined"==typeof a.g_posbodyrect_cache?(g=f.getBoundingClientRect(),a.g_posbodyrect_cache=g):g=a.g_posbodyrect_cache;var h=0; if("undefined"==typeof a.g_posbodystyle_cache){var j="undefined"!=typeof window&&window?window:a.defaultView,f="undefined"!=typeof j.getComputedStyle?j.getComputedStyle(f,null):f.currentStyle;a.g_posbodystyle_cache=f}else f=a.g_posbodystyle_cache;"relative"==f.position&&!do_bgiconinput&&(h=g.left);f="undefined"!=typeof window&&window?window:a.defaultView;"pageXOffset"in f?(g=f.pageXOffset,f=f.pageYOffset):(f=1,"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof a.querySelector&&"undefined"==typeof a.addEventListener? f=1:g&&(f=Math.round(100*((g.right-g.left)/a.body.offsetWidth))/100),g=Math.round(a.documentElement.scrollLeft/f),f=Math.round(a.documentElement.scrollTop/f));return{left:c.left+g-h,top:c.top+f-0,width:d,height:e}}return null} function createPopupFill(a,b){function c(a){var b=0,c;for(c in a)b++;return b}if(do_experimental_popupfill){var d,e,f,g="",h,j=0,l=0;popup_show_menu_expand_visual_cue&&(l=16);var p={};"undefined"!=typeof b.favicons&&(p=LPJSON.parse(b.favicons));g="<div id='popupcontainer'><table id='lptabpopup'>\n";if("undefined"==typeof b.sites)e=0;else for(h in d=getAutoFillArray(a,LPJSON.parse(b.sites),!0),e=c(d),d)if(d.hasOwnProperty(h)&&null!=d[h]&&null!=d[h].useusername){f=d[h].useusername;0>=f.length&&(f=d[h].name); var n=f,g=g+("<tr id='trpopuprow"+lp_ofa(h)+"' aid='"+lp_ofa(d[h].aid)+"' sitename='"+lp_ofa(d[h].name)+"' username='"+lp_ofa(d[h].useusername)+"' class='popuprow' >\n"),g=g+("<td id='tdpopuprow"+lp_ofa(h)+"' aid='"+lp_ofa(d[h].aid)+"'>\n");do_experimental_popupfill&&"undefined"!=typeof p[d[h].aid]&&(g+="<img src='"+p[d[h].aid]+"' style='padding:2px;'/>");g+="<span id='spanpopuprow"+lp_ofa(h)+'\' class="popcell shortenstr">';g+=lp_of(f,a);g+="<\/span>";popup_show_menu_expand_visual_cue&&(g+=visual_cue_frag("expand", h));popup_show_sitename_suffix&&"undefined"!=d[h].name&&0<d[h].name.length&&(g+="<p class='subtext'>"+lp_of(d[h].name,a)+"<\/p>");g+="<\/td>\n";g+="<\/tr>\n";n=LP_measureText(a,lp_of(n,a),null,"font-size: 14px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;");n.width+20+l>j&&(j=n.width+20+l)}g+="<\/table>\n<\/div>";g+="<div id='popupcontainerff'>";g+="<table id='lptabpopupformfills' style='display:none'>\n";if("undefined"==typeof b.formfills)f=0;else{d=LPJSON.parse(b.formfills);f=c(d);var m; for(m=0;1>=m;m++)for(h in d)if(d.hasOwnProperty(h)&&null!=d[h]&&null!=d[h].decprofilename&&null!=d[h].profiletype&&parseInt(d[h].profiletype)===m){n="";""!=d[h].ccnum&&0==d[h].profiletype&&(n="hascc='1' ");g+="<tr id='trpopupffrow"+lp_ofa(h)+"' ffid='"+lp_ofa(d[h].ffid)+"' profilename='"+lp_ofa(d[h].decprofilename)+"' formtype='"+m+"' "+n+" class='popuprow'>\n";g+="<td id='tdpopupffrow"+lp_ofa(h)+"' ffid='"+lp_ofa(d[h].ffid)+"'>\n";do_experimental_popupfill&&"undefined"!=typeof p[d[h].ffid]&&(g+= "<img src='"+p[d[h].ffid]+"' style='padding:2px;'/>");n=lp_of(d[h].decprofilename,a);g+="<span id='spanpopupffrow"+lp_ofa(h)+'\' class="popcell shortenstr">';g+=lp_of(d[h].decprofilename,a);if(g_creditcard_profile_annotate&&1==m)var s='<span class="cc">('+lpgs("Credit Card")+")<\/span>",g=g+s,n=n+s;g+="<\/span>";popup_show_menu_expand_visual_cue&&(g+=visual_cue_frag("expandff",h));g+="<\/td>\n";g+="<\/tr>\n";n=LP_measureText(a,n,null,"font-size: 14px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;"); n.width+20+l>j&&(j=n.width+20+l)}}g_do_icon_number_hint&&(g_icon_numbers.sites=e,g_icon_numbers.formfills=f);if(do_popup_actions)0<f&&(g+="<tr class='tablerow_sep'><td><hr/><\/td><\/tr>\n");else if(0>=e&&0>=f)return null;g+="<\/table>\n";g+="<\/div>";if(do_popup_actions)g+="<table id='lptabpopupnavbar' style='"+(g_hide_navbar?"display:none;height:0px;":"")+"'><\/table>";else if(0>=e&&0>=f)return null;300<j&&(j=300);g_popupfill_widest=j;return g}} function LP_measureText(a,b,c,d,e){g_ctr_LP_measureText++;var f=LP_measureTextCacheGet(a,b,d);if(null!=f)return g_ctr_LP_measureText_cachehits++,f;g_ctr_LP_measureText_cachemisses++;var f=a.createElement("span"),g=null;if(null==d&&null==c)return g;null==e&&(e=a.body);null==e&&(e=a.getElementById("hiddenel"));e&&(e.appendChild(f),null!=d&&(f.style.cssText=d),null!=c&&(f.style.fontSize=""+c+"px"),f.style.position="absolute",f.style.left="-1000px",f.style.top="-1000px",f.innerHTML=b,g={width:f.clientWidth, height:f.clientHeight},LP_measureTextCacheSet(a,b,d,g),e.removeChild(f));return g}function getAutoFillArray(a,b,c){var d=[];a=punycode.URLToASCII(a.location.href);lpcanonizeUrl(a);for(var e in b)if(!b[e].genpw||c)d[e]=b[e];return d} function is_your_popup_showing(a){if(null==a)return!1;if(null==a.location)return verbose_log("is_your_popup_showing given a firefox zombie document?"),a="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument,closepopupfills(a),!1;if(0<a.location.href.indexOf("popupfilltab.xul"))return!0;a=a.getElementsByTagName("iframe");for(var b=0;b<a.length;b++)if(("function"!=typeof a.hasOwnProperty||a.hasOwnProperty(b))&&0== a[b].id.indexOf(LPMAGICIFRAME))return!0;return!1} function dosavesiteicon(a){a=a?1:0;var b=[""],c=null!=g_popupfill_parent_last?g_popupfill_parent_last.form:null;null==c&null==g_popupfill_parent_last&&(c=null!=g_popupfill_parent?g_popupfill_parent.form:null);verbose_log("["+g_docnum+"]: current input form is "+c);if(null==c)g_isfirefox?LP.lpOpenEditWindow(0,!1,!1,null,!0):(verbose_log("["+g_docnum+"]: looking for orphaned INPUT elements"),c=LP_get_form_save_orphans(b,!0),b={url:punycode.URLToASCII(document.location.href),formdata2:c},sendBG({cmd:"savethesite", notificationdata:b,iframe:a}));else{for(var d=c.elements,e=0,f=0,g=0,h=0;h<d.length;h++)if("FIELDSET"!=d.tagName){var j=d[h].type;"password"==j?f++:"text"==j||"tel"==j||"email"==j?e++:"textarea"==j&&g++}if(1==e&&1==f&&0==g)if(g_isfirefox)LP.lpOpenEditWindow(0);else{c=LP_get_form_save(c,!1,[],!0);if(!c||0==c.length)c+=LP_get_form_save_orphans(b,!0);b={url:punycode.URLToASCII(document.location.href),formdata2:c};sendBG({cmd:"savethesite",notificationdata:b,iframe:a})}else g_isfirefox?LP.lpOpenEditWindow(0, !1,!1,null,!0):(c=LP_get_form_save(c,!1,[],!0),d=!1,c&&0<c.length&&(d=!0),c+=LP_get_form_save_orphans(b,!0,d),b={url:punycode.URLToASCII(document.location.href),formdata2:c},sendBG({cmd:"savethesite",notificationdata:b,iframe:a}))}} function lp_url_is_lastpass(a){if(null==a)return!1;var b="https://lastpass.com/";"undefined"!=typeof base_url&&(b=base_url);return 0==a.indexOf(b)||0==a.indexOf("https://lastpass.com/")||0==a.indexOf("https://lastpass.eu/")?!0:"undefined"!=typeof g_loosebasematching?(a=lp_gettld_url(a),RegExp(a+"/$").test(base_url)):!1} function setupIcons(a,b){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(a){if(do_experimental_popupfill){if("undefined"!=typeof g_isie&&g_isie)if(init_LPfn()&&LPfn)LPfn.ie_reset_popupfillhint(),LPfn.ie_setup_event_handlers(a);else{verbose_log("Danger, Will Robinson");return}"undefined"!=typeof g_isfirefox&&g_isfirefox?(a.g_input_cnt=countInputs(a,!1,!0),a.g_did_setupInputObserver=!1):(g_input_cnt=countInputs(a),validate_input_indexes(a));var c="undefined"!=typeof g_isloggedin? g_isloggedin:lploggedin,d=!1;if(g_dologin_clickable||!g_dologin_clickable&&c)d=!0;try{var e;e="undefined"!=typeof punycode?punycode.URLToASCII(a.location.href):a.location.href;if(lp_url_is_lastpass(e)||0==a.location.href.indexOf("chrome://")||0==a.location.href.indexOf("chrome-extension://")||0==a.location.href.indexOf("safari-extension://")||0==a.location.href.indexOf("about://")||0==a.location.href.indexOf("javascript://")||0==a.location.href.indexOf("resource://"))return!1}catch(f){return verbose_log("setupIcons() probably caught cross-domain error, abort : "+ f.message),!1}if(d&&(b||checkForLoginForm(a)||checkDocumentForLoginOrphans(a)||checkForNonLoginForm(a)||checkForSignupForm(a)))c=gettldcached(a.location.href),g_isfirefox||"undefined"!=typeof g_isie&&g_isie||sendBG({cmd:"getpopupfillsites",tld:c,url:e}),g_do_icon_number_hint&&(g_icon_number_overrides={sites:-1,formfills:-1}),("undefined"!=typeof window&&window?window:a.defaultView).setTimeout(function(){doc_create_clickable_icons(a,"",SHOULD_DO_ALWAYS,b)},50)}"function"==typeof setupInputObserver&& setupInputObserver(a)}}function checkForLoginForm(a){if(!a)return!1;try{gettldcached(a.location.href)}catch(b){return!1}var c=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(c=MAX_FORMS_HARD);for(var d=a.getElementsByTagName("form"),e=!1,f=0;f<d.length&&f<c;f++){e=chk_form_has_password(a,d[f],!0);if(null==e)break;if(e)return e}return!1} function checkForNonLoginForm(a){if(!a)return!1;try{gettldcached(a.location.href)}catch(b){return!1}var c=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(c=MAX_FORMS_HARD);for(var d=a.getElementsByTagName("form"),e=!1,f=0;f<d.length&&f<c;f++)if(e=chk_form_is_nonlogin_form(a,d[f]))return e;return!1} function checkForSignupForm(a){if(!a)return!1;var b=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(b=MAX_FORMS_HARD);for(var c=a.getElementsByTagName("form"),d=!1,e=0;e<c.length&&e<b;e++)if(d=chk_form_ask_generate(a,c[e]))return d;return!1} function chk_form_has_password(a,b,c){if(null==a||null==b||b.elements.length>MAX_FORM_ELEMENTS_HARD)return!1;var d=LP_pickFormName(a,b),e=formcacheget(a,d,"is_login");if(null!=e)return g_ctr_formcache_hits++,e;g_ctr_formcache_misses++;try{var f=gettldcached(a.location.href)}catch(g){return!1}for(var h=!1,j=e=0,l=0,p=null,n=0;n<MAX_FORM_ELEMENTS_SOFT&&n<b.elements.length;n++){var m=b.elements[n];"INPUT"==m.tagName&&("password"==m.type?e++:("text"==m.type||"email"==m.type)&&j++);if("INPUT"==m.tagName&& "submit"==m.type||"BUTTON"==m.tagName)l++,p=m}if(1==l&&2>=j&&0<e&&checkButtonHint(p))return!0;var l=j=0,p=!lpIsVisible(b),s=!1;b=b.elements;for(n=0;n<MAX_FORM_ELEMENTS_SOFT&&n<b.length;n++)if(m=b[n],h=!1,"FIELDSET"!=m.tagName){if(g_aspx_hack&&(0===m.name.indexOf("ctl00$")||null!=m.form&&"ctl00"==m.form.name||0===m.name.indexOf("ctl00_"))&&!isASPpage())setASPpage(!0),verbose_log("detected ASP.NET form, relaxing login form detection");if(valid_by_role(a,m)&&!0!=m.disabled){if("text"==m.type&&is_watermark(m.className)&& is_watermark_password(m))try{m.type="password",lpdbg("onload","switching field from text to password from chk_form_has_password")}catch(r){h=!0}ASP_treat_text_as_password(m)&&(h=!0);if(1<e&&LP_passwordAlt(a,m))l++;else{var k=fieldIsDoublePassword(a,m);if(!("text"==m.type&&(k===DOUBLE_PW_VISIBLE||k===DOUBLE_SECRET_PW_VISIBLE)))if("password"==m.type||h||"text"==m.type&&k===DOUBLE_TEXT_VISIBLE||"text"==m.type&&k===DOUBLE_SECRET_TEXT_VISIBLE){if(!("facebook.com"==f&&"string"==typeof m.id&&m.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/)))if("tdbank.com"== f&&"string"==typeof m.name&&"user"==m.name)l++;else{if(g_fillaid&&c)return!0;if(g_aspx_hack&&isASPpage()&&do_bgiconinput)verbose_log("ASP/bgicon login");else if(!lpIsVisible(m))if(s=!0,p)verbose_log("EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE "+LP_pickFormName(a,m));else continue;if(0==j&&1<e&&passwordIsFake(m))l++;else if(m=2,h="",g_aspx_hack&&(isASPpage()&&do_bgiconinput)&&(m=4,h=" [ASP]"),++j>=m)return formcacheset(a,d,"is_login",!1),verbose_log("Password Form detection: "+d+h+" has too many password fields; do not treat as login form [PW:"+ j+"/NON:"+l+"]"),null}}else if("email"==m.type||"text"==m.type||"textarea"==m.type||"tel"==m.type||"url"==m.type){if(!lpIsVisible(m))if(p)verbose_log("EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE "+LP_pickFormName(a,m));else continue;l++;if(g_aspx_hack&&5<l||!g_aspx_hack&&2<l)return formcacheset(a,d,"is_login",!1),verbose_log("Password Form detection: "+d+" has too many non-password fields; do not treat as login form [PW:"+j+"/NON:"+l+"]"),null}}}}if(1==j)return verbose_log("Password Form detection: "+ d+" is a login form, has only one passwd field"),formcacheset(a,d,"is_login",!0),!0;if(g_aspx_hack&&(isASPpage()&&do_bgiconinput)&&1<j)return verbose_log("Password Form detection: "+d+" is an ASP form, treat as login form"),formcacheset(a,d,"is_login",!0),!0;s||formcacheset(a,d,"is_login",!1);return!1} function LP_getElementByIdOrName(a,b){"document"==a&&(a=document);if(null==a||null==b||0==b.length||"undefined"==typeof a.getElementsByTagName)return null;var c=a.getElementsByName(b),d=c.length,e=a.getElementById(b);if(null!=e){if(0==d||1==d&&(c[0]==e||null==c[0]))return e;verbose_log("lookup on "+b+" has name and ID conflict");c[c.length]=e}if(LP_name_is_inputidx(a,b)&&(e=LP_getinputidx_from_name(a,b),null!==e&&(e=LP_getElementByIdx(a,e),null!=e)))return e;if(1==d)return c[0];if(0==d)return null; var d=[],e=0,f=-1;if("undefined"!=typeof Math){for(var g=Math.floor(1E4*Math.random()),h=0;h<c.length;h++)d[h]=0,"INPUT"==c[h].tagName&&(d[h]+=20,"hidden"!=c[h].type&&(d[h]+=10)),null!=c[h].style&&"none"!=c[h].style.display&&checkIsDisplayed(a,c[h],0,null,g,!0)&&(d[h]+=5),do_bgiconinput&&inputHasLPBackground(c[h])&&(d[h]+=7),null!=c[h].style&&"hidden"!=c[h].style.visibility&&(d[h]+=3),d[h]>e&&(e=d[h],f=h);return 0<=f?c[f]:null}} function LP_getAllInputsByIdOrName(a,b,c){if(null==a||null==b||0==b.length||"undefined"==typeof a.getElementsByTagName)return null;var d=!0;null!==c&&(d=c);c=(c=a.getElementsByName(b))?c:[];if(d){a=a.getElementsByTagName("input");var e=a.length;e>MAX_INPUTS_SOFT&&(e=MAX_INPUTS_SOFT);for(d=0;d<e;d++)a[d].id==b&&c.push(a[d])}else(b=LP_getElementByIdOrName(a,b))&&c.push(b);return c} function isInputFieldPassword(a,b){if(null==a||null==b||"INPUT"!=b.tagName)return!1;try{var c=gettldcached(a.location.href)}catch(d){return!1}if(!valid_by_role(a,b))return!1;var e=!1;if("text"==b.type&&is_watermark(b.className)&&is_watermark_password(b))try{b.type="password"}catch(f){e=!0}if("text"==b.type&&(0==b.name.indexOf("pass")||0==b.name.toLowerCase().indexOf(lpgs("Password").toLowerCase())))return!0;g_aspx_hack&&isASPpage()&&do_bgiconinput&&"text"==b.type&&0<=b.value.toLowerCase().indexOf(lpgs("Password").toLowerCase())&& (e=!0);return"password"==b.type||e?"facebook.com"==c&&"string"==typeof b.id&&b.id.match(/^[a-z0-9]{6}_\d{1,2}_ci_password$/)||"tdbank.com"==c&&"string"==typeof b.name&&"user"==b.name?!1:!0:!1} function isEmptyObject(a){if("undefined"==typeof Object.keys){var b=Object,c=Object.prototype.hasOwnProperty,d=!{toString:null}.propertyIsEnumerable("toString"),e="toString toLocaleString valueOf hasOwnProperty isPrototypeOf propertyIsEnumerable constructor".split(" "),f=e.length;b.keys=function(a){if("object"!==typeof a&&("function"!==typeof a||null===a))throw new TypeError("Object.keys called on non-object");var b=[],j;for(j in a)c.call(a,j)&&b.push(j);if(d)for(j=0;j<f;j++)c.call(a,e[j])&&b.push(e[j]); return b}}return 0===Object.keys(a).length}function LP_getname(a,b){if("undefined"!=typeof a&&null!=a){if(b&&"string"==typeof a.id&&""!=a.id)return a.id;if("string"==typeof a.name&&""!=a.name)return a.name;if("string"==typeof a.id)return a.id}return""} function LP_getWindowWidth(a){g_ctr_getWW++;if(!a)return 0;var b=a.innerWidth,c=a.document;if(!c)return 0;a=null;"undefined"!=typeof c.body?a=c.body:c.getElementById("main")&&(a=c.getElementById("main"));var d=c.getElementById("_lpinvis");null==d&&(d=c.createElement("div"),d.id.left="_lpinvis",d.style.left="0px",d.style.right="0px",d.style.top="0px",d.style.height="0px",d.style.visibility="hidden",a.appendChild(d));var c="undefined"!=typeof window&&window?window:c.defaultView,e;e="undefined"!=typeof c.getComputedStyle? c.getComputedStyle(a):a.currentStyle;if(!e)return 0;c=parseInt(e.marginLeft);e=parseInt(e.marginRight);0<d.offsetWidth&&(b=0<c||0<e?d.offsetWidth+e+c:d.offsetWidth);a.removeChild(d);return b} function checkDocumentForLoginOrphans(a){if(!a)return!1;var b=[],c=[],d=[],e=0,f,g=0;if("undefined"!=typeof Math){for(var h=Math.floor(1E4*Math.random()),j=["input"],l=0;l<j.length;l++)for(var p=a.getElementsByTagName(j[l]),n=0;n<p.length&&!(100<n);n++)if(checkIsDisplayed(a,p[n],0,null,h)){f=p[n];if(null!=f.id&&""!=f.id){var m=d[f.id];if(null==m)d[f.id]=!0;else continue}if(null!=f.name&&""!=f.name)if(m=c[f.name],null==m)c[f.name]=!0;else continue;if(lp_in_array(LP_pickFieldName(a,f),b))verbose_log("fieldname "+ b[m]+" is blacklisted, skipping");else{var s=fieldIsDoublePassword(a,f);if(null==f.form&&("password"==f.type||"text"==f.type&&s===DOUBLE_TEXT_VISIBLE||"text"==f.type&&s===DOUBLE_SECRET_TEXT_VISIBLE))if(e++,(f=LP_pickFieldName(a,f))&&f.toLowerCase().indexOf(lpgs("Password"))&&0<n)f=LP_pickFieldName(a,p[n-1]),RegExp(lpgs("ff_username_regexp"),"i").exec(f)&&g++;if(2<=e&&2<=g){verbose_log("too many orphan password fields found");break}}}return 1==e||1==g?(verbose_log("orphan password field found"),!0): !1}} function do_icon_mouseover(a,b,c){if(null==a||null==b)return!1;var d=a.getElementById(b+"_icon");if(g_use_grey_icons&&is_your_popup_showing(a))return null!=d&&(d.style.opacity="1",d.style.filter="alpha(opacity=100)"),!1;if(null!=d){var e=!0;if(null!=a.getElementById(b)){var f=!1;c=LP_pickFieldName(a,c);if(c=getIconState(a,c))f=c.fillhint;"formfills"==f?(d.src=ff_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),e=!1):"offersave"==f?e=!1:"generate"==f&&g_use_grey_icons&& (d.src=pw_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),e=!1)}e&&(d.src=sites_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';"));d.style.opacity="1";d.style.filter="alpha(opacity=100)"}g_do_icon_number_hint&&(a=a.getElementById(b+"_numspan"),null!=a&&g_icon_shading&&(a.style.backgroundColor="#CCFF99"))} function do_icon_mouseout(a,b,c){if(null==a||null==b)return!1;var d=a.getElementById(b+"_icon");if(g_use_grey_icons&&is_your_popup_showing(a))return null!=d&&(d.style.opacity="0.6"),!1;if(null!=d){if(null==a.getElementById(b))return!1;var e=!1;c=LP_pickFieldName(a,c);if(c=getIconState(a,c))e=c.fillhint;if(null==e||""===e||"sites"!==e&&"formfills"!==e&&"generate"!==e&&"offersave"!==e)e="default";"default"==e||"sites"==e?(d.src=sites_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+ g_sites_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)"):"formfills"==e?(d.src=ff_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)"):"generate"==e&&(d.src=pw_svg,d.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),d.style.opacity="0.6",d.style.filter="alpha(opacity=60)")}g_do_icon_number_hint&&(a=a.getElementById(b+"_numspan"),null!=a&&(g_icon_shading? a.style.backgroundColor="#FFFFFF":a.style.display=""))}function do_icon_number_hint(a,b,c){"undefined"!=typeof g_icon_number_overrides&&(g_icon_number_overrides.sites=null==a||"undefined"!=typeof parseInt&&0>parseInt(a)||"undefined"==typeof parseInt&&0>a?-1:a,g_icon_number_overrides.formfills=null==b||"undefined"!=typeof parseInt&&0>parseInt(b)||"undefined"==typeof parseInt&&0>b?-1:b,do_bgiconinput&&(c||(c=document,!c&&LP&&(c=LP.getBrowser().contentDocument)),c&&refresh_input_all_icon_bg(c)))} function do_save_site_success_msg(a){a||(a=document,!a&&LP&&(a=LP.getBrowser().contentDocument));if(a){if(g_show_save_success_msg){var b=a.createElement("div");b.id="__lpsavemsgdiv";var c=LP_getWindowWidth(window);if(!c)return!1;var c=c-parseInt("210px")-30+"px",d=lpgs("You have saved your password to your LastPass Vault.");b.innerHTML=d;b.style.cssText="position:absolute !important; visibility:visible !important; z-index:"+CLICKABLE_ICON_ZINDEX+" !important; border-style:solid !important; border-width:1px !important; border-color:#4c4c4c !important; font-size:14px; font-family: Arial,Helvetica,sans-serif; width: 210px !important; top:25px !important; left:"+ c+" !important; background-color: #e6e6e6; margin: 4px !important; border-radius: 4px; padding: 5px 5px 5px 15px !important; background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAMAAABhq6zVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3BpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlID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aNWrEcFJOsg2PsqnqdWGi584RAAAAIK7gZ4AAAAQdFJOU////////////////////wDgI10ZAAAAWUlEQVR42jzMUQ4AMQQEUKpoFnX/2+403exEZN4H1DHsZjQ9/kcOgsN4fVhURXVhxkRsBkxnPmCOg8xEzRyAuAOJEwVk0cIPAbbIriG5D6Zi31Fq/dOvAAMADDMDTO9yI2MAAAAASUVORK5CYII=); background-repeat:no-repeat; background-position: left top;background-attachment: scroll;"; "undefined"!=typeof a.body?a.body.appendChild(b):a.getElementById("main")&&a.getElementById("main").appendChild(b);setTimeout(function(){destroy_save_site_success_msg(a,b.id,0);return!1},1500)}return!1}} function destroy_save_site_success_msg(a,b,c){var d=a.getElementById(b);if(null!=d){if(null===c)return d.parentNode.removeChild(d),!1;c<FADE_MAXSTATES?("undefined"!=typeof d.style.opacity?d.style.opacity=(100-100/FADE_MAXSTATES*(c+1))/100:d.style.filter="alpha(opacity="+(100-20*(c+1))+")",c++,setTimeout(function(){destroy_save_site_success_msg(a,d.id,c);return!1},10)):d.parentNode.removeChild(d)}return!1} function closepopupfills(a){if(do_experimental_popupfill&&(a||(a=document),null!=a)){"undefined"!=typeof g_popup_iframe_doc&&(g_popup_iframe_doc=null);var b,c=a.getElementsByTagName("iframe"),d=[];for(b=0;b<c.length;b++)d[b]=c[b];for(b=0;b<c.length;b++){var e=d[b];if("undefined"!=typeof e.id&&null!=e.id){var f=LPMAGICIFRAME;0==e.id.indexOf(f)&&(g_use_grey_icons&&(f=e.id.substr(f.length),null!=LP_getElementByIdOrName(a,f)&&revert_clickable_icon(a,f)),verbose_log("deleting iframe named "+e.id),e.parentNode&& e.parentNode.removeChild(e))}}do_icon_number_hint(-1,-1,a);if(g_double_password_hack||g_double_secret_password_hack)if(g_double_secret_password_hack=g_double_password_hack=!1,g_input_cnt=0,g_isfirefox){for(a=LP.getBrowser().contentWindow;null!=a.top&&a.top!=a;)a=a.top;a=lpGetBrowserForDocument(a.document);LP.checkShouldRecheck(a)}else g_input_cnt=0,checkShouldRecheck();g_popupfill_parent_last=g_popupfill_parent;g_popupfill_parent=null;g_minheight_override=g_minwidth_override=g_popupfill_iframe_height_save= g_popupfill_iframe_width_save=g_popupfill_ctr=0;"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&LPfn.ie_set_kbdnav(!1)}}function popupfill_resize(a){do_experimental_popupfill&&(a||(a=document?document:LP.getBrowser().contentDocument),null==a&&"undefined"!=typeof g_isfirefox&&g_isfirefox?end_weasel():0<a.location.href.indexOf(".xul")||(relocate_popupfill_clickables(a),relocate_popupfill_iframes(a),!1==g_weaseled&&weasel(100),g_weaseled=!0))}var MSGDIVID="__lpsuggestmsgdiv"; function do_save_suggest_msg(a,b){if(null!=b&&!do_bgiconinput)return!1}function destroy_save_suggest_msg(){return!1}function LP_measureTextCacheSet(a,b,c,d){if(null==a||null==b||null==c||0===b.length||0===c.length||null==d)return null;"undefined"==typeof a.g_LP_measureText_cache&&(a.g_LP_measureText_cache=[]);null==a.g_LP_measureText_cache[c]&&(a.g_LP_measureText_cache[c]={});a.g_LP_measureText_cache[c][b]=d;return!0} function LP_measureTextCacheGet(a,b,c){return null==a||(null==b||null==c||0===b.length||0===c.length)||"undefined"==typeof a.g_LP_measureText_cache?null:null!=a.g_LP_measureText_cache[c]&&null!=a.g_LP_measureText_cache[c][b]?a.g_LP_measureText_cache[c][b]:null} function chk_form_changepw(a,b){if(null==a||null==b)return!1;for(var c=lpCheckCurrentPWField(b),d=!1,e=null,f=null,g=1;2>=g;g++){var d=!1,e=f=null,h=-1;if(1==g){if(c)for(var j=0;j<b.elements.length;j++)if(b.elements[j]==c){h=j+1;break}}else h=0;if(-1!=h){for(j=h;j<b.elements.length;j++)if(h=b.elements[j],"FIELDSET"!=h.tagName)if(isInputFieldPassword(a,h)){if(d||!e||!f)if(f=e,e=h,d&&e&&f)break;d=!0}else d=!1;if(e&&f)break}}return null!=e&&null!=f&&null!=c?!0:!1} function change_clickable_icon_to_cancel(a,b){if(null!=a&&g_use_grey_icons){var c=a.getElementById(b+"_icon");if(null!=c){if(null==a.getElementById(b))return!1;c.src=close_svg;c.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_close_ico+"';");c.style.opacity="0.6";c.style.filter="alpha(opacity=60)"}}} function revert_clickable_icon(a,b){verbose_log("entered revert_clickable_icon");if(null!=a&&g_use_grey_icons){var c=LP_getElementByIdOrName(a,b),d=getIconState(a,b),e=!1,f="sites";d&&"undefined"!=typeof d.dofloater&&(e=d.dofloater);d&&"undefined"!=typeof d.fillhint&&(f=d.fillhint);verbose_log("entered BG image revert");c?e?reset_floating_icon(a,c,f):set_input_icon_image(a,c,f):verbose_log("could not find field named "+field_id)}} function visual_cue_frag(a,b){var c="";if(null===a||0>=a.length)return c;popup_show_menu_expand_visual_cue&&(c="",g_visual_cue_on_hover&&(c=" style='display:none;'"),c="<span id='"+a+lp_ofa(b)+"' expander='true' class='expander' "+c+"><img id='"+a+"img"+lp_ofa(b)+"' src='arrow.png' /> <\/span>\n");return c} function conditional_create_popup(a,b,c){if(null==a||null==b||!g_clickable_input)return!1;if(!("undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin))return!0;var d=b.form,e=form_get_username(a,d),f=form_get_password(a,d);null==d&&checkDocumentForLoginOrphans(a)&&(e=doc_get_orphan_username(a),f=doc_get_orphan_password(a));if(!(null==e||null==f)){var g=checkDocumentForLoginOrphans(a),g=chk_form_has_password(a,d)||g,h=chk_form_is_nonlogin_form(a,d),d=chk_form_ask_generate(a,d),j=LPMAGIC+LP_pickFieldName(a, b),j=a.getElementById(j);if("undefined"!=typeof e.value&&0<e.value.length&&"undefined"!=typeof f.value&&0<f.value.length&&(g||d)&&!h){if(null!=j)return g_popup_active_username=e,g_popup_active_password=f,popuptoggle(a,null,LP_pickFieldName(a,b),NO_FORCE_GENERATE,c),!0}else if(h||d)if(isInputFieldPassword(a,b))d&&g_aspx_hack&&isASPpage()&&!isContigPW(a,b.form,b)?null!=j&&(g_popup_active_username=e,g_popup_active_password=f,popuptoggle(a,null,LP_pickFieldName(a,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)): null!=j&&(g_popup_active_username=e,g_popup_active_password=f,popuptoggle(a,null,LP_pickFieldName(a,b),FORCE_OFFER_GENERATE,FORCE_SHOW_NOHITS));else if(looksLikeUsername(b)||looksLikeEmail(a,b))g_popup_active_username=e,g_popup_active_password=f,popuptoggle(a,null,LP_pickFieldName(a,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)}return!1} function form_get_password(a,b){if(null==a||null==b)return null;g_ctr_form_get_password_N++;var c=b.elements;if("undefined"!=typeof Math){for(var d=Math.floor(1E4*Math.random()),e=0;e<c.length;e++){var f=c[e];if("FIELDSET"!=f.tagName&&checkIsDisplayed(a,f,0,null,d)&&isInputFieldPassword(a,f))return f}return null}} function form_get_username(a,b){if(null==a||null==b)return null;g_ctr_form_get_username_M++;var c=b.elements;if("undefined"!=typeof Math){for(var d=Math.floor(1E4*Math.random()),e=0;e<c.length;e++){var f=c[e];if("FIELDSET"!=f.tagName&&checkIsDisplayed(a,f,0,null,d)&&("text"==f.type||"email"==f.type||looksLikeUsername(f)))return f}return null}} function doc_get_orphan_username(a){if(null==a)return null;g_ctr_orphan_get_username_P++;var b=["input"];if("undefined"!=typeof Math){for(var c=Math.floor(1E4*Math.random()),d=0;d<b.length;d++)for(var e=a.getElementsByTagName(b[d]),f=0;f<e.length;f++){if(100<f)return null;var g=e[f];if(null==g.form&&checkIsDisplayed(a,g,0,null,c)&&("text"==g.type||"email"==g.type||looksLikeUsername(g)))return g}return null}} function doc_get_orphan_password(a){if(null==a)return null;g_ctr_orphan_get_password_Q++;var b=["input"];if("undefined"!=typeof Math){for(var c=Math.floor(1E4*Math.random()),d=0;d<b.length;d++)for(var e=a.getElementsByTagName(b[d]),f=0;f<e.length;f++){if(100<f)return null;var g=e[f];if(null==g.form&&checkIsDisplayed(a,g,0,null,c)&&isInputFieldPassword(a,g))return g}return null}} function set_active_username_password(a,b){if(null==a||null==b)g_popup_active_password=g_popup_active_username=null;else{var c=form_get_username(a,b),d=form_get_password(a,b);null==b&&checkDocumentForLoginOrphans(a)&&(c=doc_get_orphan_username(a),d=doc_get_orphan_password(a));g_popup_active_username=c;g_popup_active_password=d}}function looksLikeEmail(a,b){return null==a||null==b||!("text"==b.type||"email"==b.type)?!1:"email"==b.type||RegExp(lpgs("ff_email_regexp"),"i").exec(b.name)?!0:!1} function is_search_field(a,b,c){if(null==a||null==b||"INPUT"!=b.tagName)return!1;null===c&&(c=!1);var d=b.form,e=[];null!=d&&(e=d.elements);LP_pickFieldName(a,b);return(null!=b.className&&0<=b.className.toLowerCase().indexOf("search")||0<=b.className.toLowerCase().indexOf("srch")||0<=b.id.toLowerCase().indexOf("search")||0<=b.id.toLowerCase().indexOf("srch")||0<=b.name.toLowerCase().indexOf("search")||0<=b.name.toLowerCase().indexOf("srch"))&&0>b.name.toLowerCase().indexOf("user")&&0>b.name.toLowerCase().indexOf("login")&& 0>b.id.toLowerCase().indexOf("user")&&0>b.id.toLowerCase().indexOf("login")&&(c||5>e.length)?!0:!1}function is_date_field(a){var b=a.name,c=/(?:date)|(?:calendar)/i,b=a.name;a=a.id;return c.exec(b)||c.exec(a)?!0:!1} function is_search_form(a,b){if(null==a||null==b||"FORM"!=b.tagName)return!1;var c=LP_pickFormName(a,b);return null!=b.id&&0<b.id.length&&"undefined"!=typeof b.id.toLowerCase&&(0<=b.id.toLowerCase().indexOf("search")||0<=b.id.toLowerCase().indexOf("srch"))||null!=b.name&&0<b.name.length&&"undefined"!=typeof b.name.toLowerCase&&(0<=b.name.toLowerCase().indexOf("search")||0<=b.name.toLowerCase().indexOf("srch"))?(verbose_log("form "+c+" appears to be a search field based on name/id "),!0):!1} function LP_pickFormName(a,b){var c="none";if(null!=b&&(c=LP_getname(b,LP_GETNAME_FAVOR_ID_OVER_NAME),null==c||0>=c.length))c=null!=b.action&&0<=b.action.length||null!=b.className&&0<=b.className.length?"FF"+b.action+b.className:"none";return c} function looksLikeUsername(a,b){null===b&&(b=!1);g_ctr_looksLikeUsername_R++;if(!b&&"text"!=a.type&&"email"!=a.type)return!1;var c=RegExp(lpgs("ff_username_regexp"),"i");if(c.exec(a.name))return!0;var d=a.getAttribute("placeholder");if(null!=d&&0<=d.indexOf("Login"))return!0;d=RegExp(lpgs("ff_loginform_regexp"),"i");if(a.form)for(var e=a.form.elements,f=0;f<e.length;f++)if("submit"==e[f].type&&(e[f].name&&c.exec(e[f].name)||d.exec(e[f].name)))return!0;c=/^id$|.*-id|online.*id$/;if(c.exec(a.name))return!0; if(g_is_specialsite){c=RegExp(lpgs("ff_bankacctnum_regexp"),"i");if(c.exec(a.name))return!0;c=RegExp(lpgs("ff_company_regexp"),"i");if(c.exec(a.name))return!0}return!1}function formHasUsernameField(a){if(a=a.form){a=a.elements;for(var b=0;b<a.length;b++){var c=a[b];if("text"==c.type||"email"==c.type)return!0}}return!1}var DOUBLE_TEXT_VISIBLE=1,DOUBLE_PW_VISIBLE=2,DOUBLE_SECRET_TEXT_VISIBLE=3,DOUBLE_SECRET_PW_VISIBLE=4,NOT_DOUBLE_PW=0; function fieldIsDoublePassword(a,b){"document"==a&&(a=document,b=LP_getElementByIdOrName(a,b));if(null==a&&(a=document,!a))return!1;if(null==b||"checkbox"==b.type||"button"==b.type||"submit"==b.type||"select-one"==b.type)return NOT_DOUBLE_PW;var c=null,d=null,e=null,f=null;if("undefined"!=typeof b.previousElementSibling)c=b.previousElementSibling;else if((c=b.previousSibling)&&null!=c.nodeType&&3==c.nodeType)c=c.previousSibling;if("undefined"!=typeof b.nextElementSibling)d=b.nextElementSibling;else if((d= b.nextSibling)&&null!=d.nodeType&&3==d.nodeType)d=d.nextSibling;c&&"INPUT"!=c.tagName&&(c=null);d&&"INPUT"!=d.tagName&&(d=null);if(c){if("undefined"!=typeof c.previousElementSibling)e=c.previousElementSibling;else if((e=c.previousSibling)&&null!=e.nodeType&&3==e.nodeType)e=e.previousSibling;e&&"INPUT"!=e.tagName&&(e=null)}if(d){if("undefined"!=typeof d.nextElementSibling)f=d.nextElementSibling;else if((f=d.nextSibling)&&null!=f.nodeType&&3==f.nodeType)f=f.nextSibling;f&&"INPUT"!=f.tagName&&(f=null)}if("undefined"!= typeof Math){var g=Math.floor(1E4*Math.random());if("password"==b.type&&!checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&!checkIsDisplayed(a,c,-1,null,g)&&d&&"text"==d.type&&checkIsDisplayed(a,d,-1,null,g)&&f&&"text"==f.type&&checkIsDisplayed(a,f,-1,null,g)||"text"==b.type&&checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&checkIsDisplayed(a,c,-1,null,g)&&e&&"password"==e.type&&!checkIsDisplayed(a,e,-1,null,g))return verbose_log("field "+LP_pickFieldName(a,b)+" needs double secret password hack"), g_double_secret_password_hack=!0,DOUBLE_SECRET_TEXT_VISIBLE;if("password"==b.type&&checkIsDisplayed(a,b,-1,null,g)&&c&&"text"==c.type&&!checkIsDisplayed(a,c,-1,null,g)||"text"==b.type&&!checkIsDisplayed(a,b,-1,null,g)&&d&&"password"==d.type&&checkIsDisplayed(a,d,-1,null,g))return verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_PW_VISIBLE;var e=null!=b&&lpIsVisible(b,!0),f=null!=c&&lpIsVisible(c,!0),g=null!=d&&lpIsVisible(d,!0),h=null!=b&& looksLikeUsername(b),j=null!=c&&looksLikeUsername(c),l=null!=d&&looksLikeUsername(d);return"password"==b.type&&!e&&c&&"text"==c.type&&f&&!j||"text"==b.type&&e&&!h&&d&&"password"==d.type&&!g||"password"==b.type&&!e&&d&&"text"==d.type&&g&&!l||"text"==b.type&&e&&!h&&c&&"password"==c.type&&!f?(verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_TEXT_VISIBLE):"password"==b.type&&e&&c&&"text"==c.type&&!f&&!j||"text"==b.type&&!e&&d&&"password"==d.type&& g||"password"==b.type&&e&&d&&"text"==d.type&&!g&&!l||"text"==b.type&&!e&&c&&"password"==c.type&&f?(verbose_log("field "+LP_pickFieldName(a,b)+" needs double password hack"),g_double_password_hack=!0,DOUBLE_PW_VISIBLE):NOT_DOUBLE_PW}}var g_did_setupInputObserver=!1; function setupInputObserver(a){null==a&&(a=document);var b;if(b=do_experimental_popupfill)b="undefined"!=typeof g_isfirefox&&g_isfirefox?a?a.g_did_setupInputObserver:null:g_did_setupInputObserver,b=!b;if(b){b="undefined"!=typeof window&&window?window:a.defaultView;var c=null;if("undefined"!=typeof WebKitMutationObserver)c=new WebKitMutationObserver(function(a){mutationObserverCallBack(a)});else if("undefined"==typeof MutationObserver)if("undefined"!=typeof b.MutationObserver)c=new b.MutationObserver(function(a){mutationObserverCallBack(a)}); else return;null!=c&&(c.observe(a,{childList:!0,subtree:!0}),"undefined"!=typeof g_isfirefox&&g_isfirefox?a&&(a.g_did_setupInputObserver=!0):g_did_setupInputObserver=!0)}} function mutationObserverCallBack(a){g_ctr_mutation_observer++;var b=!1;a.forEach(function(a){g_isfirefox&&LP.getBrowser();var c;if(!1==b)for(c=0;c<a.addedNodes.length;c++){var f=a.addedNodes[c];if("INPUT"==f.tagName||"SCRIPT"==f.tagName&&""!=f.src&&""===f.innerHTML){b=!0;break}}if(!1==b)for(c=0;c<a.removedNodes.length;c++)if("INPUT"==a.removedNodes[c].tagName){b=!0;break}});a=(new Date).getTime();if(b){if(g_isfirefox){for(var c=LP.getBrowser().contentWindow;null!=c.top&&c.top!=c;)c=c.top;c=lpGetBrowserForDocument(c.document); LP.checkShouldRecheck(c)}else checkShouldRecheck();g_last_recheck=a}} function enableScrollOnIframe(a,b){null==b&&(b=document?document:LP.getBrowser().contentDocument);if(null==b)return null;verbose_log("enabling Scroll on Iframe for "+b.location.href);var c=b.getElementsByTagName("IFRAME"),d,e=null;if(null!=c&&0<c.length)for(d=0;d<c.length;d++){var e=c[d],f=a.replace(/^(https:|http:)/,"");verbose_log("checking iframe src="+lp_ofa(e.src)+" passed href="+lp_ofa(a));if(e.src==a||0<e.src.indexOf(a)||0<e.src.indexOf(f))"undefined"!=typeof g_isie&&g_isie?(e.setAttribute("scrolling", "auto"),e.style.overflow="visible",e.style.maxHeight="none"):(e.setAttribute("scrolling","auto"),e.style.overflow="auto"),verbose_log("enabling scroll on iframe to "+lp_ofa(a))}} function enableScrollWithinIframe(a,b){null==a&&(a=document);null==b&&(b=window);if(is_your_popup_showing(a)&&b.self!=b.top)if(verbose_log("enabling scroll on body of iframe"),g_isfirefox)a.body.style.overflow="auto";else if(g_isie){var c=0;"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&(c=LPfn.getDocumentMode(document));7<c?(a.body.style.overflow="visible",a.body.setAttribute("scroll","auto")):a.body.setAttribute("overflow","auto")}else a.body.style.overflow="auto"} function LP_getIframeBySrc(a,b){null==a&&(a=document);var c=a.getElementsByTagName("IFRAME"),d;for(d=0;d<c.length;d++)if(c[d].src==b)return c[d];return null}function destroy_clickables(a){do_experimental_popupfill&&(a||(a=document),null!=a&&(end_weasel(a),closepopupfills(a),closeclickableicons(a),g_save_suggest_msg&&setTimeout(function(){destroy_save_suggest_msg(a,MSGDIVID,null);return!1},0),g_isie&&remove_LPfn()))} function closeclickableicons(a){if(do_experimental_popupfill&&(a||(a=document),null!=a)){verbose_log("closeclickableicons called on "+a.location.href);var b=getAllIconStates(),c,d;for(c=0;c<b.length;c++){var e=b[c];(d=e.IHTMLElement)||(d=LP_getElementByIdOrName(a,e.idorname));if(!e.dofloat&&e.inframe&&!d){if(g_isfirefox)try{var f,g,h=a.getElementsByTagName("IFRAME");for(f=0;f<h.length;f++)g=h[f].contentDocument,(d=LP_getElementByIdOrName(g,e.idorname))&&"INPUT"==d.tagName&&removeLPBackground(d)}catch(j){verbose_log("Error frame traverse "+ j.message),g=null}}else!e.dofloater&&(d&&inputHasLPBackground(d))&&removeLPBackground(d);resetAllIconStates()}b=LP_get_icon_divs(a);for(f in b)b.hasOwnProperty(f)&&null!=a.getElementById(b[f])&&(g_do_icon_number_hint&&LP_delete_floating_icon_hint(a,b[f]),LP_delete_floating_icon(a,b[f]));LP_reset_icon_divs(a)}}function sort_popupfill_bylasttouch(a,b){return(null==b||null==b.last_touch||0==b.last_touch?1073741824:b.last_touch)-(null==a||null==a.last_touch||0==a.last_touch?1073741824:a.last_touch)} function ContigPWHack(a,b,c){null===a&&(a=document);if(null===a||"undefined"==typeof a.getElementsByTagName)return!1;var d=lpCountInputFields(b);if("undefined"!=typeof Math){b=Math.floor(1E4*Math.random());if((3==d.passwordvisible||4==d.passwordvisible)&&!0===d.passwordsContiguous)for(var e=a.getElementsByTagName("input"),d=0;d<e.length&&!(100<d);d++)if(e[d]==c){if("undefined"!=typeof e[d+1]&&"password"==e[d+1].type&&"undefined"!=typeof e[d+2]&&"password"==e[d+2].type&&checkIsDisplayed(a,e[d],-1, null,b)&&checkIsDisplayed(a,e[d+1],-1,null,b)&&checkIsDisplayed(a,e[d+2],-1,null,b))return!0;break}return!1}} function isContigPW(a,b,c){null==b&&(b=a);var d=b.getElementsByTagName("input");if("undefined"!=typeof Math){var e=Math.floor(1E4*Math.random());for(b=0;b<d.length;b++)if(d[b]==c&&"password"==d[b].type){if("undefined"!=typeof d[b+1]&&"password"==d[b+1].type&&checkIsDisplayed(a,d[b],-1,null,e)&&checkIsDisplayed(a,d[b+1],-1,null,e)||"undefined"!=typeof d[b-1]&&"password"==d[b-1].type&&checkIsDisplayed(a,d[b],-1,null,e)&&checkIsDisplayed(a,d[b-1],-1,null,e))return!0;break}return!1}} function get_prev_field(a,b){if("undefined"!=typeof b.previousElementSibling)prev_field=b.previousElementSibling;else if((prev_field=b.previousSibling)&&null!=prev_field.nodeType&&prev_field.nodeType==TEXT_NODE)prev_field=prev_field.previousSibling}function get_next_field(a,b){if("undefined"!=typeof b.nextElementSibling)next_field=b.nextElementSibling;else if((next_field=b.nextSibling)&&null!=next_field.nodeType&&next_field.nodeType==TEXT_NODE)next_field=next_field.nextSibling} function is_modifier_key(a){if("undefined"!=typeof KeyEvent){if(a==KeyEvent.DOM_VK_ALT||a==KeyEvent.DOM_VK_SHIFT||a==KeyEvent.DOM_VK_CONTROL||a==KeyEvent.DOM_VK_WIN||a==KeyEvent.DOM_VK_META)return!0}else if(16==a||17==a||18==a||91==a||92==a||224==a)return!0;return!1}var tldcache=[]; function gettldcached(a){try{if("undefined"!=typeof tldcache[a])return tldcache[a];var b="undefined"!=typeof punycode?lp_gettld_url(punycode.URLToASCII(a)):lp_gettld_url(a);return tldcache[a]=b}catch(c){return lp_gettld_url(a)}} function setup_input_icon(a,b,c,d){g_isfirefox&&verbose_log("setup_input_icon");if(null==b)return verbose_log("setup_input_icon: ERROR passed null field"),!1;var e=null,e="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;if(!do_experimental_popupfill)return!1;a||(a=e);var f=LP_pickFieldName(a,b);if(null==b||(!e|| !a)||LP_explicit_ignored(a,b))return!1;if("generate"==c||shouldOfferGenerate(a,b))c="generate";var g=gettldcached(a.location.href),h=shouldCreateFloatingIcon(a,b,g);saveIconState(f,{fillhint:c,fillhintnumber:d[c],inframe:a!=e,idorname:f,doctld:g,dofloater:h?1:0,IHTMLElement:b},b);h?(g_isfirefox&&verbose_log("setup_input_icon step3b"),lpIsVisible(b)&&(b.form&&lpIsVisible(b.form))&&LP_create_floating_icon(a,b,c,d)):(g_isfirefox&&verbose_log("setup_input_icon step3a"),set_input_icon_image(a,b,c,!1)); set_bg_highlight_effect_handlers(a,b,c);"true"!==a.documentElement.getAttribute("keydn")&&(a.documentElement.setAttribute("keydn","true"),LP_addEventHandler(a,"keydown",function(a){LP_keypress_handler(a)},!1));"true"!==b.getAttribute("keyev")&&(b.setAttribute("keyev","true"),LP_addEventHandler(b,"keydown",function(d){LP_field_keypress_handler(d,b,c,a)},!1));return!1}function refresh_input_icon_bg(a,b,c){null==a&&(a=document);null!=a&&b&&set_input_icon_image(a,b,c,!1)} function refresh_input_all_icon_bg(a){null==a&&(a=document);if(null!=a){try{if(0<a.location.href.indexOf(".xul"))return;verbose_log("refreshing input icons on "+a.location.href)}catch(b){return}var c=getAllIconStates(),d;for(d=0;d<c.length;d++){var e=c[d].idorname,f=c[d].fillhint,g=c[d].dofloater,h=c[d].IHTMLElement;h||(h=LP_getElementByIdOrName(a,e));h&&!g&&refresh_input_icon_bg(a,h,f)}}} function saveIconState(a,b,c){try{a=null;a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;"undefined"==typeof a.lpiconarr&&(a.lpiconarr=[]);var d;for(d=0;d<a.lpiconarr.length;d++){var e=a.lpiconarr[d];if(e.idorname==b.idorname&&e.IHTMLElement==b.IHTMLElement&&e.inframe==b.inframe){if(!checkIsDisplayed(c.ownerDocument, c,null,null,null,!0))return;a.lpiconarr.splice(d,1)}}a.lpiconarr.push(b)}catch(f){verbose_log("save error "+f.message)}} function getIconState(a,b){var c=null,c="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document,d={};if("undefined"!=typeof c.lpiconarr){var e;for(e=0;e<c.lpiconarr.length;e++){var f=c.lpiconarr[e];f.idorname==b&&f.inframe==(a!=c)&&(d=f)}}return d} function deleteIconState(a,b){var c=null,c="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("delete icon state from "+c.location.href+" for "+b);if("undefined"!=typeof c.lpiconarr){var d;for(d=0;d<c.lpiconarr.length;d++){var e=c.lpiconarr[d];e.idorname==b&&e.inframe==(a!=c)&&c.lpiconarr.splice(d,1)}}} function getAllIconStates(){var a=null,a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("getting all icon states for "+a.location.href);return"undefined"!=typeof a.lpiconarr?a.lpiconarr:[]} function resetAllIconStates(){var a=null,a="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document;verbose_log("resetting icon states for "+a.location.href);a.lpiconarr=[]} function set_input_icon_image(a,b,c,d){var e,f=[];f[0]=g_sites_light_ico;f[1]=g_pw_light_ico;f[3]=g_close_light_ico;f[-1]="";f[2]=g_ff_light_ico;f[16]=g_sites_ico;f[17]=g_pw_ico;f[19]=g_close_ico;f[-17]="";f[18]=g_ff_ico;if(null==b)return!1;"undefined"==typeof c||null==c?e=0:"formfills"==c?e=2:"sites"==c?e=0:"generate"==c?e=1:"cancel"==c&&(e=3);d&&(e|=16);c=0;if("undefined"!=typeof g_isie&&g_isie)if("undefined"!=typeof b.currentStyle){var g=b.currentStyle;g&&(c=parseInt(g.width))}else return!1;else if(c= b.style.width.replace(/px/,""),""==c)try{g=b.ownerDocument.defaultView.getComputedStyle(b,""),c=g.width.replace(/px/,"")}catch(h){"undefined"!=typeof b.currentStyle&&(g=b.currentStyle,c=g.width.replace(/px/,""))}if(0<c&&30>c)return!0;c=b.style.backgroundImage;if(""==c)try{g=b.ownerDocument.defaultView.getComputedStyle(b,""),c=g.backgroundImage}catch(j){"undefined"!=typeof b.currentStyle&&(c=b.currentStyle.backgroundImage)}"none"==c&&(c="");0<=e&&("undefined"==typeof f[e]&&verbose_log("no icon defined for iconval="+ e),a=("undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin)?0==e||16==e?getnumbericon(a,b,d):f[e]:f[e],c!="url("+a+")"&&(b.style.backgroundImage="url("+a+")",a=b.ownerDocument.location.href,b.style.paddingRight=0<=a.indexOf("live.com")?"18px":0<=a.indexOf("twitter.com")?"16px":"0px","no-repeat"!=b.style.backgroundRepeat&&(b.style.backgroundRepeat="no-repeat"),"scroll"!=b.style.backgroundAttachment&&(b.style.backgroundAttachment="scroll"),"center right"!=b.style.backgroundPosition&&(b.style.backgroundPosition= "center right")));return!0} function set_bg_highlight_effect_handlers(a,b,c){b&&("true"!==b.getAttribute("mouseev")&&(b.setAttribute("mouseev","true"),LP_addEventHandler(b,"mouseover",function(d){bg_highlight_effect_mouseover(d,a,b,c)}),LP_addEventHandler(b,"mouseout",function(d){bg_highlight_effect_mouseout(d,a,b,c)}),LP_addEventHandler(b,"mousemove",function(d){bg_highlight_effect_mousemove(d,a,b,c)})),"sites"==c&&("undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin)&&b.setAttribute("autocomplete","off"))} function bg_highlight_effect_mousemove(a,b,c){null==a&&(a=window.event);a=LP_getMousePos(a);if(!(0>=a.x&&0>=a.y))if(b=LP_getAbsolutePos(b,c),0>=b.width&&0>=b.height)verbose_log("skipping field "+obj.idorname+" : no valid position");else{var d=b.left+b.width-20;d<b.left&&(d=b.left);c.style.cursor=d<a.x&&b.left+b.width>a.x&&b.top<a.y&&b.top+b.height>a.y?"pointer":"auto"}} function bg_highlight_effect_mouseover(a,b,c,d){null==a&&(a=window.event);if(!(is_your_popup_showing(b)&&b.g_popupfill_parent==c)&&LP_getEventTarget(a)==c){a=d;d=!1;var e=getIconState(b,LP_pickFieldName(b,c));!a&&(e&&e.hint)&&(a=e.hint);e&&e.dofloater&&(d=e.dofloater);a&&!d&&set_input_icon_image(b,c,a,!0)}} function bg_highlight_effect_mouseout(a,b,c,d){if(!(is_your_popup_showing(b)&&b.g_popupfill_parent==c)){a=d;d=!1;var e=getIconState(b,LP_pickFieldName(b,c));!a&&(e&&e.hint)&&(a=e.hint);e&&e.dofloater&&(d=e.dofloater);a&&!d&&set_input_icon_image(b,c,a,!1)}} function icon_click_handler(a){var b=null,b="undefined"!=typeof LP&&"function"==typeof LP.lpGetCurrentWindow?"undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument:g_isfirefox?top.document:document,c=!1,d=null,e=LP_getEventTarget(a).ownerDocument;e!=b&&(d=e,verbose_log("click inside iframe "+d.location.href));var f=LP_getEventTarget(a),g=LP_pickFieldName(e,f),h=LP_getMousePos(a);if(!(0>=h.x&&0>=h.y)){var j=getAllIconStates(), l,p;for(l=0;l<j.length;l++){var n="",e=j[l];if(e.inframe)if(d)(p=j[l].IHTMLElement)||(p=LP_getElementByIdOrName(d,e.idorname)),p&&(n=e.idorname);else{if(p=j[l].IHTMLElement)d=p.ownerDocument}else""!=g&&g==e.idorname?p=f:((p=j[l].IHTMLElement)||(p=LP_getElementByIdOrName(b,e.idorname)),p&&(n=e.idorname));if(d){if(p&&checkIsDisplayed(d,p,0)){var m=LP_getAbsolutePos(d,p);verbose_log("comparing click against field "+n+" (inside iframe) upper left="+m.left+","+m.top);verbose_log("comparing click against field "+ n+" (inside iframe) lower right ="+parseInt(m.left+m.width)+","+parseInt(m.top+m.height));if(0>=m.width&&0>=m.height)verbose_log("skipping field "+e.idorname+" : no valid position");else if(n=m.left+m.width-20,n<m.left&&(n=m.left),n<h.x&&m.left+m.width>h.x&&m.top<h.y&&m.top+m.height>h.y){c=!1;f=!0;h=g=!1;verbose_log("icon_click_handler calling popuptoggle() [iframe]");c="generate"==e.fillhint?!0:shouldOfferGenerate(d,p);"formfills"==e.fillhint&&(h=!0);b.g_popupfill_parent=p;popuptoggle(b,d,e.idorname, c,f,g,h,e.fillhint,e.fillhintnumber);c=!0;LP_stopEventPropagation(a);break}}}else if(p&&checkIsDisplayed(b,p,0))if(m=LP_getAbsolutePos(b,p),verbose_log("comparing click against field "+n+" upper left="+m.left+","+m.top),verbose_log("comparing click against field "+n+" lower right ="+(m.left+m.width)+","+(m.top+m.height)),0>=m.width&&0>=m.height)verbose_log("skipping field "+e.idorname+" : no valid position");else{if(n=m.left+m.width-20,n<m.left&&(n=m.left),n<h.x&&m.left+m.width>h.x&&m.top<h.y&&m.top+ m.height>h.y){f=!0;h=g=!1;verbose_log("icon_click_handler calling popuptoggle()");c="generate"==e.fillhint?!0:shouldOfferGenerate(b,p);"formfills"==e.fillhint&&(h=!0);b.g_popupfill_parent=p;popuptoggle(b,d,e.idorname,c,f,g,h,e.fillhint,e.fillhintnumber,p);c=!0;LP_stopEventPropagation(a);break}}else verbose_log("skipping field "+e.idorname+" : not found/visible")}return c}} function LP_getMousePos(a){var b;a=a||window.event;b=LP_getEventTarget(a).ownerDocument;verbose_log("LP_getMousePos doc="+b.location.href);if(0<b.location.href.indexOf(".xul"))return{x:0,y:0};var c=b.documentElement,d=c.scrollLeft||b.body.scrollLeft,c=c.scrollLeft||b.body.scrollLeft;g_isie&&(d=b.body,"undefined"==typeof b.g_posbodyrect_cache?(d=d.getBoundingClientRect(),b.g_posbodyrect_cache=d):d=b.g_posbodyrect_cache,c="undefined"!=typeof window&&window?window:b.defaultView,"pageXOffset"in c?(d= c.pageXOffset,b=c.pageYOffset):(c=1,"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof b.querySelector&&"undefined"==typeof b.addEventListener?c=1:d&&(c=Math.round(100*((d.right-d.left)/b.body.offsetWidth))/100),d=Math.round(b.documentElement.scrollLeft/c),b=Math.round(b.documentElement.scrollTop/c)),c=b);b=a.pageX||a.clientX+d;a=a.pageY||a.clientY+c;b=parseInt(b);a=parseInt(a);verbose_log("LP_getMousePos x,y="+b+","+a);return{x:b,y:a}} function popuptoggle(a,b,c,d,e,f,g,h,j,l){if(l)h=l;else if(b){if(0<b.location.href.indexOf(".xul"))return!0;h=LP_getElementByIdOrName(b,c)}else{if(0<a.location.href.indexOf(".xul"))return!0;h=LP_getElementByIdOrName(a,c)}j="sites";d?j="generate":f?j="save":g&&(j="formfills");if(is_your_popup_showing(a))closepopupfills(a),g_isfirefox?b?(b.g_popupfill_parent_last=b.g_popupfill_parent,b.g_popupfill_parent=null):(a.g_popupfill_parent_last=a.g_popupfill_parent,a.g_popupfill_parent=null):(g_popupfill_parent_last= g_popupfill_parent,g_popupfill_parent=null);else{verbose_log("iframe does not exist, now create it");g="undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin;if(!g){if("undefined"!=typeof LP&&"undefined"!=typeof LP.lpOpenLogin){LP.lpOpenLogin();return}if(!g_isie){sendBG({cmd:"dologinaction"});return}}g_isfirefox?b?b.g_popupfill_parent=h:a.g_popupfill_parent=h:g_popupfill_parent=h;f=f?!0:!1;g_isie?"undefined"!=typeof init_LPfn&&init_LPfn()&&LPfn.ie_set_lpifmsg(a,h,d,f,j):g_isfirefox||(g=LP_pickFormName(h.ownerDocument, h.form),d=d?1:0,sendBG({cmd:"setpopupfilllastactive",active:g,activefieldid:LP_pickFieldName(document,h),ask_generate:d,opentosave:f,activefieldtype:h.type,start_type:j}));!g_isfirefox&&!g_isie&&sendBG({cmd:"popupregister",docnum:g_docnum});f=("function"==typeof ff_calculate_iframe_pos?ff_calculate_iframe_pos:calculate_iframe_pos)(a,h,"300px");d=f.posx;f=f.posy;if(g_isfirefox)ff_popupfill_create_iframe(a,d,f,c,null,null,h,j);else{g=chk_form_is_nonlogin_form(document,h.form);j=checkDocumentForLoginOrphans(document); l=chk_form_has_password(document,h.form)||j;j=g_popupfill_rows;g&&!l&&(j=g_popupfill_rows_FF);l=g_popupfill_widest+40;120>l&&(l=120);l<g_popupfill_parent.offsetWidth&&(l=g_popupfill_parent.offsetWidth,l+=2*Math.abs(POPUP_FIELD_OFFSET));if(1==j&&!create_onerow_iframe){g=null;g_fillaid&&(g=g_fillaid);isEmptyObject(g_autofillsites)||(g=g_autofillsites[0].aid);if(null!=g){sendBG({cmd:"autofillaid",aid:g});verbose_log("filling only, not creating 1 row iframe");return}verbose_log("tried to fill form with invalid acct")}if(0== j&&!do_popup_actions||0==j&&e==NO_FORCE_NOHITS)verbose_log("not creating empty iframe");else if(g="undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin,g_dologin_clickable&&!g&&(!g_isie||g_isie&&e==FORCE_SHOW_NOHITS_NOLOGIN)){verbose_log("login state: checking whether to issue Chrome login prompt");if(e==FORCE_SHOW_NOHITS_NOLOGIN)return;if(!g_isie){sendBG({cmd:"dologinaction"});return}}popupfill_create_iframe(a,d,f,c,j,l,g_minheight_override);g_popupfill_iframe_width_save=l}g_isfirefox?b?relocate_popupfill_iframes(b): relocate_popupfill_iframes(a):relocate_popupfill_iframes(a);a=b?b:a;b=!1;if(e=getIconState(a,c))b=e.dofloater;b?change_clickable_icon_to_cancel(a,LPMAGIC+c):set_input_icon_image(a,h,"cancel",!0)}}function isFirstFieldNonLoginSubForm(a,b){return null==a||null==b||"INPUT"!=b.tagName||"password"==b.type||"hidden"==b.type?!1:"text"==b.type&&(regexp=RegExp(lpgs("ff_firstname_regexp"),"i"),regexp.exec(b.name)||regexp.exec(b.id))?!0:!1} function isASPpage(){var a=!1;if(g_isfirefox){var b;(b="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument)?a=b.g_found_aspx:verbose_log("unable to get g_found_aspx in isASPpage() for "+b?b.location.href:"null")}else a=g_found_aspx;a||(a=!1);return a} function setASPpage(a){null==a&&(a=!0);if(g_isfirefox){var b;(b="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument)?ret=b.g_found_aspx=a:verbose_log("unable to set g_found_aspx in isASPpage() for "+b?b.location.href:"null")}else g_found_aspx=a,ret=!0;ret||(ret=!1);return ret} function LP_getname_or_idx(a,b,c){if(!a&&(a=document,!a))return"";c=LP_getname(b,c);if(""===c||null===c)if("INPUT"==b.tagName||"input"==b.tagName)c=LP_inputidx_to_name(a,LP_getinputidx(a,b));return c}function LP_getinputidx(a,b){if(!a&&(a=document,!a))return"";for(var c=a.getElementsByTagName("INPUT"),d=0,d=0;d<c.length;d++)if(c[d]==b)return d;return""}var LPMAGICINPUTIDX="input_idx_";function LP_inputidx_to_name(a,b){if(null!==b&&is_valid_input_indexes(a))return LPMAGICINPUTIDX+b} function LP_name_is_inputidx(a,b){return 0==b.indexOf(LPMAGICINPUTIDX)&&b.length>LPMAGICINPUTIDX.length?!0:!1}function LP_getinputidx_from_name(a,b){return is_valid_input_indexes(a)&&0==b.indexOf(LPMAGICINPUTIDX)?b.substr(LPMAGICINPUTIDX.length):null}function LP_getElementByIdx(a,b){var c=null;is_valid_input_indexes(a)&&(c=a.getElementsByTagName("INPUT")[b]);return c}function invalidate_input_indexes(a){if(!a&&(a=document,!a))return;a.g_need_to_recompute_input_index=!0} function validate_input_indexes(a){if(!a&&(a=document,!a))return;a.g_need_to_recompute_input_index=!1}function is_valid_input_indexes(){return!0} function inputHasLPBackground(a){if(null==a)return!1;var b=null;try{b=a.ownerDocument.defaultView.getComputedStyle(a,"")}catch(c){"undefined"!=typeof a.currentStyle&&(b=a.currentStyle)}if(b&&("INPUT"==a.tagName||"input"==a.tagName))if(""!=b.backgroundImage&&(-1!=b.backgroundImage.indexOf(g_sites_light_ico)||-1!=b.backgroundImage.indexOf(g_pw_light_ico)||-1!=b.backgroundImage.indexOf(g_close_light_ico)||-1!=b.backgroundImage.indexOf(g_ff_light_ico)||-1!=b.backgroundImage.indexOf(g_sites_ico)||-1!= b.backgroundImage.indexOf(g_pw_ico)||-1!=b.backgroundImage.indexOf(g_close_ico)||-1!=b.backgroundImage.indexOf(g_ff_ico)||-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!0))||-1!=b.backgroundImage.indexOf(getnumbericon(a.ownerDocument,a,!1))))return!0;return!1} function removeLPBackground(a){if(!a)return!1;try{a.style.backgroundImage="none",a.style.backgroundRepeat="repeat",a.style.backgroundAttachment="scroll",a.style.backgroundPosition="0 0"}catch(b){return verbose_log("removeLPBackground error: "+b.message),!1}return!0}var KEY_ESCAPE=27; function LP_keypress_handler(a){a||(a=window.event);var b="undefined"!=typeof document?document:a&&a.target?a.target.ownerDocument:null;if(!b)return!1;a=a.keyCode;verbose_log("received key "+a);a==KEY_ESCAPE&&closepopupfills(b);return!1}var KEY_TAB=9,KEY_UP=38,KEY_DOWN=40,KEY_ENTER=13,KEY_SHIFT=16,KEY_RIGHT=39,KEY_PAGEDOWN=34,KEY_PAGEUP=33,KEY_END=35,KEY_HOME=36; function LP_field_keypress_handler(a,b,c,d){a||(a=window.event);if("undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin){d||(d="undefined"!=typeof document?document:a&&a.target?a.target.ownerDocument:null);if(!d||null==d.location)if(d=b.ownerDocument,g_isfirefox&&void 0!=typeof LP&&(!d||null==d.location))d="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;if(d){if(null==d.location)return verbose_log("LP_field_keypress_handler given a firefox zombie document?"), a="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument,closepopupfills(a),!1;c=a.keyCode;if(c==KEY_ESCAPE)closepopupfills(d);else if(c==KEY_TAB)closepopupfills(d);else if(c==KEY_DOWN)is_your_popup_showing(d)||(set_active_username_password(d,b.form),"undefined"!=typeof g_isie&&g_isie&&"undefined"!=typeof init_LPfn&&(init_LPfn()&&LPfn)&&LPfn.ie_set_kbdnav(!0),LP_pickFieldName(d,b),popuptoggle(d,null,LP_pickFieldName(d, b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS));else if(c!=KEY_UP&&!(c==KEY_SHIFT||0==c)&&!(c==KEY_RIGHT&&a.altKey)&&!is_modifier_key(c)&&c!=KEY_ENTER){if(g_ischrome&&g_setup_hotkey_handler){if(is_hotkey_event(a))return}else if(g_isie){var e;e=""+(a.ctrlKey?"control ":"");e+=a.metaKey?"meta ":"";e+=a.altKey?"alt ":"";e+=a.shiftKey?"shift ":"";verbose_log("keycode == "+c+" "+e);if("undefined"!=typeof a.metaKey&&a.metaKey||"undefined"!=typeof a.altKey&&a.altKey||"undefined"!=typeof a.ctrlKey&&a.ctrlKey)return}else if(g_isfirefox&& (e=""+(a.ctrlKey?"control ":""),e+=a.metaKey?"meta ":"",e+=a.altKey?"alt ":"",e+=a.shiftKey?"shift ":"",verbose_log("keycode == "+c+" "+e),is_hotkey_event(d,a)))return;if("password"==b.type&&formHasUsernameField(b))if(g_clickable_input_on_password)!is_your_popup_showing(d)&&!chk_form_ask_generate(d,b.form)&&conditional_create_popup(d,b,FORCE_SHOW_NOHITS_NOLOGIN);else return;if(!chk_form_has_password(d,b.form))return;is_your_popup_showing(d)||(g_clickable_input_on_password?(e=getIconState(d,LP_pickFieldName(d, b)))&&(e.fillhint&&"sites"==e.fillhint)&&conditional_create_popup(d,b,FORCE_SHOW_NOHITS_NOLOGIN):(LP_pickFieldName(d,b),popuptoggle(d,null,LP_pickFieldName(d,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)),g_keyboardNav=!0)}if(is_your_popup_showing(d)){c==KEY_UP&&(g_isfirefox?ff_do_popupfocusdecrement(1):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:1}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),LP_stopEventPropagation(a));c==KEY_DOWN&&(g_extended_kbd_nav&&a.altKey&& g_hide_navbar?is_your_popup_showing(d)&&!g_isfirefox&&(g_isie||sendBG({cmd:"popupfillinputshownavbar"})):(g_isfirefox?ff_do_popupfocusincrement(1):g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:1}),g_keyboardNav=!0),g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),LP_stopEventPropagation(a));if(c==KEY_ENTER&&(verbose_log("Enter Received, checking field"),(g_isfirefox?d.g_popupfill_parent:g_popupfill_parent)==b&&g_keyboardNav))g_isfirefox?(verbose_log("Enter Received, Choose Action"), ff_do_popupfocuschoose(!0)):g_isie||sendBG({cmd:"popupfillinputfocuschoose"}),g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a);c==KEY_PAGEUP&&(g_isfirefox?ff_do_popupfocusdecrement(12):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:12}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a));c==KEY_PAGEDOWN&&(g_isfirefox?ff_do_popupfocusincrement(12): g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:12}),g_keyboardNav=!0,g_ischrome&&g_setup_hotkey_handler&&handle_hotkey(a),g_isfirefox&&is_hotkey_event(d,a),LP_stopEventPropagation(a));c==KEY_END&&(g_isfirefox?ff_do_popupfocusincrement(1073741824):g_isie||sendBG({cmd:"popupfillinputfocusincrement",count:1073741824}),g_keyboardNav=!0);c==KEY_HOME&&(g_isfirefox?ff_do_popupfocusdecrement(1073741824):g_isie||sendBG({cmd:"popupfillinputfocusdecrement",count:1073741824}),g_keyboardNav=!0)}return!1}}} function shouldCreateFloatingIcon(a,b,c){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a||!b)return!1;if(-1!=c.indexOf("stripe.com"))return!0;if(-1!=c.indexOf("dominos.com"))return!1;if(-1!=a.location.href.indexOf("mybenefits.metlife.com"))return!0;var d;if(g_isie&&b.currentStyle)d=b.currentStyle;else try{d=b.ownerDocument.defaultView.getComputedStyle(b,"")}catch(e){"undefined"!=typeof b.currentStyle&&(d=b.currentStyle)}if(d&&d.backgroundImage&&"none"!=d.backgroundImage&&!inputHasLPBackground(b))return verbose_log("will create floating icon for field "+ b.id),!0;verbose_log("should not create floating icon for field "+b.id);return!1} function LP_create_floating_icon(a,b,c,d){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return!1;var e=a.getElementsByTagName("body")[0],f,g;f=LP_pickFieldName(a,b);getIconState(a,f);var h=LPMAGIC+f;if(null==LP_getElementByIdOrName(a,LPMAGIC+f))g=a.createElement("div"),g.id=h,"undefined"!=typeof g_isfirefox&&g_isfirefox?(null==a.g_popup_divs&&(a.g_popup_divs={}),a.g_popup_divs[g.id]=g.id):g_popup_divs[g.id]=g.id,f=a.createElement("img"),b.offsetHeight<LPICON_WIDTH&&(f.height= b.offsetHeight,f.width=f.height),f.id=g.id+"_icon",h=!0,null!=c&&("formfills"==c?(f.src=ff_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)",h=!1):"generate"==c&&(f.src=pw_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_pw_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)",h=!1)),h&&(f.src=sites_svg,f.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+ g_sites_ico+"';"),f.style.opacity="0.6",f.style.filter="alpha(opacity=60)"),g.appendChild(f),"sites"==c&&("undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin)&&b.setAttribute("autocomplete","off"),g_do_icon_number_hint&&LP_create_floating_icon_hint(a,g.id,c,d)&&LP_set_floating_icon_hint(a,g.id,c,d),e.appendChild(g),g.style.maxHeight=LPICON_WIDTH+"px",g.style.verticalAlign="top",f.style.verticalAlign="top","undefined"!=typeof g_docnum&&verbose_log("["+g_docnum+"] setting up click listener on icon for "+ LP_pickFieldName(a,b)),g_icon_hover&&(LP_addEventHandler(g,"mouseover",function(c){do_icon_mouseover(a,g.id,b);LP_stopEventPropagation(c);return!1}),LP_addEventHandler(g,"mouseout",function(c){do_icon_mouseout(a,g.id,b);LP_stopEventPropagation(c);return!1})),g_icon_parent_hover&&(LP_addEventHandler(b,"mouseover",function(c){do_icon_mouseover(a,g.id,b);LP_stopEventPropagation(c);return!1}),LP_addEventHandler(b,"mouseout",function(c){do_icon_mouseout(a,g.id,b);LP_stopEventPropagation(c);return!1})), LP_addEventHandler(e,"DOMsubtreemodified",function(){popupfill_resize(a);return!1},!1),LP_addEventHandler(e,"resize",function(){popupfill_resize(a);return!1},!1),e.onresize=onresize_handler,setprops_floating_icon(a,b,g,c,d);else return!1;return!0} function move_floating_icon(a,b,c,d){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return!1;a.getElementsByTagName("body");var e;e=LP_pickFieldName(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);if(!c){var f=getIconState(a,e);f&&(c=f.fillhint)}if(e=LP_getElementByIdOrName(a,LPMAGIC+e))g_do_icon_number_hint&&(LP_getloggedin()?LP_set_floating_icon_hint(a,e.id,c,d):LP_delete_floating_icon_hint(a,e.id)),setprops_floating_icon(a,b,e,c,d)} function setprops_floating_icon(a,b,c,d,e){if(a&&b&&c){"absolute"!=c.style.position?(c.style.position="absolute",g_ctr_setposition_H++):g_ctr_nosetposition_H++;var f=LP_getAbsolutePos(a,b);if(null!=f){if(b.offsetHeight>LPICON_WIDTH){var g=f.top+(b.offsetHeight-LPICON_WIDTH)/2+"px";c.style.top!=g?(g_ctr_settop_E++,c.style.top=g):g_ctr_nosettop_E++}else c.style.top!=f.top+"px"?(g_ctr_settop_F++,c.style.top=f.top+"px"):g_ctr_nosettop_F++;f=f.left+b.offsetWidth-LPICON_WIDTH-2+"px";c.style.left!=f?(g_ctr_setleft_G++, c.style.left=f):g_ctr_nosetleft_G++;if(g_do_icon_number_hint){var h;null==h&&(h=a.getElementById(c.id+"_icon"));var f=parseInt(c.style.left),g=parseInt(c.style.top),j=a.getElementById(c.id+"_numspan");if(null!=j)if(null!=d&&null!=e&&null!=e[d]&&1<e[d]){var l=e[d];0<e[d]&&9>e[d]&&(l=" "+e[d]);l=LP_measureText(a,lp_of(l,a),null,"font-size: 9px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;line-height:11px;");if(null!=l){var p=g+("undefined"==typeof h.height||0==h.height?LPICON_HEIGHT:h.height)- l.height+6+"px",n=f+("undefined"==typeof h.width||0==h.width?LPICON_WIDTH:h.width)-l.width+2+"px",l="#ff2200";g_use_grey_icons&&(l="#808080");l="position:absolute !important; visibility:visible !important; border:0px !important; font-size:9px !important; font-family: Helvetica Neue,Helvetica,Arial,sans-serif; top:"+p+" !important; left:"+n+" !important; background-color: "+l+"; padding: 1px 2px !important; font-weight: bold !important; color:#ffffff !important; cursor: default; line-height:11px !important; max-width: 10px !important; "; h="undefined"!=typeof window&&window?window:a.defaultView;h="undefined"!=typeof h.getComputedStyle?h.getComputedStyle(j):j.currentStyle;d=h.zIndex;""!==d&&"auto"!=d&&(l=l+"z-index:"+d+" !important;");"absolute"!=h.position||"visible"!=h.visibility||"9px"!=h.fontSize||"1px 2px"!=h.padding||"11px"!=h.lineHeight||h.top!=p||h.left!=n?(j.style.cssText=l,g_ctr_numspan_setzindex_L++):g_ctr_numspan_nosetzindex_L++}else l="display:none;",j.style.cssText=l}else l="display:none;",j.style.cssText=l}}else verbose_log("ERROR: unable to relocate clickable icon"); d=getZIndex(a,b,0,0);null!=d?d++:d=CLICKABLE_ICON_ZINDEX;c.style.zIndex!=d?(g_ctr_setzindex_J++,c.style.zIndex=d):g_ctr_nosetzindex_J++;g_do_icon_number_hint&&null!=j&&(l=l+"z-index:"+(d+1)+" !important;",h="undefined"!=typeof window&&window?window:a.defaultView,h="undefined"!=typeof h.getComputedStyle?h.getComputedStyle(j):j.currentStyle,"absolute"!=h.position||"visible"!=h.visibility||"9px"!=h.fontSize||"1px 2px"!=h.padding||"11px"!=h.lineHeight||h.top!=p||h.left!=n||h.zIndex!=d+1?(j.style.cssText= l,g_ctr_numspan_setzindex_K++):g_ctr_numspan_nosetzindex_K++);c.style.display=checkIsDisplayed(a,b,0)?"":"none";h=c.childNodes[0];parseInt(b.offsetHeight)<LPICON_WIDTH?(b.offsetHeight!=h.height?(g_ctr_setheight_A++,h.height=parseInt(b.offsetHeight)):g_ctr_nosetheight_A++,b.offsetHeight!=h.height?(g_ctr_setwidth_B++,h.width=h.height):g_ctr_nosetwidth_B++):(h.height!=LPICON_WIDTH?(g_ctr_setheight_C++,h.height=LPICON_WIDTH):g_ctr_nosetheight_C++,h.width!=LPICON_WIDTH?(g_ctr_setwidth_D++,h.width=LPICON_WIDTH): g_ctr_nosetwidth_D++)}}function refresh_floating_icon_number_hints(a){null==a&&(a=document);if(null!=a)if(LP_get_icon_divs(a),LP_getloggedin())for(i in iconidhash);else for(i in iconidhash){var b=a.getElementById(iconidhash[i]+"_numspan");b&&(b.parentNode.removeChild(b),verbose_log("deleting icon number for "+iconidhash[i]))}}function LP_getloggedin(){return"undefined"!=typeof g_isloggedin?g_isloggedin:lploggedin} function LP_reset_icon_divs(a){"undefined"!=typeof g_isfirefox&&g_isfirefox?a.g_popup_divs={}:g_popup_divs={};return!0}function LP_store_icon_div(a,b){"undefined"!=typeof g_isfirefox&&g_isfirefox?(null==a.g_popup_divs&&(a.g_popup_divs={}),a.g_popup_divs[b]=b):g_popup_divs[b]=b;return!0}function LP_delete_icon_div(a,b){"undefined"!=typeof g_isfirefox&&g_isfirefox?a&&delete a.g_popup_divs[b]:delete g_popup_divs[b];return!0} function LP_get_icon_divs(a){return"undefined"!=typeof g_isfirefox&&g_isfirefox?null==a.g_popup_divs?{}:a.g_popup_divs:null==g_popup_divs?{}:g_popup_divs} function LP_set_floating_icon_hint(a,b,c,d){if(a&&LP_getloggedin()){var e=a.getElementById(b+"_numspan");null!=e?(a="",b=e.innerText,null!=c&&null!=d&&null!=d[c]&&0<d[c]?("formfills"==c||"generate"==c)&&!1===g_show_icon_number_for_formfills?""!=b&&(e.innerText=""):(a=9>d[c]?" "+d[c]:9<d[c]?"9+":" "+d[c],b!=a&&(e.innerText=a)):(e.innerText="",verbose_log("set hint to nothing"))):LP_create_floating_icon_hint(a,b,c,d);return!0}} function LP_create_floating_icon_hint(a,b,c){if(!a)return!1;var d=a.getElementsByTagName("body")[0];if(a.getElementById("newid")||("formfills"==c||"generate"==c)&&!1===g_show_icon_number_for_formfills)return!1;a=a.createElement("div");a.id=b+"_numspan";a.style.position="absolute";a.style.top="-1000px";a.style.left="-1000px";d.appendChild(a);g_defensive&&LP_addEventHandler(a,"mousedown",function(a){LP_stopEventPropagation(a);return!1});return!0} function LP_delete_floating_icon_hint(a,b){if(!a)return!1;var c=a.getElementById(b+"_numspan");return null!=c?(c.parentNode.removeChild(c),!0):!1}function LP_delete_floating_icon(a,b){if(!a)return!1;var c=a.getElementById(b);return null!=c?(c.parentNode.removeChild(c),!0):!1} function reset_floating_icon(a,b,c){verbose_log("entered reset_floating_icon");a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(!a)return!1;b=LP_pickFieldName(a,b);var d=getIconState(a,b);!c&&d&&(c=d.fillhint);d=LP_getElementByIdOrName(a,LPMAGIC+b);a=LP_getElementByIdOrName(a,LPMAGIC+b+"_icon");return d&&a?("formfills"==c?(a.src=ff_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_ff_ico+"';")):"generate"==c?(a.src=pw_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+ g_pw_ico+"';")):(a.src=sites_svg,a.setAttribute("onerror","this.removeAttribute('onerror'); this.src = '"+g_sites_ico+"';")),a.style.opacity="0.6",a.style.filter="alpha(opacity=60)",!0):!1}function should_do_lastpass_here(a){if(!a)return!1;try{if(0<a.location.href.indexOf(".xul")||500>a.body.innerText.length&&LP_is_inframe(a))return!1}catch(b){return!1}return!0} function LP_is_inframe(a){if(!a)return!1;try{var b="undefined"!=typeof window&&window?window:a.defaultView;return b.self!==b.top}catch(c){return!1}} function valid_by_role(a,b){if(!b)return!1;a||(a=b.ownerDocument);if(!a)return!1;var c=b.getAttribute("role");c||(c=b.parentNode.getAttribute("role"));if(!c)return!0;switch(c){case "navigation":case "banner":case "contentinfo":case "note":case "search":case "seealso":return!1;case "columnheader":case "presentation":case "toolbar":case "directory":return!1;default:return!0}} function treat_text_as_password(a){return!a?!1:"text"==a.type&&(0==a.name.indexOf("pass")||0<=a.value.toLowerCase().indexOf(lpgs("Password").toLowerCase())||0<=a.name.toLowerCase().indexOf(lpgs("Password").toLowerCase()))?!0:!1}function ASP_treat_text_as_password(a){return treat_text_as_password(a)}function LP_pickFieldName(a,b){if(!a||!b)return null;var c=fieldcacheget(a,b,"lpname");if(c)return c;c=LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);fieldcacheset(a,b,"lpname",c);return c} function fieldcacheget(a,b,c){return null==a||(null==b||null==c||0===c.length)||"undefined"==typeof a.g_field_attr_cache?null:null!=a.g_field_attr_cache[b]&&null!=a.g_field_attr_cache[b][c]?a.g_field_attr_cache[b][c]:null}function fieldcacheset(a,b,c,d){if(null==a||null==b||null==c||0===c.length)return null;"undefined"==typeof a.g_form_attr_cache&&(a.g_form_attr_cache=[]);null==a.g_form_attr_cache[b]&&(a.g_form_attr_cache[b]={});a.g_form_attr_cache[b][c]=d;return!0} function fieldcachereset(a){null!=a&&(a.g_field_attr_cache=[]);return!0}function LP_looksLikeOTPField(a,b){return!a||!b||"INPUT"!=b.tagName?!1:LP_pickFieldName(a,b).toLowerCase().match(/^otp[_\W]|[_\W]otp$|^otp$|[_\W]otp[_\W]/)?!0:!1} function doc_create_clickable_icons(a,b,c,d){if(do_experimental_popupfill){if(!a&&(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document,!a))return;if(g_isfirefox){b=LP.lpGetCurrentWindow().document;var e="undefined"!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;verbose_log("doc_create_clickable_icons: xuldoc is "+b.location.href);verbose_log("doc_create_clickable_icons: passed doc is "+a.location.href);verbose_log("doc_create_clickable_icons: toplevel doc is "+ e.location.href)}(b=a.body)||(b=a.getElementsByTagName("body")[0]);if(b){b=!1;if(g_isfirefox){if(never_icons(lpcanonizeUrl(a.location.href),lp_gettld_url(a.location.href))||never_icons(lpcanonizeUrl(e.location.href),lp_gettld_url(e.location.href)))return;b=!0}else{var e=check_nevers(a,g_nevers,a.location.href),f=!0,g=!0,h=!0,j=!0;null!=e&&(f=e.show_for_formfill,g=e.show_for_save,h=e.show_for_autofill,j=e.show_for_clickable_icon);if((0<g_popupfill_rows&&h||0==g_popupfill_rows&&g||f)&&j)b=!0}if(b){var e= a.getElementsByTagName("input"),l={},p=checkDocumentForLoginOrphans(a),n=null;if("undefined"!=typeof Math){var m=Math.floor(1E4*Math.random()),s=e.length,r=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(r=MAX_INPUTS_HARD);for(b=0;b<s&&b<r;b++)if(d||popupfill_shoulddofield(a,e[b],c))try{var k=e[b],q=LP_pickFormName(a,k.form),t=chk_form_has_password(a,k.form)||p,w=chk_form_is_nonlogin_form(a,k.form);if(d)if(looksLikeUsername(e[b]))t=!0,w=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a, k));else if(isInputFieldPassword(a,k))t=!0,w=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a,k));else{verbose_log("SPECIAL SITE: ignoring field "+LP_pickFieldName(a,k));continue}var v=chk_form_ask_generate(a,k.form),u=!1;null!=n&&(null!=q&&q!=n)&&(u=!0,v=chk_form_ask_generate(a,k.form,u));var u=0,y;if("undefined"!=typeof g_isie&&g_isie)(y=k.currentStyle)&&(u=parseInt(y.width));else if(u=k.style.width.replace(/px/,""),""===u)try{y="undefined"!=typeof window.getComputedStyle? k.ownerDocument.defaultView.getComputedStyle(k,""):k.currentStyle,u=y.width.replace(/px/,"")}catch(B){}if(!(null!=l[q]&&1<=l[q]&&!isInputFieldPassword(a,k)&&(!t||v)&&!g_show_icon_only_on_focus&&(!isASPpage()||!isFirstFieldNonLoginSubForm(a,k))))if(g_isfirefox||(t&&(0<g_popupfill_rows&&h||0==g_popupfill_rows&&g)||(w&&!t||v)&&f)&&j)if((t||v)&&0<u&&30>u)verbose_log("skipping loginform icon create on "+LP_pickFieldName(a,k)+"because field is too thin");else if(w&&0<u&&100>u)verbose_log("skipping nonloginform icon create on "+ LP_pickFieldName(a,k)+"because field is too thin");else{var x;if(w&&is_search_field(a,k,!0))verbose_log("skipping nonloginform icon create on "+LP_pickFieldName(a,k)+"because it looks like a search field");else if(w&&k.readOnly)verbose_log("skipping nonloginform icon create on "+LP_pickFieldName(a,k)+"because it is read-only");else if(t&&!v?(n=q,g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:q,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:q,rowtype:"sites"}),g_do_icon_number_hint&& (x="sites")):t&&v?g_aspx_hack&&isASPpage()?(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:q,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:q,rowtype:"sites"}),g_do_icon_number_hint&&(x="sites")):(verbose_log("CONFLICT: form "+q+" is a signup form and login form; treat as a signup form and present formfill options"),g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:q,rowtype:"formfills"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:q,rowtype:"formfills"}), g_do_icon_number_hint&&(x=isInputFieldPassword(a,k)?"generate":"formfills")):!t&&v&&chk_form_changepw(a,k.form)?(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:q,rowtype:"sites"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:q,rowtype:"sites"}),g_do_icon_number_hint&&(x="sites")):(g_isie?init_LPfn()&&LPfn&&LPfn.ie_setpopupfillhint({formid:q,rowtype:"formfills"}):g_isfirefox||sendBG({cmd:"setpopupfillhint",formid:q,rowtype:"formfills"}),g_do_icon_number_hint&&(x="formfills")),checkIsDisplayed(a, k,0,null,m)){verbose_log("icon create on displayed field "+LP_pickFieldName(a,k)+" for form "+q);if(g_do_icon_number_hint){u=[];if(g_isfirefox){var z=LP.getMatchingSites(a.location.href,SKIP_GENPWS).length;u[x]=1!=z?z:0}else u=g_icon_numbers;isASPpage()&&isFirstFieldNonLoginSubForm(a,k)?setup_input_icon(a,k,"formfills",u):setup_input_icon(a,k,x,u)}else setup_input_icon(a,k);g_isfirefox||g_save_suggest_msg&&(x&&null!=typeof g_icon_numbers&&null!=typeof g_icon_numbers.sites&&1>g_icon_numbers.sites)&& LP_addEventHandler(k,"click",function(b){var c=LP_getEventTarget(b);setTimeout(function(){do_save_suggest_msg(c,a)},0);LP_stopEventPropagation(b);return!1},!1);if(g_clickable_input&&(!("password"==k.type&&formHasUsernameField(k))||g_clickable_input_on_password)&&"true"!==k.getAttribute("clickev")&&"sites"==x)k.setAttribute("clickev","true"),LP_addEventHandler(k,"click",function(b){var c=LP_getEventTarget(b),d=LPMAGIC+LP_pickFieldName(a,c);if(null!=a.getElementById(d))g_clickable_input_on_password? is_your_popup_showing(a)||conditional_create_popup(a,c,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,k.form),popuptoggle(a,null,LP_pickFieldName(a,c),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS));else if(g_input_click_intercept)try{verbose_log("CLICK ON INPUT, process it"),icon_click_handler(b)}catch(e){}return!1},!1);verbose_log("FORM "+q+" touched");null==l[q]?l[q]=1:l[q]++}else verbose_log("skip icon create on hidden field "+LP_pickFieldName(a,k)+" for form "+q)}}catch(A){verbose&&alert("error: "+ A.message+" stack: "+A.stack)}g_isfirefox||(!1==g_weaseled&&setTimeout(function(){weasel(100)},500),g_weaseled=!0)}}}}} function ForceFillFieldClicked(a,b,c,d){if(!b||!d)return!1;c=b.form&&!c?LP_getname(b.form):"";var e=b.type?b.type:"";if("password"==e)return lplog("Calling LP_setval from F"),LP_setval(a,LP_getname(b),d.p,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo);lplog("Calling LP_setval from G");return LP_setval(a,LP_getname(b),d.u,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo)} function ForceFillFormClicked(a,b,c,d){c=null;if(b=b.getElementsByTagName("INPUT")){if(c=GuessUserPassFields(b))c.text&&ForceFillFieldClicked(a,c.text,!1,d),c.password&&ForceFillFieldClicked(a,c.password,!1,d);return!0}return!1} function GuessUserPassFields(a){if(!a||0>=a.length)return null;var b,c=a.length,d=null,e=null;for(b=0;b<c;b++){var f=a[b];f&&(("text"==f.type||"tel"==f.type||"email"==f.type)&&!e?d=f:"password"==f.type&&!e&&(e=f))}a={};d&&(a.text=d);e&&(a.password=e);return isEmptyObject(a)?null:a} function ForceFillClicked(a,b,c){var d=g_popupfill_parent;d||(d=g_popupfill_parent_last);if(!d||!a&&(a=d.ownerDocument,!a))return!1;if(d.form){if(!ForceFillFormClicked(a,d.form,b,c))return ForceFillFieldClicked(a,d,b,c)}else return ForceFillFieldClicked(a,d,b,c)}function isMultiStageLoginForm(){}var MAX_INPUTS_HARD=200,MAX_INPUTS_SOFT=100; function LP_exceedInputsThreshold(a){if(!a)return!0;var b=MAX_INPUTS_HARD,c=MAX_INPUTS_SOFT;a=a.getElementsByTagName("input");var d=a.length;if(d>b)return verbose_log("EIT: hard threshold exceed"),!0;if(d<c)return!1;var b=0,e;for(e=0;e<d;e++)if(a[e]){var f=a[e].type;("text"==f||"passwd"==f)&&b++}return b>c?(verbose_log("EIT: soft threshold exceed"),!0):!1}var MAX_FORMS_HARD=20,MAX_FORMS_SOFT=10; function LP_exceedFormsThreshold(a){if(!a)return!0;var b=MAX_FORMS_HARD,c=MAX_FORMS_SOFT,d=a.getElementsByTagName("form"),e=d.length;if(e>b)return verbose_log("EFT: hard threshold exceed"),!0;if(e<c)return!1;var b=0,f=RegExp(lpgs("ff_loginform_regexp"),"i"),g;for(g=0;g<e;g++)if(d[g]&&(d[g]&&!d[g].disabled&&b++,b>c)){var h=d[g].id;if(f.exec(d[g].name)||f.exec(h))return verbose_log("EFT: soft threshold exception for login form "+LP_pickFormName(a,d[g])),!1}return b>c?(verbose_log("EFT: soft threshold exceed"), !0):!1}var MAX_FORM_ELEMENTS_HARD=500,MAX_FORM_ELEMENTS_SOFT=100;function LP_exceedFormElementsThreshold(a,b){if(!a||!b)return!0;var c=MAX_FORM_ELEMENTS_SOFT,d=b.elements,e=d.length;if(e>MAX_FORM_ELEMENTS_HARD)return verbose_log("EFET: hard threshold exceed"),!0;if(e<c)return!1;var f=0,g;for(g=0;g<e;g++)if(d[g]&&d[g]&&(!d[g].disabled&&"FIELDSET"!=d[g].tagName)&&"input"==d[g].tagName){var h=inputs[g].type;("text"==h||"passwd"==h)&&f++}return f>c?(verbose_log("EFET: soft threshold exceed"),!0):!1} function LP_passwordAlt(a,b){return!a||!b||"INPUT"!=b.tagName?!1:"nyckel"==LP_pickFieldName(a,b).toLowerCase()&&"password"==b.type?!0:!1}function LP_explicit_ignored(a,b){if(!a||!b||"undefined"==typeof b.getAttribute)return!0;var c=b.getAttribute("data-lpignore");if("true"===c)return!0;c=b.dataset?b.dataset.lpignore:!1;if("true"===c)return!0;c=b.getAttribute("lpignore");return"true"===c||"true"===b.lpignore?!0:!1} var g_punycodecache=[],punycode=new function(){function a(a,b,l){a=l?Math.floor(a/d):a>>1;a+=Math.floor(a/b);for(b=0;a>(c-e)*f>>1;b+=c)a=Math.floor(a/(c-e));return Math.floor(b+(c-e+1)*a/(a+g))}function b(a,b){a-=(26>a-97)<<5;return a+((!b&&26>a-65)<<5)}this.utf16={decode:function(a){for(var b=[],c=0,d=a.length,e,f;c<d;){e=a.charCodeAt(c++);if(55296===(e&63488)){f=a.charCodeAt(c++);if(55296!==(e&64512)||56320!==(f&64512))throw new RangeError("UTF-16(decode): Illegal UTF-16 sequence");e=((e&1023)<< 10)+(f&1023)+65536}b.push(e)}return b},encode:function(a){for(var b=[],c=0,d=a.length,e;c<d;){e=a[c++];if(55296===(e&63488))throw new RangeError("UTF-16(encode): Illegal UTF-16 value");65535<e&&(e-=65536,b.push(String.fromCharCode(e>>>10&1023|55296)),e=56320|e&1023);b.push(String.fromCharCode(e))}return b.join("")}};var c=36,d=700,e=1,f=26,g=38;this.decode=function(b,d){var g=[],p=[],n=b.length,m,s,r,k,q,t,w,v,u;m=128;r=0;k=72;q=b.lastIndexOf("-");0>q&&(q=0);for(t=0;t<q;++t){d&&(p[g.length]=26>b.charCodeAt(t)- 65);if(128<=b.charCodeAt(t))throw new RangeError("Illegal input >= 0x80");g.push(b.charCodeAt(t))}for(q=0<q?q+1:0;q<n;){t=r;s=1;for(w=c;;w+=c){if(q>=n)throw RangeError("punycode_bad_input(1)");v=b.charCodeAt(q++);v=10>v-48?v-22:26>v-65?v-65:26>v-97?v-97:c;if(v>=c)throw RangeError("punycode_bad_input(2)");if(v>Math.floor((2147483647-r)/s))throw RangeError("punycode_overflow(1)");r+=v*s;u=w<=k?e:w>=k+f?f:w-k;if(v<u)break;if(s>Math.floor(2147483647/(c-u)))throw RangeError("punycode_overflow(2)");s*= c-u}s=g.length+1;k=a(r-t,s,0===t);if(Math.floor(r/s)>2147483647-m)throw RangeError("punycode_overflow(3)");m+=Math.floor(r/s);r=s;d&&p.splice(r,0,26>b.charCodeAt(q-1)-65);g.splice(r,0,m);r++}if(d){r=0;for(n=g.length;r<n;r++)p[r]&&(g[r]=String.fromCharCode(g[r]).toUpperCase().charCodeAt(0))}return this.utf16.encode(g)};this.encode=function(d,g){var l,p,n,m,s,r,k,q,t,w;g&&(w=this.utf16.decode(d));d=this.utf16.decode(d.toLowerCase());var v=d.length;if(g)for(r=0;r<v;r++)w[r]=d[r]!=w[r];var u=[];l=128; p=0;s=72;for(r=0;r<v;++r)128>d[r]&&u.push(String.fromCharCode(w?b(d[r],w[r]):d[r]));n=m=u.length;for(0<m&&u.push("-");n<v;){k=2147483647;for(r=0;r<v;++r)q=d[r],q>=l&&q<k&&(k=q);if(k-l>Math.floor((2147483647-p)/(n+1)))throw RangeError("punycode_overflow (1)");p+=(k-l)*(n+1);l=k;for(r=0;r<v;++r){q=d[r];if(q<l&&2147483647<++p)return Error("punycode_overflow(2)");if(q==l){k=p;for(q=c;;q+=c){t=q<=s?e:q>=s+f?f:q-s;if(k<t)break;u.push(String.fromCharCode(t+(k-t)(c-t)+22+75*(26>t+(k-t)(c-t))-0));k=Math.floor((k- t)/(c-t))}u.push(String.fromCharCode(k+22+75*(26>k)-((0!=(g&&w[r]?1:0))<<5)));s=a(p,n+1,n==m);p=0;++n}}++p;++l}return u.join("")};this.get_host=function(a){var b=a.indexOf("://");-1!=b&&(a=a.substring(b+3));b=a.indexOf("/");-1!=b&&(a=a.substring(0,b));b=a.indexOf("?");-1!=b&&(a=a.substring(0,b));b=a.indexOf("@");-1!=b&&(a=a.substring(b+1));b=a.indexOf(":");-1!=b&&(a=a.substring(0,b));-1!=a.indexOf(".",a.length-1)&&(a=a.substring(0,a.length-1));return a};this.URLToASCII=function(a){if("string"!=typeof a)return a; "undefined"==typeof g_punycodecache&&(g_punycodecache=[]);if("undefined"!=typeof g_punycodecache[a])return g_punycodecache[a];var b=this.get_host(a),c=this.ToASCII(b);if(c==b)return g_punycodecache[a]=d,a;var d=a.replace(b,c);return g_punycodecache[a]=d};this.ToASCII=function(a){a=a.split(".");for(var b=[],c=0;c<a.length;++c){var d=a[c];b.push(d.match(/[^A-Za-z0-9@-]/)?"xn--"+punycode.encode(d):d)}return b.join(".")};this.URLToUnicode=function(a){if("string"!=typeof a)return a;var b=this.get_host(a), c=this.ToUnicode(b);return c==b?a:a.replace(b,c)};this.ToUnicode=function(a){a=a.split(".");for(var b=[],c=0;c<a.length;++c){var d=a[c];b.push(d.match(/^xn--/)?punycode.decode(d.slice(4)):d)}return b.join(".")}};function lpCheckCurrentPWField(a){for(var b=RegExp(lpgs("ff_currpass_regexp"),"i"),c=0;c<a.elements.length;c++){var d=a.elements[c];if("password"==d.type&&lpIsVisible(d)){if(b.exec(getname(d)))return d;var e=lpGetTextBeforeFormField(d);if(""!=e&&b.exec(e))return d}}return null} function lpCountInputFields(a,b){var c=[];c.text=c.password=c["select-one"]=c.textarea=c.email=c.tel=c.url=c.passwordValues=c.passwordvisible=c.uniquepasswords=0;c.uname=c.pname=c.oname="";for(var d=a.elements,e=!1,f=!1,g=[],h="undefined"!=typeof d?d.length:0,j=0;j<h;j++){var l=d[j].type,p=getname(d[j]),n=d[j].value;("password"==l||"text"==l||"select-one"==l||"textarea"==l||"email"==l||"tel"==l||"url"==l)&&c[l]++;"password"==l?(b||lpIsVisible(d[j])&&++c.passwordvisible,""!=n&&c.passwordValues++,e&& (f=!0),e=!0,lp_in_array(n,g)||(g[g.length]=n)):"hidden"==l||"INPUT"!=d[j].tagName&&"SELECT"!=d[j].tagName&&"TEXTAREA"!=d[j].tagName||(e=!1);if(("text"==l||"email"==l||"tel"==l||"url"==l)&&"openid_url"!=p&&(""==c.uname||""==c.pname))c.uname=p;"password"==l&&(c.pname=p);if(("text"==l||"email"==l||"tel"==l||"url"==l)&&"openid_url"==p)c.oname=p}c.passwordsContiguous=f;c.uniquepasswords=g.length;return c} function lpGetTextBeforeFormField(a){var b="";try{if(""!=a.id&&"undefined"!=typeof a.ownerDocument&&null!=a.ownerDocument)for(var c=a.ownerDocument.getElementsByTagName("label"),d=0;d<c.length;d++)if(c[d].htmlFor==a.id){var e=lp_strip(lpGetText(c[d],a,!1,!0));if(2<=e.length)return e;break}if("string"==typeof a.placeholder&&2<a.placeholder.length)return a.placeholder;var f=a.parentNode;if(f&&("DIV"==f.tagName||"SPAN"==f.tagName))f=f.parentNode;if(f&&"TD"==f.tagName){var g=lp_strip(lpGetText(f,a,!1, !0));if(2<=g.length)return g;var h=f.parentNode,j=lp_strip(lpGetText(h,a,!1,!0));if(2<=j.length)return j;var g=c=-1,l=f.offsetParent;if(l)for(j=0;j<l.rows.length;j++)if(h==l.rows[j]){c=j;break}for(j=0;j<h.cells.length;j++)if("undefined"!=typeof h.cells[j]&&f==h.cells[j]){g=j;break}f=0;if(0<c&&-1!=g){for(d=j=h=0;d<=g;d++){var p=l.rows[c].cells[d],n=1;p&&"number"==typeof p.colSpan&&(n=p.colSpan);d<g?h+=n:j=h+n-1}for(var m=0,d=0;d<=j;d++){p=l.rows[c-1].cells[d];n=1;p&&"number"==typeof p.colSpan&&(n= p.colSpan);var s=1;p&&"number"==typeof p.rowSpan&&(s=p.rowSpan);1<s&&(h+=s-1,j+=s-1);var s=m,r=m+n-1;if((h>=s&&h<=r||j>=s&&j<=r)&&p)if(e=lp_strip(lpGetText(p,a,!1,!0)),2<=e.length){b=e;f=1;break}m+=n}}if(!f&&(-1!=c&&-1!=g)&&(p=l.rows[c].cells[0]))e=lp_strip(lpGetText(p,a,!1,!0)),2<=e.length&&(b=e)}}catch(k){lpdbg("error","Table Text problem.."+k+" ln: "+k.lineNumber)}""==b&&(b=lpGetTextBeforeFormField_orig(a));return b} function LP_innerHTMLParse(a,b){var c="",d=a.innerHTML,e=RegExp("<(input|select|textarea)[^>]+name=[\"']?"+lp_regexp_quote(lpxmlescape(getname(b)))+"[\"']?[^>]*>","i"),e=e.exec(d);if(!e&&(e=RegExp("<(input|select|textarea)[^>]+id=[\"']?"+lp_regexp_quote(lpxmlescape(getname(b)))+"[\"']?[^>]*>","i"),e=e.exec(d),!e))return"";for(var f=d.indexOf(e[0]),e=0,g=1001<f?f-1001:0,f=f-1;f>=g;f--){var h=d.charAt(f);if(">"==h){if(0>=e){c=c.replace(/&nbsp;/," ");c=lp_strip(c);if(2<c.length)return c;c=""}e++}else"<"== h?0<e&&e--:0>=e&&(c=h+c)}c=c.replace(/&nbsp;/," ");c=lp_strip(c);2<c.length||(c="");return c}function lpGetTextBeforeFormField_orig(a){if(""==getname(a))return"";for(var b=a,c="",d=0;10>d&&b.parentNode;d++){var b=b.parentNode,c=lp_strip(lpGetText(b,a)),e=200;try{"undefined"!=typeof lp_formfill_tld&&"lifelock.com"==lp_formfill_tld&&(e=150)}catch(f){}if(c.length>e)return a=LP_innerHTMLParse(b,a),lpdbg("error","Using LP_innerHTMLParse:"+a),a;if(2<=c.length)break}return c}var lpgettext_abort=!1; function lpGetText(a,b,c,d){c||(lpgettext_abort=!1);if(a==b)return lpgettext_abort=!0,"";if(3==a.nodeType)return 2<lp_strip(a.nodeValue).length?a.nodeValue:"";c=[];var e=0,f="string"==typeof a.tagName?a.tagName:"";if(a.lp_too_many)return"";var g=a&&a.style&&!lpIsVisible(a,!0);d=!1;"LABEL"==f&&(d=!0);e=0;if("OPTION"!=f&&"SCRIPT"!=f&&"TEXTAREA"!=f&&!g)for(;"undefined"!=typeof a.childNodes[e];){c[c.length]=lpGetText(a.childNodes[e],b,!0,d);if(lpgettext_abort)break;if(50<e++)return a.lp_too_many=1,lpdbg("error", "More than 50 child elements: something is wrong, abort"),""}a="|";"undefined"!=typeof d&&d&&(a="");return c.join(a)}var lpParseUriCache=[],lpParseUriNumber=0; function lpParseUri(a){if("string"!=typeof a)return"";if(null!=lpParseUriCache[a])return lpParseUriCache[a];var b=null,c=null,d=a;-1!=a.indexOf("#")&&(c=a.substring(a.indexOf("#")+1),a=a.substring(0,a.indexOf("#")));-1!=a.indexOf("?")&&(b=a.substring(a.indexOf("?")+1),a=a.substring(0,a.indexOf("?")));var e=a.match(/^(.*:\/\/[^\/]+\/.*)@/);e&&(a=a.substring(0,e[1].length)+a.substring(e[1].length).replace(/@/g,"40"));if(2047<a.length)return"";var f=lpParseUri.options,e=null;try{e=f.parser[f.strictMode? "strict":"loose"].exec(a)}catch(g){try{e=500<a.length?f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,500)):f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,floor(a.length/2)))}catch(h){lpReportError("parseuri : failing "+a),e=f.parser[f.strictMode?"strict":"loose"].exec("http://")}}a=e;for(var j={},e=14;e--;)j[f.key[e]]=a[e]||"";j[f.q.name]={};j[f.key[12]].replace(f.q.parser,function(a,b,c){b&&(j[f.q.name][b]=c)});null!=b&&(j.query=b,null!=c&&(j.anchor=c));j.host&&(j.host=fix_url_host(j.host)); if(500<lpParseUriNumber){for(var l in lpParseUriCache){delete lpParseUriCache[l];break}lpParseUriNumber=0}lpParseUriCache[d]=j;lpParseUriNumber++;return j} lpParseUri.options={strictMode:!1,key:"source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*):?([^:@]*))?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}}; var lpCanUrlCache=[],lpCanUrlExNumber=0; function lpcanonizeUrl(a,b){if("about:blank"==a)return"";if(null!=lpCanUrlCache[a])return lpCanUrlCache[a];null==b&&(b=lpParseUri(a));var c="";""!=b.port&&b.port!=get_default_port(b.protocol)&&(c=":"+b.port);if(b.host)c=b.host.toLowerCase()+c+b.path;else{if(!a)return"";c=a}-1!=c.indexOf(";")&&(c=c.substring(0,c.indexOf(";")));if(500<lpCanUrlExNumber){for(var d in lpCanUrlCache){delete lpCanUrlCache[d];break}lpCanUrlExNumber=0}lpCanUrlCache[a]=c;lpCanUrlExNumber++;return c} function lp_gettld(a,b){("undefined"==typeof lp_all_tlds||null==lp_all_tlds)&&lp_init_tlds();if("string"!=typeof a)return"";if(""==a&&"string"==typeof b&&0==b.indexOf("file://"))return"file:";a=a.toLowerCase();a=a.replace(/\.$/,"");var c=a.split("."),d;if(a.match(/^\d+\.\d+\.\d+\.\d+$/))d=4;else if(d=2,2<=c.length){var e=c[c.length-1];"undefined"!=typeof lp_all_tlds[e]&&lp_in_array(c[c.length-2],lp_all_tlds[e])&&(d=3)}for(;c.length>d;)c.shift();return c.join(".")} function lp_gettld_url(a){var b=lpParseUri(a);return lp_gettld(b.host,a)}function getname_url(a){a=lpParseUri(punycode.URLToUnicode(a));return("string"==typeof a.host?a.host:"").replace(/^www\./,"")}function lptrim(a){return"string"!=typeof a?a:a.replace(/^\s+|\s+$/g,"")}function lp_regexp_quote(a){return(a+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!<>\|\:])/g,"\\$1")} function getname(a,b){if(b&&"undefined"!=typeof a.id&&""!=a.id)return a.id;if("undefined"!=typeof a&&null!=a){if("undefined"!=typeof a.name&&""!=a.name)return a.name;if("undefined"!=typeof a.id)return a.id}return""} function lpIsVisible(a,b){for(;a&&"BODY"!=a.tagName;a=a.parentNode){if("undefined"!=typeof a.style&&("hidden"==a.style.visibility||"none"==a.style.display))return!1;try{var c=a.ownerDocument.defaultView.getComputedStyle(a,"");if("hidden"==c.visibility||"none"==c.display)return!1}catch(d){}if(b)break}return!0}function lp_in_array(a,b){for(var c=b.length,d=0;d<=c;d++)if("undefined"!=typeof b[d]&&b[d]==a)return lpArrayOffset=d,!0;return!1} function lp_strip(a){if(!a.length)return a;a=a.replace(/\s+/g," ");a=a.replace(/^\s+|\s+$/g,"");a=a.replace(/[\|]+$/g,"");var b=a.match(/\|([^\|]+)$/);b&&(a=b[1],a=a.replace(/^\s+|\s+$/g,""));return a}function lpxmlescape(a){"number"==typeof a&&(a=""+a);a=a.replace(/&/g,"&amp;");a=a.replace(/<\/g,"&lt;");a=a.replace(/>/g,"&gt;");return a=a.replace(/"/g,"&quot;")} function lpxmlunescape(a){"number"==typeof a&&(a=""+a);a=a.replace(/&lt;/g,"<");a=a.replace(/&gt;/g,">");a=a.replace(/&quot;/g,'"');return a=a.replace(/&amp;/g,"&")}var lpRegExCache=[],lpRegExNumber=0; function regexp_match_c(a,b){var c=a.toString()+"_"+b;80<c.length&&("function"==typeof fasthash?c=fasthash(c):"function"==typeof SHA256&&(c=SHA256(c)));if(null!=lpRegExCache[c])return"1"==lpRegExCache[c];var d=a.exec(b);if(2500<lpRegExNumber){for(var e in lpRegExCache){delete lpRegExCache[e];break}lpRegExNumber=0}lpRegExCache[c]=d?"1":"0";lpRegExNumber++;return d} function fire_onchange(a,b,c){try{if(a){if(a.ownerDocument&&"function"==typeof a.ownerDocument.createEvent){var d=a.ownerDocument.createEvent("Events");d.initEvent("change",!0,!0);a.dispatchEvent(d);"undefined"!=typeof ischrome&&(ischrome&&"function"==typeof a.onkeyup)&&(c&&(d.keyCode=8),a.onkeyup(d))}else"undefined"!=typeof a.fireEvent&&a.fireEvent("onchange");("undefined"==typeof b||null==b||b)&&"function"==typeof sendKey&&sendKey("SHIFT",a);if("function"==typeof lpGetBrowserForDocument){var e= lpGetBrowserForDocument(a.ownerDocument);e&&(e.lpfieldchanged=!0)}}}catch(f){}}function get_default_port(a){switch(a){case "http":return 80;case "https":return 443;case "ftp":return 21;default:return 0}}function get_port(a){var b=0;"undefined"!=typeof a.port&&a.port?b=a.port:"undefined"!=typeof a.protocol&&a.protocol&&(b=get_default_port(a.protocol));return b} function compare_ports(a,b){var c=""!=a.port?a.port:get_default_port(a.protocol),d=""!=b.port?b.port:get_default_port(b.protocol);return c==d}function lpgetlocalts(){return"undefined"!=typeof Date?(new Date).getTime():0}function lp_get_gmt_timestamp(){if("undefined"!=typeof Date)var a=(new Date).getTime(),a=parseInt(a/1E3);else a=0;return a}function lp_get_local_timestamp(){return lp_get_gmt_timestamp()} function lp_init_tlds(){if("undefined"==typeof lp_all_tlds||null==lp_all_tlds)lp_all_tlds=[],lp_all_tlds.hu="2000 agrar bolt casino city co com erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news nui org priv reklam sex shop sport suli szex tm tozsde utazas video".split(" "),lp_all_tlds.nl=["752"],lp_all_tlds.ca="ab bc gc mb nb nf nl ns nt nu on pe qc sk yk".split(" "),lp_all_tlds.pa="abo ac com edu gob ing med net nom org sld".split(" "),lp_all_tlds.se="ab ac bd brand com c d e fh fhsk fhv f g h i komforb kommunalforbund komvux k lanarb lanbib mil m naturbruksgymn net n org o parti pp press s sshn tm t u w x y z".split(" "), lp_all_tlds.ac="ac co com edu gov gv mil net or org".split(" "),lp_all_tlds.ae="ac com gov mil name net org pro sch".split(" "),lp_all_tlds.at=["ac","co","gv","or","priv"],lp_all_tlds.be="ac ap co com fgov to xa".split(" "),lp_all_tlds.cn="ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hk hl hn jl js jx ln mo net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj".split(" "),lp_all_tlds.cr="ac co ed fi go or sa".split(" "),lp_all_tlds.cy="ac biz com ekloges gov info ltd name net org parliament press pro tm".split(" "), lp_all_tlds.fj="ac biz com gov id info mil name net org pro school".split(" "),lp_all_tlds.fk="ac co gov net nom org".split(" "),lp_all_tlds.gg="ac alderney co gov guernsey ind ltd net org sark sch".split(" "),lp_all_tlds.gn=["ac","com","gov","net","org"],lp_all_tlds.gt="com edu gob ind mil net org".split(" "),lp_all_tlds.id="ac co go mil net or sch web".split(" "),lp_all_tlds.il="ac co gov idf k12 muni net org".split(" "),lp_all_tlds.im="ac co gov net nic org".split(" "),lp_all_tlds["in"]="ac co edu ernet firm gen gov ind mil net nic org res".split(" "), lp_all_tlds.ir="ac co gov net org sch".split(" "),lp_all_tlds.is=["ac","org"],lp_all_tlds.je="ac co gov ind jersey ltd net org sch".split(" "),lp_all_tlds.jp="ac ad aichi akita aomori chiba co ed ehime fukui fukuoka fukushima gifu go gov gr gunma hiroshima hokkaido hyogo ibaraki ishikawa iwate kagawa kagoshima kanagawa kawasaki kitakyushu kobe kochi kumamoto kyoto lg mie miyagi miyazaki nagano nagasaki nagoya nara ne net niigata oita okayama okinawa org or osaka saga saitama sapporo sendai shiga shimane shizuoka tochigi tokushima tokyo tottori toyama wakayama yamagata yamaguchi yamanashi yokohama".split(" "), lp_all_tlds.kr="ac co go ne nm or re".split(" "),lp_all_tlds.mw="ac com co coop edu gov int museum net org".split(" "),lp_all_tlds.nz="ac co cri geek gen govt iwi maori mil net org school".split(" "),lp_all_tlds.ru="ac com int msk net org pp".split(" "),lp_all_tlds.rw="ac com co edu gouv gov int mil net".split(" "),lp_all_tlds.au="act asn com conf csiro edu gov id info net nsw nt org oz qld sa tas telememo vic wa".split(" "),lp_all_tlds.th="ac co go in mi net or".split(" "),lp_all_tlds.tj="ac biz com co edu go gov int mil name net org web".split(" "), lp_all_tlds.tz=["ac","co","go","ne","or"],lp_all_tlds.ug="ac co go ne or sc".split(" "),lp_all_tlds.uk="ac bl british-library com co gov icnet jet ltd me mil mod national-library-scotland nel net nhs nic nls org parliament plc police sch".split(" "),lp_all_tlds.vn="ac biz com edu gov health info int name net org pro".split(" "),lp_all_tlds.yu=["ac","co","edu","org"],lp_all_tlds.za="ac alt city com co edu gov law mil net ngo nom org school tm web".split(" "),lp_all_tlds.zm=["ac","co","gov","org","sch"], lp_all_tlds.zw=["ac","co","gov","org"],lp_all_tlds.br="adm adv agr am arq art ato bio bmd cim cng cnt com coop dpn ecn edu eng esp etc eti far fm fnd fot fst g12 ggf gov imb ind inf jor lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet zlg".split(" "),lp_all_tlds.ht="adult art asso com coop edu firm gouv info med net org perso pol pro rel shop".split(" "),lp_all_tlds.mv="aero biz com coop edu gov info int mil museum name net org pro".split(" "),lp_all_tlds.pl= "agro aid art atm auto bialystok biz com edu gdansk gda gmina gov gsm info krakow lodz lublin mail media miasta mil net ngo nom olsztyn org pc poznan priv realestate rel shop sklep slupsk sos szczecin targi tm torun tourism travel turystyka warszawa waw wroclaw wroc".split(" "),lp_all_tlds.us="ak al ar az ca com co ct dc de dni fed fl ga hi ia id il in isa kids ks ky la ma md me mi mn mo ms mt nc nd ne nh nj nm nsn nv ny oh ok or pa ri sc sd tn tx ut va vt wa wi wv wy".split(" "),lp_all_tlds.fi=["aland"], lp_all_tlds.mil=["army","navy"],lp_all_tlds["do"]="art com edu gob gov mil net org sld web".split(" "),lp_all_tlds.dz="art asso com edu gov net org pol".split(" "),lp_all_tlds.co="arts com edu firm gov info int mil net nom org rec store uk web".split(" "),lp_all_tlds.ro="arts com firm info nom nt org rec store tm www".split(" "),lp_all_tlds.ve="arts bib com co edu firm gov info int mil net nom org rec store tec web".split(" "),lp_all_tlds.lv="asn com conf edu eu gov id mil net org".split(" "),lp_all_tlds.lk= "assn com edu gov grp hotel int ltd net ngo org sch soc web".split(" "),lp_all_tlds.fr="asso com gouv nom prd presse tm".split(" "),lp_all_tlds.gp=["asso","com","edu","net","org"],lp_all_tlds.mc=["asso","tm"],lp_all_tlds.tr="av bbs bel biz com dr edu gen gov info k12 mil name net org pol tel web".split(" "),lp_all_tlds.az="biz com edu gov info int mil name net org pp".split(" "),lp_all_tlds.et="biz com edu gov info name net org".split(" "),lp_all_tlds.nr="biz com co edu gov info net org".split(" "), lp_all_tlds.om="biz com co edu gov med mil museum net org pro sch".split(" "),lp_all_tlds.pk="biz com edu fam gob gok gon gop gos gov net org web".split(" "),lp_all_tlds.pr="biz com edu gov info isla name net org pro".split(" "),lp_all_tlds.tt="biz com co edu gov info name net org pro us".split(" "),lp_all_tlds.ua="cherkassy chernigov chernovtsy ck cn com crimea cv dnepropetrovsk dn donetsk dp edu gov if ivano-frankivsk kharkov kherson khmelnitskiy kh kiev kirovograd km kr ks kv lg lugansk lutsk lviv mk net nikolaev odessa od org pl poltava rovno rv sebastopol sumy ternopil te uzhgorod vinnica vn zaporizhzhe zhitomir zp zt".split(" "), lp_all_tlds.tw="club com ebiz edu game gove gov idv mil net org".split(" "),lp_all_tlds.ag=["co","com","net","nom","org"],lp_all_tlds.ao="co ed gv it og pb".split(" "),lp_all_tlds.bw=["co","org"],lp_all_tlds.ck=["co"],lp_all_tlds.ls=["co","org"],lp_all_tlds.ma=["co","gov","net","org"],lp_all_tlds.af=["com","edu","gov","net"],lp_all_tlds.ai=["com","net","off","org"],lp_all_tlds.al="com edu gov inima net org soros tirana uniti upt".split(" "),lp_all_tlds.an=["com","edu","net","org"],lp_all_tlds.ar= "com gov int mil net org".split(" "),lp_all_tlds.aw=["com"],lp_all_tlds.bb=["com","edu","gov","net","org"],lp_all_tlds.bd="com edu gov mil net org".split(" "),lp_all_tlds.bm=["com","edu","gov","net","org"],lp_all_tlds.bn=["com","edu","net","org"],lp_all_tlds.bo="com edu gob gov int mil net org tv".split(" "),lp_all_tlds.bs=["com","net","org"],lp_all_tlds.bt=["com","edu","gov","net","org"],lp_all_tlds.cd=["com","net","org"],lp_all_tlds.ch=["com","gov","net","org"],lp_all_tlds.cu="com edu gov inf net org".split(" "), lp_all_tlds.dm=["com","edu","gov","net","org"],lp_all_tlds.ec="com edu fin gov info k12 med mil net org pro".split(" "),lp_all_tlds.ee=["com","fie","org","pri"],lp_all_tlds.eg="com edu eun gov mil net org sci".split(" "),lp_all_tlds.es=["com","edu","gob","nom","org"],lp_all_tlds.eu=["com"],lp_all_tlds.gb=["com","net"],lp_all_tlds.ge="com edu gov mil net org pvt".split(" "),lp_all_tlds.gh=["com","edu","gov","mil","org"],lp_all_tlds.gi="com edu gov ltd mod org".split(" "),lp_all_tlds.gr=["com","edu", "gov","net","org"],lp_all_tlds.gu="com edu gov mil net org".split(" "),lp_all_tlds.hk="com edu gov idv net org".split(" "),lp_all_tlds.hn="com edu gob mil net org".split(" "),lp_all_tlds.hr=["com","from","iz","name"],lp_all_tlds.jm=["com","edu","gov","net","org"],lp_all_tlds.jo="com edu gov mil net org".split(" "),lp_all_tlds.kh="com edu gov mil net org per".split(" "),lp_all_tlds.kw="com edu gov mil net org".split(" "),lp_all_tlds.ky=["com","edu","gov","net","org"],lp_all_tlds.kz="com edu gov mil net org".split(" "), lp_all_tlds.la=["com","net","org"],lp_all_tlds.lb="com edu gov mil net org".split(" "),lp_all_tlds.lc=["com","edu","gov","net","org"],lp_all_tlds.li=["com","gov","net","org"],lp_all_tlds.lr=["com","edu","gov","net","org"],lp_all_tlds.ly="com edu gov id med net org plc sch".split(" "),lp_all_tlds.mg="com edu gov mil nom org prd tm".split(" "),lp_all_tlds.mk=["com","org"],lp_all_tlds.mm=["com","edu","gov","net","org"],lp_all_tlds.mo=["com","edu","gov","net","org"],lp_all_tlds.mt=["com","edu","gov", "net","org"],lp_all_tlds.mu=["com","co"],lp_all_tlds.mx="com edu gob gov net org".split(" "),lp_all_tlds.my="com edu gov mil name net org".split(" "),lp_all_tlds.na=["com","net","org"],lp_all_tlds.nc=["com","net","org"],lp_all_tlds.ng=["com","edu","gov","net","org"],lp_all_tlds.ni="com edu gob net nom org".split(" "),lp_all_tlds.no="com fhs folkebibl fylkesbibl herad idrett kommune mil museum priv stat vgs".split(" "),lp_all_tlds.np="com edu gov mil net org ort".split(" "),lp_all_tlds.pe="com edu gob mil net nom org".split(" "), lp_all_tlds.pf=["com","edu","org"],lp_all_tlds.pg=["com","net"],lp_all_tlds.ph="com gov mil net ngo org".split(" "),lp_all_tlds.ps="com edu gov net org plo sec".split(" "),lp_all_tlds.pt="com edu gov int net nome org publ".split(" "),lp_all_tlds.py=["com","edu","gov","net","org"],lp_all_tlds.qc=["com"],lp_all_tlds.sa="com edu gov med net org pub sch".split(" "),lp_all_tlds.sb=["com","edu","gov","net"],lp_all_tlds.sc=["com","edu","gov","net","org"],lp_all_tlds.sd="com edu gov info med net org tv".split(" "), lp_all_tlds.sg="com edu gov idn net org per".split(" "),lp_all_tlds.sh="com edu gov mil net org".split(" "),lp_all_tlds.sv="com co edu gob org red".split(" "),lp_all_tlds.sy=["com","gov","net","org"],lp_all_tlds.tn="com edunet ens fin gov ind info intl nat net org rnrt rns rnu tourism".split(" "),lp_all_tlds.uy="com edu gub mil net org".split(" "),lp_all_tlds.vi="com co edu gov net org".split(" "),lp_all_tlds.ye=["com","net"],lp_all_tlds.pro=["cpa","law","med"],lp_all_tlds.arpa="e164 in-addr ip6 iris uri urn".split(" "), lp_all_tlds["int"]=["eu"],lp_all_tlds.bf=["gov"],lp_all_tlds.by=["gov","mil"],lp_all_tlds.cx=["gov"],lp_all_tlds.ie=["gov"],lp_all_tlds.it=["gov","pisa"],lp_all_tlds.lt=["gov","mil"],lp_all_tlds.lu=["gov","mil","net","org"],lp_all_tlds.to=["gov"],lp_all_tlds.tp=["gov"],lp_all_tlds.tv=["gov"],lp_all_tlds.mobi=["music","weather"],lp_all_tlds.mh=["net"],lp_all_tlds.ad=["nom"],lp_all_tlds.sr=["rs"],lp_all_tlds.va=["vatican"]}function checkurlrules(a,b){return b}function applyurlrule(a){return a} function removeurlrule(a){return a}function lpsubstring(a,b,c){var d="",e=c-b;for(c=0;c<e;++c)d+=a[c+b];return d}function lpcreaterandomhexstring(a){for(var b="",c=0;c<a;c++)var d=get_random(0,15),b=b+"0123456789ABCDEF".substring(d,d+1);return b}function lpalert(a,b){"undefined"!=typeof LP&&"function"==typeof LP.lpgs?LP.alert(LP.lpgs(a),b):"function"==typeof alertfrombg?alertfrombg(lpgs(a)):alert(lpgs(a))} function checkUsernameHash(){if(null==lpusername_hash||""==lpusername_hash){var a=null;"string"==typeof g_username&&""!=g_username?a=g_username:"string"==typeof lpusername&&""!=lpusername&&(a=lpusername);null!=a&&("function"==typeof SHA256?lpusername_hash=SHA256(a):"function"==typeof lp_sha256&&(lpusername_hash=lp_sha256(a)))}}function utf8_to_b64(a){return btoa(a)}function b64_to_utf8(a){return atob(a)} function is_encrypted_field(a){return"text"==a||"password"==a||"textarea"==a||"email"==a||"tel"==a} function clear_filled_fields(a,b,c){"undefined"==typeof c&&(c=1);if(10<c)return null;if(a&&"object"==typeof a.lp_filled_fields){for(var d=0;d<a.lp_filled_fields.length;d++){var e=a.lp_filled_fields[d].value;a.lp_filled_fields[d].value="";""!=e&&fire_onchange(a.lp_filled_fields[d])}a.lp_filled_fields=[]}if(b&&b.frames){a=b.frames.length;10<a&&(a=10);for(d=0;d<a;d++)b.frames[d].document&&clear_filled_fields(b.frames[d].document,b.frames[d].window,c+1)}} function fix_url_host(a){if("string"==typeof a){if(27<a.length&&-1!=a.indexOf("logmein.com",a.length-11)){var b=a.match(/^(.*)-[a-z]{10}(\.app).*(\.logmein\.com)$/);if(b)return b[1]+b[2]+b[3]}if(24<a.length&&-1!=a.indexOf("logme.in",a.length-8)&&(b=a.match(/^(.*)-[a-z]{10}(\.app).*(\.logme\.in)$/)))return b[1]+b[2]+b[3]}return a}var lpgslocales=[],lpgscache=[];function getchromeurl(a){return a}var g_console_log=""; function truncatelog(){2E4<g_console_log.length&&(g_console_log=g_console_log.substring(g_console_log.length-2E4))}function console_log(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console.log(a),g_issafari&&(truncatelog(),g_console_log+=a+"\n"))}function console_warn(a){g_isopera?window.opera.postError(a):"undefined"!=typeof console&&console.warn(a)} function console_error(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console.error(a),g_issafari&&(truncatelog(),g_console_log+=a+"\n"))}function dispatch_message(){g_isie&&L("not implemented yet. need callout to lptoolband")}function lp_ofja(a){return lp_ofa(lp_es(a))} function lp_ofa(a){a=a.toString();var b=a.length,c="",d=0,e;for(e=0;e<b;++e)d=a.charCodeAt(e),48>d||57<d&&65>d||90<d&&97>d||122<d&&256>d?(d=d.toString(16),2!=d.length&&(d="0"+d),c+="&#x"+d+";"):c+=a.charAt(e);return c}function lp_of(a,b){"undefined"==typeof b&&(b=document);var c=b.createElement("div"),d=b.createTextNode(a);c.appendChild(d);return c.innerHTML}function lpdbg(a,b){"undefined"!=typeof g_isdebug&&g_isdebug&&lplog(a+" : "+b)}function lplog(a){console_log(a)} LP_addEventHandler(document,"click",function(a){if(!do_bgiconinput||!icon_click_handler(a))is_your_popup_showing(document)?do_experimental_popupfill&&(a=LP_getEventTarget(a),g_popupfill_parent!=a&&closepopupfills(document)):(setTimeout(function(){checkShouldRecheck()},500),"undefined"==typeof document.addEventListener&&setTimeout(function(){checkShouldRecheck()},1200))});var LPJSON=this.LPJSON={}; (function(){function a(a){d.lastIndex=0;return d.test(a)?'"'+a.replace(d,function(a){var b=g[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function b(c,d){var g,n,m,s,r=e,k,q=d[c];q&&("object"===typeof q&&"function"===typeof q.toJSON)&&(q=q.toJSON(c));"function"===typeof h&&(q=h.call(d,c,q));switch(typeof q){case "string":return a(q);case "number":return isFinite(q)?String(q):"null";case "boolean":case "null":return String(q);case "object":if(!q)return"null"; e+=f;k=[];if(h&&"object"===typeof h){s=h.length;for(g=0;g<s;g+=1)n=h[g],"string"===typeof n&&(m=b(n,q))&&k.push(a(n)+(e?": ":":")+m)}else for(n in q)Object.hasOwnProperty.call(q,n)&&(m=b(n,q))&&k.push(a(n)+(e?": ":":")+m);m=0===k.length?"{}":e?"{\n"+e+k.join(",\n"+e)+"\n"+r+"}":"{"+k.join(",")+"}";e=r;return m}}var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,d=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, e,f,g={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},h;"function"!==typeof LPJSON.stringify&&(LPJSON.stringify=function(a,c,d){var g;f=e="";if("number"===typeof d)for(g=0;g<d;g+=1)f+=" ";else"string"===typeof d&&(f=d);if((h=c)&&"function"!==typeof c&&("object"!==typeof c||"number"!==typeof c.length))throw Error("JSON.stringify");return b("",{"":a})});"function"!==typeof LPJSON.parse&&(LPJSON.parse=function(a,b){function d(a,c){var e,f,g=a[c];if(g&&"object"===typeof g)for(e in g)Object.hasOwnProperty.call(g, e)&&(f=d(g,e),void 0!==f?g[e]=f:delete g[e]);return b.call(a,c,g)}if("undefined"!=typeof g_ischrome&&g_ischrome)return JSON.parse(a,b);var e;c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),"function"===typeof b?d({"":e}, ""):e;throw new SyntaxError("JSON.parse");})})();

Benefits & Rewards Services

World map (242px)

Gift Pass

Gift PassIn China, Sodexo offers its corporate clients a Gift Pass to motivate their employees by giving them the freedom to choose gifts from a variety of affiliate sectors – dining, education and leisure.