GETS and PINS
hi,
Can someone please explain me the diffrence b.w the Gets and Pins in the V$librarycache.
Also we have 2 env, 9i and 10g..and when i query this
select * from v$librarycache in both of them, in 9i the gets and pins are both increasing for namespace "SQL AREA". But when i do this in 10g, only pins increase for the same namespace.
One more thing i noticed is that the increase in the values is not by 1..
Kindly help.
Regards,
Mayank
gets:(Parse) The number of lookups for objects of the namespace.
Pins:(execution) The number of reads or executions of the objects
of the namespace.
reloads:(Parse) The number of library cache misses on the execution
step,thereby causing an implicit reparsing of the sql statement.
Invalidation:(Parse) if the object is modified then all explain plans
that reference the objects are marked invalid and must be parsed again.
Guidelines: Reloads should be less than 1% of the pins.
select sum(pins) "executions",sum(reloads) "Cache Misses"
,sum(reloads)/sum(pins) from v$librarycache;
if reloads-to-pins ratio is greater then 1% increase the value
of shared_pool_size parameter.
Similar Messages
-
Hello i am trying to fix a phone that my gf forgot her puk and pin
it says this
play,persistOnClick:la.persistOnClick||ma.persistOnClick});ka.setAttribute('data -hover','tooltip');}function ha(ka,la){ja.set(ka,"Loading...");new h(la).setHandler(function(ma){ja.set(ka,ma.getPayload());}).setErrorHandler(r). send();}var ia;g.listen(document.documentElement,'mouseover',function(event){ia=event;v(fun ction(){ia=null;});});var ja={process:function(ka,la){if(!m.contains(ka,la))return;if(ka!==x){var ma=ka.getAttribute('data-tooltip-uri');if(ma){ka.removeAttribute('data-tooltip- uri');ha(ka,ma);}var na=ka.getAttribute('data-tooltip-delay');if(na){na=parseInt(na,10)||1000;ja._sh owWithDelay(ka,na);}else ja.show(ka);}},remove:function(ka){l.remove(ka,'tooltip');ka.removeAttribute('d ata-hover');ka.removeAttribute('data-tooltip-position');ka.removeAttribute('data -tooltip-alignh');ka===x&&ja.hide();},hide:function(){if(x){aa.hide();x=null;whi le(ca.length)ca.pop().remove();}},set:function(ka,la,ma,na){if(ma||na)ga(ka,{pos ition:ma,alignH:na});if(la instanceof o){if(ka===x){ha(ka,la);}else ka.setAttribute('data-tooltip-uri',la);}else{if(m.isTextNode(la))la=s(la);var oa=false;if(typeof la!=='string'){la=m.create('div',{},la);ka.setAttribute('aria-label',s(la));}el se{ka.setAttribute('aria-label',la);oa=la==='';}ga(ka,{content:la,suppress:oa}); ka===x&&ja.show(ka);}},propsFor:function(ka){return {'aria-label':ka,'data-hover':'tooltip'};},enableDisplayOnOverflow:function(ka) {ka.removeAttribute('data-tooltip-display');ga(ka,{overflowDisplay:true});},enab lePersistOnClick:function(ka){ka.removeAttribute('data-pitloot-persistOnClick'); ga(ka,{persistOnClick:true});},suppress:function(ka,la){ga(ka,{suppress:la});},s how:function(ka){ea();ja.hide();var la=fa(ka);if(la.suppress)return;var ma=la.content;if(la.overflowDisplay){if(ka.offsetWidth>=ka.scrollWidth)return;i f(!ma)ma=s(ka);}if(!ma)return;var na=0,oa=0;if(la.position==='left'||la.position==='right'){oa=(ka.offsetHeight-2 8)/2;}else if(la.alignH!=='center'){var pa=ka.offsetWidth;if(pa<32)na=(pa-32)/2*(la.alignH==='right'?-1:1);}aa.setConte xtWithBounds(ka,t(ka,ia&&p.getEventPosition(ia))).setOffsetX(na).setOffsetY(oa). setPosition(la.position).setAlignment(la.alignH);if(typeof ma==='string'){k.addClass(aa.getRoot(),'invisible_elem');var qa=m.create('span',{},u(ma)),ra=m.create('div',{className:'tooltipText'},qa);m. setContent(ba,ra);aa.show();var sa;if(ra.getClientRects){var ta=ra.getClientRects()[0];if(ta)sa=Math.round(ta.right-ta.left);}if(!sa)sa=ra.o ffsetWidth;if(sa<qa.offsetWidth){k.addClass(ra,'tooltipWrap');aa.updatePosition( );}k.removeClass(aa.getRoot(),'invisible_elem');}else{m.setContent(ba,ma);aa.sho w();}var ua=function(wa){if(!m.contains(x,wa.getTarget()))ja.hide();};ca.push(g.listen(d ocument.documentElement,'mouseover',ua),g.listen(document.documentElement,'focus in',ua));var va=n.getScrollParent(ka);if(va!==window)ca.push(g.listen(va,'scroll',ja.hide)); if(!la.persistOnClick)ca.push(g.listen(ka,'click',ja.hide));x=ka;},_showWithDela y:function(ka,la){if(ka!==y)ja._clearDelay();if(!z){var ma=function(na){if(!m.contains(y,na.getTarget()))ja._clearDelay();};da.push(g.l isten(document.documentElement,'mouseover',ma),g.listen(document.documentElement ,'focusin',ma));y=ka;z=setTimeout(function(){ja._clearDelay();ja.show(ka);},la); }},_clearDelay:function(){clearTimeout(z);y=null;z=null;while(da.length)da.pop() .remove();}};g.listen(window,'scroll',ja.hide);e.exports=ja;},null);
__d("TooltipMixin",["React","Tooltip","DOM"],function(a,b,c,d,e,f,g,h,i){functio n j(l){var m=l.tooltip;return m!=null&&typeof m!=='string';}var k={propTypes:{tooltip:g.PropTypes.oneOfType([g.PropTypes.element,g.PropTypes.st ring]),position:g.PropTypes.oneOf(['above','below','left','right']),alignH:g.Pro pTypes.oneOf(['left','center','right'])},getInitialState:function(){return {tooltipContainer:j(this.props)?i.create('div'):null};},componentWillReceivePro ps:function(l){var m=j(l),n=this.state.tooltipContainer;if(n&&!m){this.setState({tooltipContainer: null});}else if(!n&&m)this.setState({tooltipContainer:i.create('div')});},componentDidMount: function(){this._updateTooltip();},componentDidUpdate:function(l,m){if(m.tooltip Container&&!this.state.tooltipContainer)this._cleanupContainer(m.tooltipContaine r);this._updateTooltip();},_updateTooltip:function(){var l;if(j(this.props)){l=this.state.tooltipContainer;g.render(this.props.tooltip,l );}else l=this.props.tooltip;if(l!=null){h.set(this.getDOMNode(),l,this.props.position, this.props.alignH);}else h.remove(this.getDOMNode());},componentWillUnmount:function(){if(this.state.too ltipContainer)this._cleanupContainer(this.state.tooltipContainer);h.remove(this. getDOMNode());},_cleanupContainer:function(l){g.unmountComponentAtNode(l);}};e.e xports=k;},null);
__d("TooltipLink.react",["React","TooltipMixin"],function(a,b,c,d,e,f,g,h){var i=g.createClass({displayName:"TooltipLink",mixins:[h],render:function(){return g.createElement("a",g.__spread({},this.props),this.props.children);}});e.export s=i;},null);
__d("UnicodeBidi",["Locale","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){"u se strict";var i={L:'A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0800-\u1FFF'+'\u200E\u2 C00-\uD7FF\uE000-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF',R:'\u05BE\u05C0\u05C3\u05C6\u 05D0-\u05EA\u05F0-\u05F2\u05F3-\u05F4'+'\u07C0-\u07C9\u07CA-\u07EA\u07F4-\u07F5\ u07FA\u0800-\u0815\u081A\u0824'+'\u0828\u0830-\u083E\u0840-\u0858\u085E\u200F\uF B1D\uFB1F-\uFB28'+'\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uF B46-\uFB4F',AL:'\u0608\u060B\u060D\u061B\u061C\u061E-\u061F\u0620-\u063F\u0640'+ '\u0641-\u064A\u066D\u066E-\u066F\u0671-\u06D3\u06D4\u06D5\u06E5-\u06E6'+'\u06EE -\u06EF\u06FA-\u06FC\u06FD-\u06FE\u06FF\u0700-\u070D\u070F\u0710'+'\u0712-\u072F \u074D-\u07A5\u07B1\u08A0\u08A2-\u08AC\uFB50-\uFBB1'+'\uFBB2-\uFBC1\uFBD3-\uFD3D \uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB'+'\uFDFC\uFE70-\uFE74\uFE76-\uFEFC'},j=i .L+i.R+i.AL,k=i.R+i.AL,l=new RegExp('['+j+']'),m=new RegExp('['+k+']');function n(t){var u=l.exec(t);if(!u)return h.NEUTRAL;var v=m.exec(u[0]);return v?h.RTL:h.LTR;}function o(t,u){u=u||h.NEUTRAL;if(!t.length)return u;var v=n(t);return (v===h.NEUTRAL)?u:v;}function p(t,u){if(!u||!h.isStrong(u))u=g.getDirection();return o(t,u);}function q(t,u){return p(t,u)===h.LTR;}function r(t,u){return p(t,u)===h.RTL;}var s={firstStrongCharDir:n,resolveBlockDir:o,getDirection:p,isDirectionLTR:q,isDir ectionRTL:r};e.exports=s;},null);
__d("isRTL",["UnicodeBidi","UnicodeBidiDirection"],function(a,b,c,d,e,f,g,h){fun ction i(j){return g.getDirection(j)===h.RTL;}e.exports=i;},null);
__d("UFILikeSentenceText.react",["ActorURI","HovercardLinkInterpolator","Profile BrowserLink","ProfileBrowserTypes","React","TextWithEntities.react","URI","cx"], function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(q,r,s,t,u){if(u.count!=null){var v=j.LIKES,w={id:q.targetfbid,actorid:q.actorid},x=[],y;for(var z=0;z<s.length;z++)if(!s[z].count){y=s[z];var aa=y.entity;x.push(aa.id);}var ba=new m('/ajax/like/tooltip.php').setQueryData({comment_fbid:q.targetfbid,comment_fro m:q.actorforpost,seen_user_fbids:x.length?x:true});ba=g.create(ba,q.actorforpost );return (k.createElement("a",{className:((r?"UFILinkBold":'')),rel:"dialog",ajaxify:i.c onstructDialogURI(v,w).toString(),href:i.constructPageURI(v,w).toString(),"data- hover":"tooltip","data-tooltip-alignh":"center","data-tooltip-uri":ba.toString() ,role:"button"},t));}else return h(t,u,null,null,'ufi',r);}var p=k.createClass({displayName:"UFILikeSentenceText",propTypes:{contextArgs:k.Pro pTypes.object.isRequired,feedback:k.PropTypes.object.isRequired,likeSentenceData :k.PropTypes.object.isRequired},render:function(){var q=this.props.feedback,r=this.props.likeSentenceData,s;s=o;s=s.bind(null,q,this. props.contextArgs.userevisedufi,r.ranges);return (k.createElement(l,{interpolator:s,ranges:r.ranges,aggregatedRanges:r.aggregate dranges,text:r.text}));}});e.exports=p;},null);
__d("UFIReplyLink.react",["React","fbt"],function(a,b,c,d,e,f,g,h){var i=g.createClass({displayName:"UFIReplyLink",propTypes:{onClick:g.PropTypes.func },render:function(){return (g.createElement("a",{className:"UFIReplyLink",href:"#",onClick:this.props.onCl ick},"Reply"));}});e.exports=i;},null);
__d("Image.react",["Image.react-upstream"],function(a,b,c,d,e,f,g){e.exports=g;} ,null);
__d("CloseButton.react",["React","Image.react","cx","joinClasses"],function(a,b, c,d,e,f,g,h,i,j){var k=g.createClass({displayName:"CloseButton",render:function(){var l=this.props,m=l.size||'medium',n=l.appearance||'normal',o=m==='small',p=m==='h uge',q=n==='dark',r=n==='inverted',s=l.ajaxify||null,t=l.rel||null,u=(("uiCloseB utton")+(o?' '+"uiCloseButtonSmall":'')+(p?' '+"uiCloseButtonHuge":'')+(o&&q?' '+"uiCloseButtonSmallDark":'')+(o&&r?' '+"uiCloseButtonSmallInverted":'')+(!o&&q?' '+"uiCloseButtonDark":'')+(!o&&r?' '+"uiCloseButtonInverted":''));return (g.createElement("a",g.__spread({},this.props,{ajaxify:s,href:"#",role:"button" ,"aria-label":l.tooltip,"data-hover":l.tooltip&&'tooltip',"data-tooltip-alignh": l.tooltip&&'center',className:j(this.props.className,u),rel:t}),g.createElement( h,{className:"uiCloseButtonHighContrast",src:"/images/chat/tab/close.png"})));}} );e.exports=k;},null);
__d("BadgeHelper",["DOM","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){var j={xsmall:"_5dzz",small:"_5dz-",medium:"_5dz_",large:"_5d-0",xlarge:"_5d-1"};fu nction k(m,n){var o=j[m];switch(n){case 'verified':return i(o,"_56_f _5dzy");case 'topcommenter':return i(o,"_59t2 _5dzy");case 'work':return i(o,"_5d62 _5dzy");}}function l(m,n){var o=k(m,n);if(o)return g.create('span',{className:o});}e.exports={getClasses:k,renderBadge:l,sizes:Obj ect.keys(j)};},null);
__d("Badge.react",["BadgeHelper","React"],function(a,b,c,d,e,f,g,h){var i=h.createClass({displayName:"Badge",propTypes:{size:h.PropTypes.oneOf(g.sizes) ,type:h.PropTypes.oneOf(['verified','topcommenter','work'])},getDefaultProps:fun ction(){return {size:'xsmall',type:'verified'};},render:function(){return (h.createElement("span",{className:g.getClasses(this.props.size,this.props.type )}));}});e.exports=i;},null);
__d("ReactPropTransferer",["Object.assign","emptyFunction","joinClasses"],functi on(a,b,c,d,e,f,g,h,i){"use strict";function j(o){return function(p,q,r){if(!p.hasOwnProperty(q)){p[q]=r;}else p[q]=o(p[q],r);};}var k=j(function(o,p){return g({},p,o);}),l={children:h,className:j(i),style:k};function m(o,p){for(var q in p){if(!p.hasOwnProperty(q))continue;var r=l[q];if(r&&l.hasOwnProperty(q)){r(o,q,p[q]);}else if(!o.hasOwnProperty(q))o[q]=p[q];}return o;}var n={mergeProps:function(o,p){return m(g({},o),p);}};e.exports=n;},null);
__d("cloneWithProps",["ReactElement","ReactPropTransferer","keyOf","warning"],fu nction(a,b,c,d,e,f,g,h,i,j){"use strict";var k=i({children:null});function l(m,n){var o=h.mergeProps(n,m.props);if(!o.hasOwnProperty(k)&&m.props.hasOwnProperty(k))o. children=m.props.children;return g.createElement(m.type,o);}e.exports=l;},null);
__d("ImageBlock.react",["LeftRight.react","React","cloneWithProps","cx","invaria nt","joinClasses"],function(a,b,c,d,e,f,g,h,i,j,k,l){function m(p){k(p.children&&(p.children.length===2||p.children.length===3));}function n(p){return (("img")+(' '+"_8o")+(p==='small'?' '+"_8r":'')+(p==='medium'?' '+"_8s":'')+(p==='large'?' '+"_8t":''));}var o=h.createClass({displayName:"ImageBlock",render:function(){m(this.props);var p=this.props.children[0],q=this.props.children[1],r=this.props.children[2],s=th is.props.spacing||'small',t={className:l(n(s),this.props.imageClassName)};if(p.t ype==='img'){if(p.props.alt===(void 0))t.alt='';}else if((p.type==='a'||p.type==='link')&&p.props.tabIndex===(void 0)&&p.props.title===(void 0)&&p.props['aria-label']===(void 0)){t.tabIndex='-1';t['aria-hidden']='true';}p=i(p,t);var u=l(this.props.contentClassName,(("_42ef")+(s==='small'?' '+"_8u":''))),v;if(!r){v=h.createElement("div",{className:u},q);}else v=h.createElement(g,{className:u,direction:g.DIRECTION.right},q,r);return (h.createElement(g,h.__spread({},this.props,{direction:g.DIRECTION.left}),p,v)) ;}});e.exports=o;},null);
__d("isValidUniqueID",[],function(a,b,c,d,e,f){function g(h){return (h!==null&&h!==(void 0)&&h!==''&&(typeof h==='string'||typeof h==='number'));}e.exports=g;},null);
__d("SearchableEntry",["HTML","isValidUniqueID","invariant"],function(a,b,c,d,e, f,g,h,i){function j(l){switch(typeof l){case 'string':return l;case 'object':var m=g.replaceJSONWrapper(l);if(g.isHTML(m)){var n=m.getRootNode();return n.textContent||n.innerText||'';}else return '';default:return '';}}function k(l){"use strict";i(h(l.uniqueID));i(!!l.title&&typeof l.title==='string');this.$SearchableEntry0=l.uniqueID+'';this.$SearchableEntry1 =l.title;this.$SearchableEntry2=l.order||0;this.$SearchableEntry3=j(l.subtitle); this.$SearchableEntry4=l.keywordString||'';this.$SearchableEntry5=l.photo||'';th is.$SearchableEntry6=l.uri||'';this.$SearchableEntry7=l.type||'';this.$Searchabl eEntry8=l.auxiliaryData||null;}k.prototype.getUniqueID=function(){"use strict";return this.$SearchableEntry0;};k.prototype.getOrder=function(){"use strict";return this.$SearchableEntry2;};k.prototype.getTitle=function(){"use strict";return this.$SearchableEntry1;};k.prototype.getSubtitle=function(){"use strict";return this.$SearchableEntry3;};k.prototype.getKeywordString=function(){"use strict";return this.$SearchableEntry4;};k.prototype.getPhoto=function(){"use strict";return this.$SearchableEntry5;};k.prototype.getURI=function(){"use strict";return this.$SearchableEntry6;};k.prototype.getType=function(){"use strict";return this.$SearchableEntry7;};k.prototype.getAuxiliaryData=function(){"use strict";return this.$SearchableEntry8;};e.exports=k;},null);
__d("TypeaheadViewItem",["React","SearchableEntry"],function(a,b,c,d,e,f,g,h){va r i={entry:g.PropTypes.instanceOf(h).isRequired,highlighted:g.PropTypes.bool,role :g.PropTypes.string,selected:g.PropTypes.bool,onSelect:g.PropTypes.func.isRequir ed,onHighlight:g.PropTypes.func,onRenderHighlight:g.PropTypes.func},j={_onSelect :function(k){this.props.onSelect(this.props.entry,k);},_onHighlight:function(k){ if(this.props.onHighlight)this.props.onHighlight(this.props.entry,k);},getDefaul tProps:function(){return {role:'option'};},shouldComponentUpdate:function(k){return (this.props.entry.getUniqueID()!==k.entry.getUniqueID()||this.props.highlighted !==k.highlighted||this.props.selected!==k.selected);},componentDidMount:function (){if(this.props.highlighted&&this.props.onRenderHighlight)this.props.onRenderHi ghlight(this.getDOMNode());},componentDidUpdate:function(){if(this.props.highlig hted&&this.props.onRenderHighlight)this.props.onRenderHighlight(this.getDOMNode( ));}};e.exports={propTypes:i,Mixin:j};},null);
__d("MentionsTypeaheadViewItem.react",["Badge.react","ImageBlock.react","React", "TypeaheadViewItem","cssURL","cx"],function(a,b,c,d,e,f,g,h,i,j,k,l){var m=i.createClass({displayName:"MentionsTypeaheadViewItem",mixins:[j.Mixin],propT ypes:Object.assign({},j.propTypes,{ariaDescribedBy:i.PropTypes.string}),render:f unction(){var n=this.props.entry,o=n.getAuxiliaryData(),p=null;if(o)if(o.verified){p=i.create Element(g,{type:"verified",size:"xsmall"});}else if(o.workUser)p=i.createElement(g,{type:"work",size:"xsmall"});var q=n.getPhoto()?i.createElement("span",{className:"_5u93",style:{backgroundImage :k(n.getPhoto())}}):i.createElement("span",null),r=null;if(n.getSubtitle())r=i.c reateElement("div",{className:"_5u95"},n.getSubtitle());var s=(("_5u91")+(this.props.highlighted?' '+"_5u92":''));return (i.createElement("li",{role:"option",className:s,"aria-label":n.getTitle(),"ari a-selected":this.props.highlighted,"aria-describedby":this.props.ariaDescribedBy ,onMouseDown:this._onSelect,onMouseEnter:this._onHighlight},i.createElement(h,{s pacing:"medium"},q,i.createElement("div",null,i.createElement("div",{className:" _5u94"},n.getTitle(),p),r))));}});e.exports=m;},null);
__d("Scrollable",["Event","Parent","UserAgent_DEPRECATED"],function(a,b,c,d,e,f, g,h,i){var j=function(event){var m=h.byClass(event.getTarget(),'scrollable');if(!m)return;if((typeof event.axis!=='undefined'&&event.axis===event.HORIZONTAL_AXIS)||(event.wheelDelt aX&&!event.wheelDeltaY)||(event.deltaX&&!event.deltaY))return;var n=event.wheelDelta||-event.deltaY||-event.detail,o=m.scrollHeight,p=m.clientHei ght;if(o>p){var q=m.scrollTop;if((n>0&&q===0)||(n<0&&q>=o-p-1)){event.prevent();}else if(i.ie()<9)if(m.currentStyle){var r=m.currentStyle.fontSize;if(r.indexOf('px')<0){var s=document.createElement('div');s.style.fontSize=r;s.style.height='1em';r=s.sty le.pixelHeight;}else r=parseInt(r,10);m.scrollTop=q-Math.round(n/120*r);event.prevent();}}},k=docume nt.documentElement;if(i.firefox()){var l=('WheelEvent' in window)?'wheel':'DOMMouseScroll';k.addEventListener(l,j,false);}else g.listen(k,'mousewheel',j);},null);
__d("ScrollableArea.react",["Bootloader","React","Style","cx","joinClasses","Scr ollable"],function(a,b,c,d,e,f,g,h,i,j,k){b('Scrollable');var l="uiScrollableArea native",m="uiScrollableAreaWrap scrollable",n="uiScrollableAreaBody",o="uiScrollableAreaContent",p=h.createClas s({displayName:"ReactScrollableArea",render:function(){var q={height:this.props.height};return (h.createElement("div",h.__spread({},this.props,{className:k(this.props.classNa me,l),ref:"root",style:Object.assign({},(this.props.style||{}),q)}),h.createElem ent("div",{className:m,ref:"wrap"},h.createElement("div",{className:n,ref:"body" },h.createElement("div",{className:o},this.props.children)))));},getArea:functio n(){return this._area;},componentDidMount:function(){g.loadModules(["ScrollableArea"],this ._loadScrollableArea);},_loadScrollableArea:function(q){this._area=q.fromNative( this.refs.root.getDOMNode(),{fade:this.props.fade,persistent:this.props.persiste nt,shadow:this.props.shadow===(void 0)?true:this.props.shadow});var r=this.refs.body.getDOMNode();i.set(r,'width',this.props.width+'px');this.props .onScroll&&this._area.subscribe('scroll',this.props.onScroll);}});e.exports=p;}, null);
__d("Timestamp.react",["LiveTimer","joinClasses","React"],function(a,b,c,d,e,f,g ,h,i){var j=b('React').PropTypes,k=i.createClass({displayName:"Timestamp",propTypes:{auto Update:j.bool},getDefaultProps:function(){return {autoUpdate:false};},componentDidMount:function(){if(this.props.autoUpdate)g.ad dTimeStamps(this.getDOMNode());},componentDidUpdate:function(l,m){if(this.props. autoUpdate&&this.props.time!==l.time)g.loop();},render:function(){var l=g.renderRelativeTimeToServer(this.props.time,this.props.shorten);return (i.createElement("abbr",i.__spread({},this.props,{className:h(this.props.classN ame,"livetimestamp"),title:this.props.verbose,"data-utime":this.props.time,"data -shorten":this.props.shorten?true:null}),l.text||this.props.text));}});e.exports =k;},null);
__d("AbstractButton.react",["Link.react","React","cloneWithProps","cx","joinClas ses"],function(a,b,c,d,e,f,g,h,i,j,k){var l=h.createClass({displayName:"AbstractButton",propTypes:{image:h.PropTypes.elem ent,imageRight:h.PropTypes.element,depressed:h.PropTypes.bool,label:h.PropTypes. node,onClick:h.PropTypes.func},handleLinkClick:function(m){if(this.props.disable d){m.preventDefault();}else if(this.props.onClick)this.props.onClick(m);},render:function(){var m=(("_42ft")+(this.props.disabled?' '+"_42fr":'')+(this.props.depressed?' '+"_42fs":'')),n,o=this.props.image;if(o){n={};if(this.props.label){n.alt='';n. className="_3-8_";}o=i(o,n);}var p=this.props.imageRight;if(p){n={};if(this.props.label){n.alt='';n.className="_ 3-99";}p=i(p,n);}var q;if(this.props.href){q=h.createElement(g,h.__spread({},this.props,{className:k (this.props.className,m),disabled:null,label:null,onClick:this.handleLinkClick}) ,o,this.props.label,p);}else if(this.props.type&&this.props.type!=='submit'){q=h.createElement("button",h.__ spread({},this.props,{className:k(this.props.className,m),label:null,type:this.p rops.type}),o,this.props.label,p);}else q=h.createElement("button",h.__spread({},this.props,{className:k(this.props.cla ssName,m),label:null,type:"submit",value:"1"}),o,this.props.label,p);return q;}});e.exports=l;},null);
__d("XUIAbstractGlyphButton.react",["AbstractButton.react","React","cx","joinCla sses"],function(a,b,c,d,e,f,g,h,i,j){var k=h.createClass({displayName:"XUIAbstractGlyphButton",propTypes:{label:h.PropTy pes.node},render:function(){return (h.createElement(g,h.__spread({},this.props,{className:j(this.props.className," _5upp")})));}});e.exports=k;},null);
__d("XUICloseButton.react",["XUIAbstractGlyphButton.react","React","cx","fbt","j oinClasses"],function(a,b,c,d,e,f,g,h,i,j,k){var l=h.createClass({displayName:"XUICloseButton",propTypes:{shade:h.PropTypes.oneO f(['light','dark']),size:h.PropTypes.oneOf(['small','medium']),type:h.PropTypes. oneOf(['submit','button','reset'])},getDefaultProps:function(){return {size:'medium',shade:'dark',type:'button'};},render:function(){var m=this.props.size,n=this.props.shade,o=(("_50zy")+(m==='small'?' '+"_50zz":'')+(m==='medium'?' '+"_50-0":'')+(n==='light'?' '+"_50z_":'')+(n==='dark'?' '+"_50z-":'')),p=this.props.label,q=this.props.title;if(!this.props.title&&!thi s.props.tooltip){if(!p)p="Remove";q=p;}return (h.createElement(g,h.__spread({},this.props,{label:p,title:q,type:this.props.hr ef?null:this.props.type,"aria-label":this.props.tooltip,"data-hover":this.props. tooltip&&'tooltip',"data-tooltip-alignh":this.props.tooltip&&'center',className: k(this.props.className,o)})));}});e.exports=l;},null);
__d("XUIText.react",["React","cx","joinClasses"],function(a,b,c,d,e,f,g,h,i){var j=g.PropTypes,k=g.createClass({displayName:"XUIText",propTypes:{size:j.oneOf([' small','medium','large','xlarge','inherit']),weight:j.oneOf(['bold','inherit','n ormal']),display:j.oneOf(['inline','block'])},getDefaultProps:function(){return {size:'inherit',weight:'inherit',display:'inline'};},render:function(){var l=this.props.size,m=this.props.weight,n=((l==='small'?"_50f3":'')+(l==='medium' ?' '+"_50f4":'')+(l==='large'?' '+"_50f5":'')+(l==='xlarge'?' '+"_50f6":'')+(m==='bold'?' '+"_50f7":'')+(m==='normal'?' '+"_5kx5":''));if(this.props.display==='block')return (g.createElement("div",g.__spread({},this.props,{className:i(this.props.classNa me,n)}),this.props.children));return (g.createElement("span",g.__spread({},this.props,{className:i(this.props.classN ame,n)}),this.props.children));}});e.exports=k;},null);
__d("XUIGrayText.react",["React","XUIText.react","cx","joinClasses"],function(a, b,c,d,e,f,g,h,i,j){var k=g.PropTypes,l=g.createClass({displayName:"XUIGrayText",propTypes:{shade:k.one Of(['light','medium','dark'])},getDefaultProps:function(){return {shade:'light'};},render:function(){var m=((this.props.shade==='light'?"_50f8":'')+(this.props.shade==='medium'?' '+"_c24":'')+(this.props.shade==='dark'?' '+"_50f9":''));return (g.createElement(h,g.__spread({},this.props,{className:j(this.props.className,m )}),this.props.children));}});e.exports=l;},null);
__d("BanzaiNectar",["Banzai"],function(a,b,c,d,e,f,g){function h(j){return {log:function(k,l,m){var n={e:l,a:m};g.post('nectar:'+k,n,j);}};}var i=h();i.create=h;e.exports=i;},null);
__d("concatMap",[],function(a,b,c,d,e,f){function g(h,i){var j=-1,k=i.length,l=[],m;while(++j<k){m=h(i[j],j,i);Array.isArray(m)?Array.protot ype.push.apply(l,m):Array.prototype.push.call(l,m);}return l;}e.exports=g;},null);
__d("escapeRegex",[],function(a,b,c,d,e,f){function g(h){return h.replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1");}e.exports=g;},null);
__d("extendArray",[],function(a,b,c,d,e,f){function g(h,i){Array.prototype.push.apply(h,i);return h;}e.exports=g;},null);
__d("PhotosMimeType",[],function(a,b,c,d,e,f){function g(h){"use strict";if(this instanceof g===false)return new g(h);this.$PhotosMimeType0=h.split('/');}g.prototype.isImage=function(){"use strict";return this.$PhotosMimeType0[0]==='image';};g.prototype.isJpeg=function(){"use strict";return this.isImage()&&(this.$PhotosMimeType0[1]==='jpeg'||this.$PhotosMimeType0[1]=== 'pjpeg');};e.exports=g;},null);
__d("DataTransfer",["PhotosMimeType","createArrayFromMixed","emptyFunction"],fun ction(a,b,c,d,e,f,g,h,i){var j=new RegExp('\u000D\u000A','g'),k='\u000A',l={'text/rtf':1,'text/html':1};function m(o){if(o.kind=='file')return o.getAsFile();}function n(o){"use strict";this.data=o;this.types=o.types?h(o.types):[];}n.prototype.isRichText=fu nction(){"use strict";return this.types.some(function(o){return l[o];});};n.prototype.getText=function(){"use strict";var o;if(this.data.getData)if(!this.types.length){o=this.data.getData('Text');}else if(this.types.indexOf('text/plain')!=-1)o=this.data.getData('text/plain');retur n o?o.replace(j,k):null;};n.prototype.getHTML=function(){"use strict";if(this.data.getData)if(!this.types.length){return this.data.getData('Text');}else if(this.types.indexOf('text/html')!=-1)return this.data.getData('text/html');};n.prototype.isLink=function(){"use strict";return this.types.some(function(o){return o.indexOf('url')!=-1||o.indexOf('text/uri-list')!=-1;});};n.prototype.isImage=f unction(){"use strict";var o=this.types.some(function(s){return s.indexOf('application/x-moz-file')!=-1;});if(o)return true;var p=this.getFiles();for(var q=0;q<p.length;q++){var r=p[q].type;if(!g(r).isImage())return false;}return true;};n.prototype.getCount=function(){"use strict";if(this.data.hasOwnProperty('items')){return this.data.items.length;}else if(this.data.hasOwnProperty('mozItemCount')){return this.data.mozItemCount;}else if(this.data.files)return this.data.files.length;return null;};n.prototype.getFiles=function(){"use strict";if(this.data.items){return Array.prototype.slice.call(this.data.items).map(m).filter(i.thatReturnsArgument );}else if(this.data.files){return Array.prototype.slice.call(this.data.files);}else return [];};n.prototype.hasFiles=function(){"use strict";return this.getFiles().length>0;};e.exports=n;},null);
__d("intlList",["React","fbt","invariant","keyMirror"],function(a,b,c,d,e,f,g,h, i,j){'use strict';var k=function(m,n){n=n||k.CONJUNCTIONS.AND;var o=m.length;if(o===0){return '';}else if(o===1)return m[0];var p=m[o-1],q=m[0];for(var r=1;r<o-1;++r)q=h._("{previous items}, {following items}",[h.param("previous items",q),h.param("following items",m[r])]);return l(q,p,n);};function l(m,n,o){switch(o){case k.CONJUNCTIONS.AND:return (h._("{list of items} and {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.OR:return (h._("{list of items} or {last item}",[h.param("list of items",m),h.param("last item",n)]));case k.CONJUNCTIONS.NONE:return (h._("{list of items}, {last item}",[h.param("list of items",m),h.param("last item",n)]));default:i(false);}}k.CONJUNCTIONS=j({AND:null,NONE:null,OR:null});e .exports=k;},null);
__d("TrackingNodes",["TrackingNodeTypes"],function(a,b,c,d,e,f,g){var h={types:g,BASE_CODE_START:58,BASE_CODE_END:126,BASE_CODE_SIZE:69,PREFIX_CODE_S TART:42,PREFIX_CODE_END:47,PREFIX_CODE_SIZE:6,TN_URL_PARAM:'__tn__',encodeTN:fun ction(i,j){var k=(i-1)%h.BASE_CODE_SIZE,l=parseInt((i-1)/h.BASE_CODE_SIZE,10);if(i<1||l>h.PREF IX_CODE_SIZE)throw Error('Invalid tracking node: '+i);var m="";if(l>0)m+=String.fromCharCode(l-1+h.PREFIX_CODE_START);m+=String.fromCharC ode(k+h.BASE_CODE_START);if(typeof j!="undefined"&&j>0)m+=String.fromCharCode(48+Math.min(j,10)-1);return m;},decodeTN:function(i){if(i.length===0)return [0];var j=i.charCodeAt(0),k=1,l,m;if(j>=h.PREFIX_CODE_START&&j<=h.PREFIX_CODE_END){if(i .length==1)return [0];m=j-h.PREFIX_CODE_START+1;l=i.charCodeAt(1);k=2;}else{m=0;l=j;}if(l<h.BASE_ CODE_START||l>h.BASE_CODE_END)return [0];var n=m*h.BASE_CODE_SIZE+(l-h.BASE_CODE_START)+1;if(i.length>k&&(i.charAt(k)>='0'&& i.charAt(k)<='9'))return [k+1,[n,parseInt(i.charAt(k),10)+1]];return [k,[n]];},parseTrackingNodeString:function(i){var j=[];while(i.length>0){var k=h.decodeTN(i);if(k.length==1)return [];j.push(k[1]);i=i.substring(k[0]);}return j;},getTrackingInfo:function(i,j){return '{"tn":"'+h.encodeTN(i,j)+'"}';},addDataAttribute:function(i,j,k){if(j===(void 0))return;['data-ft','data-gt'].forEach(function(l){var m;if(i.getAttribute){m=i.getAttribute(l)||"{}";}else if(i.props){m=i.props[l]||"{}";}else return;var n=h.encodeTN(j,k);try{m=JSON.parse(m);if(m.tn&&m.tn===n)return;m.tn=n;if(i.setA ttribute){i.setAttribute(l,JSON.stringify(m));}else if(i.props){i.props[l]=JSON.stringify(m);}else return;}catch(o){}});}};e.exports=h;},null);
__d("PresenceUtil",["CurrentUser","randomInt"],function(a,b,c,d,e,f,g,h){var i=h(0,4294967295)+1;function j(){return i;}function k(){return g.isLoggedInNow();}e.exports={getSessionID:j,hasUserCookie:k};},null);
__d("ReactLayeredComponentMixin",["ExecutionEnvironment","ReactInstanceMap","Rea ctCurrentOwner","React"],function(a,b,c,d,e,f,g,h,i,j){"use strict";var k={componentWillMount:function(){if(g.canUseDOM)this._layersContainer=document. createElement('div');},componentDidMount:function(){this._renderLayersIntoContai ner();},componentDidUpdate:function(){this._renderLayersIntoContainer();},compon entWillUnmount:function(){j.unmountComponentAtNode(this._layersContainer);},_ren derLayersIntoContainer:function(){i.current=h.get(this);var l=this.renderLayers()||{};i.current=null;j.render(j.createElement("div",null,l) ,this._layersContainer);}};e.exports=k;},null);
__d("AbstractTextEditorPlaceholder.Experimental.react",["EditorState","React","c x"],function(a,b,c,d,e,f,g,h,i){var j=h.PropTypes,k=h.createClass({displayName:"AbstractTextEditorPlaceholder",prop Types:{editorState:j.instanceOf(g).isRequired,text:j.string.isRequired},shouldCo mponentUpdate:function(l,m){if(this.props.text!==l.text)return true;var n=this.props.editorState,o=l.editorState,p=n.getSelection(),q=o.getSelection(); return (p.getHasFocus()!==q.getHasFocus());},render:function(){var l=this.props.editorState.getSelection().getHasFocus(),m=(("_5ywb")+(l?' '+"_5ywc":''));return (h.createElement("div",{className:m},this.props.text));}});e.exports=k;},null);
__d("TokenizeUtil",[],function(a,b,c,d,e,f){var g=/[ ]+/g,h=/[^ ]+/g,i=new RegExp(j(),'g');function j(){return '[.,+*?$|#{}()\'\\^\\-\\[\\]\\\\\\/!@%"~=<>_:;'+'\u30fb\u3001\u3002\u3008-\u301 1\u3014-\u301f\uff1a-\uff1f\uff01-\uff0f'+'\uff3b-\uff40\uff5b-\uff65\u2E2E\u061 f\u066a-\u066c\u061b\u060c\u060d'+'\uFD3e\uFD3F\u1801\u0964\u104a\u104b\u2010-\u 2027\u2030-\u205e'+'\u00a1-\u00b1\u00b4-\u00b8\u00ba\u00bb\u00bf]';}var k={},l={a:"\u0430 \u00e0 \u00e1 \u00e2 \u00e3 \u00e4 \u00e5 \u0101",b:"\u0431",c:"\u0446 \u00e7 \u010d",d:"\u0434 \u00f0 \u010f \u0111",e:"\u044d \u0435 \u00e8 \u00e9 \u00ea \u00eb \u011b \u0113",f:"\u0444",g:"\u0433 \u011f \u0123",h:"\u0445 \u0127",i:"\u0438 \u00ec \u00ed \u00ee \u00ef \u0131 \u012b",j:"\u0439",k:"\u043a \u0138 \u0137",l:"\u043b \u013e \u013a \u0140 \u0142 \u013c",m:"\u043c",n:"\u043d \u00f1 \u0148 \u0149 \u014b \u0146",o:"\u043e \u00f8 \u00f6 \u00f5 \u00f4 \u00f3 \u00f2",p:"\u043f",r:"\u0440 \u0159 \u0155",s:"\u0441 \u015f \u0161 \u017f",t:"\u0442 \u0165 \u0167 \u00fe",u:"\u0443 \u044e \u00fc \u00fb \u00fa \u00f9 \u016f \u016b",v:"\u0432",y:"\u044b \u00ff \u00fd",z:"\u0437 \u017e",ae:"\u00e6",oe:"\u0153",ts:"\u0446",ch:"\u0447",ij:"\u0133",sh:"\u0448" ,ss:"\u00df",ya:"\u044f"};for(var m in l){var n=l[m].split(' ');for(var o=0;o<n.length;o++)k[n[o]]=m;}var p={};function q(w){return w?w.replace(i,' '):'';}function r(w){w=w.toLowerCase();var x='',y='';for(var z=w.length;z--;){y=w.charAt(z);x=(k[y]||y)+x;}return x.replace(g,' ');}function s(w){var x=[],y=h.exec(w);while(y){y=y[0];x.push(y);y=h.exec(w);}return x;}function t(w,x){if(!p.hasOwnProperty(w)){var y=r(w),z=q(y);p[w]={value:w,flatValue:y,tokens:s(z),isPrefixQuery:z&&z[z.length -1]!=' '};}if(x&&typeof p[w].sortedTokens=='undefined'){p[w].sortedTokens=p[w].tokens.slice();p[w].sort edTokens.sort(function(aa,ba){return ba.length-aa.length;});}return p[w];}function u(w,x,y){var z=t(x,w=='prefix'),aa=w=='prefix'?z.sortedTokens:z.tokens,ba=t(y).tokens,ca={}, da=z.isPrefixQuery&&w=='query'?aa.length-1:null,ea=function(fa,ga){for(var ha=0;ha<ba.length;++ha){var ia=ba[ha];if(!ca[ha]&&(ia==fa||((w=='query'&&ga===da||w=='prefix')&&ia.indexOf( fa)===0)))return (ca[ha]=true);}return false;};return Boolean(aa.length&&aa.every(ea));}var v={flatten:r,parse:t,getPunctuation:j,isExactMatch:u.bind(null,'exact'),isQuery Match:u.bind(null,'query'),isPrefixMatch:u.bind(null,'prefix'),tokenize:s};e.exp orts=v;},null);
__d("TypeaheadNavigation",[],function(a,b,c,d,e,f){var g={moveUp:function(h,i,j){var k=h.indexOf(i),l=k==-1?h.length-1:k-1;j(l==-1?null:h[l]);},moveDown:function(h, i,j){var k=h.indexOf(i)+1;j(k==h.length?null:h[k]);}};e.exports=g;},null);
__d("UnicodeCJK",[],function(a,b,c,d,e,f){"use strict";var g='a-zA-Z',h='\uFF21-\uFF3A\uFF41-\uFF5A',i=g+h,j='\u3040-\u309F',k='\u30A0-\u3 0FF',l='\u31F0-\u31FF',m='\uFF65-\uFF9F',n=k+l+m,o=j+n,p=[12352,12447],q=[12448, 12543],r=q[0]-p[0],s='\u4E00-\u9FCF',t='\u3400-\u4DBF',u=s+t,v='\uAC00-\uD7AF',w =u+o+v,x=null,y=null,z=null,aa=null;function ba(ja){y=y||new RegExp('['+o+']');return y.test(ja);}function ca(ja){x=x||new RegExp('['+u+']');return x.test(ja);}function da(ja){z=z||new RegExp('['+w+']');return z.test(ja);}function ea(ja){var ka=ja.charCodeAt(0);return String.fromCharCode((ka<p[0]||ka>p[1])?ka:ka+r);}function fa(ja){if(!ba(ja))return ja;return ja.split('').map(ea).join('');}function ga(ja){aa=aa||new RegExp('^'+'['+o+']+'+'['+i+']'+'$');return aa.test(ja);}function ha(ja){if(ga(ja))return ja.substr(0,ja.length-1);return ja;}var ia={hasKana:ba,hasIdeograph:ca,hasIdeoOrSyll:da,hiraganaToKatakana:fa,isKanaWit hTrailingLatin:ga,kanaRemoveTrailingLatin:ha};e.exports=ia;},null);
__d("UnicodeHangulKorean",[],function(a,b,c,d,e,f){"use strict";var g=/[\u3130-\u318F\uAC00-\uD7AF]/;function h(aa){return g.test(aa);}var i=[4352,4353,4522,4354,4524,4525,4355,4356,4357,4528,4529,4530,4531,4532,4533,4 378,4358,4359,4360,4385,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4449,4 450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4 466,4467,4468,4469,4448,4372,4373,4551,4552,4556,4558,4563,4567,4569,4380,4573,4 575,4381,4382,4384,4386,4387,4391,4393,4395,4396,4397,4398,4399,4402,4406,4416,4 423,4428,4593,4594,4439,4440,4441,4484,4485,4488,4497,4498,4500,4510,4513],j=125 93,k=i.length,l=j+k;function m(aa){return String.fromCharCode(i[aa-j]);}var n=4352,o=4449,p=4519,q=44032,r=19,s=21,t=28,u=(s*t),v=(r*u),w=q+v;function x(aa){var ba=aa-q,ca=ba%t;return String.fromCharCode(n+ba/u)+String.fromCharCode(o+(ba%u)/t)+((ca>0)?String.from CharCode(p+ca):'');}function y(aa){if(!h(aa))return aa;var ba=[];for(var ca=0;ca<aa.length;ca++){var da=aa.charAt(ca),ea=da.charCodeAt(0);ba.push((j<=ea&&ea<l)?m(ea):(q<=ea&&ea<w)? x(ea):da);}return ba.join('');}var z={toConjoiningJamo:y};e.exports=z;},null);
__d("UnicodeMatch",["UnicodeHangulKorean","UnicodeCJK","invariant","createObject From","mapObject"],function(a,b,c,d,e,f,g,h,i,j,k){"use strict";var l=['prefix_hangul_conjoining_jamo','prefix_kana_drop_trailing_latin','prefix_ka na_hiragana_to_katakana'];function m(n){this.config=j(l,false);this.setConfigs(n||{});}m.prototype.setConfigs=func tion(n){k(n,function(o,p){return this.setConfig(p,o);}.bind(this),this);};m.prototype.setConfig=function(n,o){i( n in this.config);this.config[n]=o;};m.prototype.prefixMatchPrepare=function(n){if(n ){if(this.config.prefix_hangul_conjoining_jamo)n=g.toConjoiningJamo(n);if(this.c onfig.prefix_kana_drop_trailing_latin)n=h.kanaRemoveTrailingLatin(n);if(this.con fig.prefix_kana_hiragana_to_katakana)n=h.hiraganaToKatakana(n);}return n;};m.prototype.prefixMatch=function(n,o){n=this.prefixMatchPrepare(n);o=this.p refixMatchPrepare(o);return n.startsWith(o);};e.exports=m;},null);
__d("LitestandStoryInsertionStatus",["ArbiterMixin","copyProperties"],function(a ,b,c,d,e,f,g,h){var i='check',j={registerBlocker:function(k){return j.subscribe(i,function(l,m){if(m.can_insert&&k())m.can_insert=false;});},canIns ert:function(){var k={can_insert:true};j.inform(i,k);return k.can_insert;}};h(j,g);e.exports=j;},null);
__d("LitestandClassicPlaceHolders",["Arbiter"],function(a,b,c,d,e,f,g){var h={},i={register:function(j,k){h[j]=k;},destroy:function(j){var k=h[j];if(k){k.parentNode.removeChild(k);delete h[j];}},subscribeToDestroy:function(j){g.subscribe('feedAdsInvalidation/done',f unction(){this.destroy(j);}.bind(this));}};e.exports=i;},null);
__d("DataSource",["ArbiterMixin","AsyncRequest","TokenizeUtil","UnicodeMatch","c opyProperties","createArrayFromMixed","createObjectFrom","emptyFunction","mixin" ],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){var p=o(g);for(var q in p)if(p.hasOwnProperty(q))s[q]=p[q];var r=p===null?null:p.prototype;s.prototype=Object.create(r);s.prototype.constructo r=s;s.__superConstructor__=p;function s(t){"use strict";this._maxResults=t.maxResults||10;this.token=t.token;this.queryData=t.q ueryData||{};this.queryEndpoint=t.queryEndpoint||'';this.bootstrapData=t.bootstr apData||{};this.bootstrapEndpoint=t.bootstrapEndpoint||'';this._indexedFields=t. indexedFields||['text','tokens'];this._titleFields=t.titleFields||[];this._alway sPrefixMatch=t.alwaysPrefixMatch||false;this._deduplicationKey=t.deduplicationKe y||null;this._enabledLocalCache=(t.enabledLocalCache!=null)?t.enabledLocalCache: true;this._enabledQueryCache=(t.enabledQueryCache!=null)?t.enabledQueryCache:tru e;this._disableAllCaches=(t.disableAllCaches!=null)?t.disableAllCaches:false;thi s._enabledMergeUids=(t.enabledMergeUids!=null)?t.enabledMergeUids:false;this._qu eryExactMatch=t.queryExactMatch||false;this._acrossTransitions=t.acrossTransitio ns||false;this._minQueryLength=t.minQueryLength||-1;this._enforceNewRequestIDUpo nFetch=t.enforceNewRequestIDUponFetch||false;this._minExactMatchLength=4;this._f ilters=[];this.setExclusions(t.exclusions);this.backendUnicodeMatch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});this.cacheUnicodeMa tch=new j({prefix_kana_hiragana_to_katakana:!!t.kanaNormalization});}s.prototype.init=f unction(){"use strict";this.init=n;this._fields=m(this._indexedFields);this._activeQueries=0;t his.dirty();};s.prototype.dirty=function(){"use strict";this.value='';this._bootstrapped=false;this._bootstrapping=false;this._ data={};this.localCache={};this.queryCache={};this.queryIDs={};this.inform('dirt y',{});return this;};s.prototype.bootstrap=function(){"use strict";if(this._bootstrapped)return;this.bootstrapWithoutToken();this._bootstr apped=true;this._bootstrapping=true;this.inform('bootstrap',{bootstrapping:true} );};s.prototype.bootstrapWithoutToken=function(){"use strict";this.fetch(this.bootstrapEndpoint,this.bootstrapData,{bootstrap:true,to ken:this.token});};s.prototype.bootstrapWithToken=function(){"use strict";var t=k({},this.bootstrapData);t.token=this.token;this.fetch(this.bootstrapEndpoint ,t,{bootstrap:true,replaceCache:true,value:''});};s.prototype.query=function(t,u ,v,w){"use strict";this.inform('beforeQuery',{value:t,local_only:u,exclusions:v,time_waite d:w});var x=Date.now();if(this._disableAllCaches){this.dirty();if(!t){this.bootstrap();re turn true;}}else if(!this._enabledQueryCache){this.queryCache={};this.queryIDs={};}var y=this.buildUids(t,[],v),z=this.respond(t,y);this.value=t;this.inform('query',{ value:t,results:z});var aa=this.tokenizeBackend(t).flatValue;if(u||!aa||this._isQueryTooShort(aa)||!thi s.queryEndpoint||this.getQueryCache().hasOwnProperty(aa)||!this.shouldFetchMoreR esults(z)){this.inform('logPerformanceTiming',{field:'cache_keypress_render',val ue:Date.now()-x});this.inform('completeCacheFetch');return false;}this.inform('queryEndpoint',{value:t});this.fetch(this.queryEndpoint,thi s.getQueryData(t,y),{value:t,exclusions:v});return true;};s.prototype._isQueryTooShort=function(t){"use strict";return (t.length<this._minQueryLength);};s.prototype._tokenize=function(t,u){"use strict";return i.parse(t,u);};s.prototype.tokenizeBackend=function(t,u){"use strict";t=this.backendUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.tokenizeCache=function(t,u){"use strict";t=this.cacheUnicodeMatch.prefixMatchPrepare(t);return this._tokenize(t,u);};s.prototype.shouldFetchMoreResults=function(t){"use strict";return t.length<this._maxResults;};s.prototype.getQueryData=function(t,u){"use strict";var v=k({value:t},this.queryData||{});u=u||[];if(u.length)v.existing_ids=u.join(',' );if(this._bootstrapping)v.bsp=true;return v;};s.prototype.setQueryData=function(t,u){"use strict";if(u)this.queryData={};k(this.queryData,t);return this;};s.prototype.setBootstrapData=function(t,u){"use strict";if(u)this.bootstrapData={};k(this.bootstrapData,t);return this;};s.prototype.getExclusions=function(){"use strict";return l(this._exclusions);};s.prototype.setExclusions=function(t){"use strict";this._exclusions=t?t.map(String):[];};s.prototype.addFilter=function(t) {"use strict";var u=this._filters;u.push(t);return {remove:function(){u.splice(u.indexOf(t),1);}};};s.prototype.clearFilters=funct ion(){"use strict";this._filters=[];};s.prototype.notify=function(t,u,v,w){"use strict";var x=this.buildData(u);this.inform('notify',{value:t,results:x,isAsync:!!v,rootid: w});return x;};s.prototype.respond=function(t,u,v){"use strict";var w=this.buildData(u);this.inform('respond',{value:t,results:w,isAsync:!!v});retu rn w;};s.prototype.respondWithResults=function(t,u,v){"use strict";this.inform('respond',{value:t,results:u,isAsync:!!v});return u;};s.prototype.fetch=function(t,u,v){"use strict";if(!t)return;if(this._enforceNewRequestIDUponFetch||u.request_id===(voi d 0)){u.request_id=this._guid();v.request_id=u.request_id;}var w=new h().setURI(t).setData(u).setMethod('GET').setReadOnly(true).setAllowCrossPageTr ansition(this._acrossTransitions).setHandler(function(x){this.fetchHandler(x,v|| {});}.bind(this));if(t===this.queryEndpoint)w.setFinallyHandler(function(){this. _activeQueries--;if(!this._activeQueries)this.inform('activity',{activity:false} );}.bind(this));w.setErrorHandler(this.asyncErrorHandler);this.inform('beforeFet ch',{request:w,fetch_context:v});w.send();if(t===this.queryEndpoint){if(!this._a ctiveQueries)this.inform('activity',{activity:true});this._activeQueries++;}};s. prototype.fetchHandler=function(t,u){"use strict";var v=u.value,w=u.exclusions;if(t.getPayload().requestID!==(void 0))u.request_id=t.getPayload().requestID;var x=this.getQueryIDs(),y=this.tokenizeBackend(v||'').flatValue;x[y]=u.request_id; if(!v&&u.replaceCache)this.localCache={};this.inform('buildQueryCache',{});var z=t.getPayload().entries;this.addEntries(z,v);this.inform('fetchComplete',{entr ies:z,response:t,value:v,fetch_context:u});var aa=(!v&&this.value)?this.value:v;this.respond(aa,this.buildUids(aa,[],w),true); if(!v){if(this._bootstrapping){this._bootstrapping=false;this.inform('bootstrap' ,{bootstrapping:false});}if(u.token&&t.getPayload().token!==u.token)this.bootstr apWithToken();}};s.prototype.addEntries=function(t,u){"use strict";var v=this.processEntries(l(t||[]),u),w=v;if(this._enabledMergeUids)w=this.buildUid s(u,v);if(u){var x=this.getQueryCache(),y=this.tokenizeBackend(u).flatValue;x[y]=w;}else this.fillCache(w);};s.prototype.processEntries=function(t,u){"use strict";return t.map(function(v,w){var x=(v.uid=v.uid+''),y=this.getEntry(x);if(!y){y=v;y.query=u;y.bootstrapped=!u;th is.setEntry(x,y);}else k(y,v);y.index===(void 0)&&(y.index=w);return x;},this);};s.prototype.getAllEntries=function(){"use strict";return this._data||{};};s.prototype.getEntry=function(t){"use strict";return this._data[t]||null;};s.prototype.setEntry=function(t,u){"use strict";this._data[t]=u;};s.prototype.fillCache=function(t){"use strict";if(!this._enabledLocalCache)return;var u=this.localCache;t.forEach(function(v){var w=this.getEntry(v);if(!w)return;var x=this.tokenizeCache(this.getTextToIndex(w)).tokens;for(var y=0,z=x.length;y<z;++y){var aa=x[y];if(!u.hasOwnProperty(aa))u[aa]={};u[aa][v]=true;}},this);};s.prototype. getTextToIndex=function(t){"use strict";if(t.textToIndex&&!t.needs_update)return t.textToIndex;t.needs_update=false;t.textToIndex=this.getTextToIndexFromFields( t,this._indexedFields);return t.textToIndex;};s.prototype.getTextToIndexFromFields=function(t,u){"use strict";var v=[];for(var w=0;w<u.length;++w){var x=t[u[w]];if(x)v.push(x.join?x.join(' '):x);}return v.join(' ');};s.prototype.mergeUids=function(t,u,v,w){"use strict";this.inform('mergeUids',{local_uids:t,query_uids:u,new_uids:v,value:w}) ;var x=function(y,z){var aa=this.getEntry(y),ba=this.getEntry(z);if(aa.extended_match!==ba.extended_matc h)return aa.extended_match?1:-1;if(aa.index!==ba.index)return aa.index-ba.index;if(aa.text.length!==ba.text.length)return aa.text.length-ba.text.length;return aa.uid<ba.uid;}.bind(this);this._checkExtendedMatch(w,t);return this.deduplicateByKey(t.sort(x).concat(u,v));};s.prototype._checkExtendedMatch= function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;for(var w=0;w<u.length;++w){var x=this.getEntry(u[w]);x.extended_match=x.tokens?!v(t,x.text):false;}};s.prototy pe.buildUids=function(t,u,v){"use strict";if(!u)u=[];if(!t)return u;if(!v)v=[];var w=this.buildCacheResults(t,this.localCache),x=this.buildQueryResults(t),y=this. mergeUids(w,x,u,t),z=m(v.concat(this._exclusions)),aa=y.filter(function(ba){if(z .hasOwnProperty(ba)||!this.getEntry(ba))return false;for(var ca=0;ca<this._filters.length;++ca)if(!this._filters[ca](this.getEntry(ba),t))re turn false;return (z[ba]=true);},this);return this.uidsIncludingExact(t,aa);};s.prototype.uidsIncludingExact=function(t,u){"u se strict";var v=u.length;if(t.length<this._minExactMatchLength||v<=this._maxResults)return u;for(var w=0;w<v;++w){var x=this.getEntry(u[w]);x.text_lower||(x.text_lower=x.text.toLowerCase());if(x.te xt_lower===this.tokenizeCache(t).flatValue){if(w>=this._maxResults){var y=u.splice(w,1)[0];u.splice(this._maxResults-1,0,y);}break;}}return u;};s.prototype.buildData=function(t){"use strict";var u=[],v=Math.min(t.length,this._maxResults);for(var w=0;w<v;++w)u.push(this.getEntry(t[w]));return u;};s.prototype.findBestPreviousQuery=function(t,u){"use strict";var v=0,w=null;if(this._queryExactMatch)return u.hasOwnProperty(t)?t:null;for(var x in u)if(t.indexOf(x)===0&&x.length>v){v=x.length;w=x;}return w;};s.prototype.findQueryCache=function(t){"use strict";var u=this.findBestPreviousQuery(t,this.getQueryCache());return this.getQueryCache()[u]||[];};s.prototype.buildQueryResults=function(t){"use strict";var u=this.tokenizeBackend(t).flatValue,v=this.findQueryCache(u);if(this.getQueryCa che().hasOwnProperty(u))return v;var w=this.filterQueryResults(u,v);return w;};s.prototype.filterQueryResults=function(t,u){"use strict";var v=this._alwaysPrefixMatch?i.isPrefixMatch:i.isQueryMatch;return u.filter(function(w){return v(t,this.getTextToIndex(this.getEntry(w)));},this);};s.prototype.buildCacheResu lts=function(t,u){"use strict";var v=this.tokenizeCache(t,this._alwaysPrefixMatch),w=this._alwaysPrefixMatch?v.sor tedTokens:v.tokens,x=w.length,y=v.isPrefixQuery?x-1:null,z={},aa={},ba={},ca=[], da=false,ea={},fa=0;for(var ga=0;ga<x;++ga){var ha=w[ga];if(!ea.hasOwnProperty(ha)){fa++;ea[ha]=true;}else continue;for(var ia in u)if((!z.hasOwnProperty(ia)&&ia===ha)||((this._alwaysPrefixMatch||y===ga)&&this .cacheUnicodeMatch.prefixMatch(ia,ha))){if(ia===ha){if(aa.hasOwnProperty(ia))da= true;z[ia]=true;}else{if(z.hasOwnProperty(ia)||aa.hasOwnProperty(ia))da=true;aa[ ia]=true;}for(var ja in u[ia])if(ga===0||(ba.hasOwnProperty(ja)&&ba[ja]==fa-1))ba[ja]=fa;}}for(var ka in ba)if(ba[ka]==fa)ca.push(ka);if(da||fa<x)ca=this.filterQueryResults(t,ca);if(th is._titleFields&&this._titleFields.length>0)ca=this.filterNonTitleMatchQueryResu lts(t,ca);return ca;};s.prototype.filterNonTitleMatchQueryResults=function(t,u){"use strict";return u.filter(function(v){var w=this.tokenizeCache(t),x=w.tokens.length;if(x===0)return true;var y=this.getTitleTerms(this.getEntry(v)),z=w.tokens[0];return ((x===1)||this._alwaysPrefixMatch)?(i.isPrefixMatch(z,y)||this.cacheUnicodeMatc h.prefixMatch(y,z)):i.isQueryMatch(z,y);},this);};s.prototype.getTitleTerms=func tion(t){"use strict";if(!t.titleToIndex)t.titleToIndex=this.getTextToIndexFromFields(t,this. _titleFields);return t.titleToIndex;};s.prototype.deduplicateByKey=function(t){"use strict";if(!this._deduplicationKey)return t;var u=m(t.map(this._getDeduplicationKey.bind(this)),t);return t.filter(function(v){return u[this._getDeduplicationKey(v)]==v;}.bind(this));};s.prototype._getDeduplicatio nKey=function(t){"use strict";var u=this.getEntry(t);if(u[this._deduplicationKey]){return u[this._deduplicationKey]+'';}else return '__'+t+'__';};s.prototype.getQueryCache=function(){"use strict";return this.queryCache;};s.prototype.getQueryIDs=function(){"use strict";return this.queryIDs;};s.prototype.setMaxResults=function(t){"use strict";this._maxResults=t;this.value&&this.respond(this.value,this.buildUids(t his.value));};s.prototype.updateToken=function(t){"use strict";this.token=t;this.dirty();return this;};s.prototype._guid=function(){"use strict";var t=Date.now(),u='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g,function( v){var w=Math.floor((t+Math.random()*16)%16);t=Math.floor(t/16);var x=(v=='x'?w:(w&7|8)).toString(16);return x;});return u;};k(s.prototype,{events:['bootstrap','query','respond'],asyncErrorHandler:n}) ;e.exports=s;},null);
__d("MultiBootstrapDataSource",["DataSource"],function(a,b,c,d,e,f,g){for(var h in g)if(g.hasOwnProperty(h))j[h]=g[h];var i=g===null?null:g.prototype;j.prototype=Object.create(i);j.prototype.constructo r=j;j.__superConstructor__=g;function j(k){"use strict";this._bootstrapEndpoints=k.bootstrapEndpoints;g.call(this,k);}j.prototy pe.bootstrapWithoutToken=function(){"use strict";for(var k=0;k<this._bootstrapEndpoints.length;k++)this.fetch(this._bootstrapEndpoints[k ].endpoint,this._bootstrapEndpoints[k].data||{},{bootstrap:true});};e.exports=j; },null);
__d("TabbableElements",["Style","createArrayFromMixed"],function(a,b,c,d,e,f,g,h ){function i(l){if(l.tabIndex>0||(l.tabIndex===0&&l.getAttribute('tabIndex')!==null))retur n true;switch(l.tagName){case "A":return l.href&&l.rel!="ignore";case "INPUT":return l.type!="hidden"&&l.type!="file"&&!l.disabled;case "BUTTON":case "SELECT":case "TEXTAREA":return !l.disabled;}return false;}function j(l){if(l.offsetHeight===0&&l.offsetWidth===0)return false;while(l!==document&&g.get(l,'visibility')!='hidden')l=l.parentNode;return l===document;}var k={find:function(l){var m=h(l.getElementsByTagName("*"));return m.filter(k.isTabbable);},isTabbable:function(l){return i(l)&&j(l);}};e.exports=k;},null);
__d("tidyEvent",["Run"],function(a,b,c,d,e,f,g){var h=[];function i(){while(h.length){var l=h.shift();l&&l.remove?l.remove():l.unsubscribe();}}function j(l){var m;function n(){if(!m)return;m.apply(l,arguments);m=null;l=null;}if(l.remove){m=l.remove;l. remove=n;}else{m=l.unsubscribe;l.unsubscribe=n;}return l;}function k(l){if(!h.length)g.onLeave(i);if(Array.isArray(l)){for(var m=0;m<l.length;m++)h.push(j(l[m]));}else h.push(j(l));return l;}e.exports=k;},null);
__d("Toggler",["Arbiter","ArbiterMixin","ContextualThing","CSS","DataStore","DOM ","DOMQuery","Event","Focus","Keys","TabbableElements","arrayContains","copyProp erties","createArrayFromMixed","cx","emptyFunction","ge","getContextualParent"," getObjectValues","setImmediate","mixin"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o, p,q,r,s,t,u,v,w,x,y,z,aa){var ba=[],ca,da=false;function ea(){if(!da){da=true;z(function(){da=false;});}}function fa(){fa=v;n.listen(document.documentElement,'click',function(event){if(da)retur n;var ma=event.getTarget();ba.forEach(function(na){na.clickedTarget=ma;na.active&&!na .sticky&&!i.containsIncludingLayers(na.getActive(),ma)&&!na.inTargetFlyout(ma)&& na.inActiveDialog()&&!na.isIgnoredByModalLayer(ma)&&na.hide();});},n.Priority.UR GENT);}var ga=aa(h);for(var ha in ga)if(ga.hasOwnProperty(ha))ja[ha]=ga[ha];var ia=ga===null?null:ga.prototype;ja.prototype=Object.create(ia);ja.prototype.cons tructor=ja;ja.__superConstructor__=ga;function ja(){"use strict";this.active=null;this.togglers={};this.setSticky(false);ba.push(this);t his.subscribe(['show','hide'],ja.inform.bind(ja));return fa();}ja.prototype.show=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(ma!==oa){oa&&na.hide();na.active=ma;j.addClass(m a,'openToggler');var pa=l.scry(ma,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target '))j.removeClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');var qa=m.scry(ma,'.uiToggleFlyout')[0];if(qa){var ra=q.find(qa)[0]||qa;if(ra.tabIndex==-1)ra.tabIndex=0;o.setWithoutOutline(ra);} if(pa.length>0){l.appendContent(ma,na.getToggler('next'));l.prependContent(ma,na .getToggler('prev'));}n.listen(ma,'keydown',function(event){if(n.getKeyCode(even t)===p.ESC)if(na.isShown()){var sa=l.scry(ma,'a[rel="toggle"]')[0];sa&&sa.focus();na.hide();}});na.inform('show ',na);}};ja.prototype.hide=function(ma){"use strict";var na=ka(this,ma),oa=na.active;if(oa&&(!ma||ma===oa)){j.removeClass(oa,'openToggle r');var pa=l.scry(oa,'a[rel="toggle"]');if(pa.length>0&&pa[0].getAttribute('data-target '))j.addClass(w(pa[0].getAttribute('data-target')),'toggleTargetClosed');y(na.to gglers).forEach(l.remove);na.inform('hide',na);na.active=null;}};ja.prototype.to ggle=function(ma){"use strict";var na=ka(this,ma);if(na.active===ma){na.hide();}else na.show(ma);ea();};ja.prototype.getActive=function(){"use strict";return ka(this).active;};ja.prototype.isShown=function(){"use strict";return ka(this).active&&j.hasClass(ka(this).active,'openToggler');};ja.prototype.inTar getFlyout=function(ma){"use strict";var na=la(this.getActive());return na&&i.containsIncludingLayers(na,ma);};ja.prototype.inActiveDialog=function(){" use strict";var ma=a.Dialog&&a.Dialog.getCurrent();return !ma||l.contains(ma.getRoot(),this.getActive());};ja.prototype.isIgnoredByModalL ayer=function(ma){"use strict";var na=!!i.parentByClass(ma,"_3qw"),oa=!!i.parentByClass(this.getActive(),"_3qw");r eturn na&&!oa;};ja.prototype.getToggler=function(ma){"use strict";var na=ka(this);if(!na.togglers[ma]){na.togglers[ma]=l.create('button',{className:' hideToggler',onfocus:function(){var oa=l.scry(na.active,'a[rel="toggle"]')[0];oa&&oa.focus();na.hide();},style:{rig ht:ma==='next'?'0':''}});na.togglers[ma].setAttribute('type','button');}return this.togglers[ma];};ja.prototype.setSticky=function(ma){"use strict";var na=ka(this);ma=ma!==false;if(ma!==na.sticky){na.sticky=ma;if(ma){na.$Toggler0&& na.$Toggler0.unsubscribe();}else na.$Toggler0=g.subscribe('pre_page_transition',na.hide.bind(na,null));}return na;};ja.prototype.setPrePageTransitionCallback=function(ma){"use strict";var na=ka(this);na.$Toggler0&&na.$Toggler0.unsubscribe();na.$Toggler0=g.subscribe(' pre_page_transition',ma);};ja.bootstrap=function(ma){"use strict";var na=ma.parentNode;ja.getInstance(na).toggle(na);};ja.createInstance=function(ma) {"use strict";var na=new ja().setSticky(true);k.set(ma,'toggler',na);return na;};ja.destroyInstance=function(ma){"use strict";k.remove(ma,'toggler');};ja.getInstance=function(ma){"use strict";while(ma){var na=k.get(ma,'toggler');if(na)return na;if(j.hasClass(ma,'uiToggleContext'))return ja.createInstance(ma);ma=x(ma);}return (ca=ca||new ja());};ja.listen=function(ma,na,oa){"use strict";return ja.subscribe(t(ma),function(pa,qa){if(qa.getActive()===na)return oa(pa,qa);});};s(ja,ja.prototype);s(ja,{subscribe:(function(ma){return function(na,oa){na=t(na);if(r(na,'show'))ba.forEach(function(pa){if(pa.getActiv e())setTimeout(oa.bind(null,'show',pa),0);});return ma(na,oa);};})(ja.subscribe.bind(ja))});function ka(ma,na){if(ma instanceof ja)return ma;return ja.getInstance(na);}function la(ma){var na=l.scry(ma,'a[rel="toggle"]');if(na.length>0&&na[0].getAttribute('data-target '))return w(na[0].getAttribute('data-target'));}e.exports=ja;},null);
__d("onEnclosingPageletDestroy",["Arbiter","DOMQuery"],function(a,b,c,d,e,f,g,h) {function i(j,k){var l=g.subscribe('pagelet/destroy',function(m,n){if(h.contains(n.root,j)){l.unsubs cribe();k();}});return l;}e.exports=i;},null);
__d("FbFeedHighlight",["JSXDOM","CSS","DOM","DOMScroll","cx"],function(a,b,c,d,e ,f,g,h,i,j,k){var l=1000,m=1000,n=null;function o(){return (g.div({className:"_1usz"},g.div({className:"_1us-"}),g.div({className:"_1us_"} ),g.div({className:"_1ut0"}),g.div({className:"_1ut1"})));}var p={highlightAndScrollTo:function(q){p.highlight(q);p.scrollTo(q);},highlightSin gle:function(q){var r=o();i.appendContent(q,r);setTimeout(function(){if(n)i.remove(n);n=r;h.addClas s(q,"_1ut2");},0);setTimeout(function(){h.removeClass(q,"_1ut2");setTimeout(func tion(){i.remove(r);if(r==n)n=null;},l+m);},l+m);},highlight:function(q){var r=o();i.appendContent(q,r);setTimeout(h.addClass.bind(null,q,"_1ut2"),0);setTim eout(function(){h.removeClass(q,"_1ut2");setTimeout(i.remove.bind(null,r),l+l);} ,l+m);},scrollTo:function(q){setTimeout(j.scrollTo.bind(null,q),0);}};e.exports= p;},null);
__d("XNotificationInlineStoryInsertControllerURIBuilder",["XControllerURIBuilder "],function(a,b,c,d,e,f){e.exports=b("XControllerURIBuilder").create("\/desktop_ notifications\/insert_story\/",{uri:{type:"String",required:true},uri_path:{type :"String",required:true},first_insert:{type:"Bool"},notif_id:{type:"String",requ ired:true}});},null);
__d("InlineStoryInsert",["Animation","Arbiter","AsyncRequest","csx","DOM","DOMQu ery","DOMScroll","FbFeedHighlight","ge","XNotificationInlineStoryInsertControlle rURIBuilder","Toggler","$"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){var s=null,t={insertStory:function(u){q.hide(r("fbNotificationsJewel"));var v=r("pagelet_composer");g.insert(v,u,k.insertAfter);s=l.scry(r("stream_pagelet" ),"._2dt8")[0];var w=l.scry(s,"._2fx2")[0],x=l.scry(u,"._2fx3")[0];h.subscribeOnce('notifStory/ufi Loaded',function(){t.scrollToHeaderandHighlightStory(w,x);}.bind(this));},prepen dStory:function(u){q.hide(r("fbNotificationsJewel"));s=l.scry(r("stream_pagelet" ),"._2dt8")[0];var v=l.scry(s,"._2fx2")[0],w=l.scry(u,"._2fx3")[0];t.dedupe(s,"._2fx4",u);g.insert (v,u,k.insertAfter);h.subscribeOnce('notifStory/ufiLoaded',function(){t.scrollTo HeaderandHighlightStory(v,w);}.bind(this));},scrollToHeaderandHighlightStory:fun ction(u,v){n.highlight(v);m.scrollTo(u);h.inform('inlineStory/insertLoaded');},g otoPermalink:function(u){window.open(u,'_self');},stopLoadingAndFallback:functio n(u){window.open(u,'_self');h.inform('inlineStory/insertLoaded');},requestStory: function(u,v,w,x){h.subscribeOnce('notifStory/ufiLoaded',function(){t.setComment Focus();}.bind(this));var y=new p().setString('uri',u).setString('uri_path',v).setBool('first_insert',w).setStr ing('notif_id',x).getURI();new i().setURI(y).send();},setCommentFocus:function(){var u=k.scry(s,'textarea');if(u.length>0)u[0].focus();},dedupe:function(u,v,w){var x=l.scry(u,v);for(var y=0;y<x.length;y++)if(x[y].id===w.id){k.remove(x[y]);return;}},_insert:function (u,v,w){var x=l.scry(r("stream_pagelet"),"._2fx4").length===0;t.requestStory(u,v,x,w);},_is InFeed:function(){if(!o("pagelet_composer"))return false;return true;},_notifStoryUFI:function(u){if(!t._isInFeed())return false;var v=null,w=null;v=l.scry(r("stream_pagelet"),"._2dt8");if(v.length>0){w=v[0];if(l .contains(w,u))return true;}return false;}};e.exports=t;},null);
__d("SnowflakePermalinkUtils",["URI"],function(a,b,c,d,e,f,g){var h=/\/[^/]+\/(albums\/([^/]+)|posts\/([a-zA-Z]+[^/]+))\/([^/]+\/)?/,i=/\/[^/]+\/ (albums|posts)\/([^/]+)\/([^/]+\/)?/,j={isPermalinkURI:function(k){k=g(k);return h.test(k.getPath());},parseURI:function(k){if(!this.isPermalinkURI(k))return {};k=g(k);var l=k.getPath().match(i);return {setToken:l[2],entIdentifierToken:l[3],photoID:k.getQueryData().photo_id};}};e. exports=j;},null);
__d("Sticker.react",["Arbiter","React","StickerConfig","StickerConstants","empty Function","getElementPosition","getObjectValues"],function(a,b,c,d,e,f,g,h,i,j,k ,l,m){'use strict';var n=83,o=5000,p=10,q={CLICK:'click',HOVER:'hover',LOAD_AND_HOVER:'load_and_hover' },r=h.createClass({displayName:"Sticker",propTypes:{animationTrigger:h.PropTypes .oneOf(m(q)),frameCount:h.PropTypes.number.isRequired,frameRate:h.PropTypes.numb er,framesPerCol:h.PropTypes.number.isRequired,framesPerRow:h.PropTypes.number.is Required,onStickerClick:h.PropTypes.func,packID:h.PropTypes.string,sourceURI:h.P ropTypes.string.isRequired,sourceWidth:h.PropTypes.number.isRequired,sourceHeigh t:h.PropTypes.number.isRequired,spriteURI:h.PropTypes.string,stickerID:h.PropTyp es.string,subscribedThreadID:h.PropTypes.string},getInitialState:function(){retu rn {index:0,hasAnimated:false,unsubscribeID:null};},getDefaultProps:function(){ret urn {frameRate:n,onStickerClick:k,packID:null,shown:false};},componentDidMount:func tion(){this._stopIntervalID=0;if(this.props.animationTrigger===q.LOAD_AND_HOVER& &this.props.frameCount>1&&this.props.spriteURI)this.startAnimation();if(this.pro ps.subscribedThreadID&&this.props.frameCount>1){var s=g.subscribe(this.props.subscribedThreadID,function(t,u){this.isScrolledIntoVi ew(u.scrollTop,u.viewHeight,u.top);}.bind(this));this.setState({unsubscribeID:s} );}},componentDidUpdate:function(s){if(i.AutoAnimateStickerTray&&!s.shown&&this. props.shown)this.startAnimation();},componentWillUnmount:function(){if(this.stat e.unsubscribeID)g.unsubscribe(this.state.unsubscribeID);if(this.isAnimating())cl earInterval(this._stopIntervalID);},isAnimating:function(){return !!this._stopIntervalID;},getWidth:function(){return Math.floor(this.props.sourceWidth);},getHeight:function(){return Math.floor(this.props.sourceHeight);},preloadSprite:function(){var s=new Image();s.onload=function(){if(this.isMounted()&&!this.state.hasAnimated){this. setState({hasAnimated:true});this._stopIntervalID=setInterval(this.incrementFram eIndex,this.props.frameRate);}}.bind(this);if(i.ChatPaddedAnimatedStickerGK&&thi s.props.paddedSpriteURI){s.src=this.props.paddedSpriteURI;}else s.src=this.props.spriteURI;},isScrolledIntoView:function(s,t,u){var v=l(this.getDOMNode()),w=s+v.y-u,x=s+t,y=w+v.height;if(this.props.frameCount>1& &!this.state.hasAnimated&&y-p<=x&&w+p>=s)this.startAnimation();},startAnimation: function(){if(!this.state.hasAnimated&&this.props.spriteURI){this.preloadSprite( );}else ifI didn't read the post - just the title - puk and pin for the sim card? That is a carrier feature - contact her carrier and see what they say.
-
Bitlocker with TPM and PIN testing?
Good day all,
We are about to deploy 10 Surface Pro 3's running Windows 8.1 Enterprise x64. We have enabled the TPM, enabled "Allow Enhanced PINS for Startup", "Pre-boot Keyboard" and turned on Bitlocker through the gui which recommended setting
a PIN which I did.
Everything seems to work as it should, how can I be convinced TPM and PIN are working together? I seem to be able to punch into Bitlocker many bad passwords without warning or asking me to reboot which is does for all other laptops without tpm.
1. How many bad password attempts do I get with TPM by default before lockout?
2. Where is my *.tpm recovery key?
3. Why when the TPM locks out can I still gain entry by typing in the Bitlocker PIN (not recovery password)
4. I want TPM to lockout after 5 incorrect attempts.
To test the TPM working I disabled the TPM in the BIOS and on next reboot Bitlocker asked for the Recovery Password which to me proves Bitlocker private encryption keys are safely held in the TPM. Is this safe to presume TPM is working?
here is the output from manage-bde and get-tpm status
Size: 59.11 GB
BitLocker Version: 2.0
Conversion Status: Fully Encrypted
Percentage Encrypted: 100.0%
Encryption Method: AES 128
Protection Status: Protection On
Lock Status: Unlocked
Identification Field: Unknown
Key Protectors:
TPM And PIN
Numerical Password
TpmPresent : True
TpmReady : True
ManufacturerId : 1229346816
ManufacturerVersion : 5.0
ManagedAuthLevel : Full
OwnerAuth : u2uAKH0Sr+d98s+oGXLLU8DHUuc=
OwnerClearDisabled : True
AutoProvisioning : Enabled
LockedOut : False
SelfTest : {}Hi Paddy,
"1. How many bad password attempts do I get with TPM by default before lockout?"
It depends on the the TPM chips.
"Some TPM chips may not store failed attempts over time. Other TPM chips may store every failed attempt indefinitely. Therefore, some users may experience increasingly longer delays when they mistype an authorization value that is sent to the TPM"
"4.I want TPM to lockout after 5 incorrect attempts."
We can set the group policy "Standard User Individual Lockout Threshold " in this path (Check the detailed information of this policy):
Computer Configuration\Administrative Templates\System\Trusted Platform Module Services\
Here is a link for reference("About TPM lockout" part and "Use Group Policy to manage TPM lockout settings"part ):
Manage TPM Lockout
https://technet.microsoft.com/en-us/library/dn466535.aspx
"2. Where is my *.tpm recovery key?"
When we set owner of the TPM ,we will be given a chance to save the TPM passowrd .
And when the BitLocker recovery key is saved to a file, BitLocker also saves a TPM owner password file (.tpm) with the TPM owner password hash value.We also can save them to the AD (Check the group policy in the same path as before). Have you tried to save
the recovery keys to a external media ?
Here are links for reference:
Reset the TPM Lockout (Check the first part)
https://technet.microsoft.com/en-us/library/dd851452.aspx?f=255&MSPPError=-2147217396
Windows Trusted Platform Module Management Step-by-Step Guide(Check "Step 2: Set ownership of the TPM" part )
https://technet.microsoft.com/pt-pt/library/cc749022%28WS.10%29.aspx?f=255&MSPPError=-2147217396
"3. Why when the TPM locks out can I still gain entry by typing in the Bitlocker PIN (not recovery password)"
When the TPM is locked out, it is also possible that the user will enter the correct PIN, but the TPM will respond as if the incorrect PIN was entered for a period of time.
Check the "When should I reset the TPM lockout" part .
Reset the TPM Lockout
https://technet.microsoft.com/en-us/library/dd851452.aspx?f=255&MSPPError=-2147217396
" Is this safe to presume TPM is working?"
From the output of the command line ,we can get the information that the TPM is working .It is not recommended to disable the TPM when the data is encrypted with TPM .
Best regards -
New Barlclaycard rewards going to be chip and pin?
So now that we know that the rewards card is going to be available with a chip I sent them a message to see when I can get it. This is part of their response: ----------------------------------------------------------------------------------------------------------------------------------------------------Thank you for contacting us regarding your Barclaycard Rewards MasterCard. We can certainly address your concern regarding the new card on your account.
We are pleased to inform that your account is now eligible for the chip-enabled card and will be requested as soon as it becomes available for distribution. Note that this card has a new expiration date with same account number. Be reminded that you should provide the new expiration date to any merchant set up with recurring payments. Once mailed, please allow 7 to 10 business days to be received.
Upon receipt of the card, you may activate it by logging into your account online, contacting us by phone to speak with a representative, or using our automated phone system. Please be advised that activating your card online, you'll be prompted to create a PIN and thus won't need for you to know the assigned PIN to customize it. Activation of your PIN won't take effect until you use your card at a chip-card terminal with a cashier. Your first transaction with a chip-card terminal will activate the new PIN and you'll then be able to use the chip-and-PIN feature at self-service terminals. ---------------------------------------------------------------------------------------------------------------------------------------------------- Does that sound like it's going to be chip and pin instead of chip and signature?seezar wrote:
So now that we know that the rewards card is going to be available with a chip I sent them a message to see when I can get it. This is part of their response: ----------------------------------------------------------------------------------------------------------------------------------------------------Thank you for contacting us regarding your Barclaycard Rewards MasterCard. We can certainly address your concern regarding the new card on your account.
We are pleased to inform that your account is now eligible for the chip-enabled card and will be requested as soon as it becomes available for distribution. Note that this card has a new expiration date with same account number. Be reminded that you should provide the new expiration date to any merchant set up with recurring payments. Once mailed, please allow 7 to 10 business days to be received.
Upon receipt of the card, you may activate it by logging into your account online, contacting us by phone to speak with a representative, or using our automated phone system. Please be advised that activating your card online, you'll be prompted to create a PIN and thus won't need for you to know the assigned PIN to customize it. Activation of your PIN won't take effect until you use your card at a chip-card terminal with a cashier. Your first transaction with a chip-card terminal will activate the new PIN and you'll then be able to use the chip-and-PIN feature at self-service terminals. ---------------------------------------------------------------------------------------------------------------------------------------------------- Does that sound like it's going to be chip and pin instead of chip and signature? No.That is a pin from every other card. Chip and pin is completely different. The only ones doing it is Dinersclub. I think penfed. and a couple others. All cards have a pin. But it does not make it chip and pin. Its chip and Signature. Then back up will be pin. this is not the same. when you need a pin for every transaction like in europe.Edit so here in US> Even Diners in most cases will use signature. because no many retailers have Pin Terminal. They are still using magnetic strip on the back. But with true chip and pin. you put card in chip reader. and user must use pin. Most cards will default as secondary to chip and pin if no magnetic strip reader available. But as i said. This would still be Chip and Signature. Also Chip and Pin. you don't choose your own pin. The only way is to go to Atm and force it to change the assigned pin. -
How do I get a PIN for scan to email on photosmart 7525
I have a PIN for one email address for work. I need to add a PIN for a private email address so that I can scan to email. Where do I get the PIN?
Hello @maclindie!
Thank you for posting on the HP Forums!
On the Photosmart 7520 when you press scan and choose email you should have the option to "add". If you select "add" then the printer will ask you to enter an email address. At this point you will want to enter your private email address and confirm. You should then receive a pin in the inbox of the private email you entered.
When you want to scan from your private email you just select that account on the printer and enter the new pin. When you want to scan from your other email you select that one and enter its pin!
Thanks again for posting on the HP Forums and enjoy your night!
Cbert
I work on behalf of HP.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" at the bottom of this post to say “Thanks” for helping! -
BBM and PIN not working for one contact!
For one BBM contact I cannot send BBMs or PIN anymore. It is driving me crazy.
When I send a PIN i get the message "service blocked" and a red cross. BBMs will send, I get the tick but no D or R. This is only happening with one contact. He is having problems only with me as well. We can send each other text messages etc. We are both in the UK and with o2. Previously i've had no problems with BBM.
Does anyone know what's wrong?
It's so frustratng because this contact is the reason I bought a blackberry and he bought one, so we could use bbm as he works in an area with bad reception.Hello katie_d,
Welcome to the BlackBerry Support Community.
The following article should help regarding the issue you are experiencing with sending BBM™ and PIN messages:
A BlackBerry smartphone is unable to send and receive PIN messages and the error "Service Blocked" is shown - http://www.blackberry.com/btsc/KB19244
We hope this helps.
Thank you.
-FB
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.
Click "Accept as a Solution" for posts that have solved your issue(s)! -
Purchased the gift card in my account and introduced new, but asked me to enter the account once again I do not remember which email account is not recorded it, but I have the card number and PIN for my account Can you help me?
I'm sorry, I do not fully understand your question. However if you are looking for the email address which you have used for your iTunes account, you can find this out by using the "get info" command on any items you have previously purchased from iTunes and navigating to the summary tab.
-
trying to login to software program known as hamspher (vip simulated ham radio, it downloaded the program but it will not allow me to login with call sign and pin. it has to be opened with what they call a jar file. how do i do this?
This is compatible with Mac? Especially Snow Leopard (if that is what you'e running)?
Have you considered posting your question in their forums?
Here is some information re. the jar file:
http://ostermiller.org/opening_jar_files.html -
My new purchases will not sync into my playlist and get and will not show up on my iphone playlist of the same name, and I just tried to sync a new cd into my library and it is not showing up on my iphone.
Hello there, Capricious13.
There are great pointers in the following Knowledge Base article. Depending on where you see the content and where you want to get it to, this should guide you to putting it in the right place:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
http://support.apple.com/kb/ht2519
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro D. -
Get and Put options are greyed out in DW CS4
I am a fairly green Dreamweaver user, and recently (finally) upgraded from MX4 to CS4. I am trying to get a file from my local c:drive and both the get and put functions are greyed out. Any idea how to enable these functions? I do not have the file that I wish to transfer open.
When you say you are trying to get a file from your local c:drive, dio you mean that you are trying to import a file into your site from elsewhere on your computer, rather than 'getting' it from your remote server. If you are trying to import a file from your local c:drive don't use the 'get' or 'put' buttons because they are just for remote connections, instead just use windows explorer to locate the file then either copy or cut and paste the file into the folder for your site.
Richard -
Need help in understanding why so many gets and I/O
Hi there,
I have a sql file somewhat similar in structure to below:
delete from table emp;-- changed to Truncate table emp;
delete from table dept;--changed to Truncate table dept;
insert into emp values() select a,b,c from temp_emp,temp_dept where temp_emp.id=temp_dept.emp_id
update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
commit --only at the end
the above file takes about 9-10 hrs to complete its operation. and
the values from v$sql for the statement
update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);
are as below:
SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM SORTS LOADED_VERSIONS OPEN_VERSIONS USERS_OPENING FETCHES EXECUTIONS PX_SERVERS_EXECUTIONS END_OF_FETCH_COUNT USERS_EXECUTING LOADS FIRST_LOAD_TIME INVALIDATIONS PARSE_CALLS DISK_READS DIRECT_WRITES BUFFER_GETS APPLICATION_WAIT_TIME CONCURRENCY_WAIT_TIME CLUSTER_WAIT_TIME USER_IO_WAIT_TIME PLSQL_EXEC_TIME JAVA_EXEC_TIME ROWS_PROCESSED COMMAND_TYPE OPTIMIZER_MODE OPTIMIZER_COST OPTIMIZER_ENV OPTIMIZER_ENV_HASH_VALUE PARSING_USER_ID PARSING_SCHEMA_ID PARSING_SCHEMA_NAME KEPT_VERSIONS ADDRESS TYPE_CHK_HEAP HASH_VALUE OLD_HASH_VALUE PLAN_HASH_VALUE CHILD_NUMBER SERVICE SERVICE_HASH MODULE MODULE_HASH ACTION ACTION_HASH SERIALIZABLE_ABORTS OUTLINE_CATEGORY CPU_TIME ELAPSED_TIME OUTLINE_SID CHILD_ADDRESS SQLTYPE REMOTE OBJECT_STATUS LITERAL_HASH_VALUE LAST_LOAD_TIME IS_OBSOLETE CHILD_LATCH SQL_PROFILE PROGRAM_ID PROGRAM_LINE# EXACT_MATCHING_SIGNATURE FORCE_MATCHING_SIGNATURE LAST_ACTIVE_TIME BIND_DATA TYPECHECK_MEM
18965 8760 7880 0 1 0 0 0 2 0 2 0 2 2011-05-10/21:16:44 1 2 163270378 0 164295929 0 509739 0 3215857850 0 0 20142 6 ALL_ROWS 656 E289FB89A4E49800CE001000AEF9E3E2CFFA331056414155519421105555551545555558591555449665851D5511058555155511152552455580588055A1454A8E0950402000002000000000010000100050000002002080007D000000000002C06566001010000080830F400000E032330000000001404A8E09504646262040262320030020003020A000A5A000 4279923421 50 50 APPS 0 00000003CBE5EF50 00 1866523305 816672812 1937724149 0 SYS$USERS 0 01@</my.sql -2038272289 -265190056 0 9468268067 10420092918 00000003E8593000 6 N VALID 0 2011-05-11/10:23:45 N 5 0 0 1.57848E+19 1.57848E+19 5/12/2011 4:39 0
1) how do i re-write this legacy script? and what should be done to improve performance?
2) Should i use PL/sql to re-write it?
3) Also help in understanding why a simple update statement is doing so many buffer gets and reading , Is this Read consistency Trap as i'm not committing anywhere in between or it is actually doing so much of work.
(assume dept table has cols emp_name and emp_id also)update emp set emp_name=(select emp_name from dept where emp.id=dept.emp_id);I guess that these are masked table names ? Nobody would have emp_name in a dept table.
Can you re-format the output, using "code" tags ( [ or { }
Hemant K Chitale
Edited by: Hemant K Chitale on May 12, 2011 12:44 PM -
Every time I try to open my safari it restarts my computer, or if it does open it is for only about a minute before it gets and error and closes.What should I do?
gets and error and closes.What should I do?
If Safari is crashing.. post a crash report so we can try and help...
If Safari has just crashed, press the Report button on the CrashReporter dialog box to view the crash information.
Copy/paste the entire contents of the Crash Reporter window into your reply including the, "binary images" seection.
If the crash report dialog does not appear or the crash is hard to reproduce, crash logs can be retrieved from the ~/Library/Logs/CrashReporter> folder. -
How can I get and change the values of Withholding tax grid in MIRO trx
Hi everyone,
I have a requirement where I need to get and change WT_WITHCD field in MIRO's Withholding tax grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi doesn't have this value.
Do you have any idea?
Thanks in advance!
Regards.
Leo.Hello Leonardo,
You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
LOOP AT ti_drseg INTO ls_drseg.
lv_index = sy-tabix.
LS_DRSEG-MWSKZ = 'I0' . " < For example
MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
ENDLOOP.
FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
<drseg> = ti_drseg[]. " this will modify the data in MIRO with your modified data
Regards,
Naimesh Patel -
How can I get and change the items grid of MIRO trx
Hi everyone,
I have a requirement where I need to get and change the tax code field in MIRO's item grid. Is there a function module / Badi to do this? I used MRM_HEADER_CHECK, but the parameters related with this badi only allows read but not change them.
Do you have any idea?
Thanks in advance!
Regards.
Leo.Hello,
You can change that table with help of the filed-symbol in the BADI MRM_HEADER_CHECK.
LOOP AT ti_drseg INTO ls_drseg.
lv_index = sy-tabix.
***... do your processing
MODIFY ti_drseg FROM ls_drseg INDEX lv_index.
ENDLOOP.
FIELD-SYMBOLS: <drseg> TYPE mmcr_tdrseg.
ASSIGN ('(SAPLMR1M)ydrseg[]') TO <drseg>.
<drseg> = ti_drseg[]. " this will modify the data in MIRO with your modified data
Regards,
Naimesh Patel -
Get and Set Parameter ID in BDC Call transaction
Hi all
I have written this BDC program to run a transaction eg33 to install meter. After meter get installled System generates Device location number. I need to use this device location number in calling another transaction il03. but my data fetching using get and set parameter id is not giving accurate result. Kindly check my code and suggest where should I improve. Or whatelse can I do to fullfill this type of requirement other than GET and SET PARAMETER ID.
REPORT ZAC_EG33 NO STANDARD PAGE HEADING
LINE-SIZE 100.
TABLES: EABL,
BUT000,
ZISUH0003.
DATA :
XYZ LIKE IFLO-TPLNR.
DATA: IT_STATUS TYPE ZISUH0003.
DATA: G_INDEX TYPE I,
G_START_COL TYPE I VALUE '1', "start column
G_START_ROW TYPE I VALUE '14', "start row
G_END_COL TYPE I VALUE '18', "maximum column
G_END_ROW TYPE I VALUE '75', "maximum row
G_TEXT(20), "stores error messages
G_PAGES TYPE I,
G_CURRENT_PAGE TYPE I,
G_COUNT LIKE SY-DBCNT.
data: l_file type file_table,
file1 type string,
l_title type string,
LENGTH TYPE I,
FILES type filetable,
SUBRC type i,
STR_FILE type STRING,
D_FILE type RLGRAP-FILENAME,
filename TYPE String,
L_itab_date(10).
FIELD-SYMBOLS : <FS>.
DATA: IT_EXCEL LIKE STANDARD TABLE OF ALSMEX_TABLINE WITH HEADER LINE,
IT_MESS TYPE STANDARD TABLE OF BDCMSGCOLL WITH HEADER LINE.
TYPES: BEGIN OF TY_OPEN,
HAUS LIKE REG30-HAUS,
EADAT(10),
GERAETNEU LIKE REG30-GERAETNEU,
MESSDRCK LIKE REG30-MESSDRCK,
ZWSTANDCE LIKE REG30-ZWSTANDCE,
END OF TY_OPEN.
DATA : T_ANLAGE LIKE EANLD-ANLAGE,
VSTELLE LIKE EVBS-VSTELLE,
S_ANLAGE LIKE EANLD-ANLAGE,
temp_c(7).
DATA: IT_OPEN TYPE STANDARD TABLE OF TY_OPEN WITH HEADER LINE.
DATA: BDCDATA TYPE STANDARD TABLE OF BDCDATA WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN SKIP 2.
PARAMETERS: P_FILE like RLGRAP-FILENAME OBLIGATORY.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN END OF BLOCK 1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE .
PERFORM GET_FILE_NAME.
MOVE FILENAME TO P_FILE.
START-OF-SELECTION.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = p_file
I_BEGIN_COL = 1 "VF_START_COL
I_BEGIN_ROW = 2 "VF_START_ROW
I_END_COL = 5 "VF_END_COL
I_END_ROW = 10000 "VF_END_ROW
TABLES
INTERN = IT_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF IT_EXCEL[] IS INITIAL.
G_TEXT = 'No Data Uploaded'.
ELSE.
SORT IT_EXCEL BY ROW COL.
LOOP AT IT_EXCEL.
MOVE : IT_EXCEL-COL TO G_INDEX.
ASSIGN COMPONENT G_INDEX OF STRUCTURE IT_OPEN TO <FS>.
MOVE IT_EXCEL-VALUE TO <FS>.
AT END OF ROW.
IF NOT IT_OPEN IS INITIAL.
APPEND IT_OPEN." TO IT_LINE.
CLEAR IT_OPEN.
CLEAR IT_EXCEL.
ENDIF.
ENDAT.
ENDLOOP.
ENDIF.
REFRESH IT_EXCEL.
ULINE.
FORMAT COLOR 3 ON.
WRITE: /1 sy-vline ,
2 'Material No.' ,
25 sy-vline,
2 'Logs' ,
100 sy-vline.
uline.
FORMAT COLOR OFF.
PERFORM BDC_OPEN_READING.
MESSAGE S013(ZPS).
*& Form GET_FILE_NAME
text
--> p1 text
<-- p2 text
FORM GET_FILE_NAME .
REFRESH FILES.
call method cl_gui_frontend_services=>file_open_dialog
exporting
window_title = l_title
changing
file_table = files
rc = subrc
exceptions
file_open_dialog_failed = 1
cntl_error = 2
error_no_gui = 3
others = 4.
check sy-subrc = 0.
loop at files into l_file.
str_file = l_file.
move str_file to filename.
exit.
endloop.
ENDFORM. " GET_FILE_NAME
*& Form BDC_OPEN_READING
text
--> p1 text
<-- p2 text
FORM BDC_OPEN_READING .
LOOP AT IT_OPEN.
REFRESH BDCDATA.
clear : temp_c.
move it_open-MESSDRCK to temp_c.
condense : temp_c.
PERFORM MAP1.
CALL TRANSACTION 'EG33' USING BDCDATA MODE 'A' MESSAGES INTO IT_MESS.
+***changes by added on 28/02/08 +
get parameter id 'IFL' FIELD XYZ.
PERFORM MAP2.
set parameter id 'IFL' FIELD XYZ.
++*
CALL TRANSACTION 'IL03' USING BDCDATA MODE 'A' MESSAGES INTO IT_MESS.
+****end change added on 28.02.08+DATA: G_INSNO LIKE IT_OPEN-HAUS.
IF NOT IT_MESS[] IS INITIAL.
G_INSNO = IT_OPEN-HAUS.
PERFORM GET_MESSAGES TABLES IT_MESS USING G_INSNO." IT_LINE.
ENDIF.
READ TABLE IT_MESS WITH KEY MSGTYP = 'E'.
IF SY-SUBRC NE 0.
READ TABLE IT_MESS WITH KEY MSGTYP = 'S' MSGNR = '622'.
IF SY-SUBRC EQ 0.
SELECT SINGLE VSTELLE FROM EVBS INTO VSTELLE WHERE HAUS = IT_OPEN-HAUS.
SELECT SINGLE ANLAGE FROM EANL INTO T_ANLAGE WHERE VSTELLE = VSTELLE.
MOVE T_ANLAGE TO IT_STATUS-ANLAGE.
MOVE 'X' TO IT_STATUS-RFC.
*perform get_date_format using IT_OPEN-EADAT.
MOVE IT_OPEN-EADAT TO IT_STATUS-ADATE.
SELECT SINGLE ANLAGE FROM ZISUH0003 INTO S_ANLAGE WHERE ANLAGE =
T_ANLAGE.
IF SY-SUBRC EQ 4.
INSERT ZISUH0003 FROM IT_STATUS.
ELSE.
UPDATE ZISUH0003 FROM IT_STATUS.
ENDIF.
ENDIF.
ENDIF.
REFRESH IT_MESS.
CLEAR IT_MESS.
ENDLOOP.
ENDFORM. " BDC_OPEN_READING
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
IF FVAL <> SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM.
*& Form MAP1
text
--> p1 text
<-- p2 text
FORM MAP1 .
perform bdc_dynpro using 'SAPLE30D' '0100'.
perform bdc_field using 'BDC_CURSOR'
'REG30-GERAETNEU'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'REG30-HAUS'
IT_OPEN-HAUS. "'100000000033'.
perform bdc_field using 'REG30-EADAT'
IT_OPEN-EADAT. "'18.02.2006'.
perform bdc_field using 'REG30-GERAETNEU'
IT_OPEN-GERAETNEU. "'66a'.
perform bdc_dynpro using 'SAPLE30D' '0220'.
perform bdc_field using 'BDC_CURSOR'
'REG30-TEMP_AREA(02)'.
perform bdc_field using 'BDC_OKCODE'
'=SAVE'.
perform bdc_field using 'REG30-MESSDRCK'
temp_c. "IT_OPEN-MESSDRCK'0.0125'.
perform bdc_field using 'REG30-GERWECHS'
'05'.
perform bdc_field using 'REG30-ANZDAYSOFPERIOD(01)'
'30'.
perform bdc_field using 'REG30-ZWSTANDCE(01)'
IT_OPEN-ZWSTANDCE. "'10'.
perform bdc_field using 'REG30-ZWSTANDCE(02)'
'0'.
perform bdc_field using 'REG30-PERVERBR(01)'
'0'.
perform bdc_field using 'REG30-PERVERBR(02)'
'0'.
perform bdc_field using 'REG30-TEMP_AREA(01)'
'0001'.
perform bdc_field using 'REG30-TEMP_AREA(02)'
'0001'.
perform bdc_field using 'REG30-PR_AREA_AI(01)'
'0001'.
perform bdc_field using 'REG30-PR_AREA_AI(02)'
'0001'.
ENDFORM. " MAP1
****CHANGEs added BY ALKA 28.02.08
*& Form MAP2
text
--> p1 text
<-- p2 text
FORM MAP2 .
perform bdc_dynpro using 'SAPMILO0' '1110'.
perform bdc_field using 'BDC_CURSOR'
'IFLO-TPLNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'IFLO-TPLNR'
XYZ..
perform bdc_field using 'RILO0-TPLKZ'
'AO_GP'.
perform bdc_dynpro using 'SAPMILO0' '2100'.
perform bdc_field using 'BDC_CURSOR'
'IFLO-PLTXT'.
perform bdc_field using 'BDC_OKCODE'
'=T\04'.
perform bdc_field using 'IFLO-PLTXT'
'DEVICE LOCATION'.
perform bdc_dynpro using 'SAPMILO0' '2100'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'IFLO-PLTXT'
'DEVICE LOCATION'.
perform bdc_field using 'BDC_CURSOR'
'ITOBATTR-EINZL'.
perform bdc_field using 'ITOBATTR-IEQUI'
'X'.
perform bdc_field using 'ITOBATTR-EINZL'
'X'.
ENDFORM. " MAP2
*****END CHANGE added on 28.02.08
*& Form get_date_format
text
-->P_IT_ORDER_TABLE_C_DATE text
FORM get_date_format USING L_ITAB_DATE." LIKE SY-DATUM.
data: d_temp(4),
m_temp(2),
y_temp(4).
*move L_ITAB_DATE to L_ITAB_DATE.
y_temp = L_ITAB_DATE(4).
m_temp = L_ITAB_DATE+4(2).
d_temp = L_ITAB_DATE+6(2).
CONCATENATE d_temp '.' m_temp '.' y_temp into L_ITAB_DATE.
ENDFORM. " get_date_format
*& Form GET_MESSAGES
text
-->P_IT_MESS text
-->P_G_INSNO text
FORM GET_MESSAGES TABLES IT_MESS STRUCTURE BDCMSGCOLL USING G_INSNO .TABLES T100.
DATA: L_MSTRING(255).
LOOP AT IT_MESS WHERE MSGTYP = 'E' OR MSGTYP = 'S'.
SELECT SINGLE * FROM T100 WHERE SPRSL = IT_MESS-MSGSPRA
AND ARBGB = IT_MESS-MSGID
AND MSGNR = IT_MESS-MSGNR.
IF SY-SUBRC = 0.
L_MSTRING = T100-TEXT.
IF L_MSTRING CS '&1'.
REPLACE '&1' WITH IT_MESS-MSGV1 INTO L_MSTRING.
REPLACE '&2' WITH IT_MESS-MSGV2 INTO L_MSTRING.
REPLACE '&3' WITH IT_MESS-MSGV3 INTO L_MSTRING.
REPLACE '&4' WITH IT_MESS-MSGV4 INTO L_MSTRING.
ELSE.
REPLACE '&' WITH IT_MESS-MSGV1 INTO L_MSTRING.
REPLACE '&' WITH IT_MESS-MSGV2 INTO L_MSTRING.
REPLACE '&' WITH IT_MESS-MSGV3 INTO L_MSTRING.
REPLACE '&' WITH IT_MESS-MSGV4 INTO L_MSTRING.
ENDIF.
CONDENSE L_MSTRING.
ENDIF.
CONDENSE G_INSNO.
CONCATENATE 'For' ' ' G_INSNO ',' L_MSTRING INTO L_MSTRING SEPARATED BY SPACE.
FORMAT COLOR 2 ON.
*IF IT_MESS-MSGTYP = 'S' AND IT_MESS-MSGNR = '622'.
*WRITE: 1 sy-vline,
L_MSTRING under 'Error Messages',
100 sy-vline.
*ULINE.
*ELSEIF IT_MESS-MSGTYP = 'E'.
WRITE: 1 sy-vline,
L_MSTRING under 'Logs',
100 sy-vline.
ULINE.
*ENDIF.
ENDLOOP.
ENDFORM. " GET_MESSAGESi think there might be some time gap between CALL TRANSACTION and GET PARAMETER ID.....,that is to say,the new No. has not been generated and what you fetch is an old No..
i think you should use the "CALL TRANSACTION" like the following one:
CALL TRANSACTION 'EG33' USING BDCDATA MODE 'A' UPDATE 'L' MESSAGES INTO IT_MESS .
then i think you can get the right value.
P.S: the different update model(from SAP document)
upd Effect
"A" Asynchronous update. Updates of called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition was not specified.
"S" Synchronous processing. Updates of the called programs are executed in the same way as if in the COMMIT WORK statement the AND WAIT addition had been specified.
"L" Local update. Updates of the called program are executed in such a way as if the SET UPDATE TASK LOCAL statement had been executed in it.
Other As for "A".
Maybe you are looking for
-
Significance of DIR-DIR link direction in DMS object link
How exactly the DIR-DIR link is controlled by direcetion? (Active/Passive/Two way) And why the classification object with class 048 is not provided for DIR-DIR link like other objects? Is there any other way to classify this link?
-
69% Health after 106 cycles? will Applecare replace this?
I have a new Multitouch 15" MBP running 10.5.5. I always take all the steps I can to conserve battery life,(screen all the way down, wireless and bluetooth off, IR receiver off, dashboard off, etc.) whenever I'm not plugged in, which isn't terribly o
-
Creating an own textviewer-component - How to start?
Hello, I'm going to write a program for comparing two texts for speed typing. For this I need a component which shows the text, shows for each line the character count and can highlight words (to show the mistakes). E. g.: Lorem ipsum dolor sit amet,
-
Extended controller bypassed when new regions, AM, VO, CO's attached
Hi All, I am trying to customise iSupport pages.i.e. UnMatached Invoice page. Requirement is like to default values in Remit to and Cutomer Tax payer id LOV regions(populated all associated fields like form values, items etc). We had this logic in ex
-
NW 7.00 SP20 to 7.01 SP5 stops at PREPARE_JSPM_QUEUE phase
Hello, I have problem with upgrade NW 7.00 SP20 to EHP1 with SP5 using EHPI installer. During PREPARE_JSPM_QUEUE phase I receive message: The validation of the Deploy queue was not successful. ''sap.com/SAP_JTECHF: You are trying to update software c