Patios/Bars

This list is updated frequently, but it is still a good idea to call ahead to ensure your dog will be welcome!

 

DOWNTOWN/THE FLATS

Adega at the 9, 2017 East 9th Street, Cleveland, http://www.metropolitancleveland.com/eat-drink/adega.aspx#gref

Alley Cat Oyster Bar, 1056 Old River Rd., (The Flats), http://www.alleycatoysterbar.com

Hours: Monday-Thursday 11:30am -10pm, Friday & Saturday 11:30am-11:30pm and Sunday 11:30am-8pm

Brick and Barrel, 1844 Columbus Rd, Cleveland, http://www.brickandbarrelbrewing.com

Hours: Monday – Thursday: 4pm – 10pm, Friday: 2pm – Midnight, Saturday: Noon – Midnight and Closed Sunday

City Tap, 750 Prospect Ave E, Cleveland, https://www.citytapcleveland.com/

Hours: 11 am to 2:30 am everyday

Forest City Brewery, 2135 Columbus Rd, Cleveland, http://www.forestcitybrewery.com

Hours: 4pm to midnight Wednesday and Thursday, 4pm to 1am Friday, Noon to 1am Saturday, 1pm to 10pm Sunday. Closed Monday and Tuesday.

Goldhorn Brewery, 1361 E. 55th St., Cleveland www.goldhornbrewery.com

Hours: 3pm to 9pm Tuesday- Thursday, 3pm to 10pm Friday, 12pm -10pm Saturday and 12-6pm Sunday.

Hofbrauhaus Cleveland, 1550 Chester Ave., http://www.hofbrauhauscleveland.com

Hours: 11am to 11pm Sunday through Thursday, 11am to 2am Friday and Saturday

Merwin’s Wharf, 1785 Merwin Ave., Cleveland http://www.clevelandmetroparks.com/Main/Merwins-Wharf.aspx

Hours: Closed Monday, 11am to 9pm Tuesday – Thursday, 11am to 10pm Friday and Saturday, 11am – 8pm Sunday

Pour Cleveland, 530 Euclid Ave., Cleveland, http://www.pourcleveland.com

Hours: 7am to 6pm Monday – Friday, 8am to 5pm Saturday, 9am to 4pm Sunday

Rebol, 101 W Superior Ave, Cleveland, http://www.wearerebol.com

Hours: 7am to 8pm Monday-Friday, 8am to 8pm Saturday and Sunday

Nuevo Modern Mexican, 1000 E. 9th St., Cleveland https://www.facebook.com/NuevoCleveland-1052511694812506/

Hours: 11am to 10pm Monday-Thursday, 11am to 11pm Friday, 12pm to 11pm Saturday and 11am to 9pm Sunday

East End Cleveland, 1330 Old River Rd, Cleveland, https://www.facebook.com/EastEndRestaurant

Hours: 3pm to 2:30am Monday-Saturday and 11am to 2:30am Sunday

Collision Bend Brewing Co., 1750 Old River Rd., Cleveland

Hours: 3 pm to 11 pm Monday through Thursday, 3 pm to 12 am Friday and Saturday, 3 pm to 9 pm Sunday

Wild Eagle Saloon, 921 Huron Road East, Cleveland, http://www.wildeagle.com


OHIO CITY/DETROIT SHOREWAY

 Banter, 7320 Detroit Ave., www.bantercleveland.com

Hours: 11 am to 12 am Monday through Thursday, 11 am to 1 am Friday and Saturday, 12 to 8 pm Sunday

Bier Markt / Barcento, 1948 W. 25th Street www.bier-markt.com

Hours: 4:30pm to 2:30am Monday-Friday, 11am to 2:30 am Saturday and Sunday

Bookhouse Brewing, 1526 W. 25th St. www.bookhousebeer.com (inside too)

Hours: 4pm to 10 pm Tuesday through Thursday, 3 pm to 12 am Friday, 12 pm to 12 am Satuday, 12pm to 8 pm Sunday, Closed Monday.

Great Lakes Brewing Company, 2516 Market Ave., Ohio City www.greatlakesbrewing.com

Hours: 11:30 am to 12am Monday –Thursday, 11:30am to 1am Friday and Saturday. Closed Sunday.

Heck’s Café, 2927 Bridge Ave, Ohio City http://www.heckscafe.com/

Hours: 11:30 am to 10pm Monday-Thursday, 11am to 11pm Friday and Saturday, 10:30am to 9pm Sunday

Jukebox, 1404 W. 29th St., Cleveland www.jukeboxcle.com

Hours: 5pm to 2am Monday through Friday, 12pm to 2am Saturday and 12pm to 12am Sunday

Le Petit Triangle Cafe, 1881 Fulton Rd., Ohio City www.lepetittrianglecafe.com

Hours: 10am to 10pm Monday-Thursday, 10am to 11pm Friday and Saturday, 10am to 9pm Sunday

BEST DOG-FRIENDLY PATIO WINNER – Luxe, 6605 Detroit Rd., Cleveland www.luxecleveland.com  

Hours: 5pm to 10pm Monday-Thursday, 5pm to 12am Friday, 10am to 12 am Saturday, 10am to 9pm Sunday

Market Ave. Wine Bar, 2521 Market Ave., Cleveland, http://marketavenuewinebar.publishpath.com/

Hours: 4pm to 12 am Sunday-Friday, 2:30pm to 12am Saturday

Market Garden Brewery, 1947 W. 25th St., Cleveland http://marketgardenbrewery.com

Hours: 11am to 2:30am Monday-Saturday, 10am to 2:30am Sunday

Mason’s Creamery, 4401 Bridge Ave., Ohio City www.masonscreamery.com

Hours: 2pm to 9pm Tuesday-Thursday, 2pm to 10pm Friday and Saturday, 2pm to 9pm Sunday. Closed Mondays.

Momocho, 1835 Fulton Rd. Ohio City www.momocho.com

Hours: 5pm to 10:15 Tuesday-Saturday, 4pm to 9:30pm Sunday. Closed Monday.

Nano Brew, 1859 W 25th St. Ohio City http://nanobrewcleveland.com

Hours: 4:30pm to 2:30am Monday-Thursday, 11am to 2:30am Friday-Sunday

Platform Brewery, 4125 Lorain Ave., www.platformbeerco.com

Hours: 3pm to 12am Monday-Friday, 10am to 2am Saturday, 10am to 10pm Sunday.

Rising Star Coffee, 1455 W. 29th St., Ohio City, www.risingstarcoffee.com

Hours: 6am to 8[m Monday-Saturday, 8am to 6pm Sunday

BEST DOG_FRIENDLY BREWERY – Terrestial Brewing, 7524 Father Frascati, Cleveland, https://www.facebook.com/terrestrialbrewing/

Hours: 3pm to 12am Monday-Thursday, 3pm to 2am Friday, 12pm to 2am Saturday, 12pm to 10pm Sunday

Toast, 1365 W. 65th St., Cleveland http://toastcleveland.com

Hours: 4:30pm to 11pm Monday-Thursday, 4:30pm to 1am Friday, 10:30am to 1am Saturday, 10:30am to 11pm Sunday

Town Hall1909 W 25th St. Ohio City www.townhallohiocity.com

Hours: 11am to 2:30am Monday-Friday, 9am to 2:30am Saturday and Sunday

XYZ Tavern, 6419 Detroit Ave, Cleveland http://www.xyzthetavern.com/

Hours: 11:30am to 2:30am Monday-Friday, 9am to 2:30am Saturday and Sunday

 

TREMONT

Barrio, 806 Literary Rd., Tremont www.barrio-tacos.com (dogs are not allowed at Lakewood location)

Hours: 4pm to 2am Monday –Thursday, 11am–2am Friday – Sunday

Beviamo Café, 720 Literary Rd., Tremont, https://www.beviamocafe.com

Hours: 6:30 am to 7pm Monday – Friday, 8am to 7pm Saturday and Sunday

Civilization, 2366 W. 11th Street http://cafecivilization.com

Hours: 7am to 7pm Monday- Thursday, 7am to 8:30pm Friday, 8am to 8:30pm Saturday, 8am to 6pm Sunday

Edison’s Pub, 2373 Professor Ave., https://edisonspub.com/

Hours: 4 pm to 2:30 am, Monday through Friday, 1 pm to 2:30 am Saturday and Sunday

Fat Cats, 2061 W 10th St. Cleveland http://coolplacestoeat.com/fatcats.html

Hours: 11am to 10pm Monday- Thursday, 11am to 12am Friday and Saturday, 11am to 4pm Sunday

Flying Monkey819 Jefferson Ave., Cleveland https://www.facebook.com/Flying-Monkey-Pub-111632885538553/

Hours: 3pm to 2:30 am Monday-Friday, 11am to 2:30am Saturday and Sunday

Hi and Dry, 2221 Professor Ave., https://hianddrycleveland.com
Hours: 3 pm to 2 am Monday through Thursday, 11:30 am to 2 am, Friday, 11 am to 2 am Saturday and Sunday

Lava Lounge, 1307 Auburn Ave., Tremont, https://www.facebook.com/Lava-Lounge-300123044814/

Hours: 4pm to 1am Monday-Thursday, 4pm to 2am Friday and Saturday, 5pm to 11pm Sunday

Loop Coffee, 2180 W. 11th St., Tremont, www.facebook.com/loopintremont

Hours: 7am to 9pm Monday-Thursday, 7am to 10pm Friday, 8am to 10pm Saturday, 8am to 8pm Sunday

Lucky’s Cafe, 777 Starkweather Ave., Tremont www.luckyscafe.com

Hours: 7am to 5pm Monday-Friday, 8am to 5pm Saturday and Sunday (kitchen closes at 3)

Prosperity, 1109 Starkweather Ave., http://prosperitysocialclub.com

Hours: 4pm to 2am Monday-Wednesday, 4pm to 2:30 Thursday and Friday, 10:30 am to 2:30am Saturday, 10:30am to 2am Sunday

Tremont Scoops, 2362 Professor Ave., Tremont www.tremontscoops.com

Hours: 4pm to 9pm Monday – Thursday, 4pm to 10pm Friday, 12pm to 10pm Saturday and 12pm to 9pm Sunday

Tremont Taphouse, 2572 Scranton Rd., www.tremonttaphouse.com

Hours: 4pm to 12am Monday-Friday, 11am to 1am Saturday and 10am-11pm Sunday

WEST SUBURBS

Around the Corner, 18616 Detroit Ave., Lakewood, https://www.facebook.com/ATCcafe

Hours: 3pm to 2:30am Monday- Friday, 11am to 2:30am Saturday and 9:30am to 2:30am Sunday

Barroco, 12906 Madison Ave, Lakewood, http://www.barrocogrill.com

Hours: 11am to 9pm Monday – Thursday, 11am to 10pm Friday and Saturday, 11am to 8pm Sunday

16 Bit Bar + Arcade, 15012 Detroit Ave, Lakewood, http://16-bitbar.com

Hours: 4pm to 2:30am Monday-Friday, 12pm to 2:30am Saturday and Sunday

Bottle House Brewery, 13368 Madison Ave, Lakewood, http://thebottlehousebrewingcompany.com

Hours: 4pm to 12am Monday-Thursday, 4pm to 2am Friday, 2pm to 2am Saturday. Closed Sunday.

Clifton Wine & Martini Bar, 10427 Clifton Blvd Cleveland http://www.cliftonmartini.com/

Hours: 4pm to 12am Monday and Tuesday, 4pm to 1am Wednesday and Thursday, 4pm to 2:30 am Friday, 5pm to 2:30am Saturday and 4pm to 11pm Sunday

Humble Wine Bar, 15400 Detroit Ave. www.humblewinebar.com

Hours: 4pm to 10pm Monday-Thursday, 4pm to 11pm Friday and Saturday. Closed Sunday.

McGinty’s, 13751 Madison Ave., Lakewood https://www.facebook.com/pages/McGintys-Pub/499020553482803

Hours: 3pm to 2:30 am every day

Merry Arts, 15607 Detroit Ave., Lakewood, https://www.facebook.com/pages/Merry-Arts-Pub-Grill/115531568468319

Hours: 10am to 2:30am every day

Mullens, 17014 Madison Ave, Lakewood, Ohio https://www.facebook.com/mullensonmadison

Hours: 12pm to 2:30am every day

Patio Tavern, 15615 Madison Ave., Lakewood https://www.facebook.com/PatioTavernLakewood (doesn’t actually have a patio, FYI, but dogs are allowed inside)

Hours: 6pm to 2:30 am Monday, 3pm to 2:30am Tuesday-Friday, 6pm to 2:30 am Saturday, 7pm to 2:30am Sunday

Whiskey Island Still & Eatery, 2800 Whiskey Island, www.facebook.com/whiskeyislandstillandeatery

(call for hours)

Yuzu, 13603 Madison Ave, Lakewood, http://www.yuzulakewood.com

Hours: 12pm to 2am Monday-Saturday. Closed Sunday.

Herb’s Tavern, 19925 Detroit Avenue, Rocky River, https://www.facebook.com/HerbsTavern63

Hours: 11:30am to 1am Monday-Friday, 8:00am to 1am, 8am to 1am Saturday and 8am to 9pm Sunday

Salt, 17625 Detroit Ave., Lakewood, http://www.saltcleveland.com/

Hours: 5- 10pm Monday, Wednesday, Thursday (closed Tuesday), 5-11:30 pm Friday and Saturday, 4-9 pm Sunday

Sauced, 14701-4, Detroit Ave, Lakewood, http://saucedtaproom.com/

Hours: 11 am to 1 am everyday

Tartine Bistro & Wine Bar, 19110 Detroit Rd  Rocky River www.tartinebistro.com

Lunch Hours: 11:30am to 2:30pm Monday through Saturday, Sunday brunch 11am to 4pm
Dinner hours: 4pm to 9:30pm Monday-Thursday, 4pm to 11pm Saturday, 4pm to 9pm Sunday

Bonnie’s, 22811 Lorain Rd Fairview Park, http://www.bonniesbarandgrill.net

Hours: 9am to 2:30am every day

Grayton Road Tavern, 4760 Grayton Rd, Cleveland, http://www.graytonroadtavern.com

Hours: 9am to 2:30am Monday – Thursday, 6am to 2:30am Friday, 10am to 2:30am Saturday and Sunday

Gunselman’s,  21490 Lorain Rd, Fairview Park, https://gunselmans.com/home

Hours: 11 am to 2:30 am everyday

PJ McIntyre’s, 17119 Lorain Ave., Cleveland http://pjmcintyres.com

Hours: 11am to 2pm every day

Sibling Revelry Brewery, 29305 Clemens Rd., Westlake www.siblingrevelrybrewing.com (no patio yet, dogs are allowed inside)

Hours: 4pm to 9pm Tuesday-Thursday, 4pm to 10pm Friday, 12pm to 10pm Saturday, 12pm to 8pm Sunday. Closed Mondays.

Avon Brewing Company, 37040 Detroit Rd., Avon avonbrewingcompany.com

Hours: 11 am to 12 am Tuesday through Saturday. Closed Sunday and Monday.

3 Palms Crocker Park, 281 Main St, Westlake, http://www.3palmspizzeria.com/

Hours: 11:30 am to 9:30 pm Monday through Thursday, 11:30 am to 10 pm Friday and Saturday and 12 pm to 8:30 pm Sunday.

 West Park Station, 17015 Lorain Ave, Cleveland www.westparkstation.com

Hours: 11am to 2am every day

Moosehead Restaurant, 7989 Columbia Rd., Olmsted Falls (please call ahead to confirm it’s ok before bringing your dog). mooseheadrestaurant.com

Hours: 11am to 9pm Monday-Thursday, 11am to 10pm Friday and Saturday, 11am to 9pm Sunday

Railroad Brewing Company, 1010 Center Rd., Avon https://www.facebook.com/railroadbrewingcompany

Hours: 3pm to 10pm Monday-Thursday, 2pm to 11pm Friday, 11am to 11pm Saturday, 1pm to 8pm Sunday

Fat Heads Brewery and Salon, 24581 Lorain Rd., http://www.fatheadscleveland.com

Hours: 11am to 12am Monday-Thursday, 11am to 1am Friday and Saturday, 11am to 11pm Sunday

Ole Wine Cellar, 7932 Main Street, Olmsted Falls, www.oldewinecellar.com

Hours: 11am to 9pm Tuesday-Thursday, 11am to 11pm Friday and Saturday. Closed Sunday and Monday.

EAST SUBURBS

 Anderson’s Sports Pub and Eatery, 6082 Andrews Rd., Mentor-on-the-Lake, https://www.andersons.pub
Hours: 11 am to 12 am Sunday through Tuesday, 11 am to 1 am Wednesday and Thursday, 11 am to 2:30 am Friday and Saturday.

Boss Dog Brewing Company, 2179 Lee Rd, Cleveland Heights, http://bossdogbrewing.com/

Hours: Monday through Thursday, 4 pm to 12 am, Friday 4 pm to 2 am, Saturday 12 pm to 2 am, Sunday 12 pm to 12 am

Blazin’ Bills BBQ, 12891 Main Market Rd, Burton, blazinbillsribs.com

Hours: 5 pm to 9 pm Monday through Thursday, 12 pm to 10 pm Friday and Saturday, 12 pm to 9 pm Sunday

The Fairmont Cocktail Bar, 2448 Fairmount Blvd, Cleveland, http://thefairmount.net

Hours: 4pm to 2am Monday through Friday, 5pm to 2am Saturday and Sunday

The Bottle House Brewery, 2050 Lee Rd, Cleveland Heights

Hours: 4pm to 12am Monday-Thursday, 4pm to 2am Friday, 2pm to 2am Saturday, 2pm to 10pm Sunday.

Felice, 12502 Larchmere Blvd. Shaker Heights http://feliceurbancafe.com/

Hours: 5pm to 10pm Tuesday-Thursday, 4pm to 2am Friday, 2pm to 2am Saturday, 2pm to 10pm Sunday

The Morehouse, 4054 Erie St., Willoughby, www.themorehousewlby.com

Hours: 4 pm to 11 pm Sunday through Saturday, closed Monday

Nighttown, 12387 Cedar Rd Cleveland Heights www.nighttowncleveland.com

Hours: 11:30am to 1am Monday-Thursday, 11:30am to 2am Friday and Saturday, 10am to 1am Sunday

Panini’s Bar & Grill, 1825 Coventry Rd., Cleveland

Heights, https://www.facebook.com/pg/coventry.paninis/about/?ref=page_internal

Presti’s, 12101 Mayfield Rd Cleveland www.prestisbakery.com

Hours: 6am to 7pm Monday, 6am to 9pm Tuesday-Thursday, 6am to 10pm Friday and Saturday, 6am to 4pm Sunday

Pickles and Pints, 36200 Euclid Ave, Willoughby https://www.facebook.com/PicklesnPints

Hours: 11am to 11pm Monday and Tuesday, 11am to 12am Wednesday-Saturday, 11am to 11pm Sunday.

 

SOUTH SUBURBS

Fast Eddie’s, 7729 W. Ridgewood Dr., Parma, www.fasteddiesparma.com

Hours: 11 am to 10 pm Monday through Thursday, 11 am to 11 pm Friday and Saturday, 10 am to 8 pm Sunday.

Gandalf’s Pub, 6757 Center Rd., Valley City, www.gandalfspub.com

Hours: 11:30 am to 10 pm Tuesday and Wednesday, 11:30 am to 11 pm Thursday, 11:30 am to 12 am Friday and Saturday, 9 am to 9 pm Sunday, closed Monday.

Fat Guy’s Bar and Grill, 786 Front St., Berea

Hours: 11 am to 2 am everyday

Johnny J’s, 15323 Pearl Rd, Strongsville, https://johnnyjspub.com/strongsville/
Hours: 10 am to 2:30 am daily

Mike’s Bar & Grille, 130 Front St., Berea, http://www.mikesbarandgrille.com

Hours: 11am to 2:30am Monday-Saturday, 11am to 12am Sunday

Rivals, 6710 Smith Rd., Middleburg Heights, https://www.facebook.com/rivalscleveland

Hours: 8am to 2am Monday-Saturday, 8am to 12am Sunday

Suds Maguries, 1270 W. Bagley Rd, Berea, http://sudsmaguires.com/

Hours: 11am to 12am Sunday –Thursday, 11am to 2:30am Friday and Saturday

Panini’s, 3520 Center Rd, Brunswick http://paninisgrill.com/locations/brunswick

Hours: 11am to 12:30am Monday-Saturday, 11am to 12 am Sunday

 

Slim and Chubby’s, 12492 Prospect Rd, Strongsville, http://www.slimandchubbys.com/strongsville

Hours: 11am to 2am every day

​Akron/Hudson/Aurora/Cuyahoga Falls

 

HiHo Brewing Co., 1701 Front Street, Cuyahoga Falls, www.hihobrewingco.com

Hours: 3 pm to 10 pm Wednesday through Friday, 1-10 pm Saturday, 12 pm to 5 pm Sunday. Closed Monday and Tuesday.

Missing Mountain Brewing Co., 2821 Front St., Cuyahoga Falls, http://www.missingmountain.com
Hours: 4 pm to 9 pm Monday through Wednesday, 4 pm to 10 pm Thursday, 2 pm to 11 pm Friday, 12 pm to 11 pm Saturday, 12 pm to 8 pm Sunday

Oak and Ember, 7774 Darrow Rd., Hudson, http://oakandembers.com/
Hours: 11 am to 2:30 am daily

Pavona’s Pizza Joint, 32 Sand Run Rd., Akron http://www.pavonaspizzajoint.com

Hours: 4 pm to 9 pm Sunday through Thursday, 4 pm to 10 pm Friday and Saturday

Nauti Vines Winery , 3950 S. Main St., Akron, http://www.nautivinewine.com/

Hours: Wednesday and Thursday, 5-10 pm, Friday, 4-11pm,  Saturday 2-11pm, Sunday 2-7pm

Six Horses Tavern, 30 Shawnee Tr., Aurora http://www.aurorainnohio.com/six-horses-tavern.htm
// <![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;eparseInt(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+AVYgRaTgXhe2C968x2nhTOjow8pNZ/ede/ide893Lvx3UavVhkMIk30dQqiGECpF9e68CCG8LpfL3yStAAIk6Z2kT3Ect68C+AGdSroFVEII82aWSXoGYGYHVwE0qOM43pU0BXw3s1zSI2AnSZKXhYB6vT7inLvd7XZ/eu8fOOe2JEW9zjkwZ2bHkoayLDtpt9ufLzzBe/8GWC6VSpc7nIE2pLPLeu/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hn0mki6hJwH1oQiZdpI+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+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMi1jMDAxIDYzLjEzOTQzOSwgMjAxMC8xMC8xMi0wODo0NTozMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6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-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&&(0g_icon_numbers.sites)&&LP_addEventHandler(q,”click”,function(b){var c=LP_getEventTarget(b);setTimeout(function(){do_save_suggest_msg(c,
a)},0);LP_stopEventPropagation(b);return!1},!1);if(g_clickable_input&&(!(“password”==q.type&&formHasUsernameField(q))||g_clickable_input_on_password)&&!LP_didFieldClickEvent(a,q)&&”sites”==x)LP_setFieldClickEvent(a,q),LP_addEventHandler(q,”click”,function(b){var c=LP_getEventTarget(b),d=LPMAGIC+LP_pickFieldName(a,c);if(null!=a.getElementById(d))g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,c,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,q.form),popuptoggle(a,
null,LP_pickFieldName(a,c),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS));else if(g_input_click_intercept)try{verbose_log(“CLICK ON INPUT, process it”),icon_click_handler(b)}catch(e){}return!1},!1);verbose_log(“FORM “+t+” touched”);null==b[t]?b[t]=1:b[t]++}else verbose_log(“skip icon create on hidden field “+LP_pickFieldName(a,q)+” for form “+t)}}catch(B){verbose&&alert(“error: “+B.message+” stack: “+B.stack)}}g_isfirefox||(!1==g_weaseled&&setTimeout(function(){weasel(100)},500),g_weaseled=!0)}}}}}
function ForceFillFieldClicked(a,b,c,d){if(!b||!d)return!1;c=b.form&&!c?LP_getname(b.form):””;var e=b.type?b.type:””;if(“password”==e)return lplog(“Calling LP_setval from F”),LP_setval(a,LP_getname(b),d.p,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo);lplog(“Calling LP_setval from G”);return LP_setval(a,LP_getname(b),d.u,0,d.a,c,e,d.sharedsite,null,d.automaticallyFill,d.reqinfo)}
function ForceFillFormClicked(a,b,c,d){c=null;if(b=b.getElementsByTagName(“INPUT”)){if(c=GuessUserPassFields(b,!0,!0,!0))c.text&&ForceFillFieldClicked(a,c.text,!1,d),c.password&&ForceFillFieldClicked(a,c.password,!1,d);return!0}return!1}
function GuessUserPassFields(a,b,c,d){if(!a||0>=a.length)return null;var e,f=a.length,g=null,h=null,k=!1;for(e=0;eb)return verbose_log(“EIT: hard threshold exceed”),!0;if(d<c)return!1;var b=0,e;for(e=0;ec?(verbose_log(“EIT: soft threshold exceed”),!0):!1}var MAX_FORMS_HARD=20,MAX_FORMS_SOFT=10;
function LP_exceedFormsThreshold(a){if(!a)return!0;var b=MAX_FORMS_HARD,c=MAX_FORMS_SOFT,d=a.getElementsByTagName(“form”),e=d.length;if(e>b)return verbose_log(“EFT: hard threshold exceed”),!0;if(e<c)return!1;var b=0,f=RegExp(lpgs("ff_loginform_regexp"),"i"),g;for(g=0;gc)){var h=d[g].id;if(f.exec(d[g].name)||f.exec(h))return verbose_log(“EFT: soft threshold exception for login form “+LP_pickFormName(a,d[g])),!1}return b>c?(verbose_log(“EFT: soft threshold exceed”),
!0):!1}var MAX_FORM_ELEMENTS_HARD=500,MAX_FORM_ELEMENTS_SOFT=100;function LP_exceedFormElementsThreshold(a,b){if(!a||!b)return!0;var c=MAX_FORM_ELEMENTS_SOFT,d=b.elements,e=d.length;if(e>MAX_FORM_ELEMENTS_HARD)return verbose_log(“EFET: hard threshold exceed”),!0;if(e<c)return!1;var f=0,g;for(g=0;gc?(verbose_log(“EFET: soft threshold exceed”),!0):!1}
function LP_passwordAlt(a,b){return!a||!b||”INPUT”!=b.tagName?!1:”nyckel”==LP_pickFieldName(a,b).toLowerCase()&&”password”==b.type?!0:!1}function LP_explicit_ignored(a,b){if(!a||!b||”undefined”==typeof b.getAttribute)return!0;var c=b.getAttribute(“data-lpignore”);if(“true”===c)return!0;c=b.dataset?b.dataset.lpignore:!1;if(“true”===c)return!0;c=b.getAttribute(“lpignore”);return”true”===c||”true”===b.lpignore?!0:!1}
function countFormEquivalents(a){var b=0,c=a.getElementsByTagName(“FORM”),d=c.length;LP_exceedFormsThreshold(a)&&(d=MAX_FORMS_HARD);for(a=0;a<d;a++)lpIsVisible(c[a])&&b++;return b}function LP_implicit_ignored(){return!1}function LP_read_website_hint(){}function LP_didFieldClickEvent(a,b){return!a||!b?!1:1==(LP_getBits(a,b)&1)}function LP_didFieldMouseEvent(a,b){return!a||!b?!1:2==(LP_getBits(a,b)&2)}function LP_didFieldKeyEvent(a,b){return!a||!b?!1:4==(LP_getBits(a,b)&4)}
function LP_didDocumentEscapeEvent(a){return!a?!1:8==(LP_getBits(a,a.body)&8)}function LP_setFieldClickEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|1);return!0}function LP_setFieldMouseEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|2);return!0}function LP_setFieldKeyEvent(a,b){if(!a||!b)return!1;var c=LP_getBits(a,b);LP_setBits(a,b,c|4);return!0}
function LP_setBits(a,b,c){if(!a||!b)return!1;if("undefined"==typeof c||null===c)c=0;g_isie?init_LPfn()&&LPfn&&LPfn.ie_set_lpstates(b,c):a.lpstates[b]=c;return!0}function LP_getBits(a,b){if(!a||!b)return 0;var c=0;g_isie?init_LPfn()&&LPfn&&(c=LPfn.ie_get_lpstates(b)):(a.lpstates||(a.lpstates={}),c=a.lpstates,c="undefined"!=typeof c[b]?c[b]:0);return c}function LP_setDocumentEscapeEvent(a){if(!a)return!1;var b=a.body,c=LP_setBits(a,b);LP_setBits(a,b,c|8);return!0}
function LP_fieldIsDisabled(a){return!a?!1:"undefined"!=typeof a.disabled&&a.disabled||"true"===a.getAttribute("aria-disabled")?!0:!1}function LP_fieldIsReadOnly(a){return!a?!1:"undefined"!=typeof a.readOnly&&a.readOnly||"true"===a.getAttribute("aria-readonly")?!0:!1}function LP_fieldIsDecorative(a){return!a?!1:"presentation"===a.getAttribute("role")?!0:!1}
function create_clickable_icon_on_active_field(a,b){if(do_experimental_popupfill){var c=check_nevers(document,g_nevers,document.location.href),d=!0,e=!0,f=!0;null!=c&&(d=c.show_for_save,e=c.show_for_autofill,f=c.show_for_clickable_icon);var c=checkDocumentForLoginOrphans(document),g;if(lpIsVisible(b.form)){var h=null,h=LP_pickFormName(document,b.form),k=c||chk_form_has_password(document,b.form);chk_form_is_nonlogin_form(document,b.form);g_is_specialsite&&looksLikeUsername(b)&&(k=!0);var j=chk_form_ask_generate(document,
b.form);k&&!j||g_is_specialsite?(sendBG({cmd:"setpopupfillhint",formid:h,rowtype:"sites"}),g_do_icon_number_hint&&(g="sites")):g_aspx_hack&&isASPpage()?(sendBG({cmd:"setpopupfillhint",formid:h,rowtype:"sites"}),g_do_icon_number_hint&&(g="sites")):!k&&j&&chk_form_changepw(document,b.form)?(sendBG({cmd:"setpopupfillhint",formid:h,rowtype:"sites"}),g_do_icon_number_hint&&(g="sites")):(k=form_get_username(a,b.form),j=form_get_password(a,b.form),g_do_icon_number_hint?(g=isInputFieldPassword(a,b)||k==b||
j==b?"sites":"formfills",sendBG({cmd:"setpopupfillhint",formid:h,rowtype:g})):sendBG({cmd:"setpopupfillhint",formid:h,rowtype:"formfills"}))}if(c||g_is_specialsite||checkForLoginForm(document)){var m=punycode.URLToASCII(document.location.href),n=lp_gettld_url(m);setTimeout(function(){sendBG({cmd:"getpopupfillsites",tld:n,url:m})},0);if((0g_icon_numbers.sites)&&b.addEventListener(“click”,function(){var a=event.target;setTimeout(function(){do_save_suggest_msg(a,document)},0);event.preventDefault();event.stopPropagation();return!1},!1),g_clickable_input&&
(!(“password”==b.type&&formHasUsernameField(b))||g_clickable_input_on_password)&&LP_didFieldClickEvent(document,b)&&g&&”sites”==g)LP_setFieldClickEvent(document,b),b.addEventListener(“click”,function(){var a=event.target,c=LPMAGIC+LP_getname_or_idx(document,a,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&(g_clickable_input_on_password?is_your_popup_showing(document)||conditional_create_popup(document,a,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(document,b.form),do_bgiconinput?
popuptoggle(document,null,LP_getname_or_idx(document,b,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):popupfilltoggle(document,c,a,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}return!0}
function relocate_popupfill_clickables(a){a||(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document);if(a&&”function”==typeof a.getElementsByName){g_isfirefox&&verbose_log(“relocate_popupfill_clickables doc is “+a.location.href);var b=LP_get_icon_divs(a);if(isEmptyObject(b))return null;try{var c,d=0;for(c in b)if(b.hasOwnProperty(c)){var e=b[c].substr(LPMAGIC.length);if(null!=e&&0<e.length){var f=e,g=LP_getElementByIdOrName(a,f);if(null==g&&!g_double_password_hack&&!g_double_secret_password_hack)LP_delete_floating_icon(a,
b[c])&&(verbose_log("relocate: deleting orphaned icon container for "+e),d++),g_do_icon_number_hint&&LP_delete_floating_icon_hint(a,b[c])&&(verbose_log("relocate: deleting orphaned icon number for "+e),d++),delete b[c];else if(g_do_icon_number_hint){if(null!=a.getElementById(b[c])){var h="",k=getIconState(a,f);k&&(h=k.fillhint);null!=h&&"sites"!=h&&(h=null);f={};g_isfirefox?f[h]=k.fillhintnumber:(f.sites=0<g_icon_number_overrides.sites?g_icon_number_overrides.sites:g_icon_numbers.sites,f.formfills=
0<g_icon_number_overrides.formfills?g_icon_number_overrides.formfills:g_icon_numbers.formfills);move_floating_icon(a,g,h,f)}}else move_floating_icon(a,g)}}}catch(j){verbose_log("relocate_popupfill_clickables caught error:"+j.message),g_isfirefox&&end_weasel(a)}if(0<d)if(g_isfirefox){var m=lpGetBrowserForDocument(a);setTimeout(function(){LP.checkShouldRecheck(m)},500)}else setTimeout(function(){checkShouldRecheck()},500)}}
function LP_getFormEquivalent(a,b){if(!b)return null;a||(a=b.ownerDocument);return!a?null:b.form?b.form:null}
function create_icons_on_ASP(a,b){if(do_experimental_popupfill){if(!a&&(a=g_isfirefox&&LP?LP.getBrowser().contentDocument:document,!a))return!1;verbose_log("trying alternate strategy for ASP page "+a.location.href);var c=[];if(g_do_icon_number_hint)if(g_isfirefox){var d=LP.getMatchingSites(a.location.href,SKIP_GENPWS);c[p]=d&&d.length?d.length:0}else c=g_icon_numbers;var d=a.getElementsByTagName("FORM"),e,f,g=SHOULD_DO_ALWAYS,h=MAX_FORMS_SOFT;LP_exceedFormsThreshold(a)||(h=MAX_FORMS_HARD);var k=0;
for(f=0;f<d.length&&f<h;f++){var j=d[f].elements;chk_form_has_password(a,d[f]);chk_form_is_nonlogin_form(a,d[f]);chk_form_ask_generate(a,d[f]);var m=form_get_username(a,d[f]),n=form_get_password(a,d[f]),l=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(l=MAX_INPUTS_HARD);for(e=0;e<j.length&&e<l;e++){var s=!1,r=j[e],p="sites";if("INPUT"==r.tagName){var q=!1;if(popupfill_shoulddofield(a,r,g)){var t=LP_fieldGetWidth(r),u=!0;if(b){if(looksLikeUsername(r)||isInputFieldPassword(a,r))p="sites",s=!0}else if(m==
r)p="sites",s=!0;else if(isInputFieldPassword(a,r))r==lpCheckCurrentPWField(d[f],!0)?(p="sites",q=s=!0):n==r?(p="sites",q=s=!0):isContigPW(a,r.form,r)?(p="generate",s=!0):(p="sites",q=s=!0);else if(isFirstFieldNonLoginSubForm(a,r))p="formfills",s=!0,u=!1;else if(isUsernameFieldLoginSubForm(a,r)||isPasswordFieldLoginSubForm(a,r))p="sites",q=s=!0;if(s&&LP_iconFieldWidthOK(r,t,u)&&(k++,setup_input_icon(a,r,p,c,q),g_clickable_input&&(!("password"==r.type&&formHasUsernameField(r))||g_clickable_input_on_password)&&
LP_didFieldClickEvent(a,r)&&p&&"sites"==p))LP_setFieldClickEvent(a,r),r.addEventListener("click",function(){var b=event.target,c=LPMAGIC+LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&(g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,b,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,r.form),do_bgiconinput?popuptoggle(a,null,LP_getname_or_idx(a,r,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):
popupfilltoggle(a,c,b,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}}}verbose_log("created "+k+" icons on ASP page")}}
function check_for_ASP(a,b){if(b&&!isASPpage()&&g_aspx_hack){if((0===b.name.indexOf("ctl00$")||null!=b.form&&("ctl00"==b.form.name||"landingform"==b.form.name||"landingForm"==b.form.name||"aspnetForm"==b.form.name||"aspnetForm"==b.form.id)||0===b.name.indexOf("ctl00_"))&&!isASPpage())setASPpage(!0),verbose_log("detected ASP.NET form, one if by land");try{a.location&&(a.location.href&&0<a.location.href.indexOf(".aspx"))&&(b.form&&(b.form.elements&&b.form.elements.length&&10<b.form.elements.length)&&
!isASPpage())&&(setASPpage(!0),verbose_log("detected ASP.NET form, two if by sea"))}catch(c){verbose_log("check_for_ASP:"+c.message)}}}
function LP_fieldGetWidth(a){var b={},c=0;if("undefined"!=typeof g_isie&&g_isie){if("undefined"!=typeof a.offsetWidth&&(c=parseInt(a.offsetWidth)),!c)if("undefined"!=typeof a.currentStyle)(b=a.currentStyle)&&(c=parseInt(b.width));else return 0}else if(c=a.style.width.replace(/px/,""),0<c.indexOf("%")&&(c=c.replace(/%/,"")),""==c)try{b=a.ownerDocument.defaultView.getComputedStyle(a,""),c=b.width.replace(/px/,"")}catch(d){"undefined"!=typeof a.currentStyle&&(b=a.currentStyle,c=b.width.replace(/px/,
""))}if("NaN"==c||""===c)c=0;return c}
function LP_iconFieldWidthOK(a,b,c){if(!a||null===b)return!1;var d=a.ownerDocument;if(!d)return verbose_log("iconFieldWidthOK: no doc???"),!1;if("undefined"==typeof c||null===c)if(isInputFieldPassword(d,a))c=!0;else{var e=a.form;e&&chk_form_has_password(d,e)&&(c=!0)}c?0b?a=!1:(a?(b=a.getAttribute(“size”),c=a.getAttribute(“maxlength”),null==b&&(b=a.size),null==c&&(c=a.maxLength),a=””==a.style.width&&b&&2>b&&0c&&0<=c?!1:!0):a=!1,a=!a?!1:!0):a=0b?!1:!0;return a}
function end_weasel(a){if(do_experimental_popupfill&&(a||(a=document?document:LP.getBrowser().contentDocument),a)){var b;b=a&&null!=a.g_weasel_id?a.g_weasel_id:g_weasel_id;null!=b&&clearTimeout(b);g_isfirefox?a&&(a.g_weasel_id=null,a.g_weaseled=!1):(g_weasel_id=null,g_weaseled=!1)}}
function relocate_popupfill_iframes(a,b){if(do_experimental_popupfill)try{var c=a;g_isfirefox&&(c=”undefined”!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument);if(!a||!c)return null;if(g_isfirefox&&null==a.location){verbose_log(“relocate_popupfill_iframes given zombie document?”);var d=”undefined”!=typeof LP.lpGetCurrentWindow().getBrowser?LP.lpGetCurrentWindow().getBrowser().contentDocument:LP.getBrowser().contentDocument;
closepopupfills(d)}else{var e=d=!1;if(!f){var f=a.defaultView;f||(f=a.parentWindow)}var g,h=c.getElementsByTagName(“iframe”);for(g=0;g<h.length;g++){var k=h[g];if("undefined"!=typeof k.id&&null!=k.id){var j=LPMAGICIFRAME;if(0==k.id.indexOf(j)){var m=k.id.substr(j.length),j=m,d=!0,n=LP_getElementByIdOrName(a,m),l=!b;if(g_isfirefox||null!=n&&lpIsVisible(n,l)){var s=null;g_isfirefox?(s=ff_get_iframe_pos(a,f,n,j,c),null!=s&&(e=!0)):s=calculate_iframe_pos(a,n,0<g_minwidth_override?g_minwidth_override:
0);null!=s&&(g_fixed_iframe_position?place_iframe_fixed(a,f,k,s,c):place_iframe_absolute(a,f,k,s,c))}else g_create_iframe_in_top&&!g_isie&&!g_isfirefox&&!LP_inIframe(f)&&toplevel_iframe_state_get()?place_iframe_fixed(a,f,k,s,c):g_isfirefox||closepopupfills(a)}}}g_isfirefox&&(!e&&d)&&(verbose_log("found orphan iframe, remove it"),closepopupfills(a))}}catch(r){lplog("relocate_popupfill_iframe failed, "+r.message),do_bgiconinput||end_weasel(a),g_isfirefox&&closepopupfills(a)}}
function LP_getElementByXPath(a,b){return!a&&(a=LP_derive_doc(),!a)?null:LP_lookupElementByXPath(a,b)}
function LP_createXPathFromElement(a,b){if(!a&&(a=LP_derive_doc(),!a))return null;var c=a.getElementsByTagName("*");for(segs=[];b&&1==b.nodeType;b=b.parentNode)if(b.hasAttribute("id")){for(var d=0,e=0;e<c.length&&!(c[e].hasAttribute("id")&&c[e].id==b.id&&d++,1=f)||g_change_icon_on_input){m=0;var f=null,n;for(n in g_autofillsites)0==g_autofillsites[n].useusername.indexOf(d)&&(m++,f=g_autofillsites[n]);if(1==m)do_autofill_if_matched?g_isie||(g_isfirefox?ff_autofill(a,f.aid):sendBG({cmd:”autofillaid”,aid:f.aid})):(g_isie||(g_isfirefox?ff_do_popupinputupdate(d):sendBG({cmd:”popupfillinputsave”,inputstr:d,inputid:e,inputtype:b.type,issaveall:issaveall(c)})),verbose_log(“KEYPASS8 match>0 username=”+d));else if(g_isie||(g_isfirefox?ff_do_popupinputupdate(d):
sendBG({cmd:”popupfillinputsave”,inputstr:d,inputid:e,inputtype:b.type,issaveall:issaveall(c)})),verbose_log(“KEYPASS9 match>1 username=”+d),chk_form_has_password(a,c),g_change_icon_on_input&&(b=c.elements,”undefined”!=typeof Math&&(c=Math.floor(1E4*Math.random()),null!=b)))for(n=0;n<b.length&&!(d=b[n],checkIsDisplayed(a,d,0,null,c)&&isInputFieldPassword(a,d)&&null!=d.value&&0<d.value.length);n++);}}}}}
function LP_derive_doc(){var a=null,a="undefined"!=typeof g_isfirefox&&g_isfirefox&&LP?LP.getBrowser().contentDocument:document;return!a?null:a}function checkDocumentForCPWOrphans(a){if(!a)return!1;for(var b=null,c=0,d=a.getElementsByTagName("INPUT"),e=0;eMAX_INPUTS_HARD)break;if(null==elt.form&&lpIsVisible(elt)){if(isInputFieldPassword(a,elt)){c++;var f=lpIsFieldCurrentPWField(elt);if(f){if(b)return!1;b=f}}if(4<=c)return!1}}return 2g&&(f=g);var h=SHOULD_DO_ALWAYS,k=0;for(e=0;e<f;e++){var j=d[e].form,
m=null,n=null;j?(m=form_get_username(a,j),n=form_get_password(a,j)):n=m=null;var l=d[e],s=!1,g="sites",r=!1;if(popupfill_shoulddofield(a,l,h)){var p=LP_fieldGetWidth(l),q=!0;if(b){if(looksLikeUsername(l)||isInputFieldPassword(a,l))g="sites",s=!0}else if(m==l)g="sites",s=!0;else if(isInputFieldPassword(a,l))j&&l==lpCheckCurrentPWField(j,!0)?(g="sites",r=s=!0):lpIsFieldCurrentPWField(l)?(g="sites",r=s=!0):n==l?(g="sites",r=s=!0):isContigPW(a,l.form,l)?(g="generate",s=!0):(g="sites",r=s=!0);else if(isFirstFieldNonLoginSubForm(a,
l))g="formfills",s=!0,q=!1;else if(isUsernameFieldLoginSubForm(a,l)||isPasswordFieldLoginSubForm(a,l))g="sites",r=s=!0;if(s&&LP_iconFieldWidthOK(l,p,q)&&(k++,setup_input_icon(a,l,g,c,r),g_clickable_input&&(!("password"==l.type&&formHasUsernameField(l))||g_clickable_input_on_password)&&LP_didFieldClickEvent(a,l)&&g&&"sites"==g))LP_setFieldClickEvent(a,l),l.addEventListener("click",function(){var b=event.target,c=LPMAGIC+LP_getname_or_idx(a,b,LP_GETNAME_FAVOR_ID_OVER_NAME);null!=document.getElementById(c)&&
(g_clickable_input_on_password?is_your_popup_showing(a)||conditional_create_popup(a,b,FORCE_SHOW_NOHITS_NOLOGIN):(set_active_username_password(a,l.form),do_bgiconinput?popuptoggle(a,null,LP_getname_or_idx(a,l,LP_GETNAME_FAVOR_ID_OVER_NAME),NO_FORCE_GENERATE,FORCE_SHOW_NOHITS):popupfilltoggle(a,c,b,NO_FORCE_GENERATE,FORCE_SHOW_NOHITS)));return!1},!1)}}verbose_log("created "+k+" icons on generic page")}}
function element_is_detached(a,b,c){return!a&&(a=b.ownerDocument,!a)?!1:!b||15<c||b.parentNode==a.body?!1:null==b.parentNode?!0:element_is_detached(a,b.parentNode,c+1)}function detect_page_species(a){if(!a&&(a=elt.ownerDocument,!a))return!1;a.getElementsByTagName("INPUT");var b=MAX_INPUTS_SOFT;LP_exceedInputsThreshold(a)||(b=MAX_INPUTS_HARD);doc_get_orphan_username(a);doc_get_orphan_password(a);for(a=0;a<b;a++);}
function ForceFillOrphanFieldClicked(a,b,c){if(!a&&(a=elt.ownerDocument,!a))return!1;var d=!0;if(d=ForceFillFieldClicked(a,b,!1,c))for(var e=a.getElementsByTagName("INPUT"),f=0,f=0;f<e.length&&f<MAX_INPUTS_HARD;f++)if(e[f]==b&&e[f+1]&&f+1<e.length&&f+1parseInt(d)||!d||”NaNpx”==d?”90px”:parseInt(d)+”px”,e=0>parseInt(e)||!e||”NaNpx”==e?”240px”:parseInt(e)+”px”,a=”width: “+e+” !important; height: “+d+” !important; top:10px !important; left:10px !important; position: fixed;”):pass,d=”display:block; position:fixed !important; visibility:visible !important; z-index:”+CLICKABLE_ICON_ZINDEX+” !important; border-style:none !important;”+
a,c.style.cssText!=d&&(c.style.cssText=d)}catch(f){return verbose&&alert(“place_fixed: “+f.message),!1}return!0}
function place_iframe_absolute(a,b,c,d,e){if(!c||!a||!b||!d)return!1;var f=null,g;if(“undefined”!=typeof Math){try{var h=d.posx,k=d.posy,j=parseInt(h)+”px”,m=parseInt(k)+”px”;d=0;0

g&&(j=g-parseInt(d)-20+”px”)):0

parseInt(j)&&(j=”0px”);g=0;0

<parseInt(g_minheight_override)?g=Math.max(parseInt(g_popupfill_iframe_height_save),parseInt(g_minheight_override))+"px":""!=g_popupfill_iframe_height_save&&0<parseInt(g_popupfill_iframe_height_save)?g=parseInt(g_popupfill_iframe_height_save)+"px":(null==f&&(f=b&&"undefined"!=typeof b.getComputedStyle?b.getComputedStyle(c):c.currentStyle),f&&(g=f.height));if(g_iframe_scroll_hack&&!g_frame_scrollable_set){var n=parseInt(g),
l=parseInt(d),s;s=b&&"undefined"!=typeof b.getComputedStyle?g_isfirefox?b.getComputedStyle(a.documentElement):b.getComputedStyle(a.body):"undefined"!=typeof a.documentElement?a.documentElement.currentStyle:a.body.currentStyle;parseInt(s.height);parseInt(s.width);var r=b.innerHeight,p=b.innerWidth;if(null!=n&&0<n&&null!=r&&0<r||null!=l&&0<l&&null!=p&&0

r||parseInt(h)+l>p)&&LP_inIframe(b)){if(g_isfirefox){enableScrollWithinIframe(a,b);var q=LP.getBrowser(),t=q?q.contentDocument:
null;t&&t!=a&&enableScrollOnIframe(a.location.href,e)}else g_isie||(verbose_log(“ensuring this frame/iframe has scrolling enabled”),sendBG({cmd:”iframescrollenable”,href:a.location.href}));g_frame_scrollable_set=!0}}if(“NaNpx”==m||””===m||”NaNpx”==j||””===j||”NaNpx”==d||””===d||”NaNpx”==g||””===g)verbose_log(“invalid iframe pos”),closepopupfills(a);a=g_frame_css_str+(“width: “+d+” !important; height: “+g+” !important; top:”+m+” !important; left:”+j+” !important; position: absolute;”);c.style.cssText!=
a&&(c.style.cssText=a)}catch(u){verbose&&alert(“place_abs “+u.message)}return True}}
function ff_get_iframe_pos(a,b,c,d,e){if(!g_isfirefox)return null;b=null;c=e.getElementsByTagName(“iframe”);try{var f=getIconState(a,d);if(f){var g=a=null,h=null;if(f.inframe){verbose_log(“Input is in frame!”);for(f=f=0;f<c.length;f++){g=null;verbose_log("Trying frame "+c[f].src);try{var g=c[f].contentDocument,k=LP_getElementByIdOrName(g,d);if(k&&"INPUT"==k.tagName){verbose_log("Found INPUT "+d+" in "+g.location.href);h=LP_getAbsolutePos(e,c[f]);break}}catch(j){verbose_log("Error frame traverse "+
j.message);return}}if(g&&h&&(verbose_log("computing iframe position [against iframe]"),a=LP_getElementByIdOrName(g,d))){found_input=!0;var m=ff_calculate_iframe_pos(g,a,0<g_minwidth_override?g_minwidth_override:0);b={posx:parseInt(m.posx)+h.left+"px",posy:parseInt(m.posy)+h.top+"px"};verbose_log("computed x="+b.posx+" y="+b.posy)}}else if(null!=f&&!isEmptyObject(f)){if(verbose_log("computing iframe position [against toplevel]"),a=LP_getElementByIdOrName(e,d))found_input=!0,b=ff_calculate_iframe_pos(e,
a,0>1;a+=Math.floor(a/b);for(b=0;a>(c-e)*f>>1;b+=c)a=Math.floor(a/(c-e));return Math.floor(b+(c-e+1)*a/(a+g))}function b(a,b){a-=(26>a-97)<a-65)<<5)}this.utf16={decode:function(a){for(var b=[],c=0,d=a.length,e,f;c<d;){e=a.charCodeAt(c++);if(55296===(e&63488)){f=a.charCodeAt(c++);if(55296!==(e&64512)||56320!==(f&64512))throw new RangeError("UTF-16(decode): Illegal UTF-16 sequence");e=((e&1023)<<
10)+(f&1023)+65536}b.push(e)}return b},encode:function(a){for(var b=[],c=0,d=a.length,e;c<d;){e=a[c++];if(55296===(e&63488))throw new RangeError("UTF-16(encode): Illegal UTF-16 value");65535>>10&1023|55296)),e=56320|e&1023);b.push(String.fromCharCode(e))}return b.join(“”)}};var c=36,d=700,e=1,f=26,g=38;this.decode=function(b,d){var g=[],m=[],n=b.length,l,s,r,p,q,t,u,v,w;l=128;r=0;p=72;q=b.lastIndexOf(“-“);0>q&&(q=0);for(t=0;tb.charCodeAt(t)-
65);if(128= 0x80″);g.push(b.charCodeAt(t))}for(q=0<q?q+1:0;q=n)throw RangeError(“punycode_bad_input(1)”);v=b.charCodeAt(q++);v=10>v-48?v-22:26>v-65?v-65:26>v-97?v-97:c;if(v>=c)throw RangeError(“punycode_bad_input(2)”);if(v>Math.floor((2147483647-r)/s))throw RangeError(“punycode_overflow(1)”);r+=v*s;w=u=p+f?f:u-p;if(vMath.floor(2147483647/(c-w)))throw RangeError(“punycode_overflow(2)”);s*=
c-w}s=g.length+1;p=a(r-t,s,0===t);if(Math.floor(r/s)>2147483647-l)throw RangeError(“punycode_overflow(3)”);l+=Math.floor(r/s);r%=s;d&&m.splice(r,0,26>b.charCodeAt(q-1)-65);g.splice(r,0,l);r++}if(d){r=0;for(n=g.length;r<n;r++)m[r]&&(g[r]=String.fromCharCode(g[r]).toUpperCase().charCodeAt(0))}return this.utf16.encode(g)};this.encode=function(d,g){var j,m,n,l,s,r,p,q,t,u;g&&(u=this.utf16.decode(d));d=this.utf16.decode(d.toLowerCase());var v=d.length;if(g)for(r=0;r<v;r++)u[r]=d[r]!=u[r];var w=[];j=128;
m=0;s=72;for(r=0;rd[r]&&w.push(String.fromCharCode(u?b(d[r],u[r]):d[r]));n=l=w.length;for(0<l&&w.push("-");n<v;){p=2147483647;for(r=0;r=j&&q

Math.floor((2147483647-m)/(n+1)))throw RangeError(“punycode_overflow (1)”);m+=(p-j)*(n+1);j=p;for(r=0;r<v;++r){q=d[r];if(q<j&&2147483647<++m)return Error("punycode_overflow(2)");if(q==j){p=m;for(q=c;;q+=c){t=q=s+f?f:q-s;if(pt+(p-t)%(c-t))-0));p=Math.floor((p-
t)/(c-t))}w.push(String.fromCharCode(p+22+75*(26>p)-((0!=(g&&u[r]?1:0))<<5)));s=a(m,n+1,n==l);m=0;++n}}++m;++j}return w.join("")};this.get_host=function(a){var b=a.indexOf("://");-1!=b&&(a=a.substring(b+3));b=a.indexOf("/");-1!=b&&(a=a.substring(0,b));b=a.indexOf("?");-1!=b&&(a=a.substring(0,b));b=a.indexOf("@");-1!=b&&(a=a.substring(b+1));b=a.indexOf(":");-1!=b&&(a=a.substring(0,b));-1!=a.indexOf(".",a.length-1)&&(a=a.substring(0,a.length-1));return a};this.URLToASCII=function(a){if("string"!=typeof a)return a;
"undefined"==typeof g_punycodecache&&(g_punycodecache=[]);if("undefined"!=typeof g_punycodecache[a])return g_punycodecache[a];var b=this.get_host(a),c=this.ToASCII(b);if(c==b)return g_punycodecache[a]=d,a;var d=a.replace(b,c);return g_punycodecache[a]=d};this.ToASCII=function(a){a=a.split(".");for(var b=[],c=0;c<a.length;++c){var d=a[c];b.push(d.match(/[^A-Za-z0-9-]/)?"xn--"+punycode.encode(d):d)}return b.join(".")};this.URLToUnicode=function(a){if("string"!=typeof a)return a;var b=this.get_host(a),
c=this.ToUnicode(b);return c==b?a:a.replace(b,c)};this.ToUnicode=function(a){a=a.split(".");for(var b=[],c=0;c<a.length;++c){var d=a[c];b.push(d.match(/^xn--/)?punycode.decode(d.slice(4)):d)}return b.join(".")}};
function lpCheckCurrentPWField(a,b){"undefined"==typeof b&&(b=!1);for(var c=RegExp(lpgs("ff_currpass_regexp"),"i"),d=0;d<a.elements.length;d++){var e=a.elements[d];if("password"==e.type&&(b||lpIsVisible(e))){if(c.exec(getname(e)))return e;var f=lpGetTextBeforeFormField(e);if(""!=f&&c.exec(f))return e}}return null}
function lpCountInputFields(a,b){var c=[];c.text=c.password=c["select-one"]=c.textarea=c.email=c.tel=c.url=c.passwordValues=c.passwordvisible=c.uniquepasswords=0;c.uname=c.pname=c.oname="";for(var d=a.elements,e=!1,f=!1,g=[],h="undefined"!=typeof d?d.length:0,k=0;k<h;k++){var j=d[k].type,m=getname(d[k]),n=d[k].value;("password"==j||"text"==j||"select-one"==j||"textarea"==j||"email"==j||"tel"==j||"url"==j)&&c[j]++;"password"==j?(b||lpIsVisible(d[k])&&++c.passwordvisible,""!=n&&c.passwordValues++,e&&
(f=!0),e=!0,lp_in_array(n,g)||(g[g.length]=n)):"hidden"==j||"INPUT"!=d[k].tagName&&"SELECT"!=d[k].tagName&&"TEXTAREA"!=d[k].tagName||(e=!1);if(("text"==j||"email"==j||"tel"==j||"url"==j)&&"openid_url"!=m&&(""==c.uname||""==c.pname))c.uname=m;"password"==j&&(c.pname=m);if(("text"==j||"email"==j||"tel"==j||"url"==j)&&"openid_url"==m)c.oname=m}c.passwordsContiguous=f;c.uniquepasswords=g.length;return c}
function lpIsFieldCurrentPWField(a){if(!a||"INPUT"!=a.tagName.toUpperCase())return!1;var b=RegExp(lpgs("ff_currpass_regexp"),"i");if("password"==a.type){if(b.exec(getname(a)))return!0;a=lpGetTextBeforeFormField(a);if(""!=a&&b.exec(a))return!0}return!1}
function lpGetTextBeforeFormField(a){var b="";try{if(""!=a.id&&"undefined"!=typeof a.ownerDocument&&null!=a.ownerDocument)for(var c=a.ownerDocument.getElementsByTagName("label"),d=0;d<c.length;d++)if(c[d].htmlFor==a.id){var e=lp_strip(lpGetText(c[d],a,!1,!0));if(2<=e.length)return e;break}if("string"==typeof a.placeholder&&2<a.placeholder.length)return a.placeholder;var f=a.parentNode;if(f&&("DIV"==f.tagName||"SPAN"==f.tagName))f=f.parentNode;if(f&&"TD"==f.tagName){var g=lp_strip(lpGetText(f,a,!1,
!0));if(2<=g.length)return g;var h=f.parentNode,k=lp_strip(lpGetText(h,a,!1,!0));if(2<=k.length)return k;var g=c=-1,j=f.offsetParent;if(j)for(k=0;k<j.rows.length;k++)if(h==j.rows[k]){c=k;break}for(k=0;k<h.cells.length;k++)if("undefined"!=typeof h.cells[k]&&f==h.cells[k]){g=k;break}f=0;if(0<c&&-1!=g){for(d=k=h=0;d<=g;d++){var m=j.rows[c].cells[d],n=1;m&&"number"==typeof m.colSpan&&(n=m.colSpan);d<g?h+=n:k=h+n-1}for(var l=0,d=0;d<=k;d++){m=j.rows[c-1].cells[d];n=1;m&&"number"==typeof m.colSpan&&(n=
m.colSpan);var s=1;m&&"number"==typeof m.rowSpan&&(s=m.rowSpan);1=s&&h=s&&k<=r)&&m)if(e=lp_strip(lpGetText(m,a,!1,!0)),2<=e.length){b=e;f=1;break}l+=n}}if(!f&&(-1!=c&&-1!=g)&&(m=j.rows[c].cells[0]))e=lp_strip(lpGetText(m,a,!1,!0)),2<=e.length&&(b=e)}}catch(p){lpdbg("error","Table Text problem.."+p+" ln: "+p.lineNumber)}""==b&&(b=lpGetTextBeforeFormField_orig(a));return b}
function LP_innerHTMLParse(a,b){var c="",d=a.innerHTML,e=RegExp("]+name=[“‘]?”+lp_regexp_quote(lpxmlescape(getname(b)))+”[“‘]?[^>]*>”,”i”),e=e.exec(d);if(!e&&(e=RegExp(“]+id=[“‘]?”+lp_regexp_quote(lpxmlescape(getname(b)))+”[“‘]?[^>]*>”,”i”),e=e.exec(d),!e))return””;for(var f=d.indexOf(e[0]),e=0,g=1001=g;f–){var h=d.charAt(f);if(“>”==h){if(0>=e){c=c.replace(/ /,” “);c=lp_strip(c);if(2<c.length)return c;c=""}e++}else"<"==
h?0=e&&(c=h+c)}c=c.replace(/ /,” “);c=lp_strip(c);2d&&b.parentNode;d++){var b=b.parentNode,c=lp_strip(lpGetText(b,a)),e=200;try{“undefined”!=typeof lp_formfill_tld&&”lifelock.com”==lp_formfill_tld&&(e=150)}catch(f){}if(c.length>e)return a=LP_innerHTMLParse(b,a),lpdbg(“error”,”Using LP_innerHTMLParse:”+a),a;if(2<=c.length)break}return c}var lpgettext_abort=!1;
function lpGetText(a,b,c,d){c||(lpgettext_abort=!1);if(a==b)return lpgettext_abort=!0,"";if(3==a.nodeType)return 2<lp_strip(a.nodeValue).length?a.nodeValue:"";c=[];var e=0,f="string"==typeof a.tagName?a.tagName:"";if(a.lp_too_many)return"";var g=a&&a.style&&!lpIsVisible(a,!0);d=!1;"LABEL"==f&&(d=!0);e=0;if("OPTION"!=f&&"SCRIPT"!=f&&"TEXTAREA"!=f&&!g)for(;"undefined"!=typeof a.childNodes[e];){c[c.length]=lpGetText(a.childNodes[e],b,!0,d);if(lpgettext_abort)break;if(50<e++)return a.lp_too_many=1,lpdbg("error",
"More than 50 child elements: something is wrong, abort"),""}a="|";"undefined"!=typeof d&&d&&(a="");return c.join(a)}var lpParseUriCache=[],lpParseUriNumber=0;
function lpParseUri(a){if("string"!=typeof a)return"";if(null!=lpParseUriCache[a])return lpParseUriCache[a];var b=null,c=null,d=a;-1!=a.indexOf("#")&&(c=a.substring(a.indexOf("#")+1),a=a.substring(0,a.indexOf("#")));-1!=a.indexOf("?")&&(b=a.substring(a.indexOf("?")+1),a=a.substring(0,a.indexOf("?")));var e=a.match(/^(.*://[^/]+/.*)@/);e&&(a=a.substring(0,e[1].length)+a.substring(e[1].length).replace(/@/g,"%40"));if(2047<a.length)return"";var f=lpParseUri.options,e=null;try{e=f.parser[f.strictMode?
"strict":"loose"].exec(a)}catch(g){try{e=500<a.length?f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,500)):f.parser[f.strictMode?"strict":"loose"].exec(a.substr(0,floor(a.length/2)))}catch(h){lpReportError("parseuri : failing "+a),e=f.parser[f.strictMode?"strict":"loose"].exec("
http://&quot;)}}a=e;for(var k={},e=14;e–;)k[f.key[e]]=a[e]||"";k[f.q.name]={};k[f.key[12]].replace(f.q.parser,function(a,b,c){b&&(k[f.q.name][b]=c)});null!=b&&(k.query=b,null!=c&&(k.anchor=c));k.host&&(k.host=fix_url_host(k.host));
if(500<lpParseUriNumber){for(var j in lpParseUriCache){delete lpParseUriCache[j];break}lpParseUriNumber=0}lpParseUriCache[d]=k;lpParseUriNumber++;return k}
lpParseUri.options={strictMode:!1,key:"source protocol authority userInfo user password host port relative path directory file query anchor".split(" "),q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:/?#]+):)?(?://((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(d*))?))?((((?:[^?#/]*/)*)([^?#]*))(?:?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+):)?(?://)?((?:(([^:@]*):?([^:@]*))?@)?([^:/?#]*)(?::(d*))?)(((/(?:[^?#](?![^?#/]*.[^?#/.]+(?:[?#]|$)))*/?)?([^?#/]*))(?:?([^#]*))?(?:#(.*))?)/}};
var lpCanUrlCache=[],lpCanUrlExNumber=0;
function lpcanonizeUrl(a,b){if("about:blank"==a)return"";if(null!=lpCanUrlCache[a])return lpCanUrlCache[a];null==b&&(b=lpParseUri(a));var c="";""!=b.port&&b.port!=get_default_port(b.protocol)&&(c=":"+b.port);if(b.host)c=b.host.toLowerCase()+c+b.path;else{if(!a)return"";c=a}-1!=c.indexOf(";")&&(c=c.substring(0,c.indexOf(";")));if(500<lpCanUrlExNumber){for(var d in lpCanUrlCache){delete lpCanUrlCache[d];break}lpCanUrlExNumber=0}lpCanUrlCache[a]=c;lpCanUrlExNumber++;return c}
function lp_gettld(a,b){("undefined"==typeof lp_all_tlds||null==lp_all_tlds)&&lp_init_tlds();if("string"!=typeof a)return"";if(""==a&&"string"==typeof b&&0==b.indexOf("file://"))return"file:";a=a.toLowerCase();a=a.replace(/.$/,"");var c=a.split("."),d;if(a.match(/^d+.d+.d+.d+$/))d=4;else if(d=2,2d;)c.shift();return c.join(“.”)}
function lp_gettld_url(a){var b=lpParseUri(a);return lp_gettld(b.host,a)}function getname_url(a){a=lpParseUri(punycode.URLToUnicode(a));return(“string”==typeof a.host?a.host:””).replace(/^www./,””)}function lptrim(a){return”string”!=typeof a?a:a.replace(/^s+|s+$/g,””)}function lp_regexp_quote(a){return(a+””).replace(/([\.+*?[^]$(){}=!|:])/g,”\$1″)}
function getname(a,b){if(b&&”undefined”!=typeof a.id&&””!=a.id)return a.id;if(“undefined”!=typeof a&&null!=a){if(“undefined”!=typeof a.name&&””!=a.name)return a.name;if(“undefined”!=typeof a.id)return a.id}return””}
function lpIsVisible(a,b){for(;a&&”BODY”!=a.tagName;a=a.parentNode){if(“undefined”!=typeof a.style&&(“hidden”==a.style.visibility||”none”==a.style.display))return!1;try{var c=”undefined”!=typeof a.ownerDocument.defaultView.getComputedStyle?a.ownerDocument.defaultView.getComputedStyle(a,””):a.currentStyle;if(“hidden”==c.visibility||”none”==c.display)return!1}catch(d){}if(b)break}return!0}
function lp_in_array(a,b){for(var c=b.length,d=0;d<=c;d++)if("undefined"!=typeof b[d]&&b[d]==a)return lpArrayOffset=d,!0;return!1}function lp_strip(a){if(!a.length)return a;a=a.replace(/s+/g," ");a=a.replace(/^s+|s+$/g,"");a=a.replace(/[|]+$/g,"");var b=a.match(/|([^|]+)$/);b&&(a=b[1],a=a.replace(/^s+|s+$/g,""));return a}function lpxmlescape(a){"number"==typeof a&&(a=""+a);a=a.replace(/&/g,"&");a=a.replace(//g,”>”);return a=a.replace(/”/g,”"”)}
function lpxmlunescape(a){“number”==typeof a&&(a=””+a);a=a.replace(/</g,””);a=a.replace(/"/g,'”‘);return a=a.replace(/&/g,”&”)}var lpRegExCache=[],lpRegExNumber=0;
function regexp_match_c(a,b){var c=a.toString()+”_”+b;80<c.length&&("function"==typeof fasthash?c=fasthash(c):"function"==typeof SHA256&&(c=SHA256(c)));if(null!=lpRegExCache[c])return"1"==lpRegExCache[c];var d=a.exec(b);if(2500<lpRegExNumber){for(var e in lpRegExCache){delete lpRegExCache[e];break}lpRegExNumber=0}lpRegExCache[c]=d?"1":"0";lpRegExNumber++;return d}
function fire_onchange(a,b,c){try{if(a){if(a.ownerDocument&&"function"==typeof a.ownerDocument.createEvent){var d=a.ownerDocument.createEvent("Events");d.initEvent("change",!0,!0);a.dispatchEvent(d);"undefined"!=typeof ischrome&&(ischrome&&"function"==typeof a.onkeyup)&&(c&&(d.keyCode=8),a.onkeyup(d))}else"undefined"!=typeof a.fireEvent&&a.fireEvent("onchange");("undefined"==typeof b||null==b||b)&&"function"==typeof sendKey&&sendKey("SHIFT",a);if("function"==typeof lpGetBrowserForDocument){var e=
lpGetBrowserForDocument(a.ownerDocument);e&&(e.lpfieldchanged=!0)}}}catch(f){}}function get_default_port(a){switch(a){case "http":return 80;case "https":return 443;case "ftp":return 21;default:return 0}}function get_port(a){var b=0;"undefined"!=typeof a.port&&a.port?b=a.port:"undefined"!=typeof a.protocol&&a.protocol&&(b=get_default_port(a.protocol));return b}
function compare_ports(a,b){var c=""!=a.port?a.port:get_default_port(a.protocol),d=""!=b.port?b.port:get_default_port(b.protocol);return c==d}function lpgetlocalts(){return"undefined"!=typeof Date?(new Date).getTime():0}function lp_get_gmt_timestamp(){if("undefined"!=typeof Date)var a=(new Date).getTime(),a=parseInt(a/1E3);else a=0;return a}function lp_get_local_timestamp(){return lp_get_gmt_timestamp()}
function lp_init_tlds(){if("undefined"==typeof lp_all_tlds||null==lp_all_tlds)lp_all_tlds=[],lp_all_tlds.hu="2000 agrar bolt casino city co com erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news nui org priv reklam sex shop sport suli szex tm tozsde utazas video".split(" "),lp_all_tlds.nl=["752"],lp_all_tlds.ca="ab bc gc mb nb nf nl ns nt nu on pe qc sk yk".split(" "),lp_all_tlds.pa="abo ac com edu gob ing med net nom org sld".split(" "),lp_all_tlds.se="ab ac bd brand com c d e fh fhsk fhv f g h i komforb kommunalforbund komvux k lanarb lanbib mil m naturbruksgymn net n org o parti pp press s sshn tm t u w x y z".split(" "),
lp_all_tlds.ac="ac co com edu gov gv mil net or org".split(" "),lp_all_tlds.ae="ac com gov mil name net org pro sch".split(" "),lp_all_tlds.at=["ac","co","gv","or","priv"],lp_all_tlds.be="ac ap co com fgov to xa".split(" "),lp_all_tlds.cn="ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hk hl hn jl js jx ln mo net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj".split(" "),lp_all_tlds.cr="ac co ed fi go or sa".split(" "),lp_all_tlds.cy="ac biz com ekloges gov info ltd name net org parliament press pro tm".split(" "),
lp_all_tlds.fj="ac biz com gov id info mil name net org pro school".split(" "),lp_all_tlds.fk="ac co gov net nom org".split(" "),lp_all_tlds.gg="ac alderney co gov guernsey ind ltd net org sark sch".split(" "),lp_all_tlds.gn=["ac","com","gov","net","org"],lp_all_tlds.gt="com edu gob ind mil net org".split(" "),lp_all_tlds.id="ac co go mil net or sch web".split(" "),lp_all_tlds.il="ac co gov idf k12 muni net org".split(" "),lp_all_tlds.im="ac co gov net nic org".split(" "),lp_all_tlds["in"]="ac co edu ernet firm gen gov ind mil net nic org res".split(" "),
lp_all_tlds.ir="ac co gov net org sch".split(" "),lp_all_tlds.is=["ac","org"],lp_all_tlds.je="ac co gov ind jersey ltd net org sch".split(" "),lp_all_tlds.jp="ac ad aichi akita aomori chiba co ed ehime fukui fukuoka fukushima gifu go gov gr gunma hiroshima hokkaido hyogo ibaraki ishikawa iwate kagawa kagoshima kanagawa kawasaki kitakyushu kobe kochi kumamoto kyoto lg mie miyagi miyazaki nagano nagasaki nagoya nara ne net niigata oita okayama okinawa org or osaka saga saitama sapporo sendai shiga shimane shizuoka tochigi tokushima tokyo tottori toyama wakayama yamagata yamaguchi yamanashi yokohama".split(" "),
lp_all_tlds.kr="ac co go ne nm or re".split(" "),lp_all_tlds.mw="ac com co coop edu gov int museum net org".split(" "),lp_all_tlds.nz="ac co cri geek gen govt iwi maori mil net org school".split(" "),lp_all_tlds.ru="ac com int msk net org pp".split(" "),lp_all_tlds.rw="ac com co edu gouv gov int mil net".split(" "),lp_all_tlds.au="act asn com conf csiro edu gov id info net nsw nt org oz qld sa tas telememo vic wa".split(" "),lp_all_tlds.th="ac co go in mi net or".split(" "),lp_all_tlds.tj="ac biz com co edu go gov int mil name net org web".split(" "),
lp_all_tlds.tz=["ac","co","go","ne","or"],lp_all_tlds.ug="ac co go ne or sc".split(" "),lp_all_tlds.uk="ac bl british-library com co gov icnet jet ltd me mil mod national-library-scotland nel net nhs nic nls org parliament plc police sch".split(" "),lp_all_tlds.vn="ac biz com edu gov health info int name net org pro".split(" "),lp_all_tlds.yu=["ac","co","edu","org"],lp_all_tlds.za="ac alt city com co edu gov law mil net ngo nom org school tm web".split(" "),lp_all_tlds.zm=["ac","co","gov","org","sch"],
lp_all_tlds.zw=["ac","co","gov","org"],lp_all_tlds.br="adm adv agr am arq art ato bio bmd cim cng cnt com coop dpn ecn edu eng esp etc eti far fm fnd fot fst g12 ggf gov imb ind inf jor lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet zlg".split(" "),lp_all_tlds.ht="adult art asso com coop edu firm gouv info med net org perso pol pro rel shop".split(" "),lp_all_tlds.mv="aero biz com coop edu gov info int mil museum name net org pro".split(" "),lp_all_tlds.pl=
"agro aid art atm auto bialystok biz com edu gdansk gda gmina gov gsm info krakow lodz lublin mail media miasta mil net ngo nom olsztyn org pc poznan priv realestate rel shop sklep slupsk sos szczecin targi tm torun tourism travel turystyka warszawa waw wroclaw wroc".split(" "),lp_all_tlds.us="ak al ar az ca com co ct dc de dni fed fl ga hi ia id il in isa kids ks ky la ma md me mi mn mo ms mt nc nd ne nh nj nm nsn nv ny oh ok or pa ri sc sd tn tx ut va vt wa wi wv wy".split(" "),lp_all_tlds.fi=["aland"],
lp_all_tlds.mil=["army","navy"],lp_all_tlds["do"]="art com edu gob gov mil net org sld web".split(" "),lp_all_tlds.dz="art asso com edu gov net org pol".split(" "),lp_all_tlds.co="arts com edu firm gov info int mil net nom org rec store uk web".split(" "),lp_all_tlds.ro="arts com firm info nom nt org rec store tm www".split(" "),lp_all_tlds.ve="arts bib com co edu firm gov info int mil net nom org rec store tec web".split(" "),lp_all_tlds.lv="asn com conf edu eu gov id mil net org".split(" "),lp_all_tlds.lk=
"assn com edu gov grp hotel int ltd net ngo org sch soc web".split(" "),lp_all_tlds.fr="asso com gouv nom prd presse tm".split(" "),lp_all_tlds.gp=["asso","com","edu","net","org"],lp_all_tlds.mc=["asso","tm"],lp_all_tlds.tr="av bbs bel biz com dr edu gen gov info k12 mil name net org pol tel web".split(" "),lp_all_tlds.az="biz com edu gov info int mil name net org pp".split(" "),lp_all_tlds.et="biz com edu gov info name net org".split(" "),lp_all_tlds.nr="biz com co edu gov info net org".split(" "),
lp_all_tlds.om="biz com co edu gov med mil museum net org pro sch".split(" "),lp_all_tlds.pk="biz com edu fam gob gok gon gop gos gov net org web".split(" "),lp_all_tlds.pr="biz com edu gov info isla name net org pro".split(" "),lp_all_tlds.tt="biz com co edu gov info name net org pro us".split(" "),lp_all_tlds.ua="cherkassy chernigov chernovtsy ck cn com crimea cv dnepropetrovsk dn donetsk dp edu gov if ivano-frankivsk kharkov kherson khmelnitskiy kh kiev kirovograd km kr ks kv lg lugansk lutsk lviv mk net nikolaev odessa od org pl poltava rovno rv sebastopol sumy ternopil te uzhgorod vinnica vn zaporizhzhe zhitomir zp zt".split(" "),
lp_all_tlds.tw="club com ebiz edu game gove gov idv mil net org".split(" "),lp_all_tlds.ag=["co","com","net","nom","org"],lp_all_tlds.ao="co ed gv it og pb".split(" "),lp_all_tlds.bw=["co","org"],lp_all_tlds.ck=["co"],lp_all_tlds.ls=["co","org"],lp_all_tlds.ma=["co","gov","net","org"],lp_all_tlds.af=["com","edu","gov","net"],lp_all_tlds.ai=["com","net","off","org"],lp_all_tlds.al="com edu gov inima net org soros tirana uniti upt".split(" "),lp_all_tlds.an=["com","edu","net","org"],lp_all_tlds.ar=
"com gov int mil net org".split(" "),lp_all_tlds.aw=["com"],lp_all_tlds.bb=["com","edu","gov","net","org"],lp_all_tlds.bd="com edu gov mil net org".split(" "),lp_all_tlds.bm=["com","edu","gov","net","org"],lp_all_tlds.bn=["com","edu","net","org"],lp_all_tlds.bo="com edu gob gov int mil net org tv".split(" "),lp_all_tlds.bs=["com","net","org"],lp_all_tlds.bt=["com","edu","gov","net","org"],lp_all_tlds.cd=["com","net","org"],lp_all_tlds.ch=["com","gov","net","org"],lp_all_tlds.cu="com edu gov inf net org".split(" "),
lp_all_tlds.dm=["com","edu","gov","net","org"],lp_all_tlds.ec="com edu fin gov info k12 med mil net org pro".split(" "),lp_all_tlds.ee=["com","fie","org","pri"],lp_all_tlds.eg="com edu eun gov mil net org sci".split(" "),lp_all_tlds.es=["com","edu","gob","nom","org"],lp_all_tlds.eu=["com"],lp_all_tlds.gb=["com","net"],lp_all_tlds.ge="com edu gov mil net org pvt".split(" "),lp_all_tlds.gh=["com","edu","gov","mil","org"],lp_all_tlds.gi="com edu gov ltd mod org".split(" "),lp_all_tlds.gr=["com","edu",
"gov","net","org"],lp_all_tlds.gu="com edu gov mil net org".split(" "),lp_all_tlds.hk="com edu gov idv net org".split(" "),lp_all_tlds.hn="com edu gob mil net org".split(" "),lp_all_tlds.hr=["com","from","iz","name"],lp_all_tlds.jm=["com","edu","gov","net","org"],lp_all_tlds.jo="com edu gov mil net org".split(" "),lp_all_tlds.kh="com edu gov mil net org per".split(" "),lp_all_tlds.kw="com edu gov mil net org".split(" "),lp_all_tlds.ky=["com","edu","gov","net","org"],lp_all_tlds.kz="com edu gov mil net org".split(" "),
lp_all_tlds.la=["com","net","org"],lp_all_tlds.lb="com edu gov mil net org".split(" "),lp_all_tlds.lc=["com","edu","gov","net","org"],lp_all_tlds.li=["com","gov","net","org"],lp_all_tlds.lr=["com","edu","gov","net","org"],lp_all_tlds.ly="com edu gov id med net org plc sch".split(" "),lp_all_tlds.mg="com edu gov mil nom org prd tm".split(" "),lp_all_tlds.mk=["com","org"],lp_all_tlds.mm=["com","edu","gov","net","org"],lp_all_tlds.mo=["com","edu","gov","net","org"],lp_all_tlds.mt=["com","edu","gov",
"net","org"],lp_all_tlds.mu=["com","co"],lp_all_tlds.mx="com edu gob gov net org".split(" "),lp_all_tlds.my="com edu gov mil name net org".split(" "),lp_all_tlds.na=["com","net","org"],lp_all_tlds.nc=["com","net","org"],lp_all_tlds.ng=["com","edu","gov","net","org"],lp_all_tlds.ni="com edu gob net nom org".split(" "),lp_all_tlds.no="com fhs folkebibl fylkesbibl herad idrett kommune mil museum priv stat vgs".split(" "),lp_all_tlds.np="com edu gov mil net org ort".split(" "),lp_all_tlds.pe="com edu gob mil net nom org".split(" "),
lp_all_tlds.pf=["com","edu","org"],lp_all_tlds.pg=["com","net"],lp_all_tlds.ph="com gov mil net ngo org".split(" "),lp_all_tlds.ps="com edu gov net org plo sec".split(" "),lp_all_tlds.pt="com edu gov int net nome org publ".split(" "),lp_all_tlds.py=["com","edu","gov","net","org"],lp_all_tlds.qc=["com"],lp_all_tlds.sa="com edu gov med net org pub sch".split(" "),lp_all_tlds.sb=["com","edu","gov","net"],lp_all_tlds.sc=["com","edu","gov","net","org"],lp_all_tlds.sd="com edu gov info med net org tv".split(" "),
lp_all_tlds.sg="com edu gov idn net org per".split(" "),lp_all_tlds.sh="com edu gov mil net org".split(" "),lp_all_tlds.sv="com co edu gob org red".split(" "),lp_all_tlds.sy=["com","gov","net","org"],lp_all_tlds.tn="com edunet ens fin gov ind info intl nat net org rnrt rns rnu tourism".split(" "),lp_all_tlds.uy="com edu gub mil net org".split(" "),lp_all_tlds.vi="com co edu gov net org".split(" "),lp_all_tlds.ye=["com","net"],lp_all_tlds.pro=["cpa","law","med"],lp_all_tlds.arpa="e164 in-addr ip6 iris uri urn".split(" "),
lp_all_tlds["int"]=["eu"],lp_all_tlds.bf=["gov"],lp_all_tlds.by=["gov","mil"],lp_all_tlds.cx=["gov"],lp_all_tlds.ie=["gov"],lp_all_tlds.it=["gov","pisa"],lp_all_tlds.lt=["gov","mil"],lp_all_tlds.lu=["gov","mil","net","org"],lp_all_tlds.to=["gov"],lp_all_tlds.tp=["gov"],lp_all_tlds.tv=["gov"],lp_all_tlds.mobi=["music","weather"],lp_all_tlds.mh=["net"],lp_all_tlds.ad=["nom"],lp_all_tlds.sr=["rs"],lp_all_tlds.va=["vatican"]}function checkurlrules(a,b){return b}function applyurlrule(a){return a}
function removeurlrule(a){return a}function lpsubstring(a,b,c){var d="",e=c-b;for(c=0;c<e;++c)d+=a[c+b];return d}function lpcreaterandomhexstring(a){for(var b="",c=0;c<a;c++)var d=get_random(0,15),b=b+"0123456789ABCDEF".substring(d,d+1);return b}function lpalert(a,b){"undefined"!=typeof LP&&"function"==typeof LP.lpgs?LP.alert(LP.lpgs(a),b):"function"==typeof alertfrombg?alertfrombg(lpgs(a)):alert(lpgs(a))}
function checkUsernameHash(){if(null==lpusername_hash||""==lpusername_hash){var a=null;"string"==typeof g_username&&""!=g_username?a=g_username:"string"==typeof lpusername&&""!=lpusername&&(a=lpusername);null!=a&&("function"==typeof SHA256?lpusername_hash=SHA256(a):"function"==typeof lp_sha256&&(lpusername_hash=lp_sha256(a)))}}function utf8_to_b64(a){return btoa(a)}function b64_to_utf8(a){return atob(a)}
function is_encrypted_field(a){return"text"==a||"password"==a||"textarea"==a||"email"==a||"tel"==a}
function clear_filled_fields(a,b,c){"undefined"==typeof c&&(c=1);if(10<c)return null;if(a&&"object"==typeof a.lp_filled_fields){for(var d=0;d<a.lp_filled_fields.length;d++){var e=a.lp_filled_fields[d].value;a.lp_filled_fields[d].value="";""!=e&&fire_onchange(a.lp_filled_fields[d])}a.lp_filled_fields=[]}if(b&&b.frames){a=b.frames.length;10<a&&(a=10);for(d=0;d<a;d++)b.frames[d].document&&clear_filled_fields(b.frames[d].document,b.frames[d].window,c+1)}}
function fix_url_host(a){if("string"==typeof a){if(27<a.length&&-1!=a.indexOf("logmein.com",a.length-11)){var b=a.match(/^(.*)-[a-z]{10}(.app).*(.logmein.com)$/);if(b)return b[1]+b[2]+b[3]}if(24<a.length&&-1!=a.indexOf("logme.in",a.length-8)&&(b=a.match(/^(.*)-[a-z]{10}(.app).*(.logme.in)$/)))return b[1]+b[2]+b[3]}return a}var lpgslocales=[],lpgscache=[];function getchromeurl(a){return a}var g_console_log="";
function truncatelog(){2E4<g_console_log.length&&(g_console_log=g_console_log.substring(g_console_log.length-2E4))}function console_log(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console.log(a),g_issafari&&(truncatelog(),g_console_log+=a+"n"))}function console_warn(a){g_isopera?window.opera.postError(a):"undefined"!=typeof console&&console.warn(a)}
function console_error(a){g_isopera?window.opera.postError(a):("undefined"!=typeof console&&console.error(a),g_issafari&&(truncatelog(),g_console_log+=a+"n"))}function dispatch_message(){g_isie&&L("not implemented yet. need callout to lptoolband")}function lp_ofja(a){return lp_ofa(lp_es(a))}
function lp_ofa(a){a=a.toString();var b=a.length,c="",d=0,e;for(e=0;ed||57d||90d||122d?(d=d.toString(16),2!=d.length&&(d=”0″+d),c+=”&#x”+d+”;”):c+=a.charAt(e);return c}function lp_of(a,b){“undefined”==typeof b&&(b=document);var c=b.createElement(“div”),d=b.createTextNode(a);c.appendChild(d);return c.innerHTML}function lpdbg(a,b){“undefined”!=typeof g_isdebug&&g_isdebug&&lplog(a+” : “+b)}function lplog(a){console_log(a)}
LP_addEventHandler(document,”click”,function(a){if(!do_bgiconinput||!icon_click_handler(a))is_your_popup_showing(document)?do_experimental_popupfill&&(a=LP_getEventTarget(a),g_popupfill_parent!=a&&closepopupfills(document)):(setTimeout(function(){checkShouldRecheck()},500),”undefined”==typeof document.addEventListener&&setTimeout(function(){checkShouldRecheck()},1200))});var LPJSON=this.LPJSON={};
(function(){function a(a){d.lastIndex=0;return d.test(a)?'”‘+a.replace(d,function(a){var b=g[a];return”string”===typeof b?b:”\u”+(“0000″+a.charCodeAt(0).toString(16)).slice(-4)})+'”‘:'”‘+a+'”‘}function b(c,d){var g,n,l,s,r=e,p,q=d[c];q&&(“object”===typeof q&&”function”===typeof q.toJSON)&&(q=q.toJSON(c));”function”===typeof h&&(q=h.call(d,c,q));switch(typeof q){case “string”:return a(q);case “number”:return isFinite(q)?String(q):”null”;case “boolean”:case “null”:return String(q);case “object”:if(!q)return”null”;
e+=f;p=[];if(h&&”object”===typeof h){s=h.length;for(g=0;g<s;g+=1)n=h[g],"string"===typeof n&&(l=b(n,q))&&p.push(a(n)+(e?": ":":")+l)}else for(n in q)Object.hasOwnProperty.call(q,n)&&(l=b(n,q))&&p.push(a(n)+(e?": ":":")+l);l=0===p.length?"{}":e?"{n"+e+p.join(",n"+e)+"n"+r+"}":"{"+p.join(",")+"}";e=r;return l}}var c=/[u0000u00adu0600-u0604u070fu17b4u17b5u200c-u200fu2028-u202fu2060-u206fufeffufff0-uffff]/g,d=/[\"x00-x1fx7f-x9fu00adu0600-u0604u070fu17b4u17b5u200c-u200fu2028-u202fu2060-u206fufeffufff0-uffff]/g,
e,f,g={"b":"\b","t":"\t","n":"\n","f":"\f","r":"\r",'"':'\"',"\":"\\"},h;"function"!==typeof LPJSON.stringify&&(LPJSON.stringify=function(a,c,d){var g;f=e="";if("number"===typeof d)for(g=0;g

81 thoughts on “Patios/Bars”

  1. Downtown on Euclid is a coffee shop called Pour that allows dogs inside. Also, Cle Clothing Co on E 4th and Euclid allows dogs in the store.

    Like

    1. We were just told that Nano now only allows dogs on the patio. Hopefully the person was just uninformed but we had to leave.

      Like

      1. Hmmmm.. I’ve been inside with my dog, but it might depend on the day or the crowd. Always a good idea to call ahead and check! Sorry to hear you had to leave.

        Like

  2. Barley House, The Nauti Mermaid, Cleveland Chop, and The Map Room in the warehouse district all have dog friendly patios.

    Like

  3. I will be driving through Cleveland next Tues afternoon on my way to NY for the holidays. I will be driving with my dog and would love a place to stop off to grab lunch and some craft beer. Due to the cold weather, it would need to be inside. Even if it were a craft beer bar where we could bring take out, that would work too. Our usual route takes us from 71 to 271 to 90, so ideally it would be close off 271, but could come closer up to Cleveland if it weren’t too far. Any ideas of places that meet those requirements?

    Like

    1. Hi Matt – you have a couple of options, but they will mostly be near downtown. Nano Brew and Bier Markt in Ohio City are both dog friendly inside, as well as Flying Monkey and Edison’s in Tremont. All of these bars have great food and craft beers, but I’d probably recommend Nano Brew (1859 W 25th St.) first. I love their beer and food, and they love dogs there. On the east side, the only bar I know of is Barking Spider near Case Western Reserve University. Let me know how it goes!

      Like

      1. Thank you so much for the quick response, but unfortunately all those aren’t open for lunch and we’ll probably be coming through closer to 1 or 2. The Barking Spider does open at 2, so that might be an option. Thanks for your help.

        Like

      2. The Barking Spider Tavern, a longtime destination for musicians and music lovers, will close their doors after their 30-year anniversary party on Sunday, September 18, 2016

        Like

      1. I can attest that they allow dogs inside! But only on the beir markt side and the outer eating area. You cannot take your dog to the bar cento side because the kitchen is on that side.

        Like

    1. The Bier Market side only allows dogs. This was our go-to this past winter with our puppy who is in training.

      Like

  4. Barrio in Lakewood does NOT allow dogs on the patio. Not sure if the same goes for the Tremont one, didn’t press the issue.

    Like

    1. Tremont does, I’ve taken my dog several times. The Lakewood patio is so tiny, I’m not surprised. I don’t have them on my list. Highly recommend the Tremont one!

      Like

  5. Thanks for keeping this list fresh. I have a very small fur baby and love taking her along for the socialization and companionship

    Like

    1. My understanding is that it’s only during their Yappy Hour events on certain Thursdays? I didn’t think they allowed dogs outside of that.

      Like

  6. Might want to take Barrio off of the list. They say they are “service dig friendly.” No shit. It’s illegal under ADA not to allow service dogs in your restaurant! They’re giving me a hard time on the patio.

    Like

  7. Bier Markt was outstanding for dinner for four (2 adults, 1 kid, 1 Wilbur dog). Kevin and the rest of the staff took care of all of us. From the dog toys and water bowl to the milk and cookies all was great. We will be back soon.

    Like

    1. Oh great, so they still allow dogs inside? That’s great! A lot of places have been changing their policies on dogs inside.

      Like

  8. Goldhorn Brewery on E. 55 (next to Sterle’s)

    Railroad Brewery in Avon (On Rt. 83 north of I-90 … near the railroad tracks)

    Like

    1. I contacted them and was told they do not allow dogs. It might just depend on the staff/crowd (or they might just not want to be on a list) so I haven’t added them.

      Like

  9. The Old Prague Restaurant & Bar, The Woodstock Café, and Vermilion Valley Vineyards are all dog friendly. All located in Vermilion, Ohio.

    Like

  10. Thanks for the comprehensive listing.

    Went to some dog-friendly places in Vermilion, Huron, and Port Clinton as well. Bootleggers Waterfront Grille & Bar in Port Clinton was a firm “no,” though.

    Like

      1. I just saw two dogs on the Beerhead patio last Wednesday. Might be a weekend versus weekday thing.

        Like

  11. Is there an updated list of indoor dog friendly breweries/bars – we travel around the Midwest with our dog on weekends and want to come up to the CLE – he loves laying on cool brewery floors!

    Like

      1. Hello-

        Unfortunately it is not entirely up to date-Edison’s no longer allows dogs and Grafitti is closed.

        Like

      2. Thanks, I missed that Graffiti was still on there! I keep meaning to check on Edison’s, do they not allow dogs even on the patio? I know they aren’t allowing inside anymore, but last time I was there they said patio was ok.

        Like

  12. Mason Jar Bar and Grill in Aurora allows dogs on the upper and lower patio. The upper is covered but the lower is uncovered. Great food and service! The owner even came out and brought some water for our pup.

    Like

  13. I was told Oak and Ember in Hudson allows pups on the patio. We will be trying this week. Also Thorncreek winery in Aurora has an amazing patio which hosts a puppy meet and greet on the patio. Another spot we will be trying.

    Like

  14. Six Horses Tavern in the Aurora Inn has a wonderful covered back patio that overlooks their event tent. Drinks are great, food is good and we had a great time with the staff enjoying our little Ruby girl.

    Like

  15. How do I know which ones are indoor dog friendly? Also, Bookhouse Brewing in Ohio City (I’m told) allows well-behaved pups inside. But check first!

    Like

    1. Only a few are that I know for sure:

      Sibling Revelry
      Bottlehouse Brewery
      Also Platform, Market Garden and Bier Mrkt and NanoBrew have allowed dogs inside, although I would always check on those places before going.

      Like

Leave a comment