[{"data":1,"prerenderedAt":1135},["ShallowReactive",2],{"navigation_docs":3,"-sigil-sources-svg":420,"-sigil-sources-svg-surround":1130},[4,26,201,312,317,335],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":25},"Getting Started","i-lucide:rocket","\u002Fgetting-started","01.getting-started",[10,14],{"title":11,"path":12,"stem":13,"icon":6},"Introduction","\u002Fgetting-started\u002Fintroduction","01.getting-started\u002F01.introduction",{"title":15,"icon":16,"path":17,"stem":18,"children":19,"page":25},"AI","i-lucide:bot","\u002Fgetting-started\u002Fai","01.getting-started\u002F02.ai",[20],{"title":21,"path":22,"stem":23,"icon":24},"LLMs Integration","\u002Fgetting-started\u002Fai\u002Fllms-txt","01.getting-started\u002F02.ai\u002F01.llms-txt","i-lucide:folder-code",false,{"title":27,"icon":28,"path":29,"stem":30,"children":31,"page":25},"Video Player","i-lucide:play-circle","\u002Fvideo-player","02.video-player",[32,50,76,117,191],{"title":5,"icon":6,"path":33,"stem":34,"children":35,"page":25},"\u002Fvideo-player\u002Fgetting-started","02.video-player\u002F01.getting-started",[36,40,45],{"title":11,"path":37,"stem":38,"icon":39},"\u002Fvideo-player\u002Fgetting-started\u002Fintroduction","02.video-player\u002F01.getting-started\u002F01.introduction","i-lucide:book-open",{"title":41,"path":42,"stem":43,"icon":44},"Installation","\u002Fvideo-player\u002Fgetting-started\u002Finstallation","02.video-player\u002F01.getting-started\u002F02.installation","i-lucide:download",{"title":46,"path":47,"stem":48,"icon":49},"Try your own","\u002Fvideo-player\u002Fgetting-started\u002Ftry-your-own","02.video-player\u002F01.getting-started\u002F03.try-your-own","i-lucide:flask-conical",{"title":51,"icon":52,"path":53,"stem":54,"children":55,"page":25},"Core Concepts","i-lucide:lightbulb","\u002Fvideo-player\u002Fcore-concepts","02.video-player\u002F02.core-concepts",[56,61,66,71],{"title":57,"path":58,"stem":59,"icon":60},"Components","\u002Fvideo-player\u002Fcore-concepts\u002Fcomponents","02.video-player\u002F02.core-concepts\u002F01.components","i-lucide:component",{"title":62,"path":63,"stem":64,"icon":65},"Platforms","\u002Fvideo-player\u002Fcore-concepts\u002Fplatforms","02.video-player\u002F02.core-concepts\u002F02.platforms","i-lucide:globe",{"title":67,"path":68,"stem":69,"icon":70},"Web components","\u002Fvideo-player\u002Fcore-concepts\u002Fweb-components","02.video-player\u002F02.core-concepts\u002F03.web-components","i-lucide:box",{"title":72,"path":73,"stem":74,"icon":75},"Autoplay & audio","\u002Fvideo-player\u002Fcore-concepts\u002Fautoplay-and-audio","02.video-player\u002F02.core-concepts\u002F04.autoplay-and-audio","i-lucide:volume-2",{"title":77,"icon":78,"defaultOpen":25,"path":79,"stem":80,"children":81},"API Reference","i-lucide:book-marked","\u002Fvideo-player\u002Fapi","02.video-player\u002F03.api\u002Findex",[82,85,90,102,107,112],{"title":83,"path":79,"stem":80,"icon":84},"Overview","i-lucide:list",{"title":86,"path":87,"stem":88,"icon":89},"Props","\u002Fvideo-player\u002Fapi\u002Fprops","02.video-player\u002F03.api\u002F01.props","i-lucide:sliders-horizontal",{"title":91,"path":92,"stem":93,"children":94,"icon":96},"Methods & state","\u002Fvideo-player\u002Fapi\u002Fmethods","02.video-player\u002F03.api\u002F02.methods\u002Findex",[95,97],{"title":91,"path":92,"stem":93,"icon":96},"i-lucide:square-function",{"title":98,"path":99,"stem":100,"icon":101},"Wrapping a player","\u002Fvideo-player\u002Fapi\u002Fmethods\u002Fwrapping","02.video-player\u002F03.api\u002F02.methods\u002F01.wrapping","i-lucide:package",{"title":103,"path":104,"stem":105,"icon":106},"Events","\u002Fvideo-player\u002Fapi\u002Fevents","02.video-player\u002F03.api\u002F03.events","i-lucide:radio-tower",{"title":108,"path":109,"stem":110,"icon":111},"Headless controls","\u002Fvideo-player\u002Fapi\u002Fcontrols","02.video-player\u002F03.api\u002F04.controls","i-lucide:toggle-left",{"title":113,"path":114,"stem":115,"icon":116},"Built-in behaviour","\u002Fvideo-player\u002Fapi\u002Fbehaviour","02.video-player\u002F03.api\u002F05.behaviour","i-lucide:settings-2",{"title":118,"icon":119,"defaultOpen":25,"path":120,"stem":121,"children":122,"page":25},"Features","i-lucide:layers","\u002Fvideo-player\u002Ffeatures","02.video-player\u002F04.features",[123,128,133,138,143,148,164,181,186],{"title":124,"path":125,"stem":126,"icon":127},"Scrolling & viewport","\u002Fvideo-player\u002Ffeatures\u002Fviewport","02.video-player\u002F04.features\u002F01.viewport","i-lucide:scroll",{"title":129,"path":130,"stem":131,"icon":132},"Stage & playlists","\u002Fvideo-player\u002Ffeatures\u002Fstage-and-playlists","02.video-player\u002F04.features\u002F02.stage-and-playlists","i-lucide:layout-template",{"title":134,"path":135,"stem":136,"icon":137},"Transcripts","\u002Fvideo-player\u002Ffeatures\u002Ftranscripts","02.video-player\u002F04.features\u002F03.transcripts","i-lucide:scroll-text",{"title":139,"path":140,"stem":141,"icon":142},"Captions","\u002Fvideo-player\u002Ffeatures\u002Fcaptions","02.video-player\u002F04.features\u002F04.captions","i-lucide:subtitles",{"title":144,"path":145,"stem":146,"icon":147},"Quality","\u002Fvideo-player\u002Ffeatures\u002Fquality","02.video-player\u002F04.features\u002F05.quality","i-lucide:gauge",{"title":149,"icon":150,"defaultOpen":25,"path":151,"stem":152,"children":153},"Ads & monetisation","i-lucide:megaphone","\u002Fvideo-player\u002Ffeatures\u002Fads","02.video-player\u002F04.features\u002F06.ads\u002Findex",[154,155,160],{"title":149,"path":151,"stem":152,"icon":150},{"title":156,"path":157,"stem":158,"icon":159},"Header bidding","\u002Fvideo-player\u002Ffeatures\u002Fads\u002Fheader-bidding","02.video-player\u002F04.features\u002F06.ads\u002F01.header-bidding","i-lucide:gavel",{"title":161,"path":162,"stem":163,"icon":116},"Ad behaviour","\u002Fvideo-player\u002Ffeatures\u002Fads\u002Fbehaviour","02.video-player\u002F04.features\u002F06.ads\u002F02.behaviour",{"title":165,"icon":166,"defaultOpen":25,"path":167,"stem":168,"children":169},"Extensibility","i-lucide:puzzle","\u002Fvideo-player\u002Ffeatures\u002Fextensibility","02.video-player\u002F04.features\u002F07.extensibility\u002Findex",[170,171,176],{"title":165,"path":167,"stem":168,"icon":166},{"title":172,"path":173,"stem":174,"icon":175},"Icons","\u002Fvideo-player\u002Ffeatures\u002Fextensibility\u002Ficons","02.video-player\u002F04.features\u002F07.extensibility\u002F01.icons","i-lucide:image",{"title":177,"path":178,"stem":179,"icon":180},"Theming","\u002Fvideo-player\u002Ffeatures\u002Fextensibility\u002Ftheming","02.video-player\u002F04.features\u002F07.extensibility\u002F02.theming","i-lucide:palette",{"title":182,"path":183,"stem":184,"icon":185},"Deep links","\u002Fvideo-player\u002Ffeatures\u002Fdeep-links","02.video-player\u002F04.features\u002F08.deep-links","i-lucide:link",{"title":187,"path":188,"stem":189,"icon":190},"Clip ranges","\u002Fvideo-player\u002Ffeatures\u002Fclip-range","02.video-player\u002F04.features\u002F09.clip-range","i-lucide:brackets",{"title":192,"icon":49,"defaultOpen":25,"path":193,"stem":194,"children":195,"page":25},"Examples","\u002Fvideo-player\u002Fexamples","02.video-player\u002F05.examples",[196],{"title":197,"path":198,"stem":199,"icon":200},"Shorts-style feed","\u002Fvideo-player\u002Fexamples\u002Fshorts-feed","02.video-player\u002F05.examples\u002F01.shorts-feed","i-lucide:smartphone",{"title":202,"icon":203,"path":204,"stem":205,"children":206,"page":25},"Sigil","i-lucide:shapes","\u002Fsigil","03.sigil",[207,217,240,270,290],{"title":5,"icon":6,"path":208,"stem":209,"children":210,"page":25},"\u002Fsigil\u002Fgetting-started","03.sigil\u002F01.getting-started",[211,214],{"title":11,"path":212,"stem":213,"icon":39},"\u002Fsigil\u002Fgetting-started\u002Fintroduction","03.sigil\u002F01.getting-started\u002F01.introduction",{"title":41,"path":215,"stem":216,"icon":44},"\u002Fsigil\u002Fgetting-started\u002Finstallation","03.sigil\u002F01.getting-started\u002F02.installation",{"title":51,"icon":52,"path":218,"stem":219,"children":220,"page":25},"\u002Fsigil\u002Fcore-concepts","03.sigil\u002F02.core-concepts",[221,226,231,235],{"title":222,"path":223,"stem":224,"icon":225},"Resolution","\u002Fsigil\u002Fcore-concepts\u002Fresolution","03.sigil\u002F02.core-concepts\u002F01.resolution","i-lucide:route",{"title":227,"path":228,"stem":229,"icon":230},"Entries","\u002Fsigil\u002Fcore-concepts\u002Fentries","03.sigil\u002F02.core-concepts\u002F02.entries","i-lucide:package-open",{"title":232,"path":233,"stem":234,"icon":70},"The element","\u002Fsigil\u002Fcore-concepts\u002Fweb-component","03.sigil\u002F02.core-concepts\u002F03.web-component",{"title":236,"path":237,"stem":238,"icon":239},"Switching sets","\u002Fsigil\u002Fcore-concepts\u002Fswitching","03.sigil\u002F02.core-concepts\u002F04.switching","i-lucide:repeat",{"title":241,"icon":242,"defaultOpen":25,"path":243,"stem":244,"children":245},"Sources","i-lucide:library","\u002Fsigil\u002Fsources","03.sigil\u002F03.sources\u002Findex",[246,247,252,256,261,266],{"title":83,"path":243,"stem":244,"icon":84},{"title":248,"path":249,"stem":250,"icon":251},"Overrides","\u002Fsigil\u002Fsources\u002Foverrides","03.sigil\u002F03.sources\u002F01.overrides","i-lucide:pin",{"title":253,"path":254,"stem":255,"icon":175},"SVG libraries","\u002Fsigil\u002Fsources\u002Fsvg","03.sigil\u002F03.sources\u002F02.svg",{"title":257,"path":258,"stem":259,"icon":260},"Icon fonts","\u002Fsigil\u002Fsources\u002Ffonts","03.sigil\u002F03.sources\u002F03.fonts","i-lucide:type",{"title":262,"path":263,"stem":264,"icon":265},"From a JSON file","\u002Fsigil\u002Fsources\u002Fjson","03.sigil\u002F03.sources\u002F04.json","i-lucide:braces",{"title":267,"path":268,"stem":269,"icon":166},"Your own source","\u002Fsigil\u002Fsources\u002Fcustom","03.sigil\u002F03.sources\u002F05.custom",{"title":271,"icon":272,"defaultOpen":25,"collapsible":273,"path":274,"stem":275,"children":276,"page":25},"Integrations","i-lucide:plug",true,"\u002Fsigil\u002Fintegrations","03.sigil\u002F04.integrations",[277,281,285],{"title":278,"path":279,"stem":280,"icon":60},"Vue","\u002Fsigil\u002Fintegrations\u002Fvue","03.sigil\u002F04.integrations\u002F01.vue",{"title":282,"path":283,"stem":284,"icon":119},"Other frameworks","\u002Fsigil\u002Fintegrations\u002Fother-frameworks","03.sigil\u002F04.integrations\u002F02.other-frameworks",{"title":286,"path":287,"stem":288,"icon":289},"Third-party scripts","\u002Fsigil\u002Fintegrations\u002Fthird-party-scripts","03.sigil\u002F04.integrations\u002F03.third-party-scripts","i-lucide:git-fork",{"title":77,"icon":78,"defaultOpen":25,"path":291,"stem":292,"children":293},"\u002Fsigil\u002Fapi","03.sigil\u002F05.api\u002Findex",[294,295,300,303,308],{"title":83,"path":291,"stem":292,"icon":84},{"title":296,"path":297,"stem":298,"icon":299},"Registry","\u002Fsigil\u002Fapi\u002Fregistry","03.sigil\u002F05.api\u002F01.registry","i-lucide:database",{"title":241,"path":301,"stem":302,"icon":242},"\u002Fsigil\u002Fapi\u002Fsources","03.sigil\u002F05.api\u002F02.sources",{"title":304,"path":305,"stem":306,"icon":307},"Renderers","\u002Fsigil\u002Fapi\u002Frenderers","03.sigil\u002F05.api\u002F03.renderers","i-lucide:monitor",{"title":309,"path":310,"stem":311,"icon":265},"Types","\u002Fsigil\u002Fapi\u002Ftypes","03.sigil\u002F05.api\u002F04.types",{"title":313,"path":314,"stem":315,"icon":316},"Contributors","\u002Fcontributors","04.contributors","i-lucide:users",{"title":318,"icon":319,"path":320,"stem":321,"children":322,"page":25},"Ship Kit","i-lucide:terminal","\u002Fshipkit","04.shipkit",[323,326,330],{"title":11,"path":324,"stem":325,"icon":101},"\u002Fshipkit\u002Fintroduction","04.shipkit\u002F01.introduction",{"title":327,"path":328,"stem":329,"icon":319},"CLI","\u002Fshipkit\u002Fcli","04.shipkit\u002F02.cli",{"title":331,"path":332,"stem":333,"icon":334},"Vite Configs","\u002Fshipkit\u002Fvite-configs","04.shipkit\u002F03.vite-configs","i-lucide:code",{"title":336,"icon":337,"path":338,"stem":339,"children":340,"page":25},"Splice","i-lucide:scissors","\u002Fsplice","05.splice",[341,352,389,406],{"title":5,"icon":6,"path":342,"stem":343,"children":344,"page":25},"\u002Fsplice\u002Fgetting-started","05.splice\u002F01.getting-started",[345,348],{"title":11,"path":346,"stem":347,"icon":39},"\u002Fsplice\u002Fgetting-started\u002Fintroduction","05.splice\u002F01.getting-started\u002F01.introduction",{"title":349,"path":350,"stem":351,"icon":44},"Getting started","\u002Fsplice\u002Fgetting-started\u002Finstallation","05.splice\u002F01.getting-started\u002F02.installation",{"title":353,"icon":354,"path":355,"stem":356,"children":357,"page":25},"Making clips","i-lucide:film","\u002Fsplice\u002Fmaking-clips","05.splice\u002F02.making-clips",[358,362,367,371,375,380,385],{"title":359,"path":360,"stem":361,"icon":337},"createSplice","\u002Fsplice\u002Fmaking-clips\u002Fcreate-splice","05.splice\u002F02.making-clips\u002F01.create-splice",{"title":363,"path":364,"stem":365,"icon":366},"Crop","\u002Fsplice\u002Fmaking-clips\u002Fcrop","05.splice\u002F02.making-clips\u002F02.crop","i-lucide:crop",{"title":139,"path":368,"stem":369,"icon":370},"\u002Fsplice\u002Fmaking-clips\u002Fcaptions","05.splice\u002F02.making-clips\u002F03.captions","i-lucide:captions",{"title":372,"path":373,"stem":374,"icon":185},"Origin and links","\u002Fsplice\u002Fmaking-clips\u002Forigin-and-links","05.splice\u002F02.making-clips\u002F04.origin-and-links",{"title":376,"path":377,"stem":378,"icon":379},"End card, stamp and watermark","\u002Fsplice\u002Fmaking-clips\u002Fend-card","05.splice\u002F02.making-clips\u002F05.end-card","i-lucide:badge-check",{"title":381,"path":382,"stem":383,"icon":384},"Thumbnails","\u002Fsplice\u002Fmaking-clips\u002Fthumbnails","05.splice\u002F02.making-clips\u002F06.thumbnails","i-lucide:gallery-horizontal",{"title":386,"path":387,"stem":388,"icon":166},"With another player","\u002Fsplice\u002Fmaking-clips\u002Fanother-player","05.splice\u002F02.making-clips\u002F07.another-player",{"title":390,"icon":391,"path":392,"stem":393,"children":394,"page":25},"The editor","i-lucide:mouse-pointer-click","\u002Fsplice\u002Feditor","05.splice\u002F03.editor",[395,398,402],{"title":390,"path":396,"stem":397,"icon":391},"\u002Fsplice\u002Feditor\u002Feditor","05.splice\u002F03.editor\u002F01.editor",{"title":399,"path":400,"stem":401,"icon":28},"Clip this in video-player","\u002Fsplice\u002Feditor\u002Fvideo-player","05.splice\u002F03.editor\u002F02.video-player",{"title":403,"path":404,"stem":405,"icon":60},"Web component","\u002Fsplice\u002Feditor\u002Fweb-component","05.splice\u002F03.editor\u002F03.web-component",{"title":407,"icon":78,"defaultOpen":25,"path":408,"stem":409,"children":410,"page":25},"Reference","\u002Fsplice\u002Freference","05.splice\u002F04.reference",[411,416],{"title":412,"path":413,"stem":414,"icon":415},"Browser support","\u002Fsplice\u002Freference\u002Fbrowser-support","05.splice\u002F04.reference\u002F01.browser-support","i-lucide:monitor-check",{"title":417,"path":418,"stem":419,"icon":334},"API","\u002Fsplice\u002Freference\u002Fapi","05.splice\u002F04.reference\u002F02.api",{"id":421,"title":253,"body":422,"description":1123,"extension":1124,"links":1125,"meta":1126,"navigation":1127,"path":254,"seo":1128,"stem":255,"__hash__":1129},"docs\u002F03.sigil\u002F03.sources\u002F02.svg.md",{"type":423,"value":424,"toc":1116},"minimark",[425,567,571,576,632,640,707,711,714,838,848,852,858,951,955,959,962,965,1086,1097,1101,1112],[426,427,432],"pre",{"className":428,"code":429,"language":430,"meta":431,"style":431},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","register('lucide', {\n  resolver: (name) => `https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Flucide-static\u002Ficons\u002F${name}.svg`,\n  mutator: (svg) => svg.setAttribute('stroke', 'currentColor'),\n})\n","ts","",[433,434,435,464,510,559],"code",{"__ignoreMap":431},[436,437,440,444,448,452,456,458,461],"span",{"class":438,"line":439},"line",1,[436,441,443],{"class":442},"s2Zo4","register",[436,445,447],{"class":446},"sTEyZ","(",[436,449,451],{"class":450},"sMK4o","'",[436,453,455],{"class":454},"sfazB","lucide",[436,457,451],{"class":450},[436,459,460],{"class":450},",",[436,462,463],{"class":450}," {\n",[436,465,467,470,473,476,480,483,487,490,493,496,498,501,504,507],{"class":438,"line":466},2,[436,468,469],{"class":442},"  resolver",[436,471,472],{"class":450},":",[436,474,475],{"class":450}," (",[436,477,479],{"class":478},"sHdIc","name",[436,481,482],{"class":450},")",[436,484,486],{"class":485},"spNyl"," =>",[436,488,489],{"class":450}," `",[436,491,492],{"class":454},"https:\u002F\u002Fcdn.jsdelivr.net\u002Fnpm\u002Flucide-static\u002Ficons\u002F",[436,494,495],{"class":450},"${",[436,497,479],{"class":446},[436,499,500],{"class":450},"}",[436,502,503],{"class":454},".svg",[436,505,506],{"class":450},"`",[436,508,509],{"class":450},",\n",[436,511,513,516,518,520,523,525,527,530,533,536,538,540,543,545,547,550,553,555,557],{"class":438,"line":512},3,[436,514,515],{"class":442},"  mutator",[436,517,472],{"class":450},[436,519,475],{"class":450},[436,521,522],{"class":478},"svg",[436,524,482],{"class":450},[436,526,486],{"class":485},[436,528,529],{"class":446}," svg",[436,531,532],{"class":450},".",[436,534,535],{"class":442},"setAttribute",[436,537,447],{"class":446},[436,539,451],{"class":450},[436,541,542],{"class":454},"stroke",[436,544,451],{"class":450},[436,546,460],{"class":450},[436,548,549],{"class":450}," '",[436,551,552],{"class":454},"currentColor",[436,554,451],{"class":450},[436,556,482],{"class":446},[436,558,509],{"class":450},[436,560,562,564],{"class":438,"line":561},4,[436,563,500],{"class":450},[436,565,566],{"class":446},")\n",[568,569],"icon-example",{"names":570,"library":455},"rocket,camera,bell,bike",[572,573,575],"h2",{"id":574},"the-resolver-may-return","The resolver may return",[577,578,579,592],"table",{},[580,581,582],"thead",{},[583,584,585,589],"tr",{},[586,587,588],"th",{},"Return",[586,590,591],{},"Effect",[593,594,595,604,622],"tbody",{},[583,596,597,601],{},[598,599,600],"td",{},"SVG markup",[598,602,603],{},"Used as is",[583,605,606,619],{},[598,607,608,609,612,613,612,616,482],{},"A URL (",[433,610,611],{},"https:\u002F\u002F",", ",[433,614,615],{},"\u002F",[433,617,618],{},".\u002F",[598,620,621],{},"Fetched",[583,623,624,629],{},[598,625,626],{},[433,627,628],{},"import('.\u002Fx.svg?raw')",[598,630,631],{},"Unwrapped - bundled icons, one chunk each",[633,634,635,636,639],"p",{},"Throw for a name you don't have. Every result is parsed and rejected if it isn't ",[433,637,638],{},"\u003Csvg>",", so an HTML error page never gets injected.",[426,641,643],{"className":428,"code":642,"language":430,"meta":431,"style":431},"register('bundled', {\n  resolver: (name) => import(`.\u002Ficons\u002F${name}.svg?raw`),\n})\n",[433,644,645,662,701],{"__ignoreMap":431},[436,646,647,649,651,653,656,658,660],{"class":438,"line":439},[436,648,443],{"class":442},[436,650,447],{"class":446},[436,652,451],{"class":450},[436,654,655],{"class":454},"bundled",[436,657,451],{"class":450},[436,659,460],{"class":450},[436,661,463],{"class":450},[436,663,664,666,668,670,672,674,676,679,681,683,686,688,690,692,695,697,699],{"class":438,"line":466},[436,665,469],{"class":442},[436,667,472],{"class":450},[436,669,475],{"class":450},[436,671,479],{"class":478},[436,673,482],{"class":450},[436,675,486],{"class":485},[436,677,678],{"class":450}," import",[436,680,447],{"class":446},[436,682,506],{"class":450},[436,684,685],{"class":454},".\u002Ficons\u002F",[436,687,495],{"class":450},[436,689,479],{"class":446},[436,691,500],{"class":450},[436,693,694],{"class":454},".svg?raw",[436,696,506],{"class":450},[436,698,482],{"class":446},[436,700,509],{"class":450},[436,702,703,705],{"class":438,"line":512},[436,704,500],{"class":450},[436,706,566],{"class":446},[572,708,710],{"id":709},"a-map-of-strings","A map of strings",[633,712,713],{},"Have the SVGs already? Skip the resolver:",[426,715,717],{"className":428,"code":716,"language":430,"meta":431,"style":431},"register('app', {\n  icons: {\n    heart: '\u003Csvg …>',\n    lock: '\u003Csvg …>',\n    bell: {\n      default: '\u003Csvg …>',\n      active: '\u003Csvg …>',\n    },\n  },\n})\n",[433,718,719,736,746,762,777,787,803,819,825,831],{"__ignoreMap":431},[436,720,721,723,725,727,730,732,734],{"class":438,"line":439},[436,722,443],{"class":442},[436,724,447],{"class":446},[436,726,451],{"class":450},[436,728,729],{"class":454},"app",[436,731,451],{"class":450},[436,733,460],{"class":450},[436,735,463],{"class":450},[436,737,738,742,744],{"class":438,"line":466},[436,739,741],{"class":740},"swJcz","  icons",[436,743,472],{"class":450},[436,745,463],{"class":450},[436,747,748,751,753,755,758,760],{"class":438,"line":512},[436,749,750],{"class":740},"    heart",[436,752,472],{"class":450},[436,754,549],{"class":450},[436,756,757],{"class":454},"\u003Csvg …>",[436,759,451],{"class":450},[436,761,509],{"class":450},[436,763,764,767,769,771,773,775],{"class":438,"line":561},[436,765,766],{"class":740},"    lock",[436,768,472],{"class":450},[436,770,549],{"class":450},[436,772,757],{"class":454},[436,774,451],{"class":450},[436,776,509],{"class":450},[436,778,780,783,785],{"class":438,"line":779},5,[436,781,782],{"class":740},"    bell",[436,784,472],{"class":450},[436,786,463],{"class":450},[436,788,790,793,795,797,799,801],{"class":438,"line":789},6,[436,791,792],{"class":740},"      default",[436,794,472],{"class":450},[436,796,549],{"class":450},[436,798,757],{"class":454},[436,800,451],{"class":450},[436,802,509],{"class":450},[436,804,806,809,811,813,815,817],{"class":438,"line":805},7,[436,807,808],{"class":740},"      active",[436,810,472],{"class":450},[436,812,549],{"class":450},[436,814,757],{"class":454},[436,816,451],{"class":450},[436,818,509],{"class":450},[436,820,822],{"class":438,"line":821},8,[436,823,824],{"class":450},"    },\n",[436,826,828],{"class":438,"line":827},9,[436,829,830],{"class":450},"  },\n",[436,832,834,836],{"class":438,"line":833},10,[436,835,500],{"class":450},[436,837,566],{"class":446},[633,839,840,841,844,845,532],{},"Values are markup or URLs; a nested object is a variant map with a ",[433,842,843],{},"default",". A promise of the map works too - see ",[846,847,262],"a",{"href":263},[572,849,851],{"id":850},"variants","Variants",[633,853,854,857],{},[433,855,856],{},"resolver(name, variant)"," - use it however your URL scheme likes:",[426,859,861],{"className":428,"code":860,"language":430,"meta":431,"style":431},"register('app', {\n  resolver: (name, variant) => `\u002Ficons\u002F${name}${variant === 'active' ? '-filled' : ''}.svg`,\n})\n",[433,862,863,879,945],{"__ignoreMap":431},[436,864,865,867,869,871,873,875,877],{"class":438,"line":439},[436,866,443],{"class":442},[436,868,447],{"class":446},[436,870,451],{"class":450},[436,872,729],{"class":454},[436,874,451],{"class":450},[436,876,460],{"class":450},[436,878,463],{"class":450},[436,880,881,883,885,887,889,891,894,896,898,900,903,905,907,910,913,916,918,921,923,926,928,931,933,936,939,941,943],{"class":438,"line":466},[436,882,469],{"class":442},[436,884,472],{"class":450},[436,886,475],{"class":450},[436,888,479],{"class":478},[436,890,460],{"class":450},[436,892,893],{"class":478}," variant",[436,895,482],{"class":450},[436,897,486],{"class":485},[436,899,489],{"class":450},[436,901,902],{"class":454},"\u002Ficons\u002F",[436,904,495],{"class":450},[436,906,479],{"class":446},[436,908,909],{"class":450},"}${",[436,911,912],{"class":446},"variant ",[436,914,915],{"class":450},"===",[436,917,549],{"class":450},[436,919,920],{"class":454},"active",[436,922,451],{"class":450},[436,924,925],{"class":450}," ?",[436,927,549],{"class":450},[436,929,930],{"class":454},"-filled",[436,932,451],{"class":450},[436,934,935],{"class":450}," :",[436,937,938],{"class":450}," ''}",[436,940,503],{"class":454},[436,942,506],{"class":450},[436,944,509],{"class":450},[436,946,947,949],{"class":438,"line":512},[436,948,500],{"class":450},[436,950,566],{"class":446},[568,952],{"names":953,":toggle":954},"bell@json,bookmark@json","true",[572,956,958],{"id":957},"caching","Caching",[633,960,961],{},"Per name and variant. Concurrent requests share one fetch. Failures aren't cached. Re-registering the name drops the cache.",[633,963,964],{},"Warm it by resolving the names you know a page needs:",[426,966,968],{"className":428,"code":967,"language":430,"meta":431,"style":431},"import { getIcon } from '@munsonlabs\u002Fsigil'\n\nawait Promise.all(['heart', 'lock', 'star'].map((name) => getIcon(name, { library: 'lucide' })))\n",[433,969,970,996,1001],{"__ignoreMap":431},[436,971,972,976,979,982,985,988,990,993],{"class":438,"line":439},[436,973,975],{"class":974},"s7zQu","import",[436,977,978],{"class":450}," {",[436,980,981],{"class":446}," getIcon",[436,983,984],{"class":450}," }",[436,986,987],{"class":974}," from",[436,989,549],{"class":450},[436,991,992],{"class":454},"@munsonlabs\u002Fsigil",[436,994,995],{"class":450},"'\n",[436,997,998],{"class":438,"line":466},[436,999,1000],{"emptyLinePlaceholder":273},"\n",[436,1002,1003,1006,1010,1012,1015,1018,1020,1023,1025,1027,1029,1032,1034,1036,1038,1041,1043,1046,1048,1051,1053,1055,1057,1059,1061,1063,1066,1068,1070,1073,1075,1077,1079,1081,1083],{"class":438,"line":512},[436,1004,1005],{"class":974},"await",[436,1007,1009],{"class":1008},"sBMFI"," Promise",[436,1011,532],{"class":450},[436,1013,1014],{"class":442},"all",[436,1016,1017],{"class":446},"([",[436,1019,451],{"class":450},[436,1021,1022],{"class":454},"heart",[436,1024,451],{"class":450},[436,1026,460],{"class":450},[436,1028,549],{"class":450},[436,1030,1031],{"class":454},"lock",[436,1033,451],{"class":450},[436,1035,460],{"class":450},[436,1037,549],{"class":450},[436,1039,1040],{"class":454},"star",[436,1042,451],{"class":450},[436,1044,1045],{"class":446},"]",[436,1047,532],{"class":450},[436,1049,1050],{"class":442},"map",[436,1052,447],{"class":446},[436,1054,447],{"class":450},[436,1056,479],{"class":478},[436,1058,482],{"class":450},[436,1060,486],{"class":485},[436,1062,981],{"class":442},[436,1064,1065],{"class":446},"(name",[436,1067,460],{"class":450},[436,1069,978],{"class":450},[436,1071,1072],{"class":740}," library",[436,1074,472],{"class":450},[436,1076,549],{"class":450},[436,1078,455],{"class":454},[436,1080,451],{"class":450},[436,1082,984],{"class":450},[436,1084,1085],{"class":446},")))\n",[633,1087,1088,1089,1092,1093,1096],{},"Output: ",[433,1090,1091],{},"\u003Cspan class=\"icon-svg\" aria-hidden=\"true\">…\u003C\u002Fspan>",". Markup goes in via ",[433,1094,1095],{},"innerHTML"," - trust your source.",[572,1098,1100],{"id":1099},"on-a-server","On a server",[633,1102,1103,1104,1107,1108,1111],{},"Without a ",[433,1105,1106],{},"DOMParser"," there is nothing to parse with, so markup is checked by its root tag only, ",[433,1109,1110],{},"mutator"," is skipped, and nothing is cached - the client does the real work once it hydrates. Nothing unvalidated ever sits in the process-wide registry.",[1113,1114,1115],"style",{},"html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}",{"title":431,"searchDepth":466,"depth":466,"links":1117},[1118,1119,1120,1121,1122],{"id":574,"depth":466,"text":575},{"id":709,"depth":466,"text":710},{"id":850,"depth":466,"text":851},{"id":957,"depth":466,"text":958},{"id":1099,"depth":466,"text":1100},"SVGs by name from a URL, a string or an import.","md",null,{},{"icon":175},{"title":253,"description":1123},"ql3CirOXIsG5gArfftLZ6Mzxy47lmmgoWNdKjbBXqL0",[1131,1133],{"title":248,"path":249,"stem":250,"description":1132,"icon":251,"children":-1},"Pin markup to a name.",{"title":257,"path":258,"stem":259,"description":1134,"icon":260,"children":-1},"CSS icon fonts by class or by glyph.",1794851087335]