{"version":3,"sources":["chartist-plugin-legend.js"],"names":["root","factory","define","amd","chartist","returnExportsGlobal","exports","module","require","Chartist","this","defaultOptions","className","legendNames","clickable","plugins","legend","options","extend","chart","existingLegendElement","container","querySelector","parentNode","removeChild","data","series","forEach","seriesIndex","classNames","alphaNumerate","legendElement","document","createElement","Pie","classList","add","length","removedSeries","originalSeries","slice","labels","i","li","setAttribute","textContent","name","appendChild","addEventListener","e","target","hasAttribute","preventDefault","parseInt","getAttribute","removedSeriesIndex","indexOf","splice","remove","push","seriesCopy","sort","reverse","update"],"mappings":"CAAC,SAAUA,EAAMC,GACS,kBAAXC,SAAyBA,OAAOC,IAEvCD,QAAQ,YAAa,SAAUE,GAC3B,MAAQJ,GAAKK,oBAAsBJ,EAAQG,KAErB,gBAAZE,SAIdC,OAAOD,QAAUL,EAAQO,QAAQ,aAEjCR,EAAK,2BAA6BC,EAAQD,EAAKS,WAErDC,KAAM,SAAUD,GAKd,YAEA,IAAIE,IACAC,UAAW,GACXC,aAAa,EACbC,WAAW,EAsGf,OAnGAL,GAASM,QAAUN,EAASM,YAE5BN,EAASM,QAAQC,OAAS,SAAUC,GAIhC,MAFAA,GAAUR,EAASS,UAAWP,EAAgBM,GAEvC,SAAgBE,GACnB,GAAIC,GAAwBD,EAAME,UAAUC,cAAc,aACtDF,IAEAA,EAAsBG,WAAWC,YAAYJ,GAK7CH,EAAQH,WACRK,EAAMM,KAAKC,OAAOC,QAAQ,SAAUD,EAAQE,GAClB,gBAAXF,KACPA,GACID,KAAMC,IAIdA,EAAOd,UAAYc,EAAOd,WAAaO,EAAMF,QAAQY,WAAWH,OAAS,IAAMjB,EAASqB,cAAcF,IAI9G,IAAIG,GAAgBC,SAASC,cAAc,KAC3CF,GAAcnB,UAAY,YACtBO,YAAiBV,GAASyB,KAC1BH,EAAcI,UAAUC,IAAI,oBAEC,gBAAtBnB,GAAQL,WAA0BK,EAAQL,UAAUyB,OAAS,GACpEN,EAAcI,UAAUC,IAAInB,EAAQL,UA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