From 809302fedd64db83dd17d35908784868c5ad616e Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 6 Dec 2019 16:31:06 +0100 Subject: [PATCH] do stuff --- build/assets/icon.png | Bin 0 -> 51484 bytes build/bundle.80c34.js | 2 + build/bundle.80c34.js.map | 1 + build/favicon.ico | Bin 0 -> 15086 bytes build/index.html | 1 + build/manifest.json | 12 + build/polyfills.7ee73.js | 2 + build/polyfills.7ee73.js.map | 1 + build/push-manifest.json | 1 + build/ssr-build/ssr-bundle.js | 9266 +++++++++++++++++++++++++++ build/ssr-build/ssr-bundle.js.map | 1 + build/ssr-build/style.2e25c.css | 2 + build/ssr-build/style.2e25c.css.map | 1 + build/style.2e25c.css | 2 + build/style.2e25c.css.map | 1 + build/sw.js | 1 + src/pages/fisica.js | 127 +- 17 files changed, 9416 insertions(+), 5 deletions(-) create mode 100644 build/assets/icon.png create mode 100644 build/bundle.80c34.js create mode 100644 build/bundle.80c34.js.map create mode 100644 build/favicon.ico create mode 100644 build/index.html create mode 100644 build/manifest.json create mode 100644 build/polyfills.7ee73.js create mode 100644 build/polyfills.7ee73.js.map create mode 100644 build/push-manifest.json create mode 100644 build/ssr-build/ssr-bundle.js create mode 100644 build/ssr-build/ssr-bundle.js.map create mode 100644 build/ssr-build/style.2e25c.css create mode 100644 build/ssr-build/style.2e25c.css.map create mode 100644 build/style.2e25c.css create mode 100644 build/style.2e25c.css.map create mode 100644 build/sw.js diff --git a/build/assets/icon.png b/build/assets/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..52d1623ea1055fc5a445f52e092a137eac991752 GIT binary patch literal 51484 zcma%i_g53$_w^*9ccg;|k4o>olK_Gg>Am+3f&$V>009LN6qODEr1#zlh!mw4=~d~y z_at9FYrTKKn_p(u+?ktm_c^oAKIbOyb+n$75-}1106?my`b-Z1!1t$MfB^6Qa27Cm z0|5R1)Sf9A1c3Is!tbvE2qe0guK0g<{r`Lrv#t1?vzfdf|C!D=cxt~qZxeB!pL$U; z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mode 100644 index 0000000..eab8448 --- /dev/null +++ b/build/bundle.80c34.js @@ -0,0 +1,2 @@ +!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="YK4a")}({"+uq9":function(e){e.exports={latex:"latex__3Esv7"}},"0lnO":function(){},"1EpE":function(e){e.exports={split:"split__3qCWp",splitchild:"splitchild__3cEoc"}},"6adR":function(e,t,r){var n;(function(){function a(e){"use strict";var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}function o(e,t){"use strict";var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};i.helper.isArray(e)||(e=[e]);for(var a=0;a").replace(/&/g,"&")};var d=function(e,t,r,n){"use strict";var a,o,l,i,c,s=n||"",u=s.indexOf("g")>-1,h=new RegExp(t+"|"+r,"g"+s.replace(/g/g,"")),p=new RegExp(t,s.replace(/g/g,"")),d=[];do{for(a=0;l=h.exec(e);)if(p.test(l[0]))a++||(o=h.lastIndex,i=o-l[0].length);else if(a&&!--a){c=l.index+l[0].length;var b={left:{start:i,end:o},match:{start:o,end:l.index},right:{start:l.index,end:c},wholeMatch:{start:i,end:c}};if(d.push(b),!u)return d}}while(a&&(h.lastIndex=o));return d};i.helper.matchRecursiveRegExp=function(e,t,r,n){"use strict";for(var a=d(e,t,r,n),o=[],l=0;l0){var u=[];0!==l[0].wholeMatch.start&&u.push(e.slice(0,l[0].wholeMatch.start));for(var h=0;h=0?n+(r||0):n},i.helper.splitAtIndex=function(e,t){"use strict";if(!i.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},i.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var r=Math.random();e=r>.9?t[2](e):r>.45?t[1](e):t[0](e)}return e})},i.helper.padEnd=function(e,t,r){"use strict";return t>>=0,r=String(r||" "),e.length>t?String(e):(t-=e.length,t>r.length&&(r+=r.repeat(t/r.length)),String(e)+r.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),i.helper.regexes={asteriskDashAndColon:/([*_:~])/g},i.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴‍♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱‍♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨‍🎨",man_astronaut:"👨‍🚀",man_cartwheeling:"🤸‍♂️",man_cook:"👨‍🍳",man_dancing:"🕺",man_facepalming:"🤦‍♂️",man_factory_worker:"👨‍🏭",man_farmer:"👨‍🌾",man_firefighter:"👨‍🚒",man_health_worker:"👨‍⚕️",man_in_tuxedo:"🤵",man_judge:"👨‍⚖️",man_juggling:"🤹‍♂️",man_mechanic:"👨‍🔧",man_office_worker:"👨‍💼",man_pilot:"👨‍✈️",man_playing_handball:"🤾‍♂️",man_playing_water_polo:"🤽‍♂️",man_scientist:"👨‍🔬",man_shrugging:"🤷‍♂️",man_singer:"👨‍🎤",man_student:"👨‍🎓",man_teacher:"👨‍🏫",man_technologist:"👨‍💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩‍🎨",woman_astronaut:"👩‍🚀",woman_cartwheeling:"🤸‍♀️",woman_cook:"👩‍🍳",woman_facepalming:"🤦‍♀️",woman_factory_worker:"👩‍🏭",woman_farmer:"👩‍🌾",woman_firefighter:"👩‍🚒",woman_health_worker:"👩‍⚕️",woman_judge:"👩‍⚖️",woman_juggling:"🤹‍♀️",woman_mechanic:"👩‍🔧",woman_office_worker:"👩‍💼",woman_pilot:"👩‍✈️",woman_playing_handball:"🤾‍♀️",woman_playing_water_polo:"🤽‍♀️",woman_scientist:"👩‍🔬",woman_shrugging:"🤷‍♀️",woman_singer:"👩‍🎤",woman_student:"👩‍🎓",woman_teacher:"👩‍🏫",woman_technologist:"👩‍💻",woman_with_turban:"👳‍♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼‍♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:"S"},i.Converter=function(e){"use strict";function t(e,t){if(t=t||null,i.helper.isString(e)){if(e=i.helper.stdExtName(e),t=e,i.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void r(i.extensions[e],e);if(i.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),i.helper.isArray(e)||(e=[e]);var a=o(e,t);if(!a.valid)throw Error(a.error);for(var l=0;l[ \t]+¨NBSP;<"),!t){if(!window||!window.document)throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var n=t.createElement("div");n.innerHTML=e;var a={preList:function(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}(n)};r(n);for(var o=n.childNodes,l="",c=0;c? ?(['"].*['"])?\)$/m)>-1)o="";else if(!o){if(a||(a=n.toLowerCase().replace(/ ?\n/g," ")),o="#"+a,i.helper.isUndefined(r.gUrls[a]))return e;o=r.gUrls[a],i.helper.isUndefined(r.gTitles[a])||(s=r.gTitles[a])}o=o.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var u='"};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,n),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,n),e=e.replace(/\[([^\[\]]+)]()()()()()/g,n),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,r,n,a,o){if("\\"===n)return r+a;if(!i.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var l=t.ghMentionsLink.replace(/\{u}/g,o),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),r+'"+a+""})),e=r.converter._dispatch("anchors.after",e,t,r)});var b=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,f=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,_=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,m=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-\/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,g=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,v=function(e){"use strict";return function(t,r,n,a,o,l,c){n=n.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var s=n,u="",h="",p=r||"",d=c||"";return/^www\./i.test(n)&&(n=n.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&l&&(u=l),e.openLinksInNewWindow&&(h=' rel="noopener noreferrer" target="¨E95Eblank"'),p+'"+s+""+u+d}},j=function(e,t){"use strict";return function(r,n,a){var o="mailto:";return n=n||"",a=i.subParser("unescapeSpecialChars")(a,e,t),e.encodeEmails?(o=i.helper.encodeEmailAddress(o+a),a=i.helper.encodeEmailAddress(a)):o+=a,n+''+a+""}};i.subParser("autoLinks",function(e,t,r){"use strict";return e=r.converter._dispatch("autoLinks.before",e,t,r),e=e.replace(_,v(t)),e=e.replace(g,j(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),i.subParser("simplifiedAutoLinks",function(e,t,r){"use strict";return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=t.excludeTrailingPunctuationFromURLs?e.replace(f,v(t)):e.replace(b,v(t)),e=e.replace(m,j(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),i.subParser("blockGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("blockGamut.before",e,t,r),e=i.subParser("blockQuotes")(e,t,r),e=i.subParser("headers")(e,t,r),e=i.subParser("horizontalRule")(e,t,r),e=i.subParser("lists")(e,t,r),e=i.subParser("codeBlocks")(e,t,r),e=i.subParser("tables")(e,t,r),e=i.subParser("hashHTMLBlocks")(e,t,r),e=i.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),i.subParser("blockQuotes",function(e,t,r){"use strict";e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=e.replace(/^[ \t]*>[ \t]?/gm,""),e=e.replace(/¨0/g,""),e=e.replace(/^[ \t]+$/gm,""),e=i.subParser("githubCodeBlocks")(e,t,r),e=i.subParser("blockGamut")(e,t,r),e=e.replace(/(^|\n)/g,"$1 "),e=e.replace(/(\s*
[^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=r.replace(/^  /gm,"¨0"),r=r.replace(/¨0/g,"")}),i.subParser("hashBlock")("
\n"+e+"\n
",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),i.subParser("codeBlocks",function(e,t,r){"use strict";return e=r.converter._dispatch("codeBlocks.before",e,t,r),e+="¨0",e=e.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,n,a){var o=n,l=a,c="\n";return o=i.subParser("outdent")(o,t,r),o=i.subParser("encodeCode")(o,t,r),o=i.subParser("detab")(o,t,r),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),o="
"+o+c+"
",i.subParser("hashBlock")(o,t,r)+l}),e=e.replace(/¨0/,""),e=r.converter._dispatch("codeBlocks.after",e,t,r)}),i.subParser("codeSpans",function(e,t,r){"use strict";return e=r.converter._dispatch("codeSpans.before",e,t,r),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,n,a,o){var l=o;return l=l.replace(/^([ \t]*)/g,""),l=l.replace(/[ \t]*$/g,""),l=i.subParser("encodeCode")(l,t,r),l=n+""+l+"",l=i.subParser("hashHTMLSpans")(l,t,r)}),e=r.converter._dispatch("codeSpans.after",e,t,r)}),i.subParser("completeHTMLDocument",function(e,t,r){"use strict";if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="\n",o="",l='\n',i="",c="";void 0!==r.metadata.parsed.doctype&&(a="\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(l=''));for(var s in r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":o=""+r.metadata.parsed.title+"\n";break;case"charset":l="html"===n||"html5"===n?'\n':'\n';break;case"language":case"lang":i=' lang="'+r.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=a+"\n\n"+o+l+c+"\n\n"+e.trim()+"\n\n",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),i.subParser("detab",function(e,t,r){"use strict";return e=r.converter._dispatch("detab.before",e,t,r),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var r=t,n=4-r.length%4,a=0;a/g,">"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),i.subParser("encodeBackslashEscapes",function(e,t,r){"use strict";return e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r),e=e.replace(/\\(\\)/g,i.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),i.subParser("encodeCode",function(e,t,r){"use strict";return e=r.converter._dispatch("encodeCode.before",e,t,r),e=e.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),i.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){"use strict";e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r);var n=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,a=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=e.replace(n,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=e.replace(a,function(e){return e.replace(/([\\`*_~=|])/g,i.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),i.subParser("githubCodeBlocks",function(e,t,r){"use strict";return t.ghCodeBlocks?(e=r.converter._dispatch("githubCodeBlocks.before",e,t,r),e+="¨0",e=e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,n,a,o){var l=t.omitExtraWLInCodeBlocks?"":"\n";return o=i.subParser("encodeCode")(o,t,r),o=i.subParser("detab")(o,t,r),o=o.replace(/^\n+/g,""),o=o.replace(/\n+$/g,""),o="
"+o+l+"
",o=i.subParser("hashBlock")(o,t,r),"\n\n¨G"+(r.ghCodeBlocks.push({text:e,codeblock:o})-1)+"G\n\n"}),e=e.replace(/¨0/,""),r.converter._dispatch("githubCodeBlocks.after",e,t,r)):e}),i.subParser("hashBlock",function(e,t,r){"use strict";return e=r.converter._dispatch("hashBlock.before",e,t,r),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)}),i.subParser("hashCodeTags",function(e,t,r){"use strict";return e=r.converter._dispatch("hashCodeTags.before",e,t,r),e=i.helper.replaceRecursiveRegExp(e,function(e,n,a,o){var l=a+i.subParser("encodeCode")(n,t,r)+o;return"¨C"+(r.gHtmlSpans.push(l)-1)+"C"},"]*>","","gim"),e=r.converter._dispatch("hashCodeTags.after",e,t,r)}),i.subParser("hashElement",function(e,t,r){"use strict";return function(e,t){var n=t;return n=n.replace(/\n\n/g,"\n"),n=n.replace(/^\n/,""),n=n.replace(/\n+$/g,""),n="\n\n¨K"+(r.gHtmlBlocks.push(n)-1)+"K\n\n"}}),i.subParser("hashHTMLBlocks",function(e,t,r){"use strict";e=r.converter._dispatch("hashHTMLBlocks.before",e,t,r);var n=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],a=function(e,t,n,a){var o=e;return-1!==n.search(/\bmarkdown\b/)&&(o=n+r.converter.makeHtml(t)+a),"\n\n¨K"+(r.gHtmlBlocks.push(o)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var o=0;o]*>)","im"),s="<"+n[o]+"\\b[^>]*>",u="";-1!==(l=i.helper.regexIndexOf(e,c));){var h=i.helper.splitAtIndex(e,l),p=i.helper.replaceRecursiveRegExp(h[1],a,s,u,"im");if(p===h[1])break;e=h[0].concat(p)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=i.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,i.subParser("hashElement")(e,t,r)),e=r.converter._dispatch("hashHTMLBlocks.after",e,t,r)}),i.subParser("hashHTMLSpans",function(e,t,r){"use strict";function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=r.converter._dispatch("hashHTMLSpans.before",e,t,r),e=e.replace(/<[^>]+?\/>/gi,function(e){return n(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return n(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return n(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return n(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),i.subParser("unhashHTMLSpans",function(e,t,r){"use strict";e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n]*>\\s*]*>","^ {0,3}\\s*
","gim"),e=r.converter._dispatch("hashPreCodeTags.after",e,t,r)}),i.subParser("headers",function(e,t,r){"use strict";function n(e){var n,a;if(t.customizedHeaderId){var o=e.match(/\{([^{]+?)}\s*$/);o&&o[1]&&(e=o[1])}return n=e,a=i.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(n=a+n),n=t.ghCompatibleHeaderId?n.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?n.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():n.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(n=a+n),r.hashLinkCounts[n]?n=n+"-"+r.hashLinkCounts[n]++:r.hashLinkCounts[n]=1,n}e=r.converter._dispatch("headers.before",e,t,r);var a=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),o=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,l=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;return e=e.replace(o,function(e,o){var l=i.subParser("spanGamut")(o,t,r),c=t.noHeaderId?"":' id="'+n(o)+'"',s=a,u=""+l+"";return i.subParser("hashBlock")(u,t,r)}),e=e.replace(l,function(e,o){var l=i.subParser("spanGamut")(o,t,r),c=t.noHeaderId?"":' id="'+n(o)+'"',s=a+1,u=""+l+"";return i.subParser("hashBlock")(u,t,r)}),e=e.replace(t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(e,o,l){var c=l;t.customizedHeaderId&&(c=l.replace(/\s?\{([^{]+?)}\s*$/,""));var s=i.subParser("spanGamut")(c,t,r),u=t.noHeaderId?"":' id="'+n(l)+'"',h=a-1+o.length,p=""+s+"";return i.subParser("hashBlock")(p,t,r)}),e=r.converter._dispatch("headers.after",e,t,r)}),i.subParser("horizontalRule",function(e,t,r){"use strict";e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=i.subParser("hashBlock")("
",t,r);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),i.subParser("images",function(e,t,r){"use strict";function n(e,t,r,n,o,l,i,c){return n=n.replace(/\s/g,""),a(e,t,r,n,o,l,i,c)}function a(e,t,n,a,o,l,c,s){var u=r.gUrls,h=r.gTitles,p=r.gDimensions;if(n=n.toLowerCase(),s||(s=""),e.search(/\(? ?(['"].*['"])?\)$/m)>-1)a="";else if(""===a||null===a){if(""!==n&&null!==n||(n=t.toLowerCase().replace(/ ?\n/g," ")),a="#"+n,i.helper.isUndefined(u[n]))return e;a=u[n],i.helper.isUndefined(h[n])||(s=h[n]),i.helper.isUndefined(p[n])||(o=p[n].width,l=p[n].height)}t=t.replace(/"/g,""").replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback),a=a.replace(i.helper.regexes.asteriskDashAndColon,i.helper.escapeCharactersCallback);var d=''+t+'?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,l=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,c=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,s=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(s,a),e=e.replace(c,n),e=e.replace(l,a),e=e.replace(o,a),e=e.replace(u,a),e=r.converter._dispatch("images.after",e,t,r)}),i.subParser("italicsAndBold",function(e,t,r){"use strict";function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return n(t,"","")}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return n(t,"","")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return n(t,"","")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})),t.literalMidWordAsterisks?(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")}),e=e.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")}),e=e.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,r){return n(r,t+"","")})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?n(t,"",""):e})),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),i.subParser("lists",function(e,t,r){"use strict";function n(e,n){r.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,o=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(a=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(a,function(e,n,a,l,c,s,u){u=u&&""!==u.trim();var h=i.subParser("outdent")(c,t,r),p="";return s&&t.tasklists&&(p=' class="task-list-item" style="list-style-type: none;"',h=h.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='-1?(h=i.subParser("githubCodeBlocks")(h,t,r),h=i.subParser("blockGamut")(h,t,r)):(h=i.subParser("lists")(h,t,r),h=h.replace(/\n$/,""),h=i.subParser("hashHTMLBlocks")(h,t,r),h=h.replace(/\n\n+/g,"\n\n"),h=o?i.subParser("paragraphs")(h,t,r):i.subParser("spanGamut")(h,t,r)),h=h.replace("¨A",""),h=""+h+"\n"}),e=e.replace(/¨0/g,""),r.gListLevel--,n&&(e=e.replace(/\s+$/,"")),e}function a(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function o(e,r,o){var l=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,i=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===r?l:i,s="";if(-1!==e.search(c))!function t(u){var h=u.search(c),p=a(e,r);-1!==h?(s+="\n\n<"+r+p+">\n"+n(u.slice(0,h),!!o)+"\n",r="ul"===r?"ol":"ul",c="ul"===r?l:i,t(u.slice(h))):s+="\n\n<"+r+p+">\n"+n(u,!!o)+"\n"}(e);else{var u=a(e,r);s="\n\n<"+r+u+">\n"+n(e,!!o)+"\n"}return s}return e=r.converter._dispatch("lists.before",e,t,r),e+="¨0",e=r.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r){return o(t,r.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r,n){return o(r,n.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=r.converter._dispatch("lists.after",e,t,r)}),i.subParser("metadata",function(e,t,r){"use strict";function n(e){r.metadata.raw=e,e=e.replace(/&/g,"&").replace(/"/g,"""),e=e.replace(/\n {4}/g," "),e.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,n){return r.metadata.parsed[t]=n,""})}return t.metadata?(e=r.converter._dispatch("metadata.before",e,t,r),e=e.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,r){return n(r),"¨M"}),e=e.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,a){return t&&(r.metadata.format=t),n(a),"¨M"}),e=e.replace(/¨M/g,""),e=r.converter._dispatch("metadata.after",e,t,r)):e}),i.subParser("outdent",function(e,t,r){"use strict";return e=r.converter._dispatch("outdent.before",e,t,r),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)}),i.subParser("paragraphs",function(e,t,r){"use strict";e=r.converter._dispatch("paragraphs.before",e,t,r),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var n=e.split(/\n{2,}/g),a=[],o=n.length,l=0;l=0?a.push(c):c.search(/\S/)>=0&&(c=i.subParser("spanGamut")(c,t,r),c=c.replace(/^([ \t]*)/g,"

"),c+="

",a.push(c))}for(o=a.length,l=0;l]*>\s*]*>/.test(u)&&(h=!0)}a[l]=u}return e=a.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),i.subParser("runExtension",function(e,t,r,n){"use strict";if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=new RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),i.subParser("spanGamut",function(e,t,r){"use strict";return e=r.converter._dispatch("spanGamut.before",e,t,r),e=i.subParser("codeSpans")(e,t,r),e=i.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=i.subParser("encodeBackslashEscapes")(e,t,r),e=i.subParser("images")(e,t,r),e=i.subParser("anchors")(e,t,r),e=i.subParser("autoLinks")(e,t,r),e=i.subParser("simplifiedAutoLinks")(e,t,r),e=i.subParser("emoji")(e,t,r),e=i.subParser("underline")(e,t,r),e=i.subParser("italicsAndBold")(e,t,r),e=i.subParser("strikethrough")(e,t,r),e=i.subParser("ellipsis")(e,t,r),e=i.subParser("hashHTMLSpans")(e,t,r),e=i.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),i.subParser("strikethrough",function(e,t,r){"use strict";function n(e){return t.simplifiedAutoLink&&(e=i.subParser("simplifiedAutoLinks")(e,t,r)),""+e+""}return t.strikethrough&&(e=r.converter._dispatch("strikethrough.before",e,t,r),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return n(t)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),i.subParser("stripLinkDefinitions",function(e,t,r){"use strict";var n=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,a=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;e+="¨0";var o=function(e,n,a,o,l,c,s){return n=n.toLowerCase(),r.gUrls[n]=a.match(/^data:.+?\/.+?;base64,/)?a.replace(/\s/g,""):i.subParser("encodeAmpsAndAngles")(a,t,r),c?c+s:(s&&(r.gTitles[n]=s.replace(/"|'/g,""")),t.parseImgDimensions&&o&&l&&(r.gDimensions[n]={width:o,height:l}),"")};return e=e.replace(a,o),e=e.replace(n,o),e=e.replace(/¨0/,"")}),i.subParser("tables",function(e,t,r){"use strict";function n(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function a(e,n){var a="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(a=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=i.subParser("spanGamut")(e,t,r),""+e+"\n"}function o(e,n){return""+i.subParser("spanGamut")(e,t,r)+"\n"}function l(e,t){for(var r="\n\n\n",n=e.length,a=0;a\n\n\n",a=0;a\n";for(var o=0;o\n"}return r+="\n
\n"}function c(e){var c,s=e.split("\n");for(c=0;c"+t+"
"}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})),e=e.replace(/(_)/g,i.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),i.subParser("unescapeSpecialChars",function(e,t,r){"use strict";return e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r),e=e.replace(/¨E(\d+)E/g,function(e,t){var r=parseInt(t);return String.fromCharCode(r)}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)}),i.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,o=0;o "+r.split("\n").join("\n> ")}),i.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";return"```"+e.getAttribute("language")+"\n"+t.preList[e.getAttribute("precodenum")]+"\n```"}),i.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),i.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,o=0;o",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),i.subParser("makeMarkdown.links",function(e,t){"use strict";var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var o=0;o",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),i.subParser("makeMarkdown.list",function(e,t,r){"use strict";var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,o=a.length,l=e.getAttribute("start")||1,c=0;c"+t.preList[e.getAttribute("prenum")]+""}),i.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,o=0;otr>th"),c=e.querySelectorAll("tbody>tr");for(r=0;rb&&(b=f)}for(r=0;r/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/]([\s]*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0!==(n=function(){"use strict";return i}.call(t,r,t,e))&&(e.exports=n)}).call(this)},JkW7:function(e,t,r){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function O(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function P(e,t){return e.raw=t,e}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function S(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function L(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var q=r("KM04"),I=(r("xHuH"),r("P9k+")),F=r.n(I),H=function(e){function t(){return n(this,e.apply(this,arguments))}return a(t,e),t.prototype.render=function(){return Object(q.h)("div",{class:F.a.panel},this.props.children)},t}(q.Component),B=(r("MKE3"),r("6adR")),N=r.n(B),R=(function(e){function t(){return o(this,t),l(this,e.apply(this,arguments))}i(t,e),t.prototype.render=function(){var e=new N.a.Converter;e.setFlavor("github");var t=e.makeHtml(""+this.props.children);return Object(q.h)("div",{dangerouslySetInnerHTML:{__html:t}})}}(q.Component),String,Object(q.h)("div",null,Object(q.h)("h1",null,"Algoritmi (2018)"),Object(q.h)(H,null,"TODO"))),$=(function(e){function t(){return c(this,t),s(this,e.apply(this,arguments))}u(t,e),t.prototype.render=function(){return R}}(q.Component),r("0lnO"),r("+uq9")),V=r.n($),U=function(e){function t(){return h(this,t),p(this,e.apply(this,arguments))}return d(t,e),t.prototype.render=function(){var e="{\\color{White} "+this.props.children+" }";return Object(q.h)("img",{src:"https://latex.codecogs.com/png.latex?"+e,alt:this.props.children,title:this.props.children,class:V.a.latex})},t}(q.Component),W=r("1EpE"),G=r.n(W),K=function(e){function t(){return b(this,t),f(this,e.apply(this,arguments))}return _(t,e),t.prototype.render=function(){var e=null;return e=Array.isArray(this.props.children)?this.props.children.map(function(e){return Object(q.h)("div",{class:G.a.splitchild},e)}):Object(q.h)("div",{class:G.a.splitchild},this.props.children),Object(q.h)("div",{class:G.a.split},e)},t}(q.Component),Z=r("ddTt"),Q=r.n(Z),J=function(e){function t(){return m(this,t),g(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){return Object(q.h)("span",{class:Q.a.plus},this.props.children)},t}(q.Component),X=r("MeW5"),Y=r.n(X),ee=function(e){function t(){return j(this,t),w(this,e.apply(this,arguments))}return O(t,e),t.prototype.render=function(){return Object(q.h)("span",{class:Y.a.minus},this.props.children)},t}(q.Component),te=r("tO1d"),re=r.n(te),ne=(function(e){function t(){return k(this,t),y(this,e.apply(this,arguments))}z(t,e),t.prototype.render=function(){return Object(q.h)("span",{class:re.a.todo},this.props.children)}}(q.Component),P(["\vec{v} = \vec{v}_x + \vec{v}_y"],["\\vec{v} = \\vec{v}_x + \\vec{v}_y"])),ae=P(["left | \vec{v}_x \right | = left | \vec{v} \right | sin alpha"],["\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha"]),oe=P(["left | \vec{v}_y \right | = left | \vec{v} \right | cos alpha"],["\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha"]),le=P(["\vec{v} + \vec{w} = (\vec{v}_x + \vec{w}_x) + (\vec{v}_y + \vec{w}_y)"],["\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)"]),ie=P(["\vec{v} - \vec{w} = (\vec{v}_x - \vec{w}_x) + (\vec{v}_y - \vec{w}_y)"],["\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)"]),ce=P(["\vec{v} cdot \vec{w} = left | \vec{v} \right | left | \vec{w} \right | cos alpha"],["\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha"]),se=P(["\vec{a}"],["\\vec{a}"]),ue=P(["\vec{b}"],["\\vec{b}"]),he=P(["\vec{c} = \vec{a} \times \vec{b}"],["\\vec{c} = \\vec{a} \\times \\vec{b}"]),pe=P(["left | \vec{c} \right | = left | \vec{a} \right | cdot left | \vec{b} \right | cdot sin(alpha)"],["\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)"]),de=P(["Sigma \vec{F} = 0 Longleftrightarrow Delta v = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0"]),be=P(["Sigma \vec{F} = m \vec{a}"],["\\Sigma \\vec{F} = m \\vec{a}"]),fe=P(["\vec{F}_{21} = -\vec{F}_{12}"],["\\vec{F}_{21} = -\\vec{F}_{12}"]),_e=P(["left | \vec{F} \right | = G \frac{m_1 m_2}{s^2}"],["\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}"]),me=P(["G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}"],["G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}"]),ge=P(["left | \vec{F} \right | = g m"],["\\left | \\vec{F} \\right | = g m"]),ve=P(["g = 9.81 \frac{m}{s^2}"],["g = 9.81 \\frac{m}{s^2}"]),je=P(["g_{luna} = 1.62 \frac{m}{s^2}"],["g_{luna} = 1.62 \\frac{m}{s^2}"]),we=P(["g_{marte} = 3.71 \frac{m}{s^2}"],["g_{marte} = 3.71 \\frac{m}{s^2}"]),Oe=P(["left | \vec{F} \right | leq mu_{s} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |"]),ke=P(["left | \vec{F} \right | leq mu_{d} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |"]),ye=P(["F = -k x"],["F = -k x"]),ze=P(["Delta \vec{s} = \vec{s}(fine) - \vec{s}(inizio)"],["\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)"]),Pe=P(["\vec{v} = \frac{Delta \vec{s}}{Delta t}"],["\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}"]),xe=P(["\vec{v} = lim_{Delta t \to 0} \frac{Delta \vec{s}}{Delta t} = \frac{d \vec{s}}{dt}"],["\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}"]),Ce=P(["\vec{a} = \frac{Delta \vec{v}}{Delta t}"],["\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}"]),Se=P(["\vec{a} = lim_{Delta v \to 0} \frac{Delta \vec{v}}{Delta t} = \frac{d \vec{v}}{d t} = \frac{d^2 \vec{s}}{d t^2}"],["\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}"]),Ee=P(["\vec{p} = m \vec{v}"],["\\vec{p} = m \\vec{v}"]),Me=P(["Sigma \vec{F} = 0 Longleftrightarrow Delta \vec{p} = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0"]),Le=P(["s(t) = v cdot Delta t + s(0)"],["s(t) = v \\cdot \\Delta t + s(0)"]),Ae=P(["v(t) = k"],["v(t) = k"]),Te=P(["a(t) = 0"],["a(t) = 0"]),De=P(["s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)"],["s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)"]),qe=P(["v(t) = a Delta t + v(0)"],["v(t) = a \\Delta t + v(0)"]),Ie=P(["a(t) = k"],["a(t) = k"]),Fe=P(["omega = \frac{2 pi}{T}"],["\\omega = \\frac{2 \\pi}{T}"]),He=P(["s(t) = A sin (omega cdot t + phi)"],["s(t) = A \\sin (\\omega \\cdot t + \\phi)"]),Be=P(["\frac{pi}{2}"],["\\frac{\\pi}{2}"]),Ne=P(["v(t) = A sin (omega cdot t + phi + \frac{pi}{2})"],["v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})"]),Re=P(["pi"],["\\pi"]),$e=P(["a(t) = A sin (omega cdot t + phi + pi)"],["a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)"]),Ve=P(["phi"],["\\phi"]),Ue=P(["v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r"],["v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r"]),We=P(["a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega"],["a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega"]),Ge=P(["F = m cdot a"],["F = m \\cdot a"]),Ke=P(["W = \vec{F} cdot \vec{s} = F cdot Delta s cdot cos(alpha )"],["W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )"]),Ze=P(["E_c = \frac{1}{2} m v^2"],["E_c = \\frac{1}{2} m v^2"]),Qe=P(["Delta E_c = W"],["\\Delta E_c = W"]),Je=P(["E_{p_g} = m cdot g cdot h"],["E_{p_g} = m \\cdot g \\cdot h"]),Xe=P(["E_{p_e} = \frac{1}{2} k x^2"],["E_{p_e} = \\frac{1}{2} k x^2"]),Ye=P(["E = E_k + E_p"],["E = E_k + E_p"]),et=P(["P = \frac{Delta E}{Delta t}"],["P = \\frac{\\Delta E}{\\Delta t}"]),tt=P(["C_{elettrone} = 1.602 cdot 10^{-19}"],["C_{elettrone} = 1.602 \\cdot 10^{-19}"]),rt=P(["left | \vec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}"]),nt=P(["k"],["k"]),at=P(["k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}"],["k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}"]),ot=P(["epsilon_0"],["\\epsilon_0"]),lt=P(["k = \frac{1}{4 pi cdot epsilon_0}"],["k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}"]),it=P(["left | \vec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}"]),ct=P(["\vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}"],["\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}"]),st=P(["Phi_E = \vec{E} cdot \vec{S} = E cdot S cdot cos(phi)"],["\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)"]),ut=P(["\vec{S}"],["\\vec{S}"]),ht=P(["Phi_E = \frac{q_{interna}}{epsilon_0}"],["\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}"]),pt=P(["U_e"],["U_e"]),dt=P(["V = \frac{E_{elettrica}}{q}"],["V = \\frac{E_{elettrica}}{q}"]),bt=P(["V"],["V"]),ft=P(["I = \frac{Delta q}{Delta t}"],["I = \\frac{\\Delta q}{\\Delta t}"]),_t=P(["A"],["A"]),mt=P(["P = \frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}"],["P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}"]),gt=P(["V = R cdot I"],["V = R \\cdot I"]),vt=P(["R"],["R"]),jt=P(["Omega"],["\\Omega"]),wt=P(["R = \rho \frac{L_{unghezza}}{A_{rea}}"],["R = \\rho \\frac{L_{unghezza}}{A_{rea}}"]),Ot=P(["\rho"],["\\rho"]),kt=P(["\rho = \rho_0 (1 + alpha(T - T_0))"],["\\rho = \\rho_0 (1 + \\alpha(T - T_0))"]),yt=P(["C = \frac{q_{massima}}{Delta V}"],["C = \\frac{q_{massima}}{\\Delta V}"]),zt=P(["C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}"],["C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}"]),Pt=P(["kappa"],["\\kappa"]),xt=P(["d"],["d"]),Ct=P(["Fa"],["Fa"]),St=P(["R_{serie} = sum_{i=1}^{n} R_i"],["R_{serie} = \\sum_{i=1}^{n} R_i"]),Et=P(["R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}"],["R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}"]),Mt=P(["C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}"],["C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}"]),Lt=P(["C_{parallelo} = sum_{i=1}^{n} C_n"],["C_{parallelo} = \\sum_{i=1}^{n} C_n"]),At=P(["\vec{F}_{magnetica} = q cdot (\vec{v} \times \vec{B})"],["\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})"]),Tt=P(["\vec{B}"],["\\vec{B}"]),Dt=P(["\vec{v}"],["\\vec{v}"]),qt=P(["\vec{F} = I cdot (\vec{L} \times \vec{B})"],["\\vec{F} = I \\cdot (\\vec{L} \\times \\vec{B})"]),It=String.raw,Ft=Object(q.h)("h1",null,"Fisica (2019)"),Ht=Object(q.h)("h2",null,"Vettori"),Bt=Object(q.h)("h3",null,"Componenti cartesiane"),Nt=Object(q.h)("p",null,"Usa le regole base della trigonometria:"),Rt=Object(q.h)("h3",null,"Somma"),$t=Object(q.h)("p",null,"Scomponi in componenti, poi sommali:"),Vt=Object(q.h)("p",null,"Produce il vettore risultante dall'applicazione della regola del parallelogramma."),Ut=Object(q.h)("h3",null,"Differenza"),Wt=Object(q.h)("p",null,"Alla fine è sempre una somma:"),Gt=Object(q.h)("p",null,"Produce il vettore che parte da ",Object(q.h)(U,null,"w")," e arriva a ",Object(q.h)(U,null,"v"),"."),Kt=Object(q.h)("h3",null,"Prodotto scalare"),Zt=Object(q.h)("p",null,"Si chiama scalare perchè il risultato è uno scalare, non un vettore."),Qt=Object(q.h)("h3",null,"Prodotto vettoriale"),Jt=Object(q.h)("p",null,"Si chiama vettoriale perchè il risultato è un altro vettore."),Xt=Object(q.h)("li",null,Object(q.h)("a",{href:"https://it.wikipedia.org/wiki/Regola_della_mano_destra"},"Regola della mano destra")),Yt=Object(q.h)("p",null,"Non è commutativo!"),er=Object(q.h)("h2",null,"Leggi di Newton"),tr=Object(q.h)("h3",null,"1ᵃ: Inerzia"),rr=Object(q.h)("p",null,"Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia."),nr=Object(q.h)("h3",null,"2ᵃ: Proporzionalità"),ar=Object(q.h)("p",null,"La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la ",Object(q.h)("i",null,"massa"),"."),or=Object(q.h)("h3",null,"3ᵃ: Azione e reazione"),lr=Object(q.h)("p",null,"Due corpi esercitano forze uguali e opposte uno sull'altro."),ir=Object(q.h)("h2",null,"Forza di gravità"),cr=Object(q.h)("h3",null,"Tra due corpi"),sr=Object(q.h)("p",null,"Due corpi puntiformi si attirano uno verso l'altro con forza:"),ur=Object(q.h)("p",null,Object(q.h)(U,null,"G")," è la ",Object(q.h)("i",null,"costante di gravitazione universale")," e vale:"),hr=Object(q.h)("h3",null,"Verso la Terra"),pr=Object(q.h)("p",null,"Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza ",Object(q.h)("i",null,"peso")," uguale a:"),dr=Object(q.h)("p",null,Object(q.h)(U,null,"g")," è la ",Object(q.h)("i",null,"costante di gravità")," della Terra, e vale:"),br=Object(q.h)("h3",null,"Su pianeti diversi"),fr=Object(q.h)("p",null,"Per pianeti diversi dalla Terra vale la stessa regola:"),_r=Object(q.h)("p",null,"L'unica differenza è che cambia la ",Object(q.h)("i",null,"costante di gravità"),":"),mr=Object(q.h)("h2",null,"Forze di contatto"),gr=Object(q.h)(H,null,Object(q.h)("h3",null,"Normale"),Object(q.h)("p",null,"Si oppone alle forze applicate alla superficie di contatto."),Object(q.h)("p",null,"Un libro appoggiato su un tavolo ha la ",Object(q.h)("b",null,"forza di gravità")," che lo attira verso il terreno e la ",Object(q.h)("b",null,"forza normale")," che lo trattiene dal cadere.")),vr=Object(q.h)("h3",null,"Attrito statico"),jr=Object(q.h)("p",null,"Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:"),wr=Object(q.h)("h3",null,"Attrito dinamico"),Or=Object(q.h)("p",null,"Rallenta i corpi che si stanno muovendo finchè essi non si fermano:"),kr=Object(q.h)(H,null,Object(q.h)("h3",null,"Tensione"),Object(q.h)("p",null,"E' forza trasmessa tra due estremi di una fune."),Object(q.h)("p",null,"Può essere redirezionata per mezzo di carrucole.")),yr=Object(q.h)("h3",null,"Elastica"),zr=Object(q.h)("p",null,"Una molla cerca sempre di tornare alla sua posizione indeformata con forza:"),Pr=Object(q.h)("p",null,"(E' negativa perchè la forza è opposta a quella applicata per deformarla.)"),xr=Object(q.h)("h2",null,"Cinematica"),Cr=Object(q.h)("h3",null,"Spostamento"),Sr=Object(q.h)("p",null,"È un vettore che indica la posizione di un corpo rispetto a un'origine."),Er=Object(q.h)("h3",null,"Velocità"),Mr=Object(q.h)("p",null,"È un vettore che misura la variazione di posizione nel tempo."),Lr=Object(q.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(q.h)("i",null,"velocità istantanea"),":"),Ar=Object(q.h)("h3",null,"Accelerazione"),Tr=Object(q.h)("p",null,"È un vettore che misura la variazione di velocità nel tempo."),Dr=Object(q.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(q.h)("i",null,"accelerazione istantanea"),":"),qr=Object(q.h)("h3",null,"Quantità di moto ",Object(q.h)("small",null,"(momento lineare)")),Ir=Object(q.h)("p",null,"La quantità di moto è una proprietà vettoriale dei corpi:"),Fr=Object(q.h)("p",null,"Se la forza risultante è nulla, la quantità di moto non cambia."),Hr=Object(q.h)("h2",null,"Moto rettilineo uniforme"),Br=Object(q.h)("h3",null,"Spostamento"),Nr=Object(q.h)("p",null,"La ",Object(q.h)("i",null,"legge oraria")," è:"),Rr=Object(q.h)("h3",null,"Velocità"),$r=Object(q.h)("p",null,"È costante:"),Vr=Object(q.h)("h3",null,"Accelerazione"),Ur=Object(q.h)("p",null,"La velocità non varia:"),Wr=Object(q.h)(H,null,Object(q.h)("h3",null,"Forze"),Object(q.h)("p",null,"Si applica la prima legge di Newton:"),Object(q.h)("p",null,Object(q.h)(U,null,"f(t) = 0"))),Gr=Object(q.h)("h2",null,"Moto rettilineo uniformemente accelerato"),Kr=Object(q.h)("h3",null,"Spostamento"),Zr=Object(q.h)("p",null,"La ",Object(q.h)("i",null,"legge oraria")," è:"),Qr=Object(q.h)("h3",null,"Velocità"),Jr=Object(q.h)("p",null,"È una retta:"),Xr=Object(q.h)("h3",null,"Accelerazione"),Yr=Object(q.h)("p",null,"È costante:"),en=Object(q.h)(H,null,Object(q.h)("h3",null,"Forze"),Object(q.h)("p",null,"Si applica la prima legge di Newton:"),Object(q.h)("p",null,Object(q.h)(U,null,"f(t) = m a"))),tn=Object(q.h)("h2",null,"Moto armonico semplice"),rn=Object(q.h)(H,null,Object(q.h)("h3",null,"Ampiezza"),Object(q.h)("p",null,"E' la distanza dal centro massima che raggiunge il corpo."),Object(q.h)("p",null,"(L'ampiezza di una sinusoide.)")),nn=Object(q.h)("h3",null,"Velocità angolare"),an=Object(q.h)("p",null,"Indica quanto in fretta cambia la posizione del corpo."),on=Object(q.h)("p",null,"Dipende dal periodo:"),ln=Object(q.h)("h3",null,"Spostamento"),cn=Object(q.h)("p",null,"E' una sinusoide:"),sn=Object(q.h)("h3",null,"Velocità"),un=Object(q.h)("h3",null,"Accelerazione"),hn=Object(q.h)(H,null,Object(q.h)("h3",null,"Forze"),Object(q.h)("p",null,"Si applica la prima legge di Newton:"),Object(q.h)("p",null,Object(q.h)(U,null,"f(t) = m a"))),pn=Object(q.h)("h2",null,"Moti composti"),dn=Object(q.h)(H,null,Object(q.h)("h3",null,"Moto parabolico"),Object(q.h)("p",null,"Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.")),bn=Object(q.h)("h3",null,"Moto circolare uniforme"),fn=Object(q.h)("h2",null,"Moto circolare uniforme"),_n=Object(q.h)("h3",null,"Velocità angolare"),mn=Object(q.h)("p",null,"Quanto cambia la fase nel tempo."),gn=Object(q.h)("h3",null,"Fase"),vn=Object(q.h)("p",null,"E' l'angolo percorso dal corpo rispetto alla posizione iniziale."),jn=Object(q.h)("h3",null,"Velocità"),wn=Object(q.h)("p",null,"Si applicano le formule per la circonferenza:"),On=Object(q.h)("h3",null,"Accelerazione"),kn=Object(q.h)("p",null,"Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:"),yn=Object(q.h)("h3",null,"Forza centripeta"),zn=Object(q.h)("p",null,"È verso il centro e si calcola con:"),Pn=Object(q.h)("h2",null,"Lavoro ed energia"),xn=Object(q.h)("h3",null,"Lavoro"),Cn=Object(q.h)("p",null,"E' compiuto da una forza che sposta un corpo."),Sn=Object(q.h)("p",null,"(Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)"),En=Object(q.h)("h3",null,"Energia cinetica"),Mn=Object(q.h)("p",null,"Un corpo ha energia cinetica in ogni momento uguale a:"),Ln=Object(q.h)("p",null,"Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:"),An=Object(q.h)("h3",null,"Energia potenziale gravitazionale"),Tn=Object(q.h)("p",null,"Un corpo ha energia potenziale in ogni momento pari a:"),Dn=Object(q.h)("p",null,"(Con ",Object(q.h)(U,null,"h")," uguale a un altezza scelta come punto di riferimento.)"),qn=Object(q.h)("h3",null,"Energia potenziale elastica"),In=Object(q.h)("p",null,"Una molla ha sempre energia potenziale elastica pari a:"),Fn=Object(q.h)("h3",null,"Forze conservative"),Hn=Object(q.h)("p",null,"Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo."),Bn=Object(q.h)("p",null,"Ad esempio, è conservativa la ",Object(q.h)("i",null,"forza di gravità"),", ma ",Object(q.h)("b",null,"non")," è conservativa la forza di attrito."),Nn=Object(q.h)("p",null,"Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:"),Rn=Object(q.h)("h3",null,"Potenza"),$n=Object(q.h)("p",null,"È la velocità di trasferimento di energia:"),Vn=Object(q.h)("h2",null,"Elettrostatica"),Un=Object(q.h)("h3",null,"Carica elettrica"),Wn=Object(q.h)("p",null,"È una proprietà dei corpi che può essere ",Object(q.h)(J,null,"positiva")," o ",Object(q.h)(ee,null,"negativa"),"."),Gn=Object(q.h)("p",null,"Si conserva: in un sistema chiuso la carica totale è costante."),Kn=Object(q.h)("p",null,"Cariche ",Object(q.h)(J,null,"opp"),Object(q.h)(ee,null,"oste")," si attraggono; cariche ",Object(q.h)(J,null,"uguali")," si respingono."),Zn=Object(q.h)(H,null,Object(q.h)("h3",null,"Conduttori e isolanti"),Object(q.h)("p",null,"Più ",Object(q.h)("a",{href:"https://it.wikipedia.org/wiki/Ione"},"ioni")," ha un corpo, meglio la carica si muove attraverso di esso."),Object(q.h)("p",null,"I corpi in cui la carica si muove bene sono ",Object(q.h)("i",null,"conduttori"),", mentre quelli in cui si muove difficilmente sono ",Object(q.h)("i",null,"isolanti"),"."),Object(q.h)("p",null,"Il corpo umano è un buon conduttore.")),Qn=Object(q.h)("h2",null,"Polarizzazione"),Jn=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Polarizzazione"),Object(q.h)("p",null,"E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona."))),Xn=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Messa a terra"),Object(q.h)("p",null,"Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno ",Object(q.h)("i",null,"equilibrate")," e il corpo diventerà elettricamente neutro (con stesso numero di ",Object(q.h)(J,null,"cariche positive")," e ",Object(q.h)(ee,null,"negative")," all'interno)."))),Yn=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Polarizzazione per strofinio"),Object(q.h)("p",null,"Strofinando tra loro due corpi isolanti, essi si ",Object(q.h)("i",null,"polarizzeranno per strofinio"),".")),Object(q.h)(H,null,Object(q.h)("h3",null,"Polarizzazione per contatto"),Object(q.h)("p",null,"Toccando un conduttore con un corpo carico, il conduttore potrà ",Object(q.h)("i",null,"polarizzarsi per contatto"),".")),Object(q.h)(H,null,Object(q.h)("h3",null,"Polarizzazione per induzione"),Object(q.h)("p",null,'Se un corpo conduttore ha cariche "esterne" di un ',Object(q.h)(J,null,"certo segno")," vicino, esso avrà tutte le cariche del ",Object(q.h)(ee,null,"segno opposto")," in equilibrio vicino alle cariche esterne, e tutte le cariche dello ",Object(q.h)(J,null,"stesso segno")," più lontano possibile da esse."),Object(q.h)("p",null,"Mettendo a terra il conduttore, nuove cariche del ",Object(q.h)(ee,null,"segno opposto")," saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate."),Object(q.h)("p",null,"Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà ",Object(q.h)(ee,null,"caricato del segno opposto")," rispetto alle cariche esterne."))),ea=Object(q.h)("h2",null,"Forza elettrica"),ta=Object(q.h)("h3",null,"Legge di Coulomb"),ra=Object(q.h)("p",null,"Due corpi carichi si attraggono tra loro con forza:"),na=Object(q.h)("i",null,"costante di Coulomb"),aa=Object(q.h)("h3",null,"Permeabilità dello spazio vuoto"),oa=Object(q.h)("i",null,"permeabilità del vuoto"),la=Object(q.h)("h3",null,"Campo elettrico"),ia=Object(q.h)("p",null,"Misura che forza viene applicata in ogni punto su una carica unitaria:"),ca=Object(q.h)("h3",null,"Flusso elettrico"),sa=Object(q.h)("p",null,'È la differenza tra "quanto" campo elettrico ',Object(q.h)(J,null,"entra")," e quanto campo elettrico ",Object(q.h)(ee,null,"esce")," da una certa area."),ua=Object(q.h)("p",null,"È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo."),ha=Object(q.h)("p",null,"Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:"),pa=Object(q.h)("h3",null,"Legge di Gauss"),da=Object(q.h)("p",null,"Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno."),ba=Object(q.h)("p",null,"E' equivalente alla Legge di Coulomb."),fa=Object(q.h)("h2",null,"Energia elettrica"),_a=Object(q.h)("h3",null,"Energia potenziale elettrica"),ma=Object(q.h)("i",null,"energia potenziale elettrica"),ga=Object(q.h)("h2",null,"Circuiti elettrici"),va=Object(q.h)("h3",null,"Potenziale elettrico (Tensione)"),ja=Object(q.h)("p",null,"È il valore dell'energia potenziale elettrica per una carica unitaria."),wa=Object(q.h)("p",null,"In una batteria è detto ",Object(q.h)("i",null,"forza elettromotrice"),", e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli."),Oa=Object(q.h)("h3",null,"Corrente elettrica (Intensità)"),ka=Object(q.h)("p",null,"Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo."),ya=Object(q.h)("p",null,"Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla."),za=Object(q.h)(H,null,Object(q.h)("h3",null,"Corrente continua (",Object(q.h)("abbr",{title:"Direct Current"},"DC"),")"),Object(q.h)("p",null,"Quando in un circuito la direzione della corrente è costante.")),Pa=Object(q.h)(H,null,Object(q.h)("h3",null,"Corrente alternata (",Object(q.h)("abbr",{title:"Alternate Current"},"AC"),")"),Object(q.h)("p",null,"Quando in un circuito la direzione della corrente si alterna periodicamente.")),xa=Object(q.h)("h3",null,"Potenza elettrica"),Ca=Object(q.h)("p",null,"Possiamo calcolare la potenza di un circuito:"),Sa=Object(q.h)("h2",null,"Elementi di un circuito"),Ea=Object(q.h)("h3",null,"Resistore"),Ma=Object(q.h)("p",null,"Riduce l'intensità di corrente, e converte parte del potenziale in calore."),La=Object(q.h)("p",null,"Il potenziale utilizzato è pari a:"),Aa=Object(q.h)("i",null,"resistenza"),Ta=Object(q.h)("p",null,"La resistenza di un conduttore vale:"),Da=Object(q.h)("i",null,"resistività"),qa=Object(q.h)("h3",null,"Condensatore"),Ia=Object(q.h)("p",null,"Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito."),Fa=Object(q.h)("p",null,"Per farlo, cattura cariche ",Object(q.h)(J,null,"positive")," e ",Object(q.h)(ee,null,"negative")," sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro."),Ha=Object(q.h)("p",null,"Ha una ",Object(q.h)("b",null,"capacità")," caratteristica, che in un condensatore a facce piane parallele è:"),Ba=Object(q.h)("p",null,"Condensatori di capacità maggiore immagazzinano più potenziale con meno carica."),Na=Object(q.h)("p",null,"La capacità aumenta se viene messo qualcosa tra le armature:"),Ra=Object(q.h)("i",null,"costante dielettrica relativa"),$a=Object(q.h)("p",null,"Se il campo elettrico creatosi tra le due armature supera la ",Object(q.h)("i",null,"rigidità dielettrica")," del condensatore, la carica immagazzinata viene persa e ha luogo un ",Object(q.h)("i",null,"breakdown"),"."),Va=Object(q.h)(H,null,Object(q.h)("h3",null,"Amperometro"),Object(q.h)("p",null,"Misura la corrente elettrica se messo in serie."),Object(q.h)("p",null,"(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)")),Ua=Object(q.h)(H,null,Object(q.h)("h3",null,"Voltmetro"),Object(q.h)("p",null,"Misura la differenza di potenziale se messo in parallelo."),Object(q.h)("p",null,"(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)")),Wa=Object(q.h)("h2",null,"Principi di Kirchhoff"),Ga=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Legge dei nodi"),Object(q.h)("p",null,"Per nodo si intende un qualsiasi punto del circuito."),Object(q.h)("p",null,"Da un nodo entra ed esce la stessa corrente.")),Object(q.h)(H,null,Object(q.h)("h3",null,"Legge delle maglie"),Object(q.h)("p",null,"Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito."),Object(q.h)("p",null,"In una maglia chiusa, la somma delle differenze di potenziale è 0."))),Ka=Object(q.h)("h2",null,"Serie e Parallelo"),Za=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Circuito in serie"),Object(q.h)("p",null,"Più parti di circuito sono ",Object(q.h)("i",null,"in serie")," se sono consecutive e senza biforcazioni."),Object(q.h)("p",null,"Parti di circuito in serie sono attraversate dalla stessa corrente.")),Object(q.h)(H,null,Object(q.h)("h3",null,"Circuito in parallelo"),Object(q.h)("p",null,"Più parti di circuito sono ",Object(q.h)("i",null,"in parallelo")," tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo."),Object(q.h)("p",null,"Parti di circuito in parallelo hanno la stessa differenza di potenziale."))),Qa=Object(q.h)("h2",null,"Resistenze equivalenti"),Ja=Object(q.h)("h3",null,"Circuiti in serie"),Xa=Object(q.h)("p",null,"Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:"),Ya=Object(q.h)("h3",null,"Circuiti in parallelo"),eo=Object(q.h)("p",null,"Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:"),to=Object(q.h)("h2",null,"Condensatori equivalenti"),ro=Object(q.h)("h3",null,"Circuiti in serie"),no=Object(q.h)("p",null,"Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:"),ao=Object(q.h)("h3",null,"Circuiti in parallelo"),oo=Object(q.h)("p",null,"Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:"),lo=Object(q.h)("h2",null,"Magnetismo"),io=Object(q.h)(K,null,Object(q.h)(H,null,Object(q.h)("h3",null,"Campo magnetico"),Object(q.h)("p",null,"Come un campo elettrico, ma per i magneti."),Object(q.h)("p",null,Object(q.h)(U,null,"B")),Object(q.h)("p",null,"La sua unità di misura è il Tesla (",Object(q.h)(U,null,"T"),").")),Object(q.h)(H,null,Object(q.h)("h3",null,"Flusso magnetico"),Object(q.h)("p",null,"Come il flusso elettrico, ma per campi magnetici.")),Object(q.h)(H,null,Object(q.h)("h3",null,"Legge di Gauss per il magnetismo"),Object(q.h)("p",null,"Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo."))),co=Object(q.h)("h3",null,"Forza magnetica su carica puntiforme"),so=Object(q.h)("p",null,Object(q.h)("i",null,"Anche detta ",Object(q.h)("b",null,"forza di Lorentz"),".")),uo=Object(q.h)("p",null,"I campi magnetici applicano una forza sulle cariche vicine:"),ho=Object(q.h)("p",null,"Si ha una forza massima se la velocità è perpendicolare al campo magnetico."),po=Object(q.h)("p",null,"In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme."),bo=Object(q.h)("h3",null,"Forza magnetica in un filo"),fo=Object(q.h)("p",null,"I campi magnetici influenzano anche le cariche presenti in un conduttore:"),_o=function(e){function t(){return x(this,t),C(this,e.apply(this,arguments))}return S(t,e),t.prototype.render=function(){return Object(q.h)("div",null,Ft,Ht,Object(q.h)(K,null,Object(q.h)(H,null,Bt,Nt,Object(q.h)("p",null,Object(q.h)(U,null,It(ne))),Object(q.h)("p",null,Object(q.h)(U,null,It(ae))),Object(q.h)("p",null,Object(q.h)(U,null,It(oe)))),Object(q.h)(H,null,Rt,$t,Object(q.h)("p",null,Object(q.h)(U,null,It(le))),Vt),Object(q.h)(H,null,Ut,Wt,Object(q.h)("p",null,Object(q.h)(U,null,It(ie))),Gt),Object(q.h)(H,null,Kt,Zt,Object(q.h)("p",null,Object(q.h)(U,null,It(ce))),Object(q.h)("p",null,"Produce il modulo della proiezione di ",Object(q.h)(U,null,It(se))," su ",Object(q.h)(U,null,It(ue)),".")),Object(q.h)(H,null,Qt,Jt,Object(q.h)("ul",null,Object(q.h)("li",null,Object(q.h)(U,null,It(he))),Object(q.h)("li",null,Object(q.h)(U,null,It(pe))),Xt),Yt)),er,Object(q.h)(K,null,Object(q.h)(H,null,tr,rr,Object(q.h)("p",null,Object(q.h)(U,null,It(de)))),Object(q.h)(H,null,nr,ar,Object(q.h)("p",null,Object(q.h)(U,null,It(be)))),Object(q.h)(H,null,or,lr,Object(q.h)("p",null,Object(q.h)(U,null,It(fe))))),ir,Object(q.h)(K,null,Object(q.h)(H,null,cr,sr,Object(q.h)("p",null,Object(q.h)(U,null,It(_e))),ur,Object(q.h)("p",null,Object(q.h)(U,null,It(me)))),Object(q.h)(H,null,hr,pr,Object(q.h)("p",null,Object(q.h)(U,null,It(ge))),dr,Object(q.h)("p",null,Object(q.h)(U,null,It(ve)))),Object(q.h)(H,null,br,fr,Object(q.h)("p",null,Object(q.h)(U,null,It(ge))),_r,Object(q.h)("p",null,Object(q.h)(U,null,It(je))),Object(q.h)("p",null,Object(q.h)(U,null,It(we))))),mr,Object(q.h)(K,null,gr,Object(q.h)(H,null,vr,jr,Object(q.h)("p",null,Object(q.h)(U,null,It(Oe)))),Object(q.h)(H,null,wr,Or,Object(q.h)("p",null,Object(q.h)(U,null,It(ke)))),kr,Object(q.h)(H,null,yr,zr,Object(q.h)("p",null,Object(q.h)(U,null,It(ye))),Pr)),xr,Object(q.h)(K,null,Object(q.h)(H,null,Cr,Sr,Object(q.h)("p",null,Object(q.h)(U,null,It(ze)))),Object(q.h)(H,null,Er,Mr,Object(q.h)("p",null,Object(q.h)(U,null,It(Pe))),Lr,Object(q.h)("p",null,Object(q.h)(U,null,It(xe)))),Object(q.h)(H,null,Ar,Tr,Object(q.h)("p",null,Object(q.h)(U,null,It(Ce))),Dr,Object(q.h)("p",null,Object(q.h)(U,null,It(Se)))),Object(q.h)(H,null,qr,Ir,Object(q.h)("p",null,Object(q.h)(U,null,It(Ee))),Fr,Object(q.h)("p",null,Object(q.h)(U,null,It(Me))))),Hr,Object(q.h)(K,null,Object(q.h)(H,null,Br,Nr,Object(q.h)("p",null,Object(q.h)(U,null,It(Le)))),Object(q.h)(H,null,Rr,$r,Object(q.h)("p",null,Object(q.h)(U,null,It(Ae)))),Object(q.h)(H,null,Vr,Ur,Object(q.h)("p",null,Object(q.h)(U,null,It(Te)))),Wr),Gr,Object(q.h)(K,null,Object(q.h)(H,null,Kr,Zr,Object(q.h)("p",null,Object(q.h)(U,null,It(De)))),Object(q.h)(H,null,Qr,Jr,Object(q.h)("p",null,Object(q.h)(U,null,It(qe)))),Object(q.h)(H,null,Xr,Yr,Object(q.h)("p",null,Object(q.h)(U,null,It(Ie)))),en),tn,Object(q.h)(K,null,rn,Object(q.h)(H,null,nn,an,on,Object(q.h)("p",null,Object(q.h)(U,null,It(Fe)))),Object(q.h)(H,null,ln,cn,Object(q.h)("p",null,Object(q.h)(U,null,It(He)))),Object(q.h)(H,null,sn,Object(q.h)("p",null,"E' la sinusoide dello spostamento, sfasata di ",Object(q.h)(U,null,It(Be)),":"),Object(q.h)("p",null,Object(q.h)(U,null,It(Ne)))),Object(q.h)(H,null,un,Object(q.h)("p",null,"E' la sinusoide della velocità, sfasata di ",Object(q.h)(U,null,It(Re)),":"),Object(q.h)("p",null,Object(q.h)(U,null,It($e)))),hn),pn,Object(q.h)(K,null,dn,Object(q.h)(H,null,bn,Object(q.h)("p",null,"Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di ",Object(q.h)(U,null,It(Be)),", sull'asse Y."))),fn,Object(q.h)(K,null,Object(q.h)(H,null,_n,mn,Object(q.h)("p",null,Object(q.h)(U,null,It(Fe)))),Object(q.h)(H,null,gn,vn,Object(q.h)("p",null,"Si indica con ",Object(q.h)(U,null,It(Ve)),", e generalmente si usa in radianti.")),Object(q.h)(H,null,jn,wn,Object(q.h)("p",null,Object(q.h)(U,null,It(Ue)))),Object(q.h)(H,null,On,kn,Object(q.h)("p",null,Object(q.h)(U,null,It(We)))),Object(q.h)(H,null,yn,zn,Object(q.h)("p",null,Object(q.h)(U,null,It(Ge))))),Pn,Object(q.h)(K,null,Object(q.h)(H,null,xn,Cn,Object(q.h)("p",null,Object(q.h)(U,null,It(Ke))),Sn),Object(q.h)(H,null,En,Mn,Object(q.h)("p",null,Object(q.h)(U,null,It(Ze))),Ln,Object(q.h)("p",null,Object(q.h)(U,null,It(Qe)))),Object(q.h)(H,null,An,Tn,Object(q.h)("p",null,Object(q.h)(U,null,It(Je))),Dn),Object(q.h)(H,null,qn,In,Object(q.h)("p",null,Object(q.h)(U,null,It(Xe)))),Object(q.h)(H,null,Fn,Hn,Bn,Nn,Object(q.h)("p",null,Object(q.h)(U,null,It(Ye)))),Object(q.h)(H,null,Rn,$n,Object(q.h)("p",null,Object(q.h)(U,null,It(et))))),Vn,Object(q.h)(K,null,Object(q.h)(H,null,Un,Wn,Gn,Object(q.h)("p",null,"Esiste un'unità elementare: ",Object(q.h)(U,null,It(tt)),"."),Kn),Zn),Qn,Jn,Xn,Yn,ea,Object(q.h)(K,null,Object(q.h)(H,null,ta,ra,Object(q.h)("p",null,Object(q.h)(U,null,It(rt))),Object(q.h)("p",null,Object(q.h)(U,null,It(nt))," è la ",na,", e vale ",Object(q.h)(U,null,It(at)),".")),Object(q.h)(H,null,aa,Object(q.h)("p",null,"La costante ",Object(q.h)(U,null,It(nt))," è in realtà dipendente da un altra costante, ",Object(q.h)(U,null,It(ot)),", la ",oa,"."),Object(q.h)("p",null,Object(q.h)(U,null,It(lt))),Object(q.h)("p",null,Object(q.h)(U,null,It(it)))),Object(q.h)(H,null,la,ia,Object(q.h)("p",null,Object(q.h)(U,null,It(ct)))),Object(q.h)(H,null,ca,sa,ua,ha,Object(q.h)("p",null,Object(q.h)(U,null,It(st))),Object(q.h)("p",null,"(dove ",Object(q.h)(U,null,It(ut))," è il vettore dell'area che abbiamo scelto.)")),Object(q.h)(H,null,pa,da,Object(q.h)("p",null,Object(q.h)(U,null,It(ht))),ba)),fa,Object(q.h)(K,null,Object(q.h)(H,null,_a,Object(q.h)("p",null,"Un corpo carico vicino ad altre cariche possiede un'",ma," ",Object(q.h)(U,null,It(pt)),"."))),ga,Object(q.h)(K,null,Object(q.h)(H,null,va,ja,Object(q.h)("p",null,Object(q.h)(U,null,It(dt))),Object(q.h)("p",null,"La sua unità di misura è il Volt (",Object(q.h)(U,null,It(bt)),")."),wa),Object(q.h)(H,null,Oa,ka,Object(q.h)("p",null,Object(q.h)(U,null,It(ft))),ya,Object(q.h)("p",null,"La sua unità di misura è l'Ampere (",Object(q.h)(U,null,It(_t)),").")),za,Pa,Object(q.h)(H,null,xa,Ca,Object(q.h)("p",null,Object(q.h)(U,null,It(mt))))),Sa,Object(q.h)(K,null,Object(q.h)(H,null,Ea,Ma,La,Object(q.h)("p",null,Object(q.h)(U,null,It(gt))),Object(q.h)("p",null,"Dove ",Object(q.h)(U,null,It(vt))," è una costante detta ",Aa," con unità di misura Ohm (",Object(q.h)(U,null,It(jt)),")."),Ta,Object(q.h)("p",null,Object(q.h)(U,null,It(wt))),Object(q.h)("p",null,Object(q.h)(U,null,It(Ot))," è la ",Da," del materiale, e varia in base alla temperatura:"),Object(q.h)("p",null,Object(q.h)(U,null,It(kt)))),Object(q.h)(H,null,qa,Ia,Fa,Ha,Object(q.h)("p",null,Object(q.h)(U,null,It(yt))),Ba,Na,Object(q.h)("p",null,Object(q.h)(U,null,It(zt))),Object(q.h)("p",null,"Dove ",Object(q.h)(U,null,It(Pt))," è la ",Ra," del materiale inserito, ",Object(q.h)(U,null,It(_t))," l'area di una armatura e ",Object(q.h)(U,null,It(xt))," la distanza tra le due armature."),$a,Object(q.h)("p",null,"La sua unità di misura è il Farad (",Object(q.h)(U,null,It(Ct)),")")),Va,Ua),Wa,Ga,Ka,Za,Qa,Object(q.h)(K,null,Object(q.h)(H,null,Ja,Xa,Object(q.h)("p",null,Object(q.h)(U,null,It(St)))),Object(q.h)(H,null,Ya,eo,Object(q.h)("p",null,Object(q.h)(U,null,It(Et))))),to,Object(q.h)(K,null,Object(q.h)(H,null,ro,no,Object(q.h)("p",null,Object(q.h)(U,null,It(Mt)))),Object(q.h)(H,null,ao,oo,Object(q.h)("p",null,Object(q.h)(U,null,It(Lt))))),lo,io,Object(q.h)(K,null,Object(q.h)(H,null,co,so,uo,Object(q.h)("p",null,Object(q.h)(U,null,It(At))),Object(q.h)("p",null,"Dove ",Object(q.h)(U,null,It(Tt))," è l'intensità del campo magnetico e ",Object(q.h)(U,null,It(Dt))," la velocità della carica considerata."),ho,po),Object(q.h)(H,null,bo,fo,Object(q.h)("p",null,Object(q.h)(U,null,It(qt))))))},t}(q.Component),mo=r("qMTX"),go=r.n(mo),vo=Object(q.h)("a",{href:"https://creativecommons.org/licenses/by-sa/4.0/"},"CC BY-SA 4.0"),jo=Object(q.h)("a",{href:"https://github.com/Steffo99/appuntiweb"},"Codice sorgente"),wo=function(e){function t(){return E(this,t),M(this,e.apply(this,arguments))}return L(t,e),t.prototype.render=function(){return Object(q.h)("div",{class:go.a.copyright},"© 2019 - Stefano Pigozzi - ",vo," - ",jo)},t}(q.Component);r.d(t,"default",function(){return ko});var Oo=(String,Object(q.h)("div",{id:"app"},Object(q.h)(_o,null),Object(q.h)(wo,null))),ko=function(e){function t(){return A(this,t),T(this,e.apply(this,arguments))}return D(t,e),t.prototype.render=function(){return Oo},t}(q.Component)},KM04:function(e){!function(){"use strict";function t(e,t){var r,n,a,o,l=A;for(o=arguments.length;o-- >2;)L.push(arguments[o]);for(t&&null!=t.children&&(L.length||L.push(t.children),delete t.children);L.length;)if((n=L.pop())&&void 0!==n.pop)for(o=n.length;o--;)L.push(n[o]);else"boolean"==typeof n&&(n=null),(a="function"!=typeof e)&&(null==n?n="":"number"==typeof n?n+="":"string"!=typeof n&&(a=!1)),a&&r?l[l.length-1]+=n:l===A?l=[n]:l.push(n),r=a;var i=new E;return i.nodeName=e,i.children=l,i.attributes=null==t?void 0:t,i.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(i),i}function r(e,t){for(var r in t)e[r]=t[r];return e}function n(e,t){e&&("function"==typeof e?e(t):e.current=t)}function a(e,n){return t(e.nodeName,r(r({},e.attributes),n),arguments.length>2?[].slice.call(arguments,2):e.children)}function o(e){!e.__d&&(e.__d=!0)&&1==q.push(e)&&(M.debounceRendering||T)(l)}function l(){for(var e;e=q.pop();)e.__d&&y(e)}function i(e,t,r){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):r||e._componentConstructor===t.nodeName}function c(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function s(e){var t=r({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var a in n)void 0===t[a]&&(t[a]=n[a]);return t}function u(e,t){var r=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return r.__n=e,r}function h(e){var t=e.parentNode;t&&t.removeChild(e)}function p(e,t,r,a,o){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n(r,null),n(a,e);else if("class"!==t||o)if("style"===t){if(a&&"string"!=typeof a&&"string"!=typeof r||(e.style.cssText=a||""),a&&"object"==typeof a){if("string"!=typeof r)for(var l in r)l in a||(e.style[l]="");for(var l in a)e.style[l]="number"==typeof a[l]&&!1===D.test(l)?a[l]+"px":a[l]}}else if("dangerouslySetInnerHTML"===t)a&&(e.innerHTML=a.__html||"");else if("o"==t[0]&&"n"==t[1]){var i=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),a?r||e.addEventListener(t,d,i):e.removeEventListener(t,d,i),(e.__l||(e.__l={}))[t]=a}else if("list"!==t&&"type"!==t&&!o&&t in e){try{e[t]=null==a?"":a}catch(e){}null!=a&&!1!==a||"spellcheck"==t||e.removeAttribute(t)}else{var c=o&&t!==(t=t.replace(/^xlink:?/,""));null==a||!1===a?c?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof a&&(c?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),a):e.setAttribute(t,a))}else e.className=a||""}function d(e){return this.__l[e.type](M.event&&M.event(e)||e)}function b(){for(var e;e=I.shift();)M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function f(e,t,r,n,a,o){F++||(H=null!=a&&void 0!==a.ownerSVGElement,B=null!=e&&!("__preactattr_"in e));var l=_(e,t,r,n,o);return a&&l.parentNode!==a&&a.appendChild(l),--F||(B=!1,o||b()),l}function _(e,t,r,n,a){var o=e,l=H;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||a)?e.nodeValue!=t&&(e.nodeValue=t):(o=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(o,e),g(e,!0))),o.__preactattr_=!0,o;var i=t.nodeName;if("function"==typeof i)return z(e,t,r,n);if(H="svg"===i||"foreignObject"!==i&&H,i+="",(!e||!c(e,i))&&(o=u(i,H),e)){for(;e.firstChild;)o.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(o,e),g(e,!0)}var s=o.firstChild,h=o.__preactattr_,p=t.children;if(null==h){h=o.__preactattr_={};for(var d=o.attributes,b=d.length;b--;)h[d[b].name]=d[b].value}return!B&&p&&1===p.length&&"string"==typeof p[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=p[0]&&(s.nodeValue=p[0]):(p&&p.length||null!=s)&&m(o,p,r,n,B||null!=h.dangerouslySetInnerHTML),j(o,t.attributes,h),H=l,o}function m(e,t,r,n,a){var o,l,c,s,u,p=e.childNodes,d=[],b={},f=0,m=0,v=p.length,j=0,w=t?t.length:0;if(0!==v)for(var O=0;O (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\
foo\\
',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n }\n\n function allOptionsOn() {\n 'use strict';\n\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n }\n\n /**\n * Created by Tivie on 06-01-2015.\n */\n\n // Private properties\n var showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n /**\n * helper namespace\n * @type {{}}\n */\n showdown.helper = {};\n\n /**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\n showdown.extensions = {};\n\n /**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\n showdown.setOption = function (key, value) {\n 'use strict';\n\n globalOptions[key] = value;\n return this;\n };\n\n /**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\n showdown.getOption = function (key) {\n 'use strict';\n\n return globalOptions[key];\n };\n\n /**\n * Get the global options\n * @static\n * @returns {{}}\n */\n showdown.getOptions = function () {\n 'use strict';\n\n return globalOptions;\n };\n\n /**\n * Reset global options to the default values\n * @static\n */\n showdown.resetOptions = function () {\n 'use strict';\n\n globalOptions = getDefaultOpts(true);\n };\n\n /**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\n showdown.setFlavor = function (name) {\n 'use strict';\n\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor\n * @returns {string}\n */\n showdown.getFlavor = function () {\n 'use strict';\n\n return setFlavor;\n };\n\n /**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\n showdown.getFlavorOptions = function (name) {\n 'use strict';\n\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n };\n\n /**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\n showdown.getDefaultOptions = function (simple) {\n 'use strict';\n\n return getDefaultOpts(simple);\n };\n\n /**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\n showdown.subParser = function (name, func) {\n 'use strict';\n\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n };\n\n /**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\n showdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n };\n\n /**\n * Gets all extensions registered\n * @returns {{}}\n */\n showdown.getAllExtensions = function () {\n 'use strict';\n\n return extensions;\n };\n\n /**\n * Remove an extension\n * @param {string} name\n */\n showdown.removeExtension = function (name) {\n 'use strict';\n\n delete extensions[name];\n };\n\n /**\n * Removes all extensions\n */\n showdown.resetExtensions = function () {\n 'use strict';\n\n extensions = {};\n };\n\n /**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\n function validate(extension, name) {\n 'use strict';\n\n var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n }\n\n /**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\n showdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n };\n\n /**\n * showdownjs helper functions\n */\n\n if (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n }\n\n /**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\n showdown.helper.isString = function (a) {\n 'use strict';\n\n return typeof a === 'string' || a instanceof String;\n };\n\n /**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isFunction = function (a) {\n 'use strict';\n\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n };\n\n /**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isArray = function (a) {\n 'use strict';\n\n return Array.isArray(a);\n };\n\n /**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\n showdown.helper.isUndefined = function (value) {\n 'use strict';\n\n return typeof value === 'undefined';\n };\n\n /**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\n showdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof obj === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n };\n\n /**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\n showdown.helper.stdExtName = function (s) {\n 'use strict';\n\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n };\n\n function escapeCharactersCallback(wholeMatch, m1) {\n 'use strict';\n\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n }\n\n /**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\n showdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n /**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\n showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n };\n\n /**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\n showdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt.replace(/"/g, '\"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');\n };\n\n var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) {\n 'use strict';\n\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t,\n s,\n m,\n start,\n end;\n\n do {\n t = 0;\n while (m = x.exec(str)) {\n if (l.test(m[0])) {\n if (!t++) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (! --t) {\n end = m.index + m[0].length;\n var obj = {\n left: { start: start, end: s },\n match: { start: s, end: m.index },\n right: { start: m.index, end: end },\n wholeMatch: { start: start, end: end }\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n };\n\n /**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"
test
\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\n showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]);\n }\n return results;\n };\n\n /**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\n showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function replacement() {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)));\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n };\n\n /**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\n showdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf;\n };\n\n /**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\n showdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n };\n\n /**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\n showdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n\n var encode = [function (ch) {\n return '&#' + ch.charCodeAt(0) + ';';\n }, function (ch) {\n return '&#x' + ch.charCodeAt(0).toString(16) + ';';\n }, function (ch) {\n return ch;\n }];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch);\n }\n return ch;\n });\n\n return mail;\n };\n\n /**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\n showdown.helper.padEnd = function padEnd(str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n\n targetLength = targetLength >> 0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0, targetLength);\n }\n };\n\n /**\n * POLYFILLS\n */\n // use this instead of builtin is undefined for IE8 compatibility\n if (typeof console === 'undefined') {\n console = {\n warn: function warn(msg) {\n 'use strict';\n\n alert(msg);\n },\n log: function log(msg) {\n 'use strict';\n\n alert(msg);\n },\n error: function error(msg) {\n 'use strict';\n\n throw msg;\n }\n };\n }\n\n /**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\n showdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n };\n\n /**\n * EMOJIS LIST\n */\n showdown.helper.emojis = {\n '+1': '\\uD83D\\uDC4D',\n '-1': '\\uD83D\\uDC4E',\n '100': '\\uD83D\\uDCAF',\n '1234': '\\uD83D\\uDD22',\n '1st_place_medal': '\\uD83E\\uDD47',\n '2nd_place_medal': '\\uD83E\\uDD48',\n '3rd_place_medal': '\\uD83E\\uDD49',\n '8ball': '\\uD83C\\uDFB1',\n 'a': '\\uD83C\\uDD70\\uFE0F',\n 'ab': '\\uD83C\\uDD8E',\n 'abc': '\\uD83D\\uDD24',\n 'abcd': '\\uD83D\\uDD21',\n 'accept': '\\uD83C\\uDE51',\n 'aerial_tramway': '\\uD83D\\uDEA1',\n 'airplane': '\\u2708\\uFE0F',\n 'alarm_clock': '\\u23F0',\n 'alembic': '\\u2697\\uFE0F',\n 'alien': '\\uD83D\\uDC7D',\n 'ambulance': '\\uD83D\\uDE91',\n 'amphora': '\\uD83C\\uDFFA',\n 'anchor': '\\u2693\\uFE0F',\n 'angel': '\\uD83D\\uDC7C',\n 'anger': '\\uD83D\\uDCA2',\n 'angry': '\\uD83D\\uDE20',\n 'anguished': '\\uD83D\\uDE27',\n 'ant': '\\uD83D\\uDC1C',\n 'apple': '\\uD83C\\uDF4E',\n 'aquarius': '\\u2652\\uFE0F',\n 'aries': '\\u2648\\uFE0F',\n 'arrow_backward': '\\u25C0\\uFE0F',\n 'arrow_double_down': '\\u23EC',\n 'arrow_double_up': '\\u23EB',\n 'arrow_down': '\\u2B07\\uFE0F',\n 'arrow_down_small': '\\uD83D\\uDD3D',\n 'arrow_forward': '\\u25B6\\uFE0F',\n 'arrow_heading_down': '\\u2935\\uFE0F',\n 'arrow_heading_up': '\\u2934\\uFE0F',\n 'arrow_left': '\\u2B05\\uFE0F',\n 'arrow_lower_left': '\\u2199\\uFE0F',\n 'arrow_lower_right': '\\u2198\\uFE0F',\n 'arrow_right': '\\u27A1\\uFE0F',\n 'arrow_right_hook': '\\u21AA\\uFE0F',\n 'arrow_up': '\\u2B06\\uFE0F',\n 'arrow_up_down': '\\u2195\\uFE0F',\n 'arrow_up_small': '\\uD83D\\uDD3C',\n 'arrow_upper_left': '\\u2196\\uFE0F',\n 'arrow_upper_right': '\\u2197\\uFE0F',\n 'arrows_clockwise': '\\uD83D\\uDD03',\n 'arrows_counterclockwise': '\\uD83D\\uDD04',\n 'art': '\\uD83C\\uDFA8',\n 'articulated_lorry': '\\uD83D\\uDE9B',\n 'artificial_satellite': '\\uD83D\\uDEF0',\n 'astonished': '\\uD83D\\uDE32',\n 'athletic_shoe': '\\uD83D\\uDC5F',\n 'atm': '\\uD83C\\uDFE7',\n 'atom_symbol': '\\u269B\\uFE0F',\n 'avocado': '\\uD83E\\uDD51',\n 'b': '\\uD83C\\uDD71\\uFE0F',\n 'baby': '\\uD83D\\uDC76',\n 'baby_bottle': '\\uD83C\\uDF7C',\n 'baby_chick': '\\uD83D\\uDC24',\n 'baby_symbol': '\\uD83D\\uDEBC',\n 'back': '\\uD83D\\uDD19',\n 'bacon': '\\uD83E\\uDD53',\n 'badminton': '\\uD83C\\uDFF8',\n 'baggage_claim': '\\uD83D\\uDEC4',\n 'baguette_bread': '\\uD83E\\uDD56',\n 'balance_scale': '\\u2696\\uFE0F',\n 'balloon': '\\uD83C\\uDF88',\n 'ballot_box': '\\uD83D\\uDDF3',\n 'ballot_box_with_check': '\\u2611\\uFE0F',\n 'bamboo': '\\uD83C\\uDF8D',\n 'banana': '\\uD83C\\uDF4C',\n 'bangbang': '\\u203C\\uFE0F',\n 'bank': '\\uD83C\\uDFE6',\n 'bar_chart': '\\uD83D\\uDCCA',\n 'barber': '\\uD83D\\uDC88',\n 'baseball': '\\u26BE\\uFE0F',\n 'basketball': '\\uD83C\\uDFC0',\n 'basketball_man': '\\u26F9\\uFE0F',\n 'basketball_woman': '\\u26F9\\uFE0F‍\\u2640\\uFE0F',\n 'bat': '\\uD83E\\uDD87',\n 'bath': '\\uD83D\\uDEC0',\n 'bathtub': '\\uD83D\\uDEC1',\n 'battery': '\\uD83D\\uDD0B',\n 'beach_umbrella': '\\uD83C\\uDFD6',\n 'bear': '\\uD83D\\uDC3B',\n 'bed': '\\uD83D\\uDECF',\n 'bee': '\\uD83D\\uDC1D',\n 'beer': '\\uD83C\\uDF7A',\n 'beers': '\\uD83C\\uDF7B',\n 'beetle': '\\uD83D\\uDC1E',\n 'beginner': '\\uD83D\\uDD30',\n 'bell': '\\uD83D\\uDD14',\n 'bellhop_bell': '\\uD83D\\uDECE',\n 'bento': '\\uD83C\\uDF71',\n 'biking_man': '\\uD83D\\uDEB4',\n 'bike': '\\uD83D\\uDEB2',\n 'biking_woman': '\\uD83D\\uDEB4‍\\u2640\\uFE0F',\n 'bikini': '\\uD83D\\uDC59',\n 'biohazard': '\\u2623\\uFE0F',\n 'bird': '\\uD83D\\uDC26',\n 'birthday': '\\uD83C\\uDF82',\n 'black_circle': '\\u26AB\\uFE0F',\n 'black_flag': '\\uD83C\\uDFF4',\n 'black_heart': '\\uD83D\\uDDA4',\n 'black_joker': '\\uD83C\\uDCCF',\n 'black_large_square': '\\u2B1B\\uFE0F',\n 'black_medium_small_square': '\\u25FE\\uFE0F',\n 'black_medium_square': '\\u25FC\\uFE0F',\n 'black_nib': '\\u2712\\uFE0F',\n 'black_small_square': '\\u25AA\\uFE0F',\n 'black_square_button': '\\uD83D\\uDD32',\n 'blonde_man': '\\uD83D\\uDC71',\n 'blonde_woman': '\\uD83D\\uDC71‍\\u2640\\uFE0F',\n 'blossom': '\\uD83C\\uDF3C',\n 'blowfish': '\\uD83D\\uDC21',\n 'blue_book': '\\uD83D\\uDCD8',\n 'blue_car': '\\uD83D\\uDE99',\n 'blue_heart': '\\uD83D\\uDC99',\n 'blush': '\\uD83D\\uDE0A',\n 'boar': '\\uD83D\\uDC17',\n 'boat': '\\u26F5\\uFE0F',\n 'bomb': '\\uD83D\\uDCA3',\n 'book': '\\uD83D\\uDCD6',\n 'bookmark': '\\uD83D\\uDD16',\n 'bookmark_tabs': '\\uD83D\\uDCD1',\n 'books': '\\uD83D\\uDCDA',\n 'boom': '\\uD83D\\uDCA5',\n 'boot': '\\uD83D\\uDC62',\n 'bouquet': '\\uD83D\\uDC90',\n 'bowing_man': '\\uD83D\\uDE47',\n 'bow_and_arrow': '\\uD83C\\uDFF9',\n 'bowing_woman': '\\uD83D\\uDE47‍\\u2640\\uFE0F',\n 'bowling': '\\uD83C\\uDFB3',\n 'boxing_glove': '\\uD83E\\uDD4A',\n 'boy': '\\uD83D\\uDC66',\n 'bread': '\\uD83C\\uDF5E',\n 'bride_with_veil': '\\uD83D\\uDC70',\n 'bridge_at_night': '\\uD83C\\uDF09',\n 'briefcase': '\\uD83D\\uDCBC',\n 'broken_heart': '\\uD83D\\uDC94',\n 'bug': '\\uD83D\\uDC1B',\n 'building_construction': '\\uD83C\\uDFD7',\n 'bulb': '\\uD83D\\uDCA1',\n 'bullettrain_front': '\\uD83D\\uDE85',\n 'bullettrain_side': '\\uD83D\\uDE84',\n 'burrito': '\\uD83C\\uDF2F',\n 'bus': '\\uD83D\\uDE8C',\n 'business_suit_levitating': '\\uD83D\\uDD74',\n 'busstop': '\\uD83D\\uDE8F',\n 'bust_in_silhouette': '\\uD83D\\uDC64',\n 'busts_in_silhouette': '\\uD83D\\uDC65',\n 'butterfly': '\\uD83E\\uDD8B',\n 'cactus': '\\uD83C\\uDF35',\n 'cake': '\\uD83C\\uDF70',\n 'calendar': '\\uD83D\\uDCC6',\n 'call_me_hand': '\\uD83E\\uDD19',\n 'calling': '\\uD83D\\uDCF2',\n 'camel': '\\uD83D\\uDC2B',\n 'camera': '\\uD83D\\uDCF7',\n 'camera_flash': '\\uD83D\\uDCF8',\n 'camping': '\\uD83C\\uDFD5',\n 'cancer': '\\u264B\\uFE0F',\n 'candle': '\\uD83D\\uDD6F',\n 'candy': '\\uD83C\\uDF6C',\n 'canoe': '\\uD83D\\uDEF6',\n 'capital_abcd': '\\uD83D\\uDD20',\n 'capricorn': '\\u2651\\uFE0F',\n 'car': '\\uD83D\\uDE97',\n 'card_file_box': '\\uD83D\\uDDC3',\n 'card_index': '\\uD83D\\uDCC7',\n 'card_index_dividers': '\\uD83D\\uDDC2',\n 'carousel_horse': '\\uD83C\\uDFA0',\n 'carrot': '\\uD83E\\uDD55',\n 'cat': '\\uD83D\\uDC31',\n 'cat2': '\\uD83D\\uDC08',\n 'cd': '\\uD83D\\uDCBF',\n 'chains': '\\u26D3',\n 'champagne': '\\uD83C\\uDF7E',\n 'chart': '\\uD83D\\uDCB9',\n 'chart_with_downwards_trend': '\\uD83D\\uDCC9',\n 'chart_with_upwards_trend': '\\uD83D\\uDCC8',\n 'checkered_flag': '\\uD83C\\uDFC1',\n 'cheese': '\\uD83E\\uDDC0',\n 'cherries': '\\uD83C\\uDF52',\n 'cherry_blossom': '\\uD83C\\uDF38',\n 'chestnut': '\\uD83C\\uDF30',\n 'chicken': '\\uD83D\\uDC14',\n 'children_crossing': '\\uD83D\\uDEB8',\n 'chipmunk': '\\uD83D\\uDC3F',\n 'chocolate_bar': '\\uD83C\\uDF6B',\n 'christmas_tree': '\\uD83C\\uDF84',\n 'church': '\\u26EA\\uFE0F',\n 'cinema': '\\uD83C\\uDFA6',\n 'circus_tent': '\\uD83C\\uDFAA',\n 'city_sunrise': '\\uD83C\\uDF07',\n 'city_sunset': '\\uD83C\\uDF06',\n 'cityscape': '\\uD83C\\uDFD9',\n 'cl': '\\uD83C\\uDD91',\n 'clamp': '\\uD83D\\uDDDC',\n 'clap': '\\uD83D\\uDC4F',\n 'clapper': '\\uD83C\\uDFAC',\n 'classical_building': '\\uD83C\\uDFDB',\n 'clinking_glasses': '\\uD83E\\uDD42',\n 'clipboard': '\\uD83D\\uDCCB',\n 'clock1': '\\uD83D\\uDD50',\n 'clock10': '\\uD83D\\uDD59',\n 'clock1030': '\\uD83D\\uDD65',\n 'clock11': '\\uD83D\\uDD5A',\n 'clock1130': '\\uD83D\\uDD66',\n 'clock12': '\\uD83D\\uDD5B',\n 'clock1230': '\\uD83D\\uDD67',\n 'clock130': '\\uD83D\\uDD5C',\n 'clock2': '\\uD83D\\uDD51',\n 'clock230': '\\uD83D\\uDD5D',\n 'clock3': '\\uD83D\\uDD52',\n 'clock330': '\\uD83D\\uDD5E',\n 'clock4': '\\uD83D\\uDD53',\n 'clock430': '\\uD83D\\uDD5F',\n 'clock5': '\\uD83D\\uDD54',\n 'clock530': '\\uD83D\\uDD60',\n 'clock6': '\\uD83D\\uDD55',\n 'clock630': '\\uD83D\\uDD61',\n 'clock7': '\\uD83D\\uDD56',\n 'clock730': '\\uD83D\\uDD62',\n 'clock8': '\\uD83D\\uDD57',\n 'clock830': '\\uD83D\\uDD63',\n 'clock9': '\\uD83D\\uDD58',\n 'clock930': '\\uD83D\\uDD64',\n 'closed_book': '\\uD83D\\uDCD5',\n 'closed_lock_with_key': '\\uD83D\\uDD10',\n 'closed_umbrella': '\\uD83C\\uDF02',\n 'cloud': '\\u2601\\uFE0F',\n 'cloud_with_lightning': '\\uD83C\\uDF29',\n 'cloud_with_lightning_and_rain': '\\u26C8',\n 'cloud_with_rain': '\\uD83C\\uDF27',\n 'cloud_with_snow': '\\uD83C\\uDF28',\n 'clown_face': '\\uD83E\\uDD21',\n 'clubs': '\\u2663\\uFE0F',\n 'cocktail': '\\uD83C\\uDF78',\n 'coffee': '\\u2615\\uFE0F',\n 'coffin': '\\u26B0\\uFE0F',\n 'cold_sweat': '\\uD83D\\uDE30',\n 'comet': '\\u2604\\uFE0F',\n 'computer': '\\uD83D\\uDCBB',\n 'computer_mouse': '\\uD83D\\uDDB1',\n 'confetti_ball': '\\uD83C\\uDF8A',\n 'confounded': '\\uD83D\\uDE16',\n 'confused': '\\uD83D\\uDE15',\n 'congratulations': '\\u3297\\uFE0F',\n 'construction': '\\uD83D\\uDEA7',\n 'construction_worker_man': '\\uD83D\\uDC77',\n 'construction_worker_woman': '\\uD83D\\uDC77‍\\u2640\\uFE0F',\n 'control_knobs': '\\uD83C\\uDF9B',\n 'convenience_store': '\\uD83C\\uDFEA',\n 'cookie': '\\uD83C\\uDF6A',\n 'cool': '\\uD83C\\uDD92',\n 'policeman': '\\uD83D\\uDC6E',\n 'copyright': '\\xA9\\uFE0F',\n 'corn': '\\uD83C\\uDF3D',\n 'couch_and_lamp': '\\uD83D\\uDECB',\n 'couple': '\\uD83D\\uDC6B',\n 'couple_with_heart_woman_man': '\\uD83D\\uDC91',\n 'couple_with_heart_man_man': '\\uD83D\\uDC68‍\\u2764\\uFE0F‍\\uD83D\\uDC68',\n 'couple_with_heart_woman_woman': '\\uD83D\\uDC69‍\\u2764\\uFE0F‍\\uD83D\\uDC69',\n 'couplekiss_man_man': '\\uD83D\\uDC68‍\\u2764\\uFE0F‍\\uD83D\\uDC8B‍\\uD83D\\uDC68',\n 'couplekiss_man_woman': '\\uD83D\\uDC8F',\n 'couplekiss_woman_woman': '\\uD83D\\uDC69‍\\u2764\\uFE0F‍\\uD83D\\uDC8B‍\\uD83D\\uDC69',\n 'cow': '\\uD83D\\uDC2E',\n 'cow2': '\\uD83D\\uDC04',\n 'cowboy_hat_face': '\\uD83E\\uDD20',\n 'crab': '\\uD83E\\uDD80',\n 'crayon': '\\uD83D\\uDD8D',\n 'credit_card': '\\uD83D\\uDCB3',\n 'crescent_moon': '\\uD83C\\uDF19',\n 'cricket': '\\uD83C\\uDFCF',\n 'crocodile': '\\uD83D\\uDC0A',\n 'croissant': '\\uD83E\\uDD50',\n 'crossed_fingers': '\\uD83E\\uDD1E',\n 'crossed_flags': '\\uD83C\\uDF8C',\n 'crossed_swords': '\\u2694\\uFE0F',\n 'crown': '\\uD83D\\uDC51',\n 'cry': '\\uD83D\\uDE22',\n 'crying_cat_face': '\\uD83D\\uDE3F',\n 'crystal_ball': '\\uD83D\\uDD2E',\n 'cucumber': '\\uD83E\\uDD52',\n 'cupid': '\\uD83D\\uDC98',\n 'curly_loop': '\\u27B0',\n 'currency_exchange': '\\uD83D\\uDCB1',\n 'curry': '\\uD83C\\uDF5B',\n 'custard': '\\uD83C\\uDF6E',\n 'customs': '\\uD83D\\uDEC3',\n 'cyclone': '\\uD83C\\uDF00',\n 'dagger': '\\uD83D\\uDDE1',\n 'dancer': '\\uD83D\\uDC83',\n 'dancing_women': '\\uD83D\\uDC6F',\n 'dancing_men': '\\uD83D\\uDC6F‍\\u2642\\uFE0F',\n 'dango': '\\uD83C\\uDF61',\n 'dark_sunglasses': '\\uD83D\\uDD76',\n 'dart': '\\uD83C\\uDFAF',\n 'dash': '\\uD83D\\uDCA8',\n 'date': '\\uD83D\\uDCC5',\n 'deciduous_tree': '\\uD83C\\uDF33',\n 'deer': '\\uD83E\\uDD8C',\n 'department_store': '\\uD83C\\uDFEC',\n 'derelict_house': '\\uD83C\\uDFDA',\n 'desert': '\\uD83C\\uDFDC',\n 'desert_island': '\\uD83C\\uDFDD',\n 'desktop_computer': '\\uD83D\\uDDA5',\n 'male_detective': '\\uD83D\\uDD75\\uFE0F',\n 'diamond_shape_with_a_dot_inside': '\\uD83D\\uDCA0',\n 'diamonds': '\\u2666\\uFE0F',\n 'disappointed': '\\uD83D\\uDE1E',\n 'disappointed_relieved': '\\uD83D\\uDE25',\n 'dizzy': '\\uD83D\\uDCAB',\n 'dizzy_face': '\\uD83D\\uDE35',\n 'do_not_litter': '\\uD83D\\uDEAF',\n 'dog': '\\uD83D\\uDC36',\n 'dog2': '\\uD83D\\uDC15',\n 'dollar': '\\uD83D\\uDCB5',\n 'dolls': '\\uD83C\\uDF8E',\n 'dolphin': '\\uD83D\\uDC2C',\n 'door': '\\uD83D\\uDEAA',\n 'doughnut': '\\uD83C\\uDF69',\n 'dove': '\\uD83D\\uDD4A',\n 'dragon': '\\uD83D\\uDC09',\n 'dragon_face': '\\uD83D\\uDC32',\n 'dress': '\\uD83D\\uDC57',\n 'dromedary_camel': '\\uD83D\\uDC2A',\n 'drooling_face': '\\uD83E\\uDD24',\n 'droplet': '\\uD83D\\uDCA7',\n 'drum': '\\uD83E\\uDD41',\n 'duck': '\\uD83E\\uDD86',\n 'dvd': '\\uD83D\\uDCC0',\n 'e-mail': '\\uD83D\\uDCE7',\n 'eagle': '\\uD83E\\uDD85',\n 'ear': '\\uD83D\\uDC42',\n 'ear_of_rice': '\\uD83C\\uDF3E',\n 'earth_africa': '\\uD83C\\uDF0D',\n 'earth_americas': '\\uD83C\\uDF0E',\n 'earth_asia': '\\uD83C\\uDF0F',\n 'egg': '\\uD83E\\uDD5A',\n 'eggplant': '\\uD83C\\uDF46',\n 'eight_pointed_black_star': '\\u2734\\uFE0F',\n 'eight_spoked_asterisk': '\\u2733\\uFE0F',\n 'electric_plug': '\\uD83D\\uDD0C',\n 'elephant': '\\uD83D\\uDC18',\n 'email': '\\u2709\\uFE0F',\n 'end': '\\uD83D\\uDD1A',\n 'envelope_with_arrow': '\\uD83D\\uDCE9',\n 'euro': '\\uD83D\\uDCB6',\n 'european_castle': '\\uD83C\\uDFF0',\n 'european_post_office': '\\uD83C\\uDFE4',\n 'evergreen_tree': '\\uD83C\\uDF32',\n 'exclamation': '\\u2757\\uFE0F',\n 'expressionless': '\\uD83D\\uDE11',\n 'eye': '\\uD83D\\uDC41',\n 'eye_speech_bubble': '\\uD83D\\uDC41‍\\uD83D\\uDDE8',\n 'eyeglasses': '\\uD83D\\uDC53',\n 'eyes': '\\uD83D\\uDC40',\n 'face_with_head_bandage': '\\uD83E\\uDD15',\n 'face_with_thermometer': '\\uD83E\\uDD12',\n 'fist_oncoming': '\\uD83D\\uDC4A',\n 'factory': '\\uD83C\\uDFED',\n 'fallen_leaf': '\\uD83C\\uDF42',\n 'family_man_woman_boy': '\\uD83D\\uDC6A',\n 'family_man_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC66',\n 'family_man_boy_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC66‍\\uD83D\\uDC66',\n 'family_man_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC67',\n 'family_man_girl_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC67‍\\uD83D\\uDC66',\n 'family_man_girl_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC67‍\\uD83D\\uDC67',\n 'family_man_man_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC68‍\\uD83D\\uDC66',\n 'family_man_man_boy_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC68‍\\uD83D\\uDC66‍\\uD83D\\uDC66',\n 'family_man_man_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC68‍\\uD83D\\uDC67',\n 'family_man_man_girl_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC68‍\\uD83D\\uDC67‍\\uD83D\\uDC66',\n 'family_man_man_girl_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC68‍\\uD83D\\uDC67‍\\uD83D\\uDC67',\n 'family_man_woman_boy_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC69‍\\uD83D\\uDC66‍\\uD83D\\uDC66',\n 'family_man_woman_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC69‍\\uD83D\\uDC67',\n 'family_man_woman_girl_boy': '\\uD83D\\uDC68‍\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC66',\n 'family_man_woman_girl_girl': '\\uD83D\\uDC68‍\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC67',\n 'family_woman_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC66',\n 'family_woman_boy_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC66‍\\uD83D\\uDC66',\n 'family_woman_girl': '\\uD83D\\uDC69‍\\uD83D\\uDC67',\n 'family_woman_girl_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC66',\n 'family_woman_girl_girl': '\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC67',\n 'family_woman_woman_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC69‍\\uD83D\\uDC66',\n 'family_woman_woman_boy_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC69‍\\uD83D\\uDC66‍\\uD83D\\uDC66',\n 'family_woman_woman_girl': '\\uD83D\\uDC69‍\\uD83D\\uDC69‍\\uD83D\\uDC67',\n 'family_woman_woman_girl_boy': '\\uD83D\\uDC69‍\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC66',\n 'family_woman_woman_girl_girl': '\\uD83D\\uDC69‍\\uD83D\\uDC69‍\\uD83D\\uDC67‍\\uD83D\\uDC67',\n 'fast_forward': '\\u23E9',\n 'fax': '\\uD83D\\uDCE0',\n 'fearful': '\\uD83D\\uDE28',\n 'feet': '\\uD83D\\uDC3E',\n 'female_detective': '\\uD83D\\uDD75\\uFE0F‍\\u2640\\uFE0F',\n 'ferris_wheel': '\\uD83C\\uDFA1',\n 'ferry': '\\u26F4',\n 'field_hockey': '\\uD83C\\uDFD1',\n 'file_cabinet': '\\uD83D\\uDDC4',\n 'file_folder': '\\uD83D\\uDCC1',\n 'film_projector': '\\uD83D\\uDCFD',\n 'film_strip': '\\uD83C\\uDF9E',\n 'fire': '\\uD83D\\uDD25',\n 'fire_engine': '\\uD83D\\uDE92',\n 'fireworks': '\\uD83C\\uDF86',\n 'first_quarter_moon': '\\uD83C\\uDF13',\n 'first_quarter_moon_with_face': '\\uD83C\\uDF1B',\n 'fish': '\\uD83D\\uDC1F',\n 'fish_cake': '\\uD83C\\uDF65',\n 'fishing_pole_and_fish': '\\uD83C\\uDFA3',\n 'fist_raised': '\\u270A',\n 'fist_left': '\\uD83E\\uDD1B',\n 'fist_right': '\\uD83E\\uDD1C',\n 'flags': '\\uD83C\\uDF8F',\n 'flashlight': '\\uD83D\\uDD26',\n 'fleur_de_lis': '\\u269C\\uFE0F',\n 'flight_arrival': '\\uD83D\\uDEEC',\n 'flight_departure': '\\uD83D\\uDEEB',\n 'floppy_disk': '\\uD83D\\uDCBE',\n 'flower_playing_cards': '\\uD83C\\uDFB4',\n 'flushed': '\\uD83D\\uDE33',\n 'fog': '\\uD83C\\uDF2B',\n 'foggy': '\\uD83C\\uDF01',\n 'football': '\\uD83C\\uDFC8',\n 'footprints': '\\uD83D\\uDC63',\n 'fork_and_knife': '\\uD83C\\uDF74',\n 'fountain': '\\u26F2\\uFE0F',\n 'fountain_pen': '\\uD83D\\uDD8B',\n 'four_leaf_clover': '\\uD83C\\uDF40',\n 'fox_face': '\\uD83E\\uDD8A',\n 'framed_picture': '\\uD83D\\uDDBC',\n 'free': '\\uD83C\\uDD93',\n 'fried_egg': '\\uD83C\\uDF73',\n 'fried_shrimp': '\\uD83C\\uDF64',\n 'fries': '\\uD83C\\uDF5F',\n 'frog': '\\uD83D\\uDC38',\n 'frowning': '\\uD83D\\uDE26',\n 'frowning_face': '\\u2639\\uFE0F',\n 'frowning_man': '\\uD83D\\uDE4D‍\\u2642\\uFE0F',\n 'frowning_woman': '\\uD83D\\uDE4D',\n 'middle_finger': '\\uD83D\\uDD95',\n 'fuelpump': '\\u26FD\\uFE0F',\n 'full_moon': '\\uD83C\\uDF15',\n 'full_moon_with_face': '\\uD83C\\uDF1D',\n 'funeral_urn': '\\u26B1\\uFE0F',\n 'game_die': '\\uD83C\\uDFB2',\n 'gear': '\\u2699\\uFE0F',\n 'gem': '\\uD83D\\uDC8E',\n 'gemini': '\\u264A\\uFE0F',\n 'ghost': '\\uD83D\\uDC7B',\n 'gift': '\\uD83C\\uDF81',\n 'gift_heart': '\\uD83D\\uDC9D',\n 'girl': '\\uD83D\\uDC67',\n 'globe_with_meridians': '\\uD83C\\uDF10',\n 'goal_net': '\\uD83E\\uDD45',\n 'goat': '\\uD83D\\uDC10',\n 'golf': '\\u26F3\\uFE0F',\n 'golfing_man': '\\uD83C\\uDFCC\\uFE0F',\n 'golfing_woman': '\\uD83C\\uDFCC\\uFE0F‍\\u2640\\uFE0F',\n 'gorilla': '\\uD83E\\uDD8D',\n 'grapes': '\\uD83C\\uDF47',\n 'green_apple': '\\uD83C\\uDF4F',\n 'green_book': '\\uD83D\\uDCD7',\n 'green_heart': '\\uD83D\\uDC9A',\n 'green_salad': '\\uD83E\\uDD57',\n 'grey_exclamation': '\\u2755',\n 'grey_question': '\\u2754',\n 'grimacing': '\\uD83D\\uDE2C',\n 'grin': '\\uD83D\\uDE01',\n 'grinning': '\\uD83D\\uDE00',\n 'guardsman': '\\uD83D\\uDC82',\n 'guardswoman': '\\uD83D\\uDC82‍\\u2640\\uFE0F',\n 'guitar': '\\uD83C\\uDFB8',\n 'gun': '\\uD83D\\uDD2B',\n 'haircut_woman': '\\uD83D\\uDC87',\n 'haircut_man': '\\uD83D\\uDC87‍\\u2642\\uFE0F',\n 'hamburger': '\\uD83C\\uDF54',\n 'hammer': '\\uD83D\\uDD28',\n 'hammer_and_pick': '\\u2692',\n 'hammer_and_wrench': '\\uD83D\\uDEE0',\n 'hamster': '\\uD83D\\uDC39',\n 'hand': '\\u270B',\n 'handbag': '\\uD83D\\uDC5C',\n 'handshake': '\\uD83E\\uDD1D',\n 'hankey': '\\uD83D\\uDCA9',\n 'hatched_chick': '\\uD83D\\uDC25',\n 'hatching_chick': '\\uD83D\\uDC23',\n 'headphones': '\\uD83C\\uDFA7',\n 'hear_no_evil': '\\uD83D\\uDE49',\n 'heart': '\\u2764\\uFE0F',\n 'heart_decoration': '\\uD83D\\uDC9F',\n 'heart_eyes': '\\uD83D\\uDE0D',\n 'heart_eyes_cat': '\\uD83D\\uDE3B',\n 'heartbeat': '\\uD83D\\uDC93',\n 'heartpulse': '\\uD83D\\uDC97',\n 'hearts': '\\u2665\\uFE0F',\n 'heavy_check_mark': '\\u2714\\uFE0F',\n 'heavy_division_sign': '\\u2797',\n 'heavy_dollar_sign': '\\uD83D\\uDCB2',\n 'heavy_heart_exclamation': '\\u2763\\uFE0F',\n 'heavy_minus_sign': '\\u2796',\n 'heavy_multiplication_x': '\\u2716\\uFE0F',\n 'heavy_plus_sign': '\\u2795',\n 'helicopter': '\\uD83D\\uDE81',\n 'herb': '\\uD83C\\uDF3F',\n 'hibiscus': '\\uD83C\\uDF3A',\n 'high_brightness': '\\uD83D\\uDD06',\n 'high_heel': '\\uD83D\\uDC60',\n 'hocho': '\\uD83D\\uDD2A',\n 'hole': '\\uD83D\\uDD73',\n 'honey_pot': '\\uD83C\\uDF6F',\n 'horse': '\\uD83D\\uDC34',\n 'horse_racing': '\\uD83C\\uDFC7',\n 'hospital': '\\uD83C\\uDFE5',\n 'hot_pepper': '\\uD83C\\uDF36',\n 'hotdog': '\\uD83C\\uDF2D',\n 'hotel': '\\uD83C\\uDFE8',\n 'hotsprings': '\\u2668\\uFE0F',\n 'hourglass': '\\u231B\\uFE0F',\n 'hourglass_flowing_sand': '\\u23F3',\n 'house': '\\uD83C\\uDFE0',\n 'house_with_garden': '\\uD83C\\uDFE1',\n 'houses': '\\uD83C\\uDFD8',\n 'hugs': '\\uD83E\\uDD17',\n 'hushed': '\\uD83D\\uDE2F',\n 'ice_cream': '\\uD83C\\uDF68',\n 'ice_hockey': '\\uD83C\\uDFD2',\n 'ice_skate': '\\u26F8',\n 'icecream': '\\uD83C\\uDF66',\n 'id': '\\uD83C\\uDD94',\n 'ideograph_advantage': '\\uD83C\\uDE50',\n 'imp': '\\uD83D\\uDC7F',\n 'inbox_tray': '\\uD83D\\uDCE5',\n 'incoming_envelope': '\\uD83D\\uDCE8',\n 'tipping_hand_woman': '\\uD83D\\uDC81',\n 'information_source': '\\u2139\\uFE0F',\n 'innocent': '\\uD83D\\uDE07',\n 'interrobang': '\\u2049\\uFE0F',\n 'iphone': '\\uD83D\\uDCF1',\n 'izakaya_lantern': '\\uD83C\\uDFEE',\n 'jack_o_lantern': '\\uD83C\\uDF83',\n 'japan': '\\uD83D\\uDDFE',\n 'japanese_castle': '\\uD83C\\uDFEF',\n 'japanese_goblin': '\\uD83D\\uDC7A',\n 'japanese_ogre': '\\uD83D\\uDC79',\n 'jeans': '\\uD83D\\uDC56',\n 'joy': '\\uD83D\\uDE02',\n 'joy_cat': '\\uD83D\\uDE39',\n 'joystick': '\\uD83D\\uDD79',\n 'kaaba': '\\uD83D\\uDD4B',\n 'key': '\\uD83D\\uDD11',\n 'keyboard': '\\u2328\\uFE0F',\n 'keycap_ten': '\\uD83D\\uDD1F',\n 'kick_scooter': '\\uD83D\\uDEF4',\n 'kimono': '\\uD83D\\uDC58',\n 'kiss': '\\uD83D\\uDC8B',\n 'kissing': '\\uD83D\\uDE17',\n 'kissing_cat': '\\uD83D\\uDE3D',\n 'kissing_closed_eyes': '\\uD83D\\uDE1A',\n 'kissing_heart': '\\uD83D\\uDE18',\n 'kissing_smiling_eyes': '\\uD83D\\uDE19',\n 'kiwi_fruit': '\\uD83E\\uDD5D',\n 'koala': '\\uD83D\\uDC28',\n 'koko': '\\uD83C\\uDE01',\n 'label': '\\uD83C\\uDFF7',\n 'large_blue_circle': '\\uD83D\\uDD35',\n 'large_blue_diamond': '\\uD83D\\uDD37',\n 'large_orange_diamond': '\\uD83D\\uDD36',\n 'last_quarter_moon': '\\uD83C\\uDF17',\n 'last_quarter_moon_with_face': '\\uD83C\\uDF1C',\n 'latin_cross': '\\u271D\\uFE0F',\n 'laughing': '\\uD83D\\uDE06',\n 'leaves': '\\uD83C\\uDF43',\n 'ledger': '\\uD83D\\uDCD2',\n 'left_luggage': '\\uD83D\\uDEC5',\n 'left_right_arrow': '\\u2194\\uFE0F',\n 'leftwards_arrow_with_hook': '\\u21A9\\uFE0F',\n 'lemon': '\\uD83C\\uDF4B',\n 'leo': '\\u264C\\uFE0F',\n 'leopard': '\\uD83D\\uDC06',\n 'level_slider': '\\uD83C\\uDF9A',\n 'libra': '\\u264E\\uFE0F',\n 'light_rail': '\\uD83D\\uDE88',\n 'link': '\\uD83D\\uDD17',\n 'lion': '\\uD83E\\uDD81',\n 'lips': '\\uD83D\\uDC44',\n 'lipstick': '\\uD83D\\uDC84',\n 'lizard': '\\uD83E\\uDD8E',\n 'lock': '\\uD83D\\uDD12',\n 'lock_with_ink_pen': '\\uD83D\\uDD0F',\n 'lollipop': '\\uD83C\\uDF6D',\n 'loop': '\\u27BF',\n 'loud_sound': '\\uD83D\\uDD0A',\n 'loudspeaker': '\\uD83D\\uDCE2',\n 'love_hotel': '\\uD83C\\uDFE9',\n 'love_letter': '\\uD83D\\uDC8C',\n 'low_brightness': '\\uD83D\\uDD05',\n 'lying_face': '\\uD83E\\uDD25',\n 'm': '\\u24C2\\uFE0F',\n 'mag': '\\uD83D\\uDD0D',\n 'mag_right': '\\uD83D\\uDD0E',\n 'mahjong': '\\uD83C\\uDC04\\uFE0F',\n 'mailbox': '\\uD83D\\uDCEB',\n 'mailbox_closed': '\\uD83D\\uDCEA',\n 'mailbox_with_mail': '\\uD83D\\uDCEC',\n 'mailbox_with_no_mail': '\\uD83D\\uDCED',\n 'man': '\\uD83D\\uDC68',\n 'man_artist': '\\uD83D\\uDC68‍\\uD83C\\uDFA8',\n 'man_astronaut': '\\uD83D\\uDC68‍\\uD83D\\uDE80',\n 'man_cartwheeling': '\\uD83E\\uDD38‍\\u2642\\uFE0F',\n 'man_cook': '\\uD83D\\uDC68‍\\uD83C\\uDF73',\n 'man_dancing': '\\uD83D\\uDD7A',\n 'man_facepalming': '\\uD83E\\uDD26‍\\u2642\\uFE0F',\n 'man_factory_worker': '\\uD83D\\uDC68‍\\uD83C\\uDFED',\n 'man_farmer': '\\uD83D\\uDC68‍\\uD83C\\uDF3E',\n 'man_firefighter': '\\uD83D\\uDC68‍\\uD83D\\uDE92',\n 'man_health_worker': '\\uD83D\\uDC68‍\\u2695\\uFE0F',\n 'man_in_tuxedo': '\\uD83E\\uDD35',\n 'man_judge': '\\uD83D\\uDC68‍\\u2696\\uFE0F',\n 'man_juggling': '\\uD83E\\uDD39‍\\u2642\\uFE0F',\n 'man_mechanic': '\\uD83D\\uDC68‍\\uD83D\\uDD27',\n 'man_office_worker': '\\uD83D\\uDC68‍\\uD83D\\uDCBC',\n 'man_pilot': '\\uD83D\\uDC68‍\\u2708\\uFE0F',\n 'man_playing_handball': '\\uD83E\\uDD3E‍\\u2642\\uFE0F',\n 'man_playing_water_polo': '\\uD83E\\uDD3D‍\\u2642\\uFE0F',\n 'man_scientist': '\\uD83D\\uDC68‍\\uD83D\\uDD2C',\n 'man_shrugging': '\\uD83E\\uDD37‍\\u2642\\uFE0F',\n 'man_singer': '\\uD83D\\uDC68‍\\uD83C\\uDFA4',\n 'man_student': '\\uD83D\\uDC68‍\\uD83C\\uDF93',\n 'man_teacher': '\\uD83D\\uDC68‍\\uD83C\\uDFEB',\n 'man_technologist': '\\uD83D\\uDC68‍\\uD83D\\uDCBB',\n 'man_with_gua_pi_mao': '\\uD83D\\uDC72',\n 'man_with_turban': '\\uD83D\\uDC73',\n 'tangerine': '\\uD83C\\uDF4A',\n 'mans_shoe': '\\uD83D\\uDC5E',\n 'mantelpiece_clock': '\\uD83D\\uDD70',\n 'maple_leaf': '\\uD83C\\uDF41',\n 'martial_arts_uniform': '\\uD83E\\uDD4B',\n 'mask': '\\uD83D\\uDE37',\n 'massage_woman': '\\uD83D\\uDC86',\n 'massage_man': '\\uD83D\\uDC86‍\\u2642\\uFE0F',\n 'meat_on_bone': '\\uD83C\\uDF56',\n 'medal_military': '\\uD83C\\uDF96',\n 'medal_sports': '\\uD83C\\uDFC5',\n 'mega': '\\uD83D\\uDCE3',\n 'melon': '\\uD83C\\uDF48',\n 'memo': '\\uD83D\\uDCDD',\n 'men_wrestling': '\\uD83E\\uDD3C‍\\u2642\\uFE0F',\n 'menorah': '\\uD83D\\uDD4E',\n 'mens': '\\uD83D\\uDEB9',\n 'metal': '\\uD83E\\uDD18',\n 'metro': '\\uD83D\\uDE87',\n 'microphone': '\\uD83C\\uDFA4',\n 'microscope': '\\uD83D\\uDD2C',\n 'milk_glass': '\\uD83E\\uDD5B',\n 'milky_way': '\\uD83C\\uDF0C',\n 'minibus': '\\uD83D\\uDE90',\n 'minidisc': '\\uD83D\\uDCBD',\n 'mobile_phone_off': '\\uD83D\\uDCF4',\n 'money_mouth_face': '\\uD83E\\uDD11',\n 'money_with_wings': '\\uD83D\\uDCB8',\n 'moneybag': '\\uD83D\\uDCB0',\n 'monkey': '\\uD83D\\uDC12',\n 'monkey_face': '\\uD83D\\uDC35',\n 'monorail': '\\uD83D\\uDE9D',\n 'moon': '\\uD83C\\uDF14',\n 'mortar_board': '\\uD83C\\uDF93',\n 'mosque': '\\uD83D\\uDD4C',\n 'motor_boat': '\\uD83D\\uDEE5',\n 'motor_scooter': '\\uD83D\\uDEF5',\n 'motorcycle': '\\uD83C\\uDFCD',\n 'motorway': '\\uD83D\\uDEE3',\n 'mount_fuji': '\\uD83D\\uDDFB',\n 'mountain': '\\u26F0',\n 'mountain_biking_man': '\\uD83D\\uDEB5',\n 'mountain_biking_woman': '\\uD83D\\uDEB5‍\\u2640\\uFE0F',\n 'mountain_cableway': '\\uD83D\\uDEA0',\n 'mountain_railway': '\\uD83D\\uDE9E',\n 'mountain_snow': '\\uD83C\\uDFD4',\n 'mouse': '\\uD83D\\uDC2D',\n 'mouse2': '\\uD83D\\uDC01',\n 'movie_camera': '\\uD83C\\uDFA5',\n 'moyai': '\\uD83D\\uDDFF',\n 'mrs_claus': '\\uD83E\\uDD36',\n 'muscle': '\\uD83D\\uDCAA',\n 'mushroom': '\\uD83C\\uDF44',\n 'musical_keyboard': '\\uD83C\\uDFB9',\n 'musical_note': '\\uD83C\\uDFB5',\n 'musical_score': '\\uD83C\\uDFBC',\n 'mute': '\\uD83D\\uDD07',\n 'nail_care': '\\uD83D\\uDC85',\n 'name_badge': '\\uD83D\\uDCDB',\n 'national_park': '\\uD83C\\uDFDE',\n 'nauseated_face': '\\uD83E\\uDD22',\n 'necktie': '\\uD83D\\uDC54',\n 'negative_squared_cross_mark': '\\u274E',\n 'nerd_face': '\\uD83E\\uDD13',\n 'neutral_face': '\\uD83D\\uDE10',\n 'new': '\\uD83C\\uDD95',\n 'new_moon': '\\uD83C\\uDF11',\n 'new_moon_with_face': '\\uD83C\\uDF1A',\n 'newspaper': '\\uD83D\\uDCF0',\n 'newspaper_roll': '\\uD83D\\uDDDE',\n 'next_track_button': '\\u23ED',\n 'ng': '\\uD83C\\uDD96',\n 'no_good_man': '\\uD83D\\uDE45‍\\u2642\\uFE0F',\n 'no_good_woman': '\\uD83D\\uDE45',\n 'night_with_stars': '\\uD83C\\uDF03',\n 'no_bell': '\\uD83D\\uDD15',\n 'no_bicycles': '\\uD83D\\uDEB3',\n 'no_entry': '\\u26D4\\uFE0F',\n 'no_entry_sign': '\\uD83D\\uDEAB',\n 'no_mobile_phones': '\\uD83D\\uDCF5',\n 'no_mouth': '\\uD83D\\uDE36',\n 'no_pedestrians': '\\uD83D\\uDEB7',\n 'no_smoking': '\\uD83D\\uDEAD',\n 'non-potable_water': '\\uD83D\\uDEB1',\n 'nose': '\\uD83D\\uDC43',\n 'notebook': '\\uD83D\\uDCD3',\n 'notebook_with_decorative_cover': '\\uD83D\\uDCD4',\n 'notes': '\\uD83C\\uDFB6',\n 'nut_and_bolt': '\\uD83D\\uDD29',\n 'o': '\\u2B55\\uFE0F',\n 'o2': '\\uD83C\\uDD7E\\uFE0F',\n 'ocean': '\\uD83C\\uDF0A',\n 'octopus': '\\uD83D\\uDC19',\n 'oden': '\\uD83C\\uDF62',\n 'office': '\\uD83C\\uDFE2',\n 'oil_drum': '\\uD83D\\uDEE2',\n 'ok': '\\uD83C\\uDD97',\n 'ok_hand': '\\uD83D\\uDC4C',\n 'ok_man': '\\uD83D\\uDE46‍\\u2642\\uFE0F',\n 'ok_woman': '\\uD83D\\uDE46',\n 'old_key': '\\uD83D\\uDDDD',\n 'older_man': '\\uD83D\\uDC74',\n 'older_woman': '\\uD83D\\uDC75',\n 'om': '\\uD83D\\uDD49',\n 'on': '\\uD83D\\uDD1B',\n 'oncoming_automobile': '\\uD83D\\uDE98',\n 'oncoming_bus': '\\uD83D\\uDE8D',\n 'oncoming_police_car': '\\uD83D\\uDE94',\n 'oncoming_taxi': '\\uD83D\\uDE96',\n 'open_file_folder': '\\uD83D\\uDCC2',\n 'open_hands': '\\uD83D\\uDC50',\n 'open_mouth': '\\uD83D\\uDE2E',\n 'open_umbrella': '\\u2602\\uFE0F',\n 'ophiuchus': '\\u26CE',\n 'orange_book': '\\uD83D\\uDCD9',\n 'orthodox_cross': '\\u2626\\uFE0F',\n 'outbox_tray': '\\uD83D\\uDCE4',\n 'owl': '\\uD83E\\uDD89',\n 'ox': '\\uD83D\\uDC02',\n 'package': '\\uD83D\\uDCE6',\n 'page_facing_up': '\\uD83D\\uDCC4',\n 'page_with_curl': '\\uD83D\\uDCC3',\n 'pager': '\\uD83D\\uDCDF',\n 'paintbrush': '\\uD83D\\uDD8C',\n 'palm_tree': '\\uD83C\\uDF34',\n 'pancakes': '\\uD83E\\uDD5E',\n 'panda_face': '\\uD83D\\uDC3C',\n 'paperclip': '\\uD83D\\uDCCE',\n 'paperclips': '\\uD83D\\uDD87',\n 'parasol_on_ground': '\\u26F1',\n 'parking': '\\uD83C\\uDD7F\\uFE0F',\n 'part_alternation_mark': '\\u303D\\uFE0F',\n 'partly_sunny': '\\u26C5\\uFE0F',\n 'passenger_ship': '\\uD83D\\uDEF3',\n 'passport_control': '\\uD83D\\uDEC2',\n 'pause_button': '\\u23F8',\n 'peace_symbol': '\\u262E\\uFE0F',\n 'peach': '\\uD83C\\uDF51',\n 'peanuts': '\\uD83E\\uDD5C',\n 'pear': '\\uD83C\\uDF50',\n 'pen': '\\uD83D\\uDD8A',\n 'pencil2': '\\u270F\\uFE0F',\n 'penguin': '\\uD83D\\uDC27',\n 'pensive': '\\uD83D\\uDE14',\n 'performing_arts': '\\uD83C\\uDFAD',\n 'persevere': '\\uD83D\\uDE23',\n 'person_fencing': '\\uD83E\\uDD3A',\n 'pouting_woman': '\\uD83D\\uDE4E',\n 'phone': '\\u260E\\uFE0F',\n 'pick': '\\u26CF',\n 'pig': '\\uD83D\\uDC37',\n 'pig2': '\\uD83D\\uDC16',\n 'pig_nose': '\\uD83D\\uDC3D',\n 'pill': '\\uD83D\\uDC8A',\n 'pineapple': '\\uD83C\\uDF4D',\n 'ping_pong': '\\uD83C\\uDFD3',\n 'pisces': '\\u2653\\uFE0F',\n 'pizza': '\\uD83C\\uDF55',\n 'place_of_worship': '\\uD83D\\uDED0',\n 'plate_with_cutlery': '\\uD83C\\uDF7D',\n 'play_or_pause_button': '\\u23EF',\n 'point_down': '\\uD83D\\uDC47',\n 'point_left': '\\uD83D\\uDC48',\n 'point_right': '\\uD83D\\uDC49',\n 'point_up': '\\u261D\\uFE0F',\n 'point_up_2': '\\uD83D\\uDC46',\n 'police_car': '\\uD83D\\uDE93',\n 'policewoman': '\\uD83D\\uDC6E‍\\u2640\\uFE0F',\n 'poodle': '\\uD83D\\uDC29',\n 'popcorn': '\\uD83C\\uDF7F',\n 'post_office': '\\uD83C\\uDFE3',\n 'postal_horn': '\\uD83D\\uDCEF',\n 'postbox': '\\uD83D\\uDCEE',\n 'potable_water': '\\uD83D\\uDEB0',\n 'potato': '\\uD83E\\uDD54',\n 'pouch': '\\uD83D\\uDC5D',\n 'poultry_leg': '\\uD83C\\uDF57',\n 'pound': '\\uD83D\\uDCB7',\n 'rage': '\\uD83D\\uDE21',\n 'pouting_cat': '\\uD83D\\uDE3E',\n 'pouting_man': '\\uD83D\\uDE4E‍\\u2642\\uFE0F',\n 'pray': '\\uD83D\\uDE4F',\n 'prayer_beads': '\\uD83D\\uDCFF',\n 'pregnant_woman': '\\uD83E\\uDD30',\n 'previous_track_button': '\\u23EE',\n 'prince': '\\uD83E\\uDD34',\n 'princess': '\\uD83D\\uDC78',\n 'printer': '\\uD83D\\uDDA8',\n 'purple_heart': '\\uD83D\\uDC9C',\n 'purse': '\\uD83D\\uDC5B',\n 'pushpin': '\\uD83D\\uDCCC',\n 'put_litter_in_its_place': '\\uD83D\\uDEAE',\n 'question': '\\u2753',\n 'rabbit': '\\uD83D\\uDC30',\n 'rabbit2': '\\uD83D\\uDC07',\n 'racehorse': '\\uD83D\\uDC0E',\n 'racing_car': '\\uD83C\\uDFCE',\n 'radio': '\\uD83D\\uDCFB',\n 'radio_button': '\\uD83D\\uDD18',\n 'radioactive': '\\u2622\\uFE0F',\n 'railway_car': '\\uD83D\\uDE83',\n 'railway_track': '\\uD83D\\uDEE4',\n 'rainbow': '\\uD83C\\uDF08',\n 'rainbow_flag': '\\uD83C\\uDFF3\\uFE0F‍\\uD83C\\uDF08',\n 'raised_back_of_hand': '\\uD83E\\uDD1A',\n 'raised_hand_with_fingers_splayed': '\\uD83D\\uDD90',\n 'raised_hands': '\\uD83D\\uDE4C',\n 'raising_hand_woman': '\\uD83D\\uDE4B',\n 'raising_hand_man': '\\uD83D\\uDE4B‍\\u2642\\uFE0F',\n 'ram': '\\uD83D\\uDC0F',\n 'ramen': '\\uD83C\\uDF5C',\n 'rat': '\\uD83D\\uDC00',\n 'record_button': '\\u23FA',\n 'recycle': '\\u267B\\uFE0F',\n 'red_circle': '\\uD83D\\uDD34',\n 'registered': '\\xAE\\uFE0F',\n 'relaxed': '\\u263A\\uFE0F',\n 'relieved': '\\uD83D\\uDE0C',\n 'reminder_ribbon': '\\uD83C\\uDF97',\n 'repeat': '\\uD83D\\uDD01',\n 'repeat_one': '\\uD83D\\uDD02',\n 'rescue_worker_helmet': '\\u26D1',\n 'restroom': '\\uD83D\\uDEBB',\n 'revolving_hearts': '\\uD83D\\uDC9E',\n 'rewind': '\\u23EA',\n 'rhinoceros': '\\uD83E\\uDD8F',\n 'ribbon': '\\uD83C\\uDF80',\n 'rice': '\\uD83C\\uDF5A',\n 'rice_ball': '\\uD83C\\uDF59',\n 'rice_cracker': '\\uD83C\\uDF58',\n 'rice_scene': '\\uD83C\\uDF91',\n 'right_anger_bubble': '\\uD83D\\uDDEF',\n 'ring': '\\uD83D\\uDC8D',\n 'robot': '\\uD83E\\uDD16',\n 'rocket': '\\uD83D\\uDE80',\n 'rofl': '\\uD83E\\uDD23',\n 'roll_eyes': '\\uD83D\\uDE44',\n 'roller_coaster': '\\uD83C\\uDFA2',\n 'rooster': '\\uD83D\\uDC13',\n 'rose': '\\uD83C\\uDF39',\n 'rosette': '\\uD83C\\uDFF5',\n 'rotating_light': '\\uD83D\\uDEA8',\n 'round_pushpin': '\\uD83D\\uDCCD',\n 'rowing_man': '\\uD83D\\uDEA3',\n 'rowing_woman': '\\uD83D\\uDEA3‍\\u2640\\uFE0F',\n 'rugby_football': '\\uD83C\\uDFC9',\n 'running_man': '\\uD83C\\uDFC3',\n 'running_shirt_with_sash': '\\uD83C\\uDFBD',\n 'running_woman': '\\uD83C\\uDFC3‍\\u2640\\uFE0F',\n 'sa': '\\uD83C\\uDE02\\uFE0F',\n 'sagittarius': '\\u2650\\uFE0F',\n 'sake': '\\uD83C\\uDF76',\n 'sandal': '\\uD83D\\uDC61',\n 'santa': '\\uD83C\\uDF85',\n 'satellite': '\\uD83D\\uDCE1',\n 'saxophone': '\\uD83C\\uDFB7',\n 'school': '\\uD83C\\uDFEB',\n 'school_satchel': '\\uD83C\\uDF92',\n 'scissors': '\\u2702\\uFE0F',\n 'scorpion': '\\uD83E\\uDD82',\n 'scorpius': '\\u264F\\uFE0F',\n 'scream': '\\uD83D\\uDE31',\n 'scream_cat': '\\uD83D\\uDE40',\n 'scroll': '\\uD83D\\uDCDC',\n 'seat': '\\uD83D\\uDCBA',\n 'secret': '\\u3299\\uFE0F',\n 'see_no_evil': '\\uD83D\\uDE48',\n 'seedling': '\\uD83C\\uDF31',\n 'selfie': '\\uD83E\\uDD33',\n 'shallow_pan_of_food': '\\uD83E\\uDD58',\n 'shamrock': '\\u2618\\uFE0F',\n 'shark': '\\uD83E\\uDD88',\n 'shaved_ice': '\\uD83C\\uDF67',\n 'sheep': '\\uD83D\\uDC11',\n 'shell': '\\uD83D\\uDC1A',\n 'shield': '\\uD83D\\uDEE1',\n 'shinto_shrine': '\\u26E9',\n 'ship': '\\uD83D\\uDEA2',\n 'shirt': '\\uD83D\\uDC55',\n 'shopping': '\\uD83D\\uDECD',\n 'shopping_cart': '\\uD83D\\uDED2',\n 'shower': '\\uD83D\\uDEBF',\n 'shrimp': '\\uD83E\\uDD90',\n 'signal_strength': '\\uD83D\\uDCF6',\n 'six_pointed_star': '\\uD83D\\uDD2F',\n 'ski': '\\uD83C\\uDFBF',\n 'skier': '\\u26F7',\n 'skull': '\\uD83D\\uDC80',\n 'skull_and_crossbones': '\\u2620\\uFE0F',\n 'sleeping': '\\uD83D\\uDE34',\n 'sleeping_bed': '\\uD83D\\uDECC',\n 'sleepy': '\\uD83D\\uDE2A',\n 'slightly_frowning_face': '\\uD83D\\uDE41',\n 'slightly_smiling_face': '\\uD83D\\uDE42',\n 'slot_machine': '\\uD83C\\uDFB0',\n 'small_airplane': '\\uD83D\\uDEE9',\n 'small_blue_diamond': '\\uD83D\\uDD39',\n 'small_orange_diamond': '\\uD83D\\uDD38',\n 'small_red_triangle': '\\uD83D\\uDD3A',\n 'small_red_triangle_down': '\\uD83D\\uDD3B',\n 'smile': '\\uD83D\\uDE04',\n 'smile_cat': '\\uD83D\\uDE38',\n 'smiley': '\\uD83D\\uDE03',\n 'smiley_cat': '\\uD83D\\uDE3A',\n 'smiling_imp': '\\uD83D\\uDE08',\n 'smirk': '\\uD83D\\uDE0F',\n 'smirk_cat': '\\uD83D\\uDE3C',\n 'smoking': '\\uD83D\\uDEAC',\n 'snail': '\\uD83D\\uDC0C',\n 'snake': '\\uD83D\\uDC0D',\n 'sneezing_face': '\\uD83E\\uDD27',\n 'snowboarder': '\\uD83C\\uDFC2',\n 'snowflake': '\\u2744\\uFE0F',\n 'snowman': '\\u26C4\\uFE0F',\n 'snowman_with_snow': '\\u2603\\uFE0F',\n 'sob': '\\uD83D\\uDE2D',\n 'soccer': '\\u26BD\\uFE0F',\n 'soon': '\\uD83D\\uDD1C',\n 'sos': '\\uD83C\\uDD98',\n 'sound': '\\uD83D\\uDD09',\n 'space_invader': '\\uD83D\\uDC7E',\n 'spades': '\\u2660\\uFE0F',\n 'spaghetti': '\\uD83C\\uDF5D',\n 'sparkle': '\\u2747\\uFE0F',\n 'sparkler': '\\uD83C\\uDF87',\n 'sparkles': '\\u2728',\n 'sparkling_heart': '\\uD83D\\uDC96',\n 'speak_no_evil': '\\uD83D\\uDE4A',\n 'speaker': '\\uD83D\\uDD08',\n 'speaking_head': '\\uD83D\\uDDE3',\n 'speech_balloon': '\\uD83D\\uDCAC',\n 'speedboat': '\\uD83D\\uDEA4',\n 'spider': '\\uD83D\\uDD77',\n 'spider_web': '\\uD83D\\uDD78',\n 'spiral_calendar': '\\uD83D\\uDDD3',\n 'spiral_notepad': '\\uD83D\\uDDD2',\n 'spoon': '\\uD83E\\uDD44',\n 'squid': '\\uD83E\\uDD91',\n 'stadium': '\\uD83C\\uDFDF',\n 'star': '\\u2B50\\uFE0F',\n 'star2': '\\uD83C\\uDF1F',\n 'star_and_crescent': '\\u262A\\uFE0F',\n 'star_of_david': '\\u2721\\uFE0F',\n 'stars': '\\uD83C\\uDF20',\n 'station': '\\uD83D\\uDE89',\n 'statue_of_liberty': '\\uD83D\\uDDFD',\n 'steam_locomotive': '\\uD83D\\uDE82',\n 'stew': '\\uD83C\\uDF72',\n 'stop_button': '\\u23F9',\n 'stop_sign': '\\uD83D\\uDED1',\n 'stopwatch': '\\u23F1',\n 'straight_ruler': '\\uD83D\\uDCCF',\n 'strawberry': '\\uD83C\\uDF53',\n 'stuck_out_tongue': '\\uD83D\\uDE1B',\n 'stuck_out_tongue_closed_eyes': '\\uD83D\\uDE1D',\n 'stuck_out_tongue_winking_eye': '\\uD83D\\uDE1C',\n 'studio_microphone': '\\uD83C\\uDF99',\n 'stuffed_flatbread': '\\uD83E\\uDD59',\n 'sun_behind_large_cloud': '\\uD83C\\uDF25',\n 'sun_behind_rain_cloud': '\\uD83C\\uDF26',\n 'sun_behind_small_cloud': '\\uD83C\\uDF24',\n 'sun_with_face': '\\uD83C\\uDF1E',\n 'sunflower': '\\uD83C\\uDF3B',\n 'sunglasses': '\\uD83D\\uDE0E',\n 'sunny': '\\u2600\\uFE0F',\n 'sunrise': '\\uD83C\\uDF05',\n 'sunrise_over_mountains': '\\uD83C\\uDF04',\n 'surfing_man': '\\uD83C\\uDFC4',\n 'surfing_woman': '\\uD83C\\uDFC4‍\\u2640\\uFE0F',\n 'sushi': '\\uD83C\\uDF63',\n 'suspension_railway': '\\uD83D\\uDE9F',\n 'sweat': '\\uD83D\\uDE13',\n 'sweat_drops': '\\uD83D\\uDCA6',\n 'sweat_smile': '\\uD83D\\uDE05',\n 'sweet_potato': '\\uD83C\\uDF60',\n 'swimming_man': '\\uD83C\\uDFCA',\n 'swimming_woman': '\\uD83C\\uDFCA‍\\u2640\\uFE0F',\n 'symbols': '\\uD83D\\uDD23',\n 'synagogue': '\\uD83D\\uDD4D',\n 'syringe': '\\uD83D\\uDC89',\n 'taco': '\\uD83C\\uDF2E',\n 'tada': '\\uD83C\\uDF89',\n 'tanabata_tree': '\\uD83C\\uDF8B',\n 'taurus': '\\u2649\\uFE0F',\n 'taxi': '\\uD83D\\uDE95',\n 'tea': '\\uD83C\\uDF75',\n 'telephone_receiver': '\\uD83D\\uDCDE',\n 'telescope': '\\uD83D\\uDD2D',\n 'tennis': '\\uD83C\\uDFBE',\n 'tent': '\\u26FA\\uFE0F',\n 'thermometer': '\\uD83C\\uDF21',\n 'thinking': '\\uD83E\\uDD14',\n 'thought_balloon': '\\uD83D\\uDCAD',\n 'ticket': '\\uD83C\\uDFAB',\n 'tickets': '\\uD83C\\uDF9F',\n 'tiger': '\\uD83D\\uDC2F',\n 'tiger2': '\\uD83D\\uDC05',\n 'timer_clock': '\\u23F2',\n 'tipping_hand_man': '\\uD83D\\uDC81‍\\u2642\\uFE0F',\n 'tired_face': '\\uD83D\\uDE2B',\n 'tm': '\\u2122\\uFE0F',\n 'toilet': '\\uD83D\\uDEBD',\n 'tokyo_tower': '\\uD83D\\uDDFC',\n 'tomato': '\\uD83C\\uDF45',\n 'tongue': '\\uD83D\\uDC45',\n 'top': '\\uD83D\\uDD1D',\n 'tophat': '\\uD83C\\uDFA9',\n 'tornado': '\\uD83C\\uDF2A',\n 'trackball': '\\uD83D\\uDDB2',\n 'tractor': '\\uD83D\\uDE9C',\n 'traffic_light': '\\uD83D\\uDEA5',\n 'train': '\\uD83D\\uDE8B',\n 'train2': '\\uD83D\\uDE86',\n 'tram': '\\uD83D\\uDE8A',\n 'triangular_flag_on_post': '\\uD83D\\uDEA9',\n 'triangular_ruler': '\\uD83D\\uDCD0',\n 'trident': '\\uD83D\\uDD31',\n 'triumph': '\\uD83D\\uDE24',\n 'trolleybus': '\\uD83D\\uDE8E',\n 'trophy': '\\uD83C\\uDFC6',\n 'tropical_drink': '\\uD83C\\uDF79',\n 'tropical_fish': '\\uD83D\\uDC20',\n 'truck': '\\uD83D\\uDE9A',\n 'trumpet': '\\uD83C\\uDFBA',\n 'tulip': '\\uD83C\\uDF37',\n 'tumbler_glass': '\\uD83E\\uDD43',\n 'turkey': '\\uD83E\\uDD83',\n 'turtle': '\\uD83D\\uDC22',\n 'tv': '\\uD83D\\uDCFA',\n 'twisted_rightwards_arrows': '\\uD83D\\uDD00',\n 'two_hearts': '\\uD83D\\uDC95',\n 'two_men_holding_hands': '\\uD83D\\uDC6C',\n 'two_women_holding_hands': '\\uD83D\\uDC6D',\n 'u5272': '\\uD83C\\uDE39',\n 'u5408': '\\uD83C\\uDE34',\n 'u55b6': '\\uD83C\\uDE3A',\n 'u6307': '\\uD83C\\uDE2F\\uFE0F',\n 'u6708': '\\uD83C\\uDE37\\uFE0F',\n 'u6709': '\\uD83C\\uDE36',\n 'u6e80': '\\uD83C\\uDE35',\n 'u7121': '\\uD83C\\uDE1A\\uFE0F',\n 'u7533': '\\uD83C\\uDE38',\n 'u7981': '\\uD83C\\uDE32',\n 'u7a7a': '\\uD83C\\uDE33',\n 'umbrella': '\\u2614\\uFE0F',\n 'unamused': '\\uD83D\\uDE12',\n 'underage': '\\uD83D\\uDD1E',\n 'unicorn': '\\uD83E\\uDD84',\n 'unlock': '\\uD83D\\uDD13',\n 'up': '\\uD83C\\uDD99',\n 'upside_down_face': '\\uD83D\\uDE43',\n 'v': '\\u270C\\uFE0F',\n 'vertical_traffic_light': '\\uD83D\\uDEA6',\n 'vhs': '\\uD83D\\uDCFC',\n 'vibration_mode': '\\uD83D\\uDCF3',\n 'video_camera': '\\uD83D\\uDCF9',\n 'video_game': '\\uD83C\\uDFAE',\n 'violin': '\\uD83C\\uDFBB',\n 'virgo': '\\u264D\\uFE0F',\n 'volcano': '\\uD83C\\uDF0B',\n 'volleyball': '\\uD83C\\uDFD0',\n 'vs': '\\uD83C\\uDD9A',\n 'vulcan_salute': '\\uD83D\\uDD96',\n 'walking_man': '\\uD83D\\uDEB6',\n 'walking_woman': '\\uD83D\\uDEB6‍\\u2640\\uFE0F',\n 'waning_crescent_moon': '\\uD83C\\uDF18',\n 'waning_gibbous_moon': '\\uD83C\\uDF16',\n 'warning': '\\u26A0\\uFE0F',\n 'wastebasket': '\\uD83D\\uDDD1',\n 'watch': '\\u231A\\uFE0F',\n 'water_buffalo': '\\uD83D\\uDC03',\n 'watermelon': '\\uD83C\\uDF49',\n 'wave': '\\uD83D\\uDC4B',\n 'wavy_dash': '\\u3030\\uFE0F',\n 'waxing_crescent_moon': '\\uD83C\\uDF12',\n 'wc': '\\uD83D\\uDEBE',\n 'weary': '\\uD83D\\uDE29',\n 'wedding': '\\uD83D\\uDC92',\n 'weight_lifting_man': '\\uD83C\\uDFCB\\uFE0F',\n 'weight_lifting_woman': '\\uD83C\\uDFCB\\uFE0F‍\\u2640\\uFE0F',\n 'whale': '\\uD83D\\uDC33',\n 'whale2': '\\uD83D\\uDC0B',\n 'wheel_of_dharma': '\\u2638\\uFE0F',\n 'wheelchair': '\\u267F\\uFE0F',\n 'white_check_mark': '\\u2705',\n 'white_circle': '\\u26AA\\uFE0F',\n 'white_flag': '\\uD83C\\uDFF3\\uFE0F',\n 'white_flower': '\\uD83D\\uDCAE',\n 'white_large_square': '\\u2B1C\\uFE0F',\n 'white_medium_small_square': '\\u25FD\\uFE0F',\n 'white_medium_square': '\\u25FB\\uFE0F',\n 'white_small_square': '\\u25AB\\uFE0F',\n 'white_square_button': '\\uD83D\\uDD33',\n 'wilted_flower': '\\uD83E\\uDD40',\n 'wind_chime': '\\uD83C\\uDF90',\n 'wind_face': '\\uD83C\\uDF2C',\n 'wine_glass': '\\uD83C\\uDF77',\n 'wink': '\\uD83D\\uDE09',\n 'wolf': '\\uD83D\\uDC3A',\n 'woman': '\\uD83D\\uDC69',\n 'woman_artist': '\\uD83D\\uDC69‍\\uD83C\\uDFA8',\n 'woman_astronaut': '\\uD83D\\uDC69‍\\uD83D\\uDE80',\n 'woman_cartwheeling': '\\uD83E\\uDD38‍\\u2640\\uFE0F',\n 'woman_cook': '\\uD83D\\uDC69‍\\uD83C\\uDF73',\n 'woman_facepalming': '\\uD83E\\uDD26‍\\u2640\\uFE0F',\n 'woman_factory_worker': '\\uD83D\\uDC69‍\\uD83C\\uDFED',\n 'woman_farmer': '\\uD83D\\uDC69‍\\uD83C\\uDF3E',\n 'woman_firefighter': '\\uD83D\\uDC69‍\\uD83D\\uDE92',\n 'woman_health_worker': '\\uD83D\\uDC69‍\\u2695\\uFE0F',\n 'woman_judge': '\\uD83D\\uDC69‍\\u2696\\uFE0F',\n 'woman_juggling': '\\uD83E\\uDD39‍\\u2640\\uFE0F',\n 'woman_mechanic': '\\uD83D\\uDC69‍\\uD83D\\uDD27',\n 'woman_office_worker': '\\uD83D\\uDC69‍\\uD83D\\uDCBC',\n 'woman_pilot': '\\uD83D\\uDC69‍\\u2708\\uFE0F',\n 'woman_playing_handball': '\\uD83E\\uDD3E‍\\u2640\\uFE0F',\n 'woman_playing_water_polo': '\\uD83E\\uDD3D‍\\u2640\\uFE0F',\n 'woman_scientist': '\\uD83D\\uDC69‍\\uD83D\\uDD2C',\n 'woman_shrugging': '\\uD83E\\uDD37‍\\u2640\\uFE0F',\n 'woman_singer': '\\uD83D\\uDC69‍\\uD83C\\uDFA4',\n 'woman_student': '\\uD83D\\uDC69‍\\uD83C\\uDF93',\n 'woman_teacher': '\\uD83D\\uDC69‍\\uD83C\\uDFEB',\n 'woman_technologist': '\\uD83D\\uDC69‍\\uD83D\\uDCBB',\n 'woman_with_turban': '\\uD83D\\uDC73‍\\u2640\\uFE0F',\n 'womans_clothes': '\\uD83D\\uDC5A',\n 'womans_hat': '\\uD83D\\uDC52',\n 'women_wrestling': '\\uD83E\\uDD3C‍\\u2640\\uFE0F',\n 'womens': '\\uD83D\\uDEBA',\n 'world_map': '\\uD83D\\uDDFA',\n 'worried': '\\uD83D\\uDE1F',\n 'wrench': '\\uD83D\\uDD27',\n 'writing_hand': '\\u270D\\uFE0F',\n 'x': '\\u274C',\n 'yellow_heart': '\\uD83D\\uDC9B',\n 'yen': '\\uD83D\\uDCB4',\n 'yin_yang': '\\u262F\\uFE0F',\n 'yum': '\\uD83D\\uDE0B',\n 'zap': '\\u26A1\\uFE0F',\n 'zipper_mouth_face': '\\uD83E\\uDD10',\n 'zzz': '\\uD83D\\uDCA4',\n\n /* special emojis :P */\n 'octocat': '\":octocat:\"',\n 'showdown': 'S'\n };\n\n /**\n * Created by Estevao on 31-05-2015.\n */\n\n /**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\n showdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor() {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension(ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading(ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:\n // should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen(name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText(text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch(evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean(node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags(doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = '';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n };\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]??(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n });\n\n // url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\n var simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n replaceLink = function replaceLink(options) {\n 'use strict';\n\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n replaceMail = function replaceMail(options, globals) {\n 'use strict';\n\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\n showdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n });\n\n /**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n //

tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with

 content, so we need to fix that:\n      bq = bq.replace(/(\\s*
[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n        var pre = m1;\n        // attacklab: hack around Konqueror 3.5.4 bug:\n        pre = pre.replace(/^  /mg, '¨0');\n        pre = pre.replace(/¨0/g, '');\n        return pre;\n      });\n\n      return showdown.subParser('hashBlock')('
\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n });\n\n /**\n * Process Markdown `
` blocks.\n   */\n  showdown.subParser('codeBlocks', function (text, options, globals) {\n    'use strict';\n\n    text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n    // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n    text += '¨0';\n\n    var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n    text = text.replace(pattern, function (wholeMatch, m1, m2) {\n      var codeblock = m1,\n          nextChar = m2,\n          end = '\\n';\n\n      codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n      codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n      codeblock = showdown.subParser('detab')(codeblock, options, globals);\n      codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n      codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n      if (options.omitExtraWLInCodeBlocks) {\n        end = '';\n      }\n\n      codeblock = '
' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n *\n * * Backtick quotes are used for spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n *

Just type foo `bar` baz at the prompt.

\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar` ...\n */\n showdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm, function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, ''); // leading whitespace\n c = c.replace(/[ \\t]*$/g, ''); // trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n });\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Create a full HTML document from the processed markdown\n */\n showdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + '\\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n });\n\n /**\n * Convert all tabs to spaces\n */\n showdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\n showdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\n showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n });\n\n /**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\n showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n });\n\n /**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\n showdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text.replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n });\n\n /**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\n showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch.replace(/(.)<\\/?code>(?=.)/g, '$1`').replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch.replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n });\n\n /**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\n showdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = options.omitExtraWLInCodeBlocks ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '
' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n });\n\n showdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n });\n\n showdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = ['pre', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'table', 'dl', 'ol', 'ul', 'script', 'noscript', 'form', 'fieldset', 'iframe', 'math', 'style', 'section', 'header', 'footer', 'nav', 'article', 'aside', 'address', 'audio', 'canvas', 'figure', 'hgroup', 'output', 'video', 'p'],\n repFunc = function repFunc(wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions ( and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash span elements that should not be parsed as markdown\n */\n showdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan(html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Unhash HTML spans\n */\n showdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape
 elements that should not be parsed as markdown\n   */\n  showdown.subParser('hashPreCodeTags', function (text, options, globals) {\n    'use strict';\n\n    text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n    var repFunc = function repFunc(wholeMatch, match, left, right) {\n      // encode html entities\n      var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n      return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n    };\n\n    // Hash 
\n    text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart),\n\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + '';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId(m) {\n var title, prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '').toLowerCase();\n } else if (options.rawHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-').toLowerCase();\n } else {\n title = title.replace(/[^\\w]/g, '').toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + globals.hashLinkCounts[title]++;\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown image shortcuts into tags.\n */\n showdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText.replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '\"'x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside(txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n });\n\n /**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\n showdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n\n function processListItems(listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = /\\n[ \\t]*\\n(?!¨0)/.test(listStr);\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = checked && checked.trim() !== '';\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '
  • a
  • \n // instead of:\n //
    • - - a
    \n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || item.search(/\\n{2,}/) > -1) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + '\\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber(list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists(list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = listType === 'ul' ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL(txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '\\n';\n\n // invert counterType and listType\n listType = listType === 'ul' ? 'ol' : 'ul';\n counterRxg = listType === 'ul' ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, list, m2) {\n var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n });\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, m1, list, m3) {\n var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n });\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n });\n\n /**\n * Parse metadata at the top of the document\n */\n showdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents(content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n });\n\n /**\n * Remove one level of line-leading tabs or spaces\n */\n showdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n });\n\n /**\n *\n */\n showdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap

    tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '

    ');\n str += '

    ';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n });\n\n /**\n * Run extension\n */\n showdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n });\n\n /**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ``\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
    \\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
    \\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside(txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) {\n return parseInside(txt);\n });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n });\n\n /**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\n showdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n });\n\n showdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles(sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders(header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + '\\n';\n }\n\n function parseCells(cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + '\\n';\n }\n\n function buildTable(headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += '\\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += '\\n';\n }\n tb += '\\n
    \\n';\n return tb;\n }\n\n function parseTable(rawTable) {\n var i,\n tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) {\n return s.trim();\n }),\n rawStyles = tableLines[1].split('|').map(function (s) {\n return s.trim();\n }),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(tableLines[i].split('|').map(function (s) {\n return s.trim();\n }));\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {}\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Swap back in all the special characters we've hidden.\n */\n showdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n });\n\n showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n });\n\n showdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n });\n\n showdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n });\n\n showdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt.split('\\n').join('\\n ').replace(/^ {4}$/gm, '').replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n });\n\n showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n';\n }\n break;\n case 'h2':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n';\n }\n break;\n case 'h3':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n';\n }\n break;\n case 'h4':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n';\n }\n break;\n case 'h5':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n';\n }\n break;\n case 'h6':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n';\n }\n break;\n\n case 'p':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'blockquote':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'hr':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'ol':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n';\n }\n break;\n\n case 'ul':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n';\n }\n break;\n\n case 'precode':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'pre':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'table':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n';\n }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '
    ' + globals.preList[num] + '
    ';\n });\n\n showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i,\n ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n });\n\n var root = this;\n\n // AMD Loader\n if (true) {\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n 'use strict';\n\n return showdown;\n }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n // CommonJS/nodeJS Loader\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n // Regular Browser loader\n } else {\n root.showdown = showdown;\n }\n}).call(this);\n\n//# sourceMappingURL=showdown.js.map\n\n/***/ }),\n\n/***/ \"JkW7\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js\nvar preact_min = __webpack_require__(\"KM04\");\nvar preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min);\n\n// EXTERNAL MODULE: ./index.css\nvar index = __webpack_require__(\"xHuH\");\nvar index_default = /*#__PURE__*/__webpack_require__.n(index);\n\n// EXTERNAL MODULE: ./components/panel.css\nvar panel = __webpack_require__(\"P9k+\");\nvar panel_default = /*#__PURE__*/__webpack_require__.n(panel);\n\n// CONCATENATED MODULE: ./components/panel.js\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar panel_Panel = function (_Component) {\n\t_inherits(Panel, _Component);\n\n\tfunction Panel() {\n\t\t_classCallCheck(this, Panel);\n\n\t\treturn _possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPanel.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": panel_default.a.panel },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Panel;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/markdown.css\nvar markdown = __webpack_require__(\"MKE3\");\nvar markdown_default = /*#__PURE__*/__webpack_require__.n(markdown);\n\n// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js\nvar showdown = __webpack_require__(\"6adR\");\nvar showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);\n\n// CONCATENATED MODULE: ./components/markdown.js\n\n\nfunction markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction markdown__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar markdown_Markdown = function (_Component) {\n markdown__inherits(Markdown, _Component);\n\n function Markdown() {\n markdown__classCallCheck(this, Markdown);\n\n return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Markdown.prototype.render = function render() {\n var converter = new showdown_default.a.Converter();\n converter.setFlavor(\"github\");\n var html = converter.makeHtml(\"\" + this.props.children);\n return Object(preact_min[\"h\"])(\"div\", { dangerouslySetInnerHTML: { __html: html } });\n };\n\n return Markdown;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/algoritmi.js\n\n\nfunction algoritmi__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction algoritmi__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction algoritmi__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar r = String.raw;\n\nvar _ref = Object(preact_min[\"h\"])(\n 'div',\n null,\n Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Algoritmi (2018)'\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n 'TODO'\n )\n);\n\nvar Algoritmi = function (_Component) {\n algoritmi__inherits(Algoritmi, _Component);\n\n function Algoritmi() {\n algoritmi__classCallCheck(this, Algoritmi);\n\n return algoritmi__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Algoritmi.prototype.render = function render() {\n return _ref;\n };\n\n return Algoritmi;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/fisica.css\nvar fisica = __webpack_require__(\"0lnO\");\nvar fisica_default = /*#__PURE__*/__webpack_require__.n(fisica);\n\n// EXTERNAL MODULE: ./components/latex.css\nvar latex = __webpack_require__(\"+uq9\");\nvar latex_default = /*#__PURE__*/__webpack_require__.n(latex);\n\n// CONCATENATED MODULE: ./components/latex.js\n\n\nfunction latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction latex__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar latex_Latex = function (_Component) {\n\tlatex__inherits(Latex, _Component);\n\n\tfunction Latex() {\n\t\tlatex__classCallCheck(this, Latex);\n\n\t\treturn latex__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tLatex.prototype.render = function render() {\n\t\tvar equation = \"{\\\\color{White} \" + this.props.children + \" }\";\n\t\treturn Object(preact_min[\"h\"])(\"img\", { src: \"https://latex.codecogs.com/png.latex?\" + equation,\n\t\t\talt: this.props.children,\n\t\t\ttitle: this.props.children,\n\t\t\t\"class\": latex_default.a.latex });\n\t};\n\n\treturn Latex;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/split.css\nvar split = __webpack_require__(\"1EpE\");\nvar split_default = /*#__PURE__*/__webpack_require__.n(split);\n\n// CONCATENATED MODULE: ./components/split.js\n\n\nfunction split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction split__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar split_Split = function (_Component) {\n split__inherits(Split, _Component);\n\n function Split() {\n split__classCallCheck(this, Split);\n\n return split__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Split.prototype.render = function render() {\n var percent = 100 / this.props.children.count;\n var children = null;\n if (Array.isArray(this.props.children)) {\n children = this.props.children.map(function (element) {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n element\n );\n });\n } else {\n children = Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n this.props.children\n );\n }\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.split },\n children\n );\n };\n\n return Split;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/plus.css\nvar plus = __webpack_require__(\"ddTt\");\nvar plus_default = /*#__PURE__*/__webpack_require__.n(plus);\n\n// CONCATENATED MODULE: ./components/plus.js\n\n\nfunction plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction plus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar plus_Plus = function (_Component) {\n\tplus__inherits(Plus, _Component);\n\n\tfunction Plus() {\n\t\tplus__classCallCheck(this, Plus);\n\n\t\treturn plus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPlus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": plus_default.a.plus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Plus;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/minus.css\nvar minus = __webpack_require__(\"MeW5\");\nvar minus_default = /*#__PURE__*/__webpack_require__.n(minus);\n\n// CONCATENATED MODULE: ./components/minus.js\n\n\nfunction minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction minus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar minus_Minus = function (_Component) {\n\tminus__inherits(Minus, _Component);\n\n\tfunction Minus() {\n\t\tminus__classCallCheck(this, Minus);\n\n\t\treturn minus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMinus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": minus_default.a.minus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Minus;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/todo.css\nvar todo = __webpack_require__(\"tO1d\");\nvar todo_default = /*#__PURE__*/__webpack_require__.n(todo);\n\n// CONCATENATED MODULE: ./components/todo.js\n\n\nfunction todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction todo__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar todo_Todo = function (_Component) {\n\ttodo__inherits(Todo, _Component);\n\n\tfunction Todo() {\n\t\ttodo__classCallCheck(this, Todo);\n\n\t\treturn todo__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tTodo.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": todo_default.a.todo },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Todo;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/fisica.js\nvar _templateObject = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\x0Bec{v}_x + \\x0Bec{v}_y'], ['\\\\vec{v} = \\\\vec{v}_x + \\\\vec{v}_y']),\n _templateObject2 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_x \\right | = left | \\x0Bec{v} \\right | sin alpha'], ['\\\\left | \\\\vec{v}_x \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\sin \\\\alpha']),\n _templateObject3 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_y \\right | = left | \\x0Bec{v} \\right | cos alpha'], ['\\\\left | \\\\vec{v}_y \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\cos \\\\alpha']),\n _templateObject4 = _taggedTemplateLiteralLoose(['\\x0Bec{v} + \\x0Bec{w} = (\\x0Bec{v}_x + \\x0Bec{w}_x) + (\\x0Bec{v}_y + \\x0Bec{w}_y)'], ['\\\\vec{v} + \\\\vec{w} = (\\\\vec{v}_x + \\\\vec{w}_x) + (\\\\vec{v}_y + \\\\vec{w}_y)']),\n _templateObject5 = _taggedTemplateLiteralLoose(['\\x0Bec{v} - \\x0Bec{w} = (\\x0Bec{v}_x - \\x0Bec{w}_x) + (\\x0Bec{v}_y - \\x0Bec{w}_y)'], ['\\\\vec{v} - \\\\vec{w} = (\\\\vec{v}_x - \\\\vec{w}_x) + (\\\\vec{v}_y - \\\\vec{w}_y)']),\n _templateObject6 = _taggedTemplateLiteralLoose(['\\x0Bec{v} cdot \\x0Bec{w} = left | \\x0Bec{v} \\right | left | \\x0Bec{w} \\right | cos alpha'], ['\\\\vec{v} \\\\cdot \\\\vec{w} = \\\\left | \\\\vec{v} \\\\right | \\\\left | \\\\vec{w} \\\\right | \\\\cos \\\\alpha']),\n _templateObject7 = _taggedTemplateLiteralLoose(['\\x0Bec{a}'], ['\\\\vec{a}']),\n _templateObject8 = _taggedTemplateLiteralLoose(['\\x0Bec{b}'], ['\\\\vec{b}']),\n _templateObject9 = _taggedTemplateLiteralLoose(['\\x0Bec{c} = \\x0Bec{a} \\times \\x0Bec{b}'], ['\\\\vec{c} = \\\\vec{a} \\\\times \\\\vec{b}']),\n _templateObject10 = _taggedTemplateLiteralLoose(['left | \\x0Bec{c} \\right | = left | \\x0Bec{a} \\right | cdot left | \\x0Bec{b} \\right | cdot sin(alpha)'], ['\\\\left | \\\\vec{c} \\\\right | = \\\\left | \\\\vec{a} \\\\right | \\\\cdot \\\\left | \\\\vec{b} \\\\right | \\\\cdot \\\\sin(\\\\alpha)']),\n _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta v = 0']),\n _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = m \\x0Bec{a}'], ['\\\\Sigma \\\\vec{F} = m \\\\vec{a}']),\n _templateObject13 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{21} = -\\x0Bec{F}_{12}'], ['\\\\vec{F}_{21} = -\\\\vec{F}_{12}']),\n _templateObject14 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = G \\frac{m_1 m_2}{s^2}'], ['\\\\left | \\\\vec{F} \\\\right | = G \\\\frac{m_1 m_2}{s^2}']),\n _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \\frac{N m^2}{{kg}^2}'], ['G = 6.67 \\\\cdot 10^{-11} \\\\frac{N m^2}{{kg}^2}']),\n _templateObject16 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = g m'], ['\\\\left | \\\\vec{F} \\\\right | = g m']),\n _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \\frac{m}{s^2}'], ['g = 9.81 \\\\frac{m}{s^2}']),\n _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \\frac{m}{s^2}'], ['g_{luna} = 1.62 \\\\frac{m}{s^2}']),\n _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \\frac{m}{s^2}'], ['g_{marte} = 3.71 \\\\frac{m}{s^2}']),\n _templateObject20 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{s} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{s} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject21 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{d} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{d} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']),\n _templateObject23 = _taggedTemplateLiteralLoose(['Delta \\x0Bec{s} = \\x0Bec{s}(fine) - \\x0Bec{s}(inizio)'], ['\\\\Delta \\\\vec{s} = \\\\vec{s}(fine) - \\\\vec{s}(inizio)']),\n _templateObject24 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\frac{Delta \\x0Bec{s}}{Delta t}'], ['\\\\vec{v} = \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t}']),\n _templateObject25 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = lim_{Delta t \\to 0} \\frac{Delta \\x0Bec{s}}{Delta t} = \\frac{d \\x0Bec{s}}{dt}'], ['\\\\vec{v} = \\\\lim_{\\\\Delta t \\\\to 0} \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t} = \\\\frac{d \\\\vec{s}}{dt}']),\n _templateObject26 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = \\frac{Delta \\x0Bec{v}}{Delta t}'], ['\\\\vec{a} = \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t}']),\n _templateObject27 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = lim_{Delta v \\to 0} \\frac{Delta \\x0Bec{v}}{Delta t} = \\frac{d \\x0Bec{v}}{d t} = \\frac{d^2 \\x0Bec{s}}{d t^2}'], ['\\\\vec{a} = \\\\lim_{\\\\Delta v \\\\to 0} \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t} = \\\\frac{d \\\\vec{v}}{d t} = \\\\frac{d^2 \\\\vec{s}}{d t^2}']),\n _templateObject28 = _taggedTemplateLiteralLoose(['\\x0Bec{p} = m \\x0Bec{v}'], ['\\\\vec{p} = m \\\\vec{v}']),\n _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta \\x0Bec{p} = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta \\\\vec{p} = 0']),\n _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\\\cdot \\\\Delta t + s(0)']),\n _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']),\n _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']),\n _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \\frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\\\frac{1}{2} a \\\\cdot (\\\\Delta t)^2 + v(0) \\\\cdot (\\\\Delta t) + s(0)']),\n _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\\\Delta t + v(0)']),\n _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']),\n _templateObject36 = _taggedTemplateLiteralLoose(['omega = \\frac{2 pi}{T}'], ['\\\\omega = \\\\frac{2 \\\\pi}{T}']),\n _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi)']),\n _templateObject38 = _taggedTemplateLiteralLoose(['\\frac{pi}{2}'], ['\\\\frac{\\\\pi}{2}']),\n _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \\frac{pi}{2})'], ['v(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\frac{\\\\pi}{2})']),\n _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\\\pi']),\n _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\pi)']),\n _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\\\phi']),\n _templateObject43 = _taggedTemplateLiteralLoose(['v = \\frac{Delta s}{t} = \\frac{2 pi cdot r}{T} = omega r'], ['v = \\\\frac{\\\\Delta s}{t} = \\\\frac{2 \\\\pi \\\\cdot r}{T} = \\\\omega r']),\n _templateObject44 = _taggedTemplateLiteralLoose(['a = \\frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\\\frac{v^2}{r} = r \\\\cdot \\\\omega^2 = v \\\\cdot \\\\omega']),\n _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\\\cdot a']),\n _templateObject46 = _taggedTemplateLiteralLoose(['W = \\x0Bec{F} cdot \\x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\\\vec{F} \\\\cdot \\\\vec{s} = F \\\\cdot \\\\Delta s \\\\cdot cos(\\\\alpha )']),\n _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \\frac{1}{2} m v^2'], ['E_c = \\\\frac{1}{2} m v^2']),\n _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\\\Delta E_c = W']),\n _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\\\cdot g \\\\cdot h']),\n _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \\frac{1}{2} k x^2'], ['E_{p_e} = \\\\frac{1}{2} k x^2']),\n _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),\n _templateObject52 = _taggedTemplateLiteralLoose(['P = \\frac{Delta E}{Delta t}'], ['P = \\\\frac{\\\\Delta E}{\\\\Delta t}']),\n _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\\\cdot 10^{-19}']),\n _templateObject54 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{-k \\\\cdot q_1 \\\\cdot q_2}{s^2}']),\n _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']),\n _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \\frac{N cdot m^2}{C^2}'], ['k = 8.99 \\\\cdot 10^9 \\\\frac{N \\\\cdot m^2}{C^2}']),\n _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\\\epsilon_0']),\n _templateObject58 = _taggedTemplateLiteralLoose(['k = \\frac{1}{4 pi cdot epsilon_0}'], ['k = \\\\frac{1}{4 \\\\pi \\\\cdot \\\\epsilon_0}']),\n _templateObject59 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{q_1 \\\\cdot q_2}{4 \\\\pi \\\\cdot \\\\epsilon_0 \\\\cdot s^2}']),\n _templateObject60 = _taggedTemplateLiteralLoose(['\\x0Bec{E} = \\frac{\\x0Bec{F}_{elettrica}}{q} = \\frac{-k cdot q}{s^2}'], ['\\\\vec{E} = \\\\frac{\\\\vec{F}_{elettrica}}{q} = \\\\frac{-k \\\\cdot q}{s^2}']),\n _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{S} = E cdot S cdot cos(phi)'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{S} = E \\\\cdot S \\\\cdot \\\\cos(\\\\phi)']),\n _templateObject62 = _taggedTemplateLiteralLoose(['\\x0Bec{S}'], ['\\\\vec{S}']),\n _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = \\frac{q_{interna}}{epsilon_0}'], ['\\\\Phi_E = \\\\frac{q_{interna}}{\\\\epsilon_0}']),\n _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']),\n _templateObject65 = _taggedTemplateLiteralLoose(['V = \\frac{E_{elettrica}}{q}'], ['V = \\\\frac{E_{elettrica}}{q}']),\n _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']),\n _templateObject67 = _taggedTemplateLiteralLoose(['I = \\frac{Delta q}{Delta t}'], ['I = \\\\frac{\\\\Delta q}{\\\\Delta t}']),\n _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']),\n _templateObject69 = _taggedTemplateLiteralLoose(['P = \\frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \\frac{(Delta V)^2}{R}'], ['P = \\\\frac{\\\\Delta U}{\\\\Delta t} = I \\\\cdot \\\\Delta V = I^2 \\\\cdot R = \\\\frac{(\\\\Delta V)^2}{R}']),\n _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\\\cdot I']),\n _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']),\n _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\\\Omega']),\n _templateObject73 = _taggedTemplateLiteralLoose(['R = \\rho \\frac{L_{unghezza}}{A_{rea}}'], ['R = \\\\rho \\\\frac{L_{unghezza}}{A_{rea}}']),\n _templateObject74 = _taggedTemplateLiteralLoose(['\\rho'], ['\\\\rho']),\n _templateObject75 = _taggedTemplateLiteralLoose(['\\rho = \\rho_0 (1 + alpha(T - T_0))'], ['\\\\rho = \\\\rho_0 (1 + \\\\alpha(T - T_0))']),\n _templateObject76 = _taggedTemplateLiteralLoose(['C = \\frac{q_{massima}}{Delta V}'], ['C = \\\\frac{q_{massima}}{\\\\Delta V}']),\n _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \\frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\\\kappa \\\\cdot \\\\frac{\\\\epsilon_0 \\\\cdot A}{s}']),\n _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\\\kappa']),\n _templateObject79 = _taggedTemplateLiteralLoose(['d'], ['d']),\n _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']),\n _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\\\sum_{i=1}^{n} R_i']),\n _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{R_i}}'], ['R_{parallelo} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{R_i}}']),\n _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{C_i}}'], ['C_{serie} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{C_i}}']),\n _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\\\sum_{i=1}^{n} C_n']),\n _templateObject85 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{magnetica} = q cdot (\\x0Bec{v} \\times \\x0Bec{B})'], ['\\\\vec{F}_{magnetica} = q \\\\cdot (\\\\vec{v} \\\\times \\\\vec{B})']),\n _templateObject86 = _taggedTemplateLiteralLoose(['\\x0Bec{B}'], ['\\\\vec{B}']),\n _templateObject87 = _taggedTemplateLiteralLoose(['\\x0Bec{v}'], ['\\\\vec{v}']),\n _templateObject88 = _taggedTemplateLiteralLoose(['\\x0Bec{F} = I cdot (\\x0Bec{L} \\times \\x0Bec{B})'], ['\\\\vec{F} = I \\\\cdot (\\\\vec{L} \\\\times \\\\vec{B})']);\n\n\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction fisica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar fisica_r = String.raw;\n\nvar fisica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Fisica (2019)'\n);\n\nvar _ref2 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Vettori'\n);\n\nvar _ref3 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Componenti cartesiane'\n);\n\nvar _ref4 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Usa le regole base della trigonometria:'\n);\n\nvar _ref5 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Somma'\n);\n\nvar _ref6 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Scomponi in componenti, poi sommali:'\n);\n\nvar _ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore risultante dall\\'applicazione della regola del parallelogramma.'\n);\n\nvar _ref8 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Differenza'\n);\n\nvar _ref9 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Alla fine \\xE8 sempre una somma:'\n);\n\nvar _ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore che parte da ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'w'\n ),\n ' e arriva a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n '.'\n);\n\nvar _ref11 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Prodotto scalare'\n);\n\nvar _ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama scalare perch\\xE8 il risultato \\xE8 uno scalare, non un vettore.'\n);\n\nvar _ref13 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Prodotto vettoriale'\n);\n\nvar _ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama vettoriale perch\\xE8 il risultato \\xE8 un altro vettore.'\n);\n\nvar _ref15 = Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' },\n 'Regola della mano destra'\n )\n);\n\nvar _ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non \\xE8 commutativo!'\n);\n\nvar _ref17 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Leggi di Newton'\n);\n\nvar _ref18 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '1\\u1D43: Inerzia'\n);\n\nvar _ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\\xE0 non cambia.'\n);\n\nvar _ref20 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '2\\u1D43: Proporzionalit\\xE0'\n);\n\nvar _ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La forza risultante di un corpo \\xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\\xE0 \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'massa'\n ),\n '.'\n);\n\nvar _ref22 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n '3\\u1D43: Azione e reazione'\n);\n\nvar _ref23 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi esercitano forze uguali e opposte uno sull\\'altro.'\n);\n\nvar _ref24 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forza di gravit\\xE0'\n);\n\nvar _ref25 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Tra due corpi'\n);\n\nvar _ref26 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi puntiformi si attirano uno verso l\\'altro con forza:'\n);\n\nvar _ref27 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'G'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravitazione universale'\n ),\n ' e vale:'\n);\n\nvar _ref28 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Verso la Terra'\n);\n\nvar _ref29 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \\xE8 attratto verso la Terra con forza ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'peso'\n ),\n ' uguale a:'\n);\n\nvar _ref30 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'g'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ' della Terra, e vale:'\n);\n\nvar _ref31 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Su pianeti diversi'\n);\n\nvar _ref32 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per pianeti diversi dalla Terra vale la stessa regola:'\n);\n\nvar _ref33 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'unica differenza \\xE8 che cambia la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ':'\n);\n\nvar _ref34 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forze di contatto'\n);\n\nvar _ref35 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Normale'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si oppone alle forze applicate alla superficie di contatto.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un libro appoggiato su un tavolo ha la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza di gravit\\xE0'\n ),\n ' che lo attira verso il terreno e la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza normale'\n ),\n ' che lo trattiene dal cadere.'\n )\n);\n\nvar _ref36 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Attrito statico'\n);\n\nvar _ref37 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:'\n);\n\nvar _ref38 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Attrito dinamico'\n);\n\nvar _ref39 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Rallenta i corpi che si stanno muovendo finch\\xE8 essi non si fermano:'\n);\n\nvar _ref40 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Tensione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' forza trasmessa tra due estremi di una fune.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pu\\xF2 essere redirezionata per mezzo di carrucole.'\n )\n);\n\nvar _ref41 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Elastica'\n);\n\nvar _ref42 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:'\n);\n\nvar _ref43 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(E\\' negativa perch\\xE8 la forza \\xE8 opposta a quella applicata per deformarla.)'\n);\n\nvar _ref44 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Cinematica'\n);\n\nvar _ref45 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref46 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che indica la posizione di un corpo rispetto a un\\'origine.'\n);\n\nvar _ref47 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref48 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di posizione nel tempo.'\n);\n\nvar _ref49 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'velocit\\xE0 istantanea'\n ),\n ':'\n);\n\nvar _ref50 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref51 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di velocit\\xE0 nel tempo.'\n);\n\nvar _ref52 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'accelerazione istantanea'\n ),\n ':'\n);\n\nvar _ref53 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Quantit\\xE0 di moto ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(momento lineare)'\n )\n);\n\nvar _ref54 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La quantit\\xE0 di moto \\xE8 una propriet\\xE0 vettoriale dei corpi:'\n);\n\nvar _ref55 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la forza risultante \\xE8 nulla, la quantit\\xE0 di moto non cambia.'\n);\n\nvar _ref56 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto rettilineo uniforme'\n);\n\nvar _ref57 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref58 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref59 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref60 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref61 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref62 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La velocit\\xE0 non varia:'\n);\n\nvar _ref63 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = 0'\n )\n )\n);\n\nvar _ref64 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto rettilineo uniformemente accelerato'\n);\n\nvar _ref65 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref66 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref67 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref68 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una retta:'\n);\n\nvar _ref69 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref70 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref71 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref72 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto armonico semplice'\n);\n\nvar _ref73 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Ampiezza'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la distanza dal centro massima che raggiunge il corpo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(L\\'ampiezza di una sinusoide.)'\n )\n);\n\nvar _ref74 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref75 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Indica quanto in fretta cambia la posizione del corpo.'\n);\n\nvar _ref76 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dipende dal periodo:'\n);\n\nvar _ref77 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Spostamento'\n);\n\nvar _ref78 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una sinusoide:'\n);\n\nvar _ref79 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref80 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref81 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref82 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moti composti'\n);\n\nvar _ref83 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Moto parabolico'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando un moto rettilineo uniforme sull\\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\\'asse verticale.'\n )\n);\n\nvar _ref84 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Moto circolare uniforme'\n);\n\nvar _ref85 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Moto circolare uniforme'\n);\n\nvar _ref86 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref87 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanto cambia la fase nel tempo.'\n);\n\nvar _ref88 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Fase'\n);\n\nvar _ref89 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' l\\'angolo percorso dal corpo rispetto alla posizione iniziale.'\n);\n\nvar _ref90 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0'\n);\n\nvar _ref91 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applicano le formule per la circonferenza:'\n);\n\nvar _ref92 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Accelerazione'\n);\n\nvar _ref93 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:'\n);\n\nvar _ref94 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza centripeta'\n);\n\nvar _ref95 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 verso il centro e si calcola con:'\n);\n\nvar _ref96 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Lavoro ed energia'\n);\n\nvar _ref97 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Lavoro'\n);\n\nvar _ref98 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' compiuto da una forza che sposta un corpo.'\n);\n\nvar _ref99 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Se la forza non \\xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)'\n);\n\nvar _ref100 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia cinetica'\n);\n\nvar _ref101 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia cinetica in ogni momento uguale a:'\n);\n\nvar _ref102 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:'\n);\n\nvar _ref103 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale gravitazionale'\n);\n\nvar _ref104 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia potenziale in ogni momento pari a:'\n);\n\nvar _ref105 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'h'\n ),\n ' uguale a un altezza scelta come punto di riferimento.)'\n);\n\nvar _ref106 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale elastica'\n);\n\nvar _ref107 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla ha sempre energia potenziale elastica pari a:'\n);\n\nvar _ref108 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forze conservative'\n);\n\nvar _ref109 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\\'arrivo.'\n);\n\nvar _ref110 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ad esempio, \\xE8 conservativa la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza di gravit\\xE0'\n ),\n ', ma ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'non'\n ),\n ' \\xE8 conservativa la forza di attrito.'\n);\n\nvar _ref111 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se in un sistema ci sono solo forze conservative, allora l\\'energia meccanica totale si conserva:'\n);\n\nvar _ref112 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenza'\n);\n\nvar _ref113 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la velocit\\xE0 di trasferimento di energia:'\n);\n\nvar _ref114 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Elettrostatica'\n);\n\nvar _ref115 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Carica elettrica'\n);\n\nvar _ref116 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una propriet\\xE0 dei corpi che pu\\xF2 essere ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positiva'\n ),\n ' o ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negativa'\n ),\n '.'\n);\n\nvar _ref117 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si conserva: in un sistema chiuso la carica totale \\xE8 costante.'\n);\n\nvar _ref118 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si attraggono; cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'uguali'\n ),\n ' si respingono.'\n);\n\nvar _ref119 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Conduttori e isolanti'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Ione' },\n 'ioni'\n ),\n ' ha un corpo, meglio la carica si muove attraverso di esso.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi in cui la carica si muove bene sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'conduttori'\n ),\n ', mentre quelli in cui si muove difficilmente sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'isolanti'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo umano \\xE8 un buon conduttore.'\n )\n);\n\nvar _ref120 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Polarizzazione'\n);\n\nvar _ref121 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'\n )\n )\n);\n\nvar _ref122 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Messa a terra'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore \\xE8 in contatto con la Terra, le cariche su di esso saranno ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'equilibrate'\n ),\n ' e il corpo diventer\\xE0 elettricamente neutro (con stesso numero di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'cariche positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' all\\'interno).'\n )\n )\n);\n\nvar _ref123 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per strofinio'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Strofinando tra loro due corpi isolanti, essi si ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzeranno per strofinio'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per contatto'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Toccando un conduttore con un corpo carico, il conduttore potr\\xE0 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzarsi per contatto'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Polarizzazione per induzione'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore ha cariche \"esterne\" di un ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'certo segno'\n ),\n ' vicino, esso avr\\xE0 tutte le cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stesso segno'\n ),\n ' pi\\xF9 lontano possibile da esse.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Mettendo a terra il conduttore, nuove cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' saranno attratte all\\'interno del corpo per equilibrare le cariche che si sono allontanate.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\\xE0 ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'caricato del segno opposto'\n ),\n ' rispetto alle cariche esterne.'\n )\n )\n);\n\nvar _ref124 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Forza elettrica'\n);\n\nvar _ref125 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Coulomb'\n);\n\nvar _ref126 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi carichi si attraggono tra loro con forza:'\n);\n\nvar _ref127 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di Coulomb'\n);\n\nvar _ref128 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Permeabilit\\xE0 dello spazio vuoto'\n);\n\nvar _ref129 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'permeabilit\\xE0 del vuoto'\n);\n\nvar _ref130 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo elettrico'\n);\n\nvar _ref131 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura che forza viene applicata in ogni punto su una carica unitaria:'\n);\n\nvar _ref132 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Flusso elettrico'\n);\n\nvar _ref133 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la differenza tra \"quanto\" campo elettrico ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'entra'\n ),\n ' e quanto campo elettrico ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'esce'\n ),\n ' da una certa area.'\n);\n\nvar _ref134 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 proporzionale alla intensit\\xE0 del campo, alla dimensione dell\\'area scelta e a come l\\'area \\xE8 disposta rispetto alla direzione del campo.'\n);\n\nvar _ref135 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico \\xE8 uniforme, se ne pu\\xF2 calcolare facilmente il valore:'\n);\n\nvar _ref136 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Gauss'\n);\n\nvar _ref137 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso elettrico uscente da una superficie \\xE8 proporzionale alla carica presente al suo interno.'\n);\n\nvar _ref138 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' equivalente alla Legge di Coulomb.'\n);\n\nvar _ref139 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Energia elettrica'\n);\n\nvar _ref140 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Energia potenziale elettrica'\n);\n\nvar _ref141 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'energia potenziale elettrica'\n);\n\nvar _ref142 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Circuiti elettrici'\n);\n\nvar _ref143 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenziale elettrico (Tensione)'\n);\n\nvar _ref144 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 il valore dell\\'energia potenziale elettrica per una carica unitaria.'\n);\n\nvar _ref145 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una batteria \\xE8 detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza elettromotrice'\n ),\n ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.'\n);\n\nvar _ref146 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente elettrica (Intensit\\xE0)'\n);\n\nvar _ref147 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanta carica passa attraverso un\\'area (perpendicolare al flusso) nel tempo.'\n);\n\nvar _ref148 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Fintanto che c\\'\\xE8 differenza di potenziale, ci sar\\xE0 anche intensit\\xE0 non nulla.'\n);\n\nvar _ref149 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente continua (',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Direct Current' },\n 'DC'\n ),\n ')'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente \\xE8 costante.'\n )\n);\n\nvar _ref150 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Corrente alternata (',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Alternate Current' },\n 'AC'\n ),\n ')'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente si alterna periodicamente.'\n )\n);\n\nvar _ref151 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Potenza elettrica'\n);\n\nvar _ref152 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possiamo calcolare la potenza di un circuito:'\n);\n\nvar _ref153 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Elementi di un circuito'\n);\n\nvar _ref154 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Resistore'\n);\n\nvar _ref155 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Riduce l\\'intensit\\xE0 di corrente, e converte parte del potenziale in calore.'\n);\n\nvar _ref156 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il potenziale utilizzato \\xE8 pari a:'\n);\n\nvar _ref157 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistenza'\n);\n\nvar _ref158 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La resistenza di un conduttore vale:'\n);\n\nvar _ref159 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistivit\\xE0'\n);\n\nvar _ref160 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Condensatore'\n);\n\nvar _ref161 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.'\n);\n\nvar _ref162 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per farlo, cattura cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' sulle sue due armature; perch\\xE8 questo avvenga, deve essere compiuto lavoro.'\n);\n\nvar _ref163 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ha una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'capacit\\xE0'\n ),\n ' caratteristica, che in un condensatore a facce piane parallele \\xE8:'\n);\n\nvar _ref164 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Condensatori di capacit\\xE0 maggiore immagazzinano pi\\xF9 potenziale con meno carica.'\n);\n\nvar _ref165 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La capacit\\xE0 aumenta se viene messo qualcosa tra le armature:'\n);\n\nvar _ref166 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante dielettrica relativa'\n);\n\nvar _ref167 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico creatosi tra le due armature supera la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'rigidit\\xE0 dielettrica'\n ),\n ' del condensatore, la carica immagazzinata viene persa e ha luogo un ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'breakdown'\n ),\n '.'\n);\n\nvar _ref168 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Amperometro'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la corrente elettrica se messo in serie.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)'\n )\n);\n\nvar _ref169 = Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Voltmetro'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la differenza di potenziale se messo in parallelo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)'\n )\n);\n\nvar _ref170 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Principi di Kirchhoff'\n);\n\nvar _ref171 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge dei nodi'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per nodo si intende un qualsiasi punto del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Da un nodo entra ed esce la stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge delle maglie'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per maglia si intende un qualsiasi percorso chiuso all\\'interno del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una maglia chiusa, la somma delle differenze di potenziale \\xE8 0.'\n )\n )\n);\n\nvar _ref172 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Serie e Parallelo'\n);\n\nvar _ref173 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuito in serie'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in serie'\n ),\n ' se sono consecutive e senza biforcazioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in serie sono attraversate dalla stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuito in parallelo'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in parallelo'\n ),\n ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.'\n )\n )\n);\n\nvar _ref174 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Resistenze equivalenti'\n);\n\nvar _ref175 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in serie'\n);\n\nvar _ref176 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:'\n);\n\nvar _ref177 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in parallelo'\n);\n\nvar _ref178 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:'\n);\n\nvar _ref179 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Condensatori equivalenti'\n);\n\nvar _ref180 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in serie'\n);\n\nvar _ref181 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:'\n);\n\nvar _ref182 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Circuiti in parallelo'\n);\n\nvar _ref183 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacit\\xE0 di tutti quelli sostituiti:'\n);\n\nvar _ref184 = Object(preact_min[\"h\"])(\n 'h2',\n null,\n 'Magnetismo'\n);\n\nvar _ref185 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Campo magnetico'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come un campo elettrico, ma per i magneti.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Tesla (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'T'\n ),\n ').'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Flusso magnetico'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come il flusso elettrico, ma per campi magnetici.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Legge di Gauss per il magnetismo'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso magnetico attraverso qualsiasi superficie chiusa \\xE8 sempre nullo.'\n )\n )\n);\n\nvar _ref186 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza magnetica su carica puntiforme'\n);\n\nvar _ref187 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Anche detta ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza di Lorentz'\n ),\n '.'\n )\n);\n\nvar _ref188 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici applicano una forza sulle cariche vicine:'\n);\n\nvar _ref189 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si ha una forza massima se la velocit\\xE0 \\xE8 perpendicolare al campo magnetico.'\n);\n\nvar _ref190 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico uniforme, una velocit\\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.'\n);\n\nvar _ref191 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Forza magnetica in un filo'\n);\n\nvar _ref192 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici influenzano anche le cariche presenti in un conduttore:'\n);\n\nvar fisica_Fisica = function (_Component) {\n fisica__inherits(Fisica, _Component);\n\n function Fisica() {\n fisica__classCallCheck(this, Fisica);\n\n return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Fisica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n null,\n fisica__ref,\n _ref2,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref3,\n _ref4,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject2)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject3)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref5,\n _ref6,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject4)\n )\n ),\n _ref7\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref8,\n _ref9,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject5)\n )\n ),\n _ref10\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref11,\n _ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject6)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il modulo della proiezione di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject7)\n ),\n ' su ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject8)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref13,\n _ref14,\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject9)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject10)\n )\n ),\n _ref15\n ),\n _ref16\n )\n ),\n _ref17,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref18,\n _ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject11)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref20,\n _ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject12)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref22,\n _ref23,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject13)\n )\n )\n )\n ),\n _ref24,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref25,\n _ref26,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject14)\n )\n ),\n _ref27,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref28,\n _ref29,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject16)\n )\n ),\n _ref30,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref31,\n _ref32,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject16)\n )\n ),\n _ref33,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject18)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject19)\n )\n )\n )\n ),\n _ref34,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref35,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref36,\n _ref37,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref38,\n _ref39,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject21)\n )\n )\n ),\n _ref40,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref41,\n _ref42,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject22)\n )\n ),\n _ref43\n )\n ),\n _ref44,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref45,\n _ref46,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref47,\n _ref48,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject24)\n )\n ),\n _ref49,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject25)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref50,\n _ref51,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject26)\n )\n ),\n _ref52,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject27)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref53,\n _ref54,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject28)\n )\n ),\n _ref55,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject29)\n )\n )\n )\n ),\n _ref56,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref57,\n _ref58,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject30)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref59,\n _ref60,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject31)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref61,\n _ref62,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject32)\n )\n )\n ),\n _ref63\n ),\n _ref64,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref65,\n _ref66,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject33)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref67,\n _ref68,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject34)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref69,\n _ref70,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject35)\n )\n )\n ),\n _ref71\n ),\n _ref72,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref73,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref74,\n _ref75,\n _ref76,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref77,\n _ref78,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject37)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref79,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide dello spostamento, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject38)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject39)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref80,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide della velocit\\xE0, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject40)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject41)\n )\n )\n ),\n _ref81\n ),\n _ref82,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n _ref83,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref84,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando due moti armonici semplici: uno sull\\'asse X, e l\\'altro, sfasato di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject38)\n ),\n ', sull\\'asse Y.'\n )\n )\n ),\n _ref85,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref86,\n _ref87,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref88,\n _ref89,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si indica con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject42)\n ),\n ', e generalmente si usa in radianti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref90,\n _ref91,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject43)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref92,\n _ref93,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject44)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref94,\n _ref95,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject45)\n )\n )\n )\n ),\n _ref96,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref97,\n _ref98,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject46)\n )\n ),\n _ref99\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref100,\n _ref101,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject47)\n )\n ),\n _ref102,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject48)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref103,\n _ref104,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject49)\n )\n ),\n _ref105\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref106,\n _ref107,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject50)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref108,\n _ref109,\n _ref110,\n _ref111,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject51)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref112,\n _ref113,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject52)\n )\n )\n )\n ),\n _ref114,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref115,\n _ref116,\n _ref117,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esiste un\\'unit\\xE0 elementare: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject53)\n ),\n '.'\n ),\n _ref118\n ),\n _ref119\n ),\n _ref120,\n _ref121,\n _ref122,\n _ref123,\n _ref124,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref125,\n _ref126,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject54)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject55)\n ),\n ' \\xE8 la ',\n _ref127,\n ', e vale ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject56)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref128,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La costante ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject55)\n ),\n ' \\xE8 in realt\\xE0 dipendente da un altra costante, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject57)\n ),\n ', la ',\n _ref129,\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject58)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject59)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref130,\n _ref131,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject60)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref132,\n _ref133,\n _ref134,\n _ref135,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject61)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject62)\n ),\n ' \\xE8 il vettore dell\\'area che abbiamo scelto.)'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref136,\n _ref137,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject63)\n )\n ),\n _ref138\n )\n ),\n _ref139,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref140,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo carico vicino ad altre cariche possiede un\\'',\n _ref141,\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject64)\n ),\n '.'\n )\n )\n ),\n _ref142,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref143,\n _ref144,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject65)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Volt (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject66)\n ),\n ').'\n ),\n _ref145\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref146,\n _ref147,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject67)\n )\n ),\n _ref148,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 l\\'Ampere (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject68)\n ),\n ').'\n )\n ),\n _ref149,\n _ref150,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref151,\n _ref152,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject69)\n )\n )\n )\n ),\n _ref153,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref154,\n _ref155,\n _ref156,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject70)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject71)\n ),\n ' \\xE8 una costante detta ',\n _ref157,\n ' con unit\\xE0 di misura Ohm (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject72)\n ),\n ').'\n ),\n _ref158,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject73)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject74)\n ),\n ' \\xE8 la ',\n _ref159,\n ' del materiale, e varia in base alla temperatura:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject75)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref160,\n _ref161,\n _ref162,\n _ref163,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject76)\n )\n ),\n _ref164,\n _ref165,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject77)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject78)\n ),\n ' \\xE8 la ',\n _ref166,\n ' del materiale inserito, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject68)\n ),\n ' l\\'area di una armatura e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject79)\n ),\n ' la distanza tra le due armature.'\n ),\n _ref167,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Farad (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject80)\n ),\n ')'\n )\n ),\n _ref168,\n _ref169\n ),\n _ref170,\n _ref171,\n _ref172,\n _ref173,\n _ref174,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref175,\n _ref176,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject81)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref177,\n _ref178,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject82)\n )\n )\n )\n ),\n _ref179,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref180,\n _ref181,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject83)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref182,\n _ref183,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject84)\n )\n )\n )\n ),\n _ref184,\n _ref185,\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref186,\n _ref187,\n _ref188,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject85)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject86)\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject87)\n ),\n ' la velocit\\xE0 della carica considerata.'\n ),\n _ref189,\n _ref190\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref191,\n _ref192,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n fisica_r(_templateObject88)\n )\n )\n )\n )\n );\n };\n\n return Fisica;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/copyright.css\nvar copyright = __webpack_require__(\"qMTX\");\nvar copyright_default = /*#__PURE__*/__webpack_require__.n(copyright);\n\n// CONCATENATED MODULE: ./components/copyright.js\n\n\nfunction copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction copyright__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar copyright__ref = Object(preact_min[\"h\"])(\n\t\"a\",\n\t{ href: \"https://creativecommons.org/licenses/by-sa/4.0/\" },\n\t\"CC BY-SA 4.0\"\n);\n\nvar copyright__ref2 = Object(preact_min[\"h\"])(\n\t\"a\",\n\t{ href: \"https://github.com/Steffo99/appuntiweb\" },\n\t\"Codice sorgente\"\n);\n\nvar copyright_Copyright = function (_Component) {\n\tcopyright__inherits(Copyright, _Component);\n\n\tfunction Copyright() {\n\t\tcopyright__classCallCheck(this, Copyright);\n\n\t\treturn copyright__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tCopyright.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": copyright_default.a.copyright },\n\t\t\t\"\\xA9 2019 - Stefano Pigozzi - \",\n\t\t\tcopyright__ref,\n\t\t\t\" - \",\n\t\t\tcopyright__ref2\n\t\t);\n\t};\n\n\treturn Copyright;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./index.js\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return App; });\n\n\nfunction index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction index__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\nvar index_r = String.raw;\n\nvar index__ref = Object(preact_min[\"h\"])(\n\t'div',\n\t{ id: 'app' },\n\tObject(preact_min[\"h\"])(fisica_Fisica, null),\n\tObject(preact_min[\"h\"])(copyright_Copyright, null)\n);\n\nvar App = function (_Component) {\n\tindex__inherits(App, _Component);\n\n\tfunction App() {\n\t\tindex__classCallCheck(this, App);\n\n\t\treturn index__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tApp.prototype.render = function render() {\n\t\treturn index__ref;\n\t};\n\n\treturn App;\n}(preact_min[\"Component\"]);\n\n\n\n/***/ }),\n\n/***/ \"KM04\":\n/***/ (function(module, exports, __webpack_require__) {\n\n!function () {\n \"use strict\";\n function e(e, t) {\n var n,\n o,\n r,\n i,\n l = W;for (i = arguments.length; i-- > 2;) {\n P.push(arguments[i]);\n }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) {\n if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) {\n P.push(o[i]);\n } else \"boolean\" == typeof o && (o = null), (r = \"function\" != typeof e) && (null == o ? o = \"\" : \"number\" == typeof o ? o += \"\" : \"string\" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r;\n }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a;\n }function t(e, t) {\n for (var n in t) {\n e[n] = t[n];\n }return e;\n }function n(e, t) {\n e && (\"function\" == typeof e ? e(t) : e.current = t);\n }function o(n, o) {\n return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children);\n }function r(e) {\n !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i);\n }function i() {\n var e;while (e = V.pop()) {\n e.__d && x(e);\n }\n }function l(e, t, n) {\n return \"string\" == typeof t || \"number\" == typeof t ? void 0 !== e.splitText : \"string\" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName;\n }function a(e, t) {\n return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase();\n }function u(e) {\n var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) {\n void 0 === n[r] && (n[r] = o[r]);\n }return n;\n }function c(e, t) {\n var n = t ? document.createElementNS(\"http://www.w3.org/2000/svg\", e) : document.createElement(e);return n.__n = e, n;\n }function p(e) {\n var t = e.parentNode;t && t.removeChild(e);\n }function s(e, t, o, r, i) {\n if (\"className\" === t && (t = \"class\"), \"key\" === t) ;else if (\"ref\" === t) n(o, null), n(r, e);else if (\"class\" !== t || i) {\n if (\"style\" === t) {\n if (r && \"string\" != typeof r && \"string\" != typeof o || (e.style.cssText = r || \"\"), r && \"object\" == typeof r) {\n if (\"string\" != typeof o) for (var l in o) {\n l in r || (e.style[l] = \"\");\n }for (var l in r) {\n e.style[l] = \"number\" == typeof r[l] && !1 === E.test(l) ? r[l] + \"px\" : r[l];\n }\n }\n } else if (\"dangerouslySetInnerHTML\" === t) r && (e.innerHTML = r.__html || \"\");else if (\"o\" == t[0] && \"n\" == t[1]) {\n var a = t !== (t = t.replace(/Capture$/, \"\"));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r;\n } else if (\"list\" !== t && \"type\" !== t && !i && t in e) {\n try {\n e[t] = null == r ? \"\" : r;\n } catch (e) {}null != r && !1 !== r || \"spellcheck\" == t || e.removeAttribute(t);\n } else {\n var u = i && t !== (t = t.replace(/^xlink:?/, \"\"));null == r || !1 === r ? u ? e.removeAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase()) : e.removeAttribute(t) : \"function\" != typeof r && (u ? e.setAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase(), r) : e.setAttribute(t, r));\n }\n } else e.className = r || \"\";\n }function _(e) {\n return this.__l[e.type](M.event && M.event(e) || e);\n }function f() {\n var e;while (e = A.shift()) {\n M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount();\n }\n }function d(e, t, n, o, r, i) {\n H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !(\"__preactattr_\" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l;\n }function h(e, t, n, o, r) {\n var i = e,\n l = R;if (null != t && \"boolean\" != typeof t || (t = \"\"), \"string\" == typeof t || \"number\" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if (\"function\" == typeof u) return N(e, t, n, o);if (R = \"svg\" === u || \"foreignObject\" !== u && R, u += \"\", (!e || !a(e, u)) && (i = c(u, R), e)) {\n while (e.firstChild) {\n i.appendChild(e.firstChild);\n }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0);\n }var p = i.firstChild,\n s = i.__preactattr_,\n _ = t.children;if (null == s) {\n s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) {\n s[f[d].name] = f[d].value;\n }\n }return !B && _ && 1 === _.length && \"string\" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i;\n }function m(e, t, n, o, r) {\n var i,\n a,\n u,\n c,\n s,\n _ = e.childNodes,\n f = [],\n d = {},\n m = 0,\n b = 0,\n y = _.length,\n g = 0,\n w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) {\n var x = _[C],\n N = x.__preactattr_,\n k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x);\n }if (0 !== w) for (var C = 0; C < w; C++) {\n c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) {\n if (void 0 !== f[i] && l(a = f[i], c, r)) {\n s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break;\n }\n }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u));\n }if (m) for (var C in d) {\n void 0 !== d[C] && v(d[C], !1);\n }while (b <= g) {\n void 0 !== (s = f[g--]) && v(s, !1);\n }\n }function v(e, t) {\n var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e));\n }function b(e) {\n e = e.lastChild;while (e) {\n var t = e.previousSibling;v(e, !0), e = t;\n }\n }function y(e, t, n) {\n var o;for (o in n) {\n t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R);\n }for (o in t) {\n \"children\" === o || \"innerHTML\" === o || o in n && t[o] === (\"value\" === o || \"checked\" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R);\n }\n }function g(e, t, n) {\n var o,\n r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) {\n if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o;\n }return o;\n }function w(e, t, n) {\n return this.constructor(e, n);\n }function C(e, t, o, i, l) {\n e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e));\n }function x(e, n, o, r) {\n if (!e.__x) {\n var i,\n l,\n a,\n c = e.props,\n p = e.state,\n s = e.context,\n _ = e.__p || c,\n h = e.__s || p,\n m = e.__c || s,\n b = e.base,\n y = e.__b,\n w = b || y,\n N = e._component,\n U = !1,\n S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) {\n i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L,\n T,\n P = i && i.nodeName;if (\"function\" == typeof P) {\n var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base;\n } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) {\n var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1)));\n }if (L && k(L), e.base = T, T && !r) {\n var E = e,\n V = e;while (V = V.__u) {\n (E = V).base = T;\n }T._component = E, T._componentConstructor = E.constructor;\n }\n }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) {\n e.__h.pop().call(e);\n }H || r || f();\n }\n }function N(e, t, n, o) {\n var r = e && e._component,\n i = r,\n l = e,\n a = r && e._componentConstructor === t.nodeName,\n c = a,\n p = u(t);while (r && !c && (r = r.__u)) {\n c = r.constructor === t.nodeName;\n }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e;\n }function k(e) {\n M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null);\n }function U(e, t) {\n this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = [];\n }function S(e, t, n) {\n return d(n, e, {}, !1, t, !1);\n }function L() {\n return {};\n }var T = function T() {},\n M = {},\n P = [],\n W = [],\n D = \"function\" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout,\n E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,\n V = [],\n A = [],\n H = 0,\n R = !1,\n B = !1,\n F = [];t(U.prototype, { setState: function setState(e, n) {\n this.__s || (this.__s = this.state), this.state = t(t({}, this.state), \"function\" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this);\n }, forceUpdate: function forceUpdate(e) {\n e && this.__h.push(e), x(this, 2);\n }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j;\n}();\n//# sourceMappingURL=preact.min.js.map\n\n/***/ }),\n\n/***/ \"MKE3\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"MeW5\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"minus\":\"minus__2Ld4F\"};\n\n/***/ }),\n\n/***/ \"P9k+\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"panel\":\"panel__1ubJw\"};\n\n/***/ }),\n\n/***/ \"YK4a\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _preact = __webpack_require__(\"KM04\");\n\nif (false) {\n\trequire('preact/devtools');\n} else if (true && 'serviceWorker' in navigator && location.protocol === 'https:') {\n\tnavigator.serviceWorker.register(__webpack_require__.p + 'sw.js');\n}\n\nvar interopDefault = function interopDefault(m) {\n\treturn m && m.default ? m.default : m;\n};\n\nvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\nif (typeof app === 'function') {\n\tvar root = document.body.firstElementChild;\n\n\tvar init = function init() {\n\t\tvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (false) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n/***/ }),\n\n/***/ \"ddTt\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"plus\":\"plus__29_QM\"};\n\n/***/ }),\n\n/***/ \"qMTX\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__2FTnU\"};\n\n/***/ }),\n\n/***/ \"tO1d\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__1pOoN\"};\n\n/***/ }),\n\n/***/ \"xHuH\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// bundle.80c34.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"YK4a\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap bc01b90c6aa8f1892321","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__3Esv7\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__3qCWp\",\"splitchild\":\"splitchild__3cEoc\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \\'section-\\' prefix',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the \" char is used in the prefix)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
    (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\
    foo\\
    ',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"
    test
    \", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '&#' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '&#x' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f‍\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4‍\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71‍\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47‍\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77‍\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68‍\\u2764\\ufe0f‍\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69‍\\u2764\\ufe0f‍\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68‍\\u2764\\ufe0f‍\\ud83d\\udc8b‍\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69‍\\u2764\\ufe0f‍\\ud83d\\udc8b‍\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f‍\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41‍\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68‍\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68‍\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69‍\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f‍\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d‍\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f‍\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82‍\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87‍\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68‍\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68‍\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38‍\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68‍\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26‍\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68‍\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68‍\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68‍\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68‍\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68‍\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39‍\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68‍\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68‍\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68‍\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e‍\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d‍\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68‍\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37‍\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68‍\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68‍\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68‍\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68‍\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86‍\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c‍\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5‍\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45‍\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46‍\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e‍\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e‍\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f‍\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b‍\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3‍\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3‍\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4‍\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca‍\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81‍\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6‍\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f‍\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69‍\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69‍\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38‍\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69‍\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26‍\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69‍\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69‍\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69‍\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69‍\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69‍\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39‍\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69‍\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69‍\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69‍\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e‍\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d‍\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69‍\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37‍\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69‍\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69‍\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69‍\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69‍\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73‍\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c‍\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '\":octocat:\"',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = '';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML
    tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]??(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n //

    tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with

     content, so we need to fix that:\n    bq = bq.replace(/(\\s*
    [^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n      var pre = m1;\n      // attacklab: hack around Konqueror 3.5.4 bug:\n      pre = pre.replace(/^  /mg, '¨0');\n      pre = pre.replace(/¨0/g, '');\n      return pre;\n    });\n\n    return showdown.subParser('hashBlock')('
    \\n' + bq + '\\n
    ', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `
    ` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n  'use strict';\n\n  text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n  // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n  text += '¨0';\n\n  var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n  text = text.replace(pattern, function (wholeMatch, m1, m2) {\n    var codeblock = m1,\n        nextChar = m2,\n        end = '\\n';\n\n    codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n    codeblock = showdown.subParser('detab')(codeblock, options, globals);\n    codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n    codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n    if (options.omitExtraWLInCodeBlocks) {\n      end = '';\n    }\n\n    codeblock = '
    ' + codeblock + end + '
    ';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n *

    Just type foo `bar` baz at the prompt.

    \n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar` ...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + '\\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '
    ' + codeblock + end + '
    ';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions ( and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape
     elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n  'use strict';\n  text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n  var repFunc = function (wholeMatch, match, left, right) {\n    // encode html entities\n    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n    return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n  };\n\n  // Hash 
    \n  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}\\\\s*
    ', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + '';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
    ', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '\"'x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '
  • a
  • \n // instead of:\n //
    • - - a
    \n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + '\\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap

    tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '

    ');\n str += '

    ';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ``\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
    \\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
    \\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + '\\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + '\\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += '\\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += '\\n';\n }\n tb += '\\n
    \\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '
    ' + globals.preList[num] + '
    ';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\treturn
    {this.props.children}
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n return
    ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import { Component } from 'preact';\nimport Panel from '../components/panel';\nimport Markdown from '../components/markdown';\n\nconst r = String.raw;\n\nexport default class Algoritmi extends Component {\n\trender() {\n return (\n
    \n

    Algoritmi (2018)

    \n \n TODO\n \n
    \n )\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./pages/algoritmi.js","import style from \"./latex.css\";\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }` \n\t\treturn {this.props.children}\n\t\t\t\t;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n let percent = 100 / this.props.children.count;\n let children = null;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return (
    {element}
    );\n });\n }\n else {\n children =
    {this.props.children}
    ;\n }\n\t\treturn
    {children}
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./plus.css\";\nimport { Component } from 'preact';\n\nexport default class Plus extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\nimport { Component } from 'preact';\n\nexport default class Minus extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from \"./todo.css\";\nimport { Component } from 'preact';\n\nexport default class Todo extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n
    \n

    Fisica (2019)

    \n

    Vettori

    \n \n \n

    \n Componenti cartesiane\n

    \n

    \n Usa le regole base della trigonometria:\n

    \n

    \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`}\n

    \n

    \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`}\n

    \n

    \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`}\n

    \n
    \n \n

    \n Somma\n

    \n

    \n Scomponi in componenti, poi sommali:\n

    \n

    \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`}\n

    \n

    \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n

    \n
    \n \n

    \n Differenza\n

    \n

    \n Alla fine è sempre una somma:\n

    \n

    \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`}\n

    \n

    \n Produce il vettore che parte da w e arriva a v.\n

    \n
    \n \n

    \n Prodotto scalare\n

    \n

    \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n

    \n

    \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`}\n

    \n

    \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`}.\n

    \n
    \n \n

    \n Prodotto vettoriale\n

    \n

    \n Si chiama vettoriale perchè il risultato è un altro vettore.\n

    \n
    \n

    \n Non è commutativo!\n

    \n \n \n

    \n Leggi di Newton\n

    \n \n \n

    \n 1ᵃ: Inerzia\n

    \n

    \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n

    \n

    \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`}\n

    \n
    \n \n

    \n 2ᵃ: Proporzionalità\n

    \n

    \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n

    \n

    \n {r`\\Sigma \\vec{F} = m \\vec{a}`}\n

    \n
    \n \n

    \n 3ᵃ: Azione e reazione\n

    \n

    \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n

    \n

    \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`}\n

    \n
    \n
    \n

    \n Forza di gravità\n

    \n \n \n

    \n Tra due corpi\n

    \n

    \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`}\n

    \n

    \n G è la costante di gravitazione universale e vale:\n

    \n

    \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`}\n

    \n
    \n \n

    \n Verso la Terra\n

    \n

    \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = g m`}\n

    \n

    \n g è la costante di gravità della Terra, e vale:\n

    \n

    \n {r`g = 9.81 \\frac{m}{s^2}`}\n

    \n
    \n \n

    \n Su pianeti diversi\n

    \n

    \n Per pianeti diversi dalla Terra vale la stessa regola:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = g m`}\n

    \n

    \n L'unica differenza è che cambia la costante di gravità:\n

    \n

    \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`}\n

    \n

    \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`}\n

    \n
    \n
    \n

    \n Forze di contatto\n

    \n \n \n

    \n Normale\n

    \n

    \n Si oppone alle forze applicate alla superficie di contatto.\n

    \n

    \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n

    \n
    \n \n

    \n Attrito statico\n

    \n

    \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n

    \n

    \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`}\n

    \n
    \n \n

    \n Attrito dinamico\n

    \n

    \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n

    \n

    \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`}\n

    \n
    \n \n

    \n Tensione\n

    \n

    \n E' forza trasmessa tra due estremi di una fune.\n

    \n

    \n Può essere redirezionata per mezzo di carrucole.\n

    \n
    \n \n

    \n Elastica\n

    \n

    \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n

    \n

    \n {r`F = -k x`}\n

    \n

    \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n

    \n
    \n
    \n

    \n Cinematica\n

    \n \n \n

    \n Spostamento\n

    \n

    \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n

    \n

    \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È un vettore che misura la variazione di posizione nel tempo.\n

    \n

    \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`}\n

    \n

    \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n

    \n

    \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n È un vettore che misura la variazione di velocità nel tempo.\n

    \n

    \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`}\n

    \n

    \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n

    \n

    \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`}\n

    \n
    \n \n

    \n Quantità di moto (momento lineare)\n

    \n

    \n La quantità di moto è una proprietà vettoriale dei corpi:\n

    \n

    \n {r`\\vec{p} = m \\vec{v}`}\n

    \n

    \n Se la forza risultante è nulla, la quantità di moto non cambia.\n

    \n

    \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`}\n

    \n
    \n
    \n

    \n Moto rettilineo uniforme\n

    \n \n \n

    \n Spostamento\n

    \n

    \n La legge oraria è:\n

    \n

    \n {r`s(t) = v \\cdot \\Delta t + s(0)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È costante:\n

    \n

    \n {r`v(t) = k`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n La velocità non varia:\n

    \n

    \n {r`a(t) = 0`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = 0\n

    \n
    \n
    \n

    \n Moto rettilineo uniformemente accelerato\n

    \n \n \n

    \n Spostamento\n

    \n

    \n La legge oraria è:\n

    \n

    \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È una retta:\n

    \n

    \n {r`v(t) = a \\Delta t + v(0)`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n È costante:\n

    \n

    \n {r`a(t) = k`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = m a\n

    \n
    \n
    \n

    \n Moto armonico semplice\n

    \n \n \n

    \n Ampiezza\n

    \n

    \n E' la distanza dal centro massima che raggiunge il corpo.\n

    \n

    \n (L'ampiezza di una sinusoide.)\n

    \n
    \n \n

    \n Velocità angolare\n

    \n

    \n Indica quanto in fretta cambia la posizione del corpo. \n

    \n

    \n Dipende dal periodo:\n

    \n

    \n {r`\\omega = \\frac{2 \\pi}{T}`}\n

    \n
    \n \n

    \n Spostamento\n

    \n

    \n E' una sinusoide:\n

    \n

    \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`}:\n

    \n

    \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n E' la sinusoide della velocità, sfasata di {r`\\pi`}:\n

    \n

    \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = m a\n

    \n
    \n
    \n

    \n Moti composti\n

    \n \n \n

    \n Moto parabolico\n

    \n

    \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n

    \n
    \n \n

    \n Moto circolare uniforme\n

    \n

    \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`}, sull'asse Y.\n

    \n
    \n
    \n

    \n Moto circolare uniforme\n

    \n \n \n

    \n Velocità angolare\n

    \n

    \n Quanto cambia la fase nel tempo.\n

    \n

    \n {r`\\omega = \\frac{2 \\pi}{T}`}\n

    \n
    \n \n

    \n Fase\n

    \n

    \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n

    \n

    \n Si indica con {r`\\phi`}, e generalmente si usa in radianti.\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n Si applicano le formule per la circonferenza:\n

    \n

    \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n

    \n

    \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`}\n

    \n
    \n \n

    \n Forza centripeta\n

    \n

    \n È verso il centro e si calcola con:\n

    \n

    \n {r`F = m \\cdot a`}\n

    \n
    \n
    \n

    \n Lavoro ed energia\n

    \n \n \n

    \n Lavoro\n

    \n

    \n E' compiuto da una forza che sposta un corpo.\n

    \n

    \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`}\n

    \n

    \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n

    \n
    \n \n

    \n Energia cinetica\n

    \n

    \n Un corpo ha energia cinetica in ogni momento uguale a:\n

    \n

    \n {r`E_c = \\frac{1}{2} m v^2`}\n

    \n

    \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n

    \n

    \n {r`\\Delta E_c = W`}\n

    \n
    \n \n

    \n Energia potenziale gravitazionale\n

    \n

    \n Un corpo ha energia potenziale in ogni momento pari a: \n

    \n

    \n {r`E_{p_g} = m \\cdot g \\cdot h`}\n

    \n

    \n (Con h uguale a un altezza scelta come punto di riferimento.)\n

    \n
    \n \n

    \n Energia potenziale elastica\n

    \n

    \n Una molla ha sempre energia potenziale elastica pari a:\n

    \n

    \n {r`E_{p_e} = \\frac{1}{2} k x^2`}\n

    \n
    \n \n

    \n Forze conservative\n

    \n

    \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n

    \n

    \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n

    \n

    \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n

    \n

    \n {r`E = E_k + E_p`}\n

    \n
    \n \n

    \n Potenza\n

    \n

    \n È la velocità di trasferimento di energia:\n

    \n

    \n {r`P = \\frac{\\Delta E}{\\Delta t}`}\n

    \n
    \n
    \n

    \n Elettrostatica\n

    \n \n \n

    \n Carica elettrica\n

    \n

    \n È una proprietà dei corpi che può essere positiva o negativa.\n

    \n

    \n Si conserva: in un sistema chiuso la carica totale è costante.\n

    \n

    \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`}.\n

    \n

    \n Cariche opposte si attraggono; cariche uguali si respingono.\n

    \n
    \n \n

    \n Conduttori e isolanti\n

    \n

    \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n

    \n

    \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n

    \n

    \n Il corpo umano è un buon conduttore.\n

    \n
    \n
    \n

    \n Polarizzazione\n

    \n \n \n

    \n Polarizzazione\n

    \n

    \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n

    \n
    \n
    \n \n \n

    \n Messa a terra\n

    \n

    \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n

    \n
    \n
    \n \n \n

    \n Polarizzazione per strofinio\n

    \n

    \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n

    \n
    \n \n

    \n Polarizzazione per contatto\n

    \n

    \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n

    \n
    \n \n

    \n Polarizzazione per induzione\n

    \n

    \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n

    \n

    \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n

    \n

    \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n

    \n
    \n
    \n

    \n Forza elettrica\n

    \n \n \n

    \n Legge di Coulomb\n

    \n

    \n Due corpi carichi si attraggono tra loro con forza: \n

    \n

    \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`}\n

    \n

    \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`}.\n

    \n
    \n \n

    \n Permeabilità dello spazio vuoto\n

    \n

    \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`}, la permeabilità del vuoto.\n

    \n

    \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`}\n

    \n

    \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`}\n

    \n
    \n \n

    \n Campo elettrico\n

    \n

    \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n

    \n

    \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`}\n

    \n
    \n \n

    \n Flusso elettrico\n

    \n

    \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n

    \n

    \n È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.\n

    \n

    \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n

    \n

    \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)`}\n

    \n

    \n (dove {r`\\vec{S}`} è il vettore dell'area che abbiamo scelto.)\n

    \n
    \n \n

    \n Legge di Gauss\n

    \n

    \n Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.\n

    \n

    \n {r`\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}`}\n

    \n

    \n E' equivalente alla Legge di Coulomb.\n

    \n
    \n
    \n

    \n Energia elettrica\n

    \n \n \n

    \n Energia potenziale elettrica\n

    \n

    \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`}.\n

    \n
    \n
    \n

    \n Circuiti elettrici\n

    \n \n \n

    \n Potenziale elettrico (Tensione)\n

    \n

    \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n

    \n

    \n {r`V = \\frac{E_{elettrica}}{q}`}\n

    \n

    \n La sua unità di misura è il Volt ({r`V`}).\n

    \n

    \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n

    \n
    \n \n

    \n Corrente elettrica (Intensità)\n

    \n

    \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n

    \n

    \n {r`I = \\frac{\\Delta q}{\\Delta t}`}\n

    \n

    \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n

    \n

    \n La sua unità di misura è l'Ampere ({r`A`}).\n

    \n
    \n \n

    \n Corrente continua (DC)\n

    \n

    \n Quando in un circuito la direzione della corrente è costante.\n

    \n
    \n \n

    \n Corrente alternata (AC)\n

    \n

    \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n

    \n
    \n \n

    \n Potenza elettrica\n

    \n

    \n Possiamo calcolare la potenza di un circuito:\n

    \n

    \n {r`P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`}\n

    \n
    \n
    \n

    \n Elementi di un circuito\n

    \n \n \n

    \n Resistore\n

    \n

    \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n

    \n

    \n Il potenziale utilizzato è pari a:\n

    \n

    \n {r`V = R \\cdot I`}\n

    \n

    \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`}).\n

    \n

    \n La resistenza di un conduttore vale:\n

    \n

    \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`}\n

    \n

    \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n

    \n

    \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`}\n

    \n
    \n \n

    \n Condensatore\n

    \n

    \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n

    \n

    \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n

    \n

    \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n

    \n

    \n {r`C = \\frac{q_{massima}}{\\Delta V}`}\n

    \n

    \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n

    \n

    \n La capacità aumenta se viene messo qualcosa tra le armature:\n

    \n

    \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`}\n

    \n

    \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`d`} la distanza tra le due armature.\n

    \n

    \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n

    \n

    \n La sua unità di misura è il Farad ({r`Fa`})\n

    \n
    \n \n

    \n Amperometro\n

    \n

    \n Misura la corrente elettrica se messo in serie.\n

    \n

    \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n

    \n
    \n \n

    \n Voltmetro\n

    \n

    \n Misura la differenza di potenziale se messo in parallelo.\n

    \n

    \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n

    \n
    \n
    \n

    \n Principi di Kirchhoff\n

    \n \n \n

    \n Legge dei nodi\n

    \n

    \n Per nodo si intende un qualsiasi punto del circuito.\n

    \n

    \n Da un nodo entra ed esce la stessa corrente.\n

    \n
    \n \n

    \n Legge delle maglie\n

    \n

    \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n

    \n

    \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n

    \n
    \n
    \n

    \n Serie e Parallelo\n

    \n \n \n

    \n Circuito in serie\n

    \n

    \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n

    \n

    \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n

    \n
    \n \n

    \n Circuito in parallelo\n

    \n

    \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n

    \n

    \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n

    \n
    \n
    \n

    \n Resistenze equivalenti\n

    \n \n \n

    \n Circuiti in serie\n

    \n

    \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:\n

    \n

    \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`}\n

    \n
    \n \n

    \n Circuiti in parallelo\n

    \n

    \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:\n

    \n

    \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`}\n

    \n
    \n
    \n

    \n Condensatori equivalenti\n

    \n \n \n

    \n Circuiti in serie\n

    \n

    \n Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:\n

    \n

    \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`}\n

    \n
    \n \n

    \n Circuiti in parallelo\n

    \n

    \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:\n

    \n

    \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`}\n

    \n
    \n
    \n

    \n Magnetismo\n

    \n \n \n

    \n Campo magnetico\n

    \n

    \n Come un campo elettrico, ma per i magneti.\n

    \n

    \n B\n

    \n

    \n La sua unità di misura è il Tesla (T).\n

    \n
    \n \n

    \n Flusso magnetico\n

    \n

    \n Come il flusso elettrico, ma per campi magnetici.\n

    \n
    \n \n

    \n Legge di Gauss per il magnetismo\n

    \n

    \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n

    \n
    \n
    \n \n \n

    \n Forza magnetica su carica puntiforme\n

    \n

    \n Anche detta forza di Lorentz.\n

    \n

    \n I campi magnetici applicano una forza sulle cariche vicine:\n

    \n

    \n {r`\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})`}\n

    \n

    \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n

    \n

    \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n

    \n

    \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n

    \n
    \n \n

    \n Forza magnetica in un filo\n

    \n

    \n I campi magnetici influenzano anche le cariche presenti in un conduttore:\n

    \n

    \n {r`\\vec{F} = I \\cdot (\\vec{L} \\times \\vec{B})`}\n

    \n
    \n
    \n
    \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./copyright.css\";\nimport { Component } from 'preact';\n\nexport default class Copyright extends Component {\n\trender() {\n\t\treturn
    © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import './index.css';\nimport { Component } from 'preact';\nimport Algoritmi from './pages/algoritmi';\nimport Fisica from './pages/fisica';\nimport Copyright from './components/copyright';\n\nconst r = String.raw;\n\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C m && m.default ? m.default : m;\n\nlet app = interopDefault(require('preact-cli-entrypoint'));\n\nif (typeof app === 'function') {\n\tlet root = document.body.firstElementChild;\n\n\tlet init = () => {\n\t\tlet app = interopDefault(require('preact-cli-entrypoint'));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (module.hot) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n\n// WEBPACK FOOTER //\n// ../usr/lib/node_modules/preact-cli/lib/lib/entry.js","// removed by extract-text-webpack-plugin\nmodule.exports = {\"plus\":\"plus__29_QM\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/plus.css\n// module id = ddTt\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__2FTnU\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/copyright.css\n// module id = qMTX\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__1pOoN\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/todo.css\n// module id = tO1d\n// module chunks = 0"],"sourceRoot":""} \ No newline at end of file diff --git a/build/favicon.ico b/build/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..f6da4336801ba3fba9cae9f222cfd4ad73785ebd GIT binary patch literal 15086 zcmd5@2Ut}{7Jdk^#=6!-ktizmMvsY_xb|H&wiu!k6;RVQv1QdnqNc}WV~vWvL5wA$ zhyn^hqlu!R7%?IO7Ql)KN}v7zdG9`-k5}$PUH5+9;of)e%$$GDoO5R8oI#_p)7Wb| zb<*JOqzP`J(YR|g8Yd^+?^+s73f|Sio!=)qXf&UrfD6i?ipCej_wsVq-k#9k3TXEk zP-Rdx(6gW#I^r|m@f*vq?Ek|>9F;)TL3Ke*o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7{QP<2AAP`lWe@Q^N2vKK@u?+<-#WyllaVc_&$*Lp=cALqQS6ET^AW$G-Jr(6-4DETBzEL^ z({PrRYYp;d9j?Fl%y&HN5#B98wgI{3tncd6AHLTgb&HhxJd4Bq1kbnfEGgT#6m}Tz z&WX$Wj>=rJ?5DRM|0gQ|*!@h^XIY-5O2>YH&uo)zGZ(F`?_add!`C1Fw>N%E{KQ6# z690KEeqzWzpRUD^`Sd}3zZ~?v5Bkvv_2bwk>FC?v$~7q0MfY!JOX4&8LD?$vKlsK$ z7vvbC-c*p(8##VB*UK@>Nx33r$FVdzw@`{a;WX{&b8hsn3wm&tTI!FV)SZLSAvx|3 z>){@(b@+dH`U`W5GujAKaNsWYsYZKMVhlr{o%IzB9^m7MV;YFLmb)PS9}kJoe1~rV z5AijqE+6-MPvRWc2-FAVsT-hxK70rNS!S-vM(j5gJLYJ3yFh#;nY)zlEXz8q`(G5& BbC>`C literal 0 HcmV?d00001 diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000..2863c00 --- /dev/null +++ b/build/index.html @@ -0,0 +1 @@ +appuntiweb

    Fisica (2019)

    Vettori

    Componenti cartesiane

    Usa le regole base della trigonometria:

    \vec{v} = \vec{v}_x + \vec{v}_y

    \left | \vec{v}_x \right | = \left | \vec{v} \right | \sin \alpha

    \left | \vec{v}_y \right | = \left | \vec{v} \right | \cos \alpha

    Somma

    Scomponi in componenti, poi sommali:

    \vec{v} + \vec{w} = (\vec{v}_x + \vec{w}_x) + (\vec{v}_y + \vec{w}_y)

    Produce il vettore risultante dall'applicazione della regola del parallelogramma.

    Differenza

    Alla fine è sempre una somma:

    \vec{v} - \vec{w} = (\vec{v}_x - \vec{w}_x) + (\vec{v}_y - \vec{w}_y)

    Produce il vettore che parte da w e arriva a v.

    Prodotto scalare

    Si chiama scalare perchè il risultato è uno scalare, non un vettore.

    \vec{v} \cdot \vec{w} = \left | \vec{v} \right | \left | \vec{w} \right | \cos \alpha

    Produce il modulo della proiezione di \vec{a} su \vec{b}.

    Prodotto vettoriale

    Si chiama vettoriale perchè il risultato è un altro vettore.

    Non è commutativo!

    Leggi di Newton

    1ᵃ: Inerzia

    Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.

    \Sigma \vec{F} = 0 \Longleftrightarrow \Delta v = 0

    2ᵃ: Proporzionalità

    La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.

    \Sigma \vec{F} = m \vec{a}

    3ᵃ: Azione e reazione

    Due corpi esercitano forze uguali e opposte uno sull'altro.

    \vec{F}_{21} = -\vec{F}_{12}

    Forza di gravità

    Tra due corpi

    Due corpi puntiformi si attirano uno verso l'altro con forza:

    \left | \vec{F} \right | = G \frac{m_1 m_2}{s^2}

    G è la costante di gravitazione universale e vale:

    G = 6.67 \cdot 10^{-11} \frac{N m^2}{{kg}^2}

    Verso la Terra

    Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:

    \left | \vec{F} \right | = g m

    g è la costante di gravità della Terra, e vale:

    g = 9.81 \frac{m}{s^2}

    Su pianeti diversi

    Per pianeti diversi dalla Terra vale la stessa regola:

    \left | \vec{F} \right | = g m

    L'unica differenza è che cambia la costante di gravità:

    g_{luna} = 1.62 \frac{m}{s^2}

    g_{marte} = 3.71 \frac{m}{s^2}

    Forze di contatto

    Normale

    Si oppone alle forze applicate alla superficie di contatto.

    Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere.

    Attrito statico

    Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:

    \left | \vec{F} \right | \leq \mu_{s} \left | \vec{F}_{normale} \right |

    Attrito dinamico

    Rallenta i corpi che si stanno muovendo finchè essi non si fermano:

    \left | \vec{F} \right | \leq \mu_{d} \left | \vec{F}_{normale} \right |

    Tensione

    E' forza trasmessa tra due estremi di una fune.

    Può essere redirezionata per mezzo di carrucole.

    Elastica

    Una molla cerca sempre di tornare alla sua posizione indeformata con forza:

    F = -k x

    (E' negativa perchè la forza è opposta a quella applicata per deformarla.)

    Cinematica

    Spostamento

    È un vettore che indica la posizione di un corpo rispetto a un'origine.

    \Delta \vec{s} = \vec{s}(fine) - \vec{s}(inizio)

    Velocità

    È un vettore che misura la variazione di posizione nel tempo.

    \vec{v} = \frac{\Delta \vec{s}}{\Delta t}

    Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:

    \vec{v} = \lim_{\Delta t \to 0} \frac{\Delta \vec{s}}{\Delta t} = \frac{d \vec{s}}{dt}

    Accelerazione

    È un vettore che misura la variazione di velocità nel tempo.

    \vec{a} = \frac{\Delta \vec{v}}{\Delta t}

    Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:

    \vec{a} = \lim_{\Delta v \to 0} \frac{\Delta \vec{v}}{\Delta t} = \frac{d \vec{v}}{d t} = \frac{d^2 \vec{s}}{d t^2}

    Quantità di moto (momento lineare)

    La quantità di moto è una proprietà vettoriale dei corpi:

    \vec{p} = m \vec{v}

    Se la forza risultante è nulla, la quantità di moto non cambia.

    \Sigma \vec{F} = 0 \Longleftrightarrow \Delta \vec{p} = 0

    Moto rettilineo uniforme

    Spostamento

    La legge oraria è:

    s(t) = v \cdot \Delta t + s(0)

    Velocità

    È costante:

    v(t) = k

    Accelerazione

    La velocità non varia:

    a(t) = 0

    Forze

    Si applica la prima legge di Newton:

    f(t) = 0

    Moto rettilineo uniformemente accelerato

    Spostamento

    La legge oraria è:

    s(t) = \frac{1}{2} a \cdot (\Delta t)^2 + v(0) \cdot (\Delta t) + s(0)

    Velocità

    È una retta:

    v(t) = a \Delta t + v(0)

    Accelerazione

    È costante:

    a(t) = k

    Forze

    Si applica la prima legge di Newton:

    f(t) = m a

    Moto armonico semplice

    Ampiezza

    E' la distanza dal centro massima che raggiunge il corpo.

    (L'ampiezza di una sinusoide.)

    Velocità angolare

    Indica quanto in fretta cambia la posizione del corpo.

    Dipende dal periodo:

    \omega = \frac{2 \pi}{T}

    Spostamento

    E' una sinusoide:

    s(t) = A \sin (\omega \cdot t + \phi)

    Velocità

    E' la sinusoide dello spostamento, sfasata di \frac{\pi}{2}:

    v(t) = A \sin (\omega \cdot t + \phi + \frac{\pi}{2})

    Accelerazione

    E' la sinusoide della velocità, sfasata di \pi:

    a(t) = A \sin (\omega \cdot t + \phi + \pi)

    Forze

    Si applica la prima legge di Newton:

    f(t) = m a

    Moti composti

    Moto parabolico

    Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.

    Moto circolare uniforme

    Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di \frac{\pi}{2}, sull'asse Y.

    Moto circolare uniforme

    Velocità angolare

    Quanto cambia la fase nel tempo.

    \omega = \frac{2 \pi}{T}

    Fase

    E' l'angolo percorso dal corpo rispetto alla posizione iniziale.

    Si indica con \phi, e generalmente si usa in radianti.

    Velocità

    Si applicano le formule per la circonferenza:

    v = \frac{\Delta s}{t} = \frac{2 \pi \cdot r}{T} = \omega r

    Accelerazione

    Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:

    a = \frac{v^2}{r} = r \cdot \omega^2 = v \cdot \omega

    Forza centripeta

    È verso il centro e si calcola con:

    F = m \cdot a

    Lavoro ed energia

    Lavoro

    E' compiuto da una forza che sposta un corpo.

    W = \vec{F} \cdot \vec{s} = F \cdot \Delta s \cdot cos(\alpha )

    (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)

    Energia cinetica

    Un corpo ha energia cinetica in ogni momento uguale a:

    E_c = \frac{1}{2} m v^2

    Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:

    \Delta E_c = W

    Energia potenziale gravitazionale

    Un corpo ha energia potenziale in ogni momento pari a:

    E_{p_g} = m \cdot g \cdot h

    (Con h uguale a un altezza scelta come punto di riferimento.)

    Energia potenziale elastica

    Una molla ha sempre energia potenziale elastica pari a:

    E_{p_e} = \frac{1}{2} k x^2

    Forze conservative

    Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.

    Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.

    Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:

    E = E_k + E_p

    Potenza

    È la velocità di trasferimento di energia:

    P = \frac{\Delta E}{\Delta t}

    Elettrostatica

    Carica elettrica

    È una proprietà dei corpi che può essere positiva o negativa.

    Si conserva: in un sistema chiuso la carica totale è costante.

    Esiste un'unità elementare: C_{elettrone} = 1.602 \cdot 10^{-19}.

    Cariche opposte si attraggono; cariche uguali si respingono.

    Conduttori e isolanti

    Più ioni ha un corpo, meglio la carica si muove attraverso di esso.

    I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.

    Il corpo umano è un buon conduttore.

    Polarizzazione

    Polarizzazione

    E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.

    Messa a terra

    Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).

    Polarizzazione per strofinio

    Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.

    Polarizzazione per contatto

    Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.

    Polarizzazione per induzione

    Se un corpo conduttore ha cariche "esterne" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.

    Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.

    Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.

    Forza elettrica

    Legge di Coulomb

    Due corpi carichi si attraggono tra loro con forza:

    \left | \vec{F}_{elettrica} \right | = \frac{-k \cdot q_1 \cdot q_2}{s^2}

    k è la costante di Coulomb, e vale k = 8.99 \cdot 10^9 \frac{N \cdot m^2}{C^2}.

    Permeabilità dello spazio vuoto

    La costante k è in realtà dipendente da un altra costante, \epsilon_0, la permeabilità del vuoto.

    k = \frac{1}{4 \pi \cdot \epsilon_0}

    \left | \vec{F}_{elettrica} \right | = \frac{q_1 \cdot q_2}{4 \pi \cdot \epsilon_0 \cdot s^2}

    Campo elettrico

    Misura che forza viene applicata in ogni punto su una carica unitaria:

    \vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k \cdot q}{s^2}

    Flusso elettrico

    È la differenza tra "quanto" campo elettrico entra e quanto campo elettrico esce da una certa area.

    È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.

    Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:

    \Phi_E = \vec{E} \cdot \vec{S} = E \cdot S \cdot \cos(\phi)

    (dove \vec{S} è il vettore dell'area che abbiamo scelto.)

    Legge di Gauss

    Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.

    \Phi_E = \frac{q_{interna}}{\epsilon_0}

    E' equivalente alla Legge di Coulomb.

    Energia elettrica

    Energia potenziale elettrica

    Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica U_e.

    Circuiti elettrici

    Potenziale elettrico (Tensione)

    È il valore dell'energia potenziale elettrica per una carica unitaria.

    V = \frac{E_{elettrica}}{q}

    La sua unità di misura è il Volt (V).

    In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.

    Corrente elettrica (Intensità)

    Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.

    I = \frac{\Delta q}{\Delta t}

    Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.

    La sua unità di misura è l'Ampere (A).

    Corrente continua (DC)

    Quando in un circuito la direzione della corrente è costante.

    Corrente alternata (AC)

    Quando in un circuito la direzione della corrente si alterna periodicamente.

    Potenza elettrica

    Possiamo calcolare la potenza di un circuito:

    P = \frac{\Delta U}{\Delta t} = I \cdot \Delta V = I^2 \cdot R = \frac{(\Delta V)^2}{R}

    Elementi di un circuito

    Resistore

    Riduce l'intensità di corrente, e converte parte del potenziale in calore.

    Il potenziale utilizzato è pari a:

    V = R \cdot I

    Dove R è una costante detta resistenza con unità di misura Ohm (\Omega).

    La resistenza di un conduttore vale:

    R = \rho \frac{L_{unghezza}}{A_{rea}}

    \rho è la resistività del materiale, e varia in base alla temperatura:

    \rho = \rho_0 (1 + \alpha(T - T_0))

    Condensatore

    Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.

    Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.

    Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:

    C = \frac{q_{massima}}{\Delta V}

    Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.

    La capacità aumenta se viene messo qualcosa tra le armature:

    C_{nuova} = \kappa \cdot \frac{\epsilon_0 \cdot A}{s}

    Dove \kappa è la costante dielettrica relativa del materiale inserito, A l'area di una armatura e d la distanza tra le due armature.

    Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.

    La sua unità di misura è il Farad (Fa)

    Amperometro

    Misura la corrente elettrica se messo in serie.

    (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)

    Voltmetro

    Misura la differenza di potenziale se messo in parallelo.

    (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)

    Principi di Kirchhoff

    Legge dei nodi

    Per nodo si intende un qualsiasi punto del circuito.

    Da un nodo entra ed esce la stessa corrente.

    Legge delle maglie

    Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.

    In una maglia chiusa, la somma delle differenze di potenziale è 0.

    Serie e Parallelo

    Circuito in serie

    Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.

    Parti di circuito in serie sono attraversate dalla stessa corrente.

    Circuito in parallelo

    Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.

    Parti di circuito in parallelo hanno la stessa differenza di potenziale.

    Resistenze equivalenti

    Circuiti in serie

    Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:

    R_{serie} = \sum_{i=1}^{n} R_i

    Circuiti in parallelo

    Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:

    R_{parallelo} = \frac{1}{\sum_{i=1}^{n} \frac{1}{R_i}}

    Condensatori equivalenti

    Circuiti in serie

    Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:

    C_{serie} = \frac{1}{\sum_{i=1}^{n} \frac{1}{C_i}}

    Circuiti in parallelo

    Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:

    C_{parallelo} = \sum_{i=1}^{n} C_n

    Magnetismo

    Campo magnetico

    Come un campo elettrico, ma per i magneti.

    B

    La sua unità di misura è il Tesla (T).

    Flusso magnetico

    Come il flusso elettrico, ma per campi magnetici.

    Legge di Gauss per il magnetismo

    Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.

    Forza magnetica su carica puntiforme

    Anche detta forza di Lorentz.

    I campi magnetici applicano una forza sulle cariche vicine:

    \vec{F}_{magnetica} = q \cdot (\vec{v} \times \vec{B})

    Dove \vec{B} è l'intensità del campo magnetico e \vec{v} la velocità della carica considerata.

    Si ha una forza massima se la velocità è perpendicolare al campo magnetico.

    In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.

    Forza magnetica in un filo

    I campi magnetici influenzano anche le cariche presenti in un conduttore:

    \vec{F} = I \cdot (\vec{L} \times \vec{B})

    \ No newline at end of file diff --git a/build/manifest.json b/build/manifest.json new file mode 100644 index 0000000..8fd20bd --- /dev/null +++ b/build/manifest.json @@ -0,0 +1,12 @@ +{ + "name": "preact-cli app", + "start_url": "/", + "display": "standalone", + "background_color": "#fff", + "theme_color": "#673ab8", + "icons": [{ + "src": "/assets/icon.png", + "type": "image/png", + "sizes": "512x512" + }] +} diff --git a/build/polyfills.7ee73.js b/build/polyfills.7ee73.js new file mode 100644 index 0000000..ea3c918 --- /dev/null +++ b/build/polyfills.7ee73.js @@ -0,0 +1,2 @@ +!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="ubxN")}({"1qKe":function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default="function"==typeof fetch?fetch.bind():function(e,t){return t=t||{},new Promise(function(n,o){function r(){var e,t=[],n=[],o={};return i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(r,i,u){t.push(i=i.toLowerCase()),n.push([i,u]),e=o[i],o[i]=e?e+","+u:u}),{ok:2==(i.status/100|0),status:i.status,statusText:i.statusText,url:i.responseURL,clone:r,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},headers:{keys:function(){return t},entries:function(){return n},get:function(e){return o[e.toLowerCase()]},has:function(e){return e.toLowerCase()in o}}}}var i=new XMLHttpRequest;i.open(t.method||"get",e,!0);for(var u in t.headers)i.setRequestHeader(u,t.headers[u]);i.withCredentials="include"==t.credentials,i.onload=function(){n(r())},i.onerror=o,i.send(t.body||null)})}},"ar/N":function(e,t,n){e.exports=window.fetch||(window.fetch=n("1qKe").default||n("1qKe"))},f4JX:function(e){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},kDDo:function(e){!function(t){function n(){}function o(e,t){return function(){e.apply(t,arguments)}}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],a(e,this)}function i(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,r._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?u:c)(t.promise,e._value);var o;try{o=n(e._value)}catch(e){return void c(t.promise,e)}u(t.promise,o)})}function u(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void a(o(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){c(e,t)}}function c(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t (GFM Style)', + type: 'boolean' + }, + requireSpaceBeforeHeadingText: { + defaultValue: false, + description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)', + type: 'boolean' + }, + ghMentions: { + defaultValue: false, + description: 'Enables github @mentions', + type: 'boolean' + }, + ghMentionsLink: { + defaultValue: 'https://github.com/{u}', + description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.', + type: 'string' + }, + encodeEmails: { + defaultValue: true, + description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities', + type: 'boolean' + }, + openLinksInNewWindow: { + defaultValue: false, + description: 'Open all links in new windows', + type: 'boolean' + }, + backslashEscapesHTMLTags: { + defaultValue: false, + description: 'Support for HTML Tag escaping. ex: \
    foo\
    ', + type: 'boolean' + }, + emoji: { + defaultValue: false, + description: 'Enable emoji support. Ex: `this is a :smile: emoji`', + type: 'boolean' + }, + underline: { + defaultValue: false, + description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``', + type: 'boolean' + }, + completeHTMLDocument: { + defaultValue: false, + description: 'Outputs a complete html document, including ``, `` and `` tags', + type: 'boolean' + }, + metadata: { + defaultValue: false, + description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).', + type: 'boolean' + }, + splitAdjacentBlockquotes: { + defaultValue: false, + description: 'Split adjacent blockquote blocks', + type: 'boolean' + } + }; + if (simple === false) { + return JSON.parse(JSON.stringify(defaultOptions)); + } + var ret = {}; + for (var opt in defaultOptions) { + if (defaultOptions.hasOwnProperty(opt)) { + ret[opt] = defaultOptions[opt].defaultValue; + } + } + return ret; + } + + function allOptionsOn() { + 'use strict'; + + var options = getDefaultOpts(true), + ret = {}; + for (var opt in options) { + if (options.hasOwnProperty(opt)) { + ret[opt] = true; + } + } + return ret; + } + + /** + * Created by Tivie on 06-01-2015. + */ + + // Private properties + var showdown = {}, + parsers = {}, + extensions = {}, + globalOptions = getDefaultOpts(true), + setFlavor = 'vanilla', + flavor = { + github: { + omitExtraWLInCodeBlocks: true, + simplifiedAutoLink: true, + excludeTrailingPunctuationFromURLs: true, + literalMidWordUnderscores: true, + strikethrough: true, + tables: true, + tablesHeaderId: true, + ghCodeBlocks: true, + tasklists: true, + disableForced4SpacesIndentedSublists: true, + simpleLineBreaks: true, + requireSpaceBeforeHeadingText: true, + ghCompatibleHeaderId: true, + ghMentions: true, + backslashEscapesHTMLTags: true, + emoji: true, + splitAdjacentBlockquotes: true + }, + original: { + noHeaderId: true, + ghCodeBlocks: false + }, + ghost: { + omitExtraWLInCodeBlocks: true, + parseImgDimensions: true, + simplifiedAutoLink: true, + excludeTrailingPunctuationFromURLs: true, + literalMidWordUnderscores: true, + strikethrough: true, + tables: true, + tablesHeaderId: true, + ghCodeBlocks: true, + tasklists: true, + smoothLivePreview: true, + simpleLineBreaks: true, + requireSpaceBeforeHeadingText: true, + ghMentions: false, + encodeEmails: true + }, + vanilla: getDefaultOpts(true), + allOn: allOptionsOn() + }; + + /** + * helper namespace + * @type {{}} + */ + showdown.helper = {}; + + /** + * TODO LEGACY SUPPORT CODE + * @type {{}} + */ + showdown.extensions = {}; + + /** + * Set a global option + * @static + * @param {string} key + * @param {*} value + * @returns {showdown} + */ + showdown.setOption = function (key, value) { + 'use strict'; + + globalOptions[key] = value; + return this; + }; + + /** + * Get a global option + * @static + * @param {string} key + * @returns {*} + */ + showdown.getOption = function (key) { + 'use strict'; + + return globalOptions[key]; + }; + + /** + * Get the global options + * @static + * @returns {{}} + */ + showdown.getOptions = function () { + 'use strict'; + + return globalOptions; + }; + + /** + * Reset global options to the default values + * @static + */ + showdown.resetOptions = function () { + 'use strict'; + + globalOptions = getDefaultOpts(true); + }; + + /** + * Set the flavor showdown should use as default + * @param {string} name + */ + showdown.setFlavor = function (name) { + 'use strict'; + + if (!flavor.hasOwnProperty(name)) { + throw Error(name + ' flavor was not found'); + } + showdown.resetOptions(); + var preset = flavor[name]; + setFlavor = name; + for (var option in preset) { + if (preset.hasOwnProperty(option)) { + globalOptions[option] = preset[option]; + } + } + }; + + /** + * Get the currently set flavor + * @returns {string} + */ + showdown.getFlavor = function () { + 'use strict'; + + return setFlavor; + }; + + /** + * Get the options of a specified flavor. Returns undefined if the flavor was not found + * @param {string} name Name of the flavor + * @returns {{}|undefined} + */ + showdown.getFlavorOptions = function (name) { + 'use strict'; + + if (flavor.hasOwnProperty(name)) { + return flavor[name]; + } + }; + + /** + * Get the default options + * @static + * @param {boolean} [simple=true] + * @returns {{}} + */ + showdown.getDefaultOptions = function (simple) { + 'use strict'; + + return getDefaultOpts(simple); + }; + + /** + * Get or set a subParser + * + * subParser(name) - Get a registered subParser + * subParser(name, func) - Register a subParser + * @static + * @param {string} name + * @param {function} [func] + * @returns {*} + */ + showdown.subParser = function (name, func) { + 'use strict'; + + if (showdown.helper.isString(name)) { + if (typeof func !== 'undefined') { + parsers[name] = func; + } else { + if (parsers.hasOwnProperty(name)) { + return parsers[name]; + } else { + throw Error('SubParser named ' + name + ' not registered!'); + } + } + } + }; + + /** + * Gets or registers an extension + * @static + * @param {string} name + * @param {object|function=} ext + * @returns {*} + */ + showdown.extension = function (name, ext) { + 'use strict'; + + if (!showdown.helper.isString(name)) { + throw Error('Extension \'name\' must be a string'); + } + + name = showdown.helper.stdExtName(name); + + // Getter + if (showdown.helper.isUndefined(ext)) { + if (!extensions.hasOwnProperty(name)) { + throw Error('Extension named ' + name + ' is not registered!'); + } + return extensions[name]; + + // Setter + } else { + // Expand extension if it's wrapped in a function + if (typeof ext === 'function') { + ext = ext(); + } + + // Ensure extension is an array + if (!showdown.helper.isArray(ext)) { + ext = [ext]; + } + + var validExtension = validate(ext, name); + + if (validExtension.valid) { + extensions[name] = ext; + } else { + throw Error(validExtension.error); + } + } + }; + + /** + * Gets all extensions registered + * @returns {{}} + */ + showdown.getAllExtensions = function () { + 'use strict'; + + return extensions; + }; + + /** + * Remove an extension + * @param {string} name + */ + showdown.removeExtension = function (name) { + 'use strict'; + + delete extensions[name]; + }; + + /** + * Removes all extensions + */ + showdown.resetExtensions = function () { + 'use strict'; + + extensions = {}; + }; + + /** + * Validate extension + * @param {array} extension + * @param {string} name + * @returns {{valid: boolean, error: string}} + */ + function validate(extension, name) { + 'use strict'; + + var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension', + ret = { + valid: true, + error: '' + }; + + if (!showdown.helper.isArray(extension)) { + extension = [extension]; + } + + for (var i = 0; i < extension.length; ++i) { + var baseMsg = errMsg + ' sub-extension ' + i + ': ', + ext = extension[i]; + if (typeof ext !== 'object') { + ret.valid = false; + ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given'; + return ret; + } + + if (!showdown.helper.isString(ext.type)) { + ret.valid = false; + ret.error = baseMsg + 'property "type" must be a string, but ' + typeof ext.type + ' given'; + return ret; + } + + var type = ext.type = ext.type.toLowerCase(); + + // normalize extension type + if (type === 'language') { + type = ext.type = 'lang'; + } + + if (type === 'html') { + type = ext.type = 'output'; + } + + if (type !== 'lang' && type !== 'output' && type !== 'listener') { + ret.valid = false; + ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: "lang/language", "output/html" or "listener"'; + return ret; + } + + if (type === 'listener') { + if (showdown.helper.isUndefined(ext.listeners)) { + ret.valid = false; + ret.error = baseMsg + '. Extensions of type "listener" must have a property called "listeners"'; + return ret; + } + } else { + if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) { + ret.valid = false; + ret.error = baseMsg + type + ' extensions must define either a "regex" property or a "filter" method'; + return ret; + } + } + + if (ext.listeners) { + if (typeof ext.listeners !== 'object') { + ret.valid = false; + ret.error = baseMsg + '"listeners" property must be an object but ' + typeof ext.listeners + ' given'; + return ret; + } + for (var ln in ext.listeners) { + if (ext.listeners.hasOwnProperty(ln)) { + if (typeof ext.listeners[ln] !== 'function') { + ret.valid = false; + ret.error = baseMsg + '"listeners" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given'; + return ret; + } + } + } + } + + if (ext.filter) { + if (typeof ext.filter !== 'function') { + ret.valid = false; + ret.error = baseMsg + '"filter" must be a function, but ' + typeof ext.filter + ' given'; + return ret; + } + } else if (ext.regex) { + if (showdown.helper.isString(ext.regex)) { + ext.regex = new RegExp(ext.regex, 'g'); + } + if (!(ext.regex instanceof RegExp)) { + ret.valid = false; + ret.error = baseMsg + '"regex" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given'; + return ret; + } + if (showdown.helper.isUndefined(ext.replace)) { + ret.valid = false; + ret.error = baseMsg + '"regex" extensions must implement a replace string or function'; + return ret; + } + } + } + return ret; + } + + /** + * Validate extension + * @param {object} ext + * @returns {boolean} + */ + showdown.validateExtension = function (ext) { + 'use strict'; + + var validateExtension = validate(ext, null); + if (!validateExtension.valid) { + console.warn(validateExtension.error); + return false; + } + return true; + }; + + /** + * showdownjs helper functions + */ + + if (!showdown.hasOwnProperty('helper')) { + showdown.helper = {}; + } + + /** + * Check if var is string + * @static + * @param {string} a + * @returns {boolean} + */ + showdown.helper.isString = function (a) { + 'use strict'; + + return typeof a === 'string' || a instanceof String; + }; + + /** + * Check if var is a function + * @static + * @param {*} a + * @returns {boolean} + */ + showdown.helper.isFunction = function (a) { + 'use strict'; + + var getType = {}; + return a && getType.toString.call(a) === '[object Function]'; + }; + + /** + * isArray helper function + * @static + * @param {*} a + * @returns {boolean} + */ + showdown.helper.isArray = function (a) { + 'use strict'; + + return Array.isArray(a); + }; + + /** + * Check if value is undefined + * @static + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. + */ + showdown.helper.isUndefined = function (value) { + 'use strict'; + + return typeof value === 'undefined'; + }; + + /** + * ForEach helper function + * Iterates over Arrays and Objects (own properties only) + * @static + * @param {*} obj + * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object + */ + showdown.helper.forEach = function (obj, callback) { + 'use strict'; + // check if obj is defined + + if (showdown.helper.isUndefined(obj)) { + throw new Error('obj param is required'); + } + + if (showdown.helper.isUndefined(callback)) { + throw new Error('callback param is required'); + } + + if (!showdown.helper.isFunction(callback)) { + throw new Error('callback param must be a function/closure'); + } + + if (typeof obj.forEach === 'function') { + obj.forEach(callback); + } else if (showdown.helper.isArray(obj)) { + for (var i = 0; i < obj.length; i++) { + callback(obj[i], i, obj); + } + } else if (typeof obj === 'object') { + for (var prop in obj) { + if (obj.hasOwnProperty(prop)) { + callback(obj[prop], prop, obj); + } + } + } else { + throw new Error('obj does not seem to be an array or an iterable object'); + } + }; + + /** + * Standardidize extension name + * @static + * @param {string} s extension name + * @returns {string} + */ + showdown.helper.stdExtName = function (s) { + 'use strict'; + + return s.replace(/[_?*+\/\\.^-]/g, '').replace(/\s/g, '').toLowerCase(); + }; + + function escapeCharactersCallback(wholeMatch, m1) { + 'use strict'; + + var charCodeToEscape = m1.charCodeAt(0); + return '¨E' + charCodeToEscape + 'E'; + } + + /** + * Callback used to escape characters when passing through String.replace + * @static + * @param {string} wholeMatch + * @param {string} m1 + * @returns {string} + */ + showdown.helper.escapeCharactersCallback = escapeCharactersCallback; + + /** + * Escape characters in a string + * @static + * @param {string} text + * @param {string} charsToEscape + * @param {boolean} afterBackslash + * @returns {XML|string|void|*} + */ + showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) { + 'use strict'; + // First we have to escape the escape characters so that + // we can build a character class out of them + + var regexString = '([' + charsToEscape.replace(/([\[\]\\])/g, '\\$1') + '])'; + + if (afterBackslash) { + regexString = '\\\\' + regexString; + } + + var regex = new RegExp(regexString, 'g'); + text = text.replace(regex, escapeCharactersCallback); + + return text; + }; + + /** + * Unescape HTML entities + * @param txt + * @returns {string} + */ + showdown.helper.unescapeHTMLEntities = function (txt) { + 'use strict'; + + return txt.replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&'); + }; + + var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) { + 'use strict'; + + var f = flags || '', + g = f.indexOf('g') > -1, + x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')), + l = new RegExp(left, f.replace(/g/g, '')), + pos = [], + t, + s, + m, + start, + end; + + do { + t = 0; + while (m = x.exec(str)) { + if (l.test(m[0])) { + if (!t++) { + s = x.lastIndex; + start = s - m[0].length; + } + } else if (t) { + if (! --t) { + end = m.index + m[0].length; + var obj = { + left: { start: start, end: s }, + match: { start: s, end: m.index }, + right: { start: m.index, end: end }, + wholeMatch: { start: start, end: end } + }; + pos.push(obj); + if (!g) { + return pos; + } + } + } + } + } while (t && (x.lastIndex = s)); + + return pos; + }; + + /** + * matchRecursiveRegExp + * + * (c) 2007 Steven Levithan + * MIT License + * + * Accepts a string to search, a left and right format delimiter + * as regex patterns, and optional regex flags. Returns an array + * of matches, allowing nested instances of left/right delimiters. + * Use the "g" flag to return all matches, otherwise only the + * first is returned. Be careful to ensure that the left and + * right format delimiters produce mutually exclusive matches. + * Backreferences are not supported within the right delimiter + * due to how it is internally combined with the left delimiter. + * When matching strings whose format delimiters are unbalanced + * to the left or right, the output is intentionally as a + * conventional regex library with recursion support would + * produce, e.g. "<" and ">" both produce ["x"] when using + * "<" and ">" as the delimiters (both strings contain a single, + * balanced instance of ""). + * + * examples: + * matchRecursiveRegExp("test", "\\(", "\\)") + * returns: [] + * matchRecursiveRegExp(">>t<>", "<", ">", "g") + * returns: ["t<>", ""] + * matchRecursiveRegExp("
    test
    ", "]*>", "", "gi") + * returns: ["test"] + */ + showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) { + 'use strict'; + + var matchPos = rgxFindMatchPos(str, left, right, flags), + results = []; + + for (var i = 0; i < matchPos.length; ++i) { + results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]); + } + return results; + }; + + /** + * + * @param {string} str + * @param {string|function} replacement + * @param {string} left + * @param {string} right + * @param {string} flags + * @returns {string} + */ + showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) { + 'use strict'; + + if (!showdown.helper.isFunction(replacement)) { + var repStr = replacement; + replacement = function replacement() { + return repStr; + }; + } + + var matchPos = rgxFindMatchPos(str, left, right, flags), + finalStr = str, + lng = matchPos.length; + + if (lng > 0) { + var bits = []; + if (matchPos[0].wholeMatch.start !== 0) { + bits.push(str.slice(0, matchPos[0].wholeMatch.start)); + } + for (var i = 0; i < lng; ++i) { + bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end))); + if (i < lng - 1) { + bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start)); + } + } + if (matchPos[lng - 1].wholeMatch.end < str.length) { + bits.push(str.slice(matchPos[lng - 1].wholeMatch.end)); + } + finalStr = bits.join(''); + } + return finalStr; + }; + + /** + * Returns the index within the passed String object of the first occurrence of the specified regex, + * starting the search at fromIndex. Returns -1 if the value is not found. + * + * @param {string} str string to search + * @param {RegExp} regex Regular expression to search + * @param {int} [fromIndex = 0] Index to start the search + * @returns {Number} + * @throws InvalidArgumentError + */ + showdown.helper.regexIndexOf = function (str, regex, fromIndex) { + 'use strict'; + + if (!showdown.helper.isString(str)) { + throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string'; + } + if (regex instanceof RegExp === false) { + throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp'; + } + var indexOf = str.substring(fromIndex || 0).search(regex); + return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf; + }; + + /** + * Splits the passed string object at the defined index, and returns an array composed of the two substrings + * @param {string} str string to split + * @param {int} index index to split string at + * @returns {[string,string]} + * @throws InvalidArgumentError + */ + showdown.helper.splitAtIndex = function (str, index) { + 'use strict'; + + if (!showdown.helper.isString(str)) { + throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string'; + } + return [str.substring(0, index), str.substring(index)]; + }; + + /** + * Obfuscate an e-mail address through the use of Character Entities, + * transforming ASCII characters into their equivalent decimal or hex entities. + * + * Since it has a random component, subsequent calls to this function produce different results + * + * @param {string} mail + * @returns {string} + */ + showdown.helper.encodeEmailAddress = function (mail) { + 'use strict'; + + var encode = [function (ch) { + return '&#' + ch.charCodeAt(0) + ';'; + }, function (ch) { + return '&#x' + ch.charCodeAt(0).toString(16) + ';'; + }, function (ch) { + return ch; + }]; + + mail = mail.replace(/./g, function (ch) { + if (ch === '@') { + // this *must* be encoded. I insist. + ch = encode[Math.floor(Math.random() * 2)](ch); + } else { + var r = Math.random(); + // roughly 10% raw, 45% hex, 45% dec + ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch); + } + return ch; + }); + + return mail; + }; + + /** + * + * @param str + * @param targetLength + * @param padString + * @returns {string} + */ + showdown.helper.padEnd = function padEnd(str, targetLength, padString) { + 'use strict'; + /*jshint bitwise: false*/ + // eslint-disable-next-line space-infix-ops + + targetLength = targetLength >> 0; //floor if number or convert non-number to 0; + /*jshint bitwise: true*/ + padString = String(padString || ' '); + if (str.length > targetLength) { + return String(str); + } else { + targetLength = targetLength - str.length; + if (targetLength > padString.length) { + padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed + } + return String(str) + padString.slice(0, targetLength); + } + }; + + /** + * POLYFILLS + */ + // use this instead of builtin is undefined for IE8 compatibility + if (typeof console === 'undefined') { + console = { + warn: function warn(msg) { + 'use strict'; + + alert(msg); + }, + log: function log(msg) { + 'use strict'; + + alert(msg); + }, + error: function error(msg) { + 'use strict'; + + throw msg; + } + }; + } + + /** + * Common regexes. + * We declare some common regexes to improve performance + */ + showdown.helper.regexes = { + asteriskDashAndColon: /([*_:~])/g + }; + + /** + * EMOJIS LIST + */ + showdown.helper.emojis = { + '+1': '\uD83D\uDC4D', + '-1': '\uD83D\uDC4E', + '100': '\uD83D\uDCAF', + '1234': '\uD83D\uDD22', + '1st_place_medal': '\uD83E\uDD47', + '2nd_place_medal': '\uD83E\uDD48', + '3rd_place_medal': '\uD83E\uDD49', + '8ball': '\uD83C\uDFB1', + 'a': '\uD83C\uDD70\uFE0F', + 'ab': '\uD83C\uDD8E', + 'abc': '\uD83D\uDD24', + 'abcd': '\uD83D\uDD21', + 'accept': '\uD83C\uDE51', + 'aerial_tramway': '\uD83D\uDEA1', + 'airplane': '\u2708\uFE0F', + 'alarm_clock': '\u23F0', + 'alembic': '\u2697\uFE0F', + 'alien': '\uD83D\uDC7D', + 'ambulance': '\uD83D\uDE91', + 'amphora': '\uD83C\uDFFA', + 'anchor': '\u2693\uFE0F', + 'angel': '\uD83D\uDC7C', + 'anger': '\uD83D\uDCA2', + 'angry': '\uD83D\uDE20', + 'anguished': '\uD83D\uDE27', + 'ant': '\uD83D\uDC1C', + 'apple': '\uD83C\uDF4E', + 'aquarius': '\u2652\uFE0F', + 'aries': '\u2648\uFE0F', + 'arrow_backward': '\u25C0\uFE0F', + 'arrow_double_down': '\u23EC', + 'arrow_double_up': '\u23EB', + 'arrow_down': '\u2B07\uFE0F', + 'arrow_down_small': '\uD83D\uDD3D', + 'arrow_forward': '\u25B6\uFE0F', + 'arrow_heading_down': '\u2935\uFE0F', + 'arrow_heading_up': '\u2934\uFE0F', + 'arrow_left': '\u2B05\uFE0F', + 'arrow_lower_left': '\u2199\uFE0F', + 'arrow_lower_right': '\u2198\uFE0F', + 'arrow_right': '\u27A1\uFE0F', + 'arrow_right_hook': '\u21AA\uFE0F', + 'arrow_up': '\u2B06\uFE0F', + 'arrow_up_down': '\u2195\uFE0F', + 'arrow_up_small': '\uD83D\uDD3C', + 'arrow_upper_left': '\u2196\uFE0F', + 'arrow_upper_right': '\u2197\uFE0F', + 'arrows_clockwise': '\uD83D\uDD03', + 'arrows_counterclockwise': '\uD83D\uDD04', + 'art': '\uD83C\uDFA8', + 'articulated_lorry': '\uD83D\uDE9B', + 'artificial_satellite': '\uD83D\uDEF0', + 'astonished': '\uD83D\uDE32', + 'athletic_shoe': '\uD83D\uDC5F', + 'atm': '\uD83C\uDFE7', + 'atom_symbol': '\u269B\uFE0F', + 'avocado': '\uD83E\uDD51', + 'b': '\uD83C\uDD71\uFE0F', + 'baby': '\uD83D\uDC76', + 'baby_bottle': '\uD83C\uDF7C', + 'baby_chick': '\uD83D\uDC24', + 'baby_symbol': '\uD83D\uDEBC', + 'back': '\uD83D\uDD19', + 'bacon': '\uD83E\uDD53', + 'badminton': '\uD83C\uDFF8', + 'baggage_claim': '\uD83D\uDEC4', + 'baguette_bread': '\uD83E\uDD56', + 'balance_scale': '\u2696\uFE0F', + 'balloon': '\uD83C\uDF88', + 'ballot_box': '\uD83D\uDDF3', + 'ballot_box_with_check': '\u2611\uFE0F', + 'bamboo': '\uD83C\uDF8D', + 'banana': '\uD83C\uDF4C', + 'bangbang': '\u203C\uFE0F', + 'bank': '\uD83C\uDFE6', + 'bar_chart': '\uD83D\uDCCA', + 'barber': '\uD83D\uDC88', + 'baseball': '\u26BE\uFE0F', + 'basketball': '\uD83C\uDFC0', + 'basketball_man': '\u26F9\uFE0F', + 'basketball_woman': '\u26F9\uFE0F‍\u2640\uFE0F', + 'bat': '\uD83E\uDD87', + 'bath': '\uD83D\uDEC0', + 'bathtub': '\uD83D\uDEC1', + 'battery': '\uD83D\uDD0B', + 'beach_umbrella': '\uD83C\uDFD6', + 'bear': '\uD83D\uDC3B', + 'bed': '\uD83D\uDECF', + 'bee': '\uD83D\uDC1D', + 'beer': '\uD83C\uDF7A', + 'beers': '\uD83C\uDF7B', + 'beetle': '\uD83D\uDC1E', + 'beginner': '\uD83D\uDD30', + 'bell': '\uD83D\uDD14', + 'bellhop_bell': '\uD83D\uDECE', + 'bento': '\uD83C\uDF71', + 'biking_man': '\uD83D\uDEB4', + 'bike': '\uD83D\uDEB2', + 'biking_woman': '\uD83D\uDEB4‍\u2640\uFE0F', + 'bikini': '\uD83D\uDC59', + 'biohazard': '\u2623\uFE0F', + 'bird': '\uD83D\uDC26', + 'birthday': '\uD83C\uDF82', + 'black_circle': '\u26AB\uFE0F', + 'black_flag': '\uD83C\uDFF4', + 'black_heart': '\uD83D\uDDA4', + 'black_joker': '\uD83C\uDCCF', + 'black_large_square': '\u2B1B\uFE0F', + 'black_medium_small_square': '\u25FE\uFE0F', + 'black_medium_square': '\u25FC\uFE0F', + 'black_nib': '\u2712\uFE0F', + 'black_small_square': '\u25AA\uFE0F', + 'black_square_button': '\uD83D\uDD32', + 'blonde_man': '\uD83D\uDC71', + 'blonde_woman': '\uD83D\uDC71‍\u2640\uFE0F', + 'blossom': '\uD83C\uDF3C', + 'blowfish': '\uD83D\uDC21', + 'blue_book': '\uD83D\uDCD8', + 'blue_car': '\uD83D\uDE99', + 'blue_heart': '\uD83D\uDC99', + 'blush': '\uD83D\uDE0A', + 'boar': '\uD83D\uDC17', + 'boat': '\u26F5\uFE0F', + 'bomb': '\uD83D\uDCA3', + 'book': '\uD83D\uDCD6', + 'bookmark': '\uD83D\uDD16', + 'bookmark_tabs': '\uD83D\uDCD1', + 'books': '\uD83D\uDCDA', + 'boom': '\uD83D\uDCA5', + 'boot': '\uD83D\uDC62', + 'bouquet': '\uD83D\uDC90', + 'bowing_man': '\uD83D\uDE47', + 'bow_and_arrow': '\uD83C\uDFF9', + 'bowing_woman': '\uD83D\uDE47‍\u2640\uFE0F', + 'bowling': '\uD83C\uDFB3', + 'boxing_glove': '\uD83E\uDD4A', + 'boy': '\uD83D\uDC66', + 'bread': '\uD83C\uDF5E', + 'bride_with_veil': '\uD83D\uDC70', + 'bridge_at_night': '\uD83C\uDF09', + 'briefcase': '\uD83D\uDCBC', + 'broken_heart': '\uD83D\uDC94', + 'bug': '\uD83D\uDC1B', + 'building_construction': '\uD83C\uDFD7', + 'bulb': '\uD83D\uDCA1', + 'bullettrain_front': '\uD83D\uDE85', + 'bullettrain_side': '\uD83D\uDE84', + 'burrito': '\uD83C\uDF2F', + 'bus': '\uD83D\uDE8C', + 'business_suit_levitating': '\uD83D\uDD74', + 'busstop': '\uD83D\uDE8F', + 'bust_in_silhouette': '\uD83D\uDC64', + 'busts_in_silhouette': '\uD83D\uDC65', + 'butterfly': '\uD83E\uDD8B', + 'cactus': '\uD83C\uDF35', + 'cake': '\uD83C\uDF70', + 'calendar': '\uD83D\uDCC6', + 'call_me_hand': '\uD83E\uDD19', + 'calling': '\uD83D\uDCF2', + 'camel': '\uD83D\uDC2B', + 'camera': '\uD83D\uDCF7', + 'camera_flash': '\uD83D\uDCF8', + 'camping': '\uD83C\uDFD5', + 'cancer': '\u264B\uFE0F', + 'candle': '\uD83D\uDD6F', + 'candy': '\uD83C\uDF6C', + 'canoe': '\uD83D\uDEF6', + 'capital_abcd': '\uD83D\uDD20', + 'capricorn': '\u2651\uFE0F', + 'car': '\uD83D\uDE97', + 'card_file_box': '\uD83D\uDDC3', + 'card_index': '\uD83D\uDCC7', + 'card_index_dividers': '\uD83D\uDDC2', + 'carousel_horse': '\uD83C\uDFA0', + 'carrot': '\uD83E\uDD55', + 'cat': '\uD83D\uDC31', + 'cat2': '\uD83D\uDC08', + 'cd': '\uD83D\uDCBF', + 'chains': '\u26D3', + 'champagne': '\uD83C\uDF7E', + 'chart': '\uD83D\uDCB9', + 'chart_with_downwards_trend': '\uD83D\uDCC9', + 'chart_with_upwards_trend': '\uD83D\uDCC8', + 'checkered_flag': '\uD83C\uDFC1', + 'cheese': '\uD83E\uDDC0', + 'cherries': '\uD83C\uDF52', + 'cherry_blossom': '\uD83C\uDF38', + 'chestnut': '\uD83C\uDF30', + 'chicken': '\uD83D\uDC14', + 'children_crossing': '\uD83D\uDEB8', + 'chipmunk': '\uD83D\uDC3F', + 'chocolate_bar': '\uD83C\uDF6B', + 'christmas_tree': '\uD83C\uDF84', + 'church': '\u26EA\uFE0F', + 'cinema': '\uD83C\uDFA6', + 'circus_tent': '\uD83C\uDFAA', + 'city_sunrise': '\uD83C\uDF07', + 'city_sunset': '\uD83C\uDF06', + 'cityscape': '\uD83C\uDFD9', + 'cl': '\uD83C\uDD91', + 'clamp': '\uD83D\uDDDC', + 'clap': '\uD83D\uDC4F', + 'clapper': '\uD83C\uDFAC', + 'classical_building': '\uD83C\uDFDB', + 'clinking_glasses': '\uD83E\uDD42', + 'clipboard': '\uD83D\uDCCB', + 'clock1': '\uD83D\uDD50', + 'clock10': '\uD83D\uDD59', + 'clock1030': '\uD83D\uDD65', + 'clock11': '\uD83D\uDD5A', + 'clock1130': '\uD83D\uDD66', + 'clock12': '\uD83D\uDD5B', + 'clock1230': '\uD83D\uDD67', + 'clock130': '\uD83D\uDD5C', + 'clock2': '\uD83D\uDD51', + 'clock230': '\uD83D\uDD5D', + 'clock3': '\uD83D\uDD52', + 'clock330': '\uD83D\uDD5E', + 'clock4': '\uD83D\uDD53', + 'clock430': '\uD83D\uDD5F', + 'clock5': '\uD83D\uDD54', + 'clock530': '\uD83D\uDD60', + 'clock6': '\uD83D\uDD55', + 'clock630': '\uD83D\uDD61', + 'clock7': '\uD83D\uDD56', + 'clock730': '\uD83D\uDD62', + 'clock8': '\uD83D\uDD57', + 'clock830': '\uD83D\uDD63', + 'clock9': '\uD83D\uDD58', + 'clock930': '\uD83D\uDD64', + 'closed_book': '\uD83D\uDCD5', + 'closed_lock_with_key': '\uD83D\uDD10', + 'closed_umbrella': '\uD83C\uDF02', + 'cloud': '\u2601\uFE0F', + 'cloud_with_lightning': '\uD83C\uDF29', + 'cloud_with_lightning_and_rain': '\u26C8', + 'cloud_with_rain': '\uD83C\uDF27', + 'cloud_with_snow': '\uD83C\uDF28', + 'clown_face': '\uD83E\uDD21', + 'clubs': '\u2663\uFE0F', + 'cocktail': '\uD83C\uDF78', + 'coffee': '\u2615\uFE0F', + 'coffin': '\u26B0\uFE0F', + 'cold_sweat': '\uD83D\uDE30', + 'comet': '\u2604\uFE0F', + 'computer': '\uD83D\uDCBB', + 'computer_mouse': '\uD83D\uDDB1', + 'confetti_ball': '\uD83C\uDF8A', + 'confounded': '\uD83D\uDE16', + 'confused': '\uD83D\uDE15', + 'congratulations': '\u3297\uFE0F', + 'construction': '\uD83D\uDEA7', + 'construction_worker_man': '\uD83D\uDC77', + 'construction_worker_woman': '\uD83D\uDC77‍\u2640\uFE0F', + 'control_knobs': '\uD83C\uDF9B', + 'convenience_store': '\uD83C\uDFEA', + 'cookie': '\uD83C\uDF6A', + 'cool': '\uD83C\uDD92', + 'policeman': '\uD83D\uDC6E', + 'copyright': '\xA9\uFE0F', + 'corn': '\uD83C\uDF3D', + 'couch_and_lamp': '\uD83D\uDECB', + 'couple': '\uD83D\uDC6B', + 'couple_with_heart_woman_man': '\uD83D\uDC91', + 'couple_with_heart_man_man': '\uD83D\uDC68‍\u2764\uFE0F‍\uD83D\uDC68', + 'couple_with_heart_woman_woman': '\uD83D\uDC69‍\u2764\uFE0F‍\uD83D\uDC69', + 'couplekiss_man_man': '\uD83D\uDC68‍\u2764\uFE0F‍\uD83D\uDC8B‍\uD83D\uDC68', + 'couplekiss_man_woman': '\uD83D\uDC8F', + 'couplekiss_woman_woman': '\uD83D\uDC69‍\u2764\uFE0F‍\uD83D\uDC8B‍\uD83D\uDC69', + 'cow': '\uD83D\uDC2E', + 'cow2': '\uD83D\uDC04', + 'cowboy_hat_face': '\uD83E\uDD20', + 'crab': '\uD83E\uDD80', + 'crayon': '\uD83D\uDD8D', + 'credit_card': '\uD83D\uDCB3', + 'crescent_moon': '\uD83C\uDF19', + 'cricket': '\uD83C\uDFCF', + 'crocodile': '\uD83D\uDC0A', + 'croissant': '\uD83E\uDD50', + 'crossed_fingers': '\uD83E\uDD1E', + 'crossed_flags': '\uD83C\uDF8C', + 'crossed_swords': '\u2694\uFE0F', + 'crown': '\uD83D\uDC51', + 'cry': '\uD83D\uDE22', + 'crying_cat_face': '\uD83D\uDE3F', + 'crystal_ball': '\uD83D\uDD2E', + 'cucumber': '\uD83E\uDD52', + 'cupid': '\uD83D\uDC98', + 'curly_loop': '\u27B0', + 'currency_exchange': '\uD83D\uDCB1', + 'curry': '\uD83C\uDF5B', + 'custard': '\uD83C\uDF6E', + 'customs': '\uD83D\uDEC3', + 'cyclone': '\uD83C\uDF00', + 'dagger': '\uD83D\uDDE1', + 'dancer': '\uD83D\uDC83', + 'dancing_women': '\uD83D\uDC6F', + 'dancing_men': '\uD83D\uDC6F‍\u2642\uFE0F', + 'dango': '\uD83C\uDF61', + 'dark_sunglasses': '\uD83D\uDD76', + 'dart': '\uD83C\uDFAF', + 'dash': '\uD83D\uDCA8', + 'date': '\uD83D\uDCC5', + 'deciduous_tree': '\uD83C\uDF33', + 'deer': '\uD83E\uDD8C', + 'department_store': '\uD83C\uDFEC', + 'derelict_house': '\uD83C\uDFDA', + 'desert': '\uD83C\uDFDC', + 'desert_island': '\uD83C\uDFDD', + 'desktop_computer': '\uD83D\uDDA5', + 'male_detective': '\uD83D\uDD75\uFE0F', + 'diamond_shape_with_a_dot_inside': '\uD83D\uDCA0', + 'diamonds': '\u2666\uFE0F', + 'disappointed': '\uD83D\uDE1E', + 'disappointed_relieved': '\uD83D\uDE25', + 'dizzy': '\uD83D\uDCAB', + 'dizzy_face': '\uD83D\uDE35', + 'do_not_litter': '\uD83D\uDEAF', + 'dog': '\uD83D\uDC36', + 'dog2': '\uD83D\uDC15', + 'dollar': '\uD83D\uDCB5', + 'dolls': '\uD83C\uDF8E', + 'dolphin': '\uD83D\uDC2C', + 'door': '\uD83D\uDEAA', + 'doughnut': '\uD83C\uDF69', + 'dove': '\uD83D\uDD4A', + 'dragon': '\uD83D\uDC09', + 'dragon_face': '\uD83D\uDC32', + 'dress': '\uD83D\uDC57', + 'dromedary_camel': '\uD83D\uDC2A', + 'drooling_face': '\uD83E\uDD24', + 'droplet': '\uD83D\uDCA7', + 'drum': '\uD83E\uDD41', + 'duck': '\uD83E\uDD86', + 'dvd': '\uD83D\uDCC0', + 'e-mail': '\uD83D\uDCE7', + 'eagle': '\uD83E\uDD85', + 'ear': '\uD83D\uDC42', + 'ear_of_rice': '\uD83C\uDF3E', + 'earth_africa': '\uD83C\uDF0D', + 'earth_americas': '\uD83C\uDF0E', + 'earth_asia': '\uD83C\uDF0F', + 'egg': '\uD83E\uDD5A', + 'eggplant': '\uD83C\uDF46', + 'eight_pointed_black_star': '\u2734\uFE0F', + 'eight_spoked_asterisk': '\u2733\uFE0F', + 'electric_plug': '\uD83D\uDD0C', + 'elephant': '\uD83D\uDC18', + 'email': '\u2709\uFE0F', + 'end': '\uD83D\uDD1A', + 'envelope_with_arrow': '\uD83D\uDCE9', + 'euro': '\uD83D\uDCB6', + 'european_castle': '\uD83C\uDFF0', + 'european_post_office': '\uD83C\uDFE4', + 'evergreen_tree': '\uD83C\uDF32', + 'exclamation': '\u2757\uFE0F', + 'expressionless': '\uD83D\uDE11', + 'eye': '\uD83D\uDC41', + 'eye_speech_bubble': '\uD83D\uDC41‍\uD83D\uDDE8', + 'eyeglasses': '\uD83D\uDC53', + 'eyes': '\uD83D\uDC40', + 'face_with_head_bandage': '\uD83E\uDD15', + 'face_with_thermometer': '\uD83E\uDD12', + 'fist_oncoming': '\uD83D\uDC4A', + 'factory': '\uD83C\uDFED', + 'fallen_leaf': '\uD83C\uDF42', + 'family_man_woman_boy': '\uD83D\uDC6A', + 'family_man_boy': '\uD83D\uDC68‍\uD83D\uDC66', + 'family_man_boy_boy': '\uD83D\uDC68‍\uD83D\uDC66‍\uD83D\uDC66', + 'family_man_girl': '\uD83D\uDC68‍\uD83D\uDC67', + 'family_man_girl_boy': '\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC66', + 'family_man_girl_girl': '\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC67', + 'family_man_man_boy': '\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC66', + 'family_man_man_boy_boy': '\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC66‍\uD83D\uDC66', + 'family_man_man_girl': '\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67', + 'family_man_man_girl_boy': '\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC66', + 'family_man_man_girl_girl': '\uD83D\uDC68‍\uD83D\uDC68‍\uD83D\uDC67‍\uD83D\uDC67', + 'family_man_woman_boy_boy': '\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66', + 'family_man_woman_girl': '\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67', + 'family_man_woman_girl_boy': '\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66', + 'family_man_woman_girl_girl': '\uD83D\uDC68‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67', + 'family_woman_boy': '\uD83D\uDC69‍\uD83D\uDC66', + 'family_woman_boy_boy': '\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66', + 'family_woman_girl': '\uD83D\uDC69‍\uD83D\uDC67', + 'family_woman_girl_boy': '\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66', + 'family_woman_girl_girl': '\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67', + 'family_woman_woman_boy': '\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC66', + 'family_woman_woman_boy_boy': '\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC66‍\uD83D\uDC66', + 'family_woman_woman_girl': '\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67', + 'family_woman_woman_girl_boy': '\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC66', + 'family_woman_woman_girl_girl': '\uD83D\uDC69‍\uD83D\uDC69‍\uD83D\uDC67‍\uD83D\uDC67', + 'fast_forward': '\u23E9', + 'fax': '\uD83D\uDCE0', + 'fearful': '\uD83D\uDE28', + 'feet': '\uD83D\uDC3E', + 'female_detective': '\uD83D\uDD75\uFE0F‍\u2640\uFE0F', + 'ferris_wheel': '\uD83C\uDFA1', + 'ferry': '\u26F4', + 'field_hockey': '\uD83C\uDFD1', + 'file_cabinet': '\uD83D\uDDC4', + 'file_folder': '\uD83D\uDCC1', + 'film_projector': '\uD83D\uDCFD', + 'film_strip': '\uD83C\uDF9E', + 'fire': '\uD83D\uDD25', + 'fire_engine': '\uD83D\uDE92', + 'fireworks': '\uD83C\uDF86', + 'first_quarter_moon': '\uD83C\uDF13', + 'first_quarter_moon_with_face': '\uD83C\uDF1B', + 'fish': '\uD83D\uDC1F', + 'fish_cake': '\uD83C\uDF65', + 'fishing_pole_and_fish': '\uD83C\uDFA3', + 'fist_raised': '\u270A', + 'fist_left': '\uD83E\uDD1B', + 'fist_right': '\uD83E\uDD1C', + 'flags': '\uD83C\uDF8F', + 'flashlight': '\uD83D\uDD26', + 'fleur_de_lis': '\u269C\uFE0F', + 'flight_arrival': '\uD83D\uDEEC', + 'flight_departure': '\uD83D\uDEEB', + 'floppy_disk': '\uD83D\uDCBE', + 'flower_playing_cards': '\uD83C\uDFB4', + 'flushed': '\uD83D\uDE33', + 'fog': '\uD83C\uDF2B', + 'foggy': '\uD83C\uDF01', + 'football': '\uD83C\uDFC8', + 'footprints': '\uD83D\uDC63', + 'fork_and_knife': '\uD83C\uDF74', + 'fountain': '\u26F2\uFE0F', + 'fountain_pen': '\uD83D\uDD8B', + 'four_leaf_clover': '\uD83C\uDF40', + 'fox_face': '\uD83E\uDD8A', + 'framed_picture': '\uD83D\uDDBC', + 'free': '\uD83C\uDD93', + 'fried_egg': '\uD83C\uDF73', + 'fried_shrimp': '\uD83C\uDF64', + 'fries': '\uD83C\uDF5F', + 'frog': '\uD83D\uDC38', + 'frowning': '\uD83D\uDE26', + 'frowning_face': '\u2639\uFE0F', + 'frowning_man': '\uD83D\uDE4D‍\u2642\uFE0F', + 'frowning_woman': '\uD83D\uDE4D', + 'middle_finger': '\uD83D\uDD95', + 'fuelpump': '\u26FD\uFE0F', + 'full_moon': '\uD83C\uDF15', + 'full_moon_with_face': '\uD83C\uDF1D', + 'funeral_urn': '\u26B1\uFE0F', + 'game_die': '\uD83C\uDFB2', + 'gear': '\u2699\uFE0F', + 'gem': '\uD83D\uDC8E', + 'gemini': '\u264A\uFE0F', + 'ghost': '\uD83D\uDC7B', + 'gift': '\uD83C\uDF81', + 'gift_heart': '\uD83D\uDC9D', + 'girl': '\uD83D\uDC67', + 'globe_with_meridians': '\uD83C\uDF10', + 'goal_net': '\uD83E\uDD45', + 'goat': '\uD83D\uDC10', + 'golf': '\u26F3\uFE0F', + 'golfing_man': '\uD83C\uDFCC\uFE0F', + 'golfing_woman': '\uD83C\uDFCC\uFE0F‍\u2640\uFE0F', + 'gorilla': '\uD83E\uDD8D', + 'grapes': '\uD83C\uDF47', + 'green_apple': '\uD83C\uDF4F', + 'green_book': '\uD83D\uDCD7', + 'green_heart': '\uD83D\uDC9A', + 'green_salad': '\uD83E\uDD57', + 'grey_exclamation': '\u2755', + 'grey_question': '\u2754', + 'grimacing': '\uD83D\uDE2C', + 'grin': '\uD83D\uDE01', + 'grinning': '\uD83D\uDE00', + 'guardsman': '\uD83D\uDC82', + 'guardswoman': '\uD83D\uDC82‍\u2640\uFE0F', + 'guitar': '\uD83C\uDFB8', + 'gun': '\uD83D\uDD2B', + 'haircut_woman': '\uD83D\uDC87', + 'haircut_man': '\uD83D\uDC87‍\u2642\uFE0F', + 'hamburger': '\uD83C\uDF54', + 'hammer': '\uD83D\uDD28', + 'hammer_and_pick': '\u2692', + 'hammer_and_wrench': '\uD83D\uDEE0', + 'hamster': '\uD83D\uDC39', + 'hand': '\u270B', + 'handbag': '\uD83D\uDC5C', + 'handshake': '\uD83E\uDD1D', + 'hankey': '\uD83D\uDCA9', + 'hatched_chick': '\uD83D\uDC25', + 'hatching_chick': '\uD83D\uDC23', + 'headphones': '\uD83C\uDFA7', + 'hear_no_evil': '\uD83D\uDE49', + 'heart': '\u2764\uFE0F', + 'heart_decoration': '\uD83D\uDC9F', + 'heart_eyes': '\uD83D\uDE0D', + 'heart_eyes_cat': '\uD83D\uDE3B', + 'heartbeat': '\uD83D\uDC93', + 'heartpulse': '\uD83D\uDC97', + 'hearts': '\u2665\uFE0F', + 'heavy_check_mark': '\u2714\uFE0F', + 'heavy_division_sign': '\u2797', + 'heavy_dollar_sign': '\uD83D\uDCB2', + 'heavy_heart_exclamation': '\u2763\uFE0F', + 'heavy_minus_sign': '\u2796', + 'heavy_multiplication_x': '\u2716\uFE0F', + 'heavy_plus_sign': '\u2795', + 'helicopter': '\uD83D\uDE81', + 'herb': '\uD83C\uDF3F', + 'hibiscus': '\uD83C\uDF3A', + 'high_brightness': '\uD83D\uDD06', + 'high_heel': '\uD83D\uDC60', + 'hocho': '\uD83D\uDD2A', + 'hole': '\uD83D\uDD73', + 'honey_pot': '\uD83C\uDF6F', + 'horse': '\uD83D\uDC34', + 'horse_racing': '\uD83C\uDFC7', + 'hospital': '\uD83C\uDFE5', + 'hot_pepper': '\uD83C\uDF36', + 'hotdog': '\uD83C\uDF2D', + 'hotel': '\uD83C\uDFE8', + 'hotsprings': '\u2668\uFE0F', + 'hourglass': '\u231B\uFE0F', + 'hourglass_flowing_sand': '\u23F3', + 'house': '\uD83C\uDFE0', + 'house_with_garden': '\uD83C\uDFE1', + 'houses': '\uD83C\uDFD8', + 'hugs': '\uD83E\uDD17', + 'hushed': '\uD83D\uDE2F', + 'ice_cream': '\uD83C\uDF68', + 'ice_hockey': '\uD83C\uDFD2', + 'ice_skate': '\u26F8', + 'icecream': '\uD83C\uDF66', + 'id': '\uD83C\uDD94', + 'ideograph_advantage': '\uD83C\uDE50', + 'imp': '\uD83D\uDC7F', + 'inbox_tray': '\uD83D\uDCE5', + 'incoming_envelope': '\uD83D\uDCE8', + 'tipping_hand_woman': '\uD83D\uDC81', + 'information_source': '\u2139\uFE0F', + 'innocent': '\uD83D\uDE07', + 'interrobang': '\u2049\uFE0F', + 'iphone': '\uD83D\uDCF1', + 'izakaya_lantern': '\uD83C\uDFEE', + 'jack_o_lantern': '\uD83C\uDF83', + 'japan': '\uD83D\uDDFE', + 'japanese_castle': '\uD83C\uDFEF', + 'japanese_goblin': '\uD83D\uDC7A', + 'japanese_ogre': '\uD83D\uDC79', + 'jeans': '\uD83D\uDC56', + 'joy': '\uD83D\uDE02', + 'joy_cat': '\uD83D\uDE39', + 'joystick': '\uD83D\uDD79', + 'kaaba': '\uD83D\uDD4B', + 'key': '\uD83D\uDD11', + 'keyboard': '\u2328\uFE0F', + 'keycap_ten': '\uD83D\uDD1F', + 'kick_scooter': '\uD83D\uDEF4', + 'kimono': '\uD83D\uDC58', + 'kiss': '\uD83D\uDC8B', + 'kissing': '\uD83D\uDE17', + 'kissing_cat': '\uD83D\uDE3D', + 'kissing_closed_eyes': '\uD83D\uDE1A', + 'kissing_heart': '\uD83D\uDE18', + 'kissing_smiling_eyes': '\uD83D\uDE19', + 'kiwi_fruit': '\uD83E\uDD5D', + 'koala': '\uD83D\uDC28', + 'koko': '\uD83C\uDE01', + 'label': '\uD83C\uDFF7', + 'large_blue_circle': '\uD83D\uDD35', + 'large_blue_diamond': '\uD83D\uDD37', + 'large_orange_diamond': '\uD83D\uDD36', + 'last_quarter_moon': '\uD83C\uDF17', + 'last_quarter_moon_with_face': '\uD83C\uDF1C', + 'latin_cross': '\u271D\uFE0F', + 'laughing': '\uD83D\uDE06', + 'leaves': '\uD83C\uDF43', + 'ledger': '\uD83D\uDCD2', + 'left_luggage': '\uD83D\uDEC5', + 'left_right_arrow': '\u2194\uFE0F', + 'leftwards_arrow_with_hook': '\u21A9\uFE0F', + 'lemon': '\uD83C\uDF4B', + 'leo': '\u264C\uFE0F', + 'leopard': '\uD83D\uDC06', + 'level_slider': '\uD83C\uDF9A', + 'libra': '\u264E\uFE0F', + 'light_rail': '\uD83D\uDE88', + 'link': '\uD83D\uDD17', + 'lion': '\uD83E\uDD81', + 'lips': '\uD83D\uDC44', + 'lipstick': '\uD83D\uDC84', + 'lizard': '\uD83E\uDD8E', + 'lock': '\uD83D\uDD12', + 'lock_with_ink_pen': '\uD83D\uDD0F', + 'lollipop': '\uD83C\uDF6D', + 'loop': '\u27BF', + 'loud_sound': '\uD83D\uDD0A', + 'loudspeaker': '\uD83D\uDCE2', + 'love_hotel': '\uD83C\uDFE9', + 'love_letter': '\uD83D\uDC8C', + 'low_brightness': '\uD83D\uDD05', + 'lying_face': '\uD83E\uDD25', + 'm': '\u24C2\uFE0F', + 'mag': '\uD83D\uDD0D', + 'mag_right': '\uD83D\uDD0E', + 'mahjong': '\uD83C\uDC04\uFE0F', + 'mailbox': '\uD83D\uDCEB', + 'mailbox_closed': '\uD83D\uDCEA', + 'mailbox_with_mail': '\uD83D\uDCEC', + 'mailbox_with_no_mail': '\uD83D\uDCED', + 'man': '\uD83D\uDC68', + 'man_artist': '\uD83D\uDC68‍\uD83C\uDFA8', + 'man_astronaut': '\uD83D\uDC68‍\uD83D\uDE80', + 'man_cartwheeling': '\uD83E\uDD38‍\u2642\uFE0F', + 'man_cook': '\uD83D\uDC68‍\uD83C\uDF73', + 'man_dancing': '\uD83D\uDD7A', + 'man_facepalming': '\uD83E\uDD26‍\u2642\uFE0F', + 'man_factory_worker': '\uD83D\uDC68‍\uD83C\uDFED', + 'man_farmer': '\uD83D\uDC68‍\uD83C\uDF3E', + 'man_firefighter': '\uD83D\uDC68‍\uD83D\uDE92', + 'man_health_worker': '\uD83D\uDC68‍\u2695\uFE0F', + 'man_in_tuxedo': '\uD83E\uDD35', + 'man_judge': '\uD83D\uDC68‍\u2696\uFE0F', + 'man_juggling': '\uD83E\uDD39‍\u2642\uFE0F', + 'man_mechanic': '\uD83D\uDC68‍\uD83D\uDD27', + 'man_office_worker': '\uD83D\uDC68‍\uD83D\uDCBC', + 'man_pilot': '\uD83D\uDC68‍\u2708\uFE0F', + 'man_playing_handball': '\uD83E\uDD3E‍\u2642\uFE0F', + 'man_playing_water_polo': '\uD83E\uDD3D‍\u2642\uFE0F', + 'man_scientist': '\uD83D\uDC68‍\uD83D\uDD2C', + 'man_shrugging': '\uD83E\uDD37‍\u2642\uFE0F', + 'man_singer': '\uD83D\uDC68‍\uD83C\uDFA4', + 'man_student': '\uD83D\uDC68‍\uD83C\uDF93', + 'man_teacher': '\uD83D\uDC68‍\uD83C\uDFEB', + 'man_technologist': '\uD83D\uDC68‍\uD83D\uDCBB', + 'man_with_gua_pi_mao': '\uD83D\uDC72', + 'man_with_turban': '\uD83D\uDC73', + 'tangerine': '\uD83C\uDF4A', + 'mans_shoe': '\uD83D\uDC5E', + 'mantelpiece_clock': '\uD83D\uDD70', + 'maple_leaf': '\uD83C\uDF41', + 'martial_arts_uniform': '\uD83E\uDD4B', + 'mask': '\uD83D\uDE37', + 'massage_woman': '\uD83D\uDC86', + 'massage_man': '\uD83D\uDC86‍\u2642\uFE0F', + 'meat_on_bone': '\uD83C\uDF56', + 'medal_military': '\uD83C\uDF96', + 'medal_sports': '\uD83C\uDFC5', + 'mega': '\uD83D\uDCE3', + 'melon': '\uD83C\uDF48', + 'memo': '\uD83D\uDCDD', + 'men_wrestling': '\uD83E\uDD3C‍\u2642\uFE0F', + 'menorah': '\uD83D\uDD4E', + 'mens': '\uD83D\uDEB9', + 'metal': '\uD83E\uDD18', + 'metro': '\uD83D\uDE87', + 'microphone': '\uD83C\uDFA4', + 'microscope': '\uD83D\uDD2C', + 'milk_glass': '\uD83E\uDD5B', + 'milky_way': '\uD83C\uDF0C', + 'minibus': '\uD83D\uDE90', + 'minidisc': '\uD83D\uDCBD', + 'mobile_phone_off': '\uD83D\uDCF4', + 'money_mouth_face': '\uD83E\uDD11', + 'money_with_wings': '\uD83D\uDCB8', + 'moneybag': '\uD83D\uDCB0', + 'monkey': '\uD83D\uDC12', + 'monkey_face': '\uD83D\uDC35', + 'monorail': '\uD83D\uDE9D', + 'moon': '\uD83C\uDF14', + 'mortar_board': '\uD83C\uDF93', + 'mosque': '\uD83D\uDD4C', + 'motor_boat': '\uD83D\uDEE5', + 'motor_scooter': '\uD83D\uDEF5', + 'motorcycle': '\uD83C\uDFCD', + 'motorway': '\uD83D\uDEE3', + 'mount_fuji': '\uD83D\uDDFB', + 'mountain': '\u26F0', + 'mountain_biking_man': '\uD83D\uDEB5', + 'mountain_biking_woman': '\uD83D\uDEB5‍\u2640\uFE0F', + 'mountain_cableway': '\uD83D\uDEA0', + 'mountain_railway': '\uD83D\uDE9E', + 'mountain_snow': '\uD83C\uDFD4', + 'mouse': '\uD83D\uDC2D', + 'mouse2': '\uD83D\uDC01', + 'movie_camera': '\uD83C\uDFA5', + 'moyai': '\uD83D\uDDFF', + 'mrs_claus': '\uD83E\uDD36', + 'muscle': '\uD83D\uDCAA', + 'mushroom': '\uD83C\uDF44', + 'musical_keyboard': '\uD83C\uDFB9', + 'musical_note': '\uD83C\uDFB5', + 'musical_score': '\uD83C\uDFBC', + 'mute': '\uD83D\uDD07', + 'nail_care': '\uD83D\uDC85', + 'name_badge': '\uD83D\uDCDB', + 'national_park': '\uD83C\uDFDE', + 'nauseated_face': '\uD83E\uDD22', + 'necktie': '\uD83D\uDC54', + 'negative_squared_cross_mark': '\u274E', + 'nerd_face': '\uD83E\uDD13', + 'neutral_face': '\uD83D\uDE10', + 'new': '\uD83C\uDD95', + 'new_moon': '\uD83C\uDF11', + 'new_moon_with_face': '\uD83C\uDF1A', + 'newspaper': '\uD83D\uDCF0', + 'newspaper_roll': '\uD83D\uDDDE', + 'next_track_button': '\u23ED', + 'ng': '\uD83C\uDD96', + 'no_good_man': '\uD83D\uDE45‍\u2642\uFE0F', + 'no_good_woman': '\uD83D\uDE45', + 'night_with_stars': '\uD83C\uDF03', + 'no_bell': '\uD83D\uDD15', + 'no_bicycles': '\uD83D\uDEB3', + 'no_entry': '\u26D4\uFE0F', + 'no_entry_sign': '\uD83D\uDEAB', + 'no_mobile_phones': '\uD83D\uDCF5', + 'no_mouth': '\uD83D\uDE36', + 'no_pedestrians': '\uD83D\uDEB7', + 'no_smoking': '\uD83D\uDEAD', + 'non-potable_water': '\uD83D\uDEB1', + 'nose': '\uD83D\uDC43', + 'notebook': '\uD83D\uDCD3', + 'notebook_with_decorative_cover': '\uD83D\uDCD4', + 'notes': '\uD83C\uDFB6', + 'nut_and_bolt': '\uD83D\uDD29', + 'o': '\u2B55\uFE0F', + 'o2': '\uD83C\uDD7E\uFE0F', + 'ocean': '\uD83C\uDF0A', + 'octopus': '\uD83D\uDC19', + 'oden': '\uD83C\uDF62', + 'office': '\uD83C\uDFE2', + 'oil_drum': '\uD83D\uDEE2', + 'ok': '\uD83C\uDD97', + 'ok_hand': '\uD83D\uDC4C', + 'ok_man': '\uD83D\uDE46‍\u2642\uFE0F', + 'ok_woman': '\uD83D\uDE46', + 'old_key': '\uD83D\uDDDD', + 'older_man': '\uD83D\uDC74', + 'older_woman': '\uD83D\uDC75', + 'om': '\uD83D\uDD49', + 'on': '\uD83D\uDD1B', + 'oncoming_automobile': '\uD83D\uDE98', + 'oncoming_bus': '\uD83D\uDE8D', + 'oncoming_police_car': '\uD83D\uDE94', + 'oncoming_taxi': '\uD83D\uDE96', + 'open_file_folder': '\uD83D\uDCC2', + 'open_hands': '\uD83D\uDC50', + 'open_mouth': '\uD83D\uDE2E', + 'open_umbrella': '\u2602\uFE0F', + 'ophiuchus': '\u26CE', + 'orange_book': '\uD83D\uDCD9', + 'orthodox_cross': '\u2626\uFE0F', + 'outbox_tray': '\uD83D\uDCE4', + 'owl': '\uD83E\uDD89', + 'ox': '\uD83D\uDC02', + 'package': '\uD83D\uDCE6', + 'page_facing_up': '\uD83D\uDCC4', + 'page_with_curl': '\uD83D\uDCC3', + 'pager': '\uD83D\uDCDF', + 'paintbrush': '\uD83D\uDD8C', + 'palm_tree': '\uD83C\uDF34', + 'pancakes': '\uD83E\uDD5E', + 'panda_face': '\uD83D\uDC3C', + 'paperclip': '\uD83D\uDCCE', + 'paperclips': '\uD83D\uDD87', + 'parasol_on_ground': '\u26F1', + 'parking': '\uD83C\uDD7F\uFE0F', + 'part_alternation_mark': '\u303D\uFE0F', + 'partly_sunny': '\u26C5\uFE0F', + 'passenger_ship': '\uD83D\uDEF3', + 'passport_control': '\uD83D\uDEC2', + 'pause_button': '\u23F8', + 'peace_symbol': '\u262E\uFE0F', + 'peach': '\uD83C\uDF51', + 'peanuts': '\uD83E\uDD5C', + 'pear': '\uD83C\uDF50', + 'pen': '\uD83D\uDD8A', + 'pencil2': '\u270F\uFE0F', + 'penguin': '\uD83D\uDC27', + 'pensive': '\uD83D\uDE14', + 'performing_arts': '\uD83C\uDFAD', + 'persevere': '\uD83D\uDE23', + 'person_fencing': '\uD83E\uDD3A', + 'pouting_woman': '\uD83D\uDE4E', + 'phone': '\u260E\uFE0F', + 'pick': '\u26CF', + 'pig': '\uD83D\uDC37', + 'pig2': '\uD83D\uDC16', + 'pig_nose': '\uD83D\uDC3D', + 'pill': '\uD83D\uDC8A', + 'pineapple': '\uD83C\uDF4D', + 'ping_pong': '\uD83C\uDFD3', + 'pisces': '\u2653\uFE0F', + 'pizza': '\uD83C\uDF55', + 'place_of_worship': '\uD83D\uDED0', + 'plate_with_cutlery': '\uD83C\uDF7D', + 'play_or_pause_button': '\u23EF', + 'point_down': '\uD83D\uDC47', + 'point_left': '\uD83D\uDC48', + 'point_right': '\uD83D\uDC49', + 'point_up': '\u261D\uFE0F', + 'point_up_2': '\uD83D\uDC46', + 'police_car': '\uD83D\uDE93', + 'policewoman': '\uD83D\uDC6E‍\u2640\uFE0F', + 'poodle': '\uD83D\uDC29', + 'popcorn': '\uD83C\uDF7F', + 'post_office': '\uD83C\uDFE3', + 'postal_horn': '\uD83D\uDCEF', + 'postbox': '\uD83D\uDCEE', + 'potable_water': '\uD83D\uDEB0', + 'potato': '\uD83E\uDD54', + 'pouch': '\uD83D\uDC5D', + 'poultry_leg': '\uD83C\uDF57', + 'pound': '\uD83D\uDCB7', + 'rage': '\uD83D\uDE21', + 'pouting_cat': '\uD83D\uDE3E', + 'pouting_man': '\uD83D\uDE4E‍\u2642\uFE0F', + 'pray': '\uD83D\uDE4F', + 'prayer_beads': '\uD83D\uDCFF', + 'pregnant_woman': '\uD83E\uDD30', + 'previous_track_button': '\u23EE', + 'prince': '\uD83E\uDD34', + 'princess': '\uD83D\uDC78', + 'printer': '\uD83D\uDDA8', + 'purple_heart': '\uD83D\uDC9C', + 'purse': '\uD83D\uDC5B', + 'pushpin': '\uD83D\uDCCC', + 'put_litter_in_its_place': '\uD83D\uDEAE', + 'question': '\u2753', + 'rabbit': '\uD83D\uDC30', + 'rabbit2': '\uD83D\uDC07', + 'racehorse': '\uD83D\uDC0E', + 'racing_car': '\uD83C\uDFCE', + 'radio': '\uD83D\uDCFB', + 'radio_button': '\uD83D\uDD18', + 'radioactive': '\u2622\uFE0F', + 'railway_car': '\uD83D\uDE83', + 'railway_track': '\uD83D\uDEE4', + 'rainbow': '\uD83C\uDF08', + 'rainbow_flag': '\uD83C\uDFF3\uFE0F‍\uD83C\uDF08', + 'raised_back_of_hand': '\uD83E\uDD1A', + 'raised_hand_with_fingers_splayed': '\uD83D\uDD90', + 'raised_hands': '\uD83D\uDE4C', + 'raising_hand_woman': '\uD83D\uDE4B', + 'raising_hand_man': '\uD83D\uDE4B‍\u2642\uFE0F', + 'ram': '\uD83D\uDC0F', + 'ramen': '\uD83C\uDF5C', + 'rat': '\uD83D\uDC00', + 'record_button': '\u23FA', + 'recycle': '\u267B\uFE0F', + 'red_circle': '\uD83D\uDD34', + 'registered': '\xAE\uFE0F', + 'relaxed': '\u263A\uFE0F', + 'relieved': '\uD83D\uDE0C', + 'reminder_ribbon': '\uD83C\uDF97', + 'repeat': '\uD83D\uDD01', + 'repeat_one': '\uD83D\uDD02', + 'rescue_worker_helmet': '\u26D1', + 'restroom': '\uD83D\uDEBB', + 'revolving_hearts': '\uD83D\uDC9E', + 'rewind': '\u23EA', + 'rhinoceros': '\uD83E\uDD8F', + 'ribbon': '\uD83C\uDF80', + 'rice': '\uD83C\uDF5A', + 'rice_ball': '\uD83C\uDF59', + 'rice_cracker': '\uD83C\uDF58', + 'rice_scene': '\uD83C\uDF91', + 'right_anger_bubble': '\uD83D\uDDEF', + 'ring': '\uD83D\uDC8D', + 'robot': '\uD83E\uDD16', + 'rocket': '\uD83D\uDE80', + 'rofl': '\uD83E\uDD23', + 'roll_eyes': '\uD83D\uDE44', + 'roller_coaster': '\uD83C\uDFA2', + 'rooster': '\uD83D\uDC13', + 'rose': '\uD83C\uDF39', + 'rosette': '\uD83C\uDFF5', + 'rotating_light': '\uD83D\uDEA8', + 'round_pushpin': '\uD83D\uDCCD', + 'rowing_man': '\uD83D\uDEA3', + 'rowing_woman': '\uD83D\uDEA3‍\u2640\uFE0F', + 'rugby_football': '\uD83C\uDFC9', + 'running_man': '\uD83C\uDFC3', + 'running_shirt_with_sash': '\uD83C\uDFBD', + 'running_woman': '\uD83C\uDFC3‍\u2640\uFE0F', + 'sa': '\uD83C\uDE02\uFE0F', + 'sagittarius': '\u2650\uFE0F', + 'sake': '\uD83C\uDF76', + 'sandal': '\uD83D\uDC61', + 'santa': '\uD83C\uDF85', + 'satellite': '\uD83D\uDCE1', + 'saxophone': '\uD83C\uDFB7', + 'school': '\uD83C\uDFEB', + 'school_satchel': '\uD83C\uDF92', + 'scissors': '\u2702\uFE0F', + 'scorpion': '\uD83E\uDD82', + 'scorpius': '\u264F\uFE0F', + 'scream': '\uD83D\uDE31', + 'scream_cat': '\uD83D\uDE40', + 'scroll': '\uD83D\uDCDC', + 'seat': '\uD83D\uDCBA', + 'secret': '\u3299\uFE0F', + 'see_no_evil': '\uD83D\uDE48', + 'seedling': '\uD83C\uDF31', + 'selfie': '\uD83E\uDD33', + 'shallow_pan_of_food': '\uD83E\uDD58', + 'shamrock': '\u2618\uFE0F', + 'shark': '\uD83E\uDD88', + 'shaved_ice': '\uD83C\uDF67', + 'sheep': '\uD83D\uDC11', + 'shell': '\uD83D\uDC1A', + 'shield': '\uD83D\uDEE1', + 'shinto_shrine': '\u26E9', + 'ship': '\uD83D\uDEA2', + 'shirt': '\uD83D\uDC55', + 'shopping': '\uD83D\uDECD', + 'shopping_cart': '\uD83D\uDED2', + 'shower': '\uD83D\uDEBF', + 'shrimp': '\uD83E\uDD90', + 'signal_strength': '\uD83D\uDCF6', + 'six_pointed_star': '\uD83D\uDD2F', + 'ski': '\uD83C\uDFBF', + 'skier': '\u26F7', + 'skull': '\uD83D\uDC80', + 'skull_and_crossbones': '\u2620\uFE0F', + 'sleeping': '\uD83D\uDE34', + 'sleeping_bed': '\uD83D\uDECC', + 'sleepy': '\uD83D\uDE2A', + 'slightly_frowning_face': '\uD83D\uDE41', + 'slightly_smiling_face': '\uD83D\uDE42', + 'slot_machine': '\uD83C\uDFB0', + 'small_airplane': '\uD83D\uDEE9', + 'small_blue_diamond': '\uD83D\uDD39', + 'small_orange_diamond': '\uD83D\uDD38', + 'small_red_triangle': '\uD83D\uDD3A', + 'small_red_triangle_down': '\uD83D\uDD3B', + 'smile': '\uD83D\uDE04', + 'smile_cat': '\uD83D\uDE38', + 'smiley': '\uD83D\uDE03', + 'smiley_cat': '\uD83D\uDE3A', + 'smiling_imp': '\uD83D\uDE08', + 'smirk': '\uD83D\uDE0F', + 'smirk_cat': '\uD83D\uDE3C', + 'smoking': '\uD83D\uDEAC', + 'snail': '\uD83D\uDC0C', + 'snake': '\uD83D\uDC0D', + 'sneezing_face': '\uD83E\uDD27', + 'snowboarder': '\uD83C\uDFC2', + 'snowflake': '\u2744\uFE0F', + 'snowman': '\u26C4\uFE0F', + 'snowman_with_snow': '\u2603\uFE0F', + 'sob': '\uD83D\uDE2D', + 'soccer': '\u26BD\uFE0F', + 'soon': '\uD83D\uDD1C', + 'sos': '\uD83C\uDD98', + 'sound': '\uD83D\uDD09', + 'space_invader': '\uD83D\uDC7E', + 'spades': '\u2660\uFE0F', + 'spaghetti': '\uD83C\uDF5D', + 'sparkle': '\u2747\uFE0F', + 'sparkler': '\uD83C\uDF87', + 'sparkles': '\u2728', + 'sparkling_heart': '\uD83D\uDC96', + 'speak_no_evil': '\uD83D\uDE4A', + 'speaker': '\uD83D\uDD08', + 'speaking_head': '\uD83D\uDDE3', + 'speech_balloon': '\uD83D\uDCAC', + 'speedboat': '\uD83D\uDEA4', + 'spider': '\uD83D\uDD77', + 'spider_web': '\uD83D\uDD78', + 'spiral_calendar': '\uD83D\uDDD3', + 'spiral_notepad': '\uD83D\uDDD2', + 'spoon': '\uD83E\uDD44', + 'squid': '\uD83E\uDD91', + 'stadium': '\uD83C\uDFDF', + 'star': '\u2B50\uFE0F', + 'star2': '\uD83C\uDF1F', + 'star_and_crescent': '\u262A\uFE0F', + 'star_of_david': '\u2721\uFE0F', + 'stars': '\uD83C\uDF20', + 'station': '\uD83D\uDE89', + 'statue_of_liberty': '\uD83D\uDDFD', + 'steam_locomotive': '\uD83D\uDE82', + 'stew': '\uD83C\uDF72', + 'stop_button': '\u23F9', + 'stop_sign': '\uD83D\uDED1', + 'stopwatch': '\u23F1', + 'straight_ruler': '\uD83D\uDCCF', + 'strawberry': '\uD83C\uDF53', + 'stuck_out_tongue': '\uD83D\uDE1B', + 'stuck_out_tongue_closed_eyes': '\uD83D\uDE1D', + 'stuck_out_tongue_winking_eye': '\uD83D\uDE1C', + 'studio_microphone': '\uD83C\uDF99', + 'stuffed_flatbread': '\uD83E\uDD59', + 'sun_behind_large_cloud': '\uD83C\uDF25', + 'sun_behind_rain_cloud': '\uD83C\uDF26', + 'sun_behind_small_cloud': '\uD83C\uDF24', + 'sun_with_face': '\uD83C\uDF1E', + 'sunflower': '\uD83C\uDF3B', + 'sunglasses': '\uD83D\uDE0E', + 'sunny': '\u2600\uFE0F', + 'sunrise': '\uD83C\uDF05', + 'sunrise_over_mountains': '\uD83C\uDF04', + 'surfing_man': '\uD83C\uDFC4', + 'surfing_woman': '\uD83C\uDFC4‍\u2640\uFE0F', + 'sushi': '\uD83C\uDF63', + 'suspension_railway': '\uD83D\uDE9F', + 'sweat': '\uD83D\uDE13', + 'sweat_drops': '\uD83D\uDCA6', + 'sweat_smile': '\uD83D\uDE05', + 'sweet_potato': '\uD83C\uDF60', + 'swimming_man': '\uD83C\uDFCA', + 'swimming_woman': '\uD83C\uDFCA‍\u2640\uFE0F', + 'symbols': '\uD83D\uDD23', + 'synagogue': '\uD83D\uDD4D', + 'syringe': '\uD83D\uDC89', + 'taco': '\uD83C\uDF2E', + 'tada': '\uD83C\uDF89', + 'tanabata_tree': '\uD83C\uDF8B', + 'taurus': '\u2649\uFE0F', + 'taxi': '\uD83D\uDE95', + 'tea': '\uD83C\uDF75', + 'telephone_receiver': '\uD83D\uDCDE', + 'telescope': '\uD83D\uDD2D', + 'tennis': '\uD83C\uDFBE', + 'tent': '\u26FA\uFE0F', + 'thermometer': '\uD83C\uDF21', + 'thinking': '\uD83E\uDD14', + 'thought_balloon': '\uD83D\uDCAD', + 'ticket': '\uD83C\uDFAB', + 'tickets': '\uD83C\uDF9F', + 'tiger': '\uD83D\uDC2F', + 'tiger2': '\uD83D\uDC05', + 'timer_clock': '\u23F2', + 'tipping_hand_man': '\uD83D\uDC81‍\u2642\uFE0F', + 'tired_face': '\uD83D\uDE2B', + 'tm': '\u2122\uFE0F', + 'toilet': '\uD83D\uDEBD', + 'tokyo_tower': '\uD83D\uDDFC', + 'tomato': '\uD83C\uDF45', + 'tongue': '\uD83D\uDC45', + 'top': '\uD83D\uDD1D', + 'tophat': '\uD83C\uDFA9', + 'tornado': '\uD83C\uDF2A', + 'trackball': '\uD83D\uDDB2', + 'tractor': '\uD83D\uDE9C', + 'traffic_light': '\uD83D\uDEA5', + 'train': '\uD83D\uDE8B', + 'train2': '\uD83D\uDE86', + 'tram': '\uD83D\uDE8A', + 'triangular_flag_on_post': '\uD83D\uDEA9', + 'triangular_ruler': '\uD83D\uDCD0', + 'trident': '\uD83D\uDD31', + 'triumph': '\uD83D\uDE24', + 'trolleybus': '\uD83D\uDE8E', + 'trophy': '\uD83C\uDFC6', + 'tropical_drink': '\uD83C\uDF79', + 'tropical_fish': '\uD83D\uDC20', + 'truck': '\uD83D\uDE9A', + 'trumpet': '\uD83C\uDFBA', + 'tulip': '\uD83C\uDF37', + 'tumbler_glass': '\uD83E\uDD43', + 'turkey': '\uD83E\uDD83', + 'turtle': '\uD83D\uDC22', + 'tv': '\uD83D\uDCFA', + 'twisted_rightwards_arrows': '\uD83D\uDD00', + 'two_hearts': '\uD83D\uDC95', + 'two_men_holding_hands': '\uD83D\uDC6C', + 'two_women_holding_hands': '\uD83D\uDC6D', + 'u5272': '\uD83C\uDE39', + 'u5408': '\uD83C\uDE34', + 'u55b6': '\uD83C\uDE3A', + 'u6307': '\uD83C\uDE2F\uFE0F', + 'u6708': '\uD83C\uDE37\uFE0F', + 'u6709': '\uD83C\uDE36', + 'u6e80': '\uD83C\uDE35', + 'u7121': '\uD83C\uDE1A\uFE0F', + 'u7533': '\uD83C\uDE38', + 'u7981': '\uD83C\uDE32', + 'u7a7a': '\uD83C\uDE33', + 'umbrella': '\u2614\uFE0F', + 'unamused': '\uD83D\uDE12', + 'underage': '\uD83D\uDD1E', + 'unicorn': '\uD83E\uDD84', + 'unlock': '\uD83D\uDD13', + 'up': '\uD83C\uDD99', + 'upside_down_face': '\uD83D\uDE43', + 'v': '\u270C\uFE0F', + 'vertical_traffic_light': '\uD83D\uDEA6', + 'vhs': '\uD83D\uDCFC', + 'vibration_mode': '\uD83D\uDCF3', + 'video_camera': '\uD83D\uDCF9', + 'video_game': '\uD83C\uDFAE', + 'violin': '\uD83C\uDFBB', + 'virgo': '\u264D\uFE0F', + 'volcano': '\uD83C\uDF0B', + 'volleyball': '\uD83C\uDFD0', + 'vs': '\uD83C\uDD9A', + 'vulcan_salute': '\uD83D\uDD96', + 'walking_man': '\uD83D\uDEB6', + 'walking_woman': '\uD83D\uDEB6‍\u2640\uFE0F', + 'waning_crescent_moon': '\uD83C\uDF18', + 'waning_gibbous_moon': '\uD83C\uDF16', + 'warning': '\u26A0\uFE0F', + 'wastebasket': '\uD83D\uDDD1', + 'watch': '\u231A\uFE0F', + 'water_buffalo': '\uD83D\uDC03', + 'watermelon': '\uD83C\uDF49', + 'wave': '\uD83D\uDC4B', + 'wavy_dash': '\u3030\uFE0F', + 'waxing_crescent_moon': '\uD83C\uDF12', + 'wc': '\uD83D\uDEBE', + 'weary': '\uD83D\uDE29', + 'wedding': '\uD83D\uDC92', + 'weight_lifting_man': '\uD83C\uDFCB\uFE0F', + 'weight_lifting_woman': '\uD83C\uDFCB\uFE0F‍\u2640\uFE0F', + 'whale': '\uD83D\uDC33', + 'whale2': '\uD83D\uDC0B', + 'wheel_of_dharma': '\u2638\uFE0F', + 'wheelchair': '\u267F\uFE0F', + 'white_check_mark': '\u2705', + 'white_circle': '\u26AA\uFE0F', + 'white_flag': '\uD83C\uDFF3\uFE0F', + 'white_flower': '\uD83D\uDCAE', + 'white_large_square': '\u2B1C\uFE0F', + 'white_medium_small_square': '\u25FD\uFE0F', + 'white_medium_square': '\u25FB\uFE0F', + 'white_small_square': '\u25AB\uFE0F', + 'white_square_button': '\uD83D\uDD33', + 'wilted_flower': '\uD83E\uDD40', + 'wind_chime': '\uD83C\uDF90', + 'wind_face': '\uD83C\uDF2C', + 'wine_glass': '\uD83C\uDF77', + 'wink': '\uD83D\uDE09', + 'wolf': '\uD83D\uDC3A', + 'woman': '\uD83D\uDC69', + 'woman_artist': '\uD83D\uDC69‍\uD83C\uDFA8', + 'woman_astronaut': '\uD83D\uDC69‍\uD83D\uDE80', + 'woman_cartwheeling': '\uD83E\uDD38‍\u2640\uFE0F', + 'woman_cook': '\uD83D\uDC69‍\uD83C\uDF73', + 'woman_facepalming': '\uD83E\uDD26‍\u2640\uFE0F', + 'woman_factory_worker': '\uD83D\uDC69‍\uD83C\uDFED', + 'woman_farmer': '\uD83D\uDC69‍\uD83C\uDF3E', + 'woman_firefighter': '\uD83D\uDC69‍\uD83D\uDE92', + 'woman_health_worker': '\uD83D\uDC69‍\u2695\uFE0F', + 'woman_judge': '\uD83D\uDC69‍\u2696\uFE0F', + 'woman_juggling': '\uD83E\uDD39‍\u2640\uFE0F', + 'woman_mechanic': '\uD83D\uDC69‍\uD83D\uDD27', + 'woman_office_worker': '\uD83D\uDC69‍\uD83D\uDCBC', + 'woman_pilot': '\uD83D\uDC69‍\u2708\uFE0F', + 'woman_playing_handball': '\uD83E\uDD3E‍\u2640\uFE0F', + 'woman_playing_water_polo': '\uD83E\uDD3D‍\u2640\uFE0F', + 'woman_scientist': '\uD83D\uDC69‍\uD83D\uDD2C', + 'woman_shrugging': '\uD83E\uDD37‍\u2640\uFE0F', + 'woman_singer': '\uD83D\uDC69‍\uD83C\uDFA4', + 'woman_student': '\uD83D\uDC69‍\uD83C\uDF93', + 'woman_teacher': '\uD83D\uDC69‍\uD83C\uDFEB', + 'woman_technologist': '\uD83D\uDC69‍\uD83D\uDCBB', + 'woman_with_turban': '\uD83D\uDC73‍\u2640\uFE0F', + 'womans_clothes': '\uD83D\uDC5A', + 'womans_hat': '\uD83D\uDC52', + 'women_wrestling': '\uD83E\uDD3C‍\u2640\uFE0F', + 'womens': '\uD83D\uDEBA', + 'world_map': '\uD83D\uDDFA', + 'worried': '\uD83D\uDE1F', + 'wrench': '\uD83D\uDD27', + 'writing_hand': '\u270D\uFE0F', + 'x': '\u274C', + 'yellow_heart': '\uD83D\uDC9B', + 'yen': '\uD83D\uDCB4', + 'yin_yang': '\u262F\uFE0F', + 'yum': '\uD83D\uDE0B', + 'zap': '\u26A1\uFE0F', + 'zipper_mouth_face': '\uD83E\uDD10', + 'zzz': '\uD83D\uDCA4', + + /* special emojis :P */ + 'octocat': ':octocat:', + 'showdown': 'S' + }; + + /** + * Created by Estevao on 31-05-2015. + */ + + /** + * Showdown Converter class + * @class + * @param {object} [converterOptions] + * @returns {Converter} + */ + showdown.Converter = function (converterOptions) { + 'use strict'; + + var + /** + * Options used by this converter + * @private + * @type {{}} + */ + options = {}, + + + /** + * Language extensions used by this converter + * @private + * @type {Array} + */ + langExtensions = [], + + + /** + * Output modifiers extensions used by this converter + * @private + * @type {Array} + */ + outputModifiers = [], + + + /** + * Event listeners + * @private + * @type {{}} + */ + listeners = {}, + + + /** + * The flavor set in this converter + */ + setConvFlavor = setFlavor, + + + /** + * Metadata of the document + * @type {{parsed: {}, raw: string, format: string}} + */ + metadata = { + parsed: {}, + raw: '', + format: '' + }; + + _constructor(); + + /** + * Converter constructor + * @private + */ + function _constructor() { + converterOptions = converterOptions || {}; + + for (var gOpt in globalOptions) { + if (globalOptions.hasOwnProperty(gOpt)) { + options[gOpt] = globalOptions[gOpt]; + } + } + + // Merge options + if (typeof converterOptions === 'object') { + for (var opt in converterOptions) { + if (converterOptions.hasOwnProperty(opt)) { + options[opt] = converterOptions[opt]; + } + } + } else { + throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.'); + } + + if (options.extensions) { + showdown.helper.forEach(options.extensions, _parseExtension); + } + } + + /** + * Parse extension + * @param {*} ext + * @param {string} [name=''] + * @private + */ + function _parseExtension(ext, name) { + + name = name || null; + // If it's a string, the extension was previously loaded + if (showdown.helper.isString(ext)) { + ext = showdown.helper.stdExtName(ext); + name = ext; + + // LEGACY_SUPPORT CODE + if (showdown.extensions[ext]) { + console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!'); + legacyExtensionLoading(showdown.extensions[ext], ext); + return; + // END LEGACY SUPPORT CODE + } else if (!showdown.helper.isUndefined(extensions[ext])) { + ext = extensions[ext]; + } else { + throw Error('Extension "' + ext + '" could not be loaded. It was either not found or is not a valid extension.'); + } + } + + if (typeof ext === 'function') { + ext = ext(); + } + + if (!showdown.helper.isArray(ext)) { + ext = [ext]; + } + + var validExt = validate(ext, name); + if (!validExt.valid) { + throw Error(validExt.error); + } + + for (var i = 0; i < ext.length; ++i) { + switch (ext[i].type) { + + case 'lang': + langExtensions.push(ext[i]); + break; + + case 'output': + outputModifiers.push(ext[i]); + break; + } + if (ext[i].hasOwnProperty('listeners')) { + for (var ln in ext[i].listeners) { + if (ext[i].listeners.hasOwnProperty(ln)) { + listen(ln, ext[i].listeners[ln]); + } + } + } + } + } + + /** + * LEGACY_SUPPORT + * @param {*} ext + * @param {string} name + */ + function legacyExtensionLoading(ext, name) { + if (typeof ext === 'function') { + ext = ext(new showdown.Converter()); + } + if (!showdown.helper.isArray(ext)) { + ext = [ext]; + } + var valid = validate(ext, name); + + if (!valid.valid) { + throw Error(valid.error); + } + + for (var i = 0; i < ext.length; ++i) { + switch (ext[i].type) { + case 'lang': + langExtensions.push(ext[i]); + break; + case 'output': + outputModifiers.push(ext[i]); + break; + default: + // should never reach here + throw Error('Extension loader error: Type unrecognized!!!'); + } + } + } + + /** + * Listen to an event + * @param {string} name + * @param {function} callback + */ + function listen(name, callback) { + if (!showdown.helper.isString(name)) { + throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given'); + } + + if (typeof callback !== 'function') { + throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given'); + } + + if (!listeners.hasOwnProperty(name)) { + listeners[name] = []; + } + listeners[name].push(callback); + } + + function rTrimInputText(text) { + var rsp = text.match(/^\s*/)[0].length, + rgx = new RegExp('^\\s{0,' + rsp + '}', 'gm'); + return text.replace(rgx, ''); + } + + /** + * Dispatch an event + * @private + * @param {string} evtName Event name + * @param {string} text Text + * @param {{}} options Converter Options + * @param {{}} globals + * @returns {string} + */ + this._dispatch = function dispatch(evtName, text, options, globals) { + if (listeners.hasOwnProperty(evtName)) { + for (var ei = 0; ei < listeners[evtName].length; ++ei) { + var nText = listeners[evtName][ei](evtName, text, this, options, globals); + if (nText && typeof nText !== 'undefined') { + text = nText; + } + } + } + return text; + }; + + /** + * Listen to an event + * @param {string} name + * @param {function} callback + * @returns {showdown.Converter} + */ + this.listen = function (name, callback) { + listen(name, callback); + return this; + }; + + /** + * Converts a markdown string into HTML + * @param {string} text + * @returns {*} + */ + this.makeHtml = function (text) { + //check if text is not falsy + if (!text) { + return text; + } + + var globals = { + gHtmlBlocks: [], + gHtmlMdBlocks: [], + gHtmlSpans: [], + gUrls: {}, + gTitles: {}, + gDimensions: {}, + gListLevel: 0, + hashLinkCounts: {}, + langExtensions: langExtensions, + outputModifiers: outputModifiers, + converter: this, + ghCodeBlocks: [], + metadata: { + parsed: {}, + raw: '', + format: '' + } + }; + + // This lets us use ¨ trema as an escape char to avoid md5 hashes + // The choice of character is arbitrary; anything that isn't + // magic in Markdown will work. + text = text.replace(/¨/g, '¨T'); + + // Replace $ with ¨D + // RegExp interprets $ as a special character + // when it's in a replacement string + text = text.replace(/\$/g, '¨D'); + + // Standardize line endings + text = text.replace(/\r\n/g, '\n'); // DOS to Unix + text = text.replace(/\r/g, '\n'); // Mac to Unix + + // Stardardize line spaces + text = text.replace(/\u00A0/g, ' '); + + if (options.smartIndentationFix) { + text = rTrimInputText(text); + } + + // Make sure text begins and ends with a couple of newlines: + text = '\n\n' + text + '\n\n'; + + // detab + text = showdown.subParser('detab')(text, options, globals); + + /** + * Strip any lines consisting only of spaces and tabs. + * This makes subsequent regexs easier to write, because we can + * match consecutive blank lines with /\n+/ instead of something + * contorted like /[ \t]*\n+/ + */ + text = text.replace(/^[ \t]+$/mg, ''); + + //run languageExtensions + showdown.helper.forEach(langExtensions, function (ext) { + text = showdown.subParser('runExtension')(ext, text, options, globals); + }); + + // run the sub parsers + text = showdown.subParser('metadata')(text, options, globals); + text = showdown.subParser('hashPreCodeTags')(text, options, globals); + text = showdown.subParser('githubCodeBlocks')(text, options, globals); + text = showdown.subParser('hashHTMLBlocks')(text, options, globals); + text = showdown.subParser('hashCodeTags')(text, options, globals); + text = showdown.subParser('stripLinkDefinitions')(text, options, globals); + text = showdown.subParser('blockGamut')(text, options, globals); + text = showdown.subParser('unhashHTMLSpans')(text, options, globals); + text = showdown.subParser('unescapeSpecialChars')(text, options, globals); + + // attacklab: Restore dollar signs + text = text.replace(/¨D/g, '$$'); + + // attacklab: Restore tremas + text = text.replace(/¨T/g, '¨'); + + // render a complete html document instead of a partial if the option is enabled + text = showdown.subParser('completeHTMLDocument')(text, options, globals); + + // Run output modifiers + showdown.helper.forEach(outputModifiers, function (ext) { + text = showdown.subParser('runExtension')(ext, text, options, globals); + }); + + // update metadata + metadata = globals.metadata; + return text; + }; + + /** + * Converts an HTML string into a markdown string + * @param src + * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used. + * @returns {string} + */ + this.makeMarkdown = this.makeMd = function (src, HTMLParser) { + + // replace \r\n with \n + src = src.replace(/\r\n/g, '\n'); + src = src.replace(/\r/g, '\n'); // old macs + + // due to an edge case, we need to find this: > < + // to prevent removing of non silent white spaces + // ex: this is sparta + src = src.replace(/>[ \t]+¨NBSP;<'); + + if (!HTMLParser) { + if (window && window.document) { + HTMLParser = window.document; + } else { + throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM'); + } + } + + var doc = HTMLParser.createElement('div'); + doc.innerHTML = src; + + var globals = { + preList: substitutePreCodeTags(doc) + }; + + // remove all newlines and collapse spaces + clean(doc); + + // some stuff, like accidental reference links must now be escaped + // TODO + // doc.innerHTML = doc.innerHTML.replace(/\[[\S\t ]]/); + + var nodes = doc.childNodes, + mdDoc = ''; + + for (var i = 0; i < nodes.length; i++) { + mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals); + } + + function clean(node) { + for (var n = 0; n < node.childNodes.length; ++n) { + var child = node.childNodes[n]; + if (child.nodeType === 3) { + if (!/\S/.test(child.nodeValue)) { + node.removeChild(child); + --n; + } else { + child.nodeValue = child.nodeValue.split('\n').join(' '); + child.nodeValue = child.nodeValue.replace(/(\s)+/g, '$1'); + } + } else if (child.nodeType === 1) { + clean(child); + } + } + } + + // find all pre tags and replace contents with placeholder + // we need this so that we can remove all indentation from html + // to ease up parsing + function substitutePreCodeTags(doc) { + + var pres = doc.querySelectorAll('pre'), + presPH = []; + + for (var i = 0; i < pres.length; ++i) { + + if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') { + var content = pres[i].firstChild.innerHTML.trim(), + language = pres[i].firstChild.getAttribute('data-language') || ''; + + // if data-language attribute is not defined, then we look for class language-* + if (language === '') { + var classes = pres[i].firstChild.className.split(' '); + for (var c = 0; c < classes.length; ++c) { + var matches = classes[c].match(/^language-(.+)$/); + if (matches !== null) { + language = matches[1]; + break; + } + } + } + + // unescape html entities in content + content = showdown.helper.unescapeHTMLEntities(content); + + presPH.push(content); + pres[i].outerHTML = ''; + } else { + presPH.push(pres[i].innerHTML); + pres[i].innerHTML = ''; + pres[i].setAttribute('prenum', i.toString()); + } + } + return presPH; + } + + return mdDoc; + }; + + /** + * Set an option of this Converter instance + * @param {string} key + * @param {*} value + */ + this.setOption = function (key, value) { + options[key] = value; + }; + + /** + * Get the option of this Converter instance + * @param {string} key + * @returns {*} + */ + this.getOption = function (key) { + return options[key]; + }; + + /** + * Get the options of this Converter instance + * @returns {{}} + */ + this.getOptions = function () { + return options; + }; + + /** + * Add extension to THIS converter + * @param {{}} extension + * @param {string} [name=null] + */ + this.addExtension = function (extension, name) { + name = name || null; + _parseExtension(extension, name); + }; + + /** + * Use a global registered extension with THIS converter + * @param {string} extensionName Name of the previously registered extension + */ + this.useExtension = function (extensionName) { + _parseExtension(extensionName); + }; + + /** + * Set the flavor THIS converter should use + * @param {string} name + */ + this.setFlavor = function (name) { + if (!flavor.hasOwnProperty(name)) { + throw Error(name + ' flavor was not found'); + } + var preset = flavor[name]; + setConvFlavor = name; + for (var option in preset) { + if (preset.hasOwnProperty(option)) { + options[option] = preset[option]; + } + } + }; + + /** + * Get the currently set flavor of this converter + * @returns {string} + */ + this.getFlavor = function () { + return setConvFlavor; + }; + + /** + * Remove an extension from THIS converter. + * Note: This is a costly operation. It's better to initialize a new converter + * and specify the extensions you wish to use + * @param {Array} extension + */ + this.removeExtension = function (extension) { + if (!showdown.helper.isArray(extension)) { + extension = [extension]; + } + for (var a = 0; a < extension.length; ++a) { + var ext = extension[a]; + for (var i = 0; i < langExtensions.length; ++i) { + if (langExtensions[i] === ext) { + langExtensions[i].splice(i, 1); + } + } + for (var ii = 0; ii < outputModifiers.length; ++i) { + if (outputModifiers[ii] === ext) { + outputModifiers[ii].splice(i, 1); + } + } + } + }; + + /** + * Get all extension of THIS converter + * @returns {{language: Array, output: Array}} + */ + this.getAllExtensions = function () { + return { + language: langExtensions, + output: outputModifiers + }; + }; + + /** + * Get the metadata of the previously parsed document + * @param raw + * @returns {string|{}} + */ + this.getMetadata = function (raw) { + if (raw) { + return metadata.raw; + } else { + return metadata.parsed; + } + }; + + /** + * Get the metadata format of the previously parsed document + * @returns {string} + */ + this.getMetadataFormat = function () { + return metadata.format; + }; + + /** + * Private: set a single key, value metadata pair + * @param {string} key + * @param {string} value + */ + this._setMetadataPair = function (key, value) { + metadata.parsed[key] = value; + }; + + /** + * Private: set metadata format + * @param {string} format + */ + this._setMetadataFormat = function (format) { + metadata.format = format; + }; + + /** + * Private: set metadata raw text + * @param {string} raw + */ + this._setMetadataRaw = function (raw) { + metadata.raw = raw; + }; + }; + + /** + * Turn Markdown link shortcuts into XHTML tags. + */ + showdown.subParser('anchors', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('anchors.before', text, options, globals); + + var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) { + if (showdown.helper.isUndefined(title)) { + title = ''; + } + linkId = linkId.toLowerCase(); + + // Special case for explicit empty url + if (wholeMatch.search(/\(? ?(['"].*['"])?\)$/m) > -1) { + url = ''; + } else if (!url) { + if (!linkId) { + // lower-case and turn embedded newlines into spaces + linkId = linkText.toLowerCase().replace(/ ?\n/g, ' '); + } + url = '#' + linkId; + + if (!showdown.helper.isUndefined(globals.gUrls[linkId])) { + url = globals.gUrls[linkId]; + if (!showdown.helper.isUndefined(globals.gTitles[linkId])) { + title = globals.gTitles[linkId]; + } + } else { + return wholeMatch; + } + } + + //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance + url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback); + + var result = ''; + + return result; + }; + + // First, handle reference-style links: [link text] [id] + text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g, writeAnchorTag); + + // Next, inline-style links: [link text](url "optional title") + // cases with crazy urls like ./image/cat1).png + text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g, writeAnchorTag); + + // normal cases + text = text.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g, writeAnchorTag); + + // handle reference-style shortcuts: [link text] + // These must come last in case you've also got [link test][1] + // or [link test](/foo) + text = text.replace(/\[([^\[\]]+)]()()()()()/g, writeAnchorTag); + + // Lastly handle GithubMentions if option is enabled + if (options.ghMentions) { + text = text.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi, function (wm, st, escape, mentions, username) { + if (escape === '\\') { + return st + mentions; + } + + //check if options.ghMentionsLink is a string + if (!showdown.helper.isString(options.ghMentionsLink)) { + throw new Error('ghMentionsLink option must be a string'); + } + var lnk = options.ghMentionsLink.replace(/\{u}/g, username), + target = ''; + if (options.openLinksInNewWindow) { + target = ' rel="noopener noreferrer" target="¨E95Eblank"'; + } + return st + '' + mentions + ''; + }); + } + + text = globals.converter._dispatch('anchors.after', text, options, globals); + return text; + }); + + // url allowed chars [a-z\d_.~:/?#[]@!$&'()*+,;=-] + + var simpleURLRegex = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi, + simpleURLRegex2 = /([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi, + delimUrlRegex = /()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi, + simpleMailRegex = /(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi, + delimMailRegex = /<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi, + replaceLink = function replaceLink(options) { + 'use strict'; + + return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) { + link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback); + var lnkTxt = link, + append = '', + target = '', + lmc = leadingMagicChars || '', + tmc = trailingMagicChars || ''; + if (/^www\./i.test(link)) { + link = link.replace(/^www\./i, 'http://www.'); + } + if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) { + append = trailingPunctuation; + } + if (options.openLinksInNewWindow) { + target = ' rel="noopener noreferrer" target="¨E95Eblank"'; + } + return lmc + '' + lnkTxt + '' + append + tmc; + }; + }, + replaceMail = function replaceMail(options, globals) { + 'use strict'; + + return function (wholeMatch, b, mail) { + var href = 'mailto:'; + b = b || ''; + mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals); + if (options.encodeEmails) { + href = showdown.helper.encodeEmailAddress(href + mail); + mail = showdown.helper.encodeEmailAddress(mail); + } else { + href = href + mail; + } + return b + '' + mail + ''; + }; + }; + + showdown.subParser('autoLinks', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('autoLinks.before', text, options, globals); + + text = text.replace(delimUrlRegex, replaceLink(options)); + text = text.replace(delimMailRegex, replaceMail(options, globals)); + + text = globals.converter._dispatch('autoLinks.after', text, options, globals); + + return text; + }); + + showdown.subParser('simplifiedAutoLinks', function (text, options, globals) { + 'use strict'; + + if (!options.simplifiedAutoLink) { + return text; + } + + text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals); + + if (options.excludeTrailingPunctuationFromURLs) { + text = text.replace(simpleURLRegex2, replaceLink(options)); + } else { + text = text.replace(simpleURLRegex, replaceLink(options)); + } + text = text.replace(simpleMailRegex, replaceMail(options, globals)); + + text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals); + + return text; + }); + + /** + * These are all the transformations that form block-level + * tags like paragraphs, headers, and list items. + */ + showdown.subParser('blockGamut', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('blockGamut.before', text, options, globals); + + // we parse blockquotes first so that we can have headings and hrs + // inside blockquotes + text = showdown.subParser('blockQuotes')(text, options, globals); + text = showdown.subParser('headers')(text, options, globals); + + // Do Horizontal Rules: + text = showdown.subParser('horizontalRule')(text, options, globals); + + text = showdown.subParser('lists')(text, options, globals); + text = showdown.subParser('codeBlocks')(text, options, globals); + text = showdown.subParser('tables')(text, options, globals); + + // We already ran _HashHTMLBlocks() before, in Markdown(), but that + // was to escape raw HTML in the original Markdown source. This time, + // we're escaping the markup we've just created, so that we don't wrap + //

    tags around block-level tags. + text = showdown.subParser('hashHTMLBlocks')(text, options, globals); + text = showdown.subParser('paragraphs')(text, options, globals); + + text = globals.converter._dispatch('blockGamut.after', text, options, globals); + + return text; + }); + + showdown.subParser('blockQuotes', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('blockQuotes.before', text, options, globals); + + // add a couple extra lines after the text and endtext mark + text = text + '\n\n'; + + var rgx = /(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm; + + if (options.splitAdjacentBlockquotes) { + rgx = /^ {0,3}>[\s\S]*?(?:\n\n)/gm; + } + + text = text.replace(rgx, function (bq) { + // attacklab: hack around Konqueror 3.5.4 bug: + // "----------bug".replace(/^-/g,"") == "bug" + bq = bq.replace(/^[ \t]*>[ \t]?/gm, ''); // trim one level of quoting + + // attacklab: clean up hack + bq = bq.replace(/¨0/g, ''); + + bq = bq.replace(/^[ \t]+$/gm, ''); // trim whitespace-only lines + bq = showdown.subParser('githubCodeBlocks')(bq, options, globals); + bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse + + bq = bq.replace(/(^|\n)/g, '$1 '); + // These leading spaces screw with

     content, so we need to fix that:
    +      bq = bq.replace(/(\s*
    [^\r]+?<\/pre>)/gm, function (wholeMatch, m1) {
    +        var pre = m1;
    +        // attacklab: hack around Konqueror 3.5.4 bug:
    +        pre = pre.replace(/^  /mg, '¨0');
    +        pre = pre.replace(/¨0/g, '');
    +        return pre;
    +      });
    +
    +      return showdown.subParser('hashBlock')('
    \n' + bq + '\n
    ', options, globals); + }); + + text = globals.converter._dispatch('blockQuotes.after', text, options, globals); + return text; + }); + + /** + * Process Markdown `
    ` blocks.
    +   */
    +  showdown.subParser('codeBlocks', function (text, options, globals) {
    +    'use strict';
    +
    +    text = globals.converter._dispatch('codeBlocks.before', text, options, globals);
    +
    +    // sentinel workarounds for lack of \A and \Z, safari\khtml bug
    +    text += '¨0';
    +
    +    var pattern = /(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;
    +    text = text.replace(pattern, function (wholeMatch, m1, m2) {
    +      var codeblock = m1,
    +          nextChar = m2,
    +          end = '\n';
    +
    +      codeblock = showdown.subParser('outdent')(codeblock, options, globals);
    +      codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);
    +      codeblock = showdown.subParser('detab')(codeblock, options, globals);
    +      codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines
    +      codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing newlines
    +
    +      if (options.omitExtraWLInCodeBlocks) {
    +        end = '';
    +      }
    +
    +      codeblock = '
    ' + codeblock + end + '
    '; + + return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar; + }); + + // strip sentinel + text = text.replace(/¨0/, ''); + + text = globals.converter._dispatch('codeBlocks.after', text, options, globals); + return text; + }); + + /** + * + * * Backtick quotes are used for spans. + * + * * You can use multiple backticks as the delimiters if you want to + * include literal backticks in the code span. So, this input: + * + * Just type ``foo `bar` baz`` at the prompt. + * + * Will translate to: + * + *

    Just type foo `bar` baz at the prompt.

    + * + * There's no arbitrary limit to the number of backticks you + * can use as delimters. If you need three consecutive backticks + * in your code, use four for delimiters, etc. + * + * * You can use spaces to get literal backticks at the edges: + * + * ... type `` `bar` `` ... + * + * Turns to: + * + * ... type `bar` ... + */ + showdown.subParser('codeSpans', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('codeSpans.before', text, options, globals); + + if (typeof text === 'undefined') { + text = ''; + } + text = text.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm, function (wholeMatch, m1, m2, m3) { + var c = m3; + c = c.replace(/^([ \t]*)/g, ''); // leading whitespace + c = c.replace(/[ \t]*$/g, ''); // trailing whitespace + c = showdown.subParser('encodeCode')(c, options, globals); + c = m1 + '' + c + ''; + c = showdown.subParser('hashHTMLSpans')(c, options, globals); + return c; + }); + + text = globals.converter._dispatch('codeSpans.after', text, options, globals); + return text; + }); + + /** + * Create a full HTML document from the processed markdown + */ + showdown.subParser('completeHTMLDocument', function (text, options, globals) { + 'use strict'; + + if (!options.completeHTMLDocument) { + return text; + } + + text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals); + + var doctype = 'html', + doctypeParsed = '\n', + title = '', + charset = '\n', + lang = '', + metadata = ''; + + if (typeof globals.metadata.parsed.doctype !== 'undefined') { + doctypeParsed = '\n'; + doctype = globals.metadata.parsed.doctype.toString().toLowerCase(); + if (doctype === 'html' || doctype === 'html5') { + charset = ''; + } + } + + for (var meta in globals.metadata.parsed) { + if (globals.metadata.parsed.hasOwnProperty(meta)) { + switch (meta.toLowerCase()) { + case 'doctype': + break; + + case 'title': + title = '' + globals.metadata.parsed.title + '\n'; + break; + + case 'charset': + if (doctype === 'html' || doctype === 'html5') { + charset = '\n'; + } else { + charset = '\n'; + } + break; + + case 'language': + case 'lang': + lang = ' lang="' + globals.metadata.parsed[meta] + '"'; + metadata += '\n'; + break; + + default: + metadata += '\n'; + } + } + } + + text = doctypeParsed + '\n\n' + title + charset + metadata + '\n\n' + text.trim() + '\n\n'; + + text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals); + return text; + }); + + /** + * Convert all tabs to spaces + */ + showdown.subParser('detab', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('detab.before', text, options, globals); + + // expand first n-1 tabs + text = text.replace(/\t(?=\t)/g, ' '); // g_tab_width + + // replace the nth with two sentinels + text = text.replace(/\t/g, '¨A¨B'); + + // use the sentinel to anchor our regex so it doesn't explode + text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) { + var leadingText = m1, + numSpaces = 4 - leadingText.length % 4; // g_tab_width + + // there *must* be a better way to do this: + for (var i = 0; i < numSpaces; i++) { + leadingText += ' '; + } + + return leadingText; + }); + + // clean up sentinels + text = text.replace(/¨A/g, ' '); // g_tab_width + text = text.replace(/¨B/g, ''); + + text = globals.converter._dispatch('detab.after', text, options, globals); + return text; + }); + + showdown.subParser('ellipsis', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('ellipsis.before', text, options, globals); + + text = text.replace(/\.\.\./g, '…'); + + text = globals.converter._dispatch('ellipsis.after', text, options, globals); + + return text; + }); + + /** + * Turn emoji codes into emojis + * + * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis + */ + showdown.subParser('emoji', function (text, options, globals) { + 'use strict'; + + if (!options.emoji) { + return text; + } + + text = globals.converter._dispatch('emoji.before', text, options, globals); + + var emojiRgx = /:([\S]+?):/g; + + text = text.replace(emojiRgx, function (wm, emojiCode) { + if (showdown.helper.emojis.hasOwnProperty(emojiCode)) { + return showdown.helper.emojis[emojiCode]; + } + return wm; + }); + + text = globals.converter._dispatch('emoji.after', text, options, globals); + + return text; + }); + + /** + * Smart processing for ampersands and angle brackets that need to be encoded. + */ + showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals); + + // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin: + // http://bumppo.net/projects/amputator/ + text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g, '&'); + + // Encode naked <'s + text = text.replace(/<(?![a-z\/?$!])/gi, '<'); + + // Encode < + text = text.replace(/ + text = text.replace(/>/g, '>'); + + text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals); + return text; + }); + + /** + * Returns the string, with after processing the following backslash escape sequences. + * + * attacklab: The polite way to do this is with the new escapeCharacters() function: + * + * text = escapeCharacters(text,"\\",true); + * text = escapeCharacters(text,"`*_{}[]()>#+-.!",true); + * + * ...but we're sidestepping its use of the (slow) RegExp constructor + * as an optimization for Firefox. This function gets called a LOT. + */ + showdown.subParser('encodeBackslashEscapes', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals); + + text = text.replace(/\\(\\)/g, showdown.helper.escapeCharactersCallback); + text = text.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback); + + text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals); + return text; + }); + + /** + * Encode/escape certain characters inside Markdown code runs. + * The point is that in code, these characters are literals, + * and lose their special Markdown meanings. + */ + showdown.subParser('encodeCode', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('encodeCode.before', text, options, globals); + + // Encode all ampersands; HTML entities are not + // entities within a Markdown code span. + text = text.replace(/&/g, '&') + // Do the angle bracket song and dance: + .replace(//g, '>') + // Now, escape characters that are magic in Markdown: + .replace(/([*_{}\[\]\\=~-])/g, showdown.helper.escapeCharactersCallback); + + text = globals.converter._dispatch('encodeCode.after', text, options, globals); + return text; + }); + + /** + * Within tags -- meaning between < and > -- encode [\ ` * _ ~ =] so they + * don't conflict with their use in Markdown for code, italics and strong. + */ + showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals); + + // Build a regex to find HTML tags. + var tags = /<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi, + comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi; + + text = text.replace(tags, function (wholeMatch) { + return wholeMatch.replace(/(.)<\/?code>(?=.)/g, '$1`').replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback); + }); + + text = text.replace(comments, function (wholeMatch) { + return wholeMatch.replace(/([\\`*_~=|])/g, showdown.helper.escapeCharactersCallback); + }); + + text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals); + return text; + }); + + /** + * Handle github codeblocks prior to running HashHTML so that + * HTML contained within the codeblock gets escaped properly + * Example: + * ```ruby + * def hello_world(x) + * puts "Hello, #{x}" + * end + * ``` + */ + showdown.subParser('githubCodeBlocks', function (text, options, globals) { + 'use strict'; + + // early exit if option is not enabled + + if (!options.ghCodeBlocks) { + return text; + } + + text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals); + + text += '¨0'; + + text = text.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g, function (wholeMatch, delim, language, codeblock) { + var end = options.omitExtraWLInCodeBlocks ? '' : '\n'; + + // First parse the github code block + codeblock = showdown.subParser('encodeCode')(codeblock, options, globals); + codeblock = showdown.subParser('detab')(codeblock, options, globals); + codeblock = codeblock.replace(/^\n+/g, ''); // trim leading newlines + codeblock = codeblock.replace(/\n+$/g, ''); // trim trailing whitespace + + codeblock = '
    ' + codeblock + end + '
    '; + + codeblock = showdown.subParser('hashBlock')(codeblock, options, globals); + + // Since GHCodeblocks can be false positives, we need to + // store the primitive text and the parsed text in a global var, + // and then return a token + return '\n\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\n\n'; + }); + + // attacklab: strip sentinel + text = text.replace(/¨0/, ''); + + return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals); + }); + + showdown.subParser('hashBlock', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('hashBlock.before', text, options, globals); + text = text.replace(/(^\n+|\n+$)/g, ''); + text = '\n\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\n\n'; + text = globals.converter._dispatch('hashBlock.after', text, options, globals); + return text; + }); + + /** + * Hash and escape elements that should not be parsed as markdown + */ + showdown.subParser('hashCodeTags', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('hashCodeTags.before', text, options, globals); + + var repFunc = function repFunc(wholeMatch, match, left, right) { + var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right; + return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C'; + }; + + // Hash naked + text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '', 'gim'); + + text = globals.converter._dispatch('hashCodeTags.after', text, options, globals); + return text; + }); + + showdown.subParser('hashElement', function (text, options, globals) { + 'use strict'; + + return function (wholeMatch, m1) { + var blockText = m1; + + // Undo double lines + blockText = blockText.replace(/\n\n/g, '\n'); + blockText = blockText.replace(/^\n/, ''); + + // strip trailing blank lines + blockText = blockText.replace(/\n+$/g, ''); + + // Replace the element text with a marker ("¨KxK" where x is its key) + blockText = '\n\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\n\n'; + + return blockText; + }; + }); + + showdown.subParser('hashHTMLBlocks', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals); + + var blockTags = ['pre', 'div', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'blockquote', 'table', 'dl', 'ol', 'ul', 'script', 'noscript', 'form', 'fieldset', 'iframe', 'math', 'style', 'section', 'header', 'footer', 'nav', 'article', 'aside', 'address', 'audio', 'canvas', 'figure', 'hgroup', 'output', 'video', 'p'], + repFunc = function repFunc(wholeMatch, match, left, right) { + var txt = wholeMatch; + // check if this html element is marked as markdown + // if so, it's contents should be parsed as markdown + if (left.search(/\bmarkdown\b/) !== -1) { + txt = left + globals.converter.makeHtml(match) + right; + } + return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n'; + }; + + if (options.backslashEscapesHTMLTags) { + // encode backslash escaped HTML tags + text = text.replace(/\\<(\/?[^>]+?)>/g, function (wm, inside) { + return '<' + inside + '>'; + }); + } + + // hash HTML Blocks + for (var i = 0; i < blockTags.length; ++i) { + + var opTagPos, + rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\b[^>]*>)', 'im'), + patLeft = '<' + blockTags[i] + '\\b[^>]*>', + patRight = ''; + // 1. Look for the first position of the first opening HTML tag in the text + while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) { + + // if the HTML tag is \ escaped, we need to escape it and break + + + //2. Split the text in that position + var subTexts = showdown.helper.splitAtIndex(text, opTagPos), + + //3. Match recursively + newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im'); + + // prevent an infinite loop + if (newSubText1 === subTexts[1]) { + break; + } + text = subTexts[0].concat(newSubText1); + } + } + // HR SPECIAL CASE + text = text.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals)); + + // Special case for standalone HTML comments + text = showdown.helper.replaceRecursiveRegExp(text, function (txt) { + return '\n\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\n\n'; + }, '^ {0,3}', 'gm'); + + // PHP and ASP-style processor instructions ( and <%...%>) + text = text.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals)); + + text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals); + return text; + }); + + /** + * Hash span elements that should not be parsed as markdown + */ + showdown.subParser('hashHTMLSpans', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals); + + function hashHTMLSpan(html) { + return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C'; + } + + // Hash Self Closing tags + text = text.replace(/<[^>]+?\/>/gi, function (wm) { + return hashHTMLSpan(wm); + }); + + // Hash tags without properties + text = text.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g, function (wm) { + return hashHTMLSpan(wm); + }); + + // Hash tags with properties + text = text.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g, function (wm) { + return hashHTMLSpan(wm); + }); + + // Hash self closing tags without /> + text = text.replace(/<[^>]+?>/gi, function (wm) { + return hashHTMLSpan(wm); + }); + + /*showdown.helper.matchRecursiveRegExp(text, ']*>', '', 'gi');*/ + + text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals); + return text; + }); + + /** + * Unhash HTML spans + */ + showdown.subParser('unhashHTMLSpans', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals); + + for (var i = 0; i < globals.gHtmlSpans.length; ++i) { + var repText = globals.gHtmlSpans[i], + + // limiter to prevent infinite loop (assume 10 as limit for recurse) + limit = 0; + + while (/¨C(\d+)C/.test(repText)) { + var num = RegExp.$1; + repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]); + if (limit === 10) { + console.error('maximum nesting of 10 spans reached!!!'); + break; + } + ++limit; + } + text = text.replace('¨C' + i + 'C', repText); + } + + text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals); + return text; + }); + + /** + * Hash and escape
     elements that should not be parsed as markdown
    +   */
    +  showdown.subParser('hashPreCodeTags', function (text, options, globals) {
    +    'use strict';
    +
    +    text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);
    +
    +    var repFunc = function repFunc(wholeMatch, match, left, right) {
    +      // encode html entities
    +      var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;
    +      return '\n\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\n\n';
    +    };
    +
    +    // Hash 
    
    +    text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\s*]*>', '^ {0,3}\\s*
    ', 'gim'); + + text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals); + return text; + }); + + showdown.subParser('headers', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('headers.before', text, options, globals); + + var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart), + + + // Set text-style headers: + // Header 1 + // ======== + // + // Header 2 + // -------- + // + setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \t]*\n={2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n=+[ \t]*\n+/gm, + setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm : /^(.+)[ \t]*\n-+[ \t]*\n+/gm; + + text = text.replace(setextRegexH1, function (wholeMatch, m1) { + + var spanGamut = showdown.subParser('spanGamut')(m1, options, globals), + hID = options.noHeaderId ? '' : ' id="' + headerId(m1) + '"', + hLevel = headerLevelStart, + hashBlock = '' + spanGamut + ''; + return showdown.subParser('hashBlock')(hashBlock, options, globals); + }); + + text = text.replace(setextRegexH2, function (matchFound, m1) { + var spanGamut = showdown.subParser('spanGamut')(m1, options, globals), + hID = options.noHeaderId ? '' : ' id="' + headerId(m1) + '"', + hLevel = headerLevelStart + 1, + hashBlock = '' + spanGamut + ''; + return showdown.subParser('hashBlock')(hashBlock, options, globals); + }); + + // atx-style headers: + // # Header 1 + // ## Header 2 + // ## Header 2 with closing hashes ## + // ... + // ###### Header 6 + // + var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm : /^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm; + + text = text.replace(atxStyle, function (wholeMatch, m1, m2) { + var hText = m2; + if (options.customizedHeaderId) { + hText = m2.replace(/\s?\{([^{]+?)}\s*$/, ''); + } + + var span = showdown.subParser('spanGamut')(hText, options, globals), + hID = options.noHeaderId ? '' : ' id="' + headerId(m2) + '"', + hLevel = headerLevelStart - 1 + m1.length, + header = '' + span + ''; + + return showdown.subParser('hashBlock')(header, options, globals); + }); + + function headerId(m) { + var title, prefix; + + // It is separate from other options to allow combining prefix and customized + if (options.customizedHeaderId) { + var match = m.match(/\{([^{]+?)}\s*$/); + if (match && match[1]) { + m = match[1]; + } + } + + title = m; + + // Prefix id to prevent causing inadvertent pre-existing style matches. + if (showdown.helper.isString(options.prefixHeaderId)) { + prefix = options.prefixHeaderId; + } else if (options.prefixHeaderId === true) { + prefix = 'section-'; + } else { + prefix = ''; + } + + if (!options.rawPrefixHeaderId) { + title = prefix + title; + } + + if (options.ghCompatibleHeaderId) { + title = title.replace(/ /g, '-') + // replace previously escaped chars (&, ¨ and $) + .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '') + // replace rest of the chars (&~$ are repeated as they might have been escaped) + // borrowed from github's redcarpet (some they should produce similar results) + .replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g, '').toLowerCase(); + } else if (options.rawHeaderId) { + title = title.replace(/ /g, '-') + // replace previously escaped chars (&, ¨ and $) + .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$') + // replace " and ' + .replace(/["']/g, '-').toLowerCase(); + } else { + title = title.replace(/[^\w]/g, '').toLowerCase(); + } + + if (options.rawPrefixHeaderId) { + title = prefix + title; + } + + if (globals.hashLinkCounts[title]) { + title = title + '-' + globals.hashLinkCounts[title]++; + } else { + globals.hashLinkCounts[title] = 1; + } + return title; + } + + text = globals.converter._dispatch('headers.after', text, options, globals); + return text; + }); + + /** + * Turn Markdown link shortcuts into XHTML tags. + */ + showdown.subParser('horizontalRule', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('horizontalRule.before', text, options, globals); + + var key = showdown.subParser('hashBlock')('
    ', options, globals); + text = text.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm, key); + text = text.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm, key); + text = text.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm, key); + + text = globals.converter._dispatch('horizontalRule.after', text, options, globals); + return text; + }); + + /** + * Turn Markdown image shortcuts into tags. + */ + showdown.subParser('images', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('images.before', text, options, globals); + + var inlineRegExp = /!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g, + crazyRegExp = /!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g, + base64RegExp = /!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g, + referenceRegExp = /!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g, + refShortcutRegExp = /!\[([^\[\]]+)]()()()()()/g; + + function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) { + url = url.replace(/\s/g, ''); + return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title); + } + + function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) { + + var gUrls = globals.gUrls, + gTitles = globals.gTitles, + gDims = globals.gDimensions; + + linkId = linkId.toLowerCase(); + + if (!title) { + title = ''; + } + // Special case for explicit empty url + if (wholeMatch.search(/\(? ?(['"].*['"])?\)$/m) > -1) { + url = ''; + } else if (url === '' || url === null) { + if (linkId === '' || linkId === null) { + // lower-case and turn embedded newlines into spaces + linkId = altText.toLowerCase().replace(/ ?\n/g, ' '); + } + url = '#' + linkId; + + if (!showdown.helper.isUndefined(gUrls[linkId])) { + url = gUrls[linkId]; + if (!showdown.helper.isUndefined(gTitles[linkId])) { + title = gTitles[linkId]; + } + if (!showdown.helper.isUndefined(gDims[linkId])) { + width = gDims[linkId].width; + height = gDims[linkId].height; + } + } else { + return wholeMatch; + } + } + + altText = altText.replace(/"/g, '"') + //altText = showdown.helper.escapeCharacters(altText, '*_', false); + .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback); + //url = showdown.helper.escapeCharacters(url, '*_', false); + url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback); + var result = '' + altText + 'x "optional title") + + // base64 encoded images + text = text.replace(base64RegExp, writeImageTagBase64); + + // cases with crazy urls like ./image/cat1).png + text = text.replace(crazyRegExp, writeImageTag); + + // normal cases + text = text.replace(inlineRegExp, writeImageTag); + + // handle reference-style shortcuts: ![img text] + text = text.replace(refShortcutRegExp, writeImageTag); + + text = globals.converter._dispatch('images.after', text, options, globals); + return text; + }); + + showdown.subParser('italicsAndBold', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('italicsAndBold.before', text, options, globals); + + // it's faster to have 3 separate regexes for each case than have just one + // because of backtracing, in some cases, it could lead to an exponential effect + // called "catastrophic backtrace". Ominous! + + function parseInside(txt, left, right) { + /* + if (options.simplifiedAutoLink) { + txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals); + } + */ + return left + txt + right; + } + + // Parse underscores + if (options.literalMidWordUnderscores) { + text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) { + return parseInside(txt, '', ''); + }); + text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) { + return parseInside(txt, '', ''); + }); + text = text.replace(/\b_(\S[\s\S]*?)_\b/g, function (wm, txt) { + return parseInside(txt, '', ''); + }); + } else { + text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) { + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) { + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + text = text.replace(/_([^\s_][\s\S]*?)_/g, function (wm, m) { + // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it) + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + } + + // Now parse asterisks + if (options.literalMidWordAsterisks) { + text = text.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g, function (wm, lead, txt) { + return parseInside(txt, lead + '', ''); + }); + text = text.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g, function (wm, lead, txt) { + return parseInside(txt, lead + '', ''); + }); + text = text.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g, function (wm, lead, txt) { + return parseInside(txt, lead + '', ''); + }); + } else { + text = text.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g, function (wm, m) { + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + text = text.replace(/\*\*(\S[\s\S]*?)\*\*/g, function (wm, m) { + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + text = text.replace(/\*([^\s*][\s\S]*?)\*/g, function (wm, m) { + // !/^\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it) + return (/\S$/.test(m) ? parseInside(m, '', '') : wm + ); + }); + } + + text = globals.converter._dispatch('italicsAndBold.after', text, options, globals); + return text; + }); + + /** + * Form HTML ordered (numbered) and unordered (bulleted) lists. + */ + showdown.subParser('lists', function (text, options, globals) { + 'use strict'; + + /** + * Process the contents of a single ordered or unordered list, splitting it + * into individual list items. + * @param {string} listStr + * @param {boolean} trimTrailing + * @returns {string} + */ + + function processListItems(listStr, trimTrailing) { + // The $g_list_level global keeps track of when we're inside a list. + // Each time we enter a list, we increment it; when we leave a list, + // we decrement. If it's zero, we're not in a list anymore. + // + // We do this because when we're not inside a list, we want to treat + // something like this: + // + // I recommend upgrading to version + // 8. Oops, now this line is treated + // as a sub-list. + // + // As a single paragraph, despite the fact that the second line starts + // with a digit-period-space sequence. + // + // Whereas when we're inside a list (or sub-list), that line will be + // treated as the start of a sub-list. What a kludge, huh? This is + // an aspect of Markdown's syntax that's hard to parse perfectly + // without resorting to mind-reading. Perhaps the solution is to + // change the syntax rules such that sub-lists must start with a + // starting cardinal number; e.g. "1." or "a.". + globals.gListLevel++; + + // trim trailing blank lines: + listStr = listStr.replace(/\n{2,}$/, '\n'); + + // attacklab: add sentinel to emulate \z + listStr += '¨0'; + + var rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm, + isParagraphed = /\n[ \t]*\n(?!¨0)/.test(listStr); + + // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation, + // which is a syntax breaking change + // activating this option reverts to old behavior + if (options.disableForced4SpacesIndentedSublists) { + rgx = /(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm; + } + + listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) { + checked = checked && checked.trim() !== ''; + + var item = showdown.subParser('outdent')(m4, options, globals), + bulletStyle = ''; + + // Support for github tasklists + if (taskbtn && options.tasklists) { + bulletStyle = ' class="task-list-item" style="list-style-type: none;"'; + item = item.replace(/^[ \t]*\[(x|X| )?]/m, function () { + var otp = '
  • a
  • + // instead of: + //
    • - - a
    + // So, to prevent it, we will put a marker (¨A)in the beginning of the line + // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser + item = item.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g, function (wm2) { + return '¨A' + wm2; + }); + + // m1 - Leading line or + // Has a double return (multi paragraph) or + // Has sublist + if (m1 || item.search(/\n{2,}/) > -1) { + item = showdown.subParser('githubCodeBlocks')(item, options, globals); + item = showdown.subParser('blockGamut')(item, options, globals); + } else { + // Recursion for sub-lists: + item = showdown.subParser('lists')(item, options, globals); + item = item.replace(/\n$/, ''); // chomp(item) + item = showdown.subParser('hashHTMLBlocks')(item, options, globals); + + // Colapse double linebreaks + item = item.replace(/\n\n+/g, '\n\n'); + if (isParagraphed) { + item = showdown.subParser('paragraphs')(item, options, globals); + } else { + item = showdown.subParser('spanGamut')(item, options, globals); + } + } + + // now we need to remove the marker (¨A) + item = item.replace('¨A', ''); + // we can finally wrap the line in list item tags + item = '' + item + '\n'; + + return item; + }); + + // attacklab: strip sentinel + listStr = listStr.replace(/¨0/g, ''); + + globals.gListLevel--; + + if (trimTrailing) { + listStr = listStr.replace(/\s+$/, ''); + } + + return listStr; + } + + function styleStartNumber(list, listType) { + // check if ol and starts by a number different than 1 + if (listType === 'ol') { + var res = list.match(/^ *(\d+)\./); + if (res && res[1] !== '1') { + return ' start="' + res[1] + '"'; + } + } + return ''; + } + + /** + * Check and parse consecutive lists (better fix for issue #142) + * @param {string} list + * @param {string} listType + * @param {boolean} trimTrailing + * @returns {string} + */ + function parseConsecutiveLists(list, listType, trimTrailing) { + // check if we caught 2 or more consecutive lists by mistake + // we use the counterRgx, meaning if listType is UL we look for OL and vice versa + var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\d+\.[ \t]/gm : /^ {0,3}\d+\.[ \t]/gm, + ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \t]/gm : /^ {0,3}[*+-][ \t]/gm, + counterRxg = listType === 'ul' ? olRgx : ulRgx, + result = ''; + + if (list.search(counterRxg) !== -1) { + (function parseCL(txt) { + var pos = txt.search(counterRxg), + style = styleStartNumber(list, listType); + if (pos !== -1) { + // slice + result += '\n\n<' + listType + style + '>\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '\n'; + + // invert counterType and listType + listType = listType === 'ul' ? 'ol' : 'ul'; + counterRxg = listType === 'ul' ? olRgx : ulRgx; + + //recurse + parseCL(txt.slice(pos)); + } else { + result += '\n\n<' + listType + style + '>\n' + processListItems(txt, !!trimTrailing) + '\n'; + } + })(list); + } else { + var style = styleStartNumber(list, listType); + result = '\n\n<' + listType + style + '>\n' + processListItems(list, !!trimTrailing) + '\n'; + } + + return result; + } + + /** Start of list parsing **/ + text = globals.converter._dispatch('lists.before', text, options, globals); + // add sentinel to hack around khtml/safari bug: + // http://bugs.webkit.org/show_bug.cgi?id=11231 + text += '¨0'; + + if (globals.gListLevel) { + text = text.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm, function (wholeMatch, list, m2) { + var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol'; + return parseConsecutiveLists(list, listType, true); + }); + } else { + text = text.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm, function (wholeMatch, m1, list, m3) { + var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol'; + return parseConsecutiveLists(list, listType, false); + }); + } + + // strip sentinel + text = text.replace(/¨0/, ''); + text = globals.converter._dispatch('lists.after', text, options, globals); + return text; + }); + + /** + * Parse metadata at the top of the document + */ + showdown.subParser('metadata', function (text, options, globals) { + 'use strict'; + + if (!options.metadata) { + return text; + } + + text = globals.converter._dispatch('metadata.before', text, options, globals); + + function parseMetadataContents(content) { + // raw is raw so it's not changed in any way + globals.metadata.raw = content; + + // escape chars forbidden in html attributes + // double quotes + content = content + // ampersand first + .replace(/&/g, '&') + // double quotes + .replace(/"/g, '"'); + + content = content.replace(/\n {4}/g, ' '); + content.replace(/^([\S ]+): +([\s\S]+?)$/gm, function (wm, key, value) { + globals.metadata.parsed[key] = value; + return ''; + }); + } + + text = text.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/, function (wholematch, format, content) { + parseMetadataContents(content); + return '¨M'; + }); + + text = text.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/, function (wholematch, format, content) { + if (format) { + globals.metadata.format = format; + } + parseMetadataContents(content); + return '¨M'; + }); + + text = text.replace(/¨M/g, ''); + + text = globals.converter._dispatch('metadata.after', text, options, globals); + return text; + }); + + /** + * Remove one level of line-leading tabs or spaces + */ + showdown.subParser('outdent', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('outdent.before', text, options, globals); + + // attacklab: hack around Konqueror 3.5.4 bug: + // "----------bug".replace(/^-/g,"") == "bug" + text = text.replace(/^(\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width + + // attacklab: clean up hack + text = text.replace(/¨0/g, ''); + + text = globals.converter._dispatch('outdent.after', text, options, globals); + return text; + }); + + /** + * + */ + showdown.subParser('paragraphs', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('paragraphs.before', text, options, globals); + // Strip leading and trailing lines: + text = text.replace(/^\n+/g, ''); + text = text.replace(/\n+$/g, ''); + + var grafs = text.split(/\n{2,}/g), + grafsOut = [], + end = grafs.length; // Wrap

    tags + + for (var i = 0; i < end; i++) { + var str = grafs[i]; + // if this is an HTML marker, copy it + if (str.search(/¨(K|G)(\d+)\1/g) >= 0) { + grafsOut.push(str); + + // test for presence of characters to prevent empty lines being parsed + // as paragraphs (resulting in undesired extra empty paragraphs) + } else if (str.search(/\S/) >= 0) { + str = showdown.subParser('spanGamut')(str, options, globals); + str = str.replace(/^([ \t]*)/g, '

    '); + str += '

    '; + grafsOut.push(str); + } + } + + /** Unhashify HTML blocks */ + end = grafsOut.length; + for (i = 0; i < end; i++) { + var blockText = '', + grafsOutIt = grafsOut[i], + codeFlag = false; + // if this is a marker for an html block... + // use RegExp.test instead of string.search because of QML bug + while (/¨(K|G)(\d+)\1/.test(grafsOutIt)) { + var delim = RegExp.$1, + num = RegExp.$2; + + if (delim === 'K') { + blockText = globals.gHtmlBlocks[num]; + } else { + // we need to check if ghBlock is a false positive + if (codeFlag) { + // use encoded version of all text + blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals); + } else { + blockText = globals.ghCodeBlocks[num].codeblock; + } + } + blockText = blockText.replace(/\$/g, '$$$$'); // Escape any dollar signs + + grafsOutIt = grafsOutIt.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/, blockText); + // Check if grafsOutIt is a pre->code + if (/^]*>\s*]*>/.test(grafsOutIt)) { + codeFlag = true; + } + } + grafsOut[i] = grafsOutIt; + } + text = grafsOut.join('\n'); + // Strip leading and trailing lines: + text = text.replace(/^\n+/g, ''); + text = text.replace(/\n+$/g, ''); + return globals.converter._dispatch('paragraphs.after', text, options, globals); + }); + + /** + * Run extension + */ + showdown.subParser('runExtension', function (ext, text, options, globals) { + 'use strict'; + + if (ext.filter) { + text = ext.filter(text, globals.converter, options); + } else if (ext.regex) { + // TODO remove this when old extension loading mechanism is deprecated + var re = ext.regex; + if (!(re instanceof RegExp)) { + re = new RegExp(re, 'g'); + } + text = text.replace(re, ext.replace); + } + + return text; + }); + + /** + * These are all the transformations that occur *within* block-level + * tags like paragraphs, headers, and list items. + */ + showdown.subParser('spanGamut', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('spanGamut.before', text, options, globals); + text = showdown.subParser('codeSpans')(text, options, globals); + text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals); + text = showdown.subParser('encodeBackslashEscapes')(text, options, globals); + + // Process anchor and image tags. Images must come first, + // because ![foo][f] looks like an anchor. + text = showdown.subParser('images')(text, options, globals); + text = showdown.subParser('anchors')(text, options, globals); + + // Make links out of things like `` + // Must come after anchors, because you can use < and > + // delimiters in inline links like [this](). + text = showdown.subParser('autoLinks')(text, options, globals); + text = showdown.subParser('simplifiedAutoLinks')(text, options, globals); + text = showdown.subParser('emoji')(text, options, globals); + text = showdown.subParser('underline')(text, options, globals); + text = showdown.subParser('italicsAndBold')(text, options, globals); + text = showdown.subParser('strikethrough')(text, options, globals); + text = showdown.subParser('ellipsis')(text, options, globals); + + // we need to hash HTML tags inside spans + text = showdown.subParser('hashHTMLSpans')(text, options, globals); + + // now we encode amps and angles + text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals); + + // Do hard breaks + if (options.simpleLineBreaks) { + // GFM style hard breaks + // only add line breaks if the text does not contain a block (special case for lists) + if (!/\n\n¨K/.test(text)) { + text = text.replace(/\n+/g, '
    \n'); + } + } else { + // Vanilla hard breaks + text = text.replace(/ +\n/g, '
    \n'); + } + + text = globals.converter._dispatch('spanGamut.after', text, options, globals); + return text; + }); + + showdown.subParser('strikethrough', function (text, options, globals) { + 'use strict'; + + function parseInside(txt) { + if (options.simplifiedAutoLink) { + txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals); + } + return '' + txt + ''; + } + + if (options.strikethrough) { + text = globals.converter._dispatch('strikethrough.before', text, options, globals); + text = text.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g, function (wm, txt) { + return parseInside(txt); + }); + text = globals.converter._dispatch('strikethrough.after', text, options, globals); + } + + return text; + }); + + /** + * Strips link definitions from text, stores the URLs and titles in + * hash references. + * Link defs are in the form: ^[id]: url "optional title" + */ + showdown.subParser('stripLinkDefinitions', function (text, options, globals) { + 'use strict'; + + var regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm, + base64Regex = /^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm; + + // attacklab: sentinel workarounds for lack of \A and \Z, safari\khtml bug + text += '¨0'; + + var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) { + linkId = linkId.toLowerCase(); + if (url.match(/^data:.+?\/.+?;base64,/)) { + // remove newlines + globals.gUrls[linkId] = url.replace(/\s/g, ''); + } else { + globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive + } + + if (blankLines) { + // Oops, found blank lines, so it's not a title. + // Put back the parenthetical statement we stole. + return blankLines + title; + } else { + if (title) { + globals.gTitles[linkId] = title.replace(/"|'/g, '"'); + } + if (options.parseImgDimensions && width && height) { + globals.gDimensions[linkId] = { + width: width, + height: height + }; + } + } + // Completely remove the definition from the text + return ''; + }; + + // first we try to find base64 link references + text = text.replace(base64Regex, replaceFunc); + + text = text.replace(regex, replaceFunc); + + // attacklab: strip sentinel + text = text.replace(/¨0/, ''); + + return text; + }); + + showdown.subParser('tables', function (text, options, globals) { + 'use strict'; + + if (!options.tables) { + return text; + } + + var tableRgx = /^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm, + + //singeColTblRgx = /^ {0,3}\|.+\|\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n(?: {0,3}\|.+\|\n)+(?:\n\n|¨0)/gm; + singeColTblRgx = /^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm; + + function parseStyles(sLine) { + if (/^:[ \t]*--*$/.test(sLine)) { + return ' style="text-align:left;"'; + } else if (/^--*[ \t]*:[ \t]*$/.test(sLine)) { + return ' style="text-align:right;"'; + } else if (/^:[ \t]*--*[ \t]*:$/.test(sLine)) { + return ' style="text-align:center;"'; + } else { + return ''; + } + } + + function parseHeaders(header, style) { + var id = ''; + header = header.trim(); + // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility + if (options.tablesHeaderId || options.tableHeaderId) { + id = ' id="' + header.replace(/ /g, '_').toLowerCase() + '"'; + } + header = showdown.subParser('spanGamut')(header, options, globals); + + return '' + header + '\n'; + } + + function parseCells(cell, style) { + var subText = showdown.subParser('spanGamut')(cell, options, globals); + return '' + subText + '\n'; + } + + function buildTable(headers, cells) { + var tb = '\n\n\n', + tblLgn = headers.length; + + for (var i = 0; i < tblLgn; ++i) { + tb += headers[i]; + } + tb += '\n\n\n'; + + for (i = 0; i < cells.length; ++i) { + tb += '\n'; + for (var ii = 0; ii < tblLgn; ++ii) { + tb += cells[i][ii]; + } + tb += '\n'; + } + tb += '\n
    \n'; + return tb; + } + + function parseTable(rawTable) { + var i, + tableLines = rawTable.split('\n'); + + for (i = 0; i < tableLines.length; ++i) { + // strip wrong first and last column if wrapped tables are used + if (/^ {0,3}\|/.test(tableLines[i])) { + tableLines[i] = tableLines[i].replace(/^ {0,3}\|/, ''); + } + if (/\|[ \t]*$/.test(tableLines[i])) { + tableLines[i] = tableLines[i].replace(/\|[ \t]*$/, ''); + } + // parse code spans first, but we only support one line code spans + tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals); + } + + var rawHeaders = tableLines[0].split('|').map(function (s) { + return s.trim(); + }), + rawStyles = tableLines[1].split('|').map(function (s) { + return s.trim(); + }), + rawCells = [], + headers = [], + styles = [], + cells = []; + + tableLines.shift(); + tableLines.shift(); + + for (i = 0; i < tableLines.length; ++i) { + if (tableLines[i].trim() === '') { + continue; + } + rawCells.push(tableLines[i].split('|').map(function (s) { + return s.trim(); + })); + } + + if (rawHeaders.length < rawStyles.length) { + return rawTable; + } + + for (i = 0; i < rawStyles.length; ++i) { + styles.push(parseStyles(rawStyles[i])); + } + + for (i = 0; i < rawHeaders.length; ++i) { + if (showdown.helper.isUndefined(styles[i])) { + styles[i] = ''; + } + headers.push(parseHeaders(rawHeaders[i], styles[i])); + } + + for (i = 0; i < rawCells.length; ++i) { + var row = []; + for (var ii = 0; ii < headers.length; ++ii) { + if (showdown.helper.isUndefined(rawCells[i][ii])) {} + row.push(parseCells(rawCells[i][ii], styles[ii])); + } + cells.push(row); + } + + return buildTable(headers, cells); + } + + text = globals.converter._dispatch('tables.before', text, options, globals); + + // find escaped pipe characters + text = text.replace(/\\(\|)/g, showdown.helper.escapeCharactersCallback); + + // parse multi column tables + text = text.replace(tableRgx, parseTable); + + // parse one column tables + text = text.replace(singeColTblRgx, parseTable); + + text = globals.converter._dispatch('tables.after', text, options, globals); + + return text; + }); + + showdown.subParser('underline', function (text, options, globals) { + 'use strict'; + + if (!options.underline) { + return text; + } + + text = globals.converter._dispatch('underline.before', text, options, globals); + + if (options.literalMidWordUnderscores) { + text = text.replace(/\b___(\S[\s\S]*?)___\b/g, function (wm, txt) { + return '' + txt + ''; + }); + text = text.replace(/\b__(\S[\s\S]*?)__\b/g, function (wm, txt) { + return '' + txt + ''; + }); + } else { + text = text.replace(/___(\S[\s\S]*?)___/g, function (wm, m) { + return (/\S$/.test(m) ? '' + m + '' : wm + ); + }); + text = text.replace(/__(\S[\s\S]*?)__/g, function (wm, m) { + return (/\S$/.test(m) ? '' + m + '' : wm + ); + }); + } + + // escape remaining underscores to prevent them being parsed by italic and bold + text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback); + + text = globals.converter._dispatch('underline.after', text, options, globals); + + return text; + }); + + /** + * Swap back in all the special characters we've hidden. + */ + showdown.subParser('unescapeSpecialChars', function (text, options, globals) { + 'use strict'; + + text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals); + + text = text.replace(/¨E(\d+)E/g, function (wholeMatch, m1) { + var charCodeToReplace = parseInt(m1); + return String.fromCharCode(charCodeToReplace); + }); + + text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals); + return text; + }); + + showdown.subParser('makeMarkdown.blockquote', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes()) { + var children = node.childNodes, + childrenLength = children.length; + + for (var i = 0; i < childrenLength; ++i) { + var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals); + + if (innerTxt === '') { + continue; + } + txt += innerTxt; + } + } + // cleanup + txt = txt.trim(); + txt = '> ' + txt.split('\n').join('\n> '); + return txt; + }); + + showdown.subParser('makeMarkdown.codeBlock', function (node, globals) { + 'use strict'; + + var lang = node.getAttribute('language'), + num = node.getAttribute('precodenum'); + return '```' + lang + '\n' + globals.preList[num] + '\n```'; + }); + + showdown.subParser('makeMarkdown.codeSpan', function (node) { + 'use strict'; + + return '`' + node.innerHTML + '`'; + }); + + showdown.subParser('makeMarkdown.emphasis', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes()) { + txt += '*'; + var children = node.childNodes, + childrenLength = children.length; + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + txt += '*'; + } + return txt; + }); + + showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) { + 'use strict'; + + var headerMark = new Array(headerLevel + 1).join('#'), + txt = ''; + + if (node.hasChildNodes()) { + txt = headerMark + ' '; + var children = node.childNodes, + childrenLength = children.length; + + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + } + return txt; + }); + + showdown.subParser('makeMarkdown.hr', function () { + 'use strict'; + + return '---'; + }); + + showdown.subParser('makeMarkdown.image', function (node) { + 'use strict'; + + var txt = ''; + if (node.hasAttribute('src')) { + txt += '![' + node.getAttribute('alt') + ']('; + txt += '<' + node.getAttribute('src') + '>'; + if (node.hasAttribute('width') && node.hasAttribute('height')) { + txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height'); + } + + if (node.hasAttribute('title')) { + txt += ' "' + node.getAttribute('title') + '"'; + } + txt += ')'; + } + return txt; + }); + + showdown.subParser('makeMarkdown.links', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes() && node.hasAttribute('href')) { + var children = node.childNodes, + childrenLength = children.length; + txt = '['; + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + txt += ']('; + txt += '<' + node.getAttribute('href') + '>'; + if (node.hasAttribute('title')) { + txt += ' "' + node.getAttribute('title') + '"'; + } + txt += ')'; + } + return txt; + }); + + showdown.subParser('makeMarkdown.list', function (node, globals, type) { + 'use strict'; + + var txt = ''; + if (!node.hasChildNodes()) { + return ''; + } + var listItems = node.childNodes, + listItemsLenght = listItems.length, + listNum = node.getAttribute('start') || 1; + + for (var i = 0; i < listItemsLenght; ++i) { + if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') { + continue; + } + + // define the bullet to use in list + var bullet = ''; + if (type === 'ol') { + bullet = listNum.toString() + '. '; + } else { + bullet = '- '; + } + + // parse list item + txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals); + ++listNum; + } + + // add comment at the end to prevent consecutive lists to be parsed as one + txt += '\n\n'; + return txt.trim(); + }); + + showdown.subParser('makeMarkdown.listItem', function (node, globals) { + 'use strict'; + + var listItemTxt = ''; + + var children = node.childNodes, + childrenLenght = children.length; + + for (var i = 0; i < childrenLenght; ++i) { + listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + // if it's only one liner, we need to add a newline at the end + if (!/\n$/.test(listItemTxt)) { + listItemTxt += '\n'; + } else { + // it's multiparagraph, so we need to indent + listItemTxt = listItemTxt.split('\n').join('\n ').replace(/^ {4}$/gm, '').replace(/\n\n+/g, '\n\n'); + } + + return listItemTxt; + }); + + showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) { + 'use strict'; + + spansOnly = spansOnly || false; + + var txt = ''; + + // edge case of text without wrapper paragraph + if (node.nodeType === 3) { + return showdown.subParser('makeMarkdown.txt')(node, globals); + } + + // HTML comment + if (node.nodeType === 8) { + return '\n\n'; + } + + // process only node elements + if (node.nodeType !== 1) { + return ''; + } + + var tagName = node.tagName.toLowerCase(); + + switch (tagName) { + + // + // BLOCKS + // + case 'h1': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\n\n'; + } + break; + case 'h2': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\n\n'; + } + break; + case 'h3': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\n\n'; + } + break; + case 'h4': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\n\n'; + } + break; + case 'h5': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\n\n'; + } + break; + case 'h6': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\n\n'; + } + break; + + case 'p': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\n\n'; + } + break; + + case 'blockquote': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\n\n'; + } + break; + + case 'hr': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\n\n'; + } + break; + + case 'ol': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\n\n'; + } + break; + + case 'ul': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\n\n'; + } + break; + + case 'precode': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\n\n'; + } + break; + + case 'pre': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\n\n'; + } + break; + + case 'table': + if (!spansOnly) { + txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\n\n'; + } + break; + + // + // SPANS + // + case 'code': + txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals); + break; + + case 'em': + case 'i': + txt = showdown.subParser('makeMarkdown.emphasis')(node, globals); + break; + + case 'strong': + case 'b': + txt = showdown.subParser('makeMarkdown.strong')(node, globals); + break; + + case 'del': + txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals); + break; + + case 'a': + txt = showdown.subParser('makeMarkdown.links')(node, globals); + break; + + case 'img': + txt = showdown.subParser('makeMarkdown.image')(node, globals); + break; + + default: + txt = node.outerHTML + '\n\n'; + } + + // common normalization + // TODO eventually + + return txt; + }); + + showdown.subParser('makeMarkdown.paragraph', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes()) { + var children = node.childNodes, + childrenLength = children.length; + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + } + + // some text normalization + txt = txt.trim(); + + return txt; + }); + + showdown.subParser('makeMarkdown.pre', function (node, globals) { + 'use strict'; + + var num = node.getAttribute('prenum'); + return '
    ' + globals.preList[num] + '
    '; + }); + + showdown.subParser('makeMarkdown.strikethrough', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes()) { + txt += '~~'; + var children = node.childNodes, + childrenLength = children.length; + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + txt += '~~'; + } + return txt; + }); + + showdown.subParser('makeMarkdown.strong', function (node, globals) { + 'use strict'; + + var txt = ''; + if (node.hasChildNodes()) { + txt += '**'; + var children = node.childNodes, + childrenLength = children.length; + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals); + } + txt += '**'; + } + return txt; + }); + + showdown.subParser('makeMarkdown.table', function (node, globals) { + 'use strict'; + + var txt = '', + tableArray = [[], []], + headings = node.querySelectorAll('thead>tr>th'), + rows = node.querySelectorAll('tbody>tr'), + i, + ii; + for (i = 0; i < headings.length; ++i) { + var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals), + allign = '---'; + + if (headings[i].hasAttribute('style')) { + var style = headings[i].getAttribute('style').toLowerCase().replace(/\s/g, ''); + switch (style) { + case 'text-align:left;': + allign = ':---'; + break; + case 'text-align:right;': + allign = '---:'; + break; + case 'text-align:center;': + allign = ':---:'; + break; + } + } + tableArray[0][i] = headContent.trim(); + tableArray[1][i] = allign; + } + + for (i = 0; i < rows.length; ++i) { + var r = tableArray.push([]) - 1, + cols = rows[i].getElementsByTagName('td'); + + for (ii = 0; ii < headings.length; ++ii) { + var cellContent = ' '; + if (typeof cols[ii] !== 'undefined') { + cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals); + } + tableArray[r].push(cellContent); + } + } + + var cellSpacesCount = 3; + for (i = 0; i < tableArray.length; ++i) { + for (ii = 0; ii < tableArray[i].length; ++ii) { + var strLen = tableArray[i][ii].length; + if (strLen > cellSpacesCount) { + cellSpacesCount = strLen; + } + } + } + + for (i = 0; i < tableArray.length; ++i) { + for (ii = 0; ii < tableArray[i].length; ++ii) { + if (i === 1) { + if (tableArray[i][ii].slice(-1) === ':') { + tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':'; + } else { + tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-'); + } + } else { + tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount); + } + } + txt += '| ' + tableArray[i].join(' | ') + ' |\n'; + } + + return txt.trim(); + }); + + showdown.subParser('makeMarkdown.tableCell', function (node, globals) { + 'use strict'; + + var txt = ''; + if (!node.hasChildNodes()) { + return ''; + } + var children = node.childNodes, + childrenLength = children.length; + + for (var i = 0; i < childrenLength; ++i) { + txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true); + } + return txt.trim(); + }); + + showdown.subParser('makeMarkdown.txt', function (node) { + 'use strict'; + + var txt = node.nodeValue; + + // multiple spaces are collapsed + txt = txt.replace(/ +/g, ' '); + + // replace the custom ¨NBSP; with a space + txt = txt.replace(/¨NBSP;/g, ' '); + + // ", <, > and & should replace escaped html entities + txt = showdown.helper.unescapeHTMLEntities(txt); + + // escape markdown magic characters + // emphasis, strong and strikethrough - can appear everywhere + // we also escape pipe (|) because of tables + // and escape ` because of code blocks and spans + txt = txt.replace(/([*_~|`])/g, '\\$1'); + + // escape > because of blockquotes + txt = txt.replace(/^(\s*)>/g, '\\$1>'); + + // hash character, only troublesome at the beginning of a line because of headers + txt = txt.replace(/^#/gm, '\\#'); + + // horizontal rules + txt = txt.replace(/^(\s*)([-=]{3,})(\s*)$/, '$1\\$2$3'); + + // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer + txt = txt.replace(/^( {0,3}\d+)\./gm, '$1\\.'); + + // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped) + txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\$2'); + + // images and links, ] followed by ( is problematic, so we escape it + txt = txt.replace(/]([\s]*)\(/g, '\\]$1\\('); + + // reference URIs must also be escaped + txt = txt.replace(/^ {0,3}\[([\S \t]*?)]:/gm, '\\[$1]:'); + + return txt; + }); + + var root = this; + + // AMD Loader + if (true) { + !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () { + 'use strict'; + + return showdown; + }).call(exports, __webpack_require__, exports, module), + __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)); + + // CommonJS/nodeJS Loader + } else if (typeof module !== 'undefined' && module.exports) { + module.exports = showdown; + + // Regular Browser loader + } else { + root.showdown = showdown; + } +}).call(this); + +//# sourceMappingURL=showdown.js.map + +/***/ }), + +/***/ "JkW7": +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +Object.defineProperty(__webpack_exports__, "__esModule", { value: true }); + +// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js +var preact_min = __webpack_require__("KM04"); +var preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min); + +// EXTERNAL MODULE: ./index.css +var index = __webpack_require__("xHuH"); +var index_default = /*#__PURE__*/__webpack_require__.n(index); + +// EXTERNAL MODULE: ./components/panel.css +var panel = __webpack_require__("P9k+"); +var panel_default = /*#__PURE__*/__webpack_require__.n(panel); + +// CONCATENATED MODULE: ./components/panel.js + + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var panel_Panel = function (_Component) { + _inherits(Panel, _Component); + + function Panel() { + _classCallCheck(this, Panel); + + return _possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Panel.prototype.render = function render() { + return Object(preact_min["h"])( + "div", + { "class": panel_default.a.panel }, + this.props.children + ); + }; + + return Panel; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/markdown.css +var markdown = __webpack_require__("MKE3"); +var markdown_default = /*#__PURE__*/__webpack_require__.n(markdown); + +// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js +var showdown = __webpack_require__("6adR"); +var showdown_default = /*#__PURE__*/__webpack_require__.n(showdown); + +// CONCATENATED MODULE: ./components/markdown.js + + +function markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function markdown__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + +var markdown_Markdown = function (_Component) { + markdown__inherits(Markdown, _Component); + + function Markdown() { + markdown__classCallCheck(this, Markdown); + + return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Markdown.prototype.render = function render() { + var converter = new showdown_default.a.Converter(); + converter.setFlavor("github"); + var html = converter.makeHtml("" + this.props.children); + return Object(preact_min["h"])("div", { dangerouslySetInnerHTML: { __html: html } }); + }; + + return Markdown; +}(preact_min["Component"]); + + +// CONCATENATED MODULE: ./pages/algoritmi.js + + +function algoritmi__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function algoritmi__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function algoritmi__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + +var r = String.raw; + +var _ref = Object(preact_min["h"])( + 'div', + null, + Object(preact_min["h"])( + 'h1', + null, + 'Algoritmi (2018)' + ), + Object(preact_min["h"])( + panel_Panel, + null, + 'TODO' + ) +); + +var Algoritmi = function (_Component) { + algoritmi__inherits(Algoritmi, _Component); + + function Algoritmi() { + algoritmi__classCallCheck(this, Algoritmi); + + return algoritmi__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Algoritmi.prototype.render = function render() { + return _ref; + }; + + return Algoritmi; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./pages/fisica.css +var fisica = __webpack_require__("0lnO"); +var fisica_default = /*#__PURE__*/__webpack_require__.n(fisica); + +// EXTERNAL MODULE: ./components/latex.css +var latex = __webpack_require__("+uq9"); +var latex_default = /*#__PURE__*/__webpack_require__.n(latex); + +// CONCATENATED MODULE: ./components/latex.js + + +function latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function latex__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var latex_Latex = function (_Component) { + latex__inherits(Latex, _Component); + + function Latex() { + latex__classCallCheck(this, Latex); + + return latex__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Latex.prototype.render = function render() { + var equation = "{\\color{White} " + this.props.children + " }"; + return Object(preact_min["h"])("img", { src: "https://latex.codecogs.com/png.latex?" + equation, + alt: this.props.children, + title: this.props.children, + "class": latex_default.a.latex }); + }; + + return Latex; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/split.css +var split = __webpack_require__("1EpE"); +var split_default = /*#__PURE__*/__webpack_require__.n(split); + +// CONCATENATED MODULE: ./components/split.js + + +function split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function split__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var split_Split = function (_Component) { + split__inherits(Split, _Component); + + function Split() { + split__classCallCheck(this, Split); + + return split__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Split.prototype.render = function render() { + var percent = 100 / this.props.children.count; + var children = null; + if (Array.isArray(this.props.children)) { + children = this.props.children.map(function (element) { + return Object(preact_min["h"])( + "div", + { "class": split_default.a.splitchild }, + element + ); + }); + } else { + children = Object(preact_min["h"])( + "div", + { "class": split_default.a.splitchild }, + this.props.children + ); + } + return Object(preact_min["h"])( + "div", + { "class": split_default.a.split }, + children + ); + }; + + return Split; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/plus.css +var plus = __webpack_require__("ddTt"); +var plus_default = /*#__PURE__*/__webpack_require__.n(plus); + +// CONCATENATED MODULE: ./components/plus.js + + +function plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function plus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var plus_Plus = function (_Component) { + plus__inherits(Plus, _Component); + + function Plus() { + plus__classCallCheck(this, Plus); + + return plus__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Plus.prototype.render = function render() { + return Object(preact_min["h"])( + "span", + { "class": plus_default.a.plus }, + this.props.children + ); + }; + + return Plus; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/minus.css +var minus = __webpack_require__("MeW5"); +var minus_default = /*#__PURE__*/__webpack_require__.n(minus); + +// CONCATENATED MODULE: ./components/minus.js + + +function minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function minus__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var minus_Minus = function (_Component) { + minus__inherits(Minus, _Component); + + function Minus() { + minus__classCallCheck(this, Minus); + + return minus__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Minus.prototype.render = function render() { + return Object(preact_min["h"])( + "span", + { "class": minus_default.a.minus }, + this.props.children + ); + }; + + return Minus; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/todo.css +var todo = __webpack_require__("tO1d"); +var todo_default = /*#__PURE__*/__webpack_require__.n(todo); + +// CONCATENATED MODULE: ./components/todo.js + + +function todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function todo__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var todo_Todo = function (_Component) { + todo__inherits(Todo, _Component); + + function Todo() { + todo__classCallCheck(this, Todo); + + return todo__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Todo.prototype.render = function render() { + return Object(preact_min["h"])( + "span", + { "class": todo_default.a.todo }, + this.props.children + ); + }; + + return Todo; +}(preact_min["Component"]); + + +// CONCATENATED MODULE: ./pages/fisica.js +var _templateObject = _taggedTemplateLiteralLoose(['\x0Bec{v} = \x0Bec{v}_x + \x0Bec{v}_y'], ['\\vec{v} = \\vec{v}_x + \\vec{v}_y']), + _templateObject2 = _taggedTemplateLiteralLoose(['left | \x0Bec{v}_x \right | = left | \x0Bec{v} \right | sin alpha'], ['\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha']), + _templateObject3 = _taggedTemplateLiteralLoose(['left | \x0Bec{v}_y \right | = left | \x0Bec{v} \right | cos alpha'], ['\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha']), + _templateObject4 = _taggedTemplateLiteralLoose(['\x0Bec{v} + \x0Bec{w} = (\x0Bec{v}_x + \x0Bec{w}_x) + (\x0Bec{v}_y + \x0Bec{w}_y)'], ['\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)']), + _templateObject5 = _taggedTemplateLiteralLoose(['\x0Bec{v} - \x0Bec{w} = (\x0Bec{v}_x - \x0Bec{w}_x) + (\x0Bec{v}_y - \x0Bec{w}_y)'], ['\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)']), + _templateObject6 = _taggedTemplateLiteralLoose(['\x0Bec{v} cdot \x0Bec{w} = left | \x0Bec{v} \right | left | \x0Bec{w} \right | cos alpha'], ['\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha']), + _templateObject7 = _taggedTemplateLiteralLoose(['\x0Bec{a}'], ['\\vec{a}']), + _templateObject8 = _taggedTemplateLiteralLoose(['\x0Bec{b}'], ['\\vec{b}']), + _templateObject9 = _taggedTemplateLiteralLoose(['\x0Bec{c} = \x0Bec{a} \times \x0Bec{b}'], ['\\vec{c} = \\vec{a} \\times \\vec{b}']), + _templateObject10 = _taggedTemplateLiteralLoose(['left | \x0Bec{c} \right | = left | \x0Bec{a} \right | cdot left | \x0Bec{b} \right | cdot sin(alpha)'], ['\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)']), + _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0']), + _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = m \x0Bec{a}'], ['\\Sigma \\vec{F} = m \\vec{a}']), + _templateObject13 = _taggedTemplateLiteralLoose(['\x0Bec{F}_{21} = -\x0Bec{F}_{12}'], ['\\vec{F}_{21} = -\\vec{F}_{12}']), + _templateObject14 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | = G \frac{m_1 m_2}{s^2}'], ['\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}']), + _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}'], ['G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}']), + _templateObject16 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | = g m'], ['\\left | \\vec{F} \\right | = g m']), + _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \frac{m}{s^2}'], ['g = 9.81 \\frac{m}{s^2}']), + _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \frac{m}{s^2}'], ['g_{luna} = 1.62 \\frac{m}{s^2}']), + _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \frac{m}{s^2}'], ['g_{marte} = 3.71 \\frac{m}{s^2}']), + _templateObject20 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | leq mu_{s} left | \x0Bec{F}_{normale} \right |'], ['\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |']), + _templateObject21 = _taggedTemplateLiteralLoose(['left | \x0Bec{F} \right | leq mu_{d} left | \x0Bec{F}_{normale} \right |'], ['\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |']), + _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']), + _templateObject23 = _taggedTemplateLiteralLoose(['Delta \x0Bec{s} = \x0Bec{s}(fine) - \x0Bec{s}(inizio)'], ['\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)']), + _templateObject24 = _taggedTemplateLiteralLoose(['\x0Bec{v} = \frac{Delta \x0Bec{s}}{Delta t}'], ['\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}']), + _templateObject25 = _taggedTemplateLiteralLoose(['\x0Bec{v} = lim_{Delta t \to 0} \frac{Delta \x0Bec{s}}{Delta t} = \frac{d \x0Bec{s}}{dt}'], ['\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}']), + _templateObject26 = _taggedTemplateLiteralLoose(['\x0Bec{a} = \frac{Delta \x0Bec{v}}{Delta t}'], ['\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}']), + _templateObject27 = _taggedTemplateLiteralLoose(['\x0Bec{a} = lim_{Delta v \to 0} \frac{Delta \x0Bec{v}}{Delta t} = \frac{d \x0Bec{v}}{d t} = \frac{d^2 \x0Bec{s}}{d t^2}'], ['\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}']), + _templateObject28 = _taggedTemplateLiteralLoose(['\x0Bec{p} = m \x0Bec{v}'], ['\\vec{p} = m \\vec{v}']), + _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \x0Bec{F} = 0 Longleftrightarrow Delta \x0Bec{p} = 0'], ['\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0']), + _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\cdot \\Delta t + s(0)']), + _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']), + _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']), + _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)']), + _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\Delta t + v(0)']), + _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']), + _templateObject36 = _taggedTemplateLiteralLoose(['omega = \frac{2 pi}{T}'], ['\\omega = \\frac{2 \\pi}{T}']), + _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\sin (\\omega \\cdot t + \\phi)']), + _templateObject38 = _taggedTemplateLiteralLoose(['\frac{pi}{2}'], ['\\frac{\\pi}{2}']), + _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \frac{pi}{2})'], ['v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})']), + _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\pi']), + _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)']), + _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\phi']), + _templateObject43 = _taggedTemplateLiteralLoose(['v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r'], ['v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r']), + _templateObject44 = _taggedTemplateLiteralLoose(['a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega']), + _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\cdot a']), + _templateObject46 = _taggedTemplateLiteralLoose(['W = \x0Bec{F} cdot \x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )']), + _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \frac{1}{2} m v^2'], ['E_c = \\frac{1}{2} m v^2']), + _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\Delta E_c = W']), + _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\cdot g \\cdot h']), + _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \frac{1}{2} k x^2'], ['E_{p_e} = \\frac{1}{2} k x^2']), + _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']), + _templateObject52 = _taggedTemplateLiteralLoose(['P = \frac{Delta E}{Delta t}'], ['P = \\frac{\\Delta E}{\\Delta t}']), + _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\cdot 10^{-19}']), + _templateObject54 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}']), + _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']), + _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}'], ['k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}']), + _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\epsilon_0']), + _templateObject58 = _taggedTemplateLiteralLoose(['k = \frac{1}{4 pi cdot epsilon_0}'], ['k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}']), + _templateObject59 = _taggedTemplateLiteralLoose(['left | \x0Bec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}']), + _templateObject60 = _taggedTemplateLiteralLoose(['\x0Bec{E} = \frac{\x0Bec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}'], ['\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}']), + _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \x0Bec{E} cdot \x0Bec{S} = E cdot S cdot cos(phi)'], ['\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)']), + _templateObject62 = _taggedTemplateLiteralLoose(['\x0Bec{S}'], ['\\vec{S}']), + _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = \frac{q_{interna}}{epsilon_0}'], ['\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}']), + _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']), + _templateObject65 = _taggedTemplateLiteralLoose(['V = \frac{E_{elettrica}}{q}'], ['V = \\frac{E_{elettrica}}{q}']), + _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']), + _templateObject67 = _taggedTemplateLiteralLoose(['I = \frac{Delta q}{Delta t}'], ['I = \\frac{\\Delta q}{\\Delta t}']), + _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']), + _templateObject69 = _taggedTemplateLiteralLoose(['P = \frac{Delta U}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}'], ['P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}']), + _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\cdot I']), + _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']), + _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\Omega']), + _templateObject73 = _taggedTemplateLiteralLoose(['R = \rho \frac{L_{unghezza}}{A_{rea}}'], ['R = \\rho \\frac{L_{unghezza}}{A_{rea}}']), + _templateObject74 = _taggedTemplateLiteralLoose(['\rho'], ['\\rho']), + _templateObject75 = _taggedTemplateLiteralLoose(['\rho = \rho_0 (1 + alpha(T - T_0))'], ['\\rho = \\rho_0 (1 + \\alpha(T - T_0))']), + _templateObject76 = _taggedTemplateLiteralLoose(['C = \frac{q_{massima}}{Delta V}'], ['C = \\frac{q_{massima}}{\\Delta V}']), + _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}']), + _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\kappa']), + _templateObject79 = _taggedTemplateLiteralLoose(['d'], ['d']), + _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']), + _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\sum_{i=1}^{n} R_i']), + _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}'], ['R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}']), + _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}'], ['C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}']), + _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\sum_{i=1}^{n} C_n']), + _templateObject85 = _taggedTemplateLiteralLoose(['\x0Bec{F}_{magnetica} = q cdot (\x0Bec{v} \times \x0Bec{B})'], ['\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})']), + _templateObject86 = _taggedTemplateLiteralLoose(['\x0Bec{B}'], ['\\vec{B}']), + _templateObject87 = _taggedTemplateLiteralLoose(['\x0Bec{v}'], ['\\vec{v}']), + _templateObject88 = _taggedTemplateLiteralLoose(['\x0Bec{F} = I cdot (\x0Bec{L} \times \x0Bec{B})'], ['\\vec{F} = I \\cdot (\\vec{L} \\times \\vec{B})']); + + + +function _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; } + +function fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function fisica__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + + + + + + +var fisica_r = String.raw; + +var fisica__ref = Object(preact_min["h"])( + 'h1', + null, + 'Fisica (2019)' +); + +var _ref2 = Object(preact_min["h"])( + 'h2', + null, + 'Vettori' +); + +var _ref3 = Object(preact_min["h"])( + 'h3', + null, + 'Componenti cartesiane' +); + +var _ref4 = Object(preact_min["h"])( + 'p', + null, + 'Usa le regole base della trigonometria:' +); + +var _ref5 = Object(preact_min["h"])( + 'h3', + null, + 'Somma' +); + +var _ref6 = Object(preact_min["h"])( + 'p', + null, + 'Scomponi in componenti, poi sommali:' +); + +var _ref7 = Object(preact_min["h"])( + 'p', + null, + 'Produce il vettore risultante dall\'applicazione della regola del parallelogramma.' +); + +var _ref8 = Object(preact_min["h"])( + 'h3', + null, + 'Differenza' +); + +var _ref9 = Object(preact_min["h"])( + 'p', + null, + 'Alla fine \xE8 sempre una somma:' +); + +var _ref10 = Object(preact_min["h"])( + 'p', + null, + 'Produce il vettore che parte da ', + Object(preact_min["h"])( + latex_Latex, + null, + 'w' + ), + ' e arriva a ', + Object(preact_min["h"])( + latex_Latex, + null, + 'v' + ), + '.' +); + +var _ref11 = Object(preact_min["h"])( + 'h3', + null, + 'Prodotto scalare' +); + +var _ref12 = Object(preact_min["h"])( + 'p', + null, + 'Si chiama scalare perch\xE8 il risultato \xE8 uno scalare, non un vettore.' +); + +var _ref13 = Object(preact_min["h"])( + 'h3', + null, + 'Prodotto vettoriale' +); + +var _ref14 = Object(preact_min["h"])( + 'p', + null, + 'Si chiama vettoriale perch\xE8 il risultato \xE8 un altro vettore.' +); + +var _ref15 = Object(preact_min["h"])( + 'li', + null, + Object(preact_min["h"])( + 'a', + { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' }, + 'Regola della mano destra' + ) +); + +var _ref16 = Object(preact_min["h"])( + 'p', + null, + 'Non \xE8 commutativo!' +); + +var _ref17 = Object(preact_min["h"])( + 'h2', + null, + 'Leggi di Newton' +); + +var _ref18 = Object(preact_min["h"])( + 'h3', + null, + '1\u1D43: Inerzia' +); + +var _ref19 = Object(preact_min["h"])( + 'p', + null, + 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\xE0 non cambia.' +); + +var _ref20 = Object(preact_min["h"])( + 'h3', + null, + '2\u1D43: Proporzionalit\xE0' +); + +var _ref21 = Object(preact_min["h"])( + 'p', + null, + 'La forza risultante di un corpo \xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\xE0 \xE8 la ', + Object(preact_min["h"])( + 'i', + null, + 'massa' + ), + '.' +); + +var _ref22 = Object(preact_min["h"])( + 'h3', + null, + '3\u1D43: Azione e reazione' +); + +var _ref23 = Object(preact_min["h"])( + 'p', + null, + 'Due corpi esercitano forze uguali e opposte uno sull\'altro.' +); + +var _ref24 = Object(preact_min["h"])( + 'h2', + null, + 'Forza di gravit\xE0' +); + +var _ref25 = Object(preact_min["h"])( + 'h3', + null, + 'Tra due corpi' +); + +var _ref26 = Object(preact_min["h"])( + 'p', + null, + 'Due corpi puntiformi si attirano uno verso l\'altro con forza:' +); + +var _ref27 = Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'G' + ), + ' \xE8 la ', + Object(preact_min["h"])( + 'i', + null, + 'costante di gravitazione universale' + ), + ' e vale:' +); + +var _ref28 = Object(preact_min["h"])( + 'h3', + null, + 'Verso la Terra' +); + +var _ref29 = Object(preact_min["h"])( + 'p', + null, + 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \xE8 attratto verso la Terra con forza ', + Object(preact_min["h"])( + 'i', + null, + 'peso' + ), + ' uguale a:' +); + +var _ref30 = Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'g' + ), + ' \xE8 la ', + Object(preact_min["h"])( + 'i', + null, + 'costante di gravit\xE0' + ), + ' della Terra, e vale:' +); + +var _ref31 = Object(preact_min["h"])( + 'h3', + null, + 'Su pianeti diversi' +); + +var _ref32 = Object(preact_min["h"])( + 'p', + null, + 'Per pianeti diversi dalla Terra vale la stessa regola:' +); + +var _ref33 = Object(preact_min["h"])( + 'p', + null, + 'L\'unica differenza \xE8 che cambia la ', + Object(preact_min["h"])( + 'i', + null, + 'costante di gravit\xE0' + ), + ':' +); + +var _ref34 = Object(preact_min["h"])( + 'h2', + null, + 'Forze di contatto' +); + +var _ref35 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Normale' + ), + Object(preact_min["h"])( + 'p', + null, + 'Si oppone alle forze applicate alla superficie di contatto.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Un libro appoggiato su un tavolo ha la ', + Object(preact_min["h"])( + 'b', + null, + 'forza di gravit\xE0' + ), + ' che lo attira verso il terreno e la ', + Object(preact_min["h"])( + 'b', + null, + 'forza normale' + ), + ' che lo trattiene dal cadere.' + ) +); + +var _ref36 = Object(preact_min["h"])( + 'h3', + null, + 'Attrito statico' +); + +var _ref37 = Object(preact_min["h"])( + 'p', + null, + 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:' +); + +var _ref38 = Object(preact_min["h"])( + 'h3', + null, + 'Attrito dinamico' +); + +var _ref39 = Object(preact_min["h"])( + 'p', + null, + 'Rallenta i corpi che si stanno muovendo finch\xE8 essi non si fermano:' +); + +var _ref40 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Tensione' + ), + Object(preact_min["h"])( + 'p', + null, + 'E\' forza trasmessa tra due estremi di una fune.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Pu\xF2 essere redirezionata per mezzo di carrucole.' + ) +); + +var _ref41 = Object(preact_min["h"])( + 'h3', + null, + 'Elastica' +); + +var _ref42 = Object(preact_min["h"])( + 'p', + null, + 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:' +); + +var _ref43 = Object(preact_min["h"])( + 'p', + null, + '(E\' negativa perch\xE8 la forza \xE8 opposta a quella applicata per deformarla.)' +); + +var _ref44 = Object(preact_min["h"])( + 'h2', + null, + 'Cinematica' +); + +var _ref45 = Object(preact_min["h"])( + 'h3', + null, + 'Spostamento' +); + +var _ref46 = Object(preact_min["h"])( + 'p', + null, + '\xC8 un vettore che indica la posizione di un corpo rispetto a un\'origine.' +); + +var _ref47 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0' +); + +var _ref48 = Object(preact_min["h"])( + 'p', + null, + '\xC8 un vettore che misura la variazione di posizione nel tempo.' +); + +var _ref49 = Object(preact_min["h"])( + 'p', + null, + 'Se si considera un intervallo di tempo infinitesimale si dice ', + Object(preact_min["h"])( + 'i', + null, + 'velocit\xE0 istantanea' + ), + ':' +); + +var _ref50 = Object(preact_min["h"])( + 'h3', + null, + 'Accelerazione' +); + +var _ref51 = Object(preact_min["h"])( + 'p', + null, + '\xC8 un vettore che misura la variazione di velocit\xE0 nel tempo.' +); + +var _ref52 = Object(preact_min["h"])( + 'p', + null, + 'Se si considera un intervallo di tempo infinitesimale si dice ', + Object(preact_min["h"])( + 'i', + null, + 'accelerazione istantanea' + ), + ':' +); + +var _ref53 = Object(preact_min["h"])( + 'h3', + null, + 'Quantit\xE0 di moto ', + Object(preact_min["h"])( + 'small', + null, + '(momento lineare)' + ) +); + +var _ref54 = Object(preact_min["h"])( + 'p', + null, + 'La quantit\xE0 di moto \xE8 una propriet\xE0 vettoriale dei corpi:' +); + +var _ref55 = Object(preact_min["h"])( + 'p', + null, + 'Se la forza risultante \xE8 nulla, la quantit\xE0 di moto non cambia.' +); + +var _ref56 = Object(preact_min["h"])( + 'h2', + null, + 'Moto rettilineo uniforme' +); + +var _ref57 = Object(preact_min["h"])( + 'h3', + null, + 'Spostamento' +); + +var _ref58 = Object(preact_min["h"])( + 'p', + null, + 'La ', + Object(preact_min["h"])( + 'i', + null, + 'legge oraria' + ), + ' \xE8:' +); + +var _ref59 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0' +); + +var _ref60 = Object(preact_min["h"])( + 'p', + null, + '\xC8 costante:' +); + +var _ref61 = Object(preact_min["h"])( + 'h3', + null, + 'Accelerazione' +); + +var _ref62 = Object(preact_min["h"])( + 'p', + null, + 'La velocit\xE0 non varia:' +); + +var _ref63 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Forze' + ), + Object(preact_min["h"])( + 'p', + null, + 'Si applica la prima legge di Newton:' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'f(t) = 0' + ) + ) +); + +var _ref64 = Object(preact_min["h"])( + 'h2', + null, + 'Moto rettilineo uniformemente accelerato' +); + +var _ref65 = Object(preact_min["h"])( + 'h3', + null, + 'Spostamento' +); + +var _ref66 = Object(preact_min["h"])( + 'p', + null, + 'La ', + Object(preact_min["h"])( + 'i', + null, + 'legge oraria' + ), + ' \xE8:' +); + +var _ref67 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0' +); + +var _ref68 = Object(preact_min["h"])( + 'p', + null, + '\xC8 una retta:' +); + +var _ref69 = Object(preact_min["h"])( + 'h3', + null, + 'Accelerazione' +); + +var _ref70 = Object(preact_min["h"])( + 'p', + null, + '\xC8 costante:' +); + +var _ref71 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Forze' + ), + Object(preact_min["h"])( + 'p', + null, + 'Si applica la prima legge di Newton:' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'f(t) = m a' + ) + ) +); + +var _ref72 = Object(preact_min["h"])( + 'h2', + null, + 'Moto armonico semplice' +); + +var _ref73 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Ampiezza' + ), + Object(preact_min["h"])( + 'p', + null, + 'E\' la distanza dal centro massima che raggiunge il corpo.' + ), + Object(preact_min["h"])( + 'p', + null, + '(L\'ampiezza di una sinusoide.)' + ) +); + +var _ref74 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0 angolare' +); + +var _ref75 = Object(preact_min["h"])( + 'p', + null, + 'Indica quanto in fretta cambia la posizione del corpo.' +); + +var _ref76 = Object(preact_min["h"])( + 'p', + null, + 'Dipende dal periodo:' +); + +var _ref77 = Object(preact_min["h"])( + 'h3', + null, + 'Spostamento' +); + +var _ref78 = Object(preact_min["h"])( + 'p', + null, + 'E\' una sinusoide:' +); + +var _ref79 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0' +); + +var _ref80 = Object(preact_min["h"])( + 'h3', + null, + 'Accelerazione' +); + +var _ref81 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Forze' + ), + Object(preact_min["h"])( + 'p', + null, + 'Si applica la prima legge di Newton:' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'f(t) = m a' + ) + ) +); + +var _ref82 = Object(preact_min["h"])( + 'h2', + null, + 'Moti composti' +); + +var _ref83 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Moto parabolico' + ), + Object(preact_min["h"])( + 'p', + null, + 'Il moto parabolico \xE8 dato sommando un moto rettilineo uniforme sull\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\'asse verticale.' + ) +); + +var _ref84 = Object(preact_min["h"])( + 'h3', + null, + 'Moto circolare uniforme' +); + +var _ref85 = Object(preact_min["h"])( + 'h2', + null, + 'Moto circolare uniforme' +); + +var _ref86 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0 angolare' +); + +var _ref87 = Object(preact_min["h"])( + 'p', + null, + 'Quanto cambia la fase nel tempo.' +); + +var _ref88 = Object(preact_min["h"])( + 'h3', + null, + 'Fase' +); + +var _ref89 = Object(preact_min["h"])( + 'p', + null, + 'E\' l\'angolo percorso dal corpo rispetto alla posizione iniziale.' +); + +var _ref90 = Object(preact_min["h"])( + 'h3', + null, + 'Velocit\xE0' +); + +var _ref91 = Object(preact_min["h"])( + 'p', + null, + 'Si applicano le formule per la circonferenza:' +); + +var _ref92 = Object(preact_min["h"])( + 'h3', + null, + 'Accelerazione' +); + +var _ref93 = Object(preact_min["h"])( + 'p', + null, + 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:' +); + +var _ref94 = Object(preact_min["h"])( + 'h3', + null, + 'Forza centripeta' +); + +var _ref95 = Object(preact_min["h"])( + 'p', + null, + '\xC8 verso il centro e si calcola con:' +); + +var _ref96 = Object(preact_min["h"])( + 'h2', + null, + 'Lavoro ed energia' +); + +var _ref97 = Object(preact_min["h"])( + 'h3', + null, + 'Lavoro' +); + +var _ref98 = Object(preact_min["h"])( + 'p', + null, + 'E\' compiuto da una forza che sposta un corpo.' +); + +var _ref99 = Object(preact_min["h"])( + 'p', + null, + '(Se la forza non \xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)' +); + +var _ref100 = Object(preact_min["h"])( + 'h3', + null, + 'Energia cinetica' +); + +var _ref101 = Object(preact_min["h"])( + 'p', + null, + 'Un corpo ha energia cinetica in ogni momento uguale a:' +); + +var _ref102 = Object(preact_min["h"])( + 'p', + null, + 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:' +); + +var _ref103 = Object(preact_min["h"])( + 'h3', + null, + 'Energia potenziale gravitazionale' +); + +var _ref104 = Object(preact_min["h"])( + 'p', + null, + 'Un corpo ha energia potenziale in ogni momento pari a:' +); + +var _ref105 = Object(preact_min["h"])( + 'p', + null, + '(Con ', + Object(preact_min["h"])( + latex_Latex, + null, + 'h' + ), + ' uguale a un altezza scelta come punto di riferimento.)' +); + +var _ref106 = Object(preact_min["h"])( + 'h3', + null, + 'Energia potenziale elastica' +); + +var _ref107 = Object(preact_min["h"])( + 'p', + null, + 'Una molla ha sempre energia potenziale elastica pari a:' +); + +var _ref108 = Object(preact_min["h"])( + 'h3', + null, + 'Forze conservative' +); + +var _ref109 = Object(preact_min["h"])( + 'p', + null, + 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\'arrivo.' +); + +var _ref110 = Object(preact_min["h"])( + 'p', + null, + 'Ad esempio, \xE8 conservativa la ', + Object(preact_min["h"])( + 'i', + null, + 'forza di gravit\xE0' + ), + ', ma ', + Object(preact_min["h"])( + 'b', + null, + 'non' + ), + ' \xE8 conservativa la forza di attrito.' +); + +var _ref111 = Object(preact_min["h"])( + 'p', + null, + 'Se in un sistema ci sono solo forze conservative, allora l\'energia meccanica totale si conserva:' +); + +var _ref112 = Object(preact_min["h"])( + 'h3', + null, + 'Potenza' +); + +var _ref113 = Object(preact_min["h"])( + 'p', + null, + '\xC8 la velocit\xE0 di trasferimento di energia:' +); + +var _ref114 = Object(preact_min["h"])( + 'h2', + null, + 'Elettrostatica' +); + +var _ref115 = Object(preact_min["h"])( + 'h3', + null, + 'Carica elettrica' +); + +var _ref116 = Object(preact_min["h"])( + 'p', + null, + '\xC8 una propriet\xE0 dei corpi che pu\xF2 essere ', + Object(preact_min["h"])( + plus_Plus, + null, + 'positiva' + ), + ' o ', + Object(preact_min["h"])( + minus_Minus, + null, + 'negativa' + ), + '.' +); + +var _ref117 = Object(preact_min["h"])( + 'p', + null, + 'Si conserva: in un sistema chiuso la carica totale \xE8 costante.' +); + +var _ref118 = Object(preact_min["h"])( + 'p', + null, + 'Cariche ', + Object(preact_min["h"])( + plus_Plus, + null, + 'opp' + ), + Object(preact_min["h"])( + minus_Minus, + null, + 'oste' + ), + ' si attraggono; cariche ', + Object(preact_min["h"])( + plus_Plus, + null, + 'uguali' + ), + ' si respingono.' +); + +var _ref119 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Conduttori e isolanti' + ), + Object(preact_min["h"])( + 'p', + null, + 'Pi\xF9 ', + Object(preact_min["h"])( + 'a', + { href: 'https://it.wikipedia.org/wiki/Ione' }, + 'ioni' + ), + ' ha un corpo, meglio la carica si muove attraverso di esso.' + ), + Object(preact_min["h"])( + 'p', + null, + 'I corpi in cui la carica si muove bene sono ', + Object(preact_min["h"])( + 'i', + null, + 'conduttori' + ), + ', mentre quelli in cui si muove difficilmente sono ', + Object(preact_min["h"])( + 'i', + null, + 'isolanti' + ), + '.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Il corpo umano \xE8 un buon conduttore.' + ) +); + +var _ref120 = Object(preact_min["h"])( + 'h2', + null, + 'Polarizzazione' +); + +var _ref121 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Polarizzazione' + ), + Object(preact_min["h"])( + 'p', + null, + 'E\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.' + ) + ) +); + +var _ref122 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Messa a terra' + ), + Object(preact_min["h"])( + 'p', + null, + 'Se un corpo conduttore \xE8 in contatto con la Terra, le cariche su di esso saranno ', + Object(preact_min["h"])( + 'i', + null, + 'equilibrate' + ), + ' e il corpo diventer\xE0 elettricamente neutro (con stesso numero di ', + Object(preact_min["h"])( + plus_Plus, + null, + 'cariche positive' + ), + ' e ', + Object(preact_min["h"])( + minus_Minus, + null, + 'negative' + ), + ' all\'interno).' + ) + ) +); + +var _ref123 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Polarizzazione per strofinio' + ), + Object(preact_min["h"])( + 'p', + null, + 'Strofinando tra loro due corpi isolanti, essi si ', + Object(preact_min["h"])( + 'i', + null, + 'polarizzeranno per strofinio' + ), + '.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Polarizzazione per contatto' + ), + Object(preact_min["h"])( + 'p', + null, + 'Toccando un conduttore con un corpo carico, il conduttore potr\xE0 ', + Object(preact_min["h"])( + 'i', + null, + 'polarizzarsi per contatto' + ), + '.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Polarizzazione per induzione' + ), + Object(preact_min["h"])( + 'p', + null, + 'Se un corpo conduttore ha cariche "esterne" di un ', + Object(preact_min["h"])( + plus_Plus, + null, + 'certo segno' + ), + ' vicino, esso avr\xE0 tutte le cariche del ', + Object(preact_min["h"])( + minus_Minus, + null, + 'segno opposto' + ), + ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ', + Object(preact_min["h"])( + plus_Plus, + null, + 'stesso segno' + ), + ' pi\xF9 lontano possibile da esse.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Mettendo a terra il conduttore, nuove cariche del ', + Object(preact_min["h"])( + minus_Minus, + null, + 'segno opposto' + ), + ' saranno attratte all\'interno del corpo per equilibrare le cariche che si sono allontanate.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\xE0 ', + Object(preact_min["h"])( + minus_Minus, + null, + 'caricato del segno opposto' + ), + ' rispetto alle cariche esterne.' + ) + ) +); + +var _ref124 = Object(preact_min["h"])( + 'h2', + null, + 'Forza elettrica' +); + +var _ref125 = Object(preact_min["h"])( + 'h3', + null, + 'Legge di Coulomb' +); + +var _ref126 = Object(preact_min["h"])( + 'p', + null, + 'Due corpi carichi si attraggono tra loro con forza:' +); + +var _ref127 = Object(preact_min["h"])( + 'i', + null, + 'costante di Coulomb' +); + +var _ref128 = Object(preact_min["h"])( + 'h3', + null, + 'Permeabilit\xE0 dello spazio vuoto' +); + +var _ref129 = Object(preact_min["h"])( + 'i', + null, + 'permeabilit\xE0 del vuoto' +); + +var _ref130 = Object(preact_min["h"])( + 'h3', + null, + 'Campo elettrico' +); + +var _ref131 = Object(preact_min["h"])( + 'p', + null, + 'Misura che forza viene applicata in ogni punto su una carica unitaria:' +); + +var _ref132 = Object(preact_min["h"])( + 'h3', + null, + 'Flusso elettrico' +); + +var _ref133 = Object(preact_min["h"])( + 'p', + null, + '\xC8 la differenza tra "quanto" campo elettrico ', + Object(preact_min["h"])( + plus_Plus, + null, + 'entra' + ), + ' e quanto campo elettrico ', + Object(preact_min["h"])( + minus_Minus, + null, + 'esce' + ), + ' da una certa area.' +); + +var _ref134 = Object(preact_min["h"])( + 'p', + null, + '\xC8 proporzionale alla intensit\xE0 del campo, alla dimensione dell\'area scelta e a come l\'area \xE8 disposta rispetto alla direzione del campo.' +); + +var _ref135 = Object(preact_min["h"])( + 'p', + null, + 'Se il campo elettrico \xE8 uniforme, se ne pu\xF2 calcolare facilmente il valore:' +); + +var _ref136 = Object(preact_min["h"])( + 'h3', + null, + 'Legge di Gauss' +); + +var _ref137 = Object(preact_min["h"])( + 'p', + null, + 'Il flusso elettrico uscente da una superficie \xE8 proporzionale alla carica presente al suo interno.' +); + +var _ref138 = Object(preact_min["h"])( + 'p', + null, + 'E\' equivalente alla Legge di Coulomb.' +); + +var _ref139 = Object(preact_min["h"])( + 'h2', + null, + 'Energia elettrica' +); + +var _ref140 = Object(preact_min["h"])( + 'h3', + null, + 'Energia potenziale elettrica' +); + +var _ref141 = Object(preact_min["h"])( + 'i', + null, + 'energia potenziale elettrica' +); + +var _ref142 = Object(preact_min["h"])( + 'h2', + null, + 'Circuiti elettrici' +); + +var _ref143 = Object(preact_min["h"])( + 'h3', + null, + 'Potenziale elettrico (Tensione)' +); + +var _ref144 = Object(preact_min["h"])( + 'p', + null, + '\xC8 il valore dell\'energia potenziale elettrica per una carica unitaria.' +); + +var _ref145 = Object(preact_min["h"])( + 'p', + null, + 'In una batteria \xE8 detto ', + Object(preact_min["h"])( + 'i', + null, + 'forza elettromotrice' + ), + ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.' +); + +var _ref146 = Object(preact_min["h"])( + 'h3', + null, + 'Corrente elettrica (Intensit\xE0)' +); + +var _ref147 = Object(preact_min["h"])( + 'p', + null, + 'Quanta carica passa attraverso un\'area (perpendicolare al flusso) nel tempo.' +); + +var _ref148 = Object(preact_min["h"])( + 'p', + null, + 'Fintanto che c\'\xE8 differenza di potenziale, ci sar\xE0 anche intensit\xE0 non nulla.' +); + +var _ref149 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Corrente continua (', + Object(preact_min["h"])( + 'abbr', + { title: 'Direct Current' }, + 'DC' + ), + ')' + ), + Object(preact_min["h"])( + 'p', + null, + 'Quando in un circuito la direzione della corrente \xE8 costante.' + ) +); + +var _ref150 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Corrente alternata (', + Object(preact_min["h"])( + 'abbr', + { title: 'Alternate Current' }, + 'AC' + ), + ')' + ), + Object(preact_min["h"])( + 'p', + null, + 'Quando in un circuito la direzione della corrente si alterna periodicamente.' + ) +); + +var _ref151 = Object(preact_min["h"])( + 'h3', + null, + 'Potenza elettrica' +); + +var _ref152 = Object(preact_min["h"])( + 'p', + null, + 'Possiamo calcolare la potenza di un circuito:' +); + +var _ref153 = Object(preact_min["h"])( + 'h2', + null, + 'Elementi di un circuito' +); + +var _ref154 = Object(preact_min["h"])( + 'h3', + null, + 'Resistore' +); + +var _ref155 = Object(preact_min["h"])( + 'p', + null, + 'Riduce l\'intensit\xE0 di corrente, e converte parte del potenziale in calore.' +); + +var _ref156 = Object(preact_min["h"])( + 'p', + null, + 'Il potenziale utilizzato \xE8 pari a:' +); + +var _ref157 = Object(preact_min["h"])( + 'i', + null, + 'resistenza' +); + +var _ref158 = Object(preact_min["h"])( + 'p', + null, + 'La resistenza di un conduttore vale:' +); + +var _ref159 = Object(preact_min["h"])( + 'i', + null, + 'resistivit\xE0' +); + +var _ref160 = Object(preact_min["h"])( + 'h3', + null, + 'Condensatore' +); + +var _ref161 = Object(preact_min["h"])( + 'p', + null, + 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.' +); + +var _ref162 = Object(preact_min["h"])( + 'p', + null, + 'Per farlo, cattura cariche ', + Object(preact_min["h"])( + plus_Plus, + null, + 'positive' + ), + ' e ', + Object(preact_min["h"])( + minus_Minus, + null, + 'negative' + ), + ' sulle sue due armature; perch\xE8 questo avvenga, deve essere compiuto lavoro.' +); + +var _ref163 = Object(preact_min["h"])( + 'p', + null, + 'Ha una ', + Object(preact_min["h"])( + 'b', + null, + 'capacit\xE0' + ), + ' caratteristica, che in un condensatore a facce piane parallele \xE8:' +); + +var _ref164 = Object(preact_min["h"])( + 'p', + null, + 'Condensatori di capacit\xE0 maggiore immagazzinano pi\xF9 potenziale con meno carica.' +); + +var _ref165 = Object(preact_min["h"])( + 'p', + null, + 'La capacit\xE0 aumenta se viene messo qualcosa tra le armature:' +); + +var _ref166 = Object(preact_min["h"])( + 'i', + null, + 'costante dielettrica relativa' +); + +var _ref167 = Object(preact_min["h"])( + 'p', + null, + 'Se il campo elettrico creatosi tra le due armature supera la ', + Object(preact_min["h"])( + 'i', + null, + 'rigidit\xE0 dielettrica' + ), + ' del condensatore, la carica immagazzinata viene persa e ha luogo un ', + Object(preact_min["h"])( + 'i', + null, + 'breakdown' + ), + '.' +); + +var _ref168 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Amperometro' + ), + Object(preact_min["h"])( + 'p', + null, + 'Misura la corrente elettrica se messo in serie.' + ), + Object(preact_min["h"])( + 'p', + null, + '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)' + ) +); + +var _ref169 = Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Voltmetro' + ), + Object(preact_min["h"])( + 'p', + null, + 'Misura la differenza di potenziale se messo in parallelo.' + ), + Object(preact_min["h"])( + 'p', + null, + '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)' + ) +); + +var _ref170 = Object(preact_min["h"])( + 'h2', + null, + 'Principi di Kirchhoff' +); + +var _ref171 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Legge dei nodi' + ), + Object(preact_min["h"])( + 'p', + null, + 'Per nodo si intende un qualsiasi punto del circuito.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Da un nodo entra ed esce la stessa corrente.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Legge delle maglie' + ), + Object(preact_min["h"])( + 'p', + null, + 'Per maglia si intende un qualsiasi percorso chiuso all\'interno del circuito.' + ), + Object(preact_min["h"])( + 'p', + null, + 'In una maglia chiusa, la somma delle differenze di potenziale \xE8 0.' + ) + ) +); + +var _ref172 = Object(preact_min["h"])( + 'h2', + null, + 'Serie e Parallelo' +); + +var _ref173 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Circuito in serie' + ), + Object(preact_min["h"])( + 'p', + null, + 'Pi\xF9 parti di circuito sono ', + Object(preact_min["h"])( + 'i', + null, + 'in serie' + ), + ' se sono consecutive e senza biforcazioni.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Parti di circuito in serie sono attraversate dalla stessa corrente.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Circuito in parallelo' + ), + Object(preact_min["h"])( + 'p', + null, + 'Pi\xF9 parti di circuito sono ', + Object(preact_min["h"])( + 'i', + null, + 'in parallelo' + ), + ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.' + ), + Object(preact_min["h"])( + 'p', + null, + 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.' + ) + ) +); + +var _ref174 = Object(preact_min["h"])( + 'h2', + null, + 'Resistenze equivalenti' +); + +var _ref175 = Object(preact_min["h"])( + 'h3', + null, + 'Circuiti in serie' +); + +var _ref176 = Object(preact_min["h"])( + 'p', + null, + 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:' +); + +var _ref177 = Object(preact_min["h"])( + 'h3', + null, + 'Circuiti in parallelo' +); + +var _ref178 = Object(preact_min["h"])( + 'p', + null, + 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:' +); + +var _ref179 = Object(preact_min["h"])( + 'h2', + null, + 'Condensatori equivalenti' +); + +var _ref180 = Object(preact_min["h"])( + 'h3', + null, + 'Circuiti in serie' +); + +var _ref181 = Object(preact_min["h"])( + 'p', + null, + 'Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:' +); + +var _ref182 = Object(preact_min["h"])( + 'h3', + null, + 'Circuiti in parallelo' +); + +var _ref183 = Object(preact_min["h"])( + 'p', + null, + 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacit\xE0 di tutti quelli sostituiti:' +); + +var _ref184 = Object(preact_min["h"])( + 'h2', + null, + 'Magnetismo' +); + +var _ref185 = Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Campo magnetico' + ), + Object(preact_min["h"])( + 'p', + null, + 'Come un campo elettrico, ma per i magneti.' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + 'B' + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'La sua unit\xE0 di misura \xE8 il Tesla (', + Object(preact_min["h"])( + latex_Latex, + null, + 'T' + ), + ').' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Flusso magnetico' + ), + Object(preact_min["h"])( + 'p', + null, + 'Come il flusso elettrico, ma per campi magnetici.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + Object(preact_min["h"])( + 'h3', + null, + 'Legge di Gauss per il magnetismo' + ), + Object(preact_min["h"])( + 'p', + null, + 'Il flusso magnetico attraverso qualsiasi superficie chiusa \xE8 sempre nullo.' + ) + ) +); + +var _ref186 = Object(preact_min["h"])( + 'h3', + null, + 'Forza magnetica su carica puntiforme' +); + +var _ref187 = Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + 'i', + null, + 'Anche detta ', + Object(preact_min["h"])( + 'b', + null, + 'forza di Lorentz' + ), + '.' + ) +); + +var _ref188 = Object(preact_min["h"])( + 'p', + null, + 'I campi magnetici applicano una forza sulle cariche vicine:' +); + +var _ref189 = Object(preact_min["h"])( + 'p', + null, + 'Si ha una forza massima se la velocit\xE0 \xE8 perpendicolare al campo magnetico.' +); + +var _ref190 = Object(preact_min["h"])( + 'p', + null, + 'In un campo magnetico uniforme, una velocit\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.' +); + +var _ref191 = Object(preact_min["h"])( + 'h3', + null, + 'Forza magnetica in un filo' +); + +var _ref192 = Object(preact_min["h"])( + 'p', + null, + 'I campi magnetici influenzano anche le cariche presenti in un conduttore:' +); + +var fisica_Fisica = function (_Component) { + fisica__inherits(Fisica, _Component); + + function Fisica() { + fisica__classCallCheck(this, Fisica); + + return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Fisica.prototype.render = function render() { + return Object(preact_min["h"])( + 'div', + null, + fisica__ref, + _ref2, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref3, + _ref4, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject2) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject3) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref5, + _ref6, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject4) + ) + ), + _ref7 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref8, + _ref9, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject5) + ) + ), + _ref10 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref11, + _ref12, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject6) + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'Produce il modulo della proiezione di ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject7) + ), + ' su ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject8) + ), + '.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref13, + _ref14, + Object(preact_min["h"])( + 'ul', + null, + Object(preact_min["h"])( + 'li', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject9) + ) + ), + Object(preact_min["h"])( + 'li', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject10) + ) + ), + _ref15 + ), + _ref16 + ) + ), + _ref17, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref18, + _ref19, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject11) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref20, + _ref21, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject12) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref22, + _ref23, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject13) + ) + ) + ) + ), + _ref24, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref25, + _ref26, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject14) + ) + ), + _ref27, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject15) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref28, + _ref29, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject16) + ) + ), + _ref30, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject17) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref31, + _ref32, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject16) + ) + ), + _ref33, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject18) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject19) + ) + ) + ) + ), + _ref34, + Object(preact_min["h"])( + split_Split, + null, + _ref35, + Object(preact_min["h"])( + panel_Panel, + null, + _ref36, + _ref37, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject20) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref38, + _ref39, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject21) + ) + ) + ), + _ref40, + Object(preact_min["h"])( + panel_Panel, + null, + _ref41, + _ref42, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject22) + ) + ), + _ref43 + ) + ), + _ref44, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref45, + _ref46, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject23) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref47, + _ref48, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject24) + ) + ), + _ref49, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject25) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref50, + _ref51, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject26) + ) + ), + _ref52, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject27) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref53, + _ref54, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject28) + ) + ), + _ref55, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject29) + ) + ) + ) + ), + _ref56, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref57, + _ref58, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject30) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref59, + _ref60, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject31) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref61, + _ref62, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject32) + ) + ) + ), + _ref63 + ), + _ref64, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref65, + _ref66, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject33) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref67, + _ref68, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject34) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref69, + _ref70, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject35) + ) + ) + ), + _ref71 + ), + _ref72, + Object(preact_min["h"])( + split_Split, + null, + _ref73, + Object(preact_min["h"])( + panel_Panel, + null, + _ref74, + _ref75, + _ref76, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject36) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref77, + _ref78, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject37) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref79, + Object(preact_min["h"])( + 'p', + null, + 'E\' la sinusoide dello spostamento, sfasata di ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject38) + ), + ':' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject39) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref80, + Object(preact_min["h"])( + 'p', + null, + 'E\' la sinusoide della velocit\xE0, sfasata di ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject40) + ), + ':' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject41) + ) + ) + ), + _ref81 + ), + _ref82, + Object(preact_min["h"])( + split_Split, + null, + _ref83, + Object(preact_min["h"])( + panel_Panel, + null, + _ref84, + Object(preact_min["h"])( + 'p', + null, + 'Il moto parabolico \xE8 dato sommando due moti armonici semplici: uno sull\'asse X, e l\'altro, sfasato di ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject38) + ), + ', sull\'asse Y.' + ) + ) + ), + _ref85, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref86, + _ref87, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject36) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref88, + _ref89, + Object(preact_min["h"])( + 'p', + null, + 'Si indica con ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject42) + ), + ', e generalmente si usa in radianti.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref90, + _ref91, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject43) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref92, + _ref93, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject44) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref94, + _ref95, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject45) + ) + ) + ) + ), + _ref96, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref97, + _ref98, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject46) + ) + ), + _ref99 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref100, + _ref101, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject47) + ) + ), + _ref102, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject48) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref103, + _ref104, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject49) + ) + ), + _ref105 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref106, + _ref107, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject50) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref108, + _ref109, + _ref110, + _ref111, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject51) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref112, + _ref113, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject52) + ) + ) + ) + ), + _ref114, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref115, + _ref116, + _ref117, + Object(preact_min["h"])( + 'p', + null, + 'Esiste un\'unit\xE0 elementare: ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject53) + ), + '.' + ), + _ref118 + ), + _ref119 + ), + _ref120, + _ref121, + _ref122, + _ref123, + _ref124, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref125, + _ref126, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject54) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject55) + ), + ' \xE8 la ', + _ref127, + ', e vale ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject56) + ), + '.' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref128, + Object(preact_min["h"])( + 'p', + null, + 'La costante ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject55) + ), + ' \xE8 in realt\xE0 dipendente da un altra costante, ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject57) + ), + ', la ', + _ref129, + '.' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject58) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject59) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref130, + _ref131, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject60) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref132, + _ref133, + _ref134, + _ref135, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject61) + ) + ), + Object(preact_min["h"])( + 'p', + null, + '(dove ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject62) + ), + ' \xE8 il vettore dell\'area che abbiamo scelto.)' + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref136, + _ref137, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject63) + ) + ), + _ref138 + ) + ), + _ref139, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref140, + Object(preact_min["h"])( + 'p', + null, + 'Un corpo carico vicino ad altre cariche possiede un\'', + _ref141, + ' ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject64) + ), + '.' + ) + ) + ), + _ref142, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref143, + _ref144, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject65) + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'La sua unit\xE0 di misura \xE8 il Volt (', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject66) + ), + ').' + ), + _ref145 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref146, + _ref147, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject67) + ) + ), + _ref148, + Object(preact_min["h"])( + 'p', + null, + 'La sua unit\xE0 di misura \xE8 l\'Ampere (', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject68) + ), + ').' + ) + ), + _ref149, + _ref150, + Object(preact_min["h"])( + panel_Panel, + null, + _ref151, + _ref152, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject69) + ) + ) + ) + ), + _ref153, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref154, + _ref155, + _ref156, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject70) + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'Dove ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject71) + ), + ' \xE8 una costante detta ', + _ref157, + ' con unit\xE0 di misura Ohm (', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject72) + ), + ').' + ), + _ref158, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject73) + ) + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject74) + ), + ' \xE8 la ', + _ref159, + ' del materiale, e varia in base alla temperatura:' + ), + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject75) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref160, + _ref161, + _ref162, + _ref163, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject76) + ) + ), + _ref164, + _ref165, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject77) + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'Dove ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject78) + ), + ' \xE8 la ', + _ref166, + ' del materiale inserito, ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject68) + ), + ' l\'area di una armatura e ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject79) + ), + ' la distanza tra le due armature.' + ), + _ref167, + Object(preact_min["h"])( + 'p', + null, + 'La sua unit\xE0 di misura \xE8 il Farad (', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject80) + ), + ')' + ) + ), + _ref168, + _ref169 + ), + _ref170, + _ref171, + _ref172, + _ref173, + _ref174, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref175, + _ref176, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject81) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref177, + _ref178, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject82) + ) + ) + ) + ), + _ref179, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref180, + _ref181, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject83) + ) + ) + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref182, + _ref183, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject84) + ) + ) + ) + ), + _ref184, + _ref185, + Object(preact_min["h"])( + split_Split, + null, + Object(preact_min["h"])( + panel_Panel, + null, + _ref186, + _ref187, + _ref188, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject85) + ) + ), + Object(preact_min["h"])( + 'p', + null, + 'Dove ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject86) + ), + ' \xE8 l\'intensit\xE0 del campo magnetico e ', + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject87) + ), + ' la velocit\xE0 della carica considerata.' + ), + _ref189, + _ref190 + ), + Object(preact_min["h"])( + panel_Panel, + null, + _ref191, + _ref192, + Object(preact_min["h"])( + 'p', + null, + Object(preact_min["h"])( + latex_Latex, + null, + fisica_r(_templateObject88) + ) + ) + ) + ) + ); + }; + + return Fisica; +}(preact_min["Component"]); + + +// EXTERNAL MODULE: ./components/copyright.css +var copyright = __webpack_require__("qMTX"); +var copyright_default = /*#__PURE__*/__webpack_require__.n(copyright); + +// CONCATENATED MODULE: ./components/copyright.js + + +function copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function copyright__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + +var copyright__ref = Object(preact_min["h"])( + "a", + { href: "https://creativecommons.org/licenses/by-sa/4.0/" }, + "CC BY-SA 4.0" +); + +var copyright__ref2 = Object(preact_min["h"])( + "a", + { href: "https://github.com/Steffo99/appuntiweb" }, + "Codice sorgente" +); + +var copyright_Copyright = function (_Component) { + copyright__inherits(Copyright, _Component); + + function Copyright() { + copyright__classCallCheck(this, Copyright); + + return copyright__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + Copyright.prototype.render = function render() { + return Object(preact_min["h"])( + "div", + { "class": copyright_default.a.copyright }, + "\xA9 2019 - Stefano Pigozzi - ", + copyright__ref, + " - ", + copyright__ref2 + ); + }; + + return Copyright; +}(preact_min["Component"]); + + +// CONCATENATED MODULE: ./index.js +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return App; }); + + +function index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function index__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + + + + + + + +var index_r = String.raw; + +var index__ref = Object(preact_min["h"])( + 'div', + { id: 'app' }, + Object(preact_min["h"])(fisica_Fisica, null), + Object(preact_min["h"])(copyright_Copyright, null) +); + +var App = function (_Component) { + index__inherits(App, _Component); + + function App() { + index__classCallCheck(this, App); + + return index__possibleConstructorReturn(this, _Component.apply(this, arguments)); + } + + App.prototype.render = function render() { + return index__ref; + }; + + return App; +}(preact_min["Component"]); + + + +/***/ }), + +/***/ "KM04": +/***/ (function(module, exports, __webpack_require__) { + +!function () { + "use strict"; + function e(e, t) { + var n, + o, + r, + i, + l = W;for (i = arguments.length; i-- > 2;) { + P.push(arguments[i]); + }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) { + if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) { + P.push(o[i]); + } else "boolean" == typeof o && (o = null), (r = "function" != typeof e) && (null == o ? o = "" : "number" == typeof o ? o += "" : "string" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r; + }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a; + }function t(e, t) { + for (var n in t) { + e[n] = t[n]; + }return e; + }function n(e, t) { + e && ("function" == typeof e ? e(t) : e.current = t); + }function o(n, o) { + return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children); + }function r(e) { + !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i); + }function i() { + var e;while (e = V.pop()) { + e.__d && x(e); + } + }function l(e, t, n) { + return "string" == typeof t || "number" == typeof t ? void 0 !== e.splitText : "string" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName; + }function a(e, t) { + return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase(); + }function u(e) { + var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) { + void 0 === n[r] && (n[r] = o[r]); + }return n; + }function c(e, t) { + var n = t ? document.createElementNS("http://www.w3.org/2000/svg", e) : document.createElement(e);return n.__n = e, n; + }function p(e) { + var t = e.parentNode;t && t.removeChild(e); + }function s(e, t, o, r, i) { + if ("className" === t && (t = "class"), "key" === t) ;else if ("ref" === t) n(o, null), n(r, e);else if ("class" !== t || i) { + if ("style" === t) { + if (r && "string" != typeof r && "string" != typeof o || (e.style.cssText = r || ""), r && "object" == typeof r) { + if ("string" != typeof o) for (var l in o) { + l in r || (e.style[l] = ""); + }for (var l in r) { + e.style[l] = "number" == typeof r[l] && !1 === E.test(l) ? r[l] + "px" : r[l]; + } + } + } else if ("dangerouslySetInnerHTML" === t) r && (e.innerHTML = r.__html || "");else if ("o" == t[0] && "n" == t[1]) { + var a = t !== (t = t.replace(/Capture$/, ""));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r; + } else if ("list" !== t && "type" !== t && !i && t in e) { + try { + e[t] = null == r ? "" : r; + } catch (e) {}null != r && !1 !== r || "spellcheck" == t || e.removeAttribute(t); + } else { + var u = i && t !== (t = t.replace(/^xlink:?/, ""));null == r || !1 === r ? u ? e.removeAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase()) : e.removeAttribute(t) : "function" != typeof r && (u ? e.setAttributeNS("http://www.w3.org/1999/xlink", t.toLowerCase(), r) : e.setAttribute(t, r)); + } + } else e.className = r || ""; + }function _(e) { + return this.__l[e.type](M.event && M.event(e) || e); + }function f() { + var e;while (e = A.shift()) { + M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount(); + } + }function d(e, t, n, o, r, i) { + H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !("__preactattr_" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l; + }function h(e, t, n, o, r) { + var i = e, + l = R;if (null != t && "boolean" != typeof t || (t = ""), "string" == typeof t || "number" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if ("function" == typeof u) return N(e, t, n, o);if (R = "svg" === u || "foreignObject" !== u && R, u += "", (!e || !a(e, u)) && (i = c(u, R), e)) { + while (e.firstChild) { + i.appendChild(e.firstChild); + }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0); + }var p = i.firstChild, + s = i.__preactattr_, + _ = t.children;if (null == s) { + s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) { + s[f[d].name] = f[d].value; + } + }return !B && _ && 1 === _.length && "string" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i; + }function m(e, t, n, o, r) { + var i, + a, + u, + c, + s, + _ = e.childNodes, + f = [], + d = {}, + m = 0, + b = 0, + y = _.length, + g = 0, + w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) { + var x = _[C], + N = x.__preactattr_, + k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x); + }if (0 !== w) for (var C = 0; C < w; C++) { + c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) { + if (void 0 !== f[i] && l(a = f[i], c, r)) { + s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break; + } + }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u)); + }if (m) for (var C in d) { + void 0 !== d[C] && v(d[C], !1); + }while (b <= g) { + void 0 !== (s = f[g--]) && v(s, !1); + } + }function v(e, t) { + var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e)); + }function b(e) { + e = e.lastChild;while (e) { + var t = e.previousSibling;v(e, !0), e = t; + } + }function y(e, t, n) { + var o;for (o in n) { + t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R); + }for (o in t) { + "children" === o || "innerHTML" === o || o in n && t[o] === ("value" === o || "checked" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R); + } + }function g(e, t, n) { + var o, + r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) { + if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o; + }return o; + }function w(e, t, n) { + return this.constructor(e, n); + }function C(e, t, o, i, l) { + e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e)); + }function x(e, n, o, r) { + if (!e.__x) { + var i, + l, + a, + c = e.props, + p = e.state, + s = e.context, + _ = e.__p || c, + h = e.__s || p, + m = e.__c || s, + b = e.base, + y = e.__b, + w = b || y, + N = e._component, + U = !1, + S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) { + i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L, + T, + P = i && i.nodeName;if ("function" == typeof P) { + var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base; + } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) { + var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1))); + }if (L && k(L), e.base = T, T && !r) { + var E = e, + V = e;while (V = V.__u) { + (E = V).base = T; + }T._component = E, T._componentConstructor = E.constructor; + } + }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) { + e.__h.pop().call(e); + }H || r || f(); + } + }function N(e, t, n, o) { + var r = e && e._component, + i = r, + l = e, + a = r && e._componentConstructor === t.nodeName, + c = a, + p = u(t);while (r && !c && (r = r.__u)) { + c = r.constructor === t.nodeName; + }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e; + }function k(e) { + M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null); + }function U(e, t) { + this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = []; + }function S(e, t, n) { + return d(n, e, {}, !1, t, !1); + }function L() { + return {}; + }var T = function T() {}, + M = {}, + P = [], + W = [], + D = "function" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout, + E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i, + V = [], + A = [], + H = 0, + R = !1, + B = !1, + F = [];t(U.prototype, { setState: function setState(e, n) { + this.__s || (this.__s = this.state), this.state = t(t({}, this.state), "function" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this); + }, forceUpdate: function forceUpdate(e) { + e && this.__h.push(e), x(this, 2); + }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j; +}(); +//# sourceMappingURL=preact.min.js.map + +/***/ }), + +/***/ "MKE3": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin + +/***/ }), + +/***/ "MeW5": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin +module.exports = {"minus":"minus__2Ld4F"}; + +/***/ }), + +/***/ "P9k+": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin +module.exports = {"panel":"panel__1ubJw"}; + +/***/ }), + +/***/ "ddTt": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin +module.exports = {"plus":"plus__29_QM"}; + +/***/ }), + +/***/ "qMTX": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin +module.exports = {"copyright":"copyright__2FTnU"}; + +/***/ }), + +/***/ "tO1d": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin +module.exports = {"todo":"todo__1pOoN"}; + +/***/ }), + +/***/ "xHuH": +/***/ (function(module, exports) { + +// removed by extract-text-webpack-plugin + +/***/ }) + +/******/ }); +//# sourceMappingURL=ssr-bundle.js.map \ No newline at end of file diff --git a/build/ssr-build/ssr-bundle.js.map b/build/ssr-build/ssr-bundle.js.map new file mode 100644 index 0000000..a4d2450 --- /dev/null +++ b/build/ssr-build/ssr-bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap ed66c2dd2f07c415d36c","webpack:///./components/latex.css?8084","webpack:///./pages/fisica.css","webpack:///./components/split.css?8a31","webpack:///../node_modules/showdown/dist/showdown.js","webpack:///./components/panel.js","webpack:///./components/markdown.js","webpack:///./pages/algoritmi.js","webpack:///./components/latex.js","webpack:///./components/split.js","webpack:///./components/plus.js","webpack:///./components/minus.js","webpack:///./components/todo.js","webpack:///./pages/fisica.js","webpack:///./components/copyright.js","webpack:///./index.js","webpack:///../node_modules/preact/dist/preact.min.js","webpack:///./components/markdown.css","webpack:///./components/minus.css?1001","webpack:///./components/panel.css?b9f3","webpack:///./components/plus.css?cf24","webpack:///./components/copyright.css?a1cf","webpack:///./components/todo.css?e5c7","webpack:///./index.css?e186"],"names":["getDefaultOpts","simple","defaultOptions","omitExtraWLInCodeBlocks","defaultValue","describe","type","noHeaderId","prefixHeaderId","rawPrefixHeaderId","ghCompatibleHeaderId","rawHeaderId","headerLevelStart","parseImgDimensions","simplifiedAutoLink","excludeTrailingPunctuationFromURLs","literalMidWordUnderscores","literalMidWordAsterisks","strikethrough","tables","tablesHeaderId","ghCodeBlocks","tasklists","smoothLivePreview","smartIndentationFix","description","disableForced4SpacesIndentedSublists","simpleLineBreaks","requireSpaceBeforeHeadingText","ghMentions","ghMentionsLink","encodeEmails","openLinksInNewWindow","backslashEscapesHTMLTags","emoji","underline","completeHTMLDocument","metadata","splitAdjacentBlockquotes","JSON","parse","stringify","ret","opt","hasOwnProperty","allOptionsOn","options","showdown","parsers","extensions","globalOptions","setFlavor","flavor","github","original","ghost","vanilla","allOn","helper","setOption","key","value","getOption","getOptions","resetOptions","name","Error","preset","option","getFlavor","getFlavorOptions","getDefaultOptions","subParser","func","isString","extension","ext","stdExtName","isUndefined","isArray","validExtension","validate","valid","error","getAllExtensions","removeExtension","resetExtensions","errMsg","i","length","baseMsg","toLowerCase","listeners","filter","regex","ln","RegExp","replace","validateExtension","console","warn","a","String","isFunction","getType","toString","call","Array","forEach","obj","callback","prop","s","escapeCharactersCallback","wholeMatch","m1","charCodeToEscape","charCodeAt","escapeCharacters","text","charsToEscape","afterBackslash","regexString","unescapeHTMLEntities","txt","rgxFindMatchPos","str","left","right","flags","f","g","indexOf","x","l","pos","t","m","start","end","exec","test","lastIndex","index","match","push","matchRecursiveRegExp","matchPos","results","slice","replaceRecursiveRegExp","replacement","repStr","finalStr","lng","bits","join","regexIndexOf","fromIndex","substring","search","splitAtIndex","encodeEmailAddress","mail","encode","ch","Math","floor","random","r","padEnd","targetLength","padString","repeat","msg","alert","log","regexes","asteriskDashAndColon","emojis","Converter","converterOptions","langExtensions","outputModifiers","setConvFlavor","parsed","raw","format","_constructor","gOpt","_parseExtension","legacyExtensionLoading","validExt","listen","rTrimInputText","rsp","rgx","_dispatch","dispatch","evtName","globals","ei","nText","makeHtml","gHtmlBlocks","gHtmlMdBlocks","gHtmlSpans","gUrls","gTitles","gDimensions","gListLevel","hashLinkCounts","converter","makeMarkdown","makeMd","src","HTMLParser","window","document","doc","createElement","innerHTML","preList","substitutePreCodeTags","clean","nodes","childNodes","mdDoc","node","n","child","nodeType","nodeValue","removeChild","split","pres","querySelectorAll","presPH","childElementCount","firstChild","tagName","content","trim","language","getAttribute","classes","className","c","matches","outerHTML","setAttribute","addExtension","useExtension","extensionName","splice","ii","output","getMetadata","getMetadataFormat","_setMetadataPair","_setMetadataFormat","_setMetadataRaw","writeAnchorTag","linkText","linkId","url","m5","m6","title","result","wm","st","escape","mentions","username","lnk","target","simpleURLRegex","simpleURLRegex2","delimUrlRegex","simpleMailRegex","delimMailRegex","replaceLink","leadingMagicChars","link","m2","m3","trailingPunctuation","trailingMagicChars","lnkTxt","append","lmc","tmc","replaceMail","b","href","bq","pre","pattern","codeblock","nextChar","doctype","doctypeParsed","charset","lang","meta","leadingText","numSpaces","emojiRgx","emojiCode","tags","comments","delim","repFunc","blockText","blockTags","inside","opTagPos","rgx1","patLeft","patRight","subTexts","newSubText1","concat","hashHTMLSpan","html","repText","limit","num","$1","isNaN","parseInt","setextRegexH1","setextRegexH2","spanGamut","hID","headerId","hLevel","hashBlock","matchFound","atxStyle","hText","customizedHeaderId","span","header","prefix","inlineRegExp","crazyRegExp","base64RegExp","referenceRegExp","refShortcutRegExp","writeImageTagBase64","altText","width","height","writeImageTag","gDims","parseInside","lead","processListItems","listStr","trimTrailing","isParagraphed","m4","taskbtn","checked","item","bulletStyle","otp","wm2","styleStartNumber","list","listType","res","parseConsecutiveLists","olRgx","ulRgx","counterRxg","parseCL","style","parseMetadataContents","wholematch","grafs","grafsOut","grafsOutIt","codeFlag","$2","re","base64Regex","replaceFunc","blankLines","tableRgx","singeColTblRgx","parseStyles","sLine","parseHeaders","id","tableHeaderId","parseCells","cell","subText","buildTable","headers","cells","tb","tblLgn","parseTable","rawTable","tableLines","rawHeaders","map","rawStyles","rawCells","styles","shift","row","charCodeToReplace","fromCharCode","hasChildNodes","children","childrenLength","innerTxt","headerLevel","headerMark","hasAttribute","listItems","listItemsLenght","listNum","bullet","listItemTxt","childrenLenght","spansOnly","data","tableArray","headings","rows","headContent","allign","cols","getElementsByTagName","cellContent","cellSpacesCount","strLen","root","define","module","exports","Panel","render","panel","props","Component","Markdown","__html","Algoritmi","Latex","equation","latex","Split","percent","count","splitchild","element","Plus","plus","Minus","minus","Todo","todo","Fisica","Copyright","copyright","App","e","o","W","arguments","P","pop","T","nodeName","attributes","M","vnode","current","__d","V","debounceRendering","D","splitText","_componentConstructor","__n","u","defaultProps","createElementNS","p","parentNode","cssText","E","addEventListener","_","removeEventListener","__l","removeAttribute","removeAttributeNS","setAttributeNS","event","A","afterMount","componentDidMount","d","H","R","ownerSVGElement","B","h","appendChild","_component","createTextNode","replaceChild","v","__preactattr_","N","nextSibling","dangerouslySetInnerHTML","y","w","C","k","__k","insertBefore","ref","lastChild","previousSibling","F","prototype","U","constructor","__b","__x","__r","getDerivedStateFromProps","base","componentWillMount","componentWillReceiveProps","context","__c","__p","syncComponentUpdates","state","__s","S","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","L","__u","componentDidUpdate","afterUpdate","__h","beforeUnmount","componentWillUnmount","Promise","resolve","then","bind","setTimeout","setState","forceUpdate","j","cloneElement","createRef","rerender","self","preact"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;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AAL,GAAYL,CAAxD;AAA0D,CAAvsQ,EAAD;AACA,sC;;;;;;;ACDA,yC;;;;;;;ACAA;AACA,kBAAkB,wB;;;;;;;ACDlB;AACA,kBAAkB,wB;;;;;;;ACDlB;AACA,kBAAkB,sB;;;;;;;ACDlB;AACA,kBAAkB,gC;;;;;;;ACDlB;AACA,kBAAkB,sB;;;;;;;ACDlB,yC","file":"ssr-bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"JkW7\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap ed66c2dd2f07c415d36c","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__3Esv7\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/fisica.css\n// module id = 0lnO\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__3qCWp\",\"splitchild\":\"splitchild__3cEoc\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n describe: 'Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic \\'section-\\' prefix',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n describe: 'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the \" char is used in the prefix)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
    (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\
    foo\\
    ',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"
    test
    \", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '&#' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '&#x' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f‍\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4‍\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71‍\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47‍\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77‍\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68‍\\u2764\\ufe0f‍\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69‍\\u2764\\ufe0f‍\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68‍\\u2764\\ufe0f‍\\ud83d\\udc8b‍\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69‍\\u2764\\ufe0f‍\\ud83d\\udc8b‍\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f‍\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41‍\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68‍\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68‍\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc68‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69‍\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc66‍\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69‍\\ud83d\\udc69‍\\ud83d\\udc67‍\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f‍\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d‍\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f‍\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82‍\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87‍\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68‍\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68‍\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38‍\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68‍\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26‍\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68‍\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68‍\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68‍\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68‍\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68‍\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39‍\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68‍\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68‍\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68‍\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e‍\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d‍\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68‍\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37‍\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68‍\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68‍\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68‍\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68‍\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86‍\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c‍\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5‍\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45‍\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46‍\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e‍\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e‍\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f‍\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b‍\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3‍\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3‍\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4‍\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca‍\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81‍\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6‍\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f‍\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69‍\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69‍\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38‍\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69‍\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26‍\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69‍\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69‍\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69‍\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69‍\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69‍\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39‍\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69‍\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69‍\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69‍\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e‍\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d‍\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69‍\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37‍\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69‍\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69‍\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69‍\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69‍\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73‍\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c‍\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '\":octocat:\"',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = '';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML
    tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]??(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n //

    tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with

     content, so we need to fix that:\n    bq = bq.replace(/(\\s*
    [^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n      var pre = m1;\n      // attacklab: hack around Konqueror 3.5.4 bug:\n      pre = pre.replace(/^  /mg, '¨0');\n      pre = pre.replace(/¨0/g, '');\n      return pre;\n    });\n\n    return showdown.subParser('hashBlock')('
    \\n' + bq + '\\n
    ', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `
    ` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n  'use strict';\n\n  text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n  // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n  text += '¨0';\n\n  var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n  text = text.replace(pattern, function (wholeMatch, m1, m2) {\n    var codeblock = m1,\n        nextChar = m2,\n        end = '\\n';\n\n    codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n    codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n    codeblock = showdown.subParser('detab')(codeblock, options, globals);\n    codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n    codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n    if (options.omitExtraWLInCodeBlocks) {\n      end = '';\n    }\n\n    codeblock = '
    ' + codeblock + end + '
    ';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n *

    Just type foo `bar` baz at the prompt.

    \n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar` ...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + '\\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '
    ' + codeblock + end + '
    ';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions ( and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape
     elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n  'use strict';\n  text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n  var repFunc = function (wholeMatch, match, left, right) {\n    // encode html entities\n    var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n    return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n  };\n\n  // Hash 
    \n  text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}\\\\s*
    ', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + '';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + '';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
    ', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]??(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '\"'x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '
  • a
  • \n // instead of:\n //
    • - - a
    \n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + '\\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap

    tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '

    ');\n str += '

    ';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ``\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
    \\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
    \\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*\\s]+)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n+|(?=¨0))/gm,\n base64Regex = /^ {0,3}\\[(.+)]:[ \\t]*\\n?[ \\t]*?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*\\n?[ \\t]*(?:(\\n*)[\"|'(](.+?)[\"|')][ \\t]*)?(?:\\n\\n|(?=¨0)|(?=\\n\\[))/gm;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + '\\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + '\\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += '\\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += '\\n';\n }\n tb += '\\n
    \\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '
    ' + globals.preList[num] + '
    ';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\treturn
    {this.props.children}
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n return
    ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import { Component } from 'preact';\nimport Panel from '../components/panel';\nimport Markdown from '../components/markdown';\n\nconst r = String.raw;\n\nexport default class Algoritmi extends Component {\n\trender() {\n return (\n
    \n

    Algoritmi (2018)

    \n \n TODO\n \n
    \n )\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./pages/algoritmi.js","import style from \"./latex.css\";\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }` \n\t\treturn {this.props.children}\n\t\t\t\t;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n let percent = 100 / this.props.children.count;\n let children = null;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return (
    {element}
    );\n });\n }\n else {\n children =
    {this.props.children}
    ;\n }\n\t\treturn
    {children}
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./plus.css\";\nimport { Component } from 'preact';\n\nexport default class Plus extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\nimport { Component } from 'preact';\n\nexport default class Minus extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from \"./todo.css\";\nimport { Component } from 'preact';\n\nexport default class Todo extends Component {\n\trender() {\n\t\treturn {this.props.children};\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n
    \n

    Fisica (2019)

    \n

    Vettori

    \n \n \n

    \n Componenti cartesiane\n

    \n

    \n Usa le regole base della trigonometria:\n

    \n

    \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`}\n

    \n

    \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`}\n

    \n

    \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`}\n

    \n
    \n \n

    \n Somma\n

    \n

    \n Scomponi in componenti, poi sommali:\n

    \n

    \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`}\n

    \n

    \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n

    \n
    \n \n

    \n Differenza\n

    \n

    \n Alla fine è sempre una somma:\n

    \n

    \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`}\n

    \n

    \n Produce il vettore che parte da w e arriva a v.\n

    \n
    \n \n

    \n Prodotto scalare\n

    \n

    \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n

    \n

    \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`}\n

    \n

    \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`}.\n

    \n
    \n \n

    \n Prodotto vettoriale\n

    \n

    \n Si chiama vettoriale perchè il risultato è un altro vettore.\n

    \n
    \n

    \n Non è commutativo!\n

    \n \n \n

    \n Leggi di Newton\n

    \n \n \n

    \n 1ᵃ: Inerzia\n

    \n

    \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n

    \n

    \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`}\n

    \n
    \n \n

    \n 2ᵃ: Proporzionalità\n

    \n

    \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n

    \n

    \n {r`\\Sigma \\vec{F} = m \\vec{a}`}\n

    \n
    \n \n

    \n 3ᵃ: Azione e reazione\n

    \n

    \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n

    \n

    \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`}\n

    \n
    \n
    \n

    \n Forza di gravità\n

    \n \n \n

    \n Tra due corpi\n

    \n

    \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`}\n

    \n

    \n G è la costante di gravitazione universale e vale:\n

    \n

    \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`}\n

    \n
    \n \n

    \n Verso la Terra\n

    \n

    \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = g m`}\n

    \n

    \n g è la costante di gravità della Terra, e vale:\n

    \n

    \n {r`g = 9.81 \\frac{m}{s^2}`}\n

    \n
    \n \n

    \n Su pianeti diversi\n

    \n

    \n Per pianeti diversi dalla Terra vale la stessa regola:\n

    \n

    \n {r`\\left | \\vec{F} \\right | = g m`}\n

    \n

    \n L'unica differenza è che cambia la costante di gravità:\n

    \n

    \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`}\n

    \n

    \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`}\n

    \n
    \n
    \n

    \n Forze di contatto\n

    \n \n \n

    \n Normale\n

    \n

    \n Si oppone alle forze applicate alla superficie di contatto.\n

    \n

    \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n

    \n
    \n \n

    \n Attrito statico\n

    \n

    \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n

    \n

    \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`}\n

    \n
    \n \n

    \n Attrito dinamico\n

    \n

    \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n

    \n

    \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`}\n

    \n
    \n \n

    \n Tensione\n

    \n

    \n E' forza trasmessa tra due estremi di una fune.\n

    \n

    \n Può essere redirezionata per mezzo di carrucole.\n

    \n
    \n \n

    \n Elastica\n

    \n

    \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n

    \n

    \n {r`F = -k x`}\n

    \n

    \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n

    \n
    \n
    \n

    \n Cinematica\n

    \n \n \n

    \n Spostamento\n

    \n

    \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n

    \n

    \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È un vettore che misura la variazione di posizione nel tempo.\n

    \n

    \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`}\n

    \n

    \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n

    \n

    \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n È un vettore che misura la variazione di velocità nel tempo.\n

    \n

    \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`}\n

    \n

    \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n

    \n

    \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`}\n

    \n
    \n \n

    \n Quantità di moto (momento lineare)\n

    \n

    \n La quantità di moto è una proprietà vettoriale dei corpi:\n

    \n

    \n {r`\\vec{p} = m \\vec{v}`}\n

    \n

    \n Se la forza risultante è nulla, la quantità di moto non cambia.\n

    \n

    \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`}\n

    \n
    \n
    \n

    \n Moto rettilineo uniforme\n

    \n \n \n

    \n Spostamento\n

    \n

    \n La legge oraria è:\n

    \n

    \n {r`s(t) = v \\cdot \\Delta t + s(0)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È costante:\n

    \n

    \n {r`v(t) = k`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n La velocità non varia:\n

    \n

    \n {r`a(t) = 0`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = 0\n

    \n
    \n
    \n

    \n Moto rettilineo uniformemente accelerato\n

    \n \n \n

    \n Spostamento\n

    \n

    \n La legge oraria è:\n

    \n

    \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n È una retta:\n

    \n

    \n {r`v(t) = a \\Delta t + v(0)`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n È costante:\n

    \n

    \n {r`a(t) = k`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = m a\n

    \n
    \n
    \n

    \n Moto armonico semplice\n

    \n \n \n

    \n Ampiezza\n

    \n

    \n E' la distanza dal centro massima che raggiunge il corpo.\n

    \n

    \n (L'ampiezza di una sinusoide.)\n

    \n
    \n \n

    \n Velocità angolare\n

    \n

    \n Indica quanto in fretta cambia la posizione del corpo. \n

    \n

    \n Dipende dal periodo:\n

    \n

    \n {r`\\omega = \\frac{2 \\pi}{T}`}\n

    \n
    \n \n

    \n Spostamento\n

    \n

    \n E' una sinusoide:\n

    \n

    \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`}\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`}:\n

    \n

    \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n E' la sinusoide della velocità, sfasata di {r`\\pi`}:\n

    \n

    \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`}\n

    \n
    \n \n

    \n Forze\n

    \n

    \n Si applica la prima legge di Newton:\n

    \n

    \n f(t) = m a\n

    \n
    \n
    \n

    \n Moti composti\n

    \n \n \n

    \n Moto parabolico\n

    \n

    \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n

    \n
    \n \n

    \n Moto circolare uniforme\n

    \n

    \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`}, sull'asse Y.\n

    \n
    \n
    \n

    \n Moto circolare uniforme\n

    \n \n \n

    \n Velocità angolare\n

    \n

    \n Quanto cambia la fase nel tempo.\n

    \n

    \n {r`\\omega = \\frac{2 \\pi}{T}`}\n

    \n
    \n \n

    \n Fase\n

    \n

    \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n

    \n

    \n Si indica con {r`\\phi`}, e generalmente si usa in radianti.\n

    \n
    \n \n

    \n Velocità\n

    \n

    \n Si applicano le formule per la circonferenza:\n

    \n

    \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`}\n

    \n
    \n \n

    \n Accelerazione\n

    \n

    \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n

    \n

    \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`}\n

    \n
    \n \n

    \n Forza centripeta\n

    \n

    \n È verso il centro e si calcola con:\n

    \n

    \n {r`F = m \\cdot a`}\n

    \n
    \n
    \n

    \n Lavoro ed energia\n

    \n \n \n

    \n Lavoro\n

    \n

    \n E' compiuto da una forza che sposta un corpo.\n

    \n

    \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`}\n

    \n

    \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n

    \n
    \n \n

    \n Energia cinetica\n

    \n

    \n Un corpo ha energia cinetica in ogni momento uguale a:\n

    \n

    \n {r`E_c = \\frac{1}{2} m v^2`}\n

    \n

    \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n

    \n

    \n {r`\\Delta E_c = W`}\n

    \n
    \n \n

    \n Energia potenziale gravitazionale\n

    \n

    \n Un corpo ha energia potenziale in ogni momento pari a: \n

    \n

    \n {r`E_{p_g} = m \\cdot g \\cdot h`}\n

    \n

    \n (Con h uguale a un altezza scelta come punto di riferimento.)\n

    \n
    \n \n

    \n Energia potenziale elastica\n

    \n

    \n Una molla ha sempre energia potenziale elastica pari a:\n

    \n

    \n {r`E_{p_e} = \\frac{1}{2} k x^2`}\n

    \n
    \n \n

    \n Forze conservative\n

    \n

    \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n

    \n

    \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n

    \n

    \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n

    \n

    \n {r`E = E_k + E_p`}\n

    \n
    \n \n

    \n Potenza\n

    \n

    \n È la velocità di trasferimento di energia:\n

    \n

    \n {r`P = \\frac{\\Delta E}{\\Delta t}`}\n

    \n
    \n
    \n

    \n Elettrostatica\n

    \n \n \n

    \n Carica elettrica\n

    \n

    \n È una proprietà dei corpi che può essere positiva o negativa.\n

    \n

    \n Si conserva: in un sistema chiuso la carica totale è costante.\n

    \n

    \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`}.\n

    \n

    \n Cariche opposte si attraggono; cariche uguali si respingono.\n

    \n
    \n \n

    \n Conduttori e isolanti\n

    \n

    \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n

    \n

    \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n

    \n

    \n Il corpo umano è un buon conduttore.\n

    \n
    \n
    \n

    \n Polarizzazione\n

    \n \n \n

    \n Polarizzazione\n

    \n

    \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n

    \n
    \n
    \n \n \n

    \n Messa a terra\n

    \n

    \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n

    \n
    \n
    \n \n \n

    \n Polarizzazione per strofinio\n

    \n

    \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n

    \n
    \n \n

    \n Polarizzazione per contatto\n

    \n

    \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n

    \n
    \n \n

    \n Polarizzazione per induzione\n

    \n

    \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n

    \n

    \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n

    \n

    \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n

    \n
    \n
    \n

    \n Forza elettrica\n

    \n \n \n

    \n Legge di Coulomb\n

    \n

    \n Due corpi carichi si attraggono tra loro con forza: \n

    \n

    \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`}\n

    \n

    \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`}.\n

    \n
    \n \n

    \n Permeabilità dello spazio vuoto\n

    \n

    \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`}, la permeabilità del vuoto.\n

    \n

    \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`}\n

    \n

    \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`}\n

    \n
    \n \n

    \n Campo elettrico\n

    \n

    \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n

    \n

    \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`}\n

    \n
    \n \n

    \n Flusso elettrico\n

    \n

    \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n

    \n

    \n È proporzionale alla intensità del campo, alla dimensione dell'area scelta e a come l'area è disposta rispetto alla direzione del campo.\n

    \n

    \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n

    \n

    \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{S} = E \\cdot S \\cdot \\cos(\\phi)`}\n

    \n

    \n (dove {r`\\vec{S}`} è il vettore dell'area che abbiamo scelto.)\n

    \n
    \n \n

    \n Legge di Gauss\n

    \n

    \n Il flusso elettrico uscente da una superficie è proporzionale alla carica presente al suo interno.\n

    \n

    \n {r`\\Phi_E = \\frac{q_{interna}}{\\epsilon_0}`}\n

    \n

    \n E' equivalente alla Legge di Coulomb.\n

    \n
    \n
    \n

    \n Energia elettrica\n

    \n \n \n

    \n Energia potenziale elettrica\n

    \n

    \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`}.\n

    \n
    \n
    \n

    \n Circuiti elettrici\n

    \n \n \n

    \n Potenziale elettrico (Tensione)\n

    \n

    \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n

    \n

    \n {r`V = \\frac{E_{elettrica}}{q}`}\n

    \n

    \n La sua unità di misura è il Volt ({r`V`}).\n

    \n

    \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n

    \n
    \n \n

    \n Corrente elettrica (Intensità)\n

    \n

    \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n

    \n

    \n {r`I = \\frac{\\Delta q}{\\Delta t}`}\n

    \n

    \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n

    \n

    \n La sua unità di misura è l'Ampere ({r`A`}).\n

    \n
    \n \n

    \n Corrente continua (DC)\n

    \n

    \n Quando in un circuito la direzione della corrente è costante.\n

    \n
    \n \n

    \n Corrente alternata (AC)\n

    \n

    \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n

    \n
    \n \n

    \n Potenza elettrica\n

    \n

    \n Possiamo calcolare la potenza di un circuito:\n

    \n

    \n {r`P = \\frac{\\Delta U}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`}\n

    \n
    \n
    \n

    \n Elementi di un circuito\n

    \n \n \n

    \n Resistore\n

    \n

    \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n

    \n

    \n Il potenziale utilizzato è pari a:\n

    \n

    \n {r`V = R \\cdot I`}\n

    \n

    \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`}).\n

    \n

    \n La resistenza di un conduttore vale:\n

    \n

    \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`}\n

    \n

    \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n

    \n

    \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`}\n

    \n
    \n \n

    \n Condensatore\n

    \n

    \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n

    \n

    \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n

    \n

    \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n

    \n

    \n {r`C = \\frac{q_{massima}}{\\Delta V}`}\n

    \n

    \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n

    \n

    \n La capacità aumenta se viene messo qualcosa tra le armature:\n

    \n

    \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`}\n

    \n

    \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`d`} la distanza tra le due armature.\n

    \n

    \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n

    \n

    \n La sua unità di misura è il Farad ({r`Fa`})\n

    \n
    \n \n

    \n Amperometro\n

    \n

    \n Misura la corrente elettrica se messo in serie.\n

    \n

    \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n

    \n
    \n \n

    \n Voltmetro\n

    \n

    \n Misura la differenza di potenziale se messo in parallelo.\n

    \n

    \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n

    \n
    \n
    \n

    \n Principi di Kirchhoff\n

    \n \n \n

    \n Legge dei nodi\n

    \n

    \n Per nodo si intende un qualsiasi punto del circuito.\n

    \n

    \n Da un nodo entra ed esce la stessa corrente.\n

    \n
    \n \n

    \n Legge delle maglie\n

    \n

    \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n

    \n

    \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n

    \n
    \n
    \n

    \n Serie e Parallelo\n

    \n \n \n

    \n Circuito in serie\n

    \n

    \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n

    \n

    \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n

    \n
    \n \n

    \n Circuito in parallelo\n

    \n

    \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n

    \n

    \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n

    \n
    \n
    \n

    \n Resistenze equivalenti\n

    \n \n \n

    \n Circuiti in serie\n

    \n

    \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dal valore della somma di tutte le quelle sostituite:\n

    \n

    \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`}\n

    \n
    \n \n

    \n Circuiti in parallelo\n

    \n

    \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dal valore di:\n

    \n

    \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`}\n

    \n
    \n
    \n

    \n Condensatori equivalenti\n

    \n \n \n

    \n Circuiti in serie\n

    \n

    \n Nei circuiti in serie, tutte i condensatori possono essere sostituiti con uno equivalente dal valore di:\n

    \n

    \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`}\n

    \n
    \n \n

    \n Circuiti in parallelo\n

    \n

    \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dal valore della somma della capacità di tutti quelli sostituiti:\n

    \n

    \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`}\n

    \n
    \n
    \n

    \n Magnetismo\n

    \n \n \n

    \n Campo magnetico\n

    \n

    \n Come un campo elettrico, ma per i magneti.\n

    \n

    \n B\n

    \n

    \n La sua unità di misura è il Tesla (T).\n

    \n
    \n \n

    \n Flusso magnetico\n

    \n

    \n Come il flusso elettrico, ma per campi magnetici.\n

    \n
    \n \n

    \n Legge di Gauss per il magnetismo\n

    \n

    \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n

    \n
    \n
    \n \n \n

    \n Forza magnetica su carica puntiforme\n

    \n

    \n Anche detta forza di Lorentz.\n

    \n

    \n I campi magnetici applicano una forza sulle cariche vicine:\n

    \n

    \n {r`\\vec{F}_{magnetica} = q \\cdot (\\vec{v} \\times \\vec{B})`}\n

    \n

    \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n

    \n

    \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n

    \n

    \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n

    \n
    \n \n

    \n Forza magnetica in un filo\n

    \n

    \n I campi magnetici influenzano anche le cariche presenti in un conduttore:\n

    \n

    \n {r`\\vec{F} = I \\cdot (\\vec{L} \\times \\vec{B})`}\n

    \n
    \n
    \n
    \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./copyright.css\";\nimport { Component } from 'preact';\n\nexport default class Copyright extends Component {\n\trender() {\n\t\treturn
    © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente
    ;\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import './index.css';\nimport { Component } from 'preact';\nimport Algoritmi from './pages/algoritmi';\nimport Fisica from './pages/fisica';\nimport Copyright from './components/copyright';\n\nconst r = String.raw;\n\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t
    \n\t\t\t\t\n\t\t\t\t\n\t\t\t
    \n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C{r`\vec{a}`} su {r`\vec{b}`}.

    + +

    + Prodotto vettoriale +

    +

    + Si chiama vettoriale perchè il risultato è un altro vettore. +

    +
      +
    • {r`\vec{c} = \vec{a} \times \vec{b}`}
    • +
    • {r`\left | \vec{c} \right | = \left | \vec{a} \right | \cdot \left | \vec{b} \right | \cdot \sin(\alpha)`}
    • +
    • Regola della mano destra
    • +
    +

    + Non è commutativo! +

    +

    Leggi di Newton @@ -966,10 +982,10 @@ export default class Fisica extends Component { Amperometro

    - Misura la corrente elettrica se messo in serie al componente da misurare. + Misura la corrente elettrica se messo in serie.

    - (Funzionamento: ha una resistenza interna bassisima che non influisce significativamente sulla corrente.) + (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)

    @@ -977,7 +993,10 @@ export default class Fisica extends Component { Voltmetro

    - Cos'è? + Misura la differenza di potenziale se messo in parallelo. +

    +

    + (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)

    @@ -990,7 +1009,7 @@ export default class Fisica extends Component { Legge dei nodi

    - Cos'è un nodo? + Per nodo si intende un qualsiasi punto del circuito.

    Da un nodo entra ed esce la stessa corrente. @@ -1001,7 +1020,7 @@ export default class Fisica extends Component { Legge delle maglie

    - Cos'è una maglia? + Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.

    In una maglia chiusa, la somma delle differenze di potenziale è 0. @@ -1089,6 +1108,104 @@ export default class Fisica extends Component {

    +

    + Magnetismo +

    + + +

    + Campo magnetico +

    +

    + Come un campo elettrico, ma per i magneti. +

    +

    + B +

    +

    + La sua unità di misura è il Tesla (T). +

    +
    + +

    + Flusso magnetico +

    +

    + Come il flusso elettrico, ma per campi magnetici. +

    +
    + +

    + Legge di Gauss per il magnetismo +

    +

    + Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo. +

    +
    +
    + + +

    + Forza magnetica su carica puntiforme +

    +

    + Anche detta forza di Lorentz. +

    +

    + I campi magnetici applicano una forza sulle cariche vicine: +

    +

    + {r`\vec{F}_{magnetica} = q \cdot (\vec{v} \times \vec{B})`} +

    +

    + Dove {r`\vec{B}`} è l'intensità del campo magnetico e {r`\vec{v}`} la velocità della carica considerata. +

    +

    + Si ha una forza massima se la velocità è perpendicolare al campo magnetico. +

    +

    + In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme. +

    +
    + +

    + Forza magnetica in un filo +

    +

    + I campi magnetici influenzano anche le cariche presenti in un conduttore: +

    +

    + {r`\vec{F} = I \cdot (\vec{L} \times \vec{B})`} +

    +
    +
    +

    + Campi magnetici +

    + + +

    + Campo magnetico in una spira +

    +

    + Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira. +

    +
    + +

    + Campo magnetico di un solenoide +

    +

    + Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro. +

    +

    + All'interno del solenoide si crea un campo (quasi) uniforme: +

    +

    + {r`B = \mu_0 \cdot I \cdot \frac{A_{vvolgimenti}}{L_unghezzafilo}`} +

    +
    +
    ) }