/*    HTTP Host:  static.ak.fbcdn.net                                          */
/*    Generated:  February 10th 2010 5:06:16 AM PST                            */
/*      Machine:  10.16.139.105                                                */
/*       Source:  Backing Store                                                */
/*     Location:  js/34uwi2kysgo4c04w.pkg.js h:a75p9b6j                        */
/*       Locale:  nu_ll                                                        */
/*         Path:  js/34uwi2kysgo4c04w.pkg.js                                   */

if (window.CavalryLogger) { CavalryLogger.start_js(["js\/34uwi2kysgo4c04w.pkg.js"]); }

function typeahead_mentions(_L0,_L1,_L2){this.element=$(_L0);_L2=copy_properties({delimiter:'@',anchor_block:true,max_display:4,max_results:4,auto_select:false},_L2||{});this.active=true;this.selected=null;_L1=new search_friend_source(_L1,true);_L1.allowTypes([search_friend_source.TYPES.USER,search_friend_source.TYPES.PAGE,search_friend_source.TYPES.APP,search_friend_source.TYPES.GROUP,search_friend_source.TYPES.EVENT]);this.parent.construct(this,_L0,_L1,_L2);CSS.addClass(this.dropdown,'typeahead_search');CSS.addClass(this.dropdown,'typeahead_mentions');this.initializeCleanup();this.hide();}typeahead_mentions.extend('typeaheadpro');copy_properties(typeahead_mentions.prototype,{_onchange:bagofholding,set_class:bagofholding,set_value:bagofholding,update_class:bagofholding,recalc_scroll:bagofholding,clear_placeholder:bagofholding,initializeCleanup:function(){Event.listen(this.element,'drop',Event.kill);Event.listen(this.element,'paste',function(){this.element.setOpacity(0);this.element.setStyle('height',this.element.offsetHeight+'px');this.cleanup.bind(this).defer(100);}.bind(this));},setup_anchor:function(){return this.element.parentNode.parentNode;},get_value:function(){var _L0=Text.getRange(),_L1=Text.getFocusNode(_L0,this.element),_L2=Text.getFocusValue(_L0,_L1),_L3=Text.getFocusOffset(_L0,_L1);if(!_L0||!_L2||_L0.collapsed===false)return '';var _L4=_L2.lastIndexOf(this.delimiter,_L3);if(_L4<0||(_L4>0&&(/\w/).test(_L2.charAt(_L4-1))))return '';return _L2.slice(_L4,_L3).trim();},check_value:function(){if(DOM.getText(this.element).lastIndexOf(this.delimiter)==-1){if(this.value==this.delimiter)this.hide();return;}if(!this.ready||!this.active){if(!this.loading){this.loading=true;this.source.initialize(function(){this.ready=true;this.results_text=this.delimiter;this.check_value();}.bind(this));this.set_message(_tx("\u03a6\u03bf\u03c1\u03c4\u03ce\u03bd\u03b5\u03b9..."));this.show();}return;}var _L0=this.get_value();if(_L0!=this.value){this.dirty_results();this.value=_L0;}if(_L0==this.delimiter){this.set_message(_tx("Type the name of someone or something..."));this.show();}},_onblur:function(_L0){this.fixBreak();this.hide();},_onfocus:function(_L0){this.fixBreak();this.focused=true;this.results_text='';},_onkeydown:function(_L0){_L0=$E(_L0);var _L1=_L0?Event.getKeyCode(_L0):-1;if(ua.firefox()&&_L0.getModifiers().meta&&(_L1==KEYS.LEFT||_L1==KEYS.RIGHT))_L0.kill();if(_L1==KEYS.RETURN)if(this.visible){_L0.kill();}else if(document.selection){Text.insertBreak();_L0.kill();}if(this.visible)return this.parent._onkeydown(_L0);},_onkeypress:function(_L0){if(this.visible)return this.parent._onkeypress(_L0);var _L1=_L0?Event.getKeyCode(_L0):-1;if(ua.firefox()&&_L1==KEYS.BACKSPACE){var _L2=Text.getFocusNode(),_L3=Text.getFocusOffset();if(_L3==0){_L2=_L2.previousSibling;}else if(_L2==this.element&&_L3>0)_L2=this.element.childNodes[_L3-1];if(this.isMention(_L2))DOM.remove(_L2);}},_onkeyup:function(_L0){this.check_value();if(this.visible)return this.parent._onkeyup(_L0);},_onselect:function(_L0){if(!_L0)return;var _L1=this.value,_L2=this.element.childNodes;for(var i=0,l=_L2.length;i<l;i++){var _L5=_L2[i];if(this.isText(_L5)){var _L6=_L5.data,_L7=_L6.lastIndexOf(_L1,Text.getFocusOffset());if(_L7>-1){var _L8=this.createMention(_L0);var _L9=document.createTextNode(_L6.substring(0,_L7).replace(/[\s\xa0]*$/g,'')+"\xa0");_L5.data="\xa0"+_L6.substring(_L7+_L1.length).replace(/^[\s\xa0]*/g,'');this.element.insertBefore(_L8,_L5);this.element.insertBefore(_L9,_L8);this.cleanup();Text.setFocusAfter(_L8);break;}}}this.hide();},createSpacer:function(){return document.createTextNode("\xa0");},createMention:function(obj){var _L1={id:obj.i,text:obj.t};var _L2=$N('a',{href:'#',tabIndex:-1,className:'mention',unselectable:'on',contentEditable:false,oncontextmenu:Event.kill,onclick:Event.kill,onfocus:Event.kill},$N('span',{contentEditable:!!document.selection},_L1.text));Event.listen(_L2,'mousedown',this.selectMention.bind(this,_L2));DataStore.set(_L2,'mention',_L1);return _L2;},selectMention:function(_L0,_L1){if(_L1)_L1.kill();if(!_L0)return;if(!_L0.previousSibling)DOM.insertBefore(this.createSpacer(),_L0);setTimeout(function(){this.element.focus();Text.selectNode(_L0);}.bind(this),0);},cleanup:function(){var _L0=this.element.firstChild;while(_L0){if(!this.isText(_L0)&&!this.isMention(_L0)&&!this.isBreak(_L0)){var _L1=document.createTextNode((DOM.getText(_L0)||''));this.element.replaceChild(_L1,_L0);_L0=_L1;}var _L2=_L0.previousSibling;if(_L2&&this.isText(_L2)&&this.isText(_L0)){_L0.data=_L2.data+_L0.data;this.element.removeChild(_L2);}else _L0=_L0.nextSibling;}this.element.setStyle('height','').setOpacity(1);Text.focusElement(this.element);},getMessage:function(){var _L0=$A(this.element.childNodes).map(function(_L1){if(this.isBreak(_L1))return "\n";var _L2=this.isMention(_L1);if(_L2){var _L3=_L2.text.replace(/[\\\]:]/g,function(s){return '\\'+s;});return '@['+_L2.id+':'+_L3+']';}return DOM.getText(_L1);},this);return _L0.join('').replace(/\xa0/g,' ').trim();},setMessage:function(_L0){DOM.setText(this.element,_L0);this.fixBreak();},focusInput:function(){this.element.focus();},setActive:function(_L0){this.active=_L0;if(!_L0)DOM.setText(this.element,DOM.getText(this.element));},enable:function(){this.element.contentEditable=true;return this;},disable:function(){this.element.contentEditable=false;return this;},isBreak:function(_L0){return DOM.isNode(_L0,'br');},isText:function(_L0){return DOM.isNode(_L0,['#text','#whitespace']);},isMention:function(_L0){return DOM.isNode(_L0,'a')&&DataStore.get(_L0,'mention');},fixBreak:document.selection?bagofholding:function(){var _L0=this.element.lastChild;if(!_L0||!this.isBreak(_L0))this.element.appendChild($N('br'));}});var Text=(function(){var _L0;if(window.getSelection){_L0={getRange:function(_L1){_L1=_L1||this.getSelection();return _L1.rangeCount>0?_L1.getRangeAt(0):null;},getSelection:function(){return window.getSelection();},getFocusNode:function(_L1){_L1=_L1||this.getRange();return _L1&&_L1.endContainer;},getFocusValue:function(_L1,_L2){_L1=_L1||this.getRange();_L2=_L2||this.getFocusNode(_L1);return _L2.data;},getFocusOffset:function(_L1,_L2){_L1=_L1||this.getRange();return _L1.endOffset||0;},setFocus:function(_L1,_L2){if(!_L1)return;this.getSelection().collapse(_L1,_L2);},setFocusAfter:function(_L1){var _L2=_L1.parentNode;this.setFocus(_L2,$A(_L2.childNodes).indexOf(_L1)+1);},focusElement:function(_L1){_L1.focus();this.setFocus(_L1,_L1.childNodes.length);},insertBreak:bagofholding,selectNode:function(_L1){if(!_L1)return;var sel=this.getSelection(),_L3=this.getRange(sel);sel.collapse(_L1,0);_L3.selectNode(_L1);sel.addRange(_L3);}};}else if(document.selection)_L0={getRange:function(){return this.getSelection().createRange();},getSelection:function(){return document.selection;},getFocusNode:function(_L1,_L2){if(_L2)return _L2;_L1=_L1||this.getRange();return _L1.parentElement();},getFocusValue:function(_L1,_L2){_L1=_L1||this.getRange();_L2=_L2||this.getFocusNode(_L1);return _L2.innerText;},getFocusOffset:function(_L1,_L2){_L1=_L1||this.getRange();_L2=_L2||this.getFocusNode(_L1);var _L3=_L2,_L4=0;while(_L3==_L2){_L1.moveStart('character',-1);_L3=_L1.parentElement();_L4++;}return _L1.text.length;},setFocus:function(_L1,_L2){var _L3=this.getRange(),_L4=_L3.parentElement(),_L5=0,_L6=[],_L7=_L1.previousSibling;while(_L7){var _L8=_L7.previousSibling;_L6.push(_L4.removeChild(_L7));_L7=_L8;}_L3.moveToElementText(_L4);_L3.collapse();_L3.moveEnd('character',(_L2+_L5));_L3.collapse(false);_L3.select();for(var i=0;i<_L6.length;i++)_L4.insertBefore(_L6[i],_L4.firstChild);},setFocusAfter:function(_L1){var _L2=this.getRange();_L2.moveToElementText(_L1);_L2.moveEnd('character',1);_L2.collapse(false);_L2.select();},focusElement:function(_L1){_L1.focus();this.setFocusAfter(_L1);},insertBreak:function(){var _L1=this.getRange();_L1.pasteHTML('<br/>');_L1.moveEnd('character',1);_L1.collapse();_L1.select();},selectNode:function(_L1){var _L2=this.getRange();_L2.moveToElementText(_L1);_L2.moveStart('character',-1);_L2.moveEnd('character',1);_L2.select();}};return _L0;})();
function UIComposerAttachmentArea(_L0,_L1){this.composer=_L0;this.root=_L1;this.area=_L1.find('div.UIComposer_AttachmentArea_Cache');this.cache={};this.visible=null;this.attachment={};this.dirtyOnReset=false;var _L2=_L1.find('a.UIComposer_AttachmentArea_CloseButton');Event.listen(_L2,'click',function(_L3){Event.kill(_L3);_L0.reset(true);});}UIComposerAttachmentArea.prototype={show:function(_L0,_L1){this.composer.addState(UIComposer.STATE.ATTACHMENT_AREA);this.attachment=_L0;this.dirtyOnReset=false;if(ua.ie()<7)this.area.setStyle('width',this.area.offsetWidth);var _L2=_L0.app_id;if(this.cache[_L2]&&!_L1){this.showAttachment(_L2);}else this.loadAttachment(_L2,_L1);},loadAttachment:function(_L0,_L1){var _L2={app_id:_L0,composer_id:this.composer.id,stream_id:this.composer.targetID,is_inbox:this.composer.isInbox};if(_L1)copy_properties(_L2,{data:_L1});new AsyncRequest().setURI(UIComposerAttachmentArea.ENDPOINT).setData(_L2).setHandler(UIComposerAttachmentArea.handleResponse.bind(this,_L1)).setErrorHandler(this.composer.handleError.bind(this.composer)).setTransportErrorHandler(this.composer.handleError.bind(this.composer)).send();},showAttachment:function(_L0){if(!this.composer.hasState(UIComposer.STATE.ATTACHMENT_AREA))return;this.visible=this.cache[_L0];this.visible.addClass(UIComposerAttachmentArea.CLASS.VISIBLE);this.composer.addState(UIComposer.STATE.ATTACHMENT_LOADED);this.fireAttachmentEvent('load');},createAttachment:function(_L0){var _L1=$N('div',{className:UIComposerAttachmentArea.CLASS.CACHED});this.area.appendChild(_L1).setContent(HTML(_L0.html));return _L1;},setAttachment:function(_L0){if(this.attachment){this.attachment.controller=_L0;_L0.initialize(this.composer,this.cache[this.attachment.app_id],this.attachment.app_id);}return this;},getAttachment:function(){if(this.attachment&&this.attachment.controller)return this.attachment.controller;return null;},getData:function(){if(this.attachment&&this.attachment.controller)return this.attachment.controller.getData();return null;},getEndpoint:function(_L0){if(this.attachment&&this.attachment.controller)return this.attachment.controller.getEndpoint(_L0);return null;},post:function(){if(!this.visible)return;var _L0=this.getData();var _L1=this.getEndpoint(true);if(!_L0||!_L1)return;_L0.composer_id=this.composer.id;this.composer.removeState(UIComposer.STATE.ATTACHMENT_LOADED);new AsyncRequest().setURI(_L1).setData(_L0).setHandler(UIComposerAttachmentArea.handleResponse.bind(this,null)).setErrorHandler(this.composer.handleError.bind(this.composer)).send();},reset:function(){if(!this.visible)return;this.visible.removeClass(UIComposerAttachmentArea.CLASS.VISIBLE);this.visible=null;if(this.dirtyOnReset){var _L0=this.attachment.app_id;this.cache[_L0].remove();this.cache[_L0]=null;}this.fireAttachmentEvent('reset');},fireAttachmentEvent:function(_L0){if(this.attachment&&this.attachment.controller)this.attachment.controller[_L0]();}};copy_properties(UIComposerAttachmentArea,{handleResponse:function(_L0,_L1){var _L2=this.attachment.app_id,_L3=this.cache[_L2],_L4=_L1.getPayload(),_L5=_L1.getError(),_L6=_L1.getErrorIsWarning();if(_L5&&_L6)this.composer.showError(_L1.getErrorSummary(),_L1.getErrorDescription());if(!_L3){this.cache[_L2]=this.createAttachment(_L4);this.dirtyOnReset=!!_L0;}else{_L3.setContent(HTML(_L4.html));this.dirtyOnReset=true;}this.showAttachment(_L2);}});copy_properties(UIComposerAttachmentArea,{CLASS:{CACHED:'UIComposer_Attachment_Cached',VISIBLE:'UIComposer_Attachment_Visible'},ENDPOINT:'/ajax/composer/attachment.php',PARAM_STRUCTURE:'app_data[attachment][params]'});
function UIComposer(_L0,_L1,_L2,_L3){if(!_L0){throw new Error('UIComposer instantiated with no root.');return false;}this.root=_L0;this.id=_L0.id;this.input=_L1;this.user=_L2;var d={};try{d=JSON.decode(window.name);}catch(e){}if(d.pub){_L3.autoload=d.pub;_L3.autoloadData=d.pubdata;window.name='';}this.options=_L3;this.resetState=this.root.className;this.suppressMentions=(ua.opera()||ua.firefox()<3||ua.safariPreWebkit()||ua.iphone());this.initializeAttachments(_L3.attachments);this.extraSubmitData={};UIComposer.storeInstance(_L0.id,this);onunloadRegister(function(){delete UIComposer.instances[_L0.id];},true);this.isOnHomepage=_L3.isOnHomepage;if(_L3.isOnHomepage&&this.textAreaFocused()){this.ensureInitialized(true);}else if(_L3.autoload)this.ensureInitialized();}UIComposer.mixin('Arbiter',{ensureInitialized:function(_L0){if(this.initialized)return;this.initialized=true;this.initialize(_L0);},initialize:function(_L0){var _L1={contentArea:null,endpoint:'/ajax/updatestatus.php',autoload:null,autoloadData:null,targetID:0,attachments:[],contextData:{},placeholder:null,privacyWidget:null,defaultPrivacy:null,defaultPrivacyFbid:0,privacyOptions:{},maxInputLength:0,mentionsData:null,overrideAttachmentEndpoint:false,sourceAppID:null,initialTextareaHeight:36,targetedPrivacyWidget:null};copy_properties(this,copy_properties(_L1,this.options));this.shouldHide=true;this.submitButton=DOM.scry(this.root,'span.UIComposer_SubmitButton input.UIButton_Text')[0]||null;this.privacyButton=DOM.scry(this.root,'div.UIComposer_PrivacyWidget')[0]||null;this.privacyCallout=DOM.scry(this.root,'div.UIComposer_PrivacyCallout')[0]||null;this.targetedPrivacyButton=DOM.scry(this.root,'div.UIComposer_TargetedPrivacyWidget')[0]||null;this.doMentionsPromptUpdatePref=false;this.doMentionsPromptUpdateOnsubmit=false;this.doMentionsCallout='';this.shownMentionsCallout=false;var _L2=DOM.scry(this.root,'form')[0];if(_L2)DOM.replace(_L2,DOM.scry(_L2,'div.UIComposer_Content')[0]);if(this.privacyWidget){this.defaultPrivacy=this.privacyWidget.getData();this.defaultPrivacyFbid=this.privacyWidget.getSaveAsDefaultCheckboxFbid();}if(_L1.mentionsData&&!this.suppressMentions){this.initializeMentions(_L1.mentionsData);}else this.initializeTextarea(_L1.maxInputLength,_L1.initialTextareaHeight);this.initializeAutoscrape(_L0);this.initializeEvents();if(_L1.autoload)this.loadAttachment(_L1.autoload,_L1.autoloadData);},initializeAttachments:function(_L0){if(!_L0.length)return;this.apps=_L0.map(function(_L3){return _L3.app_id;});this.attachments=_L0;var _L1=this.root.find('ul.UIComposer_Attachments');var _L2=this.root.find('div.UIComposer_AttachmentArea');this.attachmentList=new UIComposerAttachmentList(this,_L1);this.attachmentArea=new UIComposerAttachmentArea(this,_L2);_L1.style.visibility='visible';this.buttonArea=DOM.scry(this.root,'div.UIComposer_ButtonArea')[0];},initializeTextarea:function(_L0,_L1){new TextAreaControl(this.input).setMaxLength(_L0).setOriginalHeight(_L1).setAutogrow(true).onfocus();this.input.onfocus='';},initializeMentions:function(_L0){var _L1=$N('div',{id:this.input.id,className:'Mentions_Input',contentEditable:true},document.createTextNode(this.input.value));CSS.setStyle(_L1,'width',this.input.offsetWidth+'px');DOM.replace(this.input,_L1);this.input=_L1;_L1.focus();var _L2=new typeahead_mentions(_L1,_L0.typeahead);this.getMessage=_L2.getMessage.bind(_L2);this.setMessage=_L2.setMessage.bind(_L2);this.focusInput=_L2.focusInput.bind(_L2);var _L3=this.enable.bind(this);this.enable=function(){_L2.enable();_L3();};var _L4=this.disable.bind(this);this.disable=function(){_L2.disable();_L4();};this.mentions=_L2;if(this.mentions){this.doMentionsPromptUpdatePref=_L0.prompt;this.doMentionsCallout=_L0.callout;}},initializeAutoscrape:function(_L0){var _L1=new UrlDetector(this.input);_L1.subscribe('urlDetected',this.autoScrape.bind(this));_L1.setSuppressDetectionCheck(this.hasState.bind(this,UIComposer.STATE.ATTACHMENT_AREA));if(_L0)_L1.startDetectionInterval();},initializeEvents:function(){addEventBase(this.input,'focus',this.focus.bind(this));Event.listen(this.submitButton,'click',this.post.bind(this));if(this.attachmentArea){var _L0=function(){this.shouldHide=false;}.bind(this);Event.listen(this.root,'click',_L0);Event.listen(this.root,'mousedown',_L0);Event.listen(document.body,'click',function(){if(this.shouldHide)this.blur();this.shouldHide=true;}.bind(this));}},focus:function(){this.ensureInitialized(true);if(this.privacyWidget){if(this.privacyOptions.change_default_dialog&&!this.privacyChangedToken)this.privacyChangedToken=this.privacyWidget.subscribe('privacyChanged',function(_L1,_L2){this.showChangeDefaultPrivacyDialog(_L2);}.bind(this));if(this.privacyOptions.callout&&!this.privacyMenuActivatedToken)this.privacyMenuActivatedToken=this.privacyWidget.subscribe('menuActivated',function(_L1,_L2){this.closePrivacyCallout();this.privacyWidget.unsubscribe(this.privacyMenuActivatedToken);delete this.privacyMenuActivatedToken;}.bind(this));}this.showMentionsCallout();var _L0=this.getMessage().trim();if(!_L0||_L0==this.placeholder){this.input.removeClass('DOMControl_placeholder');this.clearMessage();}this.showPrivacyCallout();this.mentionsPromptUpdatePref();Arbiter.inform(UIIntentionalStreamMessage.SET_AUTO_INSERT,{pause:true});if(this.isOnHomepage)this.buttonArea.removeClass('hidden_elem');this.addState(UIComposer.STATE.INPUT_FOCUSED);this.inform(UIComposer.EVENT.FOCUS,{});return this;},blur:function(){if(this.privacyWidget&&this.privacyWidget.dialogOpen()){if(!this.privacyCloseDialogToken)this.privacyCloseDialogToken=this.privacyWidget.subscribe('closeDialog',function(){this.privacyWidget.unsubscribe(this.privacyCloseDialogToken);delete this.privacyCloseDialogToken;}.bind(this));}else{if(this.attachmentList&&!this.hasState(UIComposer.STATE.ATTACHMENT_AREA)){this.removeState(UIComposer.STATE.INPUT_FOCUSED);if(!this.getMessage())this.clearMessage();if(this.isOnHomepage)this.buttonArea.addClass('hidden_elem');}this.hidePrivacyCallout();}if(!this.getMessage().trim()&&!this.hasState(UIComposer.STATE.ATTACHMENT_AREA))this.resetMessage();this.hideMentionsCallout();Arbiter.inform(UIIntentionalStreamMessage.SET_AUTO_INSERT,{pause:false});this.inform(UIComposer.EVENT.BLUR,{});return this;},autoScrape:function(_L0,url){this.loadAttachment(UIComposer.APP_ID_POSTED,{url:url});},setAttachment:function(_L0){this.attachmentArea.setAttachment(_L0);return this;},getAttachment:function(){return this.attachmentArea.getAttachment();},setSourceAppId:function(_L0){this.sourceAppID=_L0;return this;},getSourceAppId:function(){return this.sourceAppID;},loadAttachment:function(_L0,_L1){this.ensureInitialized();var _L2=this.attachments[this.apps.indexOf(_L0)];if(this.hasState(UIComposer.STATE.ATTACHMENT_AREA))this.reset(true,false,false);if(!_L2){this.attachmentList.reset();return false;}this.attachmentList.select(_L2,_L1);this.focus();},showAttachment:function(_L0,_L1){this.focus();if(_L0.supports_privacy){if(this.privacyWidget){if(_L0.default_privacy)this.privacyWidget.setData(_L0.default_privacy);if(_L0.default_privacy_fbid)this.privacyWidget.setSaveAsDefaultCheckboxFbid(_L0.default_privacy_fbid);}this.showPrivacyWidget();this.showTargetedPrivacyWidget();}else{this.hidePrivacyWidget();this.hideTargetedPrivacyWidget();}this.hidePrivacyCallout();this.hideMentionsCallout();this.attachmentArea.show(_L0,_L1);this.inform(UIComposer.EVENT.SHOW_ATTACHMENT,{attachment:_L0});return this;},reset:function(_L0,_L1,_L2){if(_L0&&this.attachmentArea){this.attachmentList.reset();this.attachmentArea.reset();this.removeState(UIComposer.STATE.ATTACHMENT_AREA);this.removeState(UIComposer.STATE.ATTACHMENT_LOADED);}this.resetSubmitButtonText();if(this.privacyWidget){this.privacyWidget.setData(this.defaultPrivacy);this.privacyWidget.setSaveAsDefaultCheckboxFbid(this.defaultPrivacyFbid);}if(this.targetedPrivacyWidget)this.targetedPrivacyWidget.reset();this.showPrivacyWidget();this.showTargetedPrivacyWidget();this.enable();if(_L1)this.resetMessage();if(_L2!==false){this.focusInput();}else this.removeState(UIComposer.STATE.INPUT_FOCUSED);this.shouldHide=true;this.inform(UIComposer.EVENT.RESET,{});return this;},addState:function(_L0){this.root.addClass(_L0);return this;},removeState:function(_L0){this.root.removeClass(_L0);return this;},hasState:function(_L0){return this.root.hasClass(_L0);},toggleState:function(_L0){CSS.toggleClass(this.root,_L0);return this;},disable:function(){this.input.disabled=true;return this.addState(UIComposer.STATE.INPUT_DISABLED).disableButton();},enable:function(){this.input.disabled=false;return this.removeState(UIComposer.STATE.INPUT_DISABLED).enableButton();},disableButton:function(){this.disabled=true;CSS.addClass(this.submitButton.parentNode,'UIButton_Disabled');return this;},enableButton:function(){this.disabled=false;CSS.removeClass(this.submitButton.parentNode,'UIButton_Disabled');return this;},getPrivacyData:function(){if(this.privacyWidget)return this.privacyWidget.getData();return null;},getTargetedPrivacyData:function(){if(this.targetedPrivacyWidget)return this.targetedPrivacyWidget.getData();return null;},getData:function(){var _L0=this.getEndpoint();var _L1={},_L2=this.getMessage();if(!this.isValidPost())return null;if(!this.hasState(UIComposer.STATE.ATTACHMENT_AREA)){copy_properties(_L1,this.targetID>0?UIComposer.TARGET_DATA:UIComposer.HOME_DATA);copy_properties(_L1,{status:_L2,target_id:this.targetID,profile_id:this.user,app_id:this.sourceAppID,privacy_data:{}});copy_properties(_L1,this.extraSubmitData);if(this.attachmentArea&&this.attachmentArea.visible){copy_properties(_L1,this.attachmentArea.getData());if(!_L1.app_id)_L1.app_id=this.attachmentArea.attachment.app_id;}}else{_L1=this.attachmentArea.getData();if(_L1){copy_properties(_L1,{id:this.user,target_id:this.targetID,app_id:this.attachmentArea.attachment.app_id,action:'post',button:'publish_button',comment_text:_L2});if(this.attachmentArea.attachment.supports_privacy)_L1.privacy_data={};}}if(_L1){_L1.composer_id=this.id;_L1.hey_kid_im_a_composer=true;if(this.privacyWidget&&_L1.privacy_data)copy_properties(_L1.privacy_data,this.getPrivacyData());if(this.targetedPrivacyWidget){_L1.targeted_privacy_data={};copy_properties(_L1.targeted_privacy_data,this.getTargetedPrivacyData());}if(this.contextData)copy_properties(_L1,this.contextData);}return _L1;},setExtraSubmitData:function(key,_L1){this.extraSubmitData['composer_'+key]=_L1;return this;},clearExtraSubmitData:function(key){delete this.extraSubmitData['composer_'+key];return this;},isValidPost:function(){var _L0=this.getMessage();if(_L0==this.placeholder)return false;if(this.endpoint==this.getEndpoint()&&!_L0)return false;return true;},getEndpoint:function(){var _L0;if(this.hasState(UIComposer.STATE.ATTACHMENT_LOADED))_L0=this.attachmentArea.getEndpoint();return _L0||this.endpoint;},post:function(){if(this.disabled||!this.initialized)return false;if(this.privacyOptions.everyone_warning&&this.privacyWidget&&this.privacyWidget.isEveryonePrivacy()){this.showConfirmEveryonePrivacyDialog();return false;}this._post();return false;},_post:function(){var _L0=this.getEndpoint(),_L1=this.getData();if(!_L1)return false;this.disable();if(this.doMentionsCallout=='inmsg')_L1.mentions_suggest=1;if(this.shownMentionsCallout){_L1.shown_mentions_callout=1;if(this.doMentionsCallout)_L1.close_mentions_callout=1;}if(this.doMentionsPromptUpdateOnsubmit){_L1.mentions_composermsg_submit=1;this.doMentionsPromptUpdateOnsubmit=false;}this.hideMentionsCallout();var req=new AsyncRequest().setURI(_L0).setData(_L1).setHandler(this.handleResponse.bind(this)).setErrorHandler(this.handleError.bind(this)).setFinallyHandler(this.enable.bind(this));for(key in this.contextData)req.setContextData(key,this.contextData[key]);req.send();},handleError:function(_L0){var _L1=_L0.getError();var _L2=_L0.getPayload();switch(_L1){case kError_Platform_CallbackValidationFailure:return this.showError(_L2.errorTitle,_L2.errorMessage);case kError_Platform_ApplicationResponseInvalid:return this.showError(_L2.errorTitle,_L2.showDebug?_L2.errorMessage:_tx("\u03a5\u03c0\u03ae\u03c1\u03be\u03b5 \u03ad\u03bd\u03b1 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1."));default:this.shouldHide=false;this.reset();return this.showError(_L0.getErrorSummary(),_L0.getErrorDescription());}},handleResponse:function(_L0){this.extraSubmitData={};var _L1=_L0.getError();var _L2=_L0.getErrorIsWarning();var _L3=_L0.getPayload();if(_L3.mentions_announce&&this.doMentionsCallout=='inmsg'){this.doMentionsCallout='focus';DOM.find(this.root,'div.UIComposer_MentionsCallout .UIComposer_PrivacyCallout_Text').setContent(_L3.mentions_announce);this.showMentionsCallout();}else{this.closeMentionsCallout(true);this.reset(true,true).publish(_L0);if(_L1&&_L2)ErrorDialog.showAsyncError(_L0);}},publish:function(_L0){var _L1=this.contentArea;if(_L1&&_L1.addContent){var _L2=_L0,_L3,_L4;if(_L0.getPayload){var _L5=_L0.getPayload();_L3=_L5.status;_L2=_L5.markup;if(_L5.payload_is_content)_L4=_L5;}_L4=_L4||HTML(_L2).getRootNode();var _L6=500;_L1.addContent(_L4,_L6);if(_L1.setStatus&&_L3)setTimeout(function(){_L1.setStatus(_L3);},_L6);}if(this.privacyWidget)this.privacyWidget.reset();if(this.targetedPrivacyWidget)this.targetedPrivacyWidget.reset();return this;},showPrivacyWidget:function(){show(this.privacyButton);},hidePrivacyWidget:function(){hide(this.privacyButton);},showTargetedPrivacyWidget:function(){show(this.targetedPrivacyButton);},hideTargetedPrivacyWidget:function(){hide(this.targetedPrivacyButton);},showPrivacyCallout:function(){this.root.scry('div.UIComposer_PrivacyCallout').map(show);},hidePrivacyCallout:function(){this.root.scry('div.UIComposer_PrivacyCallout').map(hide);},closePrivacyCallout:function(){this.hidePrivacyCallout();this.savePrivacyData('close','callout',function(){this.root.scry('div.UIComposer_PrivacyCallout').map(DOM.remove);}.bind(this));},showMentionsCallout:function(){if(this.doMentionsCallout!='focus'||this.hasState(UIComposer.STATE.ATTACHMENT_AREA))return;if(this.attachmentList)this.attachmentList.hide();this.shownMentionsCallout=true;this.root.scry('div.UIComposer_MentionsCallout').map(show);},hideMentionsCallout:function(){if(this.attachmentList&&!this.hasState(UIComposer.STATE.ATTACHMENT_AREA))this.attachmentList.reset();this.root.scry('div.UIComposer_MentionsCallout').map(hide);},closeMentionsCallout:function(_L0){this.hideMentionsCallout();if(this.shownMentionsCallout&&this.doMentionsCallout){this.doMentionsCallout='';if(_L0)return;new AsyncRequest().setURI('/ajax/mentions_ue.php').setData({type:'callout'}).setErrorHandler(bagofholding).setTransportErrorHandler(bagofholding).send();}},mentionsPromptUpdatePref:function(){if(this.doMentionsPromptUpdatePref){new AsyncRequest().setURI("/ajax/mentions_ue.php").setData({type:'prompt'}).setErrorHandler(bagofholding).setTransportErrorHandler(bagofholding).send();this.doMentionsPromptUpdatePref=false;this.doMentionsPromptUpdateOnsubmit=true;}},savePrivacyData:function(_L0,_L1,_L2){_L1=_L1||_L0;_L2=_L2||bagofholding;var _L3={};_L3[_L0]=true;new AsyncRequest().setData(_L3).setURI('/ajax/privacy/save_composer_data.php').setHandler(function(_L4){var _L5=_L4.getPayload();this.privacyOptions[_L1]=_L5[_L1];_L2();}.bind(this)).setErrorHandler(bagofholding).setTransportErrorHandler(bagofholding).send();},showChangeDefaultPrivacyDialog:function(_L0){var _L1=function(){this.privacyWidget.unsubscribe(this.privacyChangedToken);delete this.privacyChangedToken;}.bind(this);new Dialog().setAsync(new AsyncRequest().setURI('/ajax/privacy/change_default_dialog.php').setData({privacy_data:_L0})).setHandler(this.savePrivacyData.bind(this,'seen_changed_default','change_default_dialog',_L1)).show();},showConfirmEveryonePrivacyDialog:function(){new Dialog().setAsync(new AsyncRequest().setURI('/ajax/privacy/confirm_everyone_dialog.php')).setHandler(this.savePrivacyData.bind(this,'seen_everyone','everyone_warning',this._post.bind(this))).show();},getContextData:function(){return this.contextData;},resetMessage:function(){this.input.addClass('DOMControl_placeholder');this.input.setStyle('height','');this.setMessage(this.placeholder);},clearMessage:function(){this.setMessage('');},getMessage:function(){return this.input.value.trim();},setMessage:function(_L0){this.input.value=_L0;},showError:function(_L0,_L1){new ErrorDialog().setTitle(_L0).setBody(_L1||_tx("\u03a5\u03c0\u03ae\u03c1\u03be\u03b5 \u03ad\u03bd\u03b1 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03c3\u03c4\u03b7\u03bd \u03b5\u03c6\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae. \u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b4\u03bf\u03ba\u03b9\u03bc\u03ac\u03c3\u03c4\u03b5 \u03b1\u03c1\u03b3\u03cc\u03c4\u03b5\u03c1\u03b1.")).setButtons([Dialog.OK]).show();},resetSubmitButtonText:function(){if(this.orig_button_text)this.setSubmitButtonText(this.orig_button_text);},setSubmitButtonText:function(_L0){if(_L0)if(this.submitButton&&this.submitButton.value){this.orig_button_text=this.orig_button_text||this.submitButton.value;this.submitButton.value=_L0;}},focusInput:function(){this.input.select();this.input.focus();},textAreaFocused:function(){var _L0=DOM.scry(this.root,'textarea.UIComposer_TextArea')[0];return !_L0.hasClass('DOMControl_placeholder');}});copy_properties(UIComposer,{instances:{},getInstance:function(id){return this.instances[id];},storeInstance:function(id,_L1){this.instances[id]=_L1;},focusInstance:function(id){var _L1=this.instances;var _L2=_L1[id];if(!_L2)return;onloadRegister(function(){_L1[id].focus();setTimeout(function(){_L1[id].input.focus();},0);});},animation:function(_L0,_L1){return animation(_L0).ondone(_L1||bagofholding).ease(animation.ease.end).duration(200);}});copy_properties(UIComposer,{DIALOG_WIDTH:560,DIALOG_WIDTH_PIC:620,APP_ID_POSTED:2309869772,HOME_DATA:{action:'HOME_UPDATE',home_tab_id:1,profile_id:null,status:null,target_id:null},TARGET_DATA:{action:'PROFILE_UPDATE',profile_id:null,status:null,target_id:null},STATE:{PIC_NONE:'UIComposer_STATE_PIC_NONE',PIC_INSIDE:'UIComposer_STATE_PIC_INSIDE',PIC_OUTSIDE:'UIComposer_STATE_PIC_OUTSIDE',INPUT_FOCUSED:'UIComposer_STATE_INPUT_FOCUSED',INPUT_DISABLED:'UIComposer_STATE_INPUT_DISABLED',ATTACHMENT_AREA:'UIComposer_STATE_ATTACHMENT_AREA',ATTACHMENT_LOADED:'UIComposer_STATE_ATTACHMENT_LOADED'},EVENT:{FOCUS:'focus',BLUR:'blur',SHOW_ATTACHMENT:'show_attachment',RESET:'reset'}});
function UIComposerAttachmentList(_L0,_L1){this.composer=_L0;this.root=_L1;this.title=_L0.root.find('div.UIComposer_AttachmentTitle');var _L2=_L0.attachments,_L3=$A(DOM.scry(_L1,'li.UIComposer_Attachment a')),_L4=_L3.length;var _L5=function(_L7,_L8){var _L9=_L2[_L8];_L9.index=_L8;Event.listen(_L7,'click',this.select.bind(this,_L9,null));}.bind(this);var _L6=function(_L7,_L8){var _L9=$N('a',{href:"#",className:'UIComposer_MoreItem'},[$N('span',{className:'UIComposer_MoreIcon',style:{backgroundImage:'url('+_L7.menu_icon+')'}}),HTML(_L7.caption)]);_L5(_L9,_L8+_L4);return _L9;};_L3.each(_L5);if(_L2.length>_L4){this.menu=new UIActionMenu().setSuppressButton(true).setSuppressText(true).setTooltip(_tx("\u03a0\u03b5\u03c1\u03b9\u03c3\u03c3\u03cc\u03c4\u03b5\u03c1\u03b1")).setContentCallback(function(){return $N('div',_L2.slice(_L4).map(_L6));});_L1.appendChild($N('li',{className:'UIComposer_More'},this.menu.root));}}UIComposerAttachmentList.prototype={select:function(_L0,_L1){this.title.setContent(_L0.caption);this.title.setStyle('backgroundImage','url('+_L0.icon+')');this.composer.showAttachment(_L0,_L1);if(this.menu)this.menu.hideMenu();hide(this.root);return false;},hide:function(){hide(this.root);},reset:function(){show(this.root);}};
function ProfileStream(_L0,_L1,_L2,_L3,_L4,_L5,_L6,_L7){this.profile_id=_L0;this.viewer_id=_L1;this.filter=_L3;this.can_edit=_L5;this.is_page=_L6;this.is_split=_L7;this.settings_loaded=false;this.min_time=0;this.max_time=_L2;this.ajax_endpoint_uri='/ajax/stream/profile.php';this.streamElem=$('profile_minifeed');this.streamContainerElem=$('profile_stream_container');this.settingsElem=ge('profile_settings');this.pagerNextElem=ge('profile_pager_container');this.cache={};this.cache[this.filter]={'html':this.streamElem.innerHTML,'max_time':this.max_time,'see_more':_L4};if(ProfileStream.instance)delete ProfileStream.instance;ProfileStream.instance=this;return this;}ProfileStream.getInstance=function(){return ProfileStream.instance;};ProfileStream.animationDuration=300;ProfileStream.dirtyCache=function(){if(stream=ProfileStream.getInstance())stream.cache={};};ProfileStream.FILTER={'ALL_POSTS':1,'POSTS_BY_ME':2,'POSTS_BY_OTHERS':3,'SINGLE_STORY':4,'SETTINGS':-1};ProfileStream.clearStatusUI=function(){var ps=$('profile_status');animation(ps).to('opacity',0).duration(200).ondone(function(){CSS.addClass(ps,'hidden_elem');}).go();};ProfileStream.setOnVisible=function(_L0){ProfileStream.onVisible=_L0;};ProfileStream.prototype.setStatus=function(_L0){if(this.can_edit&&_L0){var ps=ge('profile_status');if(!ps)return;var _L2=150;var st=$('status_text');var sti=$('status_time_inner');var _L5=function(){st.setContent(HTML(_L0));sti.setContent(HTML(_tx("\u03c0\u03c1\u03b9\u03bd \u03b1\u03c0\u03cc \u03bb\u03af\u03b3\u03bf")));var _L6=ge('status_source');var _L7=ge('status_mobile_indicator');if(_L6)CSS.addClass(_L6,'hidden_elem');if(_L7)CSS.addClass(_L7,'hidden_elem');CSS.removeClass(ps,'hidden_elem');new animation(ps).to('opacity',1).duration(_L2).go();};if(DOM.getText(st).trim()){new animation(ps).to('opacity',0).duration(_L2).ondone(_L5).go();}else{CSS.setOpacity(ps,0);_L2=300;_L5();}}};ProfileStream.prototype.addContent=function(_L0){var _L1=bagofholding;var _L2=false;var _L3=null;if(this.filter!=ProfileStream.FILTER.ALL_POSTS){if(this.can_edit&&this.filter!=ProfileStream.FILTER.POSTS_BY_ME){_L2=true;_L3=this.is_split?_tx("This post will be moved to the Stream tab."):_tx("\u0391\u03c5\u03c4\u03ae \u03b7 \u03b4\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03b8\u03b1 \u03c0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03b1\u03c3\u03c4\u03b5\u03af \u03c3\u03c4\u03bf \u03c6\u03af\u03bb\u03c4\u03c1\u03bf \u03c3\u03bf\u03c5.");}if(!this.can_edit&&this.filter!=ProfileStream.FILTER.POSTS_BY_OTHERS){_L2=true;_L3=this.is_split?_tx("\u0391\u03c5\u03c4\u03ae \u03b7 \u03b4\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03b8\u03b1 \u03bc\u03b5\u03c4\u03b1\u03c6\u03b5\u03c1\u03b8\u03b5\u03af \u03c3\u03c4\u03b7\u03bd \u03ba\u03b1\u03c1\u03c4\u03ad\u03bb\u03b1 \u03c4\u03bf\u03c5 \u03c4\u03bf\u03af\u03c7\u03bf\u03c5."):(this.is_page?_tx("\u0391\u03c5\u03c4\u03ae \u03b7 \u03b4\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03b8\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03c3\u03c4\u03b5\u03af \u03c3\u03c4\u03bf \u03c6\u03af\u03bb\u03c4\u03c1\u03bf \u03c4\u03c9\u03bd \u03bf\u03c0\u03b1\u03b4\u03ce\u03bd."):_tx("\u0391\u03c5\u03c4\u03ae \u03b7 \u03b4\u03b7\u03bc\u03bf\u03c3\u03af\u03b5\u03c5\u03c3\u03b7 \u03b8\u03b1 \u03b5\u03bc\u03c6\u03b1\u03bd\u03b9\u03c3\u03c4\u03b5\u03af \u03c3\u03c4\u03b7\u03bd \u03b1\u03c1\u03c7\u03b9\u03ba\u03ae \u03c3\u03b5\u03bb\u03b9\u03b4\u03b1 \u03c4\u03c9\u03bd \u03c6\u03af\u03bb\u03c9\u03bd \u03c3\u03bf\u03c5."));}}if(_L2){var _L4=HTML('<div class="UIMessageBox status">'+_L3+'</div>');_L0=DOM.create('div',{},[_L4,_L0]);_L1=function(){animation(_L0).duration(6000).checkpoint().to('opacity','0').duration(ProfileStream.animationDuration).ondone(function(){DOM.remove(_L0);}).go();};}CSS.setStyle(_L0,'height','0px');CSS.setOpacity(_L0,'0');var _L5=this.streamElem.find('div.UIIntentionalStory_Profile_First');if(_L5)_L5.removeClass('UIIntentionalStory_Profile_First');CSS.addClass(_L0,'UIIntentionalStory_Profile_First');$(this.streamElem).prependContent(_L0);ProfileStream.dirtyCache();new animation(_L0).to('height','auto').to('opacity','1').duration(ProfileStream.animationDuration).ondone(_L1).go();var _L6=this.streamElem.scry('div.empty_wall');if(_L6.length)new animation(_L6[0]).to('opacity','0').duration(ProfileStream.animationDuration).ondone(function(){DOM.remove(_L6[0]);}).go();};ProfileStream.prototype.fadeAndSwap=function(e1,e2){animation(e1).to('opacity',0).duration(100).hide().ondone(function(){CSS.setOpacity(e2,0);animation(e2).to('opacity',1).from(0).duration(100).show().go();}).go();return true;};ProfileStream.prototype.showSettings=function(_L0){if(this.filter==ProfileStream.FILTER.SETTINGS)return false;this.filter=ProfileStream.FILTER.SETTINGS;var _L1=function(){this.fadeAndSwap(this.streamContainerElem,this.settingsElem);}.bind(this);if(this.settings_loaded){_L1();}else{var _L2={id:this.profile_id};var _L3=URI.getRequestURI().getQueryData();var _L4=['show_importer','import_sid','import_uid'];for(var i=0;i<_L4.length;++i){var _L6=_L4[i];if(_L3[_L6])_L2[_L6]=_L3[_L6];}new AsyncRequest().setMethod('GET').setReadOnly(true).setData(_L2).setHandler(function(_L7){DOM.setContent($('profile_settings'),HTML(_L7.getPayload().innards));this.settings_loaded=true;_L1();}.bind(this)).setURI('/ajax/profile/show_settings.php').send();}return false;};ProfileStream.prototype.loadStream=function(_L0){var _L1=function(_L4,_L5){DOM.setContent(this.streamElem,HTML(_L4));if(_L5)this.fadeAndSwap(this.settingsElem,this.streamContainerElem);}.bind(this);var _L2=this.max_time;var _L3=false;if(this.min_time==0&&this.cache[this.filter]){this.max_time=this.cache[this.filter].max_time;if(this.pagerNextElem)CSS.conditionClass(this.pagerNextElem,'hidden_elem',!this.cache[this.filter].see_more);_L1(this.cache[this.filter].html,_L0);_L0=false;_L3=false;}if(ProfileStream.onVisible){ProfileStream.onVisible.remove();ProfileStream.onVisible=null;}this.loading=true;new AsyncRequest().setMethod('GET').setReadOnly(true).setURI(this.ajax_endpoint_uri).setData({profile_id:this.profile_id,viewer_id:this.viewer_id,filter:this.filter,max_time:_L2,try_scroll_load:_L3}).setContextData('clicktype','Filter Stories or Pagination',this.viewer_id!=this.profile_id).setHandler(function(_L4){if(this.max_time==0)this.cache[this.filter]={'html':_L4.payload.stream_html,'max_time':_L4.payload.max_time,'see_more':_L4.payload.see_more};this.max_time=_L4.payload.max_time;if(this.pagerNextElem)CSS.conditionClass(this.pagerNextElem,'hidden_elem',!_L4.payload.see_more);_L1(_L4.payload.stream_html,_L0);}.bind(this)).setFinallyHandler(function(){this.loading=false;}.bind(this)).send();};ProfileStream.prototype.showStream=function(_L0){if(this.loading)return false;var _L1=this.filter;this.filter=_L0;this.min_time=0;this.max_time=0;this.loadStream(_L1==ProfileStream.FILTER.SETTINGS);return false;};ProfileStream.prototype.showMore=function(_L0,_L1){this.loading=true;new AsyncRequest().setMethod('GET').setReadOnly(true).setStatusElement(this.pagerNextElem).setURI(this.ajax_endpoint_uri).setData({profile_id:this.profile_id,viewer_id:this.viewer_id,filter:this.filter,is_scroll_load:_L1,max_time:this.max_time}).setContextData('clicktype','Filter Stories or Pagination',this.viewer_id!=this.profile_id).setHandler(function(_L3){if(this.pagerNextElem)CSS.conditionClass(this.pagerNextElem,'hidden_elem',!_L3.payload.see_more);DOM.appendContent(this.streamElem,HTML(_L3.payload.stream_html));this.max_time=_L3.payload.max_time;if(this.min_time==0)this.cache[this.filter]={'html':this.streamElem.innerHTML,'max_time':this.max_time,'see_more':_L3.payload.see_more};}.bind(this)).setFinallyHandler(function(){this.loading=false;}.bind(this)).send();if(!_L1){var _L2={src:ft.NF_SOURCE_MINIFEED,evt:ft.NF_EVENT_SEE_MORE,actrs:this.profile_id,type:'page'};ft.logData(_L2);}};ProfileStream._createDialogOptionField=function(id,_L1){var _L2='<div class="dialog_option">'+'<input type="checkbox" id="'+id+'"/>'+'<span class="dialog_option_text">'+_L1+'</span>'+'</div>';return _L2;};

if (window.Bootloader) { Bootloader.done(["js\/34uwi2kysgo4c04w.pkg.js"]); }