StoriesArchiveDeleteMenuItemRelay3D.react",["CometRelay","FDSMenuItem.react","StoriesArchiveBucketDataContext","StoriesArchiveCardStoreForBlue","StoriesArchiveConstants","StoriesArchiveDeleteMenuItemRelay3D_StoriesArchiveDeleteMutation.graphql","StoriesArchiveDeleteMenuItemRelay3D_menuItem.graphql","StoriesEnums","StoriesLoggerContext","StoriesSuspenseContuxActionsContext","StoriesTrashOutline20IconSVG.react","react","relay-runtime","useStoriesDeleteCardDialogBox"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=u||(u=o("react")),d=u.useContext,m=e!==void 0?e:e=n("StoriesArchiveDeleteMenuItemRelay3D_StoriesArchiveDeleteMutation.graphql");function p(e){var t,a,i=e.menuItem,l=e.onHideConfirmationDialog,u=e.onOpenConfirmationDialog,p=o("CometRelay").useFragment(s!==void 0?s:s=n("StoriesArchiveDeleteMenuItemRelay3D_menuItem.graphql"),i),_=d(r("StoriesLoggerContext")),f=_.logger,g=o("CometRelay").useRelayEnvironment(),h=d(r("StoriesSuspenseContuxActionsContext")),y=h.handleCardDeletion,C=p==null||(t=p.story)==null?void 0:t.id,b=p==null||(a=p.story)==null||(a=a.attachments)==null||(a=a[0])==null?void 0:a.media,v=(b==null?void 0:b.__typename)==="Photo"?"PHOTO":(b==null?void 0:b.__typename)==="Video"?"VIDEO":null,S=d(r("StoriesArchiveBucketDataContext")),R=S.archiveBucketData,L=R.lowerBoundTime,E=R.storyArchiveID,k=R.upperBoundTime,I=function(){f.deleteLog(),l();var e=function(t){if(C!=null){t.delete(C);var e=t.get(E);if(e!=null){var n=o("relay-runtime").ConnectionHandler.getConnection(e,o("StoriesArchiveConstants").ARCHIVE.CONNECTION_NAME,{after_time:L,before_time:k,orderby:["local_creation_time_asc"]});if(n!=null){o("relay-runtime").ConnectionHandler.deleteNode(n,C);var r=n.getLinkedRecords("edges")||[];n.setValue(r.length,"count")}}}},t=function(n){e(n)};C!=null&&(o("CometRelay").commitMutation(g,{mutation:m,optimisticUpdater:t,updater:t,variables:{input:{archived_story_card_id:C}}}),r("StoriesArchiveCardStoreForBlue").DeletedStoryList.add(C),y())},T=r("useStoriesDeleteCardDialogBox")({mediaType:v,onDeleteConfirmClick:I,onHideConfirmationDialog:l,onOpenConfirmationDialog:u,storyOptionType:o("StoriesEnums").STORIES_OPTION_TYPES.MUTE_CARD_OWNER}),D=T.handleDeleteClick,x=T.primaryText;return C==null?null:c.jsx(r("FDSMenuItem.react"),{icon:r("StoriesTrashOutline20IconSVG.react"),iconSize:20,onClick:D,primaryText:x,testid:void 0},"archive_delete")}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),98);
-----
StoriesArchiveCometFixedList.react",["CometErrorBoundary.react","CometPlaceholder.react","CometStyleXSheet","StoriesArchiveBucketDataContext","StoriesArchiveConstants","StoriesArchiveFixedListContentPaneRoot.react","StoriesEnums","StoriesLoggerSession","StoriesResizeToView.react","StoriesRootError.react","StoriesSetBucketHelper","StoriesSuspenseBucketDataContext","StoriesSuspenseBucketTransitioningContext","StoriesSuspenseContentPanePlaceholder.react","StoriesSuspenseViewerKeyboardListener.react","StoriesUtils","emptyFunction","react","useCometWindowSize"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useEffect,k=b.useMemo,l=b.useState;d("CometStyleXSheet").rootStyleSheet.injectTheme();function a(a){var b=a.initialCardID,e=a.openSource,f=a.queryReference,g=a.traySessionID,h=a.viewerSessionID,m="";a=l(!1);var n=a[0],o=a[1];a=l({archiveBucketData:{lowerBoundTime:"",nextDay:d("StoriesArchiveConstants").BucketData.INITIAL_NEXTDAY,previousDay:d("StoriesArchiveConstants").BucketData.INITIAL_PREVIOUSDAY,storyArchiveID:"",upperBoundTime:""},bucketData:d("StoriesSetBucketHelper").defaultBucketData(m)});var p=a[0],q=a[1],r=p.bucketData,s=p.archiveBucketData;a=l(d("StoriesEnums").NAV_DIRECTIONS.NEXT_BUCKET);var t=a[0],u=a[1];j(function(){d("StoriesLoggerSession").initialize(g,h,e)},[e,g,h]);p=r.bucketID;a=p==="";p=k(function(){return{isBucketTransitionInProgress:n,setIsBucketTransitionInProgress:o}},[n]);var v=k(function(){return{bucketData:r,bucketNavDirection:t,isViewerV3:!1,setBucketData:c("emptyFunction"),setNavigationDirection:u}},[r,t]),w=k(function(){return{archiveBucketData:s,initialBucketID:m,setArchiveBucketData:function(a){r.bucketID!=null&&r.bucketID!==""&&r.bucketID!==a.bucketID&&o(!0),q({archiveBucketData:{lowerBoundTime:a.lowerBoundTime,nextDay:a.nextDay,previousDay:a.previousDay,storyArchiveID:a.storyArchiveID,upperBoundTime:a.upperBoundTime},bucketData:{bucketID:a.bucketID,bucketIndex:a.bucketIndex,canSeeViewerSheet:a.canSeeViewerSheet,canShowStoryOverlay:a.canShowStoryOverlay,isEndOfTray:a.isEndOfTray,isFirstBucket:a.isFirstBucket,isLastBucket:a.isLastBucket,isSecondBucket:a.isSecondBucket,nextBuckets:null,nextBucketsCount:0}})}}},[s,r.bucketID,m]),x=c("useCometWindowSize")();return d("StoriesUtils").shouldResizeToViewStories(x.innerHeight)?i.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return i.jsx(c("StoriesRootError.react"),{error:a})},children:i.jsx(c("StoriesResizeToView.react"),{})}):i.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return i.jsx(c("StoriesRootError.react"),{error:a})},children:i.jsx(c("StoriesSuspenseBucketTransitioningContext").Provider,{value:p,children:i.jsx(c("StoriesSuspenseBucketDataContext").Provider,{value:v,children:i.jsx(c("StoriesArchiveBucketDataContext").Provider,{value:w,children:i.jsx("div",{className:"x5yr21d xh8yej3",children:i.jsx(c("StoriesSuspenseViewerKeyboardListener.react"),{children:i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("StoriesSuspenseContentPanePlaceholder.react"),{isNullState:a}),children:i.jsx(c("StoriesArchiveFixedListContentPaneRoot.react"),{initialBucketID:m,initialCardID:b,queryReference:f})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
StoriesArchive.react",["CometErrorBoundary.react","CometPlaceholder.react","CometStyleXSheet","StoriesArchiveBucketDataContext","StoriesArchiveConstants","StoriesArchiveContentPaneRoot.react","StoriesArchiveUtil","StoriesEnums","StoriesLoggerSession","StoriesResizeToView.react","StoriesRootError.react","StoriesSetBucketHelper","StoriesSuspenseBucketDataContext","StoriesSuspenseBucketTransitioningContext","StoriesSuspenseContentPanePlaceholder.react","StoriesSuspenseViewerKeyboardListener.react","StoriesUtils","emptyFunction","react","useCometWindowSize"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||(h=d("react"));b=h;var j=b.useEffect,k=b.useMemo,l=b.useState;d("CometStyleXSheet").rootStyleSheet.injectTheme();function a(a){var b=a.cardID,e=a.currentStoryTime;a.fadeIn;var f=a.openSource,g=a.traySessionID,h=a.viewerSessionID;a=b;b=c("StoriesArchiveUtil")().getLowerBoundAndUpperBoundTime(e);e=b[0];b=b[1];var m=e,n=l(!1),o=n[0],p=n[1];n=l({archiveBucketData:{lowerBoundTime:e,nextDay:d("StoriesArchiveConstants").BucketData.INITIAL_NEXTDAY,previousDay:d("StoriesArchiveConstants").BucketData.INITIAL_PREVIOUSDAY,storyArchiveID:"",upperBoundTime:b},bucketData:d("StoriesSetBucketHelper").defaultBucketData(m)});e=n[0];var q=n[1],r=e.bucketData,s=e.archiveBucketData;b=l(d("StoriesEnums").NAV_DIRECTIONS.NEXT_BUCKET);var t=b[0],u=b[1];j(function(){d("StoriesLoggerSession").initialize(g,h,f)},[f,g,h]);n=r.bucketID;e=s.lowerBoundTime;b=s.upperBoundTime;n=n==="";var v=k(function(){return{isBucketTransitionInProgress:o,setIsBucketTransitionInProgress:p}},[o]),w=k(function(){return{bucketData:r,bucketNavDirection:t,isViewerV3:!1,setBucketData:c("emptyFunction"),setNavigationDirection:u}},[r,t]),x=k(function(){return{archiveBucketData:s,initialBucketID:m,setArchiveBucketData:function(a){r.bucketID!=null&&r.bucketID!==""&&r.bucketID!==a.bucketID&&p(!0),q({archiveBucketData:{lowerBoundTime:a.lowerBoundTime,nextDay:a.nextDay,previousDay:a.previousDay,storyArchiveID:a.storyArchiveID,upperBoundTime:a.upperBoundTime},bucketData:{bucketID:a.bucketID,bucketIndex:a.bucketIndex,canSeeViewerSheet:a.canSeeViewerSheet,canShowStoryOverlay:a.canShowStoryOverlay,isEndOfTray:a.isEndOfTray,isFirstBucket:a.isFirstBucket,isLastBucket:a.isLastBucket,isSecondBucket:a.isSecondBucket,nextBuckets:null,nextBucketsCount:0}})}}},[s,r.bucketID,m]),y=c("useCometWindowSize")();return d("StoriesUtils").shouldResizeToViewStories(y.innerHeight)?i.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return i.jsx(c("StoriesRootError.react"),{error:a})},children:i.jsx(c("StoriesResizeToView.react"),{})}):i.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return i.jsx(c("StoriesRootError.react"),{error:a})},children:i.jsx(c("StoriesSuspenseBucketTransitioningContext").Provider,{value:v,children:i.jsx(c("StoriesSuspenseBucketDataContext").Provider,{value:w,children:i.jsx(c("StoriesArchiveBucketDataContext").Provider,{value:x,children:i.jsx("div",{className:"x5yr21d xh8yej3",children:i.jsx(c("StoriesSuspenseViewerKeyboardListener.react"),{children:i.jsx(c("CometPlaceholder.react"),{fallback:i.jsx(c("StoriesSuspenseContentPanePlaceholder.react"),{isNullState:n}),children:i.jsx(c("StoriesArchiveContentPaneRoot.react"),{initialBucketID:m,initialCardID:a,lowerBoundTime:e,upperBoundTime:b})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
StoriesArchiveConstants",[],(function(a,b,c,d,e,f){"use strict";a={CONNECTION_NAME:"StoriesArchiveContentPaneRoot_archived_cards"};b={INITIAL_NEXTDAY:"initial_next_day",INITIAL_PREVIOUSDAY:"initial_previous_day"};f.ARCHIVE=a;f.BucketData=b}),66);
-----
StoriesArchiveDeleteCardOptionMenuItem.react",["CometRelay","FDSMenuItem.react","StoriesArchiveBucketDataContext","StoriesArchiveCardStoreForBlue","StoriesArchiveConstants","StoriesArchiveDeleteCardOptionMenuItem_StoriesArchiveDeleteMutation.graphql","StoriesDeleteCardDialogBox","StoriesEnums","StoriesLoggerContext","StoriesSuspenseContuxActionsContext","StoriesTrashOutline20IconSVG.react","react","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useContext,l=h!==void 0?h:h=b("StoriesArchiveDeleteCardOptionMenuItem_StoriesArchiveDeleteMutation.graphql");function a(a){var b=d("CometRelay").useRelayEnvironment(),e=k(c("StoriesSuspenseContuxActionsContext")),f=e.handleCardDeletion;e=k(c("StoriesLoggerContext"));var g=e.logger,h=a.cardID;e=a.mediaType;var i=a.onHideConfirmationDialog;a=a.onOpenConfirmationDialog;var m=k(c("StoriesArchiveBucketDataContext"));m=m.archiveBucketData;var n=m.lowerBoundTime,o=m.storyArchiveID,p=m.upperBoundTime;m=function(){g.deleteLog();i();var a=function(a){a["delete"](h);a=a.get(o);if(a==null)return;a=d("relay-runtime").ConnectionHandler.getConnection(a,d("StoriesArchiveConstants").ARCHIVE.CONNECTION_NAME,{after_time:n,before_time:p,orderby:["local_creation_time_asc"]});if(a==null)return;d("relay-runtime").ConnectionHandler.deleteNode(a,h);var b=a.getLinkedRecords("edges")||[];a.setValue(b.length,"count")},e=function(b){a(b)};d("CometRelay").commitMutation(b,{mutation:l,optimisticUpdater:e,updater:e,variables:{input:{archived_story_card_id:h}}});c("StoriesArchiveCardStoreForBlue").DeletedStoryList.add(h);f()};e=c("StoriesDeleteCardDialogBox")({mediaType:e,onDeleteConfirmClick:m,onHideConfirmationDialog:i,onOpenConfirmationDialog:a,storyOptionType:d("StoriesEnums").STORIES_OPTION_TYPES.MUTE_CARD_OWNER});m=e.handleDeleteClick;a=e.primaryText;return j.jsx(c("FDSMenuItem.react"),{icon:c("StoriesTrashOutline20IconSVG.react"),iconSize:20,onClick:m,primaryText:a},"delete")}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
StoriesArchiveCometFixedList.react",["CometErrorBoundary.react","CometPlaceholder.react","CometStyleXSheet","StoriesArchiveBucketDataContext","StoriesArchiveConstants","StoriesArchiveFixedListContentPaneRoot.react","StoriesEnums","StoriesLoggerSession","StoriesResizeToView.react","StoriesRootError.react","StoriesSetBucketHelper","StoriesSuspenseBucketDataContext","StoriesSuspenseBucketTransitioningContext","StoriesSuspenseContentPanePlaceholder.react","StoriesSuspenseViewerKeyboardListener.react","StoriesUtils","emptyFunction","react","useCometWindowSize"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useEffect,j=b.useMemo,k=b.useState;d("CometStyleXSheet").rootStyleSheet.injectTheme();function a(a){var b=a.initialCardID,e=a.openSource,f=a.queryReference,g=a.traySessionID,l=a.viewerSessionID,m="";a=k(!1);var n=a[0],o=a[1];a=k({archiveBucketData:{lowerBoundTime:"",nextDay:d("StoriesArchiveConstants").BucketData.INITIAL_NEXTDAY,previousDay:d("StoriesArchiveConstants").BucketData.INITIAL_PREVIOUSDAY,storyArchiveID:"",upperBoundTime:""},bucketData:d("StoriesSetBucketHelper").defaultBucketData(m)});var p=a[0],q=a[1],r=p.bucketData,s=p.archiveBucketData;a=k(d("StoriesEnums").NAV_DIRECTIONS.NEXT_BUCKET);var t=a[0],u=a[1];i(function(){d("StoriesLoggerSession").initialize(g,l,e)},[e,g,l]);p=r.bucketID;a=p==="";p=j(function(){return{isBucketTransitionInProgress:n,setIsBucketTransitionInProgress:o}},[n]);var v=j(function(){return{bucketData:r,bucketNavDirection:t,isViewerV3:!1,setBucketData:c("emptyFunction"),setNavigationDirection:u}},[r,t]),w=j(function(){return{archiveBucketData:s,initialBucketID:m,setArchiveBucketData:function(a){r.bucketID!=null&&r.bucketID!==""&&r.bucketID!==a.bucketID&&o(!0),q({archiveBucketData:{lowerBoundTime:a.lowerBoundTime,nextDay:a.nextDay,previousDay:a.previousDay,storyArchiveID:a.storyArchiveID,upperBoundTime:a.upperBoundTime},bucketData:{bucketID:a.bucketID,bucketIndex:a.bucketIndex,canSeeViewerSheet:a.canSeeViewerSheet,canShowStoryOverlay:a.canShowStoryOverlay,isEndOfTray:a.isEndOfTray,isFirstBucket:a.isFirstBucket,isLastBucket:a.isLastBucket,isSecondBucket:a.isSecondBucket,nextBuckets:null,nextBucketsCount:0}})}}},[s,r.bucketID,m]),x=c("useCometWindowSize")();return d("StoriesUtils").shouldResizeToViewStories(x.innerHeight)?h.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return h.jsx(c("StoriesRootError.react"),{error:a})},children:h.jsx(c("StoriesResizeToView.react"),{})}):h.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return h.jsx(c("StoriesRootError.react"),{error:a})},children:h.jsx(c("StoriesSuspenseBucketTransitioningContext").Provider,{value:p,children:h.jsx(c("StoriesSuspenseBucketDataContext").Provider,{value:v,children:h.jsx(c("StoriesArchiveBucketDataContext").Provider,{value:w,children:h.jsx("div",{className:"x5yr21d xh8yej3",children:h.jsx(c("StoriesSuspenseViewerKeyboardListener.react"),{children:h.jsx(c("CometPlaceholder.react"),{fallback:h.jsx(c("StoriesSuspenseContentPanePlaceholder.react"),{isNullState:a}),children:h.jsx(c("StoriesArchiveFixedListContentPaneRoot.react"),{initialBucketID:m,initialCardID:b,queryReference:f})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
StoriesArchive.react",["CometErrorBoundary.react","CometPlaceholder.react","CometStyleXSheet","StoriesArchiveBucketDataContext","StoriesArchiveConstants","StoriesArchiveContentPaneRoot.react","StoriesArchiveUtil","StoriesEnums","StoriesLoggerSession","StoriesResizeToView.react","StoriesRootError.react","StoriesSetBucketHelper","StoriesSuspenseBucketDataContext","StoriesSuspenseBucketTransitioningContext","StoriesSuspenseContentPanePlaceholder.react","StoriesSuspenseViewerKeyboardListener.react","StoriesUtils","emptyFunction","react","useCometWindowSize"],(function(a,b,c,d,e,f,g){"use strict";var h=d("react");b=d("react");var i=b.useEffect,j=b.useMemo,k=b.useState;d("CometStyleXSheet").rootStyleSheet.injectTheme();function a(a){var b=a.cardID,e=a.currentStoryTime,f=a.openSource,g=a.traySessionID,l=a.viewerSessionID;a=b;b=c("StoriesArchiveUtil")().getLowerBoundAndUpperBoundTime(e);e=b[0];b=b[1];var m=e,n=k(!1),o=n[0],p=n[1];n=k({archiveBucketData:{lowerBoundTime:e,nextDay:d("StoriesArchiveConstants").BucketData.INITIAL_NEXTDAY,previousDay:d("StoriesArchiveConstants").BucketData.INITIAL_PREVIOUSDAY,storyArchiveID:"",upperBoundTime:b},bucketData:d("StoriesSetBucketHelper").defaultBucketData(m)});e=n[0];var q=n[1],r=e.bucketData,s=e.archiveBucketData;b=k(d("StoriesEnums").NAV_DIRECTIONS.NEXT_BUCKET);var t=b[0],u=b[1];i(function(){d("StoriesLoggerSession").initialize(g,l,f)},[f,g,l]);n=r.bucketID;e=s.lowerBoundTime;b=s.upperBoundTime;n=n==="";var v=j(function(){return{isBucketTransitionInProgress:o,setIsBucketTransitionInProgress:p}},[o]),w=j(function(){return{bucketData:r,bucketNavDirection:t,isViewerV3:!1,setBucketData:c("emptyFunction"),setNavigationDirection:u}},[r,t]),x=j(function(){return{archiveBucketData:s,initialBucketID:m,setArchiveBucketData:function(a){r.bucketID!=null&&r.bucketID!==""&&r.bucketID!==a.bucketID&&p(!0),q({archiveBucketData:{lowerBoundTime:a.lowerBoundTime,nextDay:a.nextDay,previousDay:a.previousDay,storyArchiveID:a.storyArchiveID,upperBoundTime:a.upperBoundTime},bucketData:{bucketID:a.bucketID,bucketIndex:a.bucketIndex,canSeeViewerSheet:a.canSeeViewerSheet,canShowStoryOverlay:a.canShowStoryOverlay,isEndOfTray:a.isEndOfTray,isFirstBucket:a.isFirstBucket,isLastBucket:a.isLastBucket,isSecondBucket:a.isSecondBucket,nextBuckets:null,nextBucketsCount:0}})}}},[s,r.bucketID,m]),y=c("useCometWindowSize")();return d("StoriesUtils").shouldResizeToViewStories(y.innerHeight)?h.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return h.jsx(c("StoriesRootError.react"),{error:a})},children:h.jsx(c("StoriesResizeToView.react"),{})}):h.jsx(c("CometErrorBoundary.react"),{fallback:function(a){return h.jsx(c("StoriesRootError.react"),{error:a})},children:h.jsx(c("StoriesSuspenseBucketTransitioningContext").Provider,{value:v,children:h.jsx(c("StoriesSuspenseBucketDataContext").Provider,{value:w,children:h.jsx(c("StoriesArchiveBucketDataContext").Provider,{value:x,children:h.jsx("div",{className:"x5yr21d xh8yej3",children:h.jsx(c("StoriesSuspenseViewerKeyboardListener.react"),{children:h.jsx(c("CometPlaceholder.react"),{fallback:h.jsx(c("StoriesSuspenseContentPanePlaceholder.react"),{isNullState:n}),children:h.jsx(c("StoriesArchiveContentPaneRoot.react"),{initialBucketID:m,initialCardID:a,lowerBoundTime:e,upperBoundTime:b})})})})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
StoriesArchiveConstants",[],(function(a,b,c,d,e,f){"use strict";a={CONNECTION_NAME:"StoriesArchiveContentPaneRoot_archived_cards"};b={INITIAL_NEXTDAY:"initial_next_day",INITIAL_PREVIOUSDAY:"initial_previous_day"};f.ARCHIVE=a;f.BucketData=b}),66);
-----
StoriesArchiveDeleteCardOptionMenuItem.react",["CometMenuItem.react","CometRelay","StoriesArchiveBucketDataContext","StoriesArchiveCardStoreForBlue","StoriesArchiveConstants","StoriesArchiveDeleteCardOptionMenuItem_StoriesArchiveDeleteMutation.graphql","StoriesDeleteCardDialogBox","StoriesEnums","StoriesLoggerContext","StoriesSuspenseContuxActionsContext","cr:3703","react","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=d("react").useContext,k=h!==void 0?h:h=b("StoriesArchiveDeleteCardOptionMenuItem_StoriesArchiveDeleteMutation.graphql");function a(a){var e=d("CometRelay").useRelayEnvironment(),f=j(c("StoriesSuspenseContuxActionsContext")),g=f.handleCardDeletion;f=j(c("StoriesLoggerContext"));var h=f.logger,l=a.cardID;f=a.mediaType;var m=a.onHideConfirmationDialog;a=a.onOpenConfirmationDialog;var n=j(c("StoriesArchiveBucketDataContext"));n=n.archiveBucketData;var o=n.lowerBoundTime,p=n.storyArchiveID,q=n.upperBoundTime;n=function(){h.deleteLog();m();var a=function(a){a["delete"](l);a=a.get(p);if(a==null)return;a=d("relay-runtime").ConnectionHandler.getConnection(a,d("StoriesArchiveConstants").ARCHIVE.CONNECTION_NAME,{after_time:o,before_time:q,orderby:["local_creation_time_asc"]});if(a==null)return;d("relay-runtime").ConnectionHandler.deleteNode(a,l);var b=a.getLinkedRecords("edges")||[];a.setValue(b.length,"count")},b=function(b){a(b)};d("CometRelay").commitMutation(e,{mutation:k,optimisticUpdater:b,updater:b,variables:{input:{archived_story_card_id:l}}});c("StoriesArchiveCardStoreForBlue").DeletedStoryList.add(l);g()};f=c("StoriesDeleteCardDialogBox")({mediaType:f,onDeleteConfirmClick:n,onHideConfirmationDialog:m,onOpenConfirmationDialog:a,storyOptionType:d("StoriesEnums").STORIES_OPTION_TYPES.MUTE_CARD_OWNER});n=f.handleDeleteClick;a=f.primaryText;return i.jsx(c("CometMenuItem.react"),{icon:b("cr:3703"),iconSize:20,onClick:n,primaryText:a},"delete")}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----