import { __esDecorate, __runInitializers } from "tslib";
import { NVMFile, gotDeserializationOptions, nvmFileID, nvmSection, } from "./NVMFile.js";
export const ApplicationDataFileID = 200;
let ApplicationDataFile = (() => {
    let _classDecorators = [nvmFileID(ApplicationDataFileID), nvmSection("application")];
    let _classDescriptor;
    let _classExtraInitializers = [];
    let _classThis;
    let _classSuper = NVMFile;
    var ApplicationDataFile = class extends _classSuper {
        static { _classThis = this; }
        static {
            const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(_classSuper[Symbol.metadata] ?? null) : void 0;
            __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers);
            ApplicationDataFile = _classThis = _classDescriptor.value;
            if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
            __runInitializers(_classThis, _classExtraInitializers);
        }
        constructor(options) {
            super(options);
            if (!gotDeserializationOptions(options)) {
                this.payload = options.applicationData;
            }
        }
        // Just binary data
        get applicationData() {
            return this.payload;
        }
        set applicationData(value) {
            this.payload = value;
        }
    };
    return ApplicationDataFile = _classThis;
})();
export { ApplicationDataFile };
//# sourceMappingURL=ApplicationDataFile.js.map