5 Books for Dog Lovers

Michael Vick's dogs

With the holidays coming up and time off of work, you may finally have time to sit down, relax – maybe even read a book. Although I don’t just read books about dogs (I do have a couple of other interests), I’ve come across several dog-oriented books lately that I’ve added to my “to-read” list.

So, if you’re looking for something to read, or maybe have a book-and-dog-loving friend on your Christmas gift list, here are some good book recommendations:

The Lost Dogs: Michael Vick’s Dogs and Their Tale of Rescue and Redemption – Jim Gorant

I am really excited to read this book. Like a lot of people, I’ve been fascinated by stories of the dogs involved in the Michael Vick dog-fighting ring. There were 51 dogs rescued from the ring, many that have been successfully rehabilitated, some even working as therapy dogs now.  The story discusses the tragedy of their early days and the aftermath of their rescues.

 

Michael Vick's dogs
One of the “Vicktory Dogs,” Handsome Dan

 

Find Momo – Andrew Knapp

If you’re not already following Andrew Knapp and his dog Momo on Instagram (@AndrewKnapp), you should be. Find Momo is a collection of the photos Andrew takes of his dog Momo as he travels across Ontario. The images are beautifully staged, and it’s a fun challenge to find Momo among the beautiful backdrops he shoots.

 

The Art of Racing in the Rain – Garth Stein

I read this book last year and thought it was really cute. The story is told from the dog, Enzo’s perspective as he helps his owner deal with several tragedies in his life. Although the story itself is a little overwrought, any dog owner who has wondered what their dog is thinking will appreciate the interesting narrative. It’s a light, easy read perfect for a holiday break.

 

The Genius of Dogs – How Dogs Are Smarter Than You Think – Brian Hare and Vanessa Woods

I love books that give me more insight into what my dog is thinking, so this one has been on my to-read list for a while. I am hoping that I will get around to it soon! Co-written by one of the founders of the Duke Canine Cognition Center, the book examines how the dog’s mind works, giving you the insight to understand and communicate better with your dog.

Travels with Casey – Benoit Denizet-Lewis

I was kind of disappointed when I saw this book, since he totally stole my idea! In this novel, Benoit travels across the country with his dog, exploring the dog culture of the U.S. To be honest, although I was excited by the premise, I started this book and kind of lost interest. I liked the idea of it, but wasn’t that big of a fan of his storytelling. It’s an interesting idea, so I expect I’ll go back to it at some point to read about where else they go in the U.S. And now I feel like I can still write my book someday, since it won’t be that much like this one.

What are you reading? Any dog books I should add to my list?

// <![CDATA[

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;bparseInt(b)&&(b=”0px”);0>parseInt(c)&&(c=”0px”);dotrans?(g_frame_css_str=g_fixed_iframe_position?”display:block; position:fixed !important; visibility:visible !important; z-index:”+CLICKABLE_ICON_ZINDEX+” !important; border-style:none !important;”:
“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=g_fixed_iframe_position?”display:block; position:fixed !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);”:
“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=g_isie?”38px”:”26px”;”undefined”!=typeof e&&0<e&&(a.height=24*e+23+"px");a.height=0
a)a=200;g_weaseled=!0;popupfill_resize();g_weasel_id=setTimeout(function(){weasel(a)},a)}}function issaveall(a){a=a.elements;for(var b=0,c=0,d=0,e=0;e
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&&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}function createpopuptoplevel_handler(a){var b=document,c=a.data.id,d=a.data.rows;a=a.data.width;is_your_popup_showing(b)?alert(“error : create top”):popupfill_create_iframe(b,”10px”,”10px”,c,d,a,”60px”)}
function popupfillresize_handler(a){g_minwidth_override=parseInt(a.width);g_minheight_override=parseInt(a.height);g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&!LP_inIframe(window)&&toplevel_iframe_state_get()&&relocate_popupfill_iframes(document)}
var g_content_check=!0,g_input_click_intercept=!0,g_fixed_iframe_position=!1,g_force_fill_active_element=!1,g_create_iframe_in_top=!1,g_inframe=null,g_toplevel_iframe_exists=!1,g_detect_species=!1,False=!1,True=!0,pass=!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_form_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_dark_ico0=”iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhsdjWkOXwAAAKJJREFUOMtjYBi2QIGBgcEBiW8AxUSBAgYGhvcMDAz3kcQuMDAw/GdgYGhAV8yCwxABKE6A8vWh9ANiXXEAauN9KP4PFcMAjGj+loeyH6J5gQHqmgdI8hiuaYDaRAyGhwUTpdGF7gUFJPZ8NLWGSAH8gFCAwgIRpvA/AwPDfmJdFYDk1wQohvEL0BVjCwMDpJBeAMUPGRgYPlKSlB2Qwme4AQBDOy61dYCtFwAAAABJRU5ErkJggg==”,g_sites_ico=”data:image/png;base64,”+g_sites_dark_ico0,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+AVYgRaTgXhe2C968x2nh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PhkjqK9/t/DLlAqFgnanOHv1Jmcmh9neXGVxaYUvf7M+L9O53Pz4mtrLBodTSWID/kKf2svRiY7joYMec1c8COtsva3T+DOCzyxViwNPvwEMIZXdCan/PwAAAABJRU5ErkJggg==",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiIBl+zfqgAAAdJJREFUOMvNkj9oU2EUxX/3e4+X2AYtgoIotAUVlZSiVQKCOFgwQ50cKhUcg4qbEITwvfyTjEKnCqUgbqJooQgFRXAROoiiKFWHOsdiSw0UXvK4DkloGl+wOHm2c7ice++5F/47ZLPZQ9baM21urU1Za0d61ZtOYq29FY/Hl0VkDhBARGRGRN75vl+JMnC7eCAi/cCItXZSVRsichJAVb9FGUg3933/tYicA76qaigix4FXxWLxQk+DXC43aIzZXa/XN13XHTLGLIqI0+ocApdVtSoiiUaj8aNSqbzftoLruneA67FY7M8OTaN5keawruvOApnuEM2/Xk1a6Y+p6j5VXReR/Y7jPANMu+tfDTqRz+dfAOOq+tEY07q/x1j6EqeG9rLx/QPPF5eo9fiDK8B4i5bb+pGJDBOpJH3EOJZKk5kcjX4k4CjQUNVPpVLpSVNKMHjAY315nun7D1gJoS8WjzYol8ulIAhGwzC8CWhTrfFy9h7Tj1yy+dsMO7BarfbOoBOFQkHB40TqLLt+fubL6h4uXp0iObDCzN2HVCNeOQL9nE6fZzg4yMbcG3Caan3n91/j6eMlfnmHmbpxjeTAJm8XFljb+Qpb8BIeQS3YVvMbj7WWjTVB6I8AAAAASUVORK5CYII=",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiIqO1Am6gAAAb1JREFUOMvNkk1rU0EUhp8zd0gCrdKFNgiCFatiI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BwnYBhTBxiLYWNj5EzaQH2GnvYiVEKxSmEoPUlikEO5SSDiFnJAQyanEwg1uzEVPbBwYdnaG2Zn3nVn4j5IEcso9IzWQHAIuYCm+GtAHhF9C2McXk7on7yvytIN2UZEVLal96fOVCQX3grQbXyAgu7GV+Eg3QlYKokNcTP51ZCqEpGIfAwghfnwgrDBsKyQOsA54YdHYJJeepfdYp3xW4WEMhC0gq/ACQMIosLuRIdTtMp/OcrBvjN2DjFL95AOKxvpaCtp3XN/UibdavDbviQCezwNCJiY/XVNoYSCqk9/WIQRPt00qpjV2CvbI4oQAp0qxVKRsecTSyySCj9Gl4XgwnWI1tYQ+E4HnHi+/2YOr80uctznyhR30aJvq6QXuN5/JpwmTo5KJFtfouJ2h0Du9o2L2gjumAgAAAABJRU5ErkJggg==",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDiYHGuO/mwAAASZJREFUOMvNk79KA0EQxn+aQywsEiwCMXgXUbAzYCsYawNa2KXJEwQfYQXB2idIGiura/UKFSwF04iFkItYWeQiWIU7YpERxrjqkTR+MOzuDPPvm1n4j/CAinqXRVLhEIiAjtLdA0PA2Bwciy4rUpf3hpxh2iquJGNHZCg6K2ZU367cu2MtINWEyv6tGiOZ0sgXLmanHZluwVP3JoAx5s8AjmI4VCR+9urCAlt7uyzNx8TxyCV+e8QP2tYx7gPbipcmwKK3xno2QwJkABKHm6BNZAlQVtlbowDv+KfH+EBus0ajusxt65zoBxINUFJLpFDioLrK4OmC4GXw6yaGtjkXKzsUSLi+vGOiMXoreUieeXhlkgA53Pwc9Hv0U3wmCyLOTo6slg+fZlNd2Y2MegAAAABJRU5ErkJggg==",
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwE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cDi7OSagWmNhSUNPh/ZSZxjWGCkvzAB8+mOl5f07x6UUMgjafS5MdJGWbo/W6+PV71qU8EAAAAASUVORK5CYII="];
return c?b[d]:a[d]}
var g_sites_light_ico0="iVBORw0KGgoAAAANSUhEUgAAABAAAAASCAYAAABSO15qAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3QsPDhss3LcOZQAAAU5JREFUOMvdkzFLA0EQhd/bO7iIYmklaCUopLAQA6KNaawt9BeIgnUwLHPJRchfEBR7CyGWgiDY2SlIQBT/gDaCoGDudiy8SLwkBiwz1c7y+GZ25i0wnFEqlSZFZKGdi8iiiOR7aU32QkR2c7ncPcljAARAkgckb8IwrGf1fg/oJ8lRAHkR2VDVmOQ8AKjqY1bMHgCGYXhFchnAg6omJGcBXEZRtNoXYK2dMsaMt1qtD9/3p40x5yS9tHICYF1Vn0mOxXH8Uq/Xb389wff9PQDbQRB0t/QNOiPZ1h4B2MoO0fxnYz8dOOcOVbWhqq8kJzzPa3RAXZIkawCenHMjJN/+GiIqlcoFgKKq3pEMAMwAuCa5VK1W3SAfbAIopum+cy5KzwXn3M5AI6XVYlVt1mq1U8/zTlS1CeC9j2+6o1wuz1lrVzpWXLDWTg3pz/0CQnd2Jos49xUAAAAASUVORK5CYII=",g_sites_light_ico=
"data:image/png;base64,"+g_sites_light_ico0,g_pw_light_ico="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACIUlEQVQ4EX2TOYhTURSG87IMihDsjGghBhFBmHFDHLWwSqcikk4RRKJgk0KL7C8bMpWpZtIqNkEUl1ZCgs0wOo0SxiLMDApWlgOPrH7/5b2QkYwX7jvn/uc//zl3edZ4PPbNGvF4fC4ajR5VrNvt/mo0Gr1ZPOtfgWw2e9Lv9+chX7cs64CS4Oxg3o9GI7tUKv0Q5o1dAiTfCgQCLwnOkfQOu+oSLyJ2A783HA7vIPLGxX0TgVwud4HKn0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4EaVTOQ7CMBCMETShzcdo4CVOkyJykQb/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)||LP_implicit_ignored(a,b)||LP_isCaptchaField(b)?
!1:c&&!chk_form_has_password(a,b.form)&&!checkDocumentForLoginOrphans(a)?(verbose&&(a=LP_pickFormName(a,b.form),verbose_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.length)c=a.location.href;a=lpcanonizeUrl(c);c=lpcanonizeUrl(lp_gettld_url(c));for(var d=0;dMAX_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,k=3;c&&(k=2);g_aspx_hack&&isASPpage()&&(k=7);if(“tumblr.com”==f&&(tumblr_action_btn=a.getElementById(“signup_forms_submit”),null!=tumblr_action_btn)){c=tumblr_action_btn.getElementsByTagName(“SPAN”);
var j;for(j=0;j<c.length;j++)if(0<=c[j].className.indexOf("login_btn")&&checkIsDisplayed(a,c[j],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")||0MAX_FORM_ELEMENTS_SOFT&&(s=MAX_FORM_ELEMENTS_SOFT);for(var r=0;r<s;r++){var p=b.elements[r];"INPUT"==p.tagName&&("password"==p.type?j++:("text"==p.type||"email"==p.type)&&n++);if("INPUT"==p.tagName&&"submit"==p.type||"BUTTON"==p.tagName)if(m++,l=p,10MAX_FORM_ELEMENTS_SOFT)return!1}if(1==m&&2>=n&&0<j&&checkButtonHint(l))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(p=n[r],m=!1,"FIELDSET"!=p.tagName&&valid_by_role(a,p)&&!LP_fieldIsDisabled(p)&&("expedia.com"==f||checkIsDisplayed(a,p,0,f,c))){if("text"==p.type&&is_watermark(p.className)&&is_watermark_password(p))try{p.type="password"}catch(q){m=!0}if("BUTTON"==p.tagName&&"submit"==p.type&&null!=p.innerText&&0<=p.innerText.indexOf("Create")||"BUTTON"==p.tagName&&"submit"==p.type&&null!=p.innerText&&0<=p.innerText.indexOf("Register")||"INPUT"==
p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Create")||"INPUT"==p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Register")||"INPUT"==p.tagName&&"submit"==p.type&&null!=p.value&&0<=p.value.indexOf("Sign me up")||"INPUT"==p.tagName&&"image"==p.type&&null!=p.value&&"create"==p.value)k=2,verbose_log("form "+e+" has a signup button, loosening detection requirements");if(1<j&&LP_passwordAlt(a,p))h++;else if(l=fieldIsDoublePassword(a,p),!b||!("form1"==b.id&&b.action&&b.action.indexOf(".aspx")&&
"text"==p.type&&(l===DOUBLE_PW_VISIBLE||l===DOUBLE_SECRET_PW_VISIBLE)))if(!do_bgiconinput||!("text"==p.type&&(l===DOUBLE_TEXT_VISIBLE||l===DOUBLE_SECRET_TEXT_VISIBLE))){if("password"==p.type||m||"text"==p.type&&l===DOUBLE_TEXT_VISIBLE||"text"==p.type&&l===DOUBLE_SECRET_TEXT_VISIBLE){m=p.getAttribute("placeholder");null!=m&&0<=m.indexOf("Create your")&&(k=2);if("facebook.com"==f&&"string"==typeof p.id&&p.id.match(/^[a-z0-9]{6}_d{1,2}_ci_password$/))continue;else if("tdbank.com"==f&&"string"==typeof p.name&&
"user"==p.name){h++;continue}if(0==d&&1<j&&passwordIsFake(p)){h++;continue}d++}else if("email"==p.type||"text"==p.type||"textarea"==p.type||"tel"==p.type||"url"==p.type)if(treat_text_as_password(p))d++;else{if(LP_isForgetField(p))continue;lpIsVisible(p,!0)&&(m=LP_pickFieldName(a,p),LP_looksLikeOTPField(a,p)?verbose_log("chk_form_ask_generate OTP field ignore on "+m):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=k)return 2<=d&&verbose_log("form "+e+" is a signup form, has enough pw fields [PW:"+d+"/NON:"+h+"]"),1=k&&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){if(!a)return!1;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 LP_isForgetField(a){if(!a)return!1;var b=a.name,c=/(?:Forg[oe]t)/i;return c.exec(a.id)||c.exec(b)?!0:!1}
function LP_isCaptchaField(a){if(!a)return!1;var b=a.id;a=a.name;var c=RegExp(lpgs(“ff_captcha_regexp”),”i”);return c.exec(b)||c.exec(a)?!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;var f=c=0,g=b.elements,h=g.length;h>MAX_INPUTS_HARD&&(h=MAX_INPUTS_HARD);for(var k=0;k<h;k++){var j=g[k];if("FIELDSET"!=j.tagName&&("email"==j.type||"text"==j.type||"password"==j.type)&&!LP_fieldIsDisabled(j)){if(100g.length)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=c&&"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=c&&"undefined"!=typeof c.getComputedStyle?c.getComputedStyle(e):e.currentStyle;if(null!=h&&"none"!=h.display&&"hidden"!=h.visibility&&(null==e.offsetHeight||""===e.offsetHeight||1e.offsetHeight))e=e.parentNode;else return!1}catch(k){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 k="password"==f[h].type;if(!b||k)if(!("checkbox"==f[h].type||"hidden"==f[h].type)&&checkIsDisplayed(a,f[h],0,null,g))k&&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 k="undefined"!=typeof window&&window?window:a.defaultView,f=k&&"undefined"!=typeof k.getComputedStyle?k.getComputedStyle(f,null):f.currentStyle;a.g_posbodystyle_cache=f}else f=a.g_posbodystyle_cache;f&&"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,k=0,j=0;popup_show_menu_expand_visual_cue&&(j=16);var m={};"undefined"!=typeof b.favicons&&(m=LPJSON.parse(b.favicons));g="

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+(”

n”),g=g+(”

n”;g+=”

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+j>k&&(k=n.width+20+j)}g+=”

n”);do_experimental_popupfill&&”undefined”!=typeof m[d[h].aid]&&(g+=”“);g+=”‘;g+=lp_of(f,a);g+=”“;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+="
"+lp_of(d[h].name,a)+"
");g+="

n

“;g+=”

“;g+=”

n”;if(“undefined”==typeof b.formfills)f=0;else{d=LPJSON.parse(b.formfills);f=c(d);var l;
for(l=0;1>=l;l++)for(h in d)if(d.hasOwnProperty(h)&&null!=d[h]&&null!=d[h].decprofilename&&null!=d[h].profiletype&&parseInt(d[h].profiletype)===l){n=””;””!=d[h].ccnum&&0==d[h].profiletype&&(n=”hascc=’1′ “);g+=”

n”;g+=”

n”;g+=”

n”;n=LP_measureText(a,n,null,”font-size: 14px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;”);
n.width+20+j>k&&(k=n.width+20+j)}}g_do_icon_number_hint&&(g_icon_numbers.sites=e,g_icon_numbers.formfills=f);if(do_popup_actions)0<f&&(g+="

n”);else if(0>=e&&0>=f)return null;g+=”

n”;g+=”

“;if(do_popup_actions)g+=”

“;else if(0>=e&&0>=f)return null;300<k&&(k=300);g_popupfill_widest=k;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;g_isfirefox&&verbose_log("entered is_your_popup_showing for doc="+a.location.href);if(g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window))return toplevel_iframe_state_get();
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 k=d[h].type;"password"==k?f++:"text"==k||"tel"==k||"email"==k?e++:"textarea"==k&&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/&quot;;"undefined"!=typeof base_url&&(b=base_url);return 0==a.indexOf(b)||0==a.indexOf("https://lastpass.com/&quot;)||0==a.indexOf("https://lastpass.eu/&quot;)?!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_form_cnt=countFormEquivalents(a),a.g_did_setupInputObserver=!1):(g_input_cnt=countInputs(a),g_form_cnt=countFormEquivalents(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)||checkDocumentForCPWOrphans(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);!g_isfirefox&&!g_isie&&g_create_iframe_in_top&&(g_inframe=LP_inIframe(window))}}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&&eMAX_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,k=e=0,j=0,m=null,n=0;n<MAX_FORM_ELEMENTS_SOFT&&n=k&&0<e&&checkButtonHint(m))return!0;var j=k=0,m=!lpIsVisible(b),s=!1;b=b.elements;for(n=0;n<MAX_FORM_ELEMENTS_SOFT&&n<b.length;n++)if(l=b[n],h=!1,"FIELDSET"!=l.tagName&&(check_for_ASP(a,l),valid_by_role(a,l)&&!LP_fieldIsDisabled(l))){if("text"==l.type&&is_watermark(l.className)&&is_watermark_password(l))try{l.type="password",lpdbg("onload","switching field from text to password from chk_form_has_password")}catch(r){h=!0}ASP_treat_text_as_password(l)&&
(h=!0);if(1<e&&LP_passwordAlt(a,l))j++;else{var p=fieldIsDoublePassword(a,l);if(!("text"==l.type&&(p===DOUBLE_PW_VISIBLE||p===DOUBLE_SECRET_PW_VISIBLE)))if("password"==l.type||h||"text"==l.type&&p===DOUBLE_TEXT_VISIBLE||"text"==l.type&&p===DOUBLE_SECRET_TEXT_VISIBLE){if(!("facebook.com"==f&&"string"==typeof l.id&&l.id.match(/^[a-z0-9]{6}_d{1,2}_ci_password$/)))if("tdbank.com"==f&&"string"==typeof l.name&&"user"==l.name)j++;else{if(g_fillaid&&c)return!0;if(g_aspx_hack&&isASPpage()&&do_bgiconinput)verbose_log("ASP/bgicon login");
else if(!lpIsVisible(l))if(s=!0,m)verbose_log("EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE "+LP_pickFormName(a,l));else continue;if(0==k&&1=l)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:”+k+”/NON:”+j+”]”),null}}else if(“email”==l.type||”text”==l.type||”textarea”==l.type||”tel”==
l.type||”url”==l.type){if(!lpIsVisible(l))if(m)verbose_log(“EVALUATING HIDDEN FORM, NOT IGNORING HIDDEN FIELD ANYMORE “+LP_pickFormName(a,l));else continue;j++;if(g_aspx_hack&&5<j||!g_aspx_hack&&2<j)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:"+k+"/NON:"+j+"]"),null}}}if(1==k)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<k)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;for(var c=LP_getAllInputsByIdOrName(a,b,!0),d=[],e=0;e<c.length;e++)d[d.length]=c[e];var e=d.length,f=a.getElementById(b);if(null!=f){if(0==e||1==e&&(c[0]==f||null==c[0]))return f;d[d.length]=f}if(LP_name_is_inputidx(a,b)&&(c=LP_getinputidx_from_name(a,b),null!==c&&(f=LP_getElementByIdx(a,c),null!=f)))return f;if(1==e)return d[0];if(0==e)return null;
c=[];e=0;f=-1;if("undefined"!=typeof Math){for(var g=Math.floor(1E4*Math.random()),h=0;he&&(e=c[h],f=h)}return 0<=f?d[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);var e=a.getElementsByName(b);c=[];for(var f=0;fMAX_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=[],k;for(k in a)c.call(a,k)&&b.push(k);if(d)for(k=0;k<f;k++)c.call(a,e[k])&&b.push(e[k]);
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=c&&"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()),k=["input"],j=0;j<k.length;j++)for(var m=a.getElementsByTagName(k[j]),n=0;n<m.length&&!(100<n);n++)if(checkIsDisplayed(a,m[n],0,null,h)){f=m[n];if(null!=f.id&&""!=f.id){var l=d[f.id];if(null==l)d[f.id]=!0;else continue}if(null!=f.name&&""!=f.name)if(l=c[f.name],null==l)c[f.name]=!0;else continue;if(lp_in_array(LP_pickFieldName(a,f),b))verbose_log("fieldname "+
b[l]+" 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,m[n-1]),RegExp(lpgs("ff_username_regexp"),"i").exec(f)&&g++;if(2<=e&&2<=g)break}}return 1parseInt(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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMi1jMDAxIDYzLjEz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WGi584RAAAAIK7gZ4AAAAQdFJOU////////////////////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);g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window)&&toplevel_iframe_state_get()&&sendBG({cmd:"closepopuptoplevel"});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_form_cnt=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=g;g++){var d=!1,e=f=null,h=-1;if(1==g){if(c)for(var k=0;k<b.elements.length;k++)if(b.elements[k]==c){h=k+1;break}}else h=0;if(-1!=h){for(k=h;k=a.length)return c;popup_show_menu_expand_visual_cue&&(c=””,g_visual_cue_on_hover&&(c=” style=’display:none;'”),c=” 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)||chk_form_has_password(a,d),h=chk_form_is_nonlogin_form(a,d),d=chk_form_ask_generate(a,d),k=LPMAGIC+LP_pickFieldName(a,
b),k=a.getElementById(k);if(“undefined”!=typeof e.value&&0<e.value.length&&"undefined"!=typeof f.value&&0<f.value.length&&(g||d)&&!h){if(null!=k)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!=k&&(g_popup_active_username=e,g_popup_active_password=f,popuptoggle(a,null,LP_pickFieldName(a,b),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)):
null!=k&&(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&&valid_by_role(a,f)&&!LP_fieldIsDisabled(f)&&!is_search_field(a,f,!0)&&checkIsDisplayed(a,f,0,null,d)&&("text"==f.type||"email"==f.type||looksLikeUsername(f))){if(isFirstFieldNonLoginSubForm(a,f))break;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)g_popup_active_password=g_popup_active_username=null;else{var c=null,d=null;null==b?checkDocumentForLoginOrphans(a)&&(c=doc_get_orphan_username(a),d=doc_get_orphan_password(a)):(c=form_get_username(a,b),d=form_get_password(a,b));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)||"text"!=b.type)return!1;null===c&&(c=!1);var d=b.form,e=[];null!=d&&(e=d.elements);a=LP_pickFieldName(a,b);if(b.parentNode&&"FORM"!=b.parentNode.tagName&&b.parentNode.className&&0<=b.parentNode.className.toLowerCase().indexOf("login")&&b.className&&0<=b.className.toLowerCase().indexOf("search"))return!1;if((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")||0b.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))return!0;c=RegExp(lpgs(“ff_search_regexp”),”i”);if(c.exec(b.name)||c.exec(b.id))return verbose_log(“field “+a+” appears to be a search field based on regexp”),!0;c=b.getAttribute(“placeholder”);return null!=
c&&0<=c.toLowerCase().indexOf("search")?(verbose_log("field "+a+" appears to be a search field based on placeholder text"),True):"rds-instances-filter-txtbx"==b.id?(verbose_log("field "+a+" appears to be a search field based on manually added searchtext"),!0):b.parentNode&&"FORM"!=b.parentNode.tagName&&b.parentNode.className&&(0<=b.parentNode.className.toLowerCase().indexOf("search")||0<=b.parentNode.className.toLowerCase().indexOf("srch"))||"search"==b.getAttribute("role")?!0:!1}
function is_date_field(a){var b=a.name,c=/(?:date)|(?:calendar)/i,d=/(?:validate)/i,b=a.name;a=a.id;return c.exec(b)||c.exec(a)?d.exec(b)||d.exec(a)?!1:!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=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){if("undefined"==typeof 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$/i;
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;c=RegExp(lpgs("ff_email_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),k=null!=c&&looksLikeUsername(c),j=null!=d&&looksLikeUsername(d);return"password"==b.type&&!e&&c&&"text"==c.type&&f&&!k||"text"==b.type&&e&&!h&&d&&"password"==d.type&&!g||"password"==b.type&&!e&&d&&"text"==d.type&&g&&!j||"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&&!k||"text"==b.type&&!e&&d&&"password"==d.type&&
g||"password"==b.type&&e&&d&&"text"==d.type&&!g&&!j||"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(k){verbose_log("Error frame traverse "+
k.message),g=null}else!g_isie&&g_create_iframe_in_top&&pass;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,e){if(null==b)return verbose_log("setup_input_icon: ERROR passed null field"),!1;var f=null,f="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=f);var g=LP_pickFieldName(a,b);if(null==b||(!f||!a)||LP_explicit_ignored(a,b))return!1;if("generate"==
c||!e&&shouldOfferGenerate(a,b))c="generate";var h=gettldcached(a.location.href),k=shouldCreateFloatingIcon(a,b,h),f=a!=f;g_create_iframe_in_top&&(!g_isie&&!g_isfirefox&&LP_inIframe(window))&&(f=!0);saveIconState(g,{fillhint:c,fillhintnumber:d[c],inframe:f,idorname:g,doctld:h,dofloater:k?1:0,no_check_generate:e?1:0,IHTMLElement:b},b);k?(g_isfirefox&&verbose_log("setup_input_icon step3b"),lpIsVisible(b)&&(null==b.form||b.form&&lpIsVisible(b.form))&&LP_create_floating_icon(a,b,c,d)):set_input_icon_image(a,
b,c,!1);set_bg_highlight_effect_handlers(a,b,c);LP_didDocumentEscapeEvent(a)||(LP_setDocumentEscapeEvent(a),LP_addEventHandler(a,"keydown",function(a){LP_keypress_handler(a)},!1));LP_didFieldKeyEvent(a,b)||(verbose_log("SETTING KEYDOWN HANDLER ON "+LP_pickFieldName(a,b)),LP_setFieldKeyEvent(a,b),LP_addEventHandler(b,"keydown",function(d){LP_field_keypress_handler(d,b,c,a)},!1),g_isfirefox&&LP_addEventHandler(b,"keyup",function(c){handle_form_text_change(a,b,b.form,c)},!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 hasIconState(a,b){return getIconState(a,b)?!0:!1}
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=[]}var origstyle={};
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=LP_fieldGetWidth(b);if(!LP_iconFieldWidthOK(b,c))return!0;c=b.style.border;var g=b.style.backgroundImage;if(""==g)if(origstyle[b]=h,"undefined"!=
typeof g_isie&&g_isie&&b.currentStyle)g=b.currentStyle.backgroundImage,c=b.currentStyle.border;else try{var h=b.ownerDocument.defaultView.getComputedStyle(b,""),g=h.backgroundImage;c=h.border}catch(k){"undefined"!=typeof b.currentStyle&&(g=b.currentStyle.backgroundImage,c=b.currentStyle.border)}"none"==g&&(g="");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],g!="url("+
a+")"&&(b.style.backgroundImage="url("+a+")",a=b.ownerDocument.location.href,0<=a.indexOf("live.com")?b.style.paddingRight="18px":0<=a.indexOf("twitter.com")&&(b.style.paddingRight="16px"),g_issafari&&""!==c&&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.topa.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 lp_docinfoFromEvent(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=null,d=LP_getEventTarget(a).ownerDocument;d!=b&&(c=d,verbose_log(“click inside iframe “+c.location.href));a=LP_getEventTarget(a);var e=LP_pickFieldName(d,a);return{topdoc:b,framedoc:c,eventdoc:d,target:a,targetname:e}}
function icon_click_handler(a){var b=lp_docinfoFromEvent(a),c=b.topdoc,d=b.framedoc,e=b.target,f=b.targetname,g=!1,h=LP_getMousePos(a);if(0>=h.x&&0>=h.y)verbose_log(“icon_click_handler FATAL, failed to position of moouse”);else{for(var k=getAllIconStates(),j=0;j<k.length;j++){var m=k[j].IHTMLElement,n=k[j].idorname,b=k[j].fillhint;k[j].inframe?element_is_detached(d,m,0)&&(m=LP_getElementByIdOrName(d,n),refresh_input_icon_bg(d,m,b),k[j].IHTMLElement=m):element_is_detached(c,m,0)&&(m=LP_getElementByIdOrName(c,
n),refresh_input_icon_bg(c,m,b),k[j].IHTMLElement=m)}var k=getAllIconStates(),j;for(j=0;j=l.width&&0>=l.height)verbose_log(“skipping field “+b.idorname+” : no valid position”);else if(n=l.left+l.width-20,n<l.left&&(n=l.left),nh.x&&l.toph.y){e=!1;f=!0;h=g=!1;verbose_log(“icon_click_handler calling popuptoggle() [iframe]”);”generate”==b.fillhint?e=!0:b.no_check_generate||(e=shouldOfferGenerate(d,
m));”formfills”==b.fillhint&&(h=!0);c.g_popupfill_parent=m;popuptoggle(c,d,b.idorname,e,f,g,h,b.fillhint,b.fillhintnumber);g=!0;LP_stopEventPropagation(a);break}}}else if(m&&checkIsDisplayed(c,m,0))if(l=LP_getAbsolutePos(c,m),verbose_log(“comparing click against field “+n+” upper left=”+l.left+”,”+l.top),verbose_log(“comparing click against field “+n+” lower right =”+(l.left+l.width)+”,”+(l.top+l.height)),0>=l.width&&0>=l.height)verbose_log(“skipping field “+b.idorname+” : no valid position”);else{if(n=
l.left+l.width-20,n<l.left&&(n=l.left),nh.x&&l.toph.y){e=!1;f=!0;h=g=!1;verbose_log(“icon_click_handler calling popuptoggle()”);”generate”==b.fillhint?e=!0:b.no_check_generate||(e=shouldOfferGenerate(c,m));”formfills”==b.fillhint&&(h=!0);c.g_popupfill_parent=m;popuptoggle(c,d,b.idorname,e,f,g,h,b.fillhint,b.fillhintnumber,m);g=!0;LP_stopEventPropagation(a);break}}else verbose_log(“skipping field “+b.idorname+” : not found/visible”)}return g}}
function LP_getMousePos(a){var b;a=a||window.event;b=LP_getEventTarget(a).ownerDocument;if(0<b.location.href.indexOf(".xul"))return verbose_log("error: XUL mousepos return 0,0"),{x:0,y:0};var c=b.documentElement,d=typeof("number"==c.scrollLeft)?c.scrollLeft:b.body.scrollLeft,c=typeof("number"==c.scrollTop)?c.scrollTop:b.body.scrollTop;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);return{x:b,y:a}}
function popuptoggle(a,b,c,d,e,f,g,h,k,j){if(j)k=j;else if(b){if(0<b.location.href.indexOf(".xul"))return!0;k=LP_getElementByIdOrName(b,c)}else{if(0
f&&(f=120);f<g_popupfill_parent.offsetWidth&&(f=g_popupfill_parent.offsetWidth,f+=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}}g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&LP_inIframe(window)?sendBG({cmd:"createpopuptoplevelfromframe",
posx:d,posy:h,id:c,rows:j,width:f,minheight:g_minheight_override}):popupfill_create_iframe(a,d,h,c,j,f,g_minheight_override);g_popupfill_iframe_width_save=f}g_isfirefox?b?relocate_popupfill_iframes(b):relocate_popupfill_iframes(a):(!g_create_iframe_in_top||!LP_inIframe(window)||g_isie||g_isfirefox)&&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,k,"cancel",!0)}}
function isFirstFieldNonLoginSubForm(a,b){if(null==a||null==b||"INPUT"!=b.tagName||"password"==b.type||"hidden"==b.type)return!1;if("text"==b.type){regexp=RegExp(lpgs("ff_firstname_regexp"),"i");if(regexp.exec(b.name)||regexp.exec(b.id))return!0;regexp=/register|signup|enroll|create/i;if(b.parentNode&&regexp.exec(b.parentNode.name)||regexp.exec(b.parentNode.id)||b.parentNode&&b.parentNode.parentNode&&regexp.exec(b.parentNode.parentNode.name)||regexp.exec(b.parentNode.parentNode.id))return!0}return!1}
function isUsernameFieldLoginSubForm(a,b){if(null==a||null==b||"INPUT"!=b.tagName||"password"==b.type||"hidden"==b.type)return!1;if(FoundNonLoginSubForm(a))return False;if("text"==b.type){regexp=RegExp(lpgs("ff_username_regexp"),"i");if(regexp.exec(b.name)||regexp.exec(b.id))return!0;regexp=RegExp(lpgs("ff_email_regexp"),"i");if(regexp.exec(b.name)||regexp.exec(b.id))return!0}return!1}
function FoundNonLoginSubForm(a){if(null==a)return!1;if(isASPpage()){a=getAllIconStates();var b;for(b=0;b<a.length;b++)if("formfills"==a[b].fillhint)return True}return False}
function isPasswordFieldLoginSubForm(a,b){if(null==a||(null==b||"INPUT"!=b.tagName)||"hidden"==b.type)return!1;if(FoundNonLoginSubForm(a))return False;if("password"==b.type){var c=a.getElementsByTagName("INPUT"),d;for(d=0;d<c.length&&d<MAX_INPUTS_HARD&&b!=c[d];d++);if(b==c[d]&&0<d){var e=LP_pickFieldName(a,b);if(e&&e.toLowerCase().indexOf(0<=lpgs("Password"))&&(c=LP_pickFieldName(a,c[d-1]),RegExp(lpgs("ff_username_regexp"),"i").exec(c)))return!0}}return!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;dLPMAGICINPUTIDX.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;if(g_isie&&”undefined”!=typeof a.currentStyle)”undefined”!=typeof a.currentStyle&&(b=a.currentStyle);else 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&&is_your_popup_showing(b)&&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)is_your_popup_showing(d)&&closepopupfills(d);else if(c==KEY_TAB)is_your_popup_showing(d)&&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)}return d&&d.backgroundImage&&”none”!=d.backgroundImage&&
!inputHasLPBackground(b)?0<=d.backgroundImage.indexOf("blank")?!1:!0:!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.offsetHeightLPICON_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),k=a.getElementById(c.id+”_numspan”);if(null!=k)if(null!=d&&null!=e&&null!=e[d]&&1<e[d]){var j=e[d];0e[d]&&(j=” “+e[d]);j=LP_measureText(a,lp_of(j,a),null,”font-size: 9px;font-family: Helvetica,Arial,sans-serif;font-weight:bold;line-height:11px;”);if(null!=j){var m=g+(“undefined”==typeof h.height||0==h.height?LPICON_HEIGHT:h.height)-
j.height+6+”px”,n=f+(“undefined”==typeof h.width||0==h.width?LPICON_WIDTH:h.width)-j.width+2+”px”,j=”#ff2200″;g_use_grey_icons&&(j=”#808080″);j=”position:absolute !important; visibility:visible !important; border:0px !important; font-size:9px !important; font-family: Helvetica Neue,Helvetica,Arial,sans-serif; top:”+m+” !important; left:”+n+” !important; background-color: “+j+”; 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(k):k.currentStyle;d=h.zIndex;””!==d&&”auto”!=d&&(j=j+”z-index:”+d+” !important;”);”absolute”!=h.position||”visible”!=h.visibility||”9px”!=h.fontSize||”1px 2px”!=h.padding||”11px”!=h.lineHeight||h.top!=m||h.left!=n?(k.style.cssText=j,g_ctr_numspan_setzindex_L++):g_ctr_numspan_nosetzindex_L++}else j=”display:none;”,k.style.cssText=j}else j=”display:none;”,k.style.cssText=j}}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!=k&&(j=j+”z-index:”+(d+1)+” !important;”,h=(h=”undefined”!=typeof window&&window?window:a.defaultView)&&”undefined”!=typeof h.getComputedStyle?h.getComputedStyle(k):k.currentStyle,”absolute”!=h.position||”visible”!=h.visibility||”9px”!=h.fontSize||”1px 2px”!=h.padding||”11px”!=h.lineHeight||h.top!=m||h.left!=n||h.zIndex!=d+1?(k.style.cssText=
j,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]&&0d[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){var b=null;if(!a)return!1;if(null!=a.g_content_check_result)return a.g_content_check_result;try{if(0<a.location.href.indexOf(".xul")||0<=a.location.href.indexOf("facebook.com/plugins/"))b=a.g_content_check_result=!1;null===b&&("complete"!=a.readyState&&"interactive"!=a.readyState)&&(verbose_log("answer hazy, try again later"),b=!0);if(null===b){var c=a.body,d=c.innerText.length;if(null===b&&2<d&&("{"==c.innerText[0]||"("==c.innerText[0]))b=a.g_content_check_result=
!1}}catch(e){return a.g_content_check_result=!1}null===b&&(b=a.g_content_check_result=!0);return b}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&&"INPUT"!=b.tagName&&(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.name.toLowerCase().indexOf(lpgs("Password").toLowerCase()))&&-1==a.name.toLowerCase().indexOf("placeholder")?!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,k=!0;null!=e&&(f=e.show_for_formfill,g=e.show_for_save,h=e.show_for_autofill,k=e.show_for_clickable_icon);if((0<g_popupfill_rows&&h||0==g_popupfill_rows&&g||f)&&k)b=!0}if(b){var e=
a.getElementsByTagName("input"),j;b={};var m=checkDocumentForLoginOrphans(a),n=checkDocumentForCPWOrphans(a);if(g_aspx_hack&&!isASPpage())for(j=0;jj&&!isASPpage();j++)check_for_ASP(a,e[j]);var l=null;if(“undefined”!=typeof Math){var s=Math.floor(1E4*Math.random()),r=e.length;if(g_aspx_hack&&isASPpage())create_icons_on_ASP(a,d);else if(m||n)create_icons_generic(a,d);else{var p=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(p=MAX_INPUTS_HARD);for(j=0;j<r&&j
<p;j++)if(d||popupfill_shoulddofield(a,
e[j],c))try{var q=e[j],t=LP_pickFormName(a,q.form),u=m||chk_form_has_password(a,q.form),v=n||chk_form_is_nonlogin_form(a,q.form);if(d)if(looksLikeUsername(e[j]))u=!0,v=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a,q));else if(isInputFieldPassword(a,q))u=!0,v=!1,verbose_log("SPECIAL SITE: create icon on field "+LP_pickFieldName(a,q));else{verbose_log("SPECIAL SITE: ignoring field "+LP_pickFieldName(a,q));continue}var w=chk_form_ask_generate(a,q.form),y=!1;null!=l&&(null!=
t&&t!=l)&&(y=!0,w=chk_form_ask_generate(a,q.form,y));var z=LP_fieldGetWidth(q);if(!(null!=b[t]&&1<=b[t]&&!isInputFieldPassword(a,q)&&(!u||w)&&!g_show_icon_only_on_focus&&(!isASPpage()||!isFirstFieldNonLoginSubForm(a,q))))if(g_isfirefox||(u&&(0

Author: dogsinthecle

The source for what to do with your dog in Cleveland.