1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ExemploAulaReact-BowB10mf.js","assets/vendor-markdown-BnDz3YsI.js","assets/rolldown-runtime-DS2seoW7.js","assets/vendor-charts-BLlC71g6.js","assets/LessonBlocks-DK-_p8mY.js","assets/chevron-down-CSJxUQrD.js","assets/createLucideIcon-CTJyoloH.js","assets/chevron-up-CO1vXdq9.js","assets/info-BB_duDX1.js","assets/lightbulb-ibEpTTUN.js","assets/triangle-alert-B59X7Li3.js","assets/utils-Da1pCdmc.js","assets/QgisredPrimeirosPassos-DsHc44wJ.js","assets/YouTubePreview-0unUjTrU.js","assets/index-C3yrWq7m.js","assets/vendor-react-C0IC_kt0.js","assets/vendor-motion-BcTer6Tu.js","assets/vendor-ui-Befa6V0G.js","assets/vendor-query-BSXLthyd.js","assets/vendor-supabase-C-mKLIp-.js","assets/button-BYAM3dpJ.js","assets/client-G18cNx3L.js","assets/useTranslation-BR75JivQ.js","assets/i18n-BLSqUnyY.js","assets/index-CYIVi2rh.css","assets/QgisredConhecendoInterface-a1COnr2L.js","assets/QgisredEdicao-DXdJwzJF.js","assets/QgisredVerificacoes-BG_iGm41.js","assets/table-Cbv1opTl.js","assets/QgisredFerramentas-DFi7A1VI.js","assets/QgisredAnalises-TfZ4Y3RS.js","assets/QgisredGemeosDigitais-1ur0IngI.js","assets/lazy-image-BlVUMPoY.js","assets/QgisredDadosEntrada-DJZKaOa5.js","assets/QgisredDicas-CGQkmOrv.js","assets/QgisredExemplos-Df0jD2V7.js","assets/SabespAvaliacaoProjetos-BAvrvisY.js","assets/SabespErrosComuns-jGP5mWBp.js","assets/SabespReprovacao-EfydxqEM.js"])))=>i.map(i=>d[i]); 2import{a as H}from"./rolldown-runtime-DS2seoW7.js";import{y as $}from"./vendor-charts-BLlC71g6.js";import{t as F}from"./vendor-react-C0IC_kt0.js";import{D as f,x as U}from"./index-C3yrWq7m.js";var p=H($(),1),Q=F();function W(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function A(e,r){return Array(r+1).join(e)}function O(e){return e.replace(/^\n*/,"")}function C(e){for(var r=e.length;r>0&&e[r-1]===` 3`;)r--;return e.substring(0,r)}function S(e){return C(O(e))}var j=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function T(e){return y(e,j)}var w=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function P(e){return y(e,w)}function q(e){return I(e,w)}var L=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function G(e){return y(e,L)}function X(e){return I(e,L)}function y(e,r){return r.indexOf(e.nodeName)>=0}function I(e,r){return e.getElementsByTagName&&r.some(function(t){return e.getElementsByTagName(t).length})}var K=[[/\\/g,"\\\\"],[/\*/g,"\\*"],[/^-/g,"\\-"],[/^\+ /g,"\\+ "],[/^(=+)/g,"\\$1"],[/^(#{1,6}) /g,"\\$1 "],[/`/g,"\\`"],[/^~~~/g,"\\~~~"],[/\[/g,"\\["],[/\]/g,"\\]"],[/^>/g,"\\>"],[/_/g,"\\_"],[/^(\d+)\. /g,"$1\\. "]];function B(e){return K.reduce(function(r,t){return r.replace(t[0],t[1])},e)}var s={};s.paragraph={filter:"p",replacement:function(e){return` 4 5`+e+` 6 7`}};s.lineBreak={filter:"br",replacement:function(e,r,t){return t.br+` 8`}};s.heading={filter:["h1","h2","h3","h4","h5","h6"],replacement:function(e,r,t){var n=Number(r.nodeName.charAt(1));if(t.headingStyle==="setext"&&n<3){var i=A(n===1?"=":"-",e.length);return` 9 10`+e+` 11`+i+` 12 13`}else return` 14 15`+A("#",n)+" "+e+` 16 17`}};s.blockquote={filter:"blockquote",replacement:function(e){return e=S(e).replace(/^/gm,"> "),` 18 19`+e+` 20 21`}};s.list={filter:["ul","ol"],replacement:function(e,r){var t=r.parentNode;return t.nodeName==="LI"&&t.lastElementChild===r?` 22`+e:` 23 24`+e+` 25 26`}};s.listItem={filter:"li",replacement:function(e,r,t){var n=t.bulletListMarker+" ",i=r.parentNode;if(i.nodeName==="OL"){var a=i.getAttribute("start"),o=Array.prototype.indexOf.call(i.children,r);n=(a?Number(a)+o:o+1)+". "}var u=/\n$/.test(e);return e=S(e)+(u?` 27`:""),e=e.replace(/\n/gm,` 28`+" ".repeat(n.length)),n+e+(r.nextSibling?` 29`:"")}};s.indentedCodeBlock={filter:function(e,r){return r.codeBlockStyle==="indented"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,r,t){return` 30 31 `+r.firstChild.textContent.replace(/\n/g,` 32 `)+` 33 34`}};s.fencedCodeBlock={filter:function(e,r){return r.codeBlockStyle==="fenced"&&e.nodeName==="PRE"&&e.firstChild&&e.firstChild.nodeName==="CODE"},replacement:function(e,r,t){for(var n=((r.firstChild.getAttribute("class")||"").match(/language-(\S+)/)||[null,""])[1],i=r.firstChild.textContent,a=t.fence.charAt(0),o=3,u=new RegExp("^"+a+"{3,}","gm"),l;l=u.exec(i);)l[0].length>=o&&(o=l[0].length+1);var c=A(a,o);return` 35 36`+c+n+` 37`+i.replace(/\n$/,"")+` 38`+c+` 39 40`}};s.horizontalRule={filter:"hr",replacement:function(e,r,t){return` 41 42`+t.hr+` 43 44`}};s.inlineLink={filter:function(e,r){return r.linkStyle==="inlined"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,r){var t=R(r.getAttribute("href")),n=k(d(r.getAttribute("title"))),i=n?' "'+n+'"':"";return"["+e+"]("+t+i+")"}};s.referenceLink={filter:function(e,r){return r.linkStyle==="referenced"&&e.nodeName==="A"&&e.getAttribute("href")},replacement:function(e,r,t){var n=R(r.getAttribute("href")),i=d(r.getAttribute("title"));i&&(i=' "'+k(i)+'"');var a,o;switch(t.linkReferenceStyle){case"collapsed":a="["+e+"][]",o="["+e+"]: "+n+i;break;case"shortcut":a="["+e+"]",o="["+e+"]: "+n+i;break;default:var u=this.references.length+1;a="["+e+"]["+u+"]",o="["+u+"]: "+n+i}return this.references.push(o),a},references:[],append:function(e){var r="";return this.references.length&&(r=` 45 46`+this.references.join(` 47`)+` 48 49`,this.references=[]),r}};s.emphasis={filter:["em","i"],replacement:function(e,r,t){return e.trim()?t.emDelimiter+e+t.emDelimiter:""}};s.strong={filter:["strong","b"],replacement:function(e,r,t){return e.trim()?t.strongDelimiter+e+t.strongDelimiter:""}};s.code={filter:function(e){var r=e.previousSibling||e.nextSibling,t=e.parentNode.nodeName==="PRE"&&!r;
49return e.nodeName==="CODE"&&!t},replacement:function(e){if(!e)return"";e=e.replace(/\r?\n|\r/g," ");for(var r=/^`|^ .*?[^ ].* $|`$/.test(e)?" ":"",t="`",n=e.match(/`+/gm)||[];n.indexOf(t)!==-1;)t=t+"`";return t+r+e+r+t}};s.image={filter:"img",replacement:function(e,r){var t=B(d(r.getAttribute("alt"))),n=R(r.getAttribute("src")||""),i=d(r.getAttribute("title")),a=i?' "'+k(i)+'"':"";return n?"":""}};function d(e){return e?e.replace(/(\n+\s*)+/g,` 50`):""}function R(e){var r=e.replace(/([<>()])/g,"\\$1");return r.indexOf(" ")>=0?"<"+r+">":r}function k(e){return e.replace(/"/g,'\\"')}function x(e){this.options=e,this._keep=[],this._remove=[],this.blankRule={replacement:e.blankReplacement},this.keepReplacement=e.keepReplacement,this.defaultRule={replacement:e.defaultReplacement},this.array=[];for(var r in e.rules)this.array.push(e.rules[r])}x.prototype={add:function(e,r){this.array.unshift(r)},keep:function(e){this._keep.unshift({filter:e,replacement:this.keepReplacement})},remove:function(e){this._remove.unshift({filter:e,replacement:function(){return""}})},forNode:function(e){if(e.isBlank)return this.blankRule;var r;return(r=v(this.array,e,this.options))||(r=v(this._keep,e,this.options))||(r=v(this._remove,e,this.options))?r:this.defaultRule},forEach:function(e){for(var r=0;r<this.array.length;r++)e(this.array[r],r)}};function v(e,r,t){for(var n=0;n<e.length;n++){var i=e[n];if(Y(i,r,t))return i}}function Y(e,r,t){var n=e.filter;if(typeof n=="string"){if(n===r.nodeName.toLowerCase())return!0}else if(Array.isArray(n)){if(n.indexOf(r.nodeName.toLowerCase())>-1)return!0}else if(typeof n=="function"){if(n.call(e,r,t))return!0}else throw new TypeError("`filter` needs to be a string, array, or function")}function z(e){var r=e.element,t=e.isBlock,n=e.isVoid,i=e.isPre||function(g){return g.nodeName==="PRE"};
50if(!(!r.firstChild||i(r))){for(var a=null,o=!1,u=null,l=b(u,r,i);l!==r;){if(l.nodeType===3||l.nodeType===4){var c=l.data.replace(/[ \r\n\t]+/g," ");if((!a||/ $/.test(a.data))&&!o&&c[0]===" "&&(c=c.substr(1)),!c){l=E(l);continue}l.data=c,a=l}else if(l.nodeType===1)t(l)||l.nodeName==="BR"?(a&&(a.data=a.data.replace(/ $/,"")),a=null,o=!1):n(l)||i(l)?(a=null,o=!0):a&&(o=!1);else{l=E(l);continue}var m=b(u,l,i);u=l,l=m}a&&(a.data=a.data.replace(/ $/,""),a.data||E(a))}}function E(e){var r=e.nextSibling||e.parentNode;return e.parentNode.removeChild(e),r}function b(e,r,t){return e&&e.parentNode===r||t(r)?r.nextSibling||r.parentNode:r.firstChild||r.nextSibling||r.parentNode}var N=typeof window<"u"?window:{};function J(){var e=N.DOMParser,r=!1;try{new e().parseFromString("","text/html")&&(r=!0)}catch{}return r}function Z(){var e=function(){};return ee()?e.prototype.parseFromString=function(r){var t=new window.ActiveXObject("htmlfile");return t.designMode="on",t.open(),t.write(r),t.close(),t}:e.prototype.parseFromString=function(r){var t=document.implementation.createHTMLDocument("");return t.open(),t.write(r),t.close(),t},e}function ee(){var e=!1;try{document.implementation.createHTMLDocument("").open()}catch{N.ActiveXObject&&(e=!0)}return e}var re=J()?N.DOMParser:Z();function te(e,r){var t;return typeof e=="string"?t=ne().parseFromString('<x-turndown id="turndown-root">'+e+"</x-turndown>","text/html").getElementById("turndown-root"):t=e.cloneNode(!0),z({element:t,isBlock:T,isVoid:P,isPre:r.preformattedCode?ie:null}),t}var _;function ne(){return _=_||new re,_}function ie(e){return e.nodeName==="PRE"||e.nodeName==="CODE"}function ae(e,r){return e.isBlock=T(e),e.isCode=e.nodeName==="CODE"||e.parentNode.isCode,e.isBlank=le(e),e.flankingWhitespace=oe(e,r),e}function le(e){return!P(e)&&!G(e)&&/^\s*$/i.test(e.textContent)&&!q(e)&&!X(e)}function oe(e,r){if(e.isBlock||r.preformattedCode&&e.isCode)return{leading:"",trailing:""};var t=se(e.textContent);return t.leadingAscii&&D("left",e,r)&&(t.leading=t.leadingNonAscii),t.trailingAscii&&D("right",e,r)&&(t.trailing=t.trailingNonAscii),{leading:t.leading,trailing:t.trailing}}function se(e){var r=e.match(/^(([ \t\r\n]*)(\s*))(?:(?=\S)[\s\S]*\S)?((\s*?)([ \t\r\n]*))$/);return{leading:r[1],leadingAscii:r[2],leadingNonAscii:r[3],trailing:r[4],trailingNonAscii:r[5],trailingAscii:r[6]}}function D(e,r,t){var n,i,a;return e==="left"?(n=r.previousSibling,i=/ $/):(n=r.nextSibling,i=/^ /),n&&(n.nodeType===3?a=i.test(n.nodeValue):t.preformattedCode&&n.nodeName==="CODE"?a=!1:n.nodeType===1&&!T(n)&&(a=i.test(n.textContent))),a}var ce=Array.prototype.reduce;function h(e){if(!(this instanceof h))return new h(e);var r={rules:s,headingStyle:"setext",hr:"* * *",bulletListMarker:"*",codeBlockStyle:"indented",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",br:" ",preformattedCode:!1,blankReplacement:function(t,n){return n.isBlock?` 51 52`:""},keepReplacement:function(t,n){return n.isBlock?` 53 54`+n.outerHTML+` 55 56`:n.outerHTML},defaultReplacement:function(t,n){return n.isBlock?` 57 58`+t+` 59 60`:t}};this.options=W({},r,e),this.rules=new x(this.options)}h.prototype={turndown:function(e){if(!me(e))throw new TypeError(e+" is not a string, or an element/document/fragment node.");if(e==="")return"";var r=M.call(this,new te(e,this.options));return ue.call(this,r)},use:function(e){if(Array.isArray(e))for(var r=0;r<e.length;r++)this.use(e[r]);else if(typeof e=="function")e(this);else throw new TypeError("plugin must be a Function or an Array of Functions");return this},addRule:function(e,r){return this.rules.add(e,r),this},keep:function(e){return this.rules.keep(e),this},remove:function(e){return this.rules.remove(e),this},escape:function(e){return B(e)}};function M(e){var r=this;return ce.call(e.childNodes,function(t,n){n=new ae(n,r.options);var i="";return n.nodeType===3?i=n.isCode?n.nodeValue:r.escape(n.nodeValue):n.nodeType===1&&(i=fe.call(r,n)),V(t,i)},"")}function ue(e){var r=this;
60return this.rules.forEach(function(t){typeof t.append=="function"&&(e=V(e,t.append(r.options)))}),e.replace(/^[\t\r\n]+/,"").replace(/[\t\r\n\s]+$/,"")}function fe(e){var r=this.rules.forNode(e),t=M.call(this,e),n=e.flankingWhitespace;return(n.leading||n.trailing)&&(t=t.trim()),n.leading+r.replacement(t,e,this.options)+n.trailing}function V(e,r){var t=C(e),n=O(r),i=Math.max(e.length-t.length,r.length-n.length);return t+` 61 62`.substring(0,i)+n}function me(e){return e!=null&&(typeof e=="string"||e.nodeType&&(e.nodeType===1||e.nodeType===9||e.nodeType===11))}var pe={ExemploAulaReact:()=>f(()=>import("./ExemploAulaReact-BowB10mf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11])),QgisredPrimeirosPassos:()=>f(()=>import("./QgisredPrimeirosPassos-DsHc44wJ.js"),__vite__mapDeps([12,1,2,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24])),QgisredConhecendoInterface:()=>f(()=>import("./QgisredConhecendoInterface-a1COnr2L.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11])),QgisredEdicao:()=>f(()=>import("./QgisredEdicao-DXdJwzJF.js"),__vite__mapDeps([26,1,2,3,4,5,6,7,8,9,10,11])),QgisredVerificacoes:()=>f(()=>import("./QgisredVerificacoes-BG_iGm41.js"),__vite__mapDeps([27,1,2,3,4,5,6,7,8,9,10,11,28])),QgisredFerramentas:()=>f(()=>import("./QgisredFerramentas-DFi7A1VI.js"),__vite__mapDeps([29,1,2,3,4,5,6,7,8,9,10,11,28])),QgisredAnalises:()=>f(()=>import("./QgisredAnalises-TfZ4Y3RS.js"),__vite__mapDeps([30,1,2,3,4,5,6,7,8,9,10,11])),QgisredGemeosDigitais:()=>f(()=>import("./QgisredGemeosDigitais-1ur0IngI.js"),__vite__mapDeps([31,1,2,3,4,5,6,7,8,9,10,11,32])),QgisredDadosEntrada:()=>f(()=>import("./QgisredDadosEntrada-DJZKaOa5.js"),__vite__mapDeps([33,1,2,3,4,5,6,7,8,9,10,11])),QgisredDicas:()=>f(()=>import("./QgisredDicas-CGQkmOrv.js"),__vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11])),QgisredExemplos:()=>f(()=>import("./QgisredExemplos-Df0jD2V7.js"),__vite__mapDeps([35,1,2,3,4,5,6,7,8,9,10,11])),SabespAvaliacaoProjetos:()=>f(()=>import("./SabespAvaliacaoProjetos-BAvrvisY.js"),__vite__mapDeps([36,1,2,3,14,15,16,17,18,19,20,11,6,21,22,23,24,4,5,7,8,9,10])),SabespErrosComuns:()=>f(()=>import("./SabespErrosComuns-jGP5mWBp.js"),__vite__mapDeps([37,1,2,3,4,5,6,7,8,9,10,11])),SabespReprovacao:()=>f(()=>import("./SabespReprovacao-EfydxqEM.js"),__vite__mapDeps([38,1,2,3,14,15,16,17,18,19,20,11,6,21,22,23,24,4,5,7,8,9,10]))};function de(){const e=new h({headingStyle:"atx",codeBlockStyle:"fenced",bulletListMarker:"-",emDelimiter:"_"});return e.addRule("table",{filter:"table",replacement:(r,t)=>{const i=Array.from(t.querySelectorAll("tr"));if(i.length===0)return"";const a=m=>Array.from(m.querySelectorAll("th,td")).map(g=>(g.textContent||"").replace(/\s+/g," ").trim()),o=a(i[0]),u=i.slice(1).map(a),l=o.map(()=>"---"),c=m=>`| ${m.join(" | ")} |`;return["",c(o),c(l),...u.map(c),""].join(` 63`)}}),e.addRule("figure",{filter:"figure",replacement:(r,t)=>{const n=t,i=n.querySelector("img"),a=n.querySelector("figcaption"),o=i?.getAttribute("src")||"",u=i?.getAttribute("alt")||"",l=a?.textContent?.trim()||"",c=o?``:"";return l?` 64${c} 65 66_${l}_ 67`:` 68${c} 69`}}),e.addRule("svg",{filter:(r=>r.nodeName.toLowerCase()==="svg"),replacement:()=>""}),e}async function _e(e){const r=pe[e];if(!r)return null;const t=(await r()).default,n=(0,Q.renderToStaticMarkup)((0,p.createElement)(U,null,(0,p.createElement)(p.Suspense,{fallback:null},(0,p.createElement)(t))));return de().turndown(n).replace(/\n{3,}/g,` 70 71`).trim()}export{_e as renderCustomLessonToMarkdown};
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.