<<if $face>><<else>><<set $face to "ordinary">><<endif>>\s \nThe dining hall is packed. Nobody is <<insertlink "sleeping in today.">> Well, no freshmen, anyhow.<<endinsertlink>>\n\nI <<cycle breakfast2>>wait in line<<set $diet="standard">><<becomes>>wait in line<<set $diet = "hearty">><<becomes>>skip the line<<set $diet = "light">><<endcycle>> to get some <<reviselink breakfast2 "cereal" "eggs, bacon and toast" "fruit">>. Then I squeeze in at the end of a long table and study my schedule for the week. \s\nI've signed up for <<reviselink schedule "all the hard classes" "an average workload" "the basics">>. When I exchanged emails with my freshman advisor, he <<cycle schedule>>was cautiously encouraging. I've done the work, I'm ready for this.<<set $schedule="challenging">><<becomes>>rubberstamped my choices without any feedback, just what I expected.<<set $schedule ="average">><<becomes>>had a few suggestions that I ignored. I'm not here for the academics.<<set $schedule="easy">><<endcycle>>\n\n"Hey, you didn't wake me up." Cassie interrupts my thoughts as she sits down across from me, a banana and a glass of orange juice on her tray. \n\nI say,"You were sleeping so peacefully." She sticks her tongue out at me, then starts chattering about the professors she's been assigned. It's hard to concentrate on what she's saying. [[I finish my breakfast and head to my first class.|FirstDay1]]\n
Well. This is it. My first morning in my <<insertlink "new home.">> Does college even count as home? I don't know.<<endinsertlink>> \n\nMy roommate, [[Cassie|Cassie1][$current_scene=passage()]], is still asleep, sprawled across her bed. <<insertlink "I don't wake her.">><<if $sky is "blue">> She looks so comfortable. Maybe she's having a nice dream.<<elseif $sky is "white">> I'd rather go to breakfast by myself.<<elseif $sky is "grey">> I don't like her very much. Besides, I know about randomly assigned college roommates: they lead to trouble.<<endif>><<endinsertlink>>\n\nInstead I face myself in the <<reviselink mirror "mirror">>. <<cycle mirror>> <<becomes>>I look as ordinary as I always do. No magic has occurred to make me into something other than an awkward eighteen year old. Boring hair, boring eyes. Good skin, though.<<set $face="ordinary">><<becomes>>I'm not supposed to admit it, but I look great, with huge eyes, an adorable nose and hair that tousles perfectly.<<set $face="stunning">><<becomes>>I've never been pretty, but sometimes people call me exotic, like I'm some kind of wild beast. Exotic seems risky on the first day of college, but what can I do?<<set $face="strange beauty">><<endcycle>>\n\nAfter a moment of study, I quickly dress and slip out before my roommate stirs. \s\n\n[[I go to breakfast|Start 3]]
/*! <<cyclinglink>> macro for SugarCube */\n(function(){var requiredSugarCubeBuild=2680;if(!version||!version.build||version.build<requiredSugarCubeBuild)throw new Error("<<cyclinglink>> macro requires SugarCube build "+requiredSugarCubeBuild+" or greater, aborting load");version.extensions["cyclinglinkMacro"]={major:3,minor:3,revision:2};macros["cyclinglink"]={handler:function(a,b,c){function toggleText(w){w.classList.remove("cyclingLinkInit");w.classList.toggle(rl+"Enabled");w.classList.toggle(rl+"Disabled");w.style.display=w.style.display===\n"none"?"inline":"none"}var rl="cyclingLink";switch(c[c.length-1]){case "end":var end=true;c.pop();break;case "out":var out=true;c.pop();break}var v="";if(c.length&&c[0][0]==="$"){v=c[0].slice(1);c.shift()}var h=state.active.variables;if(out&&h[v]==="")return;var l=insertElement(a,"a");l.className="link-internal cyclingLink";l.setAttribute("data-cycle",0);for(var i=0;i<c.length;i++){var on=i===Math.max(c.indexOf(h[v]),0);var d=insertElement(null,"span",null,"cyclingLinkInit cyclingLink"+(on?"En":"Dis")+\n"abled");if(on){h[v]=c[i];l.setAttribute("data-cycle",i)}else d.style.display="none";insertText(d,c[i]);if(on&&end&&i===c.length-1)l.parentNode.replaceChild(d,l);else l.appendChild(d)}l.onclick=function(){var t=this.childNodes;var u=this.getAttribute("data-cycle")-0;var m=t.length;toggleText(t[u]);u=u+1;if(!(out&&u===m)){u%=m;if(v)h[v]=c[u]}else h[v]="";if((end||out)&&u===m-(end?1:0)){if(end){var n=this.removeChild(t[u]);n.className=rl+"End";n.style.display="inline";this.parentNode.replaceChild(n,\nthis)}else{this.parentNode.removeChild(this);return}return}toggleText(t[u]);this.setAttribute("data-cycle",u)}}}})();\n
Lightning dances silently across the sky, far out over the lake, and I wait for thunder that never makes it through the thick walls of the old building. The trees of the probably-not-very-Wild cast odd shadows in the stormlight, though. They're interesting, just like the storm.\n\nSuddenly I want to smell crushed greenery mixing with the scent of burning ozone. It's going to pour any moment but as class ends I dash across the lawn, avoiding one of the lawnmower goats. I make it to the shelter of the trees as a massive crack of thunder roars from the sky. I laugh; I can't help myself.\n\nThe rain starts. It's gentle, though, and only a few drops make it through the canopy of the trees. The paths are nicely laid out-- it's definitely Not-Very-Wild-- but the air smells delicious. I am filled with an energy I rarely have on sunny days and it strikes me that this is an excellent omen for the coming term.\n\n
I can't stop looking out the window during class. The fog has lingered and I wonder if it's normal. The forest appears and disappears as the wind blows bits of the mist aside. It looks like a magical place, like it's not quite in the same world.\n\nI have to go see for myself. It's a silly whim, the sort of whim my mom teases me about, but here I am at college and I can do what I want. So I abandon my plans to find my way <<if $schedule is "challenging">>to my next class early<<elseif $schedule is "average">>to the campus coffee bar<<elseif $schedule is "easy">>straight back to my dorm<<endif>> and trek over to the treeline as soon as English class is over.\n\nThe trees are damp and disappointingly solid, but the mist entices me deeper into the forest. The paths are clearly marked, so there's no danger of getting lost, and the air smells thick and sweet with hidden flowers. Even if it's just an ordinary forest, it's a forest at my new college and that's exciting enough. For now.\n
sky: <<print $sky>>\nlooks: <<print $face>>\ndiet: <<print $diet>>\nschedule: <<print $schedule>>\nsoulmate: <<print $soulmate>>
In the unexpected quiet, I hear a chime followed by a distant, organic sounding thud. The thud comes again, and I turn onto a side path to follow the sound. The echo of the chime lingers in the air, drawn out impossibly long.\n\nThen I come to a clearing, where two boys are fighting. Fighting? Dancing? There's something formal about their movements, but the way the dark-haired boy's fist slams into the golden-haired boy's side doesn't seem like a game.\n\nNeither of them are wearing shirts, either.\s\n<<display FirstDay2a>>\s\n\nI shouldn't be here. I [[turn away|FirstDay3][$choice = 1]]. [[Or do I?|FirstDay3][$choice = 2]]
.revision-span-in { opacity: 0; }\n.revision-span:not(.revision-span-out) { transition: 0.4s; -webkit-transition: 0.4s; }\n.revision-span-out { position: absolute; opacity: 0; }
<<if $sky is "blue">>They move through dappled sunlight, back and forth.\s\n<<elseif $sky is "white">>The fog obscures the ground and fades both the combatants out, as if I've stumbled into a dream.\s\n<<elseif $sky is "grey">>Lightning crackles directly overhead, tracing the planes of their chests and arms. They don't seem to notice the falling rain.\s\n<<endif>>\s\n\nThe dark-haired boy is a little smaller than the golden-haired one, a little leaner and a little wilder. His teeth are bared as he lunges toward his opponent. The taller boy has broader shoulders and a look of serene concentration as he blocks and counterstrikes. This is no brawl but instead two well-trained warriors sparring.
The alarm goes off and I wake up. \n\nMy curtains are open. Was I looking at the stars the night before? I can't remember. In any case, <<cycle day>>it's a beautiful day.<<set $sky="blue">><<becomes>>the new day is hazy.<<set $sky="white">><<becomes>>gloom now presses against the windows.<<set $sky="grey">><<endcycle>> The <<reviselink day "sparkling blue" "foggy" "dark grey">> sky <<cycle day>>promises a perfect afternoon.<<becomes>>is as ambivalent as I feel.<<becomes>>seems like a guarantee of thunder later.<<endcycle>>\n\n\n[[I get out of bed.|Start 2]]\n
I have a great view from the second floor and I enjoy looking at the greenery. That's another thing the Lakeheart website bragged about: the scenery, and I can see why. The forest looks wonderfully inviting. I can even see what looks like wild rosebushes blooming along one of the paths into the Wild. \n\nThe call of the blue sky and the morning sun is too much to resist. I abandon my plans to find my way <<if $schedule is "challenging">>to my next class early<<elseif $schedule is "average">>to the campus coffee bar<<elseif $schedule is "easy">>straight back to my dorm<<endif>> and decide to go for a walk.\n\nThe forest isn't quite as wild as the university likes to claim. The paths are well maintained and there's an astonishing variety of late summer flowers blooming, including, yes, roses. I miss my mom and my sisters, but suddenly I think that being here might be all right. Maybe I can even make some friends.\n
<<if $schedule is "challenging">><<set $soulmate to "Jesse">>\s\n<<elseif $schedule is "easy">><<set $soulmate to "Chase">>\s\n<<elseif $sky is "blue">><<set $soulmate to "Jesse">>\s\n<<elseif $sky is "grey">><<set $soulmate to "Chase">>\s\n<<else>><<set $soulmate to "Jesse">>\s\n<<endif>>\s\nLakeheart College is a large self-contained campus on an island in the middle of a lake in the state of Washington. There's a small town nearby, but not a lot of other distractions available unless you take the bridge to Seattle. It's supposed to contribute to an academic environment, but these days Lakeheart has quite the reputation for being... [[quirky|LakeheartQuirks][$current_scene=passage()]]. \n\nMy first class is English Lit and it's in an ivy-covered brick building on the edge of a forest. I stare out the window at the trees as the professor painstakingly goes over the syllabus. The university officially calls the forest the Willowoak Preserve and Wilderness. Unofficially, it's The Wild.\n\n<<if $sky is "blue">><<display blueskyforest1>>\s\n<<elseif $sky is "white">><<display whiteskyforest1>>\s\n<<elseif $sky is "grey">><<display greyskyforest1>>\s\n<<endif>>\s\nI walk along, enjoying the moment.\n\n[[The gentle sounds of the forest vanish all at once.|FirstDay2]]\n\n
There's an active pagan community that the university literature brags about. No student is allowed to have a car on the island. They kick off the winter trimester with a dive into the lake. The lawns are kept trimmed by aggressive goats. There are not fraternities allowed. They invented a local sport called squirrelball. Stray dogs and cats are protected on campus. Quirky.\n\n\n[[Back|$current_scene]]
Bad Boy Romance
Chrysoula Tzavelas
/*************************************************************\n\n* BLEACHED - A primarily white style for SugarCube (v1.0.2) *\n\n*************************************************************/\n\nbody {\n\n\tcolor: #000;\n\n\tbackground-color: #fff;\n\n}\n\na {\n\n\tcolor: #24f;\n\n}\n\na:hover {\n\n\tcolor: #68f;\n\n}\n\na:active {\n\n\tcolor: #f70;\n\n}\n\nhr {\n\n\theight: 1px;\n\n\tborder: none;\n\n\tbackground-color: #000;\n\n}\n\ninput, textarea {\n\n\tcolor: #000;\n\n\tbackground-color: #ddd;\n\n\tborder-color: #000;\n\n}\n\n#ui-bar, #ui-body {\n\n\tbackground-color: #eee;\n\n\tborder-color: #000;\n\n}\n\n#credits, #version {\n\n\tcolor: #6f6f6f;\n\n}\n\nbutton, #ui-body-close,\n\n#ui-body.options a[id|="option-input"],\n\n#ui-body.options select[id|="option-input"] {\n\n\tborder-color: #36c;\n\n}\n\nbutton:hover, #ui-body-close:hover,\n\n#ui-body.options a[id|="option-input"]:hover {\n\n\tborder-color: #58e;\n\n}\n\nbutton:active, #ui-body-close:active {\n\n\tborder-color: #f70;\n\n}\n\n#ui-body.options a[id|="option-input"].enabled {\n\n\tborder-color: #292;\n\n}\n\n#ui-body.options a[id|="option-input"].enabled:hover {\n\n\tborder-color: #4b4;\n\n}\n\n#ui-body.saves table {\n\n\tborder-color: #000;\n\n}\n\n#ui-body.saves tr:nth-child(even) {\n\n\tbackground-color: #ddd;\n\n}\n\n#ui-body.saves .empty {\n\n\tcolor: #444;\n\n}\n\n#ui-body.saves > div {\n\n\tborder-top: 1px solid #000;\n\n}\n\n#ui-body.dialog-list li:nth-child(even) {\n\n\tbackground-color: #ddd;\n\n}\n\n#ui-body.dialog-list li a {\n\n\tcolor: #222;\n\n}\n\n#ui-body.dialog-list li a:hover {\n\n\tcolor: #fff; background-color: #47b;\n\n}\n\n#ui-body.dialog-list li a:active {\n\n\tcolor: #fff; background-color: #f70;\n\n}\n\n\n\n
She'd already completely moved in when I arrived at Lakeheart University yesterday afternoon. She's already got a handful of friends from the same high school, both freshmen and sophomores. She was friendly enough, but too busy swapping gossip with some other girls to really do more than have one conversation with me as I unpacked.\n\n[[Back|$current_scene]]
/*! <<replacelink>> macro set for SugarCube */\n(function(){var requiredSugarCubeBuild=2680;if(!version||!version.build||version.build<requiredSugarCubeBuild)throw new Error("<<replacelink>> macro set requires SugarCube build "+requiredSugarCubeBuild+" or greater, aborting load");version.extensions["replacelinkMacroSet"]={major:1,minor:1,revision:3};function showVer(n,notrans){n.innerHTML="";new Wikifier(n,n.tweecode);n.setAttribute("data-enabled","true");n.style.display="inline";n.classList.remove("revision-span-out");if(!notrans){n.classList.add("revision-span-in");\nif(n.timeout)clearTimeout(n.timeout);n.timeout=setTimeout(function(){n.classList.remove("revision-span-in");n=null},1)}}function hideVer(n,notrans){n.setAttribute("data-enabled","false");n.classList.remove("revision-span-in");if(n.timeout)clearTimeout(n.timeout);if(!notrans){n.classList.add("revision-span-out");n.timeout=setTimeout(function(){if(n.getAttribute("data-enabled")==="false"){n.classList.remove("revision-span-out");n.style.display="none";n.innerHTML=""}n=null},1E3)}else{n.style.display=\n"none";n.innerHTML="";n=null}}function tagcontents(b,starttags,desttags,endtags,k){function tagfound(i,e){for(var j=0;j<e.length;j++)if(a.indexOf("<<"+e[j],i)===i)return e[j]}var l=0,c="",tg,a=b.source.slice(k);for(var i=0;i<a.length;i++){if(tg=tagfound(i,starttags))l++;else if((tg=tagfound(i,desttags))&&l===0){b.nextMatch=k+i+tg.length+4;return[c,tg]}else if(tg=tagfound(i,endtags)){l--;if(l<0)return null}c+=a.charAt(i)}return null}function revisionSpanHandler(g,e,f,b){function mkspan(vtype){h=insertElement(m,\n"span",null,"revision-span "+vtype);h.setAttribute("data-enabled",false);h.style.display="none";h.tweecode="";return h}var k=b.source.indexOf(">>",b.matchStart)+2,vsns=[],vtype=e,flen=f.length,becomes,c,cn,m,h,vsn;if(this.shorthand&&flen)while(f.length>0)vsns.push([f.shift(),this.flavour==="insert"?"gains":"becomes"]);else if(this.flavour==="insert"||this.flavour==="continue"&&this.trigger==="time")vsns.push(["","becomes"]);if(this.flavour==="continue"&&flen){b.nextMatch=k+b.source.slice(k).length;\nvsns.push([b.source.slice(k),vtype])}else{becomes=["becomes","gains"];c=tagcontents(b,begintags,becomes.concat(endtags),endtags,k);if(c&&endtags.indexOf(c[1])===-1){while(c){vsns.push(c);c=tagcontents(b,begintags,becomes,endtags,b.nextMatch)}c=tagcontents(b,begintags,["/"+e,"end"+e],endtags,b.nextMatch)}if(!c){throwError(g,"<<"+e+">>: cannot find a matching close tag");return}vsns.push(c);if(this.flavour==="continue"){k=b.nextMatch;b.nextMatch=k+b.source.slice(k).length;vsns.push([b.source.slice(k),\n""])}}if(this.flavour==="remove")vsns.push(["","becomes"]);cn=0;m=insertElement(g,"span",null,e);m.setAttribute("data-flavour",this.flavour);h=mkspan("initial");vsn=vsns.shift();h.tweecode=vsn[0];showVer(h,true);while(vsns.length>0){if(vsn)vtype=vsn[1];vsn=vsns.shift();h=mkspan(vtype);h.tweecode=vsn[0]}if(typeof this.setup==="function")this.setup(m,g,e,f)}function quantity(m){return m.children.length-1+(m.getAttribute("data-flavour")==="remove"?1:0)}function revisionSetup(m,g,e,f){m.className+=" "+\nf[0].replace(" ","_")}function keySetup(m,g,e,f){var fl=this.flavour,key=f[0];m.setEventListener("keydown",function l(e){var done=!revise("revise",m);if(done)m.removeEventListener("keydown",l)})}function timeSetup(m,g,e,f){function cssTimeUnit(s){if(typeof s==="string")if(s.slice(-2).toLowerCase()==="ms")return Number(s.slice(0,-2))||0;else if(s.slice(-1).toLowerCase()==="s")return Number(s.slice(0,-1))*1E3||0;throwError(g,"<<"+e+'>>: "'+s+'" is not a valid CSS time unit');return 0}var fl=this.flavour;\nvar tm=cssTimeUnit(f[0]);setTimeout(function timefn(){var done=!revise("revise",m);if(!done)setTimeout(timefn,tm)},tm)}function hoverSetup(m){m.onmouseover=function(){revise("revise",this)};m.onmouseout=function(){revise("revert",this)};m=null}function mouseSetup(m){var fl=this.flavour,evt=window.onmouseenter===null?"onmouseenter":"onmouseover";m[evt]=function(){var done=!revise("revise",this);if(done)this[evt]=null};m=null}function linkSetup(m,g,e,f){var fl=this.flavour,l=document.createElement("a"),\np=m.parentNode;l.className="link-internal replaceLink";p.insertBefore(l,m);l.insertBefore(m,null);l.onclick=function(){var p,done=false;if(m&&m.parentNode==this){done=!revise("revise",m);scrollWindowTo(m)}if(done){this.parentNode.insertBefore(m,this);this.parentNode.removeChild(this)}};l=null}function visitedSetup(m,g,e,f){var done,sav=state.active.variables,os="once seen",d=m.firstChild&&(this.flavour==="insert"?m.firstChild.nextSibling:m.firstChild).tweecode;sav[os]=sav[os]||{};if(d&&!sav[os].hasOwnProperty(d))sav[os][d]=\n1;else{for(var i=sav[os][d];i>0&&!done;i--)done=!revise("revise",m,true);if(sav[os].hasOwnProperty(d))sav[os][d]+=1}}function insideDepartingSpan(elem){var r=elem.parentNode;while(!r.classList.contains("passage")){if(r.classList.contains("revision-span-out"))return true;r=r.parentNode}}function reviseAll(rt,rname){var rall=document.querySelectorAll(".passage ."+rname),ret=false;for(var i=0;i<rall.length;i++)if(!insideDepartingSpan(rall[i]))ret=revise(rt,rall[i])||ret;return ret}function revise(rt,\nr,notrans){function doToGainerSpans(n,fn){for(var k=n-1;k>=0;k--)if(rc[k+1].classList.contains("gains"))fn(rc[k],notrans);else break}var ind2,curr,next,ind=-1,rev=rt==="revert",rnd=rt.indexOf("random")>-1,fl=r.getAttribute("data-flavour"),rc=r.childNodes,cyc=fl==="cycle",rcl=rc.length-1;for(var k=0;k<=rcl;k++)if(rc[k].getAttribute("data-enabled")==="true")ind=k;if(rev)ind-=1;curr=ind>=0?rc[ind]:cyc?rc[rcl]:null;ind2=ind;if(rnd)ind2=(ind+Math.floor(Math.random()*rcl))%rcl;next=ind2<rcl?rc[ind2+1]:\ncyc?rc[0]:null;var docurr=rev?showVer:hideVer;var donext=rev?hideVer:showVer;var currfn=function(){if(!(next&&next.classList.contains("gains"))||rnd){docurr(curr,notrans);doToGainerSpans(ind,docurr,notrans)}};var nextfn=function(){donext(next,notrans);if(rnd)doToGainerSpans(ind2+1,donext,notrans)};if(!rev){currfn();nextfn()}else{nextfn();currfn()}return cyc?true:rev?ind>0:ind2<rcl-1}var begintags=[],endtags=[];[{name:"insertlink",flavour:"insert",trigger:"link",setup:linkSetup},{name:"timedinsert",\nflavour:"insert",trigger:"time",setup:timeSetup},{name:"insertion",flavour:"insert",trigger:"revisemacro",setup:revisionSetup},{name:"later",flavour:"insert",trigger:"visited",setup:visitedSetup},{name:"keyinsert",flavour:"insert",trigger:"key",setup:keySetup},{name:"replacelink",flavour:"replace",trigger:"link",setup:linkSetup},{name:"timedreplace",flavour:"replace",trigger:"time",setup:timeSetup},{name:"mousereplace",flavour:"replace",trigger:"mouse",setup:mouseSetup},{name:"hoverreplace",flavour:"replace",\ntrigger:"hover",setup:hoverSetup},{name:"revision",flavour:"replace",trigger:"revisemacro",setup:revisionSetup},{name:"keyreplace",flavour:"replace",trigger:"key",setup:keySetup},{name:"timedremove",flavour:"remove",trigger:"time",setup:timeSetup},{name:"mouseremove",flavour:"remove",trigger:"mouse",setup:mouseSetup},{name:"hoverremove",flavour:"remove",trigger:"hover",setup:hoverSetup},{name:"removal",flavour:"remove",trigger:"revisemacro",setup:revisionSetup},{name:"once",flavour:"remove",trigger:"visited",\nsetup:visitedSetup},{name:"keyremove",flavour:"remove",trigger:"key",setup:keySetup},{name:"continuelink",flavour:"continue",trigger:"link",setup:linkSetup},{name:"timedcontinue",flavour:"continue",trigger:"time",setup:timeSetup},{name:"mousecontinue",flavour:"continue",trigger:"mouse",setup:mouseSetup},{name:"keycontinue",flavour:"continue",trigger:"key",setup:keySetup},{name:"cycle",flavour:"cycle",trigger:"revisemacro",setup:revisionSetup},{name:"mousecycle",flavour:"cycle",trigger:"mouse",setup:mouseSetup},\n{name:"timedcycle",flavour:"cycle",trigger:"time",setup:timeSetup},{name:"keycycle",flavour:"replace",trigger:"key",setup:keySetup}].forEach(function(e){e.handler=revisionSpanHandler;e.shorthand=["link","mouse","hover"].indexOf(e.trigger)>-1;macros[e.name]=e;macros.registerTags(e.name);begintags.push(e.name);endtags.push("/"+e.name,"end"+e.name)});macros["revertlink"]=macros["reviselink"]=macros["randomiselink"]=macros["randomizelink"]={handler:function(a,b,c){function disableLink(l){l.style.display=\n"none"}function enableLink(l){l.style.display="inline"}function updateLink(l){if(l.className.indexOf("random")>-1){enableLink(l);return}var rall=document.querySelectorAll(".passage ."+rname),cannext,canprev,ind,r,fl;for(var i=0;i<rall.length;i++){r=rall[i],fl=r.getAttribute("data-flavour");if(insideDepartingSpan(r))continue;if(fl==="cycle")cannext=canprev=true;else{if(r.firstChild.getAttribute("data-enabled")==="false")canprev=true;if(r.lastChild.getAttribute("data-enabled")==="false")cannext=true}}var can=\nl.classList.contains("revert")?canprev:cannext;(can?enableLink:disableLink)(l)}function toggleText(w){w.classList.toggle(rl+"Enabled");w.classList.toggle(rl+"Disabled");w.style.display=w.style.display==="none"?"inline":"none"}if(c.length<2){throwError(a,"<<"+b+">>: insufficient arguments (requires at least 2)");return}var l,rev,rname,rl="reviseLink",v="",end=false,out=false;rname=c.shift().replace(" ","_");l=insertElement(a,"a");l.className="link-internal "+rl+" "+rl+"_"+rname+" "+b;if(c.length>1&&\nc[0][0]==="$"){v=c[0].slice(1);c.shift()}switch(c[c.length-1]){case "end":end=true;c.pop();break;case "out":out=true;c.pop();break}var h=state.active.variables;for(var i=0;i<c.length;i++){var on=i===Math.max(c.indexOf(h[v]),0),d=insertElement(null,"span",null,rl+(on?"En":"Dis")+"abled");if(on){h[v]=c[i];l.setAttribute("data-cycle",i)}else d.style.display="none";insertText(d,c[i]);l.appendChild(d)}l.onclick=function(){reviseAll(b,rname);var t=this.childNodes,u=this.getAttribute("data-cycle")-0,m=t.length,\nlall;if((end||out)&&u===m-(end?2:1))if(end){var n=this.removeChild(t[u+1]);n.className=rl+"End";n.style.display="inline";this.parentNode.replaceChild(n,this)}else{this.parentNode.removeChild(this);return}else{toggleText(t[u]);u=(u+1)%m;if(v)h[v]=c[u];toggleText(t[u]);this.setAttribute("data-cycle",u)}lall=document.getElementsByClassName(rl+"_"+rname);for(var i=0;i<lall.length;i++)updateLink(lall[i])};l=null}};macros["mouserevise"]=macros["hoverrevise"]={handler:function(a,b,c,d){var endtags=["/"+\nb,"end"+b],evt=window.onmouseenter===null?"onmouseenter":"onmouseover",t=tagcontents(d,[b],endtags,endtags,d.source.indexOf(">>",d.matchStart)+2);if(t){var rname=c[0].replace(" ","_"),h=insertElement(a,"span",null,"hoverrevise hoverrevise_"+rname),f=function(){var done=!reviseAll("revise",rname);if(b!="hoverrevise"&&done)this[evt]=null};new Wikifier(h,t[0]);if(b==="hoverrevise"){h.onmouseover=f;h.onmouseout=function(){reviseAll("revert",rname)}}else h[evt]=f;h=null}}};macros.registerTags("mouserevise");\nmacros.registerTags("hoverrevise");macros["instantrevise"]={handler:function(a,b,c,d){reviseAll("revise",c[0].replace(" ","_"))}}})();\n