=this.Sb.value.length&&(!yj(ne)||8==ne.keyCode||46==ne.keyCode);Olb(this,b);XA(this.xa,1,b);13==ne.keyCode&&this.CU()};W9.prototype.uq=function(){iC(this.L(),"gs");Olb(this,!1);this.Sb.disabled=!0;XA(this.xa,1,!0)}; W9.prototype.Xc=function(){this.setVisible(!1);Plb(this)};W9.prototype.it=function(){Plb(this)};var Plb=function(ne){jC(ne.L(),"gs");ne.Sb.disabled=!1;XA(ne.xa,1,!1)};
var xrb=function(ne){var b=W;ne=ne.Kb;var c=ay("zp"),d;d=""+('
');d=W(d);return b(S(EA({Kb:ne,O:c,fr:!0,yba:xv(""+d)})))};var a$=function(ne){O.call(this,pj(Oj(ne)));this.Da=Ak(ne)};v(a$,O);a$.prototype.ta=function(){a$.Y.ta.call(this);this.Sb&&Arb(this)};a$.prototype.bf=function(){return!1};a$.prototype.$=function(){a$.Y.$.call(this);Dh(this.wa(),this.L(),fE,this.xa)};a$.prototype.getPlace=function(){return this.Sb};var Arb=function(ne){lp(ne.Da,ne.L(),xrb,{Kb:Oq(!0,ne.Sb)})};a$.prototype.xa=function(ne){HF(ne.target,"cL")&&(X9(this),this.dispatchEvent("sd"))}; var X9=function(ne){var b=m(ne.$b,"zp",ne.L());ne.$b.mc(b);ne.Sb=null};
var b$=function(ne,b,c,d){Ic.call(this);this.xa=b;this.Sb=c;this.Oa=d;this.Db=ne.get(NG);this.ja=new zh(this);this.Da=!1};v(b$,Ic);b$.prototype.R=function(){x(this.ja);x(this.Sb);x(this.Db);x(this.xa)};var zrb=/((https?:\/\/|www\.)[-\w%&$\/.=!;*:#@+,{}'"~()?\[\]]+(:?\b))/g;b$.prototype.enable=function(ne){ne?(this.ja.J(this.xa,"key",this.it),this.ja.J(this.xa,"after_paste",this.Ce)):this.ja.removeAll()};b$.prototype.Ce=function(ne){var b;ne&&ne.rea?b=ne.rea:b=this.xa.Fd();Y9(this,b,!1)};
b$.prototype.it=function(ne){32!=ne.charCode&&9!=ne.charCode&&12!=ne.charCode&&13!=ne.charCode||Y9(this,this.xa.Fd(),!1)};
var Yrb=function(ne,b){var c=b.match(zrb);return 0==jb(c||[],function(ne){return!Td(ne)},ne)?c[0]:null},Y9=function(ne,b,c,d){if(!(ne.Da||V9(ne.Oa)||ne.FA)&&(b=d?b:Yrb(ne,b))&&ne.qa!=b){ne.qa=b;ne.Da=!0;ne.Sb.dispatchEvent("ad");d=ne.Db;var e=10==ne.Sb.Sb.qa.T$(),h=new a9;XG(h,1,b);XG(h,3,c);XG(h,2,e);XG(h,13,!0);c=jm(rm(d.Sb,"_/sharebox/linkpreview/",h,b9,{Cv:!0}));fi(c,ne.Xc,ne.Nd,ne)}};b$.prototype.Nd=function(){this.Da=!1;this.Sb.dispatchEvent("dd")}; b$.prototype.Xc=function(ne){this.Da=!1;ne&&gu(ne,1)?(ne=N(ne,Jo,5),0>=ne.length?this.Sb.dispatchEvent("cd"):(this.qa=null,this.Sb.dispatchEvent(new rrb(ne)))):this.Sb.dispatchEvent("dd")};b$.prototype.clear=function(){this.Oa.clear();this.qa=null};
var gqb=function(ne,b,c){ne=ne||{};b="";c='Sl\u00e4pp foton, videoklipp eller l\u00e4nkar h\u00e4r f\u00f6r att dela dem
'+
S(lZ(0,0,c))+'
';var d;ne.ha?(d=ne||{},d='
"):d="";c=c+d+'
';if(ne.lC){d=
ne||{};var e='
'+(d.A5||d.MZ?"":'
'+(d.z5?q(d.z5):d.LBa?bqb():cqb())+"
")+'
"+(d.JW||d.laa?"":"
");if(d.MZ)for(var h=d.MZ,Gh=h.length,n=0;n":p.text?q(p.text):p.userId&&p.name?Dhb({hK:p.name,YH:p.userId,SF:!0,dja:d.laa,bja:d.JW}):
"");else d.A5&&(e+=q(d.A5));e+=(d.JW||d.laa?"
":"
")+"
";d=W(e)}else d="";c=c+d+'
"+(ne.lC?eqb(ne):"")+'
';d=ne||{};e='
';h="";h=d.aP?h+q(d.aP):h+"Dela";e+=DA({content:xv(h),O:ay("qy jt"),
style:1,attributes:by('guidedhelpid="sharebutton"')});d.nn&&(h="",h=d.tr?h+q(d.tr):h+"Avbryt",e+=DA({content:xv(h),O:ay("xD"),style:0,attributes:by(""+(d.lC?"onclick=\"this.setAttribute('_SBX_cancelled', '1');\"":""))}));d=W(e+' | |
');ne=b+(c+d+"
"+(ne.Vz?fqb({N6:ne.Vz.N6,$aa:ne.Vz.zib,Zaa:ne.Vz.yib,IM:ne.Vz.wib,rAa:ne.Vz.xib,TMa:ne.Vz.Aib}):"")+"
");return W(ne)},hqb=function(){return W('')},jqb=
function(){return W("")},eqb=function(ne){ne=ne||{};var b="",c;c=xv(""+W(''));ne=!ne.aK;c=""+(''+(ne?W('
'):"")+'
'+(c?q(c):"")+''+Zlb({placeholder:ay("L\u00e4gg till namn, cirklar eller e-postadresser")})+"
");c=W(c);return W(b+('"))},dqb=function(ne){ne=ne||{};var b=W,c;c=ne||{};var d='';if(!c.aK){if(c.Mh?c.Mh.Bd:1)d+=K9({Rm:ay("qZ"),ia:ay("JI"),po:ay("L\u00e4gg till foton"),zm:ay("Foton")});if(c.Mh?c.Mh.link:1)d+=K9({Rm:ay("pZ"),ia:ay("hL"),po:ay("L\u00e4gg till l\u00e4nk"),zm:ay("L\u00e4nk")});if(c.Mh?c.Mh.video:1)d+=K9({Rm:ay("rZ"),ia:ay("iL"),po:ay("L\u00e4gg till videoklipp"),zm:ay("Video")})}!c.Z4a&&(c.Mh?c.Mh.event:1)&&(d+=K9({Rm:ay("oZ"),ia:ay("gL"),po:ay("L\u00e4gg till event"),
zm:ay("Event")}));!c.Z4a&&(c.Mh?c.Mh.cE:1)&&(d+=K9({Rm:ay("WWwgod"),ia:ay("M9W4jb"),po:ay("L\u00e4gg till enk\u00e4t"),zm:ay("Enk\u00e4t")}));c=W(d+"
");return b(''+c+"
"+aqb(ne)+(ne.JMa?hqb():"")+"
")},cqb=function(){return W("Ber\u00e4tta det senaste...")},bqb=function(){return W("L\u00e4gg till en kommentar...")},kqb=function(){return W('')},
fqb=function(ne){return W(''+(ne.rAa?"
":'')+q(ne.N6)+""+(ne.Zaa&&ne.$aa?' '+q(ne.$aa)+""+(ne.IM?" - ":""):"")+(ne.IM?ne.Pv.xQ?''+q(ne.IM)+"":'":"")+" ")},rqb=function(ne){ne=""+('Det gick inte att l\u00e4sa in webbplatsen. - F\u00f6rs\u00f6k igen
');return W(ne)};
var Flb=function(ne){J(this,ne,0,-1,cOb,null)};v(Flb,a);var cOb=[6];var Elb=function(ne){xN(ne,"photos")};var d$=function(ne,b,c,d,e,h,Gh,n,p,A,B,F,L,aa,Z){lU.call(this,pj(Oj(ne)));this.H=ne;this.aH=Ak(ne);this.Xc=so(Qj(ne).Sb);this.Ifa=this.Xc.getValue("oid");this.UC=Gh||null;this.rPa=n||null;this.Nd=ne.get(HG).sz();Oc(this,this.Nd);this.Da=Oqb(ne,h)||new D9(ne);this.f2=ne.qc(Up);(this.z1=this.Da.Sb.yj?new Opb:null)&&Oc(this,this.z1);this.Sb=p||new A9(ne,b,c,this.Da,void 0,B,null,F,this.z1,aa,Z);Oc(this,this.Sb);this.Pja=A||fa.SBX_editorHelperText||null;this.WPa=b;this.p1=!1;this.ika=new Ylb(ne,"oz");
this.qtb=om(ne);this.Oa=new R9(ne,rmb(e||null),L);this.uq=new U9(ne,this.Oa);this.Fq=new b$(ne,this.Nd,this.uq,this.Oa);this.oa=new h3(ne);this.Gv=new O;this.gla=!1;this.KQ=!0;this.a2=!1;this.lPa={};(b=fa.SBX_sourceForLogging)&&(this.lPa.source=b);this.SC=iu(ne);this.iQ=new brb(this.SC,this.Ifa,this.Oa);this.it=new a$(ne);this.Paa=!1;QC(ne,FG)&&(this.Kfa=pi(ne,FG).addCallback(function(ne){this.g2=ne;return this.g2.z4()},this));ne={};for(var qa in xub)ne[qa]=Bt(this,xub[qa]);this.Dka=ne;this.zZa=[]};
v(d$,lU);d$.prototype.Xka=!1;var Cub=new Od(288,120),xub={T0:"c",hma:"y",NWa:"r",xQ:"lel"},Dub=[8,22];d$.prototype.ta=function(){var ne={nn:this.Da.nn(),tr:this.rPa,jba:!1,hT:!1,lC:!1};if(2!=this.Da.Sb.Zb){var b=this.Xc;ne.Uq=b.getValue("prf");ne.ysa=b.getValue("n");ne.ha=b.getValue("pht")+"?sz="+this.Da.Sb.lh}this.ra(yk(this.aH,gqb,ne))};
d$.prototype.ra=function(ne){d$.Y.ra.call(this,ne);if(l){if(!Tj(9)){var b=wa(Ijb,ne,"xya");this.YC=u(function(){jk(function(){b();jk(b,this)},this)},this)}if(Tj(10)){var c=Sf(ne,"ae"),d=He("G-q-Ya",c);d&&(this.tca=u(function(){lg(d,"visibility","hidden");Hh(function(){lg(d,"visibility","")},30,this)},this))}}if(ne.getAttribute("decorated"))throw Error("Bd");ne.setAttribute("decorated",!0);Dh(this.wa(),ne,fE,this.S4);this.Da.tq()||(tmb(this),j$(this));this.z1&&this.wa().J(this.z1,"xu",this.xp);(ne=
this.Sb.WV())&&this.wa().J(ne,"Ad",this.xp);Cmb(this)};
var tmb=function(ne){var b=ne.wa();ne.Da.lE()&&(Ee&&Tj("1.9.2")||Ef&&(!Ar||!Rd))&&pi(ne.H,JG).addCallback(function(ne){if(!this.isDisposed()){var d=u(function(ne){ne=ne.Of().dataTransfer;if(!ne||!ne.types||kb(ne.types,"text/uri-list")||kb(ne.types,"Files")||kb(ne.types,"public.file-url")||ne.files&&0=Math.abs(c.scrollTop-(c.scrollHeight-c.clientHeight))||0>b.deltaY&&0==c.scrollTop)b.preventDefault(),b.stopPropagation()};
var OQa,NQa=function(ne,b,c){b?(b=Math.max(566,Math.min(1051,b)),c||(ne=Je(ne),c=.85*ne.height),ne=Math.max(350,Math.min(650,c))):(ne=Je(ne),b=.618*ne.width,ne=bne){var b=$Bb[ne];if(b)return b}b=new RL([ne|0],0>ne?-1:0);-128<=ne&&128>ne&&($Bb[ne]=b);return b},JR=function(ne){if(isNaN(ne)||!isFinite(ne))return bCb;if(0>ne)return BP(JR(-ne));for(var b=[],c=1,d=0;ne>=c;d++)b[d]=ne/c|0,c*=4294967296;return new RL(b,0)},cCb=function(ne,b){if(0==ne.length)throw Error("Bb");var c=b||10;if(2>c||36Gh?(Gh=JR(Math.pow(c,Gh)),e=VR(e,Gh).add(JR(n))):(e=VR(e,d),e=e.add(JR(n)))}return e},bCb=aCb(0),dCb=aCb(1),eCb=aCb(16777216),fCb=function(ne){if(-1==ne.qa)return-fCb(BP(ne));for(var b=0,c=1,d=0;dne||36>>0).toString(ne),c=e;if(hT(c))return h+d;for(;6>h.length;)h="0"+h;d=""+h+d}};
var aS=function(ne,b){return 0>b?0:b>>16)+(aS(this,e)>>>16)+(aS(ne,e)>>>16),d=Gh>>>16,h=h&65535,Gh=Gh&65535;c[e]=Gh<<16|h}return new RL(c,c[c.length-1]&-2147483648?-1:0)};
var VR=function(ne,b){if(hT(ne)||hT(b))return bCb;if(-1==ne.qa)return-1==b.qa?VR(BP(ne),BP(b)):BP(VR(BP(ne),b));if(-1==b.qa)return BP(VR(ne,BP(b)));if(0>hCb(ne,eCb)&&0>hCb(b,eCb))return JR(fCb(ne)*fCb(b));for(var c=ne.Sb.length+b.Sb.length,d=[],e=0;e<2*c;e++)d[e]=0;for(e=0;e>>16,n=aS(ne,e)&65535,p=aS(b,h)>>>16,A=aS(b,h)&65535;d[2*e+2*h]+=n*A;iCb(d,2*e+2*h);d[2*e+2*h+1]+=Gh*A;iCb(d,2*e+2*h+1);d[2*e+2*h+1]+=n*p;iCb(d,2*e+2*h+1);d[2*e+
2*h+2]+=Gh*p;iCb(d,2*e+2*h+2)}for(e=0;e>>16,ne[b]&=65535},gCb=function(ne,b){if(hT(b))throw Error("kc");if(hT(ne))return bCb;if(-1==ne.qa)return-1==b.qa?gCb(BP(ne),BP(b)):BP(gCb(BP(ne),b));if(-1==b.qa)return BP(gCb(ne,BP(b)));if(30=hCb(d,ne);)c=wFb(c),d=wFb(d);for(var e=r_(c,1),h=r_(d,1),
Gh,d=r_(d,2),c=r_(c,2);!hT(d);)Gh=h.add(d),0>=hCb(Gh,ne)&&(e=e.add(c),h=Gh),d=r_(d,1),c=r_(c,1);return e}c=bCb;for(d=ne;0<=hCb(d,b);){e=Math.max(1,Math.floor(fCb(d)/fCb(b)));h=Math.ceil(Math.log(e)/Math.LN2);h=48>=h?1:Math.pow(2,h-48);Gh=JR(e);for(var n=VR(Gh,b);-1==n.qa||0>>31;return new RL(c,ne.qa)},r_=function(ne, b){for(var c=b>>5,d=b%32,e=ne.Sb.length-c,h=[],Gh=0;Gh>>d|aS(ne,Gh+c+1)<<32-d:aS(ne,Gh+c);return new RL(h,ne.qa)};
var oob=function(ne){Eh.call(this);this.H=ne;this.Sb=pj(Oj(ne));this.Fq=Ak(ne);this.Xc=so(Qj(ne).Sb);this.xa=[];this.it="";this.qa=null;this.uq=!1;this.Da=this.Oa=null;this.Db=!1;this.Ce=this.Nd=null};v(oob,Eh);oob.prototype.kf=function(){return this.H};
oob.prototype.open=function(ne,b,c,d,e,h,Gh){this.dispatchEvent(new W$(this.H,"Ia"));d||this.Uz();Nk(ne.qa,"hostId",c);(c=(new Jk(window.location.search.substring(1))).get("claimedOrigin"))&&Tsb(ne,c);c={style:"onepick",disposeOnHide:ne.Nd,height:ne.Ua(),width:ne.Va()};b=u(this.rqa,this,b);d=null;h&&(d=this.Sb.gb().body);(Da(Gh)?Gh:txa(Yi(this.Sb).location.href))?ne=sub(this,ne,d,c,b):(h=Yi(this.Sb),h=h.iframes||h.parent.iframes,d&&(c.container=d),ne=h.open(hob(ne).toString(),c,{},{message:b},b));
if(ne)return new J$(ne);throw Error("Vd");};var sub=function(ne,b,c,d,e){ne=Yi(ne.Sb);var h=(ne.gapi||ne.parent.gapi||{}).iframes;d.url=hob(b).toString();d.messageHandlers={message:e};d.messageHandlersFilter=h.CROSS_ORIGIN_IFRAMES_FILTER;c?d.where=c:d.relayOpen=-1;b=h.getContext();var Gh=new oub;b.open(d,function(ne){ne.registerWasClosed(e,h.CROSS_ORIGIN_IFRAMES_FILTER);pub(Gh,ne)});return Gh};r=oob.prototype;
r.rqa=function(ne,b){var c=b.action;"picked"!=c&&"cancel"!=c||this.dispatchEvent(new W$(this.H,"Ja"));ne(b)};r.Uz=function(){this.Oa||(this.Oa=new K$(this.Sb),this.Oa.initialize())};r.vLa=function(ne){0>ne.indexOf("//")&&(ne="//"+ne);this.it=ne;return this};r.iT=function(ne){this.xa=ne;return this};r.y$=function(){};r.sT=function(ne){this.aH=ne;return this};r.$q=function(){return this.xa&&kb(this.xa,"evft")};r.BNa=function(ne){this.qa=ne;return this};r.kT=function(ne){this.Da=ne;return this};
r.nT=function(ne){this.uq=ne;return this};
r.hta=function(){return y$(L$(Vsb(Zsb(M$(X$(this).Da(I$(this,Btb)).xa(I$(this,Itb)),"default"),1200,300).setSize(747),"f"),"cropphoto"),"odv").Sb(S$((new R$).Gb(I$(this,dub)),"seasonal")).Sb(S$((new R$).Gb(I$(this,Ptb)),"birthday")).Sb(S$((new R$).Gb(I$(this,Qtb)),"dinner")).Sb(S$((new R$).Gb(I$(this,Rtb)),"party")).Sb(S$((new R$).Gb(I$(this,Ttb)),"children")).Sb(S$((new R$).Gb(I$(this,Ytb)),"wedding")).Sb(S$((new R$).Gb(I$(this,Ztb)),"nightlife")).Sb(S$((new R$).Gb(I$(this,$tb)),"sport")).Sb(S$((new R$).Gb(I$(this,
aub)),"travel")).Sb(S$((new R$).Gb(I$(this,bub)),"other")).Sb((new HM).qa(["profile_photos"])).Sb((new jQ("photo")).Gb(I$(this,eub)).qf("albumless","true").qf("photos_only","true"))};r.xH=function(ne){var b={mode:"ctpam"};b.ids=ne.join(",");return L$(y$(X$(this).Sb(Nsb()),"navHidden").xa(I$(this,vtb)),"ctpa",b)};
r.ln=function(ne,b){var c=bob(L$(M$(y$(y$(X$(this),"horizNav"),"shadeDialog").xa(I$(this,atb)),"default").Oa(),"polls",ne&&{albumId:ne})),d=(new jQ("photo")).Gb(I$(this,eub));ne?d.qf("album_id",ne):d.qf("album_mode","temporary");c.Sb(d);var e=Jvb((new HM).Gb(I$(this,xtb)),"flat");c.Sb(e);var h=hDb((new HM).Gb(I$(this,jtb)));c.Sb(h);var Gh=Nk(new Bk("http://support.google.com/plus?p=polls#imagesearch"),"hl","sv".replace("-","_"));this.qa&&Nk(Gh,"authuser",this.qa);Gh=jDb(iDb((new F$).Gb(I$(this,kDb))),
Gh.toString());c.Sb(Gh);(d=ib([d,e,h,Gh],function(ne){return ne.IDa()==b}))&&c.Qk(d);return c};r.lva=function(ne,b,c){var d;d=azb((new nob).yg(b).Hoa(ne));d=y$(X$(this).xa(I$(this,A$)).Sb(d),"navHidden").Oa();ne=L$(bob(Vsb(d,"f")),"polls",{photoId:b,albumId:ne});c&&Zsb(ne,c.width,c.height);return ne};
r.Ita=function(ne,b,c,d){ne=azb((new nob).yg(ne).Hoa(b));c&&(ne.Sb.coords=[c.top,c.right,c.bottom,c.left].join());d&&(ne.Sb.userId=d);return y$(y$(M$(X$(this).Da(I$(this,Ctb)).xa(I$(this,Gtb)),"default").Sb(ne),"navHidden"),"profilePhoto")};
r.hoa=function(ne){var b=y$(y$(Zsb(M$(X$(this).Da("").xa(I$(this,Gtb)),"default"),250,250),"horizNav"),"shadeDialog");if(ne){var c={};c.sqid=ne;L$(Vsb(Zsb(b.xa(I$(this,YBb)),960,540),"gpscb"),"sqprofile",c)}else y$(b,"profilePhoto");b.Sb((new jQ("profile")).Gb(I$(this,eub)));c=(new HM).Gb(I$(this,jtb));if(this.Db&&null!=this.Ce&&null!=this.Nd){var d=Jvb(c,"localalbum");d.Sb.localalbum=this.Nd;d.Sb.localuser=this.Ce}b.Sb(c);ne||(ne=Jvb(new HM,"ofuser"),this.Db&&ne.Gb(I$(this,ZBb)),b.Sb(ne));jCb()&&
b.Sb(new kQ("profile","photos"));return b};var jCb=function(){return 0>dc.indexOf("CrOS")&&0<=Va(OP,"10.1")};
oob.prototype.Wm=function(ne,b){return L$(y$(y$(y$(Wsb(nub(this,ne,b).Sb(Dsb(Asb((new Q$).Gb(I$(this,eub)),b)).qf("album_mode","temporary")).Sb(Jvb((new HM).Gb(I$(this,xtb)),"flat")).Sb(Gsb(Fsb(Esb((new HM).Gb(I$(this,jtb))).qa(["camera_sync","profile_photos","profiles_scrapbook"])),I$(this,btb))).Sb(V$(U$().Gb(I$(this,utb)))).Da(""),this.Da).xa(I$(this,atb)),"multiselectEnabled"),"horizNav"),"shadeDialog"),"album")};
var nub=function(ne,b,c){var d="L\u00e4gg till foton i "+c,e={};e.evid=b;e.albumName=c;c=X$(ne);Nk(c.qa,"eventId",b);return L$(L$(L$(y$(c.Da(d).xa(I$(ne,A$)),"multiselectEnabled"),"ipfd"),"atec",e),"bulkTag")};
oob.prototype.Qk=function(ne,b,c,d){d="Ladda upp offentliga foton av "+d;var e=new WBb,h=new VBb;sl(e,5,h);h=M(e,VBb,5);XG(h,1,b);XG(h,2,c);b=cCb(ne.split(":")[1],16).toString(10);XG(e,13,b);b=(new jQ("dragonflyphotos")).qf("photo_metadata",e.We());b.qf("upload_source","LOCAL_PLUS_PAGE");ne={featureId:ne,shareTarget:"LOCAL",photoSource:"LOCAL_PLUS_PAGE"};b.qf("streamid","updates");pob(this)&&(c=this.Xc.getValue("oid"),b.qf("owner_name",Fa(c)));d=y$(L$(M$(X$(this),"default").Sb(b).Sb(new HM),"sptm",
ne).Da(d),"multiselectEnabled").xa(I$(this,ytb));Nk(d.qa,"apt","sp");this.Xc&&this.Xc.getValue("vie")||d.Sb(Jvb((new HM).Gb(I$(this,ktb)),"camerasync"));return d};
var X$=function(ne){var b="//"+window.location.host+"/resources/rpc_relay.html",b=fob(gob(new eob(ne.it),b),"iframes"),c=new Bk(ne.Sb.gb().URL);(c=Pk(c,"origin")||Pk(c,"parent"))&&Tsb(b,c);Nk(b.qa,"actions","loaded");Nk(b.qa,"e",ne.xa.join(","));c="sv".replace("-","_");Nk(b.qa,"hl",c);c=ne.aH;Nk(b.qa,"vg",c?c.charAt(0):void 0);y$(y$(M$(b,"orig"),"showroomNav"),"driveSortHidden");null!==ne.qa&&Nk(b.qa,"authuser",ne.qa);y$(b,"shapeSuggestions");y$(b,"faceRecoPromo");ne.uq&&y$(b,"pcpfe");pob(ne)&&(ne=
ne.Xc.getValue("oid"),Nk(b.qa,"groupId",Fa(ne)));return b};r=oob.prototype;r.Gta=function(ne,b,c,d){b=Asb(new Q$,b);b.Sb.ifp=c;c=b.setSize(void 0);c.Sb.eata=!0;c=Dsb(c);c.Sb.mtp=d;ne?c.Ne(ne):c.qf("album_mode","temporary");d=Wsb(y$(y$(y$(bob(X$(this).Sb(c).xa(I$(this,atb))),"multiselectEnabled"),"navHidden"),"shadeDialog"),this.Da).Oa();ne?N$(d,ne).xa(I$(this,A$)):(ne=L$(d,"bulkTag"),Nk(ne.qa,"fdtm",5E3));return d};
r.Lsa=function(ne,b,c,d,e){var h={};h.includeAllDocs=!!d;h.eata=!!d;h.mtp=e;h.finalizeAlbum=!d;h.albumName=b;b=y$(y$(y$(Wsb(bob(X$(this)),this.Da).Oa().xa(I$(this,atb)),"multiselectEnabled"),"horizNav"),"shadeDialog");Nk(b.qa,"uploadButton",(new iob("photos")).toString());this.Xc&&this.Xc.getValue("vie")||!1===c||b.Sb(Jvb((new HM).Gb(I$(this,xtb)),"flat"));b.Sb((new HM).Gb(I$(this,jtb))).Sb(V$(U$().Gb(I$(this,utb))));c=new Q$;c.Sb.che=!0;c=c.Gb(I$(this,fub));c.Sb.upload=!0;c=c.Ne(ne);c.Sb.eata=!!d;
c=Dsb(c);c.Sb.mtp=e;d?b.Sb(c):Dd(b.Db.qa,pa(c)?Qnb(c):c,0);L$(L$(b,"ipfd"),"photosharing");d&&L$(L$(b,"photocuration",h),"bulkTag");ne&&N$(b,ne);return b};r.Qta=function(){var ne=y$(bob(X$(this).xa(I$(this,z$)).Sb(Uvb((new D$).Gb(I$(this,jub)))).Sb(Kvb(Svb((new E$).Gb(I$(this,ttb)))))),"horizNav");pob(this)||ne.Sb((new UE("youtube")).Gb(I$(this,lub)));jCb()&&ne.Sb((new kQ("video","photos")).qf("streamid","updates").Gb(I$(this,ztb)));ne.Sb((new jQ("videos")).Gb(I$(this,gub)));return ne};
r.t7=function(ne){return y$(X$(this).Da(I$(this,htb)),"navHidden").Sb(Psb(ne))};r.s7=function(ne,b,c){var d=new mob;d.Sb.peopleFilter=ne?ne.e7():void 0;d.Sb.hfpl=!1;d.Sb.noEmailInput=!!b;d.Sb.selectNone=!!c;return y$(X$(this).Da(I$(this,ltb)).xa(I$(this,A$)),"multiselectEnabled").Sb(d)};r.ANa=function(ne,b){if(ne&&"picked"==ne.action){var c=ne.docs;if(0d)throw window.clearInterval(e),Error("$f");rob(b)&&(window.clearInterval(e),sob(ne),c.Nva())},100)}});
E("onepickiframe");H();
}catch(e){_DumpException(e)}
try{
G("sbw_s");var YRb=function(ne,b,c){ne=W;b=b={Rca:ay("LQc"),NOa:!1,nn:!0};c=W(gqb(az(b,{jba:!1,hT:!1,lC:!1}),0,c));return ne(''+c+"
")};var Aob=function(){Ic.call(this)};v(Aob,xX);Aob.prototype.Sb=function(ne){ne=pi(ne,Ur);ne.addCallback(function(ne){Oc(this,ne.Sb())},this);ei(ne,rj)};Mi(D.ng(),Aob);var tob=function(ne,b,c){ne=ne||{};b="";c=I(new X("{VIEWER_GENDER,select, male{Ditt inl\u00e4gg har delats.}female{Ditt inl\u00e4gg har delats.}other{Ditt inl\u00e4gg har delats.}}"),{VIEWER_GENDER:c.$c});b+=''+c;ne.Ah&&(b+='
Visa');return W(b+"
")};
var Z$=function(ne){O.call(this,pj(Oj(ne)));this.H=ne;this.Da=Ak(ne);this.Sb=null};v(Z$,O);Z$.prototype.R=function(){x(this.Sb);Z$.Y.R.call(this)};Z$.prototype.Qi=function(){x(this.Sb);nk(this.L(),!1)};var uob=function(ne,b){lp(ne.Da,ne.L(),tob,{Ah:b});ne.Sb=new jI(ne.L(),4E3,function(ne){return ne*ne});ne.wa().J(ne.Sb,"end",ne.xa);ne.Sb.play()};Z$.prototype.xa=function(){this.Sb.za();this.dispatchEvent("hv")};
var $$=function(ne){EE.call(this,ne);this.Sb={}};v($$,EE);r=$$.prototype;r.Jc=null;r.DH=null;r.Et=function(){return QG};r.ta=function(){this.Ba=yk(this.kf().get(Tm),YRb);this.DH=new Z$(this.kf());this.DH.render(this.L())};r.$=function(){$$.Y.$.call(this);yob(this,this.Ce);this.wa().J(this.DH,"hv",this.xa);var ne=dR(this,"xD");ne&&Dh(this.wa(),ne,fE,this.Oa);vob(this)};r.Cc=function(){this.Jc&&(nk(this.Jc.L(),!0),this.Jc.Dh());var ne=dR(this,"KSc");ne&&nk(ne,!0);this.dispatchEvent(new KE)};
var vob=function(ne){var b=Eq(ne.kf().get($va)),c=new bi;hi(c,b);fi(c,function(ne){this.Jc=ne.by(10).Jl();this.Jc.YZ(!0,!0);ne=m(this.$b,"LQc",this.L());this.Jc.la(ne);Oc(this,this.Jc);ne=this.wa();var b=this.Jc;ne.J(b,"qo",this.Da);ne.J(b,"no",this.xa);ne.J(b,"to",this.Db);wob(this);xob(this);(ne=this.kf().get(VG).xe())&&ne==this&&(this.Jc.Dh(),this.dispatchEvent(new KE))},rj,ne);c.Nva(null)};$$.prototype.Oa=function(ne){this.Jc?this.Jc.Py(ne):this.xa()};
var wob=function(ne){var b=ne.kf().get(As),c=jc(ne.Sb),d=ne.wa();w(c,function(ne){d.J(b,ne,this.Sb[ne])},ne);d.J(b,"ma",ne.Xc)},xob=function(ne){w(jc(ne.Sb),function(ne){this.Sb[ne]()},ne)};$$.prototype.Da=function(ne){nk(this.Jc.L(),!1);var b=dR(this,"KSc");b&&nk(b,!1);this.L().style.padding=0;this.dispatchEvent(new KE);ne=wmb(new YM(ne.update)).uc();var c;ne.length&&(c=ne[0].Ph());uob(this.DH,c)};$$.prototype.xa=function(){var ne=this.kf();CE(ne.get(VG));Nja(ne.get(As));this.L().style.padding=""};
$$.prototype.Db=function(){var ne=this.kf().get(As);(ne=xE(ne,"handleLegacyUiRequested"))&&ne()};var yob=function(ne,b){var c=ne.kf().get(As);ne.Sb.pa=u(function(){var ne=c.Oa.pa||null;ne&&ne.length&&b.apply(this,ne)},ne)};
$$.prototype.Ce=function(ne,b){Zk(ne)==Zk({})&&(b=!0);var c=this.Jc,d=b;c.Oa&&c.Oa.clear();if(void 0===d||null===d)d=!1;G9(c,d);!d&&ne&&ne.items&&ne.items[0]&&ne.items[0].properties&&(d=ne.items[0].properties,!d.url||!d.url[0]||d.name||d.description||d.image?(c=c.Oa,c.Nd=ne,c.Sb=null,c.xa=[],c.Da=null,E1(c)):c.addLink(d.url[0]))};$$.prototype.Xc=function(){this.DH.Qi()};
var zob=function(){};v(zob,RE);zob.prototype.uz=function(ne){return new $$(ne)};Zi({id:Yva,Ea:zob,multiple:!0});
E("sbw_s");H();
}catch(e){_DumpException(e)}
// Google Inc.