text: !function(){var t,l,c,e,r,h,d,f,p,y,m,g,x,v,w,Q,k,S,E,L,b,P,T,O,I,i,n,z=function(e){var t=new z.Builder;return t.pipeline.add(z.trimmer,z.stopWordFilter,z.stemmer),t.searchPipeline.add(z.stemmer),e.call(t,t),t.build()};function s(e){var t,r,i,n,s,o,a;if(e.length<3)return e;if("y"==(i=e.substr(0,1))&&(e=i.toUpperCase()+e.substr(1)),s=m,(n=y).test(e)?e=e.replace(n,"$1$2"):s.test(e)&&(e=e.replace(s,"$1$2")),s=x,(n=g).test(e)){var u=n.exec(e);(n=h).test(u[1])&&(n=v,e=e.replace(n,""))}else if(s.test(e)){t=(u=s.exec(e))[1],(s=p).test(t)&&(o=Q,a=k,(s=w).test(e=t)?e+="e":o.test(e)?(n=v,e=e.replace(n,"")):a.test(e)&&(e+="e"))}if((n=S).test(e)&&(e=(t=(u=n.exec(e))[1])+"i"),(n=E).test(e)&&(t=(u=n.exec(e))[1],r=u[2],(n=h).test(t)&&(e=t+l[r])),(n=L).test(e)&&(t=(u=n.exec(e))[1],r=u[2],(n=h).test(t)&&(e=t+c[r])),s=P,(n=b).test(e))t=(u=n.exec(e))[1],(n=d).test(t)&&(e=t);else if(s.test(e)){t=(u=s.exec(e))[1]+u[2],(s=d).test(t)&&(e=t)}return(n=T).test(e)&&(t=(u=n.exec(e))[1],s=f,o=I,((n=d).test(t)||s.test(t)&&!o.test(t))&&(e=t)),s=d,(n=O).test(e)&&s.test(e)&&(n=v,e=e.replace(n,"")),"y"==i&&(e=i.toLowerCase()+e.substr(1)),e}z.version="2.3.8",z.utils={},z.utils.warn=(t=this,function(e){t.console&&console.warn&&console.warn(e)}),z.utils.asString=function(e){return null==e?"":e.toString()},z.utils.clone=function(e){if(null==e)return e;for(var t=Object.create(null),r=Object.keys(e),i=0;i<r.length;i++){var n=r[i],s=e[n];if(Array.isArray(s))t[n]=s.slice();else{if("string"!=typeof s&&"number"!=typeof s&&"boolean"!=typeof s)throw new TypeError("clone is not deep and does not support nested objects");t[n]=s}}return t},z.FieldRef=function(e,t,r){this.docRef=e,this.fieldName=t,this._stringValue=r},z.FieldRef.joiner="/",z.FieldRef.fromString=function(e){var t=e.indexOf(z.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var r=e.slice(0,t),i=e.slice(t+1);return new z.FieldRef(i,r,e)},z.FieldRef.prototype.toString=function(){return null==this._stringValue&&(this._stringValue=this.fieldName+z.FieldRef.joiner+this.docRef),this._stringValue},z.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},z.Set.complete={intersect:function(e){return e},union:function(e){return e},contains:function(){return!0}},z.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},z.Set.prototype.contains=function(e){return!!this.elements[e]},z.Set.prototype.intersect=function(e){var t,r,i,n=[];if(e===z.Set.complete)return this;if(e===z.Set.empty)return e;r=this.length<e.length?(t=this,e):(t=e,this),i=Object.keys(t.elements);for(var s=0;s<i.length;s++){var o=i[s];o in r.elements&&n.push(o)}return new z.Set(n)},z.Set.prototype.union=function(e){return e===z.Set.complete?z.Set.complete:e===z.Set.empty?this:new z.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},z.idf=function(e,t){var r=0;for(var i in e)"_index"!=i&&(r+=Object.keys(e[i]).length);var n=(t-r+.5)/(r+.5);return Math.log(1+Math.abs(n))},z.Token=function(e,t){this.str=e||"",this.metadata=t||{}},z.Token.prototype.toString=function(){return this.str},z.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},z.Token.prototype.clone=function(e){return e=e||function(e){return e},new z.Token(e(this.str,this.metadata),this.metadata)},z.tokenizer=function(e,t){if(null==e||null==e)return[];if(Array.isArray(e))return e.map(function(e){return new z.Token(z.utils.asString(e).toLowerCase(),z.utils.clone(t))});for(var r=e.toString().toLowerCase(),i=r.length,n=[],s=0,o=0;s<=i;s++){var a=s-o;if(r.charAt(s).match(z.tokenizer.separator)||s==i){if(0<a){var u=z.utils.clone(t)||{};u.position=[o,a],u.index=n.length,n.push(new z.Token(r.slice(o,s),u))}o=s+1}}return n},z.tokenizer.separator=/[\s\-]+/,z.Pipeline=function(){this._stack=[]},z.Pipeline.registeredFunctions=Object.create(null),z.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&z.utils.warn("Overwriting existing registered function: "+t),e.label=t,z.Pipeline.registeredFunctions[e.label]=e},z.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||z.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},z.Pipeline.load=function(e){var r=new z.Pipeline;return e.forEach(function(e){var t=z.Pipeline.registeredFunctions[e];if(!t)throw new Error("Cannot load unregistered function: "+e);r.add(t)}),r},z.Pipeline.prototype.add=function(){Array.prototype.slice.call(arguments).forEach(function(e){z.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},z.Pipeline.prototype.after=function(e,t){z.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},z.Pipeline.prototype.before=function(e,t){z.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},z.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},z.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var i=this._stack[r],n=[],s=0;s<e.length;s++){var o=i(e[s],s,e);if(null!=o&&""!==o)if(Array.isArray(o))for(var a=0;a<o.length;a++)n.push(o[a]);else n.push(o)}e=n}return e},z.Pipeline.prototype.runString=function(e,t){var r=new z.Token(e,t);return this.run([r]).map(function(e){return e.toString()})},z.Pipeline.prototype.reset=function(){this._stack=[]},z.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return z.Pipeline.warnIfFunctionNotRegistered(e),e.label})},z.Vector=function(e){this._magnitude=0,this.elements=e||[]},z.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,r=this.elements.length/2,i=r-t,n=Math.floor(i/2),s=this.elements[2*n];1<i&&(s<e&&(t=n),e<s&&(r=n),s!=e);)i=r-t,n=t+Math.floor(i/2),s=this.elements[2*n];return s==e?2*n:e<s?2*n:s<e?2*(n+1):void 0},z.Vector.prototype.insert=function(e,t){this.upsert(e,t,function(){throw"duplicate index"})},z.Vector.prototype.upsert=function(e,t,r){this._magnitude=0;var i=this.positionForIndex(e);this.elements[i]==e?this.elements[i+1]=r(this.elements[i+1],t):this.elements.splice(i,0,e,t)},z.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,r=1;r<t;r+=2){var i=this.elements[r];e+=i*i}return this._magnitude=Math.sqrt(e)},z.Vector.prototype.dot=function(e){for(var t=0,r=this.elements,i=e.elements,n=r.length,s=i.length,o=0,a=0,u=0,l=0;u<n&&l<s;)(o=r[u])<(a=i[l])?u+=2:a<o?l+=2:o==a&&(t+=r[u+1]*i[l+1],u+=2,l+=2);return t},z.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},z.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t<this.elements.length;t+=2,r++)e[r]=this.elements[t];return e},z.Vector.prototype.toJSON=function(){return this.elements},z.stemmer=(l={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},c={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},e="[aeiouy]",r="[^aeiou][^aeiouy]*",h=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),d=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),f=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),p=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),y=/^(.+?)(ss|i)es$/,m=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,x=/^(.+?)(ed|ing)$/,v=/.$/,w=/(at|bl|iz)$/,Q=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+r+e+"[^aeiouwxy]$"),S=/^(.+?[^aeiou])y$/,E=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,L=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,b=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,P=/^(.+?)(s|t)(ion)$/,T=/^(.+?)e$/,O=/ll$/,I=new RegExp("^"+r+e+"[^aeiouwxy]$"),function(e){return e.update(s)}),z.Pipeline.registerFunction(z.stemmer,"stemmer"),z.generateStopWordFilter=function(e){var t=e.reduce(function(e,t){return e[t]=t,e},{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},z.stopWordFilter=z.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),z.Pipeline.registerFunction(z.stopWordFilter,"stopWordFilter"),z.trimmer=function(e){return e.update(function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")})},z.Pipeline.registerFunction(z.trimmer,"trimmer"),z.TokenSet=function(){this.final=!1,this.edges={},this.id=z.TokenSet._nextId,z.TokenSet._nextId+=1},z.TokenSet._nextId=1,z.TokenSet.fromArray=function(e){for(var t=new z.TokenSet.Builder,r=0,i=e.length;r<i;r++)t.insert(e[r]);return t.finish(),t.root},z.TokenSet.fromClause=function(e){return"editDistance"in e?z.TokenSet.fromFuzzyString(e.term,e.editDistance):z.TokenSet.fromString(e.term)},z.TokenSet.fromFuzzyString=function(e,t){for(var r=new z.TokenSet,i=[{node:r,editsRemaining:t,str:e}];i.length;){var n=i.pop();if(0<n.str.length){var s,o=n.str.charAt(0);o in n.node.edges?s=n.node.edges[o]:(s=new z.TokenSet,n.node.edges[o]=s),1==n.str.length&&(s.final=!0),i.push({node:s,editsRemaining:n.editsRemaining,str:n.str.slice(1)})}if(0!=n.editsRemaining){if("*"in n.node.edges)var a=n.node.edges["*"];else{a=new z.TokenSet;n.node.edges["*"]=a}if(0==n.str.length&&(a.final=!0),i.push({node:a,editsRemaining:n.editsRemaining-1,str:n.str}),1<n.str.length&&i.push({node:n.node,editsRemaining:n.editsRemaining-1,str:n.str.slice(1)}),1==n.str.length&&(n.node.final=!0),1<=n.str.length){if("*"in n.node.edges)var u=n.node.edges["*"];else{u=new z.TokenSet;n.node.edges["*"]=u}1==n.str.length&&(u.final=!0),i.push({node:u,editsRemaining:n.editsRemaining-1,str:n.str.slice(1)})}if(1<n.str.length){var l,c=n.str.charAt(0),h=n.str.charAt(1);h in n.node.edges?l=n.node.edges[h]:(l=new z.TokenSet,n.node.edges[h]=l),1==n.str.length&&(l.final=!0),i.push({node:l,editsRemaining:n.editsRemaining-1,str:c+n.str.slice(2)})}}}return r},z.TokenSet.fromString=function(e){for(var t=new z.TokenSet,r=t,i=0,n=e.length;i<n;i++){var s=e[i],o=i==n-1;if("*"==s)(t.edges[s]=t).final=o;else{var a=new z.TokenSet;a.final=o,t.edges[s]=a,t=a}}return r},z.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var r=t.pop(),i=Object.keys(r.node.edges),n=i.length;r.node.final&&(r.prefix.charAt(0),e.push(r.prefix));for(var s=0;s<n;s++){var o=i[s];t.push({prefix:r.prefix.concat(o),node:r.node.edges[o]})}}return e},z.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),r=t.length,i=0;i<r;i++){var n=t[i];e=e+n+this.edges[n].id}return e},z.TokenSet.prototype.intersect=function(e){for(var t=new z.TokenSet,r=void 0,i=[{qNode:e,output:t,node:this}];i.length;){r=i.pop();for(var n=Object.keys(r.qNode.edges),s=n.length,o=Object.keys(r.node.edges),a=o.length,u=0;u<s;u++)for(var l=n[u],c=0;c<a;c++){var h=o[c];if(h==l||"*"==l){var d=r.node.edges[h],f=r.qNode.edges[l],p=d.final&&f.final,y=void 0;h in r.output.edges?(y=r.output.edges[h]).final=y.final||p:((y=new z.TokenSet).final=p,r.output.edges[h]=y),i.push({qNode:f,output:y,node:d})}}}return t},z.TokenSet.Builder=function(){this.previousWord="",this.root=new z.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},z.TokenSet.Builder.prototype.insert=function(e){var t,r=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var i=0;i<e.length&&i<this.previousWord.length&&e[i]==this.previousWord[i];i++)r++;this.minimize(r),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(i=r;i<e.length;i++){var n=new z.TokenSet,s=e[i];t.edges[s]=n,this.uncheckedNodes.push({parent:t,char:s,child:n}),t=n}t.final=!0,this.previousWord=e},z.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},z.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;e<=t;t--){var r=this.uncheckedNodes[t],i=r.child.toString();i in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[i]:(r.child._str=i,this.minimizedNodes[i]=r.child),this.uncheckedNodes.pop()}},z.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},z.Index.prototype.search=function(t){return this.query(function(e){new z.QueryParser(t,e).parse()})},z.Index.prototype.query=function(e){for(var t=new z.Query(this.fields),r=Object.create(null),i=Object.create(null),n=Object.create(null),s=Object.create(null),o=Object.create(null),a=0;a<this.fields.length;a++)i[this.fields[a]]=new z.Vector;e.call(t,t);for(a=0;a<t.clauses.length;a++){var u=t.clauses[a],l=null,c=z.Set.complete;l=u.usePipeline?this.pipeline.runString(u.term,{fields:u.fields}):[u.term];for(var h=0;h<l.length;h++){var d=l[h];u.term=d;var f=z.TokenSet.fromClause(u),p=this.tokenSet.intersect(f).toArray();if(0===p.length&&u.presence===z.Query.presence.REQUIRED){for(var y=0;y<u.fields.length;y++){s[R=u.fields[y]]=z.Set.empty}break}for(var m=0;m<p.length;m++){var g=p[m],x=this.invertedIndex[g],v=x._index;for(y=0;y<u.fields.length;y++){var w=x[R=u.fields[y]],Q=Object.keys(w),k=g+"/"+R,S=new z.Set(Q);if(u.presence==z.Query.presence.REQUIRED&&(c=c.union(S),void 0===s[R]&&(s[R]=z.Set.complete)),u.presence!=z.Query.presence.PROHIBITED){if(i[R].upsert(v,u.boost,function(e,t){return e+t}),!n[k]){for(var E=0;E<Q.length;E++){var L,b=Q[E],P=new z.FieldRef(b,R),T=w[b];void 0===(L=r[P])?r[P]=new z.MatchData(g,R,T):L.add(g,R,T)}n[k]=!0}}else void 0===o[R]&&(o[R]=z.Set.empty),o[R]=o[R].union(S)}}}if(u.presence===z.Query.presence.REQUIRED)for(y=0;y<u.fields.length;y++){s[R=u.fields[y]]=s[R].intersect(c)}}var O=z.Set.complete,I=z.Set.empty;for(a=0;a<this.fields.length;a++){var R;s[R=this.fields[a]]&&(O=O.intersect(s[R])),o[R]&&(I=I.union(o[R]))}var F=Object.keys(r),C=[],N=Object.create(null);if(t.isNegated()){F=Object.keys(this.fieldVectors);for(a=0;a<F.length;a++){P=F[a];var j=z.FieldRef.fromString(P);r[P]=new z.MatchData}}for(a=0;a<F.length;a++){var _=(j=z.FieldRef.fromString(F[a])).docRef;if(O.contains(_)&&!I.contains(_)){var D,A=this.fieldVectors[j],B=i[j.fieldName].similarity(A);if(void 0!==(D=N[_]))D.score+=B,D.matchData.combine(r[j]);else{var V={ref:_,score:B,matchData:r[j]};N[_]=V,C.push(V)}}}return C.sort(function(e,t){return t.score-e.score})},z.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map(function(e){return[e,this.invertedIndex[e]]},this),t=Object.keys(this.fieldVectors).map(function(e){return[e,this.fieldVectors[e].toJSON()]},this);return{version:z.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},z.Index.load=function(e){var t={},r={},i=e.fieldVectors,n=Object.create(null),s=e.invertedIndex,o=new z.TokenSet.Builder,a=z.Pipeline.load(e.pipeline);e.version!=z.version&&z.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+z.version+"' does not match serialized index '"+e.version+"'");for(var u=0;u<i.length;u++){var l=(h=i[u])[0],c=h[1];r[l]=new z.Vector(c)}for(u=0;u<s.length;u++){var h,d=(h=s[u])[0],f=h[1];o.insert(d),n[d]=f}return o.finish(),t.fields=e.fields,t.fieldVectors=r,t.invertedIndex=n,t.tokenSet=o.root,t.pipeline=a,new z.Index(t)},z.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=z.tokenizer,this.pipeline=new z.Pipeline,this.searchPipeline=new z.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},z.Builder.prototype.ref=function(e){this._ref=e},z.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},z.Builder.prototype.b=function(e){this._b=e<0?0:1<e?1:e},z.Builder.prototype.k1=function(e){this._k1=e},z.Builder.prototype.add=function(e,t){var r=e[this._ref],i=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var n=0;n<i.length;n++){var s=i[n],o=this._fields[s].extractor,a=o?o(e):e[s],u=this.tokenizer(a,{fields:[s]}),l=this.pipeline.run(u),c=new z.FieldRef(r,s),h=Object.create(null);this.fieldTermFrequencies[c]=h,this.fieldLengths[c]=0,this.fieldLengths[c]+=l.length;for(var d=0;d<l.length;d++){var f=l[d];if(null==h[f]&&(h[f]=0),h[f]+=1,null==this.invertedIndex[f]){var p=Object.create(null);p._index=this.termIndex,this.termIndex+=1;for(var y=0;y<i.length;y++)p[i[y]]=Object.create(null);this.invertedIndex[f]=p}null==this.invertedIndex[f][s][r]&&(this.invertedIndex[f][s][r]=Object.create(null));for(var m=0;m<this.metadataWhitelist.length;m++){var g=this.metadataWhitelist[m],x=f.metadata[g];null==this.invertedIndex[f][s][r][g]&&(this.invertedIndex[f][s][r][g]=[]),this.invertedIndex[f][s][r][g].push(x)}}}},z.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,r={},i={},n=0;n<t;n++){var s=z.FieldRef.fromString(e[n]),o=s.fieldName;i[o]||(i[o]=0),i[o]+=1,r[o]||(r[o]=0),r[o]+=this.fieldLengths[s]}var a=Object.keys(this._fields);for(n=0;n<a.length;n++){var u=a[n];r[u]=r[u]/i[u]}this.averageFieldLength=r},z.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),r=t.length,i=Object.create(null),n=0;n<r;n++){for(var s=z.FieldRef.fromString(t[n]),o=s.fieldName,a=this.fieldLengths[s],u=new z.Vector,l=this.fieldTermFrequencies[s],c=Object.keys(l),h=c.length,d=this._fields[o].boost||1,f=this._documents[s.docRef].boost||1,p=0;p<h;p++){var y,m,g,x=c[p],v=l[x],w=this.invertedIndex[x]._index;void 0===i[x]?(y=z.idf(this.invertedIndex[x],this.documentCount),i[x]=y):y=i[x],m=y*((this._k1+1)*v)/(this._k1*(1-this._b+this._b*(a/this.averageFieldLength[o]))+v),m*=d,m*=f,g=Math.round(1e3*m)/1e3,u.insert(w,g)}e[s]=u}this.fieldVectors=e},z.Builder.prototype.createTokenSet=function(){this.tokenSet=z.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},z.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new z.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},z.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},z.MatchData=function(e,t,r){for(var i=Object.create(null),n=Object.keys(r||{}),s=0;s<n.length;s++){var o=n[s];i[o]=r[o].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=i)},z.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),r=0;r<t.length;r++){var i=t[r],n=Object.keys(e.metadata[i]);null==this.metadata[i]&&(this.metadata[i]=Object.create(null));for(var s=0;s<n.length;s++){var o=n[s],a=Object.keys(e.metadata[i][o]);null==this.metadata[i][o]&&(this.metadata[i][o]=Object.create(null));for(var u=0;u<a.length;u++){var l=a[u];null==this.metadata[i][o][l]?this.metadata[i][o][l]=e.metadata[i][o][l]:this.metadata[i][o][l]=this.metadata[i][o][l].concat(e.metadata[i][o][l])}}}},z.MatchData.prototype.add=function(e,t,r){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=r);if(t in this.metadata[e])for(var i=Object.keys(r),n=0;n<i.length;n++){var s=i[n];s in this.metadata[e][t]?this.metadata[e][t][s]=this.metadata[e][t][s].concat(r[s]):this.metadata[e][t][s]=r[s]}else this.metadata[e][t]=r},z.Query=function(e){this.clauses=[],this.allFields=e},z.Query.wildcard=new String("*"),z.Query.wildcard.NONE=0,z.Query.wildcard.LEADING=1,z.Query.wildcard.TRAILING=2,z.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},z.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=z.Query.wildcard.NONE),e.wildcard&z.Query.wildcard.LEADING&&e.term.charAt(0)!=z.Query.wildcard&&(e.term="*"+e.term),e.wildcard&z.Query.wildcard.TRAILING&&e.term.slice(-1)!=z.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=z.Query.presence.OPTIONAL),this.clauses.push(e),this},z.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=z.Query.presence.PROHIBITED)return!1;return!0},z.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach(function(e){this.term(e,z.utils.clone(t))},this),this;var r=t||{};return r.term=e.toString(),this.clause(r),this},z.QueryParseError=function(e,t,r){this.name="QueryParseError",this.message=e,this.start=t,this.end=r},z.QueryParseError.prototype=new Error,z.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},z.QueryLexer.prototype.run=function(){for(var e=z.QueryLexer.lexText;e;)e=e(this)},z.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,r=this.pos,i=0;i<this.escapeCharPositions.length;i++)r=this.escapeCharPositions[i],e.push(this.str.slice(t,r)),t=r+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},z.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},z.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},z.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return z.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},z.QueryLexer.prototype.width=function(){return this.pos-this.start},z.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},z.QueryLexer.prototype.backup=function(){--this.pos},z.QueryLexer.prototype.acceptDigitRun=function(){for(var e,t;47<(t=(e=this.next()).charCodeAt(0))&&t<58;);e!=z.QueryLexer.EOS&&this.backup()},z.QueryLexer.prototype.more=function(){return this.pos<this.length},z.QueryLexer.EOS="EOS",z.QueryLexer.FIELD="FIELD",z.QueryLexer.TERM="TERM",z.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",z.QueryLexer.BOOST="BOOST",z.QueryLexer.PRESENCE="PRESENCE",z.QueryLexer.lexField=function(e){return e.backup(),e.emit(z.QueryLexer.FIELD),e.ignore(),z.QueryLexer.lexText},z.QueryLexer.lexTerm=function(e){if(1<e.width()&&(e.backup(),e.emit(z.QueryLexer.TERM)),e.ignore(),e.more())return z.QueryLexer.lexText},z.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(z.QueryLexer.EDIT_DISTANCE),z.QueryLexer.lexText},z.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(z.QueryLexer.BOOST),z.QueryLexer.lexText},z.QueryLexer.lexEOS=function(e){0<e.width()&&e.emit(z.QueryLexer.TERM)},z.QueryLexer.termSeparator=z.tokenizer.separator,z.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==z.QueryLexer.EOS)return z.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return z.QueryLexer.lexField;if("~"==t)return e.backup(),0<e.width()&&e.emit(z.QueryLexer.TERM),z.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),0<e.width()&&e.emit(z.QueryLexer.TERM),z.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(z.QueryLexer.PRESENCE),z.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(z.QueryLexer.PRESENCE),z.QueryLexer.lexText;if(t.match(z.QueryLexer.termSeparator))return z.QueryLexer.lexTerm}else e.escapeCharacter()}},z.QueryParser=function(e,t){this.lexer=new z.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},z.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=z.QueryParser.parseClause;e;)e=e(this);return this.query},z.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},z.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},z.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},z.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(null!=t)switch(t.type){case z.QueryLexer.PRESENCE:return z.QueryParser.parsePresence;case z.QueryLexer.FIELD:return z.QueryParser.parseField;case z.QueryLexer.TERM:return z.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw 1<=t.str.length&&(r+=" with value '"+t.str+"'"),new z.QueryParseError(r,t.start,t.end)}},z.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(null!=t){switch(t.str){case"-":e.currentClause.presence=z.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=z.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+t.str+"'";throw new z.QueryParseError(r,t.start,t.end)}var i=e.peekLexeme();if(null==i){r="expecting term or field, found nothing";throw new z.QueryParseError(r,t.start,t.end)}switch(i.type){case z.QueryLexer.FIELD:return z.QueryParser.parseField;case z.QueryLexer.TERM:return z.QueryParser.parseTerm;default:r="expecting term or field, found '"+i.type+"'";throw new z.QueryParseError(r,i.start,i.end)}}},z.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(null!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map(function(e){return"'"+e+"'"}).join(", "),i="unrecognised field '"+t.str+"', possible fields: "+r;throw new z.QueryParseError(i,t.start,t.end)}e.currentClause.fields=[t.str];var n=e.peekLexeme();if(null==n){i="expecting term, found nothing";throw new z.QueryParseError(i,t.start,t.end)}switch(n.type){case z.QueryLexer.TERM:return z.QueryParser.parseTerm;default:i="expecting term, found '"+n.type+"'";throw new z.QueryParseError(i,n.start,n.end)}}},z.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(null!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(null!=r)switch(r.type){case z.QueryLexer.TERM:return e.nextClause(),z.QueryParser.parseTerm;case z.QueryLexer.FIELD:return e.nextClause(),z.QueryParser.parseField;case z.QueryLexer.EDIT_DISTANCE:return z.QueryParser.parseEditDistance;case z.QueryLexer.BOOST:return z.QueryParser.parseBoost;case z.QueryLexer.PRESENCE:return e.nextClause(),z.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+r.type+"'";throw new z.QueryParseError(i,r.start,r.end)}else e.nextClause()}},z.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var i="edit distance must be numeric";throw new z.QueryParseError(i,t.start,t.end)}e.currentClause.editDistance=r;var n=e.peekLexeme();if(null!=n)switch(n.type){case z.QueryLexer.TERM:return e.nextClause(),z.QueryParser.parseTerm;case z.QueryLexer.FIELD:return e.nextClause(),z.QueryParser.parseField;case z.QueryLexer.EDIT_DISTANCE:return z.QueryParser.parseEditDistance;case z.QueryLexer.BOOST:return z.QueryParser.parseBoost;case z.QueryLexer.PRESENCE:return e.nextClause(),z.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+n.type+"'";throw new z.QueryParseError(i,n.start,n.end)}else e.nextClause()}},z.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(null!=t){var r=parseInt(t.str,10);if(isNaN(r)){var i="boost must be numeric";throw new z.QueryParseError(i,t.start,t.end)}e.currentClause.boost=r;var n=e.peekLexeme();if(null!=n)switch(n.type){case z.QueryLexer.TERM:return e.nextClause(),z.QueryParser.parseTerm;case z.QueryLexer.FIELD:return e.nextClause(),z.QueryParser.parseField;case z.QueryLexer.EDIT_DISTANCE:return z.QueryParser.parseEditDistance;case z.QueryLexer.BOOST:return z.QueryParser.parseBoost;case z.QueryLexer.PRESENCE:return e.nextClause(),z.QueryParser.parsePresence;default:i="Unexpected lexeme type '"+n.type+"'";throw new z.QueryParseError(i,n.start,n.end)}else e.nextClause()}},i=this,n=function(){return z},"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n():i.lunr=n()}();;const idx=lunr(function(){this.field('id')
  this.field('link')
  this.field('title')
  this.field('body')
  this.add({"id":"0","link":"https://taiwangoldcard.com/application-faq/","title":"Gold Card Application FAQ","body":"[The Taiwan Employment Gold Card is a combined open work permit, residence permit and visa for skilled professionals. Please choose a menu entry to find out more about the card, how you can qualify or the steps to apply. Disclaimers: This compilation of information is provided on a best-effort basis by Gold Card holders. We are neither lawyers, migration agents nor have any relationship with the government. As changes and errors may occur, please seek professional advice from the relevant officials where necessary. Terms. If you are in Taiwan, you can head over the National Immigration Agency if you&rsquo;d like to talk face to face to an agent. There is also a list of helpful contact information // const driver = new Driver(); // driver.highlight('#docs-the-gold-card-application-faq');]",});this.add({"id":"1","link":"https://taiwangoldcard.com/goldcard-holders-faq/","title":"Gold Card Holders FAQ","body":"[Congratulations on getting the precious Gold Card! Now join the Gold Card Network by applying via this form In this section, you&rsquo;ll find some useful resources for once you get the Gold Card. This information is complied by our community, who have real experience living in Taiwan.]",});this.add({"id":"2","link":"https://taiwangoldcard.com/application-faq/what-is-taiwan-gold-card/","title":"What is the Gold Card?","body":"[The Taiwan Employment Gold Card is a combined visa, work permit and residence permit launched in 2018 to attract professional talent in Taiwan. The card gives you the right to stay and work in Taiwan for 1 year to 3 years, and you can apply online without sponsorship. The card comes with open work rights, so you may work for any (or multiple) company in Taiwan or start your own business. You can bring your family with you, and visitor rights for parents and grandparents are also included. There are tax incentives for cardholders with high salaries. Qualification is based on an asssessment of your professional skills, you don&rsquo;t need to have already secured a job in Taiwan. The Gold Card costs between USD100 and USD310 depending on your nationality and the duration of your card. How long does the application take? A perfect application takes 30 days, if your supporting documents are accepted the first time around. If you are asked for tweaks to your supporting documents, expect 50-60 days. During the COVID-19 pandemic, we have seen &lsquo;normal&rsquo; applications take as long as 80 days. Applicants who elected to pick their card up overseas are severely affected by the pandemic&rsquo;s impact on the postal network. Do I apply for the Gold Card personally, or should I ask my employer to do that? Generally you should apply personally. Employers can help with the process, but you do not need their sponsorship or support to apply for the card. Additionally, the card once issued contains an open work permit that allows you to work for any company. If someone is asking you for large sums of money to help with your gold card application, it could be a scam. What fees are involved in a Gold Card application? There is only one fee, which is paid through the Gold Card application portal. There are no separate visa or work permit fees. The fees varies if you apply from Taiwan or overseas, the duration of the visa, and your nationality. You can check the &ldquo;Fees for Employment Gold Card&rdquo; section of the application portal. Who can I talk to about this? If you&rsquo;d like to discuss: whether you should apply, benefits of the program, or any early questions: Read the Foreign Talent Act website Ask Contact Taiwan. They are a Government-funded organisation whose mission is to help you find a job. They&rsquo;ll direct you to the right place. Otherwise, look at the master contact list to talk about: tax incentives: the NIA can sometimes provide some basic information about this, otherwise contact the Ministry of Finance under Reduction or Exemption of Income Tax of Foreign Special Professionals on the master list visas for your spouse/family: Contact NIA, under the Ministry of Interior for Employment Gold Card Permits for Foreign Special P rofessionals on the master list Do you need to undergo a health check to apply for the Gold Card? We haven&rsquo;t heard of anyone to date who required a health check, so it&rsquo;s not a normal part of the process at least.]",});this.add({"id":"3","link":"https://taiwangoldcard.com/goldcard-holders-faq/at-work/","title":"At Work","body":"[What do I need to tell my employer about the Gold Card? Your Gold Card is a four-in-one document that contains your work permit, residence visa, reentry permit and Alien Residence Certificate. You have open work rights and they do not need to apply for a work permit or visa for you. What happens if I lose my job? You may simply find a new job. Your Gold Card is not sponsored by your employer and will not be affected by a change of job. Can I setup a company and employ myself? Yes. With a Gold Card you are able to setup a Taiwanese limited liability company as a sole foreign investor without any minimum capital requirement, and you can employ yourself in that company since you already have a work permit through the Gold Card. You are also able to setup and employ yourself through a representative office if you just intend to represent a foreign company. Can I be self-employed? Yes. If you don&rsquo;t work for an employer and don&rsquo;t setup a company in Taiwan you can still be self-employed (either abroad or in Taiwan) while you have a Gold Card. Does the Gold Card provide an open work permit? Yes. You may work for any organisation (or many organisations at the same time) in any industry, in any job, provided it doesn&rsquo;t have licensing requirements that you don&rsquo;t meet. Is there a minimum salary requirement for Gold Card holders? Yes. It is one of: NT$23,800 a month, or NT$158 per hour for &ldquo;workers&rdquo; (Labor Standards Act Article 21) NT$47,971 a month for those performing &ldquo;specialised or technical work&rdquo; Despite many applicants qualifying for a gold card on the basis of previous employment with salary of greater than NT$160,000, this is not a minimum salary requirement. However, those applying under this category will have their financial data reviewed by the Ministry of Labor. The regulations allow the Ministry of Labor to revoke a work permit if they are not satisfied with the results of this review. Can I work for multiple companies at the same time? Yes. What is salary withholding tax? At what rate should my salary be withheld? In May each year you pay income tax on your earnings from the previous year. To smooth out your payments (and when the government receives money) a little, the Taiwanese tax system is designed so that your employer effectively pre-pays a little bit of your tax. To do that, they &ldquo;withhold&rdquo; a percentage of your salary payment each time you get paid and remit it to the government a few times a year. The tax you pay in May will be reduced by this amount. There are two common amounts you will see for salary withholding tax: 18% and 5%. For tax residents of Taiwan, employers should withhold 5% and non-tax-residents 18%. However, some companies work on the assumption that all foreign residents have a danger of leaving Taiwan each year before they achieve tax residency (i.e. less than 183 days). These types of companies typically withhold 18% from January to June, and 5% for the rest of the year, which protects the company from owing additional tax to the government if the employee leaves. Which withholding rate you are charged is not a large issue, as it directly contributes to your income tax payment. If you&rsquo;ve been charged too much, you will receive a refund from the government once you file your income tax. However, it is always worth talking with your employer to explain your circumstances and that you plan to reside in Taiwan long-term. Can I just not work at all? Here’s what we know: A gold card holder needs to do the things expected of talented professionals (i.e. work) during the term of their first card in order to qualify for a second card. (Source: NIA Gold Card Information Meeting, 2018) If qualifying under one of the the ‘salary’ criteria, the MoL will review your financial data (basically, your yearly tax return). If you do not pass the review, your work permit can be cancelled. (Source: Application Portal) It is rumoured that the primary usage of this cancellation clause will be to weed out people who have applied under false pretences. The warning’s prominent appearance during the application process sends a clear message. However, recall that gold card holders may enter Taiwan without having a job at all. It’s entirely reasonable that a new immigrant would take some time to establish their network and find employment. Six-month job seeking visas are available, so that’s a tacit acknowledgement by the government that it does take some time. The rules of administrative procedure in Taiwan require ‘fairness’ in their execution. Would it be ‘fair’ to cancel the work permit of a highly qualified individual who has taken six months to find a job, when others meeting lesser qualifications are given that time? Certainly not. What about taking a break? Here, the length and circumstances of the break should probably be taken into account. Between jobs, or just feeling burned out and need a few months? Surely OK. However, if someone’s primary stated intention of gaining residence in Taiwan was employment (gold card), and they did not gain employment for, say, more than two years, does that stated intention still hold up? Maybe not. Or maybe the relevant authorities will consider losing the ability to qualify for a second gold card sufficient motivation. Keep in mind: there is some precedent for your visa going away if the underlying purpose for your residence in Taiwan no longer applies. Students who don’t turn up to class have sometimes found this out the hard way. If you are in a situation where you think your circumstances might put you in jeopardy, the gold card contacts list has a range of helpful people.]",});this.add({"id":"4","link":"https://taiwangoldcard.com/application-faq/qualifications/","title":"Do I qualify?","body":"[In order to qualify for an Employment Gold Card your skills must be related to one of eight areas: Science and Technology, Economics, Education, Culture and Art, Sport, Finance, Law and Architecture. You must select which single ministry is most relevant, and in most cases also select a specific entry in the list of that qualifications in that particular area for your application. Use the Gold Card Qualification Check to find the relevant choices for you. Do I need to have a high salary to apply for a Gold Card? No. Some industries have a category where applicants with a salary greater than NT$160,000 qualify. However, this is only one category. To date, none of the categories other than the dedicated salary category have financial requirements. If you have skills, please consider applying regardless of salary! I currently live in Taiwan, can I apply for the Gold Card? Yes. You can apply from anywhere, even within Taiwan. If you have an ARC, you can still apply, the Gold Card will replace you ARC. If you have a tourist visa, the Gold Card will replace your tourist visa. I&rsquo;m a digital nomad / remote worker, is this card suitable for me? Can I be self-employed? Yes, this card is perfect for you, since it contains an open work permit that allows you to work for any employer. However, if you don&rsquo;t have a Taiwanese employer please see the answer to: I&rsquo;m a freelancer/I don&rsquo;t have an employer, how do I register with the NHI?. Is there a &ldquo;general&rdquo; application category or must I select a specific industry? There is no &ldquo;general&rdquo; application category. You must select a single ministry to assess your skills. Use the Gold Card Qualification Check to find suggestions. Does my professional services/sole proprietor/dividend income count towards the salary requirement for Gold Card application? Generally not, but it depends. The document requirements to prove an Article 1 (&ldquo;salary&rdquo;) application all talk about &ldquo;&hellip;verifying salary or income tax payment related to employment&hellip;&rdquo;. The most commonly accepted documents appear to be withholding tax statements from employers and income tax returns from a tax authority. Bank statements are generally not sufficient. If you don&rsquo;t have salary-based compensation for your employment, we recommend calling ahead. You may be able to make an argument if your freelance income looks a lot like salary (eg &ldquo;7 Nonemployee Compensation&rdquo; on a 1099 form from the USA). Is there an age restriction? Not really. However it is expected that gold card holders will have at least five years of work experience.]",});this.add({"id":"5","link":"https://taiwangoldcard.com/goldcard-holders-faq/health-insurance/","title":"Health Insurance","body":"[What health insurance is available in Taiwan? All who are eligible for National Health Insurance (NHI) must enrol into the program, which provides comprehensive and inexpensive coverage. Eligibility varies slightly depending on your employment status. If you aren&rsquo;t eligible for NHI then there are also a range of local and international private health insurance options available. You can check the NHI website for more details. How do I enrol into the program If you have an employer in Taiwan then they will enrol you into the program. If you don&rsquo;t have an employer, and you are past the six month waiting period (see below), you can apply for your NHI card at your local national health administration bureau. The process is the same as for any resident in Taiwan. Please check with your local office on what materials you will need to bring. It usually takes around seven working days. Are my children and family eligible for a health insurance card? Yes. Once your spouse and/or any minor children receive their residence cards, they can register for their health insurance card as your dependants. They are immediately eligible and have no waiting period once you are enrolled in NHI, be sure to tell your employer about your dependants so they can update your enrolment information. I&rsquo;m a freelancer/I don&rsquo;t have an employer, how do I register with the NHI? At present, you must reside in Taiwan for a consecutive six-month period (or leave only once for less than 30 days) and apply directly with the NHI. There is currently a legislative push to improve this, lead by the National Development Council. I&rsquo;m employed by a local company, do I still need to wait for the six-month period for a health insurance card? You do not. Once the company registers your employment, you will be issued a health insurance card. When does the six-month waiting period start? For those who don&rsquo;t have a Taiwanese employer: If you applied for the Gold Card from abroad then the period starts when you enter Taiwan. If you applied for the Gold Card in Taiwan (e.g. on a tourist visa or visa-exempt) then the starting period is the &ldquo;issue date&rdquo; written on the card. Am I allowed to leave the country during the six-month period wait? You are only allowed to leave once for less than 30 days. Note that when you are away from Taiwan, the six-month waiting period will be paused. It will resume once you return to Taiwan. For example, if you are in Taiwan for 3 months and then leave for 1 month, you will have to wait for 3 more months once you get back to Taiwan (7 months in total). I need a health insurance during the six-month waiting period - What are the solutions? We know it&rsquo;s not ideal, but here some ways our community has solved this problem: Find an employer, that will enroll you right after the start of the contract Get private health insurance. Other gold card holders might have some recommendations. You can ask the community and mention your nationality. Is NHI mandatory? You must enrol when you are eligible. The National Health Insurance program is compulsory. The National Health Insurance program is a compulsory social insurance program. By law, [&hellip;] foreign national living in Taiwan with an Alien Resident Certificate (ARC - Gold Card included), regardless of age, gender, or employment status, must enroll in the program when they met the enrollment qualifications. If you plan to leave Taiwan for more than six months you can either maintain or suspend your NHI. Refer to the NHI website for more information. What to Do If Going Abroad for More than Six Months Where can I see a list of NHI clinics close to me? The NHI mobile app has a map-based search of all NHI facilities. You can download it from the Google Play store and the Apple App Store How are NHI premiums managed? NHI premiums are based on your employment status and are calculated as a percentage of your monthly income (similar to a payroll tax in other countries). (Salary Basis) x (Insurance Premium Rate %) x (Contribution Ratio %) Salary Basis - Roughly equivalent to your monthly income. Look up your salary basis bracket on the NHI website based on your monthly income. Note that there is a maximum cap at a monthly salary of 175,601. Insurance Premium Rate % - 4.69% since January 1, 2016 Contribution Ratio % - Depends on your employment status. If you are employed by a normal company in Taiwan then your employee contribution ratio is 30%. If you are self-employed or receive income from a foreign company then your contribution ratio is 100%. In summary, for most people this works out to roughly: 1.41% of your monthly income with a Taiwanese employer 4.69% of your monthly income for self-employed / foreign income Notes: If you have an employer in Taiwan, then they will withhold your NHI premium from your salary payment. If you have dependants, then your premium will increase based on the number of dependants. Some types of income attract a higher rate (e.g. bonuses and investment income). There are income tax deductions available for NHI premium payments. To calculate your exact NHI premium, refer to the official information (and description of the many &lsquo;special&rsquo; cases) which can be found on the NHI website.]",});this.add({"id":"6","link":"https://taiwangoldcard.com/application-faq/application/","title":"The Gold Card Application","body":"[Application is done online. Once you have determined how you are qualified, gather the required documents: Digital copy of your passport Digital copy of your passport photo Your previous Taiwanese visa and residence permit (if any) Dates of any times you worked in Taiwan Digital copies of all documents needed to support your application ⓘ All digital copies need to be &lt;1MB in size in image or PDF format. Starting your application 🕑 10 minutes Go to the portal: https://coa.immigration.gov.tw/coa-frontend/four-in-one/entry/golden-card and click &ldquo;I want to apply&rdquo;. Select &ldquo;self application&rdquo;, click consent and create an account. ⓘ You don&rsquo;t need an employer to sponsor your application. To make a new application, click &ldquo;Application&rdquo;, select &ldquo;Application for Employment Gold Card&rdquo; and then click New Application. You will be asked for your nationality and where you are applying from. Applying from overseas or from within Taiwan is the same process. It differs only in where you go to hand in your passport (in Taiwan, or the local embassy), and overseas applicants have the option of picking up their card from the local Taiwanese embassy. ⚠️ This information cannot be changed later! ⚠️ Ensure you select the right visa if applying from Taiwan. If you did not apply for a visa to enter Taiwan, you are likely &ldquo;visa-exempt&rdquo; (the final category). You will now fill out three straightforward sections: Basic Data, Passport Data and Visa Application. Make sure to click &ldquo;save&rdquo; at the end of each section and fill each section out within 5 minutes to avoid being logged out. Filling out Resident Information 🕑 5 minutes You must now select the duration for your card. You could opt for a shorter duration if you have concrete plans. Otherwise, it’s probably better to select the longest duration. There is no justification needed on how long you&rsquo;d like to stay. This costs more, but delays the hassle of finding the next visa (or going through the gold card application process again). You&rsquo;ll also be asked for a local address. It’s entirely normal and accepted to apply without one. Once you get a place to stay, you can (must) update the details on your card, free of charge. Only fill an address out here if you&rsquo;re confident you will be able to receive important documents there. You must select where you will collect your card, there are two options to choose from: In Taiwan - generally faster, as your card does not need to be mailed overseas. You will use a printed Residence Authorization Certificate to enter Taiwan, which might require some explanation to your airline. At your local embassy - more convenient, as you can enter Taiwan with the process completed. If you have information for any of the remaining fields, fill it in, or leave them blank if you dont. Click &ldquo;save&rdquo; and &ldquo;next step&rdquo; to go to the Profession section. Choosing Profession and Uploading Documents 🕑 10 minutes Here you must choose the field and regulation which you selected in Do I Qualify?. This can be changed later if necessary, but only after significant time has passed, so be sure to choose the correct entry. Then, click &ldquo;save&rdquo; and &ldquo;next step&rdquo; to upload your documents. You must first upload a passport photo. Note that this has to be a proper passport photo that you would use for a visa application - a selfie will be rejected. Next, you must upload a copy of your passport&rsquo;s bio page. You don&rsquo;t need to upload the whole thing, or any of the stamp pages - just the page that shows your profile information. Finally, based on the regulation you are applying under you will need to upload required documents. If you need hints on what to upload, use the Gold Card Qualification Check. Do not stress about your application being rejected because you didn&rsquo;t attach enough documents. The authorities will ask for more documents if the ones you provided were not sufficient. It’ll just extend the processing time by a couple of weeks to a month. ⚠️ If your documents are not in English or Chinese, they probably need to be translated. ⓘ In general, your documents do not need to be certified, unless they are issued by the following countries Afghanistan, Algeria, Bengal, Bhutan, China, Cambodia, Cameroon, Cuba, Ghana, Indonesia, Iran, Iraq, Laos, Malaysia, Myanmar, Nepal, Niger, Nigeria, Pakistan, Senegal, Somalia, Sri Lanka, Syria, Philippines, Thailand, Vietnam. Then, they probably need to be certified by the nearest Taiwan diplomatic post Eventually, view the preview and then hit submit! Who can I talk to about this? If you need help, the master list of contacts is found here. If something is wrong with the online application portal, eg errors, ambiguous fields: Contact NIA, under the Ministry of Interior for Employment Gold Card Permits for Foreign Special Professionals on the master list or use the number on the bottom of the application portal If you don&rsquo;t know what documents to apply with, or which regulation to choose, contact the appropriate ministry under Qualification of Foreign Special Professionals on the master list]",});this.add({"id":"7","link":"https://taiwangoldcard.com/application-faq/after-submitting-application/","title":"After submitting your application","body":"[Congratulations on getting the application in. At this point you will receive an email telling you to pay. If you didn&rsquo;t get it, check your email address was correct. You must now go through the payment steps in order for your application to be considered. Log in to the portal at: https://coa.immigration.gov.tw/coa-frontend/four-in-one/entry/golden-card click &ldquo;Online Payment&rdquo; and select &ldquo;Permit Payment&rdquo;, then follow the steps. Fees are non-refundable, even if your application is unsuccessful. However, you will get chances to revise your application and provide additional documents if needed. After completing the payment, you will receive an email telling you to download your receipt. You will need to print this out to collect your card, so do it now. Still in the portal, click &ldquo;Download&rdquo; and select &ldquo;Receipt Download&rdquo;. Enter your application number and today&rsquo;s date. The next three steps in the process are: Qualification Assessment, Identity Verification and Card Collection. During these steps, you can check the status if your application by logging in to the portal. Qualification Assessment 🕑 2-4 weeks After a quick sanity check by the National Immigration Agency, your qualifications will be assessed. If you login to the portal to check your application status, you&rsquo;ll see it go from &ldquo;Under Review&rdquo; to &ldquo;待二審&rdquo; (secondary inspection) to &ldquo;Professional Review by Workforce Development Agency&rdquo;. Once your application reaches this stage, it will stay on this status for weeks. What&rsquo;s happening in the background is: First, the Ministry of Labor will attempt to sign off on the work permit. If it can do this itself (eg you apply based on the salary criteria and provide the right documents), your application will be swift (one case took just two days). Most likely, the Ministry of Labor will need call in the appropriate Ministry (eg &ldquo;Science and Technology) to assist. That Ministry will then create a custom panel of judges who are skilled in your area of application. This takes some time, and if you are skilled in a niche area expect the application to take longer than 30 days at this stage. If the status in the portal hasn&rsquo;t updated in a long time first try contacting WDA, under the Ministry of Labor for Employment Gold Card Permits for Foreign Special Professionals on the master contact list. They will probably tell you that the application is with the relevant ministry for your skill set and provide contact details. If not, try to contact the appropriate ministry under Qualification of Foreign Special Professionals on the master list Why was my application rejected with a message about visa type? You probably received an error message that looks like this: &ldquo;申請人以免籤證入境，申請時身份類別選擇錯誤，不予許可&rdquo; This translates to &ldquo;You entered Taiwan &lsquo;visa-exempt&rsquo;, but when applying you selected the wrong visa/identity category, application refused.&rdquo; Don&rsquo;t stress. You will have to make a new application, but your old one can be refunded. When starting an application from inside Taiwan, you will be asked what visa you hold. A common mistake is to select &ldquo;I entered R.O.C. with a visa of which the duration of stay is more than 60 days&rdquo; because you have a stamp in your passport that says &ldquo;90 days&rdquo;. However, unless you explicitly applied for a visa to come to Taiwan, you are probably here under &ldquo;visa exempt&rdquo; entry, which was another item on that list. The NIA looked up your visa status, found it incorrect, and rejected your application. What you need to do now is: Call NIA, using the phone number on the bottom of the application portal or the &ldquo;Ministry of Interior&rdquo; on the official contact list, explain what happened and ask for a refund. Make a new application What do I do if I&rsquo;m asked to provide additional documents? After a few weeks of tense wait, you may receive an email from niasys@immigration.gov.tw that says &ldquo;After the examination by the department and the enterprise competent authority, the relevant information shall be made up.&rdquo;. Log in to the portal at: https://coa.immigration.gov.tw/coa-frontend/four-in-one/entry/golden-card Your application will be listed under &ldquo;Application cases of which data to be supplemented&rdquo;, click &ldquo;View&rdquo;. Up the top of the application will be a block of red text in Chinese and English. It will attempt to explain what additional documents are required. If it doesn&rsquo;t make sense, call the appropriate ministry contact under Qualification of Foreign Special Professionals on the master list. They&rsquo;ll be able to look up your application and provide more colour. Once you know which documents to upload, prepare to upload them as with your previous application. Additionally, prepare a short statement addressing how you have rectified the &ldquo;Opinion on the Application&rdquo;. Select the documents for upload and paste the response in the &ldquo;Reply Comments&rdquo; box at the bottom of the final page. Important: Sometimes using English in the &ldquo;Reply Comments&rdquo; box will cause your application to fail to be submitted with a cryptic error. I applied under a salary provision, but am being asked for additional documents unrelated to this. Why? Don’t stress. This is normal. You’re applying under a financial requirement, but the relevant ministry still wants to vet your skills. Under some interpretations of the regulations, they are not supposed to do this, but here we are. Gather up some documents that demonstrate you work in the industry and you’re good at it. Maybe a letter from your boss talking about that time you created that innovative thing, a supporting statement from a professor about how they’re proud of you, a piece of easily digestible work product that has your name on it. It’ll depend on what you’ve got or can create - but get into the mindset of the reviewer and aim to make it as easy as possible to understand why you are a talent. If you feel the need, write a cover letter for your application explaining your skills.]",});this.add({"id":"8","link":"https://taiwangoldcard.com/goldcard-holders-faq/life-in-taiwan/","title":"Life in Taiwan","body":"[How do I find a place to rent? Renting is common in Taiwan, and there are a large range of types of dwellings available at diffrerent price points. The most popular property search website is 591. Unlike in some other countries, real estate agents offering rental properties in Taiwan are typically only brokers who present prospective tenants to landlords for a fee and you will normally deal directly with a landlord from lease signing onward. Standard leases are available from most convenience stores and it is common to use these. A one or two month deposit, refunded on leaving the property is common. Negotiation down from the advertised price is common. Properties close to MRT stations are the most desirable. If you are looking for newer, tall modern apartment buildings, these are known as &ldquo;電梯大樓&rdquo; and you can limit your search on 591 to this. Other search sites include myroomabroad and spacious. Can I purchase real-estate? In general, yes, if your country allows Taiwanese nationals to purchase real estate in your country. There are some restrictions, such as not being able to purchase farmland, or land related to a waterway or national defense. Does my card look any different from other types of ARC? Yes, the entire card is gold in colour. It also has slightly different information such as a different title (R.O.C. (Taiwan) Employment Gold Card), purpose of residence (Foreign Special Professional) and a label for your professional field. How do I register to use the e-Gate? Visit your local NIA service center or the immigration counter at an international airport and the officials there will guide you through the steps. What unofficial benefits does holding a Gold Card bestow? As the Taiwan government sees holders as &ldquo;worthy professionals&rdquo;, this could increase your standing in the eyes of certain people. Additionally, Sometimes the National Development Council or other government agencies invite us to parties or ask our opinions on certain matters. What happens if I change my address? You must log in to the Gold Card Application portal and update your details there within 30 days of moving. Address changes are free, however the system can&rsquo;t support free changes at the moment. You will be initially charged 500NT, but within a few weeks you will receive communication about your refund. How do I change my address? You must change your address online. Go to the Gold Card Portal. Click &ldquo;I want to apply&rdquo; and login using the username and password you used when applying for your gold card. select &ldquo;Application&rdquo; then &ldquo;Information change of Employment Gold Card&rdquo;. Follow the steps including uploading proof of your address (such as a copy of your lease) and pick up location. The &ldquo;Information Change&rdquo; will be processed and they will get back to you per email if things are missing. Your new Gold Card with the latest address will be available for collection within approximately two weeks. Don&rsquo;t forget to bring your passport, current goldcard and electronic payment receipt. What if I don&rsquo;t update my address? Legally, you are required to update your address within 30 days starting from the date you move in. Otherwise here is a non-exhaustive list of potential consequences: You could receive a fine between NT$2,000 and NT$10,000. Some government entities, such as the tax office or NHI, won&rsquo;t accept any other address than the one mentioned in your Gold Card. Important documents, such as the NHI invoices, will be sent to the address, and you might miss them. How many days per year do I have to stay in Taiwan? There are no requirements. However, you must stay for more than 183 days per year in order to be eligible for many benefits such as: tax resident treatment and a pathway to permanent residence. What shall I do if I renew my passport? No problem. If your passport number changes you must update it online. Go to the Gold Card Portal. Click &ldquo;I want to apply&rdquo; and login using the username and password you used when applying for your gold card. select &ldquo;Application&rdquo; then &ldquo;Information change of Employment Gold Card&rdquo;. Follow the steps including uploading a copy of your new passport. Within two weeks, you will be able to pick up a new Gold Card from the National Immigration Agency that has your latest information. How do I convert my overseas driving license? Taiwan has international agreements with many countries that allow you to convert your driver&rsquo;s license from your home country into a Taiwanese license without taking a driving test. This is done on the basis of &lsquo;reciprocity&rsquo; - basically if it is possible for a Taiwanese national to convert their license in your country you should be able to do the same in Taiwan. The Taipei City Motor Vehicles Office maintains a list of eligible countries (and states within countries), and instructions on their website. If you are not from an eligible state or country and need to drive long-term, you will need to sit the local license test. For the short term, you may use an International Driving Permit (IDP) from your home country, but after 30 days in Taiwan this must be validated by the local Motor Vehicles Office to remain valid. A validated IDP can typically only be used for a maximum of 1 year, after which you are supposed to apply for a Taiwanese driver&rsquo;s license. I am being asked to see an entry stamp in my passport, but I always use the eGate. What do I do? These days, most foreign residents of Taiwan use the eGate exclusively to enter and exit the country. It&rsquo;s fast and convenient, but it has the side effect that your passport is no longer stamped to mark your entry or exit. You may be met with confusion when explaining this to a bureaucrat in some situations. To solve this, you can visit your local National Immigration Agency service center and ask for a Certificate of Entry/Exit. It costs NT$100 and takes only a few minutes to produce. You can also apply for one online if you have a digital citizen certificate.]",});this.add({"id":"9","link":"https://taiwangoldcard.com/application-faq/after-passing-skill-assessment/","title":"After passing skill assessment","body":"[Congratulations! The long and hard part is now over: you&rsquo;ve been deemed sufficiently skilled to hold a Gold Card. All that&rsquo;s left is Identity Verification and you can collect your card! Identity Verification 🕑 1-2 weeks Congratulations on passing the skill assessment. It&rsquo;s now time to deliver your passport for identity verification. If you are overseas, you should visit the nearest Taiwanese diplomatic post If you are in Taiwan, you must visit the Bureau of Consular Affairs You will also need to take a copy of the &ldquo;Passport Submission Notice&rdquo;, which is found in the &ldquo;Download&rdquo; menu after logging in to the portal. If I apply in Taiwan, where do I go to prove my identity? You must go to your local Bureau of Consular Affairs (BOCA). If you’re getting your passport vetted at Taipei’s BOCA/MOFA office, here’s a quick how-to. (Don’t worry, the ‘pinball’ method - shuffling between volunteers - works well too). BOCA is open between 08:30 to 17:00, a few blocks from Shandao Temple Station, Exit 2 Enter the big pink building and go directly up the escalators to level 3 On 3F, ignore the ticket machine immediately in front of you and turn right and right again to be at the “Authentication” area In the middle of the area, around counter 30, grab a ticket (if there is a problem, ask for help at the end counter - counter 28) Go to the designated counter when your number is up, surrender your passport and online application document, provide any details on upcoming travel, and receive your receipt. Is there anything special I should do if I applied from overseas? If you live far from your local Taiwanese diplomatic post, it is recommended to call before going to give them a heads up. It’s highly likely that you’re the first person ever to go through this process in a particular office and giving them a day or two head start to let them call back to Taiwan and work out what to do when you arrive could be useful. ⓘ If your application is stuck on &ldquo;Under inspection&rdquo; or &ldquo;Passport Submission&rdquo; after you already collected your passport, contact the NIA - your card may already be printed. Card Collection 🕑 1-2 weeks After your identity is verified, a final review is conducted by the Ministry of Interior and your Gold Card will be issued. You will get an email at this point telling you your application has been approved - congratulations. It&rsquo;s time to collect your card (you selected where during your application) in Taiwan at the National Immigration Agency at your nearest Taiwanese diplomatic post If you applied from overseas but are collecting your card in Taiwan, you will need to download your Resident Authorization Letter from the portal and print it. Your airline will need to see this as proof of your ability to enter Taiwan, and you&rsquo;ll show it to the border agent in Taiwan. After arriving, you may visit the National Immigration Agency to collect your card. You don&rsquo;t need to go to Taiwan straight away: some people take months to prepare for their arrival. However, see the answer for When does the gold card&rsquo;s validity begin? to determine whether that affects you. When you are ready, head over to the main page and Join the Gold Card Community, or find out about Life in Taiwan.]",});this.add({"id":"10","link":"https://taiwangoldcard.com/goldcard-holders-faq/migration-pathways/","title":"Migration Pathways","body":"[Should I switch from an APRC to a Gold Card? According to NIA officials, no. They stress that this card is nonrenewable and you must go through the application process again toward the end of the gold card. One way of looking at that is that the Foreign Special Professional program could change to the point where one no longer qualifies. APRC is therefore “safer” in the long term. Consider also if the program doesn’t change. For instance, if you fall ill during the term and can’t demonstrate your gold card &lsquo;worthiness&rsquo; due to this, you’ll lose your visa when it runs out. Not so with APRC. It is also worth noting here that you don’t get the tax benefits if you’re an existing resident. Does holding a Gold Card make it easier to apply for Taiwanese Citizenship? There is no formal legislative relationship between the Gold Card and an improved chance at Naturalisation. Under Taiwan law, there are three types of Foreign Professionals: Foreign Professional Foreign Special Professional - Gold Card holders are classified as these Foreign Senior Professional - Plum Blossom Card holders are classified as this category. The law allows for those classified under this category to have an easier route to citizenship. However, it can&rsquo;t hurt your chances! Will switching from an employment ARC to a Gold Card affect my ability to get an APRC? The NIA has previously provided on-record assurances that there’s no issue here. You must ensure consecutive residence of five years to be eligible - no time gap between your employment ARC and your Gold Card. What is this job-seeking visa I heard about? Is it related to the Gold Card? It’s a separate visa to the gold card, that was introduced around the same time. You can get it if: You have a job where over the last 6 months, your average salary was over NT$47,971 Or, you don’t have a job, but you graduated from one of the top 500 universities in the world Or, you successfully apply to a government department to be deemed eligible in some other way and you have proof of: NT$100,000 in your bank account Health insurance to cover your trip Good conduct (eg a police report) There’s a brief news article here.]",});this.add({"id":"11","link":"https://taiwangoldcard.com/goldcard-holders-faq/tax/","title":"Tax","body":"[Note: Everyone has a different situation. Please consult an accountant before relying on content from this section. Terms. How do I apply for the tax relief for Foreign Special Professionals? As a Gold Card holder working in Taiwan for the first time, for the portion of your salary over NT $3 million, half of it can be excluded from your effective income for your first three years of residence. eg if your salary was NT $6 million, you only pay tax on NT $4.5 million. There is a special form accessible from both the Alien e-Filing system and the paper-based tax return application. If I have worked in Taiwan before, can I apply for the tax break? Generally no, with some exceptions. The relevant regulations are here. You can see in Article 3 that you need 3 ticks to be eligible: First time coming to work It’s special professional work No household registration (only applicable to ROC nationals) and not a tax resident for the prior 5 years With the exception that: “If a foreign special professional has been previously approved to reside in the R.O.C. before his/her employment engaged in the professional work in the R.O.C., and such approval is not given on the ground of his/her engagement in the professional work, he/she shall not be subject to the first-time approval requirement…” Which is unclear. In 2019, an interpretation was issued on this matter. An attempt to explain it is below, but this has not been validated by official sources. If you came to Taiwan in 2015/2016/2017 and had a single 3/2/1 year work contract that ended in 2018 and you became a Gold Card holder in 2018 and got a new contract … for financial year 2018 (and 2019 and 2020) you can claim the Gold Card tax break. You are not eligible under this interpretation if: You worked in Taiwan before 2015 Your contract didn’t extend into 2018 You had multiple contracts between 2015 and 2018. You became a gold card holder in 2019 When do I file tax in Taiwan? The financial year is January 1st to December 31st. Tax is filed each year from May 1st to the end of the month. 2020 benefits from an extended deadline due to the COVID-19. You are allowed to fill tax until the 30rd June 2020. How do I calculate my tax? A useful tax calculator is available here, if you need a rough estimate and can&rsquo;t work the official website. Where can I go for help with my taxes? The National Taxation Bureau provides free professional taxation consultation sessions in English and Japanese. During &ldquo;tax season&rdquo; there are dedicated English language counters for tax filing at National Taxation Bureau offices in major cities.]",});this.add({"id":"12","link":"https://taiwangoldcard.com/goldcard-holders-faq/family/","title":"Family","body":"[Can my spouse and children come with me if I get a Gold Card? Yes, for children under 20 years old and married spouses this is no problem. Can my spouse work, if they join me in Taiwan as a dependant? The Gold Card does not provide for a work permit for dependants of the card holder. Your spouse should get their own work permit. What happens if I get married to a Taiwanese citizen while on a Gold Card? Congratulations on your marriage. Though you may become eligible for other visas due to this, you may continue to use your Gold Card. If I switch from a Gold Card to permanent residence, can my family switch too? When you have been approved for permanent residence, your children (under 20) and your spouse may also apply for permanent residency if they have lived in Taiwan for more than 183 days per year for the past five years. Additionally, as a Gold Card holder your family members aren&rsquo;t required to show proof of financial ability like some other applicants for permanent residence. (Article 16) My child just turned 20, can they get their own work permit? Yes, provided they have lived in Taiwan from the time before they were 16 years old, for more than 270 days per year. (Article 17) Can my parents or grandparents come to visit? Yes, as a Gold Card holder, your parents and grandparents are eligible to apply for a 1 year multi-entry visa for a maximum stay of six months at a time. This visa can be extended in Taiwan to allow for a maximum stay of one year at a time. Contact your nearest Taiwan diplomatic post or the Bureau of Consular Affairs to apply.]",});this.add({"id":"13","link":"https://taiwangoldcard.com/goldcard-holders-faq/validity/","title":"Renewal & Validity","body":"[How long is a gold card valid? By default, between one and three years. If you are concerned your card (or underlying visa/work permit) may have become invalid or expired, you can check with the National Immigration Agency. Can I renew my gold card? No. There is no renewal capability for a Gold Card. You must complete the same application process you went through for your first card for all subsequent cards. Keep this in mind when planning your time in Taiwan - you must still meet the qualification criteria in order to receive another card. When does the gold card&rsquo;s validity begin? When the application is officially approved. You will receive an email from the application portal. Importantly: your cards&rsquo; validity can start before you enter Taiwan or pick up your card. Keep this in mind when planning your move to Taiwan.]",});this.add({"id":"14","link":"https://taiwangoldcard.com/news/","title":"","body":"[Gold Card News 2020-08-28 Goldcard holder: Chelsea Davis film festival 2020-08-14 Community Gathering 2020-08-01 Goldcard holder: Alvaro Trugeda art exhibition 2020-07-02 Community Gathering 2020-06-30 Almost 900 gold cards issued! 2020-06-12 President Tsai Promotes Gold Card 2020-06-05 Goldcard holder: Tomáš řízek illustration exhibition 2020-05-27 Goldcard holder: Starting an eye yoga career 2020-04-13 Tax payment has been extended to June 30th 2020]",});this.add({"id":"15","link":"https://taiwangoldcard.com/about/","title":"About this site","body":"[Since February 2018, when the Gold Card was launched, card holders have been helping people apply and integrate into life in Taiwan. We think that Taiwan is an amazing place to live and work, and encourage you to apply for the Gold Card if you&rsquo;re eligible. An open work permit, tax benefits, ability to bring your family - all applied for online and approved based on your existing skills, no need to already have a job or a company to sponsor you. This website is a compilation of answers to actual questions asked by Gold Card holders as they went through the process. We welcome your questions and contributions! This site was designed by Gold card holders for Gold card holders, inspired by and brainstormed with the unofficial Gold Card holder LINE group. The original site design and technical implementation was created by Eric Khun and the original content was written by Tom Fifield. Credit is also due to Forumosa. Without the community there, many people would never have discovered the Gold Card or made it through their applications. We are not affiliated with any government departments and information may be inaccurate and/or outdated. As changes and errors may occur, please seek professional advice from the relevant officials where necessary. Contains content licensed under the Government Website Open Information Announcement. taiwangoldcard.com, its contributors, and maintainers cannot be held liable for the accuracy of the information or for ensuring that the information is up to date at all times. Content and the underlying site is contributed by a volunteer community that you are welcome to join. Contributions to code are licensed under the Apache 2.0 license, and contributions of content for the FAQ are licensed under the Creative Commons CC-BY-SA-NC license. The license text can be found in our repository. The following people have contributed to this site: Alvin, Antoine Scemama, Audrey Tang, Colum Brolly, Cuan-Bo Pong, Eric Khun, Ian Sinnott, Jonathan Liao, Nuttaphat Arunoprayoch, Philip Bergvist, Tom Fifield.]",});this.add({"id":"16","link":"https://taiwangoldcard.com/terms/","title":"Disclaimer and Terms of Use","body":"[Taiwan Gold Card is a community website maintained by the Gold Card community. We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with any governments, its departments or agencies. Official information can be found on the official websites. The information herein is for general informational purpose only. We make no representation or warranty of any kind, express or implied, regarding the accuracy, adequacy, validity, reliability, availability or completeness of any information. Before taking any actions based upon such information, we encourage you to consult with the appropriate professionals. We do not provide any kind of advice. Under no circumstance shall we have any liability to you for any loss or damage of any kind incurred as a result of the use of this website or reliance on any information provided on this website. Your use of this website and your reliance on any information on this website is solely at your own risk. The content on this website is protected by international copyright and owned by the Gold Card community. Use of this website means acceptance of all terms of use and disclaimer, subject to change without notice.]",});this.add({"id":"17","link":"https://taiwangoldcard.com/","title":"Taiwan Gold Card","body":"[Applying for the Gold Card? All the answers about the Gold Card How long does the process take? What documents do I need to provide? Do I qualify for the Gold card? Access the FAQ Already a Gold Card Holder? Access to our chat group where we help each other Jobs opportunities that require our expertise Visibility if you are looking for new opportunities Receive a regular newsletter with the latest GoldCard News Join the Gold Card Network Resources for GoldCard holders Gold Card News 2020-08-28 Goldcard holder: Chelsea Davis film festival 2020-08-14 Community Gathering 2020-08-01 Goldcard holder: Alvaro Trugeda art exhibition 2020-07-02 Community Gathering 2020-06-30 Almost 900 gold cards issued! 2020-06-12 President Tsai Promotes Gold Card 2020-06-05 Goldcard holder: Tomáš řízek illustration exhibition 2020-05-27 Goldcard holder: Starting an eye yoga career 2020-04-13 Tax payment has been extended to June 30th 2020]",});});const simpleIndex=[{id:0,link:"https://taiwangoldcard.com/application-faq/",title:"Gold Card Application FAQ",},{id:1,link:"https://taiwangoldcard.com/goldcard-holders-faq/",title:"Gold Card Holders FAQ",},{id:2,link:"https://taiwangoldcard.com/application-faq/what-is-taiwan-gold-card/",title:"What is the Gold Card?",},{id:3,link:"https://taiwangoldcard.com/goldcard-holders-faq/at-work/",title:"At Work",},{id:4,link:"https://taiwangoldcard.com/application-faq/qualifications/",title:"Do I qualify?",},{id:5,link:"https://taiwangoldcard.com/goldcard-holders-faq/health-insurance/",title:"Health Insurance",},{id:6,link:"https://taiwangoldcard.com/application-faq/application/",title:"The Gold Card Application",},{id:7,link:"https://taiwangoldcard.com/application-faq/after-submitting-application/",title:"After submitting your application",},{id:8,link:"https://taiwangoldcard.com/goldcard-holders-faq/life-in-taiwan/",title:"Life in Taiwan",},{id:9,link:"https://taiwangoldcard.com/application-faq/after-passing-skill-assessment/",title:"After passing skill assessment",},{id:10,link:"https://taiwangoldcard.com/goldcard-holders-faq/migration-pathways/",title:"Migration Pathways",},{id:11,link:"https://taiwangoldcard.com/goldcard-holders-faq/tax/",title:"Tax",},{id:12,link:"https://taiwangoldcard.com/goldcard-holders-faq/family/",title:"Family",},{id:13,link:"https://taiwangoldcard.com/goldcard-holders-faq/validity/",title:"Renewal & Validity",},{id:14,link:"https://taiwangoldcard.com/news/",title:"",},{id:15,link:"https://taiwangoldcard.com/about/",title:"About this site",},{id:16,link:"https://taiwangoldcard.com/terms/",title:"Disclaimer and Terms of Use",},{id:17,link:"https://taiwangoldcard.com/",title:"Taiwan Gold Card",},];;function isObj(obj){return(obj&&typeof obj==='object'&&obj!==null)?true:false;}
  function createEl(element='div'){return document.createElement(element);}
  function emptyEl(el){while(el.firstChild)
  el.removeChild(el.firstChild);}
  function elem(selector,parent=document){let elem=isObj(parent)?parent.querySelector(selector):false;return elem?elem:false;}
  function elems(selector,parent=document){let elems=isObj(parent)?parent.querySelectorAll(selector):[];return elems.length?elems:false;}
  function pushClass(el,targetClass){if(isObj(el)&&targetClass){let elClass=el.classList;elClass.contains(targetClass)?false:elClass.add(targetClass);}}
  function deleteClass(el,targetClass){if(isObj(el)&&targetClass){let elClass=el.classList;elClass.contains(targetClass)?elClass.remove(targetClass):false;}}
  function modifyClass(el,targetClass){if(isObj(el)&&targetClass){const elClass=el.classList;elClass.contains(targetClass)?elClass.remove(targetClass):elClass.add(targetClass);}}
  function containsClass(el,targetClass){if(isObj(el)&&targetClass&&el!==document){return el.classList.contains(targetClass)?true:false;}}
  function isChild(node,parentClass){let objectsAreValid=isObj(node)&&parentClass&&typeof parentClass=='string';return(objectsAreValid&&node.closest(parentClass))?true:false;}
  function elemAttribute(elem,attr,value=null){if(value){elem.setAttribute(attr,value);}else{value=elem.getAttribute(attr);return value?value:false;}}
  function deleteChars(str,subs){let newStr=str;if(Array.isArray(subs)){for(let i=0;i<subs.length;i++){newStr=newStr.replace(subs[i],'');}}else{newStr=newStr.replace(subs,'');}
  return newStr;}
  function isBlank(str){return(!str||str.trim().length===0);}
  function isMatch(element,selectors){if(isObj(element)){if(selectors.isArray){let matching=selectors.map(function(selector){return element.matches(selector)})
  return matching.includes(true);}
  return element.matches(selectors)}}
  function closestInt(goal,collection){const closest=collection.reduce(function(prev,curr){return(Math.abs(curr-goal)<Math.abs(prev-goal)?curr:prev);});return closest;}
  function hasClasses(el){if(isObj(el)){const classes=el.classList;return classes.length}}
  (function markInlineCodeTags(){const codeBlocks=elems('code');if(codeBlocks){codeBlocks.forEach(function(codeBlock){if(!hasClasses(codeBlock)){codeBlock.children.length?false:pushClass(codeBlock,'noClass');}});}})();function activeHeading(position,listLinks){let active='active';let linksToModify=Object.create(null);linksToModify.active=listLinks.filter(function(link){return containsClass(link,active);})[0];linksToModify.new=listLinks.filter(function(link){return parseInt(link.dataset.position)===position})[0];if(linksToModify.active!=linksToModify.new){linksToModify.active?deleteClass(linksToModify.active,active):false;pushClass(linksToModify.new,active);}};function matchChildTextContent(el,query){let matches=el.textContent.toLowerCase().match(query.toLowerCase());if(matches){el.classList=[...el.classList,'blink']
  return el;}
  if(el.hasChildNodes()){let nodes=el.childNodes;for(const c of nodes){let found=matchChildTextContent(c,query);if(found)return found;}}}
  function setUrlAnchor(el){window.location.hash=`#${el.id}`;}
  function searchTextInFAQ(query){const h2s=document.querySelectorAll('.content h2');let found;for(const el of h2s){const foundInH2=matchChildTextContent(el,query);if(!found&&foundInH2){setUrlAnchor(el);found=foundInH2;}
  let answer=el.nextSibling;while(answer&&answer.tagName!=='H2'){const foundInSibling=matchChildTextContent(answer,query)
  if(!found&&foundInSibling){setUrlAnchor(el);found=foundInSibling;break;}
  answer=answer.nextSibling;}}
  return found;}
  function loadActions(){(function searchTextInPage(){const urlParams=new URLSearchParams(window.location.search);const q=urlParams.get('q');const queries=q&&q.split(' ')
  if(q){found=queries.reduce((acc,q)=>acc||searchTextInFAQ(q),undefined)}}());const parentURL='https://taiwangoldcard.com/';const doc=document.documentElement;(function updateDate(){const date=new Date();const year=date.getFullYear();const yearEl=elem('.year');yearEl?year.innerHTML=year:false;})();(function customizeSidebar(){const tocActive='toc_active';const aside=elem('aside');const tocs=elems('nav',aside);if(tocs){tocs.forEach(function(toc){toc.id="";pushClass(toc,'toc');if(toc.children.length>=1){const tocItems=Array.from(toc.children[0].children);const previousHeading=toc.previousElementSibling;previousHeading.matches('.active')?pushClass(toc,tocActive):false;tocItems.forEach(function(item){pushClass(item,'toc_item');pushClass(item.firstElementChild,'toc_link');})}});const currentToc=elem(`.${tocActive}`);if(currentToc){const pageInternalLinks=Array.from(elems('a',currentToc));const pageIds=pageInternalLinks.map(function(link){return link.hash;});const linkPositions=pageIds.map(function(id){const heading=elem(id);const position=heading.offsetTop;return position;});pageInternalLinks.forEach(function(link,index){link.dataset.position=linkPositions[index]});window.addEventListener('scroll',function(e){let position=window.scrollY;let active=closestInt(position,linkPositions);activeHeading(active,pageInternalLinks);});}}})();function searchResults(results=[],order=[],query){let resultsFragment=new DocumentFragment();let showResults=elem('.search_results');emptyEl(showResults);let index=0
  results.forEach(function(result){let item=createEl('a');item.href=result.link+`?q=${encodeURI(query)}`;item.className='search_result';item.textContent=result.title;item.style.order=order[index];resultsFragment.appendChild(item);index+=1});showResults.appendChild(resultsFragment);}
  (function search(){const searchField=elem('.search_field');if(searchField){searchField.addEventListener('input',function(){let rawResults=idx.search(`${ this.value }`).slice(0,6);let refs=rawResults.map(function(ref){return `${ref.ref}:${ref.score}`;});let ids=refs.map(function(id){let positionOfSeparator=id.indexOf(":");id=id.substring(0,positionOfSeparator)
  return Number(id);});let scores=refs.map(function(score){let positionOfSeparator=score.indexOf(":");score=score.substring((positionOfSeparator+1),(score.length-1));return(parseFloat(score)*50).toFixed(0);});let matchedDocuments=simpleIndex.filter(function(doc){return ids.includes(doc.id);});matchedDocuments.length>=1?searchResults(matchedDocuments,scores,this.value):false;});}})();(function makeExternalLinks(){let links=elems('a');if(links){Array.from(links).forEach(function(link){let target,rel,blank,noopener,attr1,attr2,url,isExternal;url=elemAttribute(link,'href');isExternal=(url&&typeof url=='string'&&url.startsWith('http'))&&!url.startsWith(parentURL)?true:false;if(isExternal){target='target';rel='rel';blank='_blank';noopener='noopener nofollow';attr1=elemAttribute(link,target);attr2=elemAttribute(link,noopener);attr1?false:elemAttribute(link,target,blank);attr2?false:elemAttribute(link,rel,noopener);}});}})();let headingNodes=[],results,link,icon,current,id,tags=['h2','h3','h4','h5','h6'];current=document.URL;tags.forEach(function(tag){results=document.getElementsByTagName(tag);Array.prototype.push.apply(headingNodes,results);});function sanitizeURL(url){const hash='#';const positionOfHash=url.indexOf(hash);if(positionOfHash>-1){const id=url.substr(positionOfHash,url.length-1);url=url.replace(id,'');}
  return url}
  headingNodes.forEach(function(node){link=createEl('a');icon=createEl('img');icon.src='https://taiwangoldcard.com/icons/link.svg';icon.alt='link icon';link.className='link icon';link.appendChild(icon);id=node.getAttribute('id');if(id){link.href=`${sanitizeURL(current)}#${id}`;node.appendChild(link);pushClass(node,'link_owner');}});const copyToClipboard=str=>{let copy,selection,selected;copy=createEl('textarea');copy.value=str;copy.setAttribute('readonly','');copy.style.position='absolute';copy.style.left='-9999px';selection=document.getSelection();doc.appendChild(copy);selected=selection.rangeCount>0?selection.getRangeAt(0):false;copy.select();document.execCommand('copy');doc.removeChild(copy);if(selected){selection.removeAllRanges();selection.addRange(selected);}}
  function copyFeedback(parent){const copyText=document.createElement('div');const yanked='link_yanked';copyText.classList.add(yanked);copyText.innerText='Link Copied';if(!elem(`.${yanked}`,parent)){parent.appendChild(copyText);setTimeout(function(){},3000);}}
  (function copyHeadingLink(){let deeplink,deeplinks,newLink,parent,target;deeplink='link';deeplinks=elems(`.${deeplink}`);if(deeplinks){document.addEventListener('click',function(event)
  {target=event.target;parent=target.parentNode;if(target&&containsClass(target,deeplink)||containsClass(parent,deeplink)){event.preventDefault();newLink=target.href!=undefined?target.href:target.parentNode.href;copyToClipboard(newLink);target.href!=undefined?copyFeedback(target):copyFeedback(target.parentNode);}});}})();}
  $(function(){var hasClicked=false;$(".toc_item a").on('click',function(event){hasClicked=true;if($(window).scrollTop()!==0){$('.nav_header').removeClass('nav-down').addClass('nav-up');}});var didScroll;var lastScrollTop=0;var delta=100;var navbarHeight=$('.nav_header').outerHeight();$(window).scroll(function(event){didScroll=true;});setInterval(function(){if(didScroll){hasScrolled();didScroll=false;hasClicked=false;}},500);function hasScrolled(){var st=$(this).scrollTop();if(Math.abs(lastScrollTop-st)<=delta)
  return;if(st>lastScrollTop&&st>navbarHeight){$('.nav_header').removeClass('nav-down').addClass('nav-up');}else{if(st+$(window).height()<$(document).height()){if(hasClicked!=true){$('.nav_header').removeClass('nav-up').addClass('nav-down');}}}
  lastScrollTop=st;}});function revealSideBar(){$("aside.aside.hidden").removeClass("hidden");}
  window.addEventListener("DOMContentLoaded",revealSideBar);window.addEventListener('load',loadActions());;$(document).ready(function(){var limitContent=8;var selectorName=".latestNews";var filteredNewsList=filterNewsList(selectorName,limitContent);var ulId="lastestNewsList";displayNewsList(selectorName,filteredNewsList,ulId,function(){$("#"+ulId).append('<li><a href="news">Read More</a></li>');});})
  function filterNewsList(selectorName,limitContent){if(typeof limitContent!=="number"||limitContent===null)
  return;let filteredNewsList=[];$(selectorName).html(function(){let li=$(this).find("li");$(li).each(function(index,value){if(index>=limitContent)return false;filteredNewsList.push(value);})});return filteredNewsList;}
  function displayNewsList(selectorName,newsList,ulId,objCallBack){$(selectorName+" > ul").attr("id",ulId);$("#"+ulId).empty();$.each(newsList,function(key,value){$("#"+ulId).append(value);});if(typeof objCallBack!=="undefined"&&objCallBack!==null)
  objCallBack();}