UNPKG

@localazy/cli

Version:

This package is Localazy CLI tool for app and software localization and translation.

1 lines 3.94 kB
((t,_)=>{var n,e,$=Math.imul,r=_.$_$.i,i=_.$_$.g7,a=_.$_$.td,o=_.$_$.sd,s=_.$_$.rh,u=_.$_$.sc,h=_.$_$.f,f=_.$_$.nj,c=_.$_$.c7,d=_.$_$.d7,k=_.$_$.f2,g=_.$_$.xd,l=_.$_$.w1,w=_.$_$.o6,p=_.$_$.p5,y=_.$_$.i3,b=_.$_$.j3,x=_.$_$.gc,z=_.$_$.j1,I=_.$_$.v2,B=_.$_$.yi,S=_.$_$.rc,m=_.$_$.rf,A=_.$_$.ti,_=_.$_$.xc;function T(t,_,n){return t=t,_=_,n=n,e=o(a(v)),n=n===r?t.length:n,v.call(e,i(t,_=_===r?0:_,n),null),e;var e}function q(){(n=this).EMPTY_1=new v(new Int8Array(0)),this.HEX_DIGITS_1=s("0123456789abcdef")}function j(){return null==n&&new q,n}function v(t,_){j(),this.data_1=t,this.hashCode_2=0}function C(){}function E(){e=this}u(q),S(v,"ByteString",r,r,[B]),S(C,"UnsafeByteStringApi",r,r,[A]),_(E,"UnsafeByteStringOperations"),a(q).get_EMPTY_2we6ee_k$=function(){return this.EMPTY_1},a(q).wrap_yhiemk_k$=function(t){return new v(t)},a(v).get_size_woubt6_k$=function(){return this.data_1.length},a(v).equals=function(t){return this===t||!(null==t||!h(this).equals(h(t))||(t instanceof v||f(),t.data_1.length!==this.data_1.length)||0!==t.hashCode_2&&0!==this.hashCode_2&&t.hashCode_2!==this.hashCode_2)&&c(this.data_1,t.data_1)},a(v).hashCode=function(){var t=this.hashCode_2;return 0===t&&(t=d(this.data_1),this.hashCode_2=t),t},a(v).get_c1px32_k$=function(t){if(t<0||t>=this.get_size_woubt6_k$())throw k("index ("+t+") is out of byte string bounds: [0.."+this.get_size_woubt6_k$()+")");return this.data_1[t]},a(v).toByteArray_q2o6eu_k$=function(t,_){if(t<=_)return i(this.data_1,t,_);throw l(g("startIndex ("+t+") > endIndex ("+_+")"))},a(v).toByteArray$default_jc5aj_k$=function(t,_,n){return t=t===r?0:t,_=_===r?this.get_size_woubt6_k$():_,n===r?this.toByteArray_q2o6eu_k$(t,_):n.toByteArray_q2o6eu_k$.call(this,t,_)},a(v).copyInto_wpxnot_k$=function(t,_,n,e){if(!(n<=e))throw l(g("startIndex ("+n+") > endIndex ("+e+")"));var i=this.data_1;w(i,t,_,n,e)},a(v).copyInto$default_jhe2in_k$=function(t,_,n,e,i){return _=_===r?0:_,n=n===r?0:n,e=e===r?this.get_size_woubt6_k$():e,i===r?(this.copyInto_wpxnot_k$(t,_,n,e),p()):i.copyInto_wpxnot_k$.call(this,t,_,n,e)},a(v).substring_d7lab3_k$=function(t,_){t=t===_?j().EMPTY_1:T(this.data_1,t,_);return t},a(v).substring$default_i6q0hx_k$=function(t,_,n){return _=_===r?this.get_size_woubt6_k$():_,n===r?this.substring_d7lab3_k$(t,_):n.substring_d7lab3_k$.call(this,t,_)},a(v).compareTo_yqa6ez_k$=function(t){if(t===this)return 0;var _=this.data_1,n=t.data_1,e=0,i=this.get_size_woubt6_k$(),r=t.get_size_woubt6_k$(),a=Math.min(i,r);if(e<a)do{var $=e,e=e+1|0,o=_[$],o=y(o),$=n[$],$=y($),o=255&b(o),$=255&b($),o=x(o,$);if(0!==o)return o}while(e<a);return x(this.get_size_woubt6_k$(),t.get_size_woubt6_k$())},a(v).compareTo_hpufkf_k$=function(t){return this.compareTo_yqa6ez_k$(t instanceof v?t:f())},a(v).toString=function(){if(0===this.get_size_woubt6_k$())return"ByteString(size=0)";var t=this.get_size_woubt6_k$().toString(),_=(22+t.length|0)+$(this.get_size_woubt6_k$(),2)|0,n=z(_),e=(n.append_22ad7x_k$("ByteString(size="),n.append_22ad7x_k$(t),n.append_22ad7x_k$(" hex="),this.data_1),i=0,r=this.get_size_woubt6_k$();if(i<r)do{var a=i,i=i+1|0,a=e[a]}while(n.append_am5a4z_k$(j().HEX_DIGITS_1[15&(a>>>4|0)]),n.append_am5a4z_k$(j().HEX_DIGITS_1[15&a]),i<r);return n.append_am5a4z_k$(I(41)).toString()},a(v).getBackingArrayReference_x19ruh_k$=function(){return this.data_1},a(C).equals=function(t){return t instanceof C&&(t instanceof C||f(),!0)},a(C).hashCode=function(){return 0},a(C).toString=function(){return"@kotlinx.io.bytestring.unsafe.UnsafeByteStringApi()"},a(E).wrapUnsafe_3fobxs_k$=function(t){return j().wrap_yhiemk_k$(t)},a(E).withByteArrayUnsafe_wjoldj_k$=function(t,_){_(t.getBackingArrayReference_x19ruh_k$())},t.$_$=t.$_$||{},t.$_$.a=T,t.$_$.b=function(){return null==e&&new E,e},t.$_$.c=function(t){return t=0===t.length?j().EMPTY_1:j().wrap_yhiemk_k$(t)},t.$_$.d=function(t){return m(t.getBackingArrayReference_x19ruh_k$())}})(module.exports,require("./kotlin-kotlin-stdlib.js"));