PageSourceSearch

https://www.samsungplus.net/_nuxt/B0pETLtX.js

js samsungplus.net collected 2026-10-02 02:03:08 UTC 1,665 bytes, 1 lines download raw bytes

1import{an as SYSTEM_ERROR,on as ErrorCodes}from"#entry";const ERROR_CODES={SYSTEM_ERROR:`ES000000`,UNAUTHORIZED:`E0000401`,FORBIDDEN:`E0000403`,NOT_FOUND:`E0000404`,VALIDATION_ERROR:`E0000422`};var errorMessageMap=null;function initializeErrorMessages(){return errorMessageMap||(errorMessageMap=new Map([[SYSTEM_ERROR,{default:`A system error occurred. Please try again later.`,i18nKey:`common.error.system_error`}],[ERROR_CODES.UNAUTHORIZED,{default:`Invalid credentials. Please check your ID and password.`,i18nKey:`common.error.unauthorized`}],[ERROR_CODES.FORBIDDEN,{default:`Access denied. You do not have permission to perform this action.`,i18nKey:`common.error.forbidden`}],[ERROR_CODES.NOT_FOUND,{default:`The requested resource was not found.`,i18nKey:`common.error.not_found`}],[ERROR_CODES.VALIDATION_ERROR,{default:`Please check your input and try again.`,i18nKey:`common.error.validation_error`}]]),errorMessageMap)}function getLastErrorMessage(r,a=`An unexpected error occurred`,o,s){let c=initializeErrorMessages();if(!r&&s&&(s>=ErrorCodes.INTERNAL_SERVER_ERROR?r=SYSTEM_ERROR:s===ErrorCodes.UNAUTHORIZED?r=ERROR_CODES.UNAUTHORIZED:s===ErrorCodes.FORBIDDEN?r=ERROR_CODES.FORBIDDEN:s===ErrorCodes.NOT_FOUND&&(r=ERROR_CODES.NOT_FOUND)),!r)return a;let l=c.get(r);if(!l)return a;
1if(l.handler)return l.handler({code:r,statusCode:s});if(l.i18nKey&&o){let e=o.t(l.i18nKey);if(e!==l.i18nKey)return e}return l.default}function getAuthErrorMessage(e,t){let n=e.data?.code||e.code,r=e.data?.message||e.message,i=e.status;return getLastErrorMessage(n,r||`Authentication failed. Please try again.`,t,i)}export{getLastErrorMessage as n,getAuthErrorMessage as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.