CARVIEW |
Select Language
HTTP/2 301
location: https://raw.githubusercontent.com/nbubna/Case/master/dist/Case.min.js
accept-ranges: bytes
age: 0
date: Wed, 23 Jul 2025 15:00:30 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210082-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753282829.431342,VS0,VE968
vary: Accept-Encoding
x-fastly-request-id: cb16a2fac52086e938bfb5ee4e661e4c874e6b06
content-length: 0
HTTP/2 200
cache-control: max-age=300
content-security-policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
content-type: text/plain; charset=utf-8
etag: W/"8f4355a4817b03c190c52881aaddf469036cec96f37740cf4f1c084b32efeb55"
strict-transport-security: max-age=31536000
x-content-type-options: nosniff
x-frame-options: deny
x-xss-protection: 1; mode=block
x-github-request-id: A6E8:181DD:163866:3274C3:6880F90D
content-encoding: gzip
accept-ranges: bytes
date: Wed, 23 Jul 2025 15:00:30 GMT
via: 1.1 varnish
x-served-by: cache-bom-vanm7210077-BOM
x-cache: MISS
x-cache-hits: 0
x-timer: S1753282830.447924,VS0,VE250
vary: Authorization,Accept-Encoding
access-control-allow-origin: *
cross-origin-resource-policy: cross-origin
x-fastly-request-id: 3eb899a75141054d00d5f2e8777e674ac95185dd
expires: Wed, 23 Jul 2025 15:05:30 GMT
source-age: 0
content-length: 1359
/*! case - v1.6.3 - 2020-03-24
* Copyright (c) 2020 Nathan Bubna; Licensed (MIT OR GPL-3.0-or-later) */
(function(){"use strict";function e(e,n){return n=n||"",e.replace(/(^|-)/g,"$1\\u"+n).replace(/,/g,"\\u"+n)}function n(e,n,r,t){return e=e||l,n=n||p,r=r||o,t=t||"A|An|And|As|At|But|By|En|For|If|In|Of|On|Or|The|To|Vs?\\.?|Via",{capitalize:new RegExp("(^|["+e+"])(["+n+"])","g"),pascal:new RegExp("(^|["+e+"])+(["+n+r+"])","g"),fill:new RegExp("["+e+"]+(.|$)","g"),sentence:new RegExp('(^\\s*|[\\?\\!\\.]+"?\\s+"?|,\\s+")(['+n+"])","g"),improper:new RegExp("\\b("+t+")\\b","g"),relax:new RegExp("([^"+r+"])(["+r+"]*)(["+r+"])(?=[^"+r+"]|$)","g"),upper:new RegExp("^[^"+n+"]+$"),hole:/[^\s]\s[^\s]/,apostrophe:/'/g,room:new RegExp("["+e+"]")}}var l=e("20-26,28-2F,3A-40,5B-60,7B-7E,A0-BF,D7,F7","00"),p="a-z"+e("DF-F6,F8-FF","00"),o="A-Z"+e("C0-D6,D8-DE","00"),u=n(),c={re:u,unicodes:e,regexps:n,types:[],up:String.prototype.toUpperCase,low:String.prototype.toLowerCase,cap:function(e){return c.up.call(e.charAt(0))+e.slice(1)},decap:function(e){return c.low.call(e.charAt(0))+e.slice(1)},deapostrophe:function(e){return e.replace(u.apostrophe,"")},fill:function(e,r,n){return null!=r&&(e=e.replace(u.fill,function(e,n){return n?r+n:""})),n&&(e=c.deapostrophe(e)),e},prep:function(e,n,r,t){if(e=null==e?"":e+"",!t&&u.upper.test(e)&&(e=c.low.call(e)),!n&&!u.hole.test(e)){var l=c.fill(e," ");u.hole.test(l)&&(e=l)}return r||u.room.test(e)||(e=e.replace(u.relax,c.relax)),e},relax:function(e,n,r,t){return n+" "+(r?r+" ":"")+t}},t={_:c,of:function(e){for(var n=0,r=c.types.length;n