"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
var _JSONSchema = _interopRequireDefault(require("../elements/JSONSchema.cjs"));
var _JSONReference = _interopRequireDefault(require("../elements/JSONReference.cjs"));
var _Media = _interopRequireDefault(require("../elements/Media.cjs"));
var _LinkDescription = _interopRequireDefault(require("../elements/LinkDescription.cjs"));
var _index = require("./index.cjs");
// register refractors specific to element types

_JSONSchema.default.refract = (0, _index.createRefractor)(['visitors', 'document', 'objects', 'JSONSchema', '$visitor']);
_JSONReference.default.refract = (0, _index.createRefractor)(['visitors', 'document', 'objects', 'JSONReference', '$visitor']);
_Media.default.refract = (0, _index.createRefractor)(['visitors', 'document', 'objects', 'Media', '$visitor']);
_LinkDescription.default.refract = (0, _index.createRefractor)(['visitors', 'document', 'objects', 'LinkDescription', '$visitor']);