;/*FB_PKG_DELIM*/ __d("sanitizeDraftText",[],(function(a,b,c,d,e,f){"use strict";var g=new RegExp("\r","g");function a(a){return a.replace(g,"")}e.exports=a}),null); __d("DraftEntityInstance",["immutable"],(function(a,b,c,d,e,f){"use strict";a=b("immutable").Record;c=a({type:"TOKEN",mutability:"IMMUTABLE",data:Object});d=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getType=function(){return this.get("type")};c.getMutability=function(){return this.get("mutability")};c.getData=function(){return this.get("data")};return b}(c);e.exports=d}),null); __d("DraftEntity",["invariant","DraftEntityInstance","immutable","uuidv4"],(function(a,b,c,d,e,f,g){a=b("immutable").OrderedMap;var h=a(),i=b("uuidv4")(),j={__getAll:function(){return h},__loadWithEntities:function(a){h=a,i=b("uuidv4")()},__getLastCreatedEntityKey:function(){return i},__create:function(a,c,d){return j.__add(new(b("DraftEntityInstance"))({type:a,mutability:c,data:d||{}}))},__add:function(a){i=b("uuidv4")();h=h.set(i,a);return i},__get:function(a){var b=h.get(a);!b&&g(0,2105,a);return b},get:function(a){return j.__get(a)},set:function(a,b){h=h.set(a,b);return j},last:function(){return h.last()},__mergeData:function(a,b){var c=j.__get(a);b=babelHelpers["extends"]({},c.getData(),b);c=c.set("data",b);h=h.set(a,c);return c},__replaceData:function(a,b){var c=j.__get(a);c=c.set("data",b);h=h.set(a,c);return c}};e.exports=j}),null); __d("BlockMapBuilder",["immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").OrderedMap;a={createFromArray:function(a){return g(a.map(function(a){return[a.getKey(),a]}))}};e.exports=a}),null); __d("findRangesImmutable",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c,d){if(!a.size)return;var e=0;a.reduce(function(a,f,g){b(a,f)||(c(a)&&d(e,g),e=g);return f});c(a.last())&&d(e,a.count())}e.exports=a}),null); __d("BlockTree",["findRangesImmutable","getOwnObjectValues","immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").List,h=b("immutable").Repeat;a=b("immutable").Record;var i=function(){return!0};c={start:null,end:null};var j=a(c);d={start:null,end:null,decoratorKey:null,leaves:null};var k=a(d);f={generate:function(a,c,d){var e=c.getLength();if(!e)return g.of(new k({start:0,end:0,decoratorKey:null,leaves:g.of(new j({start:0,end:0}))}));var f=[],n=d?d.getDecorations(c,a):g(h(null,e)),o=c.getCharacterList();b("findRangesImmutable")(n,m,i,function(a,b){f.push(new k({start:a,end:b,decoratorKey:n.get(a),leaves:l(o.slice(a,b).toList(),a)}))});return g(f)},fromJS:function(a){var c=a.leaves;a=babelHelpers.objectWithoutPropertiesLoose(a,["leaves"]);return new k(babelHelpers["extends"]({},a,{leaves:c!=null?g(Array.isArray(c)?c:b("getOwnObjectValues")(c)).map(function(a){return j(a)}):null}))}};function l(a,c){var d=[];a=a.map(function(a){return a.getStyle()}).toList();b("findRangesImmutable")(a,m,i,function(a,b){d.push(new j({start:a+c,end:b+c}))});return g(d)}function m(a,b){return a===b}e.exports=f}),null); __d("CharacterMetadata",["immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").Map,h=b("immutable").OrderedSet;a=b("immutable").Record;var i=h();c={style:i,entity:null};d=a(c);f=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.getStyle=function(){return this.get("style")};c.getEntity=function(){return this.get("entity")};c.hasStyle=function(a){return this.getStyle().includes(a)};b.applyStyle=function(a,c){a=a.set("style",a.getStyle().add(c));return b.create(a)};b.removeStyle=function(a,c){a=a.set("style",a.getStyle().remove(c));return b.create(a)};b.applyEntity=function(a,c){a=a.getEntity()===c?a:a.set("entity",c);return b.create(a)};b.create=function(a){if(!a)return j;var c={style:i,entity:null};c=g(c).merge(a);a=k.get(c);if(a)return a;a=new b(c);k=k.set(c,a);return a};b.fromJS=function(a){var c=a.style;a=a.entity;return new b({style:Array.isArray(c)?h(c):c,entity:Array.isArray(a)?h(a):a})};return b}(d);var j=new f(),k=g([[g(c),j]]);f.EMPTY=j;e.exports=f}),null); __d("ContentBlock",["CharacterMetadata","findRangesImmutable","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Map;d=a.OrderedSet;f=a.Record;var h=a.Repeat,i=d();a={key:"",type:"unstyled",text:"",characterList:g(),depth:0,data:c()};d=f(a);var j=function(a){if(!a)return a;var c=a.characterList,d=a.text;d&&!c&&(a.characterList=g(h(b("CharacterMetadata").EMPTY,d.length)));return a};c=function(a){babelHelpers.inheritsLoose(c,a);function c(b){return a.call(this,j(b))||this}var d=c.prototype;d.getKey=function(){return this.get("key")};d.getType=function(){return this.get("type")};d.getText=function(){return this.get("text")};d.getCharacterList=function(){return this.get("characterList")};d.getLength=function(){return this.getText().length};d.getDepth=function(){return this.get("depth")};d.getData=function(){return this.get("data")};d.getInlineStyleAt=function(a){a=this.getCharacterList().get(a);return a?a.getStyle():i};d.getEntityAt=function(a){a=this.getCharacterList().get(a);return a?a.getEntity():null};d.findStyleRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),k,a,c)};d.findEntityRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),l,a,c)};return c}(d);function k(a,b){return a.getStyle()===b.getStyle()}function l(a,b){return a.getEntity()===b.getEntity()}e.exports=c}),null); __d("ContentBlockNode",["CharacterMetadata","findRangesImmutable","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Map;d=a.OrderedSet;f=a.Record;var h=a.Repeat,i=d(),j={parent:null,characterList:g(),data:c(),depth:0,key:"",text:"",type:"unstyled",children:g(),prevSibling:null,nextSibling:null},k=function(a,b){return a.getStyle()===b.getStyle()},l=function(a,b){return a.getEntity()===b.getEntity()},m=function(a){if(!a)return a;var c=a.characterList,d=a.text;d&&!c&&(a.characterList=g(h(b("CharacterMetadata").EMPTY,d.length)));return a};a=function(a){babelHelpers.inheritsLoose(c,a);function c(b){b===void 0&&(b=j);return a.call(this,m(b))||this}var d=c.prototype;d.getKey=function(){return this.get("key")};d.getType=function(){return this.get("type")};d.getText=function(){return this.get("text")};d.getCharacterList=function(){return this.get("characterList")};d.getLength=function(){return this.getText().length};d.getDepth=function(){return this.get("depth")};d.getData=function(){return this.get("data")};d.getInlineStyleAt=function(a){a=this.getCharacterList().get(a);return a?a.getStyle():i};d.getEntityAt=function(a){a=this.getCharacterList().get(a);return a?a.getEntity():null};d.getChildKeys=function(){return this.get("children")};d.getParentKey=function(){return this.get("parent")};d.getPrevSiblingKey=function(){return this.get("prevSibling")};d.getNextSiblingKey=function(){return this.get("nextSibling")};d.findStyleRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),k,a,c)};d.findEntityRanges=function(a,c){b("findRangesImmutable")(this.getCharacterList(),l,a,c)};return c}(f(j));e.exports=a}),null); __d("SelectionState",["immutable"],(function(a,b,c,d,e,f){"use strict";a=b("immutable").Record;c={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1};d=a(c);f=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())};c.getAnchorKey=function(){return this.get("anchorKey")};c.getAnchorOffset=function(){return this.get("anchorOffset")};c.getFocusKey=function(){return this.get("focusKey")};c.getFocusOffset=function(){return this.get("focusOffset")};c.getIsBackward=function(){return this.get("isBackward")};c.getHasFocus=function(){return this.get("hasFocus")};c.hasEdgeWithin=function(a,b,c){var d=this.getAnchorKey(),e=this.getFocusKey();if(d===e&&d===a){var f=this.getStartOffset(),g=this.getEndOffset();return b<=f&&f<=c||b<=g&&g<=c}if(a!==d&&a!==e)return!1;f=a===d?this.getAnchorOffset():this.getFocusOffset();return b<=f&&c>=f};c.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()};c.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()};c.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()};c.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()};c.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()};b.createEmpty=function(a){return new b({anchorKey:a,anchorOffset:0,focusKey:a,focusOffset:0,isBackward:!1,hasFocus:!1})};return b}(d);e.exports=f}),null); __d("generateRandomKey",[],(function(a,b,c,d,e,f){"use strict";var g={},h=Math.pow(2,24);function a(){var a;while(a===void 0||Object.prototype.hasOwnProperty.call(g,a)||!isNaN(+a))a=Math.floor(Math.random()*h).toString(32);g[a]=!0;return a}e.exports=a}),null); __d("ContentState",["BlockMapBuilder","CharacterMetadata","ContentBlock","ContentBlockNode","DraftEntity","SelectionState","generateRandomKey","getOwnObjectValues","gkx","immutable","sanitizeDraftText"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).List;c=a.Record;var h=a.Repeat,i=a.Map,j=a.OrderedMap;d={entityMap:null,blockMap:null,selectionBefore:null,selectionAfter:null};f=c(d);var k=b("gkx")("676842")?b("ContentBlockNode"):b("ContentBlock");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getEntityMap=function(){return b("DraftEntity")};d.getBlockMap=function(){return this.get("blockMap")};d.getSelectionBefore=function(){return this.get("selectionBefore")};d.getSelectionAfter=function(){return this.get("selectionAfter")};d.getBlockForKey=function(a){a=this.getBlockMap().get(a);return a};d.getKeyBefore=function(a){return this.getBlockMap().reverse().keySeq().skipUntil(function(b){return b===a}).skip(1).first()};d.getKeyAfter=function(a){return this.getBlockMap().keySeq().skipUntil(function(b){return b===a}).skip(1).first()};d.getBlockAfter=function(a){return this.getBlockMap().skipUntil(function(b,c){return c===a}).skip(1).first()};d.getBlockBefore=function(a){return this.getBlockMap().reverse().skipUntil(function(b,c){return c===a}).skip(1).first()};d.getBlocksAsArray=function(){return this.getBlockMap().toArray()};d.getFirstBlock=function(){return this.getBlockMap().first()};d.getLastBlock=function(){return this.getBlockMap().last()};d.getPlainText=function(a){return this.getBlockMap().map(function(a){return a?a.getText():""}).join(a||"\n")};d.getLastCreatedEntityKey=function(){return b("DraftEntity").__getLastCreatedEntityKey()};d.hasText=function(){var a=this.getBlockMap();return a.size>1||escape(a.first().getText()).replace(/%u200B/g,"").length>0};d.createEntity=function(a,c,d){b("DraftEntity").__create(a,c,d);return this};d.mergeEntityData=function(a,c){b("DraftEntity").__mergeData(a,c);return this};d.replaceEntityData=function(a,c){b("DraftEntity").__replaceData(a,c);return this};d.addEntity=function(a){b("DraftEntity").__add(a);return this};d.getEntity=function(a){return b("DraftEntity").__get(a)};d.getAllEntities=function(){return b("DraftEntity").__getAll()};d.setEntityMap=function(a){b("DraftEntity").__loadWithEntities(a);return this};c.mergeEntityMaps=function(a,b){return a.merge(b.__getAll())};d.replaceEntityMap=function(a){return this.setEntityMap(a.__getAll())};d.setSelectionBefore=function(a){return this.set("selectionBefore",a)};d.setSelectionAfter=function(a){return this.set("selectionAfter",a)};d.setBlockMap=function(a){return this.set("blockMap",a)};c.createFromBlockArray=function(a,d){a=Array.isArray(a)?a:a.contentBlocks;a=b("BlockMapBuilder").createFromArray(a);var e=a.isEmpty()?new(b("SelectionState"))():b("SelectionState").createEmpty(a.first().getKey());return new c({blockMap:a,entityMap:d||b("DraftEntity"),selectionBefore:e,selectionAfter:e})};c.createFromText=function(a,d){d===void 0&&(d=/\r\n?|\n/g);a=a.split(d);d=a.map(function(a){a=b("sanitizeDraftText")(a);return new k({key:b("generateRandomKey")(),text:a,type:"unstyled",characterList:g(h(b("CharacterMetadata").EMPTY,a.length))})});return c.createFromBlockArray(d)};c.fromJS=function(a){return new c(babelHelpers["extends"]({},a,{blockMap:j(a.blockMap).map(c.createContentBlockFromJS),selectionBefore:new(b("SelectionState"))(a.selectionBefore),selectionAfter:new(b("SelectionState"))(a.selectionAfter)}))};c.createContentBlockFromJS=function(a){var c=a.characterList;return new k(babelHelpers["extends"]({},a,{data:i(a.data),characterList:c!=null?g((Array.isArray(c)?c:b("getOwnObjectValues")(c)).map(function(a){return b("CharacterMetadata").fromJS(a)})):void 0}))};return c}(f);e.exports=a}),null); __d("UnicodeBidiService",["invariant","UnicodeBidi","UnicodeBidiDirection","UnicodeBidiGlobalDirection"],(function(a,b,c,d,e,f,g,h){"use strict";a=function(){function a(a){!a?a=c("UnicodeBidiGlobalDirection").getDir():d("UnicodeBidiDirection").isStrong(a)||h(0,3594),this.$1=a,this.reset()}var b=a.prototype;b.reset=function(){this.$2=this.$1};b.getDirection=function(a){this.$2=d("UnicodeBidi").getDirection(a,this.$2);return this.$2};return a}();g["default"]=a}),98); __d("EditorBidiService",["UnicodeBidiService","immutable","nullthrows"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").OrderedMap,h;a={getDirectionMap:function(a,c){!h?h=new(b("UnicodeBidiService"))():h.reset();a=a.getBlockMap();var d=a.valueSeq().map(function(a){return b("nullthrows")(h).getDirection(a.getText())});a=g(a.keySeq().zip(d));return c!=null&&b("immutable").is(c,a)?c:a}};e.exports=a}),null); __d("EditorState",["BlockTree","ContentState","EditorBidiService","SelectionState","immutable"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("immutable")).OrderedSet;c=a.Record;var h=a.Stack,i=a.OrderedMap,j=a.List;d={allowUndo:!0,currentContent:null,decorator:null,directionMap:null,forceSelection:!1,inCompositionMode:!1,inlineStyleOverride:null,lastChangeType:null,nativelyRenderedContent:null,redoStack:h(),selection:null,treeMap:null,undoStack:h()};var k=c(d),l=function(){a.createEmpty=function(a){return this.createWithText("",a)};a.createWithText=function(c,d){return a.createWithContent(b("ContentState").createFromText(c),d)};a.createWithContent=function(c,d){if(c.getBlockMap().count()===0)return a.createEmpty(d);var e=c.getBlockMap().first().getKey();return a.create({currentContent:c,undoStack:h(),redoStack:h(),decorator:d||null,selection:b("SelectionState").createEmpty(e)})};a.create=function(c){var d=c.currentContent,e=c.decorator;c=babelHelpers["extends"]({},c,{treeMap:n(d,e),directionMap:b("EditorBidiService").getDirectionMap(d)});return new a(new k(c))};a.fromJS=function(c){return new a(new k(babelHelpers["extends"]({},c,{directionMap:c.directionMap!=null?i(c.directionMap):c.directionMap,inlineStyleOverride:c.inlineStyleOverride!=null?g(c.inlineStyleOverride):c.inlineStyleOverride,nativelyRenderedContent:c.nativelyRenderedContent!=null?b("ContentState").fromJS(c.nativelyRenderedContent):c.nativelyRenderedContent,redoStack:c.redoStack!=null?h(c.redoStack.map(function(a){return b("ContentState").fromJS(a)})):c.redoStack,selection:c.selection!=null?new(b("SelectionState"))(c.selection):c.selection,treeMap:c.treeMap!=null?i(c.treeMap).map(function(a){return j(a).map(function(a){return b("BlockTree").fromJS(a)})}):c.treeMap,undoStack:c.undoStack!=null?h(c.undoStack.map(function(a){return b("ContentState").fromJS(a)})):c.undoStack,currentContent:b("ContentState").fromJS(c.currentContent)})))};a.set=function(b,c){var d=b.getImmutable().withMutations(function(a){var d=a.get("decorator"),e=d;c.decorator===null?e=null:c.decorator&&(e=c.decorator);var f=c.currentContent||b.getCurrentContent();if(e!==d){var g=a.get("treeMap");e&&d?g=p(f,f.getBlockMap(),g,e,d):g=n(f,e);a.merge({decorator:e,treeMap:g,nativelyRenderedContent:null});return}d=b.getCurrentContent();f!==d&&a.set("treeMap",o(b,f.getBlockMap(),f.getEntityMap(),e));a.merge(c)});return new a(d)};var c=a.prototype;c.toJS=function(){return this.getImmutable().toJS()};c.getAllowUndo=function(){return this.getImmutable().get("allowUndo")};c.getCurrentContent=function(){return this.getImmutable().get("currentContent")};c.getUndoStack=function(){return this.getImmutable().get("undoStack")};c.getRedoStack=function(){return this.getImmutable().get("redoStack")};c.getSelection=function(){return this.getImmutable().get("selection")};c.getDecorator=function(){return this.getImmutable().get("decorator")};c.isInCompositionMode=function(){return this.getImmutable().get("inCompositionMode")};c.mustForceSelection=function(){return this.getImmutable().get("forceSelection")};c.getNativelyRenderedContent=function(){return this.getImmutable().get("nativelyRenderedContent")};c.getLastChangeType=function(){return this.getImmutable().get("lastChangeType")};c.getInlineStyleOverride=function(){return this.getImmutable().get("inlineStyleOverride")};a.setInlineStyleOverride=function(b,c){return a.set(b,{inlineStyleOverride:c})};c.getCurrentInlineStyle=function(){var a=this.getInlineStyleOverride();if(a!=null)return a;a=this.getCurrentContent();var b=this.getSelection();return b.isCollapsed()?r(a,b):s(a,b)};c.getBlockTree=function(a){return this.getImmutable().getIn(["treeMap",a])};c.isSelectionAtStartOfContent=function(){var a=this.getCurrentContent().getBlockMap().first().getKey();return this.getSelection().hasEdgeWithin(a,0,0)};c.isSelectionAtEndOfContent=function(){var a=this.getCurrentContent();a=a.getBlockMap();a=a.last();var b=a.getLength();return this.getSelection().hasEdgeWithin(a.getKey(),b,b)};c.getDirectionMap=function(){return this.getImmutable().get("directionMap")};a.acceptSelection=function(a,b){return m(a,b,!1)};a.forceSelection=function(a,b){b.getHasFocus()||(b=b.set("hasFocus",!0));return m(a,b,!0)};a.moveSelectionToEnd=function(c){var d=c.getCurrentContent();d=d.getLastBlock();var e=d.getKey();d=d.getLength();return a.acceptSelection(c,new(b("SelectionState"))({anchorKey:e,anchorOffset:d,focusKey:e,focusOffset:d,isBackward:!1}))};a.moveFocusToEnd=function(b){b=a.moveSelectionToEnd(b);return a.forceSelection(b,b.getSelection())};a.push=function(c,d,e,f){f===void 0&&(f=!0);if(c.getCurrentContent()===d)return c;var g=b("EditorBidiService").getDirectionMap(d,c.getDirectionMap());if(!c.getAllowUndo())return a.set(c,{currentContent:d,directionMap:g,lastChangeType:e,selection:d.getSelectionAfter(),forceSelection:f,inlineStyleOverride:null});var i=c.getSelection(),j=c.getCurrentContent(),k=c.getUndoStack(),l=d;i!==j.getSelectionAfter()||q(c,e)?(k=k.push(j),l=l.setSelectionBefore(i)):(e==="insert-characters"||e==="backspace-character"||e==="delete-character")&&(l=l.setSelectionBefore(j.getSelectionBefore()));i=c.getInlineStyleOverride();j=["adjust-depth","change-block-type","split-block"];j.indexOf(e)===-1&&(i=null);j={currentContent:l,directionMap:g,undoStack:k,redoStack:h(),lastChangeType:e,selection:d.getSelectionAfter(),forceSelection:f,inlineStyleOverride:i};return a.set(c,j)};a.undo=function(c){if(!c.getAllowUndo())return c;var d=c.getUndoStack(),e=d.peek();if(!e)return c;var f=c.getCurrentContent(),g=b("EditorBidiService").getDirectionMap(e,c.getDirectionMap());return a.set(c,{currentContent:e,directionMap:g,undoStack:d.shift(),redoStack:c.getRedoStack().push(f),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"undo",nativelyRenderedContent:null,selection:f.getSelectionBefore()})};a.redo=function(c){if(!c.getAllowUndo())return c;var d=c.getRedoStack(),e=d.peek();if(!e)return c;var f=c.getCurrentContent(),g=b("EditorBidiService").getDirectionMap(e,c.getDirectionMap());return a.set(c,{currentContent:e,directionMap:g,undoStack:c.getUndoStack().push(f),redoStack:d.shift(),forceSelection:!0,inlineStyleOverride:null,lastChangeType:"redo",nativelyRenderedContent:null,selection:e.getSelectionAfter()})};function a(a){this.$1=a}c.getImmutable=function(){return this.$1};return a}();function m(a,b,c){return l.set(a,{selection:b,forceSelection:c,nativelyRenderedContent:null,inlineStyleOverride:null})}function n(a,c){return a.getBlockMap().map(function(d){return b("BlockTree").generate(a,d,c)}).toOrderedMap()}function o(a,c,d,e){var f=a.getCurrentContent().replaceEntityMap(d),g=f.getBlockMap();d=a.getImmutable().get("treeMap");return d.merge(c.toSeq().filter(function(a,b){return a!==g.get(b)}).map(function(a){return b("BlockTree").generate(f,a,e)}))}function p(a,c,d,e,f){return d.merge(c.toSeq().filter(function(b){return e.getDecorations(b,a)!==f.getDecorations(b,a)}).map(function(c){return b("BlockTree").generate(a,c,e)}))}function q(a,b){a=a.getLastChangeType();return b!==a||b!=="insert-characters"&&b!=="backspace-character"&&b!=="delete-character"}function r(a,b){var c=b.getStartKey();b=b.getStartOffset();var d=a.getBlockForKey(c);if(b>0)return d.getInlineStyleAt(b-1);return d.getLength()?d.getInlineStyleAt(0):t(a,c)}function s(a,b){var c=b.getStartKey();b=b.getStartOffset();var d=a.getBlockForKey(c);if(b0?d.getInlineStyleAt(b-1):t(a,c)}function t(a,b){a=a.getBlockMap().reverse().skipUntil(function(a,c){return c===b}).skip(1).skipUntil(function(a,b){return a.getLength()}).first();return a?a.getInlineStyleAt(a.getLength()-1):g()}e.exports=l}),null); __d("DraftEntitySegments",[],(function(a,b,c,d,e,f){"use strict";a={getRemovalRange:function(a,b,c,d,e){var f=c.split(" ");f=f.map(function(a,b){if(e==="forward"){if(b>0)return" "+a}else if(b=a.start});f.length==1||g(0,5779);f=f[0];if(a==="IMMUTABLE")return d.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});h||(i?k=f.end:j=f.start);a=b("DraftEntitySegments").getRemovalRange(j,k,c.getText().slice(f.start,f.end),f.start,e);return d.merge({anchorOffset:a.start,focusOffset:a.end,isBackward:!1})}e.exports=a}),null); __d("randomizeBlockMapKeys",["ContentBlockNode","generateRandomKey","immutable"],(function(a,b,c,d,e,f){"use strict";var g=b("immutable").OrderedMap,h=function(a){var c={},d;return g(a.withMutations(function(a){a.forEach(function(e,f){var g=e.getKey();f=e.getNextSiblingKey();var h=e.getPrevSiblingKey(),i=e.getChildKeys(),j=e.getParentKey(),k=b("generateRandomKey")();c[g]=k;if(f){var l=a.get(f);l?a.setIn([f,"prevSibling"],k):a.setIn([g,"nextSibling"],null)}if(h){l=a.get(h);l?a.setIn([h,"nextSibling"],k):a.setIn([g,"prevSibling"],null)}if(j&&a.get(j)){f=a.get(j);l=f.getChildKeys();a.setIn([j,"children"],l.set(l.indexOf(e.getKey()),k))}else a.setIn([g,"parent"],null),d&&(a.setIn([d.getKey(),"nextSibling"],k),a.setIn([g,"prevSibling"],c[d.getKey()])),d=a.get(g);i.forEach(function(b){var c=a.get(b);c?a.setIn([b,"parent"],k):a.setIn([g,"children"],e.getChildKeys().filter(function(a){return a!==b}))})})}).toArray().map(function(a){return[c[a.getKey()],a.set("key",c[a.getKey()])]}))},i=function(a){return g(a.toArray().map(function(a){var c=b("generateRandomKey")();return[c,a.set("key",c)]}))};a=function(a){var c=a.first()instanceof b("ContentBlockNode");return!c?i(a):h(a)};e.exports=a}),null); __d("removeEntitiesAtEdges",["invariant","CharacterMetadata","findRangesImmutable"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c=a.getBlockMap(),d={},e=b.getStartKey(),f=b.getStartOffset(),g=c.get(e);f=i(a,g,f);f!==g&&(d[e]=f);g=b.getEndKey();var h=b.getEndOffset(),j=c.get(g);e===g&&(j=f);e=i(a,j,h);e!==j&&(d[g]=e);return!Object.keys(d).length?a.setSelectionAfter(b):a.merge({blockMap:c.merge(d),selectionAfter:b})}function h(a,c,d){var e;b("findRangesImmutable")(a,function(a,b){return a.getEntity()===b.getEntity()},function(a){return a.getEntity()===c},function(a,b){a<=d&&b>=d&&(e={start:a,end:b})});typeof e==="object"||g(0,6015);return e}function i(a,c,d){var e=c.getCharacterList(),f=d>0?e.get(d-1):void 0,g=db)a=a.pop(),c--;else{b=a.slice(0,b);c=a.slice(c);a=b.concat(c).toList()}return a};e.exports=a}),null); __d("splitBlockInContentState",["invariant","ContentBlockNode","generateRandomKey","immutable","modifyBlockForContentState"],(function(a,b,c,d,e,f,g){"use strict";var h=b("immutable").List,i=b("immutable").Map,j=function(a,b,c){if(!a)return;var d=b.get(a);if(!d)return;b.set(a,c(d))},k=function(a,b,c){return a.withMutations(function(a){var d=b.getKey(),e=c.getKey();j(b.getParentKey(),a,function(a){var b=a.getChildKeys(),c=b.indexOf(d)+1;b=b.toArray();b.splice(c,0,e);return a.merge({children:h(b)})});j(b.getNextSiblingKey(),a,function(a){return a.merge({prevSibling:e})});j(d,a,function(a){return a.merge({nextSibling:e})});j(e,a,function(a){return a.merge({prevSibling:d})})})};a=function(a,c){c.isCollapsed()||g(0,5004);var d=c.getAnchorKey(),e=a.getBlockMap(),f=e.get(d),h=f.getText();if(!h){var j=f.getType();if(j==="unordered-list-item"||j==="ordered-list-item")return b("modifyBlockForContentState")(a,c,function(a){return a.merge({type:"unstyled",depth:0})})}j=c.getAnchorOffset();var l=f.getCharacterList(),m=b("generateRandomKey")(),n=f instanceof b("ContentBlockNode"),o=f.merge({text:h.slice(0,j),characterList:l.slice(0,j)});h=o.merge({key:m,text:h.slice(j),characterList:l.slice(j),data:i()});l=e.toSeq().takeUntil(function(a){return a===f});j=e.toSeq().skipUntil(function(a){return a===f}).rest();e=l.concat([[d,o],[m,h]],j).toOrderedMap();n&&(f.getChildKeys().isEmpty()||g(0,5005),e=k(e,o,h));return a.merge({blockMap:e,selectionBefore:c,selectionAfter:c.merge({anchorKey:m,anchorOffset:0,focusKey:m,focusOffset:0,isBackward:!1})})};e.exports=a}),null); __d("DraftModifier",["invariant","CharacterMetadata","ContentStateInlineStyle","applyEntityToContentState","getCharacterRemovalRange","getContentStateFragment","immutable","insertFragmentIntoContentState","insertTextIntoContentState","modifyBlockForContentState","removeEntitiesAtEdges","removeRangeFromContentState","splitBlockInContentState"],(function(a,b,c,d,e,f,g){"use strict";var h=b("immutable").OrderedSet,i={replaceText:function(a,c,d,e,f){a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);c=b("CharacterMetadata").create({style:e||h(),entity:f||null});return b("insertTextIntoContentState")(a,a.getSelectionAfter(),d,c)},insertText:function(a,b,c,d,e){b.isCollapsed()||g(0,4661);return i.replaceText(a,b,c,d,e)},moveText:function(a,c,d){var e=b("getContentStateFragment")(a,c);a=i.removeRange(a,c,"backward");return i.replaceWithFragment(a,d,e)},replaceWithFragment:function(a,c,d,e){e===void 0&&(e="REPLACE_WITH_NEW_DATA");a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);return b("insertFragmentIntoContentState")(a,a.getSelectionAfter(),d,e)},removeRange:function(a,c,d){var e,f,g,h;c.getIsBackward()&&(c=c.merge({anchorKey:c.getFocusKey(),anchorOffset:c.getFocusOffset(),focusKey:c.getAnchorKey(),focusOffset:c.getAnchorOffset(),isBackward:!1}));e=c.getAnchorKey();f=c.getFocusKey();g=a.getBlockForKey(e);h=a.getBlockForKey(f);var i=c.getStartOffset(),j=c.getEndOffset();i=g.getEntityAt(i);j=h.getEntityAt(j-1);if(e===f&&(i&&i===j)){e=b("getCharacterRemovalRange")(a.getEntityMap(),g,h,c,d);return b("removeRangeFromContentState")(a,e)}f=b("removeEntitiesAtEdges")(a,c);return b("removeRangeFromContentState")(f,c)},splitBlock:function(a,c){a=b("removeEntitiesAtEdges")(a,c);a=b("removeRangeFromContentState")(a,c);return b("splitBlockInContentState")(a,a.getSelectionAfter())},applyInlineStyle:function(a,c,d){return b("ContentStateInlineStyle").add(a,c,d)},removeInlineStyle:function(a,c,d){return b("ContentStateInlineStyle").remove(a,c,d)},setBlockType:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({type:d,depth:0})})},setBlockData:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({data:d})})},mergeBlockData:function(a,c,d){return b("modifyBlockForContentState")(a,c,function(a){return a.merge({data:a.getData().merge(d)})})},applyEntity:function(a,c,d){a=b("removeEntitiesAtEdges")(a,c);return b("applyEntityToContentState")(a,c,d)}};e.exports=i}),null);/*FB_PKG_DELIM*/ __d("CometComposerWarnStatusTextLengthForLexical.react",["CometComposerInlineErrorRenderer.react","CometComposerStylingConstants","MLCCharacterLimitCountPlugin.react","lengthInUTF8Bytes","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useState;function a(a){var b=a.characterLimit,e=a.customWarningLimit,f=a.lexicalEditor;a=a.xstyle;var g=k(null),h=g[0],l=g[1],m=(g=e)!=null?g:d("CometComposerStylingConstants").COMPOSER_WARNING_LIMIT;e=j(function(a){a<=m?l(a):a>m&&l(null)},[m]);return i.jsxs(i.Fragment,{children:[i.jsx(c("MLCCharacterLimitCountPlugin.react"),{editor__DEPRECATED:f,limit:b,onChange:e,strlen:c("lengthInUTF8Bytes")}),h!=null&&h<=m&&i.jsx(c("CometComposerInlineErrorRenderer.react"),{error:h,xstyle:a})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometMediaEditorCanEditWithAnyToolEligibilityChecker",["gkx"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){if(b!=null){var c;c=((c=b==null?void 0:b.length)!=null?c:0<=a.index)?b[a.index]:b[0];b=h(c,a.isOnVideoLiteComposer);if(b==null)return{ALL:null}}return{}}function h(a,b){if(a==null)return;if(a.fileType==="VIDEO"&&a.state==="PREEXISTING"&&!b&&!c("gkx")("1915661"))return;if(a.fileType!=="VIDEO"&&a.fileType!=="PHOTO")return;if(a.state!=="UPLOADED"&&a.state!=="UPLOADING"&&a.state!=="PREEXISTING")return;return a}g.cometMediaEditorCanEditWithAnyToolEligibilityChecker=a;g.validateMediaForAnyMutations=h}),98); __d("getViewStatePhotoData",["cometMediaEditorCanEditWithAnyToolEligibilityChecker"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b=((b=b)!=null?b:[]).find(function(b){var c;b=d("cometMediaEditorCanEditWithAnyToolEligibilityChecker").validateMediaForAnyMutations(b,!1);return(b==null?void 0:(c=b.data)==null?void 0:c.id)===a||(b==null?void 0:b.fileType)==="PHOTO"&&(b==null?void 0:b.originalEntID)===a});if(b!=null&&b.fileType==="PHOTO"&&((b==null?void 0:b.state)==="UPLOADED"||(b==null?void 0:b.state)==="PREEXISTING"))return b;else return null}g["default"]=a}),98); __d("getViewStateVideoData",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){b=((b=b)!=null?b:[]).find(function(b){var c;return(b==null?void 0:(c=b.data)==null?void 0:c.id)===a||(b==null?void 0:b.state)==="UPLOADED"&&(b==null?void 0:b.fileType)==="VIDEO"&&(b==null?void 0:b.entID)===a});if(b!=null&&b.fileType==="VIDEO"&&((b==null?void 0:b.state)==="UPLOADED"||(b==null?void 0:b.state)==="PREEXISTING"))return b;else return null}f["default"]=a}),66); __d("processXYTagsForMedia",[],(function(a,b,c,d,e,f){"use strict";function a(a){if(a==null)return;return a.map(function(a){if(a!=null){var b,c;b={id:(b=a.taggee)==null?void 0:b.id};c=(c=a.taggee)==null?void 0:(c=c.metadata)==null?void 0:c.product_tag_type;if(c!=null){var d;b={id:(d=a.taggee)==null?void 0:d.id,metadata:{product_tag_type:c}}}return babelHelpers["extends"]({},a,{taggee:babelHelpers["extends"]({},b)})}})}f["default"]=a}),66); __d("mediaAttachmentAreaTransform",["Promise","getViewStatePhotoData","getViewStateVideoData","processXYTagsForMedia","promiseDone"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,d,e){var f=[];for(var g in a.mediaUploadStatuses)f.push(a.mediaUploadStatuses[g].onFileComplete);c("promiseDone")((h||(h=b("Promise"))).all(f).then(function(b){e(babelHelpers["extends"]({},d,{attachments:b.map(function(b){var d=b.attachmentID;if(b.attachmentType==="PHOTO"){var e,f=c("getViewStatePhotoData")(d,a.mediaAttachments);e=c("processXYTagsForMedia")(f==null?void 0:(e=f.data)==null?void 0:e.tags);return{photo:babelHelpers["extends"]({id:d},f==null?void 0:f.data,{tags:e})}}if(b.attachmentType==="VIDEO"){return{video:babelHelpers["extends"]({id:d},(f=c("getViewStateVideoData")(d,a.mediaAttachments))==null?void 0:f.data,{notify_when_processed:!0})}}})}))}));return}g["default"]=a}),98); __d("useCometComposerDecorator",["CometComposerPluginsDispatchContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect;function a(a){var b=i(c("CometComposerPluginsDispatchContext"));j(function(){b({decorator:a,type:"install_decorator"});return function(){return b({decorator:a,type:"uninstall_decorator"})}},[a,b])}g["default"]=a}),98); __d("composerAudienceFeedTransform",["requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";var h=c("requireDeferred")("ComposerTelemetryFalcoEvent").__setRef("composerAudienceFeedTransform");function a(a,b,c){var d,e=a==null?void 0:(d=a.albumData)==null?void 0:d.albumID,f=(a==null?void 0:a.viewerEditPostFeatureCapabilities)?a.viewerEditPostFeatureCapabilities.includes("POST_CONTAINER"):!1;h.onReady(function(b){return b.log(function(){var b;return{call_site:"composerAudienceFeedTransform",creation_session_id:(b=a.creationSessionID)!=null?b:"",debug_info:"viewState privacy info:"+((b=(b=a.audience)==null?void 0:(b=b.privacy)==null?void 0:b.base_state)!=null?b:"null")+" |albumID:"+((b=e)!=null?b:"null")+" |canMovePostToAlbum:"+f.toString(),event:"transform"}})});e!=null?f?c(babelHelpers["extends"]({},b,{audience:{album_id:e}})):c(b):c(babelHelpers["extends"]({},b,{audience:a.audience}))}g["default"]=a}),98); __d("getHashtagRegex",["getHashtagRegexString"],(function(a,b,c,d,e,f){function a(){return new RegExp(b("getHashtagRegexString")(),"ig")}f["default"]=a}),66); __d("getHashtagMatches",["getHashtagRegex"],(function(a,b,c,d,e,f){var g=b("getHashtagRegex")();function a(a,b){a=a.getText();var c,d,e;while((c=g.exec(a))!==null)d=c.index+c[1].length,e=c[2],c=c[3],b(d,d+e.length+c.length)}f["default"]=a}),66); __d("useCometComposerHashtagsDecorator",["getHashtagMatches","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useMemo,l={hashtagDefault:{backgroundColor:"xv78j7m",$$css:!0},hashtagFormattedText:{textDecoration:"x1bvjpef",$$css:!0}};function m(a){var b=a.children,d=a.hasFormattedText;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","hasFormattedText"]);a.blockKey;a.contentState;a.decoratedText;a.entityKey;a.offsetKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["blockKey","contentState","decoratedText","entityKey","offsetKey"]);return j.jsx("span",babelHelpers["extends"]({},a,{className:(h||(h=c("stylex")))(!d&&l.hashtagDefault,d&&l.hashtagFormattedText),children:b}))}m.displayName=m.name+" [from "+f.id+"]";function a(a){var b=a.hasFormattedText;a=a.priority;var d=a===void 0?0:a;return k(function(){return{component:j.memo(m),priority:d,props:{hasFormattedText:b},strategy:c("getHashtagMatches")}},[b,d])}g["default"]=a}),98); __d("CometComposerHashtagsPluginForDraftJS.react",["react","useCometComposerDecorator","useCometComposerHashtagsDecorator","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");function a(a){a=a.hasFormattedText;c("useCometComposerDecorator")(c("useCometComposerHashtagsDecorator")({hasFormattedText:a}));return null}b=c("withComposerViewStatePart")(a,function(a){return{hasFormattedText:((a=a.formattedText)==null?void 0:a.currentFormattedTextPreset)!=null}});g["default"]=b}),98); __d("CometMentionsBridge.react",["CometMentions.react","CometMentionsA11yContext","Keys","emptyFunction","react","recoverableViolation","useDebouncedComet","usePrevious","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useContext,l=b.useEffect,m=b.useRef,n=b.useState;function a(a){var b=a.dataSourceResolverConfig.resolver,d=a.editorRef,e=a.editorState,f=a.getAnchorRef,g=a.getSearchText,h=a.layoutStrategyRenderer,o=a.loggingProvider,p=a.mentionsHandlerForSelectedEntry,q=a.onEditorStateChange,r=a.pluginsDispatcher,s=a.position;s=s===void 0?"below":s;var t=a.priority;a=a.viewStrategyRenderer;f=f();var u=c("usePrevious")(e),v=k(c("CometMentionsA11yContext")),w=v||c("emptyFunction");v==null&&c("recoverableViolation")("a11y context is not available","comet_ax");var x=m(null),y=m(!1),z=n(!1),A=z[0],B=z[1];z=n(!1);var C=z[0],D=z[1];z=n(null);var E=z[0],F=z[1];z=n(!1);var G=z[0],H=z[1],I=j(function(a){var b=x.current;switch(a){case"MentionsAutocomplete/cancel":H(!0);break;case"MentionsAutocomplete/select-mention":b&&b.select();break;case"MentionsAutocomplete/previous-mention":b&&b.moveUp();break;case"MentionsAutocomplete/next-mention":b&&b.moveDown();break}return"not-handled"},[]),J=j(function(a){var b=x.current,d=y.current;if(a.keyCode===c("Keys").ESC&&E!=null){d&&(a.preventDefault(),a.stopPropagation());return"MentionsAutocomplete/cancel"}if(b!=null&&d)switch(a.keyCode){case c("Keys").DOWN:a.preventDefault();return"MentionsAutocomplete/next-mention";case c("Keys").RETURN:if(b.hasSelection()){a.preventDefault();return"MentionsAutocomplete/select-mention"}break;case c("Keys").TAB:if(b.hasSelection()){a.preventDefault();return"MentionsAutocomplete/select-mention"}break;case c("Keys").UP:a.preventDefault();return"MentionsAutocomplete/previous-mention"}return},[E]),K=j(function(){if(d!=null&&e!=null&&e.__type==="editor-state-based"){var a=e.draftEditorState;if(a.getSelection().getHasFocus()){a=g(a);if(a!==E){B(!0);D(!1);a=a!=null&&a.length>0&&b(a)!=null?a:null;F(a);H(!1)}}else B(!1)}},[d,e,g,E,b]),L=c("useDebouncedComet")(K);l(function(){var a={handleKeyCommand:I,keyBindingFn:J,priority:t};r({handler:a,type:"install_handler"});return function(){return r({handler:a,type:"uninstall_handler"})}},[J,I,r,t]);l(function(){L();return function(){L.reset()}},[K,L]);l(function(){if(e!=null&&u!==e&&e.__type==="editor-state-based"){var a=e.draftEditorState;a=g(a);a==null||a.length===0||b(a)==null?K():L()}},[e,g,K,L,u,b]);z=j(function(a){a=p({dataSourceResolver:b,deferredEditorState:e,entry:a,onEditorStateChange:q});a&&(v!=null&&v(),B(!0),F(null))},[b,e,q,v,p]);var M=j(function(){var a=!1,b=x.current;if(b!=null){b=(b=b.getViewRef())==null?void 0:b.current;if(b!=null){var c=document.activeElement;while(c!=null){if(c===b){a=!0;break}c=c.parentNode}}}D(a)},[]),N=j(function(){D(!0)},[]),O=j(function(a){y.current=a},[]),P=j(function(a){if(a)return;v!=null&&v()},[v]);C=x.current==null?!1:C;G=!G&&E!=null&&E.length>0&&(A||C);A=b(E);C=A.dataSource;A=A.searchResult;if(G&&f!=null&&C!=null&&A!=null)return i.jsx(c("CometMentions.react"),{context:f,dataSource:C,inputElement:null,layoutStrategyRenderer:h,loggingProvider:o,onAriaChange:w,onBlur:M,onEntriesUpdated:P,onFocus:N,onSelectedEntry:z,onVisibilityChange:O,position:s,queryString:A.matchingString,ref:x,viewStrategyRenderer:a});y.current&&(v!=null&&v());y.current=!1;return null}a.displayName=a.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){return{editorRef:a.editorRef,editorState:a.editorState}});g["default"]=e}),98); __d("useCometComposerMentionsAnchorDecorator",["CometComposerPluginsDispatchContext","CometErrorBoundary.react","CometMentionsBridge.react","CometMentionsLayoutStrategy.react","gkx","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useCallback,k=b.useContext,l=b.useMemo,m=b.useRef;function n(a){var b=a.children;a.currentBlockKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","currentBlockKey"]);var d=k(c("CometComposerPluginsDispatchContext")),e=c("useComposerViewStateDispatcher")(),f=j(function(a){e({draftEditorState:a,type:"update_draft_editor_state"})},[e]),g=m();return i.jsxs("span",{ref:g,children:[i.jsx(c("CometMentionsBridge.react"),babelHelpers["extends"]({},a,{getAnchorRef:function(){return g.current},inputElement:null,layoutStrategyRenderer:c("CometMentionsLayoutStrategy.react"),onEditorStateChange:f,pluginsDispatcher:d})),b]})}n.displayName=n.name+" [from "+f.id+"]";var o={project:"gemini_composer"};function p(a){return i.jsx(c("CometErrorBoundary.react"),{context:o,fallback:function(){return a.children},children:i.jsx(n,babelHelpers["extends"]({},a))})}p.displayName=p.name+" [from "+f.id+"]";function a(a,b){return l(function(){return{component:i.memo(c("gkx")("3596")?p:n),priority:1,props:a,strategy:b.bind(null,a.dataSourceResolverConfig.resolver,a.currentBlockKey)}},[b,a])}g["default"]=a}),98); __d("CometComposerHashtagsWithTypeaheadPlugin.react",["getHashtagMatches","useCometComposerDecorator","useCometComposerHashtagsDecorator","useCometComposerMentionsAnchorDecorator"],(function(a,b,c,d,e,f,g){"use strict";var h=["#","\\uFF03"],i=function(a,b,d,e,f){if(b!==d.getKey())return;var g=f.getSelectionAfter().getFocusOffset();c("getHashtagMatches")(d,function(b,c){if(g===c-1){c=d.getText().substring(b,c);var f=a(c);f=f.searchResult;if(f!=null){f=f.replaceableString;b=b+c.indexOf(f);e(b,b+f.length)}}});h.includes(d.getText().charAt(g))&&e(g,g+1)};function a(a){var b=a.hasFormattedText;a=babelHelpers.objectWithoutPropertiesLoose(a,["hasFormattedText"]);c("useCometComposerDecorator")(c("useCometComposerHashtagsDecorator")({hasFormattedText:b,priority:2}));c("useCometComposerDecorator")(c("useCometComposerMentionsAnchorDecorator")(a,i));return null}g["default"]=a}),98); __d("createCometComposerHashtagsEntity",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return b.createEntity("HASHTAG","SEGMENTED",{id:a})}f["default"]=a}),66); __d("getCometComposerHashtagSearch",["getHashtagRegex"],(function(a,b,c,d,e,f,g){"use strict";var h=["#","\\uFF03"];function a(a){a=a.getCurrentContent();var b=a.getSelectionAfter(),d=b.getAnchorKey();a=a.getBlockForKey(d);d=a.getText().substring(0,b.getFocusOffset());if(h.includes(d.charAt(b.getFocusOffset()-1)))return d.charAt(b.getFocusOffset()-1);a=new RegExp(c("getHashtagRegex")());b=a.exec(d);var e;while((e=a.exec(d))!=null)b=e;return b!=null?b[0]:null}g["default"]=a}),98); __d("breakingNewsReducer",["composerAttachmentAreaReducer"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var c=a.breakingNews;a=babelHelpers.objectWithoutPropertiesLoose(a,["breakingNews"]);var e=c==null?void 0:c.breakingNewsEditStartTime;switch(b.type){case"ADD_BREAKING_NEWS":var f=b.breakingNewsDuration;return babelHelpers["extends"]({},a,{breakingNews:{breakingNewsChanged:!0,breakingNewsDuration:f,breakingNewsEditStartTime:e,breakingNewsIsSettingUpEdit:!1}});case"REMOVE_BREAKING_NEWS":return babelHelpers["extends"]({},a,{breakingNews:{breakingNewsChanged:!0,breakingNewsDuration:void 0,breakingNewsEditStartTime:e,breakingNewsIsSettingUpEdit:!1}});case"REMOVE_ATTACHMENT_TYPE":return d("composerAttachmentAreaReducer").removeActiveAttachmentViewStateData(a,b,{attachmentType:"LINK",field:"breakingNews"});case"REMOVE_LINK_URL":return babelHelpers["extends"]({},a,{breakingNews:void 0});case"ADD_LINK_URL":if((c==null?void 0:c.breakingNewsIsSettingUpEdit)===!0)return babelHelpers["extends"]({},a,{breakingNews:{breakingNewsChanged:!0,breakingNewsDuration:c==null?void 0:c.breakingNewsDuration,breakingNewsEditStartTime:e,breakingNewsIsSettingUpEdit:!1}});else return babelHelpers["extends"]({},a,{breakingNews:void 0})}return babelHelpers["extends"]({breakingNews:c},a)}g["default"]=a}),98); __d("getEntityMatcher",[],(function(a,b,c,d,e,f){function g(a,b){return b.getEntity(a)}function a(a,b){return function(c,d,e){var f=b||g;c.findEntityRanges(function(b){b=b.getEntity();return typeof b==="string"&&a(f(b,e))},d)}}f["default"]=a}),66); __d("getImplicitURLMatches",["URI","URLMatchUtils","URLMatcher","killswitch"],(function(a,b,c,d,e,f){"use strict";var g,h=b("URLMatchUtils").canonicalizeURL,i=b("URLMatchUtils").isURL;function a(a,c,d){d=a.getText();a=0;var e=b("URLMatcher").match(d);while(e!=null){var f=d.indexOf(e),j=f+e.length,k=e.startsWith("http://")||e.startsWith("https://")?e:"https://"+e;b("killswitch")("LINK_SCRAPER_LIMIT_VALID_URLS")?(g||(g=b("URI"))).isValidURI(e)&&c(a+f,a+j,k):i(h(e))&&(g||(g=b("URI"))).isValidURI(e)&&c(a+f,a+j,k);a+=j;d=d.substring(j);e=b("URLMatcher").match(d)}}e.exports=a}),null); __d("useCometComposerLinkScrape",["Promise","react","useComposerViewStateDispatcher"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(i||d("react")).useCallback;function a(a){var d=c("useComposerViewStateDispatcher")();return j(function(){d({type:"ADD_LINK_URL",url:a}),d({attachmentType:"LINK",onRemove:function(a){return new(h||(h=b("Promise")))(function(b){a({onRemovedLast:b,type:"REMOVE_LINK_URL"})})},type:"ACTIVATE_ATTACHMENT_TYPE"})},[d,a])}g["default"]=a}),98); __d("CometComposerLinksPluginForDraftJS.react",["breakingNewsReducer","composerLinkAttachmentChecker","composerLinkAttachmentReducer","cr:2003939","getEntityMatcher","getImplicitURLMatches","react","useCometComposerDecorator","useCometComposerLinkScrape","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react")),j=h.useEffect;function k(a){var d=a.children;a=a.href;var e=c("useCometComposerLinkScrape")(a);j(function(){e()},[e]);return b("cr:2003939")!=null?i.jsx(b("cr:2003939"),{href:a,children:d}):i.jsx("span",{className:"x1fey0fg",children:d})}k.displayName=k.name+" [from "+f.id+"]";function a(a){var b=a.children;a=babelHelpers.objectWithoutPropertiesLoose(a,["children"]);var c=a.contentState;a=a.entityKey;c=a!=null?c.getEntity(a):null;a=c!=null?c.getData():null;a=(c=a==null?void 0:a.url)!=null?c:"";return i.jsx(k,{href:a,children:b})}a.displayName=a.name+" [from "+f.id+"]";function e(a){var b=a.children;a=babelHelpers.objectWithoutPropertiesLoose(a,["children"]);a=a.decoratedText;a=a.startsWith("http://")||a.startsWith("https://")?a:"https://"+a;return i.jsx(k,{href:a,children:b})}e.displayName=e.name+" [from "+f.id+"]";var l={component:i.memo(e),priority:0,props:{},strategy:c("getImplicitURLMatches")},m={component:i.memo(a),priority:0,props:{},strategy:c("getEntityMatcher")(function(a){return a.getType()==="LINK"})};function n(a){c("useComposerViewStateReducer")(c("composerLinkAttachmentReducer"),c("composerLinkAttachmentChecker"));c("useComposerViewStateReducer")(c("breakingNewsReducer"));c("useCometComposerDecorator")(l);c("useCometComposerDecorator")(m);return null}g["default"]=n}),98); __d("cometMentionDecoratorStrategy",[],(function(a,b,c,d,e,f){"use strict";var g=/\s/;function h(a){var b=a.getText();return a.getCharacterList().map(function(a,c){return a.getEntity()===null?b.slice(c,c+1):" "}).join("")}function a(a,b,c,d,e){if(b!==c.getKey())return;b=h(c);c=e.getSelectionAfter().getFocusOffset();e=b.substring(c).split(g)[0].length;b=b.substring(0,c+e);c=a(b);e=c.searchResult;if(e!=null){a=e.leadOffset;b=e.replaceableString;d(a,a+b.length)}}f.getTextWithoutEntities=h;f.decoratorStrategy=a}),66); __d("useCometComposerMentionsDecorator",["getEntityMatcher","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useMemo,l={rootFormattedText:{textDecoration:"x1bvjpef",$$css:!0},rootRegularMention:{backgroundColor:"xv78j7m",$$css:!0},rootWeakMention:{backgroundColor:"x1h0vfkc",color:"xi81zsa",$$css:!0}};function m(a){var b=a.children,d=a.hasFormattedText,e=a.offsetKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","hasFormattedText","offsetKey"]);a.blockKey;var f=a.contentState;a.decoratedText;var g=a.entityKey;a=babelHelpers.objectWithoutPropertiesLoose(a,["blockKey","contentState","decoratedText","entityKey"]);var i="regular";if(g!=null){f=f.getEntity(g).getData();f.mentionDecorType!=null&&(i=f.mentionDecorType)}return j.jsx("span",babelHelpers["extends"]({},a,{className:(h||(h=c("stylex")))(!d&&i==="regular"&&l.rootRegularMention,!d&&i==="weak"&&l.rootWeakMention,d&&l.rootFormattedText),"data-offset-key":e,spellCheck:!1,children:b}))}m.displayName=m.name+" [from "+f.id+"]";function a(a){var b=c("getEntityMatcher")(function(a){return a.getType()==="MENTION"});return k(function(){return{component:j.memo(m),priority:1,props:{hasFormattedText:a},strategy:b}},[a,b])}g["default"]=a}),98); __d("CometComposerMentionsPlugin.react",["cometMentionDecoratorStrategy","composerEditorStateViewStateReducer","react","useCometComposerDecorator","useCometComposerMentionsAnchorDecorator","useCometComposerMentionsDecorator","useComposerViewStateReducer"],(function(a,b,c,d,e,f,g){"use strict";var h;h||d("react");function a(a){var b=a.hasFormattedText;b=b===void 0?!1:b;a=babelHelpers.objectWithoutPropertiesLoose(a,["hasFormattedText"]);c("useComposerViewStateReducer")(c("composerEditorStateViewStateReducer"));c("useCometComposerDecorator")(c("useCometComposerMentionsDecorator")(b));c("useCometComposerDecorator")(c("useCometComposerMentionsAnchorDecorator")(babelHelpers["extends"]({},a),d("cometMentionDecoratorStrategy").decoratorStrategy));return null}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometReplaceMentionedTextInEditorState",["DraftModifier","EditorState"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b,e,f,g){g=g(b.getCurrentContent(),a);var h=g.getLastCreatedEntityKey();g=d("DraftModifier").replaceText(g,e,f,b.getCurrentInlineStyle(),h);e=a.decorType;g.mergeEntityData(h,{mentionDecorType:e});return c("EditorState").push(b,g,"insert-fragment")}function a(a,b,c,d,e){var f=b.getSelection(),g=b.getCurrentContent(),k=f.getAnchorKey(),l=f.getAnchorOffset();g=g.getBlockMap().get(k);k=f.getStartOffset();k=g.getText().substr(k-c,c);k=i(a,k);g=l-j(g.getText().substr(0,l),k,c);return h(a,b,f.set("anchorOffset",g),e(a),d)}function i(a,b){b=a.label;return b}function j(a,b,c){c=c;for(var d=c;d<=b.length;d++)a.substr(-d)===b.substr(0,d)&&(c=d);return c}g["default"]=a}),98); __d("createCometComposerMentionsEntity",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return b.createEntity("MENTION","SEGMENTED",{id:a})}f["default"]=a}),66); __d("getCometComposerMentionsSearch",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){var c=a.getCharacterList().toSeq().slice(0,b).reverse().takeWhile(function(a){return a.getEntity()===null}).count();return a.getText().slice(b-c,b)}function a(a){var b=a.getSelection();a=a.getCurrentContent();var c=b.getAnchorKey();a=a.getBlockForKey(c);return g(a,b.getAnchorOffset())}f["default"]=a}),66); __d("detectLinkForMisinformationAnalysis",["URLMatchUtils","getImplicitURLMatches"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){var e=b.draftEditorState.getCurrentContent();e.getBlocksAsArray().forEach(function(b){c("getImplicitURLMatches")(b,function(b,c,e){b=d("URLMatchUtils").canonicalizeURL(e);d("URLMatchUtils").isURL(b)&&a.add(b)},e)})}g["default"]=a}),98); __d("handleNewLinks",["URLMatchUtils","detectLinkForMisinformationAnalysis","isStringNullOrEmpty"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,e,f){var g=new Set();if(a!=null)switch(a.__type){case"editor-state-based":c("detectLinkForMisinformationAnalysis")(g,a);break;case"plain-text":break;default:return a.__type}a=b==null?void 0:b.url;c("isStringNullOrEmpty")(a)||g.add(d("URLMatchUtils").canonicalizeURL(a));Array.from(g.values()).filter(function(a){return f.has(a)===!1}).forEach(function(a){return e({__type:"TRACK_COMPOSED_URL",dispatch:e,url:a})});Array.from(f.values()).filter(function(a){return g.has(a)===!1}).forEach(function(a){e({__type:"UNTRACK_COMPOSED_URL",url:a})})}g["default"]=a}),98); __d("CometComposerMisinformationLinkDetectorPluginForDraftJS.react",["JSResourceForInteraction","handleNewLinks","handlePendingMisinformationOnComposerSubmit","hasNoLinksToAnalyze","maybeTriggerMisinformationDialog","react","useCometLazyDialog","useComposerPreSubmitHook","useMisinformationState","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useEffect,j=b.useRef,k=c("JSResourceForInteraction")("CometMisinformationLinkComposerConfirmationDialog.react").__setRef("CometComposerMisinformationLinkDetectorPluginForDraftJS.react");function a(a){var b=a.composerType,d=a.editorState,e=a.linkAttachment;a=c("useMisinformationState")();var f=a.composedURLs,g=a.composerPhase,h=a.dispatch,l=a.misinformationRecords,m=a.setComposerPhase,n=j(null);a=c("useCometLazyDialog")(k);var o=a[0],p=j(!1);i(function(){if(b==="share")return;n.current=l;var a=function(){p.current=!0},d=function(){p.current=!1};c("maybeTriggerMisinformationDialog")({composedURLs:f,composerPhase:g,composerType:b,dialogIsOpen:p,dispatch:h,misinformationRecords:l},{onCloseDialog:d,onTriggerDialog:a,openConfirmationDialog:o})},[f,g,b,h,l,o]);i(function(){c("handleNewLinks")(d,e,h,f)},[f,d,e]);var q=j([]);i(function(){var a=Array.from(f);c("handlePendingMisinformationOnComposerSubmit")(a,l,q)},[f,l]);function r(a){var b=a.onContinue,d=a.onHalt;m("COMMITTING");q.current.push({onContinue:function(){m("COMPOSING"),b()},onHalt:function(){m("COMPOSING"),d()}});a=c("hasNoLinksToAnalyze")(f,l);if(a){a=[].concat(q.current);q.current.length=0;a.forEach(function(a){a=a.onContinue;a()})}else h({__type:"EXIT_COOLDOWN_PERIOD"})}c("useComposerPreSubmitHook")(r);i(function(){return function(){var a=n.current;a!==null&&Object.keys(a).forEach(function(b){b=a[b];b!=null&&b.dispose()})}},[]);return null}e=c("withComposerViewStatePart")(a,function(a){return{editorState:a.editorState,linkAttachment:a.linkAttachment}});g["default"]=e}),98); __d("getRangeBoundingClientRect",["getRangeClientRects"],(function(a,b,c,d,e,f){"use strict";function a(a){a=b("getRangeClientRects")(a);var c=0,d=0,e=0,f=0;if(a.length){if(a.length>1&&a[0].width===0){var g=a[1];c=g.top;d=g.right;e=g.bottom;f=g.left}else{g=a[0];c=g.top;d=g.right;e=g.bottom;f=g.left}for(g=1;g=d("CometComposerStylingConstants").MAX_DYNAMIC_TEXT_LENGTH;f=c("getResolvedShouldShrink")(babelHelpers["extends"]({formattedTextStyling:e,textExceedsLength:b},a));return(b=e==null?void 0:e.fontSize)!=null?b:f?d("CometLexicalEmojiNode").COMPOSER_EMOJI_SIZE_SMALL:d("CometLexicalEmojiNode").COMPOSER_EMOJI_SIZE_LARGE}g["default"]=a}),98); __d("CometComposerEmojiPluginForLexical.react",["CometLexicalEmojiNode","Lexical","LexicalText","getEmojiSize","getUpgradedCometEmojiComposerHandler","react","useCometStatusAreaTextData","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));b=h;var i=b.useLayoutEffect,j=b.useRef;function a(a){var b=a.activeAttachmentType,e=a.alwaysShrinkText,f=a.editor,g=a.emojiSizeOverride,h=a.formattedTextPreset,l=a.formattingType,m=(a=c("useCometStatusAreaTextData")(h))==null?void 0:a.formattedTextStyling,n=j((h=g)!=null?h:c("getEmojiSize")({activeAttachmentType:b,alwaysShrinkText:e,formattedTextStyling:m,formattingType:l,textLength:0})),o=j(new Set());function p(a,b){o.current.forEach(function(c){b.update(function(){var b=d("Lexical").$getNodeByKey(c);b!==null&&b.setSize(a)})}),n.current=a}i(function(){if(f!=null){var a=o.current;f.getEditorState().read(function(){d("Lexical").$nodesOfType(d("CometLexicalEmojiNode").EmojiNode).forEach(function(b){a.add(b.getKey())})});return f.registerMutationListener(d("CometLexicalEmojiNode").EmojiNode,function(b){b.forEach(function(b,c){b==="created"?a.add(c):b==="destroyed"&&a["delete"](c)})})}},[f]);i(function(){if(f!=null)return k({activeAttachmentType:b,alwaysShrinkText:e,editor:f,emojiSizeOverride:g,formattedTextStyling:m,formattingType:l})},[f,b,e,m,l,g]);i(function(){f!=null&&f.update(function(){var a=f.getEditorState().read(d("LexicalText").$rootTextContent).length;a=c("getEmojiSize")({activeAttachmentType:b,alwaysShrinkText:e,emojiSizeOverride:g,formattedTextStyling:m,formattingType:l,textLength:a});n.current!==a&&p(a,f)})},[f,b,e,m,l,g]);i(function(){if(f!=null)return f.registerTextContentListener(function(a){a=c("getEmojiSize")({activeAttachmentType:b,alwaysShrinkText:e,emojiSizeOverride:g,formattedTextStyling:m,formattingType:l,textLength:a.length});n.current!==a&&p(a,f)})},[f,b,e,m,l,g])}function k(a){var b=a.editor,d=a.emojiSizeOverride,e=babelHelpers.objectWithoutPropertiesLoose(a,["editor","emojiSizeOverride"]),f=function(){},g=b.registerTextContentListener(function(a){a=c("getEmojiSize")(babelHelpers["extends"]({emojiSizeOverride:d,textLength:a.length},e));f();f=c("getUpgradedCometEmojiComposerHandler")(b,a)});return function(){f(),g()}}e=c("withComposerViewStatePart")(a,function(a){var b;return{activeAttachmentType:(b=a.attachmentArea)==null?void 0:b.activeAttachmentType,editor:a.lexicalEditor,emojiSizeOverride:a.emojiSizeOverride,formattedTextPreset:(b=a.formattedText)==null?void 0:b.currentFormattedTextPreset,formattingType:a.formattingType}});g["default"]=e}),98); __d("CometComposerHashtagPluginForLexical.react",["react","requireDeferred","useDeferredModuleOnReady","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));var i=h.useEffect,j=c("requireDeferred")("getUpgradedCometHashtagComposerHandler").__setRef("CometComposerHashtagPluginForLexical.react");function a(a){var b=a.editor,d=c("useDeferredModuleOnReady")(j);i(function(){if(b!=null&&d!=null)return d(b)},[b,d])}b=c("withComposerViewStatePart")(a,function(a){return{editor:a.lexicalEditor}});g["default"]=b}),98); __d("FeedComposerCometHashtagTypeheadListItem.react",["CometSearchMentionsBaseViewItem.react","TetraTextPairing.react","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.entry;a=babelHelpers.objectWithoutPropertiesLoose(a,["entry"]);var d=b.label,e=b.rawData.subtext;return i.jsx(c("CometSearchMentionsBaseViewItem.react"),babelHelpers["extends"]({},a,{entry:b,children:i.jsx("div",{className:"x1y1aw1k x1sxyh0 xwib8y2 xurb0ha x168biu4",children:i.jsx(c("TetraTextPairing.react"),{headline:d,level:4,meta:e})})}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("cometHashtagsLexicalCreateNodeStrategy",["CometLexicalGenericEntityNode","cometBaseMentionsLexicalCreateNodeStrategy","cometMentionsDataEntryText"],(function(a,b,c,d,e,f,g){"use strict";a=c("cometBaseMentionsLexicalCreateNodeStrategy")(function(a){return d("CometLexicalGenericEntityNode").$createCometLexicalGenericEntityNode({id:a.key,text:c("cometMentionsDataEntryText")(a),type:"Hashtag"})});b=a;g["default"]=b}),98); __d("getHashtagRegexForTypeahead",["getHashtagRegexString"],(function(a,b,c,d,e,f,g){function a(){return new RegExp(c("getHashtagRegexString")()+"$","i")}g["default"]=a}),98); __d("createCometHashtagMatchStrategy",["getHashtagRegexForTypeahead"],(function(a,b,c,d,e,f,g){"use strict";var h=["#","\\uFF03"];function a(a){var b=a.minMatchLength;return{findMentionableString:function(a){if(h.includes(a))return{leadOffset:0,matchingString:a,replaceableString:a};var d=new RegExp(c("getHashtagRegexForTypeahead")());d=d.exec(a);if(d!==null){a=d[1].length;d=d[0].substring(a);if(d!=null&&d.length>=b)return{leadOffset:a,matchingString:d,replaceableString:d}}return null},name:"HashtagMatchStrategy("+b.toString()+")"}}g["default"]=a}),98); __d("createFeedComposerCometHashtagDataEntry",["createFeedComposerCometHashtagDataEntry_data.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h;h!==void 0?h:h=b("createFeedComposerCometHashtagDataEntry_data.graphql");function a(a){a=a==null?void 0:a.node;if(a==null)return null;var b=a.id,c=a.name;a=a.typeahead_snippets;a=a!=null&&a.length>=1?a[0]:null;return b==null||c==null?null:{key:b,label:c,rawData:{id:b,name:c,subtext:a},type:"entry"}}g["default"]=a}),98); __d("useFeedComposerCometHashtagTypeaheadDataSource",["createFeedComposerCometHashtagDataEntry","useCometTypeaheadGraphQLDataSource","useFeedComposerCometHashtagTypeaheadDataSourceQuery.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h!==void 0?h:h=b("useFeedComposerCometHashtagTypeaheadDataSourceQuery.graphql");function a(a){var b=a.context,d=a.includeMetatext,e=a.limit,f=a.scopeID,g="";return c("useCometTypeaheadGraphQLDataSource")({gqlQuery:i,limit:e,normalize:j,queryVariablesBuilderFunction:function(a){a=a.query;return{context:b,includeMetatext:d,limit:e,query:a,scopeID:f,sessionID:g}}})}function j(a){a=a==null?void 0:a.hashtag_typeahead_v2;return a==null?[]:a.map(function(a){if(a==null)return;return c("createFeedComposerCometHashtagDataEntry")(a)}).filter(Boolean)}g["default"]=a}),98); __d("useFeedComposerCometHashtagsDataSourceResolverConfig",["createCometHashtagMatchStrategy","react","useCometMentionsDataSourceResolverConfig","useCometTypeaheadCompositeDataSource","useFeedComposerCometHashtagTypeaheadDataSource"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||d("react")).useMemo;function a(a){var b=a.context,d=a.includeMetatext,e=a.limit,f=a.payloadDecorators;a=a.scopeID;var g=c("useCometTypeaheadCompositeDataSource")({limit:e,networkDataSource:c("useFeedComposerCometHashtagTypeaheadDataSource")({context:b,includeMetatext:d,limit:e,scopeID:a}),payloadDecorators:(b=f)!=null?b:[]});d=i(function(){return[{dataSource:g,matchStrategy:c("createCometHashtagMatchStrategy")({minMatchLength:0})}]},[g]);return c("useCometMentionsDataSourceResolverConfig")(d,!0)}g["default"]=a}),98); __d("CometComposerHashtagTypeaheadPluginForLexical.react",["CometMentionsForLexical.react","CometMentionsLayoutStrategy.react","FeedComposerCometHashtagTypeheadListItem.react","cometHashtagsLexicalCreateNodeStrategy","cr:2971","react","useCometTypeaheadViewListStrategy","useFeedComposerCometHashtagsDataSourceResolverConfig","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.editor;a=babelHelpers.objectWithoutPropertiesLoose(a,["editor"]);return b==null?null:i.jsx(j,babelHelpers["extends"]({},a,{editor:b}))}a.displayName=a.name+" [from "+f.id+"]";function j(a){var d=a.editor;a=a.groupID;var e=a==null?"MAIN_COMPOSER":"GROUP_COMPOSER";a=a;var f=!0;e=c("useFeedComposerCometHashtagsDataSourceResolverConfig")({context:e,includeMetatext:f,limit:6,payloadDecorators:b("cr:2971")!=null?[b("cr:2971")({limit:1})]:void 0,scopeID:a});f=c("useCometTypeaheadViewListStrategy")({viewItemStrategyRenderer:c("FeedComposerCometHashtagTypeheadListItem.react")});return i.jsx(c("CometMentionsForLexical.react"),{createNodeStrategy:c("cometHashtagsLexicalCreateNodeStrategy"),dataSourceResolverConfig:e,editor:d,layoutStrategyRenderer:c("CometMentionsLayoutStrategy.react"),viewStrategyRenderer:f})}j.displayName=j.name+" [from "+f.id+"]";e=c("withComposerViewStatePart")(a,function(a){return{editor:a.lexicalEditor}});g["default"]=e}),98); __d("CometComposerIsDirtyPluginForLexical.react",["LexicalText","composerLexicalEditorViewStateReducer","react","useComposerViewStateDispatcher","useComposerViewStateReducer","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h;h||(h=d("react"));var i=h.useEffect;function a(a){var b=a.editor,e=a.lexicalIsDirty;c("useComposerViewStateReducer")(c("composerLexicalEditorViewStateReducer"));var f=c("useComposerViewStateDispatcher")();i(function(){if(b!=null){var a=b.getEditorState().read(d("LexicalText").$rootTextContent).length>0;a===!0&&a!==e&&f({isDirty:!0,type:"SET_LEXICAL_DIRTY_STATE"});return b.registerTextContentListener(function(b){b=b.length>0;b!==a&&f({isDirty:b,type:"SET_LEXICAL_DIRTY_STATE"})})}},[f,b,e])}b=c("withComposerViewStatePart")(a,function(a){return{editor:a.lexicalEditor,lexicalIsDirty:a.lexicalEditorIsDirty}});g["default"]=b}),98); __d("extractMessageFromPlainText",["CometLexicalEmojiNode","CometLexicalEntityTextNode","Lexical","LexicalUtils","UnicodeUtils"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(){var a=[],b="",c=!1,e=d("LexicalUtils").$dfs(),f=e.length;for(var g=0;g=0;k-=1){e=a[k];f=e.offset;if(f<=l)break;a.pop()}return{ranges:a,text:j}}g["default"]=a}),98); __d("composerLexicalMessageFeedTransform",["LexicalText","cr:3325","extractMessageFromPlainText"],(function(a,b,c,d,e,f,g){"use strict";function a(a,e,f){var g=a.lexicalEditor;if(g==null){f(babelHelpers["extends"]({},e));return}g=g.getEditorState().read(function(){if(a.formattingType==="MARKDOWN"&&b("cr:3325")!=null)return b("cr:3325")(d("LexicalText").$rootTextContent().trim());else return c("extractMessageFromPlainText")()});f(babelHelpers["extends"]({},e,{formatting:a.formattingType==="MARKDOWN"?"MARKDOWN":void 0,message:g}))}g["default"]=a}),98); __d("URLMatchUtils",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=/^(([\w-]+\.)+(xn--[\w-]+|\w+)|\[([\da-f]{0,4}:)*(?:[\da-f]{1,4}|(?:(?:\d{1,3}\.){3}\d{1,3}))\])(:[0-9]+)?([/\?].*)?$/;return a.match(b)!==null}function b(a){return a.trim().replace(/(^\w+:|^)\/\//,"").replace(/^www\./,"").replace(/\/*$/,"").toLowerCase()}f.isURL=a;f.canonicalizeURL=b}),66); __d("composerLinkAttachmentChecker",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return(a==null?void 0:(a=a.linkAttachment)==null?void 0:a.url)!==(b==null?void 0:(a=b.linkAttachment)==null?void 0:a.url)}f["default"]=a}),66); __d("composerLinkAttachmentReducer",["composerAttachmentAreaReducer","emptyFunction"],(function(a,b,c,d,e,f,g){"use strict";function h(a,b){var c;if(((c=a.attachmentArea)==null?void 0:c.activeAttachmentType)==="FORMATTED_TEXT"||((c=a.attachmentArea)==null?void 0:c.activeAttachmentType)==="SHARE")return a;var d=b.url;c=[].concat(((b=(c=a.linkAttachment)==null?void 0:c.urlStack)!=null?b:[]).filter(function(a){return!a.startsWith(d)&&!d.startsWith(a)}),[d]);var e=(b=a.linkAttachment)==null?void 0:b.selectedLinkPreview;e!=null&&(c=c.filter(function(a){return a!==e}).concat(e));return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{url:c[c.length-1],urlStack:c})})}function i(a,b){var c;c=(c=(c=a.linkAttachment)==null?void 0:c.urlStack)!=null?c:[];if(c.length<=1){b.onRemovedLast(!0);return babelHelpers["extends"]({},a,{attachmentArea:{activeAttachmentType:void 0,previousAttachmentType:"LINK"},linkAttachment:void 0})}c=c.slice(0,-1);var d=c[c.length-1];b.onRemovedLast(!1);return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{selectedLinkPreview:void 0,url:d,urlStack:c})})}function j(a){return babelHelpers["extends"]({},a,{attachmentArea:{activeAttachmentType:void 0,previousAttachmentType:"LINK"},linkAttachment:void 0})}function k(a,b){var c;if(a.useOriginalContentLinkAttachment===!0)return babelHelpers["extends"]({},a,{originalContentLinkAttachment:babelHelpers["extends"]({},a.originalContentLinkAttachment,{linkPreview:{share_scrape_data:b.shareScrapeData},url:b.url})});else if(((c=a.linkAttachment)==null?void 0:c.url)!==b.url)return a;return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{linkPreview:{share_scrape_data:b.shareScrapeData},url:b.url})})}function l(a,b){return babelHelpers["extends"]({},a,{useOriginalContentLinkAttachment:b.useOriginalContentLinkAttachment})}function m(a,b){var c;c=((c=(c=a.linkAttachment)==null?void 0:c.urlStack)!=null?c:[]).filter(function(a){return a!==b.selectedLinkPreview}).concat(b.selectedLinkPreview);return babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},a.linkAttachment,{selectedLinkPreview:b.selectedLinkPreview,url:b.selectedLinkPreview,urlStack:c})})}function n(a,b){var c,d=a.linkAttachment;c=(c=d==null?void 0:d.customAttachments)!=null?c:[];c=c[0].throwback_card;return d==null||c==null?a:babelHelpers["extends"]({},a,{linkAttachment:babelHelpers["extends"]({},d,{customAttachments:[{throwback_card:babelHelpers["extends"]({},c,{media_ids:b.mediaIds})}]})})}function a(a,b){switch(b.type){case"ADD_LINK_URL":return h(a,b);case"REMOVE_LINK_URL":return i(a,b);case"REMOVE_ATTACHMENT_TYPE":var e=d("composerAttachmentAreaReducer").getCanAlterAttachmentData(b,"LINK",a);if(e)return i(a,{onRemovedLast:c("emptyFunction"),type:"REMOVE_LINK_URL"});else return a;case"REMOVE_ALL_LINKS":return j(a);case"SET_LINK_PREVIEW":return k(a,b);case"SET_USE_ORIGINAL_CONTENT":return l(a,b);case"SET_SELECTED_LINK_PREVIEW":return m(a,b);case"SET_THROWBACK_MEDIA":return n(a,b)}return a}g["default"]=a}),98); __d("CometComposerLinksPluginForLexical.react",["ConstUriUtils","Lexical","LexicalLink","LexicalUtils","Promise","URLMatchUtils","URLMatcher","composerLinkAttachmentChecker","composerLinkAttachmentReducer","react","useComposerViewStateDispatcher","useComposerViewStateReducer","withComposerViewStatePart"],(function(a,b,c,d,e,f,g){"use strict";var h,i;i||(i=d("react"));var j=i.useEffect;function k(a,c,d){a({type:"ADD_LINK_URL",url:c}),d&&a({attachmentType:"LINK",onRemove:function(a){return new(h||(h=b("Promise")))(function(b){a({onRemovedLast:b,type:"REMOVE_LINK_URL"})})},type:"ACTIVATE_ATTACHMENT_TYPE"})}function l(a,b){var e=a.getTextContent(),f=e.length,g=e,h=0,i=a,j=0,k;while((k=c("URLMatcher").match(g))!=null&&k!=null){var l=g.indexOf(k),m=h+l,n=k.length,o=void 0;if(m>0)o=e[m-1]===" ";else{var p=a.getPreviousSibling();d("Lexical").$isElementNode(p)&&(p=p.getLastDescendant());p===null?o=!0:o=d("Lexical").$isLineBreakNode(p)||d("Lexical").$isTextNode(p)&&p.getTextContent().endsWith(" ")}if(m+n=0;c--)a.insertAfter(b[c]);a.remove();return b.map(function(a){return a.getLatest()})}function a(a){var b=a.editor,e=a.isLinkAttachmentEnabled;c("useComposerViewStateReducer")(c("composerLinkAttachmentReducer"),c("composerLinkAttachmentChecker"));var f=c("useComposerViewStateDispatcher")();j(function(){if(b!=null)return d("LexicalUtils").mergeRegister(b.registerMutationListener(d("LexicalLink").AutoLinkNode,function(a){if(e)return;var c=new WeakSet();b.getEditorState().read(function(){var e=function(){if(h){if(i>=g.length)return"break";j=g[i++]}else{i=g.next();if(i.done)return"break";j=i.value}var a=j,e=a[0];a=a[1];var l=b.getElementByKey(e);(a==="created"||a==="updated")&&l!==null&&!c.has(l)&&(c.add(l),l.addEventListener("click",function(a){b.getEditorState().read(function(){var a=d("Lexical").$getNodeByKey(e);a!=null&&k(f,a.getURL(),!0)})}))};for(var g=a,h=Array.isArray(g),i=0,g=h?g:g[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j,l=e();if(l==="break")break}})}),b.registerNodeTransform(d("Lexical").TextNode,function(a){var b=a.getParentOrThrow();if(d("LexicalLink").$isAutoLinkNode(b)){m(b);b=b.getLatest();k(f,b.getURL(),e)}else a.isSimpleText()&&l(a,function(a){k(f,a.getURL(),e)}),n(a)}),b.registerNodeTransform(d("LexicalLink").AutoLinkNode,function(a){m(a);a=a.getLatest();k(f,a.getURL(),e)}))},[f,b,e])}e=c("withComposerViewStatePart")(a,function(a){return{editor:a.lexicalEditor,isLinkAttachmentEnabled:(a=(a=a.linkAttachment)==null?void 0:a.isLinkAttachmentEnabled)!=null?a:!0}});g["default"]=e}),98); __d("getInitialComposerLinkData",["Lexical","LexicalLink"],(function(a,b,c,d,e,f,g){"use strict";function a(a){if(a!=null){var b=new Map();a.getEditorState().read(function(){return d("Lexical").$nodesOfType(d("LexicalLink").AutoLinkNode).forEach(function(a){return b.set(a.getKey(),a.getTextContent())})});return b}return new Map()}g["default"]=a}),98); __d("handlePendingMisinformationOnComposerSubmit",[],(function(a,b,c,d,e,f){"use strict";function a(a,b,c){for(var d=0;d=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c.push(j(f,b))}return c}function k(a,b){return(b=b[a])!=null?b:null}function l(a,b){return c("nullthrows")(k(a,b))}function e(a,b){var c=[];for(var a=a,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;c.push(l(f,b))}return c}function m(a,b){var c;Object.keys(b).forEach(function(d){b[d]===a&&(c=d)});return c}function f(a,b){return c("nullthrows")(m(a,b))}g.coerce=h;g.coerceNullable=a;g.coerceKey=i;g.assert=j;g.assertKey=b;g.assertIterable=d;g.coerceFromKey=k;g.assertFromKey=l;g.assertIterableFromKey=e;g.enumValueToKey=m;g.enumValueToKeyEnforcing=f}),98);/*FB_PKG_DELIM*/ __d("CometFeedUnit_feedUnit$normalization.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},c=[b],d={alias:null,args:null,concreteType:"QuickPromotionFeedUnitItem",kind:"LinkedField",name:"quick_promotion_items",plural:!0,selections:[{alias:null,args:null,concreteType:"QuickPromotion",kind:"LinkedField",name:"quick_promotion",plural:!1,selections:c,storageKey:null}],storageKey:null};return{argumentDefinitions:[{defaultValue:!1,kind:"LocalArgument",name:"CometFeedUnit_feedUnit$hasScenario"}],kind:"SplitOperation",metadata:{},name:"CometFeedUnit_feedUnit$normalization",selections:[a,{kind:"TypeDiscriminator",abstractKey:"__isFeedUnit"},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"debug_info",storageKey:null},b,{alias:null,args:null,concreteType:"SponsoredData",kind:"LinkedField",name:"sponsored_data",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ad_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"brs_filter_setting",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"client_token",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"post_rendering_loggers",storageKey:null},a],storageKey:null},{alias:null,args:null,concreteType:"Feedback",kind:"LinkedField",name:"feedback",plural:!1,selections:[{alias:null,args:null,concreteType:"Group",kind:"LinkedField",name:"associated_group",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"context_actor_hovercard",storageKey:null},b],storageKey:null},b],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_story_civic",storageKey:null},{args:[{kind:"Variable",name:"CometFeedUnitStoryStrategy_feedUnit$hasScenario",variableName:"CometFeedUnit_feedUnit$hasScenario"}],documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitStoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"Story",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitGoodwillMemoryStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GoodwillCometStory",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMKQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedPeopleYouMayKnowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometReelsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"ShowcaseFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFriendRequestsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"FriendRequestsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[d,{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometFeedUnitQuickPromotionStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"QuickPromotionNativeTemplateFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GroupsCometGYSJFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupsYouShouldJoinFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupsSuggestionFeedUnitStrategy_unit",fragmentPropName:"unit",kind:"ModuleImport"}],type:"GroupsSuggestionUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometPYMIQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PaginatedGroupsPeopleYouMayInviteFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"GeminiPYSFQPFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"PeopleYouShouldFollowAtWorkFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometSPFFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"SuggestedPublicEntitiesToFollowFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CoronavirusCommunityHelpFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"CoronavirusCommunityHelpFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometEndOfFeedUpsellStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"EndOfFeedUpsellFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupRelatedGroupsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupRelatedGroupsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometGroupRelatedKeywordsFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"GroupRelatedKeywordsFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{args:null,documentName:"CometFeedUnitContainerSection_feedUnit",fragmentName:"CometStoriesSingleBucketFeedUnitStrategy_feedUnit",fragmentPropName:"feedUnit",kind:"ModuleImport"}],type:"StoriesSingleBucketInlineViewerFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[d],type:"QuickPromotionFeedUnit",abstractKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TrackingData",kind:"LinkedField",name:"trackingdata",plural:!1,selections:c,storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"viewability_config",storageKey:null},{alias:null,args:null,concreteType:"CometClientViewConfig",kind:"LinkedField",name:"client_view_config",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"can_delay_log_impression",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_signal_imp",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"use_banzai_vital_imp",storageKey:null}],storageKey:null}],type:"Story",abstractKey:null}],type:"TrackableFeedUnit",abstractKey:"__isTrackableFeedUnit"}]}}();e.exports=a}),null); __d("CometFeedUnitPostRenderingLoggersContext",["react"],(function(a,b,c,d,e,f,g){"use strict";var h;a=h||d("react");b=a.createContext({ad_id:null,client_token:null,post_rendering_logger_from_context:void 0});g["default"]=b}),98); __d("AdValidateImageFalcoEvent",["FalcoLoggerInternal","getFalcoLogPolicy_DO_NOT_USE"],(function(a,b,c,d,e,f,g){"use strict";a=c("getFalcoLogPolicy_DO_NOT_USE")("1792745");b=d("FalcoLoggerInternal").create("ad_validate_image",a);e=b;g["default"]=e}),98); __d("usePostRenderingLogger",["AdValidateImageFalcoEvent","CometFeedUnitPostRenderingLoggersContext","react"],(function(a,b,c,d,e,f,g){"use strict";var h;b=h||d("react");var i=b.useContext,j=b.useEffect,k=b.useRef;function a(a,b,d){var e=i(c("CometFeedUnitPostRenderingLoggersContext"));e=e.post_rendering_logger_from_context;var f=(b==null?void 0:b.includes("post_rendering_logger"))||(e==null?void 0:e.includes("post_rendering_logger")),g=k(!1);j(function(){d!==!1&&!g.current&&f===!0&&(c("AdValidateImageFalcoEvent").log(a),g.current=!0)},[a,g,f,d])}g["default"]=a}),98); __d("CometFeedMessageQuote.react",["TetraText.react","react","stylex"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react"),k={blockquote:{borderStartColor:"xckqwgs",borderStartStyle:"x26u7qi",borderStartWidth:"x7g060r",marginTop:"x1gslohp",marginEnd:"x11i5rnm",marginBottom:"xieb3on",marginStart:"x1mh8g0r",paddingEnd:"x1pi30zi",paddingLeft:null,paddingRight:null,paddingStart:"x1swvt13",$$css:!0},withLeadingSpace:{marginStart:"x1d52u69",marginLeft:null,marginRight:null,$$css:!0}};function a(a){var b=a.children,d=a.leadingSpace;d=d===void 0?!0:d;a=a.xstyle;return j.jsx("blockquote",{className:(h||(h=c("stylex")))(k.blockquote,d&&k.withLeadingSpace,a),children:j.jsx(c("TetraText.react"),{type:"body3",children:b})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometFeedStoryAttachmentCommandWidget",["createKeyCommandWidget"],(function(a,b,c,d,e,f,g){"use strict";a=c("createKeyCommandWidget")();b=a;var h=a.useKeyCommands;a.useKeyCommands=function(a){h(a,!0)};g["default"]=b}),98); __d("CometGHLFakeElement.react",["fbt","CometFeedMessageQuote.react","CometLink.react","TetraText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(){var a={};for(var b=0;b<20;b++)a["data-"+b]=b;return j.jsxs("div",babelHelpers["extends"]({className:"x1s85apg"},a,{children:[j.jsx(c("CometFeedMessageQuote.react"),{leadingSpace:!1,children:j.jsx(c("TetraText.react"),{color:"secondary",type:"body3",children:h._("__JHASH__TlJCmSOrUbl__JHASH__")})}),j.jsx(c("CometLink.react"),{href:"#"})]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98); __d("CometGHLFakeElementsWrapper.react",["CometGHLFakeElement.react","justknobx","react","useStable"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){a=a.children;var b=c("justknobx")._("592"),d=c("justknobx")._("593"),e=function(a){return Array.from(Array(a).keys()).map(function(a){return i.jsx(c("CometGHLFakeElement.react"),{},a)})},f=c("useStable")(function(){return e(b)}),g=c("useStable")(function(){return e(d)});return i.jsxs(i.Fragment,{children:[f,a,g]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);