{"version":3,"sources":["../../src/js/toastr.js"],"names":["i","toastCount","$toastlast","getMessage","msgs","length","getMessageWithClearButton","msg","$","click","shortCutFunction","val","title","$showDuration","$hideDuration","$timeOut","$extendedTimeOut","$showEasing","$hideEasing","$showMethod","$hideMethod","toastIndex","addClear","prop","toastr","options","closeButton","debug","newestOnTop","progressBar","positionClass","preventDuplicates","onclick","alert","showDuration","hideDuration","timeOut","extendedTimeOut","showEasing","hideEasing","showMethod","hideMethod","tapToDismiss","text","JSON","stringify","$toast","find","delegate","remove","clear","force","getLastToast"],"mappings":"AAAA;;AAEA;;;;;;;AAOA;AACA,IAAIA,CAAC,GAAG,CAAC,CAAT;AACA,IAAIC,UAAU,GAAG,CAAjB;AACA,IAAIC,UAAJ;;AAEA,IAAMC,UAAU,GAAG,SAAbA,UAAa,GAAM;AACvB,MAAMC,IAAI,GAAG,CACX,iEADW,EAEX,4TAFW,EAGX,+BAHW,EAIX,gBAJW,EAKX,oDALW,EAMX,+BANW,CAAb;AAQAJ,EAAAA,CAAC;;AACD,MAAIA,CAAC,KAAKI,IAAI,CAACC,MAAf,EAAuB;AACrBL,IAAAA,CAAC,GAAG,CAAJ;AACD;AACF,CAbD;;AAeA,IAAMM,yBAAyB,GAAG,SAA5BA,yBAA4B,CAACC,GAAD,EAAS;AACzCA,EAAAA,GAAG,GAAGA,GAAG,GAAGA,GAAH,GAAS,eAAlB;AACAA,EAAAA,GAAG,IAAI,kEAAP;AACA,SAAOA,GAAP;AACD,CAJD,C,CAMA;;;AACAC,CAAC,CAAC,YAAD,CAAD,CAAgBC,KAAhB,CAAsB,YAAM;AAC1B,MAAMC,gBAAgB,GAAGF,CAAC,CAAC,qCAAD,CAAD,CAAyCG,GAAzC,EAAzB;AACA,MAAIJ,GAAG,GAAGC,CAAC,CAAC,UAAD,CAAD,CAAcG,GAAd,EAAV;AACA,MAAMC,KAAK,GAAGJ,CAAC,CAAC,QAAD,CAAD,CAAYG,GAAZ,MAAqB,EAAnC;AACA,MAAME,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D,MAAIyB,MAAM,CAACC,IAAP,CAAY,QAAZ,EAAsB1C,MAA1B,EAAkC;AAChCyC,IAAAA,MAAM,CAACE,QAAP,CAAgB,QAAhB,EAA0B,OAA1B,EAAmC,YAAM;AACvCxB,MAAAA,MAAM,CAAC0B,KAAP,CAAaJ,MAAb,EAAqB;AACnBK,QAAAA,KAAK,EAAE;AADY,OAArB;AAGD,KAJD;AAKD;AACF,CAvGD;;AAyGA,IAAMC,YAAY,GAAG,SAAfA,YAAe;AAAA,SAAMlD,UAAN;AAAA,CAArB;;AAEAM,CAAC,CAAC,iBAAD,CAAD,CAAqBC,KAArB,CAA2B,YAAM;AAC/Be,EAAAA,MAAM,CAAC0B,KAAP,CAAaE,YAAY,EAAzB;AACD,CAFD;AAIA5C,CAAC,CAAC,cAAD,CAAD,CAAkBC,KAAlB,CAAwB,YAAM;AAC5Be,EAAAA,MAAM,CAAC0B,KAAP;AACD,CAFD","sourcesContent":["/* global toastr */\n\n/**\n * --------------------------------------------------------------------------\n * CoreUI Pro Boostrap Admin Template (3.0.0-beta.1): toastr.js\n * Licensed under MIT (https://coreui.io/license)\n * --------------------------------------------------------------------------\n */\n\n/* eslint-disable no-magic-numbers, no-unused-vars */\nlet i = -1\nlet toastCount = 0\nlet $toastlast\n\nconst getMessage = () => {\n const msgs = [\n 'My name is Inigo Montoya. You killed my father. Prepare to die!',\n '
',\n 'Are you the six fingered man?',\n 'Inconceivable!',\n 'I do not think that means what you think it means.',\n 'Have fun storming the castle!'\n ]\n i++\n if (i === msgs.length) {\n i = 0\n }\n}\n\nconst getMessageWithClearButton = (msg) => {\n msg = msg ? msg : 'Clear itself?'\n msg += '