orgmode-to-gemini-blog/exports/html/L’aventure Superphénix🔥. Superphénix… s’il est un réacteur… _ by Dragonfeu _ Medium_fichiers/4391.59acaed3.chunk.js
2024-11-03 11:06:34 +01:00

2 lines
24 KiB
JavaScript

(self.webpackChunklite=self.webpackChunklite||[]).push([[4391],{95320:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:21,height:21},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M10.485 2q3.58 0 6.04 2.46Q19 6.93 19 10.5q0 3.582-2.43 5.965Q13.99 19 10.486 19q-3.446 0-5.98-2.505Q2.001 13.99 2 10.5c-.001-3.49.835-4.34 2.505-6.04Q6.964 2 10.485 2m.03 1.533q-2.9 0-4.903 2.034-2.08 2.124-2.08 4.933.001 2.824 2.065 4.887 2.064 2.065 4.918 2.064 2.837 0 4.948-2.07c1.336-1.28 2.004-2.91 2.004-4.87 0-1.93-.68-3.57-2.034-4.93-1.356-1.35-2.995-2.03-4.918-2.03zm2.277 4.857v3.476h-.97v4.128H9.18v-4.128h-.972V8.39a.53.53 0 0 1 .16-.387.53.53 0 0 1 .387-.16h3.49q.215 0 .38.16a.52.52 0 0 1 .167.387M9.316 6.205q0-1.2 1.184-1.2 1.185 0 1.184 1.2 0 1.184-1.184 1.183T9.316 6.205"})))}},32010:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:21,height:21},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M10.485 2q3.581 0 6.04 2.46Q19 6.915 19 10.5c0 3.585-.81 4.376-2.43 5.965Q13.99 19 10.486 19q-3.461 0-5.98-2.52C2.836 14.81 2 12.82 2 10.5q0-3.49 2.505-6.04Q6.964 2 10.485 2M3.913 8.208a6.7 6.7 0 0 0-.38 2.292q0 2.824 2.064 4.888 2.08 2.05 4.918 2.05 2.867 0 4.948-2.08a6.2 6.2 0 0 0 1.168-1.49l-3.2-1.425q-.165.804-.81 1.313a2.8 2.8 0 0 1-1.52.584v1.305h-.98V14.34q-1.41-.016-2.58-1.017L8.7 12.14c.556.51 1.19.77 1.898.77q.441 0 .752-.2.311-.197.312-.652a.66.66 0 0 0-.23-.516l-.82-.35-1-.455-1.353-.59-4.34-1.944zm6.602-4.69q-2.9 0-4.903 2.05a8 8 0 0 0-.94 1.138L7.92 8.163q.211-.668.804-1.07a2.7 2.7 0 0 1 1.382-.448V5.34h.986v1.305q1.17.06 2.125.79L12.11 8.57q-.715-.5-1.458-.5-.394 0-.706.15-.31.154-.31.517 0 .104.075.212l1.08.48.75.33 1.37.6 4.36 1.94c.14-.6.22-1.21.22-1.83 0-1.95-.67-3.6-2.03-4.93-1.35-1.37-2.99-2.05-4.92-2.05z"})))}},71003:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:21,height:21},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M10.485 2q3.566 0 6.04 2.474Q19 6.932 19 10.5q0 3.566-2.43 5.98Q14.005 19 10.485 19q-3.446 0-5.98-2.505Q2 13.99 2 10.5q0-3.476 2.505-6.025Q6.98 2 10.485 2m.03 1.533q-2.898 0-4.902 2.05-2.08 2.109-2.08 4.917 0 2.837 2.064 4.887 2.065 2.065 4.918 2.064 2.838 0 4.948-2.07c1.336-1.29 2.004-2.92 2.004-4.87 0-1.94-.68-3.58-2.034-4.91-1.346-1.36-2.985-2.05-4.917-2.05zm3.203 4.963v1.457H7.54V8.496zm0 2.733v1.45H7.54v-1.45z"})))}},49753:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:21,height:21},e),i||(i=a.createElement("path",{fillRule:"evenodd",d:"M10.485 2q3.565 0 6.04 2.474Q19 6.934 19 10.5t-2.43 5.98Q14.005 19 10.485 19q-3.446 0-5.98-2.505Q2 13.991 2 10.5q0-3.475 2.505-6.025Q6.979 2 10.485 2m.03 1.533q-2.9 0-4.903 2.05-2.08 2.109-2.08 4.917.001 2.838 2.065 4.887 2.064 2.065 4.918 2.065 2.837 0 4.948-2.08 2.004-1.943 2.004-4.872-.002-2.914-2.034-4.918-2.019-2.05-4.918-2.05zM6.72 9.3q.243-1.564 1.26-2.42 1.016-.858 2.474-.858 2.003 0 3.188 1.29 1.184 1.29 1.183 3.31 0 1.958-1.23 3.255-1.228 1.297-3.187 1.297-1.44 0-2.49-.865-1.046-.87-1.26-2.46H8.8c.05 1.03.673 1.55 1.867 1.55q.896 0 1.442-.78.54-.78.54-2.07c0-.9-.17-1.59-.5-2.06-.34-.47-.82-.71-1.45-.71-1.14 0-1.77.5-1.92 1.5h.62l-1.68 1.68-1.68-1.68h.66z"})))}},10103:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var i,a=t(96540);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)({}).hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},o.apply(null,arguments)}const l=function(e){return a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:21,height:21},e),i||(i=a.createElement("g",{fillRule:"evenodd"},a.createElement("path",{d:"M10.5 5.682c-2.763 0-3.458 2.608-3.458 4.818s.695 4.818 3.458 4.818 3.458-2.607 3.458-4.818-.695-4.818-3.458-4.818m0 1.817c.112 0 .215.01.31.04.2.17.297.4.106.73l-1.84 3.38a9 9 0 0 1-.065-1.16c0-.98.07-3 1.49-3zm1.377 1.55c.098.52.112 1.06.112 1.44 0 .97-.07 3-1.49 3-.11 0-.22-.01-.31-.04l-.06-.02-.09-.03c-.32-.14-.52-.38-.23-.81l2.06-3.55z"}),a.createElement("path",{d:"M10.482 2c-2.358 0-4.345.82-5.964 2.47a8.6 8.6 0 0 0-1.88 2.798A8.4 8.4 0 0 0 2 10.5q0 1.7.637 3.232a8.6 8.6 0 0 0 1.85 2.762 8.8 8.8 0 0 0 2.763 1.87 8.4 8.4 0 0 0 3.232.636c1.124 0 2.216-.22 3.268-.655a8.7 8.7 0 0 0 2.82-1.88 7.7 7.7 0 0 0 1.81-2.685A8.6 8.6 0 0 0 19 10.5a8.6 8.6 0 0 0-.62-3.268 8.1 8.1 0 0 0-1.82-2.744C14.89 2.828 12.86 2 10.482 2m.036 1.53c1.922 0 3.562.68 4.928 2.047a6.8 6.8 0 0 1 1.506 2.25 7 7 0 0 1 .518 2.673c0 1.954-.668 3.574-1.994 4.87a7.3 7.3 0 0 1-2.32 1.535 6.92 6.92 0 0 1-5.281.012 7.2 7.2 0 0 1-2.262-1.518 7.3 7.3 0 0 1-1.548-2.27 6.8 6.8 0 0 1 0-5.29c.365-.85.88-1.62 1.548-2.29 1.325-1.35 2.962-2.03 4.905-2.03z"}))))}},15325:(e,n,t)=>{var i=t(96131);e.exports=function(e,n){return!(null==e||!e.length)&&i(e,n,0)>-1}},29905:e=>{e.exports=function(e,n,t){for(var i=-1,a=null==e?0:e.length;++i<a;)if(t(n,e[i]))return!0;return!1}},2523:e=>{e.exports=function(e,n,t,i){for(var a=e.length,o=t+(i?1:-1);i?o--:++o<a;)if(n(e[o],o,e))return o;return-1}},96131:(e,n,t)=>{var i=t(2523),a=t(85463),o=t(76959);e.exports=function(e,n,t){return n==n?o(e,n,t):i(e,a,t)}},85463:e=>{e.exports=function(e){return e!=e}},55765:(e,n,t)=>{var i=t(38859),a=t(15325),o=t(29905),l=t(19219),r=t(44517),d=t(84247);e.exports=function(e,n,t){var c=-1,s=a,u=e.length,m=!0,k=[],v=k;if(t)m=!1,s=o;else if(u>=200){var p=n?null:r(e);if(p)return d(p);m=!1,s=l,v=new i}else v=n?[]:k;e:for(;++c<u;){var f=e[c],g=n?n(f):f;if(f=t||0!==f?f:0,m&&g==g){for(var h=v.length;h--;)if(v[h]===g)continue e;n&&v.push(g),k.push(f)}else s(v,g,t)||(v!==k&&v.push(g),k.push(f))}return k}},44517:(e,n,t)=>{var i=t(76545),a=t(63950),o=t(84247),l=i&&1/o(new i([,-0]))[1]==1/0?function(e){return new i(e)}:a;e.exports=l},76959:e=>{e.exports=function(e,n,t){for(var i=t-1,a=e.length;++i<a;)if(e[i]===n)return i;return-1}},63950:e=>{e.exports=function(){}},56921:(e,n,t)=>{"use strict";t.d(n,{B:()=>d});var i=t(80296),a=t(96540),o=t(52290),l=t(86527),r=t(72130),d=function(e){var n=e.url,t=e.onCopy,d=e.children,c=e.flexGrow,s=e.linkStyle,u=e.postId,m=e.source,k=a.useState(!1),v=(0,i.A)(k,2),p=v[0],f=v[1],g=a.useState(null),h=(0,i.A)(g,2),S=h[0],N=h[1],y=a.useRef(null),F=(0,r.$L)();a.useEffect((function(){return function(){S&&clearTimeout(S)}}),[]);var b=a.useCallback((function(){t&&t();var e=y.current;if(e){if(e.disabled=!1,e.select(),e){var n=document.createRange();n.selectNode(e);var i=window.getSelection();i&&i.addRange(n),e.setSelectionRange(0,e.value.length),document.execCommand("copy"),(i=window.getSelection())&&i.removeAllRanges()}e.disabled=!0,f(!0),S&&clearTimeout(S),N(setTimeout((function(){return f(!1)}),2e3))}}),[]);return a.createElement(o.a,{display:"flex",alignItems:"flex-start",flexGrow:c},a.createElement("form",null,a.createElement("input",{disabled:!0,readOnly:!0,type:"text",ref:y,value:n,style:{position:"fixed",top:"-100vh"}}),a.createElement(l.N,{onClick:function(e){e.preventDefault(),F.event("copyStoryLink.clicked",{postId:u,source:m}),b()},linkStyle:s||"OBVIOUS"},d(p))))}},36305:(e,n,t)=>{"use strict";t.d(n,{H:()=>l,l:()=>o});var i=t(45458),a=t(17441),o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"postMetaDescription_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"seoDescription"}},{kind:"Field",name:{kind:"Name",value:"metaDescription"}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"previewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subtitle"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}}]}}].concat((0,i.A)(a._j.definitions))},l={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"shortformPostMetaDescription_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"metaDescription"}},{kind:"Field",name:{kind:"Name",value:"seoDescription"}},{kind:"Field",name:{kind:"Name",value:"shortformType"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}}]}}].concat((0,i.A)(a._j.definitions))}},7897:(e,n,t)=>{"use strict";t.d(n,{_:()=>l,a:()=>r});var i=t(42976),a=t(59162),o=t(94644),l=function(e){return function(e){var n=e.metaDescription,t=e.seoDescription,i=e.title||"";if(t)return t;if(n)return n;var l=function(e){var n=(0,a.Xm)(e,250);return n&&(0,o.Mc)(n,200)}(e);if(l.length>150)return l;var r=e.previewContent&&e.previewContent.subtitle||"";if(r.length>140)return r;r.length>0&&(r+=".");var d=(i.length?i+". ":"")+r;if(d.length>140)return d;var c="“".concat(i,"” is published");return e.creator&&e.creator.name&&(c+=" by ".concat(e.creator.name)),e.collection&&e.collection.name&&(c+=" in ".concat(e.collection.name)),"".concat(r," ").concat(c,".")}(e).trim()},r=function(e,n){var t=e.metaDescription,l=e.seoDescription,r=e.shortformType,d=r===i.bY.SHORTFORM_TYPE_NOTE||!r;if(l)return l;if(t)return t;if(d&&n){var c=(0,a.Xm)(e,350,0);return(0,o.Mc)(c,300)}return""}},17441:(e,n,t)=>{"use strict";t.d(n,{_j:()=>a,G5:()=>d,H4:()=>c,q1:()=>r,m_:()=>s,TW:()=>u});var i=t(45458),a=([{kind:"FragmentDefinition",name:{kind:"Name",value:"GetFeaturedImageIndex_bodyModel"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RichText"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GetFeaturedImageIndex_paragraph"}}]}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"GetFeaturedImageIndex_paragraph"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Paragraph"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"metadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isFeatured"}}]}}]}}])),{kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getPostContentAsString_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"content"},arguments:[{kind:"Argument",name:{kind:"Name",value:"postMeteringOptions"},value:{kind:"Variable",name:{kind:"Name",value:"postMeteringOptions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"text"}},{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"mixtapeMetadata"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"href"}}]}}]}}]}}]}}]}}]}),o=[{kind:"FragmentDefinition",name:{kind:"Name",value:"appendPostContext_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"sequence"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"}}]}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}],l=[{kind:"FragmentDefinition",name:{kind:"Name",value:"maybeAppendProductName_collection"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Collection"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"domain"}}]}}],r={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"postTitle_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"seoTitle"}},{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"appendPostContext_post"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"domain"}},{kind:"FragmentSpread",name:{kind:"Name",value:"maybeAppendProductName_collection"}}]}},{kind:"Field",name:{kind:"Name",value:"creator"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}},{kind:"Field",name:{kind:"Name",value:"previewContent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"subtitle"}}]}}]}}].concat((0,i.A)(a.definitions),(0,i.A)(o),(0,i.A)(l))},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getTitleDetails_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[{kind:"Argument",name:{kind:"Name",value:"postMeteringOptions"},value:{kind:"Variable",name:{kind:"Name",value:"postMeteringOptions"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyModel"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"GetTitleIndexMap_bodyModel"}}]}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}}]}}].concat((0,i.A)([{kind:"FragmentDefinition",name:{kind:"Name",value:"GetTitleIndexMap_bodyModel"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RichText"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"paragraphs"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"}},{kind:"Field",name:{kind:"Name",value:"text"}}]}}]}}]),(0,i.A)(a.definitions))},c={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"getTitleForPost_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"FragmentSpread",name:{kind:"Name",value:"postTitle_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getTitleDetails_post"}}]}}].concat((0,i.A)(r.definitions),(0,i.A)(d.definitions))},s={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"shortformPostTitle_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"title"}},{kind:"Field",name:{kind:"Name",value:"seoTitle"}},{kind:"Field",name:{kind:"Name",value:"shortformType"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}},{kind:"FragmentSpread",name:{kind:"Name",value:"appendPostContext_post"}},{kind:"Field",name:{kind:"Name",value:"collection"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"maybeAppendProductName_collection"}}]}}]}}].concat((0,i.A)(a.definitions),(0,i.A)(o),(0,i.A)(l))},u={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"shouldIndexPost_post"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Post"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"firstPublishedAt"}},{kind:"Field",name:{kind:"Name",value:"isShortform"}},{kind:"Field",name:{kind:"Name",value:"shortformType"}},{kind:"Field",name:{kind:"Name",value:"visibility"}},{kind:"FragmentSpread",name:{kind:"Name",value:"getPostContentAsString_post"}},{kind:"Field",name:{kind:"Name",value:"viewerEdge"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"shouldIndexPostForExternalSearch"}}]}}]}}].concat((0,i.A)(a.definitions))}},59162:(e,n,t)=>{"use strict";t.d(n,{Hg:()=>p,T7:()=>S,Xm:()=>v,_y:()=>h,ek:()=>N,pT:()=>g});var i=t(64467),a=t(72346),o=t(79480),l=t(42976),r=t(6565),d=t(94644);function c(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,i)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?c(Object(t),!0).forEach((function(n){(0,i.A)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function u(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}var m=200;function k(e,n){var t,i,a;return null!==(t=n.sequence)&&void 0!==t&&t.title?e+=" - ".concat(n.sequence.title):null!==(i=n.collection)&&void 0!==i&&i.name?e+=" - ".concat(n.collection.name):null!==(a=n.creator)&&void 0!==a&&a.name&&(e+=" - ".concat(n.creator.name)),e}function v(e){var n,t,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:250,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,l=(arguments.length>3&&void 0!==arguments[3]?arguments[3]:{includeMixtapeHref:!1}).includeMixtapeHref,r="",d=function(e,n){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,n){if(e){if("string"==typeof e)return u(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){t&&(e=t);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,r=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return l=e.done,e},e:function(e){r=!0,o=e},f:function(){try{l||null==t.return||t.return()}finally{if(r)throw o}}}}((null===(n=e.content)||void 0===n||null===(t=n.bodyModel)||void 0===t?void 0:t.paragraphs)||[]);try{for(d.s();!(i=d.n()).done;){var c=i.value,s=c.mixtapeMetadata,m=c.text,k=c.type;if(l&&null!=s&&s.href?r+=r?" ".concat(s.href):s.href:"P"===k&&m&&m.length>o&&(r+=r?" ".concat(m):m),r.length>a)break}}catch(e){d.e(e)}finally{d.f()}return r}function p(e){var n=!1,t="";if(e.content&&e.content.bodyModel&&e.content.bodyModel.paragraphs){var i=e.content.bodyModel.paragraphs,a=(0,o.z)(i).titleIndex;"number"==typeof a&&(t=i[a].text||"",n=!0)}return{hasTitleGraf:n,latestTitle:t}}function f(e,n,t){return null!=t&&t.domain?e:"".concat(e," - ").concat(n)}function g(e,n){var t,i,o,l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=e.seoTitle,s=e.title||"",u=(null===(t=e.previewContent)||void 0===t?void 0:t.subtitle)||"";if(c)return(0,r.G)(c,e.collection&&e.collection.name,n);if(!l)return s.length>50?s:s=f(s=k(s,e),n,e.collection);s.length<33&&u&&(u=(0,d.Mc)(u,40),s+=". ".concat(u)),null!==(i=e.creator)&&void 0!==i&&i.name&&(s+=" | by ".concat(e.creator.name));var m,v="",p=Date.now()-5184e6;(null!==(o=e.firstPublishedAt)&&void 0!==o?o:0)>=p&&(v=" | ".concat((0,a.A)(null!==(m=e.firstPublishedAt)&&void 0!==m?m:0,"LLL, yyyy")));var g=e.collection;return g?g.domain?s+="".concat(v," | ").concat(g.name):s+=" | ".concat(g.name).concat(v," | ").concat(n):s+="".concat(v," | ").concat(n),s}function h(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:p(e),i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=e.title||"",o=t.latestTitle||a;return g(s(s({},e),{},{title:o}),n,i).trim()}function S(e,n,t){var i=e.seoTitle,a=e.title||"";return i?(0,r.G)(i,e.collection&&e.collection.name,n):(a=function(e,n,t){var i=n.shortformType,a=i===l.bY.SHORTFORM_TYPE_NOTE||!i;return t||(a?e=v(n,m+50,0):i===l.bY.SHORTFORM_TYPE_LINK&&(e=v(n,m+50,0,{includeMixtapeHref:!0}))),(0,d.Mc)(e,m)}(a,e,t),a=f(a=k(a,e),n,e.collection))}function N(e){var n=e.firstPublishedAt,t=e.isShortform,i=e.shortformType,a=e.visibility,o=e.id,r=i===l.bY.SHORTFORM_TYPE_NOTE||!i;if(!n)return{shouldIndexPost:!1,indexReason:"v2: draft"};if("PUBLIC"!==a&&"LOCKED"!==a)return{shouldIndexPost:!1,indexReason:"v2: unlisted (PUBLIC | LOCKED)"};if("ea79ce491983"===o)return{shouldIndexPost:!1,indexReason:"legal"};if(t)if(r){if(v(e,10,0).length<=10)return{shouldIndexPost:!1,indexReason:"v2: insufficient content <=10 chars"}}else if(0===v(e,10,0).length)return{shouldIndexPost:!1,indexReason:"v2: shortform with no commentary"};return e.viewerEdge.shouldIndexPostForExternalSearch?{shouldIndexPost:!0,indexReason:"v2: all checks passed"}:{shouldIndexPost:!1,indexReason:"v2: postViewerEdge.shouldIndexPostForExternalSearch is false"}}},6565:(e,n,t)=>{"use strict";t.d(n,{G:()=>a,j:()=>i});var i=function(e){return e||"Untitled story"},a=function(e,n,t){return n?"".concat(e," | ").concat(n):t?"".concat(e," | ").concat(t):e}},52176:(e,n,t)=>{"use strict";function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}t.d(n,{A:()=>i})},73437:(e,n,t)=>{"use strict";t.d(n,{A:()=>r});var i=t(53954),a=t(63662),o=t(52176);function l(e,n,t){return l=(0,o.A)()?Reflect.construct.bind():function(e,n,t){var i=[null];i.push.apply(i,n);var o=new(Function.bind.apply(e,i));return t&&(0,a.A)(o,t.prototype),o},l.apply(null,arguments)}function r(e){var n="function"==typeof Map?new Map:void 0;return r=function(e){if(null===e||(t=e,-1===Function.toString.call(t).indexOf("[native code]")))return e;var t;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,o)}function o(){return l(e,arguments,(0,i.A)(this).constructor)}return o.prototype=Object.create(e.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),(0,a.A)(o,e)},r(e)}}}]);
//# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/4391.59acaed3.chunk.js.map