"use strict";(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([["6054"],{38664:function(e,t,n){if(n.d(t,{MM:()=>k,h3:()=>s,kn:()=>Z,mY:()=>h,xP:()=>o}),/^(4716|5288)$/.test(n.j))var i=n(92002);if(/^(4716|5288)$/.test(n.j))var C=n(73580);var a=n(7409),r=n(99282),l=n(98848),d=n(16584),c=n(64515);let h=e=>{var t=(0,i._)({},(0,C._)(e));return(0,d.tZ)(c.l,(0,r._)((0,a._)({},t),{name:"RedoIcon",svgParams:{viewBox:"0 0 24 24",height:24,width:24,fill:"none"},children:(0,d.BX)("g",{children:[(0,d.tZ)("path",{fill:"none",d:"M6.80005 5.60059H13.2C14.0487 5.60059 14.8627 5.93773 15.4628 6.53784C16.0629 7.13796 16.4 7.95189 16.4 8.80059C16.4 9.64928 16.0629 10.4632 15.4628 11.0633C14.8627 11.6634 14.0487 12.0006 13.2 12.0006H6.80005V5.60059Z",strokeWidth:"2"}),(0,d.tZ)("path",{fill:"none",d:"M6.80005 12H14C14.8487 12 15.6627 12.3371 16.2628 12.9373C16.8629 13.5374 17.2 14.3513 17.2 15.2C17.2 16.0487 16.8629 16.8626 16.2628 17.4627C15.6627 18.0629 14.8487 18.4 14 18.4H6.80005V12Z",strokeWidth:"2"})]})}))},s=e=>{var t=(0,i._)({},(0,C._)(e));return(0,d.tZ)(c.l,(0,r._)((0,a._)({},t),{name:"ItalicIcon",svgParams:{viewBox:"0 0 24 24",height:24,width:24,fill:"none"},children:(0,d.tZ)("g",{children:(0,d.BX)("g",{children:[(0,d.tZ)("path",{d:"M17.2671 6.10059H10.0671"}),(0,d.tZ)("path",{d:"M13.2659 18.8994H6.06592"}),(0,d.tZ)("path",{d:"M14.0666 6.10059L9.2666 18.9006"})]})})}))},o=e=>{var t=(0,i._)({},(0,C._)(e));return(0,d.tZ)(c.l,(0,r._)((0,a._)({},t),{name:"LinkIcon",svgParams:{viewBox:"0 0 24 24",height:24,width:24,fill:"none"},children:(0,d.BX)("g",{children:[(0,d.tZ)("path",{d:"M10.0671 13.3006C10.4107 13.7599 10.849 14.1399 11.3524 14.4149C11.8557 14.6899 12.4123 14.8535 12.9845 14.8944C13.5566 14.9354 14.1308 14.8529 14.6682 14.6524C15.2056 14.4519 15.6936 14.1382 16.0991 13.7326L18.4991 11.3326C19.2278 10.5781 19.6309 9.56774 19.6218 8.51895C19.6127 7.47017 19.192 6.46692 18.4504 5.72528C17.7088 4.98365 16.7055 4.56298 15.6567 4.55386C14.608 4.54475 13.5975 4.94793 12.8431 5.67656L11.4671 7.04456"}),(0,d.tZ)("path",{d:"M13.2677 11.7008C12.9242 11.2415 12.4859 10.8614 11.9825 10.5864C11.4791 10.3114 10.9225 10.1479 10.3504 10.1069C9.7783 10.0659 9.20407 10.1485 8.66666 10.3489C8.12925 10.5494 7.64125 10.8631 7.23574 11.2688L4.83574 13.6688C4.10711 14.4232 3.70393 15.4336 3.71304 16.4824C3.72216 17.5312 4.14283 18.5344 4.88446 19.276C5.6261 20.0177 6.62935 20.4383 7.67813 20.4475C8.72692 20.4566 9.73733 20.0534 10.4917 19.3248L11.8597 17.9568"})]})}))},Z=e=>{let{stroke:t,className:n}=e;return(0,d.tZ)(c.l,{className:n,name:"BlockquoteIcon",svgParams:{viewBox:"0 0 24 24",height:24,width:24,fill:"none"},children:(0,d.tZ)("path",{d:"M5.5 17L5.5 18C5.5 18.5304 5.71071 19.0391 6.08579 19.4142C6.46086 19.7893 6.96957 20 7.5 20L18.5 20C19.0304 20 19.5391 19.7893 19.9142 19.4142C20.2893 19.0391 20.5 18.5304 20.5 18L20.5 7C20.5 6.46957 20.2893 5.96086 19.9142 5.58579C19.5391 5.21071 19.0304 5 18.5 5H17.5M9.67857 10.6667C9.67857 10.2246 9.86671 9.80072 10.2016 9.48816C10.5365 9.1756 10.9907 9 11.4643 9C11.9379 9 12.3921 9.1756 12.727 9.48816C13.0619 9.80072 13.25 10.2246 13.25 10.6667C13.25 11.1087 13.0619 11.5326 12.727 11.8452C12.3921 12.1577 11.9379 12.3333 11.4643 12.3333C10.9907 12.3333 10.5365 12.1577 10.2016 11.8452C9.86671 11.5326 9.67857 11.1087 9.67857 10.6667ZM9.67857 10.6667L11.4643 4M2 10.6667C2 10.2246 2.18814 9.80072 2.52302 9.48816C2.85791 9.1756 3.31211 9 3.78571 9C4.25931 9 4.71352 9.1756 5.0484 9.48816C5.38329 9.80072 5.57143 10.2246 5.57143 10.6667C5.57143 11.1087 5.38329 11.5326 5.0484 11.8452C4.71352 12.1577 4.25931 12.3333 3.78571 12.3333C3.31211 12.3333 2.85791 12.1577 2.52302 11.8452C2.18814 11.5326 2 11.1087 2 10.6667ZM2 10.6667L3.78571 4M4.91667 10.6667C4.91667 11.1269 4.54357 11.5 4.08333 11.5C3.6231 11.5 3.25 11.1269 3.25 10.6667C3.25 10.2064 3.6231 9.83333 4.08333 9.83333C4.54357 9.83333 4.91667 10.2064 4.91667 10.6667ZM12.4167 10.6667C12.4167 11.1269 12.0436 11.5 11.5833 11.5C11.1231 11.5 10.75 11.1269 10.75 10.6667C10.75 10.2064 11.1231 9.83333 11.5833 9.83333C12.0436 9.83333 12.4167 10.2064 12.4167 10.6667ZM4.08333 11.0833C4.08333 11.3135 3.89679 11.5 3.66667 11.5C3.43655 11.5 3.25 11.3135 3.25 11.0833C3.25 10.8532 3.43655 10.6667 3.66667 10.6667C3.89679 10.6667 4.08333 10.8532 4.08333 11.0833ZM11.5833 11.0833C11.5833 11.3135 11.3968 11.5 11.1667 11.5C10.9365 11.5 10.75 11.3135 10.75 11.0833C10.75 10.8532 10.9365 10.6667 11.1667 10.6667C11.3968 10.6667 11.5833 10.8532 11.5833 11.0833Z",strokeLinecap:"round","stroke-linejoin":"round",fill:"none",stroke:t,strokeWidth:"2"})})},k=e=>{var{stroke:t}=e,n=(0,l._)(e,["stroke"]);return(0,d.tZ)(c.l,(0,r._)((0,a._)({},n),{name:"CodeBlockIcon",svgParams:{viewBox:"0 0 24 24",height:24,width:24,fill:"none"},children:(0,d.tZ)("path",{d:"M5.5 17L5.5 18C5.5 18.5304 5.71071 19.0391 6.08579 19.4142C6.46086 19.7893 6.96957 20 7.5 20L18.5 20C19.0304 20 19.5391 19.7893 19.9142 19.4142C20.2893 19.0391 20.5 18.5304 20.5 18L20.5 7C20.5 6.46957 20.2893 5.96086 19.9142 5.58579C19.5391 5.21071 19.0304 5 18.5 5L17.5 5M9.4 12L13 8L9.4 4M4.6 4L1 8L4.6 12",strokeLinecap:"round","stroke-linejoin":"round",fill:"none",stroke:t,strokeWidth:"2"})}))}},96302:function(e,t,n){n.d(t,{ZP:()=>v,rs:()=>k});var i=n(7409),C=n(99282),a=n(98848),r=n(16584),l=n(59278),d=n(94184),c=n.n(d);n(98661);var h=n(95441),s=n(71068);n(58175);var o=n(28657);let Z=e=>{var{children:t,size:n}=e,d=(0,a._)(e,["children","size"]);let{iString:c}=(0,h.M1)();return(0,r.tZ)(l.r,(0,C._)((0,i._)({"aria-label":c("Toggle setting")},d),{onClick:e=>{e.stopPropagation()},children:t}))},k=e=>{var{checked:t,disabled:n,size:l="md",theme:d="accent",leading:h,trailing:s}=e,k=(0,a._)(e,["checked","disabled","size","theme","leading","trailing"]);return(0,r.BX)(g,{children:[h&&h,(0,r.tZ)(Z,(0,C._)((0,i._)({checked:t,disabled:n,className:c()(o.Z.track,n?o.Z.disabled:o.Z.enabled,t?o.Z.checked:o.Z.unchecked,o.Z[l],o.Z["theme_".concat(d)])},k),{children:(0,r.tZ)(u,{className:c()(o.Z.nub,n?o.Z.disabled:o.Z.enabled,t?o.Z.checked:o.Z.unchecked,o.Z[l])})})),s&&s]})},u=e=>{let{className:t}=e;return(0,r.tZ)(s.xu,{"aria-hidden":"true",className:t})},g=(0,s.zo)({display:"flex",justifyContent:"center",alignItems:"center",gap:8}),v=/^(1612|3270|4153|6673|7778)$/.test(n.j)?null:k}}]);