# [JavaScript (Node.js)], 282 bytes [JavaScript (Node.js)]: https://nodejs.org <!-- language-all: lang-javascript --> f=(n,i=0)=>n?`01238887654`.replace(e=/\d/g,y=>`7654${i++?'|':' '}0123 `.replace(e,x=>"_ \\/.'|"[q=2*(y>3)|x>3,k=0xA888A92BCA971832B48D4F061ABAFE091C43n.toString(7)['0x'+(1e6+'1023405671567899AB99A899CB99C')[y%4+~-(n/10**q%10)*4]<<2|x&3],y&8?1:k^=0xCC6600>>k*4+q&1]))+f(n/1e4|0,1):'' [Try it online!](https://tio.run/##VVDLbsIwELzzFQgVbMch8YvEQdgoScsP9Ai0IDAoBTm8VCUi7a@npqf2MBppd0Y7sx/rz/V1cylOt6Ett6Ztdwpav1AEKW2nK0IZl1LG0Uisgos5HdcbA40KF9tw79dKrx6bp3uB8RQ0YAy64Oth6fwR@5XSvffuYhEGoOnNz4p5sNYcNZXm/kGRKnUH0oRleZrEVHKWCfksZiSiaZbOXkhCc8FtcCtfb5fC7mGM5oBUAENqIgwoYVyQURRTB5kkaebgOHecAzSv@wJ/D6ENKfG8c58S5InlZMKaasCXfj2QUzo@vLkUeR5FhGh98AQ@D@gSIbx72IxoiE/RGIB2U9preTTBsdzDHXQ1xQihzv9p8vsrzihC7Q8 "JavaScript (Node.js) – Try It Online") Or [**261 bytes**](https://tio.run/##VVDLbsIwELzzFRUS2E5C4heJg7CRk5Yf6BFoQWAQTeTwUpVIEb@eOj21h9FIO7urmfnafe/u@9v58pjY6mC67iitVHaxxYQyIUQST/k2vJlLudsbaGS0PkSnoJFq2yttvzX4owe1VMPPl/U6CkE7XF0l9WCjGGprxYJC4lq7nzqlWa7ThAhGMy5e@RLHRGd6@YZTknNmw0f1/rid7QkmaAVwDXxITOwDginjeBonxEGkqc4cHOeOc4BWzYj7zwm0EcGedx0RjDy@mc9pW4/ZJmjGYkFmxYdzkedxjLFShcf965hsEPKP/ZlxidAMgG5f2XtVmrCsTvAIXUg@RWjwf5r@lsMoQaj7AQ) if an extra `|` at the top is acceptable.