String.prototype.toHankakuCase=function(){var C,B=this.length,A=[];while(B--){C=A[B]=this.charCodeAt(B);while(B--){C=A[B]=this.charCodeAt(B);switch(true){case (65281<=C&&C<=65374):A[B]-=65248;break;case (C==12288):A[B]=32;break}}}return String.fromCharCode.apply(null,A)};String.prototype.toHankanaCase=function(){var C,D,E,A,B=[];A={12449:65383,12451:65384,12453:65385,12455:65386,12457:65387,12540:65392,12450:65393,12452:65394,12454:65395,12456:65396,12458:65397,12459:65398,12461:65399,12463:65400,12465:65401,12467:65402,12469:65403,12471:65404,12473:65405,12475:65406,12477:65407,12479:65408,12481:65409,12484:65410,12486:65411,12488:65412,12490:65413,12491:65414,12492:65415,12493:65416,12494:65417,12495:65418,12498:65419,12501:65420,12504:65421,12507:65422,12510:65423,12511:65424,12512:65425,12513:65426,12514:65427,12516:65428,12518:65429,12520:65429,12521:65431,12522:65432,12523:65433,12524:65434,12525:65435,12527:65436,12530:65382,12531:65437,12483:65391};for(C=0,D=this.length;C<D;){E=this.charCodeAt(C++);switch(true){case (E in A):B.push(A[E]);break;case (12459<=E&&E<=12489):B.push(A[E-1],65438);break;case (12495<=E&&E<=12509):B.push(A[E-E%3],[65438,65439][E%3-1]);break;default:B.push(E);break}}return String.fromCharCode.apply(null,B)};String.prototype.toHiraganaCase=function(){var C,B=this.length,A=[];while(B--){C=this.charCodeAt(B);A[B]=(12449<=C&&C<=12534)?C-96:C}return String.fromCharCode.apply(null,A)};String.prototype.toKatakanaCase=function(){var C,B=this.length,A=[];while(B--){C=this.charCodeAt(B);A[B]=(12353<=C&&C<=12438)?C+96:C}return String.fromCharCode.apply(null,A)};String.prototype.toPaddingCase=function(){var B,D,C,A=[];for(B=0,C=this.length;B<C;B++){D=this.charCodeAt(B);switch(true){case (12363<=D&&D<=12386&&(D%2==1)):case (12459<=D&&D<=12482&&(D%2==1)):case (12388<=D&&D<=12393&&(D%2==0)):case (12484<=D&&D<=12489&&(D%2==0)):A.push(D+({12443:1}[this.charCodeAt(B+1)]||0));if(A[A.length-1]!=D){B++}break;case (12399<=D&&D<=12413&&(D%3==0)):case (12495<=D&&D<=12509&&(D%3==0)):A.push(D+({12443:1,12444:2}[this.charCodeAt(B+1)]||0));if(A[A.length-1]!=D){B++}break;default:A.push(D);break}}return String.fromCharCode.apply(null,A)};String.prototype.toZenkakuCase=function(){var C,B=this.length,A=[];while(B--){C=A[B]=this.charCodeAt(B);switch(true){case (C<=126&&33<=C):A[B]+=65248;break;case (C==32):A[B]=12288;break}}return String.fromCharCode.apply(null,A)};String.prototype.toZenkanaCase=function(){var C,D,E,A,B=[];A={65383:12449,65384:12451,65385:12453,65386:12455,65387:12457,65392:12540,65393:12450,65394:12452,65395:12454,65396:12456,65397:12458,65398:12459,65399:12461,65400:12463,65401:12465,65402:12467,65403:12469,65404:12471,65405:12473,65406:12475,65407:12477,65408:12479,65409:12481,65410:12484,65411:12486,65412:12488,65413:12490,65414:12491,65415:12492,65416:12493,65417:12494,65418:12495,65419:12498,65420:12501,65421:12504,65422:12507,65423:12510,65424:12511,65425:12512,65426:12513,65427:12514,65428:12516,65429:12518,65429:12520,65431:12521,65432:12522,65433:12523,65434:12524,65435:12525,65436:12527,65437:12531,65438:12443,65439:12444,65382:12530};for(C=0,D=this.length;C<D;C++){E=this.charCodeAt(C);B.push(A[E]||E)}return String.fromCharCode.apply(null,B)};