{"version":3,"sources":["jsdelivr-header.js","/npm/lettering.js@0.8.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;CCOC,SAAU,GACT,aACsB,mBAAX,QAAyB,OAAO,IACzC,OAAO,CAAC,UAAW,GACS,oBAAZ,QAChB,OAAO,QAAU,EAAQ,QAAQ,WAEjC,EAAQ,OAEZ,CATA,EASE,SAAU,GACV,SAAS,EAAU,EAAG,EAAU,EAAO,GACrC,IAAI,EAAO,EAAE,OACT,EAAI,EAAK,MAAM,GACf,EAAS,GACT,EAAE,SACJ,EAAE,GAAG,MAAK,SAAU,EAAG,GACrB,GAAU,gBAAkB,GAAS,EAAI,GAAK,wBAA0B,EAAO,UAAY,CAC7F,IACA,EAAE,KAAK,aAAc,GAClB,QACA,OAAO,GAEd,CAEA,IAAI,EAAU,CACZ,KAAM,WACJ,OAAO,KAAK,MAAK,WACf,EAAS,EAAE,MAAO,GAAI,OAAQ,GAChC,GACF,EAEA,MAAO,WACL,OAAO,KAAK,MAAK,WACf,EAAS,EAAE,MAAO,IAAK,OAAQ,IACjC,GACF,EAEA,MAAO,WACL,OAAO,KAAK,MAAK,WACf,IAAI,EAAI,mCAKR,EAAS,EAAE,MAAM,SAAS,MAAM,YAAY,GAAG,MAAO,EAAG,OAAQ,GACnE,GACF,GAGF,EAAE,GAAG,UAAY,SAAU,GAEzB,OAAI,GAAU,EAAQ,GACb,EAAS,GAAS,MAAM,KAAM,GAAG,MAAM,KAAK,UAAW,IAC1C,YAAX,GAAyB,GAGpC,EAAE,MAAM,UAAY,EAAS,uCACtB,MAHE,EAAQ,KAAK,MAAM,KAAM,GAAG,MAAM,KAAK,UAAW,GAI7D,CACF","file":"/npm/lettering.js@0.8.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/lettering.js@0.8.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/* global jQuery, define */\n/*!\n * Lettering.JS 0.7.0\n *\n * Copyright 2010, Dave Rupert http://daverupert.com\n * Released under the WTFPL license\n * http://sam.zoy.org/wtfpl/\n *\n * Thanks to Paul Irish - http://paulirish.com - for the feedback.\n *\n * Date: Mon Sep 20 17:14:00 2010 -0600\n */\n\n(function (factory) {\n  'use strict'\n  if (typeof define === 'function' && define.amd) {\n    define(['jquery'], factory)\n  } else if (typeof exports !== 'undefined') {\n    module.exports = factory(require('jquery'))\n  } else {\n    factory(jQuery)\n  }\n}(function ($) {\n  function injector (t, splitter, klass, after) {\n    var text = t.text()\n    var a = text.split(splitter)\n    var inject = ''\n    if (a.length) {\n      $(a).each(function (i, item) {\n        inject += '<span class=\"' + klass + (i + 1) + '\" aria-hidden=\"true\">' + item + '</span>' + after\n      })\n      t.attr('aria-label', text)\n        .empty()\n        .append(inject)\n    }\n  }\n\n  var methods = {\n    init: function () {\n      return this.each(function () {\n        injector($(this), '', 'char', '')\n      })\n    },\n\n    words: function () {\n      return this.each(function () {\n        injector($(this), ' ', 'word', ' ')\n      })\n    },\n\n    lines: function () {\n      return this.each(function () {\n        var r = 'eefec303079ad17405c889e092e105b0'\n        // Because it's hard to split a <br/> tag consistently across browsers,\n        // (*ahem* IE *ahem*), we replace all <br/> instances with an md5 hash\n        // (of the word \"split\").  If you're trying to use this plugin on that\n        // md5 hash string, it will fail because you're being ridiculous.\n        injector($(this).children('br').replaceWith(r).end(), r, 'line', '')\n      })\n    }\n  }\n\n  $.fn.lettering = function (method) {\n    // Method calling logic\n    if (method && methods[method]) {\n      return methods[ method ].apply(this, [].slice.call(arguments, 1))\n    } else if (method === 'letters' || !method) {\n      return methods.init.apply(this, [].slice.call(arguments, 0)) // always pass an array\n    }\n    $.error('Method ' + method + ' does not exist on jQuery.lettering')\n    return this\n  }\n}))\n"]}