1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60fb2fe6-9d11-447e-a6a0-93bee17731b4",e._sentryDebugIdIdentifier="sentry-dbid-60fb2fe6-9d11-447e-a6a0-93bee17731b4")}catch(e){}}();var _global="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};_global.SENTRY_RELEASE={id:"sakura@335f07e2ac0d571763d7fcbb705675859b5205e0"};"use strict";(self.webpackChunksakura_frontend=self.webpackChunksakura_frontend||[]).push([["5301"],{437876(e,t,l){l.r(t),l.d(t,{default:()=>I,uriTransformer:()=>r});let n=["http","https","mailto","tel"];function r(e){let t=(e||"").trim(),l=t.charAt(0);if("#"===l||"/"===l)return t;let r=t.indexOf(":");if(-1===r)return t;let o=-1;for(;++o<n.length;){let e=n[o];if(r===e.length&&t.slice(0,e.length).toLowerCase()===e)return t}return -1!==(o=t.indexOf("?"))&&r>o||-1!==(o=t.indexOf("#"))&&r>o?t:"javascript:void(0)"}var o=l(514041),a=l(839040),i=l(948759),s=l(523585),d=l(215979),c=l(939067),p=l(565902),u=l(874269);function m(e){if(e.allowedElements&&e.disallowedElements)throw TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{(0,u.YR)(t,"element",(t,l,n)=>{let r;if(e.allowedElements?r=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(r=e.disallowedElements.includes(t.tagName)),!r&&e.allowElement&&"number"==typeof l&&(r=!e.allowElement(t,l,n)),r&&"number"==typeof l)return e.unwrapDisallowed&&t.children?n.children.splice(l,1,...t.children):n.children.splice(l,1),l})}}var f=l(524),g=l(368652),h=l(261182),y=l(898913),w=l(10010),b=l(236469),E=l(430421);let k={}.hasOwnProperty,T=new Set(["table","thead","tbody","tfoot","tr"]);function O(e,t){let l=-1,n=0;for(;++l<e.children.length&&e.children[l]!==t;)"element"===e.children[l].type&&n++;return n}function v(e,t){return t.toUpperCase()}let N={}.hasOwnProperty,x={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function I(e){for(let t in x)if(N.call(x,t)&&N.call(e,t)){let e=x[t];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${t}\` (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#${e.id}> for more info)`),delete x[t]}let t=(0,i.l)().use(s.A).use(e.remarkPlugins||[]).use(d.A,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(m,e),l=new a.T;"string"==typeof e.children?l.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let n=t.runSync(t.parse(l),l);if("root"!==n.type)throw TypeError("Expected a `root` node");let c=o.createElement(o.Fragment,{},function e(t,l){let n,a=[],i=-1;for(;++i<l.children.length;)"element"===(n=l.children[i]).type?a.push(function(t,l,n,a){var i;let s,d=t.options,c=void 0===d.transformLinkUri?r:d.transformLinkUri,u=t.schema,m=l.tagName,g={};if("html"===u.space&&"svg"===m&&(t.schema=p.JW),l.properties)for(s in l.properties)k.call(l.properties,s)&&function(e,t,l,n){let r=(0,h.I)(n.schema,t),o=l;null!=o&&o==o&&(Array.isArray(o)&&(o=r.commaSeparated?(0,b.A)(o):(0,w.A)(o)),"style"===r.property&&"string"==typeof o&&(o=function(e){let t={};try{(0,E.A)(e,function(e,l){t[("-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e).replace(/-([a-z])/g,v)]=l})}catch{}return t}(o)),r.space&&r.property?e[k.call(y.H,r.property)?y.H[r.property]:r.property]=o:r.attribute&&(e[r.attribute]=o))}(g,s,l.properties[s],t);("ol"===m||"ul"===m)&&t.listDepth++;let T=e(t,l);("ol"===m||"ul"===m)&&t.listDepth--,t.schema=u;let N=l.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},x=d.components&&k.call(d.components,m)?d.components[m]:m,I="string"==typeof x||x===o.Fragment;if(!f.isValidElementType(x))throw TypeError(`Component for name \`${m}\` not defined or is not renderable`);if(g.key=n,"a"===m&&d.linkTarget&&(g.target="function"==typeof d.linkTarget?d.linkTarget(String(g.href||""),l.children,"string"==typeof g.title?g.title:null):d.linkTarget),"a"===m&&c&&(g.href=c(String(g.href||""),l.children,"string"==typeof g.title?g.title:null)),I||"code"!==m||"element"!==a.type||"pre"===a.tagName||(g.inline=!0),I||"h1"!==m&&"h2"!==m&&"h3"!==m&&"h4"!==m&&"h5"!==m&&"h6"!==m||(g.level=Number.parseInt(m.charAt(1),10)),"img"===m&&d.transformImageUri&&(g.src=d.transformImageUri(String(g.src||""),String(g.alt||""),"string"==typeof g.title?g.title:null)),!I&&"li"===m&&"element"===a.type){let e=function(e){let t=-1;for(;++t<e.children.length;){let l=e.children[t];if("element"===l.type&&"input"===l.tagName)return l}return null}(l);g.checked=e&&e.properties?!!e.properties.checked:null,g.index=O(a,l),g.ordered="ol"===a.tagName}return I||"ol"!==m&&"ul"!==m||(g.ordered="ol"===m,g.depth=t.listDepth),("td"===m||"th"===m)&&(g.align&&(g.style||(g.style={}),g.style.textAlign=g.align,delete g.align),I||(g.isHeader="th"===m)),I||"tr"!==m||"element"!==a.type||(g.isHeader="thead"===a.tagName),d.sourcePos&&(g["data-sourcepos"]=[(i=N).start.line,":",
1i.start.column,"-",i.end.line,":",i.end.column].map(String).join("")),!I&&d.rawSourcePos&&(g.sourcePosition=l.position),!I&&d.includeElementIndex&&(g.index=O(a,l),g.siblingCount=O(a)),I||(g.node=l),T.length>0?o.createElement(x,g,T):o.createElement(x,g)}(t,n,i,l)):"text"===n.type?"element"===l.type&&T.has(l.tagName)&&(0,g.m)(n)||a.push(n.value):"raw"!==n.type||t.options.skipHtml||a.push(n.value);return a}({options:e,schema:p.qy,listDepth:0},n));return e.className&&(c=o.createElement("div",{className:e.className},c)),c}I.propTypes={children:c.string,className:c.string,allowElement:c.func,allowedElements:c.arrayOf(c.string),disallowedElements:c.arrayOf(c.string),unwrapDisallowed:c.bool,remarkPlugins:c.arrayOf(c.oneOfType([c.object,c.func,c.arrayOf(c.oneOfType([c.bool,c.string,c.object,c.func,c.arrayOf(c.any)]))])),rehypePlugins:c.arrayOf(c.oneOfType([c.object,c.func,c.arrayOf(c.oneOfType([c.bool,c.string,c.object,c.func,c.arrayOf(c.any)]))])),sourcePos:c.bool,rawSourcePos:c.bool,skipHtml:c.bool,includeElementIndex:c.bool,transformLinkUri:c.oneOfType([c.func,c.bool]),linkTarget:c.oneOfType([c.func,c.string]),transformImageUri:c.func,components:c.object}}}]); 2//# sourceMappingURL=npm.react-markdown.790eb6ec5b29467a.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.