var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(k,m,l){if(l.get||l.set)throw new TypeError("ES3 does not support getters and setters.");k!=Array.prototype&&k!=Object.prototype&&(k[m]=l.value)};$jscomp.getGlobal=function(k){return"undefined"!=typeof window&&window===k?k:"undefined"!=typeof global&&null!=global?global:k};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(k,m,l,d){if(m){l=$jscomp.global;k=k.split(".");for(d=0;dl&&(l=Math.max(0,a+l));if(null==d||d>a)d=a;d=Number(d);0>d&&(d=Math.max(0,a+d));for(l=Number(l||0);l>>0;if(0===f)return-1;c=+c||0;Infinity===Math.abs(c)&&(c=0);if(c>=f)return-1;for(c=Math.max(0<=c?c:f-Math.abs(c),0);cscreen.width?[screen.height,screen.width]:[screen.width,screen.height]:[screen.height,screen.width];"undefined"!==typeof c&&a.push(c);screen.availWidth&&screen.availHeight&&(b=this.options.detectScreenOrientation?screen.availHeight>screen.availWidth?[screen.availHeight,screen.availWidth]:[screen.availWidth,screen.availHeight]:[screen.availHeight,screen.availWidth]);"undefined"!==typeof b&&a.push(b);return a},timezoneOffsetKey:function(a){this.options.excludeTimezoneOffset||a.push((new Date).getTimezoneOffset()); return a},sessionStorageKey:function(a){!this.options.excludeSessionStorage&&this.hasSessionStorage()&&a.push("sessionStorageKey");return a},localStorageKey:function(a){!this.options.excludeSessionStorage&&this.hasLocalStorage()&&a.push("localStorageKey");return a},indexedDbKey:function(a){!this.options.excludeIndexedDB&&this.hasIndexedDB()&&a.push("indexedDbKey");return a},addBehaviorKey:function(a){document.body&&!this.options.excludeAddBehavior&&document.body.addBehavior&&a.push("addBehaviorKey"); return a},openDatabaseKey:function(a){!this.options.excludeOpenDatabase&&window.openDatabase&&a.push("openDatabase");return a},cpuClassKey:function(a){this.options.excludeCpuClass||a.push(this.getNavigatorCpuClass());return a},platformKey:function(a){this.options.excludePlatform||a.push(this.getNavigatorPlatform());return a},doNotTrackKey:function(a){this.options.excludeDoNotTrack||a.push(this.getDoNotTrack());return a},canvasKey:function(a){!this.options.excludeCanvas&&this.isCanvasSupported()&& a.push(this.getCanvasFp());return a},webglKey:function(a){!this.options.excludeWebGL&&this.isCanvasSupported()&&a.push(this.getWebglFp());return a},adBlockKey:function(a){this.options.excludeAdBlock||a.push(this.getAdBlock());return a},hasLiedLanguagesKey:function(a){this.options.excludeHasLiedLanguages||a.push(this.getHasLiedLanguages());return a},hasLiedResolutionKey:function(a){this.options.excludeHasLiedResolution||a.push(this.getHasLiedResolution());return a},hasLiedOsKey:function(a){this.options.excludeHasLiedOs|| a.push(this.getHasLiedOs());return a},hasLiedBrowserKey:function(a){this.options.excludeHasLiedBrowser||a.push(this.getHasLiedBrowser());return a},fontsKey:function(a,c){try{if(this.options.excludeJsFonts)return this.flashFontsKey(a,c)}catch(b){}return this.jsFontsKey(a,c)},flashFontsKey:function(a,c){if(this.options.excludeFlashFonts||!this.hasSwfObjectLoaded()||!this.hasMinFlashInstalled()||"undefined"===typeof this.options.swfPath)return c(a);this.loadSwfAndDetectFonts(function(b){a.push(b.join(";")); c(a)})},jsFontsKey:function(a,c){return setTimeout(function(){var b=["monospace","sans-serif","serif"],f=document.getElementsByTagName("body")[0],e=document.createElement("span");e.style.fontSize="72px";e.innerHTML="mmmmmmmmmmlli";var n={},g={},d;for(d in b)e.style.fontFamily=b[d],f.appendChild(e),n[b[d]]=e.offsetWidth,g[b[d]]=e.offsetHeight,f.removeChild(e);d="Abadi MT Condensed Light;Academy Engraved LET;ADOBE CASLON PRO;Adobe Garamond;ADOBE GARAMOND PRO;Agency FB;Aharoni;Albertus Extra Bold;Albertus Medium;Algerian;Amazone BT;American Typewriter;American Typewriter Condensed;AmerType Md BT;Andale Mono;Andalus;Angsana New;AngsanaUPC;Antique Olive;Aparajita;Apple Chancery;Apple Color Emoji;Apple SD Gothic Neo;Arabic Typesetting;ARCHER;Arial;Arial Black;Arial Hebrew;Arial MT;Arial Narrow;Arial Rounded MT Bold;Arial Unicode MS;ARNO PRO;Arrus BT;Aurora Cn BT;AvantGarde Bk BT;AvantGarde Md BT;AVENIR;Ayuthaya;Bandy;Bangla Sangam MN;Bank Gothic;BankGothic Md BT;Baskerville;Baskerville Old Face;Batang;BatangChe;Bauer Bodoni;Bauhaus 93;Bazooka;Bell MT;Bembo;Benguiat Bk BT;Berlin Sans FB;Berlin Sans FB Demi;Bernard MT Condensed;BernhardFashion BT;BernhardMod BT;Big Caslon;BinnerD;Bitstream Vera Sans Mono;Blackadder ITC;BlairMdITC TT;Bodoni 72;Bodoni 72 Oldstyle;Bodoni 72 Smallcaps;Bodoni MT;Bodoni MT Black;Bodoni MT Condensed;Bodoni MT Poster Compressed;Book Antiqua;Bookman Old Style;Bookshelf Symbol 7;Boulder;Bradley Hand;Bradley Hand ITC;Bremen Bd BT;Britannic Bold;Broadway;Browallia New;BrowalliaUPC;Brush Script MT;Calibri;Californian FB;Calisto MT;Calligrapher;Cambria;Cambria Math;Candara;CaslonOpnface BT;Castellar;Centaur;Century;Century Gothic;Century Schoolbook;Cezanne;CG Omega;CG Times;Chalkboard;Chalkboard SE;Chalkduster;Charlesworth;Charter Bd BT;Charter BT;Chaucer;ChelthmITC Bk BT;Chiller;Clarendon;Clarendon Condensed;CloisterBlack BT;Cochin;Colonna MT;Comic Sans;Comic Sans MS;Consolas;Constantia;Cooper Black;Copperplate;Copperplate Gothic;Copperplate Gothic Bold;Copperplate Gothic Light;CopperplGoth Bd BT;Corbel;Cordia New;CordiaUPC;Cornerstone;Coronet;Courier;Courier New;Cuckoo;Curlz MT;DaunPenh;Dauphin;David;DB LCD Temp;DELICIOUS;Denmark;Devanagari Sangam MN;DFKai-SB;Didot;DilleniaUPC;DIN;DokChampa;Dotum;DotumChe;Ebrima;Edwardian Script ITC;Elephant;English 111 Vivace BT;Engravers MT;EngraversGothic BT;Eras Bold ITC;Eras Demi ITC;Eras Light ITC;Eras Medium ITC;Estrangelo Edessa;EucrosiaUPC;Euphemia;Euphemia UCAS;EUROSTILE;Exotc350 Bd BT;FangSong;Felix Titling;Fixedsys;FONTIN;Footlight MT Light;Forte;Franklin Gothic;Franklin Gothic Book;Franklin Gothic Demi;Franklin Gothic Demi Cond;Franklin Gothic Heavy;Franklin Gothic Medium;Franklin Gothic Medium Cond;FrankRuehl;Fransiscan;Freefrm721 Blk BT;FreesiaUPC;Freestyle Script;French Script MT;FrnkGothITC Bk BT;Fruitger;FRUTIGER;Futura;Futura Bk BT;Futura Lt BT;Futura Md BT;Futura ZBlk BT;FuturaBlack BT;Gabriola;Galliard BT;Garamond;Gautami;Geeza Pro;Geneva;Geometr231 BT;Geometr231 Hv BT;Geometr231 Lt BT;Georgia;GeoSlab 703 Lt BT;GeoSlab 703 XBd BT;Gigi;Gill Sans;Gill Sans MT;Gill Sans MT Condensed;Gill Sans MT Ext Condensed Bold;Gill Sans Ultra Bold;Gill Sans Ultra Bold Condensed;Gisha;Gloucester MT Extra Condensed;GOTHAM;GOTHAM BOLD;Goudy Old Style;Goudy Stout;GoudyHandtooled BT;GoudyOLSt BT;Gujarati Sangam MN;Gulim;GulimChe;Gungsuh;GungsuhChe;Gurmukhi MN;Haettenschweiler;Harlow Solid Italic;Harrington;Heather;Heiti SC;Heiti TC;HELV;Helvetica;Helvetica Neue;Herald;High Tower Text;Hiragino Kaku Gothic ProN;Hiragino Mincho ProN;Hoefler Text;Humanst 521 Cn BT;Humanst521 BT;Humanst521 Lt BT;Impact;Imprint MT Shadow;Incised901 Bd BT;Incised901 BT;Incised901 Lt BT;INCONSOLATA;Informal Roman;Informal011 BT;INTERSTATE;IrisUPC;Iskoola Pota;JasmineUPC;Jazz LET;Jenson;Jester;Jokerman;Juice ITC;Kabel Bk BT;Kabel Ult BT;Kailasa;KaiTi;Kalinga;Kannada Sangam MN;Kartika;Kaufmann Bd BT;Kaufmann BT;Khmer UI;KodchiangUPC;Kokila;Korinna BT;Kristen ITC;Krungthep;Kunstler Script;Lao UI;Latha;Leelawadee;Letter Gothic;Levenim MT;LilyUPC;Lithograph;Lithograph Light;Long Island;Lucida Bright;Lucida Calligraphy;Lucida Console;Lucida Fax;LUCIDA GRANDE;Lucida Handwriting;Lucida Sans;Lucida Sans Typewriter;Lucida Sans Unicode;Lydian BT;Magneto;Maiandra GD;Malayalam Sangam MN;Malgun Gothic;Mangal;Marigold;Marion;Marker Felt;Market;Marlett;Matisse ITC;Matura MT Script Capitals;Meiryo;Meiryo UI;Microsoft Himalaya;Microsoft JhengHei;Microsoft New Tai Lue;Microsoft PhagsPa;Microsoft Sans Serif;Microsoft Tai Le;Microsoft Uighur;Microsoft YaHei;Microsoft Yi Baiti;MingLiU;MingLiU_HKSCS;MingLiU_HKSCS-ExtB;MingLiU-ExtB;Minion;Minion Pro;Miriam;Miriam Fixed;Mistral;Modern;Modern No. 20;Mona Lisa Solid ITC TT;Monaco;Mongolian Baiti;MONO;Monotype Corsiva;MoolBoran;Mrs Eaves;MS Gothic;MS LineDraw;MS Mincho;MS Outlook;MS PGothic;MS PMincho;MS Reference Sans Serif;MS Reference Specialty;MS Sans Serif;MS Serif;MS UI Gothic;MT Extra;MUSEO;MV Boli;MYRIAD;MYRIAD PRO;Nadeem;Narkisim;NEVIS;News Gothic;News GothicMT;NewsGoth BT;Niagara Engraved;Niagara Solid;Noteworthy;NSimSun;Nyala;OCR A Extended;Old Century;Old English Text MT;Onyx;Onyx BT;OPTIMA;Oriya Sangam MN;OSAKA;OzHandicraft BT;Palace Script MT;Palatino;Palatino Linotype;Papyrus;Parchment;Party LET;Pegasus;Perpetua;Perpetua Titling MT;PetitaBold;Pickwick;Plantagenet Cherokee;Playbill;PMingLiU;PMingLiU-ExtB;Poor Richard;Poster;PosterBodoni BT;PRINCETOWN LET;Pristina;PTBarnum BT;Pythagoras;Raavi;Rage Italic;Ravie;Ribbon131 Bd BT;Rockwell;Rockwell Condensed;Rockwell Extra Bold;Rod;Roman;Sakkal Majalla;Santa Fe LET;Savoye LET;Sceptre;Script;Script MT Bold;SCRIPTINA;Segoe Print;Segoe Script;Segoe UI;Segoe UI Light;Segoe UI Semibold;Segoe UI Symbol;Serifa;Serifa BT;Serifa Th BT;ShelleyVolante BT;Sherwood;Shonar Bangla;Showcard Gothic;Shruti;Signboard;SILKSCREEN;SimHei;Simplified Arabic;Simplified Arabic Fixed;SimSun;SimSun-ExtB;Sinhala Sangam MN;Sketch Rockwell;Skia;Small Fonts;Snap ITC;Snell Roundhand;Socket;Souvenir Lt BT;Staccato222 BT;Steamer;Stencil;Storybook;Styllo;Subway;Swis721 BlkEx BT;Swiss911 XCm BT;Sylfaen;Synchro LET;System;Tahoma;Tamil Sangam MN;Technical;Teletype;Telugu Sangam MN;Tempus Sans ITC;Terminal;Thonburi;Times;Times New Roman;Times New Roman PS;Traditional Arabic;Trajan;TRAJAN PRO;Trebuchet MS;Tristan;Tubular;Tunga;Tw Cen MT;Tw Cen MT Condensed;Tw Cen MT Condensed Extra Bold;TypoUpright BT;Unicorn;Univers;Univers CE 55 Medium;Univers Condensed;Utsaah;Vagabond;Vani;Verdana;Vijaya;Viner Hand ITC;VisualUI;Vivaldi;Vladimir Script;Vrinda;Westminster;WHITNEY;Wide Latin;Wingdings;Wingdings 2;Wingdings 3;ZapfEllipt BT;ZapfHumnst BT;ZapfHumnst Dm BT;Zapfino;Zurich BlkEx BT;Zurich Ex BT;ZWAdobeF".split(";"); for(var k=[],h=0,l=d.length;h>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]+c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]+c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]+c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]+c[0];b[0]&=65535;return[b[0]<< 16|b[1],b[2]<<16|b[3]]},x64Multiply:function(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]*c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]*c[3];b[1]+=b[2]>>>16;b[2]&=65535;b[2]+=a[3]*c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]*c[3];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[2]*c[2];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[3]*c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]*c[3]+a[1]*c[2]+a[2]*c[1]+a[3]*c[0];b[0]&=65535;return[b[0]<<16|b[1], b[2]<<16|b[3]]},x64Rotl:function(a,c){c%=64;if(32===c)return[a[1],a[0]];if(32>c)return[a[0]<>>32-c,a[1]<>>32-c];c-=32;return[a[1]<>>32-c,a[0]<>>32-c]},x64LeftShift:function(a,c){c%=64;return 0===c?a:32>c?[a[0]<>>32-c,a[1]<>>1]);a=this.x64Multiply(a,[4283543511,3981806797]);a=this.x64Xor(a,[0,a[0]>>>1]);a=this.x64Multiply(a,[3301882366,444984403]); return a=this.x64Xor(a,[0,a[0]>>>1])},x64hash128:function(a,c){a=a||"";c=c||0;var b=a.length%16,f=a.length-b,e=[0,c];c=[0,c];for(var d,g,k=[2277735313,289559509],l=[1291169091,658871167],h=0;h>>0).toString(16)).slice(-8)+("00000000"+(e[1]>>>0).toString(16)).slice(-8)+("00000000"+(c[0]>>>0).toString(16)).slice(-8)+("00000000"+(c[1]>>>0).toString(16)).slice(-8)}, safeProcess:function(a){try{a()}catch(c){"undefined"!=typeof console&&console.log&&console.log(c)}}};return d}(),function(){return function(d,a){function c(){var b=this;b.getName=function(){return"cache"};b.url=v+"/c.html";b.cookie_name="ecc";b.get=function(c,e){var f=a.get(b.cookie_name),r={};a.set(b.cookie_name,null);f&&(r["X-ecc"]=f);d.ajax({url:b.url+"?name\x3d"+c,method:"GET",cors:!0,headers:r},function(c,d){200<=c&&399>=c?(a.set(b.cookie_name,f,{expires:3600}),e(b.getName(),d)):e(b.getName(), void 0)})};b.set=function(c,d){a.set(b.cookie_name,d)}}function b(){var b=this;b.getName=function(){return"etag"};b.cookie_name="ece";b.url=v+"/e.html";b.get=function(c,e){var f=a.get(b.cookie_name),p={};a.set(b.cookie_name,null);f&&(p["X-ece"]=f);d.ajax({url:b.url+"?name\x3d"+c,method:"GET",cors:!0,headers:p},function(c,d){200<=c&&399>=c?(a.set(b.cookie_name,f,{expires:3600}),e(b.getName(),d)):e(b.getName(),void 0)})};b.set=function(c,d){a.set(b.cookie_name,d)}}function f(){var b=this;b.getName= function(){return"cookie"};b.get=function(c,d){d(b.getName(),a.get(c))};b.set=function(b,c){a.set(b,c,{expires:3600,domain:".booking.com",path:"/"})}}function e(){var a=this;a.getName=function(){return"window"};a.get=function(b,c){var d;try{d=JSON.parse(window.name).name}catch(q){}c(a.getName(),d)};a.set=function(a,b){try{var c=JSON.stringify({name:b});window.name=c}catch(q){}}}function k(){var a=this;a.getName=function(){return"userData"};a._prepareElement=function(){var a=document.createElement("div"); a.setAttribute("id","userdata_el");a.setAttribute("style","behavior:url(#default#userData)");document.body.appendChild(a);return a};a.element=a._prepareElement();a.get=function(b,c){var d,e=a.element;try{e.load(b),d=e.getAttribute(b)}catch(z){}c(a.getName(),d)};a.set=function(b,c){var d=a.element;try{d.setAttribute(b,c),d.save(b)}catch(q){}}}function g(){var a=this;a.getName=function(){return"sessionStorage"};a.get=function(b,c){var d;try{d=sessionStorage.getItem(b)}catch(q){}c(a.getName(),d)};a.set= function(a,b){try{sessionStorage.setItem(a,b)}catch(t){}}}function l(){var a=this;a.getName=function(){return"localStorage"};a.get=function(b,c){var d;try{d=localStorage.getItem(b)}catch(q){}c(a.getName(),d)};a.set=function(a,b){try{localStorage.setItem(a,b)}catch(t){}}}function m(){var a=this;a.getName=function(){return"globalStorage"};a.getHost=function(){return location.hostname};a.get=function(b,c){var d;try{d=globalStorage[a.getHost()].getItem(b)}catch(q){}c(a.getName(),d)};a.set=function(b, c){try{globalStorage[a.getHost()].setItem(b,c)}catch(t){}}}function h(){var a=this;a.getName=function(){return"databaseStorage"};a.getDatabase=function(){return window.openDatabase("sqlite_ec","","ec",1048576)};a.get=function(b,c){var d;try{a.getDatabase().transaction(function(e){e.executeSql("SELECT value FROM cache WHERE name\x3d?",[b],function(b,e){1<=e.rows.length&&(d=e.rows.item(0).value);c(a.getName(),d)},function(b,d){c(a.getName(),void 0)})})}catch(q){c(a.getName(),d)}};a.set=function(b,c){try{a.getDatabase().transaction(function(a){a.executeSql("CREATE TABLE IF NOT EXISTS cache(id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, value TEXT NOT NULL, UNIQUE (name))", [],function(a,b){},function(a,b){});a.executeSql("INSERT OR REPLACE INTO cache(name, value) VALUES(?, ?)",[b,c],function(a,b){},function(a,b){})})}catch(t){}}}var u=window.SAA.d||"";if(/booking\.com$/.test(u)){var v="https://"+u+"/ec";k.isSupported=function(){return navigator.userAgent.toLowerCase().match(/msie/i)};m.isSupported=function(){var a;try{a=globalStorage[location.hostname]}catch(p){}return!!a};h.isSupported=function(){return!!window.openDatabase};return function(a){var d=this;d.transports= [];d.ready=function(a){a()};d.get=function(a,b){for(var c={},e=0;ed&&(a=c,d=b[c]);return a};d.init=function(){d.transports.push(new c);d.transports.push(new b);d.transports.push(new f);d.transports.push(new e);d.transports.push(new g);d.transports.push(new l);m.isSupported()&&d.transports.push(new m);h.isSupported()&&d.transports.push(new h);k.isSupported()&&d.transports.push(new k)};d.init()}}}}())})();